/* ==========================================================================
   GAS WATER HEATER REPLACEMENT — DEDICATED STYLESHEET
   Page: /gas-water-heater-replacement-long-beach-ca/
   Author: Antigravity UI/UX & Responsive Web Architecture
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. BASE SECTION LAYOUT & BACKGROUNDS
   -------------------------------------------------------------------------- */
.content-section {
  width: 100%;
  padding: clamp(2.75rem, 5vw, 4.25rem) 0;
  box-sizing: border-box;
  position: relative;
}

.content-section.bg-alt {
  background-color: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

.content-section .container {
  width: 100%;
  max-width: var(--container-max, 1200px);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding, 1.5rem);
  padding-right: var(--container-padding, 1.5rem);
  box-sizing: border-box;
}

.content-section h2 {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  font-weight: 800;
  color: #102A43;
  line-height: 1.25;
  margin-top: 0;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.content-section p {
  font-size: 1.05rem;
  color: #334E68;
  line-height: 1.7;
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.content-section p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   CANONICAL SECTION HEADER & EYEBROW SYSTEM (HOMEPAGE DESIGN BENCHMARK)
   -------------------------------------------------------------------------- */
.section-header {
  text-align: center;
  max-width: 820px;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0 !important;
  margin-bottom: clamp(2rem, 3.5vw, 2.75rem) !important;
  box-sizing: border-box;
}

.section-header .eyebrow,
.section-header .badge {
  display: inline-block;
  background: #EAF5FC;
  color: #1673B8;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

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

.section-header p,
.section-header .section-lead {
  color: #486581;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.editorial-lead-container {
  max-width: 860px;
  margin: 0 auto;
  box-sizing: border-box;
}

.editorial-lead-container p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #334E68;
}

/* --------------------------------------------------------------------------
   2. HERO SECTION (HOMEPAGE DESIGN BENCHMARK)
   -------------------------------------------------------------------------- */
.hero-section.hero-gas-replacement {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  padding-top: 1.25rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid #E2E8F0;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-gas-replacement .hero-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 2.25rem;
  align-items: center;
  box-sizing: border-box;
}

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

.hero-gas-replacement .hero-content {
  display: flex;
  flex-direction: column;
}

.hero-gas-replacement .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #EAF5FC;
  color: #1673B8;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

.hero-gas-replacement .hero-title {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  font-weight: 800;
  color: #102A43;
  line-height: 1.15;
  margin-top: 0;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}

.hero-gas-replacement .hero-title .text-blue {
  color: #1673B8;
}

.hero-gas-replacement .hero-description {
  font-size: 1.05rem;
  line-height: 1.55;
  color: #486581;
  max-width: 540px;
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.hero-gas-replacement .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 0.75rem;
}

.hero-gas-replacement .hero-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: visible;
}

.hero-gas-replacement .hero-image-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(11, 31, 51, 0.12);
  border: 1px solid rgba(22, 115, 184, 0.15);
  background-color: #FFFFFF;
  aspect-ratio: 4 / 3;
  max-height: 420px;
}

.hero-gas-replacement .hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-gas-replacement .hero-badge-floating {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 0.75rem 1.125rem;
  box-shadow: 0 10px 25px -5px rgba(16, 42, 67, 0.12);
  border: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
}

.hero-gas-replacement .badge-bottom-left {
  bottom: -15px;
  left: -15px;
}

.hero-gas-replacement .badge-top-right {
  top: 15px;
  right: -15px;
}

.hero-gas-replacement .badge-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: #EAF5FC;
  color: #1673B8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-gas-replacement .badge-text-title {
  font-family: 'Manrope', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #102A43;
  line-height: 1.2;
}

.hero-gas-replacement .badge-text-sub {
  font-size: 0.75rem;
  color: #627D98;
  line-height: 1.2;
}

/* --------------------------------------------------------------------------
   CONTENT FORMATTING ENHANCEMENTS
   -------------------------------------------------------------------------- */
.gas-intro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.75rem;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .gas-intro-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.gas-intro-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.85rem 1.65rem;
  box-shadow: 0 2px 8px rgba(16, 42, 67, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  box-sizing: border-box;
  height: 100%;
}

.gas-intro-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -4px rgba(16, 42, 67, 0.08);
  border-color: #1673B8;
}

.gas-intro-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #102A43;
  margin-top: 0;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.gas-intro-card p {
  font-size: 1rem;
  line-height: 1.68;
  color: #334E68;
  margin: 0;
}

.table-card-container {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(16, 42, 67, 0.04);
  margin: 2rem 0;
  box-sizing: border-box;
}

.table-card-container .table-responsive {
  border: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
}

.callout-note-box {
  background: #F0F7FD;
  border-left: 4px solid #1673B8;
  border-radius: 0 12px 12px 0;
  padding: 1.25rem 1.65rem;
  margin: 2rem auto 0;
  max-width: 900px;
  box-sizing: border-box;
}

.callout-note-box p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #102A43;
  margin: 0;
}

.variables-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 2rem;
  margin: 2.5rem auto 0;
  max-width: 900px;
  box-shadow: 0 4px 16px rgba(16, 42, 67, 0.04);
  box-sizing: border-box;
}

.variables-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #102A43;
  margin-top: 0;
  margin-bottom: 0.85rem;
}

.gas-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .gas-compare-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.gas-compare-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(16, 42, 67, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  box-sizing: border-box;
  height: 100%;
}

.gas-compare-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -4px rgba(16, 42, 67, 0.08);
  border-color: #1673B8;
}

.gas-compare-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #102A43;
  margin-top: 0;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gas-compare-card p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #334E68;
  margin: 0;
}

/* --------------------------------------------------------------------------
   3. CONTENT IMAGE CALLOUTS
   -------------------------------------------------------------------------- */
.content-image-callout {
  margin: 2.5rem auto 1rem auto;
  max-width: 900px;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid #E2E8F0;
  box-shadow: 0 10px 25px -5px rgba(16, 42, 67, 0.08);
  background: #FFFFFF;
  box-sizing: border-box;
}

.img-responsive {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: cover;
  display: block;
}

.caption {
  font-size: 0.85rem;
  color: #627D98;
  font-style: italic;
  padding: 0.75rem 1.25rem;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  text-align: center;
  margin: 0;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   4. FEATURE GRID & FEATURE CARDS (WARNING SIGNS, CALIFORNIA CODES)
   -------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  box-sizing: border-box;
}

.feature-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.85rem 1.65rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  box-sizing: border-box;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -4px rgba(16, 42, 67, 0.08);
  border-color: #1673B8;
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(22, 115, 184, 0.1);
  color: #1673B8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
}

.feature-svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #102A43;
  margin-top: 0;
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.feature-card p {
  font-size: 0.95rem;
  color: #486581;
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------------------------------------
   5. CARDS GRID & INFO CARDS (TYPES, BRANDS, RELATED SERVICES)
   -------------------------------------------------------------------------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  box-sizing: border-box;
}

.info-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.85rem 1.65rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  box-sizing: border-box;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -4px rgba(16, 42, 67, 0.08);
  border-color: #1673B8;
}

.info-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #102A43;
  margin-top: 0;
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.info-card p {
  font-size: 0.95rem;
  color: #486581;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.info-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.info-card ul li {
  font-size: 0.875rem;
  color: #334E68;
  position: relative;
  padding-left: 1.25rem;
  line-height: 1.45;
}

.info-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1673B8;
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   6. 10-STEP PROCESS FLOW
   -------------------------------------------------------------------------- */
.steps-flow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
  box-sizing: border-box;
}

.step-item {
  display: flex;
  gap: 1.25rem;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 1.35rem 1.5rem;
  align-items: flex-start;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-sizing: border-box;
}

.step-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(16, 42, 67, 0.06);
  border-color: #1673B8;
}

.step-num {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1673B8 0%, #102A43 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-body {
  display: flex;
  flex-direction: column;
}

.step-body h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #102A43;
  margin: 0 0 0.35rem 0;
  line-height: 1.35;
}

.step-body p {
  font-size: 0.925rem;
  color: #486581;
  line-height: 1.55;
  margin: 0;
}

/* --------------------------------------------------------------------------
   7. DATA TABLES & RESPONSIVE WRAPPER
   -------------------------------------------------------------------------- */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  background: #FFFFFF;
  margin: 2rem 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 680px;
}

.data-table th {
  background: #102A43;
  color: #FFFFFF;
  font-family: 'Manrope', sans-serif;
  font-size: 0.925rem;
  font-weight: 700;
  padding: 1.15rem 1.25rem;
  letter-spacing: 0.02em;
  border: none;
  white-space: nowrap;
}

.data-table td {
  padding: 1.1rem 1.25rem;
  font-size: 0.935rem;
  color: #334E68;
  border-bottom: 1px solid #E2E8F0;
  line-height: 1.55;
  vertical-align: middle;
}

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

.data-table tbody tr:nth-child(even) {
  background-color: #F8FAFC;
}

.data-table tbody tr:hover {
  background-color: #F1F5F9;
}

/* --------------------------------------------------------------------------
   8. LOCATIONS GRID & LOCATION BOXES
   -------------------------------------------------------------------------- */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  box-sizing: border-box;
}

.location-box {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.85rem 1.65rem;
  box-sizing: border-box;
}

.location-box h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #102A43;
  margin-top: 0;
  margin-bottom: 1rem;
  border-bottom: 2px solid #F0F4F8;
  padding-bottom: 0.75rem;
}

.styled-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.styled-list li {
  font-size: 0.95rem;
  color: #334E68;
  position: relative;
  padding-left: 1.35rem;
  line-height: 1.5;
}

.styled-list li::before {
  content: "•";
  position: absolute;
  left: 0.25rem;
  color: #1673B8;
  font-size: 1.25rem;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   9. FAQ ACCORDION COLLAPSE & ANIMATION
   -------------------------------------------------------------------------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 56rem;
  margin: 2rem auto 0 auto;
}

.faq-item {
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  background: #FFFFFF;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: #CBD5E1;
  box-shadow: 0 4px 10px rgba(16, 42, 67, 0.05);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  user-select: none;
  gap: 1rem;
  outline: none;
  box-sizing: border-box;
}

.faq-question span {
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #102A43;
  line-height: 1.4;
  flex-grow: 1;
}

.faq-icon {
  width: 20px;
  height: 20px;
  stroke: #1673B8;
  stroke-width: 2.2;
  transition: transform 0.25s ease, stroke 0.25s ease;
  flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-icon,
.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
  stroke: #F97316;
}

.faq-question[aria-expanded="true"] {
  border-bottom: 1px solid #F0F4F8;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  font-size: 0.975rem;
  color: #486581;
  line-height: 1.65;
  box-sizing: border-box;
}

.faq-question[aria-expanded="true"] + .faq-answer,
.faq-item.is-open .faq-answer {
  max-height: 500px;
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
}

.faq-answer p {
  margin: 0 !important;
}

/* --------------------------------------------------------------------------
   10. CTA BANNER SECTION (BOTTOM)
   -------------------------------------------------------------------------- */
.cta-banner-section {
  background: linear-gradient(135deg, #102A43 0%, #0B192C 100%);
  color: #FFFFFF;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.cta-banner-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #F97316 0%, #1673B8 100%);
}

.cta-banner-box {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.cta-banner-box h2 {
  font-family: 'Manrope', sans-serif;
  font-size: 2.35rem;
  font-weight: 800;
  color: #FFFFFF !important;
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.cta-banner-box p {
  font-size: 1.125rem;
  color: #CBD5E1 !important;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.cta-banner-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.cta-banner-subtext {
  font-size: 0.85rem;
  color: #94A3B8;
  display: inline-block;
  margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   11. RESPONSIVE BREAKPOINTS (TABLET & MOBILE)
   -------------------------------------------------------------------------- */

/* TABLET (<= 1024px) */
@media (max-width: 1024px) {
  .hero-gas-replacement .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .content-section h2 {
    font-size: clamp(1.75rem, 3.2vw, 2.15rem);
  }

  .hero-gas-replacement .hero-title {
    font-size: clamp(2rem, 4.5vw, 2.5rem);
  }

  .cta-banner-box h2 {
    font-size: 2rem;
  }
}

/* MOBILE (<= 768px) */
@media (max-width: 768px) {
  .content-section {
    padding: clamp(2.5rem, 4.5vw, 3.5rem) 0 !important;
  }

  .hero-section.hero-gas-replacement {
    padding-top: 1rem !important;
    padding-bottom: 2rem !important;
  }

  .hero-gas-replacement .hero-title {
    font-size: clamp(1.65rem, 5.5vw, 2.15rem) !important;
    line-height: 1.2 !important;
  }

  .hero-gas-replacement .hero-description {
    font-size: 0.98rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.25rem !important;
  }

  .hero-gas-replacement .hero-actions {
    width: 100% !important;
  }

  .hero-gas-replacement .hero-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .hero-gas-replacement .badge-bottom-left {
    bottom: 0.75rem !important;
    left: 0.75rem !important;
  }

  .hero-gas-replacement .badge-top-right {
    top: 0.75rem !important;
    right: 0.75rem !important;
  }

  .hero-gas-replacement .hero-badge-floating {
    padding: 0.5rem 0.85rem !important;
    max-width: 85% !important;
  }

  .hero-gas-replacement .badge-icon-box {
    width: 30px !important;
    height: 30px !important;
  }

  .hero-gas-replacement .badge-text-title {
    font-size: 0.78rem !important;
  }

  .hero-gas-replacement .badge-text-sub {
    font-size: 0.7rem !important;
  }

  .content-section h2 {
    font-size: clamp(1.5rem, 4.8vw, 1.85rem) !important;
    line-height: 1.3 !important;
  }

  .section-header {
    margin-bottom: 1.75rem !important;
  }

  .section-header p,
  .section-header .section-lead {
    font-size: 0.98rem !important;
    line-height: 1.6 !important;
  }

  .feature-grid,
  .cards-grid,
  .steps-flow,
  .locations-grid,
  .gas-intro-grid,
  .gas-compare-grid {
    grid-template-columns: 1fr !important;
    gap: 1.15rem !important;
  }

  .table-card-container::after {
    content: "Swipe horizontally to view full table \2192";
    display: block;
    text-align: right;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748B;
    padding: 0.45rem 0.85rem;
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
  }

  .cta-banner-box h2 {
    font-size: clamp(1.6rem, 5vw, 1.95rem) !important;
    line-height: 1.3 !important;
  }

  .cta-banner-box p {
    font-size: 0.98rem !important;
    margin-bottom: 1.5rem !important;
  }

  .cta-banner-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .feature-card,
  .info-card,
  .location-box,
  .gas-intro-card,
  .gas-compare-card {
    padding: 1.35rem 1.25rem !important;
  }

  .step-item {
    padding: 1.15rem 1.25rem !important;
    gap: 1rem !important;
  }

  .step-num {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    font-size: 0.88rem !important;
  }

  .step-body h3 {
    font-size: 1.05rem !important;
  }

  .step-body p {
    font-size: 0.9rem !important;
  }

  .variables-card {
    padding: 1.35rem 1.25rem !important;
  }

  .callout-note-box {
    padding: 1rem 1.25rem !important;
  }
}

/* SMALL MOBILE (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .content-section h2 {
    font-size: 1.45rem !important;
  }

  .cta-banner-box h2 {
    font-size: 1.5rem !important;
  }

  .data-table {
    min-width: 520px;
  }

  .data-table th,
  .data-table td {
    padding: 0.85rem 0.95rem !important;
    font-size: 0.85rem !important;
  }
}

/* Utility & Footer structural helpers */
.text-center {
  text-align: center !important;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-col-areas,
.footer-col-services {
  display: flex;
  flex-direction: column;
}

.footer-citations-section {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.footer-citations-header {
  margin-bottom: 0.75rem;
}

.footer-citations-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.footer-citations-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 0.8rem;
}

/* Extra small button text wrapping to prevent any sub-pixel overflow at 320px */
@media (max-width: 360px) {
  .btn,
  .btn-primary-call {
    padding: 0.75rem 0.85rem !important;
    white-space: normal !important;
  }
  .btn span,
  .btn-primary-call span {
    font-size: 0.875rem !important;
    white-space: normal !important;
    text-align: center;
  }
}

/* Sticky mobile bar adjustment for narrow screens & defensive truncation */
.sticky-mobile-btn span {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-size: clamp(0.82rem, 3.2vw, 0.95rem) !important;
  max-width: calc(100vw - 70px) !important;
}

@media (max-width: 380px) {
  .sticky-mobile-bar {
    padding: 0.5rem 0.75rem !important;
  }
  .sticky-mobile-btn {
    padding: 0.65rem 0.6rem !important;
    gap: 0.35rem !important;
  }
  .sticky-mobile-btn span {
    font-size: 0.775rem !important;
    letter-spacing: -0.01em !important;
  }
}

/* Card Height Equalization Across All Grid Sections */
.feature-card,
.info-card,
.location-box,
.step-item,
.heater-type-card-v2 {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
}

.feature-card p:last-child,
.info-card p:last-child,
.step-body p:last-child {
  margin-bottom: 0 !important;
}

/* Related Guides Section (#related-guides) Grid & Cards */
#related-guides {
  width: 100%;
  box-sizing: border-box;
}

#related-guides .heater-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  box-sizing: border-box;
}

#related-guides .heater-type-card-v2 {
  opacity: 1 !important;
  transform: none !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(16, 42, 67, 0.05);
  transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
  box-sizing: border-box;
}

#related-guides .heater-type-card-v2:hover {
  transform: translateY(-4px);
  border-color: #1673B8;
  box-shadow: 0 16px 32px rgba(16, 42, 67, 0.12);
}

#related-guides .heater-type-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #F1F5F9;
}

#related-guides .heater-type-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

#related-guides .heater-type-card-v2:hover .heater-type-media img {
  transform: scale(1.05);
}

#related-guides .heater-type-body {
  padding: 1.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  box-sizing: border-box !important;
}

#related-guides .heater-type-desc {
  flex-grow: 1 !important;
  margin-bottom: 1.25rem !important;
}

#related-guides .heater-type-actions {
  margin-top: auto !important;
  padding-top: 1rem !important;
  width: 100% !important;
}

@media (max-width: 991px) {
  #related-guides .heater-types-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Smooth Touch Scrolling on All Data Tables */
.table-responsive {
  width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  border-radius: 12px !important;
  border: 1.5px solid #E2E8F0 !important;
}

/* Card & Grid Alignment Equalization */
.feature-card,
.info-card,
.location-box,
.step-item {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  box-sizing: border-box !important;
}

.feature-card > *:last-child,
.info-card > *:last-child,
.location-box > *:last-child,
.step-item > *:last-child {
  margin-top: auto;
}

/* Iframe & Media Safe Responsiveness */
.footer-map-iframe-wrapper iframe,
iframe {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

