/* ==========================================================================
   Clinique Alpa — front-end redesign
   Single stylesheet, shared by index.html, service-page.html, blog-post.html
   Brand values taken verbatim from cliniquealpa-rebuild-kit/config/clinic.js
   ========================================================================== */

/* --- Self-hosted fonts. No third-party font request, ever. ---------------- */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('../fonts/poppins-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url('../fonts/poppins-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url('../fonts/poppins-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url('../fonts/poppins-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

/* --- Tokens --------------------------------------------------------------- */
:root {
  /* Brand — from config/clinic.js. #0000B1 is Alpa Care, NOT this site. */
  --navy: #073041;
  --navy-deep: #04202c;
  --teal: #00b3c0;
  --teal-dark: #036672;
  --teal-darker: #024e58;
  --body: #173b44;
  --muted: #4a6a72;
  --line: #d7e6e7;
  --mist: #e3f3f4;
  --warm: #eef7f7;
  --white: #ffffff;

  /* Cream — the brief's third brand colour. Warm, low-chroma, prints well. */
  --cream: #faf6ef;
  --cream-deep: #f2ead9;
  --cream-line: #e6dbc6;

  --gold: #8a6318; /* review stars — 5.4:1 on white, 5.0:1 on cream, both AA */

  /* Type scale: fluid, mobile-first, capped so 1440 never gets shouty. */
  --fs-h1: clamp(2rem, 1.4rem + 2.4vw, 3.1rem);
  --fs-h2: clamp(1.6rem, 1.2rem + 1.7vw, 2.4rem);
  --fs-h3: clamp(1.15rem, 1.02rem + 0.5vw, 1.4rem);
  --fs-lead: clamp(1.06rem, 0.99rem + 0.35vw, 1.28rem);
  --fs-body: 1.0625rem; /* 17px — above the 16px floor */
  --fs-sm: 0.9375rem;   /* 15px, used only for meta/eyebrow, never body copy */

  --shell: 1240px;
  --gutter: clamp(1.15rem, 0.7rem + 2vw, 2.5rem);
  --radius: 16px;
  --radius-sm: 10px;

  --shadow-sm: 0 1px 2px rgba(7, 48, 65, 0.06), 0 2px 8px rgba(7, 48, 65, 0.05);
  --shadow-md: 0 2px 6px rgba(7, 48, 65, 0.07), 0 12px 32px rgba(7, 48, 65, 0.09);
  --shadow-lg: 0 4px 12px rgba(7, 48, 65, 0.08), 0 24px 60px rgba(7, 48, 65, 0.13);

  /* Reserved calendar height. Referenced by JS-free CSS only, so the box is
     the same size before, during and after the Cal.com iframe arrives. */
  --cal-h: 700px;

  --header-h: 68px;
}

@media (min-width: 700px) {
  :root { --cal-h: 680px; }
}
@media (min-width: 1024px) {
  :root { --cal-h: 700px; --header-h: 80px; }
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  /* Belt and braces against horizontal overflow at every width. */
  overflow-x: hidden;
}

img, svg, video, iframe { max-width: 100%; }
img, video { height: auto; display: block; }

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.18;
  color: var(--navy);
  margin: 0 0 0.6em;
  letter-spacing: -0.017em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 700; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal-dark); text-underline-offset: 0.18em; }
a:hover { color: var(--teal-darker); }

/* Visible focus everywhere. Never removed. */
:focus-visible {
  outline: 3px solid var(--teal-dark);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible {
  outline-color: #7fe4ec;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 0.85rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0; font-weight: 600;
}
.skip:focus { left: 0; }

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

.section { padding-block: clamp(3rem, 1.9rem + 4.6vw, 5.5rem); }
.section--cream { background: var(--cream); }
.section--mist { background: var(--warm); }

.eyebrow {
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin: 0 0 0.7rem;
}
.section-head { max-width: 62ch; margin-bottom: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); }
.section-head p { color: var(--muted); font-size: var(--fs-lead); }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: var(--fs-body);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn:active { transform: translateY(1px); }

/* Navy on white: 12.4:1 */
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-deep); color: #fff; }

/* Teal fill with navy ink: 6.1:1 — the booking accent */
.btn--accent { background: var(--teal); color: var(--navy); border-color: var(--teal); }
.btn--accent:hover { background: #00c6d4; color: var(--navy); }

.btn--ghost { background: transparent; color: var(--teal-dark); border-color: var(--line); }
.btn--ghost:hover { background: var(--warm); color: var(--teal-darker); border-color: var(--teal-dark); }

.btn--on-dark { background: var(--teal); color: var(--navy); }
.btn--on-dark:hover { background: #24ccd8; color: var(--navy); }

.btn--wide { width: 100%; }
.btn--sm { min-height: 44px; padding: 0.6rem 1.1rem; font-size: var(--fs-sm); }

/* --- Header --------------------------------------------------------------- */
/* Navy header. The official logo PNG has white "CLINIQUE" and teal "ALPA" and
   is drawn to sit on navy (brand/brand-notes.md) — on a white header the word
   "CLINIQUE" simply disappears. Navy also matches the existing live site. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 48, 65, 0.97);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-header :focus-visible { outline-color: #7fe4ec; }
.nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;            /* single row, always */
  gap: clamp(0.5rem, 0.1rem + 1.1vw, 1.6rem);
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 0 0 auto;               /* never squashed by the nav */
  min-height: 44px;             /* tap target, even though the logo is shorter */
  text-decoration: none;
  margin-right: auto;
}
/* Logo is 1280x198 and already contains the wordmark, so no text beside it. */
.brand img { width: auto; height: 32px; }
@media (min-width: 560px) { .brand img { height: 38px; } }
@media (min-width: 1024px) { .brand img { height: 40px; } }
.brand-name { display: none; }

.nav-links { display: none; }

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    /* Never shrink: shrinking is what makes nowrap items overlap the logo. */
    flex: 0 0 auto;
    gap: clamp(0.35rem, -0.75rem + 1.6vw, 1.15rem);
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    padding: 0.5rem 0.35rem;
    font-size: clamp(0.9rem, 0.78rem + 0.2vw, 1rem);
    font-weight: 500;
    color: #e2f0f2;              /* 11.5:1 on navy */
    text-decoration: none;
    white-space: nowrap;         /* no mid-item wrapping */
    border-bottom: 2px solid transparent;
  }
  .nav-links a:hover,
  .nav-links a[aria-current='page'] {
    color: #ffffff;
    border-bottom-color: var(--teal);
  }
}

.nav-actions { display: flex; align-items: center; gap: 0.5rem; flex: 0 0 auto; }
.nav-phone {
  display: none;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.95rem;
}
@media (min-width: 1180px) {
  .nav-phone { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding-inline: 0.3rem; }
}
.nav-book { display: none; }
@media (min-width: 1024px) { .nav-book { display: inline-flex; } }

/* Mobile menu button — 48x48 minimum, labelled, obviously a button */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 48px;
  min-width: 48px;
  padding: 0 0.85rem;
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--teal); color: var(--teal); }
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.nav-toggle svg { flex: 0 0 auto; }

/* Mobile drawer */
.nav-overlay {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(4, 32, 44, 0.45);
  border: 0;
}
.mobile-nav {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 90;
  width: min(88vw, 380px);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateX(101%);
  transition: transform 0.24s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav__top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem var(--gutter);
  border-bottom: 1px solid var(--line);
}
.mobile-nav__title { font-weight: 600; color: var(--navy); }
.nav-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: transparent; border: 2px solid var(--line);
  border-radius: 50%; cursor: pointer; color: var(--navy);
}
.mobile-nav ul { list-style: none; margin: 0; padding: 0.5rem var(--gutter) 1.5rem; }
.mobile-nav li + li { border-top: 1px solid var(--line); }
.mobile-nav a {
  display: block;
  padding: 0.95rem 0;
  min-height: 48px;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--navy);
  text-decoration: none;
}
.mobile-nav__cta { padding: 0 var(--gutter) 1.75rem; }

/* Sticky mobile Book Now */
.sticky-book {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem var(--gutter);
  padding-bottom: calc(0.6rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(180%) blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(7, 48, 65, 0.09);
}
.sticky-book__price { font-size: var(--fs-sm); color: var(--muted); line-height: 1.3; }
.sticky-book__price strong { display: block; color: var(--navy); font-size: 1rem; }
.sticky-book .btn { flex: 1 1 auto; max-width: 60%; }
@media (min-width: 1024px) { .sticky-book { display: none; } }
@media (max-width: 1023.98px) { body { padding-bottom: 86px; } }

/* --- Notice bar ----------------------------------------------------------- */
.notice {
  background: var(--navy-deep);
  color: #dcecef;
  font-size: var(--fs-sm);
  line-height: 1.5;
  padding-block: 0.65rem;
}
.notice p { margin: 0; }
.notice strong { color: #fff; }
.notice a { color: #7fe4ec; font-weight: 600; }

/* --- Hero ----------------------------------------------------------------- */
.hero {
  background:
    radial-gradient(1100px 520px at 88% -8%, var(--mist) 0%, rgba(227, 243, 244, 0) 62%),
    var(--cream);
  border-bottom: 1px solid var(--cream-line);
  /* Deliberately tight at the top: every pixel spent above the calendar is a
     pixel of live availability pushed below the fold. */
  padding-block: clamp(1.25rem, 0.9rem + 1.4vw, 2rem) clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
}
/* The hero stacks at every width, deliberately. Cal.com's booker only puts the
   month grid and the time-slot list side by side once the embed is roughly
   768px wide; squeezed into a half-width column it stacks to ~2100px tall and
   the actual slots fall below the fold. A full-width calendar is what keeps
   real bookable times visible at zero clicks, which is the point of the page. */
.hero__grid {
  display: grid;
  gap: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  align-items: start;
}
/* MOBILE ORDER (the default): headline, then the calendar, then everything
   else. Supporting copy must never sit between the H1 and live availability —
   on a 390x844 screen that is the difference between seeing bookable times and
   scrolling past them. */
.hero__copy-main { order: 1; max-width: 24ch; }
.book-card       { order: 2; }
.hero__copy-side { order: 3; max-width: 52ch; }
.hero__assure    { order: 4; }

/* DESKTOP: headline and supporting copy share one compact row, calendar below
   at full width so Cal's month grid and time list sit side by side. */
@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: start;
    column-gap: clamp(1.5rem, 0.5rem + 2.4vw, 3rem);
  }
  .hero__copy-main { max-width: none; grid-column: 1; grid-row: 1; }
  .hero__copy-side { grid-column: 2; grid-row: 1; }
  /* Capped and centred: past ~1050px Cal stops using the extra width and just
     opens a dead gutter to the left of the month grid. */
  .book-card       { grid-column: 1 / -1; grid-row: 2; max-width: 1040px; margin-inline: auto; width: 100%; }
  .hero__assure    { grid-column: 1 / -1; grid-row: 3; }
}
.hero h1 { margin-bottom: 0; }
.hero h1 .accent { display: block; color: var(--teal-dark); }
.hero__lead {
  font-size: var(--fs-lead);
  color: var(--body);
  margin-bottom: 1rem;
}

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0 0 1.6rem; padding: 0; }
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--cream-line);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--navy);
}
.chips svg { color: var(--teal-dark); flex: 0 0 auto; }

.hero__assure {
  border-left: 3px solid var(--teal);
  padding-left: 1rem;
  font-size: var(--fs-sm);
  color: var(--muted);
  max-width: 46ch;
}

/* --- Booking card --------------------------------------------------------- */
.book-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.book-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.85rem;
  padding: 0.95rem clamp(1rem, 0.7rem + 1vw, 1.4rem) 0.9rem;
}
.book-card__head h2 { font-size: 1.15rem; margin-bottom: 0; }
.book-card__head p { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 0; }
/* On phones this sentence costs ~45px directly above the calendar and only
   repeats what the two labelled pickers below it already say. */
@media (max-width: 899.98px) { .book-card__head p { display: none; } }

.hero__assure {
  margin-top: 0.25rem;
}

.picker { padding: 0 clamp(1rem, 0.7rem + 1vw, 1.4rem); }
/* On wide screens the two choosers sit side by side rather than stretching
   the full width of a 1240px card. */
@media (min-width: 900px) {
  .picker {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    column-gap: clamp(1rem, 0.4rem + 1.6vw, 2.25rem);
    align-items: start;
  }
}
.picker__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

/* Doctor tabs */
.doc-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.doc-tabs button {
  min-height: 52px;
  padding: 0.5rem 0.35rem;
  background: var(--warm);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}
.doc-tabs button:hover { background: var(--mist); }
.doc-tabs button[aria-selected='true'] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.doc-tabs .doc-tabs__first { display: block; font-weight: 500; font-size: 0.75rem; opacity: 0.85; }

/* Duration toggle */
.dur-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}
.dur-toggle button {
  min-height: 56px;
  padding: 0.45rem 0.55rem;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: var(--navy);
  transition: border-color 0.16s ease, background-color 0.16s ease;
}
.dur-toggle button:hover { border-color: var(--teal); }
.dur-toggle button[aria-selected='true'] {
  border-color: var(--teal-dark);
  background: var(--warm);
  box-shadow: inset 0 0 0 1px var(--teal-dark);
}
.dur-toggle .dur__t { display: block; font-weight: 600; font-size: 0.95rem; }
.dur-toggle .dur__m { display: block; font-size: 0.8125rem; color: var(--muted); line-height: 1.35; }
.dur-toggle button[aria-selected='true'] .dur__m { color: var(--teal-darker); }

/* Static stand in for the duration toggle while only one type is bookable. */
.picker__static {
  display: block;
  min-height: 56px;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.85rem;
  border: 2px solid var(--teal-dark);
  border-radius: var(--radius-sm);
  background: var(--warm);
}
.picker__static strong { display: block; font-weight: 600; font-size: 0.95rem; color: var(--navy); }
.picker__static span { display: block; font-size: 0.8125rem; color: var(--teal-darker); line-height: 1.35; }

/* The reserved calendar box. Its height NEVER depends on its contents. */
.cal-stage {
  position: relative;
  height: var(--cal-h);
  margin: 0 clamp(0.4rem, 0.1rem + 0.7vw, 0.75rem) clamp(0.4rem, 0.1rem + 0.7vw, 0.75rem);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  contain: strict; /* nothing inside can change the outer box */
}
/* height:100% (not just inset:0) so the percentages below resolve against a
   definite height. Without it, Cal's <cal-inline height:inherit> resolves to
   auto and the iframe collapses to its 300px default. */
.calpane {
  position: absolute;
  inset: 0;
  height: 100%;
  overflow: hidden;
}
.calpane[hidden] { display: none; }
.cal-stage cal-inline {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
}
.cal-stage iframe { width: 100% !important; height: 100% !important; border: 0; }

/* Skeleton sits underneath the pane, same box, so nothing shifts */
.cal-skeleton {
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: 1.15rem;
  background: var(--white);
}
.cal-skeleton__bar,
.cal-skeleton__cell {
  background: linear-gradient(90deg, var(--warm) 25%, var(--mist) 37%, var(--warm) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: 6px;
}
.cal-skeleton__bar { height: 18px; width: 45%; margin-bottom: 1.1rem; }
.cal-skeleton__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.5rem; }
.cal-skeleton__cell { aspect-ratio: 1 / 1; }
.cal-skeleton__note {
  margin-top: 1.1rem; font-size: var(--fs-sm); color: var(--muted);
}
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.calpane { z-index: 1; background: var(--white); }
.calpane:empty { background: transparent; }

.book-card__foot {
  padding: 0 clamp(1rem, 0.7rem + 1vw, 1.4rem) 1.15rem;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.book-card__foot a { font-weight: 600; }

/* --- Trust strip ---------------------------------------------------------- */
.trust { background: var(--navy); color: #cfe3e7; }
.trust__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.1rem, 0.6rem + 1.6vw, 2rem);
  padding-block: clamp(1.9rem, 1.4rem + 2vw, 2.9rem);
}
@media (min-width: 860px) { .trust__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust__item strong {
  display: block;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.trust__item span { display: block; font-size: var(--fs-sm); margin-top: 0.25rem; }

/* --- Services grid -------------------------------------------------------- */
.grid-cards {
  display: grid;
  gap: clamp(0.9rem, 0.5rem + 1.4vw, 1.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--mist); }
.card__num {
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--teal-dark); margin-bottom: 0.6rem;
}
.card h3 { margin-bottom: 0.45rem; }
.card p { color: var(--muted); font-size: var(--fs-body); }
.card__price {
  margin-top: auto;
  padding-top: 1rem;
  font-weight: 600;
  color: var(--navy);
}
.card__price + .card__link { margin-top: 0.85rem; }
/* Cards without a price still align their link to the bottom of the card. */
.card__link {
  margin-top: auto;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
}
.card__link:hover { text-decoration: underline; }

/* --- Doctors -------------------------------------------------------------- */
.docs-grid {
  display: grid;
  gap: clamp(1.1rem, 0.6rem + 1.6vw, 1.75rem);
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .docs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .docs-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.doc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
/* Source portraits are 2:3 (768x1152). Every frame below is 2:3 as well, so
   the image is never cropped and no face is ever cut. object-position is a
   safety net only — at a matching ratio it has nothing to do. */
.doc__photo {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: 50% 20%;
  background: var(--warm);
}

/* On phones a full-width 2:3 portrait is ~540px tall, which made the doctors
   section 3,700px on its own. Horizontal card instead: the portrait keeps its
   exact 2:3 ratio at 116px wide, so it is still uncropped, and each card drops
   from roughly 900px to 230px. */
@media (max-width: 619.98px) {
  .doc { flex-direction: row; align-items: stretch; }
  .doc__photo { width: 116px; flex: 0 0 116px; align-self: flex-start; }
  .doc__body { padding: 0.9rem 1rem; }
  .doc__bio { display: none; }
  .doc__body h3 { font-size: 1.05rem; }
}
.doc__body { padding: clamp(1rem, 0.8rem + 0.6vw, 1.4rem); display: flex; flex-direction: column; flex: 1; }
.doc__body h3 { margin-bottom: 0.15rem; font-size: 1.15rem; }
.doc__role { font-size: var(--fs-sm); font-weight: 600; color: var(--teal-dark); margin-bottom: 0.6rem; }
.doc__bio { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 1rem; }
.doc__gmc { font-size: 0.8125rem; color: var(--muted); margin-bottom: 0.9rem; }
.doc .btn { margin-top: auto; }

/* --- Reviews -------------------------------------------------------------- */
.reviews__top {
  display: grid;
  gap: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
  align-items: center;
}
@media (min-width: 860px) { .reviews__top { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); } }
.rating-card {
  background: var(--white);
  border: 1px solid var(--cream-line);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.rating-card__score {
  font-size: 3.25rem; font-weight: 700; line-height: 1; color: var(--navy);
  letter-spacing: -0.03em;
}
.rating-card__stars { color: var(--gold); font-size: 1.35rem; letter-spacing: 0.1em; margin: 0.4rem 0 0.5rem; }
.rating-card__meta { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 1.15rem; }

/* --- CTA band ------------------------------------------------------------- */
.cta-band { background: var(--navy); color: #cfe3e7; }
.cta-band h2 { color: #fff; }
.cta-band__inner {
  display: grid;
  gap: clamp(1.4rem, 0.9rem + 2vw, 2.5rem);
  padding-block: clamp(2.6rem, 1.8rem + 3vw, 4rem);
}
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; } }
.cta-band p { max-width: 56ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.safety {
  background: var(--navy-deep);
  color: #bcd6db;
  font-size: var(--fs-sm);
  padding-block: 1.15rem;
}
.safety p { margin: 0; max-width: 92ch; }
.safety strong { color: #fff; }

/* --- Footer --------------------------------------------------------------- */
.site-footer { background: var(--navy-deep); color: #b6d1d7; padding-block: clamp(2.5rem, 1.8rem + 2.6vw, 3.75rem); }
.footer__grid {
  display: grid;
  gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__grid h3 { color: #fff; font-size: 1rem; margin-bottom: 0.85rem; }
.footer__grid ul { list-style: none; margin: 0; padding: 0; }
.footer__grid li { margin-bottom: 0.15rem; }
.footer__grid a {
  color: #b6d1d7; text-decoration: none;
  display: inline-flex; align-items: center;
  padding: 0.5rem 0; min-height: 44px; min-width: 44px;
  line-height: 1.5;
}
.footer__grid a:hover { color: #fff; text-decoration: underline; }
.footer__logo { height: 44px; width: auto; margin-bottom: 1rem; }
.footer__addr { font-style: normal; font-size: var(--fs-sm); line-height: 1.7; }
.footer__legal {
  margin-top: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.875rem;
  color: #93b6bd;
}
.footer__legal p { margin-bottom: 0.5rem; }

/* ==========================================================================
   Service page template
   ========================================================================== */
.page-hero {
  background: var(--cream);
  border-bottom: 1px solid var(--cream-line);
  padding-block: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
}
.crumbs { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 0.5rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; margin: 0; padding: 0; }
.crumbs li { display: flex; align-items: center; }
/* Breadcrumb links are standalone controls, so they carry a full tap target. */
.crumbs a { color: var(--teal-dark); display: flex; align-items: center; min-height: 44px; min-width: 44px; }
.page-hero__grid { display: grid; gap: clamp(1.5rem, 1rem + 2.4vw, 2.75rem); }
@media (min-width: 1024px) { .page-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); align-items: start; } }
.page-hero__lead { font-size: var(--fs-lead); max-width: 58ch; }

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 1rem + 0.8vw, 1.6rem);
  box-shadow: var(--shadow-sm);
}
.price-card h2 { font-size: 1.1rem; }
.price-list { list-style: none; margin: 0 0 1.1rem; padding: 0; }
.price-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.7rem 0; border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
}
.price-list li:last-child { border-bottom: 0; }
.price-list strong { color: var(--navy); white-space: nowrap; }

.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.25rem; }
.prose h3 { margin-top: 1.6rem; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.15em; }
.prose li { margin-bottom: 0.5rem; }
.prose blockquote {
  margin: 1.75rem 0;
  padding: 0.4rem 0 0.4rem 1.25rem;
  border-left: 3px solid var(--teal);
  color: var(--navy);
  font-size: var(--fs-lead);
}

.layout-aside {
  display: grid;
  gap: clamp(1.75rem, 1.2rem + 2.4vw, 3rem);
}
@media (min-width: 1024px) {
  .layout-aside { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); align-items: start; }
  .layout-aside__side { position: sticky; top: calc(var(--header-h) + 1.25rem); }
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 1.1rem;
  margin-bottom: 0.7rem;
  background: var(--white);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  padding: 1rem 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; margin-left: auto; font-size: 1.4rem; color: var(--teal-dark); }
.faq details[open] summary::after { content: '\2212'; }
.faq details[open] { padding-bottom: 0.85rem; }

/* ==========================================================================
   Blog post template
   ========================================================================== */
.post-header { background: var(--cream); border-bottom: 1px solid var(--cream-line); padding-block: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
.post-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem;
  font-size: var(--fs-sm); color: var(--muted); margin-top: 1rem;
}
.post-meta__author { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; color: var(--navy); }
.post-meta__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; }
.post-meta__dot { color: var(--line); }

.post-body { padding-block: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); }

/* Booking CTA card inside a post */
.book-cta {
  background: var(--navy);
  color: #cfe3e7;
  border-radius: var(--radius);
  padding: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  box-shadow: var(--shadow-md);
}
.book-cta h2, .book-cta h3 { color: #fff; font-size: 1.25rem; margin-bottom: 0.5rem; }
.book-cta p { font-size: var(--fs-sm); margin-bottom: 1.15rem; }
.book-cta__price {
  display: flex; align-items: baseline; gap: 0.5rem;
  margin-bottom: 1rem; padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.book-cta__price strong { font-size: 1.85rem; color: #fff; font-weight: 700; letter-spacing: -0.02em; }
.book-cta__price span { font-size: var(--fs-sm); }
.book-cta .btn { width: 100%; }
.book-cta__note { margin-top: 0.85rem; font-size: 0.8125rem; color: #9fc3ca; }

/* In-flow CTA card used mid-article */
.book-cta--inline { margin: 2.25rem 0; }

.author-box {
  display: grid;
  gap: 1.1rem;
  align-items: start;
  margin-top: 2.5rem;
  padding: clamp(1.25rem, 1rem + 0.8vw, 1.6rem);
  background: var(--warm);
  border-radius: var(--radius);
}
@media (min-width: 560px) { .author-box { grid-template-columns: 96px minmax(0, 1fr); } }
.author-box img { width: 96px; height: 128px; border-radius: var(--radius-sm); object-fit: cover; object-position: 50% 18%; }
.author-box h3 { margin-bottom: 0.2rem; font-size: 1.05rem; }
.author-box p { font-size: var(--fs-sm); color: var(--muted); }

.related { border-top: 1px solid var(--line); }

/* --- Utilities ------------------------------------------------------------ */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.center { text-align: center; }
.mt-2 { margin-top: 1.5rem; }
[hidden] { display: none !important; }
