/* ============================================================
   HEAT PUMPS ABERDEEN — DESIGN SYSTEM
   heatpumpsaberdeen.co.uk
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #1a1a1a;
  background: #fff;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #1a3a2a; }
a:hover { color: #2d6a4f; }

/* --- COLOUR VARIABLES --------------------------------------- */
:root {
  --primary:    #1a3a2a;
  --accent:     #2d6a4f;
  --white:      #ffffff;
  --light-bg:   #f4f8f5;
  --text:       #1a1a1a;
  --text-light: #555555;
  --text-muted: #6b7c70;
  --border:     #d8e8dc;
  --shadow:     0 2px 12px rgba(0,0,0,0.07);
}

/* --- TYPOGRAPHY -------------------------------------------- */
h1, h2, h3, h4 {
  font-family: 'Inter', 'Poppins', system-ui, sans-serif;
  color: var(--primary);
  line-height: 1.25;
}
h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 1rem; }
h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 600; margin-bottom: 0.875rem; }
h3 { font-size: clamp(1.1rem, 2vw, 1.25rem); font-weight: 600; margin-bottom: 0.625rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
ul, ol { margin-bottom: 1rem; padding-left: 1.5rem; }
li { margin-bottom: 0.4rem; }

/* --- LAYOUT ------------------------------------------------- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

section, .section {
  padding: 80px 0;
}
@media (max-width: 768px) {
  section, .section { padding: 48px 0; }
}

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

/* Section with background image + dark overlay (used for process steps) */
.bg-scene {
  position: relative;
  background: var(--primary) url('/assets/images/engineer-working.jpg') center center / cover no-repeat;
  background-attachment: fixed;
}
.bg-scene::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(45, 106, 79, 0.55);
  pointer-events: none;
}
.bg-scene .container { position: relative; z-index: 1; }
.bg-scene .section-header h2 { color: #fff; }
.bg-scene .section-header p  { color: rgba(255,255,255,0.75); }
@media (max-width: 768px) {
  .bg-scene { background-attachment: scroll; }
}
.bg-primary h1, .bg-primary h2, .bg-primary h3, .bg-primary p { color: var(--white); }
.bg-primary a { color: rgba(255,255,255,0.9); text-decoration: underline; }

/* --- TOP CONTACT BAR --------------------------------------- */
.contact-bar {
  background: var(--primary);
  padding: 8px 0;
}
.contact-bar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
}
.contact-bar a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: opacity 0.2s;
}
.contact-bar a:hover { opacity: 0.8; }
.contact-bar .separator {
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
}
@media (max-width: 768px) {
  .contact-bar .container { justify-content: center; }
  .contact-bar .email-link { display: none; }
  .contact-bar .separator { display: none; }
}

/* --- MAIN NAVIGATION --------------------------------------- */
.site-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 1.25rem;
  max-width: 1140px;
  margin: 0 auto;
}
.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img { display: block; height: 62px; width: auto; }
.nav-logo:hover { opacity: 0.85; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 0.5rem 0.7rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--primary); background: var(--light-bg); }
.nav-links > li > a .chevron {
  font-size: 0.65rem;
  transition: transform 0.2s;
  display: inline-block;
}
.nav-links > li:hover > a .chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 200;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
}
.nav-links > li:hover .dropdown,
.nav-links > li:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.dropdown li a:hover { background: var(--light-bg); color: var(--primary); }

/* Nav CTA */
.nav-cta {
  background: #4ade80;
  color: var(--primary) !important;
  padding: 10px 18px !important;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  text-decoration: none;
  transition: background 0.2s !important;
  white-space: nowrap;
}
.nav-cta:hover { background: #22c55e !important; color: var(--primary) !important; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 99;
    padding: 80px 1.5rem 2rem;
    overflow-y: auto;
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; }
  .nav-links > li > a {
    font-size: 1.125rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    width: 100%;
  }
  .nav-links > li > a:hover { background: none; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 1rem;
  }
  .dropdown li a {
    font-size: 1rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-cta {
    margin-top: 1rem;
    padding: 14px 28px !important;
    font-size: 1rem !important;
    width: 100%;
    text-align: center;
    display: block;
  }
}

/* Mobile nav close button */
.nav-close-area {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 100;
  display: none;
}
@media (max-width: 768px) {
  .nav-close-area { display: block; }
}

/* --- HERO --------------------------------------------------- */
.hero {
  background: var(--primary) url('/assets/images/hero-home.jpg') center center / cover no-repeat;
  color: var(--white);
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 100px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(45,106,79,0.72) 0%, rgba(45,106,79,0.45) 55%, rgba(45,106,79,0.10) 100%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; width: 100%; }
.hero-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.25rem;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  margin-bottom: 1.25rem;
  max-width: 680px;
  line-height: 1.1;
}
.hero p {
  color: rgba(255,255,255,0.88);
  font-size: clamp(1rem, 2vw, 1.175rem);
  max-width: 580px;
  margin-bottom: 1rem;
  line-height: 1.7;
}
.hero p strong { color: var(--white); }
.hero .hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.25rem;
  align-items: center;
}
.hero .hero-secondary {
  color: rgba(255,255,255,0.88);
  font-size: 0.9375rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero .hero-secondary:hover { color: var(--white); }

/* --- STATS BAND -------------------------------------------- */
.stats-band {
  background: linear-gradient(135deg, var(--primary) 0%, #2d6a4f 40%, #4ade80 100%);
  padding: 64px 0;
}
.stats-band .band-label {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2.5rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.stat-item {
  padding: 0 2rem;
  border-left: 1px solid rgba(255,255,255,0.15);
}
.stat-item:first-child { border-left: none; }
.stat-number {
  display: block;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.625rem;
}
.stat-label {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
  line-height: 1.45;
}
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 0; }
  .stat-item { border-left: none; border-top: 1px solid rgba(255,255,255,0.15); padding: 2rem 1rem 0; }
  .stat-item:first-child, .stat-item:nth-child(2) { border-top: none; padding-top: 0; }
}

/* --- SERVICE OVERLAY CARDS --------------------------------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.75rem;
}
.svc-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 3/4;
  display: block;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(0,0,0,0.14);
}
.svc-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.svc-card:hover img { transform: scale(1.06); }
.svc-card-body {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45,106,79,0.6) 0%, rgba(45,106,79,0.15) 45%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: background 0.3s;
}
.svc-card:hover .svc-card-body {
  background: linear-gradient(to top, rgba(45,106,79,0.72) 0%, rgba(45,106,79,0.3) 60%, transparent 100%);
}
.svc-card-body h3 {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
  line-height: 1.3;
}
.svc-card-body p {
  color: rgba(255,255,255,0.8);
  font-size: 0.8125rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.svc-card:hover .svc-card-body p { max-height: 5rem; }
.svc-card-link {
  color: rgba(255,255,255,0.9);
  font-size: 0.875rem;
  font-weight: 600;
}
@media (max-width: 768px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--primary);
  color: var(--white);
  padding: 56px 0 60px;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.88); font-size: 1.0625rem; max-width: 640px; margin-bottom: 0; }

/* Page hero with background image */
.page-hero.hero-img {
  min-height: 65vh;
  padding: 110px 0 120px;
  position: relative;
  overflow: hidden;
  background-size: cover !important;
  background-position: center center !important;
}
.page-hero.hero-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(45,106,79,0.72) 0%, rgba(45,106,79,0.45) 55%, rgba(45,106,79,0.10) 100%);
  pointer-events: none;
}
.page-hero.hero-img .container { position: relative; z-index: 1; }
.page-hero.hero-img h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
@media (max-width: 768px) {
  .page-hero.hero-img { min-height: 50vh; padding: 80px 0 90px; }
}

/* --- TRUST SIGNALS BAR ------------------------------------- */
.trust-bar {
  background: var(--light-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.trust-bar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
}
.trust-bar li {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  margin: 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Custom trust bar icons */
.trust-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Custom tick icon */
.tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
}
.tick::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}

/* --- BUTTONS ----------------------------------------------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  border: 2px solid transparent;
  line-height: 1;
}
.btn-primary {
  background: #4ade80;
  color: var(--primary);
  border-color: #4ade80;
}
.btn-primary:hover {
  background: #22c55e;
  border-color: #22c55e;
  color: var(--primary);
}
.btn-white {
  background: #4ade80;
  color: var(--primary);
  border-color: #4ade80;
}
.btn-white:hover {
  background: #22c55e;
  border-color: #22c55e;
  color: var(--primary);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: #4ade80;
  border-color: #4ade80;
  color: var(--primary);
}
.btn-full { width: 100%; text-align: center; display: block; }
@media (max-width: 480px) {
  .btn { width: 100%; text-align: center; display: block; }
}

/* --- CARDS ------------------------------------------------- */
.card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s;
}
.card:hover { transform: translateY(-3px); }
.card h3 { color: var(--primary); margin-bottom: 0.75rem; }
.card p { color: var(--text-light); margin-bottom: 1rem; }
.card-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.card-link:hover { color: var(--accent); }

/* Card Grid */
.card-grid {
  display: grid;
  gap: 1.5rem;
}
.card-grid-3 .card { min-height: 340px; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) {
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
}

/* Service card icon */
.card-icon {
  width: 48px;
  height: 48px;
  background: var(--light-bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Image-topped service cards */
.card-image {
  padding: 0;
  overflow: hidden;
}
.card-image .card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.card-image .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.card-image:hover .card-img img { transform: scale(1.04); }
.card-image .card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}
.card-image .card-body h3 { color: var(--primary); margin-bottom: 0.5rem; }
.card-image .card-body p { color: var(--text-light); margin-bottom: 0.75rem; }

/* Two-col with image */
.two-col-img {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}
.two-col-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  display: block;
}
@media (max-width: 768px) {
  .two-col-img { grid-template-columns: 1fr; }
  .two-col-img img { order: -1; }
}

/* --- REVIEW CARDS ------------------------------------------ */
.review-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.review-stars { color: #f4a228; font-size: 1.25rem; letter-spacing: 2px; margin-bottom: 0.75rem; }
.review-card blockquote { font-style: italic; color: var(--text); margin-bottom: 1rem; quotes: none; border: none; padding: 0; }
.review-card blockquote p { margin: 0; font-style: italic; }
.review-card cite { font-size: 0.875rem; font-weight: 600; color: var(--primary); font-style: normal; }

/* --- CTA SECTION ------------------------------------------- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #2d6a4f 40%, #4ade80 100%);
  padding: 64px 0;
  text-align: center;
}
.cta-section h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}
.cta-section p { color: rgba(255,255,255,0.88); font-size: 1.0625rem; max-width: 600px; margin: 0 auto 1.75rem; }
.cta-section .btn-white { display: inline-block; width: auto; }
@media (max-width: 480px) {
  .cta-section .btn-white { width: 100%; }
}

/* --- SECTION HEADINGS -------------------------------------- */
.section-header {
  margin-bottom: 2.5rem;
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--text-light); font-size: 1.0625rem; max-width: 640px; margin-bottom: 1rem; }
.section-header p:last-child { margin-bottom: 0; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin-left: auto; margin-right: auto; }

/* --- FAQ WITH IMAGE ---------------------------------------- */
.faq-with-image {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 4rem;
  align-items: start;
}
.faq-with-image .faq-img img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.13);
  display: block;
}
@media (max-width: 900px) {
  .faq-with-image { grid-template-columns: 1fr; }
  .faq-with-image .faq-img { display: none; }
}

/* --- FAQ ACCORDIONS ---------------------------------------- */
.faq-list { margin: 0; }
details {
  border-bottom: 1px solid var(--border);
}
details:first-child { border-top: 1px solid var(--border); }
summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9375rem;
  gap: 1rem;
}
summary::-webkit-details-marker { display: none; }
summary strong { font-weight: 600; }
.faq-arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--primary);
  transition: transform 0.25s, background 0.2s;
}
details[open] .faq-arrow { transform: rotate(180deg); background: var(--primary); color: var(--white); }
details > *:not(summary) {
  padding: 0 0 1.1rem;
  color: var(--text-light);
  font-size: 0.9375rem;
}

/* --- BLOG -------------------------------------------------- */
.blog-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.2s;
}
.blog-card:hover { transform: translateY(-3px); }
.blog-card-body { padding: 1.5rem; }
.blog-card-meta { font-size: 0.8125rem; color: var(--text-light); margin-bottom: 0.5rem; }
.blog-card h3 { font-size: 1.125rem; margin-bottom: 0.6rem; }
.blog-card h3 a { text-decoration: none; color: var(--primary); }
.blog-card h3 a:hover { color: var(--accent); }
.blog-card p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1rem; }

/* --- ARTICLE / BLOG POST ----------------------------------- */
.article-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.article-meta {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.article-body h2 { margin: 2rem 0 1rem; }
.article-body h3 { margin: 1.5rem 0 0.75rem; }
.article-body p { margin-bottom: 1rem; }
.article-body ul, .article-body ol { margin-bottom: 1rem; }
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
.article-body th {
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
}
.article-body td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}
.article-body tr:nth-child(even) td { background: var(--light-bg); }
.article-body .pull-quote {
  border-left: 4px solid var(--primary);
  background: var(--light-bg);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--primary);
}
@media (max-width: 768px) {
  .article-body table { font-size: 0.8rem; }
  .article-body th, .article-body td { padding: 0.5rem 0.6rem; }
}

/* --- ARTICLE IMAGE ----------------------------------------- */
.article-img {
  margin: 2rem 0 0.5rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.11);
}
.article-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.article-img-caption {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-style: italic;
  padding: 0.5rem 0 0;
}

/* --- INFOGRAPHIC ------------------------------------------- */
.infographic {
  background: var(--primary);
  border-radius: 12px;
  padding: 2rem 2rem 1.75rem;
  margin: 2.5rem 0;
  color: #fff;
}
.infographic-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1.75rem;
  text-align: center;
  letter-spacing: 0.01em;
}
/* Timeline infographic */
.infographic-timeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: center;
  margin-bottom: 1.5rem;
}
.timeline-step {
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 1.25rem 1rem;
  text-align: center;
}
.timeline-step-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
}
.timeline-step-num {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.timeline-step-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.375rem;
}
.timeline-step-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}
.timeline-arrow {
  font-size: 1.5rem;
  color: rgba(255,255,255,0.35);
  padding: 0 0.75rem;
  text-align: center;
}
.infographic-note {
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
  text-align: center;
}
.infographic-note strong { color: #fff; }
/* Comparison infographic — table-based for correct row alignment */
.infographic-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
}
.infographic-table thead th {
  background: rgba(255,255,255,0.15);
  padding: 0.875rem 1rem;
  font-weight: 700;
  font-size: 0.9375rem;
  color: #fff;
  text-align: center;
}
.infographic-table thead th:first-child { text-align: left; }
.infographic-table tbody td {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  vertical-align: middle;
}
.infographic-table tbody td:first-child {
  font-weight: 600;
  color: #fff;
  text-align: left;
}
.infographic-table tbody tr:nth-child(even) td {
  background: rgba(255,255,255,0.04);
}
.comparison-col--label .comparison-row {
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-align: left;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.comparison-col--label .comparison-header {
  background: transparent;
}
.comparison-col--ashp .comparison-header { background: rgba(255,255,255,0.2); }
.comparison-col--gshp .comparison-header { background: rgba(255,255,255,0.1); }
@media (max-width: 640px) {
  .infographic-timeline { grid-template-columns: 1fr; }
  .timeline-arrow { transform: rotate(90deg); padding: 0.5rem 0; }
  .infographic-comparison { grid-template-columns: 1fr 1fr; }
  .comparison-col--label { display: none; }
}

/* --- CONTENT PAGE (prose) ---------------------------------- */
.content-page { max-width: 800px; }
.content-page h2 { margin: 2.5rem 0 1rem; }
.content-page h3 { margin: 1.75rem 0 0.75rem; }

/* --- LOCATION PAGE CONTENT --------------------------------- */
.location-content h2 { margin-top: 2.25rem; margin-bottom: 0.875rem; }
.location-content h3 { margin-top: 1.5rem; margin-bottom: 0.625rem; }
.location-content > p:first-child { font-size: 1.0625rem; color: var(--text-light); margin-bottom: 1.5rem; }
.location-content ul, .location-content ol { margin-bottom: 1.25rem; }
.location-content li { margin-bottom: 0.375rem; }
.location-img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border-radius: 12px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.12);
  display: block;
  object-fit: cover;
}

/* --- PROCESS STEPS (card grid) ------------------------------------ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.process-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.process-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.75rem 1.25rem 1.5rem;
  border-top: 3px solid var(--accent);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}
.process-card::before {
  content: attr(data-step);
  position: absolute;
  bottom: -1.5rem;
  right: 0.5rem;
  font-size: 5.5rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.process-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.75rem;
  line-height: 1;
}
.process-card h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 0.5rem;
}
.process-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .process-grid, .process-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .process-grid, .process-grid--4 { grid-template-columns: 1fr; }
}

/* Legacy .steps — keep for any unstyled fallback */
.steps ol { list-style: none; padding: 0; margin: 0; }
.steps li { display: flex; gap: 1.25rem; margin-bottom: 1.5rem; align-items: flex-start; }

/* --- CONTACT FORM ------------------------------------------ */
.form-section-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.form-section-label:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.form-grid {
  display: grid;
  gap: 1rem;
}
.form-grid-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) {
  .form-grid-2 { grid-template-columns: 1fr; }
}
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}
.form-group label .req { color: #c0392b; margin-left: 2px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231a3a2a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-checkboxes { display: flex; flex-direction: column; gap: 0.5rem; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text);
}
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--primary);
  cursor: pointer;
}
.form-consent {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--light-bg);
  border-radius: 8px;
}
.form-consent label { font-size: 0.875rem; line-height: 1.5; }
.form-consent a { color: var(--primary); }
.form-success {
  display: none;
  background: var(--light-bg);
  border: 2px solid var(--accent);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  color: var(--primary);
  font-weight: 600;
  margin-top: 1.5rem;
}

/* --- AREA PAGE TOWNS GRID ---------------------------------- */
.towns-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
@media (max-width: 768px) {
  .towns-grid { grid-template-columns: repeat(2, 1fr); }
}
.town-pill {
  display: block;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.town-pill:hover {
  background: var(--light-bg);
  border-color: var(--accent);
  color: var(--primary);
}

/* --- TWO COLUMN LAYOUT ------------------------------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
}

/* --- FOOTER ------------------------------------------------- */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand .logo {
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.75rem;
}
.footer-brand .logo img { display: block; height: 66px; width: auto; }
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.75);
}
.footer-brand .contact-links { display: flex; flex-direction: column; gap: 0.35rem; }
.footer-brand .contact-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-brand .contact-links a:hover { color: var(--white); }

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.875rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li { margin-bottom: 0.35rem; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1.25rem 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom p { font-size: 0.8125rem; color: rgba(255,255,255,0.55); margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }
.footer-bottom .legal-links { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- UTILITIES --------------------------------------------- */
.text-center { text-align: center; }
.text-light { color: var(--text-light); }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 2.5rem !important; }

/* Highlight list */
.highlight-list { list-style: none; padding: 0; }
.highlight-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.highlight-list li:last-child { border-bottom: none; }
.highlight-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.75); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { opacity: 0.5; }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--primary);
  color: var(--white);
  padding: 8px 16px;
  z-index: 999;
  text-decoration: none;
  font-size: 0.875rem;
}
.skip-link:focus { top: 0; }
