@charset "UTF-8";
/* ==========================================================================
   North Dallas Smiles — "Clinical Luxe" design system
   Brand core: #839389 (sampled from the practice logo)
   Palette and material language mirror the physical office: white walls,
   warm oak millwork, sage signage.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Sage — brand core, darkened into an accessible ramp */
  --sage-900: #1f2a24;
  --sage-800: #2e3e35;
  --sage-700: #3f5548;
  --sage-600: #566f5f;
  --sage-500: #839389; /* logo colour */
  --sage-400: #9caaa1;
  --sage-300: #bcc7c0;
  --sage-200: #d8e0da;
  --sage-100: #eaefeb;
  --sage-50:  #f4f7f4;

  /* Oak — the millwork and signage warmth */
  --oak-900: #4a3927;
  --oak-700: #7a6144;
  --oak-600: #9b7c56;
  --oak-500: #bfa07a;
  --oak-300: #dcc7a9;
  --oak-100: #f2e8d9;
  --oak-50:  #faf5ec;

  /* Copper — accent, urgency, emphasis */
  --copper-700: #8f4526;
  --copper-600: #a85632;
  --copper-500: #c06a42;

  /* Neutrals */
  --ink:     #171c19;
  --ink-2:   #3d4741;
  --ink-3:   #66716a;
  --line:    #e2e7e3;
  --line-2:  #eef1ee;
  --canvas:  #ffffff;
  --bone:    #fbfaf6;

  --success: #2f6b4f;
  --alert:   #a8442f;

  /* Semantic */
  --bg:            var(--canvas);
  --bg-soft:       var(--bone);
  --bg-tint:       var(--sage-50);
  --text:          var(--ink);
  --text-muted:    var(--ink-3);
  --brand:         var(--sage-800);
  --brand-soft:    var(--sage-500);
  --accent:        var(--copper-600);
  --border:        var(--line);

  /* Type */
  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --fs-display: clamp(2.75rem, 1.55rem + 4.2vw, 5rem);
  --fs-h1:      clamp(2.25rem, 1.5rem + 2.9vw, 3.6rem);
  --fs-h2:      clamp(1.875rem, 1.35rem + 2.05vw, 2.75rem);
  --fs-h3:      clamp(1.3rem, 1.12rem + 0.72vw, 1.65rem);
  --fs-h4:      clamp(1.075rem, 1rem + 0.34vw, 1.25rem);
  --fs-lead:    clamp(1.075rem, 1.01rem + 0.32vw, 1.25rem);
  --fs-body:    1.0625rem;   /* 17px */
  --fs-sm:      0.9375rem;   /* 15px */
  --fs-xs:      0.8125rem;   /* 13px */

  --lh-tight: 1.12;
  --lh-snug: 1.28;
  --lh-body: 1.68;

  /* Spacing — spacious scale */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;   --sp-3: 0.75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;   --sp-6: 2rem;     --sp-7: 3rem;     --sp-8: 4rem;
  --sp-9: 6rem;     --sp-10: 8rem;
  --section-y: clamp(4rem, 2.6rem + 5.6vw, 7.5rem);
  --gutter: clamp(1.25rem, 0.7rem + 2.4vw, 2.5rem);
  --container: 1200px;
  --container-narrow: 820px;

  /* Radius — Soft UI Evolution */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadow — soft multi-layer */
  --sh-sm: 0 1px 2px rgba(23, 28, 25, .05), 0 1px 3px rgba(23, 28, 25, .05);
  --sh-md: 0 2px 4px rgba(23, 28, 25, .04), 0 8px 24px rgba(23, 28, 25, .07);
  --sh-lg: 0 4px 8px rgba(23, 28, 25, .04), 0 24px 56px rgba(23, 28, 25, .10);
  --sh-ring: 0 0 0 1px var(--line);

  /* Motion */
  --dur: 220ms;
  --dur-slow: 320ms;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --header-h: 76px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  /* `clip` rather than `hidden`: it contains the off-canvas nav without
     turning the root into a scroll container, so the sticky header survives. */
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-synthesis-weight: none;
}

img, picture, video, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); }
h4 { font-size: var(--fs-h4); line-height: var(--lh-snug); }
p { text-wrap: pretty; }

a { color: var(--sage-800); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--copper-700); }

/* Visible, high-contrast focus for keyboard users (never removed) */
:focus-visible {
  outline: 3px solid var(--copper-600);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--sage-200); color: var(--ink); }

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--sage-800);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 0 0 var(--r) var(--r);
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); }
.section--tint { background: var(--bg-tint); }
.section--soft { background: var(--bg-soft); }
.section--oak  { background: var(--oak-50); }
.section--dark { background: var(--sage-900); color: #fff; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.stack > * + * { margin-top: var(--sp-4); }
.grid { display: grid; gap: var(--sp-5); }

/* Section heading block */
.sec-head { max-width: 62ch; margin-bottom: clamp(2rem, 1.2rem + 2.4vw, 3.5rem); }
.sec-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage-700);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--oak-500);
  border-radius: 2px;
}
.sec-head--center .eyebrow::before { display: none; }

.lead {
  font-size: var(--fs-lead);
  color: var(--ink-2);
  line-height: 1.62;
  margin-top: var(--sp-4);
}
.section--dark .lead { color: var(--sage-200); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--sage-800);
  --btn-fg: #fff;
  --btn-bd: var(--sage-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 52px;
  padding: .875rem 1.75rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--accent { --btn-bg: var(--copper-600); --btn-bd: var(--copper-600); }
.btn--accent:hover { --btn-bg: var(--copper-700); --btn-bd: var(--copper-700); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--sage-800);
  --btn-bd: var(--sage-300);
}
.btn--ghost:hover { --btn-bg: var(--sage-50); --btn-bd: var(--sage-600); --btn-fg: var(--sage-900); }

.btn--light { --btn-bg: #fff; --btn-fg: var(--sage-900); --btn-bd: #fff; }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.45); }
.btn--outline-light:hover { --btn-bg: rgba(255,255,255,.1); --btn-bd: #fff; }

.btn--sm { min-height: 44px; padding: .625rem 1.25rem; font-size: var(--fs-xs); }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--sage-800);
  text-decoration: none;
  min-height: 44px;
}
.link-arrow span { border-bottom: 1.5px solid var(--sage-300); padding-bottom: 1px; transition: border-color var(--dur) var(--ease); }
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover { color: var(--copper-700); }
.link-arrow:hover span { border-color: var(--copper-500); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   5. Utility bar + header
   -------------------------------------------------------------------------- */
.utility {
  background: var(--sage-900);
  color: var(--sage-200);
  font-size: var(--fs-xs);
}
.utility__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 40px;
  flex-wrap: wrap;
}
.utility__list { display: flex; align-items: center; gap: var(--sp-5); list-style: none; padding: 0; flex-wrap: wrap; }
/* min-height keeps these above the WCAG 2.2 24px target floor */
.utility a {
  color: var(--sage-200);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 26px;
}
.utility a:hover { color: #fff; text-decoration: underline; }
.utility svg { width: 14px; height: 14px; flex: none; color: var(--sage-400); }
.utility a[aria-label] { min-width: 26px; justify-content: center; }
.utility a[aria-label] svg { width: 16px; height: 16px; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  color: #fff;
}
.status-pill::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sage-400);
}
.status-pill[data-open="true"]::before { background: #6ee7a8; box-shadow: 0 0 0 3px rgba(110,231,168,.2); }
.status-pill[data-open="false"]::before { background: var(--oak-500); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.site-header[data-stuck="true"] { box-shadow: var(--sh-sm); border-bottom-color: var(--line); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand img { width: auto; height: 42px; }

.nav { margin-inline-start: auto; }
.nav__list { display: flex; align-items: center; gap: var(--sp-1); list-style: none; padding: 0; margin: 0; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .6rem .8rem;
  min-height: 44px;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav__link:hover { color: var(--sage-900); background: var(--sage-50); }
.nav__link[aria-current="page"] { color: var(--sage-900); font-weight: 600; }
.nav__link svg { width: 12px; height: 12px; opacity: .6; transition: transform var(--dur) var(--ease); }

.has-sub { position: relative; }
.has-sub:hover > .nav__link svg, .has-sub:focus-within > .nav__link svg { transform: rotate(180deg); }

.subnav {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-lg);
  padding: .5rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.has-sub:hover > .subnav,
.has-sub:focus-within > .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
.subnav a {
  display: block;
  padding: .7rem .85rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  color: var(--ink-2);
  text-decoration: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.subnav a:hover { background: var(--sage-50); color: var(--sage-900); }
.subnav small { display: block; font-size: var(--fs-xs); color: var(--ink-3); margin-top: 1px; }

.header__actions { display: flex; align-items: center; gap: var(--sp-3); flex: none; }
.header__phone {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--sage-900);
  text-decoration: none;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  padding-inline: .4rem;
}
.header__phone svg { width: 17px; height: 17px; color: var(--sage-600); }
.header__phone:hover { color: var(--copper-700); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  color: var(--sage-900);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 1.4rem + 4.4vw, 5rem) clamp(3rem, 1.8rem + 5vw, 6rem);
  background:
    radial-gradient(120% 90% at 88% 8%, var(--oak-50) 0%, rgba(250,245,236,0) 58%),
    linear-gradient(180deg, var(--sage-50) 0%, #fff 72%);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.02fr 0.98fr; }
}

.hero h1 { font-size: var(--fs-h1); margin-bottom: var(--sp-4); }
.hero h1 em {
  font-style: italic;
  color: var(--sage-700);
}
.hero__lead { font-size: var(--fs-lead); color: var(--ink-2); max-width: 46ch; }

/* Rating badge */
.rating {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-top: var(--sp-6);
  padding: .6rem .95rem .6rem .7rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-sm);
}
.rating__stars { display: inline-flex; gap: 2px; color: #e0a12a; }
.rating__stars svg { width: 16px; height: 16px; }
.rating__text { font-size: var(--fs-xs); color: var(--ink-2); line-height: 1.35; }
.rating__text strong { display: block; color: var(--ink); font-size: var(--fs-sm); }

/* Hero media */
.hero__media { position: relative; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: auto -18px -18px auto;
  width: 62%;
  height: 58%;
  background: var(--oak-100);
  border-radius: var(--r-xl);
  z-index: 0;
}
.hero__frame {
  position: relative;
  z-index: 1;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  aspect-ratio: 3 / 2;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }

.hero__card {
  position: absolute;
  z-index: 2;
  left: -14px;
  bottom: -18px;
  display: grid;
  gap: .3rem;
  padding: 1rem 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  max-width: 232px;
}
.hero__card dt { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.hero__card dd { margin: 0; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }

/* Trust chips under hero copy */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--sp-6); list-style: none; padding: 0; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .85rem;
  background: var(--sage-50);
  border: 1px solid var(--sage-200);
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--sage-800);
}
.chip svg { width: 15px; height: 15px; color: var(--sage-600); flex: none; }

/* --------------------------------------------------------------------------
   7. Stat bar
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: #fff; padding: clamp(1.5rem, 1rem + 1.6vw, 2.25rem) var(--sp-4); text-align: center; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  font-weight: 600;
  color: var(--sage-800);
  line-height: 1;
}
.stat__label { font-size: var(--fs-xs); color: var(--ink-3); margin-top: .5rem; letter-spacing: .02em; }

/* --------------------------------------------------------------------------
   8. Cards / services
   -------------------------------------------------------------------------- */
/* Five services laid out 3 + 2 on desktop so no card is left orphaned. */
.card-grid {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
@media (min-width: 900px) {
  .card-grid--5 { grid-template-columns: repeat(6, 1fr); }
  .card-grid--5 > * { grid-column: span 2; }
  .card-grid--5 > *:nth-child(4),
  .card-grid--5 > *:nth-child(5) { grid-column: span 3; }
}

.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.svc::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sage-500), var(--oak-500));
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: var(--sage-200); }
.svc:hover::before { opacity: 1; }
.svc__body { padding: clamp(1.5rem, 1.2rem + 1vw, 2rem); display: flex; flex-direction: column; flex: 1; gap: .6rem; }
.svc__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: var(--r);
  background: var(--sage-50);
  border: 1px solid var(--sage-100);
  color: var(--sage-700);
  margin-bottom: var(--sp-2);
}
.svc__icon svg { width: 26px; height: 26px; }
.svc h3 { font-size: var(--fs-h3); }
.svc h3 a { text-decoration: none; color: inherit; }
.svc:hover h3 a { color: var(--sage-800); text-decoration: underline; text-decoration-color: var(--sage-300); }
.svc > .svc__body > p { font-size: var(--fs-sm); color: var(--ink-3); }
.svc__list { margin-top: auto; padding-top: var(--sp-2); }

/* Affordance: the whole card is a target, so signal it */
.svc__go {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sage-50);
  color: var(--sage-700);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.svc__go svg { width: 17px; height: 17px; }
.svc:hover .svc__go, .svc:focus-within .svc__go { opacity: 1; transform: none; }
.svc--urgent .svc__go { background: #fff; color: var(--copper-600); }

/* Keep a real link clickable above the card-wide overlay */
.svc .link-arrow { position: relative; z-index: 1; }
.svc__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; }
.svc__list li { font-size: var(--fs-sm); color: var(--ink-2); padding-left: 1.25rem; position: relative; }
.svc__list li::before {
  content: "";
  position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--oak-500);
}
/* Whole card clickable while keeping one accessible link */
.svc__link::after { content: ""; position: absolute; inset: 0; }

/* Emergency callout card */
.svc--urgent { border-color: var(--oak-300); background: var(--oak-50); }
.svc--urgent .svc__icon { background: #fff; color: var(--copper-600); }

/* --------------------------------------------------------------------------
   9. Split feature blocks
   -------------------------------------------------------------------------- */
.split { display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 2; }
}
.split__media { position: relative; }
.split__media img { border-radius: var(--r-xl); box-shadow: var(--sh-md); width: 100%; }

.media-duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); align-items: end; }
.media-duo img { border-radius: var(--r-lg); box-shadow: var(--sh-md); width: 100%; }
.media-duo img:first-child { aspect-ratio: 3/4; object-fit: cover; }
.media-duo img:last-child { aspect-ratio: 1/1; object-fit: cover; margin-bottom: var(--sp-6); }

.feature-list { list-style: none; padding: 0; margin: var(--sp-6) 0 0; display: grid; gap: var(--sp-4); }
.feature-list li { display: grid; grid-template-columns: 40px 1fr; gap: var(--sp-4); align-items: start; }
.feature-list .fi {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sage-50);
  color: var(--sage-700);
}
.feature-list .fi svg { width: 20px; height: 20px; }
.feature-list h3 { margin-bottom: .15rem; font-family: var(--font-sans); font-size: var(--fs-body); font-weight: 600; letter-spacing: 0; }
.feature-list p { font-size: var(--fs-sm); color: var(--ink-3); }

/* --------------------------------------------------------------------------
   10. Doctor
   -------------------------------------------------------------------------- */
.doctor__media { position: relative; }
.doctor__media img { border-radius: var(--r-xl); box-shadow: var(--sh-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.doctor__badge {
  position: absolute;
  right: -14px; bottom: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: .9rem 1.1rem;
  display: grid;
  gap: .15rem;
  max-width: 210px;
}
.doctor__badge strong { font-size: var(--fs-sm); color: var(--ink); }
.doctor__badge span { font-size: var(--fs-xs); color: var(--ink-3); }

.creds { list-style: none; padding: 0; margin: var(--sp-6) 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.creds li {
  font-size: var(--fs-xs);
  padding: .4rem .8rem;
  border: 1px solid var(--sage-200);
  border-radius: var(--r-pill);
  color: var(--sage-800);
  background: #fff;
}

/* --------------------------------------------------------------------------
   11. Reviews
   -------------------------------------------------------------------------- */
.reviews { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.review {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  box-shadow: var(--sh-sm);
}
.review__stars { display: inline-flex; gap: 2px; color: #e0a12a; }
.review__stars svg { width: 16px; height: 16px; }
.review blockquote { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.7; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: .7rem; font-size: var(--fs-xs); color: var(--ink-3); }
.review__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--sage-100);
  color: var(--sage-800);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: var(--fs-xs);
  flex: none;
}
.review figcaption strong { display: block; color: var(--ink); font-size: var(--fs-sm); font-weight: 600; }

.review--placeholder { border-style: dashed; border-color: var(--oak-300); background: var(--oak-50); }

/* --------------------------------------------------------------------------
   12. Plans / pricing
   -------------------------------------------------------------------------- */
.plans { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); align-items: start; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.plan--featured { border-color: var(--sage-600); box-shadow: var(--sh-md); }
.plan__flag {
  position: absolute; top: -12px; left: var(--sp-5);
  background: var(--sage-800);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: .3rem .7rem;
  border-radius: var(--r-pill);
  letter-spacing: .04em;
}
.plan h3 { font-size: var(--fs-h4); font-family: var(--font-sans); font-weight: 700; letter-spacing: 0; }
.plan__meta { font-size: var(--fs-xs); color: var(--ink-3); }
.plan__price { font-family: var(--font-display); font-size: 2.15rem; font-weight: 600; color: var(--sage-800); line-height: 1; }
.plan__price span { font-family: var(--font-sans); font-size: var(--fs-sm); font-weight: 500; color: var(--ink-3); }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; flex: 1; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: .55rem; font-size: var(--fs-sm); color: var(--ink-2); }
.plan li svg { width: 18px; height: 18px; color: var(--success); margin-top: .2em; }

/* --------------------------------------------------------------------------
   13. Insurance logos
   -------------------------------------------------------------------------- */
.logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: clamp(1rem, .8rem + 1vw, 1.75rem);
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
/* Fixed-height cells stop logos with different built-in padding from
   reading as different sizes. */
.logos li {
  height: 72px;
  display: grid;
  place-items: center;
  padding: .5rem .75rem;
  background: #fff;
  border: 1px solid var(--oak-100);
  border-radius: var(--r);
}
.logos img {
  max-height: 34px;
  max-width: 118px;
  width: auto;
  object-fit: contain;
  /* Full colour on purpose. A visitor scans this strip for their own insurer,
     and brand colour is what makes it findable in one pass. Greyscaling looks
     tidier and costs recognition. */
}
.logos li { transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.logos li:hover { border-color: var(--oak-300); box-shadow: var(--sh-sm); }

/* --------------------------------------------------------------------------
   14. Steps
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); counter-reset: step; }
.step { position: relative; padding-top: var(--sp-6); }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0; left: 0;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sage-800);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}
.step h3 { font-size: var(--fs-h4); margin-bottom: .4rem; }
.step p { font-size: var(--fs-sm); color: var(--ink-3); }

/* --------------------------------------------------------------------------
   15. FAQ
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: .75rem; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.faq details[open] { border-color: var(--sage-300); box-shadow: var(--sh-sm); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 1.15rem var(--sp-5);
  min-height: 56px;
  cursor: pointer;
  font-weight: 600;
  font-size: var(--fs-body);
  color: var(--ink);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  border-right: 2px solid var(--sage-600);
  border-bottom: 2px solid var(--sage-600);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--dur) var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq .faq__body { padding: 0 var(--sp-5) 1.35rem; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.7; }

/* --------------------------------------------------------------------------
   16. Location / contact
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; gap: clamp(2rem, 1.2rem + 3vw, 3.5rem); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; } }

.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-5); }
.info-list li { display: grid; grid-template-columns: 40px 1fr; gap: var(--sp-4); }
.info-list .fi { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--sage-50); color: var(--sage-700); }
.info-list .fi svg { width: 19px; height: 19px; }
.info-list dt, .info-list h3, .info-list h4 { font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .25rem; }
.info-list a { color: var(--sage-900); font-weight: 600; text-decoration: none; display: inline-block; padding-block: .15rem; min-height: 24px; }
.info-list a:hover { color: var(--copper-700); text-decoration: underline; }

.hours-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.hours-table th, .hours-table td { text-align: left; padding: .55rem 0; border-bottom: 1px solid var(--line-2); }
.hours-table th { font-weight: 500; color: var(--ink-2); }
.hours-table td { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.hours-table tr[data-today="true"] th, .hours-table tr[data-today="true"] td { color: var(--sage-800); font-weight: 700; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }

.map-frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh-md);
  background: var(--sage-100);
  aspect-ratio: 16 / 11;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--sh-md); }
.field-grid { display: grid; gap: var(--sp-4); }
@media (min-width: 620px) { .field-grid--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); }
.field .req { color: var(--copper-600); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: .75rem .95rem;
  background: var(--bone);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  font-size: var(--fs-body);
  color: var(--ink);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9aa39d; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--sage-300); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  background: #fff;
  border-color: var(--sage-600);
  box-shadow: 0 0 0 3px rgba(86, 111, 95, .16);
}
.field__hint { font-size: var(--fs-xs); color: var(--ink-3); }
.form-note { font-size: var(--fs-xs); color: var(--ink-3); margin-top: var(--sp-4); }

/* Submission feedback. Colour is doubled by an icon-free text label so the
   meaning survives for anyone who cannot distinguish the hues. */
.form-success,
.form-error-banner {
  border-radius: var(--r);
  padding: .85rem 1.1rem;
  margin-bottom: 1.5rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  border: 1px solid;
}
.form-success {
  background: var(--sage-50);
  border-color: var(--sage-300);
  color: var(--success);
}
.form-error-banner {
  background: #fdf3f0;
  border-color: #eccabf;
  color: var(--alert);
}

/* Honeypot: off-screen rather than display:none, so bots still fill it. */
.nds-hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Blog pagination and multi-page post links */
.pagination,
.page-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  margin-top: var(--sp-7);
}
.pagination .page-numbers,
.page-links a,
.page-links > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding-inline: .75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  text-decoration: none;
  color: var(--sage-800);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.pagination .page-numbers:hover,
.page-links a:hover { background: var(--sage-50); border-color: var(--sage-300); }
.pagination .page-numbers.current,
.page-links > span:not(.page-links-title) {
  background: var(--sage-800);
  border-color: var(--sage-800);
  color: #fff;
}
.pagination .page-numbers.dots { border-color: transparent; min-width: 0; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   17. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  background: var(--sage-900);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem) clamp(1.5rem, 1rem + 3vw, 4rem);
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(131,147,137,.35) 0%, rgba(131,147,137,0) 68%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.cta-band p { color: var(--sage-200); max-width: 54ch; margin: var(--sp-4) auto 0; }
.cta-band .btn-row { justify-content: center; }

/* --------------------------------------------------------------------------
   18. Page header (inner pages)
   -------------------------------------------------------------------------- */
.page-head {
  background: linear-gradient(180deg, var(--sage-50) 0%, #fff 100%);
  padding-block: clamp(2.5rem, 1.6rem + 3.4vw, 4.5rem) clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  border-bottom: 1px solid var(--line-2);
}
.page-head h1 { max-width: 20ch; }
.page-head .lead { max-width: 60ch; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; list-style: none; padding: 0; margin: 0 0 var(--sp-4); font-size: var(--fs-xs); color: var(--ink-3); }
.crumbs a { color: var(--ink-3); text-decoration: none; display: inline-block; padding-block: .3rem; min-height: 24px; }
.crumbs a:hover { color: var(--sage-800); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--sage-300); }

/* Prose (blog / long copy) */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: var(--sp-4); }
.prose h2 { margin-top: var(--sp-7); }
.prose h3 { margin-top: var(--sp-6); }
.prose ul, .prose ol { padding-left: 1.35rem; display: grid; gap: .45rem; }
.prose li { color: var(--ink-2); }

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--sage-900); color: var(--sage-200); padding-block: clamp(3rem, 2rem + 3.4vw, 5rem) 0; }
.footer__grid { display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.footer__brand img { height: 40px; width: auto; margin-bottom: var(--sp-4); }
.footer__brand p { font-size: var(--fs-sm); color: var(--sage-300); max-width: 34ch; }
.site-footer h2, .site-footer h3 {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--sp-4);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .2rem; }
.site-footer a {
  color: var(--sage-200);
  text-decoration: none;
  font-size: var(--fs-sm);
  display: inline-block;
  padding-block: .3rem;
  min-height: 26px;
}
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__contact { display: grid; gap: .35rem; font-size: var(--fs-sm); font-style: normal; }
.footer__social { display: flex; gap: .6rem; margin-top: var(--sp-5); }
.footer__social a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: var(--sage-200);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.footer__social a:hover { background: #fff; color: var(--sage-900); border-color: #fff; }
.footer__social svg { width: 19px; height: 19px; }

.footer__bar {
  margin-top: clamp(2.5rem, 1.8rem + 2.6vw, 4rem);
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--sage-300);
}
.footer__bar ul { display: flex; flex-wrap: wrap; gap: var(--sp-4); }

/* --------------------------------------------------------------------------
   20. Sticky mobile action bar
   -------------------------------------------------------------------------- */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 120;
  display: none;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0);
  box-shadow: 0 -6px 24px rgba(23,28,25,.10);
}
.mobile-bar a {
  flex: 1;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: #fff;
  color: var(--sage-900);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
}
.mobile-bar a.is-primary { background: var(--sage-800); color: #fff; }
.mobile-bar svg { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   21. Scroll reveal
   -------------------------------------------------------------------------- */
/* Hidden only when scripting is available to reveal it again. Without the
   `js` class (JS disabled, or theme.js failed to load) content stays visible. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 480ms var(--ease), transform 480ms var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-group > * { opacity: 0; transform: translateY(18px); transition: opacity 460ms var(--ease), transform 460ms var(--ease); }
.js .reveal-group.is-in > * { opacity: 1; transform: none; }
.reveal-group.is-in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-group.is-in > *:nth-child(2) { transition-delay: 70ms; }
.reveal-group.is-in > *:nth-child(3) { transition-delay: 140ms; }
.reveal-group.is-in > *:nth-child(4) { transition-delay: 210ms; }
.reveal-group.is-in > *:nth-child(5) { transition-delay: 280ms; }
.reveal-group.is-in > *:nth-child(6) { transition-delay: 350ms; }

/* --------------------------------------------------------------------------
   22. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .header__phone span { display: none; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 auto;
    width: min(360px, 88vw);
    background: #fff;
    border-left: 1px solid var(--line);
    box-shadow: var(--sh-lg);
    padding: var(--sp-5) var(--sp-5) var(--sp-9);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform var(--dur-slow) var(--ease), visibility var(--dur-slow);
  }
  .nav[data-open="true"] { transform: translateX(0); visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: .15rem; }
  .nav__link { padding: .85rem .75rem; font-size: var(--fs-body); justify-content: space-between; }
  .has-sub > .nav__link { border-bottom: 1px solid var(--line-2); }
  .subnav {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: .25rem 0 .5rem .75rem;
    min-width: 0;
    display: none;
  }
  .has-sub[data-open="true"] > .subnav { display: block; }
  .has-sub[data-open="true"] > .nav__link svg { transform: rotate(180deg); }
  .nav-backdrop {
    position: fixed; inset: 0;
    background: rgba(23,28,25,.4);
    opacity: 0; visibility: hidden;
    transition: opacity var(--dur) var(--ease), visibility var(--dur);
    z-index: 90;
  }
  .nav-backdrop[data-open="true"] { opacity: 1; visibility: visible; }
}

@media (max-width: 767px) {
  body { padding-bottom: 58px; }
  .mobile-bar { display: flex; }
  .utility__list li:not(.utility__phone) { display: none; }
  .hero__card { position: static; max-width: none; margin-top: var(--sp-4); }
  .hero__media::after { display: none; }
  .doctor__badge { position: static; max-width: none; margin-top: var(--sp-4); }
  .media-duo img:last-child { margin-bottom: 0; }
  .btn { width: 100%; }
  .btn-row .btn { width: auto; flex: 1 1 auto; }
}

@media (min-width: 768px) {
  .utility__inner { justify-content: space-between; }
}

/* --------------------------------------------------------------------------
   23. Reduced motion & print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-group > * { opacity: 1 !important; transform: none !important; }
}

@media print {
  .site-header, .utility, .mobile-bar, .site-footer, .btn, .map-frame { display: none !important; }
  body { color: #000; }
}
