/* ================================================
   Fort Wayne Roofing & Exteriors — Premium Stylesheet
   Direction: "Craftsman Modern" — rugged trade expertise
   meets refined, confident design. No AI slop.
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@400;600;700;800&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ── 1. CSS Variables ── */
:root {
  --primary:       #1a2332;
  --primary-dark:  #0e1620;
  --primary-light: #2a3a50;
  --accent:        #c47a2d;
  --accent-dark:   #a86520;
  --accent-light:  #d99a54;
  --accent-glow:   rgba(196, 122, 45, 0.25);
  --success:       #2d8a5e;
  --text:          #1e2a3a;
  --text-muted:    #5a6a7e;
  --bg:            #f5f2ed;
  --bg-warm:       #faf8f5;
  --white:         #ffffff;
  --cream:         #f9f6f1;
  --border:        #ddd5ca;
  --border-light:  #ebe6df;
  --shadow:        0 2px 16px rgba(26,35,50,0.07);
  --shadow-md:     0 6px 24px rgba(26,35,50,0.10);
  --shadow-lg:     0 12px 48px rgba(26,35,50,0.14);
  --shadow-accent: 0 6px 24px rgba(196,122,45,0.25);
  --radius:        6px;
  --radius-lg:     12px;
  --max-width:     1200px;
  --header-height: 76px;
  --font-heading:  'Bricolage Grotesque', sans-serif;
  --font-body:     'DM Sans', sans-serif;
}

/* ── 2. Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-dark); }
ul { list-style: none; }

/* ── 3. Typography ── */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; color: var(--primary); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.55rem, 3.5vw, 2.35rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── 4. Layout ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5.5rem 0; }
.section-sm { padding: 3rem 0; }
.section-gray { background: var(--bg); }
.section-cream { background: var(--cream); }
.section-dark { background: var(--primary-dark); }
.section-dark h2, .section-dark h3, .section-dark p, .section-dark li { color: var(--white); }
.text-center { text-align: center; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header p { font-size: 1.1rem; color: var(--text-muted); max-width: 640px; margin: 1rem auto 0; }
.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── 5. Header & Nav ── */
.site-header {
  background: var(--primary-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  border-bottom: 3px solid var(--accent);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}
.logo a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.15;
}
.logo-main {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}
.logo-accent {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.main-nav > ul { display: flex; align-items: center; gap: 0.15rem; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: block;
  padding: 0.55rem 0.85rem;
  color: rgba(255,255,255,0.82);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
}
.main-nav > ul > li > a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.main-nav .has-dropdown > a::after {
  content: ' \25BE';
  font-size: 0.65rem;
  opacity: 0.55;
}
.main-nav .dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  border: 1px solid var(--border-light);
  overflow: hidden;
  z-index: 100;
}
.main-nav .has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-nav .dropdown li a {
  display: block;
  padding: 0.7rem 1.25rem;
  color: var(--text);
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border-light);
  transition: all 0.15s;
  text-decoration: none;
}
.main-nav .dropdown li:last-child a { border-bottom: none; }
.main-nav .dropdown li a:hover {
  background: var(--cream);
  color: var(--accent-dark);
  padding-left: 1.5rem;
}
.nav-cta > a {
  background: var(--accent) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  padding: 0.55rem 1.2rem !important;
  border-radius: var(--radius) !important;
  margin-left: 0.5rem;
  font-family: var(--font-heading) !important;
  letter-spacing: 0.01em;
}
.nav-cta > a:hover {
  background: var(--accent-dark) !important;
  box-shadow: var(--shadow-accent);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── 6. Hero ── */
.hero {
  position: relative;
  padding: 6rem 0 5rem;
  overflow: hidden;
  background: var(--primary-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  filter: contrast(1.1);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,22,32,0.88) 0%, rgba(26,35,50,0.65) 50%, rgba(42,58,80,0.45) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
}
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 2.25rem;
  max-width: 580px;
  line-height: 1.7;
}
.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero-trust {
  margin-top: 2.75rem;
  display: flex;
  gap: 2.25rem;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.68);
  font-size: 0.875rem;
  font-weight: 500;
}
.hero-trust-item::before {
  content: '\2713';
  color: var(--accent);
  font-weight: 800;
  font-size: 0.9rem;
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--primary-dark);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(196,122,45,0.06));
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  position: relative;
  z-index: 1;
}
.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  margin-top: 0.75rem;
  max-width: 620px;
  position: relative;
  z-index: 1;
}
.breadcrumb { margin-bottom: 0.75rem; position: relative; z-index: 1; }
.breadcrumb a, .breadcrumb span { font-size: 0.82rem; color: rgba(255,255,255,0.48); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 0.4rem; }

/* ── 7. Buttons ── */
.btn {
  display: inline-block;
  padding: 0.9rem 2.1rem;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: 0.01em;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover {
  background: var(--accent-dark);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}
.btn-secondary { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
.btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.7); text-decoration: none; }
.btn-dark { background: var(--primary); color: var(--white); }
.btn-dark:hover { background: var(--primary-dark); text-decoration: none; }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); text-decoration: none; }
.btn-lg { padding: 1.1rem 2.6rem; font-size: 1.05rem; }
.btn-block { width: 100%; text-align: center; padding: 1rem; }

/* ── 8. Service Cards (image-based) ── */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.service-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s;
}
.service-card:hover .service-card-img { transform: scale(1.03); }
.service-card-img-wrap { overflow: hidden; }
.service-card-body { padding: 1.75rem; }
.service-card-body h3 { margin-bottom: 0.6rem; }
.service-card-body p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.65; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--accent);
  margin-top: 1rem;
  transition: gap 0.2s;
}
.card-link:hover { gap: 0.6rem; color: var(--accent-dark); text-decoration: none; }
.card-link::after { content: '\2192'; }

/* Generic card */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.card-icon svg {
  width: 28px; height: 28px;
  stroke: var(--white); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.card h3 { margin-bottom: 0.75rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; }

/* ── 9. Stats Bar ── */
.stats-bar {
  background: var(--primary);
  padding: 2.75rem 0;
  position: relative;
}
.stats-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── 10. Content Split ── */
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
.content-split.reverse { direction: rtl; }
.content-split.reverse > * { direction: ltr; }
.content-block h2 { margin-bottom: 1.25rem; }
.content-block p { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.75; }
.feature-list { margin-top: 1.5rem; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: '\2713';
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 0.15rem;
  font-size: 1rem;
}
.content-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.content-image::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 4px;
  background: var(--accent);
}
.content-image img { width: 100%; height: 380px; object-fit: cover; }

/* ── 11. Testimonials ── */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.2;
  position: absolute;
  top: 0.5rem; right: 1.25rem;
  line-height: 1;
}
.testimonial-rating {
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
.testimonial-card p {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.testimonial-author {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
}
.testimonial-location { font-size: 0.82rem; color: var(--text-muted); }

/* ── 12. CTA Banner ── */
.cta-banner {
  background: var(--primary);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(196,122,45,0.08) 0%, transparent 70%);
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; position: relative; z-index: 1; }
.cta-banner p {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 2.25rem;
  position: relative; z-index: 1;
}
.cta-buttons {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  position: relative; z-index: 1;
}

/* ── 13. Contact / Forms ── */
.contact-section { background: var(--bg); padding: 5.5rem 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { color: var(--text-muted); margin-bottom: 2rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-detail-icon {
  width: 46px; height: 46px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg {
  width: 20px; height: 20px;
  stroke: var(--accent); fill: none; stroke-width: 2;
}
.contact-detail-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.15rem;
}
.contact-detail-text span,
.contact-detail-text a { font-size: 0.95rem; font-weight: 600; color: var(--text); }
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}
.form-card h3 { margin-bottom: 0.5rem; color: var(--primary); }
.form-card .form-subtitle { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.82rem; font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
textarea { resize: vertical; min-height: 120px; }
.form-submit { margin-top: 1.75rem; }
.form-note { font-size: 0.78rem; color: var(--text-muted); text-align: center; margin-top: 0.75rem; }
.hidden { display: none !important; }

/* ── 14. Process Steps ── */
.step-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--border-light);
}
.step-item:last-child { border-bottom: none; }
.step-number {
  width: 56px; height: 56px;
  background: var(--primary);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem; font-weight: 800;
  flex-shrink: 0;
}
.step-content h3 { margin-bottom: 0.5rem; }
.step-content p { color: var(--text-muted); line-height: 1.7; }

/* ── 15. Comparison Table ── */
.comparison-table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
.comparison-table th, .comparison-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.92rem;
}
.comparison-table th {
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}
.comparison-table tr:nth-child(even) { background: var(--cream); }
.comparison-table .win { color: var(--success); font-weight: 700; }
.comparison-table .lose { color: #c43c3c; }

/* ── 16. FAQ ── */
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-question {
  width: 100%; text-align: left;
  background: none; border: none;
  padding: 1.35rem 0;
  font-family: var(--font-heading);
  font-size: 1rem; font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question:hover { color: var(--accent-dark); }
.faq-question::after {
  content: '+';
  font-size: 1.5rem; font-weight: 400;
  color: var(--accent);
  transition: transform 0.25s;
  flex-shrink: 0;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding-bottom: 1.35rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.faq-item.open .faq-answer { display: block; }

/* ── 17. Callout Box ── */
.callout {
  background: var(--cream);
  border-left: 4px solid var(--accent);
  padding: 1.75rem 2rem;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin: 2rem 0;
}
.callout h4 { color: var(--primary); margin-bottom: 0.5rem; }
.callout p { color: var(--text-muted); margin: 0; font-size: 0.95rem; }

/* ── 18. Article / Blog Content ── */
.article-body { max-width: 760px; margin: 0 auto; }
.article-body h2 { margin: 2.75rem 0 1rem; }
.article-body h3 { margin: 2rem 0 0.75rem; }
.article-body p { line-height: 1.85; color: var(--text-muted); margin-bottom: 1.25rem; }
.article-body ul, .article-body ol { margin: 0 0 1.5rem 1.5rem; }
.article-body li { padding: 0.35rem 0; color: var(--text-muted); line-height: 1.75; }
.article-body table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
.article-body table th, .article-body table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem; text-align: left;
}
.article-body table th { background: var(--primary); color: var(--white); font-family: var(--font-heading); }

/* ── 19. Calculator ── */
.calculator-wrap { max-width: 700px; margin: 0 auto; }
.calculator-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-lg);
}
.calc-group { margin-bottom: 1.75rem; }
.calc-group label { font-size: 1rem; font-weight: 600; margin-bottom: 0.75rem; }
.range-wrap { display: flex; align-items: center; gap: 1rem; margin-top: 0.5rem; }
.range-wrap input[type="range"] {
  flex: 1; height: 6px; border: none; padding: 0;
  background: var(--border); border-radius: 3px; cursor: pointer;
  -webkit-appearance: none;
}
.range-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(196,122,45,0.3);
}
.range-value {
  font-family: var(--font-heading);
  font-weight: 800; font-size: 1.15rem;
  color: var(--primary);
  min-width: 90px; text-align: right;
}
.calc-results {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 2.5rem; margin-top: 2rem;
  text-align: center;
}
.calc-results h3 { color: var(--white); margin-bottom: 1.5rem; }
.calc-result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.calc-result-item .result-value {
  font-family: var(--font-heading);
  font-size: 2.1rem; font-weight: 800;
  color: var(--accent); line-height: 1;
}
.calc-result-item .result-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── 20. Footer ── */
.site-footer { background: var(--primary-dark); }
.footer-top { padding: 4.5rem 0 3rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand p {
  margin-top: 1.25rem;
  font-size: 0.875rem; line-height: 1.75;
  color: rgba(255,255,255,0.42);
}
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.15rem;
}
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.45);
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.28); margin: 0; }

/* ── 21. Thank-You Page ── */
.thankyou-section { padding: 8rem 0; text-align: center; }
.thankyou-icon { font-size: 4rem; margin-bottom: 1.5rem; }
.thankyou-section h1 { color: var(--primary); font-size: 2.25rem; margin-bottom: 1rem; }
.thankyou-section p { color: var(--text-muted); font-size: 1.1rem; max-width: 520px; margin: 0 auto 2rem; }

/* ── 22. Storm Season Alert ── */
.storm-alert {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border: 1px solid rgba(196,122,45,0.2);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}
.storm-alert-icon {
  width: 52px; height: 52px;
  background: rgba(196,122,45,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.storm-alert-icon svg {
  width: 24px; height: 24px;
  stroke: var(--accent); fill: none; stroke-width: 2;
}
.storm-alert h4 { color: var(--accent); margin-bottom: 0.4rem; }
.storm-alert p { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin: 0; }
.storm-alert .btn { margin-top: 1rem; }

/* ── 23. Responsive ── */
@media (max-width: 1100px) {
  .main-nav > ul > li > a { padding: 0.5rem 0.6rem; font-size: 0.82rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .content-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-result-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--primary-dark);
    padding: 1rem 1.5rem 2rem;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
  }
  .main-nav.mobile-open { display: block; }
  .main-nav > ul { flex-direction: column; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .main-nav > ul > li > a { padding: 0.9rem 0.5rem; font-size: 0.95rem; }
  .main-nav .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: rgba(0,0,0,0.2);
    border: none; border-radius: 0; display: none;
  }
  .main-nav .has-dropdown.mobile-open .dropdown { display: block; }
  .main-nav .dropdown li a { color: rgba(255,255,255,0.6); padding-left: 1.5rem; font-size: 0.875rem; }
  .nav-cta > a { margin-left: 0 !important; margin-top: 0.5rem; display: block; text-align: center; }
  .mobile-menu-toggle { display: flex; }
  .hero { padding: 3.5rem 0 3rem; }
  .section { padding: 3.5rem 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .hero-trust { gap: 1rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { text-align: center; }
  .storm-alert { flex-direction: column; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .calc-result-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .grid-3 { grid-template-columns: 1fr; }
}
