/* =========================================================
   DTS — Doctor Therapy Services
   Design tokens, layout, components. Plain CSS, no build step.
   ========================================================= */
:root {
  --green: #2F5D3C;
  --green-deep: #244a30;
  --teal: #3E6B6F;
  --ochre: #B8622B;
  --olive: #5E6E38;
  --slate: #46587A;
  --plum: #6A4C6E;
  --yellow: #E9C46A;
  --sand: #EAD9A6;
  --cream: #F4E8CC;
  --paper: #FBF7EE;
  --paper-2: #F3ECDD;
  --ink: #1C2627;
  --ink-2: #3f4a4b;
  --muted: #6b7474;
  --line: rgba(28, 38, 39, 0.12);
  --white: #ffffff;
  --danger: #b23b3b;
  --ok: #2f7d4a;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(28, 38, 39, 0.08);
  --shadow-lg: 0 24px 60px rgba(28, 38, 39, 0.14);
  --maxw: 1180px;
  --nav-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: .8rem;
}
.container { width: min(var(--maxw), 100% - 40px); margin-inline: auto; }
@media (max-width: 640px) { .container { width: min(var(--maxw), 100% - 32px); } }
section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.center { text-align: center; margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; justify-content: center;
  padding: .9rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.btn-primary { background: var(--ochre); color: var(--white); box-shadow: 0 8px 22px rgba(184, 98, 43, .3); }
.btn-primary:hover { background: #a3551f; box-shadow: 0 12px 28px rgba(184, 98, 43, .38); }
.btn-secondary { background: transparent; color: var(--green); border-color: var(--green); }
.btn-secondary:hover { background: var(--green); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--green); }
.btn-light:hover { background: var(--white); }
.btn-lg { padding: 1.1rem 2rem; font-size: 1.08rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none; }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(251, 247, 238, .82); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(28, 38, 39, .06); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 42px; height: 42px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .04em; }
.brand-text span { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) { text-decoration: none; font-weight: 500; color: var(--ink-2); font-size: .98rem; position: relative; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--ochre); transition: right .2s; }
.nav-links a:not(.btn):hover::after { right: 0; }
.nav-links .btn { padding: .7rem 1.2rem; font-size: .95rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; border-radius: 10px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    padding: .5rem 20px 1.25rem; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border: 0; padding-top: 1rem; }
  .nav-links a:not(.btn) { display: block; padding: .95rem 0; font-size: 1.05rem; }
  .nav-links .btn { width: 100%; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 7vw, 100px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: auto -10% -40% auto; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(closest-side, rgba(233, 196, 106, .35), transparent 70%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-copy .pill {
  display: inline-flex; align-items: center; gap: .5rem; background: var(--cream); color: var(--green); border-radius: 999px;
  padding: .4rem .9rem .4rem .5rem; font-size: .85rem; font-weight: 600; margin-bottom: 1.4rem;
}
.hero-copy .pill i { width: 22px; height: 22px; border-radius: 50%; background: var(--ochre); display: inline-grid; place-items: center; color: white; font-style: normal; font-size: .75rem; }
.hero-copy h1 em { font-style: italic; color: var(--green); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; align-items: center; }
.hero-note { font-size: .92rem; color: var(--muted); margin-top: 1rem; }
.hero-art { position: relative; }
.hero-art img { width: 100%; height: auto; border-radius: 28px; box-shadow: var(--shadow-lg); transform: rotate(-1.2deg); }
.hero-art .badge {
  position: absolute; right: -14px; bottom: 26px; background: var(--white); border-radius: 16px; padding: .8rem 1rem;
  box-shadow: var(--shadow); display: flex; gap: .7rem; align-items: center; font-size: .9rem; max-width: 260px;
}
.hero-art .badge b { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.hero-art .badge .dot { width: 38px; height: 38px; border-radius: 12px; background: var(--green); display: grid; place-items: center; color: var(--yellow); font-size: 1.2rem; flex: none; }
@media (max-width: 640px) { .hero-art .badge { display: none; } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 520px; margin-inline: auto; }
  .hero-art .badge { right: 8px; bottom: 12px; }
}

/* ---------- trust strip ---------- */
.trust { padding: 0 0 clamp(40px, 5vw, 64px); }
.trust-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.trust-item { background: var(--paper-2); padding: 1.2rem 1.3rem; display: flex; gap: .9rem; align-items: center; }
.trust-item .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--cream); color: var(--green); display: grid; place-items: center; flex: none; }
.trust-item b { display: block; font-size: .98rem; }
.trust-item small { color: var(--muted); font-size: .86rem; }
@media (max-width: 900px) { .trust-inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust-inner { grid-template-columns: 1fr; } }

/* ---------- who we help (reference-style cards) ---------- */
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.help-card {
  position: relative; border-radius: 22px; overflow: hidden; color: var(--cream); text-decoration: none; min-height: 300px;
  display: flex; flex-direction: column; justify-content: flex-start; padding: 1.6rem; isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease; box-shadow: var(--shadow);
}
.help-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.help-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.help-card h3 { font-size: 1.8rem; margin: 0 0 .25rem; font-weight: 500; }
.help-card .cta { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; font-size: .98rem; }
.help-card .cta i { width: 24px; height: 24px; border-radius: 50%; background: rgba(244, 232, 204, .9); color: var(--ink); display: grid; place-items: center; font-style: normal; font-size: .9rem; transition: transform .2s; }
.help-card:hover .cta i { transform: translateX(4px); }
.help-card.green { background: var(--green); } .help-card.teal { background: var(--teal); } .help-card.ochre { background: var(--ochre); }
@media (max-width: 860px) { .help-grid { grid-template-columns: 1fr; } .help-card { min-height: 240px; } }

/* ---------- services ---------- */
.services { background: var(--paper-2); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc {
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.svc img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc-body { padding: 1.35rem 1.4rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { margin-bottom: .3rem; font-size: 1.3rem; }
.svc-body .for { font-size: .84rem; color: var(--teal); font-weight: 600; margin-bottom: .6rem; }
.svc-body p { color: var(--ink-2); font-size: .95rem; }
.svc-body details { margin-top: auto; border-top: 1px solid var(--line); padding-top: .6rem; }
.svc-body summary { cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--green); list-style: none; display: flex; align-items: center; gap: .4rem; }
.svc-body summary::-webkit-details-marker { display: none; }
.svc-body summary::before { content: "+"; width: 20px; height: 20px; border-radius: 6px; background: var(--cream); display: inline-grid; place-items: center; font-weight: 700; }
.svc-body details[open] summary::before { content: "–"; }
.svc-body ul { margin: .6rem 0 0; padding-left: 1.1rem; color: var(--ink-2); font-size: .92rem; }
.svc-body li { margin: .25rem 0; }
.svc-cta { background: var(--green); color: var(--cream); padding: 2rem 1.6rem; display: flex; flex-direction: column; justify-content: center; gap: .6rem; }
.svc-cta h3 { color: var(--cream); font-size: 1.6rem; }
.svc-cta p { color: rgba(244, 232, 204, .85); font-size: .98rem; }
.svc-cta .btn { align-self: flex-start; margin-top: .4rem; }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--white); border-radius: var(--radius); padding: 1.8rem 1.6rem; box-shadow: var(--shadow); position: relative; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-size: 2.6rem; color: var(--yellow); line-height: 1; display: block; margin-bottom: .6rem;
}
.step h3 { font-size: 1.25rem; }
.step p { color: var(--ink-2); font-size: .98rem; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { padding: 0; }
.cta-inner {
  background: var(--green); color: var(--cream); border-radius: 28px; padding: clamp(36px, 5vw, 64px);
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: center; position: relative; overflow: hidden;
}
.cta-inner::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(233, 196, 106, .18); }
.cta-inner h2 { color: var(--cream); }
.cta-inner p { color: rgba(244, 232, 204, .85); max-width: 56ch; }
.cta-inner .actions { display: flex; flex-direction: column; gap: .8rem; align-items: flex-end; position: relative; z-index: 1; }
.cta-inner .actions small { color: rgba(244, 232, 204, .75); font-size: .85rem; }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } .cta-inner .actions { align-items: flex-start; } }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-grid img { border-radius: 24px; box-shadow: var(--shadow); }
.values { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .8rem; }
.values li { display: flex; gap: .8rem; align-items: flex-start; color: var(--ink-2); }
.values li::before { content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--cream); color: var(--green); font-weight: 700; display: grid; place-items: center; font-size: .9rem; margin-top: .15rem; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { background: var(--paper-2); }
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--ochre); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer { padding: 0 1.3rem 1.2rem; color: var(--ink-2); font-size: .98rem; }

/* ---------- footer ---------- */
footer { background: var(--ink); color: rgba(244, 232, 204, .8); padding: clamp(40px, 6vw, 72px) 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
footer h4 { color: var(--cream); font-family: var(--font-body); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
footer a { color: inherit; text-decoration: none; }
footer a:hover { color: var(--yellow); }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.foot-brand { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.foot-brand img { width: 44px; }
.foot-brand strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--cream); display: block; line-height: 1; }
.foot-brand span { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
.crisis { background: rgba(244, 232, 204, .07); border-radius: 12px; padding: .9rem 1rem; font-size: .88rem; line-height: 1.5; }
.crisis b { color: var(--yellow); }
.foot-bottom { border-top: 1px solid rgba(244, 232, 204, .14); margin-top: 2.2rem; padding-top: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; } .reveal[data-delay="2"] { transition-delay: .16s; } .reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- progress bar ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--ochre); z-index: 60; transition: width .1s linear; }

/* =========================================================
   Booking page
   ========================================================= */
.book-hero { padding: clamp(36px, 5vw, 64px) 0 12px; }
.book-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.book-meta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .6rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; background: var(--cream); color: var(--green); border-radius: 999px; padding: .38rem .85rem; font-size: .86rem; font-weight: 600; }
.book-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; padding-bottom: clamp(56px, 8vw, 100px); }
@media (max-width: 960px) { .book-layout { grid-template-columns: 1fr; } }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(18px, 3vw, 28px); }
.card + .card { margin-top: 20px; }
.card h2 { font-size: 1.35rem; display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.card h2 .n { width: 32px; height: 32px; border-radius: 10px; background: var(--green); color: var(--yellow); display: grid; place-items: center; font-size: 1rem; font-family: var(--font-display); flex: none; }
.card h2 .done { margin-left: auto; font-size: .8rem; color: var(--ok); font-family: var(--font-body); font-weight: 600; }

/* calendar */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
.cal-head b { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.cal-nav { background: var(--paper-2); border: 0; width: 38px; height: 38px; border-radius: 10px; cursor: pointer; font-size: 1.1rem; color: var(--ink); }
.cal-nav:hover { background: var(--cream); }
.cal-nav[disabled] { opacity: .35; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-grid .dow { text-align: center; font-size: .74rem; font-weight: 600; color: var(--muted); letter-spacing: .06em; padding: .3rem 0; }
.day {
  aspect-ratio: 1.25; border-radius: 12px; border: 0; background: var(--paper-2); font: inherit; font-weight: 500; color: var(--ink);
  cursor: pointer; display: grid; place-items: center; position: relative; transition: background .15s, transform .15s;
}
.day:hover:not([disabled]) { background: var(--cream); transform: translateY(-1px); }
.day[disabled] { background: transparent; color: #b7bcbc; cursor: not-allowed; }
.day.empty { visibility: hidden; }
.day.today::after { content: ""; position: absolute; bottom: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--ochre); }
.day.selected { background: var(--green); color: var(--cream); }
.day.selected.today::after { background: var(--yellow); }
.cal-legend { display: flex; gap: 1.1rem; margin-top: .8rem; font-size: .8rem; color: var(--muted); flex-wrap: wrap; }
.cal-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .35rem; vertical-align: -1px; }

/* time slots */
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 520px) { .slots { grid-template-columns: repeat(3, 1fr); } }
.slot {
  border: 1.5px solid var(--line); background: var(--white); border-radius: 10px; padding: .65rem .3rem; font: inherit; font-size: .93rem;
  font-weight: 500; cursor: pointer; transition: all .15s;
}
.slot:hover:not([disabled]) { border-color: var(--green); background: var(--cream); }
.slot.selected { background: var(--green); color: var(--cream); border-color: var(--green); }
.slot[disabled] { background: var(--paper-2); color: #b0b6b6; cursor: not-allowed; text-decoration: line-through; }
.slots-note { font-size: .86rem; color: var(--muted); margin: .8rem 0 0; }
.placeholder { color: var(--muted); font-size: .95rem; padding: 1.4rem; text-align: center; background: var(--paper-2); border-radius: 12px; border: 1px dashed var(--line); }

/* form */
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.field label small { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%; font: inherit; padding: .8rem .95rem; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper);
  color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(62, 107, 111, .15); background: var(--white); }
.field .err { color: var(--danger); font-size: .82rem; margin-top: .3rem; display: none; }
.field.invalid input { border-color: var(--danger); }
.field.invalid .err { display: block; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--ink-2); margin: 1rem 0 1.2rem; }
.consent input { margin-top: .3rem; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* summary */
.summary { position: sticky; top: calc(var(--nav-h) + 16px); }
.summary .row { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.summary .row:last-of-type { border: 0; }
.summary .row span:first-child { color: var(--muted); }
.summary .row b { text-align: right; }
.summary .empty { color: var(--muted); font-style: italic; }
.summary .btn { width: 100%; margin-top: 1rem; }
.summary .fine { font-size: .8rem; color: var(--muted); margin: .8rem 0 0; }
.alert { border-radius: 12px; padding: .9rem 1rem; font-size: .92rem; margin-bottom: 1rem; }
.alert-warn { background: #fff4d6; color: #7a5200; border: 1px solid #f1dc9c; }
.alert-err { background: #fde8e8; color: var(--danger); border: 1px solid #f3bcbc; }

/* confirmation */
.confirm { text-align: center; padding: clamp(28px, 5vw, 56px) clamp(18px, 4vw, 48px); }
.confirm .check { width: 76px; height: 76px; border-radius: 50%; background: var(--green); color: var(--yellow); display: grid; place-items: center; margin: 0 auto 1.2rem; font-size: 2rem; }
.confirm .details { text-align: left; max-width: 480px; margin: 1.4rem auto; background: var(--paper-2); border-radius: 14px; padding: 1rem 1.2rem; }
.confirm .details div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.confirm .details div:last-child { border: 0; }
.confirm .details span { color: var(--muted); }
.confirm .meet { word-break: break-all; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: white; border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
