/* ============================================================
   REEL GOOD GUTTERS — Design System
   Navy & Gold | DM Serif Display + DM Sans
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* ============================================================
   1. CSS VARIABLES
   ============================================================ */
:root {
  /* Colors */
  --navy:         #0A1628;
  --navy-mid:     #162238;
  --navy-light:   #243652;
  --navy-hover:   #0D1E35;
  --gold:         #C9922A;
  --gold-light:   #DBA94C;
  --gold-dark:    #A97620;
  --gold-subtle:  #F7EDD8;
  --cream:        #F5F1EB;
  --cream-dark:   #EDE6DB;
  --white:        #FFFFFF;
  --text:         #0A1628;
  --text-body:    #2C3E55;
  --text-light:   #4E637A;
  --text-muted:   #7A90A6;
  --border:       rgba(10, 22, 40, 0.10);
  --border-light: rgba(10, 22, 40, 0.06);

  /* Shadows */
  --shadow-xs:  0 1px 4px rgba(10,22,40,0.07);
  --shadow-sm:  0 2px 10px rgba(10,22,40,0.09);
  --shadow:     0 4px 24px rgba(10,22,40,0.12);
  --shadow-lg:  0 8px 48px rgba(10,22,40,0.16);
  --shadow-xl:  0 16px 72px rgba(10,22,40,0.22);
  --shadow-gold: 0 4px 20px rgba(201,146,42,0.30);

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2rem;
  --space-2xl:  3rem;
  --space-3xl:  4rem;
  --space-4xl:  6rem;
  --space-5xl:  8rem;

  /* Layout */
  --container:  1240px;
  --container-sm: 800px;
  --header-h:   80px;
  --radius:     4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  20px;

  /* Transitions */
  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:   cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-spring:cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast:     0.15s;
  --t:          0.25s;
  --t-slow:     0.40s;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
}

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.2;
  font-weight: 400;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.875rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  color: var(--text-body);
  line-height: 1.75;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-light);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  color: var(--text);
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

/* ============================================================
   4. LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--sm {
  max-width: var(--container-sm);
}

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

.section--sm {
  padding: var(--space-4xl) 0;
}

.section--lg {
  padding: calc(var(--space-5xl) * 1.25) 0;
}

.section--cream {
  background: var(--cream);
}

.section--navy {
  background: var(--navy);
}

.section--navy-mid {
  background: var(--navy-mid);
}

.section-header {
  margin-bottom: var(--space-3xl);
}

.section-header--center {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-3xl);
}

.section-header .eyebrow {
  display: block;
  margin-bottom: var(--space-sm);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--text-light);
}

/* Grid */
.grid {
  display: grid;
  gap: var(--space-xl);
}

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

/* Flex utilities */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  transition: all var(--t) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(201,146,42,0.40);
}

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

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

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

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

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

.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

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

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

/* ============================================================
   6. HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow var(--t) var(--ease), background var(--t) var(--ease);
}

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

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

/* Logo */
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-logo img {
  height: 44px;
  width: auto;
}

/* Nav */
.main-nav {
  flex: 1;
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-list > li {
  position: relative;
}

.nav-list > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.5rem 0.875rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: color var(--t-fast), background var(--t-fast);
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
  color: var(--white);
  background: rgba(255,255,255,0.07);
}

.nav-list > li > a svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
  transition: transform var(--t) var(--ease);
}

.nav-list > li:hover > a svg {
  transform: rotate(180deg);
}

/* Dropdowns */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  padding: var(--space-sm) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--t) var(--ease), visibility var(--t), transform var(--t) var(--ease);
  z-index: 100;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 0.5rem 1.125rem;
  color: var(--text-body);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--t-fast), background var(--t-fast);
}

.dropdown li a:hover {
  color: var(--gold);
  background: var(--gold-subtle);
}

.dropdown--wide {
  min-width: 520px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: var(--space-md);
}

.dropdown-group {
  padding: var(--space-sm);
}

.dropdown-group-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 var(--space-sm) var(--space-sm);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-sm);
}

.dropdown-group li a {
  border-radius: var(--radius);
}

/* Nested sub-dropdown (Heat Tape tiers) */
.dropdown .has-dropdown {
  position: relative;
}
.dropdown .has-dropdown > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.dropdown .has-dropdown > a svg {
  width: 14px;
  height: 14px;
  transform: rotate(-90deg);
  transition: transform var(--t) var(--ease);
  flex-shrink: 0;
}
.dropdown .has-dropdown .dropdown {
  top: -8px;
  left: calc(100% + 1px);
  min-width: 210px;
}
.dropdown .has-dropdown:hover > a svg {
  transform: rotate(-90deg);
}

/* Header right */
.header-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-left: auto;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.80);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color var(--t-fast);
}

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

.header-phone svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: var(--space-sm);
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--t) var(--ease), opacity var(--t);
}

.mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Page offset for fixed header */
body > main,
.page-hero,
.page-header-section {
  padding-top: var(--header-h);
}

/* ============================================================
   7. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

.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(
    105deg,
    rgba(10,22,40,0.88) 0%,
    rgba(10,22,40,0.70) 50%,
    rgba(10,22,40,0.40) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-content .eyebrow {
  margin-bottom: var(--space-md);
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: var(--space-lg);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
}

.hero-content h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-content .lead {
  color: rgba(255,255,255,0.80);
  margin-bottom: var(--space-2xl);
  font-size: 1.15rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  align-items: center;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-trust-item svg {
  color: var(--gold);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-hero .hero-bg::after {
  background: linear-gradient(
    to right,
    rgba(10,22,40,0.85) 0%,
    rgba(10,22,40,0.60) 60%,
    rgba(10,22,40,0.40) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-content .eyebrow {
  margin-bottom: var(--space-sm);
}

.page-hero-content h1 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.page-hero-content p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 560px;
}

/* ============================================================
   8. TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--navy-mid);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: var(--space-md) 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  font-weight: 500;
}

.trust-item svg {
  color: var(--gold);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.trust-divider {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.12);
}

/* ============================================================
   9. SERVICE CARDS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t);
  position: relative;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}

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

.service-card-icon {
  width: 56px;
  height: 56px;
  background: var(--gold-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.service-card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--gold-dark);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--text-light);
  margin-bottom: var(--space-lg);
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-dark);
  font-size: 0.9rem;
  font-weight: 600;
  transition: gap var(--t) var(--ease);
}

.service-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--t) var(--ease-spring);
}

.service-card-link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.service-card:hover .service-card-link {
  gap: 10px;
}

.service-card:hover .service-card-link svg {
  transform: translateX(4px);
}

/* Feature service layout */
.service-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.service-feature.reverse {
  direction: rtl;
}

.service-feature.reverse > * {
  direction: ltr;
}

.service-feature-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

.service-feature-img:hover img {
  transform: scale(1.03);
}

.service-feature-content .eyebrow {
  display: block;
  margin-bottom: var(--space-sm);
}

.service-feature-content h2 {
  margin-bottom: var(--space-md);
}

.service-feature-content p {
  margin-bottom: var(--space-lg);
  color: var(--text-light);
}

.service-feature-list {
  margin-bottom: var(--space-xl);
}

.service-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9375rem;
  color: var(--text-body);
}

.service-feature-list li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 0.55em;
  flex-shrink: 0;
}

/* ============================================================
   10. STATS SECTION
   ============================================================ */
.stats-section {
  background: var(--navy);
  padding: var(--space-4xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.stat-item {
  text-align: center;
  padding: var(--space-xl);
  border-right: 1px solid rgba(255,255,255,0.08);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-label {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  font-weight: 500;
}

.stat-rating-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.stat-rating-link:hover {
  opacity: 0.8;
}

/* ============================================================
   11. GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 1;
  cursor: pointer;
}

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

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,22,40,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t) var(--ease);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay svg {
  color: var(--white);
  width: 32px;
  height: 32px;
}

/* Large gallery item */
.gallery-item--large {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

/* ============================================================
   12. TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.2;
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  line-height: 1;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-md);
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  fill: var(--gold);
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold-dark);
  flex-shrink: 0;
}

.testimonial-info .name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.testimonial-info .location {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ============================================================
   13. WHY CHOOSE US
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.why-item {
  text-align: center;
  padding: var(--space-xl);
}

.why-icon {
  width: 72px;
  height: 72px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
}

.why-icon svg {
  width: 34px;
  height: 34px;
  color: var(--gold);
}

.why-item h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.25rem;
}

.why-item p {
  font-size: 0.9375rem;
  color: var(--text-light);
}

/* ============================================================
   14. COVERAGE / SERVICE AREA
   ============================================================ */
.coverage-map-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.coverage-map-wrap img {
  width: 100%;
  display: block;
}

.coverage-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

.coverage-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.75rem var(--space-md);
  background: var(--gold-subtle);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  transition: background var(--t-fast);
}

.coverage-item:hover {
  background: var(--cream-dark);
}

.coverage-item svg {
  color: var(--gold-dark);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

/* ============================================================
   15. CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--navy);
  padding: var(--space-5xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(201,146,42,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  color: var(--white);
  font-size: clamp(1.875rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
}

.cta-section p {
  color: rgba(255,255,255,0.70);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto var(--space-2xl);
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* ============================================================
   16. CONTACT FORM
   ============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.8125rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font-size: 0.9375rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,146,42,0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234E637A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-honeypot {
  display: none !important;
}

.form-submit {
  margin-top: var(--space-sm);
}

.form-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: var(--space-sm);
}

/* ============================================================
   17. CONTACT INFO CARDS
   ============================================================ */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.contact-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.contact-card-icon svg {
  width: 26px;
  height: 26px;
  color: var(--gold);
}

.contact-card h4 {
  margin-bottom: var(--space-xs);
  font-size: 1.1rem;
}

.contact-card a {
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 1.0625rem;
  transition: color var(--t-fast);
}

.contact-card a:hover {
  color: var(--gold);
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ============================================================
   18. BLOG
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

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

.blog-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

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

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

.blog-card-body {
  padding: var(--space-xl);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.blog-card-category {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--gold-subtle);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius);
}

.blog-card-date {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.blog-card h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
  transition: color var(--t-fast);
}

.blog-card:hover h3 {
  color: var(--gold-dark);
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: var(--space-lg);
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-dark);
  font-size: 0.875rem;
  font-weight: 600;
  transition: gap var(--t) var(--ease);
}

.blog-card-link svg {
  width: 16px;
  height: 16px;
}

.blog-card:hover .blog-card-link {
  gap: 10px;
}

/* Blog post page */
.blog-post-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-4xl);
  align-items: start;
}

.blog-post-header {
  margin-bottom: var(--space-2xl);
}

.blog-post-header .eyebrow {
  display: block;
  margin-bottom: var(--space-sm);
}

.blog-post-header h1 {
  margin-bottom: var(--space-md);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
}

.blog-post-meta {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-md) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.blog-post-featured-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-2xl);
  aspect-ratio: 16/9;
}

.blog-post-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-post-body h2 {
  font-size: 1.6rem;
  margin: var(--space-2xl) 0 var(--space-md);
}

.blog-post-body h3 {
  font-size: 1.25rem;
  margin: var(--space-xl) 0 var(--space-sm);
}

.blog-post-body p {
  margin-bottom: var(--space-lg);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.blog-post-body ul,
.blog-post-body ol {
  list-style: disc;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.blog-post-body ul li,
.blog-post-body ol li {
  margin-bottom: var(--space-sm);
  font-size: 1.0625rem;
  color: var(--text-body);
  line-height: 1.75;
}

/* Blog sidebar */
.blog-sidebar {
  position: sticky;
  top: calc(var(--header-h) + var(--space-xl));
}

.sidebar-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
  border: 1px solid var(--border);
}

.sidebar-card h4 {
  font-size: 1rem;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--gold);
}

/* Blog post meta SVG icons */
.blog-post-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-post-meta svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Featured image — HTML uses -image, CSS had -img; support both */
.blog-post-featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-2xl);
}

.blog-post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Pros / Cons grid */
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.pros-cons-card {
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid var(--border);
}

.pros-cons-card h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  margin-bottom: var(--space-md);
  font-family: var(--font-body);
  font-weight: 700;
}

.pros-cons-card h4 svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.pros-cons-card ul {
  list-style: disc;
  padding-left: var(--space-lg);
  margin: 0;
}

.pros-cons-card ul li {
  font-size: 0.9375rem;
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

.pros-card {
  background: #f0faf4;
  border-color: #b2dfcc;
}

.pros-card h4 {
  color: #1a6b3e;
}

.pros-card h4 svg {
  stroke: #1a6b3e;
}

.cons-card {
  background: #fff5f5;
  border-color: #f5c6c6;
}

.cons-card h4 {
  color: #9b1c1c;
}

.cons-card h4 svg {
  stroke: #9b1c1c;
}

/* Best-for callout */
.best-for-callout {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-lg) 0 var(--space-xl);
  font-size: 0.9375rem;
  color: var(--text-body);
}

.best-for-callout--warning {
  border-left-color: #e05a2b;
  background: #fff8f5;
}

/* Recommendation list */
.recommendation-list {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0 var(--space-xl);
}

.recommendation-list li {
  padding: var(--space-sm) var(--space-md);
  border-left: 3px solid var(--gold);
  margin-bottom: var(--space-sm);
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* Blog CTA block */
.blog-cta-block {
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-2xl);
  margin-top: var(--space-3xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.blog-cta-block p {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--cream);
}

/* Sidebar CTA card */
.sidebar-card--cta {
  background: var(--navy);
  color: var(--cream);
  border-color: transparent;
}

.sidebar-card--cta h3 {
  color: var(--cream);
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.sidebar-card--cta p {
  color: rgba(245,241,235,0.8);
  font-size: 0.9rem;
  margin-bottom: var(--space-lg);
}

.sidebar-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-md);
}

.sidebar-contact-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--gold);
}

.sidebar-contact-item a {
  color: var(--cream);
  font-size: 1rem;
  font-weight: 600;
}

.sidebar-card--cta .btn-block {
  display: block;
  text-align: center;
  margin-top: var(--space-md);
}

/* Sidebar links list */
.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-links li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.sidebar-links li:last-child {
  border-bottom: none;
}

.sidebar-links li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: var(--gold);
}

.sidebar-links li a {
  font-size: 0.9375rem;
  color: var(--text-body);
  text-decoration: none;
}

.sidebar-links li a:hover {
  color: var(--gold);
}

@media (max-width: 640px) {
  .pros-cons-grid {
    grid-template-columns: 1fr;
  }
  .blog-cta-block {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-lg);
  }
}

/* Feature list (checkmark icon + text rows) */
.feature-list {
  list-style: none;
  padding: 0;
  margin: var(--space-lg) 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--gold);
}

/* Gauge comparison table */
.gauge-comparison-table {
  margin: var(--space-lg) 0;
  overflow-x: auto;
}

.gauge-comparison-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.gauge-comparison-table th {
  background: var(--navy);
  color: var(--cream);
  padding: 0.625rem 1rem;
  text-align: left;
  font-weight: 600;
}

.gauge-comparison-table td {
  padding: 0.625rem 1rem;
  border-bottom: 1px solid var(--border);
}

.gauge-comparison-table tr.highlight-row td {
  background: #f0faf4;
  font-weight: 600;
  color: #1a6b3e;
}

/* Callout block */
.callout-block {
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.callout-block p {
  margin: 0;
  font-size: 0.9375rem;
}

.callout-block--info {
  background: #eef4fb;
  border-left: 4px solid #3b82f6;
}

/* Value comparison cards */
.value-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.value-card {
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid var(--border);
}

.value-card h4 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.value-card ul {
  list-style: disc;
  padding-left: var(--space-lg);
  margin: 0;
}

.value-card ul li {
  font-size: 0.9375rem;
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

.value-card--standard {
  background: #fff5f5;
  border-color: #f5c6c6;
}

.value-card--standard h4 {
  color: #9b1c1c;
}

.value-card--premium {
  background: #f0faf4;
  border-color: #b2dfcc;
}

.value-card--premium h4 {
  color: #1a6b3e;
}

/* Numbered list */
.numbered-list {
  padding-left: var(--space-xl);
  margin: var(--space-lg) 0;
}

.numbered-list li {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: var(--space-md);
  color: var(--text-body);
}

@media (max-width: 640px) {
  .value-comparison {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   19. LOCATION PAGES
   ============================================================ */
.location-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.location-facts {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--border);
  margin-top: var(--space-xl);
}

.location-facts h4 {
  font-size: 1rem;
  margin-bottom: var(--space-md);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.location-fact-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.location-fact-item:last-child {
  border-bottom: none;
}

.location-fact-item .label {
  color: var(--text-light);
}

.location-fact-item .value {
  font-weight: 600;
  color: var(--text);
}

/* ============================================================
   20. SPECS TABLE
   ============================================================ */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.specs-table thead {
  background: var(--navy);
  color: var(--white);
}

.specs-table th {
  padding: 0.875rem 1.25rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.specs-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--t-fast);
}

.specs-table tbody tr:hover {
  background: var(--gold-subtle);
}

.specs-table td {
  padding: 0.8125rem 1.25rem;
  color: var(--text-body);
}

.specs-table tbody tr:nth-child(even) {
  background: var(--cream);
}

.specs-table tbody tr:nth-child(even):hover {
  background: var(--gold-subtle);
}

/* ============================================================
   21. BADGES / TRUST SIGNALS
   ============================================================ */
.badge-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-xl);
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.badge-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.badge-item img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

/* ============================================================
   22. FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.70);
}

.footer-main {
  padding: var(--space-5xl) 0 var(--space-3xl);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .site-logo {
  margin-bottom: var(--space-lg);
}

.footer-brand p {
  color: rgba(255,255,255,0.60);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.60);
  transition: background var(--t-fast), color var(--t-fast);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--navy);
}

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

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: rgba(255,255,255,0.60);
  font-size: 0.9rem;
  transition: color var(--t-fast);
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  color: rgba(255,255,255,0.60);
  font-size: 0.9rem;
}

.footer-contact-item svg {
  color: var(--gold);
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin-top: 0.15em;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.80);
  transition: color var(--t-fast);
}

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

.footer-bottom {
  padding: var(--space-lg) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

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

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom-links a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.40);
  transition: color var(--t-fast);
}

.footer-bottom-links a:hover {
  color: rgba(255,255,255,0.70);
}

.site-version {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.20);
  letter-spacing: 0.03em;
}

/* ============================================================
   23. SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}

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

.fade-in {
  opacity: 0;
  transition: opacity 0.55s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.10s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.20s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.30s; }

/* ============================================================
   24. BREADCRUMB
   ============================================================ */
.breadcrumb {
  font-size: 0.875rem;
  margin-bottom: var(--space-xl);
}

/* Support both flat (span/a) and semantic (ol/li) breadcrumb markup */
.breadcrumb,
.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb li + li::before {
  content: '/';
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-right: var(--space-sm);
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--t-fast);
}

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

.breadcrumb li[aria-current="page"] {
  color: var(--text-body);
  font-weight: 500;
}

.breadcrumb-sep {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.breadcrumb-current {
  color: var(--text-body);
  font-weight: 500;
}

/* Info block with address display */
.info-block {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
  border: 1px solid var(--border);
}

.info-block h2 {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}

.address-display {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.address-display svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--gold);
}

.address-display address {
  font-style: normal;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-body);
}

/* ============================================================
   25. UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-gold   { color: var(--gold); }
.text-navy   { color: var(--navy); }
.text-white  { color: var(--white); }
.text-muted  { color: var(--text-muted); }

.mt-sm  { margin-top: var(--space-sm); }
.mt-md  { margin-top: var(--space-md); }
.mt-lg  { margin-top: var(--space-lg); }
.mt-xl  { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-sm  { margin-bottom: var(--space-sm); }
.mb-md  { margin-bottom: var(--space-md); }
.mb-lg  { margin-bottom: var(--space-lg); }
.mb-xl  { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.hidden { display: none !important; }

.gold-bar {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: var(--space-md);
}

.gold-bar--center {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   26. RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root { --header-h: 72px; }

  .main-nav .header-phone { display: none; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-post-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .service-feature { gap: var(--space-2xl); }
  .location-intro { gap: var(--space-2xl); }
  .contact-info-grid { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .dropdown--wide { min-width: 400px; }
}

/* ============================================================
   27. RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --header-h: 66px; }

  /* Mobile nav */
  .mobile-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    padding: var(--space-xl);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform var(--t) var(--ease);
    z-index: 999;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .nav-list > li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-list > li > a {
    padding: 1rem 0.5rem;
    font-size: 1.0625rem;
    width: 100%;
    justify-content: space-between;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius);
    padding: var(--space-sm) 0;
    display: none;
  }

  .dropdown.open { display: block; }

  /* Nested dropdown resets for mobile */
  .dropdown .has-dropdown .dropdown {
    position: static;
    top: auto;
    left: auto;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
  }
  .dropdown .has-dropdown > a svg {
    transform: rotate(0deg);
  }

  .dropdown--wide {
    min-width: auto;
    display: none;
  }

  .dropdown li a {
    color: rgba(255,255,255,0.75);
    padding: 0.5rem 1rem;
  }

  .dropdown li a:hover {
    background: rgba(255,255,255,0.05);
    color: var(--gold);
  }

  .dropdown-group-label {
    color: rgba(255,255,255,0.35);
  }

  .header-right .btn { display: none; }

  /* Layout */
  .hero { min-height: 85vh; }
  .hero-trust { gap: var(--space-md); }

  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: var(--space-lg); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item--large { grid-column: span 2; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: var(--space-xl); }
  .blog-grid { grid-template-columns: 1fr; }
  .service-feature { grid-template-columns: 1fr; }
  .service-feature.reverse { direction: ltr; }
  .location-intro { grid-template-columns: 1fr; }
  .coverage-list { grid-template-columns: 1fr; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full-width { grid-column: span 1; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .badge-strip { gap: var(--space-lg); }
  .page-hero { height: 320px; }
  .trust-bar-inner { gap: var(--space-md); }
  .trust-divider { display: none; }
  .cta-actions { flex-direction: column; align-items: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-lg); }
  .section { padding: var(--space-4xl) 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--large { grid-column: span 1; }
  .stats-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   28. CSS CLASS ALIASES
   Compatibility layer for agent-generated pages
   ============================================================ */

/* Background helpers */
.bg-cream  { background: var(--cream); }
.bg-navy   { background: var(--navy); }
.bg-white  { background: var(--white); }

/* Section padding alias */
.section-pad {
  padding: var(--space-5xl) 0;
}

/* Eyebrow variants */
.eyebrow--light { color: var(--gold); }
.eyebrow--gold  { color: var(--gold); }

/* Location hero — full-width page hero for city pages */
.location-hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.location-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,22,40,0.88) 0%,
    rgba(10,22,40,0.70) 55%,
    rgba(10,22,40,0.40) 100%
  );
  z-index: 1;
}

.location-hero__overlay { display: none; } /* handled by ::before */

.location-hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.location-hero__content h1 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.location-hero__content p {
  color: rgba(255,255,255,0.78);
  font-size: 1.1rem;
  margin-bottom: var(--space-xl);
}

.location-hero__content .eyebrow {
  margin-bottom: var(--space-sm);
}

/* Location section wrappers */
.location-intro,
.location-services,
.location-gallery,
.location-cta { /* section padding handled by section-pad */ }

.location-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}

.location-intro__text h2 {
  margin-bottom: var(--space-md);
}

.location-intro__text p {
  color: var(--text-light);
  margin-bottom: var(--space-lg);
}

/* service-card BEM aliases */
.service-card__icon {
  width: 56px;
  height: 56px;
  background: var(--gold-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--gold-dark);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-dark);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: var(--space-md);
  transition: gap var(--t) var(--ease);
}

.service-card__link svg {
  width: 16px;
  height: 16px;
}

.service-card__link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.service-card:hover .service-card__link {
  gap: 10px;
}

/* btn-outline-light alias */
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.55);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

/* page-hero--short for legal pages */
.page-hero--short {
  height: 240px;
}

/* page-hero-bg alias */
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--navy-mid);
}

@media (max-width: 768px) {
  .location-intro__grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .location-hero { min-height: 360px; }
}

/* ============================================================
   29. COMMERCIAL HEAT TAPE PAGE COMPONENTS
   ============================================================ */

/* Section header — light (for dark/navy backgrounds) */
.section-header--light h2,
.section-header--light p {
  color: var(--white);
}
.section-header--light p {
  color: rgba(255,255,255,0.72);
}

/* Specs table wrapper — enables horizontal scroll on mobile */
.specs-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  margin-top: var(--space-2xl);
}

.specs-table__length {
  font-weight: 600;
  color: var(--text-heading);
}

.specs-table__highlight {
  background: var(--gold-subtle) !important;
}

.specs-table__highlight td {
  font-weight: 600;
}

.th-sub {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.65;
  display: block;
}

/* Circuit note cards */
.circuit-notes__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.circuit-note-card {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.circuit-note-card--warning {
  border-color: #d97706;
  background: #fffbeb;
}

.circuit-note-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--gold-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

.circuit-note-card--warning .circuit-note-card__icon {
  background: #fef3c7;
}

.circuit-note-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--gold-dark);
  flex-shrink: 0;
}

.circuit-note-card--warning .circuit-note-card__icon svg {
  color: #b45309;
}

.circuit-note-card__content h3 {
  font-size: 1.05rem;
  margin-bottom: var(--space-sm);
  color: var(--text-heading);
}

.circuit-note-card__content p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

/* Install info card — two-column layout */
.install-info-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.install-info-card__content h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.install-info-card__content p {
  color: rgba(255,255,255,0.72);
  margin-bottom: var(--space-xl);
  line-height: 1.75;
}

.install-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.install-checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.5;
}

.install-checklist li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 2px;
}

.install-info-card__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.install-info-card__image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* Stats inside cream section — override dark background defaults */
.section--cream .stat-item {
  border-right-color: var(--border);
}

.section--cream .stat-number {
  color: var(--gold-dark);
}

.section--cream .stat-label {
  color: var(--text-light);
}

@media (max-width: 900px) {
  .circuit-notes__grid { grid-template-columns: 1fr; }
  .install-info-card { grid-template-columns: 1fr; }
  .install-info-card__image { order: -1; }
  .install-info-card__image img { height: 260px; }
}

@media (max-width: 768px) {
  .circuit-note-card { flex-direction: column; gap: var(--space-md); }
}
