/* ==========================================================================
   Rowlett Hot Water Pros - SIGNATURE BESPOKE DESIGN (High-Impact Contractor)
   Distinctive, authentic American trade craftsmanship with photographic depth
   ========================================================================== */

:root {
  /* ==========================================================================
     STRICT 2-COLOR CONTRACTOR DESIGN SYSTEM
     (Matched to waterheaterrepairmckinney.com / waterheaterrepairrowlett.com)
     Primary Dark: Deep Contractor Navy (#1a2744 / #0f1a2e)
     Accent: Signature Safety Amber Flame (#e8731a / #d4680f)
     ========================================================================== */
  --primary: #1a2744;
  --primary-dark: #0f1a2e;
  --slate-950: #0f1a2e;
  --slate-900: #1a2744;
  --slate-800: #24355a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8f9fa;
  
  --brand-navy: #1a2744;
  --brand-blue: #24355a;
  --navy-950: #0a1322;
  --navy-900: #1a2744;
  --navy-800: #24355a;
  --slate-300: #cbd5e1;
  
  --flame-500: #e8731a;       /* Accent: Warm Contractor Amber */
  --flame-600: #d4680f;       /* Hover */
  --flame-400: #f97316;
  --flame-100: #ffedd5;
  --flame-50:  #fff7ed;
  
  --crimson-600: #e8731a;
  --crimson-700: #d4680f;
  --crimson-100: #ffedd5;

  --emerald-600: #e8731a;
  --emerald-500: #e8731a;
  --emerald-400: #f97316;
  --emerald-50:  #fff7ed;

  --copper-500: #e8731a;
  --copper-100: #ffedd5;

  --font-display: 'Barlow', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Barlow', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-sans: var(--font-body);
  
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 9999px;

  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 4px 14px rgba(0, 0, 0, 0.08);
  --shadow-float: 0 12px 30px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 4px 20px rgba(232, 115, 26, 0.28);
  --shadow-glow-red: 0 4px 20px rgba(232, 115, 26, 0.28);
  
  --container-max: 1200px;
  --transition: all 0.25s ease;
}

/* ----------------- Reset & Global ----------------- */
*, *::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-sans);
  color: var(--slate-900);
  background-color: #ffffff;
  line-height: 1.6;
  padding-bottom: 64px;
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--primary);
}

/* ----------------- Containers & Typography ----------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section-padding {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

.section-head {
  max-width: 800px;
  margin-bottom: 3.25rem;
}

.section-head.text-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--flame-500);
  background: var(--flame-50);
  border: 1px solid var(--flame-100);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.85rem;
}

.kicker.kicker-dark {
  background: rgba(255, 255, 255, 0.12);
  color: var(--flame-400);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.kicker.kicker-crimson {
  background: var(--flame-50);
  color: var(--flame-600);
  border: 1px solid var(--flame-100);
}

.section-h2 {
  font-family: var(--font-display);
  font-size: 2.45rem;
  line-height: 1.2;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .section-h2 {
    font-size: 2.1rem;
  }
}

.section-lead {
  font-size: 1.15rem;
  color: var(--slate-600);
  line-height: 1.65;
}

/* ----------------- Buttons (Matched to reference site) ----------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
  padding: 13px 30px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  text-decoration: none;
}

.btn-sm {
  font-size: 0.95rem;
  padding: 8px 18px;
}

.btn-lg {
  font-size: 1.2rem;
  padding: 15px 36px;
}

.btn-flame {
  background: var(--flame-500);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-flame:hover {
  background: var(--flame-600);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232, 115, 26, 0.4);
  color: #ffffff;
}

.btn-dark {
  background-color: var(--primary-dark);
  color: #ffffff;
}

.btn-dark:hover {
  background-color: var(--primary);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-crimson {
  background: var(--flame-500);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-crimson:hover {
  background: var(--flame-600);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

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

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1.15rem 2.35rem;
  font-size: 1.125rem;
}

/* ----------------- Top Notice Strip ----------------- */
.top-notice-strip {
  background: var(--slate-950);
  color: #cbd5e1;
  font-size: 0.8125rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-notice-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-notice-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.pulse-indicator {
  width: 9px;
  height: 9px;
  background-color: var(--flame-500);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(232, 115, 26, 0.7);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(232, 115, 26, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(232, 115, 26, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(232, 115, 26, 0); }
}

/* ----------------- Main Header (Matched to reference site) ----------------- */
.site-header {
  background: var(--primary-dark);
  border-bottom: 2px solid rgba(232, 115, 26, 0.25);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  height: auto;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  gap: 1rem;
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-symbol {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.brand-badge:hover .brand-symbol {
  transform: scale(1.06);
  filter: drop-shadow(0 3px 12px rgba(234, 88, 12, 0.45));
}

.brand-main-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.15;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .brand-main-title {
    font-size: 1.2rem;
  }
}

.brand-main-title .highlight-flame {
  color: var(--flame-500);
}

.brand-main-title .pros-tag {
  background: var(--flame-500);
  color: #ffffff;
  font-size: 0.75rem;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  letter-spacing: 1px;
  font-weight: 700;
  margin-left: 0.2rem;
  text-transform: uppercase;
}

.brand-sub-title {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: block;
  margin-top: 0.15rem;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .brand-sub-title {
    font-size: 0.65rem;
  }
}

.desktop-nav {
  display: none;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    flex-shrink: 0;
  }
}

@media (min-width: 1200px) {
  .desktop-nav {
    gap: 1.85rem;
  }
}

.desktop-nav a {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  color: #e2e8f0;
  padding: 0.5rem 0;
  position: relative;
  white-space: nowrap;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--flame-500);
}

.desktop-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--flame-500);
}

.header-action-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

@media (min-width: 1200px) {
  .header-action-group {
    gap: 1.1rem;
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .brand-badge {
    gap: 0.6rem;
  }
  .header-action-group {
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    min-height: 64px;
  }
  .brand-badge {
    gap: 0.5rem;
    max-width: calc(100% - 92px);
  }
  .brand-symbol svg {
    width: 32px;
    height: 32px;
  }
  .brand-main-title {
    font-size: 1.05rem;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand-sub-title {
    display: none;
  }
  .header-action-group {
    gap: 0.45rem;
  }
  .header-action-group .btn-sm {
    width: 38px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
  }
  .header-action-group .btn-sm svg {
    margin: 0;
    width: 18px;
    height: 18px;
  }
  .mobile-toggle-btn {
    width: 38px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
  }
}

.header-phone-card {
  display: none;
  text-align: right;
  flex-shrink: 0;
}

@media (min-width: 1200px) {
  .header-phone-card {
    display: block;
  }
}

.header-phone-hint {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--flame-400);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.header-phone-val {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
  display: block;
  white-space: nowrap;
}

.mobile-toggle-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.55rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .mobile-toggle-btn {
    display: none;
  }
}

/* Mobile Nav Drawer */
.mobile-nav-panel {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 4px solid var(--flame-500);
  box-shadow: var(--shadow-float);
  display: none;
  flex-direction: column;
  padding: 1.5rem;
  z-index: 999;
}

.mobile-nav-panel.open {
  display: flex;
}

.mobile-nav-panel a {
  padding: 0.85rem 0;
  font-size: 1.05rem;
  font-weight: 700;
  border-bottom: 1px solid var(--slate-100);
  color: var(--slate-800);
}

.mobile-nav-panel a:hover,
.mobile-nav-panel a.active {
  color: var(--flame-500);
}

/* ==========================================================================
   HERO - Bespoke Photographic Mechanical Atmosphere
   ========================================================================== */
.hero-wrapper-photo {
  position: relative;
  background: 
    linear-gradient(135deg, rgba(15, 26, 46, 0.82) 0%, rgba(26, 39, 68, 0.70) 50%, rgba(15, 26, 46, 0.80) 100%),
    url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 5.5rem 0 4.5rem;
  overflow: hidden;
  border-bottom: 3px solid var(--flame-500);
}

.hero-primary-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: rgba(232, 115, 26, 0.15);
  border: 1px solid rgba(232, 115, 26, 0.4);
  color: #fdba74;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--flame-500);
  box-shadow: 0 0 0 0 rgba(232, 115, 26, 0.7);
  animation: pulse-flame 2s infinite;
}

.hero-main-h1 {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
  .hero-main-h1 {
    font-size: 2.5rem;
  }
}

.hero-main-h1 span {
  color: var(--flame-500);
}

.hero-text-card {
  max-width: 780px;
  margin: 0 auto 2.25rem;
}

.hero-sub-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #e2e8f0;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.hero-sub-text strong {
  color: var(--flame-400);
}

.hero-cta-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
  margin-bottom: 0;
}

/* Dispatch Terminal Card */
.dispatch-terminal {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  color: var(--slate-900);
  border-radius: var(--radius-xl);
  padding: 2.35rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(234, 88, 12, 0.2);
  position: relative;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--slate-200);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.terminal-title {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--slate-900);
}

.terminal-status-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--emerald-600);
  background: var(--emerald-50);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}

.terminal-callout {
  background: linear-gradient(135deg, var(--flame-50) 0%, #fff7ed 100%);
  border: 1.5px dashed var(--flame-500);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.terminal-callout-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--flame-600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.terminal-phone-link {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--flame-600);
  display: block;
  margin: 0.25rem 0;
}

.terminal-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.92rem;
  color: var(--slate-700);
  margin-bottom: 1.75rem;
}

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

.terminal-item svg {
  color: var(--emerald-600);
  flex-shrink: 0;
}

/* ==========================================================================
   TRUST BAR STRIP (Clean, Decent, High-Authority Contractor Ribbon)
   ========================================================================== */
.trust-bar-strip {
  background: #ffffff;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  padding: 1.4rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  position: relative;
  z-index: 10;
}

.trust-bar-flex {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 992px) {
  .trust-bar-flex {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-bar-entry {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.trust-bar-entry:hover {
  transform: translateY(-2px);
}

.trust-bar-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--flame-50);
  border: 1px solid #fed7aa;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--flame-600);
}

.trust-bar-text-group {
  display: flex;
  flex-direction: column;
}

.trust-bar-main-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.25;
}

.trust-bar-sub-desc {
  font-size: 0.78rem;
  color: var(--slate-500);
  margin-top: 0.15rem;
  font-weight: 500;
}

/* ==========================================================================
   HERO GLASSMORPHIC TRUST BAR (Translucent - Background Shows Through)
   ========================================================================== */
.hero-trust-bar-glass {
  margin-top: 3.25rem;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 1.25rem 1.75rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 5;
}

.hero-trust-bar-glass:hover {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(232, 115, 26, 0.4);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.hero-trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-trust-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.4rem 0.5rem;
  transition: transform 0.25s ease;
  position: relative;
}

@media (min-width: 1024px) {
  .hero-trust-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -0.75rem;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.14);
  }
}

.hero-trust-item:hover {
  transform: translateY(-2px);
}

.hero-trust-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(232, 115, 26, 0.18);
  border: 1px solid rgba(232, 115, 26, 0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ff9838;
  box-shadow: 0 4px 14px rgba(232, 115, 26, 0.22);
}

.hero-trust-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.hero-trust-title {
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.hero-trust-desc {
  font-size: 0.78rem;
  color: #cbd5e1;
  margin-top: 0.2rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ==========================================================================
   24/7 EMERGENCY SECTION (Modern Dispatch Hub Redesign)
   ========================================================================== */
.emergency-section-clean {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 5rem 0 5.5rem;
  border-top: 3px solid var(--flame-500);
  border-bottom: 1px solid var(--slate-200);
  position: relative;
}

.emergency-header-wrap {
  margin-bottom: 2rem;
}

.emergency-badge-pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #ffffff;
  border: 1px solid rgba(232, 115, 26, 0.4);
  padding: 0.4rem 1.15rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 10px rgba(232, 115, 26, 0.12);
  margin-bottom: 1.25rem;
}

.live-pulse-dot {
  width: 9px;
  height: 9px;
  background-color: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: livePulse 1.8s infinite;
  display: inline-block;
}

@keyframes livePulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.emergency-badge-pulse .pulse-text {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--flame-600);
}

.emergency-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.35rem;
  margin-bottom: 2.75rem;
}

.emergency-card-modern {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.45rem;
  box-shadow: 0 4px 14px rgba(15, 26, 46, 0.04);
  transition: all 0.28s ease;
  display: flex;
  flex-direction: column;
}

.emergency-card-modern:hover {
  transform: translateY(-4px);
  border-color: var(--flame-400);
  box-shadow: 0 12px 28px rgba(232, 115, 26, 0.14);
}

.emergency-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}

.emergency-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--flame-50);
  border: 1px solid var(--flame-100);
  color: var(--flame-600);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.emergency-card-modern:hover .emergency-card-icon {
  background: var(--flame-500);
  color: #ffffff;
  border-color: var(--flame-500);
  transform: scale(1.05);
}

.emergency-tag-pill {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
}

.alert-critical {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

.alert-urgent {
  background: #ffedd5;
  color: #c2410c;
  border: 1px solid #fdba74;
}

.alert-hazard {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #f87171;
}

.alert-warning {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.emergency-card-title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 0.55rem;
}

.emergency-card-desc {
  font-size: 0.93rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin: 0;
}

/* Full-Width Emergency Dispatch Action Bar */
.emergency-dispatch-banner-full {
  background: linear-gradient(135deg, #0f1a2e 0%, #1a2744 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.25rem 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 4px solid var(--flame-500);
  box-shadow: 0 16px 40px rgba(15, 26, 46, 0.22);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 992px) {
  .emergency-dispatch-banner-full {
    grid-template-columns: 1.35fr 0.85fr;
    gap: 3rem;
  }
}

.dispatch-banner-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #86efac;
  margin-bottom: 0.85rem;
}

.dispatch-banner-text {
  font-size: 1.02rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.dispatch-banner-alert-note {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(232, 115, 26, 0.35);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #e2e8f0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.dispatch-banner-alert-note svg {
  color: var(--flame-400);
  flex-shrink: 0;
}

.dispatch-banner-alert-note strong {
  color: #ffffff;
}

.dispatch-banner-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.dispatch-banner-action .btn {
  width: 100%;
  font-size: 1.15rem;
  padding: 1.15rem 1.5rem;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(232, 115, 26, 0.35);
}

.dispatch-action-sub {
  font-size: 0.84rem;
  font-weight: 700;
  color: #fdba74;
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .emergency-section-clean {
    padding: 3.5rem 0 4rem;
  }
  .emergency-dispatch-banner-full {
    padding: 1.65rem 1.25rem;
    gap: 1.5rem;
  }
  .dispatch-banner-alert-note {
    align-items: flex-start;
  }
}

/* ==========================================================================
   WHAT WE DO / SERVICES (Sharp Modern Cards)
   ========================================================================== */
.services-section-redesign {
  background-color: var(--slate-50);
}

.services-grid-3col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

@media (max-width: 640px) {
  .services-grid-3col {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.service-box {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  transition: var(--transition);
}

.service-box:hover {
  transform: translateY(-6px);
  border-color: var(--slate-300);
  box-shadow: var(--shadow-float);
}

.service-box:hover::before {
  background: var(--flame-500);
}

.service-icon-bubble {
  width: 56px;
  height: 56px;
  background: var(--flame-50);
  border: 1px solid var(--flame-100);
  color: var(--flame-600);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-box-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.service-box-copy {
  font-size: 0.98rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.service-box-link {
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 1rem;
  text-transform: none;
  color: var(--flame-600);
}

.service-box-link:hover {
  gap: 0.75rem;
  color: var(--flame-500);
}

/* ==========================================================================
   BRANDS WE REPAIR & INSTALL (Continuous Scrolling Gallery Ticker With Background Photo)
   ========================================================================== */
.brands-section-redesign {
  position: relative;
  background-color: #f8fafc !important;
  background-image: none !important;
  color: var(--slate-900);
  padding: 5rem 0 5.5rem;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  overflow: hidden;
}

.brands-section-redesign .section-head {
  margin-bottom: 2.75rem;
}

.brands-section-redesign .section-head .kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--flame-50);
  border: 1px solid var(--flame-200);
  color: var(--flame-700);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.9rem;
}

.brands-section-redesign .section-head .section-h2 {
  color: var(--primary) !important;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.brands-section-redesign .section-head .section-lead {
  color: var(--slate-600) !important;
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.6;
}

.brands-ticker-viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 0.75rem 0 1.5rem;
  margin-bottom: 2.75rem;
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.brands-ticker-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: scroll-brands-ticker 36s linear infinite;
  will-change: transform;
}

.brands-ticker-viewport:hover .brands-ticker-track,
.brands-ticker-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-brands-ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.brand-gallery-card {
  flex: 0 0 auto;
  width: 235px;
  background: #ffffff !important;
  border: 1px solid var(--slate-200) !important;
  border-top: 3px solid var(--flame-500) !important;
  border-radius: var(--radius-lg);
  padding: 0.95rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.95rem;
  box-shadow: 0 4px 14px rgba(15, 26, 46, 0.06) !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.brand-gallery-card:hover {
  background: #ffffff !important;
  border-color: var(--flame-500) !important;
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(232, 115, 26, 0.18) !important;
}

.brand-logo-pic {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.brand-gallery-card:hover .brand-logo-pic {
  background: rgba(232, 115, 26, 0.12);
  border-color: rgba(232, 115, 26, 0.4);
}

.brand-card-info {
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 0;
}

.brand-pic-name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--primary) !important;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-pic-sub {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--flame-600) !important;
  margin-top: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brands-oem-banner {
  background: #0f1a2e !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-left: 4px solid var(--flame-500) !important;
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 30px rgba(15, 26, 46, 0.18);
}

@media (min-width: 860px) {
  .brands-oem-banner {
    flex-direction: row;
  }
}

.brands-oem-text {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  color: #e2e8f0 !important;
  font-size: 0.95rem;
  line-height: 1.5;
}

.brands-oem-text svg {
  color: var(--flame-400);
  flex-shrink: 0;
}

.brands-oem-text strong {
  color: #ffffff !important;
}

@media (max-width: 640px) {
  .brands-section-redesign {
    padding: 3.5rem 0 4rem;
  }
  .brand-gallery-card {
    width: 205px;
    padding: 0.7rem 0.95rem;
    gap: 0.75rem;
  }
  .brand-logo-pic {
    width: 38px;
    height: 38px;
  }
  .brand-pic-name {
    font-size: 1.05rem;
  }
  .brand-pic-sub {
    font-size: 0.68rem;
  }
}

/* ==========================================================================
   TANK VS TANKLESS COMPARISON (Visual Showdown)
   ========================================================================== */
.comparison-section-redesign {
  background: #ffffff;
}

.comparison-card-container {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.comparison-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

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

.matrix-table th,
.matrix-table td {
  padding: 1.25rem 1.6rem;
  border-bottom: 1px solid var(--slate-200);
}

.matrix-table thead th:nth-child(1) {
  background: var(--slate-900);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
}

.matrix-table thead th:nth-child(2) {
  background: var(--brand-blue);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  width: 38%;
}

.matrix-table thead th:nth-child(3) {
  background: var(--flame-500);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  width: 38%;
}

.matrix-table tbody td:first-child {
  font-weight: 700;
  color: var(--slate-900);
  background: var(--slate-50);
  width: 24%;
}

.matrix-table tbody tr:hover td {
  background-color: var(--slate-50);
}

.matrix-table tbody td:nth-child(3) {
  background-color: var(--flame-50);
}

.matrix-takeaway-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-left: 5px solid var(--flame-500);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  margin-top: 2.75rem;
}

.matrix-takeaway-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.matrix-takeaway-body {
  font-size: 1.05rem;
  color: var(--slate-800);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   WARNING SIGNS DIAGNOSTIC GRID (Photographic Diagnostic Hub)
   ========================================================================== */
.signs-section-redesign {
  position: relative;
  background: 
    linear-gradient(180deg, rgba(10, 18, 32, 0.88) 0%, rgba(15, 26, 46, 0.80) 50%, rgba(10, 18, 32, 0.90) 100%),
    url('../images/signs-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 5.5rem 0 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(232, 115, 26, 0.35);
  overflow: hidden;
}

.signs-section-redesign .kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(232, 115, 26, 0.14);
  border: 1px solid rgba(232, 115, 26, 0.38);
  color: #fdba74;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.9rem;
}

.signs-section-redesign .section-h2 {
  color: #ffffff;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
  margin-bottom: 0.75rem;
}

.signs-section-redesign .section-lead {
  color: #cbd5e1;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  font-size: 1.05rem;
  line-height: 1.6;
}

.signs-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.75rem;
}

.sign-tile {
  background: rgba(15, 26, 46, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  transition: all 0.25s ease;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.sign-tile:hover {
  background: rgba(26, 39, 68, 0.92);
  border-color: var(--flame-500);
  box-shadow: 0 8px 26px rgba(232, 115, 26, 0.35);
  transform: translateY(-3px);
}

.sign-indicator {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(232, 115, 26, 0.16);
  border: 1px solid rgba(232, 115, 26, 0.4);
  color: var(--flame-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sign-name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.sign-explanation {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.55;
}

.sign-banner-callout {
  background: rgba(15, 26, 46, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(232, 115, 26, 0.5);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.sign-banner-callout p {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

@media (min-width: 768px) {
  .sign-banner-callout {
    flex-direction: row;
  }
}

/* ==========================================================================
   WHY CHOOSE US - Asymmetric Split with Plumber Photo
   ========================================================================== */
.why-us-redesign {
  background: #ffffff;
}

.why-split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .why-split-layout {
    grid-template-columns: 0.88fr 1.12fr;
  }
}

.why-photo-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-float);
  border: 1px solid var(--slate-200);
}

.why-photo-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.why-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 70%, transparent 100%);
  padding: 2rem;
  color: #ffffff;
}

.why-photo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--flame-500);
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.65rem;
}

.why-grid-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.why-pillar-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: var(--transition);
}

.why-pillar-card:hover {
  background: #ffffff;
  border-color: var(--flame-500);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.why-pillar-icon {
  width: 48px;
  height: 48px;
  background: var(--flame-100);
  color: var(--flame-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.why-pillar-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.why-pillar-desc {
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.55;
}

/* ==========================================================================
   NEARBY SERVICE AREAS & ATTRACTIVE CITY TAGS
   ========================================================================== */
.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 980px;
  margin: 2rem auto 0;
}

.area-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(232, 115, 26, 0.08);
  border: 1.5px solid rgba(232, 115, 26, 0.24);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-900);
  cursor: pointer;
  transition: all 0.22s ease-in-out;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.area-tag:hover {
  background: var(--flame-500);
  color: #ffffff !important;
  border-color: var(--flame-500);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(232, 115, 26, 0.32);
}

.area-tag__dot {
  width: 8px;
  height: 8px;
  background: var(--flame-500);
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.22s ease-in-out;
}

.area-tag:hover .area-tag__dot {
  background: #ffffff;
}

.area-tag.active {
  background: var(--navy-900);
  color: #ffffff !important;
  border-color: var(--navy-900);
}

.area-tag.active .area-tag__dot {
  background: var(--flame-400);
}

.nearby-areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.nearby-area-card {
  background: #ffffff;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  text-align: left;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: var(--navy-900);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
}

.nearby-area-card:hover {
  border-color: var(--flame-500);
  color: var(--flame-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.nearby-area-card svg {
  color: var(--flame-500);
  transition: transform 0.2s ease;
}

.nearby-area-card:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   HOW IT WORKS (Connected 4-Step Process)
   ========================================================================== */
.process-section-redesign {
  background: var(--slate-50);
}

.process-steps-flex {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.75rem;
}

.process-step-item {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  position: relative;
  text-align: center;
  box-shadow: var(--shadow-subtle);
}

.step-num-badge {
  width: 52px;
  height: 52px;
  background: var(--flame-500);
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
}

.step-title-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--primary);
  margin-bottom: 0.65rem;
}

.step-desc-text {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ==========================================================================
   AREAS WE SERVE (Clean Regional Coverage Pills)
   ========================================================================== */
.areas-section-redesign {
  background: #ffffff;
  padding: 5rem 0;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.areas-section-redesign .kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--flame-50);
  border: 1px solid var(--flame-200);
  color: var(--flame-700);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.9rem;
}

.areas-section-redesign .section-h2 {
  color: var(--primary);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.areas-section-redesign .section-lead {
  color: var(--slate-600);
  font-size: 1.05rem;
  line-height: 1.6;
}

.areas-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 2.25rem;
  margin-bottom: 2.5rem;
}

.area-cloud-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-800);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  text-decoration: none;
}

.area-cloud-tag:hover {
  background: var(--flame-500);
  border-color: var(--flame-500);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(232, 115, 26, 0.35);
}

.area-cloud-tag.hub {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(15, 26, 46, 0.25);
}

.area-cloud-tag.featured {
  background: var(--flame-50);
  border-color: var(--flame-300);
  color: var(--flame-800);
  font-weight: 700;
}

.areas-dispatch-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 3rem;
  padding: 1.25rem 2rem;
  background: var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.areas-dispatch-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #cbd5e1;
  font-size: 0.92rem;
  font-weight: 500;
}

.areas-dispatch-item svg {
  color: var(--flame-400);
  flex-shrink: 0;
}

.areas-dispatch-item strong {
  color: #ffffff;
}

@media (max-width: 640px) {
  .areas-section-redesign {
    padding: 3.5rem 0 4rem;
  }
  .area-cloud-tag {
    padding: 0.5rem 1rem;
    font-size: 0.88rem;
  }
  .areas-dispatch-banner {
    padding: 1rem 1.25rem;
    gap: 1rem;
  }
}

/* ==========================================================================
   INTERACTIVE QUOTE & DISPATCH TERMINAL (Clean 2-Color Design)
   ========================================================================== */
.home-dispatch-section {
  position: relative;
  background-color: var(--slate-50);
  color: var(--slate-900);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.home-dispatch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .home-dispatch-grid {
    grid-template-columns: 1fr 1.15fr;
  }
}

.home-dispatch-info h2 {
  font-family: var(--font-display);
  font-size: 2.45rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 1rem;
}

.home-dispatch-info p {
  font-size: 1.125rem;
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.dispatch-phone-box-large {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-left: 4px solid var(--flame-500);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.home-form-card {
  background: #ffffff;
  color: var(--slate-900);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--slate-200);
  border-top: 4px solid var(--flame-500);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.home-form-card h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

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

@media (max-width: 540px) {
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}
.input-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 0.4rem;
}

.input-field {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background-color: #ffffff;
  color: var(--slate-900);
  font-size: 0.95rem;
  transition: var(--transition);
}

.input-field:focus {
  outline: none;
  border-color: var(--flame-500);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

/* ==========================================================================
   FAQS ACCORDION
   ========================================================================== */
.faqs-section-redesign {
  background-color: var(--slate-50);
}

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

.faq-panel {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
}

.faq-panel:hover {
  border-color: var(--slate-300);
}

.faq-panel.active {
  border-color: var(--flame-500);
  box-shadow: var(--shadow-card);
}

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

.faq-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-600);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-panel.active .faq-arrow {
  transform: rotate(180deg);
  background: var(--flame-100);
  color: var(--flame-600);
}

.faq-drawer {
  display: none;
  padding: 0 1.75rem 1.5rem;
  font-size: 0.98rem;
  color: var(--slate-600);
  line-height: 1.7;
  border-top: 1px solid var(--slate-100);
}

.faq-panel.active .faq-drawer {
  display: block;
}

/* ==========================================================================
   CUSTOMER REVIEWS (Interactive Sliding Carousel - Line Me Chale Ruk Ke)
   ========================================================================== */
.reviews-section-clean {
  background-color: #ffffff;
  padding: 5.5rem 0;
  border-top: 1px solid var(--slate-200);
  overflow: hidden;
}

.reviews-head-flex {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .reviews-head-flex {
    flex-direction: row;
    align-items: flex-end;
  }
}

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

.reviews-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--slate-600);
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
}

.reviews-nav-arrows {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reviews-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--slate-200);
  background: #ffffff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.reviews-arrow-btn:hover {
  background: var(--flame-500);
  border-color: var(--flame-500);
  color: #ffffff;
  transform: scale(1.05);
}

.reviews-carousel-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-lg);
  padding: 0.5rem 0 1rem;
}

.reviews-slider-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.reviews-slide-item {
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
}

@media (min-width: 640px) {
  .reviews-slide-item {
    flex: 0 0 calc((100% - 1.5rem) / 2);
  }
}

@media (min-width: 1024px) {
  .reviews-slide-item {
    flex: 0 0 calc((100% - 3rem) / 3);
  }
}

.review-card-clean {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

.review-card-clean:hover {
  transform: translateY(-4px);
  border-color: var(--flame-500);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.review-stars-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--flame-500);
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}

.review-service-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--flame-50);
  color: var(--flame-600);
  border: 1px solid var(--flame-100);
  margin-bottom: 0.85rem;
}

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

.review-author-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--slate-100);
  padding-top: 1rem;
}

.review-avatar-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-author-info {
  display: flex;
  flex-direction: column;
}

.review-author-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.review-author-loc {
  font-size: 0.78rem;
  color: var(--slate-500);
  margin-top: 0.15rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.review-verified-tag {
  color: var(--flame-600);
  font-weight: 700;
}

.reviews-dots-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.reviews-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-pill);
  background: var(--slate-300);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.reviews-dot.active {
  width: 28px;
  background: var(--flame-500);
}

/* ==========================================================================
   FOOTER (Unique Authority Contractor Design)
   ========================================================================== */
.footer-redesign {
  background: #0f1a2e;
  color: #94a3b8;
  padding: 4.5rem 0 2.5rem;
  border-top: 4px solid var(--flame-500);
  font-size: 0.95rem;
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 992px) {
  .footer-columns-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .footer-columns-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-heading {
  font-family: var(--font-display);
  color: #ffffff;
  font-size: 1.18rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 34px;
  height: 2px;
  background-color: var(--flame-500);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-list a {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #94a3b8;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links-list a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-bar-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  font-size: 0.88rem;
  color: #94a3b8;
}

@media (min-width: 768px) {
  .footer-bar-bottom {
    flex-direction: row;
  }
}

.footer-bar-bottom a {
  color: #94a3b8;
  transition: var(--transition);
  text-decoration: none;
}

.footer-bar-bottom a:hover {
  color: #ffffff;
}

/* ==========================================================================
   MOBILE STICKY TAP-TO-CALL BAR
   ========================================================================== */
.mobile-tap-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--slate-200);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
  padding: 0.65rem 1rem;
  display: flex;
  gap: 0.75rem;
  z-index: 998;
}

@media (min-width: 769px) {
  .mobile-tap-bar {
    display: none;
  }
}

.mobile-tap-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  text-align: center;
}

/* ==========================================================================
   TANKLESS WATER HEATER SERVICE PAGE STYLES (3 High-Impact Photo Atmospheres)
   ========================================================================== */
.tankless-hero-wrapper {
  position: relative;
  background: 
    linear-gradient(135deg, rgba(10, 18, 32, 0.90) 0%, rgba(15, 26, 46, 0.78) 50%, rgba(10, 18, 32, 0.88) 100%),
    url('../images/tankless-hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
  border-bottom: 3px solid var(--flame-500);
}

.tankless-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .tankless-hero-grid {
    grid-template-columns: 1.25fr 0.85fr;
  }
}

.tankless-process-photo-section {
  position: relative;
  background: 
    linear-gradient(180deg, rgba(10, 18, 32, 0.93) 0%, rgba(15, 26, 46, 0.88) 50%, rgba(10, 18, 32, 0.94) 100%),
    url('../images/water-heater-showcase.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 5.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(232, 115, 26, 0.35);
  margin-bottom: 0;
}

.tankless-process-photo-section .section-h2 {
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.tankless-process-photo-section .section-lead {
  color: #cbd5e1 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.tankless-step-card-photo {
  background: rgba(15, 26, 46, 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 4px solid var(--flame-500);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all 0.28s ease;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

.tankless-step-card-photo:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 115, 26, 0.6);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
}

.tankless-step-card-photo h3 {
  color: #ffffff !important;
}

.tankless-step-card-photo p {
  color: #cbd5e1 !important;
}

.tankless-issues-photo-section {
  position: relative;
  background: 
    linear-gradient(180deg, rgba(10, 18, 32, 0.92) 0%, rgba(15, 26, 46, 0.85) 50%, rgba(10, 18, 32, 0.94) 100%),
    url('../images/signs-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 5.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(232, 115, 26, 0.35);
}

.tankless-issues-photo-section .section-h2 {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.tankless-issues-photo-section .section-lead {
  color: #cbd5e1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.tankless-issues-photo-section .tankless-issue-card {
  background: rgba(15, 26, 46, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 4px solid var(--flame-500);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
}

.tankless-issues-photo-section .tankless-issue-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 115, 26, 0.6);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.tankless-issues-photo-section .tankless-issue-card h3 {
  color: #ffffff !important;
}

.tankless-issues-photo-section .tankless-issue-card p {
  color: #cbd5e1 !important;
}

.tankless-descaling-section {
  position: relative;
  background: #ffffff;
  background-image: none !important;
  color: var(--slate-900);
  padding: 5rem 0;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  margin-bottom: 0;
}

.tankless-descaling-section h2 {
  color: var(--primary) !important;
  text-shadow: none !important;
}

.tankless-descaling-section p {
  color: var(--slate-600) !important;
  text-shadow: none !important;
}

.tankless-descaling-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .tankless-descaling-grid {
    grid-template-columns: 1.25fr 0.85fr;
  }
}

.tankless-descaling-card {
  background: #0f1a2e;
  border: 1px solid rgba(232, 115, 26, 0.45);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  box-shadow: 0 12px 32px rgba(15, 26, 46, 0.2);
}

.tankless-final-cta,
.tankless-cta-photo {
  position: relative;
  background: linear-gradient(135deg, #0a1220 0%, #0f1a2e 50%, #1a2744 100%) !important;
  background-image: none !important;
  color: #ffffff;
  padding: 4.5rem 0;
  text-align: center;
  border-top: 3px solid var(--flame-500);
}

.tankless-advisory-banner {
  position: relative;
  background: 
    linear-gradient(135deg, rgba(10, 18, 32, 0.92) 0%, rgba(15, 26, 46, 0.88) 100%),
    url('../images/water-heater-repair-action.jpg');
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.25rem;
  border: 1px solid rgba(232, 115, 26, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  color: #ffffff;
}

.tankless-advisory-banner h3 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0.5rem 0 0.85rem;
}

.tankless-advisory-banner p {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.tankless-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0;
  background: transparent;
  border: none;
  margin-top: 2rem;
}

.tankless-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  background: rgba(10, 18, 32, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.5rem 1.05rem;
  border-radius: var(--radius-pill);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

.tankless-works-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 3.5rem;
}

.tankless-flow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  position: relative;
}

.tankless-flow-step {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.25rem;
  position: relative;
}

.tankless-flow-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.tankless-hard-water-callout {
  background: linear-gradient(135deg, rgba(232, 115, 26, 0.08) 0%, rgba(15, 26, 46, 0.04) 100%);
  border: 2px solid rgba(232, 115, 26, 0.35);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  margin-bottom: 3.5rem;
}

.tankless-issues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 3.5rem;
}

.tankless-issues-photo-section .tankless-issue-card,
.tankless-issue-card {
  background: rgba(15, 26, 46, 0.92) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-top: 4px solid var(--flame-500) !important;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: all 0.28s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

.tankless-issues-photo-section .tankless-issue-card:hover,
.tankless-issue-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 115, 26, 0.7) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5) !important;
}

.tankless-issues-photo-section .tankless-issue-badge,
.tankless-issue-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(232, 115, 26, 0.2) !important;
  border: 1px solid rgba(232, 115, 26, 0.45) !important;
  color: #fdba74 !important;
  margin-bottom: 0.85rem;
}

.tankless-issue-card h3 {
  color: #ffffff !important;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tankless-issue-card p {
  color: #cbd5e1 !important;
  font-size: 0.94rem;
  line-height: 1.6;
  margin: 0;
}

.tankless-brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 3.5rem;
}

.tankless-brand-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 14px rgba(15, 26, 46, 0.04);
  transition: all 0.25s ease;
}

.tankless-brand-card:hover {
  border-top-color: var(--flame-500);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.tankless-cost-table-wrap {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-top: 2rem;
  margin-bottom: 3.5rem;
}

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

.tankless-cost-table th {
  background: var(--primary);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1.15rem 1.5rem;
}

.tankless-cost-table td {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--slate-200);
  font-size: 1.02rem;
  color: var(--slate-800);
}

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

.tankless-cost-table tr:nth-child(even) td {
  background: var(--slate-50);
}

.tankless-cost-val {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--flame-600);
}

.tankless-faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 3.5rem;
}

.tankless-faq-item {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: var(--transition);
}

.tankless-faq-item:hover {
  border-color: var(--flame-400);
  box-shadow: 0 6px 20px rgba(232, 115, 26, 0.08);
}

.tankless-faq-item.active {
  border-color: var(--flame-500);
  box-shadow: var(--shadow-card);
}

.tankless-faq-q {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
  width: 100%;
}

.tankless-faq-q-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tankless-faq-q::after {
  content: '';
  width: 12px;
  height: 12px;
  border-right: 2.5px solid var(--slate-500);
  border-bottom: 2.5px solid var(--slate-500);
  transform: rotate(45deg);
  transition: transform 0.25s ease, border-color 0.25s ease;
  margin-right: 0.25rem;
  flex-shrink: 0;
}

.tankless-faq-item.active .tankless-faq-q::after {
  transform: rotate(-135deg);
  border-color: var(--flame-500);
}

.tankless-faq-a {
  display: none;
  font-size: 1rem;
  color: var(--slate-600);
  line-height: 1.65;
  margin: 0;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--slate-100);
}

.tankless-faq-item.active .tankless-faq-a {
  display: block;
}

@media (max-width: 640px) {
  .tankless-works-card {
    padding: 1.5rem 1.25rem;
  }
  .tankless-hard-water-callout {
    padding: 1.5rem 1.25rem;
  }
  .tankless-faq-item {
    padding: 1.25rem;
  }
  .tankless-faq-a {
    padding-left: 0;
    margin-top: 0.5rem;
  }
}

/* ==========================================================================
   WATER HEATER REPLACEMENT - DISTINCTIVE MODERN DESIGN
   ========================================================================== */

.replacement-hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.75rem;
  align-items: center;
}

@media (max-width: 991px) {
  .replacement-hero-layout {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
}

.hero-decision-card {
  background: rgba(15, 26, 46, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 2px solid rgba(232, 115, 26, 0.45);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

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

.decision-rule-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
}

.decision-rule-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(232, 115, 26, 0.3);
}

.decision-pill {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.decision-pill-replace {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.decision-pill-warn {
  background: rgba(232, 115, 26, 0.2);
  color: #fdba74;
  border: 1px solid rgba(232, 115, 26, 0.4);
}

.decision-pill-repair {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

/* 50% Rule Formula Banner */
.rule-formula-card {
  background: linear-gradient(135deg, var(--primary) 0%, #17253d 100%);
  border: 2px solid var(--flame-500);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 26, 46, 0.2);
}

.formula-display-badge {
  background: rgba(232, 115, 26, 0.15);
  border: 1.5px dashed var(--flame-500);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.5rem;
  text-align: center;
  margin: 1.25rem 0;
}

/* Replacement Timeline */
.timeline-step-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-top: 4px solid var(--flame-500);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.timeline-step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.timeline-step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--flame-500);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.15rem;
  box-shadow: 0 4px 12px rgba(232, 115, 26, 0.35);
}

/* Pricing Cards */
.pricing-card-highlight {
  background: #ffffff;
  border: 2px solid var(--flame-500);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem;
  box-shadow: 0 16px 36px rgba(232, 115, 26, 0.15);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card-standard {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.pricing-popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--flame-500);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 10px rgba(232, 115, 26, 0.3);
}

/* ==========================================================================
   SERVICE PAGE PRE-FOOTER CTA CARD (Clean, Balanced & High-Converting)
   ========================================================================== */
.service-cta-card {
  background: linear-gradient(135deg, #0a1220 0%, #0f1a2e 55%, #16243f 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 4px solid var(--flame-500);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  box-shadow: 0 20px 48px rgba(15, 26, 46, 0.25);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.service-cta-inner {
  max-width: 820px;
  margin: 0 auto;
}

.service-cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin: 0.85rem 0 1rem;
}

.service-cta-desc {
  font-size: 1.12rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}

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

.service-cta-buttons .btn {
  font-size: 1.15rem;
  padding: 1.15rem 2.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.service-cta-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fdba74;
}

@media (max-width: 640px) {
  .service-cta-card {
    padding: 2.25rem 1.5rem;
  }
  .service-cta-buttons {
    flex-direction: column;
    gap: 0.85rem;
  }
  .service-cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  .service-cta-trust {
    gap: 0.5rem 0.85rem;
    font-size: 0.88rem;
  }
}

/* ==========================================================================
   BLOG & RESOURCE CENTER STYLES
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.blog-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(15, 26, 46, 0.04);
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--flame-400);
  box-shadow: 0 16px 36px rgba(15, 26, 46, 0.1);
}

.blog-card-media {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-card-media-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: radial-gradient(var(--flame-500) 1px, transparent 1px);
  background-size: 16px 16px;
}

.blog-card-media-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(232, 115, 26, 0.15);
  border: 1.5px solid rgba(232, 115, 26, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--flame-400);
  position: relative;
  z-index: 1;
}

.blog-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 26, 46, 0.85);
  backdrop-filter: blur(4px);
  color: var(--flame-400);
  border: 1px solid rgba(232, 115, 26, 0.4);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

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

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.82rem;
  color: var(--slate-500);
  margin-bottom: 0.85rem;
}

.blog-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.3;
  margin-bottom: 0.75rem;
  transition: color 0.2s ease;
}

.blog-card:hover .blog-card-title {
  color: var(--flame-600);
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
}

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

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

.blog-card-link {
  color: var(--flame-600);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s ease;
}

.blog-card:hover .blog-card-link {
  gap: 0.7rem;
}

/* Category Filter Bar */
.blog-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.blog-filter-btn {
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.blog-filter-btn:hover,
.blog-filter-btn.active {
  background: var(--navy-900);
  color: #ffffff;
  border-color: var(--navy-900);
}

/* Single Article Reading Layout */
.article-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
}

.article-header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--slate-200);
}

.article-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--navy-900);
  margin: 1rem 0;
}

.article-author-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
}

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

.author-avatar-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--flame-400);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--flame-500);
}

.article-body {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--slate-700);
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--navy-900);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--slate-200);
}

.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy-900);
  margin: 1.85rem 0 0.75rem;
}

.article-body p {
  margin-bottom: 1.35rem;
}

.article-body a {
  color: #ea580c !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1.5px !important;
  text-underline-offset: 3px !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
}

.article-body a:hover {
  color: #c2410c !important;
  text-decoration-thickness: 2.5px !important;
  background-color: rgba(234, 88, 12, 0.08) !important;
  border-radius: 3px !important;
}

.article-body ul, .article-body ol {
  margin: 0 0 1.5rem 1.5rem;
  padding: 0;
}

.article-body li {
  margin-bottom: 0.65rem;
}

.article-key-takeaways {
  background: #f8fafc;
  border: 1.5px solid var(--slate-200);
  border-left: 5px solid var(--flame-500);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin: 2rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.article-key-takeaways h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-callout-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 5px solid #f59e0b;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  color: #92400e;
}

.article-callout-dispatch {
  background: linear-gradient(135deg, #0a1220 0%, #0f1a2e 100%);
  border-top: 3px solid var(--flame-500);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2.5rem 0;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  box-shadow: 0 12px 28px rgba(15, 26, 46, 0.2);
}

.article-table-wrap {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
}

.article-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.98rem;
}

.article-table-wrap th {
  background: var(--navy-900);
  color: #ffffff;
  padding: 0.95rem 1.15rem;
  font-weight: 700;
}

.article-table-wrap td {
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid var(--slate-200);
  color: var(--slate-700);
}

.article-table-wrap tr:nth-child(even) td {
  background: var(--slate-50);
}


/* Blog Card Image & Article Featured Media */
.blog-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.blog-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 26, 46, 0.15) 0%, rgba(15, 26, 46, 0.65) 100%);
  pointer-events: none;
}

.article-featured-media {
  margin: 1.5rem 0 2.25rem;
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--slate-200, #e2e8f0);
  background: var(--slate-900, #0f172a);
}

.article-featured-media img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.article-featured-caption {
  padding: 0.8rem 1.25rem;
  background: #ffffff;
  border-top: 1px solid var(--slate-200, #e2e8f0);
  font-size: 0.88rem;
  color: var(--slate-600, #475569);
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-featured-caption svg {
  flex-shrink: 0;
  color: var(--flame-600, #ea580c);
}

/* ==========================================================================
   MOBILE CONTENT & BUTTON RESPONSIVENESS (Zero Side-Scroll / Overflow)
   ========================================================================== */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* Prevent buttons from sticking out on narrow screens */
.btn {
  max-width: 100%;
  box-sizing: border-box;
  word-break: normal;
}

@media (max-width: 768px) {
  /* Hero CTA buttons stack vertically on mobile and fit cleanly */
  .hero-cta-flex {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    width: 100%;
    max-width: 100%;
  }

  .hero-cta-flex .btn,
  .hero-cta-flex a {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    justify-content: center !important;
    text-align: center !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    box-sizing: border-box !important;
  }

  .btn-lg {
    font-size: 1.05rem !important;
    padding: 0.95rem 1.25rem !important;
    min-height: 48px;
  }

  .btn {
    font-size: 0.98rem !important;
    padding: 0.85rem 1.15rem !important;
    white-space: normal !important;
  }

  /* Trust bars wrap cleanly on mobile */
  .trust-bar-flex,
  .tankless-trust-bar {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.85rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .trust-bar-entry,
  .tankless-trust-item {
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 0.88rem !important;
  }

  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .trust-bar-flex,
  .tankless-trust-bar {
    grid-template-columns: 1fr !important;
  }

  .btn-lg,
  .btn {
    font-size: 0.95rem !important;
    padding: 0.85rem 1rem !important;
    width: 100% !important;
  }

  .hero-main-h1 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
}
