/* ============================================================
   Big Sky Foot & Ankle Institute — Design System
   ============================================================ */

/* ── 1. CUSTOM PROPERTIES ─────────────────────────────────── */
:root {
  /* Brand colors */
  --navy:       #0C3560;
  --navy-light: #174880;
  --blue:       #1565C0;
  --blue-hover: #1153A8;
  --sky:        #1E88E5;
  --sky-light:  #E3F0FC;
  --teal:       #0288A0;
  --off:        #F4F8FC;
  --white:      #FFFFFF;
  --border:     #D0DEF0;
  --border-light: #E8F0FA;

  /* Text */
  --ink:        #0F1E35;
  --body:       #3A5470;
  --muted:      #6A8BA8;
  --label:      #4A77AA;

  /* Feedback */
  --green:      #1B6E45;
  --green-bg:   #E8F5EE;
  --red:        #C0392B;
  --red-bg:     #FDF0EE;

  /* Type scale */
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.0625rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.5rem;
  --fs-2xl:  1.875rem;
  --fs-3xl:  2.25rem;
  --fs-4xl:  3rem;
  --fs-5xl:  3.75rem;

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Radii */
  --r-sm:  2px;
  --r-md:  4px;
  --r-lg:  4px;
  --r-xl:  6px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(12,53,96,.07);
  --shadow-sm: 0 2px 8px rgba(12,53,96,.09);
  --shadow-md: 0 4px 20px rgba(12,53,96,.12);
  --shadow-lg: 0 8px 40px rgba(12,53,96,.15);

  /* Nav */
  --nav-h: 106px;

  /* Transitions */
  --ease: cubic-bezier(.4,0,.2,1);
  --dur:  200ms;
}

/* ── 2. RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 1rem); }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }
a[href^="tel:"] { white-space: nowrap; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.2;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.025em;
}

/* ── 3. UTILITIES ─────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -100%; left: 1rem; z-index: 9999;
  padding: .5rem 1rem; background: var(--blue); color: #fff;
  border-radius: var(--r-sm); font-weight: 600; font-size: var(--fs-sm);
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 1rem; }
.wrap   { max-width: 1200px; margin: 0 auto; padding: 0 var(--sp-6); }
.wrap-sm{ max-width: 820px;  margin: 0 auto; padding: 0 var(--sp-6); }
.px     { padding-left: clamp(1.25rem,4vw,2.5rem); padding-right: clamp(1.25rem,4vw,2.5rem); }
.py     { padding-top: max(var(--nav-h), clamp(3rem,7vw,5rem)); padding-bottom: clamp(3rem,7vw,5rem); }
.py-sm  { padding-top: clamp(2rem,4vw,3rem);  padding-bottom: clamp(2rem,4vw,3rem); }
.py-lg  { padding-top: clamp(4rem,9vw,7rem);  padding-bottom: clamp(4rem,9vw,7rem); }
.text-center { text-align: center; }
.text-white  { color: #fff; }

/* ── 4. TYPOGRAPHY ────────────────────────────────────────── */
.t-label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--label);
}
.t-label--white { color: rgba(255,255,255,.7); }
.t-h1   { font-size: clamp(2rem,4.5vw,3.25rem); }
.t-h2   { font-size: clamp(1.5rem,2.8vw,2.25rem); }
.t-h3   { font-size: clamp(1.125rem,1.8vw,1.5rem); }
.t-h4   { font-size: clamp(1rem,1.5vw,1.25rem); }
.t-lead { font-size: clamp(.9375rem,1.2vw,1.0625rem); line-height: 1.65; color: var(--body); }
.t-body { font-size: var(--fs-base); line-height: 1.75; color: var(--body); }
.t-muted{ color: var(--muted); font-size: var(--fs-sm); }
.font-600 { font-weight: 600; }
.font-700 { font-weight: 700; }

/* ── 5. BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.625rem;
  font-size: var(--fs-sm); font-weight: 600; letter-spacing: .01em;
  border-radius: var(--r-pill);
  min-height: 44px;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.btn:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.btn:active { transform: scale(.98); }

.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 2px 12px rgba(21,101,192,.35);
}
.btn-primary:hover {
  background: var(--blue-hover); color: #fff;
  box-shadow: 0 4px 18px rgba(21,101,192,.45);
  transform: translateY(-1px);
}

.btn-white {
  background: #fff; color: var(--blue);
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.btn-white:hover {
  background: var(--sky-light); color: var(--blue-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent; color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover {
  background: var(--blue); color: #fff;
}

.btn-outline-white {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15); color: #fff;
  border-color: #fff;
}

.btn-ghost {
  background: transparent; color: var(--blue);
  padding-left: 0; padding-right: 0;
  border-radius: 0;
}
.btn-ghost:hover { color: var(--blue-hover); text-decoration: underline; }

.btn-lg { padding: .9375rem 2rem; font-size: var(--fs-base); }
.btn-sm { padding: .5625rem 1.25rem; font-size: var(--fs-xs); }

.btn-tel {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--fs-sm); font-weight: 600; color: var(--blue);
  text-decoration: none;
}
.btn-tel:hover { color: var(--blue-hover); text-decoration: underline; }
.btn-tel svg { flex-shrink: 0; }

/* ── 6. ANNOUNCEMENT BANNER ───────────────────────────────── */
.site-banner {
  background: var(--navy);
  color: #fff;
  font-size: var(--fs-sm);
  text-align: center;
  padding: .625rem 1.5rem;
  font-weight: 500;
  line-height: 1.5;
}
.site-banner a { color: #93C5FD; text-decoration: underline; }

/* ── 7. NAVIGATION ────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 12px rgba(12,53,96,.07);
  transition: box-shadow var(--dur) var(--ease);
}
.nav--scrolled { box-shadow: var(--shadow-md); }

/* Top utility bar */
.nav__topbar {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav__topbar-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 clamp(1.25rem,3vw,2.5rem);
  height: 42px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.nav__topbar-tagline {
  font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.5);
  white-space: nowrap; letter-spacing: .03em; text-transform: uppercase;
}
.nav__topbar-locations {
  display: flex; align-items: center; gap: 0;
}
.nav__topbar-loc {
  display: flex; align-items: center; gap: .3rem;
  font-size: .82rem; font-weight: 500; color: rgba(255,255,255,.8);
  text-decoration: none; white-space: nowrap;
  padding: 0 .875rem;
  transition: color var(--dur);
}
.nav__topbar-loc:hover { color: #fff; }
.nav__topbar-loc svg { flex-shrink: 0; opacity: .6; }
.nav__topbar-loc-name { font-weight: 700; color: rgba(255,255,255,.95); }
/* Street address is supplementary detail — drop it so the utility bar never
   has to fit more text than the viewport can hold; full addresses live on /locations/. */
.nav__topbar-loc-addr, .nav__topbar-divider { display: none; }
.nav__topbar-sep {
  display: block; width: 1px; height: 18px;
  background: rgba(255,255,255,.15); flex-shrink: 0;
}
.nav__topbar-cta {
  font-size: .82rem; font-weight: 700;
  color: #93C5FD;
  text-decoration: none; white-space: nowrap;
  padding: 0 0 0 .875rem;
  border-left: 1px solid rgba(255,255,255,.15);
  transition: color var(--dur);
}
.nav__topbar-cta:hover { color: #fff; }

.nav__inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 clamp(1.25rem,3vw,2.5rem);
  height: 68px;
  display: flex; align-items: center; gap: 1.25rem;
}
.nav__logo {
  flex-shrink: 0; display: flex; align-items: center;
  text-decoration: none;
}
.nav__logo img { height: 40px; width: auto; max-width: 260px; object-fit: contain; }

.nav__links {
  display: flex; align-items: center; gap: .125rem;
  flex: 1;
}
.nav__link {
  position: relative;
  padding: .5rem .5rem;
  font-size: var(--fs-sm); font-weight: 500; color: var(--body);
  border-radius: var(--r-sm);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.nav__link:hover  { color: var(--blue); background: var(--sky-light); }
.nav__link.active { color: var(--blue); font-weight: 600; }
.nav__link.active::after {
  content: ''; position: absolute; bottom: -1px; left: .5rem; right: .5rem;
  height: 2px; background: var(--blue); border-radius: 2px;
}

/* Services dropdown */
.nav__dropdown {
  position: relative;
}
.nav__dropdown-menu {
  display: none;
  position: absolute; top: 100%; left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: .75rem .5rem .5rem;
  z-index: 100;
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu {
  display: block;
}
.nav__dropdown-item {
  display: block; padding: .625rem 1rem;
  font-size: var(--fs-sm); color: var(--body);
  border-radius: var(--r-sm);
  transition: background var(--dur), color var(--dur);
  text-decoration: none;
}
.nav__dropdown-item:hover { background: var(--sky-light); color: var(--blue); }

.nav__right {
  display: flex; align-items: center; gap: .75rem; flex-shrink: 0;
  margin-left: auto;
}
.nav__cta {
  padding: .5625rem 1.25rem;
  font-size: var(--fs-sm); font-weight: 600;
  background: var(--blue); color: #fff;
  border-radius: var(--r-pill);
  transition: background var(--dur), box-shadow var(--dur);
  text-decoration: none;
  white-space: nowrap;
}
.nav__cta:hover { background: var(--blue-hover); box-shadow: 0 3px 12px rgba(21,101,192,.4); color: #fff; }

/* Burger */
.nav__burger {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px;
  border-radius: var(--r-sm);
  padding: 8px;
  transition: background var(--dur);
  background: none; border: none;
}
.nav__burger:hover { background: var(--sky-light); }
.nav__burger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
  transform-origin: center;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav__overlay {
  display: none; position: fixed; inset: 0; z-index: 990;
  background: rgba(12,53,96,.45); backdrop-filter: blur(2px);
}
.nav__overlay.open { display: block; }

.nav__drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 995;
  width: min(360px, 90vw);
  background: #fff;
  transform: translateX(100%);
  transition: transform 300ms var(--ease);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.nav__drawer.open { transform: translateX(0); }

.nav__drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  flex-shrink: 0;
}
.nav__drawer-head img { height: 40px; width: auto; }
.nav__drawer-close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  color: var(--body);
  transition: background var(--dur), color var(--dur);
  background: none; border: none;
}
.nav__drawer-close:hover { background: var(--off); color: var(--ink); }
.nav__drawer-close:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.nav__drawer-links {
  padding: 1rem 1rem;
  flex: 1;
  display: flex; flex-direction: column; gap: .25rem;
}
.nav__drawer-link {
  display: block; padding: .875rem 1rem;
  font-size: 1rem; font-weight: 500; color: var(--ink);
  border-radius: var(--r-md);
  transition: background var(--dur), color var(--dur);
  text-decoration: none;
}
.nav__drawer-link:hover   { background: var(--sky-light); color: var(--blue); }
.nav__drawer-link.active  { background: var(--sky-light); color: var(--blue); font-weight: 600; }

.nav__drawer-sub {
  padding: .25rem 0 .25rem 1rem;
  display: flex; flex-direction: column; gap: .125rem;
}
.nav__drawer-sublink {
  display: block; padding: .625rem 1rem;
  font-size: var(--fs-sm); color: var(--body);
  border-radius: var(--r-sm);
  transition: background var(--dur), color var(--dur);
  text-decoration: none;
}
.nav__drawer-sublink:hover { background: var(--sky-light); color: var(--blue); }

.nav__drawer-foot {
  padding: 1.5rem;
  border-top: 1px solid var(--border-light);
  flex-shrink: 0;
  display: flex; flex-direction: column; gap: .75rem;
}
.nav__drawer-foot .btn { width: 100%; justify-content: center; }
.nav__drawer-phones {
  display: flex; flex-direction: column; gap: .375rem;
}
.nav__drawer-phone {
  display: flex; align-items: center; gap: .625rem;
  font-size: var(--fs-sm); color: var(--body);
  text-decoration: none;
  padding: .5rem 0;
}
.nav__drawer-phone span { font-weight: 600; color: var(--ink); }
.nav__drawer-phone:hover { color: var(--blue); }
.nav__drawer-phone:hover span { color: var(--blue); }

/* Mobile sticky bar */
.mobile-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 980;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: .625rem 1rem;
  padding-bottom: calc(.625rem + env(safe-area-inset-bottom));
  gap: .625rem;
  box-shadow: 0 -2px 12px rgba(12,53,96,.1);
}
.mobile-bar__btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: .375rem;
  padding: .625rem .75rem;
  border-radius: var(--r-pill);
  font-size: .8125rem; font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: background var(--dur), color var(--dur);
}
.mobile-bar__btn--primary { background: var(--blue); color: #fff; }
.mobile-bar__btn--primary:hover { background: var(--blue-hover); color: #fff; }
.mobile-bar__btn--outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.mobile-bar__btn--outline:hover { background: var(--sky-light); }

/* ── 8. HERO ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: clamp(500px,70vh,700px);
  display: flex; align-items: center;
  overflow: hidden;
  background-image:
    linear-gradient(135deg, rgba(8,30,63,.93) 0%, rgba(13,53,96,.88) 45%, rgba(21,81,144,.84) 100%),
    url('../images/hero-bg.webp');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  background-color: var(--navy);
}
.hero__bg { display: none; }
.hero__bg img { display: none; }
.hero__inner {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto;
  padding: clamp(3.5rem,8vw,6rem) clamp(1.25rem,4vw,2.5rem);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: center;
}
.hero__content { min-width: 0; }
.hero__eyebrow {
  display: inline-block;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: #93C5FD;
  margin-bottom: 1.25rem;
}
.hero__hl {
  font-size: clamp(1.875rem,4.5vw,3.25rem);
  font-weight: 300; color: #fff; letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 760px;
  margin-bottom: 1.5rem;
}
.hero__hl em { font-style: normal; color: #93C5FD; }
.hero__body {
  font-size: clamp(.9375rem,1.3vw,1.0625rem);
  color: rgba(255,255,255,.8);
  max-width: 600px; line-height: 1.65;
  margin-bottom: 1.75rem;
}
.hero__trust {
  margin-top: 3rem;
  display: flex; flex-wrap: wrap; gap: 2.5rem; align-items: center;
}
.hero__trust-item {
  display: flex; align-items: center; gap: .75rem;
  color: rgba(255,255,255,.75); font-size: var(--fs-sm);
}
.hero__trust-num {
  font-size: 1.75rem; font-weight: 300; color: #fff; letter-spacing: -0.02em;
}

/* Hero form card */
.hero__form-wrap {
  display: flex; align-items: center; justify-content: flex-end;
}
.hero__form-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 1.625rem 1.75rem;
  box-shadow: 0 12px 48px rgba(8,30,63,.5);
  width: 100%;
}
.hero__form-title {
  font-size: 1.0625rem; font-weight: 300;
  color: var(--ink); margin-bottom: .375rem;
}
.hero__form-sub {
  font-size: .8125rem; color: var(--muted);
  line-height: 1.5; margin-bottom: 1.125rem;
}
.hero__form {
  display: flex; flex-direction: column; gap: .625rem;
}
.hero__form-field input,
.hero__form-field select,
.hero__form-field textarea {
  width: 100%;
  padding: .625rem .875rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: inherit; font-size: var(--fs-sm);
  color: var(--ink); background: var(--white);
  outline: none;
  transition: border-color var(--dur);
  appearance: none; -webkit-appearance: none;
}
.hero__form-field textarea {
  resize: vertical; min-height: 72px;
  line-height: 1.5;
}
.hero__form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%236A8BA8' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  padding-right: 2rem;
}
.hero__form-field input:focus,
.hero__form-field select:focus,
.hero__form-field textarea:focus { border-color: var(--blue); }
.hero__form-field input::placeholder,
.hero__form-field textarea::placeholder { color: var(--muted); }
.hero__form-submit {
  width: 100%; justify-content: center; margin-top: .25rem;
}
.hero__form-status {
  font-size: var(--fs-xs); min-height: 1.2em;
  text-align: center; margin-top: .125rem;
}
.hero__form-phones {
  margin-top: .875rem;
  padding-top: .875rem;
  border-top: 1px solid var(--border-light);
  display: flex; flex-direction: column; gap: .375rem;
}
.hero__form-phones-label {
  font-size: .6875rem; color: var(--muted); font-weight: 500;
}
.hero__form-phone-link {
  display: flex; justify-content: space-between; align-items: center;
  text-decoration: none;
  font-size: var(--fs-sm); font-weight: 500; color: var(--blue);
  padding: .3rem .5rem;
  margin: 0 -.5rem;
  border-radius: var(--r-sm);
  transition: background var(--dur);
}
.hero__form-phone-link:hover { background: rgba(21,101,192,.07); }
.hero__form-phone-loc {
  font-size: .6875rem; color: var(--muted); font-weight: 500;
}

/* Interior page hero — 2-col split with mini form */
.page-hero__inner--split {
  display: grid;
  grid-template-columns: 1fr 276px;
  gap: 2.5rem;
  align-items: center;
}
.page-hero__text { min-width: 0; }
.page-hero-appt  { min-width: 0; }
.page-hero-appt__card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 1.375rem 1.5rem;
  box-shadow: 0 8px 32px rgba(8,30,63,.45);
}
.page-hero-appt__title {
  font-size: var(--fs-md); font-weight: 600;
  color: var(--ink); margin-bottom: .25rem;
}
.page-hero-appt__sub {
  font-size: var(--fs-xs); color: var(--muted);
  line-height: 1.45; margin-bottom: .875rem;
}
.page-hero-appt__form {
  display: flex; flex-direction: column; gap: .5rem;
}
.page-hero-appt__form input,
.page-hero-appt__form select {
  width: 100%;
  padding: .5625rem .75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: inherit; font-size: var(--fs-sm);
  color: var(--ink); background: var(--white);
  outline: none;
  transition: border-color var(--dur);
  appearance: none; -webkit-appearance: none;
}
.page-hero-appt__form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%236A8BA8' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  padding-right: 2rem;
}
.page-hero-appt__form input:focus,
.page-hero-appt__form select:focus { border-color: var(--blue); }
.page-hero-appt__form input::placeholder { color: var(--muted); }
.page-hero-appt__submit { width: 100%; justify-content: center; margin-top: .125rem; }
.page-hero-appt__status {
  font-size: var(--fs-xs); min-height: 1.2em;
  text-align: center; margin-top: .125rem;
}

/* Interior page hero */
.page-hero {
  background: linear-gradient(135deg, #081e3f 0%, #0d3560 55%, #155190 100%);
  padding: clamp(3.5rem,8vw,5rem) clamp(1.25rem,4vw,2.5rem);
}
@media (max-width: 640px) {
  .page-hero {
    padding-top: clamp(2rem,5vw,3rem);
    padding-bottom: clamp(2rem,5vw,3rem);
  }
}
.page-hero__inner { max-width: 1200px; margin: 0 auto; }
.page-hero__eyebrow {
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: #93C5FD; margin-bottom: 1rem;
  display: block;
}
.page-hero__hl {
  font-size: clamp(1.625rem,3.25vw,2.5rem); font-weight: 300;
  color: #fff; letter-spacing: -0.03em; margin-bottom: 1rem;
}
.page-hero__body {
  font-size: clamp(.9375rem,1.3vw,1.125rem);
  color: rgba(255,255,255,.8); max-width: 600px; line-height: 1.65;
}
.page-hero__actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .875rem; }
.page-hero__meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: .625rem;
  font-size: var(--fs-sm); color: rgba(255,255,255,.65); margin-top: .875rem;
}

/* ── 9. SECTION LAYOUTS ───────────────────────────────────── */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 3rem;
  align-items: end;
  margin-bottom: 3rem;
}
.section-head--center {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}
.section-head__body { color: var(--body); font-size: var(--fs-base); line-height: 1.7; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem,5vw,4rem);
  align-items: center;
}
.three-col {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
}
.four-col {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1.5rem;
}

/* ── 10. CARDS ────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}
.card--link { display: block; text-decoration: none; color: inherit; }
.card__body  { display: flex; flex-direction: column; gap: .5rem; }
.card__title { font-size: 1.0625rem; font-weight: 300; color: var(--ink); }
.card__text  { font-size: var(--fs-sm); color: var(--body); line-height: 1.65; flex: 1; }
.card__cta   { font-size: var(--fs-sm); font-weight: 600; color: var(--blue); margin-top: .5rem; }
.card--link:hover .card__cta { text-decoration: underline; }

/* Service card */
.service-card {
  display: block; text-decoration: none; color: inherit;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: var(--sky);
  color: inherit;
}
.service-card__icon {
  width: 40px; height: 40px;
  background: var(--sky-light);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  color: var(--blue);
}
.service-card__name {
  font-size: var(--fs-lg); font-weight: 300;
  color: var(--ink); margin-bottom: .5rem;
}
.service-card__desc {
  font-size: var(--fs-sm); color: var(--body); line-height: 1.65;
  margin-bottom: 1.25rem;
}
.service-card__arrow {
  display: flex; align-items: center; gap: .375rem;
  font-size: var(--fs-sm); font-weight: 600; color: var(--blue);
  transition: gap var(--dur) var(--ease);
}
.service-card:hover .service-card__arrow { gap: .625rem; }

/* Provider card */
.provider-card {
  display: block; text-decoration: none; color: inherit;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.provider-card:hover {
  transform: translateY(-3px);
  color: inherit;
  border-color: var(--border);
}
.provider-card__photo {
  aspect-ratio: 4/3; overflow: hidden;
  background: var(--off);
}
.provider-card__photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 400ms var(--ease);
}
.provider-card:hover .provider-card__photo img { transform: scale(1.04); }
.provider-card__body { padding: 1.5rem; }
.provider-card__creds {
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em;
  color: var(--label); text-transform: uppercase; margin-bottom: .375rem;
}
.provider-card__name {
  font-size: var(--fs-lg); font-weight: 300; color: var(--ink); margin-bottom: .25rem;
}
.provider-card__location {
  display: flex; align-items: center; gap: .375rem;
  font-size: var(--fs-sm); color: var(--muted); margin-bottom: 1rem;
}
.provider-card__accepting {
  display: inline-flex; align-items: center; gap: .375rem;
  font-size: var(--fs-xs); font-weight: 600; color: var(--green);
  background: var(--green-bg);
  padding: .25rem .625rem; border-radius: var(--r-pill);
}
.provider-card__accepting::before {
  content: ''; width: 6px; height: 6px;
  background: var(--green); border-radius: 50%;
  display: inline-block;
}

/* Provider card — horizontal (landscape) variant */
.providers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.provider-card--h {
  display: flex;
  align-items: stretch;
  text-decoration: none; color: inherit;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.provider-card--h:hover {
  transform: translateY(-3px);
  color: inherit;
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}
.provider-card--h .provider-card__photo {
  width: 160px;
  flex-shrink: 0;
  background: var(--off);
}
.provider-card--h .provider-card__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  display: block;
  transition: transform 400ms var(--ease);
}
.provider-card--h:hover .provider-card__photo img { transform: scale(1.04); }
.provider-card--h .provider-card__body {
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .5rem;
  min-width: 0;
}
.provider-card--h .provider-card__name {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  white-space: nowrap;
}
.provider-card__subtitle {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin: 0;
}
.provider-card--h .provider-card__location {
  margin-bottom: 0;
}
.provider-card--h .provider-card__accepting {
  align-self: flex-start;
}

/* Location card */
.location-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.location-card__name {
  font-size: var(--fs-xl); font-weight: 300; color: var(--ink);
  margin-bottom: .25rem;
}
.location-card__label {
  display: inline-block;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--label); margin-bottom: 1.25rem;
}
.location-card__info {
  display: flex; flex-direction: column; gap: .875rem; margin-bottom: 1.5rem;
}
.location-card__row {
  display: flex; gap: .75rem; align-items: flex-start;
  font-size: var(--fs-sm); color: var(--body);
}
.location-card__row-icon {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--blue);
}
.location-card__row strong { color: var(--ink); }
.location-card__actions {
  display: flex; flex-wrap: wrap; gap: .625rem;
}

/* Blog post card */
.post-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--dur), transform var(--dur);
}
.post-card:hover { transform: translateY(-2px); border-color: var(--border); color: inherit; }
.post-card__body { padding: 1.5rem; }
.post-card__meta {
  display: flex; align-items: center; gap: .625rem;
  font-size: var(--fs-xs); color: var(--muted); margin-bottom: .625rem;
}
.post-card__cat {
  background: var(--sky-light); color: var(--blue);
  padding: .1875rem .625rem; border-radius: var(--r-pill);
  font-weight: 600;
}
.post-card__title {
  font-size: 1rem; font-weight: 300; color: var(--ink);
  margin-bottom: .5rem; line-height: 1.4;
}
.post-card__excerpt { font-size: var(--fs-sm); color: var(--body); line-height: 1.65; }

/* ── 11. SPECIFIC SECTIONS ────────────────────────────────── */

/* Stats bar */
.stats-bar {
  background: var(--navy);
  padding: 2.25rem clamp(1.25rem,4vw,2.5rem);
}
.stats-bar__inner {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stats-bar__item {}
.stats-bar__num {
  font-size: clamp(2rem,3.5vw,2.75rem);
  font-weight: 300; color: #fff; letter-spacing: -0.03em;
  line-height: 1; margin-bottom: .375rem;
}
.stats-bar__label {
  font-size: var(--fs-sm); color: rgba(255,255,255,.65); font-weight: 500;
}

/* Trust / patient resources bar */
.resource-strip {
  background: var(--off);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.resource-strip__inner {
  max-width: 1200px; margin: 0 auto;
  padding: 1.75rem clamp(1.25rem,4vw,2.5rem);
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: center;
}
.resource-strip__item {
  display: flex; align-items: center; gap: .625rem;
  font-size: var(--fs-sm); font-weight: 500; color: var(--body);
  text-decoration: none; padding: .5rem .875rem;
  border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--border);
  transition: border-color var(--dur), background var(--dur), color var(--dur);
}
.resource-strip__item:hover {
  border-color: var(--blue); background: var(--sky-light); color: var(--blue);
}

/* Call CTA / contact banner */
.cta-band {
  background: linear-gradient(135deg, #0C3560 0%, #1565C0 100%);
  padding: clamp(2rem,5vw,3.5rem) clamp(1.25rem,4vw,2.5rem);
  text-align: center;
}
.cta-band__hl {
  font-size: clamp(1.875rem,3.5vw,2.5rem); font-weight: 300;
  color: #fff; letter-spacing: -0.03em; margin-bottom: 1rem;
}
.cta-band__body {
  font-size: clamp(1rem,1.3vw,1.1875rem); color: rgba(255,255,255,.8);
  max-width: 580px; margin: 0 auto 2rem; line-height: 1.65;
}
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* Locations strip */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* Content layout for interior pages */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: clamp(2rem,5vw,4rem);
  align-items: start;
}
.content-sidebar {
  position: sticky; top: calc(var(--nav-h) + 1.5rem);
}
.sidebar-card {
  background: var(--off);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}
.sidebar-card__title {
  font-size: var(--fs-base); font-weight: 300; color: var(--ink);
  margin-bottom: 1.25rem; padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}
.sidebar-phones { display: flex; flex-direction: column; gap: .875rem; }
.sidebar-phone  {
  display: flex; align-items: flex-start; gap: .75rem;
  text-decoration: none; color: inherit;
}
.sidebar-phone__icon { color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.sidebar-phone__loc  { display: block; font-size: var(--fs-xs); color: var(--muted); text-transform: uppercase; letter-spacing: .07em; font-weight: 600; }
.sidebar-phone__num  { display: block; font-size: var(--fs-base); font-weight: 500; color: var(--blue); white-space: nowrap; }
.sidebar-phone:hover .sidebar-phone__num { text-decoration: underline; }
.sidebar-links { display: flex; flex-direction: column; gap: .5rem; }
.sidebar-link {
  display: flex; align-items: center; gap: .625rem;
  padding: .625rem .75rem;
  font-size: var(--fs-sm); color: var(--body);
  border-radius: var(--r-sm);
  transition: background var(--dur), color var(--dur);
  text-decoration: none;
}
.sidebar-link:hover { background: var(--sky-light); color: var(--blue); }

/* ── 12. ARTICLE BODY ─────────────────────────────────────── */
.article-body h2 {
  margin-top: 2.25rem; margin-bottom: 1rem;
  font-size: clamp(1.25rem,2vw,1.625rem); font-weight: 300;
}
.article-body h3 {
  margin-top: 1.75rem; margin-bottom: .75rem;
  font-size: clamp(1.0625rem,1.5vw,1.25rem); font-weight: 600;
}
.article-body h4 { font-size: 1.125rem; margin: 1.5rem 0 .625rem; }
.article-body p  { margin-bottom: 1.25rem; color: var(--body); font-size: var(--fs-base); line-height: 1.8; }
.article-body p:first-child { font-size: var(--fs-md); }
.article-body ul, .article-body ol {
  margin-bottom: 1.25rem; padding-left: 1.5rem;
}
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body li { margin-bottom: .5rem; color: var(--body); font-size: var(--fs-base); line-height: 1.7; }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body a { color: var(--blue); text-decoration: underline; }
.article-body a:hover { color: var(--blue-hover); }
.article-body blockquote {
  margin: 2rem 0; padding: 1.25rem 1.75rem;
  border: 1px solid rgba(21,101,192,.18);
  background: var(--sky-light);
  border-radius: var(--r-md);
}
.article-body blockquote p { color: var(--ink); font-size: 1.0625rem; font-style: italic; margin: 0; }

/* ── 13. FORMS ────────────────────────────────────────────── */
.form-group {
  display: flex; flex-direction: column; gap: .5rem;
  margin-bottom: 1.25rem;
}
.form-label {
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink);
}
.form-label-req::after { content: ' *'; color: var(--red); }
.form-control {
  width: 100%;
  padding: .75rem 1rem;
  font-size: var(--fs-base);
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color var(--dur), box-shadow var(--dur);
  -webkit-appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(30,136,229,.15);
}
.form-control::placeholder { color: var(--muted); }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236A8BA8' stroke-width='2'%3E%3Cpath d='M19 9l-7 7-7-7'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px; padding-right: 2.75rem; }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-hint { font-size: var(--fs-xs); color: var(--muted); }
.form-error { font-size: var(--fs-xs); color: var(--red); font-weight: 500; }
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.form-check {
  display: flex; align-items: flex-start; gap: .75rem;
}
.form-check input { margin-top: .2rem; flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--blue); }
.form-check label { font-size: var(--fs-sm); color: var(--body); }

.form-status {
  padding: 1rem 1.25rem; border-radius: var(--r-md);
  font-size: var(--fs-sm); font-weight: 500; line-height: 1.5;
  display: none;
}
.form-status--success {
  background: var(--green-bg); color: var(--green);
  border: 1px solid rgba(27,110,69,.2);
}
.form-status--error {
  background: var(--red-bg); color: var(--red);
  border: 1px solid rgba(192,57,43,.2);
}
.form-status.visible { display: block; }

/* Scoped input styling for forms that use raw elements (not .form-control) */
.form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="hidden"]),
.form textarea,
.form select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: var(--fs-base);
  transition: border-color .15s ease;
}
.form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="hidden"]):focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--blue);
}

/* ── 14. PROVIDER DETAIL PAGE ─────────────────────────────── */
.provider-profile {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(2rem,5vw,4rem);
  align-items: start;
}
.provider-profile__photo {
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--off);
  border: 1px solid var(--border-light);
}
.provider-profile__photo img {
  width: 100%; height: auto;
  object-fit: cover; display: block;
}
.provider-profile__info { }
.provider-profile__creds {
  font-size: var(--fs-sm); font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--label); margin-bottom: .375rem;
}
.provider-profile__name {
  font-size: clamp(2rem,4vw,3rem); font-weight: 300;
  color: var(--ink); letter-spacing: -0.03em; margin-bottom: .25rem;
}
.provider-profile__title {
  font-size: var(--fs-lg); color: var(--body); margin-bottom: 1.5rem;
}
.provider-profile__accepting {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--green-bg); color: var(--green);
  padding: .375rem .875rem; border-radius: var(--r-pill);
  font-size: var(--fs-sm); font-weight: 600;
  margin-bottom: 1.5rem;
}
.provider-profile__accepting::before {
  content: ''; width: 8px; height: 8px;
  background: var(--green); border-radius: 50%;
  display: inline-block;
}
.provider-profile__facts {
  display: flex; flex-direction: column; gap: 1rem;
  padding: 1.5rem; background: var(--off);
  border: 1px solid var(--border-light); border-radius: var(--r-lg);
  margin-bottom: 1.5rem;
}
.provider-profile__fact {
  display: flex; gap: .75rem; align-items: flex-start;
  font-size: var(--fs-sm);
}
.provider-profile__fact-label {
  width: 130px; flex-shrink: 0; font-weight: 600; color: var(--ink);
}
.provider-profile__fact-value { color: var(--body); }
.provider-profile__specialties {
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.specialty-tag {
  background: var(--sky-light); color: var(--blue);
  padding: .3125rem .875rem; border-radius: var(--r-pill);
  font-size: var(--fs-xs); font-weight: 600;
}
.provider-profile__actions {
  display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem;
}

/* ── 14b. PROVIDER PHOTO STANDALONE ──────────────────────────*/
.provider-photo,
.provider-img {
  aspect-ratio: 4/3;
  width: 100%;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--off);
}
.provider-photo img,
.provider-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* ── 15. FAQ ──────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  overflow: hidden;
  background: #fff;
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.25rem 1.5rem;
  font-size: var(--fs-base); font-weight: 600; color: var(--ink);
  text-align: left; cursor: pointer;
  background: none; border: none;
  transition: background var(--dur);
}
.faq-q:hover { background: var(--off); }
.faq-q:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.faq-q[aria-expanded="true"] { background: var(--sky-light); color: var(--blue); border-left: 3px solid var(--blue); }
.faq-icon {
  flex-shrink: 0; transition: transform var(--dur) var(--ease);
  color: var(--muted);
}
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(180deg); color: var(--blue); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 300ms var(--ease);
}
.faq-a.open { max-height: 600px; }
.faq-a-inner {
  padding: 1.125rem 1.5rem 1.5rem;
  font-size: var(--fs-sm); color: var(--body); line-height: 1.75;
}
.faq-a-inner p { margin-bottom: .75rem; }
.faq-a-inner p:last-child { margin-bottom: 0; }
.faq-a-inner ul { list-style: disc; padding-left: 1.25rem; display: flex; flex-direction: column; gap: .375rem; }

/* ── 16. EDUCATION ────────────────────────────────────────── */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.edu-card {
  display: block; text-decoration: none;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--dur), transform var(--dur), border-color var(--dur);
  color: inherit;
}
.edu-card:hover { transform: translateY(-2px); border-color: var(--sky); color: inherit; }
.edu-card__icon {
  width: 48px; height: 48px;
  background: var(--sky-light); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); margin-bottom: 1rem;
}
.edu-card__title { font-size: 1rem; font-weight: 300; color: var(--ink); margin-bottom: .375rem; }
.edu-card__desc  { font-size: var(--fs-sm); color: var(--body); line-height: 1.6; }

/* Condition list */
.condition-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem .75rem;
}
.condition-list li {
  display: flex; align-items: center; gap: .5rem;
  font-size: var(--fs-sm); color: var(--body); padding: .375rem 0;
}
.condition-list li::before {
  content: ''; width: 6px; height: 6px;
  background: var(--sky); border-radius: 50%;
  flex-shrink: 0;
}

/* ── 17. REVIEWS ──────────────────────────────────────────── */
.stars { display: flex; gap: .125rem; color: #F59E0B; }
.review-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.review-card__stars { margin-bottom: .875rem; }
.review-card__text {
  font-size: var(--fs-sm); color: var(--body); line-height: 1.75;
  font-style: italic; margin-bottom: 1rem;
}
.review-card__author { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.review-card__platform { font-size: var(--fs-xs); color: var(--muted); }

/* ── 18. FOOTER ───────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
}
.footer__top {
  max-width: 1200px; margin: 0 auto;
  padding: clamp(2.5rem,5vw,4rem) clamp(1.25rem,4vw,2.5rem) 2.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(2rem,4vw,4rem);
}
.footer__brand {}
.footer__logo { display: block; margin-bottom: 1rem; }
.footer__logo img { height: 44px; width: auto; }
.footer__tagline {
  font-size: var(--fs-sm); color: rgba(255,255,255,.6);
  line-height: 1.65; max-width: 280px; margin-bottom: 1.25rem;
}
.footer__socials { display: flex; gap: .625rem; }
.footer__social {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1);
  border-radius: var(--r-sm);
  color: rgba(255,255,255,.7);
  transition: background var(--dur), color var(--dur);
  text-decoration: none;
}
.footer__social:hover { background: rgba(255,255,255,.2); color: #fff; }
.footer__col-title {
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #fff;
  margin-bottom: 1.25rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: .625rem; }
.footer__col li a {
  font-size: var(--fs-sm); color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color var(--dur);
}
.footer__col li a:hover { color: #fff; }
.footer__phones { display: flex; flex-direction: column; gap: .875rem; }
.footer__phone { }
.footer__phone-loc {
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.45);
  margin-bottom: .125rem;
}
.footer__phone a {
  font-size: var(--fs-sm); font-weight: 600; color: rgba(255,255,255,.8);
  text-decoration: none; transition: color var(--dur);
}
.footer__phone a:hover { color: #fff; }
.footer__bottom {
  max-width: 1200px; margin: 0 auto;
  padding: 1.5rem clamp(1.25rem,4vw,2.5rem);
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer__copy { font-size: var(--fs-sm); color: rgba(255,255,255,.4); }
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a {
  font-size: var(--fs-sm); color: rgba(255,255,255,.5);
  text-decoration: none; transition: color var(--dur);
}
.footer__legal a:hover { color: rgba(255,255,255,.85); }

/* ── 19. BACK TO TOP ──────────────────────────────────────── */
.btt {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 900;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur), transform var(--dur);
  transform: translateY(8px);
  border: none;
}
.btt.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.btt:hover { background: var(--blue); }
.btt:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

/* ── 20. BLOG ─────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 580px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-post-hero {
  background: var(--off);
  border-bottom: 1px solid var(--border-light);
  padding: clamp(2rem,5vw,3.5rem) clamp(1.25rem,4vw,2.5rem);
}
.blog-post-meta {
  display: flex; align-items: center; gap: .875rem; flex-wrap: wrap;
  font-size: var(--fs-sm); color: var(--muted); margin-bottom: 1.5rem;
}
.blog-post-cat {
  background: var(--sky-light); color: var(--blue);
  padding: .25rem .75rem; border-radius: var(--r-pill);
  font-size: var(--fs-xs); font-weight: 600;
}
.blog-post-title {
  font-size: clamp(1.875rem,3.5vw,2.75rem); font-weight: 300;
  color: var(--ink); letter-spacing: -0.02em; margin-bottom: 1rem;
}
.breadcrumb {
  display: flex; align-items: center; gap: .375rem; flex-wrap: wrap;
  font-size: var(--fs-sm); color: rgba(255,255,255,.55); margin-bottom: 1.25rem;
}
.breadcrumb ol {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0;
  list-style: none; padding: 0; margin: 0;
}
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li + li::before { content: '›'; margin: 0 .4rem; color: rgba(255,255,255,.35); }
.breadcrumb li a { color: rgba(255,255,255,.55); text-decoration: none; }
.breadcrumb li a:hover { color: #fff; }
.breadcrumb li[aria-current] { color: rgba(255,255,255,.85); }
.breadcrumb a { color: rgba(255,255,255,.55); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,.35); }
.breadcrumb [aria-current] { color: rgba(255,255,255,.85); }

/* ── 21. NOTICE / ALERT ───────────────────────────────────── */
.notice {
  display: flex; gap: .875rem; align-items: flex-start;
  padding: 1.125rem 1.375rem;
  border-radius: var(--r-md);
  font-size: var(--fs-sm); line-height: 1.65;
}
.notice--info  { background: var(--sky-light); color: var(--blue); border: 1px solid rgba(30,136,229,.2); }
.notice--warn  { background: #FEF9EC; color: #92610A; border: 1px solid rgba(146,97,10,.2); }
.notice--success { background: var(--green-bg); color: var(--green); border: 1px solid rgba(27,110,69,.2); }
.notice__icon { flex-shrink: 0; margin-top: 2px; }
.notice__body p { margin-bottom: .375rem; }
.notice__body p:last-child { margin-bottom: 0; }

/* ── 22. STAT ROW ─────────────────────────────────────────── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-item { padding: 1.5rem 1rem; }
.stat-item__num {
  font-size: clamp(2rem,4vw,2.75rem);
  font-weight: 300; color: var(--navy);
  line-height: 1; margin-bottom: .375rem;
}
.stat-item__label { font-size: var(--fs-sm); color: var(--body); }

/* post-card read link */
.post-card__read {
  font-size: var(--fs-sm); font-weight: 600;
  color: var(--blue); margin-top: auto;
  display: block; padding: 0 1.5rem 1.5rem;
  transition: color var(--dur) var(--ease), letter-spacing var(--dur) var(--ease);
}
.post-card:hover .post-card__read { color: var(--blue); letter-spacing: .01em; }

/* ── PAGINATION ───────────────────────────────────────────── */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: .375rem; flex-wrap: wrap;
  margin-top: 3rem;
}
.page-btn {
  min-width: 40px; height: 40px; padding: 0 .75rem;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  font-size: var(--fs-sm); font-weight: 600; color: var(--body);
  background: #fff; text-decoration: none;
  transition: background var(--dur), border-color var(--dur), color var(--dur);
}
.page-btn:hover    { border-color: var(--blue); color: var(--blue); background: var(--sky-light); }
.page-btn.active   { background: var(--blue); border-color: var(--blue); color: #fff; }
.page-btn.disabled { opacity: .4; pointer-events: none; }

/* ── 23. RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .content-layout { grid-template-columns: 1fr; }
  .content-sidebar { position: static; }
  .provider-profile { grid-template-columns: 280px 1fr; }
}

/* Nav collapses to the hamburger/drawer here — this is wider than the 900px
   content breakpoint below because the full desktop nav (8 links + logo +
   CTA) doesn't actually fit until ~1160px; showing it any narrower clipped
   the topbar and the "Request Appointment" pill. */
@media (max-width: 1180px) {
  :root { --nav-h: 68px; }
  .nav__topbar { display: none; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .mobile-bar { display: flex; }
  /* bump body padding to account for mobile bar */
  body { padding-bottom: 72px; }
  .btt { bottom: 5.5rem; }
}

@media (max-width: 900px) {
  /* Hero: stack form below content on tablet/mobile */
  .hero__inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero__form-wrap { justify-content: stretch; }

  .three-col { grid-template-columns: 1fr 1fr; }
  .four-col  { grid-template-columns: 1fr 1fr; }
  .providers-grid { grid-template-columns: 1fr; }
  .page-hero__inner--split { grid-template-columns: 1fr; gap: 1.75rem; }
  .page-hero-appt__card { max-width: 480px; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .stat-row  { grid-template-columns: 1fr 1fr; }
  .edu-grid  { grid-template-columns: 1fr 1fr; }
  .stats-bar__inner { grid-template-columns: 1fr 1fr; }
  .locations-grid { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .provider-profile { grid-template-columns: 1fr; }
  .provider-profile__photo { max-width: 300px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .three-col { grid-template-columns: 1fr; }
  .provider-card--h .provider-card__photo { width: 110px; }
  .page-hero-appt { display: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .edu-grid  { grid-template-columns: 1fr; }
  .four-col  { grid-template-columns: 1fr; }
  .stats-bar__inner { grid-template-columns: 1fr 1fr; }
  .condition-list { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .nav__logo img { height: 40px; }
  .hero__trust { gap: 1.5rem; }
  .hero__hl em { display: block; }
  /* drawer has its own CTA — hide the inline one on narrow phones */
  .nav__cta { display: none; }
}

@media (max-width: 400px) {
  .stats-bar__inner { grid-template-columns: 1fr 1fr; }
  .hero__trust { flex-direction: column; gap: 1rem; }
  .cta-band__actions { flex-direction: column; align-items: stretch; }
  .cta-band__actions .btn { text-align: center; justify-content: center; }
}

/* Focus visible only on keyboard */
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

/* Smooth scroll preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
  html { scroll-behavior: auto; }
}

/* Print */
@media print {
  .nav, .mobile-bar, .btt, .nav__drawer, .nav__overlay { display: none !important; }
  body { padding-bottom: 0; }
}

/* ── TEXT WRAP ─────────────────────────────────────────────── */
h1, h2, h3 { text-wrap: balance; }

/* ── LOCAL CALLOUT (blog posts) ────────────────────────────── */
.local-callout {
  background: var(--sky-light);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.125rem 1.5rem;
  margin: 2rem 0;
  font-size: var(--fs-sm);
  color: var(--body);
  line-height: 1.7;
}
.local-callout p { margin: 0; }
.local-callout a { color: var(--blue); font-weight: 600; text-decoration: underline; }

/* ── SIDEBAR PHONE LIST (blog posts) ───────────────────────── */
.sidebar-phone__list {
  list-style: none;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.sidebar-phone__item {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  font-size: var(--fs-sm);
  color: var(--body);
  line-height: 1.5;
}
.sidebar-phone__icon { color: var(--blue); flex-shrink: 0; margin-top: 1px; }
.sidebar-phone__item a { color: var(--blue); font-weight: 600; text-decoration: none; }
.sidebar-phone__item a:hover { text-decoration: underline; }

/* ── CTA BAND FALLBACK (blog posts with naked h2/p/btn) ────── */
/* Blog posts use .cta-band without BEM child classes — ensure legibility */
.cta-band h2:not([class]),
.cta-band h2.cta-band__hl { color: #fff; }
.cta-band p:not([class]) {
  font-size: clamp(.9375rem,1.3vw,1.125rem);
  color: rgba(255,255,255,.82);
  max-width: 580px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}
.cta-band h2:not([class]) {
  font-size: clamp(1.625rem,3vw,2.25rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}
/* btn-primary inside cta-band renders as white button for contrast */
.cta-band .btn.btn-primary {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 2px 8px rgba(0,0,0,.14);
}
.cta-band .btn.btn-primary:hover {
  background: var(--sky-light);
  color: var(--blue-hover);
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
  transform: translateY(-1px);
}

/* ── LEAD STRIP ────────────────────────────────────────────── */
.lead-strip {
  background: linear-gradient(135deg, #081e3f 0%, #0c3560 60%, #155190 100%);
  padding: clamp(3rem,6vw,4.5rem) clamp(1.25rem,4vw,2.5rem);
}
.lead-strip__inner { max-width: 1200px; margin: 0 auto; }
.lead-strip__header {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: flex-start; gap: 1.5rem 3rem; margin-bottom: 2rem;
}
.lead-strip__eyebrow {
  font-size: var(--fs-xs); font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: #93C5FD; margin-bottom: .5rem; display: block;
}
.lead-strip__hl {
  font-size: clamp(1.5rem,3vw,2.25rem); font-weight: 300;
  color: #fff; letter-spacing: -0.02em; margin-bottom: .625rem;
}
.lead-strip__sub { font-size: var(--fs-sm); color: rgba(255,255,255,.7); max-width: 520px; line-height: 1.6; }
.lead-strip__trust {
  display: flex; gap: 2.5rem; align-items: center; flex-shrink: 0;
}
.lead-strip__trust-item {
  display: flex; flex-direction: column; align-items: center; gap: .25rem;
  color: rgba(255,255,255,.7); font-size: var(--fs-xs); text-align: center;
}
.lead-strip__trust-num { font-size: 2rem; font-weight: 300; color: #fff; line-height: 1; }
.lead-strip__fields {
  display: flex; flex-wrap: wrap; gap: .75rem; align-items: stretch;
}
.lead-strip__fields > div { flex: 1; min-width: 160px; }
.lead-strip__fields input,
.lead-strip__fields select {
  width: 100%; height: 100%; min-height: 48px;
  padding: .75rem 1rem;
  border-radius: var(--r-sm);
  border: 1.5px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: var(--fs-sm);
  font-family: inherit;
  outline: none;
  transition: border-color var(--dur);
}
.lead-strip__fields input::placeholder { color: rgba(255,255,255,.5); }
.lead-strip__fields input:focus,
.lead-strip__fields select:focus { border-color: rgba(255,255,255,.55); }
.lead-strip__form input:focus,
.lead-strip__form select:focus { outline: 2px solid rgba(255,255,255,.6); outline-offset: 2px; }
.lead-strip__fields select { color: rgba(255,255,255,.7); cursor: pointer; }
.lead-strip__fields select option { color: var(--ink); background: #fff; }
.lead-strip__fields .btn { flex-shrink: 0; white-space: nowrap; }
@media(max-width: 680px){
  .lead-strip__fields > div { min-width: 100%; }
  .lead-strip__fields .btn { width: 100%; justify-content: center; }
  .lead-strip__trust { gap: 1.5rem; }
}

/* ── APPT CALLOUT (inline on service / provider pages) ─────── */
.appt-callout {
  background: var(--sky-light);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(2rem,4vw,2.75rem);
}
.appt-callout__text { margin-bottom: 1.5rem; }
.appt-callout__fields {
  display: flex; flex-wrap: wrap; gap: .75rem; align-items: center;
}
.appt-callout__field { flex: 1; min-width: 160px; }
.appt-callout__fields input,
.appt-callout__fields select {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-family: inherit;
  outline: none;
  transition: border-color var(--dur);
}
.appt-callout__fields input:focus,
.appt-callout__fields select:focus { border-color: var(--blue); }
.appt-callout__fields input::placeholder { color: var(--muted); }
.appt-callout__fields .btn { flex-shrink: 0; white-space: nowrap; }
@media(max-width:680px){
  .appt-callout__field { min-width: 100%; }
  .appt-callout__fields .btn { width: 100%; justify-content: center; }
}

/* Screen-reader only utility */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border-width: 0;
}

/* ── NEW PATIENT BANNER (homepage) ─────────────────────────── */
.new-patient-banner {
  background: linear-gradient(135deg, var(--sky-light) 0%, #c7dff9 100%);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(2rem,4vw,3rem) clamp(1.5rem,4vw,2.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.new-patient-banner__text .t-label { margin-bottom: .625rem; display: block; }
.new-patient-banner__text h2 { margin-bottom: .875rem; }
.new-patient-banner__text p { color: var(--body); font-size: var(--fs-sm); line-height: 1.7; }
.new-patient-banner__form { display: flex; flex-direction: column; gap: .75rem; }
.new-patient-banner__form input,
.new-patient-banner__form select {
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-family: inherit;
  outline: none;
  transition: border-color var(--dur);
}
.new-patient-banner__form input:focus,
.new-patient-banner__form select:focus { border-color: var(--blue); }
.new-patient-banner__form input::placeholder { color: var(--muted); }
.new-patient-banner__form .btn { justify-content: center; }

/* ── LOCATION DETAIL PAGES (bozeman, butte) ─────────────────── */

/* Quick facts strip */
.loc-strip {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(12,53,96,.06);
}
.loc-strip__inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 clamp(1.25rem,4vw,2.5rem);
  display: flex; align-items: stretch;
}
.loc-strip__fact {
  display: flex; align-items: center; gap: .875rem;
  padding: 1.125rem 1.5rem;
  color: inherit; text-decoration: none;
  flex: 1; min-width: 0;
}
.loc-strip__fact--link { transition: background 150ms; }
.loc-strip__fact--link:hover { background: var(--sky-light); }
.loc-strip__fact svg { color: var(--blue); flex-shrink: 0; }
.loc-strip__label {
  display: block;
  font-size: .68rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .2rem;
}
.loc-strip__value {
  display: block;
  font-size: var(--fs-sm); font-weight: 500; color: var(--ink); line-height: 1.4;
}
.loc-strip__fact--link:hover .loc-strip__value { color: var(--blue); }
.loc-strip__fact--accepting .loc-strip__value { color: #059669; font-weight: 600; }
.loc-strip__divider {
  width: 1px; background: var(--border-light);
  align-self: stretch; flex-shrink: 0; margin: .625rem 0;
}

/* Section label */
.loc-section-label {
  font-size: clamp(1.125rem,2vw,1.375rem);
  font-weight: 800; color: var(--navy); letter-spacing: -0.02em;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--sky-light);
  margin-bottom: .25rem;
}

/* Provider list cards */
.loc-providers { display: flex; flex-direction: column; gap: .875rem; margin-top: 1rem; }
.loc-provider-card {
  display: flex; align-items: center; gap: 1.25rem;
  text-decoration: none; color: inherit;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 1.125rem 1.375rem;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), transform 200ms var(--ease);
}
.loc-provider-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 20px rgba(12,53,96,.1);
  transform: translateY(-2px);
}
.loc-provider-card__photo {
  width: 72px; height: 88px;
  object-fit: cover; object-position: top;
  border-radius: var(--r-sm);
  flex-shrink: 0; background: var(--off);
}
.loc-provider-card__body { flex: 1; min-width: 0; }
.loc-provider-card__name {
  display: block;
  font-size: var(--fs-md); font-weight: 700; color: var(--ink);
  margin-bottom: .2rem; white-space: nowrap;
}
.loc-provider-card__title {
  display: block; font-size: var(--fs-xs); color: var(--muted); margin-bottom: .375rem;
}
.loc-provider-card__locs {
  display: block; font-size: var(--fs-xs); color: var(--body); margin-bottom: .5rem;
}
.loc-provider-card__badge {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .65rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #065F46; background: #D1FAE5;
  padding: .2rem .625rem; border-radius: var(--r-pill);
}
.loc-provider-card__arrow {
  color: var(--blue); flex-shrink: 0;
  opacity: 0; transition: opacity 200ms, transform 200ms;
  transform: translateX(-4px);
}
.loc-provider-card:hover .loc-provider-card__arrow { opacity: 1; transform: translateX(0); }

/* Map + directions */
.loc-map-block {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.75rem; margin-top: 1rem; align-items: start;
}
.loc-map-embed {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border-light); height: 320px;
}
.loc-map-embed iframe { width: 100%; height: 100%; }
.loc-map-communities { margin-top: 1.5rem; }
.loc-map-communities__label {
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .5rem;
}
.communities-list {
  display: flex; flex-wrap: wrap; gap: .375rem .5rem;
  list-style: none; padding: 0; margin: 0;
}
.communities-list li {
  font-size: var(--fs-xs); color: var(--body);
  background: var(--off); border: 1px solid var(--border-light);
  border-radius: var(--r-pill); padding: .25rem .75rem;
}

/* Sidebar appointment card */
.loc-appt-card {
  background: var(--navy);
  border-radius: var(--r-lg);
  padding: 1.625rem 1.5rem;
}
.loc-appt-card__eyebrow {
  font-size: var(--fs-base); font-weight: 700; color: #fff; margin-bottom: .375rem;
}
.loc-appt-card__sub {
  font-size: var(--fs-sm); color: rgba(255,255,255,.65); line-height: 1.55; margin-bottom: 1.125rem;
}
.loc-appt-card__online-btn {
  display: block; text-align: center;
  padding: .625rem 1rem;
  border: 1px solid rgba(255,255,255,.3); border-radius: var(--r-sm);
  color: rgba(255,255,255,.85); font-size: var(--fs-sm); font-weight: 600;
  text-decoration: none;
  transition: background 150ms, border-color 150ms;
  margin-bottom: 1.25rem;
}
.loc-appt-card__online-btn:hover {
  background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); color: #fff;
}
.loc-appt-card__hours {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1rem; display: flex; flex-direction: column; gap: .4rem;
}
.loc-appt-card__hour-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: var(--fs-xs); color: rgba(255,255,255,.65);
}
.loc-appt-card__hour-row span:first-child { font-weight: 600; }
.loc-appt-card__hour-row span:last-child { font-variant-numeric: tabular-nums; }

/* Other locations grid */
.other-locs-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.other-loc-card {
  display: flex; flex-direction: column; gap: .25rem;
  padding: 1.125rem 1.25rem; background: #fff;
  border: 1px solid var(--border-light); border-radius: var(--r-md);
  text-decoration: none;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), transform 200ms var(--ease);
}
.other-loc-card:hover {
  border-color: var(--border);
  box-shadow: 0 4px 16px rgba(12,53,96,.1);
  transform: translateY(-2px);
}
.other-loc-card__badge {
  font-size: .65rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--blue); margin-bottom: .25rem;
}
.other-loc-card__name {
  font-size: var(--fs-base); font-weight: 800;
  color: var(--navy); letter-spacing: -0.015em;
}
.other-loc-card__addr { font-size: var(--fs-xs); color: var(--body); margin-top: .125rem; }
.other-loc-card__phone { font-size: var(--fs-sm); font-weight: 600; color: var(--blue); margin-top: .375rem; }

/* Shared responsive rules */
@media (max-width: 1024px) {
  .loc-strip__fact { padding: .875rem 1rem; }
}
@media (max-width: 860px) {
  .loc-map-block { grid-template-columns: 1fr; }
  .loc-map-embed { height: 260px; }
  .other-locs-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .loc-strip__inner { flex-direction: column; }
  .loc-strip__divider { width: auto; height: 1px; margin: 0; align-self: auto; }
  .loc-strip__fact { padding: .75rem 1rem; }
  .loc-provider-card__name { white-space: normal; }
}
@media (max-width: 640px) {
  .loc-provider-card__photo { width: 56px; height: 68px; }
}
@media (max-width: 420px) {
  .other-locs-grid { grid-template-columns: 1fr; }
}
@media(max-width:840px){ .new-patient-banner { grid-template-columns: 1fr; } }
