/* Paediatrics theme: "Building blocks".
   Pressable things are toy blocks (2px ink outline + hard shadow, they press in).
   Static content is type, space and colour blocks, never generic cards. */
:root {
  --paper: #FFFFFF;
  --sky: #EEF2FF;
  --ink: #1A1F4E;
  --ink-2: #4A4F75;
  --line: #D9DCEB;
  --cobalt: #2B50E3;
  --cobalt-deep: #1C38B0;
  --marigold: #FFB627;
  --pink: #FF8FAB;
  --pink-soft: #FFE3EA;
  --leaf: #7CC49A;
  --night: #262C66;
  --wa: #1E9A57;

  --font: 'Bricolage Grotesque', 'Trebuchet MS', system-ui, sans-serif;
  --press: 4px;
  --u: 80px;
  --bounce: cubic-bezier(.3, 1.5, .55, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-variation-settings: 'opsz' 16;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
button { font-family: inherit; }
h1, h2, h3 { margin: 0; }
h1 {
  font-size: clamp(52px, 7.4vw, 104px);
  font-weight: 780;
  font-stretch: 90%;
  font-variation-settings: 'opsz' 96, 'wdth' 90;
  line-height: .95;
  letter-spacing: -0.028em;
}
h2 {
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 760;
  font-variation-settings: 'opsz' 72, 'wdth' 84;
  line-height: .98;
  letter-spacing: -0.025em;
}
h3 { font-size: 22px; font-weight: 700; line-height: 1.2; font-variation-settings: 'opsz' 24; letter-spacing: -0.01em; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.icon { width: 20px; height: 20px; flex-shrink: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }

/* ---------- toy-block buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px;
  border: 2px solid var(--ink); border-radius: 14px;
  box-shadow: var(--press) var(--press) 0 var(--ink);
  font: 700 17px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease, background-color .15s ease;
}
@media (hover: hover) { .btn:hover { transform: translate(-2px, -2px); box-shadow: calc(var(--press) + 2px) calc(var(--press) + 2px) 0 var(--ink); } }
.btn:active { transform: translate(var(--press), var(--press)); box-shadow: 0 0 0 var(--ink); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: var(--press) var(--press) 0 var(--ink); }
.btn-primary { background: var(--cobalt); color: #fff; }
.btn-line { background: var(--paper); color: var(--ink); }
.btn-sun { background: var(--marigold); color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: #fff; box-shadow: none; }
@media (hover: hover) { .btn-ghost-light:hover { box-shadow: none; transform: none; background: rgba(255, 255, 255, .1); } }
.btn-sm { min-height: 46px; padding: 0 18px; font-size: 15.5px; --press: 3px; }
.btn-sm .icon { width: 18px; height: 18px; }

/* ---------- demo layer (EzuraArc annotations, styled apart from the doctor's site) ---------- */
.demo-bar { background: var(--ink); color: #D7DAF0; font-size: 14px; padding: 8px 20px; display: flex; justify-content: center; align-items: center; gap: 10px 18px; flex-wrap: wrap; text-align: center; }
.build-btn {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  padding: 6px 12px; border-radius: 9px; border: 2px solid var(--ink);
  background: var(--pink); color: var(--ink); font-weight: 800; font-size: 14px; text-decoration: none;
  box-shadow: 2px 2px 0 var(--marigold);
}
.build-btn .icon { width: 15px; height: 15px; }
.demo-bar .build-btn { color: var(--ink); }
.demo-bar p { margin: 0; }
.build-btn:active { transform: translate(2px, 2px); box-shadow: none; }
.build-cta { background: var(--pink); border-top: 2px solid var(--ink); padding: 72px 0; }
.build-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 40px; align-items: center; }
.build-kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; margin-bottom: 14px; padding: 5px 10px; border: 2px solid var(--ink); border-radius: 8px; background: var(--paper); transform: rotate(-2deg); }
.build-kicker .icon { width: 15px; height: 15px; }
.build-copy h2 { margin-bottom: 16px; }
.build-copy > p:last-child { font-size: 19px; max-width: 36em; }
.build-actions { display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 960px) {
  .build-inner { grid-template-columns: 1fr; gap: 28px; }
  .build-actions { flex-direction: row; flex-wrap: wrap; }
  .build-actions .btn { flex: 1 1 220px; }
}
.demo-bar a { color: var(--marigold); font-weight: 700; }
.pro-note {
  display: none; align-items: center; gap: 6px;
  padding: 5px 10px; border: 2px solid var(--ink); border-radius: 8px;
  background: var(--pink); color: var(--ink);
  font: 700 13px/1.2 var(--font); white-space: nowrap;
  transform: rotate(-2.5deg);
}
.pro-note .icon { width: 14px; height: 14px; }
.tour .pro-note { display: inline-flex; }
.demo-note { display: block; margin-top: 8px; font-size: 15px; font-weight: 700; color: #B0254A; }
.tour-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 0 14px; border-radius: 12px;
  border: 2px dashed var(--ink); background: var(--paper); color: var(--ink);
  font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap;
}
.tour-toggle[aria-pressed="true"] { background: var(--pink); border-style: solid; }

/* ---------- nav ---------- */
.nav-wrap { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 2px solid transparent; transition: border-color .2s ease; }
.nav-wrap.scrolled { border-bottom-color: var(--ink); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.monogram {
  width: 46px; height: 46px; flex-shrink: 0;
  display: grid; place-items: center;
  border: 2px solid var(--ink); border-radius: 12px;
  background: var(--marigold); color: var(--ink);
  font: 800 18px/1 var(--font); font-variation-settings: 'wdth' 80; letter-spacing: -.02em;
}
.monogram-lg { width: 62px; height: 62px; font-size: 24px; border-radius: 16px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 19px; font-weight: 750; }
.brand-text span { font-size: 14.5px; color: var(--ink-2); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 16.5px; color: var(--ink-2); padding: 10px 0 7px; min-height: 44px; display: inline-flex; align-items: center; border-bottom: 3px solid transparent; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); border-bottom-color: var(--marigold); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; place-items: center; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; }
.hero-copy { padding-bottom: 56px; }
.hero-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 16px; color: var(--ink-2); margin-bottom: 28px; }
.hero-status #status-text { font-weight: 700; color: var(--ink); }
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: #B8BCD6; border: 2px solid var(--ink); }
.status-dot.open { background: #34C27A; }
.status-dot.soon { background: var(--marigold); }
.hero h1 { max-width: 9.5em; }
.lead { font-size: 21px; line-height: 1.5; color: var(--ink-2); max-width: 30em; margin-top: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.next-slot { margin-top: 20px; font-size: 16px; color: var(--ink-2); }
.next-slot strong { color: var(--ink); }

.hero-visual { position: relative; }
.tower { display: flex; align-items: flex-end; gap: 14px; padding: 0 4px; }
.col { display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); border-radius: 12px; padding: 0 2px 14px; }
.col-stack { display: flex; flex-direction: column; align-items: center; transition: transform .25s var(--bounce); }
@media (hover: hover) { .col:hover .col-stack, .col:focus-visible .col-stack { transform: translateY(-8px); } }
.blk, .blk-top {
  display: block; width: var(--u);
  border: 2px solid var(--ink);
  background: var(--fill);
  animation: drop .6s var(--bounce) both;
  animation-delay: calc(var(--c) * .13s + var(--j) * .07s + .15s);
}
.blk { height: calc(var(--u) * .74); border-radius: 10px; margin-top: -2px; }
.blk-top { background: var(--top); }
.blk-circle { height: var(--u); border-radius: 50%; margin-bottom: 0; }
.blk-arch { height: calc(var(--u) * .86); border-radius: 999px 999px 8px 8px; }
.blk-roof { height: calc(var(--u) * .7); border: 0; background: none; margin-bottom: -2px; }
.blk-roof svg { width: 100%; height: 100%; display: block; overflow: visible; }
.blk-roof path { fill: var(--top); stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.blk + .blk, .blk-top + .blk { margin-top: -2px; }
.col-0 { --fill: var(--pink); --top: var(--marigold); }
.col-1 { --fill: var(--marigold); --top: var(--leaf); }
.col-2 { --fill: var(--leaf); --top: var(--cobalt); }
.col-3 { --fill: var(--cobalt); --top: var(--pink); }
.col-4 { --fill: var(--marigold); --top: var(--cobalt); }
.col-label { display: flex; flex-direction: column; align-items: center; line-height: 1.2; text-align: center; }
.col-label strong { font-size: 16px; font-weight: 750; }
.col-label span { font-size: 13.5px; color: var(--ink-2); white-space: nowrap; }
.tower-floor { height: 0; }
@keyframes drop {
  from { transform: translateY(-220px); opacity: 0; }
  40% { opacity: 1; }
  to { transform: none; opacity: 1; }
}

.facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
}
.facts > div { padding: 20px 20px 22px 0; }
.facts > div + div { padding-left: 20px; border-left: 2px solid var(--ink); }
.facts dt { font-size: 14.5px; color: var(--ink-2); margin-bottom: 4px; }
.facts dd { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.3; }

/* ---------- how a visit works ---------- */
.fv { padding: 80px 0 0; }
.fv-title { font-size: clamp(28px, 3vw, 36px); margin-bottom: 32px; }
.fv-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: none; }
.fv-step { display: flex; gap: 16px; align-items: flex-start; }
.fv-num {
  width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center;
  border: 2px solid var(--ink); border-radius: 10px; background: var(--marigold);
  font: 800 20px/1 var(--font);
}
.fv-step:nth-child(2) .fv-num { background: var(--leaf); }
.fv-step:nth-child(3) .fv-num { background: var(--pink); }
.fv-step:nth-child(4) .fv-num { background: var(--cobalt); color: #fff; }
.fv-step h3 { font-size: 19px; margin-bottom: 4px; }
.fv-step p { font-size: 16px; color: var(--ink-2); line-height: 1.5; }

/* ---------- sections ---------- */
.section { padding: 120px 0; }
.section-sky { background: var(--sky); }
.section-ink { background: var(--ink); color: #fff; }
.section-head { margin-bottom: 48px; max-width: 760px; }
.section-head > p { margin-top: 18px; font-size: 20px; color: var(--ink-2); max-width: 34em; }
.section-head-split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.section-head-split > p { margin-top: 0; }
.head-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* ---------- stages ---------- */
.stage-track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.stage-tab {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 16px 18px; min-height: 78px; text-align: left;
  border: 2px solid var(--ink); border-radius: 14px; background: var(--paper); color: var(--ink);
  box-shadow: var(--press) var(--press) 0 var(--ink); cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background-color .15s ease;
}
.stage-tab strong { font-size: 19px; font-weight: 750; }
.stage-tab span { font-size: 14.5px; color: var(--ink-2); }
@media (hover: hover) { .stage-tab:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); } }
.stage-tab[aria-selected="true"] { transform: translate(var(--press), var(--press)); box-shadow: 0 0 0 var(--ink); }
.stage-tab[aria-selected="true"] span { color: var(--ink); }
.st-0[aria-selected="true"] { background: var(--pink); }
.st-1[aria-selected="true"] { background: var(--marigold); }
.st-2[aria-selected="true"] { background: var(--leaf); }
.st-3[aria-selected="true"] { background: var(--cobalt); color: #fff; }
.st-3[aria-selected="true"] span { color: #E3E8FF; }
.st-4[aria-selected="true"] { background: var(--marigold); }
.stage-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; margin-top: 56px; }
.stage-panel h3 { font-size: clamp(28px, 3vw, 36px); font-weight: 760; font-variation-settings: 'opsz' 48, 'wdth' 86; margin-bottom: 24px; }
.stage-book { margin-top: 32px; }
.stage-image { aspect-ratio: 1 / 1; border: 2px solid var(--ink); border-radius: 999px 999px 20px 20px; overflow: hidden; background: var(--leaf); }
.stage-image img { width: 100%; height: 100%; object-fit: cover; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 18px; }
.checklist .icon { width: 22px; height: 22px; margin-top: 2px; padding: 2px; border: 2px solid var(--ink); border-radius: 6px; background: var(--leaf); stroke-width: 2.6; }

/* ---------- services (colour blocks, varied sizes) ---------- */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service { padding: 32px; border-radius: 22px; display: flex; flex-direction: column; gap: 10px; min-height: 250px; }
.service-icon { width: 40px; height: 40px; margin-bottom: auto; padding-bottom: 20px; box-sizing: content-box; }
.service h3 { font-size: 24px; }
.service p { font-size: 16.5px; line-height: 1.5; }
.sv-0 { grid-column: span 2; background: var(--marigold); }
.sv-1 { background: var(--cobalt); color: #fff; }
.sv-1 p { color: #E3E8FF; }
.sv-2 { background: var(--pink); border-radius: 22px 110px 22px 22px; }
.sv-3 { background: var(--leaf); }
.sv-4 { background: var(--paper); border: 2px solid var(--ink); }
.sv-5 { grid-column: span 2; background: var(--ink); color: #fff; border-radius: 110px 22px 22px 22px; padding-left: 64px; }
.sv-5 p { color: #D7DAF0; }

/* ---------- booking ---------- */
.booker { border: 2px solid var(--ink); border-radius: 24px; box-shadow: 10px 10px 0 var(--ink); background: var(--paper); padding: 36px 40px 40px; }
.booker-steps { list-style: none; margin: 0 0 32px; padding: 0 0 24px; display: flex; gap: 28px; border-bottom: 2px solid var(--ink); }
.booker-steps li { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink-2); font-size: 16px; }
.booker-steps span { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; border: 2px solid var(--ink); font-size: 15px; background: var(--paper); color: var(--ink); }
.booker-steps li.is-current { color: var(--ink); }
.booker-steps li.is-current span { background: var(--cobalt); color: #fff; }
.booker-steps li.is-done span { background: var(--leaf); }
.booker-field { border: 0; margin: 0 0 32px; padding: 0; min-width: 0; }
.booker-field legend, .slot-group h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 14px; padding: 0; }
.day-strip { display: flex; gap: 12px; overflow-x: auto; padding: 2px 6px 10px 2px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.day-chip {
  flex: 0 0 auto; scroll-snap-align: start;
  width: 88px; padding: 12px 6px; border-radius: 14px;
  border: 2px solid var(--ink); background: var(--paper); color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  display: flex; flex-direction: column; align-items: center; gap: 1px; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
@media (hover: hover) { .day-chip:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); } }
.day-chip .dc-dow { font-size: 14px; font-weight: 700; }
.day-chip .dc-day { font-size: 32px; font-weight: 800; line-height: 1.05; font-variation-settings: 'opsz' 48, 'wdth' 80; }
.day-chip .dc-mon { font-size: 13.5px; color: var(--ink-2); }
.day-chip .dc-near { font-weight: 700; color: var(--cobalt); }
.day-chip .dc-free { margin-top: 6px; font-size: 12.5px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--sky); }
.day-chip[aria-checked="true"] { background: var(--cobalt); color: #fff; transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.day-chip[aria-checked="true"] .dc-mon, .day-chip[aria-checked="true"] .dc-near { color: #E3E8FF; }
.day-chip[aria-checked="true"] .dc-free { background: var(--marigold); color: var(--ink); }
.slot-area { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; min-height: 120px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.slot {
  min-height: 46px; border-radius: 11px; border: 2px solid var(--ink); background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
  font: 700 15.5px/1 var(--font); color: var(--ink); cursor: pointer; font-variant-numeric: tabular-nums;
  transition: transform .1s ease, box-shadow .1s ease, background-color .12s ease;
}
@media (hover: hover) { .slot:hover:not(:disabled) { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); } }
.slot:disabled { border: 2px dashed #B8BCD6; box-shadow: none; color: #8F94B5; text-decoration: line-through; cursor: not-allowed; background: transparent; }
.slot[aria-checked="true"] { background: var(--marigold); transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.slot-empty { grid-column: 1 / -1; padding: 24px; border-radius: 14px; background: var(--sky); color: var(--ink-2); text-align: center; }
.slot-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; font-size: 14.5px; color: var(--ink-2); }
.lg { width: 16px; height: 16px; border-radius: 4px; border: 2px solid var(--ink); display: inline-block; margin-left: 10px; }
.lg:first-child { margin-left: 0; }
.lg-taken { border: 2px dashed #8F94B5; }
.booker-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 32px; padding-top: 24px; border-top: 2px solid var(--ink); }
.booker-summary { font-size: 19px; font-weight: 750; }
.booker-summary.empty { color: var(--ink-2); font-weight: 400; }
.booker-final { display: flex; gap: 14px; flex-wrap: wrap; }
.booker-noscript { margin-top: 16px; }
.ticket { border: 2px dashed var(--ink); border-radius: 18px; padding: 28px; background: var(--sky); }
.ticket-head { display: flex; gap: 14px; align-items: center; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 2px dashed var(--ink); }
.ticket-head div { display: flex; flex-direction: column; line-height: 1.3; }
.ticket-head strong { font-size: 19px; }
.ticket-head span { font-size: 15px; color: var(--ink-2); }
.ticket-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 24px; margin: 0; }
.ticket-grid div { display: flex; flex-direction: column; gap: 2px; }
.ticket-grid dt { font-size: 14px; color: var(--ink-2); }
.ticket-grid dd { margin: 0; font-weight: 700; font-size: 18px; }
.ticket-grid .t-big dd { font-size: 30px; font-weight: 800; line-height: 1.1; font-variation-settings: 'opsz' 48, 'wdth' 82; }
.ticket-grid .t-wide { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
label, legend { font-weight: 700; font-size: 16px; }
.optional { font-weight: 400; color: var(--ink-2); }
input, select, textarea {
  font: 400 17px/1.4 var(--font); color: var(--ink);
  background: var(--paper); border: 2px solid var(--ink); border-radius: 12px;
  padding: 13px 15px; min-height: 52px; width: 100%;
  transition: box-shadow .12s ease;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: 4px 4px 0 var(--cobalt); }
.form-error { color: #B0254A; font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.emergency {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 40px; padding: 20px 22px; border-radius: 16px;
  background: var(--pink-soft); border: 2px solid var(--ink);
}
.emergency .icon { width: 24px; height: 24px; color: #B0254A; }
.emergency p { font-size: 16.5px; }
.emergency a { font-weight: 800; }

/* ---------- vaccination planner ---------- */
.section-ink h2 { color: #fff; }
.vax-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.vax-intro { position: sticky; top: 120px; }
.vax-intro > p { margin-top: 20px; color: #D7DAF0; font-size: 19px; }
.vax-form { margin-top: 32px; display: flex; flex-direction: column; gap: 8px; max-width: 320px; }
.vax-form label { color: #fff; }
.vax-form input { background: var(--night); border-color: #6C73B8; color: #fff; color-scheme: dark; }
.vax-form input:focus { border-color: var(--marigold); box-shadow: 4px 4px 0 var(--marigold); }
.vax-next { margin-top: 24px; padding: 22px; border-radius: 16px; border: 2px solid var(--marigold); display: flex; flex-direction: column; gap: 2px; }
.vax-next-label { font-size: 15px; font-weight: 700; color: var(--marigold); }
.vax-next strong { font-size: 30px; font-weight: 800; line-height: 1.15; font-variation-settings: 'opsz' 48, 'wdth' 84; }
.vax-next > span:not(.vax-next-label) { color: #D7DAF0; }
.vax-next-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.vax-next .btn-sun { --press: 3px; box-shadow: 3px 3px 0 #000; border-color: #000; }
.vax-note { margin-top: 28px; font-size: 15px; color: #B7BCDF !important; }
.vax-source { margin-top: 8px; font-size: 14px; color: #9DA3CF !important; }
.vax-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vax-item { padding: 18px 22px; border-radius: 16px; background: var(--night); border: 2px solid transparent; transition: background-color .3s ease, opacity .3s ease; }
.vax-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.vax-top strong { font-size: 22px; font-weight: 750; font-variation-settings: 'opsz' 32, 'wdth' 88; }
.vax-date { font-size: 15px; color: #C5CAEA; font-variant-numeric: tabular-nums; }
.vax-chips { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.vax-chips li { font-size: 14px; font-weight: 600; padding: 4px 10px; border-radius: 7px; background: rgba(255, 255, 255, .1); color: #EDEFFB; }
.vax-item.is-past { opacity: .5; }
.vax-item.is-next { background: var(--marigold); color: var(--ink); border-color: #000; box-shadow: 6px 6px 0 #000; }
.vax-item.is-next .vax-date { color: var(--ink); font-weight: 700; }
.vax-item.is-next .vax-chips li { background: rgba(26, 31, 78, .12); color: var(--ink); }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 260px; gap: 16px; }
.g-item { position: relative; padding: 0; border: 2px solid var(--ink); border-radius: 20px; overflow: hidden; cursor: zoom-in; background: var(--sky); }
.g-0 { grid-column: span 2; grid-row: span 2; border-radius: 28px; background: var(--leaf); }
.g-1 { background: var(--marigold); }
.g-2 { border-radius: 140px 140px 20px 20px; background: var(--pink); }
.g-4 { background: var(--marigold); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
@media (hover: hover) { .g-item:hover img { transform: scale(1.04); } }
.g-caption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border: 2px solid var(--ink); border-radius: 10px; background: var(--paper); color: var(--ink); font-weight: 700; font-size: 15px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(14, 17, 46, .92); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 64px 96px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 160px); border-radius: 18px; border: 2px solid #fff; object-fit: contain; }
.lightbox figcaption { display: flex; gap: 16px; color: #fff; font-weight: 700; }
.lightbox figcaption span:last-child { color: #B7BCDF; font-weight: 400; }
.lb-btn { position: fixed; width: 54px; height: 54px; border-radius: 14px; border: 2px solid #fff; display: grid; place-items: center; background: transparent; color: #fff; cursor: pointer; }
.lb-btn:hover { background: rgba(255, 255, 255, .14); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 80px; align-items: start; }
.about-image { position: sticky; top: 120px; aspect-ratio: 4 / 5; border: 2px solid var(--ink); border-radius: 999px 999px 24px 24px; overflow: hidden; background: var(--marigold); }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-image.is-silhouette { isolation: isolate; }
/* Any dark-figure-on-bright-background photo becomes a solid black silhouette on marigold */
.about-image { position: relative; }
.about-image.is-silhouette { position: sticky; }
.img-label { position: absolute; right: 12px; bottom: 12px; padding: 4px 9px; border-radius: 7px; background: rgba(255, 255, 255, .92); border: 1.5px solid var(--ink); color: var(--ink); font-size: 12.5px; font-weight: 700; }
.about-image.sil-cutout img { object-fit: contain; object-position: var(--sil-pos, 50% 100%); }
/* "blend" mode: any dark-figure-on-bright-background photo becomes a black silhouette on marigold */
.about-image.sil-blend img { object-position: var(--sil-pos, 50% 20%); filter: grayscale(1) brightness(1.05) contrast(5); mix-blend-mode: multiply; }
.about-copy h2 { margin-bottom: 28px; }
.about-copy > p { font-size: 19px; color: var(--ink-2); margin-bottom: 18px; max-width: 36em; }
.mini-head { margin: 48px 0 8px; font-size: 20px; }
.credentials { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.credentials li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid #C5CBEA; }
.cred-year { font-size: 24px; font-weight: 800; color: var(--cobalt); font-variation-settings: 'opsz' 32, 'wdth' 82; font-variant-numeric: tabular-nums; line-height: 1.2; }
.credentials div { display: flex; flex-direction: column; }
.credentials strong { font-size: 18px; }
.credentials span { color: var(--ink-2); font-size: 16px; }
.memberships { display: flex; gap: 10px; align-items: center; margin-top: 28px; font-weight: 700; font-size: 17px; }
.memberships .icon { color: var(--cobalt); width: 24px; height: 24px; }

/* ---------- hours, fees, directions ---------- */
.clinic-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.hours-col h3, .bring h3 { margin-bottom: 14px; }
.hours { width: 100%; border-collapse: collapse; font-size: 17px; border-top: 2px solid var(--ink); }
.hours th, .hours td { padding: 12px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours th { font-weight: 500; color: var(--ink-2); width: 42%; }
.hours td { font-variant-numeric: tabular-nums; }
.hours tr.today th, .hours tr.today td { background: var(--marigold); color: var(--ink); font-weight: 700; border-bottom-color: var(--ink); }
.fees-head { margin-top: 40px; }
.fees { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.fees li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px dashed #B8BCD6; font-size: 17px; }
.fees strong { text-align: right; }
.fine { font-size: 15px; color: var(--ink-2); margin-top: 14px; }
.clinic-side { display: grid; gap: 32px; }
.map { border: 2px solid var(--ink); border-radius: 20px; overflow: hidden; height: 320px; background: var(--sky); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.address { display: flex; gap: 14px; align-items: flex-start; }
.address > .icon { width: 26px; height: 26px; color: var(--cobalt); margin-top: 2px; }
.address strong { font-size: 19px; }
address { font-style: normal; color: var(--ink-2); margin-top: 2px; }
.address-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 56px; align-items: start; }
.faq { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 2px solid var(--ink); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 72px; font-weight: 700; font-size: 20px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { width: 32px; height: 32px; padding: 5px; border: 2px solid var(--ink); border-radius: 9px; background: var(--paper); transition: transform .2s ease, background-color .2s ease; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--marigold); }
.faq-item p { padding: 0 48px 24px 0; color: var(--ink-2); font-size: 18px; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #D7DAF0; padding: 80px 0 104px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 40px; border-bottom: 2px solid #3C4380; }
.footer-brand { display: flex; gap: 16px; align-items: center; }
.footer-brand div { display: flex; flex-direction: column; font-size: 15.5px; }
.footer-brand strong { color: #fff; font-size: 22px; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-contact a { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; color: #fff; font-weight: 600; }
.footer-contact a:hover { color: var(--marigold); }
.compliance { display: flex; gap: 14px; align-items: flex-start; margin: 32px 0 24px; padding: 20px 22px; border-radius: 16px; background: var(--night); font-size: 15px; color: #C5CAEA; max-width: 900px; }
.compliance .icon { color: var(--marigold); margin-top: 2px; }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; font-size: 14.5px; color: #A9AED6; }
.footer-meta a { color: var(--marigold); font-weight: 700; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 60px; height: 60px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--wa); color: #fff; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
}
.wa-float.show { opacity: 1; transform: none; pointer-events: auto; }
.wa-float .icon { width: 28px; height: 28px; }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  :root { --u: 66px; }
}
@media (max-width: 1180px) {
  :root { --u: 58px; }
  .nav-links { gap: 20px; }
  .tour-toggle span { display: none; }
  .tour-toggle { width: 46px; padding: 0; justify-content: center; }
}
@media (max-width: 1040px) {
  .fv-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-0, .sv-5 { grid-column: span 2; }
}
@media (max-width: 960px) {
  body { font-size: 17px; }
  .menu-btn { display: grid; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px; margin-top: 6px;
    background: var(--paper); border: 2px solid var(--ink); border-radius: 18px; box-shadow: 6px 6px 0 var(--ink);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 16px; border-radius: 10px; font-size: 18px; border-bottom: 0; }
  .nav-links a:hover, .nav-links a.active { background: var(--sky); }
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-copy { padding-bottom: 40px; }
  .hero-visual { justify-self: center; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 2px solid var(--ink); }
  .section { padding: 88px 0; }
  .section-head-split, .stage-body, .vax-grid, .about-grid, .clinic-grid, .faq-wrap { grid-template-columns: 1fr; }
  .section-head-split { gap: 18px; }
  .stage-body { gap: 40px; }
  .stage-image { max-width: 420px; }
  .vax-intro { position: static; }
  .about-image, .about-image.is-silhouette { position: relative; top: auto; }
  .vax-grid, .about-grid, .clinic-grid, .faq-wrap { gap: 40px; }
  .about-image { max-width: 420px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 190px; }
  .g-item:last-child { grid-column: span 2; }
  .booker { padding: 28px; }
  .slot-area { grid-template-columns: 1fr; }
  .ticket-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lightbox figure { padding: 72px 16px; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
}
@media (max-width: 640px) {
  :root { --u: 46px; }
  h1 { font-size: clamp(50px, 15vw, 72px); }
  .brand-text span { display: none; }
  .brand-text strong { font-size: 17px; white-space: nowrap; }
  .lead { font-size: 19px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .tower { gap: 8px; }
  .col-label strong { font-size: 13.5px; }
  .col-label span { font-size: 11.5px; }
  .facts { grid-template-columns: 1fr; }
  .facts > div, .facts > div + div { padding: 14px 0; border-left: 0; }
  .facts > div + div { border-top: 1px solid var(--line); }
  .facts dd { font-size: 17px; }
  .fv { padding-top: 64px; }
  .fv-list { grid-template-columns: 1fr; gap: 22px; }
  .stage-track { grid-template-columns: repeat(5, 132px); overflow-x: auto; padding: 2px 8px 10px 2px; margin-right: -20px; scrollbar-width: none; }
  .stage-track::-webkit-scrollbar { display: none; }
  .stage-image { max-width: 300px; justify-self: center; width: 100%; }
  .services { grid-template-columns: 1fr; }
  .sv-0, .sv-5 { grid-column: auto; }
  .service { min-height: 0; padding: 26px; }
  .sv-5 { padding-left: 26px; border-radius: 22px; }
  .sv-2 { border-radius: 22px 70px 22px 22px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .booker { padding: 22px 18px; box-shadow: 6px 6px 0 var(--ink); }
  .booker-steps { gap: 16px; }
  .booker-foot .btn { flex: 1 1 100%; }
  .booker-final { width: 100%; }
  .ticket { padding: 20px; }
  .gallery { grid-auto-rows: 150px; gap: 10px; }
  .g-2 { border-radius: 80px 80px 16px 16px; }
  .g-caption { left: 8px; bottom: 8px; font-size: 13px; padding: 4px 9px; }
  .map { height: 240px; }
  .faq-item summary { font-size: 18px; }
  .faq-item p { padding-right: 0; }
}
@media (max-width: 440px) {
  .nav-book { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* =====================================================================
   ADAPTIVE LAYER: elements change by device nature, not just by size.
   compact = phones, small tablets, or any touch device up to 1100px
   ===================================================================== */
:root { --dock-h: 0px; }

/* Things that only exist on some devices start hidden */
.dock, .map-card, .slot-seg, .hours-details > summary { display: none; }
.booker-live { display: none; }

/* ---------- desktop: hover preview on tower columns ---------- */
.col { position: relative; }
.col-tip {
  position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  width: 210px; padding: 12px 14px; border: 2px solid var(--ink); border-radius: 14px;
  background: var(--paper); box-shadow: 4px 4px 0 var(--ink);
  display: flex; flex-direction: column; gap: 4px; text-align: left;
  font-size: 14px; line-height: 1.35; color: var(--ink);
  opacity: 0; visibility: hidden; pointer-events: none; z-index: 5;
  transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
}
.col-tip strong { font-size: 15px; }
.col-tip span::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 2px; background: var(--fill); border: 1.5px solid var(--ink); margin-right: 7px; vertical-align: 1px; }
.col-tip em { font-style: normal; color: var(--cobalt); font-weight: 700; margin-top: 2px; }
.col-3 .col-tip, .col-4 .col-tip { left: auto; right: 0; transform: translate(0, 6px); }
@media (hover: hover) and (pointer: fine) {
  .col:hover .col-tip, .col:focus-visible .col-tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
  .col-3:hover .col-tip, .col-4:hover .col-tip, .col-3:focus-visible .col-tip, .col-4:focus-visible .col-tip { transform: none; }
}

/* ---------- desktop: live booking ticket beside the picker ---------- */
@media (min-width: 1101px) {
  .booker-body { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 40px; align-items: start; }
  .booker-live {
    display: block; position: sticky; top: 112px;
    padding: 22px; border: 2px dashed var(--ink); border-radius: 18px; background: var(--sky);
  }
  .live-head { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; margin-bottom: 14px; border-bottom: 2px dashed var(--ink); }
  .live-head div { display: flex; flex-direction: column; line-height: 1.25; }
  .live-head strong { font-size: 18px; }
  .live-head span { font-size: 14px; color: var(--ink-2); }
  .live-grid { margin: 0; display: grid; gap: 12px; }
  .live-grid dt { font-size: 13.5px; color: var(--ink-2); }
  .live-grid dd { margin: 0; font-size: 18px; font-weight: 750; line-height: 1.3; transition: color .2s ease; }
  .live-grid dd.is-empty { color: #9298BE; font-weight: 500; font-size: 16px; }
  .live-foot { margin-top: 16px; font-size: 13.5px; color: var(--ink-2); }
  .slot-area { grid-template-columns: 1fr; }
}

/* ---------- desktop: WhatsApp opens a QR code to continue on the phone ---------- */
.wa-desk { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.wa-float { position: static; }
.wa-pop {
  width: 300px; padding: 20px; border: 2px solid var(--ink); border-radius: 18px;
  background: var(--paper); box-shadow: 6px 6px 0 var(--ink);
  display: flex; flex-direction: column; gap: 8px;
}
.wa-pop strong { font-size: 20px; }
.wa-pop p { font-size: 15px; color: var(--ink-2); }
.wa-qr { width: 168px; height: 168px; margin: 8px auto; padding: 10px; border: 2px solid var(--ink); border-radius: 12px; background: #fff; }
.wa-qr svg { width: 100%; height: 100%; display: block; }
.wa-pop-actions { display: grid; gap: 10px; margin-top: 4px; }
.toast {
  position: fixed; left: 50%; bottom: calc(24px + var(--dock-h) + env(safe-area-inset-bottom)); z-index: 60;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 18px; border-radius: 12px; border: 2px solid var(--ink);
  background: var(--ink); color: #fff; font-weight: 700; font-size: 15px;
  transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- touch devices: bigger targets, no hover-only content ---------- */
@media (pointer: coarse) {
  .slot { min-height: 50px; }
  .btn-sm { min-height: 48px; }
  .day-chip { width: 92px; }
}

/* ---------- touch or small: map becomes a light tap-to-open card ---------- */
@media (max-width: 960px), (hover: none), (pointer: coarse) {
  .map-embed { display: none; }
  .map-card {
    display: flex; align-items: stretch; text-decoration: none; color: var(--ink);
    border: 2px solid var(--ink); border-radius: 20px; overflow: hidden; background: var(--paper);
    box-shadow: 4px 4px 0 var(--ink);
  }
  .map-card:active { transform: translate(4px, 4px); box-shadow: none; }
  .map-card-art { position: relative; flex: 0 0 132px; min-height: 120px; background: var(--sky); border-right: 2px solid var(--ink); overflow: hidden; }
  .road { position: absolute; background: #fff; border: 2px solid #C5CBEA; }
  .r1 { left: -10px; right: -10px; top: 42%; height: 16px; transform: rotate(-12deg); }
  .r2 { top: -10px; bottom: -10px; left: 38%; width: 14px; transform: rotate(8deg); }
  .r3 { left: -10px; right: -10px; top: 78%; height: 10px; transform: rotate(6deg); }
  .map-pin { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -60%); width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50% 50% 50% 4px; rotate: -45deg; background: var(--cobalt); border: 2px solid var(--ink); }
  .map-pin .icon { rotate: 45deg; color: #fff; width: 22px; height: 22px; }
  .map-card-text { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 18px 20px; }
  .map-card-text strong { font-size: 20px; }
  .map-card-text span { color: var(--ink-2); font-size: 15px; }
}

/* ---------- compact devices (phones, tablets): dock, folded content ---------- */
@media (max-width: 960px), (pointer: coarse) and (max-width: 1100px) {
  :root { --dock-h: 84px; }
  body { padding-bottom: calc(var(--dock-h) + 12px + env(safe-area-inset-bottom)); }
  .wa-desk { display: none; }
  .nav-book { display: none; }

  .dock {
    display: grid; grid-template-columns: 1fr 1fr 1.7fr; gap: 6px;
    position: fixed; z-index: 45; left: 12px; right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    padding: 6px; border: 2px solid var(--ink); border-radius: 20px;
    background: var(--ink); box-shadow: 0 10px 30px -10px rgba(26, 31, 78, .55);
  }
  .dock-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-height: 58px; border-radius: 14px; text-decoration: none;
    color: #fff; font-weight: 700; font-size: 13px;
  }
  .dock-btn .icon { width: 22px; height: 22px; }
  .dock-btn:active { background: rgba(255, 255, 255, .12); }
  .dock-primary { flex-direction: row; gap: 8px; font-size: 16px; background: var(--marigold); color: var(--ink); border: 2px solid var(--ink); }
  .dock-primary:active { background: #F2A600; }

  .hours-details > summary {
    display: flex; align-items: center; gap: 12px; min-height: 52px; cursor: pointer; list-style: none;
    font-weight: 700; font-size: 17px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  }
  .hours-details > summary::-webkit-details-marker { display: none; }
  .hours-details > summary .faq-icon { width: 28px; height: 28px; padding: 4px; }
  .hours-details[open] > summary .faq-icon { transform: rotate(45deg); background: var(--marigold); }
  .hours-details[open] .hours { border-top: 0; }
  .today-hours {
    display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px;
    padding: 16px 18px; border: 2px solid var(--ink); border-radius: 16px; background: var(--marigold);
  }
  .today-hours span { font-size: 15px; }
  .today-hours strong { font-size: 21px; line-height: 1.25; }

  .vax-more {
    width: 100%; min-height: 50px; margin: 10px 0; border-radius: 14px;
    border: 2px dashed rgba(255, 255, 255, .55); background: transparent; color: #fff;
    font: 700 16px/1 var(--font); cursor: pointer;
  }
  .vax-more:active { background: rgba(255, 255, 255, .08); }
}

/* ---------- phones: swipe cards, segmented slots, sticky continue ---------- */
@media (max-width: 640px) {
  /* stages: swipe through stage cards; the chips follow along */
  .stage-body { margin-top: 20px; }
  .stage-image { display: none; }
  .stage-panels {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: -20px; padding: 4px 20px 14px; scroll-padding-inline: 20px; scrollbar-width: none;
  }
  .stage-panels::-webkit-scrollbar { display: none; }
  .stage-panel {
    flex: 0 0 86%; scroll-snap-align: start; animation: none;
    padding: 24px 22px; border: 2px solid var(--ink); border-radius: 20px; background: var(--paper);
    box-shadow: 4px 4px 0 var(--ink);
  }
  .stage-panel h3 { font-size: 26px; margin-bottom: 18px; }
  .stage-panel .checklist li { font-size: 16.5px; }
  .stage-panel .stage-book { width: 100%; }
  .stage-track { grid-template-columns: repeat(5, max-content); }
  .stage-tab { min-height: 0; padding: 10px 16px; flex-direction: row; align-items: baseline; gap: 8px; }
  .stage-tab strong { font-size: 17px; }
  .stage-tab span { font-size: 13px; }

  /* booking: one time-of-day at a time, and Continue stays in reach of the thumb */
  .slot-seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
  .slot-seg button {
    display: flex; flex-direction: column; align-items: center; gap: 1px; min-height: 56px; padding: 6px;
    border: 2px solid var(--ink); border-radius: 14px; background: var(--paper); color: var(--ink); cursor: pointer;
  }
  .slot-seg strong { font-size: 17px; }
  .slot-seg span { font-size: 13px; color: var(--ink-2); }
  .slot-seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
  .slot-seg button[aria-pressed="true"] span { color: #C5CAEA; }
  .slot-area { gap: 0; min-height: 0; }
  .slot-group:not(.is-active) { display: none; }
  .slot-group h3 { font-size: 14.5px; color: var(--ink-2); font-weight: 600; }
  .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .booker-panel[data-step="1"] .booker-foot {
    position: sticky; z-index: 6; bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
    margin: 20px -18px -22px; padding: 14px 18px 16px; background: var(--paper);
    border-top: 2px solid var(--ink); border-radius: 0 0 20px 20px;
  }
  .booker-panel[data-step="1"] .booker-summary { font-size: 16px; }
  .booker-panel[data-step="1"] .booker-foot .btn { flex: 1 1 auto; }

  /* gallery: a swipeable strip instead of a grid */
  .gallery {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: -20px; padding: 2px 20px 10px; scroll-padding-inline: 20px; scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .g-item, .g-0, .g-item:last-child { flex: 0 0 78%; height: 300px; scroll-snap-align: start; grid-column: auto; grid-row: auto; }
  .g-0 { flex-basis: 86%; }
  .g-2 { border-radius: 120px 120px 18px 18px; }

  .lightbox .lb-prev, .lightbox .lb-next { display: none; }
  .lightbox figcaption::after { content: 'Swipe for more, down to close'; color: #9DA3CF; font-weight: 400; }
}

/* ---------- phones held sideways: short screen, so use the width ---------- */
@media (max-height: 520px) and (orientation: landscape) {
  :root { --u: 40px; --dock-h: 64px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .hero h1 { font-size: 48px; }
  .hero-copy { padding-bottom: 28px; }
  .dock { left: auto; right: calc(12px + env(safe-area-inset-right)); width: 360px; }
  .dock-btn { min-height: 44px; flex-direction: row; gap: 6px; }
  .dock-btn span { font-size: 13px; }
  .stage-panel { flex-basis: 60%; }
}

/* ---------- tablets: the dock floats as a compact pill instead of spanning the screen ---------- */
@media (min-width: 641px) and (max-width: 1100px) and (min-height: 521px) {
  .dock { left: 50%; right: auto; transform: translateX(-50%); width: min(520px, 100% - 24px); grid-template-columns: 1fr 1fr 1.5fr; }
  .dock-btn { flex-direction: row; gap: 8px; min-height: 52px; font-size: 15px; }
}
