/* Welsh Energy Grants — Refined Design */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Deep forest green palette — trust & authority */
  --forest:     #0C4A2F;
  --forest-mid: #166534;
  --green-600:  #16A34A;
  --green-100:  #DCFCE7;
  --green-50:   #F0FDF4;

  /* Neutrals */
  --slate-900:  #0F172A;
  --slate-800:  #1E293B;
  --slate-700:  #334155;
  --slate-600:  #475569;
  --slate-500:  #64748B;
  --slate-400:  #94A3B8;
  --slate-300:  #CBD5E1;
  --slate-200:  #E2E8F0;
  --slate-100:  #F1F5F9;
  --slate-50:   #F8FAFC;
  --white:      #FFFFFF;

  /* Welsh red — CTA and urgency accents */
  --red-700:    #B91C1C;
  --red-600:    #DC2626;
  --red-50:     #FEF2F2;
  --red-100:    #FEE2E2;

  /* Surfaces */
  --bg:         #FAFCFB;
  --bg-section: #F5F8F6;
  --bg-warm:    #F9F7F3;

  /* Typography */
  --heading:    'Fraunces', Georgia, serif;
  --body:       'Plus Jakarta Sans', system-ui, sans-serif;

  /* Shared tokens */
  --radius:     8px;
  --radius-lg:  12px;
  --shadow-sm:  0 1px 2px rgba(0,0,0,0.04);
  --shadow:     0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md:  0 4px 8px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.03);
  --max-w:      720px;
  --max-w-wide: 1080px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--slate-700);
  font-family: var(--body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--forest-mid); }
a:hover { color: var(--green-600); }

/* ── TOP BAR (simplified) ────────────────────────── */
.top-bar {
  background: var(--forest);
  display: flex; align-items: center; justify-content: center;
  padding: 0 40px; height: 36px; gap: 24px;
  position: relative;
}
.top-bar-left { display: flex; align-items: center; gap: 16px; }
.top-bar-item {
  font-size: 0.72rem; color: rgba(255,255,255,0.6); text-decoration: none;
  display: flex; align-items: center; gap: 5px; transition: color 0.2s;
  letter-spacing: 0.01em;
}
.top-bar-item:hover { color: #fff; }
.top-bar-divider { width: 1px; height: 12px; background: rgba(255,255,255,0.15); }
.top-bar-center {
  font-size: 0.72rem; color: rgba(255,255,255,0.6);
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.top-bar-badge {
  background: var(--green-600); color: #fff;
  font-size: 0.6rem; font-weight: 700; text-transform: uppercase;
  padding: 2px 7px; border-radius: 3px; letter-spacing: 0.06em;
}
.top-bar-right { display: none; }

/* ── NAV (lighter, more spacious) ────────────────── */
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  position: sticky; top: 0; z-index: 90;
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px 0 48px;
  height: 72px; max-width: 1200px; margin: 0 auto;
}
.nav__logo {
  text-decoration: none;
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0; margin-right: 32px;
}
.nav__logo img {
  height: 44px; width: auto; display: block;
}
.nav__logo-text {
  font-family: var(--heading); font-size: 0.95rem; font-weight: 700;
  color: var(--forest); letter-spacing: -0.01em;
  line-height: 1.2;
}
.nav__logo-dot { display: none; }
.nav__links {
  display: flex; gap: 28px; list-style: none; align-items: center;
}
.nav__links a {
  color: var(--slate-500); text-decoration: none; font-size: 0.85rem;
  font-weight: 500; transition: color 0.15s;
}
.nav__links a:hover { color: var(--slate-800); }
.nav__cta {
  background: var(--forest) !important; color: #fff !important;
  padding: 9px 20px !important; border-radius: var(--radius) !important;
  font-weight: 600 !important; font-size: 0.85rem !important;
  transition: background 0.15s !important;
  line-height: 1.4 !important;
}
.nav__cta:hover { background: var(--forest-mid) !important; }
.nav__toggle {
  display: none; background: none; border: 1px solid var(--slate-200);
  color: var(--slate-700); padding: 8px 14px; border-radius: var(--radius);
  font-size: 1rem; cursor: pointer;
}

/* ── BREADCRUMB ───────────────────────────────────── */
.breadcrumb {
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-100);
  padding: 10px 0;
}
.breadcrumb > div,
.breadcrumb ol {
  max-width: var(--max-w); margin: 0 auto; padding: 0 40px;
  font-size: 0.78rem; color: var(--slate-400);
  list-style: none; display: flex;
}
.breadcrumb a { color: var(--slate-400); text-decoration: none; }
.breadcrumb a:hover { color: var(--forest-mid); }
.breadcrumb ol li::after { content: ' / '; margin: 0 8px; color: var(--slate-300); }
.breadcrumb ol li:last-child::after { content: ''; }

/* ── MOUNTAIN SVG (inline data URI) ──────────────── */
:root {
  --mountain-green: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,120 L0,95 Q60,50 120,70 Q180,90 240,60 Q300,30 360,55 Q420,80 480,45 Q540,10 600,40 Q660,70 720,35 Q780,0 840,30 Q900,60 960,25 Q1020,0 1080,35 Q1140,70 1200,40 Q1260,10 1320,50 Q1380,80 1440,55 L1440,120 Z' fill='%230C4A2F' opacity='0.06'/%3E%3Cpath d='M0,120 L0,100 Q80,70 160,85 Q240,100 320,75 Q400,50 480,70 Q560,90 640,60 Q720,30 800,55 Q880,80 960,50 Q1040,20 1120,45 Q1200,70 1280,55 Q1360,40 1440,65 L1440,120 Z' fill='%230C4A2F' opacity='0.04'/%3E%3C/svg%3E");
  --mountain-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0,100 L0,80 Q60,45 120,60 Q180,75 240,50 Q300,25 360,45 Q420,65 480,35 Q540,5 600,30 Q660,55 720,25 Q780,0 840,25 Q900,50 960,20 Q1020,0 1080,30 Q1140,55 1200,30 Q1260,5 1320,40 Q1380,65 1440,45 L1440,100 Z' fill='%23ffffff'/%3E%3C/svg%3E");
  --mountain-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,80 L0,60 Q80,30 160,45 Q240,60 320,35 Q400,10 480,30 Q560,50 640,25 Q720,0 800,20 Q880,40 960,15 Q1040,0 1120,25 Q1200,45 1280,30 Q1360,15 1440,35 L1440,80 Z' fill='%230C4A2F'/%3E%3C/svg%3E");
}

/* ── HERO (tighter, calmer, with mountains) ──────── */
.page-hero, .hero {
  background: var(--green-50);
  border-bottom: 1px solid var(--slate-200);
  padding: 36px 40px 72px;
  position: relative;
}
.page-hero::after, .hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 120px;
  background-image: var(--mountain-green);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
}
.page-hero > *, .hero > * { max-width: var(--max-w); margin-left: auto; margin-right: auto; }
.page-hero__label {
  display: inline-flex; align-items: center;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--forest-mid);
  background: var(--green-100); border-radius: 4px;
  padding: 4px 10px; margin-bottom: 12px;
}
.page-hero h1, .hero h1 {
  font-family: var(--heading); font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800; line-height: 1.2; letter-spacing: -0.015em;
  margin-bottom: 8px; color: var(--slate-900);
}
.page-hero__meta, .hero p, .page-hero__subtitle {
  font-size: 0.92rem; color: var(--slate-700); line-height: 1.6;
}
.page-hero__img {
  position: absolute; top: 0; right: 0;
  height: 100%; width: 40%; object-fit: cover; opacity: 0.06;
  mask-image: linear-gradient(to right, transparent 0%, black 40%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 40%);
  pointer-events: none; max-width: none !important; margin: 0 !important; display: block;
}

/* ── MAIN CONTENT ─────────────────────────────────── */
.content, .content-section {
  max-width: var(--max-w); margin: 0 auto; padding: 36px 40px 20px;
}
.content h2, .content-section h2 {
  font-family: var(--heading); font-size: 1.3rem; font-weight: 700;
  margin: 36px 0 12px; color: var(--slate-900);
}
.content h2:first-child, .content-section h2:first-child { margin-top: 0; }
.content h3, .content-section h3 {
  font-family: var(--heading); font-size: 1.05rem; font-weight: 700;
  margin: 24px 0 8px; color: var(--slate-800);
}
.content p, .content-section p { margin-bottom: 14px; color: var(--slate-700); }
.content strong, .content-section strong { color: var(--slate-800); font-weight: 600; }
.content em, .content-section em { color: var(--slate-400); font-style: italic; font-size: 0.85rem; }
.content ul, .content ol,
.content-section ul, .content-section ol { padding-left: 20px; margin-bottom: 14px; }
.content li, .content-section li { margin-bottom: 6px; color: var(--slate-700); }

/* ── ANSWER BLOCK (premium, scannable) ───────────── */
.answer-block {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-left: 4px solid var(--forest);
  border-radius: var(--radius);
  padding: 24px 28px; margin: 0 auto 28px;
  max-width: var(--max-w);
  box-shadow: var(--shadow);
}
.answer-block h2 {
  font-family: var(--heading); font-size: 0.82rem; font-weight: 700;
  color: var(--forest-mid); margin: 0 0 10px;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.answer-block p { font-size: 0.92rem; line-height: 1.7; color: var(--slate-700); margin: 0; }
.answer-block strong {
  color: var(--slate-900); font-weight: 700;
}
.answer-block .highlight {
  font-family: var(--heading); font-size: 1.35rem; font-weight: 800;
  color: var(--forest); display: inline;
}

/* ── STATS BAR (cleaner, lighter borders) ────────── */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--slate-200); border-radius: var(--radius-lg);
  overflow: hidden; margin: 0 auto 32px;
  max-width: var(--max-w); padding: 0;
  background: var(--white); box-shadow: var(--shadow-sm);
}
.stats-bar__item, .stat {
  padding: 18px 12px;
  border-right: 1px solid var(--slate-100);
  text-align: center;
}
.stats-bar__item:last-child, .stat:last-child { border-right: none; }
.stats-bar__value, .stat__value {
  display: block; font-family: var(--heading); font-size: 1.3rem; font-weight: 800;
  color: var(--forest); line-height: 1.1; margin-bottom: 4px;
}
.stats-bar__label, .stat__label {
  display: block; font-size: 0.68rem; color: var(--slate-500);
  letter-spacing: 0.03em; text-transform: uppercase; font-weight: 600;
}

/* ── TABLES ───────────────────────────────────────── */
.table-wrap {
  overflow-x: auto; margin-bottom: 14px;
  border-radius: var(--radius); border: 1px solid var(--slate-200);
}
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
thead { background: var(--slate-50); }
thead th {
  padding: 12px 16px; text-align: left;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--slate-500); border-bottom: 1px solid var(--slate-200);
}
tbody tr { border-bottom: 1px solid var(--slate-100); }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--green-50); }
td { padding: 12px 16px; color: var(--slate-700); }
td strong { color: var(--slate-800); }

/* ── CARDS ────────────────────────────────────────── */
.cards, .card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-bottom: 36px;
}
/* Data table alias */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; border: 1px solid var(--slate-200); border-radius: var(--radius); overflow: hidden; }
.data-table thead { background: var(--slate-50); }
.data-table th { padding: 12px 16px; text-align: left; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--slate-500); border-bottom: 1px solid var(--slate-200); }
.data-table td { padding: 12px 16px; color: var(--slate-700); border-bottom: 1px solid var(--slate-100); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover { background: var(--green-50); }
.card {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover { border-color: var(--forest-mid); box-shadow: var(--shadow); }
.card__body { padding: 18px; }
.card__title {
  font-family: var(--heading); font-size: 0.92rem; font-weight: 700;
  margin-bottom: 3px; color: var(--slate-800);
}
.card__title a { color: inherit; text-decoration: none; }
.card__title a:hover { color: var(--forest-mid); }
.card__meta { font-size: 0.75rem; color: var(--slate-400); }

/* ── REGION ACCORDIONS (location links) ──────────── */
.region-accordion {
  border: 1px solid var(--slate-200); border-radius: var(--radius);
  margin-bottom: 8px; background: var(--white);
}
.region-accordion[open] { border-color: var(--forest-mid); }
.region-accordion summary {
  padding: 14px 18px; cursor: pointer;
  font-family: var(--heading); font-weight: 700; font-size: 0.95rem;
  color: var(--slate-800);
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  user-select: none;
}
.region-accordion summary::-webkit-details-marker { display: none; }
.region-accordion summary::after {
  content: '+'; color: var(--forest-mid); font-size: 1.1rem; font-weight: 400;
  transition: transform 0.15s;
}
.region-accordion[open] summary::after { transform: rotate(45deg); }
.region-accordion summary:hover { background: var(--slate-50); }
.region-count {
  font-family: var(--body); font-size: 0.72rem; font-weight: 500;
  color: var(--slate-400); margin-left: 8px;
}
.region-links {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 14px 18px; border-top: 1px solid var(--slate-100);
}
.region-link {
  background: var(--slate-50); border: 1px solid var(--slate-200);
  color: var(--slate-700); text-decoration: none;
  padding: 6px 14px; border-radius: 6px; font-size: 0.82rem;
  font-weight: 500; transition: all 0.15s;
}
.region-link:hover { border-color: var(--forest-mid); color: var(--forest-mid); background: var(--green-50); }

/* ── FAQ ──────────────────────────────────────────── */
.faq-section {
  max-width: var(--max-w); margin: 0 auto; padding: 36px 40px 28px;
}
.faq-section h2 {
  font-family: var(--heading); font-size: 1.3rem; font-weight: 700;
  margin-bottom: 14px; color: var(--slate-900);
}
details {
  border: 1px solid var(--slate-200); border-radius: var(--radius);
  margin-bottom: 6px; overflow: hidden;
  background: var(--white);
}
details[open] { border-color: var(--forest-mid); }
summary {
  padding: 14px 18px; cursor: pointer;
  font-weight: 600; font-size: 0.9rem; color: var(--slate-700);
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  user-select: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+'; color: var(--forest-mid); font-size: 1.1rem; font-weight: 400;
  flex-shrink: 0; margin-left: 16px; transition: transform 0.15s;
}
details[open] summary::after { transform: rotate(45deg); }
summary:hover { background: var(--slate-50); }
.faq__answer, details.faq p {
  padding: 14px 18px; font-size: 0.88rem;
  color: var(--slate-700); line-height: 1.75;
  border-top: 1px solid var(--slate-100);
  background: var(--slate-50);
}

/* ── BUTTONS ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: var(--radius);
  font-family: var(--body); font-size: 0.88rem; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: all 0.15s; border: none; min-height: 44px;
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--forest); color: #fff; }
.btn--primary:hover { background: var(--forest-mid); }
.btn--outline {
  background: var(--white); color: var(--forest);
  border: 1px solid var(--forest-mid);
}
.btn--outline:hover { background: var(--green-50); }

/* ── CTA BLOCK ───────────────────────────────────── */
.cta-block {
  background: var(--green-50); border: 1px solid var(--green-100);
  border-radius: var(--radius-lg); padding: 24px 28px; margin: 32px auto;
  max-width: var(--max-w);
}
/* Standalone CTA (not inside content-section) */
section.cta-block { padding-left: 40px; padding-right: 40px; }
.cta-block__inner {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.cta-block__text { flex: 1; min-width: 200px; }
.cta-block__text strong {
  display: block; font-size: 1rem; font-family: var(--heading);
  color: var(--slate-900); margin-bottom: 4px;
}
.cta-block__text p { font-size: 0.85rem; color: var(--slate-500); margin: 0; }
.cta-block__btn { white-space: nowrap; flex-shrink: 0; }

/* ── INSTALLER FINDER ─────────────────────────────── */
.installer-finder {
  background: var(--slate-50); border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); padding: 24px 28px; margin: 20px 0 28px;
}
.installer-finder__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.installer-finder h3 { font-size: 0.92rem; font-weight: 600; margin-bottom: 10px; color: var(--slate-700); }
.installer-finder ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.installer-finder li { font-size: 0.88rem; line-height: 1.5; }
.installer-finder a { color: var(--forest-mid); }

/* ── QUOTE FORM ────────────────────────────────────── */
.btn--lg { padding: 14px 28px; font-size: 0.95rem; }
.quote-form {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); padding: 28px; max-width: 480px;
  display: flex; flex-direction: column; gap: 18px; margin: 20px 0 36px;
  box-shadow: var(--shadow);
}
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--slate-700); }
.form-group input, .form-group select {
  background: var(--white); border: 1px solid var(--slate-300);
  color: var(--slate-800); border-radius: var(--radius); padding: 11px 14px;
  font-size: 0.95rem; font-family: inherit;
}
.form-group input:focus, .form-group select:focus {
  outline: none; border-color: var(--forest-mid);
  box-shadow: 0 0 0 2px var(--green-100);
}
.form-group input::placeholder { color: var(--slate-400); }
.form-group--consent label {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.8rem; font-weight: 400; line-height: 1.5; color: var(--slate-500);
}
.form-group--consent input[type="checkbox"] {
  width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px;
  accent-color: var(--forest-mid);
}
.form-group--consent a { color: var(--forest-mid); }

/* ── RELATED ──────────────────────────────────────── */
.related {
  background: var(--bg-section); border-top: 1px solid var(--slate-200);
  padding: 40px 0;
}
.related__inner { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.related h2 {
  font-family: var(--heading); font-size: 1.1rem; font-weight: 700;
  margin-bottom: 14px; color: var(--slate-800);
}
.related__links { display: flex; flex-wrap: wrap; gap: 8px; }
.related__link {
  background: var(--white); border: 1px solid var(--slate-200);
  color: var(--slate-700); text-decoration: none;
  padding: 8px 16px; border-radius: var(--radius); font-size: 0.82rem;
  transition: all 0.15s; font-weight: 500;
}
.related__link:hover { border-color: var(--forest-mid); color: var(--forest-mid); }

/* ── SECTION MOUNTAIN DIVIDER ────────────────────── */
.mountain-divider {
  height: 60px; width: 100%;
  background-image: var(--mountain-green);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin: 0; display: block;
}

/* ── FOOTER ───────────────────────────────────────── */
footer {
  background: var(--forest); color: rgba(255,255,255,0.55);
  position: relative; padding-top: 0;
}
footer::before {
  content: '';
  display: block; width: 100%; height: 80px;
  background-image: var(--mountain-dark);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-color: var(--bg);
}
.footer__inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 0; font-size: 0.75rem;
}
.footer__bottom a { color: rgba(255,255,255,0.55); text-decoration: none; }
.footer__bottom a:hover { color: #fff; }

/* ── WELSH TAGLINE ───────────────────────────────── */
.welsh-tagline {
  font-family: var(--heading); font-style: italic; color: var(--slate-400);
  font-size: 0.88rem; margin-bottom: 4px; font-weight: 600;
}

/* ── CTA BUTTON (Welsh red — high-contrast action) ── */
.btn--cta {
  background: var(--red-600); color: #fff; border: 1px solid var(--red-600);
  font-weight: 700; font-family: var(--body);
  transition: background 0.15s;
}
.btn--cta:hover { background: var(--red-700); border-color: var(--red-700); }

/* ── HERO TRUST SIGNALS ──────────────────────────── */
.hero-trust {
  display: flex; align-items: center; gap: 12px; margin-top: 16px;
  flex-wrap: wrap;
}
.hero-trust__item {
  font-size: 0.72rem; font-weight: 600; color: var(--slate-500);
  letter-spacing: 0.02em;
}
.hero-trust__sep {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--slate-300); flex-shrink: 0;
}

/* ── URGENCY BANNER ──────────────────────────────── */
.urgency-bar {
  background: var(--red-50); border-bottom: 1px solid var(--red-100);
  padding: 10px 40px; text-align: center;
  font-size: 0.82rem; color: var(--red-700);
  max-width: 100%;
}
.urgency-bar strong { color: var(--red-700); font-weight: 700; }

/* ── HERO POSTCODE INPUT ─────────────────────────── */
.hero-postcode {
  display: flex; gap: 0; max-width: 400px; margin-top: 20px;
}
.hero-postcode input {
  flex: 1; padding: 13px 16px; font-size: 0.95rem;
  border: 1px solid var(--slate-300); border-right: none;
  border-radius: var(--radius) 0 0 var(--radius); font-family: inherit;
  background: var(--white); color: var(--slate-800);
}
.hero-postcode input:focus {
  outline: none; border-color: var(--forest-mid);
  box-shadow: 0 0 0 2px var(--green-100);
}
.hero-postcode input::placeholder { color: var(--slate-400); }
.hero-postcode button {
  padding: 13px 20px; font-size: 0.88rem; font-weight: 700;
  background: var(--red-600); color: #fff; border: 1px solid var(--red-600);
  border-radius: 0 var(--radius) var(--radius) 0; cursor: pointer; font-family: inherit;
  transition: background 0.15s; white-space: nowrap;
}
.hero-postcode button:hover { background: var(--red-700); border-color: var(--red-700); }

/* ── HOMEPAGE SECTIONS ───────────────────────────── */
.home-section {
  max-width: var(--max-w-wide); margin: 0 auto; padding: 56px 40px;
}
.home-section h2 {
  font-family: var(--heading); font-size: 1.5rem; font-weight: 800;
  color: var(--slate-900); margin-bottom: 6px; text-align: center;
}
.home-section > p {
  text-align: center; color: var(--slate-500); margin-bottom: 32px; font-size: 0.9rem;
}
.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.product-card {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); padding: 28px 20px;
  text-align: center; transition: all 0.2s;
  text-decoration: none; color: inherit; display: block;
}
.product-card:hover { border-color: var(--forest-mid); box-shadow: var(--shadow-md); }
.product-card__icon { font-size: 2rem; margin-bottom: 12px; }
.product-card__name {
  font-family: var(--heading); font-size: 1rem; font-weight: 700;
  color: var(--slate-900); margin-bottom: 4px;
}
.product-card__cost { font-size: 0.8rem; color: var(--slate-500); margin-bottom: 8px; }
.product-card__grant {
  font-size: 0.72rem; font-weight: 600; color: var(--forest-mid);
  background: var(--green-100); padding: 3px 10px; border-radius: 4px;
  display: inline-block;
}

.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.step {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); padding: 28px 20px;
  text-align: center;
}
.step__number {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--green-100); color: var(--forest);
  font-family: var(--heading); font-size: 1.05rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.step__title {
  font-family: var(--heading); font-size: 0.95rem; font-weight: 700;
  color: var(--slate-900); margin-bottom: 6px;
}
.step__desc { font-size: 0.82rem; color: var(--slate-500); line-height: 1.6; }

.grant-cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.grant-card {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); padding: 22px;
}
.grant-card h3 {
  font-family: var(--heading); font-size: 0.95rem; font-weight: 700;
  color: var(--slate-900); margin-bottom: 4px;
}
.grant-card p { font-size: 0.85rem; color: var(--slate-500); margin: 0; line-height: 1.6; }

.locations-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  text-align: left;
}
.locations-region h3 {
  font-family: var(--heading); font-size: 0.88rem; font-weight: 700;
  color: var(--slate-800); margin-bottom: 8px;
}
.locations-region ul { list-style: none; padding: 0; }
.locations-region a, .locations-region li a {
  display: block; font-size: 0.8rem; color: var(--slate-500);
  text-decoration: none; padding: 2px 0; transition: color 0.15s;
}
.locations-region a:hover { color: var(--forest-mid); }

.trust-bar {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
  padding: 36px 40px; border-top: 1px solid var(--slate-200);
  max-width: var(--max-w-wide); margin: 0 auto;
}
.trust-item {
  text-align: center; font-size: 0.75rem; color: var(--slate-500); font-weight: 500;
}
.trust-item strong { display: block; color: var(--slate-700); font-size: 0.82rem; margin-bottom: 2px; }

/* ── TESTIMONIALS ────────────────────────────────── */
.testimonials {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.testimonial {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); padding: 24px;
  position: relative;
}
.testimonial__stars {
  color: #FBBF24; font-size: 0.9rem; margin-bottom: 8px;
  letter-spacing: 2px;
}
.testimonial__text {
  font-size: 0.88rem; color: var(--slate-700); line-height: 1.7;
  margin-bottom: 12px; font-style: italic;
}
.testimonial__author {
  font-size: 0.78rem; font-weight: 600; color: var(--slate-800);
}
.testimonial__location {
  font-size: 0.72rem; color: var(--slate-400);
}

/* ── CONTACT ─────────────────────────────────────── */
.contact-details {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-bottom: 32px;
}
.contact-detail {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); padding: 24px; text-align: center;
}
.contact-detail__label {
  font-size: 0.72rem; font-weight: 600; color: var(--slate-400);
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px;
}
.contact-detail__value {
  font-family: var(--heading); font-size: 1.05rem; font-weight: 700;
  color: var(--slate-900);
}
.contact-detail__value a { color: var(--forest); text-decoration: none; }
.contact-detail__value a:hover { color: var(--forest-mid); }

/* ── SCHEME PAGES ────────────────────────────────── */
.eligibility-list {
  background: var(--green-50); border: 1px solid var(--green-100);
  border-radius: var(--radius-lg); padding: 24px 28px; margin: 16px 0 24px;
}
.eligibility-list h3 {
  font-family: var(--heading); font-size: 1rem; font-weight: 700;
  color: var(--forest); margin-bottom: 10px;
}
.eligibility-list ul { padding-left: 18px; margin: 0; }
.eligibility-list li { margin-bottom: 6px; color: var(--slate-700); font-size: 0.9rem; }

/* ── QUOTE FORM ENHANCEMENTS ─────────────────────── */
.quote-form .form-group label .required {
  color: var(--red-600); font-weight: 400;
}
.quote-benefits {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  margin: 16px 0 24px;
}
.quote-benefit {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.85rem; color: var(--slate-700);
}
.quote-benefit__icon {
  color: var(--forest-mid); font-size: 1.1rem; flex-shrink: 0; margin-top: 1px;
}

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 900px) {
  .top-bar { display: none; }
  .nav__inner { padding: 0 20px; height: 60px; }
  .nav__links {
    display: none; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--slate-200);
    padding: 16px 20px; gap: 14px; z-index: 80;
    box-shadow: var(--shadow-md);
  }
  .nav__links.open { display: flex; }
  .nav__toggle { display: block; }
  .page-hero, .hero { padding: 28px 20px 24px; }
  .content, .content-section { padding: 24px 20px 16px; }
  .answer-block { margin-left: 20px; margin-right: 20px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); margin-left: 20px; margin-right: 20px; }
  .stat:nth-child(2), .stats-bar__item:nth-child(2) { border-right: none; }
  .stat:nth-child(3), .stats-bar__item:nth-child(3) { border-top: 1px solid var(--slate-100); }
  .cards { grid-template-columns: 1fr; }
  .related__inner { padding: 0 20px; }
  .breadcrumb > div, .breadcrumb ol { padding: 0 20px; }
  .footer__inner { padding: 0 20px; }
  .footer__bottom { flex-direction: column; gap: 10px; text-align: center; }
  .home-section { padding: 36px 20px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .grant-cards { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .contact-details { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .table-wrap { font-size: 0.82rem; }
  td, thead th { padding: 10px 12px; }
  .cta-block { padding: 18px 16px; }
  .cta-block__inner { flex-direction: column; align-items: stretch; }
  .cta-block__btn { width: 100%; text-align: center; }
  .installer-finder { padding: 18px 16px; }
  .installer-finder__actions { flex-direction: column; }
  .installer-finder__actions .btn { width: 100%; text-align: center; }
  .quote-form { padding: 20px 16px; }
  .hero-postcode { flex-direction: column; gap: 8px; }
  .hero-postcode input { border-right: 1px solid var(--slate-300); border-radius: var(--radius); }
  .hero-postcode button { border-radius: var(--radius); }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .trust-bar { gap: 20px; padding: 28px 20px; }
}
