/* =============================================================
   Care Clinic — shared design system
   Palette: soft clinical off-white + reassuring sky/periwinkle blue
            + warm coral human accent
   Type: Plus Jakarta Sans (humanist sans) + Lora (calm serif headings)
   ============================================================= */

:root {
  /* ---- Palette ---- */
  --paper: #f7f9fc;          /* page base, soft clinical off-white */
  --paper-2: #eef3fb;        /* slightly deeper wash */
  --card: #ffffff;
  --ink: #1c2738;            /* primary text, deep slate (AA on paper) */
  --ink-soft: #475068;       /* secondary text */
  --ink-faint: #6b7488;      /* tertiary */
  --line: #e2e9f3;           /* hairlines */

  /* signature reassuring sky / periwinkle blue */
  --sky: #5b8def;            /* primary accent */
  --sky-600: #3f6fd4;        /* hover/darker */
  --sky-700: #2f57ad;        /* deep, for text on light */
  --sky-100: #e7f0ff;        /* tint */
  --sky-050: #f2f7ff;

  --peri: #8a9bf0;           /* periwinkle support */
  --peri-100: #eceffe;

  /* warm coral human accent */
  --coral: #ff7a66;
  --coral-600: #f15f49;
  --coral-100: #ffe9e4;

  /* calm supporting */
  --mint: #59c7a8;           /* "available / open" success */
  --mint-100: #e2f6f0;
  --gold: #f3b34d;

  /* depth */
  --shadow-sm: 0 1px 2px rgba(28,39,56,.05), 0 2px 6px rgba(28,39,56,.04);
  --shadow-md: 0 6px 18px rgba(28,39,56,.07), 0 2px 6px rgba(28,39,56,.05);
  --shadow-lg: 0 24px 60px rgba(43,73,138,.14), 0 8px 24px rgba(28,39,56,.08);
  --shadow-sky: 0 16px 40px rgba(91,141,239,.28);

  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --r-xl: 36px;
  --r-pill: 999px;

  --maxw: 1180px;
  --gap: clamp(1rem, 2.4vw, 2rem);
  --section-y: clamp(3.5rem, 8vw, 7rem);

  --header-h: 76px;

  --ease: cubic-bezier(.22,.61,.36,1);

  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Lora", Georgia, "Times New Roman", serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: clamp(1rem, .55vw + .9rem, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}

/* skip link */
.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  background: var(--sky);
  color: #fff;
  padding: .7rem 1.1rem;
  border-radius: var(--r-sm);
  z-index: 200;
  transition: top .2s var(--ease);
  font-weight: 600;
}
.skip-link:focus { top: 14px; }

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - 2.4rem, var(--maxw)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--sky-700);
  background: var(--sky-100);
  padding: .42rem .9rem;
  border-radius: var(--r-pill);
}
.eyebrow svg { width: 15px; height: 15px; }
.eyebrow.on-coral { color: var(--coral-600); background: var(--coral-100); }

.h-sec {
  font-size: clamp(1.85rem, 3.6vw, 3rem);
  margin-top: 1rem;
}
.lead {
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  max-width: 60ch;
}
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--sky);
  --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .55rem;
  padding: .9rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--fg);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .005em;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sky); }
.btn:active { transform: translateY(0); }
.btn-primary { --bg: var(--sky); }
.btn-primary:hover { --bg: var(--sky-600); }
.btn-coral { --bg: var(--coral); }
.btn-coral:hover { --bg: var(--coral-600); box-shadow: 0 16px 40px rgba(241,95,73,.3); }
.btn-ghost {
  --bg: transparent; --fg: var(--ink);
  border-color: var(--line);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { --bg: #fff; border-color: var(--sky); color: var(--sky-700); box-shadow: var(--shadow-md); }
.btn-light {
  --bg: rgba(255,255,255,.16); --fg:#fff;
  border-color: rgba(255,255,255,.34);
  backdrop-filter: blur(6px);
}
.btn-light:hover { --bg: rgba(255,255,255,.26); box-shadow: 0 16px 40px rgba(0,0,0,.18); }
.btn-block { width: 100%; }
.btn-lg { padding: 1.05rem 1.8rem; font-size: 1.04rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s var(--ease);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
  transition: height .35s var(--ease);
}
.site-header.shrink .site-header__inner { height: 64px; }

/* default: interior pages — light surface, dark text */
.site-header {
  background: rgba(247,249,252,.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header.shrink { box-shadow: var(--shadow-sm); background: rgba(247,249,252,.94); }

/* over-hero variant (homepage): transparent + light text until scrolled */
.site-header.over-hero {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}
.site-header.over-hero:not(.shrink) { color: #fff; }
.site-header.over-hero:not(.shrink) .nav-link { color: rgba(255,255,255,.92); }
.site-header.over-hero:not(.shrink) .nav-link:hover,
.site-header.over-hero:not(.shrink) .nav-link[aria-current="page"] { color:#fff; }
.site-header.over-hero:not(.shrink) .nav-link[aria-current="page"]::after { background:#fff; }
.site-header.over-hero:not(.shrink) .brand__name { color:#fff; }
.site-header.over-hero:not(.shrink) .brand__sub { color: rgba(255,255,255,.78); }
.site-header.over-hero:not(.shrink) .hamburger span { background:#fff; }
.site-header.over-hero:not(.shrink) .btn-ghost {
  background: rgba(255,255,255,.14); color:#fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(6px);
}
.site-header.over-hero.shrink {
  background: rgba(247,249,252,.94);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

/* Brand */
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 13px;
  background: linear-gradient(135deg, var(--sky), var(--peri));
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  flex: none;
  transition: transform .4s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.04); }
.brand__mark svg { width: 24px; height: 24px; color:#fff; }
.brand__name {
  font-family: var(--font-serif); font-weight: 600;
  font-size: 1.28rem; line-height: 1; color: var(--ink);
}
.brand__sub { display:block; font-size: .7rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-faint); margin-top: 3px; }

/* Nav */
.primary-nav { display: flex; align-items: center; gap: clamp(.5rem, 1.8vw, 1.7rem); }
.nav-links { display: flex; align-items: center; gap: clamp(.4rem, 1.6vw, 1.5rem); }
.nav-link {
  position: relative; font-weight: 600; font-size: .97rem;
  color: var(--ink-soft); padding: .4rem .2rem;
  transition: color .2s var(--ease);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--sky-700); }
.nav-link::after {
  content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px;
  background: var(--sky); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: .8rem; }
/* the in-drawer CTA is hidden on desktop; header CTA hidden on mobile */
.nav-cta { display: none; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 46px; height: 46px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--card); align-items: center; justify-content: center;
}
.hamburger span { display:block; width: 21px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* phone chip in header (desktop) */
.header-phone {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .94rem; color: var(--ink);
}
.header-phone svg { width: 17px; height: 17px; color: var(--sky); }
.site-header.over-hero:not(.shrink) .header-phone { color:#fff; }
.site-header.over-hero:not(.shrink) .header-phone svg { color:#fff; }

/* Mobile drawer */
.drawer-scrim {
  position: fixed; inset: 0; background: rgba(20,28,42,.5);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  z-index: 110; backdrop-filter: blur(2px);
}
.drawer-scrim.open { opacity: 1; visibility: visible; }
.mobile-drawer {
  position: fixed; top: 0; right: 0; height: 100dvh; width: min(85vw, 360px);
  background: var(--card); z-index: 120; padding: 1.4rem 1.4rem 2rem;
  transform: translateX(105%); transition: transform .38s var(--ease);
  display: flex; flex-direction: column; gap: 1rem;
  box-shadow: -20px 0 60px rgba(20,28,42,.2); overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer__top { display:flex; align-items:center; justify-content: space-between; }
.drawer-close {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--paper); display: grid; place-items: center; font-size: 1.4rem; line-height: 1;
}
.mobile-drawer .nav-links { flex-direction: column; align-items: stretch; gap: .2rem; margin-top: .6rem; }
.mobile-drawer .nav-link {
  font-size: 1.1rem; padding: .85rem .6rem; border-radius: 12px; color: var(--ink);
}
.mobile-drawer .nav-link::after { display:none; }
.mobile-drawer .nav-link:hover, .mobile-drawer .nav-link[aria-current="page"] { background: var(--sky-050); color: var(--sky-700); }
.mobile-drawer .drawer-cta { margin-top: auto; }
.drawer-contact { font-size: .92rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 1rem; }
.drawer-contact a { font-weight: 700; color: var(--sky-700); }

/* ============================================================
   HERO (homepage)
   ============================================================ */
.hero {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: clamp(3rem, 7vw, 6rem);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content:""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(28,43,82,.86) 0%, rgba(35,57,116,.62) 46%, rgba(47,87,173,.28) 100%),
    linear-gradient(to top, rgba(20,30,56,.55), transparent 55%);
}
.hero__grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.hero__copy { max-width: 40ch; }
.hero h1 {
  color: #fff; font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.05;
}
.hero h1 em { font-style: italic; color: #d7e4ff; }
.hero__lead { color: rgba(255,255,255,.9); font-size: clamp(1.08rem, 1.5vw, 1.28rem); margin-top: 1.2rem; max-width: 42ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 1.4rem 1.8rem; margin-top: 2rem;
}
.hero__trust li { display: flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .95rem; color: rgba(255,255,255,.94); }
.hero__trust svg { width: 20px; height: 20px; color: var(--mint); flex: none; }

/* hero side: floating card */
.hero__card {
  background: rgba(255,255,255,.97); color: var(--ink);
  border-radius: var(--r-lg); padding: 1.4rem; box-shadow: var(--shadow-lg);
  max-width: 380px; margin-left: auto;
}
.hero__card h2 { font-size: 1.25rem; }
.hero__card-row { display: flex; align-items: center; gap: .85rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.hero__card-row:last-child { border-bottom: 0; }
.hero__card-ico {
  width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: var(--sky-100); color: var(--sky-700);
}
.hero__card-ico svg { width: 22px; height: 22px; }
.hero__card-ico.coral { background: var(--coral-100); color: var(--coral-600); }
.hero__card-ico.mint { background: var(--mint-100); color: #1f8e72; }
.hero__card-row strong { display:block; font-family: var(--font-serif); font-size: 1rem; }
.hero__card-row span { font-size: .88rem; color: var(--ink-soft); }

.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: -1; line-height: 0; }
.hero__wave svg { width: 100%; height: clamp(40px, 6vw, 90px); display: block; }
.hero__wave path { fill: var(--paper); }

/* ============================================================
   PAGE HEADER (interior)
   ============================================================ */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 400px at 88% -10%, var(--sky-100), transparent 60%),
    radial-gradient(700px 360px at 0% 110%, var(--coral-100), transparent 60%),
    var(--paper);
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.page-hero__inner { max-width: 60ch; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-top: .9rem; }
.page-hero .lead { margin-top: 1rem; }
.breadcrumbs { font-size: .9rem; color: var(--ink-faint); display: flex; gap: .5rem; align-items: center; }
.breadcrumbs a:hover { color: var(--sky-700); }
.breadcrumbs span[aria-current] { color: var(--ink); font-weight: 600; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(2px); opacity: .5; z-index: 0;
  background: radial-gradient(circle at 30% 30%, var(--peri), transparent 70%);
}

/* ============================================================
   WELCOME / split
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.media-frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}
.media-frame img { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; }
.media-badge {
  position: absolute; bottom: 18px; left: 18px;
  background: rgba(255,255,255,.96); border-radius: var(--r); padding: .9rem 1.1rem;
  box-shadow: var(--shadow-md); display:flex; align-items:center; gap:.7rem;
}
.media-badge .num { font-family: var(--font-serif); font-size: 1.7rem; color: var(--sky-700); line-height:1; }
.media-badge .lbl { font-size: .82rem; color: var(--ink-soft); font-weight: 600; }

.checklist { display: grid; gap: .7rem; margin-top: 1.4rem; }
.checklist li { display: flex; align-items: flex-start; gap: .7rem; color: var(--ink-soft); }
.checklist svg { width: 22px; height: 22px; color: var(--mint); flex: none; margin-top: 2px; }
.checklist strong { color: var(--ink); }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.grid-cards {
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
}
.svc-card {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.7rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  overflow: hidden;
}
.svc-card::before {
  content:""; position:absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--sky), var(--peri));
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-ico {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--sky-100); color: var(--sky-700); margin-bottom: 1.1rem;
  transition: transform .35s var(--ease);
}
.svc-card:hover .svc-ico { transform: scale(1.08) rotate(-4deg); }
.svc-ico svg { width: 28px; height: 28px; }
.svc-ico.c2 { background: var(--coral-100); color: var(--coral-600); }
.svc-ico.c3 { background: var(--mint-100); color: #1f8e72; }
.svc-ico.c4 { background: var(--peri-100); color: #4b58b8; }
.svc-ico.c5 { background: #fff3e0; color: #cc8b1f; }
.svc-ico.c6 { background: var(--sky-050); color: var(--sky-700); }
.svc-card h3 { font-size: 1.28rem; margin-bottom: .5rem; }
.svc-card p { color: var(--ink-soft); font-size: .98rem; }
.svc-link {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.1rem;
  font-weight: 700; color: var(--sky-700); font-size: .94rem;
}
.svc-link svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.svc-card:hover .svc-link svg { transform: translateX(4px); }

/* ============================================================
   REASSURANCE / STATS band
   ============================================================ */
.band {
  background:
    radial-gradient(700px 360px at 12% 0%, rgba(91,141,239,.16), transparent 60%),
    radial-gradient(600px 320px at 90% 100%, rgba(255,122,102,.14), transparent 60%),
    var(--paper-2);
  border-block: 1px solid var(--line);
}
.stats {
  display: grid; gap: 1.2rem; grid-template-columns: repeat(4, 1fr);
}
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.6rem 1.2rem; text-align: center; box-shadow: var(--shadow-sm); }
.stat__num { font-family: var(--font-serif); font-size: clamp(2.1rem, 4vw, 2.9rem); color: var(--sky-700); line-height: 1; }
.stat__num .suffix { color: var(--coral-600); }
.stat__lbl { color: var(--ink-soft); font-weight: 600; margin-top: .5rem; font-size: .96rem; }

.reasons { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); }
.reason { display:flex; gap: 1rem; align-items: flex-start; }
.reason__ico { width:50px; height:50px; border-radius: 14px; flex:none; display:grid; place-items:center;
  background: var(--card); box-shadow: var(--shadow-sm); color: var(--sky-700); }
.reason__ico svg { width: 25px; height:25px; }
.reason h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.reason p { color: var(--ink-soft); font-size: .95rem; }

/* ============================================================
   DOCTORS
   ============================================================ */
.doc-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); }
.doc-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column;
}
.doc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.doc-card__photo { position: relative; aspect-ratio: 4/3.6; overflow: hidden; }
.doc-card__photo img { width:100%; height:100%; object-fit: cover; transition: transform .6s var(--ease); }
.doc-card:hover .doc-card__photo img { transform: scale(1.05); }
.doc-card__tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,.94); color: var(--sky-700);
  font-size: .76rem; font-weight: 700; padding: .35rem .75rem; border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}
.doc-card__body { padding: 1.2rem 1.3rem 1.4rem; flex: 1; display: flex; flex-direction: column; }
.doc-card__body h3 { font-size: 1.25rem; }
.doc-card__cred { color: var(--sky-700); font-weight: 700; font-size: .9rem; margin-top: .15rem; }
.doc-card__bio { color: var(--ink-soft); font-size: .94rem; margin-top: .7rem; }
.doc-meta { display:flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: 1rem; }
.chip {
  font-size: .76rem; font-weight: 600; color: var(--ink-soft);
  background: var(--paper-2); border: 1px solid var(--line);
  padding: .28rem .7rem; border-radius: var(--r-pill);
}
.chip svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 3px; color: var(--sky); }

/* filter bar */
.filterbar { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.filter-btn {
  border: 1px solid var(--line); background: var(--card); color: var(--ink-soft);
  padding: .55rem 1.1rem; border-radius: var(--r-pill); font-weight: 600; font-size: .92rem;
  transition: all .2s var(--ease);
}
.filter-btn:hover { border-color: var(--sky); color: var(--sky-700); }
.filter-btn[aria-pressed="true"] { background: var(--sky); color:#fff; border-color: var(--sky); box-shadow: var(--shadow-sky); }
.filter-empty { color: var(--ink-soft); padding: 2rem 0; }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial {
  background: linear-gradient(135deg, var(--sky-700), var(--sky-600) 60%, #4a73c9);
  border-radius: var(--r-xl); padding: clamp(2rem, 5vw, 3.6rem); color: #fff;
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.testimonial::before {
  content:"\201C"; position: absolute; top: -.3em; right: .15em;
  font-family: var(--font-serif); font-size: 14rem; color: rgba(255,255,255,.1); line-height: 1;
}
.testimonial blockquote { font-family: var(--font-serif); font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.4; max-width: 40ch; position: relative; }
.testimonial__by { display: flex; align-items: center; gap: .9rem; margin-top: 1.6rem; }
.testimonial__by img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.5); }
.testimonial__by strong { display:block; }
.testimonial__by span { color: rgba(255,255,255,.82); font-size: .9rem; }
.stars { color: var(--gold); display:flex; gap:2px; margin-bottom: .9rem; }
.stars svg { width: 20px; height: 20px; }

/* ============================================================
   HOURS / location mini
   ============================================================ */
.info-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.info-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.8rem; box-shadow: var(--shadow-sm);
}
.info-card h3 { font-size: 1.4rem; display: flex; align-items: center; gap: .6rem; }
.info-card h3 svg { width: 24px; height: 24px; color: var(--sky); }
.hours-list { margin-top: 1.1rem; }
.hours-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px dashed var(--line); }
.hours-list li:last-child { border-bottom: 0; }
.hours-list .day { font-weight: 600; }
.hours-list .time { color: var(--ink-soft); }
.hours-list li.today { background: var(--sky-050); margin-inline: -.7rem; padding-inline: .7rem; border-radius: 10px; border-bottom-color: transparent; }
.hours-list li.today .day::after { content:"Today"; font-size: .68rem; color: var(--sky-700); background: var(--sky-100);
  padding: .1rem .45rem; border-radius: var(--r-pill); margin-left: .5rem; vertical-align: 1px; font-weight: 700; }
.badge-open { display:inline-flex; align-items:center; gap:.4rem; font-weight:700; font-size:.85rem;
  color:#1f8e72; background: var(--mint-100); padding:.3rem .7rem; border-radius: var(--r-pill); }
.badge-open .dot { width:8px; height:8px; border-radius:50%; background:var(--mint); box-shadow:0 0 0 4px rgba(89,199,168,.25); }

/* ============================================================
   CTA banner
   ============================================================ */
.cta-banner {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--coral) 0%, #ff9180 55%, var(--coral-600) 100%);
  border-radius: var(--r-xl); padding: clamp(2.2rem, 5vw, 3.8rem); color: #fff;
  text-align: center; box-shadow: var(--shadow-lg);
}
.cta-banner h2 { color:#fff; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.cta-banner p { color: rgba(255,255,255,.92); max-width: 50ch; margin: .8rem auto 1.6rem; }
.cta-banner .btn-light { background: #fff; color: var(--coral-600); border-color:#fff; }
.cta-banner .btn-light:hover { background:#fff; transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,.2); }
.cta-banner__deco { position: absolute; border-radius: 50%; background: rgba(255,255,255,.14); }

/* ============================================================
   SERVICES PAGE — detailed rows
   ============================================================ */
.svc-detail {
  display: grid; grid-template-columns: 64px 1fr; gap: 1.2rem 1.4rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.8rem; box-shadow: var(--shadow-sm); scroll-margin-top: 100px;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.svc-detail:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.svc-detail__head { grid-column: 2; }
.svc-detail h3 { font-size: 1.5rem; }
.svc-detail p { color: var(--ink-soft); margin-top: .5rem; }
.svc-detail .svc-ico { margin: 0; grid-row: 1; }
.svc-detail__incl { grid-column: 2; display: grid; gap: .55rem; margin-top: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(190px,1fr)); }
.svc-detail__incl li { display:flex; gap:.55rem; align-items:flex-start; font-size:.94rem; color: var(--ink-soft); }
.svc-detail__incl svg { width: 19px; height:19px; color: var(--mint); flex:none; margin-top:2px; }
.svc-detail__foot { grid-column: 2; margin-top: 1.3rem; display:flex; flex-wrap:wrap; gap: .8rem; align-items:center; }
.svc-price { color: var(--ink-faint); font-size: .92rem; }
.svc-price b { color: var(--ink); font-family: var(--font-serif); font-size: 1.1rem; }

/* anchor pill nav */
.anchor-nav { display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom: 2.2rem; }
.anchor-nav a {
  border:1px solid var(--line); background: var(--card); color: var(--ink-soft);
  padding:.5rem 1rem; border-radius: var(--r-pill); font-weight:600; font-size:.9rem; transition: all .2s var(--ease);
}
.anchor-nav a:hover { border-color: var(--sky); color: var(--sky-700); box-shadow: var(--shadow-sm); }

/* ============================================================
   FORMS (appointments / contact)
   ============================================================ */
.form-shell { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(1.4rem, 4vw, 2.6rem); align-items: start; }
.form-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow-md);
}
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.col-span { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .92rem; color: var(--ink); }
.field .req { color: var(--coral-600); }
.field .hint { font-weight: 500; color: var(--ink-faint); font-size: .82rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: .8rem .95rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23475068' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.4rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sky); background:#fff;
  box-shadow: 0 0 0 4px var(--sky-100);
}
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid,
.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: var(--coral-600); background: #fff7f5;
}
.field .error-msg {
  display: none; color: var(--coral-600); font-size: .84rem; font-weight: 600;
  align-items: center; gap: .35rem;
}
.field .error-msg svg { width: 15px; height: 15px; flex:none; }
.field.has-error .error-msg { display: flex; }

fieldset { border: 0; padding: 0; }
fieldset legend { font-weight: 700; font-size: .92rem; margin-bottom: .6rem; }
.radio-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; width: 0; height: 0; }
.radio-pill span {
  display: inline-block; border: 1.5px solid var(--line); background: var(--paper);
  padding: .6rem 1.1rem; border-radius: var(--r-pill); font-weight: 600; font-size: .92rem;
  transition: all .2s var(--ease); cursor: pointer;
}
.radio-pill input:checked + span { background: var(--sky); color:#fff; border-color: var(--sky); }
.radio-pill input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }

.form-actions { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.form-note { color: var(--ink-faint); font-size: .86rem; }

/* success state */
.form-success {
  display: none; text-align: center; padding: 1rem 0;
}
.form-success.show { display: block; animation: pop .5s var(--ease); }
@keyframes pop { from { opacity:0; transform: scale(.94);} to {opacity:1; transform: scale(1);} }
.form-success__ico {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 1.2rem;
  background: var(--mint-100); color: #1f8e72; display: grid; place-items: center;
}
.form-success__ico svg { width: 40px; height: 40px; }
.form-success h3 { font-size: 1.7rem; }
.form-success p { color: var(--ink-soft); max-width: 42ch; margin: .8rem auto 1.4rem; }
.form-success__summary {
  text-align: left; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.1rem 1.3rem; max-width: 420px; margin: 0 auto 1.6rem;
}
.form-success__summary dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); font-weight:700; }
.form-success__summary dd { margin: 0 0 .8rem; font-weight: 600; }
.form-success__summary dd:last-child { margin-bottom: 0; }

/* aside cards next to form */
.aside-stack { display: grid; gap: 1.2rem; }
.aside-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
}
.aside-card.accent { background: linear-gradient(135deg, var(--sky-700), var(--sky-600)); color:#fff; border:0; }
.aside-card.accent h3, .aside-card.accent a { color:#fff; }
.aside-card h3 { font-size: 1.2rem; display:flex; align-items:center; gap:.5rem; margin-bottom: .8rem; }
.aside-card h3 svg { width: 21px; height: 21px; color: var(--sky); }
.aside-card.accent h3 svg { color:#fff; }
.aside-card ul { display: grid; gap: .55rem; }
.aside-card li { display:flex; gap:.6rem; align-items:flex-start; font-size:.94rem; color: var(--ink-soft); }
.aside-card.accent li { color: rgba(255,255,255,.92); }
.aside-card li svg { width:18px; height:18px; flex:none; margin-top:3px; color: var(--sky); }
.aside-card.accent li svg { color: #cfe0ff; }

/* ============================================================
   CONTACT / MAP
   ============================================================ */
.map-placeholder {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 340px;
  background:
    linear-gradient(135deg, var(--sky-050), var(--peri-100));
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: grid; place-items: center; text-align: center;
}
.map-placeholder svg.map-grid { position:absolute; inset:0; width:100%; height:100%; opacity:.5; }
.map-pin {
  position: relative; z-index: 1; background: var(--card); border-radius: var(--r);
  padding: 1.3rem 1.5rem; box-shadow: var(--shadow-md); max-width: 300px;
}
.map-pin__ico { width: 54px; height:54px; border-radius: 50%; background: var(--coral); color:#fff;
  display:grid; place-items:center; margin: 0 auto .8rem; box-shadow: 0 8px 22px rgba(241,95,73,.4); animation: bob 3s var(--ease) infinite; }
.map-pin__ico svg { width: 28px; height: 28px; }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-7px);} }
.map-pin h3 { font-size: 1.15rem; }
.map-pin p { color: var(--ink-soft); font-size: .92rem; margin-top: .3rem; }
.map-pin a { color: var(--sky-700); font-weight: 700; font-size: .92rem; display:inline-block; margin-top: .6rem; }

.contact-methods { display:grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }
.contact-method {
  display:flex; gap: 1rem; align-items: flex-start; background: var(--card);
  border:1px solid var(--line); border-radius: var(--r); padding: 1.3rem; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.contact-method:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-method__ico { width: 48px; height:48px; border-radius: 13px; flex:none; display:grid; place-items:center;
  background: var(--sky-100); color: var(--sky-700); }
.contact-method__ico svg { width:24px; height:24px; }
.contact-method h3 { font-size: 1.05rem; }
.contact-method a, .contact-method p { color: var(--ink-soft); font-size: .94rem; }
.contact-method a:hover { color: var(--sky-700); }

.emergency-note {
  display:flex; gap: 1rem; align-items: center;
  background: var(--coral-100); border: 1px solid #ffd0c6; border-radius: var(--r-lg);
  padding: 1.3rem 1.6rem;
}
.emergency-note__ico { width: 50px; height: 50px; border-radius: 50%; flex:none; display:grid; place-items:center;
  background: var(--coral); color:#fff; box-shadow: 0 6px 16px rgba(241,95,73,.35); }
.emergency-note__ico svg { width: 26px; height: 26px; }
.emergency-note strong { display:block; color: var(--coral-600); font-family: var(--font-serif); font-size: 1.15rem; }
.emergency-note p { color: #9a4636; font-size: .95rem; }
.emergency-note a { color: var(--coral-600); font-weight: 800; text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #16203a; color: #c2cbe0; margin-top: var(--section-y); }
.footer-top { padding-block: clamp(2.8rem, 6vw, 4.5rem); }
.footer-grid {
  display: grid; gap: 2rem; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
}
.footer-brand .brand__name { color:#fff; }
.footer-brand .brand__sub { color: rgba(255,255,255,.5); }
.footer-brand p { margin-top: 1rem; max-width: 30ch; color: #9aa6c4; font-size: .95rem; }
.footer-col h4 { color:#fff; font-family: var(--font-sans); font-size: .95rem; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-col ul { display:grid; gap: .6rem; }
.footer-col a, .footer-col li { color: #9aa6c4; font-size: .95rem; transition: color .2s var(--ease); }
.footer-col a:hover { color:#fff; }
.footer-hours li { display:flex; justify-content: space-between; gap:1rem; }
.footer-contact li { display:flex; gap:.6rem; align-items:flex-start; }
.footer-contact svg { width:18px; height:18px; flex:none; margin-top:3px; color: var(--sky); }
.footer-emergency {
  background: rgba(255,122,102,.12); border:1px solid rgba(255,122,102,.32); border-radius: var(--r);
  padding: 1rem 1.2rem; margin-top: 1.4rem; display:flex; gap:.7rem; align-items:center;
}
.footer-emergency svg { width: 22px; height:22px; color: var(--coral); flex:none; }
.footer-emergency strong { color:#fff; }
.footer-emergency a { color: var(--coral); font-weight: 700; }
.socials { display:flex; gap:.6rem; margin-top: 1.2rem; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px; display:grid; place-items:center;
  background: rgba(255,255,255,.08); color:#fff; transition: all .25s var(--ease);
}
.socials a:hover { background: var(--sky); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.4rem;
  display:flex; flex-wrap:wrap; gap: 1rem; justify-content: space-between; align-items:center;
  font-size: .88rem; color: #8090b0; }
.footer-bottom nav { display:flex; gap: 1.2rem; flex-wrap:wrap; }
.footer-bottom a:hover { color:#fff; }

/* ============================================================
   Reveal animations
   ============================================================ */
/* the hidden attribute must win over component display rules (e.g. filtered doctor cards) */
[hidden] { display: none !important; }

/* consent checkbox row (a real, visible checkbox — not a pill) */
.consent-row { display: flex; align-items: flex-start; gap: .6rem; cursor: pointer; }
.consent-row input[type="checkbox"] {
  width: 20px; height: 20px; flex: none; margin-top: 2px;
  accent-color: var(--sky); cursor: pointer;
}
.consent-row span { font-weight: 500; color: var(--ink-soft); }

[data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .map-pin__ico { animation: none; }
  .btn:hover, .svc-card:hover, .doc-card:hover, .contact-method:hover { transform: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  :root { --header-h: 70px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__card { margin: 0; max-width: 100%; }
  .split, .split--reverse .split__media { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .info-split, .form-shell, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 2rem 1.5rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  /* On mobile the header collapses to the hamburger only.
     The single primary CTA lives inside the mobile drawer (.drawer-cta),
     so the desktop header actions are fully hidden — never a duplicate CTA. */
  .nav-links, .header-phone, .header-actions { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .svc-detail { grid-template-columns: 1fr; }
  .svc-detail .svc-ico { grid-row: auto; }
  .svc-detail__head, .svc-detail__incl, .svc-detail__foot { grid-column: 1; }
}

@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1 1 auto; }
}
