/* ─── Variables ────────────────────────────────────────────────────────────── */
:root {
  --primary:        #1d3a6e;
  --primary-dark:   #132d58;
  --primary-light:  #edf2f9;
  --accent:         #d4773a;
  --accent-dark:    #c06830;
  --accent-light:   #fef3ea;
  --text:           #111827;
  --text-muted:     #5a6272;
  --text-light:     #9ca3af;
  --border:         #e5e7eb;
  --border-strong:  #d1d5db;
  --bg:             #ffffff;
  --bg-tinted:      #faf9f7;
  --shadow-sm:      0 1px 2px rgba(0,0,0,.06);
  --shadow-md:      0 2px 10px rgba(0,0,0,.08);
  --radius:         8px;
  --radius-sm:      4px;
  --radius-lg:      14px;
  --font-heading:   'Outfit', system-ui, sans-serif;
  --font:           system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max-width:      1160px;
  --header-h:       72px;
}

/* ─── Reset ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ─── Layout ───────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section    { padding: 6rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-tinted { background: var(--bg-tinted); }
.section-dark   { background: var(--primary-dark); color: #fff; }
.section-dark h2,
.section-dark h3   { color: #fff; }
.section-dark p    { color: rgba(255,255,255,.78); }
.section-dark .eyebrow { color: var(--accent); }
.section-dark .section-header p { color: rgba(255,255,255,.7); }
.section-dark .testimonial { border-top-color: rgba(255,255,255,.12); }
.section-dark .testimonial blockquote { color: rgba(255,255,255,.92); }
.section-dark .testimonial .author { color: rgba(255,255,255,.48); }

.section-header {
  margin-bottom: 3.5rem;
}
.section-header.centered { text-align: center; }
.section-header.centered p { margin-left: auto; margin-right: auto; }
.section-header .eyebrow { margin-bottom: .625rem; }
.section-header h2 { margin-bottom: .75rem; }
.section-header p {
  color: var(--text-muted);
  max-width: 580px;
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* ─── Typography ───────────────────────────────────────────────────────────── */
h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--text);
}
h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--text);
}
h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}
h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
p { color: var(--text-muted); line-height: 1.7; }

.eyebrow {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  display: block;
}

/* ─── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8125rem 1.625rem;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: all .18s;
  white-space: nowrap;
  letter-spacing: .01em;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary-light); }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.55);
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.8); }

.btn-white {
  background: #fff;
  color: var(--primary-dark);
  border-color: #fff;
}
.btn-white:hover { background: var(--primary-light); }

.btn-lg { padding: 1rem 2rem; font-size: 1.0625rem; }

/* ─── Header / Nav ─────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.main-nav { margin-left: auto; }
.main-nav > ul {
  display: flex;
  gap: .125rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav > ul > li { position: relative; }
.main-nav a {
  font-family: var(--font-heading);
  color: var(--text);
  font-size: .9rem;
  font-weight: 500;
  padding: .5rem .75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background .15s, color .15s;
  display: block;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  background: var(--primary-light);
  color: var(--primary);
}

/* Dropdown */
.has-dropdown > a::after { content: ' \25BE'; font-size: .65em; opacity: .5; }

/* Extend parent's hover area downward to bridge the visual gap to the dropdown.
 * Without this, the cursor leaves the parent during the gap traversal and the
 * dropdown closes before the user can reach it. */
.has-dropdown { padding-bottom: 10px; margin-bottom: -10px; }

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 240px;
  padding: .5rem 0;
  z-index: 300;
  list-style: none;
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown.open .nav-dropdown,
.nav-dropdown:hover { display: block; }
.nav-dropdown li { list-style: none; }
.nav-dropdown a {
  padding: .6875rem 1.25rem;
  font-size: .875rem;
  border-radius: 0;
  color: var(--text);
}
.nav-dropdown a:hover { background: var(--primary-light); color: var(--primary); }

.header-cta {
  display: flex;
  align-items: center;
  gap: .875rem;
  flex-shrink: 0;
}
.header-phone {
  font-family: var(--font-heading);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--primary); text-decoration: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .375rem;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .25s;
}

/* ─── Image placeholders ────────────────────────────────────────────────────── */
.img-placeholder {
  background: #f3f4f6;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.5;
}
.img-placeholder.tinted {
  background: var(--primary-light);
  color: var(--primary);
}

/* ─── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg) 85%);
  border-bottom: 1px solid var(--border);
  padding: 5.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}
/* Soft warm glow in the top-right — complements the photo's accent border */
.hero::before {
  content: '';
  position: absolute;
  top: -260px;
  right: -180px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(212, 119, 58, 0.14) 0%, rgba(212, 119, 58, 0) 65%);
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 560px;
  gap: 4.5rem;
  align-items: center;
}
.hero-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: block;
}
.hero h1 { color: var(--text); margin-bottom: 1.25rem; }
.hero p {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 480px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: .875rem; flex-wrap: wrap; }
.hero-photo {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-photo.placeholder {
  background: var(--primary-light);
  border: 1px solid #c5d3e8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.5;
}

/* ─── Trust bar ────────────────────────────────────────────────────────────── */
.trust-bar {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  background: var(--bg-tinted);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-heading);
}
.trust-item::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── Grid layouts ──────────────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

/* ─── Cards ─────────────────────────────────────────────────────────────────── */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.card h3 { margin-bottom: .5rem; font-size: 1.125rem; }
.card p { font-size: .9375rem; }

/* ─── Service cards ─────────────────────────────────────────────────────────── */
.service-card {
  border-top: 2px solid var(--border);
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.service-card:first-child { border-top-color: var(--primary); }
.service-card h3 { font-size: 1.125rem; color: var(--text); }
.service-card p { font-size: .9375rem; flex: 1; }
.service-card a {
  font-size: .875rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: .25rem;
}
.service-card a:hover { color: var(--primary-dark); text-decoration: underline; }

/* Grid-style service cards (used on services.php) */
.service-card-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
  transition: box-shadow .2s;
}
.service-card-box:hover { box-shadow: var(--shadow-md); }
.service-card-box h3 { font-size: 1.125rem; color: var(--text); }
.service-card-box p { font-size: .9375rem; flex: 1; }
.service-card-box a {
  font-size: .875rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.service-card-box a:hover { color: var(--primary-dark); text-decoration: underline; }

/* ─── Condition tags ─────────────────────────────────────────────────────────── */
.condition-tags { display: flex; flex-wrap: wrap; gap: .375rem; }
.tag {
  font-size: .6875rem;
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: .06em;
  background: var(--primary-light);
  color: var(--primary);
  padding: .25rem .625rem;
  border-radius: 99px;
}

/* ─── Testimonials ──────────────────────────────────────────────────────────── */
.testimonial {
  padding: 2rem 0;
  border-top: 2px solid var(--border);
}
.testimonial:first-child { border-top-color: var(--primary-light); }
.testimonial .stars { color: #f59e0b; font-size: .9375rem; letter-spacing: 1px; margin-bottom: 1rem; }
.testimonial blockquote {
  font-size: 1rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.testimonial .author {
  font-size: .8125rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .07em;
}

/* ─── Why-us list ────────────────────────────────────────────────────────────── */
.why-list { display: flex; flex-direction: column; gap: 1.75rem; }
.why-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.why-marker {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: .5rem;
}
.why-item h4 { margin-bottom: .25rem; font-size: 1.0625rem; }
.why-item p { font-size: .9375rem; margin: 0; }

/* ─── CTA Band ──────────────────────────────────────────────────────────────── */
.cta-band {
  background: var(--primary-dark);
  color: #fff;
  text-align: center;
  padding: 5rem 0;
}
.cta-band h2 { color: #fff; margin-bottom: .875rem; }
.cta-band p {
  color: rgba(255,255,255,.8);
  max-width: 520px;
  margin: 0 auto 2rem;
  font-size: 1.0625rem;
}
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── Page hero (interior pages) ───────────────────────────────────────────── */
.page-hero {
  background: var(--primary-dark);
  color: #fff;
  padding: 4rem 0;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: .625rem; }
.page-hero p { color: rgba(255,255,255,.78); font-size: 1.0625rem; max-width: 560px; line-height: 1.65; }

/* ─── Service detail page ────────────────────────────────────────────────────── */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  align-items: start;
}
.service-detail-content h2 { margin-bottom: 1rem; }
.service-detail-content p { margin-bottom: 1.125rem; }
.service-detail-content h3 { margin: 2rem 0 .75rem; font-size: 1.125rem; }
.service-detail-content ul.body-list {
  list-style: disc;
  padding-left: 1.375rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin: .75rem 0 1.125rem;
}
.service-detail-content ul.body-list li { color: var(--text-muted); }

.service-detail-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}
.sidebar-card {
  background: var(--primary-light);
  border: 1px solid #c5d3e8;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1rem;
}
.sidebar-card h3 { color: var(--primary-dark); margin-bottom: 1rem; font-size: 1rem; }
.sidebar-card ul { display: flex; flex-direction: column; gap: .5rem; }
.sidebar-card li {
  font-size: .9rem;
  color: var(--text);
  padding-left: 1.125rem;
  position: relative;
}
.sidebar-card li::before {
  content: '\2713';
  color: var(--primary);
  font-weight: 700;
  position: absolute;
  left: 0;
}
.sidebar-other {
  background: var(--accent-light);
  border: 1px solid #fed7aa;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-top: 1rem;
}
.sidebar-other h3 { color: var(--accent-dark); margin-bottom: 1rem; font-size: 1rem; }
.sidebar-other ul { display: flex; flex-direction: column; gap: .5rem; }
.sidebar-other a { font-size: .9rem; color: var(--accent-dark); }
.sidebar-other a:hover { text-decoration: underline; }

/* ─── About page ────────────────────────────────────────────────────────────── */
.bio-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3.5rem;
  align-items: start;
}
.bio-grid.reverse { grid-template-columns: 1fr 300px; }
.bio-grid.reverse .bio-photo { order: 2; }
.bio-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.bio-photo img { width: 100%; height: 100%; object-fit: cover; }
.bio-content h2 { margin-bottom: .75rem; }
.bio-content p { margin-bottom: 1rem; }
.bio-content .bio-memorial {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-style: italic;
  font-size: .9375rem;
  color: var(--text-muted);
}

.credential-list { display: flex; flex-direction: column; gap: .625rem; margin-top: 1.5rem; }
.credential-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9375rem;
  color: var(--text);
  line-height: 1.5;
}
.credential-item::before {
  content: '\2713';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .125rem;
}

/* Staff grid */
.staff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.staff-card { text-align: center; }
.staff-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1/1;
  margin-bottom: 1rem;
}
.staff-photo img { width: 100%; height: 100%; object-fit: cover; }
.staff-card h4 { margin-bottom: .25rem; }
.staff-card .staff-title {
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--accent);
  font-family: var(--font-heading);
}
.staff-card p { font-size: .875rem; margin-top: .5rem; }

/* ─── Mission callout ────────────────────────────────────────────────────────── */
.mission-callout {
  margin-top: 1.75rem;
  padding: 1.25rem 1.5rem;
  background: var(--primary-light);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.mission-callout p {
  font-size: .9375rem;
  font-style: italic;
  color: var(--primary-dark);
  line-height: 1.75;
  margin: 0;
}

/* ─── Steps ─────────────────────────────────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 1.75rem; margin-top: 2rem; }
.step { display: flex; gap: 1.25rem; align-items: flex-start; }
.step-num {
  width: 38px;
  height: 38px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-content h4 { font-size: 1rem; margin-bottom: .25rem; }
.step-content p { font-size: .9375rem; margin: 0; }

/* ─── Location card (homepage SW Michigan section) ─────────────────────────── */
.location-card {
  background: var(--primary-light);
  border: 1px solid #c5d3e8;
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.375rem;
}
.location-card .contact-item { margin-bottom: 0; }
.location-card .ci-value a { color: var(--primary-dark); }
.location-card .ci-value a:hover { color: var(--primary); }

/* ─── Contact page ──────────────────────────────────────────────────────────── */
.booking-card {
  background: var(--primary-dark);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
  margin-bottom: 2rem;
}
.booking-card h3 { color: #fff; margin: 0; }
.booking-card > p { color: rgba(255,255,255,.72); font-size: .9375rem; margin: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: stretch;
}
.contact-info h3 { margin-bottom: 1.5rem; }
.contact-item {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  margin-bottom: 1.375rem;
}
.ci-icon {
  font-size: 1rem;
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ci-label { font-size: .75rem; color: var(--text-muted); font-weight: 700; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .07em; }
.ci-value { font-weight: 600; color: var(--text); margin-top: .125rem; font-size: .9375rem; }
.ci-value a { color: var(--text); }
.ci-value a:hover { color: var(--primary); }
.hours-table { width: 100%; border-collapse: collapse; margin-top: .875rem; }
.hours-table td { padding: .5rem 0; border-bottom: 1px solid var(--border); font-size: .9375rem; color: var(--text-muted); }
.hours-table td:first-child { color: var(--text); font-weight: 600; }
.hours-table td:last-child { text-align: right; }
.hours-table tr:last-child td { border-bottom: none; }

/* Form */
.form-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.form-card h3 { margin-bottom: 1.75rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .8125rem;
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text);
  margin-bottom: .4375rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .6875rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .9375rem;
  font-family: var(--font);
  outline: none;
  transition: border-color .15s;
  background: var(--bg);
  color: var(--text);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ─── Blog ──────────────────────────────────────────────────────────────────── */
.blog-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s;
}
.blog-card:hover { box-shadow: var(--shadow-md); }
.blog-card-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card-body { padding: 1.5rem; }
.blog-meta {
  font-size: .75rem;
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
  margin-bottom: .625rem;
}
.blog-card h3 { font-size: 1.0625rem; margin-bottom: .5rem; }
.blog-card h3 a { color: var(--text); }
.blog-card h3 a:hover { color: var(--primary); text-decoration: none; }
.blog-card p { font-size: .9rem; margin-bottom: 1rem; }
.read-more {
  font-size: .8125rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ─── Footer ────────────────────────────────────────────────────────────────── */
.site-footer {
  background: #0e1f3d;
  color: rgba(255,255,255,.72);
  padding-top: 4.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.6fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .875rem;
}
.footer-desc { font-size: .875rem; line-height: 1.7; margin-bottom: 1.125rem; }
.footer-social { display: flex; gap: .625rem; }
.footer-social a {
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.08);
  padding: .375rem .75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.footer-social a:hover { background: rgba(255,255,255,.15); color: #fff; }
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #fff;
  margin-bottom: 1.125rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul li { font-size: .875rem; }
.footer-col ul a { color: rgba(255,255,255,.65); text-decoration: none; transition: color .15s; }
.footer-col ul a:hover { color: #fff; }
.hours-list li { display: flex; justify-content: space-between; gap: .75rem; font-size: .8125rem; padding: .25rem 0; }
.hours-list li span { white-space: nowrap; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .75rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.45); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,.75); }

/* Inline-replaced utility grids (responsive via class) */
.two-col-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.dr-intro-grid  { display: grid; grid-template-columns: 380px 1fr; gap: 4rem; align-items: center; }

/* ─── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .bio-grid,
  .bio-grid.reverse { grid-template-columns: 1fr; }
  .bio-grid.reverse .bio-photo { order: unset; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail-sidebar { position: static; }
  .hero-inner { grid-template-columns: 1fr; }
  /* Photo stacks below text on tablet/mobile; constrain so it doesn't dominate */
  .hero-photo { max-width: 520px; margin: 1.5rem auto 0; }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom .container { flex-direction: column; gap: .5rem; text-align: center; }
  .two-col-intro { grid-template-columns: 1fr; gap: 2.5rem; }
  .dr-intro-grid  { grid-template-columns: 1fr; gap: 2rem; }
  .first-visit-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .services-split   { grid-template-columns: 1fr; gap: 2rem; }
  .trust-bar-inner { gap: 1.25rem; }
  .main-nav, .header-phone { display: none; }
  .main-nav.open {
    display: block;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: .75rem 1.25rem 1.25rem;
    box-shadow: var(--shadow-md);
    z-index: 199;
    overflow-y: auto;
    max-height: calc(100vh - var(--header-h));
  }
  .main-nav.open > ul { flex-direction: column; gap: .125rem; }
  .main-nav.open a { padding: .75rem 1rem; font-size: 1rem; border-radius: var(--radius-sm); }
  .main-nav.open .nav-dropdown {
    display: block;
    position: static;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--primary-light);
    border-radius: 0;
    padding: 0 0 0 .5rem;
    margin-left: .875rem;
  }
  .has-dropdown > a::after { display: none; }
  .nav-toggle { display: flex; }
  .header-cta .btn { padding: .5rem 1rem; font-size: .875rem; }
  .staff-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 4rem 0; }
  .section { padding: 4rem 0; }
  .grid-4 { grid-template-columns: 1fr; }
}


/* ─── Layout helpers (replaces all inline styles) ──────────────────────── */

/* Eyebrow → heading spacing */
.eyebrow + h2 { margin-top: .625rem; }
.eyebrow + h3 { margin-top: .625rem; }

/* Homepage: building photo is 16:9, not the default 4:5 portrait */
.page-home .hero-photo {
  aspect-ratio: 16/9;
  border: 4px solid var(--accent);
  box-shadow: 0 25px 50px -22px rgba(29, 58, 110, 0.35);
}
.page-home .hero-photo img { object-position: center; }

/* Dr. intro grid (homepage "Meet your doctor" section) */
.dr-intro-grid h2 { margin-bottom: 1rem; }
.dr-intro-grid p + p { margin-top: 1rem; }
.dr-intro-grid .img-placeholder { aspect-ratio: 4/5; }
.mission-callout + .btn { margin-top: 1.75rem; }

/* Two-col intro variations */
.two-col-intro.align-center { align-items: center; }
.two-col-intro h2 { margin-bottom: 1.25rem; }
.two-col-intro p + p { margin-top: 1rem; }
.two-col-intro .condition-tags { margin-top: 1.5rem; }
.location-card .btn { width: 100%; justify-content: center; }

/* Section grid CTA wrapper */
.section-grid-cta { margin-top: 2.5rem; }

/* First-visit two-column grid (about page) */
.first-visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.first-visit-grid h2 { margin-bottom: 1.25rem; }
.first-visit-grid .faq-col > h2 { margin-bottom: 1.5rem; }

/* Services additional therapies / insurance split */
.services-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.services-split h2 { margin-bottom: 1.25rem; }
.services-split p + p { margin-top: 1rem; }
.p-cta-lead { margin-top: 1rem; margin-bottom: 1.75rem; }

/* FAQ column (about page common questions) */
.faq-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.faq-col h3 {
  font-size: 1rem;
  margin-bottom: .375rem;
}

/* FAQ items on service detail pages */
.faq-item { margin-bottom: 1.125rem; }
.faq-item h4 { font-size: 1rem; margin-bottom: .375rem; }
.faq-item p { margin: 0; }
.service-geo-note { margin-top: 1.5rem; }

/* Full-width sidebar buttons */
.btn-full { width: 100%; justify-content: center; display: flex; }
.sidebar-btn-group {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  margin-bottom: 1rem;
}

/* Booking card button alignment */
.booking-card .btn { justify-content: center; }

/* Contact page helpers */
.ci-value.soft { font-weight: 400; color: var(--text-muted); }
.contact-info .hours-h3 { margin-top: 1.5rem; margin-bottom: .875rem; }
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 520px;
}
.map-frame iframe {
  border: 0;
  display: block;
  min-height: 520px;
  width: 100%;
  height: 100%;
}

/* ─── PracticeBuilt edit 2026-04-24 07:57 ─── */
.section article {
  max-width: 780px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.section article h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin: 2rem 0 0.75rem;
  line-height: 1.3;
}

.section article h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 1.5rem 0 0.5rem;
  line-height: 1.4;
}

.section article p {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--text);
  margin: 0 0 1.25rem;
}

.section article a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.2s;
}

.section article a:hover {
  color: var(--accent-dark);
}

.section article ul,
.section article ol {
  padding-left: 1.5rem;
  margin: 0 0 1.25rem;
  color: var(--text);
  line-height: 1.85;
}

.section article li {
  margin-bottom: 0.4rem;
  font-size: 1.0625rem;
}

.section article hr {
  border: none;
  border-top: 2px solid var(--border);
  margin: 2rem 0;
}


