/* ==========================================================
   Půjčovna dodávek HOLCR – style.css  (v2: jemný, čistý, hravý)
   Koncept: světlá obloha (modrý gradient), bílé měkké karty,
   pilulková tlačítka, černé „ovládací“ lišty s modrou akcí.
   Bez frameworku, bez buildu. Mobile-first.
   ========================================================== */

:root {
  --sky-1:   #D6EBFA;
  --sky-2:   #EAF4FD;
  --sky-3:   #F7FAFE;
  --card:    #FFFFFF;
  --soft:    #F2F5FA;   /* vnitřní plochy v kartách */
  --line:    #E4EAF2;
  --ink:     #0B0F1A;
  --muted:   #5A6474;   /* kontrast 6:1 na bílé */
  --blue:    #2F5DF5;   /* akce – bílý text 5:1 */
  --blue-dk: #2248D6;
  --blue-50: #EAF0FF;
  --green:   #1FAF54;
  --ok:      #177A45;
  --error:   #C0262D;
  --star:    #F5B301;
  --blue-t:  #2F5DF5;   /* modrá pro text a ikony */
  --night:   #0B0F1A;   /* tmavé plochy (lišta, kalkulace, kontakt) */
  --shine:   #A9C1FF;   /* odlesk přes „Plzeň“ */

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: .8125rem;
  --fs-sm: .875rem;
  --fs-md: .875rem;
  --fs-lg: 1.1875rem;
  --fs-xl: clamp(1.625rem, 1.25rem + 1.6vw, 2.375rem);
  --fs-2xl: clamp(2.375rem, 1.6rem + 3.6vw, 4.25rem);

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 18px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --header-h: 72px;
  --maxw: 1160px;
  --shadow: 0 1px 2px rgba(24,48,96,.05), 0 18px 40px -22px rgba(24,48,96,.28);
  --shadow-lg: 0 2px 4px rgba(24,48,96,.05), 0 30px 60px -28px rgba(24,48,96,.35);
}

*, *::before, *::after { box-sizing: border-box; }
:root { color-scheme: light; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--sky-3) linear-gradient(180deg, var(--sky-1) 0, var(--sky-2) 720px, var(--sky-3) 1400px) no-repeat;
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-md);
  line-height: 1.55;
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--night); color: #fff; padding: 10px 16px; border-radius: 12px; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { max-width: calc(var(--maxw) + 32px); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.section { padding-block: 48px; }
@media (min-width: 900px) { .section { padding-block: 80px; } }

.section-head { display: grid; gap: 8px; margin-bottom: 24px; max-width: 44rem; }
.section-head h2 { font-size: var(--fs-xl); font-weight: 800; }
.section-head p { color: var(--muted); }
.kicker { font-size: var(--fs-sm); font-weight: 600; color: var(--blue-t); }

/* ---------- tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 12px 24px; border: 0; border-radius: 999px;
  font-weight: 700; font-size: var(--fs-md); line-height: 1.15; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .2s, transform .15s, box-shadow .2s;
}
.btn:active { transform: scale(.98); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(47,93,245,.7); }
.btn--blue:hover { background: var(--blue-dk); }
.btn--dark { background: var(--night); color: #fff; }
.btn--dark:hover { background: #222838; }
.btn--white { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.btn--white:hover { background: var(--soft); }
.btn--wa { background: var(--green); color: #fff; }
.btn--wa:hover { background: #17964A; }
.btn--block { width: 100%; }
.btn--sm { min-height: 46px; padding: 10px 20px; font-size: var(--fs-sm); }

.icon-btn {
  width: 52px; height: 52px; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
  background: var(--card); color: var(--ink); box-shadow: var(--shadow); text-decoration: none; border: 0; cursor: pointer;
}
.icon-btn svg { width: 22px; height: 22px; }

/* ---------- header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--sky-1); }
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; padding-block: 10px; }
.header__inner {
  display: flex; align-items: center; gap: 16px; min-height: 60px; padding: 8px 8px 8px 14px;
  background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.9); border-radius: 999px; box-shadow: var(--shadow);
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-width: 0; }
.logo__icon { width: 40px; height: 40px; flex: none; }
.logo__text { display: grid; line-height: 1.05; min-width: 0; }
.logo__name { font-weight: 800; font-size: 1rem; letter-spacing: .01em; white-space: nowrap; }
.logo__name b { font-weight: inherit; color: var(--blue-t); }
@media (max-width: 440px) { .logo__name { font-size: .9375rem; line-height: 1.05; } .logo__name b { display: block; } }
@media (min-width: 900px) { .logo__name { font-size: 1.125rem; } }
.logo__tag { font-size: .75rem; color: var(--muted); white-space: nowrap; }
.nav { display: none; }
.nav a { text-decoration: none; font-weight: 600; font-size: var(--fs-sm); padding: 8px 14px; border-radius: 999px; }
.nav a:hover { background: var(--soft); }
.header-call {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 4px 16px 4px 4px; border-radius: 999px;
  background: var(--night); color: #fff; text-decoration: none; font-weight: 700; font-size: var(--fs-sm);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.header-call__ico { width: 38px; height: 38px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; }
.header-call__ico svg { width: 18px; height: 18px; }
@media (max-width: 440px) { .logo__tag { display: none; } }
@media (min-width: 960px) { .nav { display: flex; gap: 2px; } }

/* ---------- hero ---------- */
.hero { padding-block: 20px 32px; }
.hero__grid { display: grid; gap: 28px; align-items: center; }
.hero__copy { display: grid; gap: 18px; min-width: 0; }
.loc-pill {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255,255,255,.7); font-size: var(--fs-sm); font-weight: 600; box-shadow: var(--shadow);
}
.loc-pill span { width: 28px; height: 28px; border-radius: 50%; background: var(--blue-50); color: var(--blue-t); display: grid; place-items: center; }
.loc-pill svg { width: 16px; height: 16px; }
.hero__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.rate-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); font-size: var(--fs-sm); text-decoration: none; white-space: nowrap; }
.rate-pill .stars { font-size: .8125rem; letter-spacing: 0; }
.rate-pill > span:last-child { color: var(--muted); }
.hero h1 { font-size: var(--fs-2xl); font-weight: 800; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--blue-t); }
.hero__lead { font-size: 1.0625rem; color: var(--muted); max-width: 32rem; }

.quickpick { background: var(--card); border-radius: var(--r-lg); padding: 14px; box-shadow: var(--shadow); display: grid; gap: 10px; max-width: 34rem; }
.quickpick__label { font-size: var(--fs-sm); font-weight: 600; color: var(--muted); padding-left: 6px; }
.quickpick__chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.quickpick__chips .pill { flex-direction: column; gap: 0; justify-content: center; padding: 8px 6px; min-height: 54px; line-height: 1.2; }
@media (max-width: 559px) { .hero .hero__ctas { display: none; } }
.pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px;
  background: var(--soft); border: 0; font-weight: 600; font-size: var(--fs-sm); cursor: pointer; transition: background-color .2s, color .2s;
}
.pill:hover { background: var(--blue-50); color: var(--blue-t); }
.pill small { color: var(--muted); font-weight: 500; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.hero__visual { position: relative; min-width: 0; }
.hero__card { background: var(--card); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); padding: 32px 16px 20px; position: relative; }
.hero__card img { width: 100%; }
.hero__card::before {
  content: ""; position: absolute; inset: auto 12% 10% 12%; height: 30%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(47,93,245,.18), transparent); z-index: 0;
}
.hero__card picture { position: relative; z-index: 1; display: block; }
.float {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px;
  background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: var(--shadow); font-size: var(--fs-sm); font-weight: 700; white-space: nowrap;
}
.float i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(31,175,84,.18); }
.float--a { left: -6px; top: 14px; }
.float--b { right: -6px; bottom: 16px; background: var(--night); color: #fff; }
.float--b strong { color: #9DB6FF; }
@media (prefers-reduced-motion: no-preference) {
  .float--a { animation: bob 5s ease-in-out infinite; }
  .float--b { animation: bob 5s ease-in-out -2.5s infinite; }
  @keyframes bob { 50% { transform: translateY(-6px); } }
}
@media (min-width: 900px) {
  .hero { padding-block: 40px 56px; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .float--a { left: -24px; } .float--b { right: -20px; }
}

/* ---------- dodávky ---------- */
.vans { display: grid; gap: 16px; }
@media (min-width: 760px) { .vans { grid-template-columns: repeat(3, 1fr); } }
.van { background: var(--card); border-radius: var(--r-xl); padding: 16px; box-shadow: var(--shadow); display: grid; gap: 12px; align-content: start; }
.van__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 6px 6px 0; }
.van__name { font-size: var(--fs-lg); font-weight: 800; }
.van__sub { font-size: var(--fs-sm); color: var(--muted); }
.badge { font-size: var(--fs-xs); font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue-t); white-space: nowrap; }
.van__img { position: relative; aspect-ratio: 2 / 1; width: 100%; max-width: 260px; justify-self: center; max-width: 100%; display: grid; place-items: center; }
.van__img img { width: 100%; height: 100%; object-fit: contain; }
.len {
  justify-self: start; margin-left: 4px;
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; white-space: nowrap;
  background: var(--blue-50); color: var(--ink); font-size: var(--fs-sm); font-weight: 600;
}
.len strong { font-weight: 800; font-size: 1.0625rem; }
.len svg { width: 22px; height: 12px; color: var(--blue-t); }
.van__specs { display: flex; flex-wrap: wrap; gap: 6px; padding-inline: 4px; }
.chip { font-size: var(--fs-xs); font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--soft); color: var(--muted); }
.van__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--soft); border-radius: 999px; padding: 6px 6px 6px 18px; }
.van__price { font-size: var(--fs-sm); color: var(--muted); line-height: 1.15; }
.van__price strong { font-size: 1.25rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.van__price small { display: block; font-size: var(--fs-xs); }
.van__bar .btn { min-height: 48px; padding: 10px 18px; font-size: var(--fs-sm); }

/* ---------- kalkulačka (kompaktní – výběr + cena na jednu obrazovku mobilu) ---------- */
.calc { display: grid; gap: 10px; }
@media (min-width: 900px) { .calc { grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: start; } }
.calc__panel { background: var(--card); border-radius: var(--r-xl); padding: 12px; box-shadow: var(--shadow); display: grid; gap: 10px; }
@media (min-width: 900px) { .calc__panel { padding: 24px; gap: 22px; } }
.calc__step { border: 0; padding: 0; margin: 0; min-width: 0; }

.car-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; background: var(--soft); border-radius: 999px; padding: 4px; }
.car-opt { position: relative; min-width: 0; }
.car-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.car-opt label {
  display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 48px; padding: 4px 6px; border-radius: 999px;
  font-weight: 700; font-size: var(--fs-sm); line-height: 1.15; cursor: pointer; transition: background-color .2s, color .2s; text-align: center;
}
.car-opt label span { color: var(--muted); font-weight: 500; font-size: .75rem; }
.car-opt input:checked + label { background: var(--blue); color: #fff; box-shadow: 0 8px 18px -8px rgba(47,93,245,.8); }
.car-opt input:checked + label span { color: rgba(255,255,255,.8); }
.car-opt input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 2px; }

.calc__row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; padding: 4px 4px 4px 10px; }
.calc__label { font-weight: 700; line-height: 1.2; }
.calc__label small { display: block; font-size: .75rem; font-weight: 500; color: var(--muted); }
.calc__range { grid-column: 1 / -1; display: none; }
@media (min-width: 900px) { .calc__range { display: block; } .calc__row { padding: 0; } }

.stepper { display: grid; grid-template-columns: 44px 84px 44px; align-items: center; gap: 4px; background: var(--soft); border-radius: 999px; padding: 4px; }
.stepper__btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--card); box-shadow: 0 4px 12px -6px rgba(24,48,96,.35); font-size: 1.375rem; font-weight: 600; line-height: 1; cursor: pointer; display: grid; place-items: center; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.stepper__btn:hover { color: var(--blue-t); }
.stepper__btn:disabled { opacity: .35; cursor: not-allowed; box-shadow: none; }
.stepper__val { text-align: center; font-weight: 800; font-size: 1.0625rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (min-width: 900px) { .stepper { grid-template-columns: 52px 120px 52px; } .stepper__btn { width: 52px; height: 52px; } .stepper__val { font-size: 1.375rem; } }

.range { width: 100%; margin: 4px 0 0; accent-color: var(--blue); height: 28px; cursor: pointer; }

.calc__result { background: var(--night); color: #fff; border-radius: var(--r-xl); padding: 16px; display: grid; gap: 12px; box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .calc__result { position: sticky; top: calc(var(--header-h) + 24px); padding: 28px; gap: 18px; } }
.calc__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 2px 4px 0; }
.calc__total { display: grid; gap: 2px; }
.calc__total-val { font-size: clamp(2rem, 1.6rem + 2vw, 3.25rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc__total-sub { font-size: .8125rem; color: rgba(255,255,255,.7); }
.calc__result-car { font-size: .8125rem; color: rgba(255,255,255,.7); text-align: right; font-variant-numeric: tabular-nums; }
.calc__breakdown { display: none; gap: 6px; font-size: var(--fs-sm); background: rgba(255,255,255,.07); border-radius: var(--r-md); padding: 14px 16px; margin: 0; }
.calc__breakdown div { display: flex; justify-content: space-between; gap: 12px; }
.calc__breakdown dt { color: rgba(255,255,255,.75); }
.calc__breakdown dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .calc__breakdown { display: grid; } .calc__result-car { display: none; } }
.calc__ctas { display: grid; gap: 10px; }
.calc__alt { text-align: center; font-size: var(--fs-sm); color: rgba(255,255,255,.7); }
.calc__alt a { color: #fff; font-weight: 700; text-underline-offset: 3px; }
.calc__note { font-size: .75rem; color: rgba(255,255,255,.6); padding-inline: 4px; }
.calc__result :focus-visible { outline-color: #fff; }
.calc.is-flash .calc__panel { animation: flash 1.1s ease-out; }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(47,93,245,.55); } 100% { box-shadow: 0 0 0 20px rgba(47,93,245,0); } }
@media (prefers-reduced-motion: reduce) { .calc.is-flash .calc__panel { animation: none; } }

/* ---------- recenze ---------- */
.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.g-score { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 12px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); text-decoration: none; }
.g-score__num { width: 48px; height: 48px; border-radius: 50%; background: var(--night); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.0625rem; }
.g-score small { display: block; font-size: var(--fs-xs); color: var(--muted); }
.stars { color: var(--star); letter-spacing: 1px; }
.reviews {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(84%, 340px); gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 6px var(--gutter-r) 28px var(--gutter); margin: -6px calc(-1 * var(--gutter-r)) -22px calc(-1 * var(--gutter)); scroll-padding-inline: var(--gutter);
}
.reviews::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .reviews { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; padding: 0; margin: 0; } }
.review { margin: 0; scroll-snap-align: start; background: var(--card); border-radius: var(--r-xl); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.review blockquote { margin: 0; }
.review blockquote p { font-size: var(--fs-md); line-height: 1.6; }
.review blockquote p::before { content: "“"; display: block; font-size: 2.5rem; line-height: .8; color: var(--blue-t); font-weight: 800; height: 18px; }
.review figcaption { display: flex; align-items: center; gap: 10px; }
.review figcaption > span:nth-child(2) { margin-right: auto; display: grid; line-height: 1.25; }
.review figcaption strong { font-size: var(--fs-sm); }
.review figcaption small { font-size: var(--fs-xs); color: var(--muted); }
.review__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--blue-50); color: var(--blue-t); display: grid; place-items: center; font-weight: 800; flex: none; }
.review .stars { font-size: var(--fs-xs); }
.float--b { text-decoration: none; }
.float--b .stars { letter-spacing: 0; }

/* ---------- podmínky ---------- */
.rules { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.rule { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow); }
.rule__ico { width: 48px; height: 48px; border-radius: 50%; background: var(--blue-50); color: var(--blue-t); display: grid; place-items: center; flex: none; }
.rule__ico svg { width: 24px; height: 24px; }
.rule strong { display: block; font-size: var(--fs-sm); line-height: 1.3; }
.rule span { font-size: var(--fs-xs); color: var(--muted); }
.rules-note { margin-top: 14px; font-size: var(--fs-sm); color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 52rem; }
.faq details { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 70px 16px 20px; font-weight: 700; position: relative; min-height: 60px; display: flex; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: ""; position: absolute; right: 12px; top: 50%; width: 38px; height: 38px; margin-top: -19px; border-radius: 50%; background: var(--soft); }
.faq summary::after { content: ""; position: absolute; right: 27px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details[open] summary::before { background: var(--blue-50); }
.faq details > div { padding: 0 20px 18px; color: var(--muted); font-size: var(--fs-sm); }

/* ---------- kontakt + formulář ---------- */
.contact { display: grid; gap: 16px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.2fr; gap: 20px; align-items: start; } }
.contact__card { background: var(--night); color: #fff; border-radius: var(--r-xl); padding: 24px 20px; display: grid; gap: 18px; box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .contact__card { padding: 32px; } }
.contact__card h2 { font-size: var(--fs-xl); font-weight: 800; }
.contact__card p { color: rgba(255,255,255,.75); }
.contact__phone { font-size: clamp(2rem, 1.6rem + 1.8vw, 2.75rem); font-weight: 800; letter-spacing: -.02em; text-decoration: none; font-variant-numeric: tabular-nums; }
.contact__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact__list { display: grid; gap: 12px; margin: 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); }
.contact__list dt { font-size: var(--fs-xs); color: rgba(255,255,255,.6); }
.contact__list dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.contact__card a:not(.btn) { color: #fff; }
.contact__card :focus-visible { outline-color: #fff; }

.form { background: var(--card); border-radius: var(--r-xl); padding: 20px; box-shadow: var(--shadow); display: grid; gap: 14px; }
@media (min-width: 900px) { .form { padding: 32px; } }
.form h3 { font-size: var(--fs-lg); font-weight: 800; }
.form__row { display: grid; gap: 14px; }
@media (min-width: 560px) { .form__row--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: var(--fs-sm); padding-left: 4px; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 18px; border: 2px solid transparent; border-radius: var(--r-md); background: var(--soft);
  font-size: 1rem; transition: border-color .2s, background-color .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input[type="date"] { -webkit-appearance: none; appearance: none; display: block; min-width: 0; max-width: 100%; text-align: left; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 48px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1.5 1.5 7 7l5.5-5.5' fill='none' stroke='%230B0F1A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 14px 9px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--card); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__err { font-size: var(--fs-xs); color: var(--error); font-weight: 600; padding-left: 4px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form__legal { font-size: var(--fs-xs); color: var(--muted); }
.form__status { font-weight: 600; padding: 12px 16px; border-radius: var(--r-md); }
.form__status.is-ok { background: #E6F6EC; color: var(--ok); }
.form__status.is-err { background: #FDECEC; color: var(--error); }

/* ---------- patička ---------- */
.footer { padding-block: 24px 32px; }
.footer__card { background: var(--card); border-radius: var(--r-xl); padding: 24px 20px; box-shadow: var(--shadow); display: grid; gap: 20px; font-size: var(--fs-sm); color: var(--muted); }
@media (min-width: 900px) { .footer__card { grid-template-columns: 1.6fr 1fr 1fr; padding: 32px; } }
.footer__card .logo { margin-bottom: 10px; color: var(--ink); }
.footer__card h2 { font-size: var(--fs-sm); color: var(--ink); margin-bottom: 8px; letter-spacing: 0; }
.footer__card li + li { margin-top: 4px; }
.footer__card a { text-decoration: none; }
.footer__card a:hover { color: var(--blue-t); }
.footer__legal { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--line); font-size: var(--fs-xs); }

/* ---------- plovoucí lišta (mobil) – černá pilulka ---------- */
.dock {
  position: fixed; z-index: 70;
  left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px));
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px;
  background: var(--night); box-shadow: 0 20px 40px -16px rgba(11,15,26,.55);
}
.dock a { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #20263A; color: #fff; text-decoration: none; flex: none; }
.dock a svg { width: 22px; height: 22px; }
.dock .dock__call { flex: 1; width: auto; height: 52px; border-radius: 999px; background: var(--blue); display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: 1rem; font-variant-numeric: tabular-nums; }
.dock .dock__wa { width: 52px; height: 52px; }
.dock { transition: transform .3s ease, opacity .3s ease; }
.dock.is-hidden { transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none; }
.dock .dock__wa { background: var(--green); }
.dock :focus-visible { outline-color: #fff; }
@media (min-width: 900px) { .dock { display: none; } }

/* plovoucí WhatsApp – desktop */
.fab { display: none; }
@media (min-width: 900px) {
  .fab { position: fixed; right: 24px; bottom: 24px; z-index: 70; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 700; text-decoration: none; box-shadow: var(--shadow-lg); }
  .fab svg { width: 22px; height: 22px; }
}

/* děkovací stránka */
.thanks { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.thanks__box { display: grid; gap: 16px; justify-items: center; max-width: 36rem; background: var(--card); border-radius: var(--r-xl); padding: 32px 24px; box-shadow: var(--shadow); }
.thanks h1 { font-size: var(--fs-xl); font-weight: 800; }

/* ---------- cookie lišta ---------- */
.cc { position: fixed; z-index: 90; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; justify-content: center; pointer-events: none; }
.cc[hidden] { display: none; }
.cc__card { pointer-events: auto; width: 100%; max-width: 560px; max-height: calc(100vh - 100px); overflow-y: auto; background: var(--card); border-radius: var(--r-lg); box-shadow: 0 30px 70px -20px rgba(11,15,26,.45), 0 0 0 1px var(--line); padding: 18px; display: grid; gap: 14px; }
@media (min-width: 900px) { .cc { justify-content: flex-start; left: 24px; bottom: 24px; } .cc__card { max-width: 440px; padding: 22px; } }
.cc__title { font-size: var(--fs-md); font-weight: 800; letter-spacing: -.01em; margin-bottom: 4px; }
.cc__text { font-size: var(--fs-xs); color: var(--muted); line-height: 1.5; }
.cc__text a { color: var(--blue-t); font-weight: 600; }
.cc__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cc__btn { min-height: 46px; padding: 10px 14px; border: 0; border-radius: 999px; font-weight: 700; font-size: var(--fs-sm); cursor: pointer; }
.cc__btn[hidden] { display: none; }
.cc__btn--blue { background: var(--blue); color: #fff; }
.cc__btn--dark { background: var(--night); color: #fff; }
.cc__btn--soft { grid-column: 1 / -1; background: var(--soft); color: var(--ink); }
.cc__btn:hover { filter: brightness(1.08); }
.cc__prefs { display: grid; gap: 4px; }
.cc__prefs[hidden] { display: none; }
.cc__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 12px; border-radius: var(--r-md); background: var(--soft); }
.cc__row-title { font-weight: 700; font-size: var(--fs-sm); }
.cc__row-desc { font-size: .75rem; color: var(--muted); }
.cc__switch { position: relative; flex: none; width: 48px; height: 28px; }
.cc__switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.cc__switch span { position: absolute; inset: 0; border-radius: 999px; background: #C9D2DF; transition: background-color .2s; }
.cc__switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(11,15,26,.25); transition: transform .2s; }
.cc__switch input:checked + span { background: var(--blue); }
.cc__switch input:checked + span::after { transform: translateX(20px); }
.cc__switch input:disabled { cursor: not-allowed; }
.cc__switch input:disabled + span { opacity: .55; }
.cc__switch input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
html.cc-open .dock, html.cc-open .fab { display: none; }

.consent-ph { display: grid; gap: 14px; justify-items: start; }
.consent-ph p { font-size: var(--fs-sm); color: var(--muted); }
.link-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.footer__card .link-btn { text-decoration: none; }
.footer__card .link-btn:hover { color: var(--blue-t); }

/* stránka s textem (cookies) */
.prose { background: var(--card); border-radius: var(--r-xl); padding: 24px 20px; box-shadow: var(--shadow); max-width: 52rem; display: grid; gap: 14px; }
@media (min-width: 900px) { .prose { padding: 40px; } }
.prose h1 { font-size: var(--fs-xl); font-weight: 800; }
.prose h2 { font-size: var(--fs-lg); font-weight: 800; margin-top: 12px; }
.prose p, .prose li { color: var(--muted); font-size: var(--fs-sm); }
.prose ul { list-style: disc; padding-left: 20px; display: grid; gap: 4px; }
.prose a { color: var(--blue-t); }
.table-wrap { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-xs); }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); }
.prose td { color: var(--muted); }

/* „volejte kdykoli“ pod textem tlačítek pro volání */
.call-txt { display: grid; line-height: 1.1; text-align: left; }
.call-txt small { font-size: .6875rem; font-weight: 500; opacity: .75; letter-spacing: .01em; margin-top: 2px; }

/* rychlý výběr v hero – značka + model + ložná plocha */
.quickpick__chips .pill { min-height: 70px; gap: 1px; border-radius: var(--r-md); }
.pill__brand { font-size: .75rem; font-weight: 500; color: var(--muted); }
.quickpick__chips .pill strong { font-size: var(--fs-sm); font-weight: 700; }
.quickpick__chips .pill small { display: inline-flex; align-items: center; gap: 4px; font-size: .75rem; color: var(--blue-t); font-weight: 700; }
.len-ico { width: 14px; height: 8px; color: var(--blue-t); flex: none; }
.quickpick__hint { display: flex; align-items: center; gap: 6px; font-size: .75rem; color: var(--muted); padding-left: 6px; }

/* jemné oddělení plovoucího štítku od fotky */
.float--a { border: 1px solid var(--line); box-shadow: 0 -2px 10px -4px rgba(24,48,96,.12), var(--shadow); }
.float--a { padding: 7px 12px 7px 11px; gap: 7px; font-size: .8125rem; }
.float--a i { width: 7px; height: 7px; box-shadow: 0 0 0 3px rgba(31,175,84,.18); }

/* hero – fotografie přes celou kartu */
.hero__card--photo { padding: 0; overflow: visible; }
.hero__card--photo::before { display: none; }
.hero__card--photo picture { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 3 / 2; max-width: 100%; }
.hero__card--photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__card--photo .float--a { top: 14px; left: 14px; }
/* skleněný štítek na fotce */
.hero__card--photo .float--a {
  background: rgba(11,15,26,.32);
  -webkit-backdrop-filter: blur(14px) saturate(1.6); backdrop-filter: blur(14px) saturate(1.6);
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 8px 24px -10px rgba(11,15,26,.45);
  color: #fff; text-shadow: 0 1px 2px rgba(11,15,26,.35);
}

/* výrazné zelené tlačítko v kalkulačce (tmavý text kvůli kontrastu) */
.btn--go { background: #2FD072; color: var(--ink); box-shadow: 0 10px 28px -10px rgba(47,208,114,.75); }
.btn--go:hover { background: #45DB84; }
.btn--go .call-txt small { opacity: .7; }

/* kalkulačka – značka nad modelem */
.car-opts { border-radius: var(--r-md); }
.car-opt label { border-radius: 14px; min-height: 50px; gap: 0; }
.car-opt__brand { font-size: .6875rem; font-weight: 500; color: var(--muted); }
.car-opt label span { display: inline-flex; align-items: center; gap: 4px; color: var(--blue-t); font-weight: 700; }
.car-opt input:checked + label .car-opt__brand,
.car-opt input:checked + label span { color: rgba(255,255,255,.85); }
.car-opt input:checked + label .len-ico { color: #fff; }

/* ==========================================================
   Jemné animace (jen když uživatel nemá vypnutý pohyb)
   ========================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* úvod – postupné objevení */
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .hero__pills, .hero h1, .hero__lead, .quickpick, .hero__ctas, .hero__visual { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero h1 { animation-delay: .06s; }
  .hero__lead { animation-delay: .12s; }
  .quickpick { animation-delay: .18s; }
  .hero__ctas { animation-delay: .24s; }
  .hero__visual { animation-delay: .2s; }

  /* fotka v úvodu – velmi pomalý „dýchající“ zoom */
  @keyframes breathe { from { transform: scale(1); } to { transform: scale(1.06); } }
  .hero__card--photo img { animation: breathe 18s ease-in-out infinite alternate; }

  /* plovoucí lišta přijede zespodu */
  @keyframes dockIn { from { transform: translateY(120%); } to { transform: none; } }
  .dock { animation: dockIn .6s .5s cubic-bezier(.2,.8,.2,1) both; }

  /* objevování při scrollu (třídu .reveal přidává JS, bez JS je vše vidět) */
  .js-anim .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
  .js-anim .reveal.is-in { opacity: 1; transform: none; }

  /* cena v kalkulačce lehce „poskočí“ při změně */
  @keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 100% { transform: scale(1); } }
  .calc__total-val.is-pop { animation: pop .35s ease; display: inline-block; transform-origin: left center; }

  /* mikrointerakce */
  .btn, .pill, .car-opt label, .stepper__btn, .icon-btn { transition: transform .18s ease, background-color .2s, box-shadow .2s, color .2s; }
  .btn:hover { transform: translateY(-1px); }
  .btn:active, .pill:active, .stepper__btn:active { transform: scale(.96); }
  .pill:hover { transform: translateY(-2px); }
  @media (hover: hover) {
    .van, .review, .rule { transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
    .van:hover, .review:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
    .van:hover .van__img img { transform: translateX(4px); }
    .van__img img { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
  }
  .float--a i { animation: pulse 2.4s ease-in-out infinite; }
  @keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(31,175,84,0); } }
}

/* ---------- mapa v kontaktu ---------- */
.map { grid-column: 1 / -1; position: relative; min-height: 280px; border-radius: var(--r-xl); overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
@media (min-width: 900px) { .map { min-height: 380px; } }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.map__ph {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 24px;
  background:
    radial-gradient(circle at 50% 42%, rgba(47,93,245,.14), transparent 45%),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(24,48,96,.05) 38px 39px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(24,48,96,.05) 38px 39px),
    var(--sky-2);
}
.map__pin { width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(47,93,245,.7); }
.map__pin svg { width: 24px; height: 24px; }
.map__ph p { font-size: var(--fs-sm); color: var(--muted); }
.map__ph p strong { color: var(--ink); font-size: var(--fs-md); }
.map__btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.map__note { font-size: .75rem !important; }

/* ---------- skleněná hlavička ---------- */
.header__inner {
  background: rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 10px 30px -14px rgba(24,48,96,.3);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .header__inner { background: rgba(255,255,255,.95); } }

/* Ikona loga – výřez SPZ (modrý pruh + H) */
.logo__icon { width: 40px; height: 40px; flex: none; filter: drop-shadow(0 4px 10px rgba(24,48,96,.18)); }
.footer__card .logo { margin-bottom: 10px; }

/* Podmínky na desktopu: ikona nahoře, texty pod ní (mobil beze změny) */
@media (min-width: 900px) {
  .rules { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
  .rule { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 22px 22px; }
  .rule__ico { width: 52px; height: 52px; }
  .rule strong { font-size: var(--fs-md); margin-bottom: 4px; }
  .rule span { font-size: var(--fs-sm); line-height: 1.45; }
}

/* zakulacený telefon, o kousek větší */
.btn svg[class=""], .btn > svg { width: 22px; height: 22px; }
.btn--go > svg { width: 24px; height: 24px; }
.header-call__ico svg { width: 20px; height: 20px; }
.dock .dock__call svg { width: 24px; height: 24px; }

/* Posuvníky – vlastní vzhled: větší bílé „pilulkové“ táhlo, modrá vyplněná část */
.range {
  -webkit-appearance: none; appearance: none; background: transparent;
  height: 36px; margin: 6px 0 0; padding: 0; cursor: pointer; --p: 0%;
}
.range::-webkit-slider-runnable-track {
  height: 8px; border-radius: 999px;
  background: linear-gradient(to right, var(--blue) 0 var(--p), #E3E8F0 var(--p) 100%);
}
.range::-moz-range-track { height: 8px; border-radius: 999px; background: #E3E8F0; }
.range::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--blue); }
.range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 46px; height: 30px; margin-top: -11px; border-radius: 999px;
  background: #fff; border: 1px solid #DCE3EC;
  box-shadow: 0 4px 12px -4px rgba(24,48,96,.35), 0 1px 2px rgba(24,48,96,.12);
  transition: transform .15s ease;
}
.range::-moz-range-thumb {
  width: 46px; height: 30px; border-radius: 999px; background: #fff; border: 1px solid #DCE3EC;
  box-shadow: 0 4px 12px -4px rgba(24,48,96,.35), 0 1px 2px rgba(24,48,96,.12);
}
.range:active::-webkit-slider-thumb { transform: scale(1.06); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(47,93,245,.35), 0 4px 12px -4px rgba(24,48,96,.35); }
.range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(47,93,245,.35); }

/* FAQ – na desktopu dva sloupce: nadpis + výzva vlevo, dotazy vpravo (mobil beze změny) */
.faq-cta { display: none; }
@media (min-width: 900px) {
  .faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); gap: 48px; align-items: start; }
  .faq-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
  .faq-side .section-head { margin-bottom: 0; }
  .faq { max-width: none; }
  .faq-cta { display: grid; gap: 8px; justify-items: start; background: var(--night); color: #fff; border-radius: var(--r-xl); padding: 26px; box-shadow: var(--shadow-lg); }
  .faq-cta__title { font-size: var(--fs-lg); font-weight: 800; letter-spacing: -.01em; }
  .faq-cta__text { font-size: var(--fs-sm); color: rgba(255,255,255,.72); margin-bottom: 8px; }
  .faq-cta :focus-visible { outline-color: #fff; }
}
/* FAQ výzva – světlá, decentní varianta */
@media (min-width: 900px) {
  .faq-cta { background: var(--card); color: var(--ink); box-shadow: var(--shadow); border: 1px solid var(--line); }
  .faq-cta__text { color: var(--muted); }
  .faq-cta :focus-visible { outline-color: var(--blue); }
}
/* „volejte kdykoli“ nezalamovat; užší tlačítka v kontaktu */
.call-txt small { white-space: nowrap; }
.contact__btns .btn { padding-inline: 12px; gap: 8px; }

/* ==========================================================
   Moderní animace (hlavně pro mobil) – jen když uživatel nemá
   vypnutý pohyb. Třídy přidává app.js → initMotion().
   ========================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* nadpis v úvodu – slova se „zaostří“ jedno po druhém */
  .js-motion .hero h1 { animation: none; }
  .hero h1 .w { display: inline-block; animation: wordIn .8s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.08s + var(--i) * .09s); }
  @keyframes wordIn { from { opacity: 0; transform: translateY(.45em); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }
  /* „Plzeň“ – jednou přeběhne světelný odlesk */
  .js-motion .hero h1 em .w {
    background: linear-gradient(100deg, var(--blue-t) 0 38%, var(--shine) 50%, var(--blue-t) 62% 100%) 100% 0 / 260% 100% no-repeat;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: wordIn .8s cubic-bezier(.2,.8,.2,1) both, shine 1.4s 1.1s ease-in-out both;
    animation-delay: calc(.08s + var(--i) * .09s), 1.1s;
  }
  @keyframes shine { from { background-position: 100% 0; } to { background-position: 0 0; } }

  /* hvězdičky se rozsvítí postupně */
  .rate-pill .stars .st, .g-score .stars .st { display: inline-block; animation: starIn .5s cubic-bezier(.3,1.6,.5,1) both; animation-delay: calc(.35s + var(--i) * .08s); }
  @keyframes starIn { from { opacity: 0; transform: scale(.2) rotate(-40deg); } to { opacity: 1; transform: none; } }
  .g-score .stars .st { animation-play-state: paused; }
  .g-score.seen .stars .st { animation-play-state: running; }

  /* fotka v úvodu – rozbalí se z menšího okna, pak pomalu „dýchá“ */
  .hero__card--photo picture { animation: unveil 1.1s .15s cubic-bezier(.7,0,.2,1) both; }
  @keyframes unveil { from { clip-path: inset(10% 10% 10% 10% round 24px); } to { clip-path: inset(0 round 32px); } }
  .hero__card--photo img { animation: unzoom 1.4s .15s cubic-bezier(.2,.8,.2,1) both, breathe 18s 1.6s ease-in-out infinite alternate; }
  @keyframes unzoom { from { transform: scale(1.25); } to { transform: scale(1); } }
  .hero__card--photo .float--a { animation: badgeIn .6s 1s cubic-bezier(.3,1.5,.5,1) both; }
  @keyframes badgeIn { from { opacity: 0; transform: translateY(-8px) scale(.85); } to { opacity: 1; transform: none; } }

  /* dodávky „přijedou“ do karty a lehce zhoupnou na pérování */
  .van__img { overflow: hidden; }
  .js-motion .van__img:not(.drive) img { opacity: 0; }
  .van__img.drive img { transform-origin: 50% 90%; animation: driveIn 1.05s cubic-bezier(.25,.8,.25,1) backwards; }
  @keyframes driveIn {
    0%   { transform: translateX(75%); opacity: 0; filter: blur(3px); }
    55%  { opacity: 1; filter: blur(0); }
    72%  { transform: translateX(-1.5%) rotate(-1.4deg); }
    86%  { transform: translateX(0) rotate(.5deg); }
    100% { transform: none; }
  }

  /* ikony podmínek vyskočí */
  .rule.seen .rule__ico { animation: icoPop .6s cubic-bezier(.3,1.6,.5,1) backwards; animation-delay: calc(var(--d, 0s) + .15s); }
  @keyframes icoPop { from { transform: scale(0) rotate(-25deg); } to { transform: none; } }

  /* sluchátko jednou za čas „zazvoní“ */
  .header-call__ico svg, .dock .dock__call > svg { animation: ring 6s 2.5s ease-in-out 3; transform-origin: 50% 50%; }
  @keyframes ring { 0%, 12%, 100% { transform: none; } 2%, 6%, 10% { transform: rotate(-14deg); } 4%, 8% { transform: rotate(14deg); } }

  /* vlnka po ťuknutí na tlačítko */
  .btn, .pill, .dock a { position: relative; overflow: hidden; isolation: isolate; }
  .ripple { position: absolute; border-radius: 50%; pointer-events: none; background: currentColor; opacity: .22; transform: scale(0); animation: ripple .6s ease-out forwards; z-index: -1; }
  @keyframes ripple { to { transform: scale(1); opacity: 0; } }

  /* recenze na mobilu – karty u krajů se jemně zmenší a zprůhlední (scroll-driven) */
  @supports (animation-timeline: view()) {
    @media (max-width: 899px) {
      .review { animation: revCard linear both; animation-timeline: view(inline); }
      @keyframes revCard { 0% { transform: scale(.9); opacity: .45; } 30%, 70% { transform: none; opacity: 1; } 100% { transform: scale(.9); opacity: .45; } }
    }
  }
}

/* ---------- cookie lišta – skleněná, s příjezdem a odjezdem ---------- */
.cc__card {
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(24px) saturate(1.8); backdrop-filter: blur(24px) saturate(1.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 30px 70px -20px rgba(11,15,26,.45), 0 0 0 1px rgba(255,255,255,.75);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .cc__card { background: rgba(255,255,255,.97); } }
.cc__btn--soft, .cc__row { background: rgba(255,255,255,.6); box-shadow: inset 0 0 0 1px rgba(255,255,255,.8); }
@media (prefers-reduced-motion: no-preference) {
  .cc .cc__card { animation: ccIn .7s .4s cubic-bezier(.2,.9,.25,1.05) both; }
  @keyframes ccIn { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }
  .cc.is-leaving .cc__card { animation: ccOut .6s cubic-bezier(.5,0,.75,0) forwards; }
  @keyframes ccOut {
    0%   { transform: none; opacity: 1; }
    18%  { transform: translateY(-8px) scale(1.01); opacity: 1; }
    100% { transform: translateY(calc(100% + 60px)) scale(.92) rotate(-1.5deg); opacity: 0; filter: blur(2px); }
  }
}

/* ==========================================================
   Tmavý režim – přepínač v hlavičce (assets/js/theme.js)
   ========================================================== */
.theme-toggle {
  flex: none; position: relative; width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; color: var(--ink); background: var(--soft);
  box-shadow: inset 0 0 0 1px var(--line); transition: background-color .2s, transform .15s;
}
.theme-toggle:hover { background: var(--blue-50); }
.theme-toggle:active { transform: scale(.92); }
.theme-toggle svg { position: absolute; width: 20px; height: 20px; transition: transform .5s cubic-bezier(.3,1.4,.5,1), opacity .3s; }
.theme-toggle .ico-moon { transform: rotate(-90deg) scale(.4); opacity: 0; }
[data-theme="dark"] .theme-toggle .ico-sun { transform: rotate(90deg) scale(.4); opacity: 0; }
[data-theme="dark"] .theme-toggle .ico-moon { transform: none; opacity: 1; }
@media (max-width: 440px) { .header__inner { gap: 8px; } .theme-toggle { width: 36px; height: 36px; } .theme-toggle svg { width: 18px; height: 18px; } }

/* plynulé přepnutí – kruh se rozlije od přepínače (View Transitions) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: themeReveal .65s cubic-bezier(.4,0,.2,1); }
@keyframes themeReveal { from { clip-path: circle(0 at var(--tx, 90%) var(--ty, 40px)); } to { clip-path: circle(150% at var(--tx, 90%) var(--ty, 40px)); } }

:root[data-theme="dark"] {
  color-scheme: dark;
  --sky-1:   #0E1730;
  --sky-2:   #0B1326;
  --sky-3:   #080D1B;
  --card:    #131B2E;
  --soft:    #1C2640;
  --line:    #263252;
  --ink:     #EEF2F9;
  --muted:   #A3AEC2;
  --blue-50: #1D2A50;
  --blue-t:  #8EA9FF;
  --night:   #05080F;
  --shine:   #FFFFFF;
  --ok:      #4CD787;
  --error:   #FF7A7F;
  --shadow: 0 1px 2px rgba(0,0,0,.35), 0 18px 40px -22px rgba(0,0,0,.75);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.35), 0 30px 60px -28px rgba(0,0,0,.85);
}
[data-theme="dark"] .header__inner { background: rgba(19,27,46,.6); border-color: rgba(255,255,255,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 30px -14px rgba(0,0,0,.6); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { [data-theme="dark"] .header__inner { background: rgba(19,27,46,.97); } }
[data-theme="dark"] .loc-pill { background: rgba(19,27,46,.7); }
[data-theme="dark"] .calc__result,
[data-theme="dark"] .contact__card { background: linear-gradient(160deg, #1B2643, #0E1528); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), var(--shadow-lg); }
[data-theme="dark"] .btn--go { color: #0B0F1A; }
[data-theme="dark"] .btn--blue { box-shadow: 0 10px 24px -10px rgba(47,93,245,.9); }
/* fotky dodávek mají bílé pozadí → světlá „studiová“ dlaždice */
[data-theme="dark"] .van__img { background: #fff; border-radius: var(--r-lg); overflow: hidden; }
[data-theme="dark"] .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1.5 1.5 7 7l5.5-5.5' fill='none' stroke='%23EEF2F9' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
[data-theme="dark"] .range::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--blue) 0 var(--p), #2A3658 var(--p) 100%); }
[data-theme="dark"] .range::-moz-range-track { background: #2A3658; }
[data-theme="dark"] .cc__switch span { background: #3A4766; }
[data-theme="dark"] .form__status.is-ok { background: rgba(76,215,135,.12); }
[data-theme="dark"] .form__status.is-err { background: rgba(255,122,127,.12); }
[data-theme="dark"] .cc__card { background: rgba(19,27,46,.72); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 30px 70px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08); }
[data-theme="dark"] .cc__btn--soft, [data-theme="dark"] .cc__row { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); color: var(--ink); }
[data-theme="dark"] .cc__btn--dark { background: #2A3658; }
[data-theme="dark"] .map__ph { background: radial-gradient(circle at 50% 42%, rgba(47,93,245,.22), transparent 45%), repeating-linear-gradient(0deg, transparent 0 38px, rgba(255,255,255,.04) 38px 39px), repeating-linear-gradient(90deg, transparent 0 38px, rgba(255,255,255,.04) 38px 39px), var(--sky-2); }
@media (min-width: 900px) { [data-theme="dark"] .faq-cta { background: var(--card); } }

/* Termín Od–Do ve formuláři (na mobilu vedle sebe) */
.dates { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 6px; }
.dates legend { font-weight: 600; font-size: var(--fs-sm); padding: 0 0 6px 4px; }
.dates legend .opt { font-weight: 400; color: var(--muted); }
.dates__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.dates .field label { font-size: var(--fs-xs); font-weight: 500; color: var(--muted); }
.dates .field input { padding-inline: 14px; }
.dates__sum { font-size: var(--fs-sm); font-weight: 700; color: var(--blue-t); padding-left: 4px; }
.footer__note { color: var(--muted); font-size: var(--fs-xs); }
/* Webdesign – výraznější podpis s podtrženým odkazem */
.footer__credit { display: block; margin-top: 10px; font-weight: 600; color: var(--ink); }
.footer__credit a { color: var(--blue-t); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.footer__credit a:hover { text-decoration-color: currentColor; color: var(--blue-dk); }
[data-theme="dark"] .footer__credit a:hover { color: #B4C6FF; }
.calc__result-car .nw { white-space: nowrap; }
