/* Northside Physio & Sports Clinic — concept by Gabriel Cerezo */
:root {
  --paper: #f6f3ec;
  --paper-2: #eee9dd;
  --surface: #fcfbf7;
  --ink: #1b2623;
  --ink-2: #33423e;
  --muted: #56635f;
  --green: #134e48;
  --green-2: #0d3a35;
  --green-3: #1d6a61;
  --sage: #e3ebe5;
  --sage-2: #cfdfd6;
  --mint: #a7d3c8;
  --accent: #e48a5c;
  --accent-soft: #f6dccb;
  --accent-ink: #a3441d;
  --danger: #a3322a;
  --rule: rgba(27, 38, 35, 0.13);
  --rule-strong: rgba(27, 38, 35, 0.3);
  --display: "Alegreya Sans", "Gill Sans", "Segoe UI", system-ui, sans-serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4.5vw, 56px);
  --max: 1220px;
  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(19, 78, 72, 0.06), 0 12px 32px -16px rgba(19, 78, 72, 0.28);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -0.012em; color: var(--ink); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--green); color: var(--paper); padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.defs { position: absolute; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 16px; line-height: 1.1; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn .ico { width: 18px; height: 18px; flex: none; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn-primary { background: var(--green); color: var(--paper); }
.btn-primary:hover { background: var(--green-2); }
.btn-primary:hover .ico { transform: translateX(2px); }
.btn .ico { transition: transform .2s; }
.btn-line { border-color: var(--rule-strong); color: var(--green); background: transparent; }
.btn-line:hover { border-color: var(--green); background: var(--sage); }
.btn-ghost { background: transparent; color: var(--green); padding-left: 10px; padding-right: 14px; }
.btn-ghost:hover { background: var(--sage); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: #ec9b71; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--mint); padding-bottom: 2px; }
.text-link:hover { border-color: var(--green); }
.text-link .ico { width: 16px; height: 16px; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 14px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #2f9a6c; box-shadow: 0 0 0 3px rgba(47, 154, 108, 0.18); flex: none; }
.is-closed .status-dot, .status-dot.is-closed { background: #b9705a; box-shadow: 0 0 0 3px rgba(185, 112, 90, .18); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 243, 236, 0.9); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-bottom-color: var(--rule); }
.nav { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--green); margin-right: auto; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; color: var(--green); }
.brand-sub { font-size: 12.5px; color: var(--muted); letter-spacing: .02em; margin-top: 3px; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu a:not(.btn) { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: 15.5px; font-weight: 500; color: var(--ink-2); transition: background-color .2s, color .2s; }
.menu a:not(.btn):hover { background: var(--sage); color: var(--green); }
.menu-cta { margin-left: 8px; }
.menu-btn, .nav-book { display: none; }

@media (max-width: 960px) {
  .nav { gap: 10px; min-height: 64px; }
  .nav-book { display: inline-flex; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1.5px solid var(--rule-strong); border-radius: 50%; background: transparent; }
  .bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: var(--green); border-radius: 2px; transition: transform .25s, opacity .2s; }
  .bars { position: relative; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -6px; } .bars::after { top: 6px; }
  .menu-btn[aria-expanded="true"] .bars { background: transparent; }
  .menu-btn[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .js .menu {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper); border-bottom: 1px solid var(--rule); padding: 10px var(--gutter) 22px;
    box-shadow: 0 24px 40px -24px rgba(19, 78, 72, .35);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .22s, transform .22s, visibility 0s .22s;
  }
  .js .menu.open { visibility: visible; opacity: 1; transform: none; transition: opacity .22s, transform .22s, visibility 0s; }
  .js .menu a:not(.btn) { padding: 13px 4px; border-radius: 0; border-bottom: 1px solid var(--rule); font-size: 18px; }
  .js .menu a:not(.btn):hover { background: transparent; }
  .js .menu-cta { margin: 14px 0 0; }
  .js .menu-cta .btn { width: 100%; min-height: 50px; }
  html:not(.js) .nav { flex-wrap: wrap; }
  html:not(.js) .menu { flex-wrap: wrap; width: 100%; padding-bottom: 10px; }
  html:not(.js) .nav-book { display: none; }
}
@media (max-width: 400px) { .brand-sub { display: none; } .brand-name { font-size: 21px; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.0; letter-spacing: -0.022em; color: var(--green); max-width: 13ch; }
.hero .eyebrow .status-dot { margin-top: .4em; }
.hero .eyebrow { align-items: flex-start; line-height: 1.35; color: var(--ink-2); letter-spacing: .04em; text-transform: none; font-size: 15px; font-weight: 500; background: var(--surface); border: 1px solid var(--rule); padding: 6px 14px 6px 12px; border-radius: 999px; margin-bottom: 24px; }
.lede { font-size: clamp(17.5px, 1.45vw, 20px); color: var(--ink-2); margin-top: 24px; max-width: 34em; line-height: 1.55; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-cta .btn { min-height: 54px; padding: 14px 26px; font-size: 17px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--rule); font-size: 15px; color: var(--muted); line-height: 1.4; }
.hero-facts strong { display: block; color: var(--ink); font-weight: 600; font-size: 16px; margin-bottom: 2px; }

.hero-art { position: relative; padding: 0 0 34px 34px; }
.art-panel { position: relative; background: var(--green); border-radius: 28px; aspect-ratio: 480 / 520; box-shadow: 0 40px 80px -40px rgba(13, 58, 53, 0.55); }
.gonio { width: 100%; height: 100%; border-radius: 28px; font-family: var(--display); }
.gonio-num { letter-spacing: -0.03em; }
.arc-now { stroke-dasharray: 100; stroke-dashoffset: 0; animation: sweep 1.6s cubic-bezier(.3, .7, .2, 1) .3s both; }
.arm-now { transform-origin: 0 0; animation: swing 1.6s cubic-bezier(.3, .7, .2, 1) .3s both; }
@keyframes sweep { from { stroke-dashoffset: 100; } }
@keyframes swing { from { transform: rotate(-128deg); } }
.art-card { position: absolute; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); padding: 16px 18px; }
.art-card--slot { left: -34px; bottom: -34px; min-width: 250px; max-width: 290px; }
.art-card--pain { right: -18px; top: 30%; width: 178px; padding: 14px 16px; }
.ac-k { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.ac-v { font-family: var(--display); font-size: 24px; font-weight: 500; color: var(--green); margin-top: 4px; line-height: 1.15; }
.ac-s { font-size: 14px; color: var(--muted); margin-top: 2px; }
.ac-s strong { color: var(--ink); }
.spark { width: 100%; height: 44px; margin: 6px 0 2px; }

@media (max-width: 1100px) {
  .art-card--pain { right: -10px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; padding: 0 0 40px; margin: 0 auto; width: 100%; }
  .art-card--slot { left: 16px; bottom: 0; }
  .art-card--pain { right: 16px; top: 18px; }
}
@media (max-width: 560px) {
  .hero-facts { grid-template-columns: 1fr; gap: 12px; }
  .hero-facts li { display: flex; gap: 6px; flex-wrap: wrap; }
  .hero-facts strong { display: inline; margin: 0; }
  .art-card--pain { display: none; }
  .hero-art { padding-bottom: 0; }
  .art-card--slot { position: relative; left: auto; bottom: auto; margin: -44px 14px 0; max-width: none; min-width: 0; }
  .hero-cta .btn { flex: 1 1 auto; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.sec-head { max-width: 720px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.sec-head h2 { font-size: clamp(34px, 4.2vw, 54px); color: var(--green); }
.sec-lede { font-size: 18px; color: var(--ink-2); margin-top: 18px; max-width: 36em; }
.sec-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 56px; flex-wrap: wrap; }
.sec-head--row > div { max-width: 640px; }
.sec-head--row .sec-lede { max-width: 30em; margin-top: 0; }

/* ---------- Body map ---------- */
.conditions { background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.bodymap { display: grid; grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.figure-wrap { position: relative; background: radial-gradient(ellipse at 50% 45%, var(--paper) 0%, var(--paper) 55%, transparent 56%), var(--paper-2); border-radius: 28px; padding: 28px 20px 18px; }
.figure { width: 100%; max-width: 280px; height: auto; margin: 0 auto; overflow: visible; }
.figure-note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 10px; letter-spacing: .03em; }
.zone { cursor: pointer; }
.zone ellipse { fill: var(--accent); fill-opacity: 0; stroke: var(--accent-ink); stroke-opacity: 0; stroke-width: 1.5; transition: fill-opacity .25s, stroke-opacity .25s; }
.zone .pin { fill: var(--accent); stroke: var(--surface); stroke-width: 2.5; transition: transform .25s; transform-box: fill-box; transform-origin: center; }
.zone:hover ellipse { fill-opacity: .18; stroke-opacity: .4; }
.zone.is-active ellipse { fill-opacity: .36; stroke-opacity: .9; stroke-dasharray: 3 4; }
.zone.is-active .pin { fill: var(--accent-ink); transform: scale(1.35); }
.zone.is-active .pin { animation: pinpulse 2.4s ease-in-out infinite; }
@keyframes pinpulse { 50% { transform: scale(1.7); } }

.region-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.rtab { border: 1.5px solid var(--rule-strong); background: transparent; color: var(--ink-2); font-size: 15px; font-weight: 600; padding: 8px 15px; border-radius: 999px; min-height: 40px; transition: background-color .2s, color .2s, border-color .2s; }
.rtab:hover { border-color: var(--green); color: var(--green); }
.rtab[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--paper); }
.rtab.is-hover:not([aria-pressed="true"]) { background: var(--accent-soft); border-color: var(--accent); color: var(--ink); }
.region-panels { position: relative; }
.rpanel { padding: 4px 0 28px; }
.rpanel + .rpanel { border-top: 1px solid var(--rule); padding-top: 24px; }
.js .rpanel { display: none; padding: 0 0 8px; border: 0; }
.js .rpanel.is-active { display: block; animation: fadein .35s ease both; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } }
.rpanel h3 { font-size: clamp(28px, 3vw, 38px); color: var(--green); }
.rpanel > p { margin-top: 12px; color: var(--ink-2); max-width: 36em; }
.clist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 24px 0; }
.clist li { position: relative; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-sm); padding: 13px 14px 13px 38px; font-weight: 600; font-size: 16px; line-height: 1.35; }
.clist li::before { content: ""; position: absolute; left: 15px; top: 19px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--accent); }
.rmeta { display: flex; flex-wrap: wrap; gap: 10px 36px; margin: 0 0 26px; font-size: 15.5px; }
.rmeta dt { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.rmeta dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); }

@media (max-width: 860px) {
  .bodymap { grid-template-columns: 1fr; }
  .figure-wrap { max-width: 420px; width: 100%; margin: 0 auto; padding: 22px 16px 14px; }
  .figure { max-width: 210px; }
}
@media (max-width: 520px) {
  .clist { grid-template-columns: 1fr; }
  .rtab { font-size: 14.5px; padding: 7px 13px; }
}

/* ---------- First visit ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: tl; position: relative; }
.timeline li { position: relative; padding: 30px 28px 0 0; border-top: 2px solid var(--sage-2); counter-increment: tl; }
.timeline li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2.5px solid var(--green); }
.timeline li:first-child { border-top-color: var(--green); }
.t-min { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--accent-ink); background: var(--accent-soft); border-radius: 999px; padding: 3px 10px; }
.timeline h3 { font-size: 28px; margin: 14px 0 8px; color: var(--green); }
.timeline p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
}
@media (max-width: 520px) {
  .timeline { grid-template-columns: 1fr; row-gap: 0; }
  .timeline li { border-top: 0; border-left: 2px solid var(--sage-2); padding: 0 0 30px 26px; }
  .timeline li:first-child { border-left-color: var(--green); }
  .timeline li::before { top: 2px; left: -7px; }
  .timeline li:last-child { padding-bottom: 0; }
  .timeline h3 { margin-top: 10px; }
}

/* ---------- Monograms ---------- */
.mono { position: relative; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; font-family: var(--display); font-weight: 500; font-size: 30px; letter-spacing: .02em; flex: none; overflow: hidden; }
.mono span { position: relative; }
.mono::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: repeating-radial-gradient(circle at 70% 120%, transparent 0 9px, rgba(255, 255, 255, .09) 9px 10px); }
.mono--teal { background: var(--green); color: var(--paper); }
.mono--apricot { background: var(--accent); color: var(--ink); }
.mono--sage { background: var(--sage-2); color: var(--green); }
.mono--sand { background: #e7d6b8; color: #4a3a1f; }
.mono--sage::before, .mono--sand::before, .mono--apricot::before { background: repeating-radial-gradient(circle at 70% 120%, transparent 0 9px, rgba(19, 78, 72, .08) 9px 10px); }
.mono--any { background: var(--paper); color: var(--green); border: 1.5px dashed var(--green); }
.mono--any::before { display: none; }
.mono--any svg { width: 22px; height: 22px; }
.mono--sm { width: 48px; height: 48px; font-size: 18px; }
.mono--xs { width: 42px; height: 42px; font-size: 16px; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.person { display: flex; flex-direction: column; align-items: flex-start; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); padding: 26px 24px 24px; }
.person h3 { font-size: 26px; margin-top: 20px; color: var(--green); }
.role { font-size: 14.5px; color: var(--muted); margin-top: 6px; line-height: 1.4; }
.bio { font-size: 16px; color: var(--ink-2); margin-top: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 14px; }
.tags li { font-size: 13.5px; font-weight: 600; background: var(--sage); color: var(--green); padding: 4px 10px; border-radius: 999px; }
.langs { font-size: 14px; color: var(--muted); margin-bottom: 20px; margin-top: auto; padding-top: 4px; }
.langs::before { content: "Speaks "; }
@media (max-width: 1080px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } .person { padding: 22px 20px; } }

/* ---------- Booking ---------- */
.book { background: var(--green); color: var(--paper); position: relative; overflow: hidden; }
.book::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(246, 243, 236, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(246, 243, 236, .045) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(180deg, #000 0%, transparent 70%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%); pointer-events: none; }
.book .wrap { position: relative; }
.sec-head--light h2 { color: var(--paper); }
.sec-head--light .eyebrow { color: #f4b896; }
.sec-head--light .sec-lede { color: #cfe0da; }

.booker { background: var(--surface); color: var(--ink); border-radius: 26px; box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .6); overflow: hidden; }
.progress { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid var(--rule); background: var(--paper); }
.progress li { position: relative; }
.pstep { width: 100%; display: flex; align-items: center; gap: 10px; padding: 18px 20px; background: none; border: 0; text-align: left; font-weight: 600; font-size: 15px; color: var(--muted); position: relative; min-height: 64px; }
.pstep::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: transparent; transition: background-color .3s; }
.pnum { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--rule-strong); font-size: 14px; flex: none; transition: background-color .25s, color .25s, border-color .25s; }
.pstep.is-done { color: var(--green); }
.pstep.is-done .pnum { background: var(--sage); border-color: var(--green); color: var(--green); }
.pstep.is-done .pnum { font-size: 0; }
.pstep.is-done .pnum::before { content: ""; width: 10px; height: 6px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-1px) rotate(-45deg); }
.pstep[aria-current="step"] { color: var(--ink); }
.pstep[aria-current="step"] .pnum { background: var(--green); border-color: var(--green); color: var(--paper); font-size: 14px; }
.pstep[aria-current="step"] .pnum::before { content: none; }
.pstep[aria-current="step"]::after { background: var(--accent); }
.pstep:disabled { cursor: default; opacity: .7; }
.pstep:not(:disabled):not([aria-current]):hover { color: var(--green); background: var(--sage); }
.pstep:focus-visible { outline-offset: -4px; }
html:not(.js) .progress { display: none; }

.booker-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; }
.steps { padding: clamp(22px, 3.4vw, 44px); min-width: 0; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
html:not(.js) .step + .step { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--rule); }
html:not(.js) .step[data-step="5"], html:not(.js) .step-nav { display: none; }
.js .step:not(.is-active) { display: none; }
.js .step.is-active { animation: fadein .35s ease both; }
.step-title { font-family: var(--display); font-size: clamp(26px, 2.6vw, 34px); font-weight: 500; color: var(--green); line-height: 1.1; padding: 0; margin-bottom: 24px; float: left; width: 100%; }
.step-title:focus { outline: none; }
.step-title:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 6px; }
.step > :not(legend) { clear: both; }
.step-k { display: block; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 8px; }
.step-note { font-size: 15.5px; color: var(--ink-2); background: var(--accent-soft); border-radius: 10px; padding: 10px 14px; margin-bottom: 16px; }
.step-note:empty { display: none; }
.step-error { color: var(--danger); font-weight: 600; font-size: 15.5px; margin-top: 16px; }
.step-error:empty { display: none; }
.nojs-note { color: var(--muted); font-size: 16px; }

/* choices */
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-in { display: flex; flex-direction: column; height: 100%; border: 1.5px solid var(--rule-strong); border-radius: 16px; padding: 18px 20px; background: var(--surface); transition: border-color .2s, background-color .2s, box-shadow .2s; position: relative; }
.choice:hover .choice-in { border-color: var(--green-3); }
.choice input:checked + .choice-in { border-color: var(--green); background: #f0f5f1; box-shadow: inset 0 0 0 1px var(--green); }
.choice input:checked + .choice-in::after { content: ""; position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%23f6f3ec' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.choice input:focus-visible + .choice-in { outline: 3px solid var(--accent-ink); outline-offset: 3px; }
.choice-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-right: 26px; }
.choice-name { font-weight: 700; font-size: 17.5px; line-height: 1.25; }
.choice-price { font-family: var(--display); font-size: 24px; font-weight: 500; color: var(--green); }
.choice input:checked + .choice-in .choice-price { margin-right: 0; }
.choice-meta { display: block; font-size: 14.5px; color: var(--accent-ink); font-weight: 600; margin-top: 4px; }
.choice-desc { display: block; font-size: 15px; color: var(--ink-2); margin-top: 8px; line-height: 1.45; }
.choice--pro .choice-in { flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; }
.choice-body { display: flex; flex-direction: column; min-width: 0; padding-right: 22px; }
.choice--pro .choice-meta { color: var(--muted); font-weight: 500; margin-top: 1px; }
.choice-na { display: none; font-size: 13.5px; color: var(--muted); font-style: italic; }
.choice.is-na { cursor: not-allowed; }
.choice.is-na .choice-in { background: var(--paper); border-style: dashed; border-color: var(--rule-strong); }
.choice.is-na .mono, .choice.is-na .choice-name { opacity: .5; }
.choice.is-na .choice-meta { display: none; }
.choice.is-na .choice-na { display: block; }
.choice.is-na:hover .choice-in { border-color: var(--rule-strong); }
.choice-grid--pros { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice--any { grid-column: 1 / -1; }

/* calendar */
.when { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.cal-title { font-weight: 700; font-size: 16.5px; }
.next-free { display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--accent-soft); color: var(--ink); font-size: 14px; font-weight: 600; padding: 7px 12px; border-radius: 999px; text-align: left; line-height: 1.25; }
.next-free:hover { background: #f1cdb6; }
.cal-grid { width: 100%; border-collapse: separate; border-spacing: 3px; table-layout: fixed; margin: 0 -3px; width: calc(100% + 6px); }
.cal-grid th { font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; padding: 4px 0 6px; text-align: center; }
.cal-grid td { padding: 0; text-align: center; }
.day { position: relative; width: 100%; aspect-ratio: 1 / 1; min-height: 40px; max-height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 1.5px solid transparent; border-radius: 12px; background: var(--paper); font-weight: 600; font-size: 15.5px; color: var(--ink); padding: 0; transition: background-color .15s, border-color .15s, color .15s; }
.day .dots { display: flex; gap: 2px; height: 4px; }
.day .dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--green-3); }
.day:hover:not([aria-disabled="true"]) { border-color: var(--green); }
.day[aria-disabled="true"] { background: transparent; color: #8d9692; cursor: not-allowed; font-weight: 400; }
.day.is-out { opacity: .5; }
.day.is-full { text-decoration: line-through; text-decoration-color: rgba(27, 38, 35, .35); }
.day.is-today::after { content: ""; position: absolute; top: 5px; right: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.day[aria-pressed="true"] { background: var(--green); color: var(--paper); border-color: var(--green); }
.day[aria-pressed="true"] .dots i { background: var(--mint); }
.day:focus-visible { outline-offset: 1px; }
.cal-month { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); text-align: left !important; padding: 10px 2px 2px !important; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--muted); margin-top: 12px; }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; background: var(--paper); border: 1px solid var(--rule-strong); }
.cal-legend .lg-sel { background: var(--green); border-color: var(--green); }
.cal-legend .lg-na { background: transparent; border-style: dashed; }

.slots { background: var(--paper); border-radius: 18px; padding: 18px; min-height: 200px; }
.slots-empty { color: var(--muted); font-size: 15.5px; }
.slots-day { font-weight: 700; font-size: 17px; }
.slots-sub { font-size: 14px; color: var(--muted); margin: 2px 0 14px; }
.slot-group + .slot-group { margin-top: 14px; }
.slot-group legend, .slot-label { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 8px; padding: 0; }
.slot-group { border: 0; padding: 0; margin: 0; }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; }
.chip { position: relative; display: block; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 10px; border: 1.5px solid var(--rule-strong); background: var(--surface); font-weight: 600; font-size: 15px; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; font-variant-numeric: tabular-nums; }
.chip:hover input:not(:disabled) + span { border-color: var(--green); }
.chip input:checked + span { background: var(--green); color: var(--paper); border-color: var(--green); }
.chip input:focus-visible + span { outline: 3px solid var(--accent-ink); outline-offset: 2px; }
.chip input:disabled + span { background: transparent; border-style: dashed; border-color: rgba(27, 38, 35, .18); color: #8d9692; text-decoration: line-through; font-weight: 400; cursor: not-allowed; }
.slot-none { font-size: 15px; color: var(--muted); }

/* fields */
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field--wide { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: 15.5px; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--muted); font-size: 14px; margin-left: 4px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 50px; border: 1.5px solid var(--rule-strong); border-radius: 12px; background: #fff; padding: 12px 14px; font-size: 16.5px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%23134e48' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 42px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--green-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(29, 106, 97, .22); }
.field [aria-invalid="true"] { border-color: var(--danger) !important; background-color: #fff8f6; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(163, 50, 42, .18); }
.field.is-valid input, .field.is-valid select { border-color: #3f8a6d; }
.fhint { font-size: 14px; color: var(--muted); margin-top: 6px; display: flex; justify-content: space-between; gap: 12px; }
.count { font-variant-numeric: tabular-nums; flex: none; }
.ferr { font-size: 14.5px; color: var(--danger); font-weight: 600; margin-top: 6px; }
.ferr:empty { display: none; }
.check { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 500 !important; cursor: pointer; line-height: 1.45; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--green); flex: none; }

/* confirm */
.confirm-card { border: 1.5px solid var(--rule-strong); border-radius: 20px; overflow: hidden; }
.cc-head { display: flex; align-items: center; gap: 18px; padding: 20px 22px; background: var(--sage); }
.cc-date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 68px; height: 72px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); flex: none; line-height: 1; }
.cc-date span { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.cc-date strong { font-family: var(--display); font-size: 32px; font-weight: 500; color: var(--green); margin-top: 4px; }
.cc-title { font-family: var(--display); font-size: 26px; color: var(--green); line-height: 1.15; }
.cc-when { color: var(--ink-2); font-weight: 600; }
.cc-list { margin: 0; padding: 8px 22px; }
.cc-list > div { display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.cc-list dt { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.cc-list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.cc-list dd small { display: block; font-weight: 400; color: var(--muted); font-size: 14.5px; }
.cc-total { border-bottom: 0 !important; }
.cc-total dd { font-family: var(--display); font-size: 24px; font-weight: 500; color: var(--green); }
.edit { border: 0; background: none; color: var(--green); font-weight: 600; font-size: 14.5px; text-decoration: underline; text-decoration-color: var(--mint); text-underline-offset: 3px; padding: 4px 2px; }
.edit:hover { text-decoration-color: var(--green); }
.cc-policy { padding: 0 22px 4px; font-size: 14.5px; color: var(--muted); }
.cc-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 22px 22px; }
.concept-msg { display: flex; gap: 14px; margin-top: 18px; padding: 18px 20px; border-radius: 16px; background: var(--accent-soft); border: 1px solid #ebbfa3; color: var(--ink); }
.concept-msg[hidden] { display: none; }
.concept-msg:focus { outline: none; }
.cm-ico { width: 24px; height: 24px; color: var(--accent-ink); flex: none; margin-top: 2px; }
.cm-t { font-weight: 700; font-size: 17px; color: var(--ink); }
.concept-msg p + p { margin-top: 4px; font-size: 15.5px; color: var(--ink-2); }
.concept-msg .btn { margin-top: 14px; }

.step-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--rule); }
.step-nav .btn[hidden] { display: none; }
.step-nav #prev.is-hidden { visibility: hidden; }

/* summary */
.summary { background: var(--paper); border-left: 1px solid var(--rule); padding: 32px 26px; }
.sum-k { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); font-weight: 700; margin-bottom: 14px; }
.summary dl { margin: 0; }
.summary dl > div { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.summary dt { font-size: 13px; color: var(--muted); }
.summary dd { margin: 2px 0 0; font-weight: 600; font-size: 16px; line-height: 1.35; }
.summary dd.is-empty { color: var(--muted); font-weight: 400; font-style: italic; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 6px; }
.sum-total span { font-size: 13px; color: var(--muted); }
.sum-total strong { font-family: var(--display); font-size: 30px; font-weight: 500; color: var(--green); }
.sum-note { font-size: 14px; color: var(--muted); line-height: 1.45; }
html:not(.js) .summary { display: none; }
html:not(.js) .booker-body { grid-template-columns: 1fr; }

@media (max-width: 1080px) {
  .booker-body { grid-template-columns: 1fr; }
  .summary { order: -1; border-left: 0; border-bottom: 1px solid var(--rule); padding: 14px clamp(22px, 3.4vw, 44px); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
  .sum-k, .sum-note { display: none; }
  .summary dl { display: flex; flex-wrap: wrap; gap: 4px 22px; flex: 1 1 auto; min-width: 0; }
  .summary dl > div { border: 0; padding: 4px 0; min-width: 0; }
  .summary dd { font-size: 15px; }
  .sum-total { padding: 0; gap: 10px; }
  .sum-total strong { font-size: 24px; }
}
@media (max-width: 860px) {
  .when { grid-template-columns: 1fr; }
  .plabel { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .pstep { justify-content: center; padding: 14px 6px; min-height: 58px; }
  .pstep[aria-current="step"] .plabel { position: static !important; width: auto; height: auto; clip: auto; overflow: visible; }
  .progress { grid-template-columns: repeat(5, auto); justify-content: space-between; padding: 0 8px; }
  .pstep[aria-current="step"] { padding-right: 12px; }
}
@media (max-width: 600px) {
  .choice-grid, .choice-grid--pros, .fields { grid-template-columns: 1fr; }
  .booker { border-radius: 20px; margin: 0 calc(var(--gutter) * -0.5); }
  .summary dl > div:nth-child(1) { flex-basis: 100%; }
  .summary dl { gap: 2px 18px; }
  .summary { padding: 12px 20px; }
  .steps { padding: 22px 18px 24px; }
  .cc-list > div { grid-template-columns: 1fr auto; gap: 2px 12px; }
  .cc-list dt { grid-column: 1 / -1; }
  .cc-head { padding: 16px; gap: 14px; }
  .cc-list, .cc-policy { padding-left: 16px; padding-right: 16px; }
  .cc-actions { padding: 14px 16px 18px; }
  .cc-actions .btn { width: 100%; }
  .slots { padding: 14px; }
  .chips { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); }
  .step-nav .btn { flex: 1 1 0; }
  .step-nav #prev.is-hidden { display: none; }
  .pstep[aria-current="step"] .plabel { font-size: 14px; }
}
@media (max-width: 380px) {
  .day { min-height: 36px; border-radius: 9px; font-size: 14.5px; }
  .cal-grid { border-spacing: 2px; }
  .next-free { font-size: 13px; }
}

/* ---------- Pricing ---------- */
.price-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.price-list { border-top: 1px solid var(--rule-strong); }
.price-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.pl-main h3 { font-size: 26px; color: var(--green); }
.pl-main p { color: var(--muted); font-size: 15.5px; margin-top: 4px; }
.pl-price { font-family: var(--display); font-size: 34px; color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.billing { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); padding: 30px 28px; }
.billing-ico { width: 48px; height: 48px; color: var(--green); margin-bottom: 16px; }
.billing h3 { font-size: 28px; color: var(--green); }
.billing > p { margin-top: 10px; color: var(--ink-2); }
.checks { margin-top: 20px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.45; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%23134e48' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
@media (max-width: 900px) { .price-layout { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .price-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .pl-main { grid-column: 1 / -1; }
  .pl-price { font-size: 30px; }
  .billing { padding: 24px 20px; }
}

/* ---------- Reviews ---------- */
.reviews { background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.score { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; font-size: 15.5px; color: var(--muted); }
.score strong { font-family: var(--display); font-size: 46px; font-weight: 500; color: var(--green); line-height: 1; }
.stars svg { width: 100px; height: 20px; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.review { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; background: var(--paper); border-radius: var(--r); padding: 28px 26px 24px; position: relative; }
.review::before { content: "\201C"; position: absolute; top: 6px; right: 22px; font-family: var(--display); font-size: 84px; line-height: 1; color: var(--accent); opacity: .55; }
.review blockquote { margin: 0; }
.review blockquote p { font-size: 18px; line-height: 1.5; color: var(--ink); padding-right: 22px; }
.rev-by { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--rule); }
.rev-by p { display: flex; flex-direction: column; line-height: 1.3; }
.rev-by strong { font-weight: 700; }
.rev-by p span { font-size: 14px; color: var(--muted); }
@media (max-width: 1000px) { .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .review-grid { grid-template-columns: 1fr; } .review { padding: 24px 20px 20px; } }

/* ---------- Visit ---------- */
.visit-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.visit h2 { font-size: clamp(34px, 4.2vw, 54px); color: var(--green); }
.open-status { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; background: var(--surface); border: 1px solid var(--rule); padding: 8px 16px 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15.5px; }
address { font-style: normal; margin-top: 24px; color: var(--ink-2); line-height: 1.65; }
address strong { color: var(--ink); }
.hours { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 16px; }
.hours th, .hours td { padding: 9px 12px; border-bottom: 1px solid var(--rule); text-align: left; }
.hours th { font-weight: 500; color: var(--ink-2); padding-left: 0; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; color: var(--green); }
.hours tr.is-today th::after { content: "Today"; display: inline-block; margin-left: 10px; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; background: var(--accent-soft); color: var(--accent-ink); padding: 2px 8px; border-radius: 999px; vertical-align: 2px; }
.access { margin-top: 24px; display: grid; gap: 8px; font-size: 15.5px; color: var(--ink-2); }
.access li { padding-left: 20px; position: relative; }
.access li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
.map { margin: 0; position: sticky; top: 96px; }
.map svg { width: 100%; height: auto; border-radius: 24px; border: 1px solid var(--rule); font-family: var(--sans); }
.map figcaption { font-size: 14.5px; color: var(--muted); margin-top: 12px; }
.pin-pulse { transform-box: fill-box; transform-origin: center; animation: ring 2.8s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; } .map { position: static; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq .sec-head { margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--rule-strong); }
.qa { border-bottom: 1px solid var(--rule); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-family: var(--display); font-size: 23px; font-weight: 500; color: var(--ink); line-height: 1.25; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--rule-strong); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10h10M10 5v10' fill='none' stroke='%23134e48' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .3s, background-color .2s; }
.qa[open] summary::after { transform: rotate(45deg); background-color: var(--sage); }
.qa summary:hover { color: var(--green); }
.qa summary:focus-visible { outline-offset: 2px; }
.qa-body { padding: 0 54px 24px 4px; color: var(--ink-2); }
.qa-body p { max-width: 38em; }
.qa.is-anim .qa-body { overflow: hidden; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .qa summary { font-size: 20px; } .qa-body { padding-right: 8px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-2); color: #d6e4df; padding: 72px 0 0; font-size: 15.5px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 36px; padding-bottom: 48px; }
.foot-name { font-family: var(--display); font-size: 28px; font-weight: 500; color: var(--paper); line-height: 1.1; margin-bottom: 12px; }
.foot-brand p:not(.foot-name) { max-width: 26em; }
.foot-brand .btn { margin-top: 22px; }
.foot-h { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 14px; }
.foot-links { display: grid; gap: 6px; margin-top: 10px; }
.foot-links a, .foot-meta a { color: var(--paper); text-decoration: none; border-bottom: 1px solid rgba(246, 243, 236, .25); }
.foot-links a:hover, .foot-meta a:hover { border-color: var(--paper); }
.site-footer :focus-visible { outline-color: var(--accent); }
.foot-base { border-top: 1px solid rgba(246, 243, 236, .14); padding-top: 24px; padding-bottom: 32px; display: grid; gap: 14px; font-size: 14px; color: #bcd0ca; }
.foot-base strong { color: var(--paper); }
.foot-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } .foot-base { padding-bottom: 76px; } }
@media (max-width: 420px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Concept badge ---------- */
.badge {
  position: fixed; left: 16px; bottom: 16px; z-index: 40;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px 7px 10px; border-radius: 999px;
  background: rgba(252, 251, 247, .94); color: var(--ink-2); border: 1px solid var(--rule-strong);
  font-size: 12px; font-weight: 600; letter-spacing: .03em; text-decoration: none;
  box-shadow: 0 8px 22px -12px rgba(13, 58, 53, .45);
  transition: background-color .2s, color .2s, opacity .3s, transform .3s;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.badge:hover { background: var(--green); color: var(--paper); }
.badge.tuck { opacity: 0; transform: translateY(12px); pointer-events: none; }
@media (max-width: 600px) { .badge { left: 10px; bottom: 10px; font-size: 11px; padding: 6px 11px 6px 9px; } }

/* ---------- Reveal ---------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js .rv { opacity: 1; transform: none; }
}
