/* ==========================================================================
   BRIDGEWATER ROOFER — SECTION SPECIFIC STYLES
   ========================================================================== */

/* ==========================================================================
   SECTION 1: IMMERSIVE HERO (Dark Navy)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: clamp(750px, 92vh, 960px);
  background-color: var(--navy-950);
  background-image: 
    radial-gradient(circle at 75% 30%, rgba(244, 122, 36, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 20% 60%, rgba(16, 36, 51, 0.9) 0%, transparent 60%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--white);
  padding-top: clamp(8.5rem, 14vh, 11rem);
  padding-bottom: clamp(6rem, 10vw, 8rem);
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Background Depth Layers */
.hero-bg-blueprint {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
  pointer-events: none;
  z-index: 1;
}

.hero-bg-geometry {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.2;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 3.5vw, 3.5rem);
  position: relative;
  z-index: 5;
}

/* Hero Left Content */
.hero-content {
  max-width: 640px;
}

.hero-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(255, 176, 32, 0.1);
  border: 1px solid rgba(255, 176, 32, 0.25);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  margin-bottom: 1.25rem;
}

.hero-location-badge svg {
  color: var(--orange);
}

.hero-title {
  font-size: clamp(2.35rem, 4.4vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 1.35rem;
}

.hero-title .title-highlight {
  position: relative;
  display: inline-block;
  color: var(--white);
  background: linear-gradient(135deg, #FFFFFF 30%, #FFA35C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .title-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 3.5px;
  background: linear-gradient(90deg, var(--orange), rgba(244, 122, 36, 0.2));
  border-radius: 2px;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.25vw, 1.25rem);
  line-height: 1.65;
  color: var(--slate-300);
  margin-bottom: 2rem;
  max-width: 580px;
}

/* Hero CTA Group */
.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.15rem;
  margin-bottom: 2rem;
}

.hero-phone-cta {
  font-size: 1.15rem;
  padding: 1.1rem 2.25rem;
}

.hero-estimate-cta {
  font-size: 1.05rem;
  padding: 1.1rem 1.75rem;
}

/* Hero Micro Trust Row */
.hero-trust-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: var(--slate-300);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.trust-item svg {
  color: var(--green);
  flex-shrink: 0;
}

/* Hero Right 3D Visual */
.hero-visual-wrapper {
  position: relative;
  perspective: 1200px;
  display: flex;
  justify-content: center;
}

.hero-architectural-stage {
  position: relative;
  width: 100%;
  max-width: 580px;
  transform-style: preserve-3d;
  transition: transform 0.2s cubic-bezier(0.1, 0.9, 0.2, 1);
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 40px var(--orange-glow);
  border: 2px solid rgba(255, 255, 255, 0.18);
  background: var(--navy-900);
}

.hero-image-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 19, 31, 0.85) 100%);
  pointer-events: none;
}

/* Floating Architectural Depth Cards */
.hero-float-card {
  position: absolute;
  background: rgba(16, 36, 51, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
  transform-style: preserve-3d;
  pointer-events: none;
  animation: floatSubtle 6s ease-in-out infinite alternate;
}

.float-card-1 {
  top: 10%;
  left: -12px;
  animation-delay: 0s;
}

.float-card-2 {
  bottom: 14%;
  right: -12px;
  animation-delay: 1.5s;
}

.float-card-3 {
  bottom: -15px;
  left: 12%;
  animation-delay: 3s;
}

.float-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(244, 122, 36, 0.2);
  border: 1px solid rgba(244, 122, 36, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
}

.float-text h5 {
  font-size: 0.95rem;
  color: var(--white);
  margin: 0;
}

.float-text span {
  font-size: 0.75rem;
  color: var(--slate-400);
}

@keyframes floatSubtle {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-10px) rotate(1deg); }
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--slate-400);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 6;
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

.hero-scroll-indicator:hover {
  color: var(--orange);
}

.scroll-mouse-anim {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.scroll-wheel {
  width: 4px;
  height: 7px;
  background: var(--orange);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ==========================================================================
   SECTION 2: EMERGENCY / PROBLEM STRIP (Floating Overlap)
   ========================================================================== */
.emergency-strip-section {
  position: relative;
  z-index: 20;
  margin-top: 1.5rem;
  padding-bottom: 2rem;
}

.emergency-strip-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 45px rgba(7, 19, 31, 0.16);
  border: 1px solid var(--border-light);
  border-left: 6px solid var(--orange);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.emergency-strip-icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.problem-mini-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.85rem;
  background: var(--off-white);
  border: 1px solid var(--soft-gray);
  border-radius: var(--radius-sm);
  color: var(--slate-700);
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 80px;
}

.problem-mini-pill svg {
  color: var(--orange);
}

.emergency-strip-text h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  color: var(--navy-950);
  margin-bottom: 0.35rem;
}

.emergency-strip-text p {
  font-size: 0.95rem;
  color: var(--slate-600);
  margin-bottom: 0;
}

.emergency-strip-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

/* ==========================================================================
   SECTION 3: TRUST / CREDIBILITY BAR (Light)
   ========================================================================== */
.trust-bar-section {
  padding: var(--section-pad-y-compact) 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}

.trust-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.trust-card {
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease, border-color var(--duration-fast) ease;
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(244, 122, 36, 0.4);
}

.trust-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
}

.trust-card h4 {
  font-size: 1.05rem;
  color: var(--navy-900);
  margin-bottom: 0.35rem;
}

.trust-card p {
  font-size: 0.8125rem;
  color: var(--slate-500);
  line-height: 1.4;
  margin-bottom: 0;
}

/* ==========================================================================
   SECTION 4: ROOFING SERVICES (Off-White)
   ========================================================================== */
.services-section {
  padding: var(--section-pad-y) 0;
  background-color: var(--off-white);
  position: relative;
  scroll-margin-top: 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color var(--duration-normal) ease, box-shadow var(--duration-normal) ease;
}

.service-card:hover {
  border-color: rgba(244, 122, 36, 0.5);
  box-shadow: 0 16px 36px rgba(7, 19, 31, 0.12), 0 0 20px var(--orange-glow);
}

.service-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--navy-900);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-media img {
  transform: scale(1.04);
}

.service-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(7, 19, 31, 0.85);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.service-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.service-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--orange-light);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-card-body h3 {
  font-size: 1.35rem;
  color: var(--navy-950);
}

.service-card-body p {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--soft-gray);
  margin-top: auto;
}

/* ==========================================================================
   SECTION 5: INTERACTIVE ROOF PROBLEM DIAGNOSIS (Dark Navy)
   ========================================================================== */
.diagnosis-section {
  padding: var(--section-pad-y) 0;
  background: radial-gradient(circle at 80% 20%, rgba(244, 122, 36, 0.08) 0%, transparent 40%),
              linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.diagnosis-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3rem;
  align-items: center;
}

/* Left: Interactive Roof Schematic Diagram */
.diagnosis-diagram-container {
  position: relative;
  background: rgba(16, 36, 51, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.diagnosis-diagram-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Pulsing Interactive Hotspots */
.roof-hotspot {
  cursor: pointer;
  outline: none;
  transition: transform var(--duration-fast) ease;
}

.roof-hotspot circle.hotspot-pulse {
  animation: hotspotWave 2.5s infinite;
  transform-origin: center;
}

.roof-hotspot:hover circle.hotspot-center,
.roof-hotspot.is-active circle.hotspot-center {
  fill: var(--orange);
  stroke: var(--white);
  stroke-width: 3;
}

@keyframes hotspotWave {
  0% { r: 10; opacity: 0.8; }
  100% { r: 26; opacity: 0; }
}

.diagram-hint {
  font-size: 0.8125rem;
  color: var(--slate-400);
  text-align: center;
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* Right: Problem Selector & Dynamic Response Panel */
.diagnosis-interface {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.problem-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.problem-chip-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--slate-300);
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all var(--duration-fast) ease;
  cursor: pointer;
}

.problem-chip-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.problem-chip-btn.is-selected {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  box-shadow: 0 4px 16px var(--orange-glow);
}

/* Dynamic Diagnosis Result Card */
.diagnosis-result-card {
  background: var(--navy-850);
  border: 1px solid rgba(244, 122, 36, 0.3);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  transition: opacity var(--duration-normal) ease, transform var(--duration-normal) ease;
}

.result-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.result-badge {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--amber);
  letter-spacing: 0.08em;
}

.diagnosis-result-card h3 {
  font-size: 1.45rem;
  color: var(--white);
  margin-bottom: 0.85rem;
}

.diagnosis-result-card p {
  font-size: 1rem;
  color: var(--slate-300);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.diagnosis-card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.diagnosis-disclaimer {
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin-top: 1rem;
  font-style: italic;
}

/* ==========================================================================
   SECTION 6: LOCAL BRIDGEWATER AUTHORITY (Light, 2-Column)
   ========================================================================== */
.local-authority-section {
  padding: var(--section-pad-y) 0;
  background: var(--white);
}

.local-authority-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 3.5rem;
  align-items: center;
}

.local-visual-column {
  position: relative;
}

.local-photo-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
}

.local-photo-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.local-map-grid-overlay {
  position: absolute;
  top: -15px;
  right: -15px;
  bottom: -15px;
  left: -15px;
  background-image: radial-gradient(rgba(244, 122, 36, 0.15) 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: -1;
  border-radius: var(--radius-xl);
}

.local-location-chip {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(7, 19, 31, 0.9);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.local-text-column h2 {
  margin-bottom: 1.25rem;
}

.local-text-column p {
  color: var(--slate-600);
  font-size: 1.05rem;
  line-height: 1.7;
}

.local-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-block: 1.5rem 2rem;
}

.local-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-900);
}

.local-feature-item svg {
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* ==========================================================================
   SECTION 7: WHY ROOF PROBLEMS SHOULDN'T WAIT (Visual Progression)
   ========================================================================== */
.damage-progression-section {
  padding: var(--section-pad-y) 0;
  background-color: var(--off-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.progression-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-top: 2.75rem;
  margin-bottom: 3.5rem;
}

.progression-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12.5%;
  right: 12.5%;
  height: 4px;
  background: linear-gradient(90deg, #0284C7 0%, var(--orange) 60%, #DC2626 100%);
  transform: translateY(-50%);
  z-index: 1;
  border-radius: 2px;
}

.progression-stage-card {
  position: relative;
  z-index: 2;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.5rem 1.35rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease, border-color var(--duration-fast) ease;
}

.progression-stage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(244, 122, 36, 0.4);
}

.stage-number-bubble {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--off-white);
  box-shadow: 0 4px 14px rgba(7, 19, 31, 0.16);
  z-index: 3;
}

.stage-card-danger {
  border-top: 3px solid #DC2626;
  background: linear-gradient(180deg, rgba(254, 242, 242, 0.4) 0%, var(--white) 35%);
}

.stage-card-danger .stage-number-bubble {
  background: #DC2626;
  border-color: #FEE2E2;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.35);
}

.stage-card-danger h3 {
  color: #991B1B;
}

.progression-stage-card h3 {
  font-size: 1.15rem;
  color: var(--navy-950);
  margin-bottom: 0.5rem;
}

.progression-stage-card p {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.5;
  margin-bottom: 0;
}

.progression-cta-bar {
  text-align: center;
}

/* ==========================================================================
   SECTION 8: ROOF REPAIR VS REPLACEMENT (White, Interactive Comparison)
   ========================================================================== */
.comparison-section {
  padding: var(--section-pad-y) 0;
  background: var(--white);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.comparison-card {
  background: var(--off-white);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: all var(--duration-normal) ease;
  position: relative;
}

.comparison-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  width: fit-content;
}

.repair-badge {
  background: rgba(2, 132, 199, 0.1);
  color: #0284C7;
  border: 1px solid rgba(2, 132, 199, 0.25);
}

.replace-badge {
  background: var(--orange-light);
  color: var(--orange);
  border: 1px solid rgba(244, 122, 36, 0.3);
}

.card-replacement {
  border-color: rgba(244, 122, 36, 0.3);
  box-shadow: 0 8px 30px rgba(7, 19, 31, 0.08);
}

.comparison-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
}

.comparison-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.comparison-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.comparison-card h3 {
  font-size: 1.6rem;
  color: var(--navy-950);
}

.comparison-lead {
  font-size: 1rem;
  color: var(--slate-600);
  margin-bottom: 1.5rem;
}

.comparison-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9375rem;
  color: var(--slate-700);
}

.comparison-list svg {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.comparison-card-action {
  margin-top: auto;
}

.comparison-bridge-cta {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-950) 100%);
  border-radius: var(--radius-md);
  padding: 1.75rem 2.5rem;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.comparison-bridge-cta h4 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.comparison-bridge-cta p {
  color: var(--slate-400);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ==========================================================================
   SECTION 9: ROOFING MATERIAL EXPLORER (Dark Navy 3D)
   ========================================================================== */
.materials-section {
  padding: var(--section-pad-y) 0;
  background: radial-gradient(circle at 20% 80%, rgba(244, 122, 36, 0.08) 0%, transparent 40%),
              linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--white);
  position: relative;
}

.materials-tabs-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.material-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--slate-300);
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  transition: all var(--duration-fast) ease;
  cursor: pointer;
}

.material-tab-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.material-tab-btn.is-active {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  box-shadow: 0 4px 20px var(--orange-glow);
}

.material-viewer-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  background: rgba(16, 36, 51, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 3rem);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.material-render-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 360px;
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.material-render-box svg,
.material-render-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.material-info-box {
  min-width: 0;
}

.material-info-box h3 {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 0.85rem;
}

.material-info-box p {
  color: var(--slate-300);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.material-specs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.material-spec-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  min-width: 0;
  overflow-wrap: break-word;
}

.spec-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 0.2rem;
}

.spec-val {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}

/* ==========================================================================
   SECTION 10: OUR ROOFING PROCESS (Light Timeline)
   ========================================================================== */
.process-section {
  padding: var(--section-pad-y) 0;
  background: var(--white);
}

.process-timeline-wrapper {
  position: relative;
  margin-bottom: 3.5rem;
}

.process-line-track {
  position: absolute;
  top: 35px;
  left: 8%;
  right: 8%;
  height: 4px;
  background: var(--soft-gray);
  transform: translateY(-50%);
  border-radius: 2px;
  overflow: hidden;
  z-index: 1;
}

.process-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  transition: width 0.8s var(--ease-smooth);
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 2;
}

.process-step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-node-bubble {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--soft-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--slate-500);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.process-step-node.is-active .step-node-bubble {
  border-color: var(--orange);
  background: var(--navy-900);
  color: var(--white);
  box-shadow: 0 0 20px var(--orange-glow);
  transform: scale(1.08);
}

.process-step-node h3,
.process-step-node h4 {
  font-size: 1.05rem;
  color: var(--navy-950);
  margin-bottom: 0.4rem;
}

.process-step-node p {
  font-size: 0.8125rem;
  color: var(--slate-500);
  line-height: 1.45;
  margin-bottom: 0;
}

.process-cta-banner {
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* ==========================================================================
   SECTION 11: PROJECT SHOWCASE & BEFORE/AFTER SLIDER (Dark Slate)
   ========================================================================== */
.projects-section {
  padding: var(--section-pad-y) 0;
  background-color: var(--slate-800);
  background-image: linear-gradient(180deg, var(--charcoal) 0%, var(--navy-900) 100%);
  color: var(--white);
  position: relative;
}

/* Before / After Slider Component */
.before-after-container {
  max-width: 900px;
  margin: 0 auto 4rem;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.15);
  aspect-ratio: 16 / 9;
  user-select: none;
  -webkit-user-select: none;
}

.ba-image-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ba-image-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-layer-after {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: 50%;
  border-right: 3px solid var(--orange);
}

.ba-layer-after img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 900px;
  max-width: none;
  object-fit: cover;
}

.ba-badge {
  position: absolute;
  top: 1.25rem;
  padding: 0.4rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  z-index: 5;
}

.ba-badge.before {
  right: 1.25rem;
  background: rgba(7, 19, 31, 0.85);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ba-badge.after {
  left: 1.25rem;
  background: var(--orange);
  color: var(--white);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 44px;
  margin-left: -22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  z-index: 10;
}

.ba-handle-button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy-950);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--orange);
  transition: transform var(--duration-fast) ease;
}

.ba-handle:hover .ba-handle-button {
  transform: scale(1.1);
}

/* Project Cards Grid */
.projects-editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  background: rgba(16, 36, 51, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--duration-fast) ease, border-color var(--duration-fast) ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(244, 122, 36, 0.5);
}

.project-card-media {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-card-media img {
  transform: scale(1.05);
}

.project-tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(7, 19, 31, 0.85);
  backdrop-filter: blur(8px);
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 176, 32, 0.3);
}

.project-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-card-body h3,
.project-card-body h4 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.project-meta {
  font-size: 0.8125rem;
  color: var(--slate-400);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.project-card-body p {
  font-size: 0.9375rem;
  color: var(--slate-300);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* ==========================================================================
   SECTION 12: BRIDGEWATER ROOFING / PERMIT KNOWLEDGE (Light EEAT)
   ========================================================================== */
.permit-section {
  padding: var(--section-pad-y) 0;
  background: var(--white);
}

.permit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3.5rem;
  align-items: center;
}

.permit-doc-graphic {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--navy-900);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.permit-doc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed var(--soft-gray);
  padding-bottom: 0.85rem;
  margin-bottom: 1.25rem;
}

.permit-docket-tag {
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate-500);
  letter-spacing: 0.05em;
}

.permit-status-stamp {
  font-size: 0.75rem;
  font-weight: 900;
  color: #15803D;
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid #16A34A;
  padding: 0.2rem 0.65rem;
  border-radius: 3px;
  letter-spacing: 0.08em;
}

.permit-badge-seal {
  position: absolute;
  top: 3.5rem;
  right: 1.5rem;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(244, 122, 36, 0.08);
  border: 2px dashed var(--orange);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 0.65rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.1;
  padding: 0.25rem;
}

.permit-badge-seal svg {
  margin-bottom: 0.2rem;
}

.permit-doc-footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--soft-gray);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.permit-barcode {
  display: flex;
  gap: 4px;
  height: 24px;
  align-items: flex-end;
  opacity: 0.45;
}

.permit-barcode span {
  display: inline-block;
  background: var(--navy-900);
  height: 100%;
}

.permit-barcode span:nth-child(1) { width: 3px; }
.permit-barcode span:nth-child(2) { width: 6px; }
.permit-barcode span:nth-child(3) { width: 2px; }
.permit-barcode span:nth-child(4) { width: 4px; }
.permit-barcode span:nth-child(5) { width: 8px; }
.permit-barcode span:nth-child(6) { width: 2px; }
.permit-barcode span:nth-child(7) { width: 5px; }
.permit-barcode span:nth-child(8) { width: 3px; }
.permit-barcode span:nth-child(9) { width: 6px; }
.permit-barcode span:nth-child(10) { width: 4px; }

.permit-disclaimer-text {
  font-size: 0.75rem;
  color: var(--slate-400);
  font-style: italic;
}

.permit-info-column h2 {
  margin-bottom: 1.25rem;
}

.permit-info-column p {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.7;
}

.permit-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-block: 1.5rem 2rem;
}

.permit-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--slate-700);
}

.permit-checklist svg {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* ==========================================================================
   SECTION 13: WHAT AFFECTS ROOFING COST IN BRIDGEWATER? (Warm Off-White)
   ========================================================================== */
.cost-factors-section {
  padding: var(--section-pad-y) 0;
  background: var(--off-white);
  border-top: 1px solid var(--border-light);
}

.cost-section-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.cost-factors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.cost-factor-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  transition: all var(--duration-fast) ease;
  cursor: pointer;
}

.cost-factor-card:hover,
.cost-factor-card.is-active {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.cost-factor-card h3,
.cost-factor-card h4 {
  font-size: 1.05rem;
  color: var(--navy-950);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cost-factor-card p {
  font-size: 0.8125rem;
  color: var(--slate-600);
  line-height: 1.45;
  margin-bottom: 0;
}

/* Cost Diagram Container */
.cost-diagram-wrapper {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.cost-diagram-wrapper svg {
  width: 100%;
  height: auto;
}

.cost-zone-path {
  transition: fill 0.25s ease, stroke 0.25s ease, stroke-width 0.25s ease, opacity 0.25s ease, filter 0.25s ease;
  cursor: pointer;
}

.cost-diagram-indicator {
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--orange);
}

.cost-cta-wrapper {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cost-cta-wrapper .btn-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* ==========================================================================
   SECTION 14: WHY CHOOSE BRIDGEWATER ROOFER (Dark Premium)
   ========================================================================== */
.why-us-section {
  padding: var(--section-pad-y) 0;
  background-color: var(--navy-950);
  background-image: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--white);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.why-card {
  background: rgba(16, 36, 51, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: transform var(--duration-fast) ease, border-color var(--duration-fast) ease;
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(244, 122, 36, 0.4);
}

.why-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(244, 122, 36, 0.15);
  border: 1px solid rgba(244, 122, 36, 0.3);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.why-card h3,
.why-card h4 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.65rem;
}

.why-card p {
  font-size: 0.9375rem;
  color: var(--slate-300);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Clean EEAT Placeholder Banner */
.eeat-trust-bar {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.eeat-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eeat-icon-tag {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(244, 122, 36, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
  border: 1px solid rgba(244, 122, 36, 0.25);
}

.eeat-col span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--slate-400);
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.eeat-col strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--white);
  line-height: 1.35;
}

/* ==========================================================================
   SECTION 15: WHAT ROOFING CUSTOMERS SAY (Reviews Carousel)
   ========================================================================== */
.reviews-section {
  padding: var(--section-pad-y) 0;
  background: var(--white);
}

.reviews-carousel-wrapper {
  position: relative;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.reviews-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  transition: transform var(--duration-normal) var(--ease-smooth);
}

.review-card {
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  display: flex;
  gap: 0.25rem;
  color: var(--amber);
  margin-bottom: 1rem;
}

.review-text {
  font-size: 0.95rem;
  color: var(--slate-700);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-style: italic;
  flex-grow: 1;
}

.review-author-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-meta h5,
.author-meta .author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-950);
  margin: 0;
}

.author-meta span {
  font-size: 0.8125rem;
  color: var(--slate-500);
}

.reviews-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--white);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-fast) ease;
}

.carousel-btn:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

/* ==========================================================================
   SECTION 16: SERVICE AREA (Somerset County Vector Map)
   ========================================================================== */
.service-area-section {
  padding: var(--section-pad-y) 0;
  background: var(--off-white);
  border-top: 1px solid var(--border-light);
  position: relative;
}

.service-area-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
}

.somerset-map-visual {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.somerset-map-visual svg {
  width: 100%;
  height: auto;
}

.area-chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.community-chip {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 0.55rem 1.15rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy-900);
  transition: all var(--duration-fast) ease;
}

.community-chip:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.community-chip.is-center {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

/* ==========================================================================
   SECTION 17: BRIDGEWATER ROOFING FAQS (Accordion)
   ========================================================================== */
.faq-section {
  padding: var(--section-pad-y) 0;
  background: var(--white);
}

.faq-accordion-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--off-white);
  overflow: hidden;
  transition: border-color var(--duration-fast) ease;
}

.faq-item:hover {
  border-color: rgba(244, 122, 36, 0.4);
}

.faq-trigger {
  width: 100%;
  padding: 1.5rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-950);
  cursor: pointer;
}

.faq-icon-rotator {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
  transition: transform var(--duration-normal) var(--ease-smooth);
}

.faq-trigger[aria-expanded="true"] .faq-icon-rotator {
  transform: rotate(45deg);
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-smooth);
}

.faq-content-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: 1rem;
  color: var(--slate-600);
  line-height: 1.7;
}

.faq-content-inner a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: underline;
}

/* ==========================================================================
   SECTION 18: RESOURCE / BLOG PREVIEW
   ========================================================================== */
.blog-preview-section {
  padding: var(--section-pad-y) 0;
  background: var(--off-white);
  border-top: 1px solid var(--border-light);
}

.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.blog-card-media {
  height: 200px;
  background: var(--navy-800);
  overflow: hidden;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-cat-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.blog-card-body h3 {
  font-size: 1.25rem;
  color: var(--navy-950);
  margin-bottom: 0.65rem;
}

.blog-card-body p {
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* ==========================================================================
   SECTION 19 & 32: FINAL HIGH-CONVERSION CTA & ESTIMATE FORM
   ========================================================================== */
.final-cta-section {
  padding: var(--section-pad-y) 0;
  background: radial-gradient(circle at 10% 20%, rgba(244, 122, 36, 0.15) 0%, transparent 40%),
              linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.final-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 3vw, 3rem);
  align-items: center;
  position: relative;
  z-index: 5;
}

.final-cta-content h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1.25rem;
}

.final-cta-content p {
  font-size: 1.15rem;
  color: var(--slate-300);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.final-phone-hero-box {
  background: rgba(16, 36, 51, 0.8);
  border: 2px solid rgba(244, 122, 36, 0.4);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.huge-phone-btn {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  padding: 1.25rem 2.25rem;
  width: 100%;
}

.final-phone-hero-box .phone-sub-notice {
  font-size: 0.8125rem;
  color: var(--slate-400);
  text-align: center;
  margin-top: 0.85rem;
}

.final-cta-direct-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.direct-detail-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--slate-300);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

.direct-detail-item svg {
  color: var(--orange);
  flex-shrink: 0;
}

a.direct-detail-item:hover {
  color: var(--white);
}

/* Compact Lead Estimate Form */
.estimate-form-card {
  background: var(--navy-850);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.estimate-form-card h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.estimate-form-card p {
  font-size: 0.875rem;
  color: var(--slate-400);
  margin-bottom: 1.5rem;
}

.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--slate-300);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(7, 19, 31, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xs);
  padding: 0.75rem 1rem;
  color: var(--white);
  font-size: 0.9375rem;
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--orange);
  outline: none;
  box-shadow: 0 0 0 3px var(--orange-glow);
}

.form-select option {
  background: var(--navy-900);
  color: var(--white);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.form-privacy-note {
  font-size: 0.75rem;
  color: var(--slate-400);
  margin-top: 0.75rem;
  text-align: center;
}

.form-status-msg {
  display: none;
  background: rgba(45, 155, 98, 0.2);
  border: 1px solid var(--green);
  color: var(--white);
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  text-align: center;
  font-size: 0.95rem;
}

.form-status-msg.is-success {
  display: block;
}

/* ==========================================================================
   SECTION 33: 4-COLUMN FOOTER (Dark Navy)
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: var(--slate-300);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 5rem;
  padding-bottom: 2.5rem;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: clamp(1.5rem, 2.2vw, 2.25rem);
  margin-bottom: 4rem;
}

.footer-brand-col p {
  color: var(--slate-400);
  font-size: 0.9375rem;
  margin-block: 1rem 1.5rem;
  line-height: 1.6;
}

.footer-direct-call {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

.footer-direct-call:hover {
  color: var(--orange);
}

.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transition: color var(--duration-fast) ease, transform var(--duration-fast) ease;
}

.footer-contact-link:hover {
  color: var(--orange);
  transform: translateX(3px);
}

.footer-contact-link svg,
.footer-contact-text svg {
  color: var(--orange);
  flex-shrink: 0;
}

.footer-contact-text {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--slate-300);
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer-col h4 {
  font-size: 0.9375rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: var(--orange);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  color: var(--slate-400);
  font-size: 0.875rem;
  transition: color var(--duration-fast) ease, transform var(--duration-fast) ease;
  display: inline-block;
}

.footer-col a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer-bottom-bar {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--slate-500);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a,
.footer-legal-links button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--slate-400);
  cursor: pointer;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal-links a:hover,
.footer-legal-links button:hover {
  color: var(--white);
}

/* Footer Embedded Google Map */
.footer-map-wrapper {
  margin-top: 2.75rem;
  margin-bottom: 2.75rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-map-header {
  margin-bottom: 1.25rem;
  text-align: center;
}

.footer-map-tag {
  display: inline-block;
  color: var(--orange, #f97316);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.footer-map-title {
  color: #ffffff;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  margin: 0;
}

.footer-map-frame {
  position: relative;
  width: 100%;
  height: 340px;
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0b1526;
}

.footer-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .footer-map-frame {
    height: 260px;
  }
}

/* Accessible Legal Dialog Modal */
.legal-dialog {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  max-width: 580px;
  width: calc(100% - 2rem);
  background: var(--navy-900);
  color: var(--slate-100);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
  margin: auto;
}

.legal-dialog::backdrop {
  background: rgba(11, 25, 44, 0.75);
  backdrop-filter: blur(4px);
}

.legal-dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-dialog-header h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin: 0;
}

.legal-dialog-close {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--slate-300);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  transition: background var(--transition-fast);
}

.legal-dialog-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.legal-dialog-body {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--slate-300);
}

.legal-dialog-body p {
  margin-bottom: 0.85rem;
}

