/* ── FONTS ── */
@font-face {
  font-family: 'Source Serif 4';
  src: url('brand_assets/Source_Serif_4/SourceSerif4-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}
@font-face {
  font-family: 'Source Serif 4';
  src: url('brand_assets/Source_Serif_4/SourceSerif4-Italic-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── VARIABLES ── */
:root {
  --navy-black: #030710;
  --navy-very-dark: #070E22;
  --navy-darkest: #0D1A3E;
  --navy-dark: #173070;
  --navy-mid: #3D4B85;
  --navy-light: #A0ABC5;
  --teal: #3AB3C2;
  --gray-light: #EEEEEE;
  --gray-bg: #F7F7F7;
  --gray-mid: #A8A8A8;
  --gray-dark: #575757;
  --white: #FFFFFF;
  --text: #1a2040;
  --font-display: 'Source Serif 4', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max-w: 1200px;
  --sh-sm: 0 1px 4px rgba(23,48,112,0.08);
  --sh-md: 0 4px 18px rgba(23,48,112,0.13);
  --sh-lg: 0 8px 36px rgba(23,48,112,0.18);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── BASE ── */
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
em { font-style: italic; }

/* ── LAYOUT ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.section { padding: 96px 0; }
.section-sm { padding: 72px 0; }
.mb-sm { margin-bottom: 12px;}
.mb-md { margin-bottom: 24px;}
.mb-lg { margin-bottom: 48px;}

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 40px; height: 70px;
  display: flex; align-items: center;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; margin-right: 48px; }
.nav-logo img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-link {
  font-size: 14px; font-weight: 500;
  color: var(--navy-dark); opacity: 0.7;
  transition: opacity 150ms;
  position: relative; padding-bottom: 2px;
}
.nav-link:hover { opacity: 1; }
.nav-link.active { opacity: 1; }
.nav-link.active::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--teal); border-radius: 2px;
}
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 0;
  font-size: 15px; font-weight: 500;
  font-family: var(--font-body);
  transition: background 150ms, color 150ms;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-sm {
  padding: 10px 22px; font-size: 13px; font-weight: 500;
  border-radius: 0; display: inline-flex; align-items: center; gap: 8px;
  transition: background 150ms;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--navy-dark); color: var(--white); }
.btn-primary:hover { background: var(--navy-darkest); }
.btn-outline { background: transparent; color: var(--navy-dark); border-color: var(--navy-dark); }
.btn-outline:hover { background: var(--navy-dark); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--navy-dark); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: #2fa0af; }
.inline-link, .body-link { color: var(--navy-dark); text-decoration: underline;}
.inline-link:hover, .body-link:hover { text-decoration: none;}


/* ── TYPOGRAPHY ── */
.eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.heading-hero {
  font-family: var(--font-display);
  font-size: 58px; font-weight: 400; line-height: 1.1;
  color: var(--navy-dark); letter-spacing: -0.5px;
}
.heading-xl {
  font-family: var(--font-display);
  font-size: 52px; font-weight: 400; line-height: 1.1;
  color: var(--navy-dark); letter-spacing: -0.3px;
}
.heading-lg {
  font-family: var(--font-display);
  font-size: 40px; font-weight: 400; line-height: 1.2;
  color: var(--navy-dark);
}

.heading-lg + p {
    margin-top: 24px;
}

.heading-md {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 400; line-height: 1.3;
  color: var(--navy-dark);
  margin-bottom: 16px;
}
.heading-sm {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 400; line-height: 1.4;
  color: var(--navy-dark);
}
.body-lrg { font-size: 17px; line-height: 1.75; }
.body-sm { font-size: 14px; line-height: 1.7; }
.body-sub { color: var(--gray-dark) }

/* ── CARDS ── */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }

.card {
  padding: 36px 32px;
  border: 1px solid var(--gray-light);
}

.card-white {
  background: var(--white);
}

.card-gray {
  background: var(--gray-bg);
}

.card-num {
  font-size: 13px; font-weight: 400;
  color: var(--teal); margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.card-icon {
  width: 48px; height: 48px;
  background: var(--gray-light); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}

.card-title {
  margin-bottom: 14px;
}

.card a.inline-link {
    margin-top: 16px;
    display: inline-block;
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--gray-bg);
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
}
.stats-bar-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 24px 40px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.stat { display: flex; align-items: center; gap: 12px; text-align: center;}
.stat-label { font-family: var(--font-display); }
.stat-divider { width: 1px; height: 32px; background: var(--gray-light); }

/* ── PAGE HERO (interior pages) ── */
.page-hero {
  background: var(--white);
  padding: 88px 0 80px;
  text-align: center;
  border-bottom: 1px solid var(--gray-light);
}
.page-hero .heading-xl { margin-bottom: 20px; }
.page-hero .lead, .page-hero .body-lrg { max-width: 560px; margin: 0 auto; }

/* ── HOME HERO ── */
.hero {
  background: var(--white);
  padding: 72px 0 0;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 40px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.hero-text { padding-bottom: 72px; }
.hero-text .heading-hero { margin-bottom: 24px; }
.hero-text .lead, .hero-text .body-lrg { margin-bottom: 36px; max-width: 440px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image-wrap {
  position: relative;
  overflow: visible;
  align-self: flex-end;
}
.hero-image-wrap img {
  width: 100%; height: 440px;
  object-fit: cover; display: block;
}
.hero-badge {
  position: absolute; bottom: 100px; left: -16px;
  background: var(--navy-dark); color: var(--white);
  width: 140px; height: 140px;
  transform: rotate(45deg);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-lg);
}
.hero-badge-inner { transform: rotate(-45deg); text-align: center; }
.hero-badge-num {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 600;
  line-height: 1; color: var(--white);
}
.hero-badge-text {
  font-size: 11px; font-weight: 500;
  color: rgba(255,255,255,0.8);
  line-height: 1.3; margin-top: 4px;
}

/* ── SECTION INTRO ── */
.section-intro {
  text-align: center; max-width: 560px;
  margin: 0 auto 56px;
}
.section-intro .heading-lg { margin-bottom: 18px; }
.section-intro .lead { font-size: 16px; }

/* ── TEAM ── */
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; margin-top: 56px; margin-bottom: 32px;
}
.team-card { text-align: center; }
.team-photo {
  width: 140px; height: 140px;
  border-radius: 50%; margin: 0 auto 18px;
  object-fit: cover;
  border: 3px solid var(--gray-light);
  background: var(--gray-bg);
}
.team-name {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 400;
  color: var(--navy-dark); margin-bottom: 4px;
}

/* ── WHY CHOOSE ── */
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.why-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; margin-top: 36px;
}
.why-stat-num {
  font-family: var(--font-display);
  font-size: 44px; 
  color: var(--navy-dark); line-height: 1;
  margin-bottom: 6px;
}
.why-features { display: flex; flex-direction: column; gap: 28px; padding-top: 8px; }
.why-feature { display: flex; gap: 16px; align-items: flex-start; }
.why-feature-title { font-size: 15px; font-weight: 600; color: var(--navy-dark); margin-bottom: 4px; }

/* ── TESTIMONIALS ── */
.review-stars { color: #F5A623; font-size: 16px; margin-bottom: 14px; letter-spacing: 1px; }
.review-text {
  font-size: 14px; line-height: 1.75;
  color: var(--text); margin-bottom: 20px;
  font-style: italic;
}
.review-meta { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--white);
  flex-shrink: 0;
}
.review-name { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--navy-dark); }

.review-meta a.inline-link {
    margin: 0;
    font-size: 14px;
}

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--navy-dark);
  padding: 80px 40px; text-align: center;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: 44px; font-weight: 400;
  color: var(--white); margin-bottom: 32px;
  letter-spacing: -0.3px;
}

/* ── FOOTER ── */
.footer { background: var(--navy-darkest); color: var(--white); padding: 72px 0 0; overflow: hidden; }
.footer-grid {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 40px 56px;
  display: grid;
  /* grid-template-columns: 220px 1fr 120px 200px; */
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-logo { height: 30px; width: auto; filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer-desc { font-size: 13px; line-height: 1.75; color: var(--gray-light); }
.footer-office-status { margin-top: 14px; }
#office-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 4px 10px 4px 8px;
  border-radius: 20px;
}
#office-status::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
#office-status.status-open { background: rgba(34,197,94,0.15); color: #16a34a; }
#office-status.status-open::before { background: #22c55e; }
#office-status.status-closed { background: rgba(148,163,184,0.15); color: var(--gray-mid); }
#office-status.status-closed::before { background: #94a3b8; }
.footer-col-title {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--gray-mid); margin-bottom: 18px;
}
.footer-services { columns: 2; gap: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link {
  font-size: 13px; color: var(--white);
  transition: color 150ms; break-inside: avoid;
  display: block; margin-bottom: 10px;
}
.footer-link:hover { text-decoration: underline; }
.footer-contact-item {
  font-size: 13px; color: var(--gray-light);
  line-height: 1.6; margin-bottom: 10px;
}
.footer-contact-item strong {
  display: block; font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gray-mid); margin-bottom: 2px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  max-width: var(--max-w); margin: 0 auto;
  padding: 20px 40px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.footer-copy { font-size: 12px; color: var(--gray-mid); }
.footer-legal { display: flex; gap: 20px; }
.footer-bottom a { font-size: 12px; color: var(--gray-mid); transition: color 150ms; }
.footer-bottom a:hover { color: var(--white); }


/* ── OFFICE / CONTACT DETAILS (practice + contact pages) ── */
.office-map { border-radius: 16px; overflow: hidden; border: 1px solid var(--gray-light); }
.office-map img { width: 100%; height: 400px; object-fit: cover; }
.contact-block { margin-bottom: 28px; }
.callout-block {
  margin-top: 28px;
  padding: 20px;
  background: var(--gray-bg);
  border-left: 3px solid var(--gray-light);}
.callout-block p {
  font-size: 13px; color: var(--gray-dark); line-height: 1.65;
}
.contact-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray-dark); margin-bottom: 6px;
}
.hours-table { width: 100%; border-collapse: collapse; margin-top: 4px; }
.hours-table td { font-size: 14px; padding: 3px 0; color: var(--text); }
.hours-table td:first-child { color: var(--text); width: 130px; }

/* ── PATIENT FORMS (patients) ── */
.forms-section {
  background: var(--gray-bg);
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
}
.form-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 32px; background: var(--white);
  border: 1px solid var(--gray-light);
  margin-bottom: 12px; gap: 24px;
  transition: box-shadow 150ms;
}
.form-row:last-child { margin-bottom: 0; }
.form-info { flex: 1; }
.form-title { font-size: 15px; font-weight: 600; color: var(--navy-dark); margin-bottom: 3px; }
.form-type {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--navy-mid); background: var(--gray-bg);
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--gray-light); flex-shrink: 0;
}

.form-row a:hover {
  color: var(--navy-light);
}

/* ── INSURANCE (patients) ── */
.insurance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.provider-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.provider-chip {
  background: var(--white); border: 1px solid var(--gray-light);
  padding: 12px 16px;
  font-size: 13px; font-weight: 500; color: var(--navy-dark);
  text-align: center; transition: border-color 150ms;
}

/* ── CONTACT FORM (contact page) ── */
.contact-section { padding: 96px 0; }
.contact-grid { display: grid; grid-template-columns: 340px 1fr; gap: 80px; align-items: start; }
.contact-details-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.contact-details-heading {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 400; line-height: 1.2;
  color: var(--navy-dark); margin-bottom: 40px;
}
.form-heading {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 400; line-height: 1.2;
  color: var(--navy-dark); margin-bottom: 36px;
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--navy-dark); margin-bottom: 7px; }
.form-label .req { color: var(--teal); }
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  transition: border-color 150ms, box-shadow 150ms;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--gray-mid); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(58,179,194,0.15);
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23A8A8A8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 40px; cursor: pointer;
}
.form-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form-checkbox-row { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.form-checkbox {
  width: 18px; height: 18px;
  border: 2px solid var(--gray-light); border-radius: 4px;
  accent-color: var(--navy-dark); cursor: pointer; flex-shrink: 0;
}
.form-checkbox-label { font-size: 14px; color: var(--text); }
.form-disclaimer { font-size: 12px; color: var(--gray-dark); line-height: 1.65; margin-top: 16px; }
.form-disclaimer a { color: var(--navy-dark); text-decoration: underline; }

/* ── MULTI-PARAGRAPH SPACING IN CENTRED BLOCKS ── */
.page-hero p + p { margin-top: 16px; }
.section-intro p + p { margin-top: 12px; }

/* ── CHECK LIST ── */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}
.check-list li::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  margin-top: 6px;
  flex-shrink: 0;
}

/* ── FAQ ACCORDION ── */
.faq-list {
  max-width: 800px;
  margin: 48px auto 0;
}
.faq-item { border-bottom: 1px solid var(--gray-light); }
.faq-item:first-child { border-top: 1px solid var(--gray-light); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-dark);
  cursor: pointer;
  user-select: none;
  list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--teal);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 220ms ease;
}
.faq-item[open] > .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  padding: 4px 0 20px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray-dark);
}
.faq-answer p + p { margin-top: 12px; }
.faq-answer ul {
  list-style: none;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-answer ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
}
.faq-answer ul li::before {
  content: '—';
  color: var(--teal);
  flex-shrink: 0;
}

/* ── SECTION BACKGROUNDS ── */
.bg-white { background: var(--white); }
.bg-gray {
  background: var(--gray-bg);
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
}
.bg-gray-top {
  background: var(--gray-bg);
  border-top: 1px solid var(--gray-light);
}

/* ── SECTION ACTION (centred CTA below a grid) ── */
.section-action { text-align: center; margin-top: 48px; }

/* ── TEAM GRID 3-COL VARIANT ── */
.team-grid-3 { grid-template-columns: repeat(3, 1fr); max-width: 900px; }

/* ── FOOTER CONTACT LINK (no extra bottom margin) ── */
.footer-contact-item .footer-link { margin-bottom: 0; }

/* ── MOBILE NAV ── */
.nav-burger {
  display: none;
  margin-left: auto;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-dark);
  transition: transform 220ms ease, opacity 220ms ease;
  border-radius: 1px;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  box-shadow: var(--sh-md);
  padding: 8px 24px 28px;
  flex-direction: column;
}
.nav-mobile.open { display: flex; }

.nav-mobile-links {
  display: flex;
  flex-direction: column;
}
.nav-mobile-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy-dark);
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-light);
  opacity: 0.75;
  transition: opacity 150ms;
}
.nav-mobile-link:hover { opacity: 1; }
.nav-mobile-link.active { opacity: 1; color: var(--teal); }

.nav-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.nav-mobile-actions .btn-sm {
  justify-content: center;
  text-align: center;
  width: 100%;
}

@media (max-width: 1030px) {
  .nav-links,
  .nav-actions { display: none; }
  .nav-burger { display: flex; }
}

/* ── RESPONSIVE: TABLET (≤ 768px) ── */
@media (max-width: 768px) {
  /* Layout */
  .container { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }

  /* Typography */
  .heading-hero { font-size: 42px; }
  .heading-xl { font-size: 36px; }
  .heading-lg { font-size: 30px; }

  /* Page hero */
  .page-hero { padding: 56px 0 48px; }

  /* Home hero — stack text above image */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-text { padding-bottom: 0; }
  .hero-image-wrap img { height: 320px; margin-bottom: 72px;}
  .hero-badge { display: none; }

  /* Stats bar — allow wrapping */
  .stats-bar-inner {
    padding: 20px 24px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 32px;
  }
  .stat-divider { display: none; }

  /* Cards */
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 32px;
  }
  
  .card {
    padding: 16px;
    border: 1px solid var(--gray-light);
  }

  /* Team — 2 col */
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .team-grid-3 { grid-template-columns: repeat(2, 1fr); max-width: 100%; }

  /* Why choose — stack */
  .why-grid { grid-template-columns: 1fr; gap: 40px; }

  /* Insurance — stack */
  .insurance-grid { grid-template-columns: 1fr; gap: 24px; }

  .form-type {display: none;}

  /* Patient Forms */
  .forms-section .form-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .forms-section a.btn-sm {
    padding: 0;
  }

  /* Contact form — stack */
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-section { padding: 64px 0; }

  /* CTA banner */
  .cta-banner { padding: 56px 24px; }
  .cta-banner h2 { font-size: 32px; margin-bottom: 24px; }

  /* Footer — 2×2 grid */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    padding: 0 24px 48px;
    gap: 40px;
  }
  .footer-services { columns: 1; }
  .footer-bottom {
    padding: 20px 24px;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }
  .footer-legal { flex-wrap: wrap; justify-content: center; }
}

/* ── RESPONSIVE: MOBILE (≤ 480px) ── */
@media (max-width: 480px) {
  /* Layout */
  .container { padding: 0 16px; }
  .nav-inner { padding: 0 16px; }
  .section { padding: 48px 0; }
  .section-sm { padding: 40px 0; }

  /* Typography */
  .heading-hero { font-size: 32px; }
  .heading-xl { font-size: 28px; }
  .heading-lg { font-size: 24px; }
  .cta-banner h2 { font-size: 26px; }

  /* Page hero */
  .page-hero { padding: 40px 0 32px; }

  /* Home hero — hide image at smallest screens */
  /*.hero-image-wrap { display: none; } */

  /* Stats bar — single column */
  .stats-bar-inner {
    padding: 16px;
    flex-direction: column;
    gap: 10px;
  }

  /* Cards — single column */
  .card-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Team — keep 2 col (photos are compact) */
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .team-grid-3 { grid-template-columns: repeat(2, 1fr); }

  /* Why stats — keep 2×2 */
  .why-stats { gap: 20px; }

  /* Insurance providers — 2 col */
  .provider-grid { grid-template-columns: repeat(2, 1fr); }

  /* Contact form rows — stack */
  .form-row-2 { grid-template-columns: 1fr; gap: 0; }
  .form-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  /* .form-row .btn-sm { width: 100%; justify-content: center; } */

  /* CTA banner */
  .cta-banner { padding: 48px 16px; }

  /* Footer — single column */
  .footer-grid {
    grid-template-columns: 1fr;
    padding: 0 16px 40px;
    gap: 32px;
  }
  .footer-bottom { padding: 16px; }
  .footer-legal { flex-direction: column; align-items: center; gap: 10px; }
}

/* ── BREADCRUMB ── */
.breadcrumb {
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-light);
  margin-bottom: 48px;
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  list-style: none;
  flex-wrap: wrap;
  gap: 6px;
}
.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray-mid);
}
.breadcrumb-item a { color: var(--navy-dark); transition: color 150ms; }
.breadcrumb-item a:hover { color: var(--teal); }
.breadcrumb-item + .breadcrumb-item::before {
  content: '/';
  color: var(--gray-mid);
  font-size: 12px;
}
.breadcrumb-item.active { color: var(--text); }

/* ── LEGAL PAGES ── */
.legal-body {
  max-width: 740px;
}
.legal-updated {
  font-size: 13px;
  color: var(--gray-mid);
  margin-bottom: 32px;
}
.legal-body h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin: 40px 0 12px;
  padding-top: 8px;
  border-top: 1px solid var(--border, #e4e8ee);
}
.legal-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 24px 0 8px;
}
.legal-body p {
  color: var(--text-mid, #4a5568);
  line-height: 1.8;
  margin-bottom: 16px;
}
.legal-body ul, .legal-body ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
.legal-body ul { list-style: disc; }
.legal-body ol { list-style: decimal; }
.legal-body li {
  color: var(--text-mid, #4a5568);
  line-height: 1.8;
  margin-bottom: 6px;
  padding-left: 4px;
}
.legal-body a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.legal-body a:hover { opacity: 0.8; }
.legal-body strong { font-weight: 600; color: var(--text); }

/* ── OFFICE GALLERY ── */
.gallery-masonry {
  columns: 3;
  column-gap: 14px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: 10px;
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.gallery-item:hover img { transform: scale(1.04); }

@media (max-width: 900px) {
  .gallery-masonry { columns: 2; column-gap: 12px; }
  .gallery-item { margin-bottom: 12px; }
}
@media (max-width: 480px) {
  .gallery-masonry { columns: 1; }
}

/* ── BLOG LISTING ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-light);
  background: var(--white);
  overflow: hidden;
  transition: box-shadow 150ms;
}
.blog-card-image { width: 100%; height: 200px; object-fit: cover; display: block; }
.blog-card-body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-category {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 10px;
}
.blog-card-title {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 400; line-height: 1.35;
  color: var(--navy-dark); margin-bottom: 12px;
}
.blog-card-title a { transition: color 150ms; }
.blog-card-title a:hover { color: var(--teal); }
.blog-card-excerpt {
  font-size: 14px; line-height: 1.7;
  color: var(--gray-dark); flex: 1; margin-bottom: 20px;
}
.blog-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--gray-dark);
  padding-top: 16px; border-top: 1px solid var(--gray-light);
}

/* ── BLOG POST PAGE ── */
.blog-post-section { padding: 48px 0 96px; }
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}

.post-header { margin-bottom: 40px; }
.post-category {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.post-title {
  font-family: var(--font-display);
  font-size: 44px; font-weight: 400; line-height: 1.15;
  color: var(--navy-dark); letter-spacing: -0.3px;
  margin-bottom: 20px;
}
.post-meta {
  display: flex; align-items: center; gap: 16px;
  font-size: 13px; color: var(--gray-dark);
  padding-bottom: 32px; border-bottom: 1px solid var(--gray-light);
  flex-wrap: wrap;
}
.post-meta-dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--gray-mid); flex-shrink: 0;
}

/* Post body typography */
.post-body { font-size: 16px; line-height: 1.8; color: var(--text); }
.post-body p { margin-bottom: 20px; }
.post-body p:last-child { margin-bottom: 0; }
.post-body h2 {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 400; line-height: 1.3;
  color: var(--navy-dark); margin: 40px 0 16px;
}
.post-body h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 400; line-height: 1.4;
  color: var(--navy-dark); margin: 32px 0 12px;
}
.post-body ul,
.post-body ol {
  margin: 0 0 20px; padding: 0;
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
.post-body ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 16px; line-height: 1.7;
}
.post-body ul li::before {
  content: '';
  display: block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--teal);
  margin-top: 9px; flex-shrink: 0;
}
.post-body ol { counter-reset: ol-counter; }
.post-body ol li {
  display: flex; align-items: flex-start; gap: 12px;
  counter-increment: ol-counter;
  font-size: 16px; line-height: 1.7;
}
.post-body ol li::before {
  content: counter(ol-counter) '.';
  font-size: 13px; font-weight: 600; color: var(--teal);
  flex-shrink: 0; min-width: 22px; margin-top: 3px;
}
.post-body strong { font-weight: 600; color: var(--navy-dark); }
.post-body blockquote {
  border-left: 3px solid var(--teal);
  padding: 16px 24px; margin: 32px 0;
  background: var(--gray-bg);
  font-style: italic; color: var(--navy-mid);
  font-size: 17px; line-height: 1.7;
}
.post-body a { color: var(--navy-dark); text-decoration: underline; }
.post-body a:hover { color: var(--teal); }

/* Post in-article CTA */
.post-cta {
  margin-top: 48px; padding: 32px;
  background: var(--gray-bg);
  border: 1px solid var(--gray-light);
  border-left: 3px solid var(--teal);
}
.post-cta-title {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 400;
  color: var(--navy-dark); margin-bottom: 10px;
}
.post-cta p {
  font-size: 14px; color: var(--gray-dark);
  line-height: 1.7; margin-bottom: 20px;
}

/* ── SIDEBAR ── */
.sidebar {
  display: flex; flex-direction: column; gap: 32px;
  position: sticky; top: 90px;
}
.sidebar-widget {
  padding: 28px;
  border: 1px solid var(--gray-light);
  background: var(--white);
}
.sidebar-widget .btn { width: 100%; justify-content: center; }
.sidebar-widget-title {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray-dark); margin-bottom: 20px;
  padding-bottom: 14px; border-bottom: 1px solid var(--gray-light);
}
.sidebar-posts { display: flex; flex-direction: column; }
.sidebar-post {
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-light);
}
.sidebar-post:first-child { padding-top: 0; }
.sidebar-post:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-post-category {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 4px;
}
.sidebar-post-title {
  display: block;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 400;
  color: var(--navy-dark); line-height: 1.4;
  margin-bottom: 4px; transition: color 150ms;
}
.sidebar-post-title:hover { color: var(--teal); }
.sidebar-post-date { font-size: 12px; color: var(--gray-dark); }
.sidebar-contact-item { margin-bottom: 16px; }
.sidebar-contact-item:last-of-type { margin-bottom: 24px; }
.sidebar-contact-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray-dark); margin-bottom: 3px;
}
.sidebar-contact-value { font-size: 13px; color: var(--text); line-height: 1.55; }
.sidebar-contact-value a { color: var(--navy-dark); text-decoration: underline; transition: color 150ms; }
.sidebar-contact-value a:hover { color: var(--teal); }

/* ── RESPONSIVE: BLOG ── */
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .blog-layout { grid-template-columns: 1fr; gap: 48px; }
  .post-title { font-size: 32px; }
  .sidebar { position: static; }
}
@media (max-width: 480px) {
  .blog-grid { grid-template-columns: 1fr; }
  .post-title { font-size: 26px; }
  .blog-post-section { padding: 32px 0 64px; }
}

/* ============================================================
   PAGE ANIMATIONS
   Scoped under .js-anim so nothing is invisible without JS.
   Only opacity + transform — GPU composited, no layout cost.
   ============================================================ */
.js-anim .anim {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity  0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.js-anim .anim.in {
  opacity: 1;
  transform: translateY(0);
}
/* Honour system-level reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .js-anim .anim,
  .js-anim .anim.in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   ACCESSIBILITY WIDGET
   ============================================================ */

/* ── Widget container ── */
.a11y-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
  font-family: var(--font-body);
}

/* ── Floating action button ── */
.a11y-fab {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy-very-dark);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(23, 48, 112, 0.32);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.a11y-fab:hover {
  background: var(--navy-black);
  transform: scale(1.07);
  box-shadow: 0 6px 24px rgba(23, 48, 112, 0.4);
}
.a11y-fab:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

/* Active dot — shown when any setting is enabled */
.a11y-fab-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  border: 2px solid #fff;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.a11y-fab--active .a11y-fab-dot {
  opacity: 1;
  transform: scale(1);
}

/* ── Panel card ── */
.a11y-panel {
  position: absolute;
  bottom: 62px;
  right: 0;
  width: 284px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--sh-lg), 0 0 0 1px rgba(23, 48, 112, 0.06);
  overflow: hidden;
  animation: a11y-panel-in 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
@keyframes a11y-panel-in {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

/* ── Panel header ── */
.a11y-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 12px;
  background: var(--navy-darkest);
  color: #fff;
}
.a11y-panel-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.a11y-close-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  flex-shrink: 0;
}
.a11y-close-btn:hover { background: rgba(255, 255, 255, 0.22); color: #fff; }
.a11y-close-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* ── Panel body ── */
.a11y-panel-body { padding: 4px 0; }

.a11y-row {
  padding: 11px 16px;
  border-bottom: 1px solid #f3f4f6;
}
.a11y-row:last-child { border-bottom: none; }

.a11y-row-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

/* ── Text size row ── */
.a11y-row--size .a11y-row-label { margin-bottom: 10px; display: block; }
.a11y-size-btns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.a11y-size-btn {
  padding: 8px 4px;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gray-dark);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  line-height: 1;
}
.a11y-size-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.a11y-size-btn--active {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: #fff !important;
}
.a11y-size-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* ── Toggle switch rows ── */
.a11y-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  width: 100%;
  gap: 12px;
}
.a11y-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.a11y-switch input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}
.a11y-thumb {
  display: block;
  width: 40px;
  height: 22px;
  border-radius: 11px;
  background: #d1d5db;
  position: relative;
  transition: background 0.22s ease;
}
.a11y-thumb::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}
.a11y-switch input:checked + .a11y-thumb { background: var(--teal); }
.a11y-switch input:checked + .a11y-thumb::after { transform: translateX(18px); }
.a11y-switch input:focus-visible + .a11y-thumb {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

/* ── Reset button ── */
.a11y-row--reset { padding: 10px 16px 14px; }
.a11y-reset-btn {
  width: 100%;
  padding: 9px;
  border: 1.5px solid #e2e8f0;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--gray-dark);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.a11y-reset-btn:hover {
  border-color: #9ca3af;
  background: #f9fafb;
  color: var(--text);
}
.a11y-reset-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* ── Accessibility override classes ── */

/* Text size — zoom scales all px-based values uniformly.
   Applied to <html> so position:fixed elements stay viewport-anchored. */
html.a11y-text-1 { zoom: 1.15; }
html.a11y-text-2 { zoom: 1.30; }

/* Dyslexia-friendly: open sans-serif, generous spacing */
html.a11y-dyslexia,
html.a11y-dyslexia * {
  font-family: Arial, Helvetica, sans-serif !important;
  letter-spacing: 0.05em !important;
  word-spacing: 0.14em !important;
  line-height: 1.9 !important;
}

/* Reduce motion — override all transitions and animations */
html.a11y-reduce-motion *,
html.a11y-reduce-motion *::before,
html.a11y-reduce-motion *::after {
  animation-duration:        0.001ms !important;
  animation-iteration-count: 1       !important;
  transition-duration:       0.001ms !important;
  scroll-behavior:           auto    !important;
}

/* Highlight links — make every link visually distinct */
html.a11y-highlight-links a:not(.btn):not(.btn-sm):not(.nav-logo) {
  text-decoration:           underline              !important;
  text-decoration-color:     var(--teal)            !important;
  text-decoration-thickness: 2px                    !important;
  text-underline-offset:     3px                    !important;
  font-weight:               600                    !important;
}

/* ── Mobile adjustments ── */
@media (max-width: 480px) {
  .a11y-widget { bottom: 16px; right: 16px; }
  .a11y-panel  { width: calc(100vw - 32px); right: 0; bottom: 64px; }
}
