/* Olcar Rent v2 — clean layout language (rozvážej-inspired)
   Brand tokens stay coral/cream; structure is flat, airy, low chrome. */

:root {
  --coral: oklch(72% 0.19 25);
  --coral-deep: oklch(58% 0.17 25);
  --coral-soft: oklch(94% 0.04 25);
  --ink: oklch(22% 0.01 90);
  --ink-muted: oklch(48% 0.01 90);
  --ink-faint: oklch(58% 0.01 90);
  --page: #fff;
  --cream: oklch(97% 0.006 90);
  --band: oklch(95.5% 0.004 90); /* soft gray band ≈ #F4F4F6 on warm base */
  --hairline: oklch(91% 0.006 90);
  --green-dot: oklch(76% 0.19 145);
  --font: "Space Grotesk", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  /* Wide shell — reads at full browser scale, not “zoomed to 85%” */
  --max: 1400px;
  --gutter: clamp(24px, 4vw, 56px);
  --r: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 200ms;
  /* Fold: hero height leaves room so #proc h2 peeks in */
  --header-h: 84px;
  --why-pad-top: clamp(40px, 5.5vh, 64px);
  --why-peek: 2.75rem; /* partial “why us” headline at the fold */
}

/*
 * Large desktop: shorter hero, more of the next section above the fold.
 * 1440px = wide / design desktop (common design-canvas width).
 */
@media (min-width: 1440px) {
  :root {
    --why-peek: clamp(9rem, 18vh, 14rem); /* headline + start of chips/cards */
    --why-pad-top: clamp(36px, 4vh, 52px);
  }

  .hero {
    padding: clamp(12px, 1.75vh, 24px) 0 clamp(48px, 6vh, 72px);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--coral-deep);
  text-decoration: none;
}

a:hover {
  color: var(--ink);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

/* ——— Nav ——— */
.site-header {
  background: var(--page);
  position: relative;
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
  padding-block: 10px;
}

/* Status pill lives in nav on mobile only (hero keeps it on desktop) */
.nav-status {
  display: none;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
  max-width: min(52vw, 14rem);
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 0 1 auto;
  margin-left: auto;
  margin-right: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}

.nav-status:hover {
  background: color-mix(in oklch, var(--ink) 88%, white);
  color: #fff;
}

.nav-status .pulse {
  width: 7px;
  height: 7px;
  flex: none;
}

.logo {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
  flex: none;
  min-width: 0;
}

.logo:hover {
  color: var(--ink);
}

.logo-plate {
  display: inline-flex;
  align-items: stretch;
  width: max-content;
  border: 2px solid var(--ink);
  border-radius: 8px;
  overflow: hidden;
  background: var(--cream);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 20px;
}

.logo-ol,
.logo-rest {
  display: grid;
  place-items: center;
  white-space: nowrap;
}

.logo-ol {
  background: var(--coral);
  color: var(--cream);
  padding: 8px 9px;
}

.logo-rest {
  color: var(--ink);
  padding: 8px 10px 8px 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Mobile-only menu footer with contacts */
.nav-menu-foot {
  display: none;
}

/* Direct nav items only — don’t restyle .btn / phone links in menu cards */
.nav-links > li > a {
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
  padding: 14px 16px;
  text-decoration: none;
  border-radius: 8px;
  transition: background var(--t) var(--ease);
}

.nav-links > li > a:hover {
  background: var(--band);
  color: var(--ink);
}

.nav-links .nav-cta > a {
  background: var(--coral);
  color: var(--ink);
  padding: 14px 26px;
  border-radius: var(--r);
  font-weight: 500;
}

.nav-links .nav-cta > a:hover {
  background: color-mix(in oklch, var(--coral) 88%, var(--ink));
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: absolute;
  left: 12px;
  transition: transform var(--t) var(--ease), opacity var(--t) var(--ease);
}

.nav-toggle span {
  top: 21px;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 17px;
  line-height: 1;
  padding: 16px 32px;
  border-radius: var(--r);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease),
    color var(--t) var(--ease), transform var(--t) var(--ease);
}

.btn-primary {
  background: var(--coral);
  color: var(--ink);
  border-color: var(--coral);
}

.btn-primary:hover {
  background: color-mix(in oklch, var(--coral) 88%, var(--ink));
  border-color: color-mix(in oklch, var(--coral) 88%, var(--ink));
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--coral-deep);
  border-color: var(--coral);
}

.btn-ghost:hover {
  background: var(--coral-soft);
  color: var(--coral-deep);
}

.btn-sm {
  font-size: 15px;
  padding: 12px 20px;
}

.btn-ink {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.btn-ink:hover {
  background: color-mix(in oklch, var(--ink) 88%, white);
  color: #fff;
}

/* ——— Sections ——— */
.section {
  padding: 104px 0;
}

.section-tight {
  padding: 80px 0;
}

.band {
  background: var(--band);
}

.section-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 56px;
}

.section-head.left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 40rem;
}

/* Pricing intro: same column width as black .price-card (1.15fr of 1.15+0.85 + gap) */
#cenik .section-head.left {
  max-width: none;
}

#cenik .section-head.left h2,
#cenik .section-head.left p {
  max-width: calc((100% - 20px) * 1.15 / 2);
}

.section-head h2 {
  font-size: clamp(36px, 4.2vw, 52px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0 0 10px;
  text-wrap: balance;
}

/* Headline accent bar — short coral rule, flat/low-chrome like the rest of the UI */
.h-scribble {
  display: inline-block;
  max-width: 100%;
}

.h-scribble::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  margin-top: 14px;
  border-radius: 2px;
  background: var(--coral);
}

/* Center-aligned heads → bar centered under the text */
.section-head:not(.left) .h-scribble::after {
  margin-left: auto;
  margin-right: auto;
}

/* Left-aligned heads → bar flush left with the text */
.section-head.left .h-scribble {
  width: fit-content;
  max-width: 100%;
}

.section-head.left .h-scribble::after {
  margin-left: 0;
  margin-right: 0;
}
.section-head p {
  margin: 16px 0 0;
  color: var(--ink-muted);
  font-size: 19px;
  line-height: 1.55;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  overflow: hidden;
  /* Match site shell: same gutters as .wrap via padding on the section */
  /* Bottom pad keeps CTAs clear of the scroll cue; keep tight so why-h2 can peek */
  padding: clamp(14px, 2.25vh, 28px) 0 clamp(56px, 8vh, 84px);
  /*
   * Fill the viewport minus nav + why-section top pad + a slice of the h2.
   * Result: “Proč půjčit…” is always at least partially visible at the fold.
   */
  min-height: calc(100svh - var(--header-h) - var(--why-pad-top) - var(--why-peek));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  background: var(--cream);
}

/* First band after hero: shorter top pad so the headline sits near the fold */
#proc.section {
  padding-top: var(--why-pad-top);
}

/* Full-bleed video layer */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    oklch(97% 0.006 90 / 0.78) 0%,
    oklch(97% 0.006 90 / 0.42) 38%,
    oklch(97% 0.006 90 / 0.1) 68%,
    transparent 100%
  );
}

.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Same horizontal track as nav / sections — full shell width, not a centered 36rem box */
.hero > .wrap {
  position: relative;
  z-index: 1;
}

/* Desktop: sit copy halfway toward the nav (was vertically centered) */
@media (min-width: 901px) {
  .hero {
    justify-content: flex-start;
  }

  .hero::before,
  .hero::after {
    content: "";
    min-height: 0;
    pointer-events: none;
  }

  .hero::before {
    flex: 1 1 0;
  }

  .hero::after {
    flex: 3 1 0;
  }

  .hero > .wrap {
    flex: 0 0 auto;
  }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0;
  /* Wide enough for the longer H1 line as one line */
  max-width: min(40rem, 100%);
  margin-inline: 0;
  margin-right: auto;
}

.hero h1 {
  font-size: clamp(32px, 4.6vw, 50px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 20px;
  max-width: none;
  color: var(--ink);
  text-shadow: 0 1px 1px oklch(97% 0.006 90 / 0.85);
}

.hero-h1-line {
  display: block;
  white-space: nowrap;
}

.hero-lede {
  margin: 0 0 14px;
  max-width: 540px;
  font-size: 20px;
  line-height: 1.55;
  /* Slightly darker than global muted for contrast on stronger video */
  color: oklch(32% 0.012 90);
  text-shadow: 0 1px 1px oklch(97% 0.006 90 / 0.8);
}

.hero-highlight {
  margin: 0 0 36px;
  max-width: 540px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--coral-deep);
  text-shadow: 0 1px 1px oklch(97% 0.006 90 / 0.8);
}

/* Mobile-only line break — hidden on desktop */
.mobile-br {
  display: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0;
}

/* Arrow only on mobile secondary text-link style */
.cta-arrow {
  display: none;
}

/* Scroll cue — always hints at below-the-fold content while hero is in view */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(16px, 3.5vh, 32px);
  z-index: 2;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  color: var(--ink-muted);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 1;
  transition: opacity 0.35s var(--ease), color var(--t) var(--ease);
}

.hero-scroll:hover {
  color: var(--coral-deep);
}

.hero-scroll.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.hero-scroll-chevron {
  display: flex;
  animation: scroll-nudge 1.8s var(--ease) infinite;
}

@keyframes scroll-nudge {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.55;
  }
  50% {
    transform: translateY(6px);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-chevron {
    animation: none;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}

.hero-badge:hover {
  background: color-mix(in oklch, var(--ink) 88%, white);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .hero-media::after {
    background: linear-gradient(
      90deg,
      oklch(97% 0.006 90 / 0.88) 0%,
      oklch(97% 0.006 90 / 0.5) 42%,
      oklch(97% 0.006 90 / 0.16) 72%,
      transparent 100%
    );
  }
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-dot);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--green-dot) 35%, transparent);
  animation: pulse-dot 1.6s ease-in-out infinite;
  flex: none;
}

.pulse-red {
  background: oklch(62% 0.22 25);
  box-shadow: 0 0 0 3px color-mix(in oklch, oklch(62% 0.22 25) 32%, transparent);
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

/* ——— Benefit cards (3-up) ——— */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.benefit {
  background: var(--page);
  border-radius: var(--r);
  padding: 44px 32px 48px 40px;
}

.band .benefit {
  background: var(--page);
}

.section:not(.band) .benefit {
  background: var(--band);
}

.benefit-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  color: var(--coral-deep);
}

.benefit-icon svg {
  width: 44px;
  height: 44px;
  display: block;
}

.benefit h3 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.benefit p {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-muted);
}

.section-head-tight {
  margin-bottom: 24px;
}

.platforms {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 44px;
  /* room for chips to dodge without clipping hard */
  padding: 12px 4px 20px;
  min-height: 7.5rem;
  /* Desktop physics only — mobile must keep normal vertical scroll */
  touch-action: pan-y;
}

@media (pointer: fine) and (min-width: 901px) {
  .platforms {
    touch-action: none;
  }
}

.platforms-under-head {
  margin-top: 0;
  margin-bottom: 40px;
  max-width: 52rem;
  margin-inline: auto;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  background: var(--page);
  color: var(--ink-muted);
  border: 1px solid var(--hairline);
  position: relative;
  z-index: 1;
  user-select: none;
  cursor: default;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.platforms.is-physics .chip {
  position: absolute;
  margin: 0;
  left: 0;
  top: 0;
  transform-origin: center center;
  backface-visibility: hidden;
  will-change: transform;
}

.platforms.is-active .chip {
  border-color: color-mix(in oklch, var(--green-dot) 35%, var(--hairline));
  box-shadow: 0 4px 14px color-mix(in oklch, var(--ink) 8%, transparent);
}

.chip-tick {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: color-mix(in oklch, var(--green-dot) 18%, white);
  color: oklch(48% 0.14 145);
  position: relative;
}

.chip-tick::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 5px;
  height: 9px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.band .chip {
  background: var(--page);
}

.section:not(.band) .chip {
  background: var(--band);
}

/* ——— Fleet ——— */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.fleet-more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.fleet-more[hidden] {
  display: none;
}

.fleet-more .btn {
  width: auto;
  min-width: 12rem;
}

.car-card {
  background: var(--page);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hairline);
  transition: border-color var(--t) var(--ease);
}

.car-card:hover {
  border-color: color-mix(in oklch, var(--coral) 40%, var(--hairline));
}

/* Rented cars: soft-dim active photo; full opacity on card hover */
.car-card.is-rented .car-slides img.is-active {
  opacity: 0.55;
}

.car-card.is-rented:hover .car-slides img.is-active {
  opacity: 1;
}

.car-media {
  position: relative;
  aspect-ratio: 16 / 11;
  background: var(--band);
  overflow: hidden;
}

.car-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Multi-photo gallery on fleet cards */
.car-gallery .car-slides {
  position: absolute;
  inset: 0;
}

.car-gallery .car-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

.car-gallery .car-slides img.is-active {
  opacity: 1;
  pointer-events: auto;
}

.car-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: color-mix(in oklch, white 88%, transparent);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.2s var(--ease), background 0.2s var(--ease);
  box-shadow: 0 2px 10px oklch(22% 0.01 90 / 0.12);
}

.car-gallery:hover .car-nav,
.car-gallery:focus-within .car-nav {
  opacity: 1;
}

.car-nav:hover {
  background: #fff;
}

.car-nav-prev {
  left: 10px;
}

.car-nav-next {
  right: 10px;
}

.car-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}

.car-dots button {
  pointer-events: auto;
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: color-mix(in oklch, white 55%, transparent);
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.15s var(--ease);
}

.car-dots button.is-active {
  background: #fff;
  transform: scale(1.25);
}

@media (pointer: coarse) {
  .car-nav {
    opacity: 0.9;
  }
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* Space Grotesk has real 700 — mono only loads 400/500 (faux-bold = blur) */
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 9px 14px 9px 12px;
  border-radius: 999px;
  z-index: 2;
  background: #fff;
  color: var(--ink);
  border: 1px solid color-mix(in oklch, var(--hairline) 70%, transparent);
  box-shadow: 0 2px 12px oklch(22% 0.01 90 / 0.12);
  -webkit-font-smoothing: antialiased;
}

/* Same white pill — status only via LED color */
.badge-free,
.badge-busy {
  background: #fff;
  color: var(--ink);
}

.car-body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}

.car-body h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.car-specs {
  margin: 0;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink-faint);
}

.car-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.car-tags span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: var(--band);
  padding: 4px 8px;
  border-radius: 6px;
}

.car-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.car-price {
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
}

.car-price span {
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-faint);
}

.car-price small {
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-faint);
  margin-top: 3px;
}

.car-price small.car-kauce {
  margin-top: 2px;
}

/* ——— Steps ——— */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  background: var(--page);
  border-radius: var(--r);
  padding: 40px 32px 44px 36px;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--coral-deep);
  display: block;
  margin-bottom: 18px;
}

.step h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 500;
}

.step p {
  margin: 0;
  font-size: 17px;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* ——— Pricing ——— */
.price-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: stretch;
}

.price-card {
  background: var(--ink);
  color: color-mix(in oklch, white 88%, transparent);
  border-radius: 18px;
  padding: 48px 44px;
}

.price-card h3 {
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.02em;
}

.price-card > p {
  margin: 0 0 32px;
  color: color-mix(in oklch, white 62%, transparent);
  font-size: 18px;
}

.price-rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.price-rows li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid color-mix(in oklch, white 12%, transparent);
  font-size: 18px;
}

.price-rows li:first-child {
  border-top: 0;
  padding-top: 0;
}

.price-rows .val {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  text-align: right;
  white-space: normal;
  max-width: 16ch;
}

.price-note {
  margin: 28px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: color-mix(in oklch, white 48%, transparent);
}

.price-side {
  display: grid;
  gap: 20px;
}

.soft-card {
  background: var(--band);
  border-radius: var(--r);
  padding: 32px 32px 36px;
}

.band .soft-card {
  background: var(--page);
}

.soft-card h4 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 500;
}

.soft-card p,
.soft-card ul {
  margin: 0;
  font-size: 17px;
  color: var(--ink-muted);
  line-height: 1.55;
}

.soft-card p + p {
  margin-top: 0.85em;
}

.soft-card ul {
  padding-left: 1.1em;
  display: grid;
  gap: 6px;
}

/* ——— FAQ ——— */
.faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.faq-intro h2 {
  font-size: clamp(36px, 4.2vw, 52px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0 0 18px;
}

.faq-intro p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 19px;
  max-width: 34ch;
  line-height: 1.55;
}

.accordion {
  display: grid;
  gap: 8px;
}

.acc-item {
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  background: var(--page);
  overflow: hidden;
}

.acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 22px 24px;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  line-height: 1.35;
}

.acc-btn .plus {
  flex: none;
  width: 20px;
  height: 20px;
  position: relative;
}

.acc-btn .plus::before,
.acc-btn .plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
  border-radius: 1px;
  transition: transform var(--t) var(--ease), opacity var(--t) var(--ease);
}

.acc-btn .plus::before {
  width: 14px;
  height: 2px;
  top: 9px;
  left: 3px;
}

.acc-btn .plus::after {
  width: 2px;
  height: 14px;
  top: 3px;
  left: 9px;
}

.acc-item.is-open .acc-btn .plus::after {
  opacity: 0;
  transform: rotate(90deg);
}

.acc-panel {
  display: none;
  padding: 0 24px 22px;
  color: var(--ink-muted);
  font-size: 17px;
  line-height: 1.55;
}

.acc-item.is-open .acc-panel {
  display: block;
}

/* ——— Mid CTA ——— */
/* Tighter top than .section / .section-tight — sits close under pricing */
.section-mid-cta {
  padding: 40px 0 80px;
}

.mid-cta {
  background: var(--band);
  border-radius: 18px;
  padding: 48px 48px 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mid-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}

.mid-cta-badge:hover {
  background: color-mix(in oklch, var(--ink) 88%, white);
  color: #fff;
}

.mid-cta h2 {
  margin: 0 auto 28px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-wrap: balance;
  max-width: 20ch;
}

.mid-cta .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}



/* ——— Contact ——— */
/* Heading alone above; form aligns with lede paragraph on desktop */
.contact-head {
  margin-bottom: 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: stretch;
}

.contact-side {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.contact-lede {
  margin: 0 0 28px;
  color: var(--ink-muted);
  font-size: 19px;
  line-height: 1.55;
  max-width: 40ch;
}

.contact-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 18px;
}

.contact-list .k {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 4px;
}

.contact-list .v {
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.contact-hint {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-muted);
}

a.v:hover {
  color: var(--coral-deep);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.form {
  background: var(--band);
  border-radius: 18px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  box-sizing: border-box;
  min-height: 100%;
}

/* Desktop: equal column height; Odeslat level with Zavolat / WhatsApp */
@media (min-width: 901px) {
  /* Match .form bottom padding so action rows share one baseline */
  .contact-side {
    padding-bottom: 36px;
  }

  .form .field-message {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .form .field-message textarea {
    flex: 1 1 auto;
    min-height: 120px;
  }

  .form-end {
    margin-top: auto;
  }
}

.form-end {
  display: grid;
  gap: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field input:not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  background: var(--page);
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  padding: 16px 18px;
  transition: border-color var(--t) var(--ease);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%231a1a1a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 44px;
  cursor: pointer;
}

.field select:invalid,
.field select option[value=""] {
  color: var(--ink-faint);
}

.field select option {
  color: var(--ink);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.45;
}

.field input:not([type="checkbox"])::placeholder,
.field textarea::placeholder {
  color: var(--ink-faint);
}

.field input:not([type="checkbox"]):focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--coral);
}

.field-check {
  margin-top: 4px;
}

.check-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-muted);
  cursor: pointer;
}

.check-label input[type="checkbox"] {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--coral);
  cursor: pointer;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.form-status {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-faint);
}

.form-status.is-ok {
  color: var(--coral-deep);
}

.form-hint {
  margin: 0;
  font-size: 13px;
  color: var(--ink-faint);
}

/* ——— Footer ——— */
.site-footer {
  padding: 48px 0 36px;
  border-top: 1px solid var(--hairline);
  background: var(--band);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px 40px;
  align-items: start;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--hairline);
}

.footer-brand-block {
  display: grid;
  gap: 8px;
}

.footer-tagline {
  margin: 0;
  font-size: 14px;
  color: var(--ink-faint);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--page);
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
}

.footer-social-link:hover {
  color: var(--ink);
  background: color-mix(in oklch, var(--page) 70%, var(--coral-soft));
}

.footer-social-link svg {
  display: block;
  flex: none;
}

.footer-social-label {
  line-height: 1;
}

.logo-footer .logo-plate {
  font-size: 22px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}

.footer-nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--ink);
}

.footer-contact {
  display: grid;
  gap: 6px;
  justify-items: start;
  font-size: 15px;
  color: var(--ink-faint);
}

.footer-contact a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.footer-contact a:hover {
  color: var(--coral-deep);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 20px;
  font-size: 13px;
  color: var(--ink-faint);
  text-align: center;
}

.footer-legal {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
}

.footer-legal a {
  color: var(--ink-muted);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--ink);
}

.footer-copy {
  color: var(--ink-faint);
}

.check-label a {
  color: var(--coral-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.check-label a:hover {
  color: var(--ink);
}

/* ——— Legal pages (privacy / cookies) ——— */
.legal-back {
  margin-left: auto;
  width: auto;
  flex: none;
}

.legal-page {
  padding-top: 48px;
  padding-bottom: 72px;
}

.legal-wrap {
  max-width: 42rem;
}

.legal-kicker {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.legal-page h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.legal-meta {
  margin: 0 0 36px;
  font-size: 14px;
  color: var(--ink-faint);
}

.legal-body h2 {
  margin: 32px 0 12px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.legal-body h3 {
  margin: 20px 0 8px;
  font-size: 17px;
  font-weight: 500;
}

.legal-body p,
.legal-body li {
  color: var(--ink-muted);
  font-size: 17px;
  line-height: 1.6;
}

.legal-body p {
  margin: 0 0 14px;
}

.legal-body ul {
  margin: 0 0 14px;
  padding-left: 1.2em;
  display: grid;
  gap: 6px;
}

.legal-body a {
  color: var(--coral-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-body a:hover {
  color: var(--ink);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 40px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-size: 15px;
  font-weight: 500;
}

.legal-links a {
  color: var(--ink-muted);
  text-decoration: none;
}

.legal-links a:hover {
  color: var(--ink);
}

/* ——— Mobile ——— */
@media (max-width: 900px) {
  /*
   * Cards keep their own padding. Bare headlines + subcopy get extra
   * --text-inset so they line up with text inside those cards.
   */
  :root {
    --text-inset: 28px;
  }

  /* Static “why us” pills — no physics, no compositor thrash while scrolling */
  .platforms {
    touch-action: pan-y;
    min-height: 0;
  }

  /* Sticky bar: slightly less than full header so it doesn’t overscroll */
  html {
    scroll-padding-top: calc(var(--header-h) - 32px);
  }

  section[id],
  [id].section {
    scroll-margin-top: calc(var(--header-h) - 32px);
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--page);
  }

  .nav-toggle {
    display: block;
    flex: none;
  }

  .nav {
    gap: 10px;
  }

  .logo-plate {
    font-size: 16px;
    border-width: 1.5px;
    border-radius: 6px;
  }

  .logo-ol {
    padding: 6px 7px;
  }

  .logo-rest {
    padding: 6px 8px 6px 7px;
  }

  .nav-status {
    display: inline-flex;
    min-width: 0;
  }

  .nav-status [data-free-label] {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Status pill sits in navbar — hide duplicate in hero */
  .hero-badge {
    display: none;
  }

  @media (max-width: 420px) {
    .logo-plate {
      font-size: 14px;
    }
  }

  /*
   * Two separate pieces:
   * 1) bar items (logo, status, toggle) — stay visible in the sticky header
   * 2) menu panel — only the area below the bar
   * Bar items stack above the panel; panel never covers the logo strip.
   */
  .nav > .logo,
  .nav > .nav-status,
  .nav > .nav-toggle {
    position: relative;
    z-index: 2;
  }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 20px 28px max(28px, env(safe-area-inset-bottom));
    background: var(--page);
    border: 0;
    border-top: 1px solid var(--hairline);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(8px);
    transition:
      opacity var(--t) var(--ease),
      transform var(--t) var(--ease),
      visibility var(--t) var(--ease);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: none;
  }

  body.nav-open {
    overflow: hidden;
  }

  /* No coral CTA in mobile drawer — hero/fleet already cover booking */
  .nav-links .nav-cta {
    display: none;
  }

  .nav-links > li:not(.nav-menu-foot) {
    width: 100%;
  }

  .nav-links > li:not(.nav-menu-foot) > a {
    position: relative;
    display: inline-block;
    padding: 16px 0 14px;
    border-radius: 0;
    border-bottom: none;
    background: transparent;
    color: var(--ink);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.02em;
    transition: color var(--t) var(--ease);
  }

  /* Short coral bar — same language as section headline dividers */
  .nav-links > li:not(.nav-menu-foot) > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 6px;
    width: 2.75rem;
    height: 3px;
    border-radius: 2px;
    background: var(--coral);
    opacity: 0;
    transition: opacity var(--t) var(--ease);
  }

  .nav-links > li:not(.nav-menu-foot) > a:hover,
  .nav-links > li:not(.nav-menu-foot) > a:focus-visible {
    background: transparent;
    color: var(--ink);
  }

  .nav-links > li:not(.nav-menu-foot) > a:hover::after,
  .nav-links > li:not(.nav-menu-foot) > a:focus-visible::after {
    opacity: 1;
  }

  /* Menu foot: two cards (Připraveni / Kontakty), pinned under links */
  .nav-menu-foot {
    display: block;
    width: 100%;
    margin-top: auto;
    padding-top: 20px;
    list-style: none;
  }

  .nav-menu-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 0;
  }

  .nav-menu-cards .footer-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    padding: 20px 16px;
    border-radius: var(--r);
  }

  .nav-menu-cards .footer-card.gray {
    background: var(--band);
  }

  .nav-menu-cards .footer-card.coral {
    background: var(--coral);
    color: var(--ink);
  }

  .nav-menu-cards .footer-card h3 {
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 500;
  }

  .nav-menu-cards .footer-card p {
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.4;
    max-width: none;
    color: var(--ink-muted);
  }

  .nav-menu-cards .footer-card.coral p {
    margin-bottom: 16px;
    color: color-mix(in oklch, var(--ink) 75%, transparent);
  }

  .nav-menu-cards .footer-card .v {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
  }

  .nav-menu-cards .footer-card .btn {
    margin-top: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .benefits,
  .fleet-grid,
  .steps,
  .price-layout,
  .faq-grid,
  .contact-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  /* All solid buttons fill their parent on mobile */
  .btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
    box-sizing: border-box;
  }

  /* Legal header CTA stays compact */
  .legal-back.btn {
    width: auto;
  }

  .btn-primary,
  .btn-ink,
  .car-foot .btn-ghost {
    min-height: 48px;
    font-size: 16px;
    padding: 14px 20px;
  }

  /* Fleet cards keep solid button CTAs (exception to text-link secondary) */
  .car-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: 20px;
  }

  #cenik .section-head.left h2,
  #cenik .section-head.left p {
    max-width: none;
  }

  .hero {
    /* Same fold math as desktop; content starts under nav (not vertically centered) */
    min-height: calc(100svh - var(--header-h) - var(--why-pad-top) - var(--why-peek));
    /*
     * Top: fluid, a bit of air under the sticky bar.
     * Bottom: always reserve room for absolute “Víc dole” so it never
     * collides with the secondary WhatsApp CTA on short viewports.
     */
    padding: clamp(36px, 6.5vh, 80px) 0 clamp(96px, 14vh, 112px);
    justify-content: flex-start;
  }

  .hero-scroll {
    bottom: 14px;
  }

  /* Extra side inset so hero type isn’t tight to the screen edges */
  .hero > .wrap {
    width: min(100% - 2 * clamp(32px, 7vw, 44px), var(--max));
  }

  /*
   * Tall phones: let the video breathe.
   * Headline + lede stay up top; price highlight + CTAs sit lower so
   * empty mid space shows more of the background video.
   */
  @media (min-height: 780px) {
    .hero {
      min-height: calc(100svh - var(--header-h) - var(--why-pad-top) - var(--why-peek));
      padding-top: clamp(40px, 6vh, 64px);
      padding-bottom: clamp(100px, 12vh, 120px);
    }

    .hero > .wrap {
      flex: 1 1 auto;
      display: flex;
      flex-direction: column;
      min-height: 0;
    }

    .hero-copy {
      flex: 1 1 auto;
      display: flex;
      flex-direction: column;
      min-height: 100%;
    }

    /* Push coral price + CTAs toward the lower third */
    .hero-highlight {
      margin-top: auto;
      padding-top: clamp(28px, 5vh, 48px);
      margin-bottom: 20px;
    }
  }

  /* Even taller (Pro Max / large Androids): more mid-video air */
  @media (min-height: 860px) {
    .hero-highlight {
      padding-top: clamp(40px, 8vh, 72px);
      margin-bottom: 24px;
    }
  }

  /* Extra-tight phones / short heights — keep bottom reserve for scroll cue */
  @media (max-height: 760px) {
    .hero {
      padding-top: 32px;
      padding-bottom: 96px;
    }

    .hero-highlight {
      margin-top: 0;
      padding-top: 0;
      margin-bottom: 24px;
    }

    .hero-scroll {
      bottom: 10px;
    }
  }

  /* Very short: drop “Víc dole” label, keep chevron only — less collision risk */
  @media (max-height: 680px) {
    .hero {
      padding-top: 28px;
      padding-bottom: 72px;
    }

    .hero-scroll-label {
      display: none;
    }

    .hero-scroll {
      bottom: 8px;
      padding-block: 4px;
    }
  }

  #proc.section {
    padding-top: var(--why-pad-top);
    padding-bottom: 72px;
  }

  /* Bare section titles + subcopy — match card inner text (not card outer edge) */
  .section-head,
  .faq-intro,
  .contact-head {
    padding-inline: var(--text-inset);
  }

  /* Whole contact column (lede, details, CTAs) — same inset as form fields */
  .contact-side {
    padding-inline: var(--text-inset);
  }

  .hero-copy {
    max-width: none;
    width: 100%;
  }

  /* Let paragraph copy reflow naturally — drop desktop forced breaks */
  p br:not(.mobile-br) {
    display: none;
  }

  .hero-highlight .mobile-br {
    display: inline;
  }

  .hero-highlight {
    margin-bottom: 36px;
  }

  /* Keep CTA stack clear of the bottom scroll cue */
  .hero-actions {
    position: relative;
    z-index: 3;
    padding-bottom: 8px;
  }

  .hero h1 {
    font-size: clamp(26px, 7.2vw, 36px);
  }

  /* Allow wrap — nowrap overflow was crushing the hero CTAs on narrow screens */
  .hero-h1-line {
    white-space: normal;
  }

  .hero-media::after {
    background: linear-gradient(
      180deg,
      oklch(97% 0.006 90 / 0.72) 0%,
      oklch(97% 0.006 90 / 0.28) 55%,
      oklch(97% 0.006 90 / 0.08) 100%
    );
  }

  /*
   * Unified mobile CTAs (hero pattern):
   * primary = full-width coral button (from global .btn rule)
   * secondary (.btn-ghost) = text link under it (not full-width)
   */
  .hero-actions,
  .mid-cta .btn-row,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
  }

  .hero-actions .btn-ghost,
  .mid-cta .btn-row .btn-ghost,
  .contact-actions .btn-ghost {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    margin-top: 16px;
    margin-left: 4px;
    margin-right: 0;
    padding: 2px 0 3px 6px;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ink-muted);
    text-decoration: none;
    border-bottom: 1.5px solid color-mix(in oklch, var(--coral) 50%, transparent);
    box-shadow: none;
    line-height: 1.35;
    width: auto;
    min-width: 0;
    min-height: 0;
  }

  .hero-actions .btn-ghost .cta-arrow,
  .mid-cta .btn-row .btn-ghost .cta-arrow,
  .contact-actions .btn-ghost .cta-arrow {
    flex: none;
    display: block;
    width: 14px;
    height: 14px;
  }

  .hero-actions .btn-ghost:hover,
  .mid-cta .btn-row .btn-ghost:hover,
  .contact-actions .btn-ghost:hover {
    background: transparent;
    color: var(--coral-deep);
    border-bottom-color: var(--coral-deep);
    transform: none;
    box-shadow: none;
  }

  .section {
    padding: 72px 0;
  }

  .section-mid-cta {
    padding: 28px 0 64px;
  }

  .mid-cta {
    padding: 36px 28px 44px;
  }

  .faq-grid {
    gap: 32px;
  }

  .form {
    padding: 28px;
  }

  .price-card {
    padding: 36px 28px;
  }

  .site-footer {
    padding: 36px 0 28px;
  }
}

/* ——— Scroll reveal (lazy load pop) ——— */
.reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.96);
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s cubic-bezier(0.34, 1.35, 0.64, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* Platforms: opacity only — chip physics owns transform */
.platforms.reveal,
.platforms.reveal.is-in {
  transform: none;
}

/* Large screens: chips sit in the fold — no scroll-reveal pop */
@media (min-width: 1080px) {
  .platforms.reveal {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}