/* ============================================
   Precision Plumbing Solutions — Global Styles
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Brand Colors (extracted from logo) */
  --primary: #C62828;
  --primary-dark: #8E0000;
  --primary-light: #EF5350;
  --primary-rgb: 198, 40, 40;

  --secondary: #1A1A2E;
  --secondary-dark: #0F0F1A;
  --secondary-light: #2D2D44;
  --secondary-rgb: 26, 26, 46;

  --accent: #1565C0;
  --accent-dark: #0D47A1;
  --accent-light: #42A5F5;
  --accent-rgb: 21, 101, 192;

  /* Neutrals */
  --white: #FFFFFF;
  --bg: #FFFFFF;
  --bg-alt: #F5F7FA;
  --bg-dark: #E8ECF1;
  --surface: #FFFFFF;
  --text: #212121;
  --text-secondary: #5F6368;
  --text-light: #9AA0A6;
  --text-on-primary: #FFFFFF;
  --text-on-dark: #F5F7FA;
  --border: #E0E0E0;
  --border-light: #F0F0F0;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 12px 40px rgba(0,0,0,0.15);

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

  /* Spacing */
  --section-padding: clamp(3rem, 8vw, 6rem);
  --container-max: 1200px;
  --container-wide: 1400px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Header height for offset */
  --header-height: 80px;
  --top-bar-height: 40px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--primary-dark);
}

ul, ol {
  list-style: none;
}

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

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p + p { margin-top: 1rem; }

/* --- Utilities --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: var(--section-padding) 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--secondary);
  color: var(--text-on-dark);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-dark .section-subtitle {
  color: rgba(255,255,255,0.7);
}

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
  position: relative;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

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

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-dark .section-label {
  color: var(--primary-light);
}

/* Grid system */
.grid {
  display: grid;
  gap: 2rem;
}

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

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
}

/* --- Top Bar --- */
.top-bar {
  background: var(--secondary);
  color: var(--text-on-dark);
  font-size: 0.85rem;
  height: var(--top-bar-height);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1001;
}

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

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-bar-contact a {
  color: var(--text-on-dark);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.top-bar-contact a:hover {
  color: var(--primary-light);
}

.top-bar-contact svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

.top-bar-sep {
  color: rgba(255,255,255,0.3);
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-info > span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary-light);
  font-weight: 600;
}

.top-bar-info svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.top-bar-social {
  display: flex;
  gap: 0.75rem;
}

.top-bar-social a {
  color: rgba(255,255,255,0.7);
  display: flex;
  transition: color var(--transition-fast);
}

.top-bar-social a:hover {
  color: var(--white);
}

.top-bar-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .top-bar {
    height: auto;
    padding: 0.5rem 0;
  }

  .top-bar-inner {
    flex-direction: column;
    gap: 0.25rem;
  }

  .top-bar-contact {
    gap: 0.75rem;
    font-size: 0.8rem;
  }

  .top-bar-info > span {
    font-size: 0.8rem;
  }

  .top-bar-social {
    display: none;
  }
}

/* --- Header / Navigation --- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  transition: box-shadow var(--transition-base), background var(--transition-base);
  border-bottom: 1px solid var(--border-light);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.2;
}

.logo-text span {
  color: var(--primary);
}

/* Navigation */
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link.active {
  background: rgba(198, 40, 40, 0.06);
}

.nav-link svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

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

.nav-dropdown:hover > .nav-link svg,
.nav-dropdown.open > .nav-link svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast);
  transform: translateX(-50%) translateY(8px);
  border: 1px solid var(--border-light);
  z-index: 100;
}

.nav-dropdown:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), color var(--transition-fast);
  font-weight: 500;
}

.dropdown-menu a:hover {
  background: rgba(198, 40, 40, 0.06);
  color: var(--primary);
}

.dropdown-category {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  padding: 0.75rem 1rem 0.25rem;
}

.dropdown-divider {
  height: 1px;
  background: var(--border-light);
  margin: 0.5rem 0;
}

/* Mega dropdown for services */
.dropdown-mega {
  min-width: 550px;
  padding: 1rem;
}

.dropdown-mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-cta svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1002;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--secondary);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  /* Phone stays visible as tappable icon on mobile */
  .header-cta.btn.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    margin: 0;
    background: rgba(var(--primary-rgb), 0.1);
    border: none;
    border-radius: 50%;
    font-size: 0;
    line-height: 0;
    gap: 0;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: none;
    color: transparent;
  }

  .header-cta.btn.btn-primary svg {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    fill: var(--primary);
  }

  .header-cta.btn.btn-primary:hover {
    background: rgba(var(--primary-rgb), 0.2);
    transform: none;
    box-shadow: none;
  }

  /* Full-screen slide-down overlay */
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    background: var(--white);
    z-index: 1001;
    transform: translateY(-100%);
    transition: transform var(--transition-base);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 5rem 1.5rem 2rem;
    box-shadow: var(--shadow-xl);
  }

  .nav.open {
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    overflow: visible;
  }

  .nav-dropdown {
    position: static;
    width: 100%;
  }

  .nav-link {
    padding: 0.85rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border-light);
    border-radius: 0;
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    width: 100%;
    left: auto;
    margin-left: 0;
    padding: 0;
    padding-left: 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base), opacity var(--transition-base);
    opacity: 0;
    visibility: visible;
  }

  .dropdown-menu a {
    padding: 0.5rem 1rem 0.5rem 1.25rem;
    white-space: normal;
    word-break: break-word;
  }

  .nav-dropdown.open > .dropdown-menu {
    max-height: 2000px;
    opacity: 1;
    transform: none;
  }

  .nav-dropdown:hover > .dropdown-menu {
    opacity: 0;
    max-height: 0;
    transform: none;
    visibility: visible;
  }

  .nav-dropdown.open:hover > .dropdown-menu {
    opacity: 1;
    max-height: 2000px;
    transform: none;
  }

  .dropdown-mega {
    min-width: auto;
    width: 100%;
    padding: 0;
  }

  .dropdown-mega-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .dropdown-category {
    padding: 0.75rem 1rem 0.25rem 0;
  }

  /* Mobile CTA at bottom of nav */
  .nav-mobile-cta {
    display: block;
    margin-top: 1.5rem;
    text-align: center;
  }

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

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

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  line-height: 1.4;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.4);
}

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

.btn-secondary:hover {
  background: var(--secondary-light);
  border-color: var(--secondary-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(var(--secondary-rgb), 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

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

.btn-white:hover {
  background: var(--bg-alt);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

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

/* --- Hero Sections --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--secondary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--secondary-rgb), 0.92) 0%, rgba(var(--secondary-rgb), 0.75) 50%, rgba(var(--secondary-rgb), 0.6) 100%);
}

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

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 700px;
  padding: 2rem 0;
}

.hero-form {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.hero-form-header {
  text-align: center;
  margin-bottom: 1rem;
}

.hero-form-header h3 {
  color: var(--secondary);
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.hero-form-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

@media (max-width: 968px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-form {
    max-width: 500px;
  }
}

.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.hero-content h1 .highlight {
  color: var(--primary-light);
}

.hero-content p {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.15);
}

.hero-badge svg {
  width: 18px;
  height: 18px;
  fill: var(--primary-light);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-phone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.15);
}

.hero-phone-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: pulse-ring 2s ease-out infinite;
}

.hero-phone-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

.hero-phone-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.hero-phone-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}

.hero-phone-number a {
  color: var(--white);
}

.hero-phone-number a:hover {
  color: var(--primary-light);
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(var(--primary-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0); }
}

/* Page hero (smaller, for interior pages) */
.page-hero {
  position: relative;
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 8vw, 5rem);
  background: var(--secondary);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--secondary-rgb), 0.93) 0%, rgba(var(--secondary-rgb), 0.8) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.page-hero-content h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

.page-hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: rgba(255,255,255,0.6);
  transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
  color: var(--white);
}

.breadcrumbs .separator {
  color: rgba(255,255,255,0.3);
}

.breadcrumbs .current {
  color: var(--primary-light);
  font-weight: 600;
}

/* --- Service Cards --- */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card-img {
  height: 220px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.service-card-body {
  padding: 1.5rem;
}

.service-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.service-card-body h3 a {
  color: var(--secondary);
  transition: color var(--transition-fast);
}

.service-card-body h3 a:hover {
  color: var(--primary);
}

.service-card-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap var(--transition-fast);
}

.service-card-link:hover {
  gap: 0.7rem;
  color: var(--primary-dark);
}

.service-card-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Service card compact (icon-based) */
.service-card-compact {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
  text-align: center;
}

.service-card-compact:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.service-card-compact .icon {
  width: 56px;
  height: 56px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.service-card-compact .icon svg {
  width: 28px;
  height: 28px;
  fill: var(--primary);
}

.service-card-compact h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.service-card-compact p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Service list (for hub pages) */
.service-list-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.service-list-item:hover {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.02);
  transform: translateX(4px);
}

.service-list-item svg {
  width: 20px;
  height: 20px;
  fill: var(--primary);
  flex-shrink: 0;
}

.service-list-item a {
  color: var(--secondary);
  font-weight: 600;
  font-size: 1rem;
}

.service-list-item:hover a {
  color: var(--primary);
}

/* --- Feature / Trust Cards --- */
.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--primary);
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Trust badges row */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 0;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--secondary);
}

.trust-badge svg {
  width: 40px;
  height: 40px;
  fill: var(--primary);
}

.section-dark .trust-badge {
  color: var(--white);
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--secondary) 0%, #0d0d1a 100%);
  padding: clamp(3rem, 8vw, 5rem) 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.02);
  border-radius: 50%;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn {
  margin: 0 0.5rem;
}

.cta-section .btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.cta-section .btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
}

.cta-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.cta-phone a {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
}

.cta-phone a:hover {
  opacity: 0.9;
}

.cta-phone svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

/* Emergency CTA (red bg, extra prominent) */
.emergency-cta {
  background: linear-gradient(135deg, var(--primary) 0%, #B71C1C 100%);
  padding: 2rem 0;
  text-align: center;
}

.emergency-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  color: var(--white);
}

.emergency-cta h3 {
  color: var(--white);
  font-size: 1.3rem;
}

.emergency-cta a.btn {
  animation: pulse-ring 2s ease-out infinite;
}

/* --- Content Sections --- */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.content-grid.reverse {
  direction: rtl;
}

.content-grid.reverse > * {
  direction: ltr;
}

@media (max-width: 768px) {
  .content-grid,
  .content-grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

.content-text h2 {
  margin-bottom: 1rem;
}

.content-text p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.content-text ul {
  margin: 1.25rem 0;
}

.content-text li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.content-text li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

.content-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 350px;
}

/* Stats row */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  padding: 2rem 0;
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.section-dark .stat-number {
  color: var(--primary-light);
}

.section-dark .stat-label {
  color: rgba(255,255,255,0.7);
}

/* --- Service Page Content --- */
.service-content {
  padding: var(--section-padding) 0;
}

.service-content-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 3rem;
}

@media (max-width: 1024px) {
  .service-content-grid {
    grid-template-columns: 1fr;
  }
}

.service-main h2 {
  margin: 2rem 0 1rem;
}

.service-main h3 {
  margin: 1.75rem 0 0.75rem;
}

.service-main p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.service-main ul {
  margin: 1rem 0 1.5rem;
}

.service-main li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.service-main li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

.service-main img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin: 1.5rem 0;
  box-shadow: var(--shadow-md);
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-widget {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border-light);
}

.sidebar-widget h3 {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary);
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border-light);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: var(--primary);
  padding-left: 0.5rem;
}

.sidebar-nav a svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  opacity: 0.4;
}

.sidebar-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  border: none;
}

.sidebar-cta h3 {
  color: var(--white);
  border-bottom-color: rgba(255,255,255,0.3);
}

.sidebar-cta p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.sidebar-cta .phone-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
}

.sidebar-cta .phone-number a {
  color: var(--white);
}

.sidebar-cta .phone-number a:hover {
  opacity: 0.9;
}

/* --- Area / Location Sections --- */
.area-cities {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.area-city {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
}

.area-city svg {
  width: 14px;
  height: 14px;
  fill: var(--primary);
  flex-shrink: 0;
}

/* --- Reviews Section --- */
.reviews-section {
  padding: var(--section-padding) 0;
}

.elfsight-widget-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Elfsight Contact Form Contrast Fix --- */
[class*="elfsight-app"] label,
[class*="elfsight-app"] .eapps-form-element-label,
[class*="elfsight-app"] .eapps-form-floating-panel label {
  color: #212121 !important;
}

[class*="elfsight-app"] input,
[class*="elfsight-app"] textarea,
[class*="elfsight-app"] select,
[class*="elfsight-app"] .eapps-form-element-input,
[class*="elfsight-app"] .eapps-form-floating-panel input,
[class*="elfsight-app"] .eapps-form-floating-panel textarea {
  color: #212121 !important;
  background-color: #FFFFFF !important;
  border: 1px solid #CCCCCC !important;
}

[class*="elfsight-app"] input::placeholder,
[class*="elfsight-app"] textarea::placeholder,
[class*="elfsight-app"] .eapps-form-element-input::placeholder {
  color: #757575 !important;
  opacity: 1 !important;
}

[class*="elfsight-app"] p,
[class*="elfsight-app"] span,
[class*="elfsight-app"] div,
[class*="elfsight-app"] h1,
[class*="elfsight-app"] h2,
[class*="elfsight-app"] h3,
[class*="elfsight-app"] h4 {
  color: inherit;
}

.cta-section [class*="elfsight-app"] input,
.cta-section [class*="elfsight-app"] textarea,
.cta-section [class*="elfsight-app"] select {
  color: #212121 !important;
  background-color: #FFFFFF !important;
}

.cta-section [class*="elfsight-app"] label,
.cta-section [class*="elfsight-app"] p,
.cta-section [class*="elfsight-app"] span {
  color: #FFFFFF !important;
}

.hero-form [class*="elfsight-app"] label,
.hero-form [class*="elfsight-app"] p,
.hero-form [class*="elfsight-app"] span {
  color: #212121 !important;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  border: 1px solid var(--border-light);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--primary);
}

.contact-info-text h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-info-text p,
.contact-info-text a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-info-text a:hover {
  color: var(--primary);
}

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
}

.map-embed iframe {
  width: 100%;
  height: 350px;
  border: 0;
}

/* --- Footer --- */
.footer {
  background: var(--secondary);
  color: var(--text-on-dark);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-about .logo {
  margin-bottom: 1rem;
}

.footer-about .logo-text {
  color: var(--white);
}

.footer-about p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  padding: 0.3rem 0;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 0.4rem;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.footer-contact p svg {
  width: 18px;
  height: 18px;
  fill: var(--primary);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.footer-contact a {
  color: rgba(255,255,255,0.7);
}

.footer-contact a:hover {
  color: var(--white);
}

/* Footer bottom */
.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.6);
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--white);
}

.footer-credit {
  margin-top: 0.5rem;
}

.footer-credit a {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}

.footer-credit a:hover {
  color: rgba(255,255,255,0.7);
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered delays for grid children */
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.1s; }
.stagger > *:nth-child(3) { transition-delay: 0.2s; }
.stagger > *:nth-child(4) { transition-delay: 0.3s; }
.stagger > *:nth-child(5) { transition-delay: 0.4s; }
.stagger > *:nth-child(6) { transition-delay: 0.5s; }
.stagger > *:nth-child(7) { transition-delay: 0.6s; }
.stagger > *:nth-child(8) { transition-delay: 0.7s; }

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .fade-in,
  .fade-in-left,
  .fade-in-right,
  .scale-in {
    opacity: 1;
    transform: none;
  }
}

/* --- Mobile Fixed CTA --- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  padding: 0.85rem 1rem;
  background-color: #ff0000;
  opacity: 1;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  animation: emergency-pulse 1.5s ease-in-out infinite;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

@keyframes emergency-pulse {
  0%, 100% { background-color: #cc0000; box-shadow: 0 0 10px rgba(255,0,0,0.5); }
  50% { background-color: #ff1a1a; box-shadow: 0 0 25px rgba(255,0,0,0.9); }
}

.mobile-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  width: 100%;
  height: 100%;
  padding: 0.25rem 0;
}

.mobile-cta svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  animation: siren-icon-pulse 1.5s ease-in-out infinite;
}

@keyframes siren-icon-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.9; }
}

@media (max-width: 768px) {
  .mobile-cta {
    display: block;
  }

  body {
    padding-bottom: 60px;
  }
}

/* --- Boiler Page Hero with Form --- */
.boiler-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--secondary);
}

.boiler-hero .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.boiler-hero .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--secondary-rgb), 0.92) 0%, rgba(var(--secondary-rgb), 0.75) 50%, rgba(var(--secondary-rgb), 0.6) 100%);
}

.boiler-hero .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.boiler-hero .hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 2rem 0;
}

.boiler-hero .hero-content h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.boiler-hero .hero-content h1 .highlight {
  color: var(--primary-light);
}

.boiler-hero .hero-content p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.boiler-hero .hero-form {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  transform: none;
}

.boiler-hero .hero-form-header {
  text-align: center;
  margin-bottom: 1rem;
}

.boiler-hero .hero-form-header h3 {
  color: var(--secondary);
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.boiler-hero .hero-form-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.boiler-hero .hero-form [class*="elfsight-app"] {
  max-width: 100%;
  overflow: hidden;
}

@media (max-width: 968px) {
  .boiler-hero .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .boiler-hero .hero-form {
    max-width: 500px;
    margin: 0 auto;
  }
  .boiler-hero {
    min-height: auto;
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .boiler-hero .hero-form {
    max-width: 100%;
    padding: 1.5rem 1rem;
    border-radius: 10px;
  }
  .boiler-hero .container {
    gap: 1.5rem;
  }
}

/* --- Gallery / Image Grid --- */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.image-grid-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
}

.image-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.image-grid-item:hover img {
  transform: scale(1.05);
}

/* --- Service Area Cards --- */
.area-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
  text-align: center;
}

.area-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.area-card svg {
  width: 40px;
  height: 40px;
  fill: var(--primary);
  margin-bottom: 1rem;
}

.area-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.area-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

/* --- Misc --- */
.divider {
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: 1rem 0;
}

.divider-center {
  margin-left: auto;
  margin-right: auto;
}

.highlight-box {
  background: rgba(var(--primary-rgb), 0.05);
  border-left: 4px solid var(--primary);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
}

.highlight-box p {
  color: var(--text);
  font-weight: 500;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 20px;
  height: 20px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23C62828'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

.check-list li {
  padding-left: 2rem;
}

/* --- Schema markup (hidden) --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================
   MOBILE RESPONSIVE ENHANCEMENTS
   ============================================ */

/* --- Tablet & Small Screens (768px) --- */
@media (max-width: 768px) {
  /* Hero: reduce height, stack content */
  .hero {
    min-height: auto;
    padding: 3rem 0;
  }

  .hero-content {
    padding: 1rem 0;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    justify-content: center;
    text-align: center;
  }

  .hero-badges {
    gap: 0.5rem;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
  }

  .hero-phone {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

  .hero-phone-number {
    font-size: 1.25rem;
  }

  .hero-form {
    max-width: 100%;
    padding: 1.5rem;
  }

  /* Trust badges: stack vertically */
  .trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .trust-badge {
    font-size: 0.9rem;
  }

  /* CTA section: stack buttons */
  .cta-section .btn {
    display: flex;
    justify-content: center;
    margin: 0.5rem auto;
    width: 100%;
    max-width: 320px;
  }

  /* Emergency CTA: full-width stack */
  .emergency-cta {
    padding: 1.5rem 0;
  }

  .emergency-cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .emergency-cta-inner h2,
  .emergency-cta-inner h3 {
    font-size: 1.15rem;
  }

  .emergency-cta-inner .btn,
  .emergency-cta-inner div .btn {
    width: 100%;
    justify-content: center;
  }

  /* Content image: reduce min-height */
  .content-image img {
    min-height: 250px;
  }

  /* Buttons: reduce sizing */
  .btn-lg {
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
  }

  /* CTA phone: scale down */
  .cta-phone a {
    font-size: 1.5rem;
  }

  .cta-phone svg {
    width: 22px;
    height: 22px;
  }

  /* Stats row: tighter spacing */
  .stats-row {
    gap: 1.5rem 2rem;
  }

  /* Page hero content: ensure padding when container missing */
  .page-hero-content {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .container .page-hero-content {
    padding-left: 0;
    padding-right: 0;
  }

  /* Feature cards: reduce padding */
  .feature-card {
    padding: 1.5rem 1rem;
  }

  /* Area cards: reduce padding */
  .area-card {
    padding: 1.5rem;
  }

  /* Section header: reduce margin */
  .section-header {
    margin-bottom: 2rem;
  }

  /* Sidebar CTA phone */
  .sidebar-cta .phone-number {
    font-size: 1.25rem;
  }

  /* Elfsight widget: prevent overflow */
  .elfsight-widget-container {
    overflow-x: hidden;
  }
}

/* --- Small Phones (480px) --- */
@media (max-width: 480px) {
  /* Top bar: hide email on very small screens */
  .top-bar-contact a[href^="mailto"] {
    display: none;
  }

  .top-bar-sep {
    display: none;
  }

  /* Hero heading: smaller */
  .hero-content h1 {
    font-size: 1.75rem;
  }

  /* Hero badges: full width stack */
  .hero-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem;
  }

  .hero-badge svg {
    width: 14px;
    height: 14px;
  }

  /* Stats row: 2-column grid */
  .stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  /* Service card image: shorter */
  .service-card-img {
    height: 180px;
  }

  /* Content image: reduce more */
  .content-image img {
    min-height: 200px;
  }

  /* Page hero heading */
  .page-hero-content h1 {
    font-size: 1.6rem;
  }

  .page-hero-content p {
    font-size: 1rem;
  }

  /* CTA buttons */
  .cta-section .btn {
    max-width: 100%;
  }

  /* Emergency CTA button wrapper */
  .emergency-cta-inner div {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Contact info cards */
  .contact-info-card {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

  /* Area cities grid */
  .area-cities {
    grid-template-columns: 1fr 1fr;
  }

  /* Map embed */
  .map-embed iframe {
    height: 250px;
  }

  /* Section padding */
  .section {
    padding: clamp(2rem, 6vw, 4rem) 0;
  }

  /* Highlight box */
  .highlight-box {
    padding: 1rem 1.25rem;
  }
}

/* --- Extra Small Phones (375px) --- */
@media (max-width: 375px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .hero-badges {
    flex-direction: column;
  }

  .hero-badge {
    width: 100%;
    justify-content: center;
  }

  .hero-phone-number {
    font-size: 1.15rem;
  }

  .btn-lg {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }

  .area-cities {
    grid-template-columns: 1fr;
  }

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

  .logo-text {
    font-size: 0.85rem;
  }

  .logo img {
    width: 42px;
    height: 42px;
  }

  /* Ensure no horizontal overflow */
  .container {
    padding: 0 1rem;
  }
}
