/* =====================================================================
   Tapvia — marketingový web
   Brand: Indigo #4F5BFF · Amber #FFB020 · Ink #0E1230
   Fonty: Poppins (nadpisy), Inter (text)
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --indigo:      #4F5BFF;
  --indigo-deep: #3A45E0;
  --amber:       #FFB020;
  --ink:         #0E1230;
  --mist:        #EEF0FF;
  --white:       #FFFFFF;
  --slate:       #6B7280;

  /* Sémantické role */
  --bg:          var(--white);
  --bg-soft:     var(--mist);
  --surface:     var(--white);
  --text:        var(--ink);
  --text-muted:  var(--slate);
  --primary:     var(--indigo);
  --primary-600: var(--indigo-deep);
  --accent:      var(--amber);
  --border:      #E3E6F5;
  --danger:      #DC2626;
  --ok:          #16A34A;

  /* Prostor (8pt) */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-6: 24px; --sp-8: 32px; --sp-12: 48px; --sp-16: 64px; --sp-24: 96px;

  --radius:    16px;
  --radius-lg: 24px;
  --radius-sm: 10px;

  --shadow-sm: 0 2px 8px rgba(14, 18, 48, 0.06);
  --shadow:    0 12px 30px rgba(14, 18, 48, 0.10);
  --shadow-lg: 0 24px 60px rgba(79, 91, 255, 0.18);

  --maxw: 1120px;
  --ease: cubic-bezier(.22,.7,.28,1);

  /* z-index škála */
  --z-header: 100;
  --z-toast:  1000;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .font-head {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}

p { margin: 0; }
a { color: var(--primary-600); text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; }

:focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Skip link */
.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--ink); color: #fff; padding: 10px 16px;
  border-radius: 8px; z-index: var(--z-toast); font-weight: 600;
}
.skip-link:focus { left: 12px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--sp-6); }
.section { padding-block: var(--sp-24); position: relative; }
.section--mist { background: var(--mist); }
/* měkký přechod Mist ↔ White */
.section--mist::before,
.section--mist::after {
  content: ""; position: absolute; left: 0; right: 0; height: 64px; pointer-events: none;
}
.section--mist::before { top: 0;    background: linear-gradient(180deg, var(--white), rgba(238,240,255,0)); }
.section--mist::after  { bottom: 0; background: linear-gradient(0deg,  var(--white), rgba(238,240,255,0)); }

.section-head { max-width: 640px; margin: 0 auto var(--sp-12); text-align: center; }
.section-head h2 { font-size: clamp(28px, 4.4vw, 40px); }
.section-head .lead { margin-top: var(--sp-3); color: var(--text-muted); font-size: clamp(16px, 2.2vw, 19px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Poppins", sans-serif; font-weight: 600; font-size: 13px;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--primary-600); background: var(--mist);
  padding: 6px 12px; border-radius: 999px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font-family: "Inter", sans-serif; font-weight: 600; font-size: 16px;
  border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; text-align: center;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-primary {
  color: #fff; position: relative;
  background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-deep) 100%);
  background-size: 160% 160%; background-position: 0% 50%;
  box-shadow: 0 8px 20px rgba(79,91,255,.28);
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background-position .4s var(--ease);
}
.btn-primary:hover {
  background-position: 100% 50%;
  box-shadow: 0 14px 30px rgba(79,91,255,.42), 0 0 0 4px rgba(79,91,255,.14);
  transform: translateY(-2px);
}
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--indigo); color: var(--primary-600); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.announce {
  background: var(--indigo);
  color: #fff;
  text-align: center;
  font-size: 14px;
  line-height: 1.45;
  padding: 9px 16px;
  font-weight: 500;
}
.announce span { display: inline-block; max-width: 860px; }

.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.header.is-scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }
.header .container { display: flex; align-items: center; gap: var(--sp-4); min-height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__icon { width: 36px; height: 36px; border-radius: 9px; }
.brand__word {
  font-family: "Poppins", sans-serif; font-weight: 700; font-size: 22px;
  color: var(--indigo-deep); letter-spacing: -0.5px;
}

.nav { display: flex; align-items: center; gap: var(--sp-6); margin-left: auto; }
.nav__links { display: flex; gap: var(--sp-6); }
.nav__links a { color: var(--ink); font-weight: 500; font-size: 15px; opacity: .82; }
.nav__links a:hover { opacity: 1; color: var(--primary-600); }

/* Lang switch */
.lang {
  display: inline-flex; gap: 2px; background: var(--mist);
  border-radius: 999px; padding: 3px;
}
.lang button {
  border: 0; background: transparent; cursor: pointer;
  font-weight: 600; font-size: 13px; color: var(--slate);
  padding: 6px 12px; border-radius: 999px; min-height: 36px;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* Mobilní menu toggle */
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { padding-top: var(--sp-16); padding-bottom: var(--sp-24); position: relative; overflow: hidden; }
.hero::after { /* jemný přechod do další sekce */
  content: ""; position: absolute; inset: auto 0 0 0; height: 80px;
  background: linear-gradient(0deg, var(--mist), rgba(238,240,255,0));
}
.hero .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--sp-16); align-items: center; }
.hero__claim {
  font-family: "Poppins", sans-serif; font-weight: 700; font-size: 15px;
  color: var(--amber); letter-spacing: .02em; margin-bottom: var(--sp-3);
}
.hero h1 { font-size: clamp(34px, 5.2vw, 56px); font-weight: 700; }
.hero__sub { margin-top: var(--sp-4); font-size: clamp(17px, 2.4vw, 20px); color: var(--text-muted); max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-8); }
.hero__trust {
  display: inline-flex; align-items: center; gap: 8px; margin-top: var(--sp-6);
  color: var(--slate); font-size: 14px;
}
.hero__trust svg { width: 18px; height: 18px; color: var(--ok); flex: 0 0 18px; }

/* ---------- Hero: entrance (fade-in-up) ---------- */
@keyframes heroUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero__copy > * { animation: heroUp .65s var(--ease) both; }
.hero__claim   { animation-delay: .05s; }
.hero h1       { animation-delay: .14s; }
.hero__sub     { animation-delay: .24s; }
.hero__actions { animation-delay: .34s; }
.hero__trust   { animation-delay: .44s; }
.hero__visual  { animation: heroUp .8s var(--ease) both; animation-delay: .2s; }

/* ---------- Hero video placeholder (fallback = SVG scéna níže) ---------- */
.hero__video {
  width: 100%; max-width: 460px; margin-inline: auto; aspect-ratio: 1 / 1;
  object-fit: cover; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); background: var(--mist); display: block;
}

/* ---------- Hero animace: telefon → NFC → recenze ---------- */
.scene {
  position: relative; width: 100%; max-width: 420px; margin-inline: auto;
  aspect-ratio: 1 / 1;
  --loop: 7s;
}
.scene__bg-stars { position: absolute; inset: 0; z-index: 0; }
.scene__bg-stars .s {
  position: absolute; color: var(--amber); opacity: .35;
  animation: twinkle 3.4s ease-in-out infinite;
}
.scene__bg-stars .s svg { width: 100%; height: 100%; }
.scene__bg-stars .s:nth-child(1){ top:8%;  left:12%; width:18px; height:18px; animation-delay:.0s; }
.scene__bg-stars .s:nth-child(2){ top:22%; right:8%; width:12px; height:12px; animation-delay:.6s; opacity:.25;}
.scene__bg-stars .s:nth-child(3){ bottom:26%; left:6%; width:14px; height:14px; animation-delay:1.2s; }
.scene__bg-stars .s:nth-child(4){ top:44%; right:16%; width:10px; height:10px; animation-delay:1.8s; opacity:.2;}
@keyframes twinkle { 0%,100%{ transform: scale(.85); opacity:.2 } 50%{ transform: scale(1.1); opacity:.5 } }

/* NFC nálepka / čip */
.chip {
  position: absolute; left: 22%; bottom: 12%; width: 96px; height: 96px;
  border-radius: 50%; background: var(--white);
  border: 2px solid var(--border); box-shadow: var(--shadow);
  display: grid; place-items: center; z-index: 2;
}
.chip__disc {
  width: 66px; height: 66px; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, var(--indigo), var(--indigo-deep));
  display: grid; place-items: center; color: #fff;
}
.chip__disc svg { width: 34px; height: 34px; }

/* NFC vlny */
.wave {
  position: absolute; left: 22%; bottom: 12%; width: 96px; height: 96px;
  transform: translate(0,0); border-radius: 50%;
  border: 2.5px solid var(--indigo); z-index: 1; opacity: 0;
  animation: ripple var(--loop) var(--ease) infinite;
}
.wave--2 { animation-delay: calc(var(--loop) * .06); }
.wave--3 { animation-delay: calc(var(--loop) * .12); }
@keyframes ripple {
  0%, 24%   { transform: scale(.6); opacity: 0; }
  30%       { opacity: .7; }
  46%       { transform: scale(2.1); opacity: 0; }
  100%      { transform: scale(2.1); opacity: 0; }
}

/* Telefon */
.phone {
  position: absolute; top: 6%; right: 8%; width: 168px; height: 320px;
  background: var(--ink); border-radius: 30px; padding: 10px;
  box-shadow: var(--shadow-lg); z-index: 3;
  transform-origin: 60% 100%;
  animation: phone-tap var(--loop) var(--ease) infinite;
}
.phone__screen {
  width: 100%; height: 100%; border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, #fff, var(--mist));
  display: flex; flex-direction: column; align-items: center; padding: 20px 14px;
  gap: 10px; position: relative;
}
.phone__logo { width: 44px; height: 44px; border-radius: 12px; margin-top: 6px; }
.phone__title { font-family:"Poppins",sans-serif; font-weight:600; font-size:12px; color:var(--ink); }
.phone__btn {
  width: 100%; margin-top: auto; background: var(--indigo); color: #fff;
  border-radius: 10px; font-size: 11px; font-weight: 600; text-align: center;
  padding: 10px 8px; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.phone__btn svg { width: 14px; height: 14px; }
.phone__stars { color: var(--amber); font-size: 14px; letter-spacing: 2px; }
@keyframes phone-tap {
  0%        { transform: translate(28px, -18px) rotate(-8deg); }
  22%       { transform: translate(0, 0) rotate(-2deg); }
  30%       { transform: translate(-4px, 6px) rotate(0deg); }   /* dotek */
  34%       { transform: translate(0, 0) rotate(-2deg); }
  86%       { transform: translate(0, 0) rotate(-2deg); }
  100%      { transform: translate(28px, -18px) rotate(-8deg); }
}

/* Vyskakující karta s recenzí */
.review-pop {
  position: absolute; top: 2%; left: 2%; width: 210px;
  background: #fff; border-radius: 16px; padding: 14px 16px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border); z-index: 4;
  opacity: 0; transform: translateY(14px) scale(.9);
  animation: pop var(--loop) var(--ease) infinite;
}
.review-pop__head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.review-pop__avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--mist); display:grid; place-items:center; }
.review-pop__avatar svg { width: 18px; height: 18px; color: var(--indigo); }
.review-pop__stars { color: var(--amber); letter-spacing: 2px; font-size: 15px; }
.review-pop__text { font-size: 14px; color: var(--ink); font-weight: 500; }
.review-pop__meta { font-size: 12px; color: var(--slate); margin-top: 4px; display:flex; align-items:center; gap:5px;}
.review-pop__meta svg { width: 13px; height: 13px; }
@keyframes pop {
  0%, 34%   { opacity: 0; transform: translateY(14px) scale(.9); }
  44%       { opacity: 1; transform: translateY(0) scale(1); }
  82%       { opacity: 1; transform: translateY(0) scale(1); }
  92%, 100% { opacity: 0; transform: translateY(-8px) scale(.96); }
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); counter-reset: step; }
.step { position: relative; text-align: left; }
.step__num {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--indigo); color: #fff; font-family: "Poppins",sans-serif; font-weight: 700; font-size: 18px;
  margin-bottom: var(--sp-4);
}
.step__ico { width: 26px; height: 26px; color: var(--indigo); margin-bottom: var(--sp-3); }
.step h3 { font-size: 20px; margin-bottom: var(--sp-2); }
.step p { color: var(--text-muted); font-size: 16px; }

/* ---------- Stats band (count-up) ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); margin-bottom: var(--sp-16); }
.stat { text-align: center; }
.stat__num { font-family: "Poppins",sans-serif; font-weight: 700; font-size: clamp(36px, 6vw, 52px); color: var(--indigo-deep); }
.stat__num .suffix { color: var(--amber); }
.stat__label { color: var(--text-muted); font-size: 15px; margin-top: 4px; }

/* ---------- Benefit cards ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--sp-8); box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__ico {
  width: 52px; height: 52px; border-radius: 14px; background: var(--mist);
  display: grid; place-items: center; margin-bottom: var(--sp-4);
}
.card__ico svg { width: 26px; height: 26px; color: var(--indigo); }
.card h3 { font-size: 20px; margin-bottom: var(--sp-2); }
.card p { color: var(--text-muted); font-size: 16px; }

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.product {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.product:hover { transform: translateY(-6px) scale(1.015); box-shadow: var(--shadow-lg); }
/* Obrazový kontejner připravený na reálné 3D render/foto (vlož <img class="product__img">) */
.product__visual {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background:
    radial-gradient(120% 100% at 50% 0%, #fff 0%, var(--mist) 100%);
  display: grid; place-items: center; border-bottom: 1px solid var(--border);
}
.product__visual::after { /* jemný horní lesk */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,0) 40%);
  pointer-events: none;
}
.product__img, .product__visual svg {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s var(--ease);
}
.product__visual svg { width: 62%; height: 62%; object-fit: contain; filter: drop-shadow(0 12px 22px rgba(79,91,255,.18)); }
.product:hover .product__img, .product:hover .product__visual svg { transform: scale(1.07); }
.product__ph { /* štítek „placeholder na foto" */
  position: absolute; left: 12px; top: 12px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; color: var(--primary-600);
  background: rgba(255,255,255,.82); backdrop-filter: blur(4px);
  padding: 5px 10px; border-radius: 999px; border: 1px solid var(--border);
}
.product__ph svg { width: 13px; height: 13px; }
.product__body { padding: var(--sp-6); }
.product__body h3 { font-size: 19px; margin-bottom: var(--sp-2); }
.product__body p { color: var(--text-muted); font-size: 15px; }
.product__note {
  margin-top: var(--sp-8); text-align: center; color: var(--text-muted); font-size: 15px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.product__note svg { width: 18px; height: 18px; color: var(--amber); }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); align-items: stretch; }
.plan {
  position: relative; background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--sp-8); display: flex; flex-direction: column;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan--featured {
  border-color: var(--indigo); box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.plan--featured:hover { transform: scale(1.03) translateY(-4px); }
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--amber); color: var(--ink); font-weight: 700; font-size: 12px;
  font-family:"Poppins",sans-serif; padding: 6px 14px; border-radius: 999px; white-space: nowrap;
}
.plan__name { font-family:"Poppins",sans-serif; font-weight: 600; font-size: 20px; }
.plan__price { font-family:"Poppins",sans-serif; font-weight: 700; font-size: 38px; color: var(--ink); margin-top: var(--sp-2); }
.plan__price .per { font-size: 15px; font-weight: 500; color: var(--slate); font-family:"Inter",sans-serif; }
.plan__features { list-style: none; padding: 0; margin: var(--sp-6) 0; display: grid; gap: 12px; }
.plan__features li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-size: 15px; }
.plan__features svg { width: 20px; height: 20px; color: var(--ok); flex: 0 0 20px; margin-top: 1px; }
.plan .btn { margin-top: auto; }
.pricing-note { text-align: center; color: var(--text-muted); font-size: 14px; margin-top: var(--sp-8); }

/* ---------- Pro koho (pills) ---------- */
.pills { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; max-width: 820px; margin-inline: auto; }
.pill {
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 12px 20px; font-weight: 500; font-size: 16px; color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.pill:hover {
  transform: translateY(-2px);
  border-color: var(--indigo); color: var(--primary-600);
  background: var(--mist);
  box-shadow: 0 6px 16px rgba(79,91,255,.16);
}
.pill svg { width: 18px; height: 18px; color: var(--indigo); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%; background: transparent; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-6) 0; text-align: left;
  font-family: "Poppins", sans-serif; font-weight: 600; font-size: 18px; color: var(--ink);
}
.faq__q .chev { width: 22px; height: 22px; color: var(--indigo); transition: transform .25s var(--ease); flex: 0 0 22px; }
.faq__q[aria-expanded="true"] .chev { transform: rotate(180deg); }
.faq__a { overflow: hidden; max-height: 0; transition: max-height .3s var(--ease); }
.faq__a > div { padding-bottom: var(--sp-6); color: var(--text-muted); font-size: 16px; }

/* ---------- Formulář ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--sp-16); align-items: start; }
.contact__intro h2 { font-size: clamp(28px, 4.4vw, 40px); }
.contact__intro .lead { color: var(--text-muted); margin-top: var(--sp-3); font-size: 18px; }
.contact__points { list-style: none; padding: 0; margin: var(--sp-8) 0 0; display: grid; gap: var(--sp-3); }
.contact__points li { display: flex; gap: 10px; align-items: center; color: var(--ink); }
.contact__points svg { width: 20px; height: 20px; color: var(--ok); flex: 0 0 20px; }

.form {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--sp-8); box-shadow: var(--shadow);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.field { margin-bottom: var(--sp-4); }
.field .req { color: var(--danger); }

/* Floating label wrapper */
.ff { position: relative; }
.ff input, .ff select, .ff textarea {
  width: 100%; min-height: 56px; padding: 22px 16px 8px; font: inherit; font-size: 16px;
  color: var(--ink); background: #FBFBFE; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
  appearance: none;
}
.ff textarea { min-height: 120px; resize: vertical; padding-top: 24px; }
.ff label {
  position: absolute; left: 16px; top: 17px; margin: 0;
  color: var(--slate); font-size: 16px; font-weight: 400; pointer-events: none;
  transform-origin: left top; transition: transform .16s var(--ease), color .16s var(--ease);
}
/* zvednutí labelu při fokusu / vyplnění (placeholder=" ") */
.ff input:focus + label, .ff input:not(:placeholder-shown) + label,
.ff textarea:focus + label, .ff textarea:not(:placeholder-shown) + label,
.ff.ff--filled label {
  transform: translateY(-11px) scale(.78); color: var(--primary-600);
}
/* select má vždy „hodnotu" → label trvale nahoře */
.ff--select label { transform: translateY(-11px) scale(.78); color: var(--primary-600); }
.ff select { padding-top: 22px; }
.ff--select::after { /* šipka selectu */
  content: ""; position: absolute; right: 16px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--slate); border-bottom: 2px solid var(--slate);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
/* premium focus ring */
.ff:focus-within {
  /* jemné zvýraznění celého pole */
}
.ff input:focus, .ff select:focus, .ff textarea:focus {
  outline: none; border-color: var(--indigo); background: #fff;
  box-shadow: 0 0 0 4px rgba(79,91,255,.15);
}
.field.has-error .ff input, .field.has-error .ff select, .field.has-error .ff textarea { border-color: var(--danger); }
.field.has-error .ff label { color: var(--danger); }
.field__error { color: var(--danger); font-size: 13px; margin-top: 5px; display: none; }
.field.has-error .field__error { display: block; }

.check { display: flex; gap: 10px; align-items: flex-start; margin: var(--sp-2) 0 var(--sp-6); }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: 0 0 20px; accent-color: var(--indigo); }
.check label { font-size: 14px; color: var(--text-muted); }
.check.has-error label { color: var(--danger); }

.form__status { display: none; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 500; margin-top: var(--sp-4); }
.form__status.is-ok  { display: block; background: #E9F9EF; color: #15803D; }
.form__status.is-err { display: block; background: #FDECEC; color: var(--danger); }
.hidden-hp { position: absolute; left: -5000px; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.testi {
  display: flex; flex-direction: column; gap: var(--sp-4);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--sp-8); box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.testi:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testi__stars { color: var(--amber); letter-spacing: 3px; font-size: 18px; }
.testi__text { color: var(--ink); font-size: 16px; line-height: 1.55; flex: 1; }
.testi__quote { color: var(--mist); font-family: "Poppins", sans-serif; font-size: 40px; line-height: .6; height: 22px; }
.testi__foot { display: flex; align-items: center; gap: 12px; padding-top: var(--sp-2); border-top: 1px solid var(--border); }
.testi__avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: 0 0 46px; overflow: hidden;
  display: grid; place-items: center; color: #fff; font-family: "Poppins",sans-serif; font-weight: 600;
  background: linear-gradient(135deg, var(--indigo), var(--indigo-deep));
}
.testi__avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi__meta { display: flex; flex-direction: column; line-height: 1.3; }
.testi__name { font-weight: 600; color: var(--ink); font-size: 15px; }
.testi__role { color: var(--slate); font-size: 13px; }
.testi__logo { /* placeholder na logo klienta */
  margin-left: auto; height: 26px; min-width: 26px; padding: 0 8px; border-radius: 7px;
  background: var(--mist); display: grid; place-items: center;
  color: var(--primary-600); font-family:"Poppins",sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .04em;
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; padding-block: var(--sp-16) var(--sp-8); }
.footer a { color: #C7CCF5; }
.footer a:hover { color: #fff; }
.footer__top { display: flex; flex-wrap: wrap; gap: var(--sp-8); justify-content: space-between; align-items: flex-start; }
.footer .brand__word { color: #fff; }
.footer__tagline { color: #AEB4E0; margin-top: var(--sp-3); max-width: 32ch; }
.footer__col h4 { font-family:"Poppins",sans-serif; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color:#AEB4E0; margin-bottom: var(--sp-3); }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__bottom {
  margin-top: var(--sp-12); padding-top: var(--sp-6); border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: space-between; color: #8E95C9; font-size: 14px;
}

/* ---------- Scroll-in animace ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; gap: var(--sp-12); }
  .hero__sub { max-width: none; }
  .scene { order: -1; max-width: 360px; }
  .contact { grid-template-columns: 1fr; gap: var(--sp-8); }
  .pricing { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-4px); }
  .products { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .testi-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}
@media (max-width: 720px) {
  .section { padding-block: var(--sp-16); }
  .nav__links { display: none; }
  .nav__links.is-open {
    display: flex; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--border);
    padding: var(--sp-2) var(--sp-6) var(--sp-4); box-shadow: var(--shadow);
  }
  .nav__links.is-open a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px;
    background: var(--mist); border: 0; border-radius: 10px; cursor: pointer; color: var(--ink);
  }
  .nav-toggle svg { width: 22px; height: 22px; }
  .steps, .stats, .grid-cards { grid-template-columns: 1fr; gap: var(--sp-6); }
  .nav__cta-desktop { display: none; }
  .form__row { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion: vypnout pohyb, ukázat koncový stav ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__copy > *, .hero__visual { animation: none !important; opacity: 1; transform: none; }
  .phone { transform: translate(0,0) rotate(-2deg); }
  .review-pop { opacity: 1; transform: none; }
  .wave { display: none; }
}
