/* ==========================================================================
   MAGIC SNAKE PRO — WATER HEATER SERVICE LANDING PAGE DESIGN SYSTEM
   Theme: Refined Southern California Trade Pro (Architectural Utility)
   ========================================================================== */

:root {
  /* Brand Identity (Derived from official Magic Snake Pro logo) */
  --brand-blue: #0B63C5;
  --brand-blue-dark: #074790;
  --brand-blue-deep: #0B2545;
  --brand-blue-light: #EBF4FC;
  --brand-blue-subtle: #F0F7FF;

  --brand-red: #D32F2F;
  --brand-red-dark: #B71C1C;
  --brand-red-light: #FEE2E2;

  --accent-orange: #EA580C;
  --accent-orange-hover: #C2410C;
  --accent-amber: #F59E0B;
  --accent-green: #10B981;
  --accent-green-light: #ECFDF5;

  /* Neutral & Dark Palette */
  --dark-navy: #09131F;
  --dark-slate: #0F172A;
  --dark-card: #1E293B;
  --text-main: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  /* Backgrounds & Surfaces */
  --bg-page: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-alt: #F1F5F9;
  --surface-card: #FFFFFF;

  /* Borders & Dividers */
  --border-subtle: #E2E8F0;
  --border-medium: #CBD5E1;
  --border-brand: rgba(11, 99, 197, 0.2);

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.1);
  --shadow-xl: 0 24px 38px -6px rgba(15, 23, 42, 0.14);
  --shadow-blue: 0 12px 30px -5px rgba(11, 99, 197, 0.28);
  --shadow-orange: 0 12px 28px -4px rgba(234, 88, 12, 0.32);

  /* Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Layout */
  --container-width: 1240px;
  --header-height: 80px;
  --topbar-height: 40px;
}

/* Base Reset & Smoothness */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-main);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.3rem, 4.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.12;
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.18;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
}

h4 {
  font-size: 1.15rem;
  font-weight: 600;
}

p {
  color: var(--text-body);
  font-size: 1.05rem;
}

.text-gradient-blue {
  background: linear-gradient(135deg, var(--brand-blue) 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-fire {
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-py {
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
}

.section-py-sm {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Fix: When two consecutive sections are next to each other, prevent doubled-up padding */
.section-py + .section-py {
  padding-top: 1rem;
}

/* Ensure dedicated breathing room for full-bleed dark highlight sections */
.special-offer-section,
.final-cta-section {
  padding-top: 3.75rem;
  padding-bottom: 3.75rem;
}

.special-offer-section + .section-py,
.final-cta-section + .section-py {
  padding-top: 3.25rem;
}

/* Section Header Structure */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.75rem auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: var(--brand-blue-light);
  color: var(--brand-blue-dark);
  border: 1px solid var(--border-brand);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-eyebrow.red {
  background: var(--brand-red-light);
  color: var(--brand-red-dark);
  border-color: rgba(211, 47, 47, 0.25);
}

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

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--brand-blue);
  color: #FFFFFF;
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  background: var(--brand-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -4px rgba(11, 99, 197, 0.38);
}

.btn-call {
  background: linear-gradient(135deg, #D9381E 0%, #EA580C 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-orange);
}

.btn-call:hover {
  background: linear-gradient(135deg, #B91C1C 0%, #C2410C 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -4px rgba(234, 88, 12, 0.45);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--brand-blue-deep);
  border: 1.5px solid var(--border-medium);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background: var(--brand-blue-subtle);
  transform: translateY(-2px);
}

.btn-white {
  background: #FFFFFF;
  color: var(--dark-slate);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: #F8FAFC;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.6rem 1.15rem;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.125rem;
  border-radius: var(--radius-lg);
}

/* Pulse Dot */
.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--accent-green);
  position: relative;
  display: inline-block;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  background-color: var(--accent-green);
  opacity: 0.6;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.8; }
  70% { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ==========================================================================
   TOP NOTIFICATION BAR
   ========================================================================== */
.top-bar {
  background: var(--dark-navy);
  color: #E2E8F0;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #34D399;
  font-weight: 600;
  font-size: 0.8rem;
}

.top-bar-areas {
  color: var(--text-light);
  font-size: 0.8rem;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.82rem;
}

.top-bar-right a {
  color: #E2E8F0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.top-bar-right a:hover {
  color: #38BDF8;
}

.license-tag {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-xs);
  font-size: 0.75rem;
  color: #94A3B8;
}

/* ==========================================================================
   STICKY HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.25s ease;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  height: 70px;
}

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

.brand-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: height 0.2s ease;
}

.site-header.scrolled .brand-logo-img {
  height: 45px;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.85rem;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.4rem 0;
  position: relative;
}

.nav-link:hover {
  color: var(--brand-blue);
}

.nav-link.active {
  color: var(--brand-blue);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-blue);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.phone-quick-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  text-align: right;
}

.phone-icon-bubble {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand-red-light);
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.phone-quick-link:hover .phone-icon-bubble {
  background: var(--brand-red);
  color: #FFFFFF;
  transform: scale(1.05);
}

.phone-text-meta {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-red);
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.phone-number-val {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark-slate);
  line-height: 1.1;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  cursor: pointer;
}

/* Mobile Menu Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 380px;
  background: #FFFFFF;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer.open .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  display: block;
  padding: 0.5rem 0;
}

.mobile-nav-links a:hover {
  color: var(--brand-blue);
}

.mobile-drawer-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  padding: 3.75rem 0 4.5rem 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.35rem;
}

.hero-pill-tag {
  background: var(--brand-red);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-pill-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-slate);
}

.hero-title {
  margin-bottom: 1.25rem;
  color: var(--dark-navy);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-services-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.25rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--brand-blue-subtle);
  border: 1px solid rgba(11, 99, 197, 0.15);
  color: var(--brand-blue-dark);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
}

/* Google Rating Badge */
.google-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}

.google-g-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.google-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.google-stars-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.stars-gold {
  color: #F59E0B;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.google-stars-row strong {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--dark-slate);
}

.google-subtext {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
}

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

.trust-mini-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-mini-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark-slate);
  line-height: 1.2;
}

/* Hero Media / Form Column */
.hero-media-wrapper {
  position: relative;
}

/* Hero Lead Form Card / Embedded Form Container */
.hero-form-wrapper {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 581px;
  min-height: 581px;
}

.hero-form-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(11, 99, 197, 0.12);
  border: 1px solid var(--border-subtle);
  position: relative;
}

.hero-form-badge {
  display: inline-block;
  background: var(--brand-red-light);
  color: var(--brand-red-dark);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.hero-form-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--dark-slate);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.hero-form-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.35rem;
  line-height: 1.45;
}

.hero-quote-form .form-group {
  margin-bottom: 0.95rem;
}

.hero-quote-form .form-label {
  font-size: 0.82rem;
  margin-bottom: 0.25rem;
}

.hero-quote-form .form-control {
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
}

.hero-privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 0.85rem;
  text-align: center;
}

.hero-privacy-note svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-subtle);
  background: #FFFFFF;
}

.hero-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.hero-floating-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 290px;
}

.badge-avatar-group {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--brand-blue);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-headline {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dark-slate);
  line-height: 1.2;
}

.badge-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-top-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--dark-navy);
  color: #FFFFFF;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   CREDIBILITY / TRUST BAR
   ========================================================================== */
.credibility-bar {
  background: var(--dark-navy);
  color: #FFFFFF;
  padding: 2.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.credibility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.cred-card {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 0.5rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.cred-card:last-child {
  border-right: none;
}

.cred-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(11, 99, 197, 0.25);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38BDF8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cred-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.cred-desc {
  font-size: 0.82rem;
  color: #94A3B8;
  margin-top: 0.2rem;
}

/* ==========================================================================
   WATER HEATER PROBLEMS SECTION
   ========================================================================== */
.problems-section {
  background: var(--bg-subtle);
  position: relative;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.problem-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.problem-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-red);
  box-shadow: var(--shadow-lg);
}

.problem-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--brand-red-light);
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.problem-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-slate);
  margin-bottom: 0.65rem;
}

.problem-card-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.problem-tag {
  margin-top: auto;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.problem-action-banner {
  background: #FFFFFF;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-md);
}

.problem-action-text h3 {
  color: var(--dark-slate);
  margin-bottom: 0.35rem;
}

.problem-action-text p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.problem-action-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ==========================================================================
   WATER HEATER SERVICES (4-CARD SECTION)
   ========================================================================== */
.services-section {
  background: #FFFFFF;
}

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

.service-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.service-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.service-number {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand-blue);
  background: var(--brand-blue-light);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--brand-blue-subtle);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-title {
  font-size: 1.5rem;
  margin-bottom: 0.85rem;
  color: var(--dark-slate);
}

.service-card-desc {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-features-list {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--text-main);
  font-weight: 500;
}

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

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

.service-cta-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: gap 0.2s ease;
}

.service-card:hover .service-cta-link {
  gap: 0.75rem;
}

/* ==========================================================================
   REPAIR VS REPLACEMENT SECTION
   ========================================================================== */
.repair-vs-replace {
  background: var(--bg-alt);
}

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

.comp-column-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.comp-column-card.replacement {
  border-color: rgba(11, 99, 197, 0.4);
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F7FF 100%);
}

.comp-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.comp-badge.repair {
  background: var(--brand-blue-light);
  color: var(--brand-blue-dark);
}

.comp-badge.replace {
  background: var(--brand-red-light);
  color: var(--brand-red-dark);
}

.comp-title {
  font-size: 1.6rem;
  margin-bottom: 0.85rem;
  color: var(--dark-slate);
}

.comp-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.comp-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comp-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.96rem;
  color: var(--text-main);
  line-height: 1.5;
}

.comp-check-item .icon-box {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.comp-check-item .icon-box.blue {
  background: var(--brand-blue-light);
  color: var(--brand-blue);
}

.comp-check-item .icon-box.red {
  background: var(--brand-red-light);
  color: var(--brand-red);
}

.comp-advisor-card {
  background: var(--dark-navy);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.comp-advisor-text h4 {
  color: #FFFFFF;
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.comp-advisor-text p {
  color: #94A3B8;
  font-size: 0.98rem;
}

/* ==========================================================================
   TANK VS TANKLESS SECTION
   ========================================================================== */
.tank-vs-tankless {
  background: #FFFFFF;
}

.tankless-grid-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.25rem;
}

.tank-preview-card {
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #FFFFFF;
  transition: all 0.25s ease;
}

.tank-preview-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-blue);
}

.tank-preview-img-box {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.tank-preview-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tank-preview-card:hover .tank-preview-img-box img {
  transform: scale(1.04);
}

.tank-preview-body {
  padding: 2rem;
}

.tank-preview-badge {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--brand-blue);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.tank-preview-title {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
  color: var(--dark-slate);
}

.tank-preview-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Comparison Table Styling */
.table-responsive-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border-medium);
  box-shadow: var(--shadow-md);
  margin-bottom: 2.5rem;
  background: #FFFFFF;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
  background: var(--bg-alt);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark-slate);
}

.comparison-table th:first-child {
  width: 28%;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: var(--brand-blue-subtle);
}

.feature-label {
  font-weight: 700;
  color: var(--dark-slate);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   WHY CHOOSE MAGIC SNAKE PRO
   ========================================================================== */
.why-choose-section {
  background: var(--bg-subtle);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.why-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.65rem;
  transition: all 0.25s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-lg);
}

.why-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.why-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-slate);
  margin-bottom: 0.6rem;
}

.why-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   OUR 4-STEP PROCESS
   ========================================================================== */
.process-section {
  background: #FFFFFF;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process-step-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem;
  position: relative;
  transition: all 0.25s ease;
}

.process-step-card:hover {
  background: #FFFFFF;
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.process-step-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--border-medium);
  line-height: 1;
  margin-bottom: 1rem;
  transition: color 0.2s ease;
}

.process-step-card:hover .process-step-num {
  color: var(--brand-blue);
}

.process-step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-slate);
  margin-bottom: 0.75rem;
}

.process-step-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   SPECIAL OFFER SECTION ($250 OFF)
   ========================================================================== */
.special-offer-section {
  background: linear-gradient(135deg, #09131F 0%, #0B2545 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.offer-card-wrapper {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px dashed rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-xl);
  padding: 3.5rem 3rem;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
  align-items: center;
  backdrop-filter: blur(8px);
}

.offer-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-red);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.offer-heading {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.offer-desc {
  font-size: 1.1rem;
  color: #CBD5E1;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.offer-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.offer-bullet-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: #E2E8F0;
}

.offer-bullet-item svg {
  color: #34D399;
  flex-shrink: 0;
}

.offer-box-interactive {
  background: #FFFFFF;
  color: var(--dark-slate);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.offer-box-code-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.offer-code-tag {
  background: var(--brand-blue-light);
  border: 1.5px dashed var(--brand-blue);
  color: var(--brand-blue-dark);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  display: block;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.offer-fineprint {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 1rem;
  line-height: 1.4;
}

/* ==========================================================================
   WORK SHOWCASE / PROJECT GALLERY
   ========================================================================== */
.work-showcase {
  background: var(--bg-subtle);
}

.gallery-filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--brand-blue);
  color: #FFFFFF;
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-sm);
}

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

.gallery-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.gallery-img-box {
  height: 260px;
  overflow: hidden;
  position: relative;
}

.gallery-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-img-box img {
  transform: scale(1.06);
}

.gallery-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
}

.gallery-body {
  padding: 1.5rem;
}

.gallery-location {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.gallery-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-slate);
  margin-bottom: 0.4rem;
}

.gallery-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  background: #FFFFFF;
}

.testimonials-carousel-wrapper {
  position: relative;
  width: 100%;
}

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

.testimonials-nav-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid var(--border-medium);
  color: var(--dark-slate);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.carousel-arrow:hover {
  background: var(--brand-blue);
  color: #FFFFFF;
  border-color: var(--brand-blue);
  transform: scale(1.05);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #CBD5E1;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.carousel-dot.active {
  width: 28px;
  border-radius: 14px;
  background: var(--brand-blue);
}

.testimonial-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.testimonial-card:hover {
  background: #FFFFFF;
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  color: #F59E0B;
  margin-bottom: 1.25rem;
}

.testimonial-text {
  font-size: 0.98rem;
  color: var(--text-main);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.author-info-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark-slate);
}

.author-info-loc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.verified-source-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #059669;
  background: #ECFDF5;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   SERVICE AREA SECTION
   ========================================================================== */
.service-area-section {
  background: var(--bg-alt);
}

.counties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.county-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 2rem 1.65rem;
  border: 1.5px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.county-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.county-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.county-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.county-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark-slate);
}

.cities-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.city-item {
  font-size: 0.88rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.city-item::before {
  content: '•';
  color: var(--brand-blue);
  font-weight: bold;
}

.service-area-footer-banner {
  background: var(--dark-navy);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.service-area-footer-banner h4 {
  color: #FFFFFF;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.service-area-footer-banner p {
  color: #94A3B8;
  font-size: 0.92rem;
}

/* ==========================================================================
   FAQ SECTION (ACCORDION)
   ========================================================================== */
.faq-section {
  background: #FFFFFF;
}

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

.faq-item {
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #FFFFFF;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.active {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
}

.faq-trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-slate);
  cursor: pointer;
}

.faq-icon-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, background-color 0.2s ease;
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
  background: var(--brand-blue);
  color: #FFFFFF;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 1.75rem;
}

.faq-item.active .faq-content {
  padding-bottom: 1.75rem;
}

.faq-content-inner {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.65;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */
.final-cta-section {
  background: linear-gradient(135deg, #09131F 0%, #0B2545 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.final-cta-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 4.5rem 3rem;
  text-align: center;
  position: relative;
  backdrop-filter: blur(10px);
}

.final-cta-heading {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.final-cta-desc {
  font-size: 1.2rem;
  color: #CBD5E1;
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
}

.final-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.final-cta-trust-note {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #34D399;
  font-size: 0.95rem;
  font-weight: 700;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #050B14;
  color: #94A3B8;
  padding: 2.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.85rem;
  font-size: 0.88rem;
}

.footer-copyright {
  text-align: center;
  width: 100%;
  color: #CBD5E1;
  font-size: 0.88rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: #E2E8F0;
}

/* ==========================================================================
   STICKY MOBILE CALL BAR (REMOVED)
   ========================================================================== */
.mobile-sticky-bar {
  display: none !important;
}

/* ==========================================================================
   MODAL (BOOKING & SERVICE REQUEST)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(9, 19, 31, 0.75);
  backdrop-filter: blur(6px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2.5rem;
}

.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: background-color 0.2s ease;
}

.modal-close-btn:hover {
  background: var(--brand-red-light);
  color: var(--brand-red);
}

.modal-header {
  margin-bottom: 1.75rem;
}

.modal-title {
  font-size: 1.65rem;
  color: var(--dark-slate);
  margin-bottom: 0.35rem;
}

.modal-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 1.25rem;
}

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

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark-slate);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-main);
  background: #FFFFFF;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(11, 99, 197, 0.15);
}

.form-success-state {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}

.success-icon-bubble {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ECFDF5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-media-wrapper,
  .hero-form-wrapper {
    max-width: 580px;
    margin: 0 auto;
    width: 100%;
  }

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

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

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

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

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

@media (max-width: 900px) {
  .nav-menu {
    display: none;
  }

  /* Mobile Header: Show phone quick link, hide header CTA button */
  .site-header .nav-actions .btn {
    display: none;
  }

  .phone-quick-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    text-align: right;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  /* Header mobile sizing */
  .site-header {
    height: 64px;
  }

  .site-header.scrolled {
    height: 58px;
  }

  .brand-logo-img {
    height: 42px;
  }

  .site-header.scrolled .brand-logo-img {
    height: 36px;
  }

  .phone-icon-bubble {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
  }

  .phone-text-meta {
    font-size: 0.65rem;
    line-height: 1.1;
  }

  .phone-number-val {
    font-size: 0.95rem;
    line-height: 1.1;
  }

  /* 1. Hero Section Content & Symmetry (Fit within single mobile screen) */
  .hero-section {
    padding: 1.5rem 0 2.25rem 0;
    width: 100%;
    box-sizing: border-box;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    width: 100%;
    box-sizing: border-box;
  }

  .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .hero-title {
    text-align: center;
    width: 100%;
    font-size: 2.2rem;
    line-height: 1.15;
    margin-bottom: 0.65rem;
  }

  .hero-description {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.45;
    margin-bottom: 0.85rem;
  }

  .hero-pill {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.75rem;
  }

  .google-rating-badge {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.85rem;
    padding: 0.35rem 0.85rem;
  }

  /* Hero Checkpoints 2-Column Grid */
  .hero-services-tags {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.85rem;
    box-sizing: border-box;
  }

  .hero-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.78rem;
    padding: 0.4rem 0.35rem;
    width: 100%;
    gap: 0.35rem;
    box-sizing: border-box;
  }

  /* Hero CTA group */
  .hero-cta-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    width: 100%;
    gap: 0.5rem;
    margin-bottom: 1.15rem;
  }

  .hero-cta-group .btn {
    width: 100%;
    max-width: 100%;
    padding: 0.75rem 0.5rem;
    font-size: 0.88rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
  }

  .hero-cta-group .btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  /* Hero Points below CTA button: 3-column layout */
  .hero-trust-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-subtle);
    box-sizing: border-box;
  }

  .trust-mini-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem;
  }

  .trust-mini-icon {
    width: 28px;
    height: 28px;
  }

  .trust-mini-text {
    font-size: 0.7rem;
    line-height: 1.18;
    text-align: center;
  }

  .hero-media-wrapper,
  .hero-form-wrapper {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
  }

  /* Section 2: Credibility Bar / Trust Badges (2-column layout) */
  .credibility-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .cred-card {
    border-right: none;
    border-bottom: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1rem 0.85rem;
    gap: 0.75rem;
    box-sizing: border-box;
  }

  .cred-icon-box {
    width: 40px;
    height: 40px;
  }

  .cred-title {
    font-size: 0.95rem;
  }

  .cred-desc {
    font-size: 0.75rem;
  }

  /* Section 3: Problem/Signs of Trouble cards (2-column layout) */
  .problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .problem-card {
    padding: 1.35rem 1rem;
    border-radius: var(--radius-md);
    box-sizing: border-box;
  }

  .problem-icon-wrap {
    width: 38px;
    height: 38px;
    margin-bottom: 0.75rem;
  }

  .problem-card-title {
    font-size: 1rem;
    margin-bottom: 0.4rem;
  }

  .problem-card-text {
    font-size: 0.82rem;
    line-height: 1.45;
    margin-bottom: 0.75rem;
  }

  .problem-tag {
    font-size: 0.7rem;
  }

  /* Section 3 CTA: Problem Action Banner (Center-Aligned) */
  .problem-action-banner {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    padding: 2rem 1.5rem;
  }

  .problem-action-text {
    text-align: center;
    width: 100%;
  }

  .problem-action-text h3 {
    text-align: center;
    margin-bottom: 0.35rem;
  }

  .problem-action-text p {
    text-align: center;
    margin-bottom: 1.25rem;
  }

  .problem-action-btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0.75rem;
  }

  .problem-action-banner .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* Section 4/5: Complete Water Heater Services (1-Column on Mobile/Tablet) */
  .services-section .section-header {
    text-align: center;
  }

  .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    width: 100%;
    box-sizing: border-box;
  }

  .service-card {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem 1.25rem;
    width: 100%;
    box-sizing: border-box;
  }

  .service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 1.25rem;
  }

  .service-card-title {
    text-align: left;
    margin-bottom: 0.5rem;
    width: 100%;
  }

  .service-card-desc {
    text-align: left;
    margin-bottom: 1.25rem;
    width: 100%;
  }

  .service-features-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .service-feature-item {
    justify-content: flex-start;
    text-align: left;
    font-size: 0.88rem;
  }

  .service-card-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
  }

  /* Section 7 & 8: Decision Guide & Comparison Cards (1-Column on Mobile/Tablet) */
  .comparison-columns-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    width: 100%;
    box-sizing: border-box;
  }

  .tankless-grid-preview {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    width: 100%;
    box-sizing: border-box;
  }

  .tank-preview-card {
    width: 100%;
    box-sizing: border-box;
  }

  /* Comparison Section (Tank vs Tankless - Symmetric 2-Column Format) */
  .tank-vs-tankless {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .table-responsive-wrapper {
    overflow-x: hidden;
    border: none;
    background: transparent;
    box-shadow: none;
    margin-bottom: 2rem;
    width: 100%;
    box-sizing: border-box;
  }

  .comparison-table {
    display: block;
    width: 100%;
    border: 1.5px solid var(--border-medium);
    border-radius: var(--radius-xl);
    background: #FFFFFF;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    box-sizing: border-box;
  }

  .comparison-table thead {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg-alt);
    border-bottom: 2px solid var(--border-medium);
    width: 100%;
    box-sizing: border-box;
  }

  .comparison-table thead tr {
    display: contents;
  }

  .comparison-table thead th:first-child {
    display: none;
  }

  .comparison-table thead th {
    padding: 0.85rem 0.5rem;
    font-size: 0.85rem;
    font-weight: 800;
    text-align: center;
    color: var(--dark-slate);
    border-bottom: none;
    box-sizing: border-box;
  }

  .comparison-table thead th:nth-child(2) {
    border-right: 1px solid var(--border-subtle);
  }

  .comparison-table tbody {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .comparison-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.75rem 0.6rem;
    width: 100%;
    box-sizing: border-box;
  }

  .comparison-table tbody tr:last-child {
    border-bottom: none;
  }

  .comparison-table td.feature-label {
    grid-column: span 2;
    background: var(--brand-blue-subtle);
    padding: 0.45rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--brand-blue-dark);
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
    border-bottom: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    box-sizing: border-box;
  }

  .comparison-table td:not(.feature-label) {
    padding: 0.35rem 0.5rem;
    font-size: 0.8rem;
    line-height: 1.4;
    text-align: center;
    border-bottom: none;
    box-sizing: border-box;
  }

  .comparison-table td:nth-child(2) {
    border-right: 1px solid var(--border-subtle);
    color: var(--text-body);
  }

  .comparison-table td:nth-child(3) {
    color: var(--dark-slate);
  }

  /* Section 9: Why Homeowners Choose Us (2-Column Grid) */
  .why-choose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .why-card {
    padding: 1.35rem 1rem;
    border-radius: var(--radius-md);
    box-sizing: border-box;
  }

  .why-icon-box {
    width: 38px;
    height: 38px;
    margin-bottom: 0.75rem;
  }

  .why-title {
    font-size: 0.98rem;
    margin-bottom: 0.35rem;
  }

  .why-desc {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  /* Section 10: Process Section (1-Column with Consistent Gap) */
  .process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    width: 100%;
    box-sizing: border-box;
  }

  .process-step-card {
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-lg);
    box-sizing: border-box;
    width: 100%;
  }

  /* Section 11: Special Offer (Fixed Padding & Symmetry on Mobile) */
  .offer-card-wrapper {
    grid-template-columns: 1fr;
    padding: 2rem 1.25rem;
    gap: 1.5rem;
    width: 100%;
    box-sizing: border-box;
  }

  .offer-bullets {
    padding: 0;
    padding-left: 0;
    margin: 0 0 1.25rem 0;
    list-style: none;
  }

  .offer-bullet-item {
    padding-left: 0;
    margin-left: 0;
    font-size: 0.88rem;
  }

  .offer-box-interactive {
    padding: 1.75rem 1.25rem;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  /* Section 12: Recent Projects Gallery (2-Column on Mobile View) */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    width: 100%;
    box-sizing: border-box;
  }

  .gallery-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
  }

  .gallery-img-box {
    height: 135px;
  }

  .gallery-body {
    padding: 0.85rem 0.65rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }

  .gallery-title {
    font-size: 0.88rem;
    line-height: 1.25;
    margin-bottom: 0.3rem;
  }

  .gallery-desc {
    font-size: 0.72rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .gallery-location {
    font-size: 0.7rem;
    margin-bottom: 0.25rem;
  }

  .gallery-badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.45rem;
    top: 0.5rem;
    left: 0.5rem;
  }

  /* Section 13: Testimonials / Reviews (1-Column Carousel Slider on Mobile View) */
  .testimonials-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 1.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    grid-template-columns: none;
    width: 100%;
    padding-bottom: 0.25rem;
  }

  .testimonials-grid::-webkit-scrollbar {
    display: none;
  }

  .testimonial-card {
    flex: 0 0 100%;
    min-width: 100%;
    scroll-snap-align: start;
    box-sizing: border-box;
    padding: 1.75rem 1.25rem;
  }

  .testimonials-nav-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  /* Section 14: Service Area Counties (1-Column on Mobile View) */
  .counties-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    width: 100%;
    box-sizing: border-box;
  }

  .county-card {
    padding: 1.5rem 1.25rem;
    width: 100%;
    box-sizing: border-box;
  }

  .comp-advisor-card,
  .service-area-footer-banner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .mobile-sticky-bar {
    display: none !important;
  }

  body {
    padding-bottom: 0 !important;
  }
}

@media (max-width: 640px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    width: 100%;
    box-sizing: border-box;
  }

  .top-bar {
    display: none;
  }

  /* 1. Global Button Symmetry & Anti-Overflow */
  .btn,
  .btn-lg,
  .btn-primary,
  .btn-secondary,
  .btn-call,
  .btn-white {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    text-align: center;
  }

  .btn-lg {
    font-size: 0.95rem;
    padding: 0.85rem 1.25rem;
  }

  /* 2. Hero Pill & Hero Section single screen fit on mobile */
  .hero-section {
    padding: 1.25rem 0 1.75rem 0;
  }

  .hero-pill {
    padding: 0.28rem 0.65rem;
    gap: 0.4rem;
    max-width: 100%;
    box-sizing: border-box;
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    white-space: nowrap;
    margin-bottom: 0.6rem;
  }

  .hero-pill-tag {
    font-size: 0.65rem;
    padding: 0.12rem 0.45rem;
    flex-shrink: 0;
    white-space: nowrap;
  }

  .hero-pill-text {
    font-size: 0.72rem;
    white-space: nowrap;
    letter-spacing: -0.01em;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.15;
    margin-bottom: 0.5rem;
  }

  .hero-description {
    font-size: 0.88rem;
    line-height: 1.38;
    margin-bottom: 0.75rem;
  }

  .hero-services-tags {
    gap: 0.4rem;
    margin-bottom: 0.75rem;
  }

  .hero-tag {
    font-size: 0.74rem;
    padding: 0.35rem 0.3rem;
  }

  .google-rating-badge {
    padding: 0.28rem 0.7rem;
    margin-bottom: 0.75rem;
  }

  .google-stars-row strong {
    font-size: 0.8rem;
  }

  .google-subtext {
    font-size: 0.68rem;
  }

  .hero-cta-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem;
    margin-bottom: 0.85rem;
  }

  .hero-cta-group .btn {
    padding: 0.68rem 0.35rem;
    font-size: 0.82rem;
    letter-spacing: -0.01em;
  }

  .hero-trust-mini {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
    padding-top: 0.75rem;
  }

  .trust-mini-text {
    font-size: 0.66rem;
    line-height: 1.15;
  }

  /* Symmetric padding for all cards and banners on mobile */
  .problem-action-banner,
  .comp-advisor-card,
  .service-area-footer-banner,
  .service-card,
  .comp-column-card,
  .hero-form-card,
  .offer-card-wrapper,
  .offer-box-interactive,
  .final-cta-box,
  .tank-preview-body {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  /* 3. Section-to-Section Rhythm on mobile */
  .section-py {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }

  .section-py + .section-py {
    padding-top: 0.75rem;
  }

  .special-offer-section,
  .final-cta-section {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  .special-offer-section + .section-py,
  .final-cta-section + .section-py {
    padding-top: 2.25rem;
  }

  /* Keep 2-column layouts on small screens */
  .credibility-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

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

  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  /* Single Column Sections on Mobile */
  .services-grid,
  .comparison-columns-grid,
  .tankless-grid-preview,
  .process-grid,
  .counties-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Recent Projects (Gallery): Explicit 2-Column Grid on Mobile */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .gallery-img-box {
    height: 125px;
  }

  .gallery-body {
    padding: 0.75rem 0.55rem;
  }

  .gallery-title {
    font-size: 0.82rem;
    line-height: 1.2;
    margin-bottom: 0.25rem;
  }

  .gallery-desc {
    font-size: 0.68rem;
    line-height: 1.3;
  }

  /* Reviews Carousel on Mobile */
  .testimonials-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 1rem;
    grid-template-columns: none;
  }

  .testimonial-card {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 1.5rem 1.25rem;
  }

  /* Offer Section Mobile Refinements */
  .offer-card-wrapper {
    padding: 1.75rem 1.25rem;
    gap: 1.25rem;
  }

  .offer-bullets {
    padding: 0;
    padding-left: 0;
    margin-left: 0;
  }

  .offer-bullet-item {
    padding-left: 0;
    margin-left: 0;
  }

  .offer-box-interactive {
    padding: 1.5rem 1rem;
    margin: 0;
  }

  /* Ensure hero-trust-mini stays 3 columns on mobile */
  .hero-trust-mini {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    text-align: center;
  }

  .footer-copyright {
    text-align: center;
    width: 100%;
  }

  .hero-floating-badge {
    position: static;
    margin-top: 1rem;
    max-width: 100%;
  }

  .hero-img {
    height: 320px;
  }
}

@media (max-width: 440px) {
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.15;
    margin-bottom: 0.45rem;
  }
  .hero-pill {
    padding: 0.22rem 0.5rem;
    gap: 0.35rem;
    margin-bottom: 0.55rem;
  }
  .hero-pill-text {
    font-size: 0.68rem;
  }
  .hero-pill-tag {
    font-size: 0.6rem;
    padding: 0.1rem 0.35rem;
  }
  .hero-tag {
    font-size: 0.7rem;
    padding: 0.3rem 0.2rem;
  }
  .hero-cta-group .btn {
    font-size: 0.78rem;
    padding: 0.62rem 0.25rem;
  }
  .trust-mini-text {
    font-size: 0.64rem;
  }
  .brand-logo-img {
    height: 38px;
  }
  .phone-number-val {
    font-size: 0.88rem;
  }
  .phone-text-meta {
    font-size: 0.6rem;
  }
  .phone-icon-bubble {
    width: 32px;
    height: 32px;
  }
  .cred-title {
    font-size: 0.85rem;
  }
  .cred-desc {
    font-size: 0.7rem;
  }
  .problem-card-title,
  .why-title {
    font-size: 0.9rem;
  }
  .gallery-img-box {
    height: 110px;
  }
  .gallery-body {
    padding: 0.65rem 0.45rem;
  }
  .gallery-title {
    font-size: 0.78rem;
  }
  .gallery-desc {
    display: none;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.15;
  }
  .hero-description {
    font-size: 0.8rem;
  }
  .hero-pill {
    padding: 0.2rem 0.4rem;
    gap: 0.25rem;
  }
  .hero-pill-text {
    font-size: 0.6rem;
  }
  .hero-pill-tag {
    font-size: 0.55rem;
    padding: 0.08rem 0.3rem;
  }
  .hero-cta-group {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
  .hero-cta-group .btn {
    padding: 0.6rem 0.5rem;
    font-size: 0.82rem;
  }
  .brand-logo-img {
    height: 34px;
  }
  .phone-number-val {
    font-size: 0.82rem;
  }
  .phone-text-meta {
    font-size: 0.58rem;
  }
  .phone-icon-bubble {
    width: 28px;
    height: 28px;
  }
  .phone-icon-bubble svg {
    width: 14px;
    height: 14px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
