/* Dr Terence Moodley — site styles */

:root {
  --ink: #0E1B33;
  --ink-2: #3C4A63;
  --ink-3: #5F6E86;
  --blue: #0A6CB0;
  --blue-hover: #08578F;
  --blue-deep: #1E3A8A;
  --sky: #7DD3FC;
  --pulse: #06B6D4;
  --mist: #E1EDF9;
  --mist-2: #D3E3F3;
  --line: #CFDDEC;
  --paper: #FFFFFF;
  --deep: #0F2D57;
  --night: #0A1730;
  --night-2: #13254A;
  --open: #0F7A4A;
  --open-bg: #E3F5EC;
  --closed: #9A3412;
  --closed-bg: #FDEEE6;
  --alert: #9B2C1F;
  --alert-bg: #FDF0EE;

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

  /* type scale, ratio 1.25 */
  --t-sm: 0.875rem;
  --t-base: 1.0625rem;
  --t-md: 1.3125rem;
  --t-lg: 1.625rem;
  --t-xl: 2.0625rem;
  --t-2xl: clamp(2.125rem, 1.4rem + 2.6vw, 3.25rem);

  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-base);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
  font-weight: 700;
}
p, ul, ol, dl, address { margin: 0; }
address { font-style: normal; }

a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-hover); }

:focus-visible {
  outline: 3px solid var(--pulse);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
}
.skip:focus { top: 12px; color: #fff; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.prose { max-width: 66ch; }
.prose > * + * { margin-top: 1em; }
.lead { font-size: var(--t-md); color: var(--ink-2); line-height: 1.5; max-width: 40ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font: 600 1rem/1.2 var(--font);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { background: #fff; color: var(--night); }
.btn-light:hover { background: var(--sky); color: var(--night); }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn .wa-icon { width: 20px; height: 20px; fill: #25D366; }
.btn .tel-icon { fill: var(--blue); }
.btn-primary .wa-icon, .btn-primary .tel-icon { fill: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand img { width: 48px; height: 48px; }
.brand-text { display: grid; line-height: 1.2; }
.brand-name { font-weight: 800; font-size: 1.125rem; letter-spacing: -0.015em; }
.brand-role { font-size: var(--t-sm); color: var(--ink-3); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; padding: 0; }
.site-nav ul a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
}
.site-nav ul a:hover { color: var(--ink); background: var(--mist); }
.site-nav ul a[aria-current="page"] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--blue);
  border-radius: 0;
}
.nav-cta { min-height: 44px; padding: 10px 18px; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: 600 .9375rem var(--font);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .brand img { width: 42px; height: 42px; }
  .brand-name { font-size: 1.0625rem; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 12px var(--gutter) 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px -20px rgba(14, 27, 51, .35);
  }
  .nav-open .site-nav { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { padding: 14px 4px; border-bottom: 1px solid var(--mist-2); border-radius: 0; font-size: 1.0625rem; }
  .site-nav ul a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--blue); padding-left: 14px; }
}
@media (max-width: 420px) {
  .brand-role { display: none; }
  .nav-toggle-label { display: none; }
}

/* ---------- Mobile quick bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 700px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    background: var(--paper);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 64px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
  }
  .mobile-bar a + a { border-left: 1px solid var(--line); }
  .mobile-bar svg { width: 20px; height: 20px; fill: var(--blue); }
  .mobile-bar .mobile-bar-book { background: var(--blue); color: #fff; border-left: 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
/* Section tones: dark blue and light blue alternate down each page */
.tone-light { background: var(--mist); }
.tone-dark {
  background: var(--deep);
  --ink: #FFFFFF;
  --ink-2: #CCDAEE;
  --ink-3: #A3B7D4;
  --blue: #8FD8FF;
  --blue-hover: #C4EAFF;
  --paper: #173B6C;
  --mist: rgba(255, 255, 255, .08);
  --mist-2: rgba(255, 255, 255, .12);
  --line: rgba(255, 255, 255, .18);
  color: var(--ink);
}
.tone-dark .btn-primary { background: #FFFFFF; color: var(--deep); }
.tone-dark .btn-primary:hover { background: var(--sky); color: var(--night); }
/* White panels that stay light on dark sections */
.tone-dark .surface-light {
  --ink: #0E1B33;
  --ink-2: #3C4A63;
  --ink-3: #5F6E86;
  --blue: #0A6CB0;
  --blue-hover: #08578F;
  --paper: #FFFFFF;
  --mist: #E1EDF9;
  --mist-2: #D3E3F3;
  --line: #CFDDEC;
  background: #FFFFFF;
  color: var(--ink);
}
.tone-dark .surface-light .btn-primary { background: var(--blue); color: #fff; }
.tone-dark .surface-light .btn-primary:hover { background: var(--blue-hover); color: #fff; }
.section-head { display: grid; gap: 12px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 44rem; }
.section-head h2 { font-size: var(--t-xl); }
.section-head p { color: var(--ink-2); font-size: var(--t-md); line-height: 1.5; }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(40px, 7vw, 88px);
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(56, 189, 248, .22) 0%, transparent 60%),
    var(--deep);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.hero-copy { display: grid; gap: 24px; padding-top: 8px; }
.hero h1 {
  font-size: var(--t-2xl);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  max-width: 15ch;
}
.hero .lead { max-width: 36ch; }
.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
}
.credentials li {
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink-2);
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
}

/* heartbeat line */
.pulse-line {
  display: block;
  width: 100%;
  height: clamp(70px, 9vw, 120px);
  margin-top: clamp(24px, 4vw, 48px);
}
.pulse-line path {
  fill: none;
  stroke: url(#pulseGrad);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
@media (prefers-reduced-motion: no-preference) {
  .pulse-line path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw 2.4s cubic-bezier(.45, .05, .25, 1) .3s forwards;
  }
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* today card */
.today {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 30px 60px -40px rgba(14, 27, 51, .45);
  padding: 28px;
  display: grid;
  gap: 20px;
}
.today-top { display: flex; align-items: center; gap: 16px; }
.today-top img { width: 64px; height: 64px; flex: none; }
.today-top h2 { font-size: var(--t-md); letter-spacing: -0.01em; }
.today-top p { color: var(--ink-3); font-size: var(--t-sm); }
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9375rem;
  background: var(--mist);
  color: var(--ink-2);
}
.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.status[data-state="open"] { background: var(--open-bg); color: var(--open); }
.status[data-state="closed"] { background: var(--closed-bg); color: var(--closed); }

.hours { display: grid; gap: 0; }
.hours > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--mist-2);
}
.hours > div:last-child { border-bottom: 0; }
.hours dt { color: var(--ink-2); }
.hours dd { margin: 0; font-weight: 600; white-space: nowrap; }
.hours .is-today dt, .hours .is-today dd { color: var(--blue); }
.hours .is-today dt::after { content: " (today)"; font-weight: 400; }

.today-address { display: flex; gap: 12px; color: var(--ink-2); font-size: .9375rem; }
.today-address svg { width: 20px; height: 20px; fill: var(--blue); flex: none; margin-top: 2px; }
.today .btn-row .btn { flex: 1 1 140px; }

/* ---------- Split / reasons ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.split h2 { font-size: var(--t-xl); }

/* ---------- Shared: display headings, icons, chips ---------- */
.display {
  font-size: clamp(2.125rem, 1.5rem + 2.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.icon-badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(145deg, #E0F2FE, #BFE3FB);
  color: var(--blue-deep);
  box-shadow: inset 0 0 0 1px rgba(10, 108, 176, .12);
}
.icon-badge .icon { width: 26px; height: 26px; }
.tone-dark .icon-badge {
  background: linear-gradient(145deg, rgba(125, 211, 252, .22), rgba(6, 182, 212, .08));
  color: #BAE6FD;
  box-shadow: inset 0 0 0 1px rgba(186, 230, 253, .25);
}
.tone-dark .icon-badge-ribbon { color: #FCA5A5; background: linear-gradient(145deg, rgba(248, 113, 113, .22), rgba(248, 113, 113, .06)); box-shadow: inset 0 0 0 1px rgba(252, 165, 165, .25); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.chips li {
  font-size: var(--t-sm);
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--ink-2);
  border: 1px solid var(--line);
}

/* ---------- Welcome: life stages ---------- */
.welcome { position: relative; overflow: hidden; }
.welcome::before {
  content: "";
  position: absolute;
  top: -18rem;
  right: -12rem;
  width: 40rem;
  height: 40rem;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.welcome .wrap { position: relative; }
.welcome-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: end;
}
.welcome-top .display { max-width: 12ch; }
.welcome-copy { display: grid; gap: 16px; max-width: 58ch; }
.welcome-copy .lead { max-width: none; color: var(--ink); }
.welcome-copy p:not(.lead) { color: var(--ink-2); }
@media (max-width: 860px) { .welcome-top { grid-template-columns: minmax(0, 1fr); } }

.lifeline {
  --node: 18px;
  position: relative;
  list-style: none;
  padding: calc(var(--node) + 28px) 0 0;
  margin-top: clamp(48px, 7vw, 80px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.lifeline::before {
  content: "";
  position: absolute;
  top: calc(var(--node) / 2 - 1px);
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #7DD3FC, var(--blue) 45%, var(--blue-deep));
}
.lifeline li {
  position: relative;
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 22px 22px 24px;
  background: var(--paper);
  border-radius: 18px;
  border: 1px solid transparent;
  box-shadow: 0 1px 0 rgba(14, 27, 51, .04), 0 18px 40px -28px rgba(14, 27, 51, .45);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background-color .3s ease;
}
.lifeline li:hover {
  background:
    radial-gradient(18rem 10rem at 0% 0%, rgba(56, 189, 248, .14), transparent 70%),
    var(--paper);
}
.lifeline li:hover .age { color: var(--blue-deep); text-shadow: 0 0 22px rgba(56, 189, 248, .55); }
.lifeline li:hover::before {
  border-color: #06B6D4;
  box-shadow: 0 0 0 6px rgba(6, 182, 212, .25), 0 0 18px 6px rgba(6, 182, 212, .55);
}
.lifeline li::before {
  content: "";
  position: absolute;
  top: calc(-1 * (var(--node) + 28px));
  left: 22px;
  width: var(--node);
  height: var(--node);
  border-radius: 50%;
  background: var(--paper);
  border: 4px solid var(--blue);
  box-shadow: 0 0 0 6px rgba(10, 108, 176, .14);
  transition: border-color .3s ease, box-shadow .3s ease;
}
.lifeline li::after {
  content: "";
  position: absolute;
  top: -28px;
  left: calc(22px + var(--node) / 2 - 1px);
  width: 2px;
  height: 28px;
  background: linear-gradient(var(--blue), rgba(10, 108, 176, 0));
}
.lifeline .age {
  transition: color .3s ease, text-shadow .3s ease;
  font-size: clamp(2rem, 1.4rem + 1.8vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--blue);
  margin-bottom: 6px;
}
.lifeline strong { font-size: var(--t-md); letter-spacing: -0.01em; line-height: 1.25; }
.lifeline li > span:last-child { color: var(--ink-2); font-size: .9375rem; }
@media (max-width: 900px) {
  .lifeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .lifeline { grid-template-columns: minmax(0, 1fr); padding: 0 0 0 36px; gap: 16px; }
  .lifeline::before { top: 0; bottom: 0; left: 8px; right: auto; width: 3px; height: auto; background: linear-gradient(#7DD3FC, var(--blue) 45%, var(--blue-deep)); }
  .lifeline li::before { top: 26px; left: -36px; }
  .lifeline li::after { top: calc(26px + var(--node) / 2 - 1px); left: -18px; width: 18px; height: 2px; background: linear-gradient(90deg, var(--blue), rgba(10, 108, 176, 0)); }
}

/* ---------- Services bento ---------- */
.services-head { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 16px 48px; }
.services-head p { max-width: 42ch; justify-self: end; }
@media (max-width: 860px) {
  .services-head { grid-template-columns: minmax(0, 1fr); }
  .services-head p { justify-self: start; }
}

.bento {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "family prevent prevent"
    "family hiv aviation";
  gap: 16px;
}
.bento-family { grid-area: family; }
.bento-prevent { grid-area: prevent; }
.bento-hiv { grid-area: hiv; }
.bento-aviation { grid-area: aviation; }
@media (max-width: 1000px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "family family"
      "prevent prevent"
      "hiv aviation";
  }
}
@media (max-width: 620px) {
  .bento {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "family" "prevent" "hiv" "aviation";
  }
}

.bento-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(24px, 3vw, 32px);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03) 60%);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
}
.bento-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, #38BDF8, #06B6D4, transparent);
  opacity: 0;
  transition: opacity .25s ease;
}
.bento-card:hover { border-color: rgba(125, 211, 252, .45); transform: translateY(-3px); }
.bento-card:hover::before { opacity: 1; }
.bento-card h3 { font-size: var(--t-lg); line-height: 1.15; }
.bento-card > p { color: var(--ink-2); max-width: 46ch; }
.bento-card .chips { margin-top: 2px; }
.bento-card .chips li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #DCE8F7; }

.card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}
.card-link .icon {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 50%;
  background: #fff;
  color: var(--deep);
  stroke-width: 2.25;
  transition: transform .2s ease, background-color .2s ease;
}
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card-link:hover, .card-link:focus-visible { color: #fff; }
.bento-card:hover .card-link .icon { transform: translateX(4px); background: var(--sky); }
.bento-card:has(.card-link:focus-visible) { outline: 3px solid var(--pulse); outline-offset: 3px; }
.card-link:focus-visible { outline: none; }

.bento-family {
  background:
    radial-gradient(28rem 20rem at 100% 100%, rgba(56, 189, 248, .28), transparent 60%),
    linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03) 60%);
  min-height: 100%;
}
.bento-family h3 { font-size: var(--t-xl); letter-spacing: -0.025em; }
.bento-watermark {
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 320px;
  height: 320px;
  opacity: .14;
  z-index: -1;
  pointer-events: none;
}
.bento-pulse {
  position: absolute;
  right: 0;
  top: 18px;
  width: 55%;
  height: 80px;
  z-index: -1;
  pointer-events: none;
}
.bento-pulse path { fill: none; stroke: rgba(125, 211, 252, .35); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.bento-flight {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 150px;
  height: 90px;
  z-index: -1;
  pointer-events: none;
}
.bento-flight path { fill: none; stroke: rgba(125, 211, 252, .45); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; }
@media (max-width: 620px) {
  .bento-pulse { width: 70%; }
}
.services-more { margin-top: 32px; }

/* ---------- Why choose us ---------- */
.why {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 960px) { .why { grid-template-columns: minmax(0, 1fr); } }
.why-intro { display: grid; gap: 18px; }
@media (min-width: 961px) { .why-intro { position: sticky; top: calc(var(--header-h) + 24px); } }
.why-intro .display { max-width: 13ch; }

.promise {
  position: relative;
  overflow: hidden;
  margin: 12px 0 0;
  padding: clamp(24px, 3vw, 32px);
  border-radius: 22px;
  background: var(--deep);
  color: #fff;
  display: grid;
  gap: 16px;
  justify-items: start;
  box-shadow: 0 30px 60px -36px rgba(15, 45, 87, .7);
}
.promise::after {
  content: "\201C";
  position: absolute;
  right: 20px;
  top: -30px;
  font-size: 12rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(125, 211, 252, .14);
  pointer-events: none;
}
.promise img { width: 56px; height: 56px; }
.promise blockquote { margin: 0; }
.promise blockquote p { font-size: var(--t-md); line-height: 1.45; font-weight: 500; letter-spacing: -0.01em; max-width: 30ch; }
.promise figcaption { font-size: var(--t-sm); color: #A3B7D4; }
.promise .btn-primary { background: #fff; color: var(--deep); }
.promise .btn-primary:hover { background: var(--sky); color: var(--night); }

.why-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 560px) { .why-grid { grid-template-columns: minmax(0, 1fr); } }
.why-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: 20px;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 1px 0 rgba(14, 27, 51, .04), 0 18px 40px -30px rgba(14, 27, 51, .45);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
/* Shared hover glow for the light tiles */
.lifeline li:hover,
.why-tile:hover,
.journey-step:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, .55);
  box-shadow:
    0 0 0 4px rgba(56, 189, 248, .14),
    0 0 36px 4px rgba(56, 189, 248, .35),
    0 26px 50px -24px rgba(10, 108, 176, .55);
}
.why-tile:not(.why-tile-wide):hover {
  background:
    radial-gradient(18rem 10rem at 0% 0%, rgba(56, 189, 248, .14), transparent 70%),
    var(--paper);
}
.why-tile .icon-badge { transition: box-shadow .3s ease, color .3s ease; }
.why-tile:hover .icon-badge {
  color: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(6, 182, 212, .45), 0 0 18px 4px rgba(56, 189, 248, .45);
}
.why-tile .icon-badge { margin-bottom: 6px; }
.why-tile strong { font-size: var(--t-md); letter-spacing: -0.01em; line-height: 1.25; }
.why-tile > span:last-child, .why-tile-text span { color: var(--ink-2); }
.why-tile-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px 20px;
  background:
    radial-gradient(24rem 12rem at 100% 0%, #DDEFFC, transparent 70%),
    var(--paper);
}
.why-tile-wide .icon-badge { margin: 0; }
.why-tile-text { display: grid; gap: 2px; }
.why-tile-wide .chips { grid-column: 1 / -1; }
.why-tile-wide .chips li { background: var(--mist); }
@media (prefers-reduced-motion: reduce) {
  .bento-card, .why-tile, .card-link .icon, .lifeline li { transition: none; }
  .bento-card:hover, .why-tile:hover, .lifeline li:hover { transform: none; }
}

/* ---------- Doctor teaser ---------- */
.doctor {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 104px);
  align-items: center;
}
.portrait {
  aspect-ratio: 4 / 5;
  max-width: 100%;
  border-radius: 20px;
  background:
    linear-gradient(160deg, #F4F9FE 0%, #DCEBF8 100%);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.portrait img { width: 62%; }
.portrait-photo { position: relative; place-items: stretch; box-shadow: 0 30px 60px -34px rgba(10, 23, 48, .6); }
.portrait-photo > img:first-child { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.portrait-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  width: 64px !important;
  height: 64px;
  border-radius: 50%;
  box-shadow: 0 10px 24px -10px rgba(10, 23, 48, .6);
}
.doctor-copy { display: grid; gap: 18px; }
.doctor-copy h2 { font-size: var(--t-xl); }
.doctor-copy p { color: var(--ink-2); max-width: 60ch; }
@media (max-width: 760px) {
  .doctor { grid-template-columns: minmax(0, 1fr); }
  .portrait { max-width: 280px; }
}

/* ---------- Doctor section animation ---------- */
@property --ring-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.portrait-wrap {
  position: relative;
  max-width: 100%;
}
.portrait-wrap .portrait { position: relative; z-index: 1; }
.portrait-wrap::before,
.portrait-wrap::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 24px;
  background: conic-gradient(from var(--ring-angle), #38BDF8, #06B6D4 20%, transparent 35%, transparent 55%, #0A6CB0 70%, #7DD3FC 85%, #38BDF8);
  z-index: 0;
}
.portrait-wrap::after {
  inset: -10px;
  filter: blur(22px);
  opacity: .55;
}
.float-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  color: #0E1B33;
  font-size: .9375rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 16px 34px -14px rgba(5, 15, 35, .6), 0 0 0 1px rgba(56, 189, 248, .35);
}
.float-chip strong { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.03em; color: #0A6CB0; line-height: 1; }
.float-chip .icon { width: 20px; height: 20px; color: #0A6CB0; }
/* Bubbles sit on the frame edges, clear of his face and arms */
.float-chip-a { top: 7%; left: -34px; }
.float-chip-b { bottom: -22px; right: -34px; }
@media (max-width: 1000px) {
  .float-chip-a { left: -16px; }
  .float-chip-b { right: -16px; }
}
@media (max-width: 760px) {
  .portrait-wrap { max-width: 300px; margin: 0 12px 22px; }
  .portrait-wrap .portrait { max-width: none; }
  .float-chip { font-size: .8125rem; padding: 8px 12px; }
  .float-chip strong { font-size: 1.125rem; }
  .float-chip-a { left: -12px; }
  .float-chip-b { right: -12px; bottom: -20px; }
}

@media (prefers-reduced-motion: no-preference) {
  .portrait-wrap::before,
  .portrait-wrap::after { animation: ring-spin 7s linear infinite; }
  .portrait-wrap { animation: portrait-float 7s ease-in-out infinite; }
  .portrait-photo > img:first-child { animation: slow-zoom 16s ease-in-out infinite alternate; transform-origin: 50% 30%; }
  .portrait-badge { animation: badge-pulse 2.4s ease-out infinite; }
  .float-chip-a { animation: chip-float 5s ease-in-out infinite; }
  .float-chip-b { animation: chip-float 6s ease-in-out -2s infinite; }
}
@keyframes ring-spin { to { --ring-angle: 360deg; } }
@keyframes portrait-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}
@keyframes slow-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
@keyframes badge-pulse {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, .7), 0 10px 24px -10px rgba(10, 23, 48, .6); }
  70% { box-shadow: 0 0 0 16px rgba(56, 189, 248, 0), 0 10px 24px -10px rgba(10, 23, 48, .6); }
  100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0), 0 10px 24px -10px rgba(10, 23, 48, .6); }
}
@keyframes chip-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-6px, -10px); }
}

/* Scroll reveal (only hides content once JavaScript is ready to show it) */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0s);
}
.reveal-ready [data-reveal="left"] { transform: translateX(-40px) scale(.96); }
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Booking banner (shared) ---------- */
.band { position: relative; }
.cta-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 32px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 28px;
  background:
    radial-gradient(30rem 16rem at 100% 100%, rgba(56, 189, 248, .16), transparent 70%),
    #FFFFFF;
  border: 1px solid rgba(56, 189, 248, .25);
  box-shadow: 0 1px 0 rgba(14, 27, 51, .04), 0 30px 60px -36px rgba(10, 60, 120, .45);
}
.cta-pulse {
  position: absolute;
  inset: auto 0 6px 0;
  width: 100%;
  height: 34px;
  z-index: -1;
  pointer-events: none;
}
.cta-pulse path {
  fill: none;
  stroke: rgba(10, 108, 176, .14);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.cta-emblem {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(56, 189, 248, .12), 0 12px 24px -12px rgba(10, 60, 120, .45);
}
.cta-text { display: grid; gap: 8px; }
.cta-text h2 { font-size: var(--t-xl); letter-spacing: -0.03em; }
.cta-text p { color: var(--ink-2); max-width: 44ch; }
.cta-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 500px);
}
.cta-actions .btn { padding-inline: 14px; }
.cta-actions .btn-primary { grid-column: 1 / -1; min-height: 52px; font-size: 1.0625rem; }
.cta-actions .btn { white-space: nowrap; }
@media (max-width: 1100px) {
  .cta-card { grid-template-columns: auto minmax(0, 1fr); }
  .cta-actions { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .cta-card { grid-template-columns: minmax(0, 1fr); }
  .cta-emblem { width: 56px; height: 56px; }
  .cta-actions { grid-template-columns: minmax(0, 1fr); width: 100%; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding-block: clamp(44px, 7vw, 88px) clamp(36px, 5vw, 64px);
}
.page-hero .wrap { display: grid; gap: 16px; }
.page-hero h1 { font-size: var(--t-2xl); font-weight: 800; letter-spacing: -0.035em; max-width: 18ch; }
.crumbs { font-size: var(--t-sm); color: var(--ink-3); }
.crumbs a { color: var(--ink-3); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin-top: 8px; }
.jump a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-weight: 500;
  font-size: .9375rem;
  text-decoration: none;
}
.jump a:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- About: hero ---------- */
.about-hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
  background:
    radial-gradient(50rem 26rem at 90% -20%, rgba(56, 189, 248, .22), transparent 60%),
    radial-gradient(30rem 20rem at -10% 120%, rgba(6, 182, 212, .14), transparent 60%),
    var(--deep);
}
.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.about-hero-copy { display: grid; gap: 18px; justify-items: start; }
.about-hero-copy h1 { max-width: 14ch; }
.about-hero-copy .btn-row { margin-top: 8px; }
.about-hero .pulse-line { margin-top: clamp(16px, 3vw, 32px); }
@media (max-width: 860px) { .about-hero-grid { grid-template-columns: minmax(0, 1fr); } }

.profile-card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 30px);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04) 60%);
  border: 1px solid rgba(186, 230, 253, .28);
  box-shadow: 0 40px 80px -40px rgba(3, 10, 25, .8), inset 0 1px 0 rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.profile-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #38BDF8, #06B6D4, #0A6CB0);
}
.profile-top { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.profile-top img { width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 0 0 6px rgba(56, 189, 248, .15); }
.profile-name { font-weight: 800; font-size: var(--t-md); letter-spacing: -0.02em; }
.profile-role { color: var(--ink-3); font-size: var(--t-sm); }
.profile-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 20px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--line);
}
.profile-stats > div { padding: 16px 18px; background: rgba(15, 45, 87, .92); display: grid; gap: 4px; align-content: start; }
.profile-stats dt { font-size: var(--t-sm); color: var(--ink-3); }
.profile-stats dd { margin: 0; font-weight: 600; }
.stat-num {
  font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.375rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(120deg, #FFFFFF 20%, #7DD3FC);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- About: credentials ---------- */
.creds {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 960px) { .creds { grid-template-columns: minmax(0, 1fr); } }
.creds-intro { display: grid; gap: 18px; }
@media (min-width: 961px) { .creds-intro { position: sticky; top: calc(var(--header-h) + 24px); } }
.creds-intro .display { max-width: 12ch; }

.creds-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 560px) { .creds-grid { grid-template-columns: minmax(0, 1fr); } }
.cred-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03) 60%);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.cred-card:hover {
  transform: translateY(-4px);
  border-color: rgba(125, 211, 252, .5);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, .1), 0 0 36px 2px rgba(56, 189, 248, .25);
}
.cred-card .icon-badge { margin-bottom: 4px; }
.cred-card h3 { font-size: var(--t-base); font-weight: 600; color: var(--ink-2); letter-spacing: 0; line-height: 1.35; }
.cred-value { font-size: var(--t-lg); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: #fff; }
.cred-card-wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  background:
    radial-gradient(26rem 12rem at 100% 0%, rgba(56, 189, 248, .22), transparent 70%),
    linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04) 60%);
}
.cred-card-wide .icon-badge { margin: 0; width: 64px; height: 64px; border-radius: 20px; }
.cred-card-wide .icon-badge .icon { width: 32px; height: 32px; }
.cred-body { display: grid; gap: 12px; }
.quals { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.quals li {
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 800;
  font-size: .9375rem;
  letter-spacing: .04em;
  color: #0F2D57;
  background: linear-gradient(135deg, #FFFFFF, #CFEAFD);
  box-shadow: 0 6px 16px -8px rgba(3, 10, 25, .7);
}
@media (max-width: 560px) {
  .cred-card-wide { flex-direction: column; align-items: flex-start; }
}

/* ---------- About: care journey ---------- */
.journey {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  position: relative;
}
.journey::before {
  content: "";
  position: absolute;
  top: 50px;
  left: 12%;
  right: 12%;
  border-top: 2px dashed rgba(10, 108, 176, .35);
  z-index: 0;
}
.journey-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 26px 22px 28px;
  border-radius: 22px;
  background: var(--paper);
  border: 1px solid transparent;
  box-shadow: 0 1px 0 rgba(14, 27, 51, .04), 0 18px 40px -28px rgba(14, 27, 51, .45);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.journey-step .icon-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 6px;
  background: linear-gradient(145deg, #0A6CB0, #1E3A8A);
  color: #fff;
  box-shadow: 0 0 0 8px #E1EDF9, 0 12px 24px -10px rgba(10, 60, 120, .6);
  transition: box-shadow .3s ease;
}
.journey-step .icon-badge .icon { width: 28px; height: 28px; }
.journey-step h3 { font-size: var(--t-md); letter-spacing: -0.01em; }
.journey-step p { color: var(--ink-2); font-size: .9375rem; }
.journey-step:hover .icon-badge {
  box-shadow: 0 0 0 8px #E1EDF9, 0 0 24px 6px rgba(56, 189, 248, .55);
}
.journey-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 44px;
  right: -17px;
  width: 14px;
  height: 14px;
  border-top: 2.5px solid var(--blue);
  border-right: 2.5px solid var(--blue);
  transform: rotate(45deg);
  z-index: 2;
}
@media (max-width: 960px) {
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey::before, .journey-step::after { display: none; }
}
@media (max-width: 560px) { .journey { grid-template-columns: minmax(0, 1fr); } }

/* ---------- About: practice ---------- */
.practice {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 960px) { .practice { grid-template-columns: minmax(0, 1fr); } }
.practice-intro { display: grid; gap: 20px; }
.practice-intro .lead { max-width: 34ch; }

.address-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 8px;
  padding: 22px;
  border-radius: 20px;
  background: #FFFFFF;
  color: #0E1B33;
  box-shadow: 0 30px 60px -36px rgba(3, 10, 25, .9);
}
.address-card > .icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 14px;
  background: linear-gradient(145deg, #E0F2FE, #BFE3FB);
  color: #0A6CB0;
}
.address-card p { color: #3C4A63; }
.address-card .address-title { color: #0E1B33; font-weight: 700; }
.address-card .card-link { color: #0E1B33; padding-top: 12px; }
.address-card .card-link::after { content: none; }
.address-card .card-link .icon { background: #0A6CB0; color: #fff; }
.address-card .card-link:hover .icon { transform: translateX(4px); }

.practice-panels { display: grid; gap: 32px; }
.panel-title { font-size: var(--t-md); margin-bottom: 14px; }

.feature-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.feature-grid li,
.team-grid li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  font-weight: 600;
  background: linear-gradient(160deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03) 60%);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.feature-grid li:hover,
.team-grid li:hover {
  transform: translateY(-3px);
  border-color: rgba(125, 211, 252, .5);
  box-shadow: 0 0 30px 0 rgba(56, 189, 248, .22);
}
.feature-grid .icon-badge { width: 46px; height: 46px; border-radius: 14px; flex: none; }
.feature-grid li, .team-grid li { padding: 14px 16px; gap: 12px; line-height: 1.3; }
.feature-grid .icon-badge .icon { width: 22px; height: 22px; }

.team-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.team-grid li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 560px) { .team-grid { grid-template-columns: minmax(0, 1fr); } }
.team-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, #38BDF8, #0A6CB0);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(56, 189, 248, .15);
}
.team-icon .icon { width: 22px; height: 22px; }
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .cred-card, .journey-step, .feature-grid li, .team-grid li { transition: none; }
  .cred-card:hover, .feature-grid li:hover, .team-grid li:hover { transform: none; }
}

/* ---------- Callouts (contact page) ---------- */
.callout {
  border-radius: var(--radius);
  background: var(--mist);
  padding: 18px 20px;
  color: var(--ink-2);
}
.callout strong { color: var(--ink); }
.callout-alert { background: var(--alert-bg); color: var(--alert); }
.callout-alert strong { color: var(--alert); }

/* ---------- Services: hero and finder ---------- */
.svc-hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
  background:
    radial-gradient(50rem 26rem at 95% -20%, rgba(56, 189, 248, .22), transparent 60%),
    radial-gradient(30rem 20rem at -10% 120%, rgba(6, 182, 212, .14), transparent 60%),
    var(--deep);
}
.svc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.svc-hero-copy { display: grid; gap: 18px; justify-items: start; }
.svc-hero-copy .btn-row { margin-top: 8px; }
.svc-hero .pulse-line { margin-top: clamp(16px, 3vw, 32px); }
@media (max-width: 960px) { .svc-hero-grid { grid-template-columns: minmax(0, 1fr); } }

.finder {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 520px) { .finder { grid-template-columns: minmax(0, 1fr); } }
.finder a {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 16px;
  border-radius: 18px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03) 60%);
  border: 1px solid rgba(255, 255, 255, .16);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease, background-color .3s ease;
}
.finder a:hover,
.finder a:focus-visible {
  color: #fff;
  transform: translateY(-3px);
  border-color: rgba(125, 211, 252, .55);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, .1), 0 0 32px 2px rgba(56, 189, 248, .28);
}
.finder .icon-badge { width: 48px; height: 48px; border-radius: 14px; flex: none; }
.finder .icon-badge .icon { width: 24px; height: 24px; }
.finder-text { display: grid; gap: 2px; line-height: 1.3; }
.finder-text strong { font-size: 1rem; }
.finder-text small { font-size: var(--t-sm); color: var(--ink-3); }

/* ---------- Services: sticky sub-navigation ---------- */
html:has(.subnav) { scroll-padding-top: calc(var(--header-h) + 76px); }
.subnav {
  position: sticky;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  z-index: 40;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 24px -20px rgba(14, 27, 51, .5);
}
.subnav ul {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 10px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: block;
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9375rem;
  color: var(--ink-2);
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.subnav a:hover { background: var(--mist); color: var(--ink); }
.subnav a.is-active { background: var(--blue); color: #fff; }

/* ---------- Services: sections ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 960px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } }
.svc-intro { display: grid; gap: 18px; justify-items: start; }
@media (min-width: 961px) {
  .svc-intro { position: sticky; top: calc(var(--header-h) + 100px); }
}
.svc-intro .display { max-width: 14ch; }
.svc-intro .lead { max-width: 40ch; }
.svc-intro .btn-row { margin-top: 6px; }
.svc-icon { width: 68px; height: 68px; border-radius: 22px; }
.svc-icon .icon { width: 34px; height: 34px; }
.tone-light .svc-icon {
  background: linear-gradient(145deg, #0A6CB0, #1E3A8A);
  color: #fff;
  box-shadow: 0 0 0 8px rgba(10, 108, 176, .1), 0 14px 28px -12px rgba(10, 60, 120, .6);
}
.svc-body { display: grid; gap: 16px; }
.svc-label {
  font-weight: 700;
  font-size: var(--t-sm);
  color: var(--ink-3);
  margin-top: 6px;
}
.svc-label:first-child { margin-top: 0; }

/* item cards */
.svc-items {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 560px) { .svc-items { grid-template-columns: minmax(0, 1fr); } }
.svc-items li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid transparent;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.svc-items li div { display: grid; gap: 3px; }
.svc-items strong { font-size: 1rem; line-height: 1.3; }
.svc-items span:not(.tick) { color: var(--ink-2); font-size: .9375rem; line-height: 1.45; }
.svc-item-wide { grid-column: 1 / -1; }
.tick {
  flex: none;
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(145deg, #38BDF8, #0A6CB0);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, .15);
}
.tick::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  width: 10px;
  height: 6px;
  border-left: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg);
}
.tone-light .svc-items li {
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(14, 27, 51, .04), 0 16px 34px -26px rgba(14, 27, 51, .45);
}
.tone-dark .svc-items li {
  background: linear-gradient(160deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03) 60%);
  border-color: rgba(255, 255, 255, .14);
}
.svc-items li:hover,
.condition-grid li:hover,
.pay-cards li:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, .55);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, .12), 0 0 34px 2px rgba(56, 189, 248, .3);
}
.svc-item-feature {
  background:
    radial-gradient(22rem 10rem at 100% 0%, #D9EEFC, transparent 70%),
    var(--paper) !important;
  border-color: rgba(56, 189, 248, .35) !important;
}
.svc-item-feature strong { font-size: var(--t-md); }

/* chronic conditions */
.condition-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.condition-grid-featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 560px) {
  .condition-grid, .condition-grid-featured { grid-template-columns: minmax(0, 1fr); }
}
.condition-grid li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 2px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03) 60%);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.condition-grid .cond-icon { grid-row: span 2; }
.condition-grid strong { font-size: 1rem; line-height: 1.25; align-self: end; }
.condition-grid li span:not(.cond-icon) { color: var(--ink-2); font-size: var(--t-sm); align-self: start; }
.cond-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(145deg, #38BDF8, #0A6CB0);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(56, 189, 248, .14);
}
.cond-icon .icon { width: 24px; height: 24px; }
.cond-icon-ribbon { background: linear-gradient(145deg, #F87171, #B91C1C); box-shadow: 0 0 0 5px rgba(248, 113, 113, .16); }
.condition-grid-featured li {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  padding: 20px;
  background:
    radial-gradient(14rem 8rem at 100% 0%, rgba(56, 189, 248, .25), transparent 70%),
    linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04) 60%);
  border-color: rgba(125, 211, 252, .3);
}
.condition-grid-featured .cond-icon { grid-row: auto; width: 52px; height: 52px; margin-bottom: 10px; }
.condition-grid-featured strong { font-size: var(--t-md); }
.condition-grid-featured li { align-content: start; }
.condition-grid-featured strong,
.condition-grid-featured li span:not(.cond-icon) { align-self: start; }
@media (max-width: 560px) {
  .condition-grid-featured li { grid-template-columns: auto minmax(0, 1fr); align-items: center; padding: 16px 18px; }
  .condition-grid-featured .cond-icon { grid-row: span 2; margin-bottom: 0; width: 46px; height: 46px; }
  .condition-grid-featured strong { font-size: 1rem; align-self: end; }
}

/* HIV */
.privacy-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  max-width: 44ch;
}
.privacy-note .icon { width: 22px; height: 22px; color: #BAE6FD; margin-top: 2px; }
.privacy-note p { color: var(--ink-2); font-size: .9375rem; }
.privacy-note strong { color: #fff; }
.urgent-card {
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, #FFF1F0, #FFE1DD);
  color: #7A1F14;
  box-shadow: 0 0 0 1px rgba(248, 113, 113, .5), 0 20px 40px -24px rgba(185, 28, 28, .6);
}
.urgent-card p { color: #7A1F14; }
.urgent-card a { color: #9B1C0F; font-weight: 700; }
.urgent-title { font-weight: 800; font-size: var(--t-md); line-height: 1.25; margin-bottom: 6px; color: #7A1F14; }
.urgent-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #DC2626;
  color: #fff;
}
.urgent-icon .icon { width: 26px; height: 26px; }
@media (prefers-reduced-motion: no-preference) {
  .urgent-icon { animation: urgent-pulse 2s ease-out infinite; }
}
@keyframes urgent-pulse {
  0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, .55); }
  70% { box-shadow: 0 0 0 14px rgba(220, 38, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

/* Aviation */
.class-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 28px);
  border-radius: 22px;
  background:
    radial-gradient(24rem 12rem at 100% 0%, rgba(56, 189, 248, .3), transparent 70%),
    linear-gradient(145deg, #0F2D57, #1E3A8A);
  color: #fff;
  box-shadow: 0 30px 60px -34px rgba(10, 40, 90, .8);
}
.class-panel-title { font-weight: 700; color: #CCDAEE; }
.class-badges {
  list-style: none;
  padding: 0;
  margin: 14px 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  position: relative;
  z-index: 1;
}
.class-badges li {
  display: grid;
  justify-items: center;
  padding: 12px 6px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(186, 230, 253, .3);
  transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease;
}
.class-badges li:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, .16);
  box-shadow: 0 0 26px 2px rgba(56, 189, 248, .4);
}
.class-badges span { font-size: var(--t-sm); color: #A3B7D4; }
.class-badges strong {
  font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #FFFFFF 30%, #7DD3FC);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.class-note { color: #CCDAEE; font-size: .9375rem; max-width: 46ch; position: relative; z-index: 1; }
.class-flight {
  position: absolute;
  right: 0;
  top: 8px;
  width: 55%;
  height: 80px;
  pointer-events: none;
}
.class-flight path { fill: none; stroke: rgba(125, 211, 252, .5); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) {
  .class-flight path { animation: flight-dash 6s linear infinite; }
}
@keyframes flight-dash { to { stroke-dashoffset: -90; } }

.bring-card {
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--paper);
  border: 1px dashed rgba(10, 108, 176, .45);
}
.bring-title { font-weight: 700; margin-bottom: 10px; }
.bring-card ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}
@media (max-width: 560px) { .bring-card ul { grid-template-columns: minmax(0, 1fr); } }
.bring-card li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: .9375rem; }
.bring-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 2px solid var(--blue);
}

/* Payment */
.pay-cards {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 760px) { .pay-cards { grid-template-columns: minmax(0, 1fr); } }
.pay-cards li {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03) 60%);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.pay-cards .icon-badge { margin-bottom: 8px; }
.pay-cards strong { font-size: var(--t-md); }
.pay-cards span:not(.icon-badge) { color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  .finder a, .svc-items li, .condition-grid li, .pay-cards li, .class-badges li { transition: none; }
  .finder a:hover, .svc-items li:hover, .condition-grid li:hover, .pay-cards li:hover, .class-badges li:hover { transform: none; }
}

.page-hero .svc-hero-grid,
.page-hero .about-hero-grid { gap: clamp(32px, 5vw, 64px); }

/* ---------- Contact: hero ---------- */
.contact-hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
  background:
    radial-gradient(50rem 26rem at 95% -20%, rgba(56, 189, 248, .22), transparent 60%),
    radial-gradient(30rem 20rem at -10% 120%, rgba(6, 182, 212, .14), transparent 60%),
    var(--deep);
}
.page-hero .contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 960px) { .page-hero .contact-hero-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-hero-copy { display: grid; gap: 18px; justify-items: start; }
.contact-hero-copy h1 { max-width: 13ch; }
.status-hero { margin-top: 4px; }
.contact-hero .pulse-line { margin-top: clamp(16px, 3vw, 32px); }

.quick-contact { list-style: none; padding: 0; display: grid; gap: 12px; }
.qc {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 20px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .03) 60%);
  border: 1px solid rgba(255, 255, 255, .16);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.qc:hover, .qc:focus-visible {
  color: #fff;
  transform: translateX(6px);
  border-color: rgba(125, 211, 252, .55);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, .1), 0 0 34px 2px rgba(56, 189, 248, .28);
}
.qc-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
}
.qc-icon svg { width: 28px; height: 28px; fill: #fff; }
.qc-call .qc-icon { background: linear-gradient(145deg, #38BDF8, #0A6CB0); box-shadow: 0 10px 24px -10px rgba(56, 189, 248, .8); }
.qc-wa .qc-icon { background: linear-gradient(145deg, #4ADE80, #16A34A); box-shadow: 0 10px 24px -10px rgba(34, 197, 94, .8); }
.qc-mail .qc-icon { background: linear-gradient(145deg, #A5B4FC, #4F46E5); box-shadow: 0 10px 24px -10px rgba(99, 102, 241, .8); }
.qc-text { display: grid; gap: 2px; min-width: 0; }
.qc-text small { color: var(--ink-3); font-size: var(--t-sm); }
.qc-text strong {
  font-size: clamp(1.125rem, .95rem + .9vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.qc-mail .qc-text strong { font-size: clamp(1rem, .9rem + .5vw, 1.25rem); }
.qc-arrow {
  margin-left: auto;
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  stroke-width: 2.25;
  transition: background-color .3s ease, color .3s ease;
}
.qc:hover .qc-arrow { background: #fff; color: var(--deep); }

/* ---------- Contact: main ---------- */
.contact-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 28px;
  align-items: start;
}
@media (max-width: 1000px) { .contact-main { grid-template-columns: minmax(0, 1fr); } }

.form-panel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(22px, 4vw, 40px);
  background: #fff;
  border: 1px solid rgba(56, 189, 248, .25);
  box-shadow: 0 1px 0 rgba(14, 27, 51, .04), 0 40px 80px -48px rgba(10, 60, 120, .55);
}
.form-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #38BDF8, #06B6D4, #0A6CB0);
}
.form-head { display: grid; gap: 10px; }
.form-head h2 { font-size: var(--t-xl); letter-spacing: -0.03em; }
.form-head p { color: var(--ink-2); max-width: 52ch; }
.form-steps {
  list-style: none;
  padding: 0;
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.form-steps li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: var(--mist);
  font-weight: 600;
  font-size: var(--t-sm);
}
.form-steps span, .step-dot {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(145deg, #38BDF8, #0A6CB0);
  color: #fff;
  font-size: .8125rem;
  font-weight: 800;
}

.booking-form { display: grid; gap: 18px; margin-top: 28px; }
.form-group {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #F7FBFF, #FFFFFF);
  min-width: 0;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.form-group:focus-within {
  border-color: rgba(56, 189, 248, .6);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, .12), 0 0 28px rgba(56, 189, 248, .18);
}
.form-group > legend {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px;
  margin-left: -8px;
  font-weight: 800;
  font-size: var(--t-md);
  letter-spacing: -0.01em;
}
.booking-form .form { margin-top: 10px; }
.btn-wa-submit { min-height: 54px; padding-inline: 26px; font-size: 1.0625rem; background: #16A34A; }
.btn-wa-submit:hover { background: #15803D; }
.btn-wa-submit .wa-icon { width: 22px; height: 22px; fill: #fff; }

/* Visit column */
.visit { display: grid; gap: 20px; }
@media (min-width: 1001px) { .visit { position: sticky; top: calc(var(--header-h) + 24px); } }
.visit-card {
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(14, 27, 51, .04), 0 26px 54px -38px rgba(10, 60, 120, .5);
  overflow: hidden;
}
.visit-title { font-size: var(--t-md); letter-spacing: -0.01em; }
.map {
  aspect-ratio: 16 / 10;
  max-width: 100%;
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-info { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px 4px; }
.map-info .icon-badge { flex: none; }
.map-info > div { display: grid; gap: 6px; }
.map-info address { color: var(--ink-2); line-height: 1.5; }
.map-info .chips { margin-top: 6px; }
.map-btn { margin: 14px 22px 22px; width: calc(100% - 44px); }
.map-btn svg { width: 20px; height: 20px; fill: currentColor; }

.hours-card { padding: 22px; display: grid; gap: 14px; }
.hours-head { display: flex; align-items: center; gap: 14px; }
.hours-card .status { justify-self: start; }
.hours-week > div { padding: 9px 12px; border-radius: 10px; border-bottom: 0; }
.hours-week > div:nth-child(odd) { background: #F4F9FE; }
.hours-week .is-today {
  background: linear-gradient(90deg, rgba(56, 189, 248, .18), rgba(56, 189, 248, .04)) !important;
  box-shadow: inset 3px 0 0 var(--blue);
}
.hours-week .is-closed dd { color: var(--closed); }

/* Emergency */
.emergency-card {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 24px;
  background: linear-gradient(135deg, #FFF1F0, #FFE1DD);
  box-shadow: 0 0 0 1px rgba(248, 113, 113, .5), 0 26px 50px -30px rgba(185, 28, 28, .55);
}
.emergency-copy { display: flex; gap: 16px; align-items: flex-start; flex: 1 1 360px; }
.emergency-copy h2 { font-size: var(--t-lg); color: #7A1F14; letter-spacing: -0.02em; }
.emergency-copy p { color: #7A1F14; margin-top: 4px; max-width: 56ch; }
.emergency-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sos {
  display: grid;
  justify-items: center;
  min-width: 132px;
  padding: 12px 20px;
  border-radius: 18px;
  background: #DC2626;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 14px 28px -14px rgba(185, 28, 28, .9);
  transition: transform .2s ease, background-color .2s ease;
}
.sos:hover, .sos:focus-visible { background: #B91C1C; color: #fff; transform: translateY(-2px); }
.sos small { font-size: var(--t-sm); opacity: .9; }
.sos strong { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
@media (max-width: 560px) {
  .emergency-actions { width: 100%; }
  .sos { flex: 1 1 0; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .qc, .sos, .form-group { transition: none; }
  .qc:hover, .sos:hover { transform: none; }
}

/* ---------- Form fields ---------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; margin-top: 24px; }
.field { display: grid; gap: 6px; align-content: start; }
.field-full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form { grid-template-columns: minmax(0, 1fr); } }
.field label, .field legend { font-weight: 600; font-size: .9375rem; }
.field .opt { color: var(--ink-3); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font: 400 1rem var(--font);
  color: var(--ink);
  background: var(--paper);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10, 108, 176, .18);
}
.field [aria-invalid="true"] { border-color: var(--alert); }
.field .hint { font-size: var(--t-sm); color: var(--ink-3); }
.field .error { font-size: var(--t-sm); color: var(--alert); font-weight: 500; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-weight: 500;
  cursor: pointer;
  background: #fff;
}
.choices input { width: 18px; height: 18px; min-height: 0; accent-color: var(--blue); margin: 0; }
.choices label:has(input:checked) { border-color: var(--blue); background: #EAF3FB; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400 !important; font-size: .9375rem; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--blue); flex: none; }
.form-actions { grid-column: 1 / -1; display: grid; gap: 10px; }
.form-actions .btn { justify-self: start; }
.form-actions p { font-size: var(--t-sm); color: var(--ink-3); }
.form-success {
  margin-top: 24px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--open-bg);
  color: var(--open);
  display: grid;
  gap: 8px;
}
.form-success h3 { font-size: var(--t-md); }
.form-success p { color: var(--ink-2); }

/* ---------- Legal ---------- */
.legal { padding-block: clamp(40px, 6vw, 72px); }
.legal h2 { font-size: var(--t-lg); margin-top: 2em; }
.legal ul { padding-left: 1.25em; }
.legal li + li { margin-top: .4em; }

/* ---------- Medical aids strip ---------- */
.aids {
  padding-block: 48px 40px;
}
.aids-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 24px;
}
.aids-head h2 { font-size: var(--t-lg); }
.aids-head p { color: var(--ink-2); }
.aids-track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.aids-track { display: flex; width: max-content; }
.aids-list {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0 16px 0 0;
}
.aids-list li {
  display: grid;
  place-items: center;
  height: 76px;
  padding: 10px 20px;
  border-radius: 12px;
  background: #FFFFFF;
}
.aids-list img {
  display: block;
  width: auto;
  height: 48px;
  max-width: 150px;
  object-fit: contain;
}
@media (prefers-reduced-motion: no-preference) {
  .aids-track { animation: aids 45s linear infinite; }
  .aids-track-wrap:hover .aids-track,
  .aids-track-wrap:focus-within .aids-track { animation-play-state: paused; }
}
@keyframes aids { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .aids-track-wrap { -webkit-mask-image: none; mask-image: none; }
  .aids-track { width: auto; }
  .aids-list { flex-wrap: wrap; justify-content: center; gap: 16px; padding-inline: var(--gutter); }
  .aids-list[aria-hidden="true"] { display: none; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--night);
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #C3D2E8;
  padding-top: 64px;
  font-size: .9375rem;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--sky); }
.site-footer h2 {
  font-size: var(--t-base);
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.footer-brand { display: grid; gap: 4px; align-content: start; }
.footer-brand img { width: 64px; height: 64px; margin-bottom: 12px; }
.footer-name { color: #fff; font-weight: 800; font-size: var(--t-md); letter-spacing: -0.015em; }
.footer-quals { font-size: var(--t-sm); color: #93A6C4; }
.footer-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.site-footer address { line-height: 1.7; margin-bottom: 10px; }
.hours-compact > div { border-color: var(--night-2); padding: 6px 0; }
.hours-compact dt { color: #C3D2E8; }
.hours-compact dd { color: #fff; }
.footer-emergency { margin-top: 48px; }
.footer-emergency p {
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--night-2);
  color: #E4ECF7;
}
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 28px;
  margin-top: 32px;
  position: relative;
  font-size: var(--t-sm);
  color: #93A6C4;
}
.footer-base::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  border-top: 1px solid var(--night-2);
}
.footer-legal { display: grid; gap: 4px; }
.footer-credit { color: #93A6C4; }
.footer-credit a, .footer-credit strong { color: #fff; font-weight: 600; }
.footer-credit a:hover { color: var(--sky); }
.footer-base ul { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; }
.footer-base a { color: #C3D2E8; }

/* ---------- 404 ---------- */
.notfound { padding-block: clamp(64px, 12vw, 140px); display: grid; gap: 20px; justify-items: start; }
.notfound h1 { font-size: var(--t-2xl); font-weight: 800; }
.notfound p { color: var(--ink-2); max-width: 48ch; }
