/* ========================================
   FORTIFIED HOME SOLUTIONS — Main Stylesheet
   ======================================== */

:root {
  --green: #1e5c35;
  --green-light: #2d7a49;
  --green-dark: #134026;
  --navy: #1a3a5c;
  --navy-light: #2563a8;
  --aqua: #0e7a8a;
  --aqua-light: #13a3b8;
  --aqua-dark: #095f6d;
  --gold: #c49a3c;
  --bg: #f8f7f4;
  --surface: #ffffff;
  --surface-2: #f2f0ec;
  --text: #1c1a16;
  --text-muted: #6b6860;
  --text-faint: #b0aea8;
  --border: #e0ddd8;
  --shadow-sm: 0 1px 3px rgba(28,26,22,0.08);
  --shadow-md: 0 4px 16px rgba(28,26,22,0.10);
  --shadow-lg: 0 12px 40px rgba(28,26,22,0.14);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Work Sans', sans-serif;
  --transition: 200ms cubic-bezier(0.16,1,0.3,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); line-height: 1.65; overflow-x: hidden; max-width: 100vw; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
input, textarea, select, button { font: inherit; color: inherit; }
h1,h2,h3,h4 { line-height: 1.15; text-wrap: balance; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 3rem);
}

.accent { color: var(--green); }

/* ========== HEADER ========== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0.5rem 0;
  background: linear-gradient(180deg, rgba(210,213,218,0.98) 0%, rgba(188,192,198,0.98) 100%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(140,145,155,0.35);
  transition: border-color var(--transition), box-shadow var(--transition);
  overflow: hidden;
  max-width: 100vw;
}
.header.scrolled {
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.header-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 0 clamp(1rem,3vw,2rem) 0 clamp(0.5rem,1.5vw,1rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand-logo-wrap { position: relative; display: inline-flex; flex-direction: column; align-items: stretch; flex-shrink: 0; }
.brand-logo { height: 80px; width: auto; min-width: 100px; object-fit: contain; display: block; flex-shrink: 0; }
.homepage-flag {
  display: block;
  background: var(--green);
  color: #fff !important;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 5px 8px;
  margin-top: 3px;
  border-radius: 3px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.homepage-flag:hover { background: var(--green-dark) !important; }
.nav { display: flex; align-items: center; gap: 0.5rem; flex-wrap: nowrap; white-space: nowrap; }
.nav a { font-size: 0.72rem; font-weight: 700; color: rgba(15,25,35,0.90); letter-spacing: 0.03em; text-transform: uppercase; transition: color var(--transition); white-space: nowrap; }
.nav a[style*="line-height"] { white-space: normal; text-align: center; }
.nav a:hover { color: #4ecb8d; }
.nav-cta {
  background: var(--green); color: #fff !important;
  padding: 0.5rem 1.25rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.875rem;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--green-dark) !important; }

.nav-estimate-btn {
  display: inline-flex; align-items: center;
  background: var(--green);
  color: #fff !important;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-sm);
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.2s;
  border: 3px solid #4dd8f0;
  box-shadow: 0 0 0 1px rgba(77,216,240,0.15);
}
.nav-estimate-btn:hover { background: var(--green-dark) !important; color: #fff !important; }

.nav-office-line {
  display: inline-flex; flex-direction: column; align-items: center;
  line-height: 1.2; text-decoration: none;
  border: 3px solid #4dd8f0;
  border-radius: var(--radius-sm);
  padding: 0.5rem 1.1rem;
  transition: background 0.2s;
  background: rgba(30,92,53,0.08);
  box-shadow: 0 0 0 1px rgba(77,216,240,0.15);
}
.nav-office-line:hover { background: rgba(30,92,53,0.18); }
.nav-office-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}
.nav-office-number {
  font-size: 1rem;
  font-weight: 900;
  color: var(--green);
  letter-spacing: 0.03em;
}
@keyframes emergency-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220,38,38,0.5); }
  50% { box-shadow: 0 0 0 7px rgba(220,38,38,0); }
}
.nav-emergency {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #dc2626;
  color: #fff !important;
  padding: 0.3rem 1rem 0.3rem 0.3rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: emergency-pulse 1.8s ease-in-out infinite;
  transition: background 0.2s !important;
  white-space: nowrap;
  text-decoration: none !important;
}
.nav-emergency:hover { background: #b91c1c !important; color: #fff !important; }
.ert-badge-img {
  height: 96px;
  width: 96px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
}
.ert-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}
.ert-top {
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.ert-bottom {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  opacity: 0.88;
}
.ert-initial {
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  color: #4dd8f0;
}
.ert-bottom { opacity: 1; }

/* ========== NAV DROPDOWN ========== */
.nav-dropdown { position: relative; }
.nav-drop-toggle { display: flex; align-items: center; gap: 0.3rem; cursor: pointer; }
.nav-drop-toggle svg { transition: transform 0.2s; }
.nav-dropdown.open .nav-drop-toggle { color: var(--green); }
.nav-dropdown.open .nav-drop-toggle svg { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--aqua);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 0.5rem 0;
  padding-top: 0.75rem;
  min-width: 240px;
  opacity: 0; pointer-events: none;
  transform: translateY(0);
  transition: opacity 0.18s ease;
  z-index: 200;
}
/* Bridge the gap so mouse can travel from toggle into menu */
.nav-drop-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.nav-dropdown.open .nav-drop-menu {
  opacity: 1; pointer-events: all; transform: translateY(0);
}
.nav-drop-menu a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem; font-weight: 500;
  color: var(--text-muted) !important; white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.nav-drop-menu a:hover { background: var(--surface-2); color: var(--green) !important; }

/* Services mega-menu — 2-column grid, overrides single-column default */
.services-menu {
  grid-template-columns: 1fr 1fr;
  min-width: 500px;
}
/* When open, show as grid instead of block */
.nav-dropdown.open .services-menu {
  display: grid !important;
}
.services-menu a {
  border-left: 2px solid transparent;
}
.services-menu a:hover {
  border-left-color: var(--green);
}
.nav-active { color: var(--green) !important; font-weight: 700 !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; border: none; background: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }

/* Mobile nav */
.mobile-nav {
  display: flex; flex-direction: column; gap: 0;
  position: fixed; top: 76px; left: 0; right: 0; bottom: 0; z-index: 99;
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 1rem 2rem 1.5rem; box-shadow: var(--shadow-md);
  transform: translateY(-110%); transition: transform 0.3s ease;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  visibility: hidden;
}
.mobile-nav.open { transform: translateY(0); visibility: visible; }
.mobile-nav a { padding: 0.85rem 0; font-weight: 500; border-bottom: 1px solid var(--border); color: var(--text); min-height: 44px; display: flex; align-items: center; }
.mobile-nav a:last-child { border: none; }
/* Mobile nav expandable section */
.mob-section { border-bottom: 1px solid var(--border); }
.mob-section-head {
  width: 100%; background: none; border: none; padding: 0.85rem 0;
  font-size: 1rem; font-weight: 700; color: var(--green); text-align: left;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  min-height: 44px;
}
.mob-chevron { font-size: 1rem; transition: transform 0.2s; }
.mob-section-head.open .mob-chevron { transform: rotate(180deg); }
.mob-section-body { display: none; padding-bottom: 0.5rem; }
.mob-section-body.open { display: flex; flex-direction: column; }
.mob-section-body a { padding: 0.6rem 0 0.6rem 1rem; font-size: 0.88rem; font-weight: 500; border-bottom: none; color: var(--text); min-height: 40px; }

.nav-cta-mobile {
  margin-top: 0.75rem;
  color: #fff !important;
  font-weight: 700;
  border: none !important;
  background: var(--green) !important;
  text-align: center;
  padding: 0.9rem 1.5rem !important;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  display: block;
  min-height: 48px;
}


/* Service card badge */
.svc-tag {
  display: inline-block;
  background: var(--navy, #0a2850);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.85rem;
}

@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .nav-estimate-btn { display: none; }
  .nav-office-line { display: none; }
  .nav-emergency { display: none; }
  .header-inner { overflow: hidden; width: 100%; }
}

/* ========== HERO ========== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 68px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
}
@keyframes kenburns {
  0%   { transform: scale(1.0) translate(0%, 0%); }
  25%  { transform: scale(1.06) translate(-1.5%, 0.5%); }
  50%  { transform: scale(1.1) translate(-0.5%, -1%); }
  75%  { transform: scale(1.06) translate(1%, 0.5%); }
  100% { transform: scale(1.0) translate(0%, 0%); }
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  animation: kenburns 22s ease-in-out infinite;
  transform-origin: center center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,40,80,0.60) 0%, rgba(3,120,160,0.18) 40%, rgba(3,120,160,0.18) 60%, rgba(8,90,130,0.45) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 900px; margin: 0 auto;
  padding: clamp(2rem,8vw,5rem) clamp(1rem,5vw,3rem);
  color: #fff;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(3,167,212,0.25);
  border: 2px solid #03a7d4;
  color: #ffffff;
  font-size: 0.85rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.4rem 1.1rem; border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}
.hero-logo-wrap {
  display: flex; justify-content: center; margin-bottom: 2rem;
}
.hero-logo-shield {
  position: relative;
  display: inline-block;
  isolation: isolate;
}
.hero-logo-shield::before {
  display: none;
}
.hero-logo {
  height: 340px; width: auto; max-width: 90vw;
  position: relative; z-index: 1;
  filter: drop-shadow(0 6px 32px rgba(0,0,0,0.65)) brightness(1.05) saturate(1.05);
  margin-top: 3rem;
  background: transparent;
}
.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 6.5rem);
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-sub {
  font-size: clamp(1rem, 2.4vw, 1.95rem);
  color: #4dd8f0;
  font-weight: 800;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  white-space: normal;
  word-break: break-word;
  text-shadow: 0 2px 6px rgba(0,0,0,0.9), 0 0 30px rgba(77,216,240,0.7), 0 0 8px rgba(255,255,255,0.3);
}
.hero-divider {
  color: #4dd8f0;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0.1em;
  text-shadow: 0 2px 6px rgba(0,0,0,0.9), 0 0 30px rgba(77,216,240,0.7);
}
.hero-premium {
  font-size: clamp(0.85rem, 1.4vw, 1.1rem);
  color: rgba(255,255,255,0.72);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-top: -1.8rem;
  margin-bottom: 2.5rem;
  font-style: italic;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; justify-content: center; }
.hero-single-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: clamp(280px, 70vw, 540px);
  margin: 0 auto;
  font-family: 'Bebas Neue', var(--font-display);
  font-size: clamp(1.25rem, 2.8vw, 1.6rem);
  font-weight: 900;
  padding: 1.1rem 1rem;
  letter-spacing: 0.1em;
  box-sizing: border-box;
  white-space: normal !important;
  text-align: center;
  outline: 3px solid #4dd8f0;
  outline-offset: 3px;
}
/* Badge Row — HBLB + UA SafeState side by side */
.hero-badge-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 0 auto;
  width: 100%;
  max-width: 680px;
}
.hero-badge-row .hero-license-badge,
.hero-badge-row .hero-ua-badge {
  flex: 1 1 280px;
  max-width: 300px;
  min-width: 240px;
  justify-content: center;
}
.hero-ua-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.hero-ua-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 40, 80, 0.72);
  border: 2px solid #4dd8f0;
  border-radius: 12px;
  padding: 0.9rem 1.4rem;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  backdrop-filter: blur(6px);
  width: 100%;
  max-width: 420px;
  box-sizing: border-box;
}
.hero-ua-badge:hover { background: rgba(0,55,110,0.88); border-color: #fff; }
.ua-badge-img {
  width: 160px;
  height: auto;
  border-radius: 8px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.35));
}
.ua-badge-label {
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: #fff;
}

/* HBLB License Badge */
.hero-license-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 40, 80, 0.72);
  border: 2px solid #4dd8f0;
  border-radius: 12px;
  padding: 0.9rem 1.4rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  backdrop-filter: blur(6px);
  max-width: 420px;
  width: 100%;
  box-sizing: border-box;
}
.hero-license-badge:hover {
  background: rgba(0, 55, 110, 0.88);
  border-color: #fff;
}
.hlb-logo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 6px;
}
.hlb-state-caption {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}
.hblb-logo-img {
  height: auto;
  width: 100%;
  max-width: 270px;
  border-radius: 6px;
  display: block;
}
.hlb-logo-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.hlb-abbr {
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.12em;
  line-height: 1;
}
.hlb-full {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
  line-height: 1.3;
}
.hlb-state {
  font-size: 0.68rem;
  color: #4dd8f0;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 700;
}
.hlb-license-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  border-top: 1px solid rgba(77,216,240,0.35);
  padding-top: 0.55rem;
  width: 100%;
  justify-content: center;
}
.hlb-lic-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.hlb-lic-num {
  font-size: 1.05rem;
  font-weight: 900;
  color: #4dd8f0;
  letter-spacing: 0.08em;
}
.hlb-verify {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.55);
  margin-left: 0;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-credentials {
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1rem;
  padding: 0.65rem 1.5rem;
  background: rgba(196,154,60,0.25);
  border: 1.5px solid rgba(196,154,60,0.7);
  border-radius: 100px;
}
.hero-credentials span {
  font-size: 0.85rem; font-weight: 700; color: #fff;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.hero-credentials span:last-child {
  color: #f5c842; font-style: normal;
}
.cred-divider { color: rgba(255,255,255,0.5) !important; font-style: normal !important; }
.cred-est {
  color: #f5c842 !important;
  font-style: normal !important;
  font-weight: 900 !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.06em !important;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7) !important;
}
.hero-phone {
  display: flex; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.7); font-size: 0.9rem; font-weight: 500;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.75rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.9rem; letter-spacing: 0.02em;
  cursor: pointer; border: 2px solid transparent;
  transition: all var(--transition); text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.35); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,0.22); }
.btn-white { background: #fff; color: var(--green); border-color: #fff; }
.btn-white:hover { background: #f0f0f0; }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }
.btn-full { width: 100%; justify-content: center; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8rem; }

/* ========== TRUST BAR ========== */
.trust-bar {
  background: linear-gradient(90deg, var(--navy) 0%, var(--aqua-dark) 50%, var(--navy) 100%);
  padding: 1.25rem 0;
}
.trust-bar-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 clamp(1rem,5vw,3rem);
  display: flex; align-items: center; justify-content: center;
  gap: 1.5rem; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 0.6rem;
  color: rgba(255,255,255,0.85); font-size: 0.85rem; font-weight: 500;
  white-space: nowrap;
}
.trust-item svg { color: var(--aqua-light); flex-shrink: 0; }
.trust-divider { width: 1px; height: 28px; background: rgba(255,255,255,0.2); }
@media (max-width: 600px) { .trust-divider { display: none; } }

/* ========== SECTION SHARED ========== */
.section-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--aqua); margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1rem; color: var(--text-muted);
  max-width: 640px; line-height: 1.7;
  margin-bottom: 3rem;
}

/* ========== SERVICES ========== */
.services {
  padding: clamp(4rem,8vw,7rem) 0;
  background: var(--bg);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .service-card.featured {
    grid-column: span 1;
  }
}
@media (min-width: 1280px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  scroll-margin-top: 90px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease, opacity 0.4s ease;
  opacity: 1;
  transform: translateY(0);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}
/* Animate-in when JS adds .animate class to the grid */
.services-grid.animate-cards .service-card {
  opacity: 0;
  transform: translateY(20px);
}
.services-grid.animate-cards .service-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.service-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 40px rgba(3,167,212,0.18);
  border-color: var(--aqua);
  background: linear-gradient(135deg, #eaf7fb 0%, #d0eff6 100%);
}
.service-card.featured {
  border-color: var(--border);
  background: var(--surface);
}
.service-card.featured:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 40px rgba(3,167,212,0.22);
  border-color: var(--aqua);
  background: linear-gradient(135deg, #d0eff6 0%, #b8e8f4 100%);
}
.service-card.nav-highlighted {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 40px rgba(3,167,212,0.22);
  border-color: var(--aqua);
  background: linear-gradient(135deg, #eaf7fb 0%, #d0eff6 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
/* Featured cards — green frame matching our-work page */
.service-card.green-framed {
  border: 3px solid #01696F;
  box-shadow: 0 0 0 1px rgba(1,105,111,0.12), 0 4px 18px rgba(1,105,111,0.14);
}
/* Hero top cards — shingle & metal */
.service-card.svc-hero {
  grid-column: span 2;
}
.service-card.svc-hero .svc-inner {
  height: 420px;
}
/* svc-bottom kept for legacy — no longer used */
@media (min-width: 900px) {
  .service-card.svc-hero { grid-column: span 2; }
  .service-card.svc-hero .svc-inner { height: 440px; }
}
@media (min-width: 1280px) {
  .service-card.svc-hero { grid-column: span 2; }
  .service-card.svc-hero .svc-inner { height: 460px; }
}
.service-card.green-framed:hover {
  border-color: #01696F;
  box-shadow: 0 8px 32px rgba(1,105,111,0.22);
}
.service-tag {
  display: inline-block;
  background: var(--navy); color: #fff;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.2rem 0.65rem; border-radius: 100px;
  margin-bottom: 1rem;
}
.service-icon-wrap {
  width: 64px; height: 64px; margin-bottom: 1.25rem;
}
.service-icon { width: 100%; height: 100%; }
.service-division-sub {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aqua-light);
  margin-top: -0.5rem;
  margin-bottom: 0.75rem;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  letter-spacing: 0.02em;
  color: var(--navy); margin-bottom: 0.75rem;
}
.service-card p:not(.service-division-sub) {
  font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 1.25rem;
  min-height: calc(0.9rem * 1.65 * 5);
}
.service-list {
  margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0.4rem;
  flex: 1;
}
.service-list li {
  font-size: 0.85rem; color: var(--text-muted);
  padding-left: 1.2rem; position: relative;
}
.service-list li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--green); font-weight: 700; font-size: 0.8rem;
}
.service-link {
  font-size: 0.85rem; font-weight: 700; color: var(--green);
  letter-spacing: 0.02em;
  transition: gap var(--transition);
}
.service-link:hover { color: var(--green-dark); }

/* ========== WHY SECTION ========== */
.why-section {
  background: var(--surface-2);
  padding: clamp(4rem,8vw,7rem) 0;
}
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
@media (max-width: 768px) { .why-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.why-text p { color: var(--text-muted); margin-bottom: 2rem; max-width: 460px; }
.why-stats { display: flex; gap: 2.5rem; margin-bottom: 2.5rem; }
.stat { opacity: 0; transform: translateY(12px); transition: all 0.4s ease; }
.stat.visible { opacity: 1; transform: translateY(0); }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--green); letter-spacing: 0.02em; line-height: 1;
}
.stat-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; margin-top: 0.25rem; text-transform: uppercase; letter-spacing: 0.08em; }
.why-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
@media (max-width: 600px) { .why-visual { grid-template-columns: 1fr; } }
.why-card {
  display: flex; align-items: flex-start; gap: 0.9rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1.1rem 1.15rem;
  opacity: 0; transform: translateX(20px);
  transition: all 0.4s ease;
}
.why-card.visible { opacity: 1; transform: translateX(0); }
.why-card:hover { border-color: var(--aqua); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.why-card-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: rgba(1,105,111,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
}
.why-card-icon svg { width: 18px; height: 18px; stroke: currentColor; }
.why-card-text { display: flex; flex-direction: column; gap: 0.2rem; }
.why-card-text strong { font-size: 0.88rem; font-weight: 700; color: var(--text); line-height: 1.3; }
.why-card-text span { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }

/* ========== CTA BAND ========== */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--aqua-dark) 40%, var(--green-dark) 100%);
  padding: 3.5rem 0;
}
.cta-band-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.cta-band-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: #fff; letter-spacing: 0.02em;
}
.cta-band-text p { color: rgba(255,255,255,0.75); font-size: 1rem; margin-top: 0.35rem; }
.cta-band-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ========== CONTACT ========== */
.contact-section {
  padding: clamp(4rem,8vw,7rem) 0;
  background: var(--bg);
}
.contact-section .section-sub a { font-weight: 600; }
.contact-grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: start;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.04em; }
.form-group input, .form-group select, .form-group textarea {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 0.75rem 1rem; font-size: 0.95rem; background: var(--surface);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(30,92,53,0.12);
}
.contact-info-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  display: flex; flex-direction: column; gap: 1.5rem;
}
.contact-info-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem; letter-spacing: 0.02em; color: var(--navy);
  padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}
.contact-detail {
  display: flex; align-items: flex-start; gap: 0.85rem;
}
.contact-detail svg { color: var(--green); flex-shrink: 0; margin-top: 2px; }
.contact-detail > div { display: flex; flex-direction: column; gap: 0.2rem; }
.contact-detail strong { font-size: 0.82rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.contact-detail a, .contact-detail span { font-size: 0.95rem; color: var(--text); }
.contact-detail a:hover { color: var(--green); }
.emergency-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--aqua-dark) 100%);
  border-radius: var(--radius-md); padding: 1.25rem;
  color: #fff; display: flex; flex-direction: column; gap: 0.5rem;
}
.emergency-box strong { font-size: 0.95rem; }
.emergency-box p { font-size: 0.82rem; color: rgba(255,255,255,0.75); }

/* ========== FOOTER ========== */
.footer {
  background: var(--text); color: rgba(255,255,255,0.7);
  padding: clamp(3rem,6vw,5rem) 0 0;
}
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem;
}
@media (max-width: 640px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
.footer-logo { height: 72px; width: auto; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.footer-addr { margin-top: 0.5rem; font-size: 0.8rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links strong { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); margin-bottom: 0.25rem; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem clamp(1rem,5vw,3rem);
  text-align: center;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.35); }


/* ── FLIP SERVICE CARDS ── */
.service-card {
  perspective: 1000px;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  cursor: pointer;
}
.service-card:hover { transform: none !important; box-shadow: none !important; }
.svc-inner {
  position: relative;
  width: 100%;
  height: 360px;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.4,0.2,0.2,1);
  border-radius: 14px;
}
.service-card:hover .svc-inner {
  transform: rotateY(180deg);
}
/* Service-page content must grow with its text, unlike the homepage flip cards. */
.page-hero > .svc-inner,
.svc-section > .svc-inner,
.cta-band > .svc-inner {
  height: auto;
  transform-style: flat;
  transition: none;
}
/* FRONT */
.svc-front, .svc-back {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}
.svc-front {
  background: #0a2850;
}
.svc-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: 14px;
}
/* Cedar shake split — two photos side by side */
.cedar-split {
  position: absolute;
  inset: 0;
  display: flex;
  border-radius: 14px;
  overflow: hidden;
}
.cedar-half {
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Coatings card — anchor photo to top so coating application is visible */
#svc-coatings .svc-photo {
  object-position: center 30%;
}
.svc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,40,80,0.88) 0%, rgba(10,40,80,0.35) 55%, transparent 100%);
  border-radius: 14px;
}
.svc-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.25rem 1.25rem 1rem;
}
.svc-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: #fff;
  letter-spacing: 0.03em;
  margin: 0.4rem 0 0;
  line-height: 1.15;
}
.svc-sub { display: none; }
.svc-cta { display: none; }
/* BACK */
.svc-back {
  background: #fff;
  border: 2px solid #01696F;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.4rem 1.1rem;
}
.svc-back-tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #01696F;
  margin-bottom: 0.5rem;
}
.svc-back h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #0a2850;
  letter-spacing: 0.02em;
  margin: 0 0 0.75rem;
  line-height: 1.15;
}
.svc-back ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
  overflow: hidden;
}
.svc-back ul li {
  font-size: 0.8rem;
  color: #28251D;
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.4;
}
.svc-back ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #01696F;
  font-weight: 900;
  font-size: 0.75rem;
}
.svc-back ul li strong {
  color: #0a2850;
  font-weight: 700;
}
.svc-back-cta {
  display: inline-block;
  margin-top: 0.85rem;
  background: #01696F;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s;
}
.svc-back-cta:hover { background: #0C4E54; }

/* ========== OLD CREEK TRAIL PROJECT GALLERY ========== */
.project-gallery-section {
  background: #f0efea;
  padding: 5rem 0 4rem;
  border-top: 1px solid #dddad3;
  border-bottom: 1px solid #dddad3;
}
.project-gallery-section .section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
}
.project-gallery-section .section-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.5rem;
}
.project-gallery-section .section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--charcoal);
  line-height: 1.1;
  margin-bottom: 0.9rem;
}
.project-gallery-section .section-sub {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  max-width: 780px;
  margin-bottom: 2.5rem;
}

/* Phase labels */
.gallery-phase-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  margin-top: 2rem;
}
.gallery-phase-label::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}
.gallery-label-before {
  background: rgba(185, 28, 28, 0.1);
  color: #b91c1c;
  border: 1px solid rgba(185, 28, 28, 0.25);
}
.gallery-label-during {
  background: rgba(180, 120, 0, 0.1);
  color: #92610a;
  border: 1px solid rgba(180, 120, 0, 0.25);
}
.gallery-label-after {
  background: rgba(4, 120, 87, 0.1);
  color: #047857;
  border: 1px solid rgba(4, 120, 87, 0.25);
}

/* Gallery grids */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.85rem;
  margin-bottom: 0.5rem;
}
.gallery-grid-single {
  grid-template-columns: 1fr;
  max-width: 820px;
}

/* Gallery items */
.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #1a1a1a;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  aspect-ratio: 4/3;
}
.gallery-item.gi-tall {
  grid-row: span 2;
  aspect-ratio: unset;
}
.gallery-item.gi-wide {
  aspect-ratio: 16/9;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.gallery-item:hover img {
  transform: scale(1.04);
}
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.45;
  padding: 1.4rem 0.9rem 0.75rem;
  font-weight: 500;
}

/* CTA row */
.gallery-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 1.6rem 2rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #dddad3;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.gallery-cta-row p {
  font-size: 1rem;
  color: var(--charcoal);
  margin: 0;
}
.gallery-cta-btn {
  display: inline-block;
  background: var(--green);
  color: #fff !important;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
  letter-spacing: 0.03em;
}
.gallery-cta-btn:hover { background: #015a5f; }

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.gi-tall { grid-row: span 1; aspect-ratio: 4/3; }
  .gallery-cta-row { flex-direction: column; align-items: flex-start; }
}

/* ========== HOW IT WORKS ========== */
.hiw-section {
  background: var(--charcoal);
  padding: 5rem 0;
}
.hiw-section .section-label { color: var(--aqua-light); }
.hiw-section .section-title { color: #fff; }
.hiw-section .section-sub { color: rgba(20,28,38,0.92); }
.hiw-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
  margin-top: 3rem;
}
.hiw-connector {
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, var(--green), var(--aqua));
  margin: 3.5rem auto 0;
  opacity: 0.5;
  display: none;
}
.hiw-step {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  text-align: center;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}
.hiw-step:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(1,105,111,0.5);
}
.hiw-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--green);
  opacity: 0.85;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.hiw-icon {
  width: 52px; height: 52px;
  background: rgba(1,105,111,0.15);
  border: 1px solid rgba(1,105,111,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.1rem;
  color: var(--aqua-light);
}
.hiw-icon svg { width: 22px; height: 22px; }
.hiw-step h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}
.hiw-step p {
  font-size: 0.88rem;
  color: rgba(20,28,38,0.92);
  line-height: 1.7;
  margin: 0;
}
/* Horizontal arrows between steps */
.hiw-steps > .hiw-connector {
  display: block;
  width: 40px; height: 2px;
  background: linear-gradient(to right, var(--green), var(--aqua));
  margin: 3rem 0 0;
  opacity: 0.75;
  align-self: start;
}
@media (max-width: 900px) {
  .hiw-steps {
    grid-template-columns: 1fr;
    max-width: 520px; margin-left: auto; margin-right: auto;
    gap: 1rem;
  }
  .hiw-connector { display: none !important; }
}

/* ========== FAQ ========== */
.faq-section {
  background: #f0efea;
  padding: 5rem 0;
  border-bottom: 1px solid #dddad3;
}
.faq-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 5rem;
  align-items: start;
}
@media (max-width: 860px) {
  .faq-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
.faq-left .section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.faq-left p { font-size: 0.95rem; color: #555; line-height: 1.7; }
.faq-item {
  border-bottom: 1px solid #dddad3;
}
.faq-item:first-child { border-top: 1px solid #dddad3; }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: none; border: none; cursor: pointer;
  font-size: 0.95rem; font-weight: 600; color: var(--charcoal);
  text-align: left;
  padding: 1.15rem 0;
  line-height: 1.4;
  font-family: inherit;
}
.faq-q:hover { color: var(--green); }
.faq-chevron {
  width: 18px; height: 18px;
  flex-shrink: 0;
  stroke: var(--green);
  transition: transform 0.25s ease;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.75;
  padding-bottom: 1.15rem;
  display: none;
}
.faq-item.open .faq-a { display: block; }

/* ========== REPAIR VS. REPLACEMENT ========== */
/* ════ ROOF DECISION GUIDE — ACCORDION ════ */
.rvr-section {
  background: var(--surface);
  padding: 5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.rvr-header { text-align: center; max-width: 680px; margin: 0 auto 2.5rem; }
.rvr-header .section-title { margin-bottom: 0.75rem; }

/* Accordion container */
.rvr-accordion { max-width: 1100px; margin: 0 auto 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; align-items: start; }

/* Each card */
.rvr-card {
  border: 1.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.rvr-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.09); border-color: #c5c2bb; }

/* Header row — always visible */
.rvr-card-header {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  user-select: none;
}
.rvr-card-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.rvr-card-title {
  flex: 1;
  display: flex; flex-direction: column; gap: 0.15rem;
}
.rvr-card-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted);
}
.rvr-card-title strong {
  font-family: var(--font-display);
  font-size: 1.05rem; color: var(--navy); font-weight: 700;
}
.rvr-chevron {
  flex-shrink: 0; color: var(--text-muted);
  transition: transform 0.3s ease;
}
.rvr-card.open .rvr-chevron { transform: rotate(180deg); }

/* Body — hidden by default, expands on hover/open */
.rvr-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s ease;
  padding: 0 1.4rem;
}
.rvr-card:hover .rvr-card-body,
.rvr-card.open .rvr-card-body {
  max-height: 600px;
  padding: 0 1.4rem 1.4rem;
}

/* List inside body */
.rvr-list { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-direction: column; gap: 0.6rem; }
.rvr-list li { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.91rem; color: var(--charcoal); line-height: 1.5; }
.rvr-list li svg { flex-shrink: 0; margin-top: 2px; }

/* Note box */
.rvr-note {
  display: flex; align-items: flex-start; gap: 0.5rem;
  background: var(--surface-2); border-radius: 8px;
  padding: 0.8rem 1rem;
  font-size: 0.83rem; color: var(--text-muted); line-height: 1.6;
  border-left: 3px solid var(--green);
}
.rvr-note svg { flex-shrink: 0; margin-top: 1px; }

/* CTA strip */
.rvr-cta {
  text-align: center;
  display: flex; flex-direction: row; flex-wrap: wrap;
  align-items: center; justify-content: center; gap: 1rem;
}
.rvr-cta p { font-size: 0.95rem; color: var(--text-muted); margin: 0; width: 100%; }

@media (max-width: 860px) {
  .rvr-accordion { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .rvr-card-header { padding: 1rem 1.1rem; }
  .rvr-card-title strong { font-size: 0.95rem; }
  .rvr-card-body { padding: 0 1.1rem; }
  .rvr-card:hover .rvr-card-body, .rvr-card.open .rvr-card-body { padding: 0 1.1rem 1.1rem; }
}

/* ========== BBB BADGE ========== */

/* ── Trust bar: badge-only, no text, bigger shield ── */
.trust-item-bbb { padding: 0 0.25rem; }
.bbb-trust-link {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none; color: inherit;
  transition: opacity 0.2s;
}
.bbb-trust-link:hover { opacity: 0.82; }
.bbb-trust-img {
  width: 58px; height: 58px; object-fit: contain; flex-shrink: 0;
  drop-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.bbb-trust-text {
  display: flex; flex-direction: column; line-height: 1.25;
}
.bbb-trust-text strong {
  font-size: 0.92rem; font-weight: 800; color: var(--navy);
  letter-spacing: 0.01em;
}
.bbb-trust-text em {
  font-size: 0.78rem; font-style: normal;
  color: #1d4ed8; font-weight: 700; letter-spacing: 0.04em;
}

/* ── Contact card: prominent blue block ── */
.bbb-contact-block {
  border-top: 1px solid var(--border);
  padding-top: 1rem; margin-top: 0.5rem; margin-bottom: 1.25rem;
}
.bbb-contact-link {
  display: flex; align-items: center; gap: 1rem;
  text-decoration: none; color: inherit;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1.5px solid #93c5fd;
  border-radius: 12px; padding: 1rem 1.25rem;
  transition: box-shadow 0.2s, border-color 0.2s;
  box-shadow: 0 2px 8px rgba(29,78,216,0.08);
}
.bbb-contact-link:hover {
  border-color: #3b82f6;
  box-shadow: 0 4px 16px rgba(29,78,216,0.15);
}
.bbb-contact-img {
  width: 64px; height: 64px; object-fit: contain; flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
.bbb-contact-text { display: flex; flex-direction: column; line-height: 1.35; }
.bbb-contact-text strong {
  font-size: 0.98rem; font-weight: 800; color: #1e3a8a;
  letter-spacing: 0.01em;
}
.bbb-contact-text span { font-size: 0.8rem; color: #2563eb; font-weight: 600; margin-top: 0.1rem; }

/* ── Footer: clean white badge with label ── */
.footer-bbb-link {
  display: inline-flex; align-items: center; gap: 0.65rem;
  text-decoration: none;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  margin-top: 1.1rem;
  transition: background 0.2s, border-color 0.2s;
}
.footer-bbb-link:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.35);
}
.footer-bbb-img {
  width: 46px; height: 46px; object-fit: contain; flex-shrink: 0;
  filter: brightness(0) invert(1);
}
.footer-bbb-link span {
  display: flex; flex-direction: column; line-height: 1.2;
  color: rgba(255,255,255,0.9);
}
.footer-bbb-link span strong {
  font-size: 0.82rem; font-weight: 800; color: #fff;
  letter-spacing: 0.02em;
}
.footer-bbb-link span em {
  font-size: 0.7rem; font-style: normal;
  color: rgba(255,255,255,0.65); font-weight: 600;
}

/* ========== CITIES WE SERVE ========== */
.cities-section {
  background: #f7f6f2;
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}
.cities-header {
  text-align: center;
  margin-bottom: 3rem;
}
.cities-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.cities-header p {
  font-size: 1.05rem;
  color: #4b5563;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Side-by-side layout: map left, cities right */
.cities-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 860px) {
  .cities-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
  }
}

/* Map side */
.cities-map {
  border-radius: 16px;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}
.cities-map .map-placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0;
  max-width: 100%;
}
.cities-map .map-box {
  flex: 1;
  width: 100%;
  min-height: 420px;
  border-radius: 14px;
  background: linear-gradient(135deg, #dbeafe 0%, #e0f2fe 50%, #d1fae5 100%);
  border: 2px dashed #93c5fd;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2.5rem;
  text-align: center;
}
.cities-map .map-box h3 { color: #0a2850; font-size: 1.2rem; font-weight: 800; margin: 0; }
.cities-map .map-box p  { color: #4b5563; font-size: 0.9rem; margin: 0; max-width: 280px; }
.map-note { font-size: 0.78rem; color: #6b7280; margin-top: 0.5rem; }

/* Standalone map-placeholder used inside .cities-map on homepage */
.cities-map > .map-placeholder {
  height: 100%;
  min-height: 420px;
  background: linear-gradient(135deg, #dbeafe 0%, #e0f2fe 50%, #d1fae5 100%);
  border: 2px dashed #93c5fd;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2.5rem;
  text-align: center;
}
.cities-map > .map-placeholder strong { font-size: 1.1rem; color: #0a2850; font-weight: 800; }
.cities-map > .map-placeholder span  { font-size: 0.88rem; color: #4b5563; }

/* City list side */
.cities-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.cities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem 0.6rem;
}
@media (min-width: 480px) {
  .cities-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .cities-grid { grid-template-columns: repeat(4, 1fr); }
}
.city-link {
  display: block;
  padding: 0.45rem 0.75rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e3a5f;
  text-decoration: none;
  text-align: center;
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.city-link:hover {
  background: #01696F;
  border-color: #01696F;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(1,105,111,0.2);
}
.cities-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  text-decoration: none;
  letter-spacing: 0.03em;
  align-self: flex-start;
  transition: background 0.2s, transform 0.15s;
}
.cities-all-btn:hover {
  background: #01696F;
  transform: translateY(-2px);
}

/* ========== BBB BADGE — HERO ========== */
.hero-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}
.hero-bbb-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
}
.hero-bbb-badge:hover {
  transform: translateY(-3px) scale(1.04);
  opacity: 0.92;
}
.hero-bbb-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}
.hero-bbb-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
  text-align: center;
}
.hero-bbb-label strong {
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.hero-bbb-label em {
  font-size: 0.72rem;
  font-style: normal;
  color: #ffd700;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
@media (max-width: 600px) {
  .hero-bbb-img { width: 72px; height: 72px; }
  .hero-logo-wrap { gap: 1rem; }
}

/* ========== GOOGLE REVIEWS BADGE — HERO ========== */
.hero-google-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.35));
}
.hero-google-badge:hover {
  transform: translateY(-3px) scale(1.04);
  opacity: 0.92;
}
.hero-google-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}
.hero-google-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
  text-align: center;
}
.hero-google-label strong {
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.hero-google-label em {
  font-size: 0.72rem;
  font-style: normal;
  color: #ffd700;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
@media (max-width: 600px) {
  .hero-google-img { width: 72px; height: 72px; }
}

/* ========== SEE OUR WORK BANNER ========== */
.see-our-work-banner {
  background: #0a2850;
  padding: 0;
  overflow: hidden;
}
.sowb-inner {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .sowb-inner {
    grid-template-columns: 1fr 1fr;
    min-height: 340px;
  }
}
.sowb-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  overflow: hidden;
}
.sowb-photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
@media (min-width: 860px) {
  .sowb-photo { height: 100%; min-height: 340px; }
}
.sowb-photos:hover .sowb-photo { transform: scale(1.03); }
.sowb-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 2.5rem;
  gap: 1rem;
}
.sowb-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4dd8f0;
}
.sowb-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #fff;
  line-height: 1.05;
  margin: 0;
}
.sowb-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  max-width: 420px;
  margin: 0;
}
.sowb-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #01696F;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.9rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  letter-spacing: 0.03em;
  align-self: flex-start;
  margin-top: 0.5rem;
  transition: background 0.2s, transform 0.15s;
}
.sowb-btn:hover {
  background: #0e7a8a;
  transform: translateY(-2px);
}

/* ========== ESTIMATE FORM SECTION ========== */
.estimate-section {
  background: #f7f8fa;
  padding: clamp(3rem,6vw,5rem) 0;
  border-top: 3px solid var(--green);
}
.estimate-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 clamp(1rem,4vw,2rem);
}
.estimate-header { text-align: center; margin-bottom: 2.5rem; }
.estimate-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem,3.5vw,2.6rem);
  color: var(--text);
  margin-bottom: 0.75rem;
}
.estimate-sub { color: var(--text-muted); font-size: 1rem; line-height: 1.7; }

.estimate-form {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
  padding: clamp(1.5rem,4vw,2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group-full { grid-column: 1 / -1; }
.form-group label, .photo-section-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.03em;
}
.req { color: #dc2626; }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid #d1d5db;
  border-radius: 6px;
  padding: 0.65rem 0.9rem;
  font-size: 0.95rem;
  color: var(--text);
  background: #fafafa;
  transition: border 0.2s;
  font-family: var(--font-body);
  width: 100%;
  box-sizing: border-box;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 110px; }

/* Photo uploads */
.photo-section-label { margin-bottom: 0.75rem; display: block; }
.photo-upload-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 560px) {
  .photo-upload-grid { grid-template-columns: repeat(2, 1fr); }
}
.photo-slot { display: flex; flex-direction: column; gap: 0.35rem; }
.photo-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.02em;
  text-align: center;
}
.photo-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  padding: 1rem 0.5rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: #f9fafb;
  min-height: 90px;
  color: #9ca3af;
}
.photo-drop:hover { border-color: var(--green); background: #f0faf4; color: var(--green); }
.photo-drop.has-file { border-color: var(--green); background: #f0faf4; }
.photo-input { display: none; }
.photo-drop-text { font-size: 0.75rem; font-weight: 600; text-align: center; }
.photo-filename {
  font-size: 0.7rem;
  color: var(--green);
  text-align: center;
  word-break: break-all;
  min-height: 1rem;
}

/* Submit */
.form-submit-row { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; margin-top: 0.5rem; }
.estimate-submit-btn { font-size: 1.05rem; padding: 0.9rem 2.5rem; width: 100%; max-width: 380px; }
.form-note { font-size: 0.8rem; color: var(--text-muted); text-align: center; margin: 0; }

/* Success state */
.estimate-success {
  text-align: center;
  padding: 3rem 1rem;
}
.success-icon {
  width: 64px; height: 64px;
  background: var(--green);
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.estimate-success h3 { font-size: 1.8rem; margin-bottom: 0.75rem; }
.estimate-success p { color: var(--text-muted); line-height: 1.7; }

/* Projects page — coming soon grid */
.coming-soon-grid {
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  background: var(--surface);
  border-radius: 10px;
  border: 2px dashed var(--border);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.coming-soon-grid p { margin: 0; }

/* ===== NARROW MOBILE FIXES (375px) ===== */
@media (max-width: 768px) {
  /* Hide side badges — logo only on mobile */
  .hero-google-badge { display: none; }
  .hero-bbb-badge { display: none; }
  /* Logo fills width */
  .hero-logo { height: auto; width: 72vw; max-width: 260px; margin-top: 1rem; }
  .hero-logo-wrap { max-width: 100%; gap: 0; justify-content: center; }
  /* Tighten text */
  .hero-content { padding: 1rem 1rem 1.5rem; }
  .hero-heading { font-size: clamp(1.8rem, 8vw, 3rem); }
  .hero-sub { font-size: clamp(0.7rem, 3.5vw, 0.95rem); letter-spacing: 0.18em; }
  /* Badge row stacks */
  .hero-badge-row { flex-direction: column; align-items: center; gap: 1rem; }
  /* Credentials wrap */
  .hero-credentials { flex-wrap: wrap; justify-content: center; font-size: 0.78rem; }
}

@media (max-width: 420px) {
  /* Hero logo — shrink at very narrow widths */
  .hero-logo { height: auto; width: 70vw; max-width: 240px; }
  .hero-logo-wrap { gap: 0.5rem; }
  .hero-bbb-img { width: 60px; height: 60px; }
  .hero-google-img { width: 60px; height: auto; }

  /* Tagline text — prevent overflow */
  .hero-tagline {
    font-size: clamp(0.72rem, 3.5vw, 1.1rem) !important;
    letter-spacing: 0.18em !important;
    white-space: normal !important;
    text-align: center;
  }

  /* Story jump nav — make sure it scrolls horizontally */
  .story-jumpnav-inner {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap !important;
  }
}
