/* ==========================================================================
   1. SETUP & VARIABLES
   ========================================================================== */
:root {
  --blue: #315781;
  --blue-deep: #203f65;
  --blue-dark: #142a43;
  --blue-light: #6eb3d4;
  --gold: #ffd48a;
  --gold-deep: #e7a747;
  --cream: #fffaf1;
  --paper: #f4f7fa;
  --ink: #172a3f;
  --muted: #617083;
  --line: #dbe4ed;
  --white: #fff;
  --shadow: 0 18px 50px rgba(20,42,67,.12);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { 
  scroll-behavior: smooth; 
  scroll-padding-top: 100px; 
  overflow-x: clip; 
  width: 100%; 
}
body { 
  margin: 0; 
  color: var(--ink); 
  background: white; 
  font: 16px/1.65 "DM Sans", Arial, sans-serif; 
  -webkit-font-smoothing: antialiased; 
  opacity: 1; 
  transition: opacity .18s ease; 
  overflow-x: clip; 
  width: 100%; 
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

/* Accessibility Focus */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { 
  outline: 3px solid var(--gold-deep); 
  outline-offset: 3px; 
}

/* ==========================================================================
   2. TYPOGRAPHY & UTILITIES
   ========================================================================== */
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { font-family: Manrope, sans-serif; line-height: 1.1; letter-spacing: -.035em; color: var(--blue-dark); }

.eyebrow { margin: 0 0 14px; color: var(--blue); text-transform: uppercase; font-size: 11px; font-weight: 900; letter-spacing: .16em; display: flex; align-items: center; gap: 10px; }
.eyebrow span { display: inline-block; width: 30px; height: 3px; background: var(--gold-deep); }
.eyebrow-light { color: var(--gold); }
.eyebrow-light span { background: var(--gold); }

/* Structure */
.container { width: min(1180px, calc(100% - 44px)); margin: 0 auto; }
.section { padding-block: 88px; }
.section-soft { background: var(--paper); }
.section-blue { background: var(--blue-deep); color: white; }
.section-blue h2 { color: white; }
.section-blue p { color: #dbe7f3; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.section-head h2, .center-head h2 { margin: 13px 0 0; font-size: clamp(34px, 4vw, 49px); }
.section-head p { max-width: 440px; margin: 0; color: var(--muted); font-size: 14px; }
.center-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.center-head .eyebrow { justify-content: center; }

/* Check Lists */
.check-list { display: grid; gap: 12px; margin: 25px 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 10px; color: var(--ink); font-size: 14px; }
.check-list li::before { content: "✓"; display: grid; place-items: center; flex: 0 0 22px; height: 22px; border-radius: 50%; color: var(--blue-dark); background: var(--gold); font-weight: 900; }

/* ==========================================================================
   3. COMPONENTS
   ========================================================================== */

/* Top Navigation & Header */
.skip-link { position: absolute; top: -100px; left: 12px; z-index: 999; background: #203f65; color: #fff; border-radius: 6px; padding: 12px; }
.skip-link:focus { top: 12px; }

.site-header { position: -webkit-sticky; position: sticky; z-index: 1000; top: 0; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.nav-wrap, .nav-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: clamp(250px, 20vw, 300px); height: auto; max-height: 85px; object-fit: contain; object-position: left center; }

.main-nav, .nav-links { display: flex; align-items: center; gap: clamp(12px, 1.55vw, 25px); }
.main-nav a, .nav-links a:not(.nav-button) { font-size: 13px; font-weight: 700; color: #26394f; padding: 10px 11px; position: relative; white-space: nowrap; border-radius: 7px; transition: color .22s ease, background-color .22s ease, box-shadow .22s ease; }
.main-nav a:hover, .nav-links a:not(.nav-button):hover { color: var(--blue-light); }
.main-nav a.active, .nav-links a[aria-current="page"]:not(.nav-button) { color: var(--blue-dark); background: #fff4ce; box-shadow: inset 0 -3px 0 var(--gold-deep); border-radius: 6px 6px 0 0; padding: 10px 11px; }

.nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { width: 24px; height: 2px; display: block; background: var(--blue-dark); margin: 5px; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 13px 19px; border-radius: 7px; font-weight: 800; font-size: 13px; border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.14); }
.button-gold { background: var(--gold); color: var(--blue-dark); }
.button-gold:hover { background: var(--gold-deep); }
.button-primary { background: var(--blue); color: white; }
.button-primary:hover { background: var(--blue-deep); }
.button-outline { border-color: rgba(255,255,255,.65); color: white; background: rgba(255,255,255,.04); }
.button-outline:hover { background: rgba(255,255,255,.15); }
.button-light { background: white; color: var(--blue); border: 1px solid var(--line); }
.button-light:hover { background: var(--cream); }
.button-small { min-height: 42px; padding: 10px 15px; font-size: 12px; }
.nav-button { display: inline-flex; align-items: center; justify-content: center; background: var(--blue); color: #fff !important; padding: 10px 18px !important; border-radius: 7px; font-weight: 800; font-size: 13px; transition: all .18s ease; }
.nav-button:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(49,87,129,.18); }

/* Hero Sections */
.page-hero { background: linear-gradient(120deg, var(--blue-dark) 0%, var(--blue-deep) 100%); color: white; padding: 80px 0; text-align: center; }
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); max-width: 900px; margin: 16px auto 18px; color: white; }
.page-hero p { max-width: 800px; color: #dbe7f3; font-size: 17px; margin: 0 auto; }
.page-hero .eyebrow { justify-content: center; color: var(--gold); }
.page-hero .eyebrow span { background: var(--gold); }

.hero { min-height: 600px; position: relative; display: flex; align-items: center; color: white; background-image: url("assets/hero-bg.jpeg"); background-size: cover; background-position: 75% center; background-color: var(--blue-dark); overflow: hidden; padding: 80px 0 120px 0; margin-bottom: 40px; }
.hero-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(16,36,58, 0.95) 0%, rgba(16,36,58, 0.85) 40%, rgba(16,36,58, 0.4) 70%, transparent 100%), linear-gradient(135deg, transparent 20%, rgba(231, 167, 71, 0.45) 50%, transparent 80%); background-size: 100% 100%, 250% 250%; animation: goldenWave 10s ease-in-out infinite alternate; }
.hero-container { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 40px; width: 100%; margin: 0 auto; padding-left: 38vw; padding-right: 4vw; }
.hero-copy { max-width: 600px; }
.hero h1 { font-size: clamp(42px, 4.5vw, 64px); color: white; margin-bottom: 20px; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-description { max-width: 490px; color: #dbe7f3; font-size: 17px; line-height: 1.7; margin-bottom: 28px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.trust-points { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 32px; color: #e5eef8; font-size: 12px; font-weight: 600; }
.trust-points span { display: flex; align-items: center; gap: 7px; }
.trust-points i { font-style: normal; color: var(--blue-dark); background: var(--gold); border-radius: 50%; width: 20px; height: 20px; display: inline-grid; place-items: center; font-weight: 900; }

/* Office Floats (Hero) */
.office-floats { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 360px; justify-self: end; flex-shrink: 0; }
.office-float { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 80px; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; background: rgba(13,33,53,.85); padding: 12px; backdrop-filter: blur(10px); transition: background .2s ease, transform 0.2s; }
.office-float:hover { background: rgba(30,59,88,.95); transform: translateY(-2px); }
.mini-photo { width: 52px; height: 52px; flex-shrink: 0; border-radius: 8px; object-fit: cover; }
.office-float b, .office-float small { display: block; }
.office-float b { font-size: 14px; margin-bottom: 3px; color: #fff; }
.office-float small { font-size: 11px; color: #d1dce7; line-height: 1.45; }
.float-arrow { margin-left: auto; align-self: flex-start; color: var(--gold); font-size: 18px; }

/* Review Slider */
.review-slider-wrapper { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; box-shadow: 0 10px 30px rgba(20,42,67,0.08); overflow: hidden; position: relative; z-index: 10; }
.review-slider-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; flex: 1; padding-bottom: 5px; mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent); }
.review-slider-track::-webkit-scrollbar { display: none; }
.review-slide { flex: 0 0 100%; scroll-snap-align: center; display: flex; flex-direction: column; gap: 8px; padding: 0 10px; }
@media (min-width: 768px) { .review-slide { flex: 0 0 calc(50% - 12px); } }
@media (min-width: 1024px) { .review-slide { flex: 0 0 calc(33.333% - 16px); } }
.review-stars { color: #fbbc04; font-size: 18px; letter-spacing: 2px; }
.review-quote { font-size: 15px; font-style: italic; color: var(--ink); margin: 0; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.review-author { font-size: 13px; font-weight: 700; color: var(--muted); margin-top: auto; }
.review-slider-action { flex-shrink: 0; position: relative; z-index: 2; }

/* Stats Tiles */
.stats-tiles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-tile { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: flex; align-items: center; gap: 16px; box-shadow: 0 4px 12px rgba(23,42,63,.03); transition: transform 0.2s ease, border-color 0.2s ease; }
.stat-tile:hover { transform: translateY(-2px); border-color: var(--blue-light); }
.stat-tile-icon { display: grid; place-items: center; width: 48px; height: 48px; background: var(--cream); color: var(--gold-deep); border-radius: 10px; flex-shrink: 0; }
.stat-tile-text { display: flex; flex-direction: column; }
.stat-tile-text strong { font-family: Manrope, sans-serif; color: var(--blue-dark); font-size: 15px; line-height: 1.3; margin-bottom: 4px; }
.stat-tile-text span { color: var(--muted); font-size: 12px; line-height: 1.4; }

/* Service Grids & Cards */
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.service-card { display: flex; flex-direction: column; min-height: 255px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 4px 14px rgba(23,42,63,.025); transition: transform .2s, box-shadow .2s, background-color .2s, border-color .2s; }
.service-card:hover, .service-card:focus-visible { transform: translateY(-4px); background: #fff7d6; border-color: #f0d36b; box-shadow: var(--shadow); }
.service-card:hover .service-icon, .service-card:focus-visible .service-icon { background: #ffedaa; }
.service-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 12px; background: #eaf2f9; color: var(--blue); font-size: 24px; }
.service-card h3 { margin: 0 0 10px; font-size: 19px; }
.service-card p { flex: 1; margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.card-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 13px; font-weight: 900; }
.card-link span { color: var(--gold-deep); font-size: 18px; }

/* Symptom Finder */
.symptom-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.symptom-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; align-content: start; }
.symptom-option { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 24px; text-align: left; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer; transition: all .2s ease; box-shadow: 0 4px 12px rgba(23,42,63,.03); height: 100%; }
.symptom-option:hover, .symptom-option:focus-visible { background: #fff7d6; border-color: #f0d36b; transform: translateY(-3px); box-shadow: var(--shadow); }
.symptom-option.is-selected { background: #fff4ce; border-color: var(--gold-deep); box-shadow: inset 0 0 0 2px var(--gold-deep); }
.symptom-option strong { font-size: 16px; line-height: 1.3; display: block; margin-bottom: 6px; color: var(--blue-dark); } 
.symptom-option small { color: var(--muted); font-size: 13px; line-height: 1.4; display: block; }
.symptom-result { display: flex; flex-direction: column; align-items: flex-start; padding: 30px; border-radius: 16px; background: var(--blue-dark); color: white; min-height: 100%; }
.result-kicker { color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .15em; margin-bottom: 10px; } 
.result-icon { display: grid; place-items: center; width: 52px; height: 52px; margin: 14px 0 20px; border-radius: 14px; background: rgba(255,255,255,.12); color: var(--gold); font-size: 27px; }
.symptom-result h3 { margin: 0 0 12px; font-size: 27px; color: #fff; } 
.symptom-result p { color: #d9e5f1; font-size: 14px; } 
.symptom-result .button { margin-top: 10px; } 
.symptom-result .safety-note { margin-top: auto; padding-top: 20px; font-size: 12px; border-top: 1px solid rgba(255,255,255,.18); color: #fff; }

/* Decision Guide */
.decision-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.decision-card { padding: 30px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease; display: flex; flex-direction: column; }
.decision-card:hover { transform: translateY(-4px); background: #fff7d6; border-color: #f0d36b; box-shadow: var(--shadow); }
.decision-card-featured { background: #fffaf0; border-color: #efd18b; }
.decision-label { color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.decision-card h3 { margin: 14px 0; font-size: 22px; color: var(--blue-dark); }
.decision-card .check-list { margin: 20px 0 24px; }
.decision-card .check-list li { align-items: flex-start; font-size: 14px; margin-bottom: 8px; }

/* Steps & Process */
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.step { padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease; box-shadow: 0 4px 14px rgba(23,42,63,.05); }
.step:hover { transform: translateY(-4px); background: #fff7d6; border-color: #f0d36b; box-shadow: var(--shadow); }
.step-number { color: var(--gold-deep); font-family: Manrope, sans-serif; font-size: 32px; font-weight: 900; }
.step h3 { margin: 12px 0 8px; font-size: 20px; color: var(--blue-dark); }
.step p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* Team Section */
.team-section { background: #fff; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 1000px; margin: 40px auto 0; }
.team-card { display: flex; flex-direction: column; border-radius: 18px; background: #fff; box-shadow: 0 14px 36px rgba(17,39,66,.08); border: 1px solid rgba(32,63,101,.12); overflow: hidden; }
.team-photo { display: block; width: 100%; height: 280px; object-fit: cover; object-position: center 25%; margin: 0; padding: 0; background: none; }
.team-card-body { padding: 30px; display: flex; flex-direction: column; flex-grow: 1; position: relative; color: #fff; overflow: hidden; z-index: 1; min-height: 260px; }
.team-card-body::before { content: ""; position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; animation: softWave 8s ease-in-out infinite alternate; }
.bg-prairie .team-card-body::before { background-image: linear-gradient(135deg, transparent 20%, rgba(231, 167, 71, 0.3) 50%, transparent 80%), linear-gradient(90deg, rgba(20,40,67, 0.7) 0%, rgba(20,40,67, 0.4) 100%), url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=800&q=80'); background-size: 100% 100%, 100% 100%, cover; }
.bg-mountain .team-card-body::before { background-image: linear-gradient(135deg, transparent 20%, rgba(231, 167, 71, 0.3) 50%, transparent 80%), linear-gradient(90deg, rgba(20,40,67, 0.7) 0%, rgba(20,40,67, 0.4) 100%), url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=800&q=80'); background-size: 100% 100%, 100% 100%, cover; }
.team-card-body h3 { margin: 0 0 5px; color: #fff; font-size: 1.5rem; text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.team-location { display: inline-flex; align-self: flex-start; margin-bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,0.25); color: #fff; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; backdrop-filter: blur(4px); }
.team-card-body p { margin: 0 0 20px; color: #f0f4f8; line-height: 1.6; font-size: 14px; text-shadow: 0 1px 2px rgba(0,0,0,0.4); }
.team-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; flex-wrap: wrap; margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.2); }
.team-phone { display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.3); color: var(--gold); font-weight: 800; text-decoration: none; font-size: 14px; padding: 10px 16px; border-radius: 7px; transition: all 0.2s ease; backdrop-filter: blur(4px); }
.team-phone:hover { background: var(--gold); color: var(--blue-dark); border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.team-card .button { white-space: nowrap; padding: 10px 16px; font-size: 13px; }

/* Locations Grid */
.locations-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.location-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 8px 25px rgba(23,42,63,.05); }
.location-banner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px; color: white; background: var(--blue); }
.location-banner.co { background: var(--blue-deep); }
.location-banner span { display: block; color: var(--gold); font-size: 11px; font-weight: 900; letter-spacing: .15em; }
.location-banner h3 { margin: 6px 0 0; font-size: 28px; color: #fff; }
.location-symbol { display: grid; place-items: center; width: 55px; height: 55px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: var(--gold); font-size: 26px; }
.location-body { padding: 30px; }
.location-body address { color: var(--muted); font-style: normal; font-size: 15px; margin-bottom: 10px; }
.location-phone { display: inline-block; margin: 9px 0 20px; color: var(--blue); font-family: Manrope, sans-serif; font-size: 24px; font-weight: 900; }
.location-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.location-actions .button:not(.card-link) { background: var(--blue); color: white; border: 1px solid var(--blue); transition: all 0.2s ease; }
.location-actions .button:not(.card-link):hover { background: var(--gold); color: var(--blue-dark); border-color: var(--gold-deep); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }

/* Reviews Page Grid */
.reviews-grid .service-card { background-color: var(--cream); border: 1px solid #f0e4cf; border-left: 5px solid var(--gold); box-shadow: 0 4px 15px rgba(23,42,63,.03); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.reviews-grid .service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); background-color: #fffaf1; }
.reviews-grid .service-card p:last-child { color: var(--blue); font-weight: 800; margin-top: 15px; }

/* FAQs */
.faq-content-section .faq-list-expanded { max-width: 920px; margin: 0 auto; }
.faq-content-section .faq-list details { background: #fff; border: 1px solid #dce4ec; border-radius: 12px; margin: 0 0 12px; padding: 0 24px; transition: border-color .18s ease, box-shadow .18s ease; }
.faq-content-section .faq-list summary { cursor: pointer; font-weight: 750; color: var(--blue-deep); padding: 20px 30px 20px 0; position: relative; list-style: none; min-height: 44px; font-size: 15px;}
.faq-content-section .faq-list summary::-webkit-details-marker { display: none; }
.faq-content-section .faq-list summary::after { content: '+'; position: absolute; right: 0; top: 16px; font-size: 24px; color: var(--gold-deep); }
.faq-content-section .faq-list details[open] summary::after { content: '−'; }
.faq-content-section .faq-list details p { margin: 0; padding: 0 0 20px; color: #48576a; line-height: 1.7; font-size: 15px; }
.faq-content-section .faq-list details:hover { border-color: #e9c64c; box-shadow: 0 5px 18px rgba(32,63,101,.07); }

/* Callout Box */
.callout { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 25px; padding: 25px 28px; border-radius: var(--radius); background: var(--blue); color: white; }
.callout h3 { margin: 0 0 5px; font-size: 20px; color: #fff; }
.callout p { margin: 0; color: #e0eaf4; font-size: 14px; }

/* Footer */
.site-footer { background: #0d1d30; color: white; padding-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .7fr 1fr 1fr; gap: 35px; padding-bottom: 48px; }
.footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-brand img { width: 220px; padding: 8px; border-radius: 8px; background: white; margin-bottom: 20px; }
.footer-brand p { margin: 0; color: var(--gold); font-size: 16px; font-weight: 700; line-height: 1.5; letter-spacing: 0.02em; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-column h3 { margin: 0 0 6px; color: var(--gold); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.footer-column a, .footer-column p { margin: 0; color: #c3ceda; font-size: 13px; line-height: 1.8; }
.footer-column a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.13); }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 20px; padding-block: 15px; color: #a9b7c6; font-size: 11px; }
.mobile-call { display: none; }

/* Form Layout (Request Service) */
.form-section { background: linear-gradient(130deg, var(--blue-dark), var(--blue)); color: white; padding-block: 80px; }
.form-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.form-intro h1 { margin: 15px 0 20px; font-size: clamp(38px,4vw,52px); color: white; }
.form-intro > p { color: #d8e4f0; font-size: 16px; line-height: 1.7; }
.direct-office { margin-top: 25px; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.2); }
.direct-office span { display: block; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: 0.1em; }
.direct-office a { font-family: Manrope, sans-serif; font-size: 24px; font-weight: 900; color: white; transition: color 0.2s; }
.direct-office a:hover { color: var(--gold); }
.request-form { padding: 35px; border-radius: 16px; background: white; color: var(--ink); box-shadow: 0 20px 50px rgba(0,0,0,.16); }
.form-title { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.form-title h3 { margin: 0; font-size: 20px; }
.form-title span { color: var(--muted); font-size: 11px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { color: var(--blue-dark); font-size: 13px; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; padding: 14px; border: 1px solid #d5dee7; border-radius: 8px; background: #fbfcfd; color: var(--ink); font-size: 14px; transition: border-color 0.2s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-light); box-shadow: 0 0 0 3px rgba(110,179,212,0.2); }
.form-submit { width: 100%; margin-top: 10px; }
.form-help { font-size: 12px; line-height: 1.6; margin: 12px 0 0; color: var(--muted); }
.form-status { margin-top: 15px; font-size: 14px; color: #285e42; font-weight: bold;}
.urgency-field { border: 0; padding: 0; margin: 0 0 18px; }
.urgency-field legend { padding: 0; margin-bottom: 8px; color: var(--blue-dark); font-size: 13px; font-weight: 800; }
.urgency-options { display: flex; flex-wrap: wrap; gap: 12px; }
.urgency-options label { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border: 1px solid #d5dee7; border-radius: 8px; background: #fbfcfd; color: var(--ink); font-size: 14px; cursor: pointer; transition: all 0.2s; }
.urgency-options label:hover { background: var(--cream); }
.urgency-options input { accent-color: var(--blue); }
.captcha-field { overflow-x: auto; margin-bottom: 20px; }

/* Door Planner & Visualizer */
.planner-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; max-width: 1100px; margin: 0 auto; }
.planner-preview-card { position: sticky; top: 100px; padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); text-align: center; display: flex; flex-direction: column; align-items: center; min-height: 400px; }
.planner-preview-top { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-bottom: 20px; }
.planner-preview-card h2 { font-size: clamp(20px, 2vw, 24px); margin: 20px 0 8px; color: var(--blue-dark); }
.planner-preview-card > p { font-size: 15px; color: var(--muted); max-width: 400px; margin: 0 auto 16px; }
.preview-badge { font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: #fff1bf; color: #604800; }

.garage-preview { --door-color: #f6f7f8; --door-border: #d2d8df; overflow: hidden; position: relative; margin: 0 auto 10px; border-radius: 12px; background: linear-gradient(#dceaf5 0 52%, #b7c4cf 52% 100%); width: 100%; max-width: 420px; aspect-ratio: 16 / 9; padding: 8% 5% 0; box-shadow: inset 0 0 20px rgba(0,0,0,0.05); }
.preview-roof { height: 10%; background: #253d55; clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%); }
.preview-house { height: 80%; padding: 5% 8% 0; background: #e5e0d7; border: 1px solid #d0c8bb; box-shadow: inset 0 0 0 6px rgba(255,255,255,.22); }
.preview-door { height: 100%; padding: 10px; background: var(--door-color); border: 5px solid var(--door-border); box-shadow: inset 0 0 0 2px rgba(0,0,0,.08); transition: background 0.3s, border-color 0.3s; }
.preview-panels { height: 100%; display: grid; grid-template-columns: repeat(4,1fr); grid-template-rows: repeat(3,1fr); gap: 8px; }
.preview-panels span { border: 2px solid rgba(0,0,0,.13); background: rgba(255,255,255,.10); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }

.garage-preview[data-style="modern"] .preview-panels { grid-template-columns: 1fr; grid-template-rows: repeat(4,1fr); gap: 5px; }
.garage-preview[data-style="carriage"] .preview-panels span { border-radius: 3px; }
.garage-preview[data-style="flush"] .preview-panels span { border-color: transparent; background: transparent; box-shadow: none; }
.garage-preview[data-style="plank"] .preview-panels { grid-template-columns: repeat(5, 1fr); grid-template-rows: 1fr; gap: 4px; }
.garage-preview[data-style="plank"] .preview-panels span { border-width: 1px; }
.garage-preview[data-style="ranch"] .preview-panels { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); gap: 8px; }

.garage-preview[data-color="white"] { --door-color: #f6f7f8; --door-border: #d2d8df; }
.garage-preview[data-color="black"] { --door-color: #171a1e; --door-border: #080a0c; }
.garage-preview[data-color="charcoal"] { --door-color: #4a4f55; --door-border: #2f3338; }
.garage-preview[data-color="wood"] { --door-color: #95643e; --door-border: #70472b; }
.garage-preview[data-color="sandstone"] { --door-color: #c9b99c; --door-border: #a89a80; }
.garage-preview[data-color="brown"] { --door-color: #4a3125; --door-border: #2e1c13; }
.garage-preview[data-color="green"] { --door-color: #2c4c3b; --door-border: #192e23; }
.garage-preview[data-color="beige"] { --door-color: #e3d5c1; --door-border: #c4b49e; }
.garage-preview[data-color="blue"] { --door-color: #2a3d56; --door-border: #1a2638; }

.planner-card { padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 10px 30px rgba(20,42,67,.05); }
.planner-card .field { display: grid; gap: 8px; margin-bottom: 20px; }
.planner-card label { font-size: 14px; font-weight: 800; color: var(--blue-dark); }
.planner-card select { width: 100%; padding: 14px; border: 1px solid #d5dee7; border-radius: 8px; background: #fbfcfd; font-size: 14px; }
.planner-card .check-line { display: flex; align-items: center; gap: 10px; font-size: 14px; margin: 12px 0; font-weight: 500; color: var(--ink); cursor: pointer; }
.planner-card .check-line input { width: 18px; height: 18px; accent-color: var(--blue); cursor: pointer; }
.planner-result { margin-top: 24px; padding: 20px; border-radius: 12px; background: #eef6ff; border-left: 4px solid var(--gold); }
.planner-result h3 { font-size: 18px; margin-bottom: 12px; }
.planner-result ul { padding-left: 20px; margin-bottom: 15px; }
.planner-result li { font-size: 14px; margin-bottom: 6px; color: var(--ink); }

/* Care Plan Specifics */
.shine-card { position: relative; overflow: hidden; }
.shine-card::after { content: ""; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%); transform: skewX(-25deg); animation: shineSweep 4s infinite; z-index: 1; pointer-events: none; }
.care-benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ==========================================================================
   4. ANIMATIONS
   ========================================================================== */
@keyframes goldenWave { 0% { background-position: 0% 0%, 0% 0%; } 100% { background-position: 0% 0%, 100% 100%; } }
@keyframes softWave { 0% { background-position: 0% 0%, 0% 0%, center; } 100% { background-position: 100% 100%, 0% 0%, center; } }
@keyframes shineSweep { 0% { left: -100%; } 20% { left: 200%; } 100% { left: 200%; } }

/* ==========================================================================
   5. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Tablets and small laptops */
@media (max-width: 1024px) {
  .hero-container { padding-left: 10vw; padding-right: 5vw; gap: 20px; }
  .hero h1 { font-size: 50px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .decision-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .planner-layout { grid-template-columns: 1fr; gap: 30px; }
  .planner-preview-card { position: static; }
  .stats-tiles-grid { grid-template-columns: repeat(2, 1fr); }
  .care-benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablets / Large Phones */
@media (max-width: 780px) {
  .container { width: min(100% - 34px, 620px); }
  
  /* Sticky Header Fix */
  html, body { overflow-x: clip !important; position: relative; }
  .site-header { position: -webkit-sticky !important; position: sticky !important; top: 0 !important; z-index: 9999 !important; background: #fff !important; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }

  /* Layout & Alignment */
  .nav-wrap, .nav-inner { display: flex !important; justify-content: space-between !important; align-items: center !important; flex-wrap: nowrap !important; min-height: 75px; padding-inline: 15px !important; }
  .brand img { width: clamp(250px, 20vw, 300px); height: auto; max-height: 85px; object-fit: contain; object-position: left center; }
  
  /* Burger & Button Positioning */
  .menu-toggle { display: block !important; order: 2; margin-left: auto; padding: 8px; }
  .nav-actions { order: 3; margin-left: 0; }
  .nav-actions .button { min-height: 36px; padding: 6px 10px; font-size: 11px; }
  
  /* Dropdown Menu */
  .main-nav, .nav-links { position: absolute; top: 100%; left: 0; right: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 12px 20px 20px; background: white; border-top: 1px solid var(--line); box-shadow: var(--shadow); width: 100%; z-index: 9999; }
  .main-nav.open, .nav-links.open { display: flex; }
  .main-nav a, .nav-links a:not(.nav-button) { padding: 14px 0; font-size: 15px; border-bottom: 1px solid var(--line); text-align: center; }
  .main-nav a.active::after { display: none; }
  .main-nav a.active { color: var(--gold-deep); }
  .nav-links a[aria-current="page"]:not(.nav-button) { border-radius: 6px; box-shadow: inset 4px 0 0 var(--gold-deep); padding-left: 12px; }

  /* Hero */
  .hero { min-height: auto; padding: 60px 0 80px 0; }
  .hero-container { flex-direction: column; align-items: stretch; padding: 0; padding-inline: 4vw; gap: 40px; }
  .hero-copy { max-width: 100%; }
  .office-floats { flex-direction: column; width: 100%; max-width: 100%; }
  .office-float { width: 100%; min-width: 100%; }

  /* Sections */
  .section { padding-block: 60px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section-head p { margin-top: 0; }
  .center-head { margin-bottom: 30px; }
  
  /* Grids */
  .service-grid, .decision-grid, .steps-grid, .locations-grid, .team-grid, .symptom-layout, .care-benefits-grid { grid-template-columns: 1fr; }
  .symptom-options { grid-template-columns: repeat(2, 1fr); }
  .stats-tiles-grid { grid-template-columns: 1fr; gap: 12px; }
  .stat-tile { padding: 16px; }
  
  /* Review Slider */
  .review-slider-wrapper { flex-direction: column; align-items: stretch; padding: 20px; margin-top: -30px; }
  .review-slider-track { width: 100%; mask-image: none; -webkit-mask-image: none; }
  .review-slider-action { width: 100%; margin-top: 16px; }
  .review-slider-action .button { width: 100%; }

  /* Forms */
  .form-layout { grid-template-columns: 1fr; gap: 40px; }
  .request-form { padding: 24px; }
  
  /* Footer */
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
  .footer-column { align-items: center; }
  
  /* Mobile Call Bar */
  body { padding-bottom: 70px; }
  .mobile-call { position: fixed; z-index: 900; bottom: 12px; left: 12px; right: 12px; display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 52px; border-radius: 9px; background: var(--gold); color: var(--blue-dark); box-shadow: 0 7px 25px rgba(0,0,0,.22); font-weight: 900; font-size: 14px; }

  /* About Page Mobile Fixes */
  .page-hero > .container { flex-direction: column !important; text-align: center; gap: 40px !important; }
  .page-hero > .container > div:first-child { max-width: 100% !important; }
  .page-hero > .container .eyebrow { justify-content: center; }
  .page-hero > .container .check-list { display: inline-grid; text-align: left; margin: 30px auto 0; }
  .page-hero > .container > div:last-child { margin: 0 auto; }

  /* Door Planner Mobile */
  .planner-layout { grid-template-columns: 1fr; gap: 24px; }
  .planner-preview-card { position: static; padding: 24px; min-height: auto; }
  .garage-preview { aspect-ratio: 2 / 1; max-width: 100%; }
  .preview-house { padding: 4% 6% 0; }
}

/* Small Phones */
@media (max-width: 560px) {
  .hero h1 { font-size: 42px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .button { width: 100%; }
  .symptom-options { grid-template-columns: 1fr; }
  .service-card, .decision-card, .step, .location-body, .team-card-body { padding: 20px; }
  .callout { flex-direction: column; align-items: flex-start; padding: 20px; }
  .callout .button { width: 100%; }
  .planner-preview-card, .planner-card { padding: 20px; }
  .team-photo { height: 220px; }
  .location-banner { padding: 20px; }
  .location-actions { flex-direction: column; }
  .location-actions .button, .location-actions .card-link { width: 100%; text-align: center; justify-content: center; }
  
  .page-hero h1 { font-size: 38px; margin-bottom: 16px; }
  .page-hero p { font-size: 15px; line-height: 1.6; }
  .page-hero > .container > div:last-child img { width: 220px !important; }
  .page-hero .check-list li { font-size: 14px !important; }
  .section .service-grid { gap: 30px; }
  .team-section { padding-block: 50px; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  body { transition: none; } 
  .hero-shade { animation: none; background: linear-gradient(90deg, rgba(16,36,58, 0.95) 0%, rgba(16,36,58, 0.85) 40%, rgba(16,36,58, 0.4) 70%, transparent 100%), linear-gradient(0deg, rgba(16, 36, 58, 0.4) 0%, transparent 60%); }
  .symptom-option { transition:none; }
  .faq-content-section .faq-list details { transition: none; }
  .team-card-body::before { animation: none; }
  .shine-card::after { animation: none; display: none; }
}