/* ============================================================
   DR. MELISSA BRISCOE LAMARCHE — CHIROPRACTOR
   Brand CSS System — Netlify-Ready
   Colors: #DC5A28 (Burnt Orange) + #141450 (Deep Navy)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --orange:      #DC5A28;
  --orange-dark: #B84820;
  --orange-light:#F0845A;
  --orange-tint: #FDF0EB;
  --navy:        #141450;
  --navy-mid:    #1E1E6E;
  --navy-light:  #2D2D8A;
  --navy-tint:   #EEEEF8;
  --amber:       #F08040;
  --peach:       #FAE6DC;
  --slate:       #3D3D78;
  --white:       #FFFFFF;
  --off-white:   #FEFAF8;
  --warm-gray:   #F5F1EE;
  --charcoal:    #2C2C2C;
  --body-gray:   #4A4A5A;
  --mid-gray:    #6B6B7B;
  --border:      #E8E4E0;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --shadow-sm:   0 2px 8px rgba(20,20,80,0.08);
  --shadow-md:   0 8px 32px rgba(20,20,80,0.12);
  --shadow-lg:   0 20px 60px rgba(20,20,80,0.16);
  --shadow-orange: 0 8px 32px rgba(220,90,40,0.25);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --max-w: 1200px;
  --max-w-text: 720px;
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); font-size: 17px; line-height: 1.7; color: var(--charcoal); background: var(--off-white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; font-weight: 700; color: var(--navy); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.15rem; }
p { color: var(--body-gray); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
.lead { font-size: 1.2rem; line-height: 1.65; color: var(--body-gray); font-weight: 300; }
.eyebrow { font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); display: block; margin-bottom: 0.75rem; }
strong { font-weight: 600; color: var(--charcoal); }

/* ── LAYOUT ─────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.container--narrow { max-width: var(--max-w-text); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
section { padding: clamp(4rem, 8vw, 7rem) 0; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.875rem 2rem; border-radius: 6px; font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; transition: all var(--transition); white-space: nowrap; text-decoration: none; cursor: pointer; border: 2px solid transparent; }
.btn-primary { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-2px); box-shadow: var(--shadow-orange); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-white:hover { background: var(--off-white); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.05rem; }
.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* ── NAVIGATION ─────────────────────────────────────────── */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; overflow: visible; background: rgba(254,250,248,0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); transition: box-shadow var(--transition); }
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 2rem; }
.header-logo { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.header-logo img { height: 48px; width: auto; }
.header-cta { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.header-phone { font-size: 0.9rem; font-weight: 600; color: var(--navy); white-space: nowrap; display: flex; align-items: center; gap: 0.35rem; }
.header-phone:hover { color: var(--orange); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 0.5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: all var(--transition); }
.mobile-nav { display: none; position: fixed; inset: 72px 0 0; background: var(--white); padding: 1.5rem; overflow-y: auto; z-index: 999; flex-direction: column; gap: 0.25rem; }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 0.875rem 1rem; font-size: 1rem; font-weight: 500; color: var(--charcoal); border-radius: var(--radius-sm); border-bottom: 1px solid var(--border); }
.mobile-nav a:hover { color: var(--orange); background: var(--orange-tint); }
.mobile-nav__section-head { padding: 1rem 1rem 0.4rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); border-top: 1px solid var(--border); margin-top: 0.25rem; }
.mobile-nav a.mobile-nav__sub { padding-left: 1.75rem; font-size: 0.875rem; color: var(--body-gray); border-bottom: none; }
.mobile-nav__cta { margin-top: 1.5rem; }

/* ── HERO ────────────────────────────────────────────────── */
.hero { padding-top: calc(72px + clamp(3rem, 6vw, 5rem)); padding-bottom: clamp(3rem, 6vw, 5rem); background: var(--navy); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(220,90,40,0.18) 0%, transparent 70%); pointer-events: none; z-index: 1; }
.hero > * { position: relative; z-index: 2; }
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero h1 { color: var(--white); margin-bottom: 1.25rem; text-shadow: 0 2px 8px rgba(0,0,0,0.6); }
.hero h1 em { font-style: italic; color: var(--amber); text-shadow: 0 2px 16px rgba(0,0,0,0.85), 0 1px 4px rgba(0,0,0,0.9); }
.hero .lead { color: rgba(255,255,255,0.8); font-size: 1.2rem; margin-bottom: 2.5rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-badge { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 40px; padding: 0.4rem 1rem; font-size: 0.85rem; color: rgba(255,255,255,0.85); backdrop-filter: blur(4px); display: flex; align-items: center; gap: 0.4rem; }
.hero-badge strong { color: var(--amber); font-weight: 700; }

/* Page hero */
.page-hero { padding-top: calc(72px + 3.5rem); padding-bottom: 3.5rem; background: var(--navy); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 100% at 100% 50%, rgba(220,90,40,0.15) 0%, transparent 65%); pointer-events: none; z-index: 1; }
.page-hero > * { position: relative; z-index: 2; }
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem,4vw,3rem); }
.page-hero .lead { color: rgba(255,255,255,0.75); margin-top: 0.75rem; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; font-size: 0.85rem; }
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ── STAT BAR ─────────────────────────────────────────────── */
.stat-bar { background: var(--orange); padding: 1.5rem 0; }
.stat-bar-inner { display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap; gap: 2rem; }
.stat-item { text-align: center; color: var(--white); }
.stat-number { font-family: var(--font-display); font-size: 2.2rem; font-weight: 900; display: block; line-height: 1; }
.stat-label { font-size: 0.82rem; font-weight: 500; opacity: 0.85; letter-spacing: 0.04em; text-transform: uppercase; display: block; margin-top: 0.3rem; }

/* ── CARDS ────────────────────────────────────────────────── */
.card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-body { padding: 2rem; }
.card-icon { width: 56px; height: 56px; background: var(--orange-tint); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; flex-shrink: 0; }
.card-icon.navy-bg { background: var(--navy-tint); }
.card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.card p { font-size: 0.95rem; }

/* Condition cards */
.condition-card { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; border: 1px solid var(--border); transition: all var(--transition); display: flex; flex-direction: column; gap: 0.75rem; text-decoration: none; color: inherit; }
.condition-card:hover { border-color: var(--orange); box-shadow: 0 8px 32px rgba(220,90,40,0.12); transform: translateY(-3px); }
.condition-card .icon { font-size: 1.5rem; line-height: 1; }
.condition-card h3 { font-size: 1.1rem; margin: 0; }
.condition-card p { font-size: 0.9rem; margin: 0; flex: 1; }
.condition-card .arrow-link { font-size: 0.875rem; font-weight: 600; color: var(--orange); display: flex; align-items: center; gap: 0.35rem; margin-top: auto; }
.condition-card .arrow-link:hover { gap: 0.6rem; }

/* ── GRIDS ────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.75rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }

/* ── SECTION STYLES ──────────────────────────────────────── */
.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; max-width: 620px; margin-left: auto; margin-right: auto; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-orange { background: var(--orange); color: var(--white); }
.section-orange h2, .section-orange h3, .section-orange .eyebrow { color: var(--white); }
.section-orange p { color: rgba(255,255,255,0.85); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy .eyebrow { color: var(--amber); }
.section-navy p { color: rgba(255,255,255,0.75); }
.section-warm { background: var(--warm-gray); }
.section-peach { background: var(--peach); }
.section-tint { background: var(--orange-tint); }

/* ── TESTIMONIALS ────────────────────────────────────────── */
.testimonial-card { background: var(--white); border-radius: var(--radius-lg); padding: 2.25rem; box-shadow: var(--shadow-sm); border-left: 4px solid var(--orange); }
.testimonial-quote { font-family: var(--font-display); font-size: 1.05rem; font-style: italic; color: var(--charcoal); line-height: 1.6; margin-bottom: 1.25rem; }
.testimonial-quote::before { content: '\201C'; font-size: 3rem; color: var(--orange); line-height: 1; display: block; margin-bottom: 0.25rem; font-style: normal; }
.testimonial-author { font-weight: 600; color: var(--navy); font-size: 0.9rem; }
.testimonial-condition { font-size: 0.82rem; color: var(--mid-gray); margin-top: 0.2rem; }
.stars { color: var(--orange); font-size: 1rem; margin-bottom: 0.75rem; letter-spacing: 2px; }
.testimonial-featured { background: var(--navy); border-radius: var(--radius-xl); padding: 3rem; position: relative; overflow: hidden; }
.testimonial-featured::before { content: '\201C'; position: absolute; top: -1rem; left: 2rem; font-family: var(--font-display); font-size: 12rem; color: rgba(220,90,40,0.15); line-height: 1; pointer-events: none; }
.testimonial-featured .testimonial-quote { color: var(--white); font-size: 1.3rem; position: relative; z-index: 1; }
.testimonial-featured .testimonial-quote::before { color: var(--amber); }
.testimonial-featured .testimonial-author { color: var(--amber); }
.testimonial-featured .testimonial-condition { color: rgba(255,255,255,0.6); }

/* ── CTA ─────────────────────────────────────────────────── */
.cta-block { background: var(--navy); border-radius: var(--radius-xl); padding: 4rem; text-align: center; position: relative; overflow: hidden; }
.cta-block::before { content: ''; position: absolute; top: -50%; right: -20%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(220,90,40,0.2) 0%, transparent 70%); pointer-events: none; }
.cta-block h2 { color: var(--white); margin-bottom: 1rem; position: relative; z-index: 1; }
.cta-block p { color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto 2rem; position: relative; z-index: 1; }
.cta-block .btn-group { justify-content: center; position: relative; z-index: 1; }
.cta-banner { background: var(--orange); padding: 3rem 0; text-align: center; }
.cta-banner h2 { color: var(--white); margin-bottom: 0.75rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; }

/* ── STEPS ───────────────────────────────────────────────── */
.step-item { display: flex; gap: 1.5rem; align-items: flex-start; padding: 1.75rem; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); }
.step-number { width: 48px; height: 48px; background: var(--orange); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; flex-shrink: 0; }
.step-content h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.step-content p { font-size: 0.9rem; margin: 0; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; text-align: left; padding: 1.5rem 0; font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer; background: none; border: none; transition: color var(--transition); }
.faq-question:hover { color: var(--orange); }
.faq-icon { width: 28px; height: 28px; background: var(--orange-tint); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem; color: var(--orange); transition: all var(--transition); }
.faq-question[aria-expanded="true"] .faq-icon { background: var(--orange); color: var(--white); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer p { padding-bottom: 1.5rem; font-size: 0.95rem; line-height: 1.75; }

/* ── INFO BOXES ──────────────────────────────────────────── */
.info-box { background: var(--navy-tint); border-left: 4px solid var(--navy); border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: 1.5rem 1.75rem; }
.info-box.orange { background: var(--orange-tint); border-color: var(--orange); }
.info-box h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.info-box p { font-size: 0.9rem; margin: 0; }

/* ── HOURS ───────────────────────────────────────────────── */
.hours-grid { display: grid; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.hours-row { display: flex; justify-content: space-between; padding: 0.875rem 1.25rem; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.hours-row:last-child { border-bottom: none; }
.hours-row:nth-child(even) { background: var(--warm-gray); }
.hours-day { font-weight: 600; color: var(--navy); }
.hours-time { color: var(--body-gray); }
.hours-closed { color: var(--mid-gray); font-style: italic; }

/* ── CONTACT ─────────────────────────────────────────────── */
.contact-info-block { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon { width: 44px; height: 44px; background: var(--orange-tint); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.2rem; }
.contact-item h4 { font-size: 0.85rem; color: var(--mid-gray); margin-bottom: 0.2rem; }
.contact-item p { font-size: 1rem; color: var(--charcoal); margin: 0; font-weight: 500; }
.contact-item a { color: var(--orange); }

/* ── FORMS ───────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--charcoal); margin-bottom: 0.4rem; }
.form-control { width: 100%; padding: 0.875rem 1.1rem; border: 2px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.95rem; color: var(--charcoal); background: var(--white); transition: border-color var(--transition), box-shadow var(--transition); -webkit-appearance: none; }
.form-control:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(220,90,40,0.12); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 1.25rem; opacity: 1; mix-blend-mode: screen; }
.footer-brand p { font-size: 0.9rem; line-height: 1.65; max-width: 280px; color: rgba(255,255,255,0.85); }
.footer-col h4 { font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); margin-bottom: 1.25rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a { font-size: 0.9rem; color: rgba(255,255,255,0.78); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--amber); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.5rem 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.82rem; color: rgba(255,255,255,0.6); }
.footer-bottom a { color: rgba(255,255,255,0.75); }
.footer-bottom a:hover { color: var(--amber); }

/* ── UTILITIES ───────────────────────────────────────────── */
.text-orange { color: var(--orange); }
.text-navy { color: var(--navy); }
.text-amber { color: var(--amber); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.site-icon { display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; }
.site-icon svg { display: block; }
.area-pill { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--navy-tint); color: var(--navy); border: 1px solid rgba(20,20,80,0.12); border-radius: 40px; padding: 0.35rem 0.875rem; font-size: 0.8rem; font-weight: 600; }

/* ── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-up { animation: fadeUp 0.7s ease both; }
.animate-fade-up-delay-1 { animation: fadeUp 0.7s 0.15s ease both; }
.animate-fade-up-delay-2 { animation: fadeUp 0.7s 0.3s ease both; }
.animate-fade-up-delay-3 { animation: fadeUp 0.7s 0.45s ease both; }
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── PHOTOGRAPHY SYSTEM ──────────────────────────────────── */
.photo-bg { position: relative; background-size: cover; background-position: center; background-repeat: no-repeat; }
.photo-bg::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.photo-bg > * { position: relative; z-index: 2; }
.photo-grad-left::before { background: linear-gradient(to right, rgba(20,20,80,0.82) 0%, rgba(20,20,80,0.55) 45%, rgba(20,20,80,0.15) 75%, transparent 100%); }
.photo-grad-dark::before { background: linear-gradient(135deg, rgba(20,20,80,0.88) 0%, rgba(20,20,80,0.55) 60%, rgba(220,90,40,0.15) 100%); }
.photo-grad-warm::before { background: linear-gradient(to right, rgba(20,20,80,0.75) 0%, rgba(20,20,80,0.4) 50%, rgba(220,90,40,0.2) 100%); }
.activity-strip { display: grid; grid-template-columns: repeat(4, 1fr); height: 280px; overflow: hidden; }
.activity-strip-cell { position: relative; background-size: cover; background-position: center; }
.activity-strip-cell::before { content: ''; position: absolute; inset: 0; background: rgba(20,20,80,0.32); }
.activity-strip-label { position: absolute; bottom: 1rem; left: 1rem; color: white; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; z-index: 2; }

/* ── MAIN NAV ─────────────────────────────────────────────────────────────── */
.main-nav { position: relative; }
.main-nav__list { display: flex; align-items: center; gap: 0; list-style: none; padding: 0; margin: 0; }
.main-nav__link { display: flex; align-items: center; gap: 0.35rem; font-size: 0.875rem; font-weight: 500; color: var(--charcoal); padding: 0.5rem 0.85rem; border-radius: var(--radius-sm); transition: color var(--transition), background var(--transition); white-space: nowrap; text-decoration: none; background: none; border: none; cursor: pointer; font-family: var(--font-body); line-height: 1; }
.main-nav__link:hover, .main-nav__link[aria-expanded="true"] { color: var(--orange); background: var(--orange-tint); }
.main-nav__link svg { flex-shrink: 0; transition: transform 0.25s ease; }
.main-nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }

/* ── MEGA MENU PANEL ──────────────────────────────────────────────────────── */
.mega-parent { position: relative; }
.mega-menu { position: fixed; top: 72px; left: 0; right: 0; background: var(--white); border-top: 3px solid var(--orange); border-bottom: 1px solid var(--border); box-shadow: 0 20px 60px rgba(20,20,80,0.18); z-index: 900; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s; pointer-events: none; }
.mega-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.mega-menu__inner { display: grid; grid-template-columns: 280px 1fr; max-width: 1200px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); min-height: 320px; }
.mega-menu__promo { background: var(--orange); padding: 2.5rem 2rem; display: flex; flex-direction: column; }
.mega-menu__promo--navy { background: var(--navy); }
.mega-menu__promo-eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 0.6rem; }
.mega-menu__promo-headline { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: 0.75rem; }
.mega-menu__promo-text { font-size: 0.875rem; color: rgba(255,255,255,0.8); line-height: 1.6; flex: 1; margin-bottom: 1.5rem; }
.mega-menu__promo-cta { display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(255,255,255,0.15); color: var(--white); border: 1px solid rgba(255,255,255,0.3); border-radius: var(--radius-sm); padding: 0.6rem 1rem; font-size: 0.85rem; font-weight: 600; transition: all var(--transition); text-decoration: none; margin-bottom: 1.5rem; width: fit-content; }
.mega-menu__promo-cta:hover { background: rgba(255,255,255,0.25); }
.mega-menu__stat-row { display: flex; gap: 1.25rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.2); }
.mega-menu__stat-num { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; color: var(--white); line-height: 1; }
.mega-menu__stat-label { font-size: 0.7rem; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 0.06em; display: block; margin-top: 0.2rem; }
.mega-menu__badge-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); }
.mega-menu__badge { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.2); border-radius: 40px; padding: 0.25rem 0.65rem; font-size: 0.72rem; font-weight: 600; }
.mega-menu__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 2rem 2.5rem; }
.mega-menu__grid--single { grid-template-columns: 1fr; }
.mega-menu__col { padding: 0 1.5rem 0 0; }
.mega-menu__col:last-child { padding-right: 0; }
.mega-menu__col-head { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid-gray); padding-bottom: 0.75rem; margin-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.mega-menu__item { display: flex; align-items: center; gap: 0.875rem; padding: 0.75rem 0.875rem; border-radius: var(--radius-md); transition: background var(--transition), transform var(--transition); text-decoration: none; color: inherit; margin-bottom: 0.15rem; }
.mega-menu__item:hover { background: var(--orange-tint); transform: translateX(3px); }
.mega-menu__item:hover .mega-menu__item-icon { background: var(--orange); color: var(--white); }
.mega-menu__item:hover .mega-menu__item-label { color: var(--orange); }
.mega-menu__item-icon { width: 42px; height: 42px; background: var(--warm-gray); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--navy); transition: all var(--transition); }
.mega-menu__item-icon--navy { background: var(--navy-tint); color: var(--navy); }
.mega-menu__item:hover .mega-menu__item-icon--navy { background: var(--navy); color: var(--white); }
.mega-menu__item-text { display: flex; flex-direction: column; gap: 0.15rem; }
.mega-menu__item-label { font-weight: 600; font-size: 0.9rem; color: var(--charcoal); transition: color var(--transition); }
.mega-menu__item-sub { font-size: 0.78rem; color: var(--mid-gray); line-height: 1.3; }
.mega-overlay { position: fixed; inset: 72px 0 0; z-index: 899; display: none; background: rgba(0,0,0,0.15); backdrop-filter: blur(1px); }
.mega-overlay.active { display: block; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mega-menu__grid { grid-template-columns: 1fr; }
  .mega-menu__col { padding-right: 0; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .header-phone span { display: none; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stat-bar-inner { gap: 1.5rem; }
  .cta-block { padding: 2.5rem 1.75rem; }
  .activity-strip { grid-template-columns: repeat(2, 1fr); height: 200px; }
  section[style*="grid-template-columns:1fr 1fr"] { display: block; }
}
@media (max-width: 480px) {
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { justify-content: center; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}

/* ── DR. MELISSA PHOTO SECTIONS ─────────────────────────────────────────── */
@media (max-width: 900px) {
  /* About page photo split */
  div[style*="grid-template-columns:420px 1fr"] {
    display: flex !important;
    flex-direction: column !important;
  }
  div[style*="grid-template-columns:420px 1fr"] > div:first-child {
    min-height: 380px !important;
    max-height: 420px !important;
  }
  div[style*="grid-template-columns:420px 1fr"] > div:first-child > div[style*="gradient(to right"] {
    background: linear-gradient(to bottom, transparent 70%, var(--off-white) 100%) !important;
  }
  div[style*="grid-template-columns:420px 1fr"] > div:last-child {
    padding: 2.5rem 1.5rem !important;
  }
  /* Homepage photo split */
  div[style*="grid-template-columns:1fr 420px"] {
    display: flex !important;
    flex-direction: column-reverse !important;
  }
  div[style*="grid-template-columns:1fr 420px"] > div:last-child {
    min-height: 360px !important;
    max-height: 420px !important;
  }
  div[style*="grid-template-columns:1fr 420px"] > div:first-child {
    padding: 2.5rem 1.5rem !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
}
