/* === base.css === */
/* ============================================
   BASE.CSS — Reset, Variables, Typography
   Water Damage Template — Clean Blue & Fresh
   ============================================ */

:root {
  --text-primary: #111827;
  --text-body: #374151;
  --text-secondary: #6B7280;
  --text-on-dark: #ffffff;
  --text-on-dark-secondary: #CBD5E1;

  /* Brand — Clean Water Blues */
  --brand: #0369A1;
  --brand-dark: #075985;
  --brand-light: #0EA5E9;
  --accent: #06B6D4;
  --accent-dark: #0891B2;
  --accent-light: #22D3EE;

  /* Backgrounds */
  --bg-dark: #0C1524;
  --bg-dark-light: #131E30;
  --bg-white: #ffffff;
  --bg-off-white: #F0F9FF;
  --bg-light-gray: #E0F2FE;

  /* Borders & Shadows */
  --border-light: #E0E7EF;
  --border-medium: #BAC8D9;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(3,105,161,0.08);
  --shadow-lg: 0 12px 32px rgba(3,105,161,0.1);
  --shadow-xl: 0 24px 48px rgba(3,105,161,0.12);

  /* Spacing */
  --section-padding: 96px;
  --section-padding-mobile: 56px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #0369A1 0%, #0EA5E9 100%);
  --gradient-hero: linear-gradient(160deg, #0C1524 0%, #0C4A6E 50%, #0C1524 100%);
  --gradient-accent: linear-gradient(135deg, #06B6D4 0%, #22D3EE 100%);
  --gradient-card-hover: linear-gradient(135deg, #F0F9FF 0%, #ffffff 100%);
  --gradient-fresh: linear-gradient(135deg, #E0F2FE 0%, #F0F9FF 50%, #ECFEFF 100%);

  --brand-tint-5: #F0F9FF;
  --brand-tint-10: #E0F2FE;
  --brand-tint-20: #BAE6FD;
  --icon-bg: #E0F2FE;
  --icon-bg-hover: #BAE6FD;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  overflow-x: hidden;
  font-family: 'Kumbh Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--brand-dark); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Kumbh Sans', sans-serif;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h3 { font-size: clamp(1.2rem, 2.5vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { margin-bottom: 1em; font-size: 1rem; line-height: 1.75; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--text-primary); }

/* Section labels — pill style instead of plain text */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
  background: var(--brand-tint-10);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title { margin-bottom: 1rem; }

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}
.section-subtitle.centered { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }

/* Dark section text */
.bg-dark, .hero, .page-hero, .contact-box, .mid-cta, .cta-banner, .testimonials-section, footer, .stats-bar { color: var(--text-on-dark); }

.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4,
.hero h1, .hero h2, .hero h3,
.page-hero h1, .page-hero h2, .page-hero h3,
.contact-box h1, .contact-box h2, .contact-box h3,
.mid-cta h1, .mid-cta h2, .mid-cta h3,
.cta-banner h1, .cta-banner h2, .cta-banner h3,
.testimonials-section h1, .testimonials-section h2, .testimonials-section h3,
footer h1, footer h2, footer h3, footer h4 { color: var(--text-on-dark); }

.bg-dark p, .bg-dark li, .bg-dark span, .bg-dark a,
.hero p, .hero li, .hero span,
.page-hero p, .page-hero li, .page-hero span,
.contact-box p, .contact-box li, .contact-box span, .contact-box a,
.mid-cta p, .mid-cta li, .mid-cta span,
.cta-banner p, .cta-banner li, .cta-banner span,
.testimonials-section p, .testimonials-section li, .testimonials-section span,
footer p, footer li, footer span, footer a { color: var(--text-on-dark-secondary); }

.bg-dark a:hover, .contact-box a:hover, footer a:hover { color: var(--text-on-dark); }

/* Fade-up animation */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.06s; }
.fade-up:nth-child(3) { transition-delay: 0.12s; }
.fade-up:nth-child(4) { transition-delay: 0.18s; }
.fade-up:nth-child(5) { transition-delay: 0.24s; }
.fade-up:nth-child(6) { transition-delay: 0.3s; }

::selection { background: var(--brand); color: var(--text-on-dark); }

/* === layout.css === */
/* ============================================
   LAYOUT.CSS — Grid, Containers, Responsive
   ============================================ */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Sections */
.section {
  padding: var(--section-padding) 0;
}

.section-alt {
  padding: var(--section-padding) 0;
  background: var(--brand-tint-5);
}

.section-gray {
  padding: var(--section-padding) 0;
  background: var(--bg-light-gray);
}

/* Grid System */
.grid {
  display: grid;
  gap: 30px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-2-1 {
  grid-template-columns: 2fr 1fr;
}

.grid-1-2 {
  grid-template-columns: 1fr 2fr;
}

/* Flex */
.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-sm { gap: 12px; }
.gap-md { gap: 24px; }
.gap-lg { gap: 40px; }

/* Two Column Content Layout */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 50px;
  align-items: start;
}

.content-main {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

aside {
  min-width: 0;
  max-width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-with-sidebar {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 50px;
  }

  .container {
    padding: 0 20px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .grid-2-1,
  .grid-1-2 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: var(--section-padding-mobile) 0;
  }

  .section-alt,
  .section-gray {
    padding: var(--section-padding-mobile) 0;
  }

  .hide-mobile {
    display: none !important;
  }

  /* Tame inline-styled buttons in generated blog content */
  .content-main .btn-phone,
  .content-main a[style*="font-size"] {
    font-size: 0.9rem !important;
    padding: 12px 16px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
  }

  .content-main div[style*="padding"] {
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
  }

  .content-main div[style*="width"] {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .content-main table {
    display: block;
    overflow-x: auto;
    max-width: 100%;
  }
}

@media (min-width: 769px) {
  .hide-desktop {
    display: none !important;
  }
}

/* Spacing Utilities */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

/* === components.css === */
/* ============================================
   COMPONENTS.CSS — Water Damage Template
   Clean & Fresh Design System
   ============================================ */

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
  text-decoration: none;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }

.btn-primary { background: var(--brand); color: #ffffff; }
.btn-primary:hover { background: var(--brand-dark); color: #ffffff; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-secondary { background: var(--bg-white); color: var(--brand); border: 2px solid var(--brand); }
.btn-secondary:hover { background: var(--brand); color: #ffffff; }

.btn-phone {
  background: var(--brand);
  color: #ffffff;
  font-size: 1.05rem;
  padding: 16px 32px;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(3,105,161,0.25);
  white-space: nowrap;
}
.btn-phone:hover {
  background: var(--brand-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(3,105,161,0.35);
}

@media (max-width: 768px) {
  .btn-phone { font-size: 0.95rem; padding: 14px 22px; }
}
@media (max-width: 380px) {
  .btn-phone { font-size: 0.85rem; padding: 12px 18px; }
}

.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }

/* ---- Service Cards ---- */
.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s ease, transform 0.4s ease, border-color 0.3s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
  border: 1px solid var(--border-light);
  position: relative;
}
.service-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
  border-color: var(--brand-tint-20);
}

.service-card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--icon-bg);
  display: flex;
  align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: background var(--transition-base), transform var(--transition-base);
}
.service-card-icon svg { width: 24px; height: 24px; color: var(--brand); stroke: var(--brand); }
.service-card:hover .service-card-icon { background: var(--brand); transform: scale(1.05); }
.service-card:hover .service-card-icon svg { color: #ffffff; stroke: #ffffff; }

.service-card-img { height: 200px; background-size: cover; background-position: center; background-color: var(--bg-light-gray); border-radius: var(--radius-md); margin-bottom: 20px; }
.service-card-body { padding: 0; flex: 1; display: flex; flex-direction: column; }

.service-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--text-primary); font-weight: 700; }
.service-card p { font-size: 0.9rem; color: var(--text-secondary); flex: 1; margin-bottom: 16px; line-height: 1.65; }

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
}
.service-card-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; transition: transform var(--transition-fast); }
.service-card:hover .service-card-link svg { transform: translateX(4px); }

/* CTA Service Card */
.service-card-cta {
  background: linear-gradient(145deg, #075985 0%, #0369A1 50%, #075985 100%) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.service-card-cta:hover { transform: translateY(-4px) !important; box-shadow: 0 12px 32px rgba(3,105,161,0.4) !important; }
.service-card-cta-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 8px 0; }
.service-card-cta-inner svg { stroke: var(--accent-light); opacity: 0.9; }
.service-card-cta h3 { color: #ffffff !important; font-size: 1.2rem; margin: 0; }
.service-card-cta p { color: rgba(255,255,255,0.75) !important; font-size: 0.9rem; line-height: 1.5; margin: 0; max-width: 240px; }

.btn-cta-card {
  display: inline-flex; align-items: center; gap: 8px;
  background: #ffffff;
  color: var(--brand) !important;
  font-weight: 700; font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap; margin-top: 4px;
}
.btn-cta-card:hover { transform: scale(1.03); box-shadow: 0 4px 16px rgba(0,0,0,0.15); background: #F0F9FF; }

/* ---- Trust Badges (inner pages) ---- */
.trust-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 40px; padding: 40px 0; }
.trust-badge { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.trust-badge-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--icon-bg);
  display: flex; align-items: center; justify-content: center;
}
.trust-badge-icon svg { width: 26px; height: 26px; fill: var(--brand); }
.trust-badge:hover .trust-badge-icon { background: var(--brand); }
.trust-badge:hover .trust-badge-icon svg { fill: #ffffff; }
.trust-badge span { font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; }

/* ---- Process Steps (legacy 4-col for inner pages) ---- */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.process-step { text-align: center; position: relative; }
.process-step-number {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--gradient-brand);
  color: #ffffff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; font-weight: 800;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(3,105,161,0.25);
}
.process-step h4 { font-size: 1rem; margin-bottom: 6px; }
.process-step p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; }

.process-step:not(:last-child)::after {
  content: ''; position: absolute;
  top: 26px; left: calc(50% + 32px);
  width: calc(100% - 64px); height: 2px;
  background: var(--border-light); z-index: 1;
}

@media (max-width: 768px) {
  .process-steps { grid-template-columns: 1fr; gap: 24px; }
  .process-step:not(:last-child)::after { display: none; }
  .process-step { display: flex; text-align: left; gap: 16px; }
  .process-step-number { margin: 0; flex-shrink: 0; width: 44px; height: 44px; font-size: 1rem; }
}

/* ---- FAQ Accordion ---- */
.faq-list { max-width: 800px; margin: 40px auto 0; }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-item.active { border-left: 3px solid var(--accent); padding-left: 16px; }

.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; font-size: 1rem; font-weight: 600;
  color: var(--text-primary); text-align: left; cursor: pointer;
  background: none; border: none; gap: 16px;
}
.faq-question:hover { color: var(--brand); }

.faq-icon { width: 24px; height: 24px; flex-shrink: 0; transition: transform var(--transition-base); }
.faq-icon svg { width: 24px; height: 24px; stroke: var(--text-secondary); fill: none; stroke-width: 2; }
.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--transition-slow); }
.faq-answer-inner { padding: 0 0 20px; font-size: 1rem; color: var(--text-body); line-height: 1.75; }
.faq-item.active .faq-answer { max-height: 500px; }

/* ---- Info/Callout Boxes ---- */
.info-box {
  background: var(--bg-off-white);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 24px 28px; margin: 24px 0;
}
.info-box h4 { color: var(--brand); margin-bottom: 8px; }
.info-box p { color: var(--text-body); margin: 0; }

.info-box-warning { border-left-color: var(--accent); }
.info-box-warning h4 { color: var(--accent-dark); }

.info-box-cta {
  background: var(--bg-off-white);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--accent);
  border-left: none;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
}
.info-box-cta h4 { color: var(--text-primary); margin-bottom: 8px; font-size: 1.15rem; }
.info-box-cta p { color: var(--text-body); margin-bottom: 20px; max-width: 520px; margin-left: auto; margin-right: auto; }

@media (max-width: 768px) { .info-box-cta { padding: 28px 20px; } }

/* ---- Contact Box (Sidebar) ---- */
.contact-box {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: sticky; top: 96px;
}
.contact-box h3 { color: #ffffff; font-size: 1.2rem; margin-bottom: 8px; }
.contact-box p { color: var(--text-on-dark-secondary); font-size: 0.9rem; margin-bottom: 20px; }
.contact-box .btn-phone {
  width: 100%; justify-content: center; margin-bottom: 16px;
  background: #ffffff; color: var(--brand) !important;
  font-weight: 700;
  box-shadow: none;
}
.contact-box .btn-phone:hover { background: #F0F9FF; color: var(--brand-dark) !important; }
.contact-box .btn-phone svg { fill: var(--brand); }

.contact-box-features { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.contact-box-feature { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-on-dark-secondary); }
.contact-box-feature svg { width: 18px; height: 18px; fill: var(--accent-light); flex-shrink: 0; }

/* ---- Content Elements ---- */
.check-list { list-style: none; padding: 0; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; font-size: 1rem; color: var(--text-body); }
.check-list li svg { width: 20px; height: 20px; fill: var(--accent); flex-shrink: 0; margin-top: 3px; }

.content-image { border-radius: var(--radius-lg); overflow: hidden; margin: 24px 0; box-shadow: var(--shadow-md); }
.content-image img { width: 100%; height: auto; display: block; }

/* ---- Comparison Table ---- */
.comparison-table { width: 100%; border-collapse: collapse; margin: 24px 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.comparison-table thead { background: var(--brand); }
.comparison-table th { padding: 14px 20px; color: #ffffff; font-weight: 600; font-size: 0.9rem; text-align: left; }
.comparison-table td { padding: 12px 20px; font-size: 0.9rem; color: var(--text-body); border-bottom: 1px solid var(--border-light); }
.comparison-table tbody tr:nth-child(even) { background: var(--bg-off-white); }

/* ---- Sidebar Featured ---- */
.sidebar-featured {
  background: var(--bg-off-white);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 24px;
}
.sidebar-featured-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary); font-weight: 600; }
.sidebar-featured-link { display: block; font-size: 0.95rem; font-weight: 700; color: var(--brand); text-decoration: none; margin: 6px 0; line-height: 1.3; }
.sidebar-featured-link:hover { text-decoration: underline; }
.sidebar-featured p { font-size: 0.82rem; color: var(--text-secondary); margin: 0; line-height: 1.5; }

/* ---- Blog Callout Banner ---- */
.blog-callout-banner {
  display: flex; align-items: center; gap: 24px;
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  position: relative; overflow: hidden;
}
.blog-callout-banner::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--gradient-accent); }
.blog-callout-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.blog-callout-icon svg { width: 24px; height: 24px; stroke: #fbbf24; }
.blog-callout-text { flex: 1; min-width: 0; }
.blog-callout-text h4 { color: #ffffff; font-size: 1.05rem; margin-bottom: 4px; }
.blog-callout-text p { color: var(--text-on-dark-secondary); font-size: 0.9rem; margin: 0; line-height: 1.5; }
.blog-callout-banner .btn { flex-shrink: 0; }

@media (max-width: 768px) {
  .blog-callout-banner { flex-direction: column; text-align: center; padding: 24px 20px; gap: 16px; }
  .blog-callout-banner::before { width: 100%; height: 3px; }
}

/* ---- SR Only ---- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }

/* === sections.css === */
/* ============================================
   SECTIONS.CSS — Water Damage Template
   Clean & Fresh Design System
   ============================================ */

/* ---- Top Bar ---- */
.top-bar {
  background: var(--bg-dark);
  color: var(--text-on-dark-secondary);
  padding: 8px 0;
  font-size: 0.8rem;
  font-weight: 500;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: var(--text-on-dark-secondary); font-weight: 600; }
.top-bar a:hover { color: var(--text-on-dark); }

@media (max-width: 768px) {
  .top-bar { font-size: 0.75rem; padding: 5px 0; }
  .top-bar .container { gap: 8px; }
  .top-bar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1; }
  .top-bar a { white-space: nowrap; flex-shrink: 0; }
}

/* ---- Navigation ---- */
.main-nav {
  background: var(--bg-white);
  position: relative;
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
}
.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo { display: flex; align-items: center; }
.nav-logo-img {
  height: 50px;
  width: auto;
  max-width: none;
  object-fit: contain;
}
@media (max-width: 768px) {
  .nav-logo-img { height: 40px; max-width: 65vw; }
}

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 4px 0;
  position: relative;
}
.nav-links a:hover { color: var(--brand); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--transition-base);
}
.nav-links a:hover::after { width: 100%; }

.nav-dropdown { position: relative; z-index: 9999; }
.nav-caret { margin-left: 4px; vertical-align: middle; opacity: 0.55; }
.nav-dropdown-menu {
  position: absolute;
  top: 100%; left: -16px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  padding: 8px;
  min-width: 240px;
  display: none;
  z-index: 99999;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: block; padding: 10px 16px; font-size: 0.875rem; border-radius: var(--radius-sm); }
.nav-dropdown-menu a::after { display: none; }
.nav-dropdown-menu a:hover { background: var(--bg-off-white); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand);
  color: #ffffff !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 2px 12px rgba(3,105,161,0.3);
}
.nav-cta:hover {
  background: var(--brand-dark);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(3,105,161,0.4);
}
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; width: 28px; cursor: pointer; z-index: 1100; }
.hamburger span { display: block; height: 2.5px; background: var(--text-primary); border-radius: 2px; }
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ---- Mobile Nav ---- */
.mobile-nav-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4); z-index: 1050;
  opacity: 0; visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
  backdrop-filter: blur(4px);
}
.mobile-nav-overlay.active { opacity: 1; visibility: visible; }

.mobile-nav {
  position: fixed; top: 0; right: 0;
  width: 300px; max-width: 85vw; height: 100vh;
  background: var(--bg-white); z-index: 1060;
  transform: translateX(100%); transition: transform var(--transition-slow);
  overflow-y: auto; padding: 24px;
}
.mobile-nav.active { transform: translateX(0); }

.mobile-nav-close { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; margin-left: auto; margin-bottom: 16px; }
.mobile-nav-close svg { width: 24px; height: 24px; stroke: var(--text-primary); }

.mobile-nav-links { display: flex; flex-direction: column; }
.mobile-nav-links a { padding: 14px 0; font-size: 1rem; font-weight: 500; color: var(--text-body); border-bottom: 1px solid var(--border-light); }
.mobile-nav-links a:hover { color: var(--brand); }

.mobile-nav-phone {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 24px; padding: 14px;
  background: var(--brand);
  color: #ffffff !important;
  border-radius: var(--radius-md);
  font-weight: 700; font-size: 1.1rem;
}
.mobile-nav-phone svg { width: 20px; height: 20px; fill: currentColor; }

/* ---- Hero ---- */
.hero {
  position: relative; z-index: 0;
  min-height: 560px;
  display: flex; align-items: center;
  background-size: cover; background-position: center;
  background-color: var(--bg-dark);
  overflow: hidden;
}
.hero-home { min-height: 75vh; max-height: 800px; background-image: none !important; background-color: #0a1628; }
.hero-home::before { background: linear-gradient(160deg, #0a1628 0%, #0c2340 50%, #0a1628 100%); }

.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(12,21,36,0.96) 0%, rgba(3,105,161,0.7) 50%, rgba(12,21,36,0.94) 100%);
  z-index: 1;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 80%, rgba(6,182,212,0.15) 0%, transparent 60%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }

.hero-content-centered {
  max-width: 640px;
  padding: 56px 0 100px;
}

/* Split layout inside homepage hero */
.hero-home .page-hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
  padding: 56px 0 100px;
}
.hero-home .page-hero-text {
  flex: 1;
  min-width: 0;
}
@media (max-width: 768px) {
  .hero-home .page-hero-inner {
    flex-direction: column;
    gap: 24px;
    padding: 48px 0 24px;
  }
}

.hero-eyebrow,
h1.hero-eyebrow {
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.hero h1:not(.hero-eyebrow), .hero h2.hero-headline, .page-hero .hero-headline {
  color: #ffffff;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}

.hero-desc {
  color: var(--text-on-dark-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-response-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-on-dark-secondary);
  font-size: 0.875rem;
  font-weight: 500;
}

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22D3EE;
  box-shadow: 0 0 8px rgba(34,211,238,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 4px rgba(34,211,238,0.4); }
  50% { box-shadow: 0 0 16px rgba(34,211,238,0.8); }
}

/* Floating stats at hero bottom */
.hero-floating-stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 2px;
}
.hero-stat-pill {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 0.85rem;
}
.hero-stat-pill:first-child { border-radius: var(--radius-lg) 0 0 0; }
.hero-stat-pill:last-child { border-radius: 0 var(--radius-lg) 0 0; }
.hero-stat-pill strong { font-size: 1.1rem; font-weight: 800; color: var(--accent-light); }
.hero-stat-pill span { font-weight: 500; opacity: 0.85; }

@media (max-width: 768px) {
  .hero-home { min-height: auto; }
  .hero-content-centered { padding: 48px 0 24px; }
  .hero-home .hero-floating-stats { display: none; }
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  position: relative; z-index: 0;
  padding: 64px 0;
  background-size: cover; background-position: center;
  background-color: var(--bg-dark);
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(12,21,36,0.92) 0%, rgba(3,105,161,0.65) 60%, rgba(12,21,36,0.9) 100%);
  z-index: 1;
}
.page-hero .container { position: relative; z-index: 2; }

.page-hero-inner { display: flex; align-items: center; gap: 40px; justify-content: space-between; }
.page-hero-text { flex: 1; min-width: 0; }

.page-hero-eyebrow {
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.page-hero h1.page-hero-eyebrow { margin-bottom: 1rem; }
.page-hero .hero-headline { color: #ffffff; }
.page-hero p { color: var(--text-on-dark-secondary); font-size: 1.1rem; max-width: 640px; }

/* Hero CTA Box — Solid dark card for readability */
.hero-cta-box {
  background: rgba(12,21,36,0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-xl);
  padding: 36px;
  min-width: 340px; max-width: 400px;
  text-align: center;
  flex-shrink: 0;
}
.hero-cta-box h3 { color: #ffffff; font-size: 1.3rem; margin-bottom: 16px; }
.hero-cta-checks { display: flex; justify-content: center; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 20px; font-size: 0.85rem; font-weight: 500; }
.hero-cta-checks span { display: flex; align-items: center; gap: 4px; color: #CBD5E1; }
.hero-cta-checks .check-icon { color: #22D3EE; font-weight: bold; }

.hero-home .btn-phone {
  background: var(--accent);
  box-shadow: 0 4px 16px rgba(6,182,212,0.3);
}
.hero-home .btn-phone:hover {
  background: #0891B2;
  box-shadow: 0 8px 24px rgba(6,182,212,0.4);
}

.hero-cta-box .btn-cta-call {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  font-size: 1.1rem; font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(6,182,212,0.3);
}
.hero-cta-box .btn-cta-call:hover { transform: translateY(-2px); background: #0891B2; color: #ffffff; box-shadow: 0 8px 24px rgba(6,182,212,0.4); }

.hero-cta-sub { font-size: 0.8rem; color: #94A3B8; margin-bottom: 12px; margin-top: 6px; }
.hero-cta-avail { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 0.82rem; color: #94A3B8; margin-bottom: 8px; }
.hero-cta-avail .avail-dot { width: 8px; height: 8px; border-radius: 50%; background: #22D3EE; box-shadow: 0 0 6px rgba(34,211,238,0.6); }
.hero-cta-avail strong { color: #ffffff; }
.hero-cta-stars { font-size: 0.85rem; color: #94A3B8; }
.hero-cta-stars .stars { color: #fbbf24; letter-spacing: 1px; }

@media (min-width: 1600px) { .page-hero { padding: 90px 0; } }
@media (max-width: 768px) {
  .page-hero-inner { flex-direction: column; gap: 24px; }
  .hero-cta-box { max-width: 100%; min-width: 0; width: 100%; }
}

/* Breadcrumbs */
.breadcrumb-bar { background: var(--bg-off-white); border-bottom: 1px solid var(--border-light); padding: 10px 0; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--text-secondary); }
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb-sep { color: var(--border-medium); font-size: 0.7rem; }

/* ---- Ribbon Bar ---- */
.ribbon-bar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
}
.ribbon-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.ribbon-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ribbon-item svg { color: var(--accent); flex-shrink: 0; }

@media (max-width: 768px) {
  .ribbon-inner { gap: 16px 24px; }
  .ribbon-item { font-size: 0.72rem; }
}

/* ---- Section Header Split (title left, desc/extra right) ---- */
.section-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 48px;
}
.section-header-split h2 { margin-bottom: 0; }
.section-header-desc {
  max-width: 400px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  text-align: right;
}
.review-summary { text-align: right; }
.review-stars { font-size: 1.5rem; color: #fbbf24; letter-spacing: 2px; margin-bottom: 4px; }
.review-summary span { font-size: 0.875rem; color: var(--text-secondary); font-weight: 500; }

@media (max-width: 768px) {
  .section-header-split { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section-header-desc { text-align: left; max-width: none; }
  .review-summary { text-align: left; }
}

/* Fresh background section */
.section-fresh {
  padding: var(--section-padding) 0;
  background: var(--gradient-fresh);
}

/* ---- Services Stagger Layout ---- */
.services-stagger {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  .services-stagger { grid-template-columns: 1fr; }
}

/* ---- Number Callout ---- */
.number-callout {
  background: var(--bg-dark);
  padding: 64px 0;
}
.number-callout-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
}
.number-callout-item { text-align: center; }
.number-callout-value {
  display: block;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--accent-light);
  letter-spacing: -0.03em;
  line-height: 1;
}
.number-callout-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-on-dark-secondary);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.number-callout-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.12);
}

@media (max-width: 768px) {
  .number-callout-grid { flex-wrap: wrap; gap: 32px; }
  .number-callout-divider { display: none; }
  .number-callout-item { flex: 0 0 45%; }
}

/* ---- Why Us Grid ---- */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.why-us-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.why-us-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.why-us-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--icon-bg);
  display: flex;
  align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: background var(--transition-base);
}
.why-us-icon svg { color: var(--brand); }
.why-us-card:hover .why-us-icon { background: var(--brand); }
.why-us-card:hover .why-us-icon svg { color: #ffffff; }
.why-us-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.why-us-card p { color: var(--text-secondary); font-size: 0.95rem; margin: 0; line-height: 1.7; }

@media (max-width: 768px) {
  .why-us-grid { grid-template-columns: 1fr; }
}

/* ---- Vertical Process ---- */
.vertical-process {
  margin-top: 36px;
  position: relative;
  padding-left: 48px;
}
.vertical-process::before {
  content: '';
  position: absolute;
  left: 23px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--brand-tint-20) 100%);
}
.vp-step {
  position: relative;
  padding-bottom: 28px;
}
.vp-step:last-child { padding-bottom: 0; }
.vp-number {
  position: absolute;
  left: -48px; top: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--brand);
  z-index: 2;
}
.vp-content { padding-left: 16px; }
.vp-content h3 { margin-bottom: 6px; font-size: 1.1rem; }
.vp-content p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; margin: 0; }

.vp-cta { margin-top: 32px; padding-left: 16px; text-align: left; }
.vp-cta .btn-phone { font-size: 1rem; }
.vp-cta-sub { font-size: 0.85rem; color: var(--text-secondary); margin-top: 8px; }

@media (max-width: 768px) {
  .vertical-process { padding-left: 40px; }
  .vertical-process::before { left: 19px; }
  .vp-content { padding-left: 12px; }
  .vp-number { left: -40px; width: 40px; height: 40px; font-size: 0.8rem; }
}

/* ---- Testimonials — Horizontal row ---- */
.testimonial-scroll {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}
.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px; right: 24px;
  font-size: 4rem;
  font-weight: 800;
  color: var(--brand-tint-20);
  line-height: 1;
  pointer-events: none;
}
.testimonial-stars { display: flex; gap: 2px; margin-bottom: 16px; }
.testimonial-stars svg { width: 16px; height: 16px; fill: #fbbf24; }
.testimonial-card p { color: var(--text-body); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; font-style: normal; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; color: #ffffff;
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; color: var(--text-primary); }
.testimonial-location { font-size: 0.8rem; color: var(--text-secondary); }

@media (max-width: 768px) {
  .testimonial-scroll { grid-template-columns: 1fr; }
}

/* ---- Stats Bar (used on inner pages) ---- */
.stats-bar {
  background: var(--gradient-brand);
  color: var(--text-on-dark);
  padding: 48px 0;
}
.stats-bar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item h3 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; color: #ffffff; margin-bottom: 4px; }
.stat-item p { font-size: 0.9rem; font-weight: 500; color: var(--text-on-dark-secondary); margin: 0; }
@media (max-width: 768px) { .stats-bar .container { grid-template-columns: repeat(2, 1fr); gap: 30px; } }

/* ---- Bottom CTA ---- */
.cta-bottom {
  position: relative;
  background: var(--bg-dark);
  background-size: cover;
  background-position: center;
  padding: 96px 0;
}
.cta-bottom::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(12,21,36,0.94) 0%, rgba(3,105,161,0.6) 50%, rgba(12,21,36,0.94) 100%);
}
.cta-bottom .container { position: relative; z-index: 2; }
.cta-bottom-inner { text-align: center; max-width: 560px; margin: 0 auto; }
.cta-bottom h2 { color: #ffffff; font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 1rem; }
.cta-bottom p { color: var(--text-on-dark-secondary); font-size: 1.1rem; margin-bottom: 2rem; }

/* Legacy mid-cta / cta-banner support for inner pages */
.mid-cta {
  background: var(--gradient-brand);
  color: var(--text-on-dark);
  padding: 72px 0;
  text-align: center;
}
.mid-cta h2 { color: #ffffff; margin-bottom: 0.75rem; }
.mid-cta p { color: var(--text-on-dark-secondary); font-size: 1.1rem; max-width: 600px; margin: 0 auto 1.5rem; }

.cta-banner {
  position: relative;
  background: var(--bg-dark);
  padding: 80px 0; text-align: center;
  background-size: cover; background-position: center;
}
.cta-banner::before { content: ''; position: absolute; inset: 0; background: rgba(12,21,36,0.88); }
.cta-banner .container { position: relative; z-index: 2; }
.cta-banner h2 { color: #ffffff; }
.cta-banner p { color: var(--text-on-dark-secondary); font-size: 1.1rem; max-width: 600px; margin: 0 auto 1.5rem; }

/* ---- Footer ---- */
footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 64px 0 0;
  border-top: 3px solid var(--accent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand { font-size: 1.2rem; font-weight: 700; color: #ffffff !important; margin-bottom: 16px; display: block; }
.footer-desc { color: var(--text-on-dark-secondary); font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
footer h4 { color: #ffffff !important; font-size: 0.95rem; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-on-dark-secondary); font-size: 0.9rem; }
.footer-links a:hover { color: #ffffff; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; color: var(--text-on-dark-secondary); font-size: 0.9rem; }
.footer-contact-item svg { width: 18px; height: 18px; fill: var(--accent); flex-shrink: 0; margin-top: 3px; }

aside .footer-links { gap: 16px; }
aside .footer-links a { color: #222; font-weight: 500; }
aside .footer-links a:hover { color: var(--brand); }
aside { display: flex; flex-direction: column; gap: 28px; }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: #ffffff; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ---- Mobile CTA Bar ---- */
.mobile-cta-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--brand);
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.mobile-cta-bar a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px; color: #ffffff; font-weight: 700; font-size: 1.1rem; text-align: center;
}
.mobile-cta-bar svg { width: 22px; height: 22px; fill: currentColor; }
.mobile-cta-micro { display: block; font-size: 0.75rem; font-weight: 400; color: rgba(255,255,255,0.8); margin-top: 2px; }

/* Stats cards (legacy support) */
.stats-cards-section { padding: 24px 0; }
.stats-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card { background: var(--bg-white); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 32px 24px; text-align: center; }
.stat-card h3 { font-size: 2rem; font-weight: 800; color: var(--brand); margin-bottom: 4px; }
.stat-card p { font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); margin: 0; text-transform: uppercase; letter-spacing: 0.03em; }
.stat-card-icon { width: 48px; height: 48px; margin: 0 auto 16px; background: var(--icon-bg); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.stat-card-icon svg { width: 24px; height: 24px; stroke: var(--brand); }
@media (max-width: 768px) { .stats-card-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } .stat-card { padding: 24px 16px; } }

/* Testimonials section legacy (dark bg version for inner pages) */
.testimonials-section {
  background: var(--bg-dark);
  padding: var(--section-padding) 0;
}
.testimonials-section .section-label { color: var(--accent); }
.testimonials-section .testimonial-card {
  background: var(--bg-dark-light);
  border-color: rgba(255,255,255,0.06);
}
.testimonials-section .testimonial-card::before { color: rgba(255,255,255,0.06); }
.testimonials-section .testimonial-card p { color: var(--text-on-dark-secondary); }
.testimonials-section .testimonial-name { color: #ffffff !important; }
.testimonials-section .testimonial-location { color: var(--text-on-dark-secondary) !important; }
.testimonials-section .testimonial-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.3); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 768px) { .testimonial-grid { grid-template-columns: 1fr; } }

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-content-centered { padding: 40px 0 100px; }
}

@media (max-width: 768px) {
  .mobile-cta-bar { display: block; }
  body { padding-bottom: 70px; }
}

/* ---- Scenario Grid (Common Water Damage Scenarios) ---- */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.scenario-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.scenario-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-tint-20);
}
.scenario-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--icon-bg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: background var(--transition-base);
}
.scenario-icon svg { color: var(--brand); }
.scenario-card:hover .scenario-icon { background: var(--brand); }
.scenario-card:hover .scenario-icon svg { color: #ffffff; }
.scenario-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--text-primary); }
.scenario-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; flex: 1; margin-bottom: 16px; }
.scenario-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.875rem; font-weight: 600; color: var(--brand);
  margin-top: auto;
}
.scenario-link svg { transition: transform var(--transition-fast); }
.scenario-card:hover .scenario-link svg { transform: translateX(4px); }

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

/* ---- Local Expertise Layout ---- */
.local-expertise-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}
.local-expertise-content p {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.local-expertise-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.le-stat-card {
  background: var(--bg-off-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
}
.le-stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 6px;
}
.le-stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .local-expertise-layout { grid-template-columns: 1fr; gap: 32px; }
  .local-expertise-stats { grid-template-columns: 1fr 1fr; }
}

/* ---- Inline CTA Box ---- */
.inline-cta-box {
  background: var(--bg-off-white);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.inline-cta-text { flex: 1; min-width: 200px; }
.inline-cta-text h4 { font-size: 1.1rem; margin-bottom: 4px; color: var(--text-primary); }
.inline-cta-text p { font-size: 0.95rem; color: var(--text-secondary); margin: 0; }
.inline-cta-trust {
  width: 100%;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 8px;
}
.inline-cta-trust .stars { color: #fbbf24; letter-spacing: 1px; margin-right: 4px; }

@media (max-width: 768px) {
  .inline-cta-box { flex-direction: column; text-align: center; padding: 24px 20px; }
  .inline-cta-text { min-width: 0; }
}

/* ---- Emergency Timeline ---- */
.emergency-timeline {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.et-item {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border-light);
}
.et-item:last-child { border-bottom: none; }
.et-time {
  flex-shrink: 0;
  width: 96px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding-top: 2px;
}
.et-content { flex: 1; }
.et-content h3 { font-size: 1.1rem; margin-bottom: 6px; }
.et-content p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; margin: 0; }

@media (max-width: 768px) {
  .et-item { flex-direction: column; gap: 8px; padding: 20px 0; }
  .et-time { width: auto; }
}

/* ---- Emergency CTA Banner ---- */
.emergency-cta-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  margin-top: 40px;
}
.ecb-icon { flex-shrink: 0; }
.ecb-icon svg { color: var(--accent-light); }
.ecb-text { flex: 1; min-width: 0; }
.ecb-text h4 { color: #ffffff; font-size: 1.05rem; margin-bottom: 4px; }
.ecb-text p { color: var(--text-on-dark-secondary); font-size: 0.9rem; margin: 0; line-height: 1.5; }
.emergency-cta-banner .btn-phone { flex-shrink: 0; }

@media (max-width: 768px) {
  .emergency-cta-banner { flex-direction: column; text-align: center; padding: 24px 20px; gap: 16px; }
}

/* ---- Commitment Grid ---- */
.commitment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.commitment-card {
  background: var(--bg-off-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.commitment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.commitment-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.commitment-icon svg { color: var(--brand); }
.commitment-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.commitment-card p { font-size: 0.93rem; color: var(--text-secondary); line-height: 1.75; margin: 0; }

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

/* ===== TEAM INTRO SECTION ===== */
.team-intro {
  padding: 72px 0;
  background: #f8fafc;
}
.team-intro-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}
.team-intro-photo {
  flex: 0 0 320px;
  max-width: 320px;
}
.team-intro-photo img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.team-intro-text {
  flex: 1;
  min-width: 0;
}
.team-intro-text .section-label {
  display: inline-block;
  margin-bottom: 12px;
}
.team-intro-text h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--bg-dark);
  margin: 0 0 16px 0;
  line-height: 1.2;
}
.team-intro-text p {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 24px 0;
}
.team-intro-stats {
  display: flex;
  gap: 32px;
}
.team-stat {
  display: flex;
  flex-direction: column;
}
.team-stat strong {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand);
}
.team-stat span {
  font-size: 0.8rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  margin-top: 2px;
}
@media (max-width: 768px) {
  .team-intro { padding: 48px 0; }
  .team-intro-inner { flex-direction: column; gap: 28px; }
  .team-intro-photo { flex: none; max-width: 260px; margin: 0 auto; }
  .team-intro-text { text-align: center; }
  .team-intro-stats { justify-content: center; }
  .team-intro-text h2 { font-size: 1.45rem; }
}

