/*
Theme Name: Drywall Clinic
Theme URI: https://drywallclinic.com
Author: Drywall Clinic DFW
Description: Premium custom theme for Drywall Clinic — professional drywall repair specialists serving DFW.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
License: Private
Text Domain: drywallclinic
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --primary:      #001440;
  --primary-dark: #000d2e;
  --primary-mid:  #002a6e;
  --accent:       #04d61d;
  --accent-dark:  #03b819;
  --gold:         #C8960C;
  --gold-lt:      #fef9ec;
  --teal:         #0E7C86;
  --teal-lt:      #e0f4f6;
  --white:        #ffffff;
  --off-white:    #f8fafc;
  --light:        #f1f5f9;
  --border:       #e2e8f0;
  --text:         #1e293b;
  --muted:        #64748b;
  --dark:         #090f1e;

  --font-head: 'Sora', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 16px rgba(0,20,64,.10);
  --shadow-lg: 0 10px 40px rgba(0,20,64,.15);
  --shadow-xl: 0 20px 60px rgba(0,20,64,.20);

  --ease: .25s cubic-bezier(.4,0,.2,1);
  --max:  1200px;
  --py:   80px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  /* padding-top handled by JavaScript in header.php */
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}
h1 { font-size: clamp(2rem,   5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.text-white   { color: var(--white) !important; }
.text-accent  { color: var(--accent) !important; }
.text-gold    { color: var(--gold) !important; }
.text-teal    { color: var(--teal) !important; }
.text-muted   { color: var(--muted) !important; }
.text-center  { text-align: center; }
.font-bold    { font-weight: 700; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container        { max-width: var(--max); 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; }

.section    { padding: var(--py) 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 120px 0; }
.section-alt { background: var(--light); }
.section-dark { background: var(--primary); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.auto-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 24px; }

.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-wrap    { flex-wrap: wrap; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }
.gap-xl { gap: 40px; }

.mt-sm { margin-top: 8px; }
.mt-md { margin-top: 16px; }
.mt-lg { margin-top: 24px; }
.mt-xl { margin-top: 40px; }
.mb-sm { margin-bottom: 8px; }
.mb-md { margin-bottom: 16px; }
.mb-lg { margin-bottom: 24px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--r-full);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  transition: var(--ease);
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

.btn-primary {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(4,214,29,.35);
}

.btn-dark {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-dark:hover {
  background: var(--primary-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: #b0840a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,150,12,.35);
}

.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-sm { padding: 10px 22px; font-size: .875rem; }
.btn-block { width: 100%; justify-content: center; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  display: block;
  background: var(--dark);
  padding: 8px 0;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-group { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar-item { display: flex; align-items: center; gap: 6px; }
.topbar-item svg { width: 13px; height: 13px; fill: var(--accent); flex-shrink: 0; }
.topbar-item a { color: rgba(255,255,255,.6); transition: var(--ease); }
.topbar-item a:hover { color: var(--accent); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: relative;
  background: var(--primary);
  transition: box-shadow var(--ease);
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.3); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-icon {
  width: 46px;
  height: 46px;
  background: var(--accent);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-icon svg { width: 28px; height: 28px; fill: var(--primary); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
}
.logo-tag {
  font-size: .65rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
}

/* Primary Nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  color: rgba(255,255,255,.8);
  font-size: .875rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  transition: var(--ease);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link:hover,
.nav-link.current { color: var(--white); background: rgba(255,255,255,.1); }

/* Dropdown */
.has-dropdown { position: relative; }
.has-dropdown > .nav-link::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255,255,255,.5);
  margin-left: 2px;
  transition: var(--ease);
}
.has-dropdown:hover > .nav-link::after { border-top-color: var(--white); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xl);
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: var(--ease);
  z-index: 200;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: none;
}
.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: .875rem;
  color: var(--text);
  transition: var(--ease);
}
.dropdown-menu a:hover {
  background: var(--light);
  color: var(--primary);
  padding-left: 24px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  transition: var(--ease);
}
.header-phone svg { width: 16px; height: 16px; fill: currentColor; }
.header-phone:hover { color: #fff; }

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--ease);
}
.menu-toggle.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.08);
}
.mobile-nav.is-open {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  padding-top: 106px;
}
.mobile-nav-inner { padding: 16px 24px 24px; }
.mobile-nav a {
  display: block;
  color: rgba(255,255,255,.8);
  padding: 13px 0;
  font-size: .95rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: var(--ease);
}
.mobile-nav a:hover { color: var(--accent); padding-left: 6px; }
.mobile-nav-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.mobile-nav-section {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  padding: 16px 0 6px;
}

/* ============================================================
   HERO — HOMEPAGE
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(4,214,29,.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(14,124,134,.12) 0%, transparent 60%),
    linear-gradient(135deg, #001440 0%, #001f5c 50%, #00173d 100%);
  z-index: 0;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .03;
  background-image:
    linear-gradient(rgba(255,255,255,.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.8) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-accent-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--teal), transparent);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  max-width: 720px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(4,214,29,.12);
  border: 1px solid rgba(4,214,29,.3);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: var(--r-full);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.3); }
}
.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}
.hero h1 .highlight { color: var(--accent); }
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 36px;
  line-height: 1.75;
  max-width: 580px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.7);
  font-size: .82rem;
  font-weight: 500;
}
.trust-item svg { width: 18px; height: 18px; fill: var(--accent); flex-shrink: 0; }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band { background: var(--primary); padding: 56px 0; }
.stats-band-border { border-top: 3px solid var(--accent); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 24px; }
.stat-item { text-align: center; padding: 16px; }
.stat-number {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { color: rgba(255,255,255,.65); font-size: .82rem; font-weight: 500; }

/* ============================================================
   SECTION HEADER UTILITY
   ============================================================ */
.section-header { margin-bottom: 48px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-intro { margin-left: auto; margin-right: auto; }

.section-eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.section-intro {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 620px;
  margin-top: 12px;
  line-height: 1.75;
}

/* ============================================================
   FEATURE / VALUE PROP CARDS
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: var(--ease);
  position: relative;
}
.card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  transform: scaleX(0);
  transition: var(--ease);
  transform-origin: center;
}
.card:hover { box-shadow: var(--shadow-lg); border-color: transparent; transform: translateY(-4px); }
.card:hover::after { transform: scaleX(1); }

.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(0,20,64,.06);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 28px; height: 28px; fill: var(--primary); }
.card-icon.accent-bg { background: rgba(4,214,29,.1); }
.card-icon.accent-bg svg { fill: var(--accent); }
.card-icon.teal-bg { background: rgba(14,124,134,.1); }
.card-icon.teal-bg svg { fill: var(--teal); }
.card-icon.gold-bg { background: rgba(200,150,12,.1); }
.card-icon.gold-bg svg { fill: var(--gold); }

.card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.card p { color: var(--muted); font-size: .9rem; line-height: 1.7; margin: 0; }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.steps-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  position: relative;
}
.steps-row::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  opacity: .2;
}
.step {
  text-align: center;
  padding: 32px 20px;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 64px;
  height: 64px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 18px;
  position: relative;
  box-shadow: 0 0 0 6px rgba(4,214,29,.15);
}
.step h3 { font-size: 1rem; margin-bottom: 8px; }
.step p { font-size: .85rem; color: var(--muted); margin: 0; }

/* ============================================================
   BEFORE / AFTER GALLERY
   ============================================================ */
.ba-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 24px; }
.ba-card { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--white); }
.ba-photos { display: grid; grid-template-columns: 1fr 1fr; }
.ba-photo { position: relative; }
.ba-photo-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 6px 10px;
  text-align: center;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.ba-photo-label.before { background: rgba(0,0,0,.55); color: #fff; }
.ba-photo-label.after  { background: var(--accent); color: var(--primary); }
.ba-placeholder {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  font-style: italic;
  padding: 20px;
  text-align: center;
}
.ba-placeholder.before-bg { background: linear-gradient(135deg, #2d1b00, #5a3900); }
.ba-placeholder.after-bg  { background: linear-gradient(135deg, var(--primary), var(--teal)); }
.ba-placeholder svg { width: 36px; height: 36px; fill: rgba(255,255,255,.25); }
.ba-info { padding: 16px 18px; }
.ba-info h4 { font-size: .9rem; color: var(--primary); margin-bottom: 4px; }
.ba-info p  { font-size: .78rem; color: var(--muted); margin: 0; }

/* ============================================================
   WARRANTY SECTION
   ============================================================ */
.warranty-wrap {
  background: linear-gradient(135deg, var(--primary) 0%, #002060 60%, #001440 100%);
  padding: var(--py) 0;
  position: relative;
  overflow: hidden;
}
.warranty-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,.012) 0,
    rgba(255,255,255,.012) 1px,
    transparent 0,
    transparent 50%
  );
  background-size: 18px 18px;
}
.warranty-layout {
  display: flex;
  align-items: center;
  gap: 64px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.warranty-badge {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid var(--accent);
  background: rgba(4,214,29,.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;
  box-shadow: 0 0 40px rgba(4,214,29,.15);
}
.warranty-badge .badge-num {
  font-family: var(--font-head);
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.warranty-badge .badge-yr {
  font-size: .75rem;
  color: rgba(255,255,255,.6);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.warranty-badge .badge-word {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--white);
  font-weight: 700;
  margin-top: 2px;
}
.warranty-body { flex: 1; min-width: 280px; max-width: 560px; }
.warranty-body h2 { color: var(--white); margin-bottom: 14px; }
.warranty-body p { color: rgba(255,255,255,.7); margin-bottom: 10px; }
.warranty-checklist { margin: 20px 0; }
.warranty-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.warranty-checklist li:last-child { border: none; }
.warranty-checklist li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--ease);
}
.review-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.stars { color: #f59e0b; font-size: .95rem; letter-spacing: 2px; margin-bottom: 14px; }
.review-text {
  font-size: .9rem;
  line-height: 1.75;
  color: var(--text);
  font-style: italic;
  margin-bottom: 18px;
}
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reviewer-name { font-weight: 700; font-size: .875rem; color: var(--primary); }
.reviewer-loc  { font-size: .775rem; color: var(--muted); }

/* ============================================================
   SERVICE AREA PILLS
   ============================================================ */
.city-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.city-pill {
  background: var(--light);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 7px 18px;
  border-radius: var(--r-full);
  font-size: .82rem;
  font-weight: 500;
  transition: var(--ease);
  text-decoration: none;
  display: inline-block;
}
.city-pill:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--accent);
  padding: 56px 0;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band-text h2 { color: var(--primary); margin-bottom: 6px; }
.cta-band-text p { color: rgba(0,20,64,.7); font-size: 1rem; margin: 0; }
.cta-band-btns { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }

/* ============================================================
   HIGHLIGHT / CALLOUT BOXES
   ============================================================ */
.callout {
  padding: 20px 24px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  border-left: 4px solid;
  margin: 24px 0;
}
.callout p { margin: 0; font-size: .9rem; line-height: 1.7; }
.callout h4 { margin-bottom: 8px; font-size: 1rem; }

.callout-green  { background: rgba(4,214,29,.06);   border-color: var(--accent); }
.callout-blue   { background: rgba(0,20,64,.04);    border-color: var(--primary); }
.callout-gold   { background: rgba(200,150,12,.07); border-color: var(--gold); }
.callout-teal   { background: rgba(14,124,134,.06); border-color: var(--teal); }

/* ============================================================
   INNER PAGE HERO
   ============================================================ */
.page-hero {
  background: var(--primary);
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 80% 50%, rgba(4,214,29,.05) 0%, transparent 60%);
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--teal) 60%, transparent 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-eyebrow {
  display: inline-block;
  background: rgba(4,214,29,.13);
  color: var(--accent);
  padding: 4px 14px;
  border-radius: var(--r-full);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero .lead { color: rgba(255,255,255,.72); font-size: 1.08rem; max-width: 640px; margin: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--dark); color: rgba(255,255,255,.6); padding: 80px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-col h4 {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.footer-col p { font-size: .85rem; line-height: 1.8; color: rgba(255,255,255,.5); }
.footer-nav { display: flex; flex-direction: column; gap: 9px; }
.footer-nav a {
  color: rgba(255,255,255,.55);
  font-size: .85rem;
  transition: var(--ease);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-nav a::before { content: '›'; color: var(--accent); font-weight: 700; }
.footer-nav a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: .85rem;
}
.footer-contact svg { width: 15px; height: 15px; fill: var(--accent); flex-shrink: 0; margin-top: 2px; }
.footer-contact a { color: rgba(255,255,255,.65); }
.footer-contact a:hover { color: var(--accent); }
.footer-cities {
  font-size: .75rem;
  color: rgba(255,255,255,.35);
  line-height: 1.9;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .78rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.35); transition: var(--ease); }
.footer-bottom a:hover { color: var(--accent); }
.footer-badges { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-badge {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.45);
}

/* ============================================================
   UTILITY
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.badge-green  { background: rgba(4,214,29,.12);  color: #05a818; }
.badge-navy   { background: var(--primary);       color: var(--white); }
.badge-gold   { background: var(--gold-lt);       color: var(--gold); }
.badge-teal   { background: var(--teal-lt);       color: var(--teal); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .primary-nav { gap: 0; }
  .nav-link { padding: 8px 9px; font-size: .82rem; }
}

@media (max-width: 900px) {
  .primary-nav, .header-actions .btn { display: none; }
  .menu-toggle { display: flex; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --py: 56px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-trust { gap: 14px; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .cta-band-btns { justify-content: center; }
  .topbar { display: none !important; }
  .warranty-layout { flex-direction: column; align-items: center; text-align: center; }
  .header-phone { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  .btn-lg { padding: 15px 28px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { justify-content: center; }
  .steps-row { gap: 0; }
  .steps-row::before { display: none; }
}

@media print {
  .site-header, .site-footer, .topbar, .cta-band, .menu-toggle { display: none; }
  .page-hero { background: #f1f5f9; }
  .page-hero h1, .page-hero .lead { color: var(--primary); }
}

/* ============================================================
   MOBILE OVERFLOW FIX
   ============================================================ */
html {
  overflow-x: hidden;
}
body {
  overflow-x: hidden;
  position: relative;
}
iframe {
  max-width: 100% !important;
  width: 100% !important;
}
p, li, td, th, div, span {
  word-wrap: break-word;
  overflow-wrap: break-word;
}
table {
  max-width: 100%;
  overflow-x: auto;
  display: block;
}
table thead, table tbody, table tr {
  min-width: 0;
}

@media (max-width: 768px) {
  [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  [style*="display:flex"],
  [style*="display: flex"] {
    flex-wrap: wrap !important;
  }
  table[style*="min-width"],
  table {
    min-width: 0 !important;
    width: 100% !important;
  }
  .steps-row {
    grid-template-columns: 1fr !important;
  }
  .steps-row::before {
    display: none;
  }
  .container > *,
  .container-narrow > *,
  section > * {
    max-width: 100% !important;
    box-sizing: border-box;
  }
  .hero-buttons,
  .cta-band-btns {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-buttons .btn,
  .cta-band-btns .btn {
    width: 100%;
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .topbar-inner {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .btn { padding: 12px 20px; font-size: .9rem; }
  .page-hero { padding: 40px 0 32px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* ============================================================
   CONTENT + SIDEBAR LAYOUT
   ============================================================ */
.dc-content-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .dc-content-sidebar {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
