/* ============================================
   Unity Power and Light - Design System
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Primary */
  --navy: #1E3A5F;
  --deep-blue: #2B4C7E;
  --white: #FFFFFF;

  /* Accent */
  --orange: #C23B2A;
  --amber: #C23B2A;
  --red: #A83220;
  --red-light: #D44533;

  /* Neutral */
  --light-gray: #F3F4F6;
  --medium-gray: #9CA3AF;
  --dark-gray: #374151;
  --darker-navy: #0F1F3A;

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  /* Sizing */
  --header-height: 220px;
  --header-height-mobile: 130px;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-gray);
  background: var(--white);
}

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

a {
  color: var(--amber);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--red-light);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

h1 { font-size: 32px; margin-bottom: 16px; }
h2 { font-size: 28px; margin-bottom: 14px; }
h3 { font-size: 24px; margin-bottom: 12px; }
h4 { font-size: 20px; margin-bottom: 10px; }

p {
  margin-bottom: 16px;
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, transform 0.1s;
  min-height: 48px;
  line-height: 1.2;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-light);
  color: var(--white);
}

.btn-secondary {
  background: var(--amber);
  color: var(--white);
}

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

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo a {
  display: flex;
  align-items: center;
}

.logo a:hover {
  opacity: 0.85;
}

.logo img,
.site-header img,
.header-top img {
  height: 200px;
  width: auto;
}

.logo .logo-icon {
  display: none;
}

/* Footer logo image */
.footer-logo img,
.site-footer .logo img,
.site-footer img[alt*="Unity"],
.site-footer img {
  height: 220px;
  width: auto;
  margin-bottom: 0;
}

/* Desktop Nav */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 2px;
}

.desktop-nav a {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  padding: 8px 6px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

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

/* Services Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown > a::after {
  content: '';
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.2s;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  border-radius: 6px;
  min-width: 260px;
  padding: 8px 0;
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--dark-gray);
  font-weight: 500;
}

.dropdown-menu a:hover {
  background: var(--light-gray);
  color: var(--orange);
}

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.emergency-badge {
  display: none;
  align-items: center;
  gap: 6px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 20px;
  max-width: 100px;
  text-align: center;
  line-height: 1.3;
}

.emergency-badge:hover {
  background: var(--red);
  color: var(--white);
}

.header-phone {
  display: none;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--orange);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Phone Bar */
.mobile-phone-bar {
  display: block;
  background: var(--amber);
  text-align: center;
  padding: 10px;
}

.mobile-phone-bar a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
}

.mobile-phone-bar a:hover {
  color: var(--white);
}

/* Mobile Emergency Badge (inline in header) */
.mobile-emergency {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
}

.mobile-emergency:hover {
  color: var(--white);
}

/* Mobile Nav Menu */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: var(--white);
  z-index: 2000;
  transition: right 0.3s ease;
  overflow-y: auto;
  box-shadow: -4px 0 16px rgba(0,0,0,0.15);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--light-gray);
}

.mobile-nav-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--navy);
  cursor: pointer;
}

.mobile-nav ul {
  padding: 8px 0;
}

.mobile-nav ul a {
  display: block;
  padding: 14px 24px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  min-height: 48px;
  border-bottom: 1px solid var(--light-gray);
}

.mobile-nav ul a:hover,
.mobile-nav ul a.active {
  background: var(--light-gray);
  color: var(--amber);
}

.mobile-nav .sub-menu a {
  padding-left: 40px;
  font-size: 15px;
  font-weight: 500;
  color: var(--dark-gray);
}

.mobile-nav-toggle-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 14px 24px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  min-height: 48px;
  border-bottom: 1px solid var(--light-gray);
}

.mobile-nav-toggle-sub::after {
  content: '+';
  font-size: 20px;
  transition: transform 0.2s;
}

.mobile-nav-toggle-sub.open::after {
  content: '−';
}

.mobile-nav .sub-menu {
  display: none;
}

.mobile-nav .sub-menu.open {
  display: block;
}

.mobile-nav .nav-cta {
  padding: 20px 24px;
}

.mobile-nav .nav-cta .btn {
  width: 100%;
  text-align: center;
}

/* Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1999;
}

.nav-overlay.open {
  display: block;
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--deep-blue) 100%);
  color: var(--white);
  padding: 30px 0 40px;
}

.hero h1 {
  color: var(--white);
  font-size: 32px;
  margin-bottom: 16px;
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 24px;
  opacity: 0.95;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 20px;
}

.badge-shield {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.badge-icon svg {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.badge-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Keep old styles for any remaining text badges */
.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  opacity: 0.9;
}

.trust-badge-item .check,
.trust-badge-item .shield {
  color: var(--amber);
  font-size: 18px;
}

/* --- Emergency Callout Banner --- */
.emergency-banner {
  background: var(--orange);
  color: var(--white);
  text-align: center;
  padding: 16px 20px;
}

.emergency-banner p {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
}

.emergency-banner .btn {
  background: var(--white);
  color: var(--orange);
  font-size: 16px;
  padding: 10px 24px;
}

.emergency-banner .btn:hover {
  background: var(--navy);
  color: var(--white);
}

/* --- Contact Page Emergency Banner --- */
.contact-emergency {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 40px 20px;
}

.contact-emergency h2 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 28px;
  margin-bottom: 16px;
}

.contact-emergency .emergency-phone {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--amber);
  text-decoration: none;
  margin-bottom: 12px;
}

.contact-emergency .emergency-phone:hover {
  color: var(--orange);
}

.contact-emergency p {
  color: var(--white);
  font-size: 16px;
  opacity: 0.9;
}

/* --- Section Defaults --- */
section {
  padding: 30px 0;
}

.section-gray {
  background: var(--light-gray);
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  margin-bottom: 12px;
}

.section-title p {
  font-size: 17px;
  max-width: 700px;
  margin: 0 auto;
  color: var(--dark-gray);
}

/* --- Cards Grid --- */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: 8px;
  padding: 28px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.card-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.card p {
  font-size: 15px;
  margin-bottom: 14px;
}

.card ul {
  margin-bottom: 16px;
}

.card ul li {
  padding: 4px 0;
  font-size: 15px;
  padding-left: 20px;
  position: relative;
}

.card ul li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--orange);
  font-weight: 700;
}

.card .btn {
  font-size: 15px;
  padding: 10px 20px;
}

/* --- Why Choose / Feature Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.feature {
  display: flex;
  gap: 16px;
}

/* When .feature is used as a full-width content block (not in a grid) */
.content-section > .container > .feature {
  display: block;
}

.content-section > .container > .feature > .feature-icon {
  width: auto;
  height: auto;
  background: none;
  font-size: 36px;
  margin-bottom: 12px;
  display: block;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--light-gray);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.feature h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.feature p {
  font-size: 15px;
  margin-bottom: 0;
}

.feature-tagline {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
}

/* Grid items for code compliance section etc. */
.grid-item {
  background: var(--white);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.grid-item h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.grid-item p {
  font-size: 14px;
  margin-bottom: 0;
}

/* Expertise grid (why choose us) */
.expertise-item {
  background: var(--white);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.expertise-item h3 {
  color: var(--orange);
  font-size: 20px;
}

.sector-description {
  font-weight: 600;
  color: var(--dark-gray);
  font-size: 14px;
  margin-bottom: 8px;
}

/* Standards grid */
.standard-item {
  background: var(--white);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.standard-item h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.standard-item p {
  font-size: 15px;
  margin-bottom: 0;
}

/* Section intro text */
.section-intro {
  font-size: 17px;
  max-width: 700px;
  margin: 0 auto 32px;
  text-align: center;
}

.service-area-note {
  margin-top: 16px;
  text-align: center;
}

/* --- Reviews Section --- */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.review-card {
  background: var(--white);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.review-stars {
  color: #F7931E;
  font-size: 22px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.review-text {
  font-style: italic;
  font-size: 15px;
  line-height: 1.6;
  color: var(--dark-gray);
  margin-bottom: 10px;
}

.review-author {
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 0;
}

.reviews-placeholder {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.review-quote {
  font-style: italic;
  font-size: 18px;
  color: var(--dark-gray);
  margin-bottom: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  border-left: 4px solid var(--amber);
}

/* --- Service Area --- */
.service-area-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  margin: 20px 0;
}

.service-area-list li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  font-size: 16px;
}

.service-area-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--deep-blue) 100%);
  color: var(--white);
  text-align: center;
  padding: 30px 0;
}

.cta-section h2 {
  color: var(--white);
}

.cta-section p {
  font-size: 17px;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto 24px;
}

.cta-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto 24px;
  text-align: center;
}

.cta-col h3 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 6px;
}

.cta-col p {
  font-size: 15px;
  margin-bottom: 4px;
}

.cta-col a:not(.btn) {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
}

.cta-col a:not(.btn):hover {
  color: var(--red-light);
}

.cta-col .detail {
  font-size: 14px;
  opacity: 0.8;
}

/* --- Footer --- */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 14px;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}

.footer-about .footer-logo,
.footer-col .footer-logo,
.footer-logo {
  margin-bottom: 0;
  display: block;
}

.footer-logo img {
  height: 220px;
  width: auto;
  display: block;
  background: var(--white);
  border-radius: 6px;
  padding: 2px 4px;
}

.footer-col > p:first-of-type {
  margin-top: 4px;
}

.footer-tagline,
.footer-about p,
.site-footer .footer-col p,
.site-footer .footer-column p {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  max-width: 300px;
  letter-spacing: normal;
  word-spacing: normal;
}

.footer-links a {
  display: block;
  padding: 5px 0;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--amber);
}

.footer-contact p,
.footer-contact a {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.footer-contact li:last-child a.social-icon {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 0;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer-contact li:last-child a.social-icon:hover {
  opacity: 1;
}

.footer-contact li:last-child a.social-icon svg {
  vertical-align: middle;
}

.footer-contact .phone-link {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.footer-contact .phone-link:hover {
  color: var(--amber);
}

.footer-trust li {
  padding: 5px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  padding-left: 20px;
  position: relative;
}

.footer-trust li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--amber);
}

.footer-bottom {
  background: var(--darker-navy);
  padding: 16px 20px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 32px;
}

/* --- Page Header (inner pages) --- */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--deep-blue) 100%);
  color: var(--white);
  padding: 25px 0;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 8px;
}

.breadcrumb {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
}

.breadcrumb a:hover {
  color: var(--amber);
}

/* --- Content Sections for inner pages --- */
.content-section {
  padding: 30px 0;
}

.content-section h2 {
  margin-top: 16px;
  margin-bottom: 16px;
  text-align: center;
}

.content-section h3 {
  margin-top: 24px;
  margin-bottom: 10px;
  font-size: 20px;
}

.content-section ul,
.content-section ol {
  margin-bottom: 16px;
  padding-left: 0;
}

.content-section ul li,
.content-section ol li {
  padding: 4px 0 4px 24px;
  position: relative;
}

.content-section ul li::before {
  content: '•';
  position: absolute;
  left: 6px;
  color: var(--orange);
  font-weight: 700;
}

.content-section ol {
  counter-reset: item;
}

.content-section ol li {
  counter-increment: item;
}

.content-section ol li::before {
  content: counter(item) '.';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

.content-section strong {
  color: var(--navy);
}

.content-section blockquote {
  border-left: 4px solid var(--amber);
  padding: 16px 20px;
  margin: 20px 0;
  background: var(--light-gray);
  border-radius: 0 6px 6px 0;
  font-style: italic;
}

/* Check list style */
.check-list li::before {
  content: '✓';
  color: var(--orange);
}

/* Signs / Warning cards */
.warning-card {
  background: #FEF2F2;
  border-left: 4px solid var(--red);
  padding: 16px 20px;
  border-radius: 0 6px 6px 0;
  margin: 16px 0;
}

.warning-card h3 {
  color: var(--red);
  margin-top: 0;
}

/* Info box */
.info-box {
  background: var(--light-gray);
  border-left: 4px solid var(--amber);
  padding: 16px 20px;
  border-radius: 0 6px 6px 0;
  margin: 16px 0;
}

/* Process steps */
.process-steps {
  counter-reset: step;
}

.process-step {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
}

.step-content h3 {
  margin-top: 0;
  font-size: 18px;
}

.step-content p {
  font-size: 15px;
}

/* Photo placeholder */
.photo-placeholder {
  background: var(--light-gray);
  border: 2px dashed var(--medium-gray);
  border-radius: 8px;
  padding: 40px 20px;
  text-align: center;
  color: var(--medium-gray);
  font-size: 14px;
  margin: 16px 0;
}

/* Portfolio photo (actual image) */
.portfolio-photo {
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  background: var(--light-gray);
}

.portfolio-photo img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.portfolio-photo span {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--dark-gray);
  font-weight: 600;
}

/* FAQ section */
.faq-item {
  border-bottom: 1px solid var(--light-gray);
  padding: 16px 0;
}

.faq-item strong,
.faq-item h4 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 6px;
}

.faq-item p {
  font-size: 15px;
  margin-bottom: 0;
}

/* CTA bar (bottom of service pages) */
.page-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--deep-blue) 100%);
  color: var(--white);
  padding: 30px 0;
  text-align: center;
}

.page-cta h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.page-cta p {
  color: var(--white);
  margin-bottom: 16px;
}

.page-cta a:not(.btn) {
  color: var(--amber);
}

.page-cta .btn + .btn {
  margin-left: 12px;
}

/* --- Contact Form --- */
.contact-form-wrap {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 16px;
  border: 2px solid var(--medium-gray);
  border-radius: 6px;
  transition: border-color 0.2s;
  min-height: 48px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--amber);
}

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

/* Contact info cards */
.contact-methods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-method {
  background: var(--white);
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  text-align: center;
}

.contact-method .icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.contact-method h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.contact-method a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
}

/* Portfolio grid */
.portfolio-section {
  margin-bottom: 20px;
  padding: 20px 0;
}

.portfolio-section h2 {
  text-align: center;
  margin-bottom: 32px;
}

.portfolio-section h3 {
  margin-bottom: 16px;
}

.project-category {
  margin-bottom: 40px;
}

.project-category p {
  max-width: 800px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* Pricing page */
.pricing-step {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Emergency page - big phone */
.big-phone {
  text-align: center;
  padding: 24px;
  background: var(--orange);
  border-radius: 8px;
  margin: 20px 0;
}

.big-phone a {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
}

.big-phone a:hover {
  color: var(--navy);
}

.big-phone p {
  color: var(--white);
  font-size: 14px;
  margin-bottom: 0;
  margin-top: 4px;
}

/* --- Responsive: Desktop (768px+) --- */
@media (min-width: 768px) {
  html {
    scroll-padding-top: var(--header-height);
  }

  h1 { font-size: 48px; }
  h2 { font-size: 36px; }
  h3 { font-size: 28px; }

  body { font-size: 18px; }

  .header-container {
    flex-wrap: nowrap;
  }

  .desktop-nav {
    display: flex;
  }

  .desktop-nav a,
  .main-nav a,
  .main-nav ul a {
    font-size: 14px;
    padding: 8px 5px;
    text-align: center;
    line-height: 1.2;
  }

  .hamburger,
  .mobile-phone-bar,
  .mobile-emergency {
    display: none;
  }

  .emergency-badge,
  .header-phone {
    display: flex;
  }

  .hero {
    padding: 40px 0 50px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero p {
    font-size: 20px;
    max-width: 700px;
  }

  section {
    padding: 40px 0;
  }

  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .service-area-list {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-header {
    padding: 30px 0;
  }

  .big-phone a {
    font-size: 36px;
  }
}

/* Large desktop */
@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   Compatibility aliases for agent-generated pages
   ============================================ */

/* Header aliases */
.main-header,
.site-header.sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  transition: box-shadow 0.3s;
}

.main-header.scrolled,
.site-header.sticky.scrolled {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-container,
.header-content {
  display: flex;
  align-items: center;
  padding: 12px 0;
  flex-wrap: wrap;
  gap: 8px;
}

.header-container .logo {
  margin-right: 8px;
}

.header-container .header-actions {
  margin-left: 0;
}
}

/* Logo aliases */
.logo a,
a.logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo a:hover,
a.logo:hover {
  color: var(--deep-blue);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
}

/* Nav aliases: .main-nav, .nav-menu, .nav-list all work like .desktop-nav */
.main-nav {
  display: none;
}

.main-nav ul,
.nav-menu,
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a,
.main-nav ul a,
.nav-menu > li > a,
.nav-list > li > a {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  padding: 8px 8px;
  border-radius: 4px;
  transition: color 0.2s;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a.active,
.nav-menu > li > a:hover,
.nav-list > li > a:hover {
  color: var(--amber);
}

/* Dropdown aliases: .has-dropdown, .dropdown, li.dropdown, .dropdown-content */
.has-dropdown,
li.dropdown,
.nav-item-dropdown {
  position: relative;
}

.has-dropdown > a::after,
li.dropdown > a::after,
.nav-item-dropdown > a::after {
  content: '';
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  display: inline-block;
  margin-left: 4px;
  vertical-align: middle;
}

.has-dropdown .dropdown,
.has-dropdown > ul,
li.dropdown .dropdown-content,
li.dropdown .dropdown-menu,
li.dropdown > div,
.nav-item-dropdown .dropdown-items {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  border-radius: 6px;
  min-width: 260px;
  padding: 8px 0;
  z-index: 100;
  list-style: none;
}

.has-dropdown:hover .dropdown,
.has-dropdown:hover > ul,
li.dropdown:hover .dropdown-content,
li.dropdown:hover .dropdown-menu,
li.dropdown:hover > div,
.nav-item-dropdown:hover .dropdown-items {
  display: block;
}

.has-dropdown .dropdown a,
.has-dropdown > ul a,
li.dropdown .dropdown-content a,
li.dropdown .dropdown-menu a,
li.dropdown > div a,
.nav-item-dropdown .dropdown-items a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--dark-gray);
  font-weight: 500;
}

.has-dropdown .dropdown a:hover,
.has-dropdown > ul a:hover,
li.dropdown .dropdown-content a:hover,
li.dropdown .dropdown-menu a:hover,
li.dropdown > div a:hover,
.nav-item-dropdown .dropdown-items a:hover {
  background: var(--light-gray);
  color: var(--orange);
}

/* Header actions/badges aliases */
.header-actions,
.header-badges,
.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-number {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
  display: none;
}

.phone-number:hover {
  color: var(--orange);
}

/* Mobile menu toggle aliases */
.mobile-menu-toggle,
.mobile-nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-toggle span,
.mobile-nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile menu - slide-in panel from right */
.main-nav.mobile-open,
.desktop-nav.mobile-open {
  display: block !important;
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: var(--white);
  z-index: 2000;
  overflow-y: auto;
  padding: 20px 0;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
  animation: slideIn 0.25s ease;
}

@keyframes slideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.main-nav.mobile-open > ul,
.desktop-nav.mobile-open > ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  margin: 0;
}

.main-nav.mobile-open > ul > li,
.desktop-nav.mobile-open > ul > li {
  border-bottom: 1px solid var(--light-gray);
}

.main-nav.mobile-open > ul > li > a,
.desktop-nav.mobile-open > ul > li > a {
  display: block;
  padding: 14px 24px;
  font-size: 17px;
  color: var(--navy);
}

.main-nav.mobile-open > ul > li > a:hover,
.desktop-nav.mobile-open > ul > li > a:hover {
  background: var(--light-gray);
}

/* Services dropdown in mobile */
.main-nav.mobile-open .has-dropdown .dropdown,
.desktop-nav.mobile-open .has-dropdown .dropdown {
  display: none;
  position: static;
  background: var(--light-gray);
  box-shadow: none;
  border: none;
  padding: 0;
  min-width: auto;
}

.main-nav.mobile-open .has-dropdown.mobile-dropdown-open .dropdown,
.desktop-nav.mobile-open .has-dropdown.mobile-dropdown-open .dropdown {
  display: block;
}

.main-nav.mobile-open .has-dropdown .dropdown li a,
.desktop-nav.mobile-open .has-dropdown .dropdown li a {
  padding: 12px 24px 12px 36px;
  font-size: 15px;
  color: var(--dark-gray);
  display: block;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.main-nav.mobile-open .has-dropdown .dropdown li a:hover,
.desktop-nav.mobile-open .has-dropdown .dropdown li a:hover {
  color: var(--amber);
}

/* Hamburger X animation when active */
.mobile-menu-toggle.active,
.mobile-nav-toggle.active {
  z-index: 2001;
}

.mobile-menu-toggle.active span:nth-child(1),
.mobile-nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2),
.mobile-nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3),
.mobile-nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hide mobile menu on desktop */
@media (min-width: 768px) {
  .main-nav.mobile-open,
  .desktop-nav.mobile-open {
    position: static;
    display: flex !important;
    width: auto;
    height: auto;
    padding: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    animation: none;
  }

  .main-nav.mobile-open > ul,
  .desktop-nav.mobile-open > ul {
    flex-direction: row;
  }

  .main-nav.mobile-open > ul > li,
  .desktop-nav.mobile-open > ul > li {
    border-bottom: none;
  }
}

/* Mobile nav overlay aliases */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1999;
}

.mobile-nav-overlay.open,
.mobile-nav-overlay.active {
  display: block;
}

.mobile-nav-overlay .mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: var(--white);
  z-index: 2000;
  overflow-y: auto;
  box-shadow: -4px 0 16px rgba(0,0,0,0.15);
  padding-top: 60px;
}

.mobile-nav-overlay .mobile-nav ul,
.mobile-nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-overlay .mobile-nav a,
.mobile-nav-menu a {
  display: block;
  padding: 14px 24px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  min-height: 48px;
  border-bottom: 1px solid var(--light-gray);
  text-decoration: none;
}

.mobile-nav-overlay .mobile-nav a:hover,
.mobile-nav-menu a:hover {
  background: var(--light-gray);
  color: var(--amber);
}

/* Mobile dropdown toggle aliases */
.mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 14px 24px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  min-height: 48px;
  border-bottom: 1px solid var(--light-gray);
}

.mobile-dropdown-toggle::after {
  content: '+';
  font-size: 20px;
}

.mobile-dropdown-toggle.open::after {
  content: '−';
}

.mobile-dropdown {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-dropdown.open {
  display: block;
}

.mobile-dropdown a {
  padding-left: 40px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--dark-gray) !important;
}

/* Mobile phone link aliases */
.mobile-phone-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  text-decoration: none;
}

.mobile-phone-link:hover {
  color: var(--white);
}

.phone-icon {
  font-size: 20px;
}

/* Footer aliases */
.footer,
footer {
  background: var(--navy);
  color: var(--white);
}

/* Breadcrumb separator alias */
.breadcrumb .separator {
  margin: 0 8px;
  opacity: 0.5;
}

.breadcrumb .current {
  color: var(--white);
}

/* Service grid aliases for different grid patterns */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 15px;
}

/* Desktop responsive aliases */
@media (min-width: 768px) {
  .main-nav {
    display: flex;
  }

  .mobile-menu-toggle,
  .mobile-nav-toggle,
  .mobile-phone-bar {
    display: none;
  }

  .phone-number {
    display: block;
  }

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

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   Additional component styles
   ============================================ */

/* Background helpers */
.bg-light {
  background: var(--light-gray);
}

.section {
  padding: 50px 0;
}

/* Emergency grid */
.emergency-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* Feature card (used in emergency page) */
.feature-card {
  background: var(--white);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  text-align: center;
}

.feature-card .feature-icon {
  background: none;
  width: auto;
  height: auto;
  font-size: 32px;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 15px;
  margin-bottom: 0;
}

/* Big phone variants */
.big-phone-number {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  display: block;
  text-decoration: none;
}

.big-phone-number:hover {
  color: var(--navy);
}

.big-phone-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.big-phone-subtext {
  color: var(--white);
  font-size: 15px;
  opacity: 0.9;
  margin-top: 8px;
}

.big-phone-content {
  padding: 10px 0;
}

.big-phone-final {
  background: var(--red);
}

.big-phone-final h2 {
  color: var(--white);
  margin-bottom: 12px;
}

/* Safety list */
.safety-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.safety-list li {
  padding: 6px 0 6px 24px;
  position: relative;
}

.safety-list li::before {
  content: '•';
  position: absolute;
  left: 6px;
  color: var(--orange);
  font-weight: 700;
}

.safety-tips-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* Section header */
.section-header {
  text-align: center;
  margin-bottom: 32px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  font-size: 17px;
  max-width: 700px;
  margin: 0 auto;
}

/* Warning card enhancements */
.warning-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

/* Areas grid */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  list-style: none;
  padding: 0;
}

.areas-grid li {
  padding: 6px 0 6px 24px;
  position: relative;
}

.areas-grid li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* Comparison grid (generator page) */
.comparison-grid,
.fuel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.comparison-card,
.fuel-card {
  background: var(--white);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.comparison-card.recommended {
  border: 2px solid var(--orange);
  position: relative;
}

.recommended-badge {
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.comparison-list {
  list-style: none;
  padding: 0;
}

.comparison-list li {
  padding: 6px 0 6px 24px;
  position: relative;
}

.comparison-list li::before {
  content: '•';
  position: absolute;
  left: 6px;
  color: var(--orange);
  font-weight: 700;
}

/* Sizing grid (generator page) */
.sizing-grid,
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.sizing-card,
.benefit-card {
  background: var(--white);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.sizing-card.featured {
  border: 2px solid var(--orange);
}

.sizing-description {
  color: var(--orange);
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 12px;
}

.sizing-card ul,
.benefit-card ul {
  list-style: none;
  padding: 0;
}

.sizing-card li,
.benefit-card li {
  padding: 4px 0 4px 24px;
  position: relative;
}

.sizing-card li::before,
.benefit-card li::before {
  content: '✓';
  position: absolute;
  left: 4px;
  color: var(--orange);
  font-weight: 700;
}

/* Fuel features */
.fuel-features p {
  margin-bottom: 8px;
}

.fuel-note {
  font-style: italic;
  color: var(--dark-gray);
  opacity: 0.8;
  margin-top: 8px;
}

/* Brands list */
.brands-list {
  list-style: none;
  padding: 0;
}

.brands-list li {
  padding: 8px 0 8px 24px;
  position: relative;
}

.brands-list li::before {
  content: '•';
  position: absolute;
  left: 6px;
  color: var(--orange);
  font-weight: 700;
}

/* Maintenance list */
.maintenance-list {
  list-style: none;
  padding: 0;
}

.maintenance-list li {
  padding: 8px 0 8px 24px;
  position: relative;
}

.maintenance-list li::before {
  content: '✓';
  position: absolute;
  left: 4px;
  color: var(--orange);
  font-weight: 700;
}

/* CTA buttons row */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  justify-content: center;
}

/* Service area CTA section */
.service-area-cta {
  background: var(--light-gray);
  padding: 50px 0;
  text-align: center;
}

.service-area-cta h2 {
  margin-bottom: 16px;
}

.service-area-cta p {
  max-width: 700px;
  margin: 0 auto 20px;
}

/* Intro text */
.intro-text,
.lead {
  font-size: 18px;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 24px;
}

.highlight-text {
  font-weight: 600;
  color: var(--navy);
  font-size: 17px;
}

.cta-text {
  margin-top: 20px;
  font-weight: 600;
}

/* Content wrapper */
.content-wrapper {
  max-width: 800px;
}

/* Prevention content */
.prevention-content {
  max-width: 800px;
}

.check-list.large li {
  padding: 8px 0 8px 28px;
  font-size: 16px;
}

/* Footer section alias */
.footer-section {
  margin-bottom: 20px;
}

.footer-section h3,
.footer-section h4 {
  color: var(--white);
  margin-bottom: 12px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section a {
  color: rgba(255,255,255,0.85);
  display: block;
  padding: 4px 0;
  font-size: 14px;
}

.footer-section a:hover {
  color: var(--amber);
}

.footer-section p {
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.6;
}

/* Footer content grid alias */
.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

/* Main footer alias */
.main-footer {
  background: var(--navy);
  color: var(--white);
  padding: 50px 0 0;
}

.main-footer .footer-bottom {
  background: var(--darker-navy);
  padding: 16px 20px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 32px;
}

/* Responsive for new components */
@media (min-width: 768px) {
  .emergency-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .sizing-grid,
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .areas-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .big-phone-number {
    font-size: 36px;
  }

  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }

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

@media (min-width: 1024px) {
  .emergency-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 18px 20px;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--light-gray);
}

.faq-chevron {
  font-size: 12px;
  color: var(--medium-gray);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 20px 20px;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--dark-gray);
}

.faq-answer ul {
  margin-bottom: 12px;
  padding-left: 0;
}

.faq-answer ul li {
  padding: 3px 0 3px 24px;
  position: relative;
  font-size: 15px;
  color: var(--dark-gray);
}

.faq-answer ul li::before {
  content: '•';
  position: absolute;
  left: 6px;
  color: var(--amber);
  font-weight: 700;
}

@media (min-width: 768px) {
  .faq-question {
    font-size: 17px;
    padding: 20px 24px;
  }

  .faq-answer {
    padding: 0 24px;
  }

  .faq-item.open .faq-answer {
    padding: 0 24px 24px;
  }
}

/* --- Visual Appeal & Centering Improvements --- */

/* Pricing page */
.promise-box,
.guarantee-box {
  background: var(--light-gray);
  border-left: 4px solid var(--orange);
  padding: 32px;
  border-radius: 0 8px 8px 0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.promise-box h2,
.guarantee-box h2 {
  text-align: center;
}

.guarantee-statement {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  font-style: italic;
}

.problems-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.problem-card {
  background: var(--white);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-align: center;
}

.problem-number,
.tip-number {
  width: 40px;
  height: 40px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 12px;
}

.tip-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.tip-item .tip-number {
  flex-shrink: 0;
}

.feature-card {
  background: var(--white);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.feature-card h3 {
  color: var(--navy);
}

.checkmark-list {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 16px auto;
}

.checkmark-list li {
  padding: 8px 0 8px 28px;
  position: relative;
}

.checkmark-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

.tips-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.bg-primary {
  background: linear-gradient(135deg, var(--navy) 0%, var(--deep-blue) 100%);
  color: var(--white);
}

.bg-primary h2 {
  color: var(--white);
}

.bg-primary p {
  color: rgba(255,255,255,0.9);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-family: var(--font-heading);
  display: inline-block;
}

.btn-light:hover {
  background: var(--light-gray);
  color: var(--navy);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 10px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-family: var(--font-heading);
  display: inline-block;
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy);
}

/* --- Blog --- */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.blog-card {
  background: var(--white);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-left: 4px solid var(--orange);
}

.blog-card-date {
  font-size: 14px;
  color: var(--medium-gray);
  margin-bottom: 8px;
}

.blog-card h2 {
  font-size: 22px;
  margin-bottom: 12px;
  text-align: left;
}

.blog-card h2 a {
  color: var(--navy);
}

.blog-card h2 a:hover {
  color: var(--orange);
}

.blog-card p {
  font-size: 15px;
  margin-bottom: 16px;
}

.content-narrow {
  max-width: 800px;
  margin: 0 auto;
}

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

.section-padding {
  padding: 40px 0;
}

/* Center section titles globally */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  margin-bottom: 12px;
}

.section-title p {
  font-size: 17px;
  max-width: 700px;
  margin: 0 auto;
  color: var(--dark-gray);
}

/* Service area list centering */
.service-area-list {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 24px;
}

.service-area-list li {
  display: inline-block;
  padding: 6px 16px;
  margin: 4px;
  background: var(--light-gray);
  border-radius: 20px;
  font-size: 15px;
  padding-left: 16px;
}

.service-area-list li::before {
  content: none;
}

/* Contact methods grid */
.contact-methods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  text-align: center;
}

.contact-method {
  padding: 32px 24px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

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

  .contact-methods {
    grid-template-columns: repeat(3, 1fr);
  }
}
