/* =============================================
   TMJ Orofacial Pain Specialist — Design System v2
   Accent  : #1B7A6E  (medical teal)
   Navy    : #0F2B3D  (dark sections)
   Cream   : #F5F2ED  (warm base)
   ============================================= */

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

:root {
  --cream:          #F5F2ED;
  --accent:         #1B7A6E;
  --accent-dark:    #135A50;
  --accent-light:   #E6F4F2;
  --navy:           #0F2B3D;
  --navy-mid:       #1A3D52;
  --gold:           #C8A56A;
  --dark:           #111827;
  --text:           #374151;
  --muted:          #6B7280;
  --light:          #EDE9E2;
  --border:         #D5D1CA;
  --shadow:         0 4px 24px rgba(0,0,0,.08);
  --shadow-lg:      0 16px 56px rgba(0,0,0,.14);
  --shadow-accent:  0 8px 32px rgba(27,122,110,.22);
  --radius:         10px;
  --radius-lg:      20px;
  --font-body:      'Inter', sans-serif;
  --font-heading:   'Playfair Display', serif;
  --transition:     .28s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
  font-size: 1rem;
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-dark); }
ul  { list-style: none; }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  line-height: 1.22;
}

/* ---- Layout ---- */
.container   { max-width: 100%; margin: 0 auto; padding: 0 clamp(20px, 5vw, 96px); }
.section     { padding: 64px 0; }
.section-sm  { padding: 36px 0; }
.text-center { text-align: center; }

.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .3px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  font-family: var(--font-body);
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--dark);
  color: var(--cream);
  border-color: var(--dark);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
  color: #fff;
}
.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border-color: var(--border);
}
.btn-outline-dark:hover {
  border-color: var(--dark);
  background: var(--dark);
  color: var(--cream);
}
.btn-white {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
  font-weight: 700;
}
.btn-white:hover {
  background: var(--accent-light);
  color: var(--accent-dark);
  border-color: var(--accent-light);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.9);
}

/* ---- Section Labels ---- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}
.section-title {
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  margin-bottom: 18px;
  color: var(--dark);
}
.section-subtitle {
  font-size: 1rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.75;
}
.section-subtitle.center { margin: 0 auto; text-align: center; }

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* =============================================
   HEADER
   ============================================= */
.announce-bar {
  background: var(--navy);
  position: relative;
  z-index: 1001;
}
.announce-bar::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(to bottom, rgba(15,43,61,.18), transparent);
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--cream);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled {
  box-shadow: 0 2px 28px rgba(0,0,0,.12);
  background: rgba(242,238,231,.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.announce-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 9px clamp(20px, 5vw, 96px);
  flex-wrap: nowrap;
}
.announce-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.72);
  font-size: .75rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  padding: 0 24px;
  transition: color var(--transition);
}
a.announce-item:hover { color: #fff; }
.announce-item svg { flex-shrink: 0; opacity: .7; }
.announce-divider {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,.2);
  flex-shrink: 0;
}

.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.site-logo img { width: 68px; height: 68px; border-radius: 10px; object-fit: cover; }
.site-logo-text { line-height: 1.25; }
.site-logo-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.18rem;
  color: var(--dark);
}
.site-logo-text span {
  font-size: .8rem;
  color: var(--muted);
  letter-spacing: .5px;
}

.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: .875rem;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all var(--transition);
  position: relative;
}
.primary-nav a:not(.btn):hover { color: var(--accent); background: var(--accent-light); }
.primary-nav a.current { color: var(--accent); }
.primary-nav a.current::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 16px; right: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.primary-nav .btn-accent { padding: 10px 22px; margin-left: 8px; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  background:
    radial-gradient(ellipse 55% 80% at 95% 15%, rgba(27,122,110,.08) 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 8% 85%, rgba(196,172,140,.14) 0%, transparent 55%),
    linear-gradient(150deg, #EDE9E2 0%, #F0EBE4 45%, #F5F2ED 100%);
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: 4%;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,122,110,.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 62% 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-left { display: flex; flex-direction: column; justify-content: center; }

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 16px 6px 10px;
  border-radius: 50px;
  margin-bottom: 22px;
  border: 1px solid rgba(27,122,110,.18);
  width: fit-content;
}
.hero-label::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.hero h1 {
  color: var(--dark);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-bottom: 20px;
  line-height: 1.13;
}
.hero h1 span { color: var(--accent); }

.hero-desc {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 32px;
}

/* Doctor bio in hero */
.hero-doctor-bio {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin-bottom: 28px;
  max-width: 520px;
}
.hero-doctor-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}
.hero-doctor-name-row strong {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.hero-doctor-credential {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--accent);
  text-transform: uppercase;
}
.hero-doctor-bio p {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  margin-bottom: 10px;
}
.hero-doctor-bio p:last-child { margin-bottom: 0; }

/* CTA row */
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-trust-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.hero-trust-badge {
  background: #DC2626;
  color: #fff;
  border: none;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .3px;
  box-shadow: 0 4px 14px rgba(220,38,38,.35);
}
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: .3px;
  transition: all var(--transition);
  box-shadow: 0 6px 28px rgba(27,122,110,.35);
  white-space: nowrap;
}
.btn-hero:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(27,122,110,.45);
}
.hero-secondary-link {
  color: var(--accent);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition);
}
.hero-secondary-link:hover { color: var(--accent-dark); }

/* Doctor photo */
.hero-photo-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-photo-frame {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 28px;
  overflow: hidden;
  background: var(--accent-light);
  border: 3px solid rgba(27,122,110,.12);
  box-shadow: 0 24px 64px rgba(0,0,0,.12);
  position: relative;
}
.hero-doctor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.hero-photo-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  color: var(--accent);
  text-align: center;
  padding: 32px;
}
.hero-photo-placeholder svg { opacity: .4; }
.hero-photo-placeholder span { font-weight: 600; font-size: .95rem; color: var(--muted); }
.hero-photo-placeholder small { font-size: .75rem; color: var(--muted); opacity: .7; }
.hero-photo-badge {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: #fff;
  border-radius: 14px;
  padding: 12px 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,.13);
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: 1px solid var(--border);
}
.hero-photo-badge strong {
  font-size: .82rem;
  color: var(--dark);
  font-family: var(--font-body);
  white-space: nowrap;
}
.hero-photo-badge span { font-size: .72rem; color: var(--muted); white-space: nowrap; }

/* =============================================
   STATS STRIP
   ============================================= */
.stats-strip { background: var(--navy); padding: 60px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 28px 20px;
  border-right: 1px solid rgba(255,255,255,.07);
}
.stat-item:last-child { border-right: none; }
.stat-num-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 10px;
}
.stat-num {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  font-family: 'Inter', sans-serif;
}
.stat-suffix { font-size: 1.8rem; font-weight: 700; color: var(--accent); line-height: 1; }
.stat-item p {
  font-size: .75rem;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-weight: 500;
}

/* =============================================
   ABOUT STRIP
   ============================================= */
.about-strip { background: var(--accent-light); }
.about-strip .grid-2 { gap: 72px; }
.about-strip-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, var(--accent-dark) 0%, var(--accent) 65%, #2BAA96 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.about-strip-img::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,.1), transparent 60%);
}
.about-img-placeholder { font-size: 5rem; text-align: center; position: relative; z-index: 1; }
.about-strip-img img { width: 100%; height: 100%; object-fit: cover; }
.about-strip-content h2 { margin-bottom: 18px; }
.about-strip-content p  { color: var(--muted); margin-bottom: 16px; font-size: .975rem; }
.about-checks { margin: 24px 0 32px; display: flex; flex-direction: column; gap: 12px; }
.about-check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text);
}
.check-icon {
  width: 24px; height: 24px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* =============================================
   CONDITIONS WE TREAT
   ============================================= */
.conditions-section { background: var(--cream); }
.conditions-header { text-align: center; margin-bottom: 56px; }
.conditions-header .section-title { max-width: 640px; margin: 0 auto 16px; }
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
/* 5-card layout: 3 on top, 2 centered below */
.conditions-grid-5 {
  grid-template-columns: repeat(6, 1fr);
}
.conditions-grid-5 .condition-card {
  grid-column: span 2;
}
.conditions-grid-5 .condition-card:nth-child(4) {
  grid-column: 2 / span 2;
}
.conditions-grid-5 .condition-card:nth-child(5) {
  grid-column: 4 / span 2;
}

/* Card shell */
.condition-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--shadow);
  transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
  cursor: default;
}
.condition-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(27,122,110,.25);
  transform: translateY(-4px);
}

/* Front face */
.condition-card-front {
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.condition-icon {
  width: 56px; height: 56px;
  background: var(--accent-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: background .3s ease, color .3s ease;
}
.condition-card:hover .condition-icon {
  background: var(--accent);
  color: #fff;
}
.condition-card-front h3 {
  font-size: 1.2rem;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

/* Symptom pills */
.condition-pills {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.condition-pills li {
  background: var(--accent-light);
  color: var(--accent);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .4px;
  padding: 5px 12px;
  border-radius: 50px;
  border: 1px solid rgba(27,122,110,.15);
  white-space: nowrap;
  transition: background .3s ease, color .3s ease;
}
.condition-card:hover .condition-pills li {
  background: rgba(27,122,110,.12);
}

/* Hover overlay — slides up from bottom */
.condition-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--navy) 0%, #1B5C50 100%);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 20px;
  transform: translateY(100%);
  transition: transform .38s cubic-bezier(.4,0,.2,1);
}
.condition-card:hover .condition-overlay { transform: translateY(0); }

.condition-overlay p {
  color: rgba(255,255,255,.88);
  font-size: .92rem;
  line-height: 1.75;
  margin: 0;
}
.condition-overlay-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  padding: 10px 20px;
  border-radius: 50px;
  transition: background .2s ease, gap .2s ease;
  align-self: flex-start;
}
.condition-overlay-link:hover {
  background: rgba(255,255,255,.22);
  gap: 10px;
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, #1C4A5E 100%);
  color: #fff;
  text-align: center;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -130px; right: -80px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,122,110,.28) 0%, transparent 65%);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -110px; left: -60px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,122,110,.18) 0%, transparent 65%);
  pointer-events: none;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; margin-bottom: 18px; font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.cta-banner p  { color: rgba(255,255,255,.72); max-width: 580px; margin: 0 auto 44px; font-size: 1.05rem; line-height: 1.75; }
.cta-banner-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =============================================
   WHY CHOOSE US
   ============================================= */
.why-us { background: var(--cream); }
.why-us .grid-2 { gap: 72px; }
.why-us-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, var(--navy) 0%, #1A4D5E 50%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.why-us-img img { width: 100%; height: 100%; object-fit: cover; }
.why-stat-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: #fff;
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  border-left: 4px solid var(--accent);
}
.why-stat-badge strong { display: block; font-size: 2rem; color: var(--accent); font-family: var(--font-heading); }
.why-stat-badge span  { font-size: .72rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.why-items { display: flex; flex-direction: column; gap: 8px; margin-top: 28px; }
.why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius);
  transition: background var(--transition);
  cursor: default;
}
.why-item:hover { background: var(--accent-light); }
.why-item-icon {
  width: 52px; height: 52px;
  background: var(--accent-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: background var(--transition);
  border: 1px solid rgba(27,122,110,.15);
}
.why-item:hover .why-item-icon { background: var(--accent); }
.why-item-text h4 { font-size: .975rem; margin-bottom: 5px; font-family: var(--font-body); font-weight: 600; color: var(--dark); }
.why-item-text p  { font-size: .875rem; color: var(--muted); line-height: 1.65; }

/* =============================================
   MEET THE DOCTOR
   ============================================= */
.team-section { background: var(--accent-light); }
.team-header  { text-align: center; margin-bottom: 56px; }

.doctor-profile {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.doctor-profile-photo {
  position: relative;
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, var(--navy) 0%, var(--accent) 100%);
  overflow: hidden;
}
.doctor-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.doctor-photo-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(255,255,255,.4);
}

.doctor-profile-body {
  padding: 48px 48px 48px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.doctor-name-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.doctor-name-row h3 {
  font-size: 1.75rem;
  color: var(--dark);
  margin: 0;
}
.doctor-title-badge {
  display: inline-flex;
  width: fit-content;
  background: var(--accent-light);
  color: var(--accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  border: 1px solid rgba(27,122,110,.18);
}

.doctor-bio {
  color: var(--muted);
  font-size: .975rem;
  line-height: 1.8;
  margin: 0;
  padding: 20px;
  background: var(--cream);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}

.doctor-credentials {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.credential-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.credential-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  border: 1px solid rgba(27,122,110,.15);
}
.credential-item strong {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}
.credential-item span {
  font-size: .88rem;
  color: var(--text);
  font-weight: 500;
}

@media (max-width: 900px) {
  .doctor-profile { grid-template-columns: 1fr; }
  .doctor-profile-photo { aspect-ratio: 4/3; max-height: 360px; }
  .doctor-profile-body { padding: 32px; }
}

@media (max-width: 480px) {
  .doctor-profile-body { padding: 24px; }
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials { background: var(--navy); color: #fff; }
.testimonials .section-title { color: #fff; }
.testimonials .section-subtitle { color: rgba(255,255,255,.6); }
.testimonials .section-label { color: var(--accent); }
.testimonials .section-label::before { background: var(--accent); }
.testimonials-header { text-align: center; margin-bottom: 56px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.testimonial-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
  transition: all var(--transition);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px; left: 24px;
  font-size: 5rem;
  font-family: var(--font-heading);
  color: var(--accent);
  opacity: .35;
  line-height: 1;
}
.testimonial-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(27,122,110,.4);
  transform: translateY(-4px);
}
.testimonial-stars { color: #F5BE50; margin-bottom: 16px; font-size: .95rem; letter-spacing: 3px; }
.testimonial-text { color: rgba(255,255,255,.82); font-size: .95rem; line-height: 1.75; margin-bottom: 24px; font-style: italic; padding-top: 8px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: .9rem;
  overflow: hidden;
  flex-shrink: 0;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-author-info strong { display: block; color: #fff; font-size: .9rem; }
.testimonial-author-info span  { font-size: .78rem; color: rgba(255,255,255,.4); }

.testimonials-coming-soon {
  text-align: center;
  padding: 64px 32px;
  border: 1px dashed rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  max-width: 540px;
  margin: 0 auto;
}
.testimonials-cs-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: rgba(255,255,255,.4);
}
.testimonials-coming-soon h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 14px;
  font-family: var(--font-heading);
}
.testimonials-coming-soon p {
  color: rgba(255,255,255,.55);
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 8px;
}
.testimonials-coming-soon p:last-child { margin-bottom: 0; }
.testimonials-coming-soon a { color: var(--accent); font-weight: 600; }
.testimonials-coming-soon a:hover { color: #7ECBCD; }

/* =============================================
   INSURANCE TICKER
   ============================================= */
.insurance-section { background: var(--cream); padding-bottom: 0; }
.insurance-header  { text-align: center; margin-bottom: 48px; }

.insurance-ticker-outer {
  overflow: hidden;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
  position: relative;
}
.insurance-ticker-outer::before,
.insurance-ticker-outer::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.insurance-ticker-outer::before {
  left: 0;
  background: linear-gradient(to right, #fff 0%, transparent 100%);
}
.insurance-ticker-outer::after {
  right: 0;
  background: linear-gradient(to left, #fff 0%, transparent 100%);
}

.insurance-ticker-inner {
  display: flex;
  width: max-content;
  will-change: transform;
}

.insurance-set {
  display: flex;
  gap: 20px;
  padding: 0 10px;
  flex-shrink: 0;
}

.insurance-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  min-width: 120px;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: default;
  flex-shrink: 0;
}
.insurance-card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 24px rgba(27,122,110,.12);
  transform: translateY(-3px);
}

.ins-logo-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ins-logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}
.ins-logo-badge {
  display: none;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--ic, var(--accent));
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  font-family: var(--font-body);
  flex-shrink: 0;
  letter-spacing: .5px;
}
.ins-name {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  line-height: 1.3;
  max-width: 100px;
  white-space: normal;
}

/* =============================================
   EMERGENCY SECTION
   ============================================= */
.emergency-section {
  background: linear-gradient(135deg, #B91C1C 0%, #DC2626 60%, #EF4444 100%);
  color: #fff;
  padding: 60px 0;
}
.emergency-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.emergency-text h2 { color: #fff; font-size: 1.7rem; margin-bottom: 8px; }
.emergency-text p  { color: rgba(255,255,255,.85); font-size: .975rem; }
.emergency-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #091C2A;
  color: rgba(255,255,255,.6);
  font-size: .875rem;
}
/* Lock every text element in the footer to the same size */
.site-footer h4,
.site-footer p,
.site-footer a,
.site-footer li,
.site-footer span,
.site-footer .site-logo-text strong,
.site-footer .site-logo-text span {
  font-size: .875rem;
}
.site-footer::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--navy-mid) 60%, transparent 100%);
}
.footer-main { padding: 48px 0 32px; }
.footer-main .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }

.footer-brand .site-logo { margin-bottom: 18px; }
.footer-brand .site-logo-text strong { color: #fff; font-family: var(--font-body); }
.footer-brand .site-logo-text span   { color: rgba(255,255,255,.35); }
.footer-brand p { line-height: 1.75; max-width: 280px; color: rgba(255,255,255,.5); }
.footer-contact { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.footer-social { margin-top: 20px; display: flex; gap: 14px; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.55);
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--accent); color: #fff; }
.footer-contact a {
  color: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--accent); }

.footer-col h4 {
  color: #fff;
  font-weight: 600;
  font-family: var(--font-body);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,.48);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-hours {
  margin-top: 18px;
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 14px;
}
.footer-hours-title {
  font-size: .875rem !important;
  font-weight: 600;
  color: rgba(255,255,255,.4);
  margin-bottom: 10px;
}
.footer-hours-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  column-gap: 12px;
  margin-bottom: 8px;
}
.footer-hours-row span:first-child {
  font-size: .875rem !important;
  color: rgba(255,255,255,.38);
  white-space: nowrap;
}
.footer-hours-row span:last-child {
  font-size: .875rem !important;
  color: rgba(255,255,255,.6);
}
.footer-col ul li a::before {
  content: '›';
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
  transform: translateX(-4px);
  color: var(--accent);
}
.footer-col ul li a:hover { color: #fff; padding-left: 4px; }
.footer-col ul li a:hover::before { opacity: 1; transform: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 24px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { color: rgba(255,255,255,.28); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,.38); transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--accent); }

.footer-bottom .footer-built-by {
  color: rgba(255,255,255,.28);
  font-family: var(--font-body);
  font-weight: 400;
}

/* =============================================
   INNER PAGES HERO
   ============================================= */
.page-hero {
  background: linear-gradient(150deg, var(--light) 0%, var(--cream) 100%);
  color: var(--dark);
  padding: 24px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { color: var(--dark); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.page-hero p   { color: var(--muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--muted);
  margin-top: 14px;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { color: var(--accent-dark); }

/* =============================================
   APPOINTMENT SECTION
   ============================================= */
.appointment-section { background: var(--cream); border-top: 1px solid var(--border); }
.appt-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.appt-grid-single {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
}
.appt-info { padding-top: 8px; }
.appt-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.appt-contact-icon {
  width: 48px; height: 48px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 1px solid rgba(27,122,110,.15);
}
.appt-contact-item strong {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.appt-contact-item a,
.appt-contact-item span {
  font-size: .95rem;
  color: var(--dark);
  line-height: 1.5;
  font-weight: 500;
}
.appt-contact-item a:hover { color: var(--accent); }
.appt-form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  .appt-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-mission { background: var(--cream); }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.mission-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  border-top: 4px solid var(--accent);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.mission-card:hover { transform: translateY(-4px); }
.mission-card h3 { margin-bottom: 12px; font-size: 1.2rem; color: var(--dark); }
.mission-card p  { color: var(--muted); font-size: .95rem; line-height: 1.7; }

/* =============================================
   SERVICES PAGE
   ============================================= */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-card {
  animation: fadeInUp .5s ease both;
  animation-delay: var(--delay, 0s);
}

/* Nav */
.svc-nav-bar {
  background: var(--navy);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.svc-nav-bar .container { display: flex; justify-content: center; }
.svc-nav-item {
  padding: 16px 36px;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s, background .2s;
}
.svc-nav-item:hover {
  color: #fff;
  border-bottom-color: var(--accent);
  background: rgba(255,255,255,.05);
}

/* Section headers */
.svc-category-section { padding-top: 32px; padding-bottom: 32px; }
#clinical-care, #treatments, #process { padding-top: 32px; padding-bottom: 32px; }
.svc-category-header  { text-align: center; margin-bottom: 52px; }

/* ── Condition cards ── */
.svc-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
/* 7-card grid: 3+3+1 centered */
.svc-card-grid-7 {
  grid-template-columns: repeat(6, 1fr);
}
.svc-card-grid-7 .svc-card {
  grid-column: span 2;
}
.svc-card-grid-7 .svc-card:nth-child(7) {
  grid-column: 3 / span 2;
}
.svc-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(27,122,110,.13);
  border-color: var(--accent);
}

/* Image area — fixed height, never stretches */
.svc-card-img {
  height: 160px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--navy) 0%, #1a4d5e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.svc-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.svc-card-img--mid  { background: linear-gradient(145deg, #1e3a4a 0%, #2d5566 100%); }
.svc-card-img--teal { background: linear-gradient(145deg, var(--accent-dark) 0%, var(--accent) 100%); }
.svc-card-img--dark { background: linear-gradient(145deg, var(--navy) 0%, #1f3d50 100%); }
.svc-card-emoji {
  font-size: 3rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.3));
}
.svc-card-num {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 3px 9px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

/* Card text body */
.svc-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: left;
}
.svc-card-body h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.4;
}
.svc-card-body p {
  color: var(--muted);
  font-size: .835rem;
  line-height: 1.65;
  margin-bottom: 14px;
  flex: 1;
}
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.svc-tags span {
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: .72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

/* ── Treatment cards ── */
.svc-treat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.svc-treat-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.svc-treat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(27,122,110,.12);
  border-color: var(--accent);
}
.svc-treat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.svc-treat-icon { font-size: 2rem; line-height: 1; }
.svc-treat-tag {
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .03em;
  padding: 4px 10px;
  border-radius: 20px;
}
.svc-treat-card h4 {
  font-size: .97rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.4;
}
.svc-treat-card p {
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.7;
}

/* ── How it works ── */
.svc-steps {
  display: flex;
  align-items: stretch;
  gap: 16px;
}
.svc-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  text-align: center;
  box-sizing: border-box;
}
.svc-step p {
  flex: 1;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.7;
  margin: 0;
}
.svc-step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.svc-step h4 { font-size: 1.05rem; margin-bottom: 12px; color: var(--dark); }
.svc-step-arrow {
  font-size: 1.8rem;
  color: var(--accent);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .svc-card-grid  { grid-template-columns: repeat(2, 1fr); }
  .svc-treat-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-card-grid-7 { grid-template-columns: repeat(4, 1fr); }
  .svc-card-grid-7 .svc-card { grid-column: span 2; }
  .svc-card-grid-7 .svc-card:nth-child(7) { grid-column: 2 / span 2; }
}
@media (max-width: 768px) {
  .svc-nav-bar .container { flex-direction: column; }
  .svc-nav-item { padding: 12px 20px; text-align: center; }
  .svc-card-grid  { grid-template-columns: 1fr; }
  .svc-treat-grid { grid-template-columns: 1fr; }
  .svc-card-grid-7 { grid-template-columns: 1fr; }
  .svc-card-grid-7 .svc-card,
  .svc-card-grid-7 .svc-card:nth-child(7) { grid-column: 1 / -1; }
  .svc-steps { flex-direction: column; }
  .svc-step-arrow { transform: rotate(90deg); margin: 0 auto; }
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-section { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; }
.contact-info-box {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-info-box h3 { margin-bottom: 28px; font-size: 1.3rem; color: #fff; }
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.contact-info-icon {
  width: 46px; height: 46px;
  background: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-text strong { display: block; font-size: .72rem; margin-bottom: 4px; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: 1px; }
.contact-info-text span  { font-size: .95rem; color: rgba(255,255,255,.85); line-height: 1.5; }
.contact-info-text a     { font-size: .95rem; color: rgba(255,255,255,.85); }
.contact-info-text a:hover { color: var(--accent); }
.contact-trust-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.contact-trust-badge {
  background: #DC2626;
  color: #fff;
  border: none;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .3px;
  box-shadow: 0 4px 14px rgba(220,38,38,.4);
}

.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form-wrap h3 { margin-bottom: 28px; font-size: 1.3rem; color: var(--dark); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 7px; color: var(--text); }
.form-control {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(27,122,110,.1);
}
textarea.form-control { resize: vertical; min-height: 140px; }
.form-success {
  background: var(--accent-light);
  color: var(--accent-dark);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: .95rem;
  border: 1px solid rgba(27,122,110,.2);
}
.form-error {
  background: #FEF2F2;
  color: #991B1B;
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: .95rem;
  border: 1px solid rgba(220,38,38,.2);
}
.form-error a { color: #991B1B; font-weight: 600; text-decoration: underline; }

/* Honeypot — visually hidden, accessible to screen readers to ignore */
.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid .stat-item:nth-child(2) { border-right: none; }
  .footer-main .container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo-wrap { max-width: 380px; margin: 0 auto; }
  .hero-photo-badge { left: 0; }
  .conditions-grid { grid-template-columns: 1fr; }
  .conditions-grid-5 { grid-template-columns: 1fr; }
  .conditions-grid-5 .condition-card,
  .conditions-grid-5 .condition-card:nth-child(4),
  .conditions-grid-5 .condition-card:nth-child(5) { grid-column: 1 / -1; }
}

@media (max-width: 1024px) and (min-width: 901px) {
  .conditions-grid { grid-template-columns: 1fr 1fr; }
  .conditions-grid-5 { grid-template-columns: repeat(4, 1fr); }
  .conditions-grid-5 .condition-card { grid-column: span 2; }
  .conditions-grid-5 .condition-card:nth-child(4) { grid-column: 1 / span 2; }
  .conditions-grid-5 .condition-card:nth-child(5) { grid-column: 3 / span 2; }
}

@media (max-width: 768px) {
  .section { padding: 44px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .footer-main .container { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }
  .emergency-section .container { flex-direction: column; text-align: center; }
  .announce-bar-inner { padding: 8px 20px; justify-content: center; flex-wrap: wrap; gap: 4px; }
  .announce-item { padding: 0 12px; font-size: .7rem; }
  .announce-item:first-child { display: none; }
  .announce-divider:first-of-type { display: none; }
  .primary-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    padding: 16px 20px 20px;
    box-shadow: var(--shadow-lg);
    gap: 4px;
    border-top: 2px solid var(--accent);
  }
  .primary-nav.open { display: flex; }
  .menu-toggle { display: flex; }
  .header-main { position: relative; }
  .hero { padding: 40px 0 56px; }
  .hero-cta-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .cta-banner { padding: 48px 0; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .btn { padding: 13px 24px; font-size: .875rem; }
  .stat-num { font-size: 2.4rem; }
}
