/* Greenstone — Fintech LP. Tokens podľa Figma premenných (GREENSTONE). */


:root {
  --background: #090b0a;
  --foreground: #fff;
  --primary: #3d664a;
  --primary-darker: #22392a;
  --green-300: #4d805d;
  --lime: #64ff94;
  --muted: #222a25;
  --secondary-foreground: #d1e0d6;
  --text-strong: rgba(255,255,255,.9);
  --text-secondary: rgba(255,255,255,.7);
  --text-on-light: #050605;
  --glass-soft: rgba(255,255,255,.05);
  --glass-strong: rgba(255,255,255,.1);
  --border: rgba(255,255,255,.2);
  --border-subtle: rgba(255,255,255,.1);
  --radius: 16px;
  --pad-x: 120px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  /* jemné zvislé pruhy + tyrkysový pás — spoločné pozadie „teal“ sekcií */
  --stripes: linear-gradient(90deg, rgba(255,255,255,.014) 0%, rgba(0,0,0,.025) 2.59%, rgba(255,255,255,.025) 3.67%, rgba(0,0,0,.012) 6.28%, rgba(255,255,255,.025) 7.15%, rgba(0,0,0,.017) 9.54%, rgba(255,255,255,.013) 11.64%, rgba(0,0,0,.02) 12.99%, rgba(255,255,255,.016) 14.46%, rgba(0,0,0,.014) 16.57%, rgba(255,255,255,.011) 19.22%, rgba(0,0,0,.011) 20.25%, rgba(255,255,255,.014) 22.98%, rgba(0,0,0,.022) 25.15%, rgba(255,255,255,.012) 26.22%, rgba(0,0,0,.011) 27.51%, rgba(255,255,255,.024) 28.59%, rgba(0,0,0,.017) 30.89%, rgba(255,255,255,.012) 32.43%, rgba(0,0,0,.016) 35%, rgba(255,255,255,.021) 36.07%, rgba(0,0,0,.024) 37.1%, rgba(255,255,255,.014) 38.52%, rgba(0,0,0,.016) 40.85%, rgba(255,255,255,.022) 41.74%, rgba(0,0,0,.011) 44.32%, rgba(255,255,255,.014) 46.29%, rgba(0,0,0,.016) 48.19%, rgba(255,255,255,.018) 50.79%, rgba(0,0,0,.01) 52.77%, rgba(255,255,255,.024) 54.48%, rgba(0,0,0,.011) 57.17%, rgba(255,255,255,.012) 58.31%, rgba(0,0,0,.012) 59.37%, rgba(255,255,255,.026) 60.72%, rgba(0,0,0,.011) 62.92%, rgba(255,255,255,.021) 64.06%, rgba(0,0,0,.025) 66.15%, rgba(255,255,255,.01) 68.48%, rgba(0,0,0,.026) 70.93%, rgba(255,255,255,.023) 72.57%, rgba(0,0,0,.026) 74.8%, rgba(255,255,255,.012) 76.92%, rgba(0,0,0,.015) 78.31%, rgba(255,255,255,.017) 80.85%, rgba(0,0,0,.026) 81.99%, rgba(255,255,255,.018) 84.05%, rgba(0,0,0,.018) 85.48%, rgba(255,255,255,.021) 87.92%, rgba(0,0,0,.021) 90.03%, rgba(255,255,255,.012) 92.16%, rgba(0,0,0,.012) 93.48%, rgba(255,255,255,.026) 95.94%, rgba(0,0,0,.026) 98.23%, rgba(255,255,255,.017) 99.72%, rgba(0,0,0,.011) 100%);
  --teal: linear-gradient(90deg, #0d1614 0%, #0e1a1a 12%, #10201f 25%, #0c2a2a 38%, #0b3030 48%, #0c2a28 58%, #121e1a 68%, #111917 78%, #0c1a19 88%, #0a1414 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--background); color: var(--foreground); font: 400 16px/1.4 ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, h1, h2, h3, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: normal; color: var(--lime); }
button { font: inherit; color: inherit; cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
/* skip link NIE je position: fixed — iOS Safari by ho bral ako „lištu na vrchu“ a nesfarbil pás pri stavovom riadku */
.skip { position: absolute; left: 12px; top: 12px; z-index: 200; padding: 10px 16px; border-radius: 999px; background: var(--lime); color: var(--text-on-light); font-weight: 500; text-decoration: none; clip-path: inset(50%); opacity: 0; }
.skip:focus { clip-path: none; opacity: 1; }
section[id], main { scroll-margin-top: 80px; }

/* ---------- typografia (Figma text styles) ---------- */
.display { font-weight: 700; font-size: 64px; line-height: 1.1; letter-spacing: -2px; text-wrap: balance; }
.h-l { font-weight: 700; font-size: 36px; line-height: 1.2; letter-spacing: -1px; }
.h-m { font-weight: 700; font-size: 24px; line-height: 1.3; letter-spacing: -1px; }
.h-s { font-weight: 700; font-size: 18px; line-height: 1.3; letter-spacing: -.3px; }
.h-xs { font-weight: 700; font-size: 18px; line-height: 1.3; }
.sub { color: var(--text-strong); }
.muted { color: var(--text-secondary); }
.strong { color: var(--text-strong); }
.center { text-align: center; }
.lead-19 { font-size: 18px; line-height: 1.35; }

/* ---------- sekcie a pozadia ---------- */
.sec { position: relative; padding: 120px var(--pad-x); display: flex; flex-direction: column; align-items: center; gap: 48px; }
.sec > * { width: 100%; max-width: 1200px; }
.bg-dark { background: var(--background); }
.bg-teal {
  background:
    radial-gradient(60% 50% at 88% 50%, rgba(5,6,5,.4), rgba(5,6,5,.18) 50%, transparent),
    radial-gradient(64% 50% at 30% 50%, rgba(14,90,80,.4), rgba(14,90,80,.2) 45%, transparent),
    var(--stripes), var(--teal);
}
.bg-teal-alt {
  background:
    radial-gradient(60% 50% at 12% 50%, rgba(5,6,5,.36), rgba(5,6,5,.16) 50%, transparent),
    radial-gradient(60% 50% at 72% 50%, rgba(46,107,74,.38), rgba(46,107,74,.19) 45%, transparent),
    var(--stripes), var(--teal);
}
.sec-head { display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; max-width: 794px; }

.glass { background: var(--glass-soft); border: 1px solid var(--border); border-radius: var(--radius); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.note { max-width: 72ch; display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; font-size: 14px; color: var(--text-strong); }
.note .h-xs { color: var(--foreground); }

/* ---------- tlačidlá ---------- */
.btn {
  --glow: .25;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 32px; border: 3px solid var(--lime); border-radius: 999px;
  background: linear-gradient(164deg, var(--primary) 14.6%, var(--green-300) 85.4%);
  box-shadow: 0 0 29px rgba(100,255,148,var(--glow)), 0 4px 42px rgba(0,0,0,.25);
  color: #fff; font-weight: 500; font-size: 16px; line-height: 1.3; text-decoration: none; white-space: nowrap;
  width: max-content; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.btn::after { /* lesk, ktorý prebehne pri hoveri */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease-out);
}
.btn:hover { --glow: .5; transform: translateY(-2px); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-m { height: 40px; padding: 0 24px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.chip { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--glass-soft); backdrop-filter: blur(20px); font-size: 14px; font-weight: 500; transition: background .25s, border-color .25s; }
.chip { position: relative; }
.chip::before { content: ''; position: absolute; inset: -6px -4px; }
.chip:hover { background: var(--glass-strong); border-color: rgba(255,255,255,.35); }
.ico { width: 20px; height: 20px; display: block; background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.ico-plus { -webkit-mask-image: url('assets/icon-plus.svg'); mask-image: url('assets/icon-plus.svg'); }
.ico-minus { -webkit-mask-image: url('assets/icon-minus.svg'); mask-image: url('assets/icon-minus.svg'); }

.checks { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks li::before { content: ''; flex: none; width: 20px; height: 20px; background: url('assets/done-circle-20.svg') center / contain no-repeat; }
.checks-xs { justify-content: center; gap: 8px 24px; font-size: 12px; font-weight: 500; }
.checks-xs li { gap: 4px; }
.checks-xs li::before { width: 18px; height: 18px; background-image: url('assets/done-circle.svg'); }
.checks-m { color: var(--text-strong); }
.checks-l { flex-direction: column; gap: 8px; font-weight: 500; color: var(--text-on-light); }
.checks-l li::before { width: 24px; height: 24px; background-image: url('assets/done-circle-light.svg'); }

.tag { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; background: var(--lime); color: var(--text-on-light); font: 500 12px/1.3 sans-serif; letter-spacing: 0; }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 100px; padding: 10px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  transition: height .4s var(--ease), background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { height: 72px; }
/* závoj pod lištou je samostatná vrstva a lišta sama nemá pozadie — rovnako ako greenstone.sk.
   iOS Safari potom farbí pás pri stavovom riadku podľa stránky, nie podľa priesvitnej lišty. */
.header::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .3s ease; background: linear-gradient(180deg, rgba(7,16,11,.82) 0%, rgba(7,16,11,.55) 60%, transparent 100%); }
.header.is-scrolled::before { opacity: 1; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.header-logo { display: block; }
.logo-gs svg { display: block; height: 56px; width: auto; margin-left: -14px; transform-origin: 14px 50%; transition: transform .4s var(--ease); }
.header.is-scrolled .logo-gs svg { transform: scale(.82); }
/* flicker ako na greenstone.sk — písmená a ikona štartujú neviditeľné, oneskorenie dá JS */
.js .logo-gs svg > path, .js .logo-gs svg > g { opacity: 0; }
@keyframes gs-flicker-in { 0%, 40% { opacity: 0; } 50% { opacity: 1; } 60% { opacity: .3; } 70%, 100% { opacity: 1; } }
.cmp-us .c-head img.cmp-logo { width: auto; height: 24px; margin: 0; }
.nav { display: flex; align-items: center; gap: 4px; position: absolute; left: 50%; top: 50%; transform: translate(-50%, calc(-50% - 2px)); }  /* -2px: x-výška textu na stred x-výšky loga */
/* text v pilulke opticky na stred (Bricolage má vysoké dotiahnutia), zarovnaný s x-výškou loga */
.nav a { display: inline-flex; align-items: center; height: 32px; padding: 1px 12px 0; border-radius: 999px; font-size: 14px; font-weight: 500; line-height: 1; text-decoration: none; transition: background .3s; }
.nav a:hover, .nav a.is-active { background: var(--glass-strong); }
.header .header-cta { height: 50px; padding: 0 32px; font-size: 16px; }
.header.is-scrolled .header-cta { height: 44px; }
/* mobil: CTA v headeri sa ukáže až keď hero CTA odíde hore z obrazovky (inak sa bijú); desktop ho má stále */
@media (max-width: 900px) {
  .js .header .header-cta { opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.96); transition: opacity .35s var(--ease-out), transform .45s var(--ease-out), visibility 0s .35s, background-color .25s, box-shadow .35s var(--ease-out); }
  .js .header.show-cta .header-cta { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}

/* ---------- 1 · hero ---------- */
.hero { padding-top: 220px; padding-bottom: 60px; gap: 60px; overflow: hidden; }
.hero.bg-teal { background:
    radial-gradient(43% 62% at 50% -2%, rgba(166,203,130,.42), rgba(166,203,130,.22) 35%, rgba(166,203,130,.07) 65%, transparent),
    radial-gradient(52% 70% at 86% 28%, rgba(5,6,5,.55), rgba(5,6,5,.26) 50%, transparent),
    radial-gradient(49% 55% at 20% 2%, rgba(0,84,76,.55), rgba(0,84,76,.3) 40%, rgba(0,84,76,.08) 75%, transparent),
    var(--stripes), var(--teal); }
.hero-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; max-width: 996px; }
.rating { display: flex; gap: 8px; font-size: 14px; font-weight: 500; }
.stars { color: var(--lime); letter-spacing: 1px; }
.hero .display { max-width: 996px; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.pills li { padding: 3px 12px; border-radius: 999px; background: var(--glass-soft); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); font-weight: 500; line-height: 1.3; }
.lead { max-width: 68ch; color: var(--text-strong); }
.hero-inner .btn { margin-top: 8px; }

.hero-visual { display: flex; flex-direction: column; align-items: center; }
.hero-phones { width: 749px; max-width: 100%; aspect-ratio: 749 / 390; overflow: hidden; }
.hero-phones img { width: 100%; }
.price-card { width: 100%; display: flex; align-items: center; gap: 24px; padding: 32px; border-radius: 16px; background: var(--glass-soft); border: 1px solid var(--border); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 -84px 164px rgba(0,0,0,.85); position: relative; z-index: 1; }
.price-copy { flex: 1; display: flex; flex-direction: column; gap: 24px; }

/* ---------- 2 · is this you ---------- */
.fit { padding-top: 60px; }
.fit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: start; }
.fit-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding: 24px;
  border-radius: var(--radius); border: 1px solid var(--border); background: var(--glass-soft);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transition: background .5s var(--ease), border-color .5s var(--ease), transform .4s var(--ease-out);
}
.fit-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.32); }
.fit-card.is-open { background: var(--background); border-color: var(--background); }
.num { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--glass-soft); border: 1px solid var(--border-subtle); font-weight: 700; font-size: 24px; letter-spacing: -1px; }
.fit-card .h-xs { margin-top: 0; }
.fit-more { display: grid; grid-template-rows: 0fr; margin-top: -24px; opacity: 0; visibility: hidden; transition: grid-template-rows .5s var(--ease), opacity .4s, visibility 0s .5s; }
.fit-more > p { overflow: hidden; min-height: 0; font-size: 14px; color: var(--text-strong); }
.fit-more > p::before { content: ''; display: block; height: 12px; }
.fit-card.is-open .fit-more { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition-delay: 0s; }
.fit .note { gap: 6px; }

/* ---------- 3 · what do you get ---------- */
.get { gap: 48px; }
.flow { position: relative; height: 503px; margin-top: 0; }
.flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flow-lines path { fill: none; stroke: rgba(255,255,255,.2); stroke-linecap: round; vector-effect: non-scaling-stroke; }
.phase { position: absolute; top: 0; padding: 5px 12px; border-radius: 999px; background: var(--lime); color: var(--text-on-light); font-size: 14px; font-weight: 500; line-height: 1.3; white-space: nowrap; }
.phase-free, .phase-after { transform: translateX(-50%); }
.phase-free { left: 31%; }      /* stred stopky čiary: 372 / 1200 */
.phase-after { left: 81.667%; background: #fff; }   /* 980 / 1200 */
.steps { position: absolute; top: 66px; left: 0; right: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 20px; padding: 0 2px; }
.step { position: relative; height: 104px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 12px; background: var(--glass-soft); border: 1px solid var(--border); font-size: 14px; font-weight: 500; line-height: 1.3; transition: border-color .3s, background .3s, transform .4s var(--ease-out); }
.step span { display: flex; justify-content: space-between; align-items: center; }
.step b { font-weight: 500; }
.step:not(.step-hl):hover { border-color: rgba(255,255,255,.4); }  /* kroky nie sú klikateľné — bez nadvihnutia, zvýraznený krok si drží limetkový rám */
.step:not(:last-child)::after { content: ''; position: absolute; left: calc(100% + 4px); top: 50%; width: 13px; height: 8px; margin-top: -4px; background: url('assets/step-arrow.svg') center / contain no-repeat; }
.step-hl { background: var(--primary-darker); border: 2px solid var(--lime); box-shadow: 0 12px 28px -6px rgba(100,255,148,.18); }
.step-hl span { margin-top: -5px; }
.flow-cta { position: absolute; left: 50%; top: 452px; transform: translateX(-50%); }
.flow-cta:hover { transform: translateX(-50%) translateY(-2px); }

.flow-m { display: none; }

.pillars { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.pillars .box { flex: 1; align-self: stretch; }
.box { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--glass-soft); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); font-size: 14px; font-weight: 500; line-height: 1.3; color: var(--text-strong); transition: border-color .3s, transform .4s var(--ease-out); }
.box:hover { border-color: color-mix(in srgb, var(--lime) 45%, transparent); transform: translateY(-4px); }
.box { justify-content: flex-start; gap: 12px; }
.box .h-m { margin: 0; }
.box-toggle { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; letter-spacing: inherit; line-height: inherit; cursor: default; pointer-events: none; }
.box-ico { display: none; }
.box-body { flex: 1; display: grid; }
.box-body > div { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 0; }
.box .h-m { color: #fff; }
.kicker { color: var(--lime); }
.box-foot { display: flex; align-items: center; gap: 4px; color: var(--lime); font-size: 12px; }
.dash { flex: none; width: 24px; height: 1px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.2) 0 6px, transparent 6px 12px); }
.get .note { gap: 12px; }
.get .note .muted { font-size: 14px; }

/* ---------- 4 · compare ---------- */
.compare { padding-bottom: 60px; }
.cmp-scroll { max-width: 996px; }
.cmp { display: grid; grid-template-columns: 250px 1fr 1fr; }
.cmp-col { display: flex; flex-direction: column; }
.c { display: flex; align-items: center; gap: 8px; height: 64px; padding: 12px 24px; border-bottom: 1px solid var(--border-subtle); font-size: 14px; line-height: 1.4; }
.c-s { height: 44px; }
.c-head { height: 64px; font-size: 16px; font-weight: 500; line-height: 1.3; }
.cmp-params .c { font-weight: 500; line-height: 1.3; }
.cmp-us { position: relative; background: var(--background); border-radius: 16px; margin: 0 -1px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.cmp-us .c-head { justify-content: center; padding: 16px 24px; }
.cmp-us .c-head img { width: 116px; }
.cmp-us .c-cta { height: auto; border: 0; padding: 12px 24px; }
.cmp-them .c-head { justify-content: center; }
.cmp-them .c { color: var(--text-strong); }
.cmp-them .c:last-child { border-bottom: 0; }
.tag-rec { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); z-index: 1; }
.mark { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--green-300); font-size: 12px; font-weight: 600; line-height: 1; font-style: normal; color: #fff; }
.cmp-them .mark { background: rgba(255,255,255,.1); color: rgba(255,255,255,.55); }
.compare .note { gap: 6px; }
.cmp-m { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cmp-legend { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.cmp-leg-us { color: var(--lime); }
.cmp-leg-vs { color: var(--text-secondary); }
/* mobil: dve karty vedľa seba na swipe — vľavo typická agentúra, vpravo Greenstone; riadky zarovnané na rovnakú výšku (main.js) */
.cmp-rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; margin: 0 calc(var(--pad-x) * -1); padding: 14px var(--pad-x) 4px; scroll-padding-inline: var(--pad-x); }
.cmp-rail::-webkit-scrollbar { display: none; }
.cmp-card { position: relative; flex: 0 0 calc(100% - 28px); scroll-snap-align: center; scroll-snap-stop: always; padding: 0 18px 6px; border-radius: 16px; border: 1px solid var(--border); }
.cmp-card-us { background: var(--background); border-color: var(--border-subtle); box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.cmp-card-h { display: flex; align-items: center; justify-content: center; height: 60px; border-bottom: 1px solid var(--border-subtle); font-size: 14px; font-weight: 500; color: var(--text-strong); }
.cmp-card-h img { height: 24px; width: auto; }
.cmp-list { display: flex; flex-direction: column; }
.cmp-list li { padding: 13px 0; border-top: 1px solid var(--border-subtle); }
.cmp-list li:first-child { border-top: 0; }
.cmp-p { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 6px; }
.cmp-a { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.4; }
.cmp-a .mark { margin-top: 1px; }
.cmp-card-us .cmp-a { color: var(--foreground); font-weight: 500; }
.cmp-card-them .cmp-a { color: var(--text-secondary); }
.cmp-card-them .mark { background: rgba(255,255,255,.1); color: rgba(255,255,255,.6); }
.rail-dots { display: none; justify-content: center; gap: 8px; }
.rail-dots i { width: 6px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.25); transition: width .35s var(--ease-out), background .3s; }
.rail-dots i.is-on { width: 22px; background: var(--lime); }

.cmp-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.4; }
.cmp-row dt { flex: none; }
.cmp-row dd { margin: 0; }
.cmp-row-us dd { color: var(--foreground); font-weight: 500; }
.cmp-row-them dd { color: var(--text-secondary); }
.cmp-row-them .mark { background: rgba(255,255,255,.1); color: rgba(255,255,255,.6); }

/* ---------- 5 · owners ---------- */
.owners { padding-top: 60px; }
.owners-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.owners-copy { width: 488px; display: flex; flex-direction: column; gap: 16px; }
.forbes { width: 590px; flex: none; display: flex; flex-direction: column; gap: 48px; padding: 24px; border: 4px solid var(--lime); border-radius: 16px; background: var(--background); text-decoration: none; box-shadow: 0 0 0 rgba(100,255,148,0); transition: box-shadow .4s var(--ease-out), transform .4s var(--ease-out); }
.forbes:hover { box-shadow: 0 0 40px rgba(100,255,148,.25); transform: translateY(-3px); }
.forbes-top { display: flex; justify-content: space-between; align-items: flex-start; }
.forbes-top > div { display: flex; flex-direction: column; gap: 12px; }
.forbes-arrow { transition: transform .35s var(--ease-out); }
.forbes .h-s { font-size: 16px; font-weight: 500; line-height: 1.45; letter-spacing: 0; color: var(--text-strong); }  /* popis článku je text, nie nadpis */
.forbes:hover .forbes-arrow { transform: translate(3px,-3px); }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person { position: relative; aspect-ratio: 640 / 823;  /* pomer fotiek — orez je rovnaký na každej šírke obrazovky */ border-radius: var(--radius); overflow: hidden; background: var(--glass-soft); display: flex; align-items: flex-end; padding: 24px; isolation: isolate; }
.person img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; z-index: -2; transition: transform .8s var(--ease-out); }
/* svetlé rohy dole: fotka má vlastnú vrstvu (transform) a zaoblenie ju neorezalo rovnako ako stmavenie —
   clip-path orezáva všetky vrstvy naraz, obrázok aj stmavenie dostanú rovnaké zaoblenie */
.person { clip-path: inset(0 round var(--radius)); background: #0a0a0b; }
.person img, .person::after { border-radius: inherit; }
.person::after { /* spodné stmavenie (bez backdrop blur — ten na svetlom pozadí fotky vytváral odlesk na hranách) */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,10,11,0) 40%, rgba(10,10,11,.72) 62%, rgba(10,10,11,.96) 78%, #0a0a0b 88%);
}
/* zoom len pre myš — na dotykových zariadeniach by po ťuknutí ostal priblížený */
@media (hover: hover) and (pointer: fine) { .person:hover img { transform: scale(1.05); } }
.person figcaption { width: 100%; display: flex; flex-direction: column; gap: 8px; text-align: center; }
.person b { font-size: 24px; line-height: 1.3; letter-spacing: -1px; }
.person span { color: var(--text-strong); }

/* ---------- 6 · cases ---------- */
.cases-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.cases-head .h-l { max-width: 590px; }
.case { display: flex; align-items: center; gap: 32px; height: 400px; padding: 24px; }
.case-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; font-size: 14px; color: var(--text-strong); }
.case-copy .h-l { color: #fff; margin-bottom: -12px; }
.result-pill { height: 24px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; background: var(--glass-soft); border: 1px solid var(--border); font-size: 12px; color: var(--secondary-foreground); }
.case-link { width: 100%; padding: 11px 0 11px 16px; border-left: 2px solid var(--green-300); font-size: 16px; color: #fff; text-decoration: none; transition: color .25s, border-color .25s; }
.case-link:hover { color: var(--lime); border-color: var(--lime); }
.case-img { flex: 1; height: 100%; border-radius: 12px; overflow: hidden; }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .case:hover .case-img img { transform: scale(1.04); } }
.cases-cta-bottom { display: none; }

/* ---------- 7 · results ---------- */
.results-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { display: flex; flex-direction: column; gap: 12px; padding: 12px 12px 16px; transition: border-color .3s, transform .4s var(--ease-out); }
.tile:hover { border-color: rgba(255,255,255,.4); transform: translateY(-4px); }
.tile-img { height: 200px; border-radius: 12px; overflow: hidden; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.tile-img-top img { object-position: 50% 0; transform: scale(1.1); transform-origin: 50% 0; }
@media (hover: hover) and (pointer: fine) { .tile:hover .tile-img img { transform: scale(1.05); } }
@media (hover: hover) and (pointer: fine) { .tile:hover .tile-img-top img { transform: scale(1.15); } }
.tile figcaption { padding: 0 8px; min-height: 36px; font-size: 14px; font-weight: 500; line-height: 1.3; }
.round { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--glass-soft); border: 1px solid var(--border); transition: background .25s; }
.round:hover { background: var(--glass-strong); }
.round img { width: 20px; height: 20px; filter: brightness(0) invert(1); }

/* ---------- 8 · contact ---------- */
.contact-card { display: flex; gap: 48px; min-height: 600px; padding: 48px; border-radius: var(--radius); background: #fff; color: var(--text-on-light); }
.contact-copy { width: 541px; flex: none; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.contact-copy > div { display: flex; flex-direction: column; gap: 24px; }
.contact-copy .h-l { color: #050608; }
.contact-copy .h-l em { color: var(--primary); }
.lead-form { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lf-top { display: flex; flex-direction: column; gap: 12px; }
.lf-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 500; line-height: 1.3; }
.lf-step b { font-weight: 600; }
.lf-note { color: var(--primary); font-size: 14px; }
.lf-bar { height: 5px; border-radius: 999px; background: rgba(0,0,0,.1); overflow: hidden; }
.lf-bar i { display: block; height: 100%; width: 28%; border-radius: 999px; background: var(--primary); transition: width .6s var(--ease-out); }
.lf-panes { position: relative; margin-top: 40px; flex: 1; }
/* každý krok má vlastnú výšku — neaktívne kroky sú mimo toku */
.lf-pane { position: absolute; inset: 0 0 auto 0; border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; opacity: 0; visibility: hidden; transform: translateX(24px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out), visibility 0s .45s; }
.lf-pane.is-active { position: relative; }
.lf-pane.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.lf-pane.is-past { transform: translateX(-24px); }
.fld { display: block; position: relative; border-bottom: 1px solid rgba(5,6,5,.45); border-radius: 6px 6px 0 0; transition: border-color .25s, background .25s; }
.fld:hover { background: rgba(5,6,5,.025); }
.fld:focus-within { background: rgba(5,6,5,.035); }
.fld-l { position: absolute; left: 8px; top: 16px; font-size: 16px; line-height: 1.3; color: rgba(5,6,5,.62); pointer-events: none; transform-origin: 0 0; transition: transform .25s var(--ease-out), color .25s; }
.fld:focus-within .fld-l, .fld.is-filled .fld-l, .fld:has(input:not(:placeholder-shown)) .fld-l, .fld:has(textarea:not(:placeholder-shown)) .fld-l { transform: translateY(-11px) scale(.72); color: rgba(5,6,5,.72); }
.fld-err { display: block; padding: 4px 8px 6px; font-size: 12px; line-height: 1.35; color: #b0271b; }
.fld-err:empty { display: none; }
.lead-form input, .lead-form select, .lead-form textarea { scroll-margin-top: 120px; }
.lf-req { margin: 0 0 8px; font-size: 12px; color: rgba(5,6,5,.62); }
.fld:focus-within { border-color: var(--primary); }
.fld::after { content: ''; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out); }
.fld:focus-within::after { transform: scaleX(1); }
.fld input, .fld select, .fld textarea { width: 100%; border: 0; background: transparent; padding: 22px 8px 7px; font: 400 16px/1.4 sans-serif; color: var(--text-on-light); outline: none; border-radius: 0; }
.fld input::placeholder, .fld textarea::placeholder { color: rgba(0,0,0,.6); }
.fld textarea { resize: vertical; min-height: 104px; padding-top: 26px; }
.fld-sel select { appearance: none; -webkit-appearance: none; padding-right: 40px; height: 54px; cursor: pointer; }
.fld-sel select:invalid { color: var(--text-on-light); }
.fld-sel select option { color: var(--text-on-light); }
.fld-sel::before { content: ''; position: absolute; right: 8px; top: 16px; width: 20px; height: 20px; background: url('assets/icon-chevron-down.svg') center / contain no-repeat; pointer-events: none; transition: transform .3s; }
.fld-sel.is-open::before { transform: rotate(180deg); }
/* vlastný dropdown: natívny select je skrytý (drží hodnotu), ovláda sa tlačidlom + listboxom */
.js .fld-sel select { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.sel-btn { display: block; width: 100%; height: 54px; padding: 22px 40px 7px 8px; border: 0; background: none; text-align: left; font: 400 16px/1.4 inherit; font-family: inherit; color: var(--text-on-light); cursor: pointer; border-radius: 0; }
.sel-btn:focus-visible { outline: none; }
.fld-sel:has(.sel-v:not(:empty)) .fld-l, .fld-sel.is-open .fld-l { transform: translateY(-11px) scale(.72); }
.sel-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; margin: 0; padding: 6px; list-style: none; max-height: 280px; overflow-y: auto; border-radius: 12px; background: #fff; border: 1px solid rgba(0,0,0,.12); box-shadow: 0 18px 40px -12px rgba(0,0,0,.35); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s var(--ease-out), transform .25s var(--ease-out), visibility 0s .2s; outline: none; }
.fld-sel.sel-up .sel-list { top: auto; bottom: calc(100% + 6px); transform: translateY(6px); }
.fld-sel.is-open .sel-list { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sel-list li { position: relative; padding: 12px 36px 12px 12px; border-radius: 8px; font-size: 14px; line-height: 1.3; cursor: pointer; }
.sel-list li.is-active { background: rgba(0,0,0,.05); }
.sel-list li[aria-selected="true"]::after { content: ''; position: absolute; right: 12px; top: 50%; width: 10px; height: 5px; margin-top: -4px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.fld-sel.is-open { z-index: 5; }
.fld.is-invalid { border-color: #b0271b; background: rgba(176,39,27,.04); }
.fld.is-invalid::after { background: #b0271b; transform: scaleX(1); }
.fld.is-invalid .fld-l { color: #b0271b; }
.hp { position: absolute; left: -9999px; }
.lf-done { align-items: center; justify-content: center; text-align: center; gap: 12px; color: #3a3f3c; }
.lf-done .h-m { color: var(--text-on-light); }
.lf-msg { min-height: 0; margin: 16px 0 6px; font-size: 14px; color: #c0392b; }
.lf-msg:empty { margin: 8px 0 0; }
.lf-msg.ok { color: var(--primary); }
.lf-actions { display: flex; gap: 48px; align-items: center; }
.lf-back { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 50px; padding: 0; border: 0; background: none; color: var(--text-on-light); font-weight: 500; line-height: 1.3; }
.lf-back img { transition: transform .3s var(--ease-out); }
.lf-back:hover img { transform: translateX(-3px); }
.lf-back[hidden] { display: none; }
.lead-form.is-done .lf-actions, .lead-form.is-done .lf-top { visibility: hidden; }

/* ---------- 9 · faq ---------- */
.faq { gap: 48px; }
.faq-list { max-width: 990px; display: flex; flex-direction: column; gap: 12px; }
.qa { border-radius: var(--radius); border: 1px solid var(--border); background: var(--glass-soft); transition: border-color .3s, background .3s; }
.qa:hover { border-color: rgba(255,255,255,.35); }
.qa-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px; border: 0; background: none; text-align: left; font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--foreground); transition: color .3s; }
.qa-q:focus-visible { outline-offset: -3px; border-radius: var(--radius); }
.qa.is-open .qa-q { color: var(--lime); }
.qa-ico { flex: none; width: 32px; height: 32px; border-radius: 50%; background: #fff; position: relative; transition: transform .35s var(--ease-out), background .3s; }
.qa-ico::before, .qa-ico::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.25px; margin: -.6px 0 0 -6px; background: var(--background); transition: transform .35s var(--ease-out); }
.qa-ico::after { transform: rotate(90deg); }
.qa.is-open .qa-ico { transform: rotate(180deg); background: var(--lime); }
.qa.is-open .qa-ico::after { transform: rotate(0deg); }
/* plynulé otvorenie bez JS merania výšky: grid 0fr → 1fr */
.qa-a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .3s var(--ease-out), visibility 0s .3s; }
.qa-a > div { overflow: hidden; min-height: 0; }
.qa-a p { max-width: 68ch; padding: 0 24px 24px; color: var(--text-strong); opacity: 0; transform: translateY(-6px); transition: opacity .25s, transform .3s var(--ease-out); }
.qa.is-open .qa-a { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.qa.is-open .qa-a p { opacity: 1; transform: none; transition-delay: .05s; }
.faq-cta { display: flex; align-items: center; justify-content: center; gap: 24px; }
.faq-cta p { color: var(--text-strong); }

/* ---------- footer (podľa greenstone.sk) ---------- */
.footer { background: var(--background); border-top: 1px solid var(--border-subtle); padding: 56px var(--pad-x) 32px; }
.foot-grid, .foot-bottom { max-width: 1200px; margin: 0 auto; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 40px; }
.foot-col h3 { margin: 0 0 12px; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.foot-col p, .foot-col a { display: block; margin: 0 0 8px; font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.75); text-decoration: none; transition: color .25s; }
.foot-col a:hover { color: var(--lime); }
.foot-nav { display: grid; gap: 0; }
.foot-nav a { margin: 0; padding: 5px 0; }
.foot-col a { padding: 5px 0; margin: -5px 0 3px; }
.foot-nav a { margin: 0 !important; }
.foot-brand img { height: 48px; width: auto; margin: -8px 0 10px -12px; }
.foot-tag { max-width: 230px; font-size: 12px !important; color: rgba(255,255,255,.62) !important; }
.obf:empty::before { content: '…'; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.07); font-size: 12px; color: rgba(255,255,255,.62); }
.foot-bottom a { color: inherit; text-decoration: none; transition: color .25s; }
.foot-rc a { text-decoration: underline; text-underline-offset: 2px; }
.foot-top { padding: 12px 0; }
.foot-col a, .foot-bottom a { position: relative; }
.foot-col a::after, .foot-bottom a::after { content: ''; position: absolute; inset: -8px -4px; }
.foot-bottom a:hover { color: var(--lime); }

/* ---------- animácie: reveal ---------- */
.js [data-reveal], .js [data-stagger] > * { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in, .js [data-stagger].is-in > * { opacity: 1; transform: none; }
.js [data-stagger] > .dash { transform: none; }
/* hover transform kariet nesmie prepisovať reveal — po odhalení sa vráti ich vlastný transition */
.js [data-stagger].is-done > * { transition: opacity .3s, transform .4s var(--ease-out), border-color .3s, background .5s var(--ease); transition-delay: 0s; }
.js .fit-grid.is-done > .fit-card:hover, .js .pillars.is-done > .box:hover, .js .results-rail.is-done > .tile:hover { transform: translateY(-4px); }

/* hero nadpis — slová sa vynárajú z rozmazania (anotácia vo Figme: ako souffletmalt.com) */
.w { display: inline-block; white-space: pre; }
.js .display .w { opacity: .25; filter: blur(6px); transform: translateY(.2em); transition: opacity .55s var(--ease-out), filter .55s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(var(--i) * 20ms); }
.js .display.is-in .w { opacity: 1; filter: blur(0); transform: none; }
/* telefóny a banner s cenou prichádzajú spolu ako jeden celok (banner prekrýva spodok telefónov) */
.js .hero-visual[data-reveal] { opacity: .01; transform: translateY(48px); transition: opacity .9s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: .3s; }
.js .hero-visual[data-reveal].is-in { opacity: 1; transform: none; }
/* desktop: banner sa objaví a telefóny sa z neho vysunú (spodná hrana .hero-phones ich orezáva) */
@media (min-width: 901px) {
  .js .hero-visual[data-reveal] { transform: none; transition: opacity .7s var(--ease-out); transition-delay: .25s; }
  .js .hero-phones img { transform: translateY(101%); transition: transform 1.4s cubic-bezier(.16,1,.3,1) .6s; }
  .js .hero-visual.is-in .hero-phones img { transform: none; }
}

/* diagram — čiary sa „nakreslia“, kroky postupne */
.js .flow-lines path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .flow.is-in .flow-lines path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease) var(--d, 0s); }
.js .flow .phase, .js .flow .step, .js .flow .flow-cta { opacity: 0; transition: opacity .6s var(--ease-out) var(--d, 0s), transform .6s var(--ease-out) var(--d, 0s), border-color .3s, background .3s; }
.js .flow .step { transform: translateY(16px); }
.js .flow.is-in .phase, .js .flow.is-in .step, .js .flow.is-in .flow-cta { opacity: 1; }
.js .flow.is-in .step { transform: none; }
.flow .fan { stroke: rgba(255,255,255,.2); }
.flow.is-in .fan-pulse { stroke: var(--lime); stroke-opacity: .7; stroke-dasharray: .06 .94; animation: pulse 3.2s linear infinite; animation-delay: var(--pd, 0s); }
@keyframes pulse { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .15s !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-stagger] > *, .js .display .w, .js .hero-phones img { transform: none !important; }
  .js .display .w { filter: none; }
}

/* ---------- responzivita ---------- */
@media (max-width: 1280px) {
  :root { --pad-x: 60px; }
  .nav { position: static; transform: translateY(-2px); }
  .display { font-size: 56px; }
  .owners-copy { width: auto; flex: 1; }
  .forbes { width: 50%; }
}

@media (max-width: 1100px) {
  :root { --pad-x: 40px; }
  .nav { display: none; }
  .fit-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { display: none; }
  .flow-m { display: flex; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
  .contact-copy { width: 44%; }
}

@media (min-width: 1101px) { .flow-m { display: none !important; } }

@media (max-width: 900px) {
  :root { --pad-x: 20px; }
  .sec { padding-top: 56px; padding-bottom: 56px; gap: 28px; }  /* medzi sekciami 112 px — na mobile menej prázdnych dier */
  .display { font-size: clamp(36px, 9.6vw, 48px); letter-spacing: -.5px; }
  .h-xs { font-size: 20px; }
  .num { width: 56px; height: 56px; font-size: 20px; }
  .br-d { display: none; }
  /* dlhé odseky sa na mobile nečítajú dobre na stred */
  .note { align-items: flex-start; text-align: left; }
  .h-l { font-size: 28px; letter-spacing: -.8px; }
  .h-m { font-size: 20px; }
  .sub, .lead { font-size: 14px; }

  .header, .header.is-scrolled { height: 80px; padding: 17px 10px; }
  .header.is-scrolled { height: 68px; padding-top: 12px; padding-bottom: 12px; }

  .logo-gs svg { height: 46px; margin-left: -10px; transform-origin: 10px 50%; }
  .header.is-scrolled .logo-gs svg { transform: none; }
  .header .header-cta, .header.is-scrolled .header-cta { height: 44px; padding: 0 20px; font-size: 14px; }

  .hero { padding-top: 96px; padding-bottom: 40px; gap: 24px; }
  .hero-inner { gap: 16px; }
  .pills { gap: 4px; }
  .pills li { padding: 4px 9px; font-size: 12px; }
  .hero-inner .btn { margin-top: 0; }
  .checks-xs { flex-direction: column; align-items: center; gap: 8px; }
  .hero-phones { width: 100%; }
  .price-card { flex-direction: column; align-items: flex-start; padding: 20px; gap: 24px; box-shadow: 0 -40px 90px rgba(0,0,0,.85); }
  .price-card .checks { flex-direction: column; gap: 8px; font-size: 14px; }

  .fit { padding-top: 40px; }
  .fit-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--pad-x) * -1); padding: 0 var(--pad-x) 4px; width: calc(100% + var(--pad-x) * 2); max-width: none; scrollbar-width: none; }
  .fit-grid::-webkit-scrollbar { display: none; }
  /* vodorovný karusel: vždy jedna karta v strede, jedno potiahnutie = jedna karta; hore rezerva, nič sa neoreže */
  .fit-grid { padding: 8px calc(50vw - 139px) 8px; scroll-padding-inline: calc(50vw - 139px); overscroll-behavior-x: contain; }
  .fit-card { flex: 0 0 278px; scroll-snap-align: center; scroll-snap-stop: always; }
  .fit-card:hover, .js .fit-grid.is-done > .fit-card:hover { transform: none; }

  .flow-m { flex-direction: column; align-items: center; gap: 24px; }
  .flow-group { position: relative; width: 100%; padding: 26px 12px 12px; border: 1px solid var(--border-subtle); border-radius: 16px; }
  .flow-group .phase { left: 50%; transform: translateX(-50%); top: -14px; }
  .flow-group .phase-light { background: #fff; }
  .flow-group ol { display: flex; flex-direction: column; gap: 8px; }
  .flow-group li { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 14px; border-radius: 12px; background: var(--glass-soft); border: 1px solid var(--border); font-size: 14px; font-weight: 500; }
  .flow-group li b { flex: 1; font-weight: 500; text-align: left; }
  .flow-group li.step-hl { background: var(--primary-darker); border: 2px solid var(--lime); }

  /* mobil: tri body ako kompaktný accordion — popis sa rozbalí až po ťuknutí */
  .pillars { flex-direction: column; gap: 8px; margin-top: 0; }
  .pillars .box { width: 100%; padding: 16px 18px; gap: 6px; }
  .pillars .dash { display: none; }
  .box:hover, .js .pillars.is-done > .box:hover { transform: none; }
  .box .h-m br { display: none; }
  .box-toggle { pointer-events: auto; cursor: pointer; align-items: center; min-height: 44px; margin: -6px 0; }
  .box-ico { display: block; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--foreground); position: relative; transition: transform .35s var(--ease-out), background .3s; }
  .box-ico::before, .box-ico::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.25px; margin: -.6px 0 0 -6px; background: var(--background); transition: transform .35s var(--ease-out); }
  .box-ico::after { transform: rotate(90deg); }
  .box.is-open .box-ico { transform: rotate(180deg); background: var(--lime); }
  .box.is-open .box-ico::after { transform: rotate(0deg); }
  .box-body { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .35s var(--ease-out), visibility 0s .35s; }
  .box-body > div { overflow: hidden; gap: 14px; }
  .box-body > div > p:first-child { padding-top: 8px; }
  .box.is-open .box-body { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
  .box.is-open .box-toggle { color: var(--lime); }

  /* mobil: tabuľku nahrádza prepínateľná karta (.cmp-m) */
  .cmp-scroll { display: none; }
  .cmp-m { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; display: flex; flex-direction: column; gap: 20px; }

  .owners-top { flex-direction: column; gap: 24px; }
  .forbes { width: 100%; gap: 24px; padding: 20px; }
  .team { gap: 12px; }
  .person { padding: 12px; }
  .person b { font-size: 16px; letter-spacing: -.3px; }
  .person span { font-size: 12px; }

  .cases-head { flex-direction: column; align-items: flex-start; }
  .cases-cta-top { display: none; }
  .cases-cta-bottom { display: inline-flex; }
  .case { flex-direction: column-reverse; height: auto; padding: 12px 12px 20px; gap: 20px; }
  .case-img { width: 100%; height: auto; aspect-ratio: 16 / 10; flex: none; }
  .case-copy { gap: 16px; padding: 0 8px; }
  .case-copy .h-l { font-size: 20px; font-weight: 600; letter-spacing: -.5px; margin-bottom: -4px; }

  .results-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--pad-x) * -1); padding: 0 var(--pad-x) 4px; width: calc(100% + var(--pad-x) * 2); max-width: none; scrollbar-width: none; }
  .results-rail::-webkit-scrollbar { display: none; }
  .tile { flex: 0 0 calc(100% - 40px); scroll-snap-align: center; scroll-snap-stop: always; }
  .rail-dots { display: flex; }

  .contact-card { display: contents; }
  .contact { gap: 24px; }
  .contact-copy { width: 100%; gap: 24px; color: #fff; }
  .contact-copy .h-l { color: #fff; font-size: 28px; }
  .contact-copy .h-l em { color: var(--lime); }
  .lead-19 { font-size: 14px; }
  .checks-l { color: #fff; font-size: 12px; }
  .checks-l li::before { width: 18px; height: 18px; background-image: url('assets/done-circle.svg'); }
  .lead-form { width: 100%; background: #fff; color: var(--text-on-light); border-radius: 12px; padding: 16px; }
  .lf-panes { margin-top: 20px; }
  .lf-row { font-size: 14px; }
  .lf-note { font-size: 12px; }

  .qa-q { padding: 16px; font-size: 16px; }
  .qa-a p { padding: 0 16px 16px; font-size: 14px; }
  .faq-cta { flex-direction: column; gap: 16px; }
  .faq-cta p { font-size: 14px; }

  .footer { padding: 40px var(--pad-x) 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-tag { display: none; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}
