/* ============================================================
   components.css — All shared components
   Depends on: tokens.css, base.css
   ============================================================ */

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--fs-button);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-8);
  cursor: pointer;
  transition: background var(--transition-base), color var(--transition-base),
              transform var(--transition-base), box-shadow var(--transition-base),
              border-color var(--transition-base);
  border: none;
  line-height: 1;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 3px solid var(--color-focus-ring);
  outline-offset: 3px;
}

/* Primary */
.btn--primary {
  background: var(--color-terra);
  color: var(--color-text-on-terra);
  border: 2px solid transparent;
}
.btn--primary:hover {
  background: var(--color-terra-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.btn--primary:active  { transform: translateY(0); box-shadow: none; }
.btn--primary:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

/* Ghost on dark sections */
.btn--ghost {
  background: transparent;
  border: 2px solid var(--color-text-inverted);
  color: var(--color-text-inverted);
}
.btn--ghost:hover { background: rgba(240,236,228,0.12); }

/* Ghost on light/tint/olive sections */
.btn--ghost-light {
  background: transparent;
  border: 2px solid var(--color-terra);
  color: var(--color-terra);
}
.btn--ghost-light:hover { background: rgba(184,92,56,0.06); }

/* Text/link */
.btn--link {
  background: transparent;
  border: none;
  color: var(--color-terra);
  padding: 0;
  font-size: var(--fs-body);
  text-transform: none;
  letter-spacing: 0;
  text-decoration: none;
}
.btn--link:hover { color: var(--color-terra-dark); text-decoration: underline; }
.section--dark .btn--link { color: var(--color-text-inverted); }
.section--dark .btn--link:hover { color: var(--color-text-heading-inverted); }

/* Sizes */
.btn--sm { padding: var(--space-2) var(--space-6); font-size: var(--fs-small); }
.btn--lg { padding: var(--space-5) var(--space-12); font-size: 1rem; }

/* ============================================================
   NAV LINK RESET (lessons learned — no UA white background)
   ============================================================ */
.nav-link {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--fs-nav);
  font-weight: 500;
  color: var(--color-text-primary);
  text-decoration: none;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  transition: color var(--transition-fast);
  line-height: 1;
}
.nav-link:hover, .nav-link:focus-visible { color: var(--color-terra); }
.nav-link.is-active {
  color: var(--color-terra);
  border-bottom: 2px solid var(--color-terra);
  padding-bottom: 2px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--bg-card);
  border-bottom: var(--border-default);
  box-shadow: var(--shadow-sm);
  height: 72px;
  transition: box-shadow var(--transition-base);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.site-header__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  position: relative; /* Mega-menu anchor — INSIDE header DOM */
}

/* Logo */
.site-logo {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 700;
  color: var(--color-olive);
  text-decoration: none;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}
.site-logo:hover { color: var(--color-olive-dark); }

/* Primary nav */
.primary-nav {
  display: none;
  align-items: center;
  gap: var(--space-8);
}
@media (min-width: 1024px) { .primary-nav { display: flex; } }

/* Header utilities (phone + CTA) */
.header-utils {
  display: none;
  align-items: center;
  gap: var(--space-6);
  flex-shrink: 0;
}
@media (min-width: 1024px) { .header-utils { display: flex; } }

.header-phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.header-phone:hover { color: var(--color-text-primary); }
.header-phone svg  { width: 16px; height: 16px; flex-shrink: 0; }

/* Mobile phone (≥ 480px, < 1024px) */
.header-phone--mobile {
  display: none;
}
@media (min-width: 480px) and (max-width: 1023px) {
  .header-phone--mobile { display: flex; align-items: center; gap: var(--space-2); font-size: var(--fs-small); color: var(--color-text-muted); text-decoration: none; }
}

/* Hamburger */
.nav-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: var(--space-2);
  cursor: pointer;
  color: var(--color-text-primary);
  transition: color var(--transition-fast);
}
.nav-hamburger:hover { color: var(--color-terra); }
.nav-hamburger svg  { width: 24px; height: 24px; }
@media (min-width: 1024px) { .nav-hamburger { display: none; } }

/* ============================================================
   MEGA-MENU
   ============================================================ */
.mega-menu-wrapper {
  position: relative; /* Each nav item with mega is a positioned ancestor */
}

/* The panel — MUST be inside header DOM for top:100% to anchor correctly */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 100vw);
  background: var(--bg-card);
  border-top: 3px solid var(--color-terra);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-8);
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--space-8);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-base), visibility var(--transition-base);
  z-index: 10;
  min-height: 320px;
}
.mega-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
@media (max-width: 1023px) { .mega-menu { display: none !important; } }

/* Service links list */
.mega-menu__links { display: flex; flex-direction: column; gap: var(--space-3); }
.mega-menu__link-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background var(--transition-fast);
  color: var(--color-text-primary);
}
.mega-menu__link-row:hover,
.mega-menu__link-row.is-hovered,
.mega-menu__link-row:focus-visible {
  background: var(--bg-section-tint);
}
.mega-menu__link-row:hover .mega-menu__icon,
.mega-menu__link-row.is-hovered .mega-menu__icon,
.mega-menu__link-row:focus-visible .mega-menu__icon { color: var(--color-terra); }
.mega-menu__icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--color-olive); transition: color var(--transition-fast); }
.mega-menu__name { font-size: var(--fs-h4); font-weight: 600; font-family: var(--font-body); color: inherit; }
.mega-menu__desc { font-size: var(--fs-small); color: var(--color-text-muted); }
.mega-menu__arrow { margin-left: auto; width: 16px; height: 16px; color: var(--color-text-muted); }

.mega-menu__link-text { flex: 1; }
.mega-menu__view-all {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  font-size: var(--fs-small);
  color: var(--color-olive);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-fast);
  margin-top: var(--space-2);
}
.mega-menu__view-all:hover { color: var(--color-olive-dark); text-decoration: underline; }

/* Right promo block */
.mega-menu__promo { display: flex; flex-direction: column; gap: var(--space-6); }
.mega-menu__promo-image {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-cream-dark);
}
.mega-menu__promo-image img, .mega-menu__promo-image .img-placeholder {
  width: 100%; height: 100%; object-fit: cover; border-radius: 0;
}
.mega-menu__promo-card { padding: var(--space-4); background: var(--bg-section-tint); border-radius: var(--radius-md); }
.mega-menu__promo-card h4 { font-family: var(--font-display); font-size: var(--fs-h4); color: var(--color-text-heading); margin-bottom: var(--space-2); }
.mega-menu__promo-card p  { font-size: var(--fs-small); color: var(--color-text-muted); margin-bottom: var(--space-4); }

/* ============================================================
   MOBILE DRAWER
   ============================================================ */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-overlay);
  z-index: calc(var(--z-drawer) - 1);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-drawer), visibility var(--transition-drawer);
}
.drawer-overlay.is-open,
.drawer-overlay.is-visible { opacity: 1; visibility: visible; }

.mobile-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(380px, 100vw);
  background: var(--bg-section-dark);
  z-index: var(--z-drawer);
  transform: translateX(100%);
  transition: transform var(--transition-drawer);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateX(0); }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6);
  border-bottom: var(--border-dark);
  flex-shrink: 0;
}
.drawer-logo { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 700; color: var(--color-text-heading-inverted); text-decoration: none; }
.drawer-close {
  background: transparent;
  border: none;
  color: var(--color-text-inverted);
  cursor: pointer;
  padding: var(--space-2);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}
.drawer-close:hover { color: var(--color-terra-light); }
.drawer-close svg { width: 24px; height: 24px; }

.drawer-contact {
  padding: var(--space-4) var(--space-6);
  border-bottom: var(--border-dark);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex-shrink: 0;
}
.drawer-contact a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-small);
  color: var(--color-text-inverted-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.drawer-contact a:hover { color: var(--color-text-inverted); }
.drawer-contact svg { width: 16px; height: 16px; }

.drawer-nav {
  flex: 1;
  padding: var(--space-4) 0;
}
.drawer-nav-item {
  display: block;
  padding: var(--space-4) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--fs-h4);
  font-weight: 500;
  color: var(--color-text-heading-inverted);
  text-decoration: none;
  transition: color var(--transition-fast), background var(--transition-fast);
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.drawer-nav-item:hover { color: var(--color-terra-light); background: rgba(255,255,255,0.04); }

/* Services accordion in drawer */
.drawer-services-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-services-toggle svg { width: 20px; height: 20px; transition: transform var(--transition-base); }
.drawer-services-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.drawer-services-panel {
  padding-bottom: var(--space-2);
}
/* Panel uses native hidden attribute for show/hide via JS (removeAttribute/setAttribute) */
.drawer-services-panel[hidden] { display: none; }

.drawer-service-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-6) var(--space-3) var(--space-12);
  font-size: var(--fs-body);
  color: var(--color-text-inverted-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.drawer-service-link:hover { color: var(--color-text-inverted); }
.drawer-service-link svg { width: 16px; height: 16px; flex-shrink: 0; }

.drawer-view-all {
  display: block;
  padding: var(--space-3) var(--space-6) var(--space-3) var(--space-12);
  font-size: var(--fs-small);
  color: var(--color-terra-light);
  text-decoration: none;
  font-weight: 500;
}
.drawer-view-all:hover { text-decoration: underline; }

/* Sticky bottom CTA */
.drawer-cta {
  padding: var(--space-4) var(--space-6);
  background: var(--color-charcoal);
  border-top: var(--border-dark);
  flex-shrink: 0;
  position: sticky;
  bottom: 0;
}
.drawer-cta .btn { width: 100%; justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-section-dark);
  color: var(--color-text-inverted);
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: var(--border-dark);
  margin-bottom: var(--space-6);
}
@media (min-width: 768px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 2fr; gap: var(--space-8); } }

.footer-brand p { font-size: var(--fs-small); color: var(--color-text-inverted-muted); line-height: 1.6; margin-top: var(--space-3); }
.footer-logo-text { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 700; color: var(--color-text-heading-inverted); text-decoration: none; display: block; margin-bottom: var(--space-3); }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-heading-inverted);
  margin-bottom: var(--space-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col a {
  font-size: var(--fs-small);
  color: var(--color-text-inverted-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.footer-col a:hover { color: var(--color-text-inverted); }
.footer-col a:focus-visible { outline: 3px solid var(--color-terra-light); outline-offset: 2px; }

/* Cookie settings trigger */
.cookie-settings-trigger {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: var(--fs-small);
  color: var(--color-text-inverted-muted);
  text-decoration: underline;
  padding: 0;
  font-family: inherit;
  transition: color var(--transition-fast);
}
.cookie-settings-trigger:hover { color: var(--color-text-inverted); }

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--fs-small);
  color: var(--color-text-inverted-muted);
  margin-bottom: var(--space-3);
  line-height: 1.5;
}
.footer-contact p svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.footer-contact a { color: var(--color-text-inverted-muted); text-decoration: none; }
.footer-contact a:hover { color: var(--color-text-inverted); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--fs-xs);
  color: var(--color-text-inverted-muted);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border: var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Service card */
.service-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.service-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.service-card:hover .service-card__image img { transform: scale(1.04); }

.service-card__body { padding: var(--space-6); flex: 1; display: flex; flex-direction: column; gap: var(--space-3); }
.service-card__icon { color: var(--color-olive); }
.service-card__icon svg { width: 24px; height: 24px; }
.service-card__name { font-size: var(--fs-h3); font-family: var(--font-display); font-weight: 700; }
.service-card__tagline { font-size: var(--fs-small); color: var(--color-text-muted); flex: 1; }
.service-card__price { font-size: var(--fs-body); color: var(--color-terra); font-weight: 600; }
.section--dark .service-card__price { color: var(--color-terra-light); }

/* Benefit card */
.benefit-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  border: var(--border-default);
}
.benefit-card__icon { color: var(--color-olive); margin-bottom: var(--space-4); }
.benefit-card__icon svg { width: 40px; height: 40px; }
.benefit-card__title { font-size: var(--fs-h4); font-family: var(--font-display); font-weight: 700; margin-bottom: var(--space-3); }
.benefit-card__body { font-size: var(--fs-body); color: var(--color-text-muted); line-height: 1.6; }

/* Outdoor lighting benefit card on dark section */
.section--dark .benefit-card {
  background: var(--bg-card-dark);
  border: var(--border-dark);
  color: var(--color-text-inverted);
}
.section--dark .benefit-card .benefit-card__title { color: var(--color-text-heading-inverted); }
.section--dark .benefit-card .benefit-card__body  { color: var(--color-text-inverted-muted); }
.section--dark .benefit-card .benefit-card__icon  { color: var(--color-terra-light); }

/* Project card */
.project-card { position: relative; cursor: pointer; }
.project-card__image {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  position: relative;
}
.project-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.project-card:hover .project-card__image img { transform: scale(1.03); }
.project-card__overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-heading-inverted);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.project-card:hover .project-card__overlay { opacity: 1; }
.project-card__body { padding: var(--space-4); background: var(--bg-card); border-radius: 0 0 var(--radius-md) var(--radius-md); border: var(--border-default); border-top: none; }
.project-card__tag { margin-bottom: var(--space-2); }
.project-card__title { font-size: var(--fs-h4); font-family: var(--font-display); font-weight: 700; margin-bottom: var(--space-2); }
.project-card__desc  { font-size: var(--fs-small); color: var(--color-text-muted); }

/* Post card */
.post-card { background: var(--bg-card); border: var(--border-default); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--transition-base), box-shadow var(--transition-base); display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card__image { aspect-ratio: 16/9; overflow: hidden; }
.post-card__image img,
.post-card__image-link img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.post-card__image-link { display: block; aspect-ratio: 16/9; overflow: hidden; }
.post-card:hover .post-card__image-link img { transform: scale(1.03); }
.post-card:hover .post-card__image img { transform: scale(1.03); }
.post-card__body { padding: var(--space-6); flex: 1; display: flex; flex-direction: column; gap: var(--space-3); }
.post-card__date { font-size: var(--fs-xs); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.post-card__title { font-size: var(--fs-h4); font-family: var(--font-display); font-weight: 700; }
.post-card__excerpt { font-size: var(--fs-small); color: var(--color-text-muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.post-card__link { font-size: var(--fs-small); color: var(--color-terra); font-weight: 600; text-decoration: none; }
.post-card__link:hover { text-decoration: underline; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-nav { padding-block: var(--space-4); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; list-style: none; }
.breadcrumb li { display: flex; align-items: center; gap: var(--space-2); font-size: var(--fs-small); color: var(--color-text-muted); }
.breadcrumb li + li::before { content: '›'; color: var(--color-text-muted); }
.breadcrumb a { color: var(--color-olive); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-olive-dark); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--color-text-muted); }

/* ============================================================
   HERO PATTERNS
   ============================================================ */
/* P-01: Hero Split */
.hero-split {
  padding-block: var(--space-20);
  min-height: 80vh;
  display: flex;
  align-items: center;
}
.hero-split__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}
@media (min-width: 768px) { .hero-split__grid { grid-template-columns: 6fr 4fr; } }

.hero-split__copy { display: flex; flex-direction: column; gap: var(--space-6); }
.hero-split__eyebrow { font-size: var(--fs-small); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-brand); }
.hero-split__h1 { font-size: var(--fs-display); font-family: var(--font-display); font-weight: 900; color: var(--color-text-heading); line-height: 1.05; letter-spacing: -0.02em; }
.hero-split__subhead { font-size: var(--fs-lead); color: var(--color-text-muted); line-height: 1.6; max-width: 520px; }
.hero-split__ctas { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }

/* P-02: Hero Fullbleed */
.hero-fullbleed {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-fullbleed__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-fullbleed__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,40,32,0.80) 0%, rgba(30,40,32,0.30) 60%, transparent 100%);
}
.hero-fullbleed__content {
  position: relative;
  width: 100%;
  padding-block: var(--space-16);
}
.hero-fullbleed__content .container { display: flex; flex-direction: column; gap: var(--space-4); }
.hero-fullbleed__label { font-size: var(--fs-small); color: var(--color-text-inverted-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; }
.hero-fullbleed__h1 { font-size: var(--fs-h1); font-family: var(--font-display); font-weight: 700; color: var(--color-text-heading-inverted); line-height: 1.1; letter-spacing: -0.02em; }
.hero-fullbleed__subhead { font-size: var(--fs-lead); color: var(--color-text-inverted); max-width: 580px; line-height: 1.5; }
.hero-fullbleed__img-wrapper { position: absolute; inset: 0; }
.hero-fullbleed__img-wrapper img { width: 100%; height: 100%; object-fit: cover; }

/* P-03: Hero Centered */
.hero-centered {
  padding-block: var(--space-20);
  text-align: center;
}
.hero-centered h1 { font-size: var(--fs-h1); font-family: var(--font-display); font-weight: 700; color: var(--color-text-heading); margin-block: var(--space-4); line-height: 1.1; }
.hero-centered p { font-size: var(--fs-lead); color: var(--color-text-muted); max-width: 600px; margin-inline: auto; line-height: 1.6; }
.section--olive .hero-centered h1 { color: var(--color-text-heading); }
.section--tint .hero-centered h1  { color: var(--color-text-heading); }

/* ============================================================
   STATS BAND (P-08)
   ============================================================ */
.stats-band { padding-block: var(--space-16); }
.stats-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-8); }
@media (min-width: 480px) { .stats-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 0; } }

.stat-item {
  text-align: center;
  padding: var(--space-6);
}
@media (min-width: 1024px) {
  .stat-item + .stat-item { border-left: var(--border-dark); }
}
.stat-item__number {
  font-family: var(--font-body);
  font-size: var(--fs-stat);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--color-terra-light); /* Default: dark section (charcoal bg) */
  display: block;
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat-item__label {
  font-size: var(--fs-small);
  color: var(--color-text-inverted-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
/* Olive + tint sections: use darker terra for contrast */
.section--olive .stat-item__number,
.section--tint  .stat-item__number,
.section--light .stat-item__number { color: var(--color-terra); }
.section--olive .stat-item__label,
.section--tint  .stat-item__label,
.section--light .stat-item__label  { color: var(--color-text-muted); }

/* ============================================================
   LOGO MARQUEE (P-09)
   ============================================================ */
.marquee-section { padding-block: var(--space-8); overflow: hidden; }
.marquee-track { display: flex; }
.marquee-primary, .marquee-dupe {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  flex-shrink: 0;
  padding-right: var(--space-12);
}
.marquee-primary { animation: marquee-scroll 30s linear infinite; }
.marquee-dupe    { animation: marquee-scroll 30s linear infinite; }
.marquee-track:hover .marquee-primary,
.marquee-track:hover .marquee-dupe { animation-play-state: paused; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

.marquee-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-6);
  background: var(--bg-card);
  border: var(--border-default);
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-text-primary);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

@media (prefers-reduced-motion: reduce) {
  .marquee-primary, .marquee-dupe { animation: none; }
  .marquee-track { flex-wrap: wrap; justify-content: center; }
  .marquee-dupe  { display: none; }
}

/* ============================================================
   PROCESS STRIP (P-11)
   ============================================================ */
.process-strip { padding-block: var(--section-pad); }
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  position: relative;
}
@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }
  .process-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 1px;
    border-top: 2px dashed var(--color-stone);
    z-index: 0;
  }
}
.process-step { position: relative; z-index: 1; }
.process-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--color-olive);
  color: var(--color-text-on-olive);
  border-radius: 50%;
  font-size: var(--fs-body);
  font-weight: 700;
  margin-bottom: var(--space-4);
  flex-shrink: 0;
}
.process-step__title { font-size: var(--fs-h4); font-family: var(--font-display); font-weight: 700; color: var(--color-text-heading); margin-bottom: var(--space-2); }
.process-step__body  { font-size: var(--fs-small); color: var(--color-text-muted); line-height: 1.6; }
.section--olive .process-step__title { color: var(--color-text-heading); }
.section--dark  .process-step__title { color: var(--color-text-heading-inverted); }
.section--dark  .process-step__body  { color: var(--color-text-inverted-muted); }
.section--dark  .process-step__num   { background: var(--color-terra); }

/* 3-step variant (compact) */
.process-steps--3 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .process-steps--3 { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   CTA BAND (P-12)
   ============================================================ */
.cta-band { padding-block: var(--space-20); text-align: center; }
.cta-band h2 { font-size: var(--fs-h2); font-family: var(--font-display); font-weight: 700; margin-bottom: var(--space-4); }
.cta-band p  { font-size: var(--fs-lead); margin-bottom: var(--space-8); max-width: 580px; margin-inline: auto; color: var(--color-text-inverted-muted); }
.cta-band__buttons { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; }

/* ============================================================
   ECO PILLAR BAND (P-15)
   ============================================================ */
.eco-band__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}
@media (min-width: 768px) { .eco-band__grid { grid-template-columns: 55fr 45fr; } }

.eco-band__practices { display: flex; flex-direction: column; gap: var(--space-6); margin-top: var(--space-8); }
.eco-practice { display: flex; gap: var(--space-4); }
.eco-practice__icon { color: var(--color-olive); flex-shrink: 0; }
.eco-practice__icon svg { width: 24px; height: 24px; }
.eco-practice__title { font-size: var(--fs-body); font-weight: 600; font-family: var(--font-body); color: var(--color-text-heading); margin-bottom: var(--space-1); }
.eco-practice__body  { font-size: var(--fs-small); color: var(--color-text-muted); line-height: 1.6; }

.eco-band__image { aspect-ratio: 16/9; overflow: hidden; border-radius: var(--radius-lg); }
.eco-band__image img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   PRICING SIGNAL (P-16)
   ============================================================ */
.pricing-signal {
  background: var(--bg-section-olive);
  border-left: 4px solid var(--color-olive);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  align-items: center;
  justify-content: space-between;
}
.pricing-signal__left {}
.pricing-signal__label { font-size: var(--fs-small); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--space-1); }
.pricing-signal__price {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--color-terra);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}
.pricing-signal__unit { font-size: var(--fs-body); font-family: var(--font-body); color: var(--color-text-muted); }
.pricing-signal__note { font-size: var(--fs-small); color: var(--color-text-muted); font-style: italic; margin-top: var(--space-2); }
.pricing-signal__right { text-align: right; }

/* ============================================================
   BEFORE/AFTER SLIDER (P-04)
   ============================================================ */
.before-after {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  cursor: ew-resize;
  border-radius: var(--radius-lg);
  --split-pct: 50%;
}
@media (max-width: 767px) { .before-after { aspect-ratio: 4/3; border-radius: var(--radius-md); } }

.before-after__after,
.before-after__before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.before-after__after img,
.before-after__before img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.before-after__before {
  overflow: hidden;
  width: var(--split-pct);
  z-index: 1;
}

.before-after__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split-pct);
  transform: translateX(-50%);
  width: 3px;
  background: white;
  z-index: 2;
  cursor: ew-resize;
  transition: none;
}
.before-after__handle:focus-visible { outline: 3px solid var(--color-focus-ring); outline-offset: 0; }

.before-after__handle-disc {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  background: white;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--color-charcoal);
  user-select: none;
}

.before-after__label {
  position: absolute;
  bottom: var(--space-4);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-text-inverted);
  background: rgba(30,40,32,0.75);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  z-index: 3;
}
.before-after__label--before { left: var(--space-4); }
.before-after__label--after  { right: var(--space-4); }

@media (prefers-reduced-motion: reduce) {
  .before-after__before { width: 50%; }
  .before-after__handle { display: none; }
}

.before-after-section { padding-block: var(--section-pad); }
.before-after-section__heading { text-align: center; margin-bottom: var(--space-8); }
.before-after-section__heading h2 { font-size: var(--fs-h2); font-family: var(--font-display); font-weight: 700; }
.before-after-section__heading p  { font-size: var(--fs-lead); color: var(--color-text-muted); margin-top: var(--space-4); }
.before-after-caption { text-align: center; font-size: var(--fs-small); color: var(--color-text-muted); margin-top: var(--space-4); }
.before-after-cta    { text-align: center; margin-top: var(--space-8); }

/* ============================================================
   TESTIMONIAL CAROUSEL (P-10)
   ============================================================ */
.testimonial-section { padding-block: var(--section-pad); }

.testimonial-carousel-wrapper {
  position: relative;
}
.embla { overflow: hidden; }
.embla__container { display: flex; }
.embla__slide {
  flex: 0 0 100%;
  min-width: 0;
  padding-inline: var(--space-4);
}
@media (min-width: 1024px) {
  .embla__slide { flex: 0 0 min(680px, 80%); margin-inline: auto; }
  .embla { margin-inline: auto; max-width: 800px; }
}

.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  box-shadow: var(--shadow-sm);
  border: var(--border-default);
}
.testimonial-card__stars { display: flex; gap: 4px; margin-bottom: var(--space-4); }
.testimonial-card__stars svg { width: 18px; height: 18px; color: var(--color-terra); fill: var(--color-terra); }
.testimonial-card__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-lead);
  color: var(--color-text-heading);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}
.testimonial-card__attribution { display: flex; align-items: center; gap: var(--space-4); }
.testimonial-card__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 700;
  color: var(--color-olive);
}
.testimonial-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-card__name   { font-size: var(--fs-body); font-weight: 600; }
.testimonial-card__detail { font-size: var(--fs-small); color: var(--color-text-muted); }

/* Carousel controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  margin-top: var(--space-8);
}
.carousel-btn {
  width: 44px; height: 44px;
  background: var(--bg-card);
  border: var(--border-default);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text-primary);
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
}
.carousel-btn:hover { background: var(--bg-section-tint); box-shadow: var(--shadow-md); }
.carousel-btn:disabled { opacity: 0.4; cursor: default; }
.carousel-btn svg { width: 20px; height: 20px; }

.carousel-dots { display: flex; gap: var(--space-2); align-items: center; }
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-stone);
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast), width var(--transition-fast);
  padding: 0;
}
.carousel-dot.is-selected,
.carousel-dot.is-active { background: var(--color-terra); width: 20px; border-radius: var(--radius-pill); }

.carousel-pause {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  padding: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  transition: color var(--transition-fast);
}
.carousel-pause:hover { color: var(--color-text-primary); }
.carousel-pause svg { width: 16px; height: 16px; }

/* ============================================================
   PORTFOLIO CAROUSEL (Embla)
   ============================================================ */
.portfolio-embla { overflow: hidden; }
.portfolio-embla .embla__slide { flex: 0 0 83%; }
@media (min-width: 768px)  { .portfolio-embla .embla__slide { flex: 0 0 50%; } }
@media (min-width: 1024px) { .portfolio-embla .embla__slide { flex: 0 0 33.33%; } }

/* ============================================================
   ACCORDION (FAQ) — using <details>/<summary>
   ============================================================ */
.accordion { display: flex; flex-direction: column; }
.accordion details + details { border-top: var(--border-default); }
.section--dark .accordion details + details { border-top: var(--border-dark); }

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  font-size: var(--fs-body);
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  list-style: none;
  color: var(--color-text-primary);
  transition: color var(--transition-fast);
}
.section--dark .accordion summary { color: var(--color-text-inverted); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--color-terra); }
.accordion-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
  color: var(--color-text-muted);
}
.section--dark .accordion-icon { color: var(--color-text-inverted-muted); }
details[open] .accordion-icon { transform: rotate(180deg); }

.accordion-body {
  padding: 0 0 var(--space-5);
  font-size: var(--fs-body);
  color: var(--color-text-muted);
  line-height: 1.7;
}
.section--dark .accordion-body { color: var(--color-text-inverted-muted); }

@media (prefers-reduced-motion: reduce) { .accordion-icon { transition: none; } }

/* ============================================================
   TABS
   ============================================================ */
.tabs { }
.tab-list {
  display: flex;
  gap: 0;
  border-bottom: var(--border-default);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tab-list::-webkit-scrollbar { display: none; }

.tab-btn {
  background: transparent;
  border: none;
  padding: var(--space-4) var(--space-6);
  font-size: var(--fs-body);
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--color-text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color var(--transition-fast), border-color var(--transition-fast);
  flex-shrink: 0;
}
.tab-btn:hover { color: var(--color-text-primary); }
.tab-btn[aria-selected="true"] {
  color: var(--color-terra);
  border-bottom-color: var(--color-terra);
}

.tab-panel { padding-top: var(--space-6); }
.tab-panel[hidden] { display: none; }

/* ============================================================
   FORMS (beyond lead-form, shared base)
   ============================================================ */
.form-label {
  display: block;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}
.form-required { color: var(--color-terra); }
.form-optional  { color: var(--color-text-muted); font-weight: 400; }

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-input);
  border: var(--border-input);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-5);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--color-text-primary);
  box-shadow: var(--shadow-sm);
  transition: border var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--color-stone); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border: var(--border-input-focus);
  background: var(--bg-input-focus);
}
.form-input:focus-visible, .form-select:focus-visible, .form-textarea:focus-visible {
  outline: 3px solid var(--color-focus-ring);
  outline-offset: 1px;
}

/* Custom select arrow */
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239A8E78' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}
.form-textarea { resize: vertical; min-height: 120px; }

.form-field { display: flex; flex-direction: column; gap: var(--space-2); }
.form-field--error .form-input,
.form-field--error .form-select,
.form-field--error .form-textarea { border-color: var(--color-border-input-error); }

.form-error {
  font-size: var(--fs-small);
  color: var(--color-error);
}
.form-alert {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid;
}
.form-alert--error { background: #fef2f2; border-color: #fee2e2; color: var(--color-error); }

.form-actions { display: flex; flex-direction: column; gap: var(--space-3); }
.form-reassurance { font-size: var(--fs-xs); color: var(--color-text-muted); }

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

/* Lead form grid */
.lead-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .lead-form { grid-template-columns: 1fr 1fr; }
  .form-field--full { grid-column: 1 / -1; }
  .form-actions      { grid-column: 1 / -1; }
}

/* Success state */
.form-success {
  text-align: center;
  padding: var(--space-12) var(--space-8);
  background: var(--bg-section-olive);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-olive);
}
.form-success:focus { outline: none; }
.form-success__icon { color: var(--color-success); margin-inline: auto; margin-bottom: var(--space-4); }
.form-success__heading { font-size: var(--fs-h3); font-family: var(--font-display); font-weight: 700; margin-bottom: var(--space-4); }
.form-success__body { font-size: var(--fs-body); color: var(--color-text-muted); margin-bottom: var(--space-6); }

.lead-form__intro { margin-bottom: var(--space-6); }
.lead-form__headline { font-size: var(--fs-h3); font-family: var(--font-display); font-weight: 700; margin-bottom: var(--space-3); }
.lead-form__subhead  { font-size: var(--fs-body); color: var(--color-text-muted); }

.form-ajax-error { padding: var(--space-4); background: #fef2f2; border: 1px solid #fee2e2; border-radius: var(--radius-md); color: var(--color-error); font-size: var(--fs-small); }
.form-ajax-error[hidden] { display: none; }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: var(--z-banner);
  background: var(--bg-section-dark);
  color: var(--color-text-inverted);
  padding: var(--space-6);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
  transition: transform var(--transition-slow);
}
.cookie-banner[hidden] { display: none; }

.cookie-banner__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-6);
}
.cookie-banner__text { flex: 1; min-width: 280px; }
.cookie-banner__text h3 { font-size: var(--fs-body); font-family: var(--font-body); font-weight: 600; color: var(--color-text-heading-inverted); margin-bottom: var(--space-2); }
.cookie-banner__text p  { font-size: var(--fs-small); color: var(--color-text-inverted-muted); line-height: 1.5; }
.cookie-banner__text a  { color: var(--color-terra-light); text-decoration: underline; }

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30,40,32,0.7);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}
.modal-overlay[hidden] { display: none; }

.modal {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: min(600px, 90vw);
  max-height: 90vh;
  overflow-y: auto;
  width: 100%;
  position: relative;
}
.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6);
  border-bottom: var(--border-default);
}
.modal__title { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 700; }
.modal__close {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
}
.modal__close:hover { color: var(--color-text-primary); }
.modal__close svg { width: 20px; height: 20px; }
.modal__body { padding: var(--space-6); }

/* ============================================================
   WHAT'S INCLUDED — bullet list
   ============================================================ */
.included-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  list-style: none;
}
.included-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--fs-body);
  line-height: 1.6;
}
.included-list li::before {
  content: '';
  width: 20px; height: 20px;
  flex-shrink: 0;
  background: var(--color-olive);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
  mask-size: contain;
  -webkit-mask-size: contain;
  margin-top: 3px;
}

/* ============================================================
   ALTERNATING IMAGE-TEXT SECTION (P-07)
   ============================================================ */
.alt-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
  padding-block: var(--space-12);
}
@media (min-width: 768px) {
  .alt-row { grid-template-columns: 1fr 1fr; }
  .alt-row--reverse { direction: rtl; }
  .alt-row--reverse > * { direction: ltr; }
}
.alt-row__image { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/9; }
.alt-row__image img { width: 100%; height: 100%; object-fit: cover; }
.alt-row__copy { display: flex; flex-direction: column; gap: var(--space-4); }
.alt-row__copy h3 { font-size: var(--fs-h3); font-family: var(--font-display); font-weight: 700; }
.alt-row__copy p  { font-size: var(--fs-body); color: var(--color-text-muted); line-height: 1.7; }

/* ============================================================
   TEAM GRID (P-21)
   ============================================================ */
.team-card { text-align: center; }
.team-card__image { aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius-md); margin-bottom: var(--space-4); background: var(--color-cream-dark); }
.team-card__image img { width: 100%; height: 100%; object-fit: cover; }
.team-card__name { font-size: var(--fs-h4); font-family: var(--font-display); font-weight: 700; }
.team-card__role { font-size: var(--fs-small); color: var(--color-terra); font-weight: 600; margin-bottom: var(--space-2); }
.team-card__bio  { font-size: var(--fs-small); color: var(--color-text-muted); line-height: 1.6; }

/* ============================================================
   GALLERY FILTER (P-13)
   ============================================================ */
.gallery-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}
.filter-btn {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: var(--bg-card);
  font-size: var(--fs-small);
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
  color: var(--color-text-muted);
}
.filter-btn:hover { background: var(--bg-section-tint); color: var(--color-text-primary); }
.filter-btn.is-active {
  background: var(--color-olive);
  color: var(--color-text-on-olive);
  border-color: var(--color-olive);
}

.gallery-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-6); }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

.gallery-item { transition: opacity var(--transition-base), transform var(--transition-base); }
.gallery-item.is-hidden { display: none; }

/* ============================================================
   HUB CARDS (P-22)
   ============================================================ */
.hub-card {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: var(--border-default);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  background: var(--bg-card);
}
@media (min-width: 768px) { .hub-card { grid-template-columns: 1fr 1fr; } }
.hub-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.hub-card__image { aspect-ratio: 4/3; overflow: hidden; }
.hub-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.hub-card:hover .hub-card__image img { transform: scale(1.03); }
.hub-card__body { padding: var(--space-8); display: flex; flex-direction: column; gap: var(--space-4); justify-content: center; }
.hub-card__name { font-size: var(--fs-h3); font-family: var(--font-display); font-weight: 700; }
.hub-card__desc { font-size: var(--fs-body); color: var(--color-text-muted); line-height: 1.6; }
.hub-card__price { font-size: var(--fs-h4); color: var(--color-terra); font-weight: 700; font-family: var(--font-body); }
.hub-card__included { list-style: none; display: flex; flex-direction: column; gap: var(--space-2); }
.hub-card__included li { font-size: var(--fs-small); color: var(--color-text-muted); padding-left: var(--space-5); position: relative; }
.hub-card__included li::before { content: '✓'; position: absolute; left: 0; color: var(--color-olive); font-weight: 700; }

/* ============================================================
   LEGAL PAGE
   ============================================================ */
.legal-body h2,
.section--legal h2 { font-size: var(--fs-h3); font-family: var(--font-display); font-weight: 700; margin-top: var(--space-10); margin-bottom: var(--space-4); color: var(--color-text-heading); }
.legal-body h3,
.section--legal h3 { font-size: var(--fs-h4); font-family: var(--font-body); font-weight: 600; margin-top: var(--space-8); margin-bottom: var(--space-3); color: var(--color-text-heading); }
.legal-body p,
.section--legal p  { font-size: var(--fs-body); color: var(--color-text-muted); line-height: 1.7; margin-bottom: var(--space-4); }
.legal-body ul,
.section--legal ul { list-style: disc; padding-left: var(--space-8); margin-bottom: var(--space-4); }
.legal-body ul li,
.section--legal ul li { font-size: var(--fs-body); color: var(--color-text-muted); line-height: 1.7; margin-bottom: var(--space-2); }
.legal-body table,
.section--legal table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); margin-bottom: var(--space-6); overflow-x: auto; display: block; }
.legal-body th,
.section--legal th { background: var(--bg-section-tint); padding: var(--space-3) var(--space-4); text-align: left; font-weight: 600; font-size: var(--fs-label); text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 2px solid var(--color-border); }
.legal-body td,
.section--legal td { padding: var(--space-3) var(--space-4); border-bottom: var(--border-default); vertical-align: top; line-height: 1.5; }
.legal-body a,
.section--legal a  { color: var(--color-olive); text-decoration: underline; }
.legal-notice { background: var(--bg-section-tint); border-left: 4px solid var(--color-terra); padding: var(--space-4) var(--space-6); border-radius: 0 var(--radius-md) var(--radius-md) 0; margin-bottom: var(--space-8); font-size: var(--fs-small); color: var(--color-text-muted); line-height: 1.6; }

/* ============================================================
   BLOG
   ============================================================ */
.post-hero-image { width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.post-hero-image img { width: 100%; height: 100%; object-fit: cover; }

.post-body { font-size: var(--fs-body); line-height: 1.8; color: var(--color-text-primary); }
.post-body h2 { font-size: var(--fs-h3); font-family: var(--font-display); font-weight: 700; margin-top: var(--space-10); margin-bottom: var(--space-4); }
.post-body h3 { font-size: var(--fs-h4); font-family: var(--font-body); font-weight: 600; margin-top: var(--space-8); margin-bottom: var(--space-3); }
.post-body p  { margin-bottom: var(--space-5); }
.post-body ul, .post-body ol { padding-left: var(--space-8); margin-bottom: var(--space-5); }
.post-body li { margin-bottom: var(--space-2); line-height: 1.7; }
.post-body strong { font-weight: 600; }
.post-body a { color: var(--color-olive); text-decoration: underline; }
.post-body hr  { border: none; border-top: var(--border-default); margin-block: var(--space-10); }
.post-body em  { font-style: italic; }

.post-cta-inline { background: var(--bg-section-olive); border-radius: var(--radius-md); padding: var(--space-6); margin-block: var(--space-8); font-size: var(--fs-small); color: var(--color-text-muted); }
.post-cta-inline a { color: var(--color-olive); font-weight: 600; }

/* ============================================================
   404 PAGE
   ============================================================ */
.not-found { padding-block: var(--space-32); text-align: center; }
.not-found__inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-4); }
.not-found__code { font-size: 6rem; font-family: var(--font-display); font-weight: 900; color: var(--color-terra); line-height: 1; margin-bottom: var(--space-4); }
.not-found__heading { font-size: var(--fs-h2); font-family: var(--font-display); font-weight: 700; color: var(--color-text-heading); }
.not-found h1 { font-size: var(--fs-h2); margin-bottom: var(--space-4); }
.not-found p, .not-found__body { font-size: var(--fs-lead); color: var(--color-text-muted); margin-bottom: var(--space-8); }
.not-found__actions,
.not-found__ctas { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; }

/* ============================================================
   SECTION-LEVEL HEADER BLOCK  (section-header, section-title, section-subhead)
   Used by most pages in place of .section-heading
   ============================================================ */
.section-header {
  margin-bottom: var(--space-12);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--color-text-heading);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-4);
}
.section-subhead {
  font-size: var(--fs-lead);
  color: var(--color-text-muted);
  max-width: 640px;
  line-height: 1.6;
}
/* Dark-section overrides */
.section--dark .section-title   { color: var(--color-text-heading-inverted); }
.section--dark .section-subhead { color: var(--color-text-inverted-muted); }
.section--olive .section-title  { color: var(--color-text-heading); }

/* Section footer CTA — centered link under a grid */
.section-footer-cta {
  text-align: center;
  margin-top: var(--space-12);
}

/* ============================================================
   HERO SHARED ELEMENTS  (headline, subhead, actions, reach-signal)
   ============================================================ */
.hero__headline {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-5);
}
.hero__subhead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  margin-bottom: var(--space-8);
  max-width: 560px;
  color: var(--color-text-muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}
.hero__reach-signal {
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-inverted-muted);
  margin-bottom: var(--space-3);
}
/* Dark section overrides */
.section--dark .hero__headline  { color: var(--color-text-heading-inverted); }
.section--dark .hero__subhead   { color: var(--color-text-inverted-muted); }
/* On dark the subhead needs to be legible */
.hero-fullbleed .hero__headline { color: var(--color-text-heading-inverted); }
.hero-fullbleed .hero__subhead  { color: var(--color-text-inverted-muted); }

/* ============================================================
   HERO SPLIT INNER GRID  (hero-split__inner, __text, __visual)
   ============================================================ */
.hero-split__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}
@media (min-width: 768px) {
  .hero-split__inner { grid-template-columns: 55fr 45fr; gap: var(--space-16); }
}
.hero-split__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.hero-split__visual {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-split__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}

/* ============================================================
   HERO CENTERED INNER  (hero-centered__inner)
   ============================================================ */
.hero-centered__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  max-width: 720px;
  margin-inline: auto;
}
.hero-centered__inner .hero__subhead { max-width: 560px; margin-inline: auto; }

/* post-date (blog-post hero) */
.post-date {
  display: block;
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-terra-light);
  font-weight: 500;
  margin-bottom: var(--space-2);
}

/* ============================================================
   CTA BAND  (section--cta-band + .cta-band container)
   ============================================================ */
.section--cta-band { }
.section--terra { background: var(--color-terra); color: var(--color-text-inverted); }
.section--terra h1, .section--terra h2, .section--terra h3 { color: var(--color-text-heading-inverted); }

.cta-band {
  padding-block: var(--space-20);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .cta-band {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    gap: var(--space-12);
  }
}
.cta-band__content { flex: 1; }
.cta-band__heading {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--color-text-heading-inverted);
  line-height: 1.1;
  margin-bottom: var(--space-3);
}
.cta-band__body {
  font-size: var(--fs-lead);
  color: var(--color-text-inverted-muted);
  max-width: 500px;
  line-height: 1.5;
}
.cta-band__actions {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  justify-content: center;
}
/* Light/tint/olive theme CTA — headings/body are dark */
.section--olive .cta-band__heading,
.section--light .cta-band__heading,
.section--tint  .cta-band__heading { color: var(--color-text-heading); }
.section--olive .cta-band__body,
.section--light .cta-band__body,
.section--tint  .cta-band__body    { color: var(--color-text-muted); }

/* ============================================================
   ECO SPLIT (home eco band)
   ============================================================ */
.eco-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: start;
}
@media (min-width: 768px) {
  .eco-split { grid-template-columns: 40fr 60fr; gap: var(--space-16); align-items: center; }
}
.eco-split__text { display: flex; flex-direction: column; gap: var(--space-4); }
.eco-split__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 480px) { .eco-split__cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .eco-split__cards { grid-template-columns: 1fr; } }

/* eco-note in about.php */
.eco-note {
  margin-top: var(--space-10);
  padding: var(--space-5) var(--space-6);
  border-left: 4px solid var(--color-olive);
  background: var(--bg-card);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  line-height: 1.6;
  font-style: italic;
}

/* ============================================================
   AREA BAND  (home service-area section)
   ============================================================ */
.area-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}
@media (min-width: 768px) {
  .area-band { grid-template-columns: 55fr 45fr; gap: var(--space-16); }
}
.area-band__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.area-band__text .section-title { color: var(--color-text-heading-inverted); }
.area-band__body {
  font-size: var(--fs-body);
  color: var(--color-text-inverted-muted);
  line-height: 1.7;
}
.area-band__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-charcoal);
}
.area-band__map img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   BEFORE/AFTER FEATURE GRID  (home ba-feature section)
   ============================================================ */
.ba-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
@media (min-width: 768px) {
  .ba-feature-grid { grid-template-columns: 1fr 1fr; }
}

/* before-after missing: __handle-circle vs __handle-disc (template uses circle) */
.before-after__handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  background: white;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-charcoal);
  user-select: none;
}
.before-after__handle-line {
  flex: 1;
  background: white;
  width: 3px;
}
.before-after__control {
  position: absolute;
  inset: 0;
  cursor: ew-resize;
  z-index: 3;
  opacity: 0;
}
.before-after__control:focus-visible {
  outline: 3px solid var(--color-focus-ring);
  outline-offset: 2px;
  opacity: 0.3;
  background: rgba(255,255,255,0.1);
}
.before-after__caption {
  position: absolute;
  bottom: var(--space-3);
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--fs-xs);
  color: var(--color-text-inverted);
  background: rgba(30,40,32,0.7);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  z-index: 4;
  pointer-events: none;
}

/* BA grid (service page) */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
@media (min-width: 768px) { .ba-grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   PROCESS STRIP  (partials/process-strip.php uses .process-strip role=list)
   Note: CSS previously had .process-steps for the grid. Add .process-strip as alias.
   ============================================================ */
.process-strip[role="list"] {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  position: relative;
}
@media (min-width: 768px) {
  .process-strip[role="list"] {
    grid-template-columns: repeat(4, 1fr);
  }
  .process-strip[role="list"]::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 1px;
    border-top: 2px dashed var(--color-stone);
    z-index: 0;
  }
}
/* compact 3-step variant (services-hub.php) */
.process-strip--compact[role="list"] {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
@media (min-width: 768px) {
  .process-strip--compact[role="list"] { grid-template-columns: repeat(3, 1fr); }
}
/* step number — template uses __number, CSS had __num */
.process-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--color-olive);
  color: var(--color-text-on-olive);
  border-radius: 50%;
  font-size: var(--fs-body);
  font-weight: 700;
  margin-bottom: var(--space-4);
  flex-shrink: 0;
}
.section--light .process-step__number  { background: var(--color-olive); }
.section--dark  .process-step__number  { background: var(--color-terra); }

/* ============================================================
   INCLUDED SPLIT  (service.php section 2)
   ============================================================ */
.included-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}
@media (min-width: 768px) {
  .included-split { grid-template-columns: 1fr 1fr; gap: var(--space-16); }
}
.included-split__text { display: flex; flex-direction: column; gap: var(--space-6); }
.included-split__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.included-split__image img { width: 100%; height: 100%; object-fit: cover; }
/* .included-list__item — already covered by .included-list li */
.included-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--fs-body);
  line-height: 1.6;
}
.included-list__item::before {
  content: '';
  width: 20px; height: 20px;
  flex-shrink: 0;
  background: var(--color-olive);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
  mask-size: contain;
  -webkit-mask-size: contain;
  margin-top: 3px;
}

/* ============================================================
   PRICING SIGNAL REWORK  (service.php)
   Template uses: pricing-signal, __text, __price, __label, __amount,
   __unit, __note, __eco, __cta, __reassurance
   ============================================================ */
.pricing-signal {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}
@media (min-width: 768px) {
  .pricing-signal { grid-template-columns: 1fr auto; gap: var(--space-12); }
}
.pricing-signal__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.pricing-signal__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-block: var(--space-2);
}
.pricing-signal__label {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pricing-signal__amount {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 700;
  color: var(--color-terra);
  line-height: 1;
}
.pricing-signal__unit {
  font-size: var(--fs-body);
  font-family: var(--font-body);
  color: var(--color-text-muted);
}
.pricing-signal__note {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  font-style: italic;
}
.pricing-signal__eco {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-small);
  color: var(--color-olive-dark);
  font-weight: 500;
}
.pricing-signal__eco svg { width: 16px; height: 16px; flex-shrink: 0; }
.pricing-signal__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  flex-shrink: 0;
}
@media (min-width: 768px) { .pricing-signal__cta { align-items: flex-end; } }
.pricing-signal__reassurance {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  font-style: italic;
}

/* ============================================================
   RELATED SERVICES CARDS  (service.php section 9)
   ============================================================ */
.related-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-8);
  background: var(--bg-card);
  border: var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.related-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.related-card__icon {
  color: var(--color-olive);
  margin-bottom: var(--space-2);
}
.related-card__icon svg { width: 28px; height: 28px; }
.related-card__name {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 700;
  color: var(--color-text-heading);
}
.related-card__tagline {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  line-height: 1.5;
  flex: 1;
}
.related-card__arrow {
  font-size: var(--fs-body);
  color: var(--color-terra);
  font-weight: 700;
  margin-top: var(--space-2);
}

/* ============================================================
   FAQ FOOTER LINK  (service.php)
   ============================================================ */
.faq-footer-link {
  margin-top: var(--space-8);
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}
.faq-footer-link a {
  color: var(--color-olive);
  text-decoration: underline;
}
.faq-footer-link a:hover { color: var(--color-olive-dark); }

/* ============================================================
   GALLERY (portfolio.php) — filter bar, intro
   ============================================================ */
.gallery-filter-bar {
  margin-bottom: var(--space-8);
}
.gallery-intro {
  max-width: 620px;
  font-size: var(--fs-body);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
/* grid-contact already defined in base.css — these are cell-level */
.contact-form-col { }
.contact-details-col { display: flex; flex-direction: column; gap: var(--space-8); }

.contact-details-card {
  background: var(--bg-card);
  border: var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}
.contact-details-card__heading {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: var(--space-6);
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  list-style: none;
}
.contact-details-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--fs-body);
  color: var(--color-text-muted);
  line-height: 1.6;
}
.contact-details-list li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--color-olive); }
.contact-details-list a { color: var(--color-terra); text-decoration: none; }
.contact-details-list a:hover { text-decoration: underline; }

.what-happens-next {
  background: var(--bg-section-tint);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}
.what-happens-next__heading {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: var(--space-5);
}
.what-happens-next__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-left: var(--space-6);
  list-style: decimal;
}
.what-happens-next__list li {
  font-size: var(--fs-body);
  color: var(--color-text-muted);
  line-height: 1.6;
  padding-left: var(--space-2);
}

.contact-services-link {
  background: var(--bg-card);
  border: var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.contact-services-link h3 {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.contact-services-link ul { display: flex; flex-direction: column; gap: var(--space-2); list-style: none; }
.contact-services-link a {
  font-size: var(--fs-small);
  color: var(--color-olive);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.contact-services-link a:hover { color: var(--color-olive-dark); text-decoration: underline; }

/* ============================================================
   BLOG POST PAGE
   ============================================================ */
.post-hero { }
.post-related-service {
  background: var(--bg-section-olive);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-8);
  margin-block: var(--space-12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-6);
  justify-content: space-between;
}
.post-related-service h3 {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}
.post-related-service p { font-size: var(--fs-body); color: var(--color-text-muted); }

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: var(--space-6);
  margin-block: var(--space-12);
  padding-top: var(--space-8);
  border-top: var(--border-default);
  flex-wrap: wrap;
}
.post-nav a {
  font-size: var(--fs-small);
  color: var(--color-olive);
  text-decoration: none;
  font-weight: 500;
}
.post-nav a:hover { text-decoration: underline; }

/* ============================================================
   ABOUT — benefit card number variant
   ============================================================ */
.benefit-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: var(--color-terra);
  color: var(--color-text-on-terra);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: var(--space-4);
  flex-shrink: 0;
}
/* Olive section: terra circle still works; keep heading color right */
.section--olive .benefit-card {
  background: var(--bg-card);
  border: var(--border-default);
}

/* ============================================================
   alt-row text variant (about "Who we are")
   ============================================================ */
.alt-row__text { display: flex; flex-direction: column; gap: var(--space-5); }
.alt-row__text h2 { font-size: var(--fs-h2); font-family: var(--font-display); font-weight: 700; color: var(--color-text-heading); }
.alt-row__text p  { font-size: var(--fs-body); color: var(--color-text-muted); line-height: 1.7; }

/* ============================================================
   SERVICE CARD — class aliases  (home.php uses .service-card__desc)
   ============================================================ */
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-card__desc { font-size: var(--fs-small); color: var(--color-text-muted); flex: 1; line-height: 1.5; }

/* hub-card icon */
.hub-card__icon { color: var(--color-olive); margin-bottom: var(--space-2); }
.hub-card__icon svg { width: 24px; height: 24px; }

/* ============================================================
   PORTFOLIO CAROUSEL SLIDES
   ============================================================ */
.portfolio-carousel { position: relative; }
.embla--portfolio { overflow: hidden; }
.embla--portfolio .embla__slide.portfolio-slide {
  flex: 0 0 85%;
  padding-inline: var(--space-3);
}
@media (min-width: 640px)  { .embla--portfolio .embla__slide.portfolio-slide { flex: 0 0 50%; } }
@media (min-width: 1024px) { .embla--portfolio .embla__slide.portfolio-slide { flex: 0 0 33.33%; } }

.carousel-controls--portfolio { justify-content: flex-end; }

/* ============================================================
   LEGAL PAGE BACK LINK
   ============================================================ */
.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-small);
  color: var(--color-olive);
  text-decoration: none;
  margin-bottom: var(--space-8);
  font-weight: 500;
}
.legal-back-link:hover { text-decoration: underline; }

/* ============================================================
   SECTION MODIFIER STUBS (semantic classes used in templates)
   ============================================================ */
/* These are purely semantic identifiers; visual styling comes from the
   section--* theme classes applied alongside them. */
.section--stats,
.section--services,
.section--ba-feature,
.section--process,
.section--eco,
.section--portfolio-teaser,
.section--testimonials,
.section--area,
.section--hub-cards,
.section--why-team,
.section--how-works,
.section--included,
.section--benefits,
.section--ba,
.section--pricing,
.section--faq,
.section--related,
.section--svc-form,
.section--who,
.section--eco-practices,
.section--differentiators,
.section--team,
.section--about-stats,
.section--contact-main,
.section--portfolio-hero,
.section--portfolio-grid,
.section--faq-hero,
.section--faq-groups,
.section--blog-hero,
.section--blog-grid,
.section--post-hero,
.section--post-body { /* intentionally empty — theme class provides bg/color */ }

/* ============================================================
   FAQPage groups (faq.php)
   ============================================================ */
.faq-group { margin-bottom: var(--space-12); }
.faq-group__heading {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-brand);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-olive);
}

/* ============================================================
   CAROUSEL: pause/play icon visibility
   ============================================================ */
.carousel-btn--pause .icon-play  { display: none; }
.carousel-btn--pause .icon-pause { display: block; }
.carousel-btn--pause[aria-pressed="true"] .icon-pause { display: none; }
.carousel-btn--pause[aria-pressed="true"] .icon-play  { display: block; }

/* ============================================================
   POST RELATED SERVICE — sub-elements
   ============================================================ */
.post-related-service__label {
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}
.post-related-service__card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  text-decoration: none;
  color: inherit;
  background: var(--bg-card);
  border: var(--border-default);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-6);
  transition: box-shadow var(--transition-fast);
  flex-wrap: wrap;
}
.post-related-service__card:hover { box-shadow: var(--shadow-md); }
.post-related-service__card strong {
  display: block;
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--color-text-heading);
}
.post-related-service__card span {
  display: block;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}
.post-related-service__icon {
  color: var(--color-olive);
  flex-shrink: 0;
}
.post-related-service__icon svg { width: 20px; height: 20px; }
.post-related-service__card > svg:last-child {
  margin-left: auto;
  color: var(--color-text-muted);
}

/* ============================================================
   PROJECT CARD — service tag (portfolio.php)
   ============================================================ */
.project-card__service-tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-terra);
  margin-bottom: var(--space-2);
}
.project-card__location {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}
.project-card__location svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--color-olive); }

/* ============================================================
   ABOUT page — team grid images
   ============================================================ */
.section--team .grid-team img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* ============================================================
   ECO SIGNAL BAND (services-hub.php)
   ============================================================ */
.eco-signal {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-8);
  align-items: center;
}
@media (max-width: 640px) { .eco-signal { grid-template-columns: 1fr; text-align: center; } }
.eco-signal__icon { color: var(--color-olive-dark); }
.eco-signal__icon svg { width: 48px; height: 48px; }
.eco-signal__text { display: flex; flex-direction: column; gap: var(--space-4); }
.eco-signal__text p { font-size: var(--fs-body); color: var(--color-text-muted); line-height: 1.7; }

/* ============================================================
   MOBILE OVERFLOW SAFETY NET — any grid inside a container
   never overflows on mobile (belt-and-suspenders after inline-grid lesson)
   ============================================================ */
@media (max-width: 479px) {
  .grid-services,
  .grid-hub,
  .grid-portfolio,
  .grid-benefits,
  .grid-team,
  .grid-blog,
  .grid-related,
  .grid-contact,
  .eco-split__cards,
  .ba-feature-grid,
  .ba-grid,
  .process-strip[role="list"],
  .hero-split__inner,
  .included-split,
  .pricing-signal,
  .area-band,
  .alt-row { grid-template-columns: 1fr !important; }
}
