/* ============================================================
   RXoptika — avaleht
   Nordic-minimal optician homepage. Calm, airy, trustworthy.
   Palette: white #FFF, cool tint #F4F8FC, ink #1A1A1A, blue #2F6FE0
   ============================================================ */

:root {
  --bg: #ffffff;
  --tint: #f4f8fc;
  --tint-deep: #eaf1fb;
  --ink: #1a1a1a;
  --ink-soft: #41464d;
  --ink-muted: #6b7280;
  --line: #e7ecf3;
  --line-soft: #eef2f7;
  --accent: #2f6fe0;
  --accent-ink: color-mix(in srgb, var(--accent) 80%, #000);   /* hover / pressed */
  --accent-wash: color-mix(in srgb, var(--accent) 11%, #fff);  /* very light accent fill */
  --accent-contrast: #ffffff;

  --font: "Schibsted Grotesk", system-ui, -apple-system, sans-serif;

  --maxw: 1180px;
  --pad: 40px;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;

  --shadow-sm: 0 1px 2px rgba(20,30,55,.04), 0 2px 8px rgba(20,30,55,.04);
  --shadow-md: 0 4px 14px rgba(20,40,80,.06), 0 18px 40px rgba(20,40,80,.07);
  --shadow-lg: 0 10px 30px rgba(20,40,80,.08), 0 30px 70px rgba(20,40,80,.10);

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 18px;
  line-height: 1.6;
}

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

a { color: inherit; text-decoration: none; }

::selection { background: var(--accent-wash); }

/* ---- layout helpers ---- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.section { padding: 116px 0; }
.section--tint { background: var(--tint); }
.section--tight { padding: 84px 0; }

.eyebrow {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}

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

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.08; }
h2.title { font-size: clamp(32px, 4vw, 46px); letter-spacing: -.025em; }
h3 { font-size: 22px; letter-spacing: -.01em; line-height: 1.25; }

p { margin: 0; }
.lead { font-size: 20px; line-height: 1.55; color: var(--ink-soft); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  --h: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .18s var(--ease), background .18s var(--ease),
              box-shadow .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-contrast);
  box-shadow: 0 2px 8px rgba(47,111,224,.28), 0 10px 24px rgba(47,111,224,.22);
}
.btn-primary:hover {
  background: var(--accent-ink);
  box-shadow: 0 4px 14px rgba(47,111,224,.34), 0 16px 34px rgba(47,111,224,.26);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #cfd9e6; background: #fbfdff; }

.btn-soft {
  background: var(--accent-wash);
  color: var(--accent-ink);
}
.btn-soft:hover { background: var(--tint-deep); }

.btn-sm { --h: 46px; padding: 0 20px; font-size: 15.5px; }
.btn-lg { --h: 62px; padding: 0 34px; font-size: 18.5px; }

.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 1px 0 rgba(20,40,80,.02), 0 8px 24px rgba(20,40,80,.04);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 78px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 600; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent);
  color: #fff;
  flex: 0 0 auto;
}
.brand__mark svg { width: 19px; height: 19px; }
.brand__name { font-size: 21px; letter-spacing: -.02em; }
.brand__name b { font-weight: 600; }
.brand__name span { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav a {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 9px 14px;
  border-radius: 9px;
  transition: color .15s, background .15s;
}
.nav a:hover { color: var(--ink); background: var(--tint); }

.header__right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.header__phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15.5px; font-weight: 600; color: var(--ink);
}
.header__phone svg { width: 16px; height: 16px; color: var(--accent); }
.header__phone span.lbl { color: var(--ink-muted); font-weight: 500; }

/* ============================================================
   Hero (shared + variants)
   ============================================================ */
.hero { position: relative; overflow: hidden; }
.hero__trust {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14.5px; color: var(--ink-muted); font-weight: 500;
  margin-top: 30px;
}
.hero__trust .dot { width: 5px; height: 5px; border-radius: 50%; background: #c6d2e2; }
.hero__cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

.hero h1 {
  font-size: clamp(38px, 5.4vw, 66px);
  letter-spacing: -.03em;
  line-height: 1.04;
}
.hero .sub { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-soft); line-height: 1.5; margin-top: 22px; max-width: 30ch; }

/* Variant A — split */
.hero--a { padding: 92px 0 104px; }
.hero--a .grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 72px;
  align-items: center;
}
.hero--a .sub { max-width: 34ch; }

/* Variant B — centered editorial */
.hero--b { padding: 88px 0 0; text-align: center; }
.hero--b .inner { max-width: 880px; margin: 0 auto; }
.hero--b h1 { font-size: clamp(40px, 6vw, 76px); }
.hero--b .sub { margin: 24px auto 0; max-width: 56ch; }
.hero--b .hero__cta { justify-content: center; }
.hero--b .hero__trust { margin-top: 26px; }
.hero--b .stage {
  margin-top: 64px;
  background: var(--tint);
  padding-top: 70px;
}

/* Variant C — overlap card */
.hero--c { padding: 64px 0 104px; }
.hero--c .stage { position: relative; }
.hero--c .card {
  position: absolute;
  left: 0; bottom: 48px;
  width: min(540px, 60%);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--r-xl);
  padding: 44px 44px 40px;
  box-shadow: var(--shadow-lg);
}
.hero--c .card h1 { font-size: clamp(30px, 3.4vw, 46px); }
.hero--c .chip {
  position: absolute;
  right: 30px; top: 30px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
  font-size: 14px;
}
.hero--c .chip b { display: block; font-size: 16px; letter-spacing: -.01em; }
.hero--c .chip .ic { width: 38px; height: 38px; border-radius: 11px; background: var(--accent-wash); color: var(--accent-ink); display: grid; place-items: center; }
.hero--c .chip .ic svg { width: 20px; height: 20px; }

/* hero media */
.hero-media { width: 100%; }
.hero-media--a { aspect-ratio: 4/4.4; }
.hero-media--b { width: 100%; aspect-ratio: 16/8; }
.hero-media--c { width: 100%; aspect-ratio: 16/8.4; }

image-slot { width: 100%; height: 100%; }
image-slot::part(frame) { background: linear-gradient(140deg, #eef4fc 0%, #e1ebf8 100%); }
image-slot::part(ring) { border-color: #b9cdec; }
image-slot::part(empty) { color: #5f7da6; }

/* small floating stat for hero A */
.hero--a .media-wrap { position: relative; }
.hero--a .floatcard {
  position: absolute;
  left: -28px; bottom: 34px;
  background: #fff;
  border-radius: 18px;
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 14px;
}
.hero--a .floatcard .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-wash); color: var(--accent-ink); display: grid; place-items: center; }
.hero--a .floatcard .ic svg { width: 22px; height: 22px; }
.hero--a .floatcard b { display: block; font-size: 17px; letter-spacing: -.01em; }
.hero--a .floatcard span { font-size: 13.5px; color: var(--ink-muted); }

/* ============================================================
   Services
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 56px;
}
.scard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.scard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.scard .ic {
  width: 58px; height: 58px; border-radius: 16px;
  background: var(--accent-wash); color: var(--accent-ink);
  display: grid; place-items: center; margin-bottom: 26px;
}
.scard .ic svg { width: 28px; height: 28px; }
.scard h3 { margin-bottom: 12px; }
.scard p { color: var(--ink-soft); font-size: 16.5px; line-height: 1.55; }
.scard .links { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-soft); display: flex; align-items: center; gap: 20px; }
.scard .links a.more { color: var(--ink-muted); font-weight: 500; font-size: 15px; }
.scard .links a.more:hover { color: var(--ink); }
.linkbtn {
  background: none; border: 0; font-family: inherit; cursor: pointer;
  color: var(--accent); font-weight: 600; font-size: 15.5px;
  display: inline-flex; align-items: center; gap: 7px; padding: 0;
}
.linkbtn .arrow { transition: transform .2s var(--ease); }
.linkbtn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   Trust / Meist
   ============================================================ */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.meist p + p { margin-top: 18px; }
.meist .quote { font-size: 21px; line-height: 1.5; color: var(--ink); letter-spacing: -.01em; }
.meist .body { color: var(--ink-soft); font-size: 17px; }

.person {
  display: flex; align-items: center; gap: 18px;
  margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line);
}
.person .photo { width: 76px; height: 76px; flex: 0 0 auto; }
.person .name { font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.person .role { color: var(--ink-muted); font-size: 15px; }

.trust-aside { display: flex; flex-direction: column; gap: 20px; }
.factcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 28px;
}
.factcard.stat { display: flex; align-items: baseline; gap: 16px; }
.factcard.stat .num { font-size: 46px; font-weight: 600; letter-spacing: -.03em; color: var(--accent); line-height: 1; }
.factcard.stat .txt { color: var(--ink-soft); font-size: 16px; }
.factrow { display: flex; align-items: flex-start; gap: 14px; }
.factrow .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--tint); color: var(--accent-ink); display: grid; place-items: center; flex: 0 0 auto; }
.factrow .ic svg { width: 20px; height: 20px; }
.factrow h4 { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
.factrow .meta { color: var(--ink-muted); font-size: 15px; line-height: 1.5; }
.factrow .meta a.maplink { color: var(--accent); font-weight: 500; }
.hours { display: grid; grid-template-columns: auto auto; gap: 6px 22px; margin-top: 4px; font-size: 15px; }
.hours .d { color: var(--ink-soft); }
.hours .t { color: var(--ink); font-weight: 500; text-align: right; }
.badge-row { display: flex; align-items: center; gap: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--accent-wash); color: var(--accent-ink);
  border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 600;
}
.badge svg { width: 16px; height: 16px; }

/* map placeholder */
.mapbox { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); height: 200px; background: var(--tint-deep); }
.mapbox .pin { position: absolute; left: 50%; top: 46%; transform: translate(-50%,-50%); }
.mapbox .pin .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(47,111,224,.18); }
.mapbox .grid-lines { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 38px 38px; opacity: .6; }
.mapbox .roads { position: absolute; inset: 0; }
.mapbox .addr { position: absolute; left: 14px; bottom: 12px; background: #fff; border-radius: 10px; padding: 8px 12px; font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow-sm); }

/* ============================================================
   Steps — kuidas broneerimine käib
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
  counter-reset: step;
}
.step { position: relative; padding-right: 18px; }
.step .n {
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--accent);
  color: var(--accent-ink); font-weight: 600; font-size: 20px;
  display: grid; place-items: center; margin-bottom: 22px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 16.5px; }
.step .connector {
  position: absolute; top: 26px; left: 64px; right: -14px; height: 1.5px;
  background: linear-gradient(90deg, var(--line), var(--line));
}
.step:last-child .connector { display: none; }

/* ============================================================
   Brands (supporting)
   ============================================================ */
.brands { text-align: center; }
.brands .label { font-size: 14.5px; color: var(--ink-muted); font-weight: 500; }
.brands .row {
  margin-top: 28px;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 14px 40px;
}
.brands .row span {
  font-size: 22px; font-weight: 600; letter-spacing: .02em;
  color: #9aa6b6;
  font-variant: small-caps;
  line-height: 1.3;
  transition: color .2s;
}
.brands .row span:hover { color: var(--ink-soft); }
.brands .note { margin-top: 26px; font-size: 14.5px; color: var(--ink-muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer; font-family: inherit;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px; text-align: left;
  font-size: 18.5px; font-weight: 600; color: var(--ink); letter-spacing: -.01em;
}
.faq-q .pm { flex: 0 0 auto; width: 26px; height: 26px; position: relative; }
.faq-q .pm::before, .faq-q .pm::after {
  content: ""; position: absolute; background: var(--accent); border-radius: 2px;
  left: 50%; top: 50%; transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.faq-q .pm::before { width: 14px; height: 2px; transform: translate(-50%,-50%); }
.faq-q .pm::after { width: 2px; height: 14px; transform: translate(-50%,-50%); }
.faq-item[data-open="true"] .pm::after { transform: translate(-50%,-50%) scaleY(0); opacity: 0; }
.faq-a { overflow: hidden; height: 0; transition: height .3s var(--ease); }
.faq-a .inner { padding: 0 4px 26px; color: var(--ink-soft); font-size: 17px; line-height: 1.6; max-width: 60ch; }

/* ============================================================
   Final CTA
   ============================================================ */
.finalcta { text-align: center; }
.finalcta .box {
  background: var(--accent);
  border-radius: var(--r-xl);
  padding: 80px 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.finalcta .box::before, .finalcta .box::after {
  content: ""; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.finalcta .box::before { width: 420px; height: 420px; right: -120px; top: -160px; }
.finalcta .box::after { width: 320px; height: 320px; left: -120px; bottom: -180px; }
.finalcta h2 { color: #fff; font-size: clamp(30px, 3.8vw, 48px); position: relative; }
.finalcta p { color: rgba(255,255,255,.86); font-size: 19px; margin-top: 18px; position: relative; }
.finalcta .actions { margin-top: 38px; display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; position: relative; }
.finalcta .btn-white { background: #fff; color: var(--accent-ink); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.finalcta .btn-white:hover { background: #f4f8ff; transform: translateY(-1px); }
.finalcta .phone {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; font-weight: 600; font-size: 19px;
}
.finalcta .phone svg { width: 19px; height: 19px; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--ink); color: #c8cdd6; padding: 76px 0 40px; }
.footer a { color: #c8cdd6; }
.footer a:hover { color: #fff; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand__name { color: #fff; }
.footer .brand__mark { background: var(--accent); }
.footer .blurb { margin-top: 20px; font-size: 15.5px; line-height: 1.6; max-width: 30ch; color: #98a0ac; }
.footer h5 { color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; font-size: 15.5px; }
.footer .contact-line { font-size: 15.5px; line-height: 1.65; color: #c8cdd6; }
.footer .contact-line a { font-weight: 500; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.07); display: grid; place-items: center; transition: background .2s; }
.footer__social a:hover { background: rgba(255,255,255,.14); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom { margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 20px; font-size: 13.5px; color: #818a97; flex-wrap: wrap; }

/* ============================================================
   Booking modal
   ============================================================ */
.modal-scrim {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(16,26,46,.42);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 28px;
  opacity: 0; pointer-events: none;
  transition: opacity .26s var(--ease);
}
.modal-scrim[data-open="true"] { opacity: 1; pointer-events: auto; }
.modal {
  width: 100%; max-width: 620px;
  background: #fff; border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(16px) scale(.98);
  transition: transform .3s var(--ease);
  max-height: calc(100vh - 56px);
  display: flex; flex-direction: column;
}
.modal-scrim[data-open="true"] .modal { transform: none; }
.modal__head { padding: 26px 30px 0; }
.modal__topbar { display: flex; align-items: center; justify-content: space-between; }
.modal__title { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.modal__close { width: 38px; height: 38px; border: 0; background: var(--tint); border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: var(--ink-soft); transition: background .15s; }
.modal__close:hover { background: var(--tint-deep); }
.modal__close svg { width: 18px; height: 18px; }

.steps-bar { display: flex; align-items: center; gap: 10px; margin: 22px 0 4px; }
.steps-bar .s { flex: 1; height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; }
.steps-bar .s i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 3px; transition: width .35s var(--ease); }
.steps-bar .s.done i, .steps-bar .s.active i { width: 100%; }
.steps-bar .s.active i { width: 100%; }

.modal__body { padding: 24px 30px 4px; overflow-y: auto; }
.modal__body h3 { font-size: 24px; letter-spacing: -.02em; }
.modal__body .step-sub { color: var(--ink-muted); font-size: 15.5px; margin-top: 8px; }

.choice { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.choice button {
  display: flex; align-items: center; gap: 16px; width: 100%;
  background: #fff; border: 1.5px solid var(--line); border-radius: 16px;
  padding: 18px 20px; cursor: pointer; font-family: inherit; text-align: left;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.choice button:hover { border-color: #cdd9ea; background: #fcfdff; }
.choice button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-wash); box-shadow: 0 0 0 3px rgba(47,111,224,.12); }
.choice .ic { width: 46px; height: 46px; border-radius: 13px; background: var(--accent-wash); color: var(--accent-ink); display: grid; place-items: center; flex: 0 0 auto; }
.choice button[aria-pressed="true"] .ic { background: #fff; }
.choice .ic svg { width: 23px; height: 23px; }
.choice .t b { display: block; font-size: 17px; letter-spacing: -.01em; }
.choice .t span { font-size: 14.5px; color: var(--ink-muted); }
.choice .check { margin-left: auto; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; flex: 0 0 auto; transition: background .15s, border-color .15s; }
.choice button[aria-pressed="true"] .check { background: var(--accent); border-color: var(--accent); }
.choice .check svg { width: 14px; height: 14px; color: #fff; opacity: 0; transition: opacity .15s; }
.choice button[aria-pressed="true"] .check svg { opacity: 1; }

.daypick { display: flex; gap: 10px; margin-top: 22px; overflow-x: auto; padding-bottom: 6px; }
.daypick button {
  flex: 0 0 auto; min-width: 74px; padding: 12px 8px; border-radius: 14px;
  border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-family: inherit;
  text-align: center; transition: border-color .15s, background .15s;
}
.daypick button .dow { font-size: 13px; color: var(--ink-muted); text-transform: capitalize; }
.daypick button .dnum { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin-top: 2px; }
.daypick button .mon { font-size: 12px; color: var(--ink-muted); }
.daypick button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-wash); color: var(--accent-ink); }
.daypick button:disabled { opacity: .38; cursor: not-allowed; }

.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; }
.slots button {
  padding: 13px 0; border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
  cursor: pointer; font-family: inherit; font-size: 16px; font-weight: 500;
  transition: border-color .15s, background .15s;
}
.slots button:hover:not(:disabled) { border-color: #cdd9ea; }
.slots button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: #fff; }
.slots button:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }

.field { margin-top: 18px; }
.field label { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 13px; padding: 14px 16px;
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47,111,224,.12); }
.field input[aria-invalid="true"] { border-color: #e0556b; }
.field .err { color: #d23a55; font-size: 13.5px; margin-top: 7px; }
.summ { background: var(--tint); border-radius: 16px; padding: 18px 20px; margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.summ .r { display: flex; justify-content: space-between; gap: 16px; font-size: 15.5px; }
.summ .r .k { color: var(--ink-muted); }
.summ .r .v { font-weight: 600; text-align: right; }

.modal__foot { padding: 20px 30px 26px; display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line-soft); margin-top: 22px; }
.modal__foot .spacer { flex: 1; }
.btn-back { background: none; border: 0; font-family: inherit; cursor: pointer; color: var(--ink-soft); font-weight: 600; font-size: 16px; padding: 10px 6px; display: inline-flex; align-items: center; gap: 7px; }
.btn-back:hover { color: var(--ink); }

.confirm { text-align: center; padding: 26px 30px 40px; }
.confirm .tick { width: 84px; height: 84px; border-radius: 50%; background: var(--accent-wash); color: var(--accent); display: grid; place-items: center; margin: 8px auto 24px; animation: pop .4s var(--ease); }
.confirm .tick svg { width: 40px; height: 40px; }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.confirm h3 { font-size: 26px; }
.confirm p { color: var(--ink-soft); margin-top: 12px; font-size: 16.5px; }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  :root { --pad: 26px; }
  .section { padding: 80px 0; }
  .hero--a .grid { grid-template-columns: 1fr; gap: 44px; }
  .hero--a .media-wrap { max-width: 540px; }
  .services-grid { grid-template-columns: 1fr; }
  .trust-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .step .connector { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav { display: none; }
  .hero--c .card { position: static; width: 100%; margin-top: -60px; }
}
@media (max-width: 560px) {
  .slots { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr; }
  .header__phone { display: none; }
}
