:root {
  --brand: #e0552f;
  --brand-dark: #bc3f1f;
  --brand-soft: #3a241e;
  --accent: #0f4c81;
  --ink: #e8eef7;
  --muted: #9aabbe;
  --line: #253246;
  --surface: #0f1724;
  --white: #f6f8fc;
  --radius: 16px;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  /* Langzaam genoeg om rustig te blijven, kort genoeg om binnen ~15–20s een duidelijke “adem” te zien */
  --glow-warm-duration: 12s;
  --glow-warm-ease: ease-in-out;
}

/* Eén gedeelde “adem” voor alle warme achtergrondlagen (zichtbaarder, zelfde karakter overal) */
@keyframes vLWarmthMuted {

  0%,
  100% {
    opacity: 0.58;
    filter: brightness(0.9) saturate(0.9);
  }

  50% {
    opacity: 1;
    filter: brightness(1.16) saturate(1.14);
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", Arial,
    sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #0b121c 0%, #0f1724 100%);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

/* Deep links: sticky header offset for scroll-into-view */
#aanvraag,
#lead-form {
  scroll-margin-top: 5.5rem;
}

/* Blur lives on ::before so backdrop-filter does not create a fixed-position
   containing block for the mobile drawer nav (would clip it to header height). */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(9, 15, 24, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  pointer-events: none;
}

.site-header-inner {
  position: relative;
  z-index: 1;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  display: block;
  width: auto;
  height: 52px;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.24));
  transition: transform 0.2s ease, filter 0.2s ease;
}

/* Woordmerkkleuren expliciet t.o.v. globale `a { color: inherit }` (voorkomt alles-wit FOUC). */
.site-header .brand .brand-vl {
  color: var(--brand);
}

.site-header .brand .brand-warmte {
  color: var(--white);
}

.brand-text-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  flex-shrink: 1;
  min-width: 0;
  gap: 0.12rem;
}

.brand-wordmark-row {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  font-weight: 800;
  font-size: clamp(1.38rem, 0.55rem + 1.85vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand-vl {
  margin-right: 0.22em;
}

/* Inline woordmerk (oranje VL + Warmte), zelfde opbouw als logo */
.wordmark {
  display: inline;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.wordmark .brand-vl {
  color: var(--brand);
}

.wordmark .brand-warmte {
  color: inherit;
  font-weight: inherit;
}

/* Oranje “vl” in het domein; “Warmte” en .nl als gewone linktekst (geen woordmerk-margin) */
.email-domain-vl {
  color: var(--brand);
  font-weight: 700;
}

.brand-tagline {
  display: none;
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(154, 171, 190, 0.92);
  line-height: 1.25;
  max-width: 20rem;
}

@media (min-width: 1081px) {
  .brand-tagline {
    display: block;
  }
}

.brand:hover .brand-mark {
  transform: translateY(-1px);
  filter: drop-shadow(0 6px 14px rgba(224, 85, 47, 0.28));
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  flex: 1;
  min-width: 0;
  flex-wrap: nowrap;
}

.site-nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  padding-bottom: 0.18rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.drawer-cta {
  display: none;
}

.site-nav a:hover,
.site-nav a.is-current {
  color: var(--ink);
  border-bottom-color: var(--brand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(188, 63, 31, 0.32);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(188, 63, 31, 0.36);
}

.btn-secondary {
  background: #111c2a;
  color: #d7e9fb;
  border: 1px solid rgba(95, 163, 224, 0.36);
}

.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 76, 129, 0.16);
}

/* Facebook: eigen CTA i.p.v. embedded Like-plugin (geen SDK / geen third-party cookies vóór klik; NL/EU-vriendelijk). */
.btn-social-facebook {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.85rem 0.38rem 0.6rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.8125rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #fff;
  background: #0866ff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 12px rgba(8, 102, 255, 0.38);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.btn-social-facebook:hover {
  background: #0756d9;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(8, 102, 255, 0.48);
}

.btn-social-facebook:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

.btn-social-facebook__icon {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.btn-social-facebook--lg {
  padding: 0.55rem 1.1rem 0.55rem 0.85rem;
  font-size: 0.9rem;
  gap: 0.55rem;
}

.btn-social-facebook--lg .btn-social-facebook__icon {
  width: 1.2rem;
  height: 1.2rem;
}

.site-footer .footer-social-item {
  margin-bottom: 0.55rem;
}

.site-footer .footer-nav .btn-social-facebook {
  margin-top: 0.15rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  padding: 0;
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 600;
}

.nav-toggle:hover {
  border-color: rgba(224, 85, 47, 0.48);
  color: #ffffff;
}

.hero {
  position: relative;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #0f1724 0%, #101a2a 100%);
  padding: 5rem 0 3.4rem;
  isolation: isolate;
}

/* Gekleurde gloed: warm middenveld + oranje accent + blauw (zelfde animatiesnelheid) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 96% 2%, rgba(224, 85, 47, 0.55), rgba(224, 85, 47, 0.18) 28%, transparent 44%),
    radial-gradient(circle at 12% 82%, rgba(95, 163, 224, 0.26), transparent 46%),
    radial-gradient(circle at 72% 24%, rgba(224, 85, 47, 0.5), transparent 54%),
    radial-gradient(ellipse 110% 95% at 48% 46%, rgba(224, 85, 47, 0.26), transparent 58%),
    radial-gradient(ellipse 140% 120% at 50% 48%, rgba(188, 63, 31, 0.12), transparent 72%);
  pointer-events: none;
  animation: vLWarmthMuted var(--glow-warm-duration) var(--glow-warm-ease) infinite alternate;
  will-change: opacity, filter;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -100px -160px auto;
  z-index: 0;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(95, 163, 224, 0.3), transparent 72%);
  pointer-events: none;
  animation: vLWarmthMuted calc(var(--glow-warm-duration) * 0.9) var(--glow-warm-ease) infinite alternate;
  animation-delay: -3s;
  will-change: opacity, filter;
}

.hero>* {
  position: relative;
  z-index: 1;
}

.hero-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  max-width: 62rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-eyebrow-rule {
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--brand);
  flex-shrink: 0;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.hero-headline {
  font-size: clamp(2.4rem, 1.4rem + 3.4vw, 3.9rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: pretty;
}

.hero-headline em {
  font-style: normal;
  background: linear-gradient(120deg, var(--brand) 0%, #f08a64 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.lead {
  font-size: 1.06rem;
  color: var(--muted);
}

.hero-lead {
  max-width: 62ch;
  margin: 0;
}

.trust-strip {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.4rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.trust-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand);
  background: rgba(224, 85, 47, 0.12);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin: 0.35rem 0 0;
}

/* Compact direct-contactblok — boven het lead-formulier op contact.html en als korte regel onder de hero op stadspagina's. */
.contact-direct {
  margin: 1.25rem 0 0;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(95, 163, 224, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.contact-direct__intro {
  margin: 0 0 0.6rem;
}

.contact-direct__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.75rem;
}

.contact-direct__btn {
  flex: 1 1 auto;
  text-align: center;
  min-width: 0;
}

.contact-direct__note {
  margin: 0.7rem 0 0;
  opacity: 0.8;
}

@media (max-width: 540px) {
  .contact-direct__choices {
    flex-direction: column;
  }

  .contact-direct__btn {
    width: 100%;
  }
}

/* "Zo werkt het na insturen" — staat boven de mode-switch op contact.html voor alle modi. */
.contact-process {
  margin: 0 0 1.4rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(95, 163, 224, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.contact-process__title {
  font-size: 1.1rem;
  margin: 0 0 0.6rem;
}

.contact-process__steps {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.5rem;
}

.contact-process__steps li {
  line-height: 1.45;
}

.contact-process__meta {
  margin: 0.8rem 0 0;
  opacity: 0.85;
}

/* In offerte-modus mag het lead-formulier de visueel dominante actie zijn.
   We degraderen de tel:/sms:-knoppen in de page-hero naar een secundaire stijl,
   zonder ze te verbergen — bellen blijft beschikbaar als alternatief. */
body.lead-mode-offerte .contact-direct__btn.btn-primary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

body.lead-mode-offerte .contact-direct__btn.btn-primary:hover,
body.lead-mode-offerte .contact-direct__btn.btn-primary:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--brand);
  color: var(--ink);
}

/* Lichte regel onder de hero-CTA op stadspagina's: bel + informatie aanvragen. */
.hero-soft-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.85rem;
  align-items: center;
  margin: 0.6rem 0 0;
}

.hero-soft-row .hero-soft-row__intro {
  margin: 0;
  flex: 1 1 100%;
}

.hero-soft-row .btn {
  padding: 0.55rem 1rem;
  font-size: 0.95rem;
}

/* Project-hero op projecten.html — één uitgelicht project, één foto, twee CTA's. */
.project-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.project-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}

.project-hero__copy h1 {
  font-size: clamp(1.65rem, 1.1rem + 2.2vw, 2.6rem);
  line-height: 1.15;
  margin: 0;
}

.project-hero__note {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.project-hero__media {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.project-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

@media (max-width: 820px) {
  .project-hero {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .project-hero__media {
    order: -1;
  }
}

.section {
  padding: 4rem 0;
}

.section-muted {
  position: relative;
  z-index: 0;
  overflow: hidden;
  background: var(--surface);
  isolation: isolate;
}

/* Zelfde oranje–blauw sfeer, zeer zacht; base blijft --surface */
.section-muted::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(224, 85, 47, 0.24) 0%, rgba(95, 163, 224, 0.22) 100%);
  pointer-events: none;
  animation: vLWarmthMuted calc(var(--glow-warm-duration) * 1.1) var(--glow-warm-ease) infinite alternate;
  will-change: opacity, filter;
}

.section-muted>* {
  position: relative;
  z-index: 1;
}

.section-home-services {
  position: relative;
  overflow: hidden;
  /* PNG fallback; WebP when supported (smaller transfer for Lighthouse “modern formats”) */
  background:
    linear-gradient(140deg, rgba(7, 12, 20, 0.86) 0%, rgba(9, 16, 27, 0.78) 50%, rgba(8, 15, 25, 0.88) 100%),
    url("../img/hero-heating-room.png") center/cover no-repeat;
}

@supports (background: image-set(url("a") 1x)) {
  .section-home-services {
    background:
      linear-gradient(140deg, rgba(7, 12, 20, 0.86) 0%, rgba(9, 16, 27, 0.78) 50%, rgba(8, 15, 25, 0.88) 100%),
      image-set(url("../img/hero-heating-room.webp") type("image/webp"),
        url("../img/hero-heating-room.png") type("image/png")) center/cover no-repeat;
  }
}

.section-home-services::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 78% 26%, rgba(224, 85, 47, 0.46), transparent 44%),
    radial-gradient(circle at 20% 82%, rgba(95, 163, 224, 0.36), transparent 42%);
  pointer-events: none;
  animation: vLWarmthMuted calc(var(--glow-warm-duration) * 1.2) var(--glow-warm-ease) infinite alternate;
  will-change: opacity, filter;
}

.section-home-services .container {
  position: relative;
  z-index: 1;
}

.section-head {
  max-width: 750px;
  margin-bottom: 1.6rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: linear-gradient(160deg, #122033 0%, #101a29 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.15rem;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
  border-color: rgba(224, 85, 47, 0.45);
}

.card h3 {
  font-size: 1.08rem;
}

.card h2.section-title {
  font-size: 1.08rem;
  margin: 0 0 0.75rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.step {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1rem;
  background: linear-gradient(160deg, #112033 0%, #101a2a 100%);
}

.step .nr {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
}

.cta-band {
  position: relative;
  z-index: 0;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(140deg, #111827 0%, #1b3450 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 18px 34px rgba(17, 24, 39, 0.2);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 90% 80% at 80% 50%, rgba(224, 85, 47, 0.22), transparent 52%),
    radial-gradient(ellipse 70% 60% at 10% 80%, rgba(95, 163, 224, 0.18), transparent 48%);
  pointer-events: none;
  animation: vLWarmthMuted var(--glow-warm-duration) var(--glow-warm-ease) infinite alternate;
  animation-delay: -2s;
  will-change: opacity, filter;
}

.cta-band>* {
  position: relative;
  z-index: 1;
}

.cta-band a:not(.btn) {
  color: rgba(255, 255, 255, 0.94);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.cta-band a:not(.btn):hover {
  color: #fff;
}

.cta-band-stack {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: stretch;
  min-width: min(100%, 15.5rem);
}

@media (min-width: 769px) {
  .cta-band-stack {
    align-items: flex-end;
  }
}

.page-hero {
  position: relative;
  z-index: 0;
  overflow: hidden;
  padding: 2rem 0 0.95rem;
  isolation: isolate;
}

@media (min-width: 1081px) {
  .page-hero {
    padding: 3.4rem 0 1.4rem;
  }
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(125deg, rgba(224, 85, 47, 0.12) 0%, rgba(95, 163, 224, 0.14) 50%, rgba(15, 23, 36, 0) 100%);
  pointer-events: none;
  animation: vLWarmthMuted var(--glow-warm-duration) var(--glow-warm-ease) infinite alternate;
  animation-delay: -5s;
  will-change: opacity, filter;
}

.page-hero>* {
  position: relative;
  z-index: 1;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

#garantie .garantie-voorwaarden {
  margin-top: 1rem;
}

.site-footer {
  position: relative;
  z-index: 0;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, #0d1624 0%, #0a1320 100%);
  overflow: hidden;
  isolation: isolate;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 120% 80% at 50% 100%, rgba(224, 85, 47, 0.14), transparent 52%),
    radial-gradient(ellipse 100% 60% at 0% 0%, rgba(95, 163, 224, 0.12), transparent 44%);
  pointer-events: none;
  animation: vLWarmthMuted var(--glow-warm-duration) var(--glow-warm-ease) infinite alternate;
  will-change: opacity, filter;
}

.site-footer .container,
.site-footer>* {
  position: relative;
  z-index: 1;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
  padding: 2rem 0;
}

.site-footer h2.footer-block-title,
.site-footer h3 {
  font-size: 1rem;
}

.site-footer .footer-address {
  font-style: normal;
  margin: 0.5rem 0 0.35rem;
  line-height: 1.5;
}

.site-footer .footer-contact {
  margin: 0.35rem 0 0;
  line-height: 1.55;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.site-footer .footer-tagline {
  margin: 0.1rem 0 0.45rem;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  color: rgba(200, 212, 228, 0.88);
  max-width: 20rem;
  line-height: 1.35;
}

@media (min-width: 1081px) {
  .site-footer .footer-tagline {
    display: none;
  }
}

.site-footer .footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.page-404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1.25rem;
}

.small {
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: linear-gradient(180deg, #112035 0%, #0f1a2d 100%);
}

.faq-question {
  width: 100%;
  border: 0;
  text-align: left;
  padding: 0.9rem 1rem;
  background: transparent;
  font: inherit;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  cursor: pointer;
  color: var(--ink);
}

.faq-answer {
  padding: 0 1rem 1rem;
  display: none;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #c6d0df;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-answer p {
  margin: 0;
}

.faq-answer a {
  color: #e4eaf5;
  text-decoration: underline;
  text-decoration-color: rgba(95, 163, 224, 0.45);
  text-underline-offset: 0.15em;
}

.faq-answer a:hover {
  text-decoration-color: rgba(95, 163, 224, 0.75);
}

.mode-switch {
  display: inline-flex;
  flex-wrap: wrap;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.2rem;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.03);
}

.mode-switch button {
  border: 0;
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--muted);
  white-space: nowrap;
}

.mode-switch button.is-active {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.form-hint {
  margin: -0.1rem 0 0.45rem;
  line-height: 1.35;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 0.62rem 0.75rem;
  font: inherit;
  background: #0c1523;
  color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(95, 163, 224, 0.65);
  box-shadow: 0 0 0 4px rgba(95, 163, 224, 0.2);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.field-full {
  grid-column: 1 / -1;
}

.hidden {
  display: none !important;
}

.status {
  margin-top: 0.7rem;
  font-weight: 600;
}

.error {
  color: #b42318;
}

.success {
  color: #0f7d44;
}

@media (max-width: 1080px) {
  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header-inner {
    min-height: 64px;
  }

  .brand-mark {
    height: 44px;
  }

  .brand-wordmark-row {
    font-size: clamp(1.22rem, 0.4rem + 2.4vw, 1.85rem);
  }

  .site-header.is-open::after {
    content: "";
    position: fixed;
    inset: 64px 0 0 0;
    background: rgba(1, 6, 16, 0.54);
    z-index: 35;
  }

  /* Inner wraps logo + drawer; must stack above ::after (35) or the dimmer covers the menu. */
  .site-header.is-open .site-header-inner {
    z-index: 50;
  }

  .site-header.is-open .site-nav {
    display: flex;
    position: fixed;
    width: min(88vw, 340px);
    right: 0;
    left: auto;
    top: 64px;
    bottom: 0;
    z-index: 40;
    background: linear-gradient(180deg, #0d1624 0%, #0a121f 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: -12px 0 28px rgba(0, 0, 0, 0.35);
    padding: 1.1rem 1.1rem 1.4rem;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.9rem;
    overflow-y: auto;
  }

  .site-header.is-open .site-nav a {
    font-size: 1.04rem;
    width: 100%;
    padding: 0.25rem 0 0.42rem;
    border-bottom-width: 1px;
    border-bottom-color: rgba(255, 255, 255, 0.06);
  }

  .site-header.is-open .site-nav .drawer-cta {
    display: inline-flex;
    width: auto;
    margin-top: 0.25rem;
    border-bottom: 0;
    padding: 0.58rem 0.95rem;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 700;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  }

  .cards,
  .steps,
  .two-col,
  .site-footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding: 2.5rem 0 2rem;
  }

  .page-hero+.section,
  .hero+.section {
    padding-top: 1.75rem;
  }
}

@media (max-width: 560px) {
  .site-header-inner {
    min-height: 60px;
  }

  .brand-mark {
    height: 40px;
  }

  .brand-wordmark-row {
    font-size: clamp(1.12rem, 0.35rem + 3.2vw, 1.62rem);
  }

  .site-header.is-open::after {
    inset: 60px 0 0 0;
  }

  .site-header.is-open .site-nav {
    top: 60px;
    width: 90vw;
    padding: 1rem;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
    font-size: 1.25rem;
  }

  .hero {
    padding: 2rem 0 1.65rem;
  }

  .page-hero {
    padding: 1.65rem 0 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  .hero::before,
  .hero::after,
  .section-muted::before,
  .section-home-services::before,
  .page-hero::before,
  .cta-band::before,
  .site-footer::before {
    animation: none !important;
  }

  .hero::before {
    opacity: 0.9;
    filter: brightness(1.05) saturate(1.05);
  }

  .hero::after {
    opacity: 0.72;
    filter: brightness(1.02) saturate(1.02);
  }

  .section-muted::before,
  .section-home-services::before,
  .page-hero::before,
  .cta-band::before,
  .site-footer::before {
    opacity: 0.85;
    filter: brightness(1.03) saturate(1.03);
  }
}