/* ============================================================
   AMBULANCIA.AI — Homepage styles (v2)
   ============================================================ */

/* ============================================================
   FONTY — samohostované (issue #48)
   Predtým sa ťahali z fonts.gstatic.com. To po prvé posielalo IP adresu
   každého návštevníka Googlu, čo je v napätí s tým, čo tento web sľubuje;
   po druhé nám výpadok cudzieho CDN vedel zhodiť CI na nesúvisiacom PR.
   Subsety: latin + latin-ext (latin-ext nesie slovenskú diakritiku).
   Cyrilika a vietnamčina sa nesťahujú — nepoužívame ich.
   Obe rodiny sú pod SIL Open Font License 1.1 (viď assets/fonts/OFL.txt).
   ============================================================ */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/hanken-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/hanken-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/hanken-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/hanken-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/hanken-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/hanken-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/hanken-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/hanken-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/schibsted-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/schibsted-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/schibsted-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/schibsted-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/schibsted-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/schibsted-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy:        #0D1536;
  --primary:     #57499C;
  --primary-700: #483C80;
  --primary-light:#968CC9;
  --icon:        #57499C;
  --lavender:    #F2F1F9;
  --lavender-2:  #FAFAFC;
  --line:        #E2DFF1;
  --muted:       #59607A;
  --green:       #25C66A;
  --white:       #FFFFFF;

  --ochre:       #977035;
  --ochre-bg:    #F6EDDF;
  --ochre-bg-2:  #FBF6EE;
  --ochre-line:  #EAD9BC;

  --shadow-sm: 0 4px 14px rgba(20, 18, 70, .05);
  --shadow:    0 16px 40px rgba(20, 18, 70, .10);
  --shadow-card: 0 20px 48px rgba(20, 18, 70, .14);

  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 12px;

  --container: 1240px;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Schibsted Grotesk", var(--font-body);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* anchor targets (#nasadenie, #kariera, ...) land below the sticky header instead of under it */
[id] { scroll-margin-top: 90px; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); color: var(--navy); line-height: 1.15; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}
.section { padding-block: 64px; }
.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  font-weight: 700;
  margin-bottom: 40px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn .icon-arrow { width: 18px; height: 18px; flex: none; }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(87, 73, 156, .28);
}
.btn-primary:hover { background: var(--primary-700); transform: translateY(-1px); }
.btn-outline {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--primary-light); color: var(--primary); }
.btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 12px 28px rgba(13, 21, 54, .18);
}
.btn-white:hover { transform: translateY(-1px); color: var(--primary-700); }
.btn-ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .18); border-color: #fff; }
.btn-lg { padding: 15px 26px; font-size: 1rem; }

.play-circle {
  width: 26px; height: 26px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  background: var(--lavender);
  color: var(--primary);
}
.play-circle svg { width: 15px; height: 15px; margin-left: 1px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--primary);
}
.link-arrow .icon-arrow { width: 17px; height: 17px; transition: transform .2s ease; }
.link-arrow:hover .icon-arrow { transform: translateX(3px); }

/* standalone "→" links (not already inside a bordered card) get a sandy pill */
.link-arrow.pill {
  background: var(--ochre-bg);
  color: var(--ochre);
  border: 1px solid var(--ochre-line);
  border-radius: 999px;
  padding: 9px 16px 9px 18px;
  transition: background-color .2s ease, border-color .2s ease;
}
.link-arrow.pill:hover { background: #F0E4CD; border-color: var(--ochre); }

/* ---------- Icon tile ---------- */
.icon-tile {
  width: 40px; height: 40px;
  flex: none;
  display: inline-grid; place-items: center;
  border-radius: 11px;
  background: var(--lavender);
}
.icon-tile img { width: 22px; height: 22px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.16rem;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.brand-dot {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 26px; height: 74px; }
.main-nav { margin-inline: auto; }
.main-nav ul { display: flex; gap: 24px; }
.main-nav a {
  position: relative;
  display: inline-block;
  font-size: 0.94rem; font-weight: 500; color: #2c3354;
  white-space: nowrap;
  padding: 4px 6px;
  border-radius: 999px;
  transition: color .2s ease;
}
.main-nav a:hover { color: var(--primary); }
.header-cta { flex: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; gap: 5px;
  background: transparent; border: 1px solid var(--line); border-radius: 10px;
}
.nav-toggle span { display: block; height: 2px; width: 20px; margin-inline: auto; background: var(--navy); border-radius: 2px; }

/* ============================================================
   HERO
   ============================================================ */
/* shared sandy hero background — also used by device/app/howto/sec/contact-hero below */
.hero,
.page-hero.device-hero,
.page-hero.app-hero,
.page-hero.howto-hero,
.page-hero.sec-hero,
.page-hero.contact-hero,
.page-hero.cennik-hero {
  background: linear-gradient(160deg, var(--ochre-bg) 0%, var(--ochre-bg-2) 46%, #fff 100%);
}
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 40px 40px;
}
.hero-photo {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  /* left edge tracks the text column's right edge instead of a viewport-relative
     width, so the photo never drifts away from the heading on wide screens
     (container 1240px, 40px gap, 1.05fr/0.95fr split -> text column is 630px).
     50% — NOT 50vw: the containing block is content-width, which is what the
     centred .container is centred in, while vw includes the scrollbar. With a
     classic (non-overlay) scrollbar, 50vw reopens the gap by half its width. */
  left: calc(50% - (var(--container) / 2) + 630px);
  z-index: 0;
  overflow: hidden;
}
.hero-photo::before {
  /* soft fade from the page background on the left edge, echoing the
     device-hero/app-hero/howto-hero full-bleed photo treatment.
     Capped in px: the photo is now as wide as the screen allows, and a bare
     percentage would grow the fade with it until it swallowed the floating
     transcript card (which sits at left: 32px inside this box). */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ochre-bg-2) 0%, transparent min(26%, 240px));
  z-index: 1;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 46% center; }

/* Hero slideshow — slides enter from the right, leave to the left */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  transform: translateX(100%);
  transition: transform .9s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}
.hero-slide.is-active { transform: translateX(0); }
.hero-slide.is-leaving { transform: translateX(-100%); }
.hero-slide.no-anim { transition: none; }
.hero-slide:nth-child(1) img { object-position: 55% center; }
.hero-slide:nth-child(2) img { object-position: 48% center; }
.hero-slide:nth-child(3) img { object-position: 52% center; }
.hero-slide:nth-child(4) img { object-position: 46% center; }
.hero-slide:nth-child(5) img { object-position: 55% center; }
.hero-slide:nth-child(6) img { object-position: 50% center; }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  column-gap: 40px;
  align-items: start;
  min-height: 440px;
}
.hero h1 {
  font-size: clamp(2.574rem, 4.356vw, 3.432rem); /* +20% then +10% over base hero scale */
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.14;
  margin-bottom: 22px;
  white-space: nowrap;
}
.hero h1 .accent { color: var(--primary); }
.hero-lead {
  font-size: 1.04rem;
  color: var(--muted);
  max-width: 470px;
  margin-bottom: 26px;
  margin-top: 24px;
}
.hero-lead strong { color: var(--primary); font-weight: 700; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* Floating transcript card — one per slide (own text), anchored bottom-left
   of the photo, inset from the true corner. Fixed size/height across slides
   (2-line clamp on the excerpt) so it never shifts with text length. */
.float-card--transcript {
  position: absolute;
  left: 32px;
  bottom: 28px;
  width: 264px;
  z-index: 3;
}
.hero-slide .float-card--transcript { display: none; }
@media (min-width: 1121px) {
  .hero-slide .float-card--transcript { display: block; }
}
.float-card--mobile { display: none; position: static; width: 100%; margin-top: 24px; }
@media (max-width: 1120px) {
  .float-card--mobile { display: block; }
}
.float-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  padding: 13px 15px;
}
.float-card header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.fc-ico { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; background: var(--lavender); }
.fc-ico img { width: 13px; height: 13px; }
.fc-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--navy);
}
.fc-time { margin-left: auto; font-size: 0.72rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.float-card--transcript p {
  font-size: 0.78rem;
  color: #3a4061;
  line-height: 1.45;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wave { display: flex; align-items: center; gap: 3px; height: 26px; }
.wave span {
  flex: 1;
  background: linear-gradient(var(--primary-light), var(--primary));
  border-radius: 2px;
  height: 30%;
  opacity: .85;
  animation: wave-pulse 1.6s ease-in-out infinite;
}
.wave span:nth-child(2n)   { height: 60%; }
.wave span:nth-child(3n)   { height: 90%; }
.wave span:nth-child(4n)   { height: 45%; }
.wave span:nth-child(5n)   { height: 75%; }
.wave span:nth-child(7n)   { height: 100%; }
/* stagger the pulse per bar so it reads as live audio, not a single blinking block */
.wave span:nth-child(3n+1) { animation-delay: -1.1s; }
.wave span:nth-child(3n+2) { animation-delay: -0.5s; }
.wave span:nth-child(3n)   { animation-delay: -0.8s; }
@keyframes wave-pulse {
  0%, 100% { transform: scaleY(0.55); }
  25%      { transform: scaleY(1.15); }
  50%      { transform: scaleY(0.7); }
  75%      { transform: scaleY(1.3); }
}
@media (prefers-reduced-motion: reduce) {
  .wave span { animation: none; }
}

/* ============================================================
   SEGMENTED TRUST BARS
   ============================================================ */
.trustbar-section { padding-top: 16px; }
.segbar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
}
.segbar li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 16px 18px;
  border-left: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 500;
  color: #3a4061;
  line-height: 1.32;
}
.segbar li:first-child { border-left: none; }
.segbar li img { width: 22px; height: 22px; flex: none; }
.compliance-section { padding-block: 8px 64px; }
.compliance li { font-size: 0.77rem; }

/* ---- Hero value boxes (3) ---- */
.value-tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  background: #fff;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: 0 0 30px 3px rgba(151, 112, 53, 0.22); }
.value-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.value-card .icon-tile { width: 40px; height: 40px; border-radius: 11px; background: transparent; border: 1px solid #E2E4ED; flex: none; }
.value-card .icon-tile img { width: 24px; height: 24px; }
/* Unify all homepage icon tiles: transparent bg + thin light-grey outline */
.comp-head .icon-tile { background: transparent; border: 1px solid #E2E4ED; }
.value-card h3 { font-size: 1.02rem; font-weight: 700; line-height: 1.25; color: var(--navy); }
.value-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.55; }


.eu-cell { gap: 12px !important; }
.eu-stars { width: 38px; height: 38px; flex: none; }
.eu-text { font-size: 0.66rem; line-height: 1.3; color: var(--muted); letter-spacing: 0.02em; text-transform: uppercase; }
.eu-text strong { color: var(--navy); font-weight: 700; }

/* ============================================================
   WORKFLOW
   ============================================================ */
.workflow-section { padding-top: 44px; padding-bottom: 30px; }

/* ============================================================
   FEATURES
   ============================================================ */
.feature-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.feature-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 22px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.fc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.fc-head h3 { font-size: 0.98rem; font-weight: 700; line-height: 1.2; }
.feature-card p { font-size: 0.86rem; color: var(--muted); }

/* ============================================================
   CORE COMPONENTS (device · app · security) — 3-up cards
   ============================================================ */
.components-section { padding-top: 8px; padding-bottom: 30px; }
.component-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.component-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.component-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary-light); }
.component-card:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.comp-media { height: 250px; }
.comp-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.comp-body { padding: 24px; display: flex; flex-direction: column; }
.comp-head { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.comp-head .icon-tile { flex: none; }
.component-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.component-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.55; margin-bottom: 18px; }
.check-list { display: grid; gap: 11px; margin-top: auto; }
.check-list li { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; font-weight: 500; color: #3a4061; }
.check-list li img { width: 19px; height: 19px; flex: none; }
.component-card .link-arrow { margin-top: 16px; }

/* ============================================================
   CTA BAND
   ============================================================ */
/* Homepage: CTA sits right under features (compliance bar removed) */
.cta-flush { padding-top: 8px; }
.cta-band, .claim-band { background: linear-gradient(105deg, #3E346F 0%, var(--primary) 48%, #9792B0 100%); }
.cta-band {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-radius: var(--r-lg);
  padding: 48px 56px;
  color: #fff;
}
.cta-text { position: relative; z-index: 1; }
.cta-text h2 {
  color: #fff;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.cta-text p { font-size: 1.02rem; color: rgba(255, 255, 255, .82); margin: 0; }
.cta-motif {
  position: absolute;
  top: 50%; right: 36px;
  width: 220px; height: 200px;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
}
.cta-motif::before, .cta-motif::after {
  content: ""; position: absolute;
  border: 1.5px solid rgba(255, 255, 255, .22);
  border-radius: 26px;
}
.cta-motif::before { width: 120px; height: 120px; right: 70px; top: 10px; }
.cta-motif::after  { width: 120px; height: 120px; right: 0; top: 60px; }
.cta-actions { position: relative; z-index: 1; display: flex; gap: 14px; flex: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--line); background: #fff; padding-top: 34px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr 1.4fr;
  gap: 32px;
  padding-bottom: 24px;
}
.footer-brand .brand-logo { height: 28px; margin-bottom: 18px; }
.footer-tag { font-size: 0.86rem; color: var(--muted); }
.footer-col h4, .footer-contact h4 {
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
}
.footer-col li { margin-bottom: 4px; font-size: 0.88rem; line-height: 1.3; }
.footer-col a { color: var(--muted); transition: color .2s ease; }
.footer-col a:hover { color: var(--primary); }

.footer-contact ul { display: grid; gap: 4px; margin-bottom: 20px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.3; font-size: 0.86rem; color: var(--muted); }
.footer-contact svg { width: 18px; height: 18px; color: var(--primary); flex: none; margin-top: 1px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--lavender);
  color: var(--primary);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.socials a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-block: 10px 14px;
}
.footer-copy { font-size: 0.82rem; color: var(--muted); }
.footer-legal { display: flex; gap: 30px; }
.footer-legal a { font-size: 0.82rem; color: var(--muted); transition: color .2s ease; }
.footer-legal a:hover { color: var(--primary); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1260px) {
  .main-nav ul { gap: 15px; }
}
@media (max-width: 1180px) {
  .segbar { grid-template-columns: repeat(3, 1fr); }
  .segbar li:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .segbar li:nth-child(3n+1) { border-left: none; }
}
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1120px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .main-nav.open {
    display: block; position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 14px 24px; margin: 0;
  }
  .main-nav.open ul { flex-direction: column; gap: 2px; }
  .main-nav.open a { display: block; padding: 12px 4px; }

  /* hero stacks: photo below text, floating cards inline */
  .hero { overflow: visible; }
  .hero-photo { position: relative; left: auto; width: 100%; height: 360px; }
  .hero-photo::before { display: none; }
  .hero-photo img { object-position: center; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-text { padding-block: 48px 28px; }
  .hero h1 { white-space: normal; }
}
@media (max-width: 860px) {
  .value-tri { grid-template-columns: 1fr; }
  .component-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
}
@media (max-width: 760px) {
  .section { padding-block: 48px; }
  .segbar { grid-template-columns: repeat(2, 1fr); }
  .segbar li { border-bottom: 1px solid var(--line); }
  .segbar li:nth-child(2n+1) { border-left: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; gap: 26px; padding: 32px; }
  .cta-motif { display: none; }
  .cta-actions { flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal { flex-wrap: wrap; gap: 16px; }
}
@media (max-width: 460px) {
  .feature-grid, .segbar { grid-template-columns: 1fr; }
  .segbar li { border-left: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* ============================================================
   INNER PAGES (v2) — shared components
   ============================================================ */

/* active nav link */
.main-nav a.is-active { color: var(--primary); font-weight: 600; }
.main-nav a.is-active::before {
  content: "";
  position: absolute;
  inset: -2px -6px;
  background: var(--ochre-bg);
  filter: blur(6px);
  border-radius: 999px;
  z-index: -1;
}

/* generic helpers */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary);
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section-head { text-align: center; margin-bottom: 38px; }
.section-head .section-title { margin-bottom: 12px; }
.section-head p { color: var(--muted); max-width: 640px; margin-inline: auto; font-size: 0.98rem; }
.section-lead { color: var(--muted); max-width: 620px; margin-bottom: 30px; font-size: 0.98rem; }

/* shared checklist with check icon */
.checklist { display: grid; gap: 11px; }
.checklist li {
  position: relative;
  padding-left: 28px;
  font-size: 0.9rem;
  color: #3a4061;
  line-height: 1.45;
}
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 1px;
  width: 18px; height: 18px;
  background: url(../assets/v2/icons/check_circle.svg) center/contain no-repeat;
}
.checklist.tight li { font-size: 0.86rem; }
.checklist li b { display: block; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.checklist.cols-2 { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.hero-checklist { margin-top: 28px; max-width: 460px; }
.checklist.squares li::before { background-image: url(../assets/v2/icons/bullet-squares.svg); width: 15px; height: 15px; top: 3px; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--lavender) 0%, var(--lavender-2) 46%, #fff 100%);
  border-bottom: 1px solid var(--line);
  padding-block: 54px 60px;
}
.page-hero .container {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: center;
}
.page-hero h1 {
  font-size: clamp(2.31rem, 3.875vw, 3.125rem); /* +25% over base subpage hero scale */
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.13;
  margin-bottom: 20px;
}
.page-hero h1 .accent { color: var(--primary); }
.page-hero .lead { font-size: 1.04rem; color: var(--muted); max-width: 520px; }
.page-hero .hero-actions { margin-top: 30px; }

/* ===== O nás / About page ===== */
.about-hero .container { grid-template-columns: 1fr; }
.about-hero .lead { max-width: 680px; }
.about-split { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 44px; align-items: start; }
.about-prose p { color: var(--muted); line-height: 1.72; font-size: 1rem; margin-bottom: 16px; }
.about-prose p:last-child { margin-bottom: 0; }
.about-facts { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--lavender-2); padding: 24px; }
.about-facts h3 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.about-facts li { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.85rem; }
.about-facts li:last-child { border-bottom: none; }
.about-facts .k { color: var(--muted); flex: none; }
.about-facts .v { color: var(--navy); font-weight: 600; text-align: right; }
.about-facts .v a { color: var(--primary); text-decoration: none; }
.career-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; padding: 26px 24px; box-shadow: var(--shadow-sm); }
.career-card h3 { font-size: 1.02rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.career-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.55; margin-bottom: 20px; }
@media (max-width: 860px) {
  .about-split { grid-template-columns: 1fr; gap: 28px; }
}

/* ===== Legal document pages ===== */
.legal-hero .container { grid-template-columns: 1fr; }
.legal-doc { max-width: 820px; }
.legal-doc .legal-updated { font-size: 0.85rem; color: var(--muted); margin-bottom: 28px; }
.legal-doc h2 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--navy); margin: 36px 0 12px; }
.legal-doc > h2:first-child { margin-top: 0; }
.legal-doc h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin: 22px 0 8px; }
.legal-doc p { color: #3a4061; line-height: 1.72; margin-bottom: 14px; font-size: 0.96rem; }
.legal-doc ul, .legal-doc ol { margin: 0 0 16px; padding-left: 20px; display: grid; gap: 8px; }
.legal-doc li { color: #3a4061; line-height: 1.65; font-size: 0.96rem; }
.legal-doc a { color: var(--primary); }
.legal-doc .legal-box { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--lavender-2); padding: 18px 22px; margin-bottom: 22px; }
.legal-doc .legal-box p:last-child { margin-bottom: 0; }
.legal-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 0.9rem; }
.legal-table th, .legal-table td { text-align: left; padding: 11px 14px; border: 1px solid var(--line); vertical-align: top; }
.legal-table th { background: var(--lavender-2); font-weight: 700; color: var(--navy); font-size: 0.82rem; }
.legal-table td { color: #3a4061; line-height: 1.55; }
@media (max-width: 560px) {
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table td, .legal-table th { display: block; width: 100%; }
  .legal-table tr { margin-bottom: 12px; }
}

/* mini trust row under hero copy */
.hero-trust { display: flex; flex-wrap: wrap; gap: 20px 30px; margin-top: 30px; }
.hero-trust li { display: flex; gap: 11px; align-items: flex-start; max-width: 240px; }
.hero-trust .ht-ico {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  border-radius: 9px; background: var(--lavender);
}
.hero-trust .ht-ico img { width: 19px; height: 19px; }
.hero-trust b { display: block; font-size: 0.88rem; color: var(--navy); font-weight: 600; line-height: 1.3; }
.hero-trust span { font-size: 0.78rem; color: var(--muted); }
.hero-trust.inline li { align-items: center; }

/* pill variant — echoes the .eyebrow badge, stacked one under another */
.hero-trust.pills { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 26px; }
.hero-trust.pills li {
  align-items: center;
  max-width: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px 6px 8px;
}
.hero-trust.pills .ht-ico { width: 26px; height: 26px; border-radius: 50%; }
.hero-trust.pills .ht-ico img { width: 14px; height: 14px; }
.hero-trust.pills b { font-size: 0.8rem; }

/* hero bullets (application page) */
.hero-bullets { display: grid; gap: 16px; margin-bottom: 26px; }
.hero-bullets li { display: flex; gap: 13px; align-items: flex-start; font-size: 0.96rem; color: #3a4061; max-width: 470px; }
.hero-bullets .hb-ico { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--lavender); }
.hero-bullets .hb-ico img { width: 17px; height: 17px; }

/* hero visuals */
.hero-visual { position: relative; }
.media-panel {
  background: linear-gradient(155deg, #fff 0%, var(--lavender) 120%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow);
}
.media-panel img { border-radius: 12px; }
.app-frame {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.app-frame .frame-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 15px;
  background: var(--lavender-2);
  border-bottom: 1px solid var(--line);
}
.app-frame .frame-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d7d3f5; }
.app-frame img { width: 100%; display: block; }

/* ----------------------------------------------------------------------
   .photo-fade — DESIGN STYLE: lifestyle photos fade on all four edges
   into the page background instead of sitting in a bordered card. This is
   the site-wide treatment for photographic imagery.
   Apply to an <img> or a <figure> wrapping an <img>. No border/shadow.
   ---------------------------------------------------------------------- */
.photo-fade {
  display: block;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-composite: intersect;
}
.photo-fade img { width: 100%; display: block; }

/* Video page — centered intro + responsive player */
.video-hero .container { display: block; }
.video-intro { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.video-intro .lead { max-width: 620px; margin-inline: auto; }
.video-frame {
  margin: 0 auto;
  max-width: 960px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 34px 70px -34px rgba(13, 21, 54, 0.5);
}
.video-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.video-bar .brand-mark { width: 26px; height: 26px; }
.video-bar .brand-name { font-size: 1.02rem; }
.video-frame video { display: block; width: 100%; aspect-ratio: 1920 / 1080; background: #000; }

/* Back link — prominent pill, shown above and below the video */
.video-back { text-align: center; }
.video-back.is-top { margin-bottom: 26px; }
.video-back.is-bottom { margin-top: 30px; }
.video-back a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  padding: 12px 24px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease;
}
.video-back a:hover {
  color: var(--primary-700);
  border-color: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.video-back svg { width: 19px; height: 19px; }
.video-back a:hover svg { transform: translateX(-3px); transition: transform .15s ease; }

.shield-graphic { display: grid; place-items: center; min-height: 340px; }
.shield-graphic .ring {
  width: 300px; height: 300px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 45%, rgba(139,124,255,.30), rgba(242,240,255,0) 68%);
}
.shield-graphic .ring::before {
  content: "";
  position: absolute;
  width: 190px; height: 190px;
  border-radius: 50%;
  border: 1.5px dashed var(--line);
}
.shield-graphic .shield-tile {
  width: 130px; height: 130px;
  display: grid; place-items: center;
  border-radius: 32px;
  background: linear-gradient(150deg, var(--primary), var(--primary-light));
  box-shadow: 0 24px 50px rgba(87, 73, 156,.4);
  position: relative;
}
.shield-graphic .shield-tile svg { width: 64px; height: 64px; color: #fff; }

/* ---------- ako-funguje hero: full-bleed photographic scene, same template as device-hero/app-hero ---------- */
.howto-page .page-hero { padding-block: 40px 40px; }
.howto-hero .container {
  position: relative;
  z-index: 2;
  grid-template-columns: 1.05fr 0.95fr;
  column-gap: 40px;
  align-items: start;
}
.howto-hero .hero-visual {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  left: calc(50% - (var(--container) / 2) + 630px);
  z-index: 0;
  overflow: hidden;
}
.howto-hero .hero-visual::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ochre-bg-2) 0%, transparent min(22%, 200px));
  z-index: 1;
}
.howto-hero-shot {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* ---------- kontakt hero: full-bleed photographic scene, same template as device-hero/app-hero/howto-hero ---------- */
.contact-page .page-hero { padding-block: 40px 40px; }
.contact-hero .container {
  position: relative;
  z-index: 2;
  grid-template-columns: 1.05fr 0.95fr;
  column-gap: 40px;
  align-items: start;
}
.contact-hero .hero-visual {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  left: calc(50% - (var(--container) / 2) + 630px);
  z-index: 0;
  overflow: hidden;
}
.contact-hero .hero-visual::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ochre-bg-2) 0%, transparent min(26%, 240px));
  z-index: 1;
}
.contact-hero-shot {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  object-position: 62% center;
}

/* ---------- Detailed horizontal flow ---------- */
.flow {
  display: flex; align-items: stretch; gap: 4px;
}
.flow-step {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px 22px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.flow-step:hover { transform: translateY(-4px); box-shadow: 0 0 30px 3px rgba(151, 112, 53, 0.22); }
.flow-tile {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 15px;
  background: transparent;
  border: 1px solid #E2E4ED;
}
.flow-num-tile {
  background: var(--primary-700);
  border: none;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
}
.flow-step h3 { font-size: 0.98rem; font-weight: 700; color: var(--navy); }
.flow-step p { font-size: 0.82rem; color: var(--muted); line-height: 1.46; }
.flow-arrow { flex: none; align-self: center; color: var(--primary); width: 38px; height: 38px; }
.flow-arrow svg { width: 100%; height: 100%; }

/* ---------- Duo cards (device + app split) ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, #FBFAFF 0%, #F4F2FF 100%);
  padding: 34px 32px 28px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.duo-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
  box-shadow: 0 18px 40px -22px rgba(87, 73, 156, 0.45);
}
.howto-page .duo-card:hover { box-shadow: 0 0 30px 3px rgba(151, 112, 53, 0.22); }
.duo-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem; font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.duo-tag { font-size: 0.86rem; color: var(--primary); font-weight: 600; }
.dc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.dc-thumb { flex: none; width: 108px; }
.dc-thumb img { width: 100%; display: block; }
.dc-thumb--device img { filter: drop-shadow(0 14px 18px rgba(13, 21, 54, .18)); }
.dc-thumb--app { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); }
.dc-link-wrap { text-align: center; margin-top: 24px; }

/* ---------- Benefits, separate small cards (icon top-left, text below) ---------- */
.benefit-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.contact-page .benefit-grid { grid-template-columns: repeat(5, 1fr); }
.benefit-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  padding: 18px 16px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: 0 0 30px 3px rgba(151, 112, 53, 0.22); }
.benefit-card .b-ico { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--lavender); margin-bottom: 12px; }
.benefit-card .b-ico img { width: 16px; height: 16px; }
.benefit-card h4 { font-size: 0.88rem; font-weight: 700; margin-bottom: 4px; line-height: 1.25; }
.benefit-card p { font-size: 0.78rem; color: var(--muted); line-height: 1.4; }

/* ---------- Panels ---------- */
.panel {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--lavender-2);
  padding: 28px 30px;
}
.panel > h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.panel > .panel-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 22px; }
.panel .panel-note { font-size: 0.8rem; color: var(--muted); margin-top: 20px; }

/* box contents */
.box-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.box-item { text-align: center; }
.box-media {
  height: 92px; margin-bottom: 12px;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
}
.box-media img { max-height: 76px; width: auto; }
.box-media .icon-tile { background: var(--lavender); }
.box-item .box-label { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.82rem; font-weight: 600; }
.box-item .box-num {
  width: 20px; height: 20px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--primary); color: #fff;
  font-size: 0.68rem; font-weight: 700; font-family: var(--font-display);
}

/* add-on cards */
.addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.addon-card {
  display: flex; gap: 18px; align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  padding: 22px;
}
.addon-media {
  width: 96px; height: 84px; flex: none;
  display: grid; place-items: center;
  background: var(--lavender-2); border: 1px solid var(--line); border-radius: var(--r-md);
}
.addon-media img { max-width: 80px; max-height: 70px; }
.addon-media .icon-tile { width: 48px; height: 48px; }
.addon-media .icon-tile img { width: 26px; height: 26px; }
.addon-card h4 { font-size: 0.98rem; font-weight: 700; margin-bottom: 6px; }
.addon-card p { font-size: 0.83rem; color: var(--muted); line-height: 1.45; margin-bottom: 12px; }
.addon-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.addon-price { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--primary); }
.addon-tag, .price-badge {
  display: inline-block;
  background: var(--lavender); color: var(--primary);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.price-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}
.price-card--featured { border: 2px solid var(--primary); box-shadow: var(--shadow); }
.price-card .price-badge { align-self: flex-start; margin-bottom: 14px; }
.price-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 4px; }
/* reserve the badge's height in cards without a badge so all titles align */
.price-card--no-badge > h3:first-child { margin-top: 41px; }
.price-card .term { color: var(--primary); font-size: 0.98rem; font-weight: 700; margin-bottom: 18px; }
.price-vat { color: var(--muted); font-size: 0.85rem; font-weight: 700; margin-bottom: 22px; }
.price-amount { font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; color: var(--primary); line-height: 1; margin-bottom: 4px; }
.price-amount span { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
/* corner cube graphic — decorative, sits behind the card content, fills the top-right quadrant */
.price-cube { position: absolute; top: 36px; right: 22px; width: 46%; max-width: 240px; pointer-events: none; z-index: 0; }
.price-cube img { width: 100%; display: block; }
.price-card > :not(.price-cube) { position: relative; z-index: 1; }
@media (max-width: 620px) {
  .price-cube { top: 26px; right: 16px; width: 38%; max-width: 160px; }
}
.price-card .checklist { margin-bottom: 24px; }
.price-card .btn { width: 100%; margin-top: auto; }
.included-card { background: var(--lavender-2); }
.included-card--wide { margin-top: 24px; }
.included-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.included-list li {
  display: flex; flex-direction: column; gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 18px;
}
.included-list .ic-ico { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--lavender); }
.included-list .ic-ico img { width: 19px; height: 19px; }
.included-list b { display: block; font-size: 1.08rem; font-weight: 700; margin-bottom: 2px; }
.included-list span { font-size: 0.96rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 760px) {
  .included-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  .included-list { grid-template-columns: 1fr; }
}
.price-note { color: var(--muted); font-size: 0.85rem; margin-top: 4px; }

/* ---------- FAQ accordion ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 20px; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 0.94rem; color: var(--navy);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { flex: none; width: 18px; height: 18px; color: var(--primary); transition: transform .2s ease; }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-body { padding: 0 20px 18px; color: var(--muted); font-size: 0.9rem; line-height: 1.55; }
.faq-more-cell {
  display: flex;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ochre-bg-2);
}
.faq-more-cell .link-arrow {
  width: 100%;
  justify-content: space-between;
  padding: 16px 20px;
  color: var(--ochre);
}

/* CTA band spacing — match the tight rhythm used on device-page / app-page */
.howto-page .section:has(+ .cta-section),
.contact-page .section:has(+ .cta-section),
.pricing-page .section:has(+ .cta-section),
.security-page .section:has(+ .cta-section) { padding-bottom: 36px; }
.howto-page .cta-section, .contact-page .cta-section,
.pricing-page .cta-section, .security-page .cta-section { padding-block: 0 48px; }
.howto-page .cta-section + .section, .contact-page .cta-section + .section,
.pricing-page .cta-section + .section, .security-page .cta-section + .section { padding-top: 0; }

/* ---------- Comparison (security) ---------- */
.compare {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--lavender-2); padding: 30px;
}
.compare-col h4 { font-size: 1rem; margin-bottom: 16px; }
.compare-col.is-good h4 { color: var(--primary); }
.xlist { display: grid; gap: 11px; }
.xlist li { position: relative; padding-left: 28px; font-size: 0.9rem; color: var(--muted); line-height: 1.45; }
.xlist li::before { content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; background: url(../assets/v2/icons/x_muted.svg) center/contain no-repeat; }
.compare .vs {
  width: 48px; height: 48px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%; background: #fff; border: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 800; font-size: 0.8rem; color: var(--muted);
}

/* regs + highlight (security) */
.regs { display: grid; grid-template-columns: repeat(3, 1fr) 1.1fr; gap: 24px; align-items: stretch; }
.reg-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; padding: 24px 22px; }
.reg-card .fc-head { margin-bottom: 12px; }
.reg-card p { font-size: 0.84rem; color: var(--muted); }
.reg-highlight {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--lavender), #fff);
  padding: 26px;
  display: flex; flex-direction: column; gap: 14px;
}
.reg-highlight .icon-tile { width: 46px; height: 46px; }
.reg-highlight .icon-tile img { width: 26px; height: 26px; }
.reg-highlight h3 { font-size: 1.2rem; line-height: 1.2; }
.reg-highlight p { font-size: 0.88rem; color: var(--muted); }
.reg-highlight .reg-actions { margin-top: auto; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 30px; align-items: start; }
.card-box { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; padding: 30px; box-shadow: var(--shadow-sm); }
.card-box > h2 { font-size: 1.3rem; margin-bottom: 6px; }
.card-box > .box-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }
.demo-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 13px; font-family: inherit; font-size: 0.92rem;
  color: var(--navy); background: #fff; width: 100%;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder, .field textarea::placeholder { color: #9aa0b5; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(87, 73, 156,.14);
}
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.8rem; color: var(--muted); margin-top: 4px; }
.consent input { margin-top: 2px; }
.consent a { color: var(--primary); }
.field .req { color: var(--ochre); }
.demo-form input.is-invalid, .demo-form select.is-invalid { border-color: #d23b3b; }
.form-status { font-size: 0.86rem; margin-top: 12px; }
.form-status.is-ok { color: var(--green); }
.form-status.is-error { color: #c0392b; }
.form-status.is-error a { color: inherit; text-decoration: underline; }

.contact-options { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; padding: 18px 20px; }
.contact-card .cc-ico { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--lavender); }
.contact-card .cc-ico img { width: 24px; height: 24px; }
.contact-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.contact-card .cc-main { font-size: 0.95rem; font-weight: 600; color: var(--primary); }
.contact-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.45; }

/* ---------- Soft CTA band ---------- */
.cta-soft {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 36px; align-items: center;
  background: linear-gradient(120deg, var(--lavender) 0%, #ECE9FF 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 42px;
}
.cs-head { display: flex; align-items: center; gap: 20px; }
.cs-squares { width: 66px; height: 66px; flex: none; position: relative; }
.cs-squares::before, .cs-squares::after { content: ""; position: absolute; width: 40px; height: 40px; border: 1.5px solid var(--primary-light); border-radius: 13px; }
.cs-squares::before { left: 0; top: 0; }
.cs-squares::after { right: 0; bottom: 0; background: rgba(255,255,255,.5); }
.cta-soft h2 { font-size: clamp(1.25rem, 1.9vw, 1.55rem); font-weight: 800; line-height: 1.2; }
.cs-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.cs-actions .link-arrow { justify-content: center; }

/* ============================================================
   DEVICE PAGE (zariadenie)
   ============================================================ */
.section-title.center { text-align: center; }

.hero-motif { position: absolute; left: -20px; bottom: -30px; width: 180px; height: 160px; z-index: 0; pointer-events: none; }
.hero-motif::before, .hero-motif::after { content: ""; position: absolute; border: 1.5px solid rgba(87, 73, 156, .16); border-radius: 24px; }
.hero-motif::before { width: 100px; height: 100px; left: 60px; top: 0; }
.hero-motif::after { width: 100px; height: 100px; left: 0; top: 50px; }

/* hero layout — text (row1/col1), visual (col2 spanning rows), trust bar (full-width row2) */
.device-hero .container {
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-rows: auto auto;
  column-gap: 40px; row-gap: 26px;
  align-items: start;
}
.device-hero .hero-text { grid-column: 1; grid-row: 1; }
.device-hero .hero-visual { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.device-hero .trust-bar { grid-column: 1 / -1; grid-row: 2; align-self: end; }

/* hero actions */
.device-hero .hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

/* hero trust bar (pills) — single compact row */
.trust-bar { display: flex; flex-wrap: nowrap; gap: 9px; margin-top: 30px; }
.trust-bar li {
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 0.76rem; font-weight: 500; color: #3a4061;
  background: rgba(255,255,255,.7); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 13px;
}
.trust-bar img { width: 24px; height: 24px; }

/* hero device composition — transparent device cutout over a vector square motif */
.device-hero .hero-visual { position: relative; display: flex; align-items: center; justify-content: flex-end; }
.device-hero .hero-visual::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  top: 2%; right: -4%; width: 78%; height: 92%;
  background: url("../assets/device/rounded_square_pattern.svg") right center / contain no-repeat;
  opacity: .55;
}
.hv-hero {
  position: relative; z-index: 1;
  height: auto; max-height: 420px; width: auto; max-width: none; margin-right: -6%;
  transform: translateX(-10%);
}

/* feature cards — 4-up stacked variant */
.feature-grid.four { grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-grid.three { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-grid.two { grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 760px; margin-inline: auto; }
.feature-card.stacked { padding: 24px 22px; border-radius: var(--r-md); }
.feature-card.stacked .icon-tile { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px; background: var(--lavender); }
.feature-card.stacked .icon-tile img { width: 22px; height: 22px; }
.device-page .feature-card.stacked .icon-tile img { width: 34px; height: 34px; }
.feature-card.stacked h3 { font-size: 1rem; font-weight: 700; margin-bottom: 9px; }
.feature-card.stacked p { font-size: 0.86rem; line-height: 1.5; }
.feature-card.stacked .fc-points { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.feature-card.stacked .fc-points li { position: relative; padding-left: 14px; font-size: 0.86rem; line-height: 1.4; color: var(--muted); }
.feature-card.stacked .fc-points li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 5px; height: 5px; border-radius: 50%; background: var(--primary-light); }
.feature-card.stacked .link-arrow { margin-top: 12px; }
.device-page .feature-card.stacked, .app-page .feature-card.stacked { display: flex; flex-direction: column; }
.device-page .feature-card.stacked .link-arrow, .app-page .feature-card.stacked .link-arrow { margin-top: auto; padding-top: 12px; }
.device-page .feature-card.stacked:hover, .app-page .feature-card.stacked:hover { box-shadow: 0 0 30px 3px rgba(151, 112, 53, 0.22); }

/* what's in the box */
.pkg { display: grid; grid-template-columns: 1.35fr 0.9fr; gap: 40px; align-items: center; }
.pkg-media { aspect-ratio: 3 / 2; }
.pkg-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pkg-list { display: grid; gap: 2px; align-self: center; }
.pkg-list li {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
}
.pkg-list li:last-child { border-bottom: 0; }
.pkg-ico {
  width: 14px; height: 14px; flex: none;
  display: grid; place-items: center;
  margin-top: 3px;
}
.pkg-ico img { width: 14px; height: 14px; }
.pkg-list h4 { font-size: 0.96rem; font-weight: 700; margin-bottom: 3px; }
.pkg-list p { font-size: 0.82rem; color: var(--muted); }

/* why designed for practice */
.why {
  display: grid; grid-template-columns: 1fr 1fr 0.95fr; gap: 36px; align-items: start;
  background: var(--lavender-2);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 40px;
}
.why-intro .section-title { text-align: left; margin-bottom: 16px; font-size: clamp(1.3rem, 2vw, 1.7rem); }
.why-intro p { color: var(--muted); font-size: 0.94rem; line-height: 1.6; }
.why-list { align-self: center; }
.why-cards { position: relative; }
.status-card {
  background: #fff; border: 1px solid #EEF0F5; border-radius: 16px;
  padding: 18px 20px; box-shadow: 0 22px 48px -22px rgba(13, 21, 54, .25);
}
/* staggered / overlapping cards (per design) */
.why-cards > .status-card:first-child { margin-right: 28px; }
.why-cards > .status-card.alt { margin-left: 32px; margin-top: -12px; position: relative; z-index: 2; }
.status-card .sc-head { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.sc-dot {
  width: 12px; height: 12px; border-radius: 50%; background: var(--green); flex: none;
  box-shadow: 0 0 0 6px rgba(37, 198, 106, .14), 0 0 12px 2px rgba(37, 198, 106, .25);
}
.status-card b { display: block; font-size: 0.92rem; color: var(--navy); font-weight: 700; }
.status-card span { font-size: 0.79rem; color: var(--muted); }
.sc-wave { width: 100%; height: 42px; object-fit: contain; object-position: left center; }
.status-card.alt { display: flex; align-items: center; gap: 14px; }
.status-card.alt .sc-ico { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(37, 198, 106, .12); }
.status-card.alt .sc-ico img { width: 22px; height: 22px; }

/* ready for daily use — 4-col feature row */
.feat-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: #fff; padding: 34px 30px;
}
.feat-item { display: flex; gap: 15px; align-items: flex-start; }
.feat-item .icon-tile { width: 44px; height: 44px; border-radius: 12px; background: transparent; border: 1px solid #E2E4ED; }
.feat-item h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.feat-item p { font-size: 0.82rem; color: var(--muted); line-height: 1.55; }

/* compact vertical rhythm — match the (compact) device mockup */
.device-page .page-hero { padding-block: 40px 40px; }
.device-page .section { padding-block: 36px; }
.device-page .section + .section { padding-top: 0; }
.device-page .section-title.center { margin-bottom: 26px; font-size: clamp(1.45rem, 2.3vw, 1.9rem); }
.device-page .cta-section { padding-block: 10px 48px; }
.device-page main > .section:last-child { padding-bottom: 64px; }
.device-page .why { padding: 32px; }
.device-page .feat-row { padding: 28px 26px; }
.device-page .pkg { gap: 36px; }

/* ---------- Inner page responsive ---------- */
@media (max-width: 1080px) {
  .page-hero .container { grid-template-columns: 1fr; gap: 36px; }
  .page-hero .hero-visual { order: -1; }
  /* ako-funguje hero: image stacks full-width above the text, fade removed */
  .howto-hero .container { grid-template-columns: 1fr; gap: 30px; }
  .howto-hero .hero-visual {
    position: relative;
    left: auto; top: auto; right: auto; bottom: auto;
    width: 100%; height: 280px;
  }
  .howto-hero .hero-visual::before { display: none; }
  .howto-hero-shot { object-position: center; }
  /* kontakt hero: same mobile stacking as ako-funguje */
  .contact-hero .container { grid-template-columns: 1fr; gap: 30px; }
  .contact-hero .hero-visual {
    position: relative;
    left: auto; top: auto; right: auto; bottom: auto;
    width: 100%; height: 280px;
  }
  .contact-hero .hero-visual::before { display: none; }
  .contact-hero-shot { object-position: center; }
  /* device hero: reset explicit grid placement to single-column flow */
  .device-hero .container { grid-template-columns: 1fr; grid-template-rows: none; }
  .device-hero .hero-text,
  .device-hero .hero-visual,
  .device-hero .trust-bar { grid-column: auto; grid-row: auto; }
  .device-hero .hero-visual { order: -1; }
  .device-hero .hero-text,
  .device-hero .hero-visual { min-width: 0; }
  .device-hero .trust-bar { flex-wrap: wrap; }
  .hv-hero { max-height: 340px; max-width: 100%; margin-right: 0; }
  .feature-grid.four, .feature-grid.three { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid, .contact-page .benefit-grid { grid-template-columns: repeat(3, 1fr); }
  .why { grid-template-columns: 1fr; gap: 28px; }
  .why-intro .section-title { text-align: center; }
  .feat-row { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .device-hero .hero-visual { min-height: 340px; justify-content: center; }
  .flow { flex-wrap: wrap; gap: 26px 4px; }
  .flow-step { flex: 1 1 40%; }
  .flow-arrow { display: none; }
  .pricing { grid-template-columns: 1fr; }
  .addons { grid-template-columns: 1fr; }
  .regs { grid-template-columns: 1fr 1fr; }
  .cta-soft { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 860px) {
  .duo, .contact-grid, .compare { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .box-grid { grid-template-columns: repeat(3, 1fr); }
  .compare .vs { transform: rotate(90deg); margin-inline: auto; }
  .pkg { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .demo-form { grid-template-columns: 1fr; }
  .box-grid { grid-template-columns: repeat(2, 1fr); }
  .regs { grid-template-columns: 1fr; }
  .hero-trust li { max-width: 100%; }
  .feature-grid.four, .feature-grid.three { grid-template-columns: 1fr; }
  .feat-row { grid-template-columns: 1fr; }
}

/* ============================================================
   SECURITY PAGE (bezpecnost)
   ============================================================ */
/* ---------- bezpecnost hero: full-bleed photographic scene, same template as device-hero/app-hero/howto-hero/contact-hero ---------- */
.security-page .page-hero { padding-block: 40px 40px; }
.sec-hero .container {
  position: relative;
  z-index: 2;
  grid-template-columns: 1.05fr 0.95fr;
  column-gap: 40px;
  align-items: start;
}
.sec-hero .hero-visual {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  left: calc(50% - (var(--container) / 2) + 630px);
  z-index: 0;
  overflow: hidden;
}
.sec-hero .hero-visual::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ochre-bg-2) 0%, transparent min(26%, 240px));
  z-index: 1;
}
.sec-hero-shot {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.sec-hero .hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 14px; }
.sec-hero .eyebrow { margin-bottom: 14px; }
.sec-hero h1 { margin-bottom: 16px; }
.sec-hero .hero-trust.pills { margin-top: 14px; gap: 6px; }
.dl-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; color: var(--primary); }
.dl-link img { width: 18px; height: 18px; }

/* card grids (architecture / data / regulations) */
.sec-grid { display: grid; gap: 22px; }
.sec-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.sec-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.sec-grid.cols-6 { grid-template-columns: repeat(6, 1fr); }
.sec-card .icon-tile { width: 46px; height: 46px; border-radius: 12px; background: transparent; border: 1px solid #E2E4ED; margin-bottom: 16px; }
.sec-card .icon-tile img { width: 23px; height: 23px; }
.sec-card h3 { font-size: 0.98rem; font-weight: 700; margin-bottom: 8px; line-height: 1.25; }
.sec-card p { font-size: 0.83rem; color: var(--muted); line-height: 1.5; }
.sec-card.boxed { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; padding: 24px 22px; }

/* why it matters + comparison */
.sec-why { display: grid; grid-template-columns: 0.92fr 1.3fr; gap: 40px; align-items: center; }
.sec-why-title { text-align: left; margin-bottom: 22px; font-size: clamp(1.35rem, 2.1vw, 1.75rem); }
.sec-why .checklist { gap: 16px; }
.sec-why .checklist li { font-size: 0.92rem; }
.cmp-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; min-height: 44px; }
.cmp-head img.cmp-dev { width: 58px; height: auto; }
.cmp-head .cmp-cloud { width: 30px; height: 30px; flex: none; }
.cmp-title b { display: block; font-weight: 800; color: var(--primary); font-size: 0.95rem; line-height: 1.2; }
.cmp-title.plain b { color: var(--navy); }
.cmp-title span { font-size: 0.74rem; color: var(--muted); }

/* security CTA band — shield badge variant */
.sec-cta { gap: 28px; }
.cta-left { display: flex; align-items: center; gap: 22px; position: relative; z-index: 1; }
.cta-shield { width: 64px; height: 64px; flex: none; display: grid; place-items: center; border-radius: 18px; background: rgba(255,255,255,.16); }
.cta-shield svg { width: 34px; height: 34px; color: #fff; }

@media (max-width: 1080px) {
  .sec-hero .container { grid-template-columns: 1fr; gap: 30px; }
  .sec-hero .hero-visual {
    position: relative;
    left: auto; top: auto; right: auto; bottom: auto;
    width: 100%; height: 280px;
  }
  .sec-hero .hero-visual::before { display: none; }
  .sec-hero-shot { object-position: center; }
  .sec-grid.cols-4, .sec-grid.cols-5, .sec-grid.cols-6 { grid-template-columns: repeat(3, 1fr); }
  .sec-why { grid-template-columns: 1fr; gap: 28px; }
  .sec-why-title { text-align: center; }
}
@media (max-width: 760px) {
  .sec-grid.cols-4, .sec-grid.cols-5, .sec-grid.cols-6 { grid-template-columns: repeat(2, 1fr); }
  .cta-left { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 460px) {
  .sec-grid.cols-4, .sec-grid.cols-5, .sec-grid.cols-6 { grid-template-columns: 1fr; }
}

/* ---------- cenník hero: full-bleed photographic scene, same template as device-hero/app-hero/howto-hero/sec-hero/contact-hero ---------- */
.pricing-page .page-hero { padding-block: 40px 40px; }
.pricing-page .section { padding-block: 36px; }
.pricing-page .section + .section { padding-top: 0; }
.cennik-hero .container {
  position: relative;
  z-index: 2;
  grid-template-columns: 1.05fr 0.95fr;
  column-gap: 40px;
  align-items: start;
}
.cennik-hero .hero-visual {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  /* left tracks the text column's right edge at all widths ≥1080px — see #32 fix.
     50% — NOT 50vw, see .hero-photo above for why. */
  left: calc(50% - (var(--container) / 2) + 630px);
  z-index: 0;
  overflow: hidden;
}
.cennik-hero .hero-visual::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ochre-bg-2) 0%, transparent min(26%, 240px));
  z-index: 1;
}
.cennik-hero-shot {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.cennik-hero .eyebrow { margin-bottom: 14px; }
.cennik-hero h1 {
  margin-bottom: 16px;
  /* slightly smaller than the shared .page-hero h1 scale so "Používajte
     AMBULANCIA.AI" stays on one line instead of breaking mid-phrase */
  font-size: clamp(2.02rem, 3.4vw, 2.74rem);
}

@media (max-width: 1080px) {
  .cennik-hero .container { grid-template-columns: 1fr; gap: 30px; }
  .cennik-hero .hero-visual {
    position: relative;
    top: auto; right: auto; bottom: auto; left: auto;
    width: 100%; height: 280px;
  }
  .cennik-hero .hero-visual::before { display: none; }
  .cennik-hero-shot { object-position: center; }
}

/* ============================================================
   APPLICATION PAGE (aplikacia.html)
   ============================================================ */

/* plain (no-pill) eyebrow */
.eyebrow.bare {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}

/* hero */
.app-page .page-hero { padding-block: 40px 40px; }
.app-page .section { padding-block: 36px; }
.app-page .section + .section { padding-top: 0; }
.app-page .cta-section { padding-bottom: 48px; }
.app-page main > .section:last-child { padding-bottom: 64px; }
.app-hero .container {
  position: relative;
  z-index: 2;
  grid-template-columns: 1.05fr 0.95fr;
  column-gap: 40px;
  align-items: start;
}
.app-hero h1 { line-height: 1.12; }
.app-hero .hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

/* full-bleed photographic scene on the right, fading into the page background
   on its left edge — same technique as the homepage .hero-photo */
.app-hero .hero-visual {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  left: calc(50% - (var(--container) / 2) + 630px);
  z-index: 0;
  overflow: hidden;
}
.app-hero .hero-visual::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ochre-bg-2) 0%, transparent min(22%, 200px));
  z-index: 1;
}

/* the app screenshot (clean bordered frame, no chrome) */
.app-shot {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.app-shot img { width: 100%; display: block; }

/* ===== app-hero: single photographic scene ===== */
.app-hero-shot {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  object-position: 62% center;
}

/* ---------- workflow stage (callouts + central screenshot) ---------- */
.wf-stage {
  display: grid;
  grid-template-columns: 1fr 1.55fr 1fr;
  gap: 56px;
  align-items: center;
}
.wf-col { display: flex; flex-direction: column; justify-content: center; gap: 30px; }
.wf-call {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.wf-call-head { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.wf-call-head img { width: 19px; height: 19px; flex: none; }
.wf-call-head b { font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; color: var(--primary); }
.wf-call p { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }

.wf-screen .app-shot { box-shadow: var(--shadow); }

/* ---------- bold standalone statement, purple-tinted ---------- */
.claim-card {
  text-align: center;
  background: linear-gradient(120deg, var(--lavender) 0%, #ECE9FF 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px 44px;
}
.claim-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.1vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 14px;
}
.claim-card p { color: var(--muted); font-size: 1rem; line-height: 1.6; max-width: 560px; margin-inline: auto; }

/* ---------- full-bleed dark divider band ---------- */
.claim-band {
  color: #fff;
  text-align: center;
  padding-block: 48px;
}
.claim-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.1vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 12px;
}
.claim-band p { color: rgba(255, 255, 255, .85); font-size: 1rem; line-height: 1.6; white-space: nowrap; }
@media (max-width: 760px) {
  .claim-band p { white-space: normal; }
}

/* ---------- security statement panel + checklist ---------- */
.security-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(120deg, var(--lavender) 0%, #ECE9FF 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px 44px;
}
.security-panel h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.9vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 12px;
}
.security-panel > div:first-child p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 18px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .app-hero .container { grid-template-columns: 1fr; gap: 30px; }
  .security-panel { grid-template-columns: 1fr; }
  .app-hero .hero-visual {
    position: relative;
    left: auto; top: auto; right: auto; bottom: auto;
    width: 100%; height: 280px;
  }
  .app-hero .hero-visual::before { display: none; }
  .app-hero-shot { object-position: center; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  /* workflow collapses: screenshot first, callouts in two columns below */
  .wf-stage { grid-template-columns: 1fr 1fr; gap: 22px; }
  .wf-screen { grid-column: 1 / -1; order: -1; margin-bottom: 8px; }
  .wf-col { gap: 22px; }
}
@media (max-width: 760px) {
  .app-hero .hero-actions { flex-wrap: wrap; gap: 16px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid, .contact-page .benefit-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .feature-grid { grid-template-columns: 1fr; }
  .benefit-grid, .contact-page .benefit-grid { grid-template-columns: 1fr; }
  .wf-stage { grid-template-columns: 1fr; }
}

/* ============================================================
   Step-track / need-card components (shared: Ako to funguje)
   ============================================================ */

/* ---------- 6 steps ---------- */
.reg-steps-section .section-title { margin-bottom: 40px; }
.reg-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  align-items: stretch;
}
.reg-track::before {
  content: "";
  position: absolute; top: 18px;
  left: calc(100% / 12); right: calc(100% / 12);
  border-top: 2px dashed var(--line);
  z-index: 0;
}
.reg-step {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.reg-num {
  width: 36px; height: 36px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--lavender); color: var(--primary);
  border: 1.5px solid var(--primary-light);
  font-family: var(--font-display); font-weight: 700; font-size: 0.86rem;
}
.reg-card {
  width: 100%; flex: 1;
  display: flex; flex-direction: column; gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 18px 16px 18px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.reg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.howto-page .reg-card:hover { box-shadow: 0 0 30px 3px rgba(151, 112, 53, 0.22); }
.reg-tile {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: transparent;
  border: 1px solid #E2E4ED;
}
.reg-tile img { width: 22px; height: 22px; }
.reg-card h3 { font-size: 0.94rem; font-weight: 700; color: var(--navy); line-height: 1.25; }
.reg-card > p { font-size: 0.8rem; color: var(--muted); line-height: 1.45; }

/* ---------- Čo budete potrebovať ---------- */
.reg-need-section .section-title { margin-bottom: 30px; }
.reg-need { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.need-card {
  display: flex; align-items: flex-start; gap: 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.need-card:hover { transform: translateY(-3px); border-color: var(--primary-light); box-shadow: 0 16px 34px -22px rgba(87, 73, 156, 0.4); }
.device-page .need-card:hover, .howto-page .need-card:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: 0 0 30px 3px rgba(151, 112, 53, 0.22); }
.need-ico {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border-radius: 11px;
  background: transparent; border: 1px solid #E2E4ED;
}
.need-ico img { width: 21px; height: 21px; }

/* Okrová (doplnková) variácia — jemný akcent pre referenčný/technický obsah, nie plná výplň */
.need-card b { display: block; font-size: 0.9rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.need-card span { font-size: 0.8rem; color: var(--muted); line-height: 1.45; }
.device-page .need-card b { font-size: 1rem; }
.need-ico.bullet { width: 16px; height: 16px; background: none; border: none; border-radius: 0; margin-top: 4px; }
.need-ico.bullet img { width: 16px; height: 16px; }

/* Špecializácie — kompaktné karty */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.spec-card { display: flex; flex-direction: column; min-height: 84px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; padding: 16px 18px; transition: transform .2s ease, box-shadow .2s ease; }
.spec-card:hover { transform: translateY(-3px); box-shadow: 0 0 30px 3px rgba(151, 112, 53, 0.22); }
.spec-badge { align-self: flex-end; margin-top: auto; padding: 3px 9px; border-radius: 999px; font-family: var(--font-display); font-size: 0.64rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--lavender-2); border: 1px solid var(--line); }
.spec-card.is-live .spec-badge { color: var(--ochre); background: var(--ochre-bg); border-color: var(--ochre-line); }
.spec-card.is-live { border-color: var(--ochre-line); }
.spec-card h3 { font-size: 0.94rem; font-weight: 700; margin: 0; }
.spec-card .spec-note { display: block; font-size: 0.72rem; font-weight: 500; color: var(--muted); white-space: nowrap; }
.spec-add { grid-column: span 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 16px 18px; }
.spec-add p { margin: 0; font-size: 0.86rem; color: var(--muted); }
.spec-add .link-arrow { margin-left: 4px; }
@media (max-width: 760px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .spec-grid { grid-template-columns: 1fr; } }
.reg-note {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 26px;
  font-size: 0.92rem; color: var(--muted);
}
/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .reg-track { grid-template-columns: repeat(3, 1fr); gap: 20px 16px; }
  .reg-track::before { display: none; }
  .reg-need { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .reg-track { grid-template-columns: 1fr; gap: 26px; max-width: 360px; margin-inline: auto; }
  .reg-need { grid-template-columns: 1fr; }
}

/* ===== Coming-soon overlay (pre-launch notice) ===== */
html.cs-lock { overflow: hidden; }
.cs-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(250, 249, 255, 0.28);
  animation: cs-fade 0.35s ease both;
}
.cs-overlay.is-closing { animation: cs-fade 0.3s ease reverse both; }
@keyframes cs-fade { from { opacity: 0; } to { opacity: 1; } }
/* Soft "halo" panel — edges fade into the page, no hard box */
.cs-card {
  position: relative;
  width: min(884px, 100%);
  background: radial-gradient(72% 82% at 50% 50%,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 30%,
    rgba(255, 255, 255, 0.93) 46%,
    rgba(255, 255, 255, 0.72) 58%,
    rgba(255, 255, 255, 0.42) 68%,
    rgba(255, 255, 255, 0.15) 80%,
    rgba(255, 255, 255, 0) 92%);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 135px 125px;
  text-align: center;
  animation: cs-pop 0.4s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
@keyframes cs-pop {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.cs-card .brand { display: flex; justify-content: center; margin-bottom: 28px; transform: scale(1.3); transform-origin: center; }
.cs-card h2 { font-size: clamp(2.6rem, 6.2vw, 3.64rem); line-height: 1.1; margin-bottom: 20px; }
.cs-card h2 .accent { color: var(--primary); }
.cs-card p { color: var(--muted); font-size: 1.36rem; line-height: 1.6; max-width: 560px; margin: 0 auto 38px; }
.cs-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cs-close-x {
  position: absolute;
  top: 70px;
  right: 70px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
}
.cs-close-x:hover { color: var(--navy); background: rgba(13, 21, 54, 0.06); }
.cs-close-x svg { width: 20px; height: 20px; }
@media (max-width: 560px) {
  .cs-card { padding: 70px 30px; }
  .cs-close-x { top: 26px; right: 26px; }
}

/* ===== Persistent floating "coming soon" badge + early-bird panel ===== */
.cs-badge {
  position: fixed;
  top: 92px;
  right: 24px;
  z-index: 70;
  width: max-content;
  max-width: calc(100vw - 32px);
  font-family: var(--font-body);
}
html.cs-lock .cs-badge { display: none; } /* hide while the intro overlay is open */
/* white "mini" variant of the intro box — soft faded edges, translucent */
.cs-badge-pill {
  display: block;
  width: 326px;
  max-width: calc(100vw - 32px);
  text-align: center;
  background: radial-gradient(125% 145% at 50% 42%,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.88) 30%,
    rgba(255, 255, 255, 0.66) 52%,
    rgba(255, 255, 255, 0.32) 72%,
    rgba(255, 255, 255, 0) 92%);
  border: 0;
  border-radius: 22px;
  padding: 34px 30px 22px;
  color: var(--navy);
  font-family: var(--font-body);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  filter: drop-shadow(0 16px 28px rgba(13, 21, 54, 0.22));
  transition: filter 0.2s ease;
  animation: cs-badge-bob 3s ease-in-out infinite;
}
.cs-badge-pill:hover { filter: drop-shadow(0 22px 36px rgba(87, 73, 156, 0.3)); }
.cs-badge-pill:active { cursor: grabbing; }
.cs-badge-chip {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.64rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(95deg, var(--primary), var(--primary-light));
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  box-shadow: 0 6px 16px -6px rgba(87, 73, 156, 0.6);
}
.cs-badge-title { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.34rem; line-height: 1.16; color: var(--navy); margin-bottom: 8px; }
.cs-badge-title .accent { color: var(--primary); }
.cs-badge-sub { display: block; font-size: 0.9rem; line-height: 1.5; color: var(--muted); }
.cs-badge-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary);
  cursor: pointer;
}
.cs-badge-cta svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.cs-badge-pill:hover .cs-badge-cta { color: var(--primary-700); }
.cs-badge-pill:hover .cs-badge-cta svg { transform: translateX(4px); }
.cs-badge--moved .cs-badge-pill { animation: none; }
@keyframes cs-badge-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) {
  .cs-badge-pill { animation: none; }
}
/* dismiss button — removes the whole card so the page can be read freely (returns on reload) */
.cs-badge-dismiss {
  position: absolute;
  top: 4px; right: 10px;
  z-index: 2;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  animation: cs-badge-bob 3s ease-in-out infinite;
}
.cs-badge-dismiss:hover { background: rgba(13, 21, 54, 0.06); color: var(--navy); }
.cs-badge-dismiss svg { width: 17px; height: 17px; }
.cs-badge--moved .cs-badge-dismiss { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .cs-badge-dismiss { animation: none; }
}
.cs-badge-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 350px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 34px 74px -28px rgba(13, 21, 54, 0.5);
  padding: 12px 20px;
  text-align: left;
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: cs-pop 0.25s ease both;
}
.cs-badge-panel[hidden] { display: none; }
.cs-badge-panel h3 { font-size: 1.18rem; line-height: 1.2; margin-bottom: 6px; color: var(--navy); }
.cs-badge-panel h3 .accent { color: var(--primary); }
.cs-badge-panel p { font-size: 0.9rem; line-height: 1.5; color: var(--muted); margin-bottom: 7px; }
.cs-badge-panel p strong { color: var(--navy); }
.cs-badge-shout { text-transform: uppercase; }
.cs-badge-form { display: grid; gap: 5px; }
.cs-badge-form input {
  width: 100%;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font: inherit;
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--ochre-bg-2);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.cs-badge-form input::placeholder { color: #9aa0b8; }
.cs-badge-form input:focus { outline: none; border-color: var(--primary-light); background: #fff; }
/* select – matches inputs, custom chevron */
.cs-badge-form select {
  width: 100%;
  padding: 7px 36px 7px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font: inherit;
  font-size: 0.9rem;
  color: var(--navy);
  background-color: var(--ochre-bg-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2359607A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.cs-badge-form select:focus { outline: none; border-color: var(--primary-light); background-color: #fff; }
.cs-badge-form select:invalid { color: #9aa0b8; }
.cs-badge-form select option { color: var(--navy); }
/* city autocomplete */
.cs-ac { position: relative; }
.cs-ac-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 6;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: 0 20px 44px -18px rgba(13, 21, 54, 0.45);
  max-height: 210px;
  overflow-y: auto;
}
.cs-ac-list[hidden] { display: none; }
.cs-ac-item {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--navy);
  cursor: pointer;
}
.cs-ac-item:hover, .cs-ac-item.is-active { background: var(--lavender); }
.cs-badge-form .btn { width: 100%; margin-top: 2px; }
.cs-badge-note { font-size: 0.7rem; line-height: 1.35; color: var(--muted); margin: 8px 0 0; text-align: center; }
.cs-badge-note a { color: var(--primary); }
p.cs-badge-error { font-size: 0.82rem; font-style: italic; color: #d23b3b; line-height: 1.45; margin: 0 0 2px; }
.cs-badge-error a { color: #d23b3b; text-decoration: underline; }
.cs-badge-form input.is-invalid,
.cs-badge-form select.is-invalid { border-color: #d23b3b; }
.cs-badge-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.cs-badge-close:hover { background: rgba(13, 21, 54, 0.06); color: var(--navy); }
.cs-badge-close svg { width: 17px; height: 17px; }
.cs-badge-ok { text-align: center; padding: 10px 4px 4px; }
.cs-badge-ok b { display: block; font-family: var(--font-display); font-size: 1.1rem; color: var(--navy); margin-bottom: 7px; }
.cs-badge-ok p { font-size: 0.9rem; color: var(--muted); margin: 0; }
@media (max-width: 560px) {
  .cs-badge { top: 72px; right: 12px; }
  .cs-badge-pill { width: auto; max-width: calc(100vw - 24px); padding: 22px 22px 20px; }
  .cs-badge-title { font-size: 1.18rem; }
}

/* ===== Cookies lišta (informačná; nie súhlasová) ===== */
.cookie-bar {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;   /* insety, nikdy 100vw → žiadny horizontálny pretok */
  z-index: 65;                              /* nad hlavičkou (60), pod early-bird badge (70) */
  max-width: 1180px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 22px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  font-family: var(--font-body);
  animation: cookie-bar-in 0.35s ease both;
}
.cookie-bar-text {
  flex: 1 1 440px;
  min-width: 0;
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--muted);
}
.cookie-bar-text strong { color: var(--navy); }
.cookie-bar-actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.cookie-bar-more { font-size: 0.86rem; font-weight: 600; color: var(--primary); white-space: nowrap; }
.cookie-bar-more:hover { color: var(--primary-700); text-decoration: underline; }
.cookie-bar-ack { white-space: nowrap; }
.cookie-bar.is-hiding { animation: cookie-bar-out 0.25s ease both; }
html.cs-lock .cookie-bar { display: none; }   /* skryť počas úvodného overlaya (ako .cs-badge) */

@keyframes cookie-bar-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes cookie-bar-out { from { opacity: 1; } to { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
  /* globálny reduced-motion blok vypína len transition, nie animation — preto vlastný opt-out */
  .cookie-bar, .cookie-bar.is-hiding { animation: none; }
}

@media (max-width: 560px) {
  .cookie-bar { left: 10px; right: 10px; bottom: 10px; padding: 14px 16px; gap: 12px 16px; }
  .cookie-bar-actions { width: 100%; justify-content: space-between; }
}
