/* ============================================================
   POMONA ECO SOLUTIONS — DESIGN SYSTEM
   Smarter Heating. Cleaner Energy. Better Homes.
   ============================================================ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  /* Brand palette */
  --pomona-green:      #1E7A4E;
  --pomona-green-dark: #145C39;
  --pomona-green-mid:  #2A9060;
  --pomona-teal:       #0D6B6E;
  --pomona-teal-light: #16919A;
  --slate:             #1C2B38;
  --slate-mid:         #2A3D4F;
  --slate-light:       #3C5468;
  --cream:             #F5F2EC;
  --cream-dark:        #ECE8DF;
  --white:             #FFFFFF;
  --muted:             #6B8499;
  --text:              #1C2B38;
  --text-light:        #4A6478;
  --border:            #DDE6ED;
  --accent-gold:       #C8921A;

  /* Typography */
  --font-display: 'Raleway', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.09);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); color: var(--slate); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--slate); }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); }

p { line-height: 1.75; }

.lead {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-light);
  line-height: 1.75;
  font-weight: 400;
}

.muted { color: var(--muted); font-size: 0.9rem; }
.section-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pomona-green);
  display: block;
  margin-bottom: 0.5rem;
}

/* ── LAYOUT ── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

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

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.section-title { margin-bottom: 0.5rem; }

.section-intro {
  max-width: 500px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── TOPBAR ── */
.topbar {
  background: var(--slate);
  padding: 9px 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.topbar-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.topbar-list a {
  color: #9BBCD4;
  text-decoration: none;
  transition: color 0.2s;
}

.topbar-list a:hover { color: white; }

.topbar-list li:not(:has(a)) { color: #6B8CA4; }

.topbar-emergency {
  color: #8FD4B5 !important;
  font-weight: 700 !important;
}

/* ── HEADER & NAV ── */
.site-header {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  height: 40px;
  width: auto;
}

.brand-copy { line-height: 1.2; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--slate);
  letter-spacing: -0.01em;
}

.brand-tag {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--pomona-green);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-light);
  font-size: 0.87rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}

.nav-menu .button {
  color: white;
}

.nav-menu .button:hover,
.nav-menu .button:focus-visible {
  color: white;
}

.nav-menu a:hover {
  background: var(--cream);
  color: var(--pomona-green);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--slate);
}

.nav-toggle svg { width: 24px; height: 24px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ── BUTTONS ── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}

.button-primary {
  background: var(--pomona-green);
  color: white;
  border-color: var(--pomona-green);
  box-shadow: 0 3px 12px rgba(30,122,78,0.3);
}

.button-primary:hover {
  background: var(--pomona-green-dark);
  border-color: var(--pomona-green-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(30,122,78,0.4);
}

.button-accent {
  background: var(--pomona-teal);
  color: white;
  border-color: var(--pomona-teal);
  box-shadow: 0 3px 12px rgba(13,107,110,0.3);
}

.button-accent:hover {
  background: var(--pomona-teal-light);
  border-color: var(--pomona-teal-light);
  transform: translateY(-1px);
}

.button-secondary {
  background: transparent;
  color: var(--pomona-green);
  border-color: var(--pomona-green);
}

.button-secondary:hover {
  background: var(--pomona-green);
  color: white;
  transform: translateY(-1px);
}

.button-white {
  background: white;
  color: var(--pomona-green);
  border-color: white;
}

.button-white:hover {
  background: var(--cream);
  transform: translateY(-1px);
}

.button-ghost {
  background: rgba(255,255,255,0.1);
  color: white;
  border-color: rgba(255,255,255,0.3);
}

.button-ghost:hover {
  background: rgba(255,255,255,0.2);
}

.button-block { width: 100%; }

.button-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ── HERO ── */
.hero {
  background: var(--slate);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 90% at 105% 60%, rgba(30,122,78,0.2) 0%, transparent 55%),
    radial-gradient(ellipse 50% 70% at -5% 30%, rgba(13,107,110,0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 4vw, 2rem);
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3.5rem;
  align-items: start;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7BCBA5;
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--pomona-green-mid);
  flex-shrink: 0;
}

.hero h1 {
  color: white;
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 1.25rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: #7BCBA5;
}

.hero .lead {
  color: #8DACCB;
  margin-bottom: 0;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
  margin-bottom: 2rem;
}

.hero-trust-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Trust Pills */
.trust-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #8DACCB;
}

.trust-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7BCBA5;
  flex-shrink: 0;
}

.hero-gas-safe {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  min-width: 220px;
}

.hero-gas-safe img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  background: white;
}

.hero-gas-safe strong,
.hero-gas-safe span {
  display: block;
}

.hero-gas-safe strong {
  font-size: 0.82rem;
  color: white;
}

.hero-gas-safe span {
  font-size: 0.74rem;
  color: #8DACCB;
}

.hero-photo-placeholder {
  margin-top: 1.5rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(60,84,104,0.5), rgba(28,43,56,0.72));
  overflow: hidden;
  max-width: 720px;
  padding: 0.85rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.hero-photo-placeholder img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
  background:
    radial-gradient(circle at top left, rgba(22,145,154,0.12), transparent 34%),
    linear-gradient(180deg, rgba(28,43,56,0.96), rgba(20,32,43,0.98));
  border-radius: calc(var(--radius-lg) - 6px);
  box-shadow:
    inset 0 0 0 1px rgba(143,212,181,0.08),
    0 14px 30px rgba(7,15,22,0.28);
}

.hero-photo-placeholder-image {
  aspect-ratio: 16/9;
  background:
    linear-gradient(135deg, rgba(13,107,110,0.55), rgba(20,92,57,0.75)),
    radial-gradient(circle at top right, rgba(255,255,255,0.12), transparent 35%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.hero-photo-placeholder-image span {
  color: rgba(255,255,255,0.65);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.hero-photo-placeholder-copy {
  padding: 1rem 0.3rem 0.15rem;
}

.hero-photo-placeholder-copy strong {
  display: block;
  color: white;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.hero-photo-placeholder-copy p {
  color: #8DACCB;
  font-size: 0.84rem;
  line-height: 1.6;
}

/* Hero Quote Card */
.hero-quote-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 90px;
}

.hero-quote-card h3 {
  font-size: 1.2rem;
  color: var(--slate);
  margin-bottom: 4px;
}

.hero-quote-card .card-sub {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.quote-reassurance {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
}

.quote-reassurance span {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--text-light);
  font-size: 0.74rem;
  font-weight: 600;
}

/* ── FORM ELEMENTS ── */
.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-light);
  margin-bottom: 5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--pomona-green);
  box-shadow: 0 0 0 3px rgba(30,122,78,0.1);
}

.field textarea { min-height: 90px; resize: vertical; }

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #c65b57;
  box-shadow: 0 0 0 3px rgba(198, 91, 87, 0.14);
}

.form-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.note { font-size: 0.8rem; color: var(--pomona-green); margin-top: 0.5rem; }
.note--success { color: var(--pomona-green); }
.note--error { color: #c65b57; }

/* ── TRUST BANNER ── */
.trust-banner {
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.trust-banner-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate);
  white-space: nowrap;
}

.trust-badge-icon {
  width: 34px;
  height: 34px;
  background: white;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.trust-badge-logo {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border);
  background: white;
  flex-shrink: 0;
}

.trust-badge-text { line-height: 1.2; }
.trust-badge-text strong { display: block; font-size: 0.82rem; }
.trust-badge-text span { font-size: 0.7rem; color: var(--muted); font-weight: 400; }

/* ── GAS SAFE BADGE ── */
.gas-safe-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  margin: 1rem 0;
}

.gas-safe-badge img { width: 48px; height: auto; }
.gas-safe-badge p { font-size: 0.82rem; line-height: 1.4; color: var(--text); }

/* ── PROBLEM GRID ── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.problem-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.25s;
}

.problem-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--pomona-green);
  opacity: 0;
  transition: opacity 0.25s;
}

.problem-card:hover {
  border-color: var(--pomona-green);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.problem-card:hover::after { opacity: 1; }

.problem-meta {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pomona-green);
  margin-bottom: 0.5rem;
}

.problem-card h3 { font-size: 1rem; color: var(--slate); margin-bottom: 0.5rem; }
.problem-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }

/* ── SERVICE CARDS ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  transition: all 0.25s;
  position: relative;
}

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

.service-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--pomona-green), var(--pomona-teal));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 0.8rem;
  font-family: var(--font-display);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.service-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.service-card h3 { font-size: 1rem; color: var(--slate); margin-bottom: 0.6rem; }
.service-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; margin-bottom: 1rem; }

.link-arrow {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pomona-green);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.link-arrow::after { content: '→'; }
.service-card:hover .link-arrow { gap: 8px; }

/* ── SPLIT GRID ── */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

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

/* ── FEATURE PANEL ── */
.feature-panel .section-kicker { color: var(--pomona-green-mid); }
.feature-panel .section-title { margin-bottom: 1rem; }
.feature-panel > p { color: var(--text-light); margin-bottom: 1.5rem; line-height: 1.75; }

/* ── CHECK LIST ── */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.check-list li {
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.55;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--pomona-green);
  font-weight: 700;
  font-size: 0.85rem;
}

/* ── STATS / WHY CHOOSE US ── */
.stats-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-card {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 1rem;
  align-items: start;
}

.stat-card span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pomona-green);
  grid-column: 2;
}

.stat-card strong {
  font-size: 0.95rem;
  color: var(--slate);
  display: block;
  margin-bottom: 0.3rem;
  grid-column: 2;
}

.stat-card p {
  font-size: 0.83rem;
  color: var(--text-light);
  line-height: 1.55;
  grid-column: 2;
}

.stat-card-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--pomona-green);
  font-weight: 800;
  grid-row: 1 / span 3;
  grid-column: 1;
  line-height: 1;
  padding-top: 4px;
  min-width: 60px;
}

/* ── CARD GRID (generic) ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
}

.card-icon {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--cream-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.card h3 { font-size: 0.95rem; color: var(--slate); margin-bottom: 0.5rem; }
.card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }

/* ── PROJECT GRID ── */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s;
}

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

.project-image {
  background: linear-gradient(180deg, rgba(60,84,104,0.22), rgba(28,43,56,0.08));
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  padding: 0.75rem;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background:
    radial-gradient(circle at top left, rgba(30,122,78,0.1), transparent 34%),
    linear-gradient(180deg, #f2eee6, #e6e0d4);
  border-radius: calc(var(--radius-md) - 4px);
  box-shadow:
    inset 0 0 0 1px rgba(28,43,56,0.08),
    0 8px 18px rgba(28,43,56,0.08);
}

.project-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--slate-mid), var(--pomona-green-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card .project-meta {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pomona-green);
  padding: 1.25rem 1.25rem 0;
}

.project-card h3 { font-size: 0.95rem; color: var(--slate); padding: 0.4rem 1.25rem 0; }
.project-card p { font-size: 0.83rem; color: var(--text-light); line-height: 1.6; padding: 0.5rem 1.25rem 1.25rem; }

.project-note { font-size: 0.75rem !important; color: var(--muted) !important; font-style: italic; }

.review-qr-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 1.25rem;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  align-items: center;
}

.review-qr-card--page {
  background: white;
}

.review-qr-image {
  width: 132px;
  height: 132px;
  background: white;
  border-radius: 14px;
  padding: 0.6rem;
  border: 1.5px solid var(--border);
}

.review-qr-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.review-qr-copy h3,
.review-qr-copy .panel-title {
  margin-bottom: 0.5rem;
}

.review-qr-copy p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ── AREAS GRID ── */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.area-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all 0.25s;
}

.area-card:hover {
  border-color: var(--pomona-green);
  background: var(--cream);
}

.area-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--pomona-green), var(--pomona-teal));
  border-radius: 8px;
  color: white;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.area-card h3 { font-size: 0.95rem; color: var(--slate); margin-bottom: 0.4rem; }
.area-card p { font-size: 0.82rem; color: var(--text-light); line-height: 1.55; }

/* ── AUDIENCE GRID ── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

.audience-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1.5px solid transparent;
  transition: all 0.25s;
  text-align: center;
}

.audience-card:hover {
  border-color: var(--pomona-green);
  background: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.audience-icon { font-size: 2rem; margin-bottom: 0.75rem; display: block; }
.audience-card h3 { font-size: 1rem; color: var(--slate); margin-bottom: 0.4rem; }
.audience-card p { font-size: 0.83rem; color: var(--text-light); line-height: 1.55; }

/* ── FAQ GRID ── */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.faq-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all 0.2s;
}

.faq-card:hover {
  border-color: var(--pomona-green);
  box-shadow: var(--shadow-sm);
}

.faq-card h2,
.faq-card h3 {
  font-size: 0.95rem;
  color: var(--slate);
  margin-bottom: 0.6rem;
  font-family: var(--font-display);
}

.faq-card p { font-size: 0.87rem; color: var(--text-light); line-height: 1.65; }

/* ── REVIEW GRID ── */
.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.review-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.review-card h3 { font-size: 1rem; color: var(--slate); margin-bottom: 0.5rem; }
.review-card p { font-size: 0.87rem; color: var(--text-light); line-height: 1.65; margin-bottom: 0.5rem; }

.card-grid .review-card { height: 100%; }

/* ── HERO IMAGE CARD ── */
.hero-image-card {
  background: var(--slate-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.hero-image-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.image-caption { font-size: 0.72rem; color: var(--muted); padding: 0.5rem 0.75rem; background: var(--cream); }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.photo-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  background:
    radial-gradient(circle at top left, rgba(30,122,78,0.08), transparent 34%),
    linear-gradient(180deg, #f2eee6, #e6e0d4);
  padding: 0.75rem;
  box-shadow:
    inset 0 0 0 1px rgba(28,43,56,0.08),
    0 8px 18px rgba(28,43,56,0.08);
}

.media-top-focus img,
.media-upper-mid-focus img,
.media-mid-focus img,
.media-low-focus img,
.media-bottom-focus img,
.media-contain img {
  object-fit: contain;
  object-position: center;
}

.page-hero-media.media-portrait-focus {
  max-width: 860px;
}

.page-hero-stack .page-hero-media.media-portrait-focus img {
  aspect-ratio: 16 / 10;
}

.project-image.media-portrait-focus {
  aspect-ratio: 4 / 3;
}

.photo-card-body {
  padding: 1rem 1.1rem 1.1rem;
}

.photo-card h3 {
  font-size: 1rem;
  color: var(--slate);
  margin-bottom: 0.35rem;
}

.photo-card p {
  font-size: 0.86rem;
  color: var(--text-light);
  line-height: 1.65;
}

.local-identity-banner {
  min-height: 220px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-lg);
}

.local-identity-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 20, 28, 0.18), rgba(10, 20, 28, 0.36));
  pointer-events: none;
}

.local-identity-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.section-banner {
  aspect-ratio: 16 / 5;
  margin-bottom: 1.5rem;
}

/* ── CONTACT CARD ── */
.contact-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1.5px solid var(--border);
}

.contact-card h2 { color: var(--slate); margin-bottom: 1rem; }
.contact-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; margin-bottom: 0.75rem; }

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-list li { font-size: 0.9rem; color: var(--text-light); }
.contact-list a { color: var(--pomona-green); text-decoration: none; font-weight: 500; }
.contact-list a:hover { text-decoration: underline; }

.contact-helper {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
}

/* ── CONTACT GRID ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* ── SECTION CARD ── */
.section-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
}

.areas-strategy-card {
  padding: 1.75rem;
}

/* ── PANEL TITLE ── */
.panel-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--slate);
  margin-bottom: 1rem;
  font-weight: 700;
}

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--pomona-green-dark) 0%, var(--pomona-teal) 100%);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.cta-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  color: white;
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.cta-band p { color: rgba(255,255,255,0.8); font-size: 0.95rem; }

/* ── HERO CARD (page heroes) ── */
.hero-card {
  background: linear-gradient(145deg, #203140, #192934);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.08);
}

.page-hero {
  background: var(--slate);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

.page-hero-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.page-hero-intro {
  max-width: 760px;
}

.page-hero-media,
.page-hero-secondary {
  width: 100%;
}

.page-hero-stack .page-hero-media:not(.local-identity-banner) {
  max-width: 880px;
  background: linear-gradient(180deg, rgba(60,84,104,0.5), rgba(28,43,56,0.7));
  padding: 0.9rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.page-hero-stack .page-hero-media:not(.local-identity-banner) img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
  background:
    radial-gradient(circle at top left, rgba(22,145,154,0.12), transparent 34%),
    linear-gradient(180deg, rgba(28,43,56,0.96), rgba(20,32,43,0.98));
  border-radius: calc(var(--radius-lg) - 6px);
  box-shadow:
    inset 0 0 0 1px rgba(143,212,181,0.08),
    0 14px 30px rgba(7,15,22,0.28);
}

.page-hero-media.local-identity-banner {
  aspect-ratio: 16 / 6;
}

/* ── BREADCRUMBS ── */
.breadcrumbs {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.breadcrumbs-list {
  list-style: none;
  display: flex;
  gap: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.breadcrumbs-list li::after { content: ' / '; padding: 0 0.4rem; color: var(--border); }
.breadcrumbs-list li:last-child::after { display: none; }
.breadcrumbs-list a { color: var(--pomona-green); text-decoration: none; }
.breadcrumbs-list a:hover { text-decoration: underline; }

/* ── CONTENT COLUMNS ── */
.content-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.content-stack { display: flex; flex-direction: column; gap: 1.5rem; }

/* ── AREA GROUP GRID ── */
.area-group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.area-group-grid--wide {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.area-group {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: all 0.25s;
}

.area-group:hover { border-color: var(--pomona-green); box-shadow: var(--shadow-sm); }
.area-group .area-meta {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pomona-green);
  margin-bottom: 0.5rem;
}

.area-group h2 { font-size: 1.05rem; margin-bottom: 0.6rem; }
.area-group p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; margin-bottom: 0.75rem; }

.area-group ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem 0.5rem;
  margin-bottom: 0.75rem;
}

.area-group ul li { font-size: 0.82rem; color: var(--text-light); }

.area-group--rich {
  padding: 1.9rem;
}

.project-note {
  font-size: 0.75rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.5rem;
}

.areas-note {
  background: var(--cream);
  border-left: 3px solid var(--pomona-green);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ── MINI FORM ── */
.mini-form {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.service-photo-placeholder {
  min-height: 0;
}

.mini-form h2,
.mini-form h3 { color: var(--slate); margin-bottom: 0.3rem; }
.mini-form .muted { margin-bottom: 1.25rem; display: block; }

/* ── PLACEHOLDER CARD ── */
.placeholder-card {
  background: var(--cream);
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  color: var(--muted);
}

.placeholder-card h3 { color: var(--slate-light); margin-bottom: 0.5rem; font-size: 1rem; }
.placeholder-card p { font-size: 0.85rem; line-height: 1.6; }

/* ── RELATED LINKS ── */
.related-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.related-links a {
  padding: 8px 16px;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pomona-green);
  text-decoration: none;
  transition: all 0.2s;
}

.related-links a:hover {
  background: var(--pomona-green);
  color: white;
  border-color: var(--pomona-green);
}

/* ── TRUST STACK ── */
.trust-stack { display: flex; flex-direction: column; gap: 1rem; }

/* ── FOOTER ── */
.site-footer {
  background: var(--slate);
  color: #8DACCB;
  padding: clamp(2.5rem, 5vw, 4rem) 0 0;
}

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

.footer-grid .brand-name { color: white; }
.footer-grid .brand-tag { color: #7BCBA5; }

.footer-note {
  font-size: 0.82rem;
  color: #6B8CA4;
  line-height: 1.65;
  margin-top: 1rem;
  max-width: 300px;
}

.footer-grid h3 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-list a {
  color: #7A9AB8;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-list a:hover { color: #7BCBA5; }

.footer-list li:not(:has(a)) { font-size: 0.85rem; }
.footer-list strong { color: #9BBCD4; font-size: 0.78rem; }

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.25rem clamp(1rem, 4vw, 2rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p { font-size: 0.75rem; color: #4A6A84; }

/* ── MOBILE CALLBAR ── */
.mobile-callbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: white;
  border-top: 1px solid var(--border);
  padding: 0.75rem 1rem;
  gap: 0.75rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

.mobile-callbar .button {
  flex: 1 1 0;
  min-height: 48px;
}

.has-mobile-callbar { padding-bottom: 70px; }

/* ── MISC HELPERS ── */
.eyebrow-page {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7BCBA5;
  margin-bottom: 0.75rem;
  display: block;
}

.page-hero .hero-card h1 { color: white; font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
.page-hero .hero-card .lead { color: #8DACCB; }
.page-hero .hero-card .eyebrow { margin-bottom: 0.75rem; }
.page-hero .contact-card { background: rgba(255,255,255,0.95); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-quote-card { position: static; max-width: 500px; }
  .split-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-hero-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem;
    gap: 4px;
    box-shadow: var(--shadow-md);
    z-index: 199;
  }

  .nav-menu[data-open="true"] { display: flex; }
  .nav-menu a { width: 100%; text-align: left; }
  .nav-toggle { display: flex; }
  .mobile-callbar { display: flex; }
  .has-mobile-callbar { padding-bottom: 70px; }
  .project-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .content-columns { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .topbar-list { gap: 0.75rem; font-size: 0.72rem; }
  .topbar-email { display: none; }
  .topbar-inner { align-items: flex-start; }
  .hero h1 { font-size: clamp(1.8rem, 6vw, 2.4rem); }
  .brand img { height: 46px; }
  .brand-name { font-size: 1.18rem; }
  .brand-tag { font-size: 0.68rem; }
  .hero-gas-safe { min-width: 100%; }
  .review-qr-card { grid-template-columns: 1fr; }
  .review-qr-image { margin: 0 auto; }
  .page-hero-media.local-identity-banner,
  .section-banner {
    aspect-ratio: 16 / 8;
  }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .area-group-grid { grid-template-columns: 1fr; }
  .button-row { flex-direction: column; }
  .button { width: 100%; justify-content: center; }
  .cta-grid { flex-direction: column; }
  .trust-pills { gap: 0.4rem; }
  .trust-pill { width: 100%; justify-content: flex-start; }
  .hero-photo-placeholder-copy { padding: 0.9rem 1rem; }
  .contact-card,
  .mini-form,
  .hero-quote-card,
  .hero-card { padding: 1.4rem; }
  .footer-list { gap: 0.45rem; }
}

/* ── GOOGLE FONTS IMPORT ── */
/* fonts imported at end of file */

/* ═══════════════════════════════════════════════════════
   POMONA ECO SOLUTIONS — FINAL POLISH & MOBILE OPTIMISATION
   v4: SEO + Mobile-first refinements
═══════════════════════════════════════════════════════ */

/* ── SKIP LINK (accessibility + Core Web Vitals) ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--pomona-green);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ── IS-SCROLLED (used by main.js) ── */
.site-header.is-scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

/* ── TOPBAR ── */
.topbar-hide-sm { display: list-item; }
.topbar-emergency {
  color: #8FD4B5;
  font-weight: 700;
  font-size: 0.78rem;
  text-decoration: none;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: color 0.2s;
}
.topbar-emergency:hover { color: white; }

/* ── NAV: two CTAs side by side ── */
.nav-menu .button { margin-left: 2px; }

/* ── HERO COPY COLUMN ── */
.hero-copy { display: flex; flex-direction: column; }

/* ── HERO TRUST ROW ── */
.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

/* ── GAS SAFE WIDGET IN HERO ── */
.hero-gas-safe {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  flex-shrink: 0;
}
.hero-gas-safe img { border-radius: 6px; flex-shrink: 0; }
.hero-gas-safe strong { display: block; font-size: 0.82rem; color: white; font-weight: 600; }
.hero-gas-safe span { font-size: 0.7rem; color: #8DACCB; display: block; margin-top: 1px; }

/* ── HERO PHOTO STRIP ── */
.hero-photo {
  margin-top: 1.75rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--slate-mid);
}
.hero-photo img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.hero-photo-copy {
  padding: 1.25rem 1.5rem;
  background: rgba(13,27,40,0.88);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.hero-photo-copy strong {
  display: block;
  font-size: 0.9rem;
  color: white;
  margin-bottom: 0.3rem;
  font-weight: 600;
}
.hero-photo-copy p {
  font-size: 0.82rem;
  color: #8DACCB;
  line-height: 1.6;
  margin: 0;
  font-weight: 300;
}

/* ── QUOTE CARD HEADING ── */
.quote-card-title {
  font-size: 1.2rem;
  font-family: var(--font-display);
  color: var(--slate);
  margin-bottom: 4px;
  font-weight: 700;
}

/* ── QUOTE REASSURANCE ── */
.quote-reassurance {
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.quote-reassurance span {
  font-size: 0.73rem;
  color: var(--pomona-green);
  font-weight: 600;
}

/* ── LOCAL BANNER ── */
.local-banner {
  margin-bottom: 1.75rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.local-banner img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center 60%;
  display: block;
}

/* ── INFO BOX ── */
.info-box {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1rem;
}
.info-box h3 { font-size: 0.95rem; color: var(--slate); margin-bottom: 0.5rem; }
.info-box p { font-size: 0.85rem; color: var(--text-light); line-height: 1.7; margin: 0; }

/* ── REVIEW QR CARD ── */
.review-qr-card {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.review-qr-image {
  width: 180px;
  height: 180px;
  flex: 0 0 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 16px;
  padding: 0.8rem;
  border: 1.5px solid var(--border);
}
.review-qr-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  aspect-ratio: 1 / 1;
  image-rendering: auto;
}
.review-qr-copy h3 { font-size: 1rem; color: var(--slate); margin-bottom: 0.5rem; }
.review-qr-copy p { font-size: 0.85rem; color: var(--text-light); line-height: 1.65; margin-bottom: 0.5rem; }

/* ── AREAS NOTE ── */
.areas-note {
  font-size: 0.87rem;
  color: var(--text-light);
  padding: 0.75rem 1rem;
  background: var(--cream);
  border-left: 3px solid var(--pomona-green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  line-height: 1.6;
}

/* ── SERVICE CARD LINKS ── */
.service-card h3 a { text-decoration: none; color: inherit; }
.service-card h3 a:hover { color: var(--pomona-green); }

/* ── FAQ LINKS ── */
.faq-card a { color: var(--pomona-green); text-decoration: underline; }
.faq-card a:hover { color: var(--pomona-green-dark); }

/* ── CONTACT CARD LINKS ── */
.contact-card a:not(.button) { color: var(--pomona-green); text-decoration: none; font-weight: 500; }
.contact-card a:not(.button):hover { text-decoration: underline; }

/* ── STAT CARD LINKS ── */
.stat-card a { color: #7BCBA5; font-weight: 500; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — MOBILE FIRST FULL AUDIT
═══════════════════════════════════════════════════════ */

/* ── TABLET: 1024px ── */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: clamp(2rem, 5vw, 3.5rem);
    padding-bottom: clamp(2rem, 5vw, 3.5rem);
  }
  .hero-quote-card {
    position: static;
    width: 100%;
    max-width: 100%;
  }
  .split-grid { grid-template-columns: 1fr; gap: 2rem; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .page-hero-grid { grid-template-columns: 1fr; }
}

/* ── MOBILE: 768px ── */
@media (max-width: 768px) {
  /* Nav dropdown */
  .nav-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    background: white;
    border-top: 1px solid var(--border);
    flex-direction: column;
    padding: 1.25rem 1rem 6rem;
    gap: 6px;
    box-shadow: var(--shadow-lg);
    z-index: 199;
  }
  .nav-menu[data-open="true"] { display: flex; }
  .nav-menu a {
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid var(--cream);
  }
  .nav-menu .button {
    margin-left: 0;
    margin-top: 0.5rem;
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 1rem;
  }
  .nav-toggle { display: flex; }

  /* Mobile callbar */
  .mobile-callbar { display: flex; }
  .has-mobile-callbar { padding-bottom: 72px; }

  /* Typography scale */
  h1 { font-size: clamp(1.75rem, 6vw, 2.4rem); }
  h2 { font-size: clamp(1.35rem, 4vw, 1.85rem); }

  /* Topbar */
  .topbar-inner { align-items: center; flex-wrap: wrap; gap: 0.5rem; }
  .topbar-list { gap: 0.6rem; font-size: 0.72rem; }
  .topbar-hide-sm { display: none; }

  /* Brand */
  .brand img { height: 38px; }
  .brand-name { font-size: 1rem; }
  .brand-tag { font-size: 0.62rem; }

  /* Hero */
  .hero h1 { letter-spacing: -0.01em; }
  .hero-actions {
    flex-direction: column;
    gap: 0.6rem;
  }
  .hero-actions .button { width: 100%; justify-content: center; font-size: 1rem; padding: 14px; }
  .hero-trust-row { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .hero-gas-safe { width: 100%; }
  .hero-photo img { height: 180px; }
  .hero-photo-copy { padding: 1rem; }
  .hero-quote-card { padding: 1.5rem; border-radius: var(--radius-md); margin-top: 0; }

  /* Trust banner — scroll on tiny screens */
  .trust-banner-inner {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    gap: 1.25rem;
    justify-content: flex-start;
  }
  .trust-badge { flex-shrink: 0; }

  /* Sections */
  .section { padding: 2.5rem 0; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 0.75rem; margin-bottom: 1.75rem; }
  .section-intro { max-width: 100%; font-size: 0.9rem; }

  /* Grids */
  .problem-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { gap: 0.75rem; }
  .project-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .content-columns { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 0.75rem; }

  /* Review QR */
  .review-qr-card { flex-direction: column; gap: 1rem; }
  .review-qr-image { margin: 0 auto; }
  .review-qr-image {
    width: 180px;
    height: 180px;
    flex-basis: 180px;
  }
  .review-qr-image img { width: 100%; height: 100%; }

  /* CTA band */
  .cta-grid { flex-direction: column; gap: 1.25rem; }
  .cta-title { font-size: clamp(1.2rem, 4vw, 1.6rem); }
  .cta-band > .container > .cta-grid > div:last-child { width: 100%; display: flex; flex-direction: column; gap: 0.6rem; }
  .cta-band .button { width: 100%; justify-content: center; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  /* Buttons in button-row */
  .split-grid .button-row .button { padding: 12px 18px; }
}

/* ── SMALL MOBILE: 480px ── */
@media (max-width: 480px) {
  /* Containers */
  .container { padding: 0 1rem; }

  /* Nav */
  .nav { padding: 0 1rem; height: 62px; }
  .nav-menu { top: 62px; }

  /* Grids — force single column */
  .services-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .area-group-grid { grid-template-columns: 1fr; }

  /* Topbar — phone only */
  .topbar-list li:not(:first-child) { display: none; }
  .topbar-list li:first-child { display: list-item; }

  /* Trust pills — full width */
  .trust-pills { flex-direction: column; gap: 0.4rem; }
  .trust-pill { width: auto; justify-content: flex-start; }

  /* Hero */
  .hero-inner { padding-top: 2rem; padding-bottom: 2rem; }
  .hero-quote-card,
  .contact-card,
  .mini-form,
  .hero-card { padding: 1.25rem; }
  .hero-photo img { height: 160px; }

  /* Trust banner — hide on very small, just show gas safe */
  .trust-banner-inner { gap: 1rem; }
  .trust-badge:nth-child(n+3) { display: none; }

  /* Section text */
  .section { padding: 2rem 0; }
  .section-kicker { font-size: 0.68rem; }

  /* Stat cards */
  .stat-card { padding: 1.1rem 1.25rem; }
  .stat-card-num { font-size: 1.6rem; min-width: 50px; }

  /* Footer */
  .footer-list { gap: 0.4rem; }
  .footer-note { font-size: 0.8rem; }
  .footer-bottom p { font-size: 0.72rem; }

  /* Buttons */
  .button { font-size: 0.9rem; padding: 11px 18px; }
  .button-row { gap: 0.5rem; }
}

/* ── VERY SMALL: 360px ── */
@media (max-width: 360px) {
  h1 { font-size: 1.65rem; }
  .brand-name { font-size: 0.9rem; }
  .hero-actions .button { font-size: 0.9rem; padding: 12px; }
}

/* ── MOBILE CALLBAR — polished ── */
.mobile-callbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: white;
  border-top: 1px solid var(--border);
  padding: 0.6rem 1rem;
  gap: 0.6rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
  /* Safe area for notched phones */
  padding-bottom: calc(0.6rem + env(safe-area-inset-bottom, 0px));
}
.mobile-callbar .button {
  flex: 1;
  justify-content: center;
  font-size: 0.95rem;
  padding: 13px 10px;
  font-weight: 700;
}
.has-mobile-callbar {
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

/* ── DESKTOP STICKY QUOTE CARD ── */
@media (min-width: 1025px) {
  .hero-quote-card {
    position: sticky;
    top: 86px;
    max-width: 420px;
  }
}

/* ── TOUCH IMPROVEMENTS ── */
@media (hover: none) {
  /* Remove hover states on touch devices for performance */
  .problem-card:hover,
  .service-card:hover,
  .area-card:hover,
  .audience-card:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
  }
  /* Larger tap targets */
  .nav-menu a { min-height: 48px; display: flex; align-items: center; }
  .button { min-height: 48px; }
  .mobile-callbar .button { min-height: 52px; }
}

/* ── PRINT STYLES ── */
@media print {
  .topbar, .site-header, .mobile-callbar, .hero-quote-card,
  .cta-band, .mini-form, footer { display: none; }
  body { color: black; background: white; }
  a { color: black; }
  .hero { background: white; padding: 0; }
  .hero h1 { color: black; }
}

/* ── GOOGLE FONTS IMPORT (must stay at end) ── */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');
