/* ==========================================================================
   HVAC Filter Efficiency Programme — Design System
   Premium hospitality B2B. HTML5 / CSS3 only.
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand palette */
  --navy: #0F172A;
  --navy-800: #111827;
  --navy-700: #1E293B;
  --royal: #2563EB;
  --royal-600: #1D4ED8;
  --royal-100: #DBEAFE;
  --emerald: #10B981;
  --emerald-600: #059669;
  --emerald-100: #D1FAE5;
  --gold: #D4AF37;
  --gold-soft: #E7CE7A;

  /* Neutrals */
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --surface-2: #F1F5F9;
  --ink: #1F2937;
  --ink-soft: #475569;
  --ink-muted: #64748B;
  --line: #E2E8F0;
  --line-strong: #CBD5E1;

  /* Dark section */
  --dark: #111827;
  --dark-2: #0B1220;
  --on-dark: #E5EAF2;
  --on-dark-muted: #94A3B8;

  /* Typography */
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Type scale (fluid) */
  --step--1: clamp(0.83rem, 0.78rem + 0.2vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --step-3: clamp(1.95rem, 1.6rem + 1.7vw, 2.75rem);
  --step-4: clamp(2.4rem, 1.9rem + 2.6vw, 3.75rem);
  --step-5: clamp(2.9rem, 2.1rem + 3.8vw, 4.75rem);

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

  /* Layout */
  --container: 1200px;
  --container-narrow: 820px;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, 0.28);
  --shadow-gold: 0 18px 40px -18px rgba(212, 175, 55, 0.55);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --dur: 0.6s;

  /* Z-index scale */
  --z-base: 1;
  --z-sticky: 100;
  --z-dropdown: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); font-family: var(--font-body); font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; max-width: 70ch; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--royal);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: var(--z-toast);
}
.skip-link:focus { left: 1rem; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}
.narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--space-2xl); }
.section-sm { padding-block: var(--space-xl); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

.section-head { max-width: 720px; margin-bottom: var(--space-xl); }
.section-head.center { margin-inline: auto; }
.section-head .lead { color: var(--ink-soft); font-size: var(--step-1); margin-top: 0.75rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--emerald-600);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.on-dark .eyebrow { color: var(--gold-soft); }
.on-dark .eyebrow::before { background: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: var(--step-0);
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.25s, color 0.25s, border-color 0.25s;
  will-change: transform;
  line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--royal);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(37, 99, 235, 0.6);
}
.btn-primary:hover { background: var(--royal-600); box-shadow: 0 20px 38px -12px rgba(37, 99, 235, 0.7); }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { background: var(--gold-soft); }

.btn-emerald { background: var(--emerald); color: #fff; box-shadow: 0 14px 30px -12px rgba(16,185,129,.55); }
.btn-emerald:hover { background: var(--emerald-600); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--navy); background: var(--surface); }

.on-dark .btn-ghost,
.hero .btn-ghost,
.page-hero .btn-ghost,
.cta-banner .btn-ghost,
.mobile-menu .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.35); }
.on-dark .btn-ghost:hover,
.hero .btn-ghost:hover,
.page-hero .btn-ghost:hover,
.cta-banner .btn-ghost:hover,
.mobile-menu .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.btn-lg { padding: 1.1rem 2rem; font-size: var(--step-1); }
.btn-block { width: 100%; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s;
  background: rgba(248, 250, 252, 0.6);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--navy);
}
.brand-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--navy), var(--royal));
  color: var(--gold);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-size: 1.05rem; letter-spacing: -0.01em; }
.brand-sub { font-size: 0.7rem; font-weight: 500; color: var(--ink-muted); letter-spacing: 0.04em; text-transform: uppercase; }

.nav-menu { display: flex; align-items: center; gap: 0.25rem; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.95rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover, .nav-item:hover > .nav-link { color: var(--royal); background: rgba(37,99,235,0.06); }
.nav-link[aria-current="page"] { color: var(--royal); }
.nav-link[aria-current="page"]::after {
  content: ""; position: absolute; left: 0.95rem; right: 0.95rem; bottom: 0.35rem;
  height: 2px; background: var(--gold); border-radius: 2px;
}
.caret { width: 14px; height: 14px; transition: transform 0.3s var(--ease-out); }
.nav-item:hover .caret { transform: rotate(180deg); }

/* Mega menu */
.mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: min(620px, 90vw);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s;
  z-index: var(--z-dropdown);
}
.nav-item:hover .mega,
.nav-item:focus-within .mega {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega::before {
  content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 14px;
}
.mega-col h5 {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-muted); margin: 0 0 0.75rem; font-weight: 700;
}
.mega-link {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 0.6rem; border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.mega-link:hover { background: var(--surface-2); }
.mega-ico {
  width: 36px; height: 36px; flex-shrink: 0;
  display: grid; place-items: center; border-radius: 10px;
  background: var(--royal-100); color: var(--royal-600);
}
.mega-ico svg { width: 19px; height: 19px; }
.mega-link b { display: block; font-size: 0.92rem; color: var(--navy); }
.mega-link span { font-size: 0.8rem; color: var(--ink-muted); }
.mega-feature {
  background: linear-gradient(160deg, var(--navy), var(--navy-700));
  border-radius: var(--radius); padding: 1.4rem; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
}
.mega-feature h5 { color: var(--gold-soft); }
.mega-feature p { font-size: 0.85rem; color: var(--on-dark-muted); margin-bottom: 1rem; }
.mega-feature .btn { margin-top: auto; }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.92rem; color: var(--navy);
}
.nav-phone svg { width: 17px; height: 17px; color: var(--emerald-600); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: 12px;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 20px; height: 2px; background: var(--navy); border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: var(--navy);
  color: #fff;
  padding: 6rem 1.5rem 2rem;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease-out);
  overflow-y: auto;
  visibility: hidden;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu a { display: block; }
.mobile-nav-link {
  font-family: var(--font-head);
  font-size: 1.6rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color 0.2s, transform 0.3s var(--ease-out);
}
.mobile-nav-link:hover { color: var(--gold); transform: translateX(0.5rem); }
.mobile-cta { margin-top: 2rem; display: grid; gap: 0.85rem; }
.mobile-contact { margin-top: 2rem; color: var(--on-dark-muted); font-size: 0.95rem; }
.mobile-contact a { color: var(--gold-soft); display: inline; }
.mobile-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(255,255,255,0.1); border: none; color: #fff; font-size: 1.5rem;
}
body.menu-open { overflow: hidden; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: clamp(620px, 90vh, 900px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  will-change: transform;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(15,23,42,0.94) 0%, rgba(15,23,42,0.78) 45%, rgba(15,23,42,0.45) 100%);
}
.hero-glow {
  position: absolute; z-index: -1; pointer-events: none;
  width: 540px; height: 540px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.35), transparent 70%);
  top: -120px; right: -80px; filter: blur(20px);
}
.hero-inner { padding-block: var(--space-2xl); max-width: 760px; }
.hero h1 { color: #fff; font-size: var(--step-5); margin-bottom: 1.25rem; }
.hero .sub { font-size: var(--step-1); color: #E2E8F0; max-width: 56ch; margin-bottom: 2rem; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: 0.5rem 1rem; border-radius: var(--radius-pill);
  font-size: 0.85rem; font-weight: 500; margin-bottom: 1.75rem;
  color: #fff;
}
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 4px rgba(16,185,129,0.25); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-trust {
  margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; align-items: center;
  color: #CBD5E1; font-size: 0.85rem;
}
.hero-trust .t-item { display: flex; align-items: center; gap: 0.5rem; }
.hero-trust svg { width: 18px; height: 18px; color: var(--emerald); }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.stat { background: var(--surface); padding: 2rem 1.75rem; text-align: center; }
.stat-num {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2.4rem, 1.8rem + 2.5vw, 3.4rem);
  color: var(--navy); line-height: 1; letter-spacing: -0.02em;
}
.stat-num .unit { color: var(--emerald-600); }
.stat-label { color: var(--ink-soft); margin-top: 0.6rem; font-weight: 500; }
.stat-foot { font-size: 0.8rem; color: var(--ink-muted); margin-top: 0.25rem; }

.stats-float { margin-top: -4rem; position: relative; z-index: 3; }

/* ==========================================================================
   Airflow infographic (clean vs dirty)
   ========================================================================== */
.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
.compare-vs {
  display: grid; place-items: center;
  font-family: var(--font-head); font-style: italic;
  color: var(--ink-muted); font-size: 1.5rem;
}
.flow-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.flow-card.bad { background: linear-gradient(180deg, #FFF7F5, #fff); border-color: #FBD5C9; }
.flow-card.good { background: linear-gradient(180deg, #F2FCF8, #fff); border-color: var(--emerald-100); }
.flow-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.flow-badge {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  flex-shrink: 0;
}
.flow-card.bad .flow-badge { background: #FEE2E2; color: #DC2626; }
.flow-card.good .flow-badge { background: var(--emerald-100); color: var(--emerald-600); }
.flow-head h4 { margin: 0; }
.flow-head span { font-size: 0.85rem; color: var(--ink-muted); }
.flow-step {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-weight: 500;
  position: relative;
}
.flow-arrow { display: grid; place-items: center; padding: 0.35rem 0; color: var(--ink-muted); }
.flow-arrow svg { width: 18px; height: 18px; }
.flow-card.bad .flow-step { color: #9A3412; }
.flow-card.good .flow-step { color: var(--emerald-600); }

/* Animated airflow bars */
.airbars { display: flex; gap: 5px; align-items: flex-end; height: 26px; margin-left: auto; }
.airbars i {
  width: 5px; background: currentColor; border-radius: 3px; display: block;
  animation: airflow 1.6s var(--ease-out) infinite;
  opacity: 0.85;
}
.flow-card.bad .airbars i { animation-duration: 2.6s; height: 30%; }
.airbars i:nth-child(2) { animation-delay: 0.2s; }
.airbars i:nth-child(3) { animation-delay: 0.4s; }
.airbars i:nth-child(4) { animation-delay: 0.6s; }
@keyframes airflow { 0%,100% { height: 35%; } 50% { height: 100%; } }
@media (prefers-reduced-motion: reduce) { .airbars i { animation: none; height: 80%; } }

/* ==========================================================================
   Benefits grid
   ========================================================================== */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.25rem;
}
.benefit {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.benefit::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: linear-gradient(90deg, var(--royal), var(--emerald));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.benefit:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.benefit:hover::before { transform: scaleX(1); }
.benefit-ico {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: var(--royal-100); color: var(--royal-600);
  transition: transform 0.4s var(--ease-out);
}
.benefit:hover .benefit-ico { transform: scale(1.08) rotate(-4deg); }
.benefit-ico svg { width: 26px; height: 26px; }
.benefit h4 { margin-bottom: 0.5rem; color: var(--navy); }
.benefit p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* ==========================================================================
   Focus segments
   ========================================================================== */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.focus-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 380px; display: flex; align-items: flex-end;
  color: #fff; isolation: isolate;
  box-shadow: var(--shadow);
}
.focus-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform 0.7s var(--ease-out);
}
.focus-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15,23,42,0) 30%, rgba(15,23,42,0.92) 100%);
}
.focus-card:hover img { transform: scale(1.06); }
.focus-body { padding: 1.75rem; }
.focus-body h3 { color: #fff; margin-bottom: 0.4rem; }
.focus-body p { color: #CBD5E1; font-size: 0.92rem; margin: 0; }
.focus-tag {
  align-self: flex-start; display: inline-block; margin-bottom: auto;
  background: rgba(212,175,55,0.92); color: var(--navy);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.4rem 0.8rem; border-radius: var(--radius-pill);
  position: absolute; top: 1.25rem; left: 1.25rem;
}

/* ==========================================================================
   Case study preview
   ========================================================================== */
.casepreview {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 0;
  background: var(--navy); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.casepreview-media { position: relative; min-height: 420px; }
.casepreview-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.casepreview-body { padding: clamp(2rem, 4vw, 3.5rem); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.casepreview-body h2 { color: #fff; }
.casepreview-body p { color: var(--on-dark-muted); }
.case-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.75rem 0; }
.case-metric { border-top: 2px solid var(--gold); padding-top: 0.75rem; }
.case-metric b { display: block; font-family: var(--font-head); font-size: 1.8rem; color: var(--gold-soft); }
.case-metric span { font-size: 0.8rem; color: var(--on-dark-muted); }

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, var(--navy), var(--royal-600));
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  color: #fff;
  text-align: center;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 80% 20%, rgba(212,175,55,0.25), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(16,185,129,0.25), transparent 45%);
}
.cta-banner h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.cta-banner p { color: #DBEAFE; margin-inline: auto; margin-bottom: 2rem; font-size: var(--step-1); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* full-bleed dark section */
.dark-section {
  background: var(--dark);
  color: var(--on-dark);
}
.dark-section h1, .dark-section h2, .dark-section h3, .dark-section h4 { color: #fff; }
.dark-section p { color: var(--on-dark-muted); }

/* ==========================================================================
   Logos / trust strip
   ========================================================================== */
.trust-strip { border-block: 1px solid var(--line); background: var(--surface); }
.trust-strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; padding-block: 1.75rem; }
.trust-strip p { color: var(--ink-muted); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin: 0; }
.trust-logos { display: flex; flex-wrap: wrap; gap: 0.85rem 1rem; align-items: center; }
.trust-badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-weight: 600; font-size: 0.9rem; color: var(--ink-soft);
  background: var(--surface-2); border: 1px solid var(--line);
  padding: 0.55rem 1rem; border-radius: var(--radius-pill);
  transition: border-color 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.trust-badge:hover { border-color: var(--emerald); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.trust-badge svg { width: 19px; height: 19px; color: var(--emerald-600); flex-shrink: 0; }

/* ==========================================================================
   Service cards (services page)
   ========================================================================== */
.service-list { display: grid; gap: 2rem; }
.service-row {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.5rem; align-items: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.service-row:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-row:nth-child(even) { grid-template-columns: 1.1fr 0.9fr; }
.service-row:nth-child(even) .service-media { order: 2; }
.service-media { position: relative; min-height: 320px; height: 100%; }
.service-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-num {
  position: absolute; top: 1rem; left: 1rem;
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(15,23,42,0.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--gold-soft); font-family: var(--font-head); font-weight: 700;
}
.service-content { padding: clamp(1.75rem, 3vw, 2.75rem); }
.service-ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--emerald-100); color: var(--emerald-600); margin-bottom: 1rem;
}
.service-ico svg { width: 26px; height: 26px; }
.service-content h3 { margin-bottom: 0.6rem; }
.service-content .desc { color: var(--ink-soft); }
.service-features { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.25rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--surface-2); color: var(--ink); border: 1px solid var(--line);
  padding: 0.45rem 0.85rem; border-radius: var(--radius-pill); font-size: 0.85rem; font-weight: 500;
}
.chip svg { width: 14px; height: 14px; color: var(--emerald-600); }

/* ==========================================================================
   Timeline / process
   ========================================================================== */
.timeline { position: relative; display: grid; gap: 0; max-width: 860px; margin-inline: auto; }
.timeline::before {
  content: ""; position: absolute; left: 27px; top: 12px; bottom: 12px; width: 2px;
  background: linear-gradient(var(--royal), var(--emerald));
}
.tl-item { display: grid; grid-template-columns: 56px 1fr; gap: 1.5rem; padding-bottom: 2.25rem; position: relative; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 2px solid var(--royal); color: var(--royal-600);
  font-weight: 700; font-family: var(--font-head); z-index: 1;
  box-shadow: 0 0 0 6px var(--bg);
}
.tl-body { padding-top: 0.4rem; }
.tl-body h4 { margin-bottom: 0.35rem; color: var(--navy); }
.tl-body p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }
.tl-when { font-size: 0.78rem; font-weight: 700; color: var(--emerald-600); text-transform: uppercase; letter-spacing: 0.05em; }

/* ==========================================================================
   Page hero (interior pages)
   ========================================================================== */
.page-hero {
  position: relative; color: #fff; overflow: hidden; isolation: isolate;
  padding-block: clamp(5rem, 12vh, 8rem) clamp(3.5rem, 8vh, 5.5rem);
  background: linear-gradient(135deg, var(--navy), var(--navy-700));
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.16;
  background-size: cover; background-position: center;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; max-width: 16ch; }
.page-hero p { color: #CBD5E1; font-size: var(--step-1); max-width: 56ch; }
.breadcrumb { display: flex; gap: 0.5rem; align-items: center; color: var(--on-dark-muted); font-size: 0.85rem; margin-bottom: 1.25rem; }
.breadcrumb a:hover { color: var(--gold-soft); }
.breadcrumb svg { width: 14px; height: 14px; opacity: 0.6; }

/* ==========================================================================
   Energy savings page
   ========================================================================== */
.energy-calc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem); box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center;
}
.calc-controls label { display: block; font-weight: 600; margin-bottom: 0.4rem; color: var(--navy); }
.calc-field { margin-bottom: 1.5rem; }
.calc-field .hint { font-size: 0.82rem; color: var(--ink-muted); font-weight: 400; }
input[type="range"] {
  width: 100%; -webkit-appearance: none; appearance: none; height: 6px;
  background: var(--surface-2); border-radius: 6px; outline-offset: 6px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--royal); cursor: pointer; border: 3px solid #fff; box-shadow: var(--shadow-sm);
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: var(--royal);
  cursor: pointer; border: 3px solid #fff;
}
.calc-value { font-weight: 700; color: var(--royal-600); }
.calc-result {
  background: linear-gradient(160deg, var(--navy), var(--navy-700));
  border-radius: var(--radius); padding: 2rem; color: #fff; text-align: center;
}
.calc-result .big {
  font-family: var(--font-head); font-weight: 700; color: var(--emerald);
  font-size: clamp(2.5rem, 2rem + 3vw, 4rem); line-height: 1;
}
.calc-result .lbl { color: var(--on-dark-muted); margin-top: 0.5rem; }
.calc-result .annual { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.12); }
.calc-result .annual b { color: var(--gold-soft); font-size: 1.4rem; font-family: var(--font-head); }
.calc-disclaimer { font-size: 0.78rem; color: var(--ink-muted); margin-top: 1.5rem; grid-column: 1 / -1; }

/* energy comparison cards */
.energy-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.ec-card { border-radius: var(--radius-lg); padding: 2rem; border: 1px solid var(--line); }
.ec-card.dirty { background: linear-gradient(180deg, #FFF7F5, #fff); border-color: #FBD5C9; }
.ec-card.clean { background: linear-gradient(180deg, #F2FCF8, #fff); border-color: var(--emerald-100); }
.ec-card h3 { display: flex; align-items: center; gap: 0.6rem; }
.ec-list li { display: flex; gap: 0.75rem; padding: 0.7rem 0; border-bottom: 1px dashed var(--line); align-items: flex-start; }
.ec-list li:last-child { border-bottom: none; }
.ec-list svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.ec-card.dirty svg { color: #DC2626; }
.ec-card.clean svg { color: var(--emerald-600); }

/* bar chart */
.barchart { display: grid; gap: 1.25rem; }
.bc-row { display: grid; grid-template-columns: 130px 1fr auto; gap: 1rem; align-items: center; }
.bc-label { font-weight: 600; font-size: 0.9rem; }
.bc-track { background: var(--surface-2); border-radius: var(--radius-pill); height: 30px; overflow: hidden; }
.bc-fill {
  height: 100%; border-radius: var(--radius-pill); width: 0;
  transition: width 1.4s var(--ease-out-quart);
  display: flex; align-items: center; justify-content: flex-end; padding-right: 0.75rem;
  color: #fff; font-weight: 600; font-size: 0.8rem;
}
.bc-fill.fill-royal { background: linear-gradient(90deg, var(--royal), var(--royal-600)); }
.bc-fill.fill-red { background: linear-gradient(90deg, #F87171, #DC2626); }
.bc-fill.fill-emerald { background: linear-gradient(90deg, var(--emerald), var(--emerald-600)); }
.bc-val { font-weight: 700; color: var(--navy); }

/* donut / metric circle */
.metric-circles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; }
.donut { text-align: center; }
.donut svg { width: 150px; height: 150px; transform: rotate(-90deg); margin-inline: auto; display: block; }
.donut .ring-bg { fill: none; stroke: var(--surface-2); stroke-width: 12; }
.donut .ring-fg { fill: none; stroke: var(--emerald); stroke-width: 12; stroke-linecap: round; transition: stroke-dashoffset 1.6s var(--ease-out-quart); }
.donut .donut-num { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--navy); margin-top: -95px; position: relative; }
.donut .donut-lbl { color: var(--ink-soft); margin-top: 60px; font-weight: 500; }

/* ==========================================================================
   Case studies page
   ========================================================================== */
.feature-case {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  background: var(--surface); border: 1px solid var(--line);
}
.fc-body { padding: clamp(2rem, 4vw, 3.5rem); }
.fc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.fc-block h5 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-muted); margin: 0 0 0.6rem; }
.fc-block ul li { display: flex; gap: 0.6rem; padding: 0.35rem 0; font-size: 0.92rem; color: var(--ink-soft); align-items: flex-start; }
.fc-block svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; }
.fc-block.problem svg { color: #DC2626; }
.fc-block.solution svg { color: var(--royal-600); }

/* before/after slider */
.ba-slider {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden;
  user-select: none; box-shadow: var(--shadow); cursor: ew-resize; touch-action: none;
}
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-after { clip-path: inset(0 0 0 50%); }
.ba-label {
  position: absolute; bottom: 1rem; padding: 0.4rem 0.9rem; border-radius: var(--radius-pill);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  background: rgba(15,23,42,0.78); color: #fff; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.ba-label.before { left: 1rem; }
.ba-label.after { right: 1rem; background: var(--emerald-600); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff;
  transform: translateX(-50%); box-shadow: 0 0 12px rgba(0,0,0,0.4);
}
.ba-grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow); color: var(--navy);
}
.ba-grip svg { width: 22px; height: 22px; }

/* masonry gallery */
.masonry { columns: 3 240px; column-gap: 1rem; }
.masonry figure { margin: 0 0 1rem; break-inside: avoid; border-radius: var(--radius); overflow: hidden; position: relative; }
.masonry img { width: 100%; transition: transform 0.6s var(--ease-out); }
.masonry figure:hover img { transform: scale(1.05); }
.masonry figcaption {
  position: absolute; inset: auto 0 0; padding: 1.5rem 1rem 0.85rem; color: #fff; font-size: 0.85rem; font-weight: 500;
  background: linear-gradient(transparent, rgba(15,23,42,0.85));
}

/* small case grid */
.mini-cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.mini-case {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.mini-case:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.mini-case .mc-img { position: relative; aspect-ratio: 16/10; }
.mini-case .mc-img img { width: 100%; height: 100%; object-fit: cover; }
.mc-tag { position: absolute; top: 0.85rem; left: 0.85rem; background: var(--gold); color: var(--navy); font-size: 0.72rem; font-weight: 700; padding: 0.3rem 0.7rem; border-radius: var(--radius-pill); text-transform: uppercase; letter-spacing: 0.04em; }
.mc-body { padding: 1.5rem; }
.mc-body h4 { margin-bottom: 0.4rem; }
.mc-body p { font-size: 0.9rem; color: var(--ink-soft); }
.mc-result { display: flex; gap: 1.25rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.mc-result b { font-family: var(--font-head); color: var(--emerald-600); font-size: 1.3rem; display: block; }
.mc-result span { font-size: 0.75rem; color: var(--ink-muted); }

/* ==========================================================================
   About page
   ========================================================================== */
.about-intro { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3rem; align-items: center; }
.about-portrait { position: relative; }
.about-portrait img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-portrait .badge {
  position: absolute; bottom: -1.5rem; right: -1rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.5rem; box-shadow: var(--shadow); display: flex; gap: 0.9rem; align-items: center;
}
.about-portrait .badge svg { width: 34px; height: 34px; color: var(--gold); }
.about-portrait .badge b { display: block; font-family: var(--font-head); font-size: 1.4rem; color: var(--navy); line-height: 1; }
.about-portrait .badge span { font-size: 0.8rem; color: var(--ink-muted); }
.signature { font-family: var(--font-head); font-style: italic; font-size: 1.6rem; color: var(--navy); margin-top: 1.5rem; }

.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.role {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; text-align: center;
}
.role-ico { width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: var(--royal-100); color: var(--royal-600); }
.role-ico svg { width: 28px; height: 28px; }
.role h4 { margin-bottom: 0.35rem; }
.role p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }

.mission-quote {
  text-align: center; max-width: 800px; margin-inline: auto;
}
.mission-quote blockquote {
  font-family: var(--font-head); font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem);
  line-height: 1.25; color: #fff; margin: 0; text-wrap: balance;
}
.mission-quote .q-mark { font-size: 4rem; color: var(--gold); line-height: 0.5; font-family: var(--font-head); display: block; margin-bottom: 1rem; }

.creds { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cred { background: var(--surface); padding: 1.75rem 1.25rem; text-align: center; }
.cred b { display: block; font-family: var(--font-head); font-size: 2.2rem; color: var(--navy); }
.cred span { font-size: 0.85rem; color: var(--ink-soft); }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.contact-cards { display: grid; gap: 1rem; }
.contact-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out);
}
.contact-card:hover { border-color: var(--royal); box-shadow: var(--shadow); transform: translateY(-2px); }
.contact-card .cc-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--emerald-100); color: var(--emerald-600); flex-shrink: 0; }
.contact-card .cc-ico svg { width: 22px; height: 22px; }
.contact-card h4 { margin-bottom: 0.2rem; }
.contact-card a, .contact-card p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }
.contact-card a:hover { color: var(--royal); }

.form-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem); box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; color: var(--navy); }
.field label .req { color: #DC2626; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; padding: 0.85rem 1rem;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--royal); box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .error-msg { color: #DC2626; font-size: 0.82rem; margin-top: 0.35rem; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #DC2626; }
.field.invalid .error-msg { display: block; }
.form-success {
  display: none; text-align: center; padding: 2rem;
  background: var(--emerald-100); border: 1px solid var(--emerald); border-radius: var(--radius);
  color: var(--emerald-600);
}
.form-success.show { display: block; animation: popin 0.5s var(--ease-out); }
.form-success svg { width: 56px; height: 56px; margin-bottom: 0.75rem; }
.form-success h3 { color: var(--emerald-600); }
@keyframes popin { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }

.form-error {
  display: none; text-align: center; padding: 1.25rem;
  background: #FEF2F2; border: 1px solid #DC2626; border-radius: var(--radius);
  color: #DC2626; font-size: 0.9rem; margin-top: 1rem;
}
.form-error.show { display: block; animation: popin 0.5s var(--ease-out); }

.map-embed {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  background: var(--surface-2); aspect-ratio: 21/9; position: relative;
  display: grid; place-items: center; text-align: center;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.map-placeholder { padding: 2rem; }
.map-placeholder svg { width: 48px; height: 48px; color: var(--royal); margin-bottom: 0.75rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy); color: var(--on-dark-muted); padding-block: var(--space-2xl) var(--space-lg); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer-grid .brand { color: #fff; margin-bottom: 1rem; }
.footer-grid .brand-sub { color: var(--on-dark-muted); }
.footer-about p { color: var(--on-dark-muted); font-size: 0.92rem; }
.footer-col h5 { color: #fff; font-size: 0.95rem; margin: 0 0 1.1rem; font-family: var(--font-body); font-weight: 700; }
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col a { display: inline-block; color: var(--on-dark-muted); font-size: 0.92rem; transition: color 0.2s, transform 0.2s var(--ease-out); }
.footer-col a:hover { color: var(--gold-soft); transform: translateX(4px); }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: 0.85rem; font-size: 0.92rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--emerald); flex-shrink: 0; margin-top: 2px; }
.footer-contact a { color: var(--on-dark-muted); }
.footer-contact a:hover { color: var(--gold-soft); }
.footer-bottom {
  margin-top: var(--space-xl); padding-top: var(--space-md); border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  font-size: 0.85rem;
}
.footer-bottom a:hover { color: var(--gold-soft); }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.08); transition: background 0.3s, transform 0.3s; }
.footer-social a:hover { background: var(--royal); transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; color: #fff; }

/* ==========================================================================
   Scroll reveal (enhances already-visible default)
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.08s; }
.js .reveal.d2 { transition-delay: 0.16s; }
.js .reveal.d3 { transition-delay: 0.24s; }
.js .reveal.d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* page load veil */
.page-veil {
  position: fixed; inset: 0; z-index: var(--z-toast); background: var(--navy);
  display: grid; place-items: center; transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
.page-veil.hide { opacity: 0; visibility: hidden; }
.veil-mark { color: var(--gold); animation: pulse 1.4s ease-in-out infinite; }
.veil-mark svg { width: 48px; height: 48px; }
@keyframes pulse { 0%,100% { opacity: 0.5; transform: scale(0.95); } 50% { opacity: 1; transform: scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .veil-mark { animation: none; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-menu, .nav-phone { display: none; }
  .nav-toggle { display: block; }
  .casepreview, .feature-case, .energy-calc, .contact-grid, .about-intro { grid-template-columns: 1fr; }
  .service-row, .service-row:nth-child(even) { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-media { order: 0; }
  .service-media { min-height: 240px; }
  .casepreview-media, .feature-case .fc-media { min-height: 280px; }
  .feature-case .fc-media img { position: static; height: 280px; width: 100%; object-fit: cover; }
}
@media (max-width: 760px) {
  :root { --space-2xl: 4rem; --space-3xl: 5rem; }
  .compare { grid-template-columns: 1fr; }
  .compare-vs { padding: 0.5rem; }
  .energy-compare, .fc-cols, .form-grid { grid-template-columns: 1fr; }
  .case-metrics { grid-template-columns: 1fr 1fr; }
  .masonry { columns: 2 160px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-about { grid-column: 1 / -1; }
  .hero-cta .btn, .cta-actions .btn { flex: 1 1 auto; }
}
@media (max-width: 460px) {
  .masonry { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .case-metrics { grid-template-columns: 1fr; }
  .stat { padding: 1.5rem 1rem; }
}
