/* ============================================================
   Habio — Building & Renovation, Brussels & Brabant
   Design system + components
   Theme: engineering / plumb-line precision
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Colour */
  --ink:      #10202b;   /* deep slate-petrol, near-black */
  --ink-2:    #16303e;   /* raised dark surface */
  --ink-3:    #1e4152;   /* mid petrol */
  --ochre:    #e3a11b;   /* signature golden ochre */
  --ochre-2:  #c8860e;   /* darker ochre for hover / gradient */
  --ochre-soft:#f6e2b0;  /* pale ochre wash */
  --paper:    #ffffff;
  --mist:     #eef2f4;   /* cool light grey section bg */
  --mist-2:   #e4eaed;
  --line:     #d4dce0;   /* hairline borders */
  --line-2:   #e6ecee;
  --muted:    #52626b;   /* secondary text on light */
  --muted-d:  #9db2bc;   /* secondary text on dark */
  --dim-d:    #6f8892;   /* faint text on dark */
  --good:     #2f8f6b;

  /* Type */
  --display: "Archivo Expanded", "Arial Narrow", system-ui, sans-serif;
  --body:    "IBM Plex Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Radius */
  --r-sm: 4px;
  --r:    8px;
  --r-lg: 12px;

  /* Layout */
  --wrap: 1240px;
  --wrap-narrow: 940px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(4.5rem, 9vw, 8rem);

  --shadow: 0 1px 2px rgba(16,32,43,.06), 0 8px 30px rgba(16,32,43,.06);
  --shadow-lg: 0 24px 60px rgba(16,32,43,.16);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 2px; }

/* ---------- Type helpers ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.04; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); letter-spacing: -0.005em; }
p { text-wrap: pretty; }

.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ochre-2);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--ochre);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--ochre); }

.lede { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--muted); line-height: 1.6; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--wrap-narrow); }
.section { padding-block: var(--section); }
.section-head { max-width: 640px; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head h2 { margin-top: .7rem; }
.section-head p { margin-top: 1rem; }
.center { text-align: center; margin-inline: auto; }
.center .eyebrow { justify-content: center; }

.bg-ink { background: var(--ink); color: #e9f1f4; }
.bg-mist { background: var(--mist); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--body); font-weight: 600; font-size: .98rem;
  padding: .82em 1.4em; border-radius: var(--r-sm);
  border: 1px solid transparent; letter-spacing: .005em;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn-primary { background: var(--ochre); color: #23180a; box-shadow: 0 6px 18px rgba(227,161,27,.28); }
.btn-primary:hover { background: var(--ochre-2); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(227,161,27,.34); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-ghost.on-dark { color: #eaf1f4; border-color: rgba(255,255,255,.22); }
.btn-ghost.on-dark:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.04); }
.btn-lg { padding: 1em 1.7em; font-size: 1.02rem; }

/* ---------- Top navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav-inner {
  display: flex; align-items: center; gap: 2rem;
  height: 76px; width: 100%; max-width: var(--wrap);
  margin-inline: auto; padding-inline: var(--gutter);
}
.nav.scrolled {
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(16,32,43,.05);
}
.brand { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.brand svg { width: 30px; height: 34px; }
.brand-name {
  font-family: var(--display); font-weight: 800; font-size: 1.32rem;
  letter-spacing: .04em; color: var(--ink); line-height: 1;
}
.nav.at-top:not(.scrolled) .brand-name { color: #fff; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.nav-links a {
  font-size: .93rem; font-weight: 500; color: var(--ink);
  position: relative; padding: .3em 0; transition: color .15s ease;
}
.nav.at-top:not(.scrolled) .nav-links a { color: #d7e4ea; }
.nav.at-top:not(.scrolled) .nav-links a:hover { color: #fff; }
.nav-links a:not(.btn):hover { color: var(--ochre-2); }
.nav.at-top:not(.scrolled) .nav-links a.active { color: #fff; }
.nav-links a.active:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--ochre); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 1rem; margin-left: .4rem; }
.nav-phone {
  font-family: var(--mono); font-size: .9rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: .45em; color: var(--ink);
}
.nav.at-top:not(.scrolled) .nav-phone { color: #eaf1f4; }
.nav-phone svg { width: 15px; height: 15px; color: var(--ochre); }
.lang {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .08em;
  display: flex; gap: .1rem; align-items: center;
}
.lang a { padding: .2em .35em; border-radius: 3px; color: var(--muted); }
.nav.at-top:not(.scrolled) .lang a { color: var(--muted-d); }
.lang a.on { color: var(--ink); font-weight: 600; }
.nav.at-top:not(.scrolled) .lang a.on { color: #fff; }
.lang span { color: var(--line); }

.burger { display: none; width: 44px; height: 44px; border: 0; background: none; position: relative; margin-left: auto; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: .25s; }
.nav.at-top:not(.scrolled) .burger span { background: #fff; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
.nav.menu-open .burger span { background: var(--ink) !important; }

/* mobile menu panel */
.mobile-menu {
  position: fixed; inset: 76px 0 0 0; z-index: 90;
  background: var(--paper); padding: 1.4rem var(--gutter) 2rem;
  display: none; flex-direction: column; gap: .3rem;
  border-top: 1px solid var(--line);
  transform: translateY(-8px); opacity: 0; transition: .22s ease;
  overflow-y: auto;
}
.mobile-menu.show { display: flex; transform: none; opacity: 1; }
.mobile-menu a { padding: .85rem .2rem; font-size: 1.05rem; font-weight: 500; border-bottom: 1px solid var(--line-2); }
.mobile-menu .btn { margin-top: 1rem; justify-content: center; }
.mobile-menu .m-phone { font-family: var(--mono); color: var(--ochre-2); border: 0; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; background: var(--ink); color: #eaf1f4;
  padding-top: 76px; overflow: hidden;
}
.hero::before { /* faint technical grid */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 100% at 70% 20%, #000 40%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 100% at 70% 20%, #000 40%, transparent 78%);
  pointer-events: none;
}
.hero::after { /* ochre glow */
  content: ""; position: absolute; top: -20%; right: -10%;
  width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(227,161,27,.16), transparent 62%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  min-height: min(86vh, 820px);
  padding-block: clamp(3rem, 6vw, 5rem);
}
.hero-copy { max-width: 620px; }
.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 5.1rem); line-height: 1.0;
  margin: 1.1rem 0 0; color: #fff;
}
.hero h1 .accent { color: var(--ochre); }
.hero-sub { margin-top: 1.4rem; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: #c3d4db; max-width: 33em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-meta {
  margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: .55rem .5rem; align-items: center;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; color: var(--muted-d);
}
.hero-meta .pin { color: var(--ochre); }
.hero-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--dim-d); display: inline-block; }

/* trust chips under hero */
.trust-strip {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 1.6rem 2.2rem; align-items: center;
  padding-block: 1.3rem; margin-top: auto;
}
.chip { display: flex; align-items: center; gap: .6rem; font-size: .86rem; color: #cddbe1; }
.chip svg { width: 20px; height: 20px; color: var(--ochre); flex-shrink: 0; }
.chip b { color: #fff; font-weight: 600; }
.chip .stars { color: var(--ochre); letter-spacing: .05em; }

/* blueprint drawing */
.blueprint { position: relative; z-index: 2; width: 100%; }
.blueprint svg { width: 100%; height: auto; overflow: visible; }
.bp-line { fill: none; stroke: #7fb3c4; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.bp-line.strong { stroke: #cfe4ec; stroke-width: 1.6; }
.bp-accent { fill: none; stroke: var(--ochre); stroke-width: 1.8; vector-effect: non-scaling-stroke; }
.bp-fill-ochre { fill: rgba(227,161,27,.12); stroke: var(--ochre); stroke-width: 1.4; }
.bp-glass { fill: rgba(127,179,196,.10); }
.bp-tick { stroke: #6f97a6; stroke-width: 1; }
.bp-dim { fill: #9db2bc; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; }
.bp-dim.ochre { fill: var(--ochre); }
.bp-node { fill: var(--ink); stroke: var(--ochre); stroke-width: 1.6; }

@media (prefers-reduced-motion: no-preference) {
  .bp-draw { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); animation: draw 1.5s ease forwards; }
  .bp-draw.d1 { animation-delay: .1s; } .bp-draw.d2 { animation-delay: .35s; }
  .bp-draw.d3 { animation-delay: .6s; } .bp-draw.d4 { animation-delay: .85s; }
  .bp-fade { opacity: 0; animation: bpfade .6s ease forwards 1.1s; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes bpfade { to { opacity: 1; } }
}

/* ============================================================
   Logo strip / credentials bar
   ============================================================ */
.credbar { border-block: 1px solid var(--line); background: var(--paper); }
.credbar-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1rem 2.6rem; padding-block: 1.5rem;
}
.credbar .label { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.credbadge { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .92rem; color: var(--ink); }
.credbadge .code { font-family: var(--mono); font-weight: 500; font-size: .7rem; color: var(--ochre-2); border: 1px solid var(--line); border-radius: 3px; padding: .15em .45em; }

/* ============================================================
   Services grid
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.svc-grid .svc-card:nth-child(4) { grid-column: span 1; }
.svc-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.7rem 1.6rem; overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.svc-card::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--ochre); transform: scaleY(0); transform-origin: top; transition: transform .28s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--mist-2); }
.svc-card:hover::after { transform: scaleY(1); }
.svc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.svc-icon {
  width: 50px; height: 50px; border-radius: var(--r-sm);
  background: var(--ink); color: var(--ochre);
  display: grid; place-items: center; flex-shrink: 0;
}
.svc-icon svg { width: 26px; height: 26px; }
.svc-code { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; color: var(--muted); border: 1px solid var(--line); border-radius: 3px; padding: .25em .5em; }
.svc-card h3 { margin-bottom: .55rem; }
.svc-card p { font-size: .95rem; color: var(--muted); margin-bottom: 1rem; }
.svc-list { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.2rem; }
.svc-list li { font-size: .78rem; color: var(--ink); background: var(--mist); border-radius: 100px; padding: .3em .75em; }
.svc-more { margin-top: auto; font-weight: 600; font-size: .9rem; color: var(--ochre-2); display: inline-flex; align-items: center; gap: .4em; }
.svc-more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.svc-card:hover .svc-more svg { transform: translateX(4px); }

/* ============================================================
   Why us / credentials cards
   ============================================================ */
.why { position: relative; }
.cred-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.cred-card {
  background: var(--ink-2); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r); padding: 1.7rem 1.6rem; color: #dbe6eb;
  transition: transform .2s ease, border-color .2s ease;
}
.cred-card:hover { transform: translateY(-3px); border-color: rgba(227,161,27,.4); }
.cred-head { display: flex; align-items: center; gap: .8rem; margin-bottom: .8rem; }
.cred-icon { width: 42px; height: 42px; border-radius: var(--r-sm); background: rgba(227,161,27,.14); color: var(--ochre); display: grid; place-items: center; flex-shrink: 0; }
.cred-icon svg { width: 22px; height: 22px; }
.cred-card h3 { color: #fff; }
.cred-card p { font-size: .92rem; color: #a9bec8; }
.cred-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }
.cred-tags span { font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; color: var(--ochre); border: 1px solid rgba(227,161,27,.3); border-radius: 3px; padding: .25em .55em; }

/* ============================================================
   Process (numbered — a real sequence)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; counter-reset: step; }
.step { position: relative; padding-top: 2.6rem; }
.step .num {
  position: absolute; top: 0; left: 0;
  font-family: var(--display); font-weight: 800; font-size: 2.4rem; color: var(--mist-2); line-height: 1;
}
.step h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.step p { font-size: .9rem; color: var(--muted); }
.step::before {
  content: ""; position: absolute; top: 1.1rem; left: 3.4rem; right: -.6rem; height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.step:last-child::before { display: none; }

/* ============================================================
   Coverage / service area
   ============================================================ */
.cover-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,4vw,3.5rem); align-items: center; }
.cover-map { position: relative; }
.cover-map svg { width: 100%; height: auto; }
.town-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.town-list li {
  font-size: .84rem; font-weight: 500; color: var(--ink);
  border: 1px solid var(--line); border-radius: 100px; padding: .35em .85em; background: var(--paper);
}
.town-list li.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.town-list li.primary::before { content: "●"; color: var(--ochre); margin-right: .4em; font-size: .7em; }
.lang-note {
  margin-top: 1.6rem; padding: 1rem 1.2rem; border-left: 3px solid var(--ochre);
  background: var(--ochre-soft); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: .92rem; color: #5a4410;
}
.lang-note b { color: #3f2f08; }

/* ============================================================
   Subsidy band
   ============================================================ */
.subsidy { background: linear-gradient(135deg, var(--ink) 0%, var(--ink-3) 130%); color: #e9f1f4; position: relative; overflow: hidden; }
.subsidy::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px; opacity: .6;
  mask-image: linear-gradient(90deg, transparent, #000 60%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.subsidy-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem,4vw,3.6rem); align-items: center; }
.subsidy h2 { color: #fff; }
.subsidy .lede { color: #b9cbd3; }
.prem-cards { display: grid; gap: .9rem; }
.prem {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r); padding: 1.2rem 1.3rem; display: flex; gap: 1rem; align-items: flex-start;
}
.prem .amt { font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--ochre); line-height: 1; white-space: nowrap; }
.prem h4 { font-family: var(--body); font-weight: 600; font-size: 1rem; color: #fff; margin-bottom: .25rem; }
.prem p { font-size: .85rem; color: #a9bec8; }
.subsidy-note { margin-top: 1.2rem; font-size: .78rem; color: var(--dim-d); font-family: var(--mono); }

/* ============================================================
   Testimonials
   ============================================================ */
.quotes { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.1rem; }
.quote {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.6rem; display: flex; flex-direction: column;
}
.quote .stars { color: var(--ochre); letter-spacing: .1em; margin-bottom: .9rem; font-size: .95rem; }
.quote p { font-size: .97rem; color: var(--ink); line-height: 1.6; margin-bottom: 1.2rem; }
.quote .who { margin-top: auto; display: flex; align-items: center; gap: .75rem; }
.quote .av { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--ochre); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: .95rem; flex-shrink: 0; }
.quote .who b { display: block; font-size: .9rem; }
.quote .who span { font-family: var(--mono); font-size: .74rem; color: var(--muted); }

/* project gallery placeholders */
.gallery { display: grid; grid-template-columns: repeat(4,1fr); gap: .8rem; margin-top: 2.2rem; }
.shot {
  aspect-ratio: 4/3; border-radius: var(--r-sm); overflow: hidden; position: relative;
  background: linear-gradient(135deg, var(--mist) 0%, var(--mist-2) 100%);
  border: 1px dashed var(--line); display: grid; place-items: center;
}
.shot span { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; text-align: center; padding: .5rem; }
.shot svg { width: 26px; height: 26px; color: var(--line); position: absolute; top: 10px; left: 10px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin-inline: auto; }
.qa { border-bottom: 1px solid var(--line); }
.qa button {
  width: 100%; text-align: left; background: none; border: 0;
  padding: 1.25rem 3rem 1.25rem 0; position: relative;
  font-family: var(--display); font-weight: 700; font-size: clamp(1.02rem,1.4vw,1.18rem);
  color: var(--ink); letter-spacing: -0.005em; line-height: 1.3;
}
.qa button::after {
  content: ""; position: absolute; right: .3rem; top: 1.6rem;
  width: 14px; height: 14px; flex-shrink: 0;
  background: var(--ochre-2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .25s ease;
}
.qa.open button::after { transform: rotate(135deg); }
.qa .ans { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.qa .ans p { padding: 0 2rem 1.4rem 0; color: var(--muted); font-size: .97rem; }

/* ============================================================
   Contact / CTA
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem,4vw,3.5rem); align-items: start; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-info .lede { margin-bottom: 2rem; }
.info-row { display: flex; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line); align-items: flex-start; }
.info-row:last-child { border-bottom: 1px solid var(--line); }
.info-row .ic { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--mist); color: var(--ink); display: grid; place-items: center; flex-shrink: 0; }
.info-row .ic svg { width: 20px; height: 20px; }
.info-row .k { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.info-row .v { font-weight: 600; font-size: 1.02rem; }
.info-row .v a:hover { color: var(--ochre-2); }
.info-row .v small { display: block; font-weight: 400; font-size: .85rem; color: var(--muted); font-family: var(--body); }

.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.6rem,3vw,2.4rem); box-shadow: var(--shadow); }
.form-card h3 { margin-bottom: .4rem; }
.form-card .sub { color: var(--muted); font-size: .92rem; margin-bottom: 1.6rem; }
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .4rem; }
.field label .req { color: var(--ochre-2); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink);
  background: var(--mist); border: 1px solid transparent; border-radius: var(--r-sm);
  padding: .8em .9em; transition: border-color .15s ease, background .15s ease;
}
.field textarea { resize: vertical; min-height: 108px; }
.field input:focus, .field select:focus, .field textarea:focus { background: #fff; border-color: var(--ochre); outline: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; }
.form-card .btn { width: 100%; justify-content: center; margin-top: .4rem; }
.form-note { margin-top: 1rem; font-size: .8rem; color: var(--muted); text-align: center; }
.form-ok { display: none; text-align: center; padding: 2rem 1rem; }
.form-ok.show { display: block; }
.form-ok .tick { width: 56px; height: 56px; border-radius: 50%; background: rgba(47,143,107,.12); color: var(--good); display: grid; place-items: center; margin: 0 auto 1rem; }
.form-ok .tick svg { width: 30px; height: 30px; }
.form-ok h3 { margin-bottom: .5rem; }
.form-ok p { color: var(--muted); }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--ink); color: #b7c7ce; padding-block: clamp(3rem,6vw,4.5rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.6rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand-name { color: #fff; }
.footer-about { font-size: .9rem; color: #93a9b3; margin-top: 1rem; max-width: 30ch; }
.footer h4 { font-family: var(--mono); font-weight: 500; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ochre); margin-bottom: 1.1rem; }
.footer-col a, .footer-col li { display: block; font-size: .9rem; color: #b7c7ce; padding: .3rem 0; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .6rem; font-size: .9rem; padding: .35rem 0; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; color: var(--ochre); flex-shrink: 0; margin-top: .2rem; }
.footer-badges { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.2rem; }
.footer-badges span { font-family: var(--mono); font-size: .64rem; letter-spacing: .06em; color: var(--dim-d); border: 1px solid rgba(255,255,255,.14); border-radius: 3px; padding: .25em .5em; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding-top: 1.8rem; font-size: .82rem; color: #7d95a0; }
.footer-bottom a { color: #9db2bc; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .legal { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* ============================================================
   Page hero (interior pages)
   ============================================================ */
.page-hero { background: var(--ink); color: #eaf1f4; padding: calc(76px + clamp(3rem,6vw,5rem)) 0 clamp(3rem,6vw,4.5rem); position: relative; overflow: hidden; }
.page-hero::before { content:""; position:absolute; inset:0; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(110% 120% at 80% 0%, #000 40%, transparent 80%); -webkit-mask-image: radial-gradient(110% 120% at 80% 0%, #000 40%, transparent 80%); }
.page-hero::after { content:""; position:absolute; top:-30%; right:-5%; width:40vw; height:40vw; max-width:520px; max-height:520px; background: radial-gradient(circle, rgba(227,161,27,.14), transparent 62%); }
.crumbs { position: relative; font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; color: var(--muted-d); display: flex; gap: .5rem; align-items: center; margin-bottom: 1.4rem; }
.crumbs a:hover { color: #fff; } .crumbs .sep { color: var(--dim-d); }
.page-hero h1 { position: relative; font-size: clamp(2.3rem,5vw,3.9rem); color: #fff; max-width: 640px; }
.page-hero .lede { position: relative; color: #bccdd4; margin-top: 1.2rem; max-width: 56ch; }
.page-hero .hero-actions { margin-top: 1.8rem; }
.page-hero .svc-code-lg { display:inline-flex; font-family: var(--mono); font-size:.72rem; letter-spacing:.16em; color: var(--ochre); border:1px solid rgba(227,161,27,.35); border-radius:4px; padding:.3em .7em; margin-bottom:.4rem; }

/* two-column content on service pages */
.split { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem,4vw,3.5rem); align-items: start; }
.prose h2 { margin: 0 0 1rem; }
.prose h3 { margin: 2rem 0 .7rem; }
.prose p { color: var(--muted); margin-bottom: 1rem; }
.prose ul.checks { margin: 1rem 0 1.5rem; display: grid; gap: .6rem; }
.prose ul.checks li { display: flex; gap: .7rem; font-size: .97rem; color: var(--ink); align-items: flex-start; }
.prose ul.checks li::before { content:""; width:20px; height:20px; flex-shrink:0; margin-top:1px; background: var(--good); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }

.aside-card { background: var(--mist); border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; position: sticky; top: 96px; }
.aside-card h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.aside-card .info-row { padding: .8rem 0; }
.aside-card .info-row:first-child { border-top: 0; padding-top: 0; }
.aside-card .info-row:last-child { border-bottom: 0; }
.aside-card .btn { width: 100%; justify-content: center; margin-top: 1.2rem; }

.tag-list { display: grid; grid-template-columns: repeat(2,1fr); gap: .7rem; margin: 1.4rem 0; }
.tag-list .t { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .9rem 1rem; }
.tag-list .t b { display: block; font-size: .95rem; margin-bottom: .15rem; }
.tag-list .t span { font-size: .82rem; color: var(--muted); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-top: clamp(2rem,7vw,4rem); }
  .blueprint { max-width: 520px; margin-top: 1rem; order: 2; }
  .svc-grid { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); gap: 1.6rem 1.1rem; }
  .step::before { display: none; }
  .quotes { grid-template-columns: 1fr; }
  .cover-grid, .subsidy-grid, .contact-grid, .split { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .gallery { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .cred-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .nav-cta { display: none; }
  .svc-grid { grid-template-columns: 1fr; }
  .tag-list { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: flex-start; }
  body { font-size: 16px; }
}
@media (max-width: 460px) {
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* reveal on scroll — only hides when JS is active (no-JS users see everything) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; } .js .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1 !important; transform: none !important; transition: none; } }
