/* ==========================================================================
   TANKLESS WATER HEATER SERVICES — DEDICATED STYLESHEET
   Page: /tankless-water-heater-services-long-beach-ca/
   Author: Antigravity Technical SEO & UI/UX Engineering
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. BASE LAYOUT & UTILITIES
   -------------------------------------------------------------------------- */
.service-page-main {
  display: block;
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.content-section {
  width: 100%;
  box-sizing: border-box;
  padding: 4.5rem 0;
  position: relative;
}

.content-section.py-8 {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

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

/* Utility Max-Widths & Alignments */
.max-w-3xl {
  max-width: 48rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.max-w-4xl {
  max-width: 56rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

.text-center {
  text-align: center !important;
}

.text-white {
  color: #FFFFFF !important;
}

.text-white-muted {
  color: #CBD5E1 !important;
}

.text-muted {
  color: #64748B !important;
}

.text-sm {
  font-size: 0.875rem !important;
  line-height: 1.45 !important;
}

.text-xs {
  font-size: 0.75rem !important;
  line-height: 1.4 !important;
}

.bg-white {
  background-color: #FFFFFF !important;
}

.rounded {
  border-radius: 12px !important;
}

.shadow-sm {
  box-shadow: 0 2px 8px rgba(16, 42, 67, 0.06) !important;
}

/* Spacing Utilities */
.mb-3 { margin-bottom: 0.75rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mb-6 { margin-bottom: 1.75rem !important; }
.mb-8 { margin-bottom: 2.25rem !important; }

.mt-3 { margin-top: 0.75rem !important; }
.mt-4 { margin-top: 1rem !important; }
.mt-6 { margin-top: 1.75rem !important; }
.my-4 { margin-top: 1rem !important; margin-bottom: 1rem !important; }

.p-4 { padding: 1.25rem !important; }
.ml-2 { margin-left: 0.5rem !important; }
.ml-4 { margin-left: 1rem !important; }

/* --------------------------------------------------------------------------
   2. SECTION HEADERS & BADGES
   -------------------------------------------------------------------------- */
.section-header {
  margin-bottom: 2.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(22, 115, 184, 0.08);
  color: #1673B8;
  border: 1px solid rgba(22, 115, 184, 0.25);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: #102A43;
  line-height: 1.25;
  margin-top: 0;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.section-description {
  font-size: 1.05rem;
  color: #486581;
  line-height: 1.65;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   3. HERO SECTION & BADGES
   -------------------------------------------------------------------------- */
.hero-service-section {
  padding: 4.5rem 0 3.5rem;
  background: linear-gradient(180deg, #F0F4F8 0%, #FFFFFF 100%);
  border-bottom: 1px solid #E2E8F0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  box-sizing: border-box;
}

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

.hero-media {
  position: relative;
  width: 100%;
}

.hero-img,
.section-img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: cover;
  display: block;
}

.image-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(16, 42, 67, 0.12), 0 8px 10px -6px rgba(16, 42, 67, 0.08);
  border: 1.5px solid #E2E8F0;
  background: #F8FAFC;
}

.image-caption {
  font-size: 0.8125rem;
  color: #627D98;
  font-style: italic;
  padding: 0.65rem 1rem;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  text-align: center;
  line-height: 1.4;
}

.hero-image-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(16, 42, 67, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 0.65rem 1.15rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}

.badge-number {
  font-family: 'Manrope', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #F97316;
  line-height: 1;
}

.badge-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: #E2E8F0;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   4. TWO-COLUMN CONTENT & MEDIA LAYOUTS
   -------------------------------------------------------------------------- */
.grid-two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
  box-sizing: border-box;
}

.content-col {
  display: flex;
  flex-direction: column;
}

.content-col p {
  font-size: 1.025rem;
  color: #334E68;
  line-height: 1.68;
  margin-top: 0;
  margin-bottom: 1rem;
}

.content-col h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #102A43;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.media-col {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.cta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-top: 1.25rem;
}

.text-link {
  color: #1673B8;
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.18s ease;
}

.text-link:hover {
  color: #0F52BA;
}

/* --------------------------------------------------------------------------
   5. SERVICE OVERVIEW HUB GRID (4 CARDS)
   -------------------------------------------------------------------------- */
.service-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  box-sizing: border-box;
}

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

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

.card-icon-header {
  margin-bottom: 1rem;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(22, 115, 184, 0.1);
  color: #1673B8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-tag {
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #1673B8;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: inline-block;
}

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

.card-copy {
  font-size: 0.925rem;
  color: #486581;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.card-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid #F0F4F8;
  padding-top: 0.85rem;
}

.card-feature-list li {
  font-size: 0.85rem;
  color: #334E68;
  position: relative;
  padding-left: 1.25rem;
  line-height: 1.45;
}

.card-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1673B8;
  font-weight: 800;
  font-size: 0.85rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1673B8;
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.18s ease;
}

.card-link:hover {
  color: #0F52BA;
  text-decoration: underline;
  gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   6. CHECKLIST GRID & BULLET ITEMS
   -------------------------------------------------------------------------- */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  box-sizing: border-box;
}

.check-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  border-left: 4px solid #1673B8;
  box-sizing: border-box;
}

.check-box strong {
  display: block;
  font-size: 0.95rem;
  color: #102A43;
  margin-bottom: 0.25rem;
}

.check-box p {
  font-size: 0.875rem !important;
  color: #486581 !important;
  margin: 0 !important;
  line-height: 1.45 !important;
}

.feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.975rem;
  color: #334E68;
  line-height: 1.5;
}

.bullet-item strong {
  color: #102A43;
}

.styled-list {
  list-style: none;
  padding: 0;
  margin: 1rem 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;
}

/* --------------------------------------------------------------------------
   7. PROCESS CARDS GRID (DESCALING / MAINTENANCE)
   -------------------------------------------------------------------------- */
.process-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  box-sizing: border-box;
}

.process-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-sizing: border-box;
}

.process-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 18px -3px rgba(16, 42, 67, 0.1);
  border-color: #1673B8;
}

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

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

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

/* Callout Box & Info Callout */
.callout-box.info-callout {
  background: #F0F9FF;
  border: 1.5px solid #BAE6FD;
  border-left: 4px solid #0284C7;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-sizing: border-box;
}

.callout-content p {
  color: #0369A1 !important;
  font-size: 0.95rem !important;
  margin: 0 !important;
  line-height: 1.55 !important;
}

/* --------------------------------------------------------------------------
   8. COMMON PROBLEMS GRID (6 DIAGNOSTIC CARDS)
   -------------------------------------------------------------------------- */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  box-sizing: border-box;
}

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

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

.problem-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.problem-header h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #102A43;
  margin: 0;
  line-height: 1.35;
}

.problem-code {
  font-size: 0.725rem;
  font-weight: 700;
  background: rgba(249, 115, 22, 0.12);
  color: #EA580C;
  border: 1px solid rgba(249, 115, 22, 0.3);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  white-space: nowrap;
}

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

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

.cost-table,
.decision-table,
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 620px;
}

.cost-table th,
.decision-table th,
.comparison-table th {
  background: #102A43;
  color: #FFFFFF;
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 1.1rem 1.25rem;
  letter-spacing: 0.02em;
  border: none;
}

.cost-table td,
.decision-table td,
.comparison-table td {
  padding: 1rem 1.25rem;
  font-size: 0.925rem;
  color: #334E68;
  border-bottom: 1px solid #E2E8F0;
  line-height: 1.5;
  vertical-align: middle;
}

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

.cost-table tbody tr:nth-child(even),
.decision-table tbody tr:nth-child(even),
.comparison-table tbody tr:nth-child(even) {
  background-color: #F8FAFC;
}

.cost-disclaimer {
  font-size: 0.85rem;
  color: #64748B;
  font-style: italic;
  margin-top: 0.75rem;
  line-height: 1.45;
}

/* Traditional links block */
.traditional-links-block {
  border: 1.5px solid #E2E8F0;
  box-sizing: border-box;
}

.links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
}

/* --------------------------------------------------------------------------
   10. TWO-CARD COMPARE GRID (GAS VS ELECTRIC)
   -------------------------------------------------------------------------- */
.two-card-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  box-sizing: border-box;
}

.fuel-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-sizing: border-box;
}

.fuel-card.gas {
  border-top: 4px solid #1673B8;
}

.fuel-card.electric {
  border-top: 4px solid #F97316;
}

.fuel-header {
  margin-bottom: 1.25rem;
}

.fuel-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.65rem;
}

.fuel-pill.gas {
  background: rgba(22, 115, 184, 0.12);
  color: #1673B8;
}

.fuel-pill.electric {
  background: rgba(249, 115, 22, 0.12);
  color: #EA580C;
}

.fuel-header h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #102A43;
  margin: 0;
}

.fuel-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-grow: 1;
}

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

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

.link-split {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  border-top: 1px solid #F0F4F8;
  padding-top: 1.25rem;
}

.fuel-card-link {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: #1673B8;
  text-decoration: none;
  font-size: 0.925rem;
}

.fuel-card-link:hover {
  text-decoration: underline;
  color: #0F52BA;
}

/* --------------------------------------------------------------------------
   11. GRID THREE COL (LOCAL WATER QUALITY & SIZING)
   -------------------------------------------------------------------------- */
.grid-three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  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.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

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

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

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

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

/* --------------------------------------------------------------------------
   12. BRANDS GRID (6 BRAND ITEMS)
   -------------------------------------------------------------------------- */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
  box-sizing: border-box;
}

.brand-item {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.35rem 1rem;
  text-align: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #102A43;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
  box-sizing: border-box;
}

.brand-item:hover {
  border-color: #1673B8;
  transform: translateY(-2px);
  color: #1673B8;
  box-shadow: 0 6px 12px rgba(16, 42, 67, 0.08);
}

/* --------------------------------------------------------------------------
   13. RESOURCES GRID (HELPFUL GUIDES)
   -------------------------------------------------------------------------- */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  box-sizing: border-box;
}

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

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

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

.resource-card p {
  font-size: 0.925rem;
  color: #486581;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* --------------------------------------------------------------------------
   14. FAQ ACCORDION COMPONENT
   -------------------------------------------------------------------------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 56rem;
  margin: 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-q-text {
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #102A43;
  line-height: 1.4;
  flex-grow: 1;
}

.faq-toggle-icon {
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 500;
  color: #1673B8;
  transition: transform 0.22s ease, color 0.22s ease;
  flex-shrink: 0;
  margin-left: 0.75rem;
}

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem !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: 1.25rem 1.5rem !important;
}

.faq-answer p {
  margin: 0.75rem 0;
}

.faq-answer p:first-child {
  margin-top: 0;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   15. CTA BANNER SECTION (DARK NAVY GRADIENT)
   -------------------------------------------------------------------------- */
.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%);
}

.banner-title {
  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;
}

.banner-lead {
  font-size: 1.15rem;
  color: #CBD5E1 !important;
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.banner-cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.badge-pill.light {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
}

.referral-note {
  font-size: 0.8rem;
  color: #94A3B8 !important;
  max-width: 40rem;
  margin: 1.75rem auto 0;
  line-height: 1.5;
}

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

/* TABLET (<= 1024px) */
@media (max-width: 1024px) {
  .hero-grid,
  .grid-two-col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .service-hub-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

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

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

  .grid-three-col {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

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

  .section-title {
    font-size: 1.95rem;
  }

  .banner-title {
    font-size: 2rem;
  }
}

/* MOBILE (<= 768px) */
@media (max-width: 768px) {
  .content-section,
  .content-section.py-8 {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  .hero-service-section {
    padding: 3.5rem 0 2.5rem;
  }

  .section-title {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  .banner-title {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  .banner-lead {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .banner-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }

  .banner-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-inline {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .cta-inline .btn {
    width: 100%;
    justify-content: center;
  }

  .service-hub-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .checklist-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .process-cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .problems-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .two-card-compare-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .grid-three-col {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .resources-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .hero-image-badge {
    position: static;
    margin-top: 0.85rem;
    width: auto;
    justify-content: center;
  }

  .fuel-card {
    padding: 1.65rem 1.25rem;
  }

  .service-hub-card,
  .process-card,
  .problem-card,
  .info-card,
  .resource-card {
    padding: 1.35rem 1.25rem;
  }
}

/* EXTRA SMALL MOBILE (<= 480px) */
@media (max-width: 480px) {
  .section-title {
    font-size: 1.55rem;
  }

  .banner-title {
    font-size: 1.55rem;
  }

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

  .brand-item {
    font-size: 0.925rem;
    padding: 1rem 0.5rem;
  }

  .cost-table,
  .decision-table,
  .comparison-table {
    min-width: 520px;
  }
}
/* Footer structural helpers */
.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;
}

/* Defensive overrides for related guides / heater cards visibility */
#related-guides .heater-type-card-v2,
.related-services-grid .heater-type-card-v2 {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* Ensure mobile responsiveness for tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
