/* ==========================================================================
   SALIVISION - styles.css
   1:1 s design tokeny (Saligalss.pen / SALIGLASS-DESIGN-SYSTEM.md v1.2).
   Princip: tokeny = CSS custom properties. Desktop hodnoty v :root,
   mobilní remap přes @media (osa `viewport`). Velké typo + sekční padding
   fluidně přes clamp() → plynulá reakce na zvětšování/zmenšování okna.
   Layout (gridy → 1 sloupec / carousel, nav) přepíná breakpointy.
   ========================================================================== */

/* ---------------------------------------------------------------- TOKENY */
:root {
  /* - Barvy (surfaces) - */
  --bg: #0A0A0C;
  --bg-2: #131319;
  --bg-3: #1C1C24;
  --line: #2C2C36;
  /* - Akcent (Pantone 233 C) - */
  --magenta: #C6007E;
  --magenta-bright: #E40A92;
  --magenta-deep: #9A0061;
  /* - Text - */
  --text: #F6F6F9;
  --text-2: #ADADBA;
  --text-3: #717180;
  --white: #FFFFFF;
  /* - Stavové - */
  --danger: #FF5470;
  --danger-bg: #24121A;
  --warn: #FFC24D;
  --warn-bg: #241E12;
  --safe: #34D399;
  --safe-bg: #112620;
  /* - Overlay / sklo - */
  --overlay-soft: rgba(10, 10, 12, .50);
  --overlay: rgba(10, 10, 12, .70);
  --overlay-strong: rgba(10, 10, 12, .80);
  --nav-glass: rgba(19, 19, 25, .95);
  /* - Magenta záře (efekty) - */
  --glow: rgba(198, 0, 126, .22);
  --glow-strong: rgba(198, 0, 126, .29);

  /* - Fonty - */
  --font-display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* - Rádiusy - */
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 24px;
  --r-3xl: 28px;
  --r-pill: 999px;

  /* - Type scale - fluidní clamp(mobile, ~desktop/12 vw, desktop) -
     floor = mobilní token (≤ ~600 px), ceil = desktop token (≥ ~1200 px).
     v1.2: nadpisová škála zmenšena celkem o ~12 % (refined); body tier na čitelném minimu. */
  --hero: clamp(37px, 6.58vw, 79px);
  --display: clamp(30px, 4.33vw, 52px);
  --t-h1: clamp(34px, 3.75vw, 45px);
  --t-h2: clamp(26px, 3.25vw, 39px);
  --t-h3: clamp(23px, 2.75vw, 33px);
  --t-h4: clamp(21px, 2.33vw, 28px);
  --t-h5: clamp(19px, 1.92vw, 23px);
  --t-h6: clamp(17px, 1.58vw, 19px);
  --t-title: clamp(16px, 1.42vw, 17px);
  --lead: clamp(16px, 1.33vw, 16px);
  --body-lg: 15px;
  --body: 14px;
  --body-sm: 13px;
  --caption: 12px;
  --micro: 11px;

  /* - Line-heighty - */
  --lh-display: 1.0;
  --lh-headline: 1.12;
  --lh-body: 1.55;

  /* - Spacing scale (desktop) - */
  --s-0: 0px;  --s-2: 2px;  --s-4: 4px;  --s-6: 6px;  --s-8: 8px;
  --s-10: 10px; --s-12: 12px; --s-14: 14px; --s-16: 16px; --s-18: 18px;
  --s-20: 20px; --s-24: 24px; --s-28: 28px; --s-32: 32px; --s-40: 40px;
  --s-48: 48px; --s-56: 56px; --s-64: 64px; --s-80: 80px; --s-96: 96px;
  --s-104: 104px; --s-120: 120px; --s-140: 140px;

  /* - Layout - */
  --container: 1200px;
  --page-x: clamp(20px, 5vw, 120px);   /* fluidní horizontální padding sekcí */
  --section-y: clamp(56px, 7vw, 104px); /* fluidní vertikální padding sekcí */
  --nav-h: 68px;
}

/* ----------------------------------------- MOBILNÍ REMAP (osa viewport) */
/* Layout + diskrétní token-swapy, které nedávají smysl fluidně. */
@media (max-width: 640px) {
  :root {
    --body: 15px;        /* mobilní body (zmenšeno z 16); inputy řeší max(16px,1em) */
    --s-18: 16px; --s-20: 16px; --s-24: 20px; --s-28: 20px; --s-32: 24px;
    --s-40: 28px; --s-48: 32px; --s-56: 36px; --s-64: 40px; --s-80: 44px;
    --s-96: 48px; --s-104: 56px; --s-120: 20px; --s-140: 20px;
  }
}

/* ------------------------------------------------------ RESET + BASE
   Vč. mobile-safe globálů z AI-WEB-PLAYBOOK §B12. */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; -webkit-tap-highlight-color: transparent; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  min-height: 100svh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font-size: max(16px, 1em); } /* iOS zoom pojistka */
:focus-visible { outline: 2px solid var(--magenta-bright); outline-offset: 3px; border-radius: 4px; }

/* ------------------------------------------------------------ LAYOUT */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}

.section {
  padding: var(--section-y) var(--page-x);
}
.section--bg { background: var(--bg); }
.section--bg2 { background: var(--bg-2); }

.section__head {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-16);
}
.section__head .lead { max-width: 720px; }

/* ---------------------------------------------------------- TYPOGRAFIE */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-8);
  font-family: var(--font-body);
  font-size: var(--caption);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--magenta);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--magenta); flex: none;
}
.eyebrow--muted { color: var(--text-3); }

.h-display { font-family: var(--font-display); font-weight: 700; line-height: var(--lh-display); letter-spacing: -2px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; line-height: var(--lh-headline); text-wrap: balance; }
.h2 { font-size: var(--t-h2); letter-spacing: -1.2px; }
.h2 .accent { color: var(--magenta); display: block; }
.lead { font-family: var(--font-body); font-weight: 400; font-size: var(--lead); line-height: 1.6; color: var(--text-2); }
.muted { color: var(--text-2); }
.muted-3 { color: var(--text-3); }

/* ------------------------------------------------------------ TLAČÍTKA */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-8);
  white-space: nowrap;
  padding: 16px 32px;
  border-radius: var(--r-pill);
  font-family: var(--font-body); font-size: var(--body-lg); font-weight: 600;
  min-height: 48px;
  transition: transform .12s ease, background-color .2s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--magenta); color: var(--white);
  box-shadow: 0 12px 40px rgba(198, 0, 126, .50);
}
.btn--primary:hover { background: var(--magenta-bright); }
.btn--ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); padding: 15px 27px; }
.btn--ghost:hover { border-color: var(--text-3); }
.btn--block { width: 100%; }
.cta-stack { display: flex; flex-direction: column; align-items: center; gap: var(--s-10); }
.cta-note { font-size: var(--micro); color: var(--text-3); line-height: 1.4; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ------------------------------------------------------------- CHIP / PILULKA */
.chip {
  display: inline-flex; align-items: center; gap: var(--s-8);
  padding: 6px 12px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--bg-3);
  font-size: var(--caption); font-weight: 500; color: var(--text-2);
}
.chip--mag {
  background: var(--magenta); border: 0; color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: var(--body);
  padding: 10px 18px;
}
.chip__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--magenta); }

/* ------------------------------------------------------------ IKONY */
.icon { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-box {
  display: grid; place-items: center; flex: none;
  width: 46px; height: 46px; border-radius: var(--r-md);
  background: var(--bg-3); color: var(--magenta);
}
.icon-box svg { width: 22px; height: 22px; }
.icon-box--mag { background: var(--magenta); color: var(--white); }
.icon-box--danger { background: var(--danger); color: var(--white); }
.icon-box--48 { width: 48px; height: 48px; }
.icon-box--40 { width: 40px; height: 40px; }
.icon-box--40 svg { width: 20px; height: 20px; }

/* ------------------------------------------------------------ KARTY */
.card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s-24);
}
.card--bg { background: var(--bg); }
.card-title { font-family: var(--font-display); font-weight: 600; font-size: var(--lead); color: var(--text); }
.card-desc { font-size: var(--body); color: var(--text-2); line-height: 1.5; }

/* --------------------------------------------------- GRID (1 → 2 → 3) */
.grid { display: grid; gap: var(--s-20); grid-template-columns: 1fr; }
@media (min-width: 641px)  { .grid-2, .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------------------------------------------- CAROUSEL (mobil swipe) */
/* Na desktopu = grid; na mobilu (≤640) = horizontální scroll-snap s peek. */
.carousel { display: grid; gap: var(--s-20); grid-template-columns: repeat(3, 1fr); }
.carousel > * { scroll-snap-align: start; }
.carousel__dots { display: none; justify-content: center; gap: var(--s-6); margin-top: var(--s-16); }
.carousel__dots span { width: 6px; height: 6px; border-radius: var(--r-pill); background: var(--text-3); }
.carousel__dots span.is-active { width: 18px; background: var(--magenta); }

@media (max-width: 640px) {
  .carousel {
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    /* prolomení sekčního paddingu → peek až k okraji + první karta s insetem */
    margin-inline: calc(var(--page-x) * -1);
    padding-inline: var(--page-x);
    scroll-padding-left: var(--page-x);
    scrollbar-width: none;
  }
  .carousel::-webkit-scrollbar { display: none; }
  .carousel__dots { display: flex; }
}

/* ------------------------------------------------------------ TOP BAR */
.topbar {
  background: var(--bg-2); border-bottom: 1px solid var(--line);
  padding: 11px var(--page-x);
}
.topbar ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; }
.topbar li { display: flex; align-items: center; gap: 14px; font-size: var(--caption); color: var(--text-3); font-weight: 500; }
.topbar li + li::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--text-3); }
@media (max-width: 640px) { .topbar li:nth-child(n+3) { display: none; } }

/* ------------------------------------------------------------ NAV */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--nav-glass); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  min-height: var(--nav-h);
  padding: 14px var(--page-x);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-32);
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { height: 26px; width: auto; display: block; }
.logo__word { font-family: var(--font-display); font-weight: 700; font-size: var(--lead); display: inline-flex; gap: 0; letter-spacing: -.3px; }
.logo__word .v { color: var(--magenta); }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: var(--body); font-weight: 500; color: var(--text-2); transition: color .15s; }
.nav__links a:hover { color: var(--text); }
.nav__cta { padding: 11px 22px; min-height: 0; font-size: var(--body); }
@media (max-width: 900px) { .nav__links { display: none; } }

/* ------------------------------------------------------------ HERO */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 70% at 50% 2%, rgba(198,0,126,.22), transparent 60%),
    var(--bg);
  padding: clamp(40px, 6vw, 84px) var(--page-x) clamp(48px, 7vw, 96px);
  display: flex; flex-direction: column; align-items: center; gap: var(--s-40);
}
.hero__content { max-width: 720px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--s-24); }
.hero h1 { font-size: var(--hero); letter-spacing: -1.5px; line-height: 1; }
.hero h1 .accent { color: var(--magenta); display: block; }
.hero__sub { max-width: 640px; }
.hero__cta { display: flex; gap: var(--s-14); align-items: center; }
.hero__trust { display: inline-flex; align-items: center; gap: var(--s-8); color: var(--text-2); font-size: var(--body-sm); font-weight: 500; }
.hero__trust svg { width: 16px; height: 16px; color: var(--magenta); fill: var(--magenta); }
.hero__media {
  width: 100%; max-width: 920px; aspect-ratio: 16 / 10;
  border-radius: var(--r-3xl); border: 1px solid var(--line);
  background: center / cover no-repeat;
  box-shadow: 0 32px 90px -30px rgba(198, 0, 126, .33);
}
@media (max-width: 640px) {
  .hero__cta { flex-direction: column; width: 100%; }
  .hero__cta .btn { width: 100%; }
  .hero__media { aspect-ratio: 9 / 8; }
}

/* ------------------------------------------------------------ STAT BAND */
.statband { background: var(--bg-2); border-block: 1px solid var(--line); padding: 48px var(--page-x); }
.statband__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-24); align-items: start; text-align: center; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: var(--t-h1); color: var(--magenta); line-height: 1; }
.stat__label { font-size: var(--body); color: var(--text-2); margin-top: 6px; }
@media (max-width: 640px) { .statband__grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; } }

/* ------------------------------------------------------------ BENEFIT KARTA */
.benefit { display: flex; flex-direction: column; gap: var(--s-14); height: 100%; }
.benefit .icon-box { margin-bottom: 2px; }

/* checklist */
.checklist__label { font-size: var(--caption); font-weight: 600; letter-spacing: 2px; color: var(--text-3); margin-bottom: var(--s-16); }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; }
.check-item { display: flex; gap: 10px; align-items: flex-start; font-size: var(--body); color: var(--text-2); line-height: 1.45; }
.check-item .cb { display: grid; place-items: center; width: 20px; height: 20px; border-radius: var(--r-xs); background: var(--bg-3); color: var(--magenta); flex: none; }
.check-item .cb svg { width: 13px; height: 13px; }
@media (max-width: 640px) { .checklist { grid-template-columns: 1fr; gap: 14px; } }

.block-chip { margin-bottom: var(--s-24); }

/* ------------------------------------------------ ICON-LEFT KARTA (pain / list) */
.feature {
  display: flex; gap: var(--s-14); align-items: center;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s-20);
}
.feature__text { display: flex; flex-direction: column; gap: 4px; }

/* ------------------------------------------------------------ STEP KARTA */
.step { display: flex; flex-direction: column; gap: var(--s-16); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--s-28); height: 100%; }
.step__top { display: flex; align-items: center; justify-content: space-between; }
.step__num { font-family: var(--font-display); font-weight: 700; font-size: var(--t-h3); color: var(--magenta); }

/* ------------------------------------------------------------ CALLOUT */
.callout {
  display: flex; gap: var(--s-18); align-items: center;
  background: var(--bg-3); border: 1px solid var(--magenta);
  border-radius: var(--r-lg); padding: var(--s-24) var(--s-28);
}
.callout--info { background: var(--bg-2); border-color: var(--line); }
.callout--danger { background: var(--danger-bg); border-color: var(--danger); align-items: flex-start; }
.callout__title { font-family: var(--font-display); font-weight: 600; font-size: var(--body-lg); }
.callout--danger .callout__title { color: var(--danger); font-weight: 700; }
.callout__text { font-size: var(--body-sm); color: var(--text-2); line-height: 1.55; margin-top: 4px; }

/* ------------------------------------------------------------ ACTION BAND */
.actionband {
  position: relative; min-height: 340px; border-block: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(32px, 5vw, 56px) var(--page-x);
  background: linear-gradient(to bottom, transparent 0%, rgba(10,10,12,.4) 40%, rgba(10,10,12,.9) 78%, rgba(10,10,12,.97) 100%), center / cover no-repeat;
  color: var(--white);
}
.actionband .eyebrow { color: var(--magenta-bright); }
.actionband h2 { color: var(--white); font-size: var(--t-h3); letter-spacing: -1px; margin-top: var(--s-10); }

/* ------------------------------------------------------------ SPLIT (filtry) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-40); align-items: start; }
.split__media { aspect-ratio: 4 / 5; border-radius: var(--r-2xl); border: 1px solid var(--line); background: center / cover no-repeat; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: var(--s-24); } .split__media { aspect-ratio: 16 / 11; } }
.filter-card { display: flex; gap: var(--s-16); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-24); }
.velcro { display: flex; gap: var(--s-12); align-items: center; background: var(--bg-3); border-radius: var(--r-lg); padding: var(--s-16) var(--s-24); font-size: var(--body); font-weight: 500; }
.velcro svg { width: 20px; height: 20px; color: var(--magenta); }

/* ------------------------------------------------------------ GALERIE */
.gallery__main { aspect-ratio: 16 / 10; border-radius: var(--r-xl); border: 1px solid var(--line); background: center / cover no-repeat; margin-bottom: var(--s-16); }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-16); }
.thumb { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); border: 1px solid var(--line); background: center / cover no-repeat; overflow: hidden; }
.thumb figcaption { position: absolute; left: 8px; bottom: 8px; background: var(--overlay); color: var(--white); font-size: var(--micro); font-weight: 600; padding: 5px 10px; border-radius: var(--r-sm); }
@media (max-width: 880px) { .thumbs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .thumbs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin-inline: calc(var(--page-x)*-1); padding-inline: var(--page-x); scrollbar-width: none; }
  .thumbs::-webkit-scrollbar { display: none; }
  .thumb { flex: 0 0 62%; scroll-snap-align: start; }
}

/* ------------------------------------------------------------ COMBO */
.combo { display: flex; gap: var(--s-16); align-items: flex-start; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-20); }
.combo__num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: var(--r-pill); background: var(--bg-3); color: var(--magenta); font-family: var(--font-display); font-weight: 700; font-size: var(--body-lg); flex: none; }

/* ------------------------------------------------------------ LIST KARTA (kdo) */
.listcard { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--s-32); display: flex; flex-direction: column; gap: var(--s-20); }
.listcard__h { display: flex; align-items: center; gap: var(--s-14); }
.listcard__h .icon-box { background: var(--magenta); color: var(--white); }
.listcard li { display: flex; gap: var(--s-12); align-items: flex-start; font-size: var(--body-lg); color: var(--text-2); line-height: 1.45; }
.listcard li svg { width: 19px; height: 19px; color: var(--magenta); flex: none; margin-top: 2px; }
.listcard ul { display: flex; flex-direction: column; gap: var(--s-14); }

/* ----------------------------------------------------- KONTRAINDIKACE */
.contra { display: flex; gap: var(--s-12); align-items: flex-start; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-16); font-size: var(--body-sm); color: var(--text-2); }
.contra svg { flex: none; width: 19px; height: 19px; margin-top: 2px; }
.contra--abs svg { color: var(--danger); }
.contra--rel svg { color: var(--warn); }
.contra__b { display: flex; flex-direction: column; gap: 3px; }
.contra__t { font-family: var(--font-display); font-weight: 600; color: var(--text); font-size: var(--body-lg); line-height: 1.3; }
.contra__d { color: var(--text-2); font-size: var(--body-sm); line-height: 1.45; }
.contra--rel .contra__t { font-size: var(--body); }
.contra--rel .contra__d { font-size: var(--caption); }
.study-link { display: inline-block; margin-top: var(--s-14); color: var(--magenta); font-size: var(--caption); font-weight: 600; transition: color .15s; }
.study-link:hover { color: var(--magenta-bright); }
.subhead { text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--s-6); }
.subhead h3 { font-size: var(--t-h5); }

/* ------------------------------------------------------------ FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-16) var(--s-20); align-items: start; }
@media (max-width: 760px) { .faq { grid-template-columns: 1fr; } }
.faq details { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-20) var(--s-28); }
.faq summary { font-family: var(--font-display); font-weight: 600; font-size: var(--lead); list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s-16); align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 14px; height: 14px; flex: none; border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: rotate(45deg); transition: transform .2s; margin-top: -4px; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: 2px; }
.faq details > p { color: var(--text-2); font-size: var(--body); margin-top: var(--s-12); line-height: 1.55; }

/* ------------------------------------------------------------ TESTIMONIAL */
.testimonials { position: relative; background: var(--overlay-strong); }
.testimonials__bg { position: absolute; inset: 0; z-index: -1; background: center / cover no-repeat; }
.tcard { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--s-28); display: flex; flex-direction: column; gap: var(--s-18); }
.stars { display: flex; gap: 3px; color: var(--magenta); }
.stars svg { width: 15px; height: 15px; fill: var(--magenta); stroke: none; }
.tcard blockquote { font-size: var(--body-lg); color: var(--text); line-height: 1.55; }
.tauthor { display: flex; gap: var(--s-12); align-items: center; }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-pill); background: var(--bg-3); color: var(--magenta); font-family: var(--font-display); font-weight: 700; font-size: var(--body-sm); flex: none; }
.tauthor cite { font-style: normal; display: flex; flex-direction: column; gap: 1px; }
.tauthor .name { font-family: var(--font-display); font-weight: 600; font-size: var(--body); color: var(--text); }
.tauthor .role { font-size: var(--caption); color: var(--text-3); }
.rating { display: flex; align-items: center; gap: var(--s-14); justify-content: center; }
.rating__v { font-family: var(--font-display); font-weight: 700; font-size: var(--t-h2); }

/* ------------------------------------------------------------ MID / FINAL CTA */
.midcta { background: radial-gradient(50% 130% at 86% 50%, rgba(198,0,126,.20), transparent 60%), var(--bg-2); border-block: 1px solid var(--line); padding: clamp(40px,6vw,60px) var(--page-x); display: flex; flex-wrap: wrap; gap: var(--s-24); align-items: center; justify-content: space-between; }
.midcta__t { font-family: var(--font-display); font-weight: 700; font-size: var(--t-h4); letter-spacing: -1px; }
@media (max-width: 640px) { .midcta { flex-direction: column; text-align: center; align-items: center; } .midcta .btn { width: 100%; } }

.finalcta { text-align: center; background: radial-gradient(140% 110% at 50% 105%, rgba(198,0,126,.29), transparent 60%), var(--bg); display: flex; flex-direction: column; align-items: center; gap: var(--s-28); }
.finalcta h2 { font-size: var(--display); letter-spacing: -2px; line-height: 1.05; }
.finalcta h2 .accent { color: var(--magenta); display: block; }
.reassure { display: flex; gap: var(--s-28); justify-content: center; flex-wrap: wrap; }
.reassure span { display: inline-flex; gap: var(--s-8); align-items: center; color: var(--text-2); font-size: var(--body-sm); font-weight: 500; }
.reassure svg { width: 17px; height: 17px; color: var(--magenta); }
@media (max-width: 640px) { .finalcta .btn { width: 100%; } .reassure { flex-direction: column; align-items: center; gap: var(--s-10); } }

/* ------------------------------------------------------------ FOOTER */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 64px var(--page-x) 40px; }
.footer__top { display: flex; flex-wrap: wrap; gap: var(--s-40) var(--s-64); justify-content: space-between; }
.footer__brand { max-width: 320px; display: flex; flex-direction: column; gap: var(--s-14); }
.footer__brand .tagline { color: var(--text-3); font-size: var(--body-sm); line-height: 1.5; }
.footer__brand a { color: var(--text-2); font-size: var(--caption); font-weight: 500; }
.footer__social { display: flex; gap: var(--s-10); margin-top: var(--s-4); }
.footer__social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-sm); border: 1px solid var(--line); color: var(--text-2); transition: color .15s, border-color .15s; }
.footer__social a:hover { color: var(--magenta); border-color: var(--magenta); }
.footer__social svg { width: 18px; height: 18px; }
.footer__cols { display: flex; gap: var(--s-64); }
.footer__col h3 { font-family: var(--font-display); font-size: var(--body-sm); font-weight: 600; margin-bottom: var(--s-12); }
.footer__col a { display: block; font-size: var(--body-sm); color: var(--text-2); margin-bottom: var(--s-12); }
.footer__col a:hover { color: var(--text); }
.footer hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-32) 0; }
.footer__disclaimer { font-size: var(--caption); color: var(--text-3); line-height: 1.55; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: var(--s-8) var(--s-24); justify-content: space-between; margin-top: var(--s-24); font-size: var(--caption); color: var(--text-3); }

/* ------------------------------------------------------ STICKY BUY BAR */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--nav-glass); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 10px var(--page-x);
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-12);
}
.buybar__info { display: inline-flex; align-items: center; gap: var(--s-8); }
.buybar__mark { height: 22px; width: auto; display: block; }
.buybar__name { font-family: var(--font-display); font-weight: 700; font-size: var(--body-sm); }
.buybar .btn { padding: 10px 20px; min-height: 0; font-size: var(--body-sm); }
body { padding-bottom: 76px; } /* místo pro sticky bar */

/* ------------------------------------------------------------ UTILITY */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.flow > * + * { margin-top: var(--s-40); }
.center { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
