
:root {
  --ink: #15191c;  --ink-2: #1d2328;  --navy: #2e3543;  --gold: #ca9c31;  --gold-ink: #86651a;  --gold-soft: #f4ead0;  --paper: #ffffff;
  --mist: #eef0f2;  --line: #d7dbe0;
  --line-dark: #333b43;
  --text: #22262d;
  --muted: #59616c;
  --on-dark: #eceef1;
  --on-dark-muted: #a9b1ba;
  --ok: #2f7a4d;
  --warn: #9a5b00;
  --err: #b3261e;
  --m-cellulose: #b9bec5;
  --m-wood: #9a6a3c;
  --m-glass: #efe4bf;

  --f-display: "Rajdhani", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --fs-hero: clamp(2.5rem, 1.6rem + 3.6vw, 4.4rem);
  --fs-h2: clamp(1.9rem, 1.4rem + 1.9vw, 2.9rem);
  --fs-h3: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
  --fs-lead: clamp(1.05rem, 1rem + .3vw, 1.2rem);
  --radius: 10px;
  --radius-sm: 6px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 8vw, 112px);
  --tap: 48px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: "ss01";
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 84px; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: -.005em; }
h2 { font-size: var(--fs-h2); color: var(--navy); }
h3 { font-size: var(--fs-h3); line-height: 1.15; color: var(--navy); }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.tag {
  font-family: var(--f-mono); font-size: .76rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-ink); display: inline-flex; align-items: center; gap: .6em;
}
.tag::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.section--dark .tag, .hero .tag { color: var(--gold); }

.sec-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head p { font-size: var(--fs-lead); color: var(--muted); max-width: 62ch; }
.section--dark .sec-head p { color: var(--on-dark-muted); }

.btn {
  --bg: var(--gold); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: var(--tap); padding: .7em 1.35em; border-radius: var(--radius-sm); border: 1.5px solid var(--bg);
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px -8px rgba(202, 156, 49, .7); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { --bg: transparent; --fg: var(--navy); border-color: var(--line); }
.btn--ghost:hover { box-shadow: none; border-color: var(--navy); }
.section--dark .btn--ghost, .hero .btn--ghost, .page-hero .btn--ghost { --fg: var(--on-dark); border-color: var(--line-dark); }
.btn--block { width: 100%; }
.link-arrow { font-weight: 700; color: var(--gold-ink); text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }

.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .94rem; color: var(--muted); }
.nav a:hover { color: var(--navy); }
.header-phone { font-family: var(--f-mono); font-size: .85rem; color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.header-phone svg { width: 15px; height: 15px; }
.header-cta { min-height: 42px; padding: .5em 1.05em; font-size: .95rem; }
.menu-btn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); color: var(--navy); font-weight: 700; font-size: .95rem; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
.mnav { position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .35); padding: 8px var(--gutter) 18px; display: grid; gap: 2px; max-height: calc(100vh - 68px); overflow-y: auto; }
.mnav a:not(.btn) { display: flex; align-items: center; min-height: 48px; padding: 0 4px; border-bottom: 1px solid var(--mist); text-decoration: none; font-weight: 600; color: var(--navy); }
.mnav .btn { margin-top: 12px; }
@media (min-width: 981px) { .mnav { display: none !important; } }
@media (max-width: 980px) { .nav, .header-phone { display: none; } .menu-btn { display: inline-flex; } .header-cta { margin-left: auto; } }
@media (max-width: 560px) { .brand img { height: 36px; } .header-cta { display: none; } .menu-btn { margin-left: auto; } }

.hero {
  position: relative; background: var(--ink); color: var(--on-dark); overflow: hidden;
  background-image:
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .008) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .008) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
}
.hero::after {  content: ""; position: absolute; inset: auto -10% -1px auto; width: 70%; height: 55%;
  background: linear-gradient(to top left, rgba(202, 156, 49, .10) 0 49.8%, transparent 50%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 96px); align-items: center; }
.hero h1 { font-size: var(--fs-hero); color: #fff; margin-block: 18px 20px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lead { font-size: var(--fs-lead); color: var(--on-dark-muted); max-width: 54ch; }
.hero-lead strong { color: var(--on-dark); font-weight: 600; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line-dark); }
.proof { display: grid; gap: 2px; }
.proof b { font-family: var(--f-display); font-size: 1.85rem; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.proof small { font-size: .8rem; color: var(--on-dark-muted); }
.proof .stars { color: var(--gold); letter-spacing: .06em; font-size: .95rem; }
.hero-note { margin-top: 18px; font-size: .88rem; color: var(--on-dark-muted); display: flex; gap: 8px; align-items: flex-start; }
.hero-note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--gold); }

.start-card { background: var(--paper); color: var(--text); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.start-card h2 { font-size: 1.6rem; }
.start-card .step-label { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; margin-bottom: 8px; }
.start-card p.hint { color: var(--muted); font-size: .92rem; margin-block: 6px 18px; }
.type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.type-tile {
  display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; text-align: left;
  min-height: 64px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); cursor: pointer;
  font-weight: 600; font-size: .92rem; line-height: 1.25; color: var(--navy); transition: border-color .15s, background-color .15s;
}
.type-tile svg { width: 34px; height: 34px; color: var(--gold-ink); }
.type-tile:hover { border-color: var(--gold); background: #fffbf1; }
.type-tile[aria-pressed="true"] { border-color: var(--gold); background: var(--gold-soft); }
.type-tile--minor { grid-column: 1 / -1; min-height: 44px; grid-template-columns: 22px 1fr; font-weight: 500; font-size: .85rem; color: var(--muted); border-style: dashed; }
.type-tile--minor svg { width: 22px; height: 22px; color: var(--muted); }
.start-card .btn { margin-top: 16px; }
.start-card .fine { margin-top: 12px; font-size: .8rem; color: var(--muted); text-align: center; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero::after { width: 120%; height: 30%; }
}
@media (max-width: 420px) { .type-grid { grid-template-columns: 1fr; } .type-tile { min-height: 54px; } }

.makers { border-bottom: 1px solid var(--line); background: var(--paper); }
.makers .wrap { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding-block: 26px; }
.makers-label { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); max-width: 17ch; line-height: 1.4; }
.makers-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.maker { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; min-height: 72px; transition: border-color .15s; }
.maker:hover { border-color: var(--gold); }
.maker img { height: 30px; width: auto; max-width: 110px; object-fit: contain; }
.maker img.sq { height: 46px; border-radius: 4px; }
.maker span { font-size: .78rem; line-height: 1.3; color: var(--muted); }
.maker span b { display: block; color: var(--navy); font-size: .82rem; }
@media (max-width: 860px) { .makers .wrap { grid-template-columns: 1fr; gap: 14px; } .makers-label { max-width: none; } }
@media (max-width: 620px) { .makers-list { grid-template-columns: 1fr; } }

.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.about-text { display: grid; gap: 18px; }
.about-text p { color: var(--muted); max-width: 60ch; }
.about-text p strong { color: var(--text); }
.stats { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 8px; }
.stat { padding: 20px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-last-child(-n+2) { border-bottom: 0; }
.stat b { display: block; font-family: var(--f-display); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.8rem); line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat span { font-size: .88rem; color: var(--muted); }
.certs { display: flex; flex-wrap: wrap; gap: 8px; }
.cert { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--navy); background: var(--mist); border-radius: 999px; padding: 6px 12px; }
.cert svg { width: 16px; height: 16px; color: var(--gold-ink); }

.ph {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 220px; aspect-ratio: 4 / 3; max-width: 100%;
  background: repeating-linear-gradient(135deg, #e3e6ea 0 1px, transparent 1px 12px), var(--mist);
  border: 1px dashed #b9c0c8; display: grid; place-items: center; text-align: center; padding: 20px;
}
.ph-inner { display: grid; gap: 6px; justify-items: center; max-width: 30ch; }
.ph-inner svg { width: 30px; height: 30px; color: var(--muted); }
.ph-inner b { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }
.ph-inner span { font-size: .88rem; color: var(--muted); line-height: 1.4; }
.about-media { display: grid; gap: 14px; }
.about-media figcaption, .fig-cap { font-family: var(--f-mono); font-size: .74rem; color: var(--muted); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

.method { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.steps3 { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; counter-reset: s; }
.steps3 li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.steps3 li::before { counter-increment: s; content: counter(s); font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold-ink); display: grid; place-items: center; }
.steps3 h3 { font-size: 1.2rem; margin-bottom: 4px; }
.steps3 p { color: var(--muted); font-size: .96rem; }
.method-photo { border-radius: var(--radius); overflow: hidden; }
.method-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.ba { margin-top: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: 16px; }
.ba-head { display: flex; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.ba-head b { color: var(--gold-ink); font-weight: 500; }
.ba-stage { position: relative; aspect-ratio: 16 / 7; border-radius: var(--radius-sm); overflow: hidden; user-select: none; touch-action: pan-y; }
.ba-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ba-after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: var(--navy); transform: translateX(-1px); pointer-events: none; }
.ba-handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 1rem; }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-legend { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: .86rem; color: var(--muted); }
.ba-legend span:last-child { text-align: right; color: var(--navy); font-weight: 600; }
@media (max-width: 900px) { .method { grid-template-columns: 1fr; } }

.cmp-wrap { overflow-x: auto; border-radius: var(--radius); }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 760px; font-size: .95rem; }
.cmp th, .cmp td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-dark); }
.cmp thead th { font-family: var(--f-display); font-size: 1.15rem; font-weight: 700; color: #fff; border-bottom-color: #4a535c; }
.cmp tbody th { font-weight: 600; color: var(--on-dark); width: 22%; }
.cmp td { color: var(--on-dark-muted); }
.cmp .rec { background: rgba(202, 156, 49, .10); color: #fff; border-left: 1px solid rgba(202, 156, 49, .5); border-right: 1px solid rgba(202, 156, 49, .5); }
.cmp thead .rec { border-top: 1px solid rgba(202, 156, 49, .5); border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.cmp tbody tr:last-child .rec { border-bottom: 1px solid rgba(202, 156, 49, .5); }
.cmp .badge { display: inline-block; margin-left: 8px; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--gold); border-radius: 3px; padding: 3px 6px; vertical-align: middle; }
.cmp .ok { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: .75rem; font-weight: 800; margin-right: 8px; vertical-align: -3px; }
.cmp tr.sum th, .cmp tr.sum td { border-bottom: 0; padding-top: 20px; }
.cmp tr.sum .rec { font-weight: 600; }
.cmp-foot { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: center; margin-top: 26px; }
.cmp-foot p { color: var(--on-dark-muted); max-width: 60ch; }
.cmp-foot p strong { color: #fff; }

@media (max-width: 760px) {
  .cmp { min-width: 0; }
  .cmp thead { display: none; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: 100%; }
  .cmp tr { border: 1px solid var(--line-dark); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
  .cmp tbody th { width: auto; font-family: var(--f-display); font-size: 1.15rem; color: #fff; border-bottom: 1px solid var(--line-dark); background: var(--ink-2); }
  .cmp td { border-bottom: 1px solid var(--line-dark); padding: 12px 16px; }
  .cmp td::before { content: attr(data-label); display: block; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 3px; }
  .cmp td.rec::before { color: var(--gold); }
  .cmp td:last-child { border-bottom: 0; }
  .cmp .rec { border-left: 0; border-right: 0; }
  .cmp tbody tr:last-child .rec { border-bottom: 0; }
}

.house { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.house-stage { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(8px, 1.5vw, 16px); }
.house-canvas { position: relative; }
.house-svg { width: 100%; height: auto; }
.house-svg .ins-bg { fill: var(--gold-soft); }
.house-svg .ins-line { fill: none; stroke: var(--gold); stroke-width: 1.1; }
.house-svg .ins-dot { fill: var(--gold); }
.house-svg .ground-line { stroke: #aab2bb; stroke-width: 1; }
.house-svg .ln { stroke: var(--navy); stroke-width: 1.6; fill: none; }
.house-svg .ln-strong { stroke: var(--navy); stroke-width: 2.4; fill: none; stroke-linejoin: round; }
.house-svg .ln-thin { stroke: var(--navy); stroke-width: 1; opacity: .45; }
.house-svg .slab, .house-svg .win { fill: var(--paper); stroke: var(--navy); stroke-width: 1.3; }
.house-svg .gk { stroke: #69717c; stroke-width: 4; }
.house-svg .hole { fill: var(--paper); stroke: var(--err); stroke-width: 2; }
.house-svg .hose { fill: none; stroke: var(--err); stroke-width: 2; stroke-dasharray: 5 4; }
.house-svg .tag { font: 700 17px var(--f-display); fill: var(--navy); letter-spacing: .12em; }
.house-svg .tag-sub { font: 11.5px var(--f-mono); fill: var(--muted); }
.house-svg .level path { stroke: var(--navy); fill: none; stroke-width: 1.2; }
.house-svg .level text { font: 11.5px var(--f-mono); fill: var(--navy); }
.house-svg .room { font: 700 13px var(--f-display); letter-spacing: .16em; fill: #8b939d; }
.house-svg .room-sm { font-size: 11px; }
.house-svg .note { font: 11px var(--f-mono); fill: var(--err); }
.house-svg .note-dark { font: 11px var(--f-mono); fill: var(--navy); }
.house-svg .leader { fill: none; stroke: var(--navy); stroke-width: 1; }
.house-svg .zone { transition: opacity .2s, filter .2s; }
.house-stage.has-active .zone { opacity: .35; }
.house-stage.has-active .zone.is-active { opacity: 1; filter: saturate(1.6) drop-shadow(0 0 0 transparent); }
.house-stage.has-active .zone.is-active .ins-bg { fill: #f0d27f; }

.hs {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0; background: transparent; cursor: pointer; display: grid; place-items: center;
}
.hs span {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 1rem; box-shadow: 0 0 0 3px #fff;
  transition: transform .15s, background-color .15s;
}
.hs::before { content: ""; position: absolute; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--gold); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(1.9); opacity: 0; } }
.hs:hover span, .hs[aria-expanded="true"] span { background: var(--gold); color: var(--ink); transform: scale(1.1); }
.hs[aria-expanded="true"]::before { animation: none; opacity: 0; }
.house-cap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 10px; font-family: var(--f-mono); font-size: .74rem; color: var(--muted); }
.house-legend { display: flex; gap: 16px; flex-wrap: wrap; }
.house-legend i { display: inline-block; width: 14px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.house-legend .lg-fibre { background: var(--gold-soft); border: 1px solid var(--gold); }
.house-legend .lg-loose { background: radial-gradient(var(--gold) 1px, var(--gold-soft) 1.5px) 0 0 / 5px 5px; border: 1px solid var(--gold); }

.hs-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.hs-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); cursor: pointer; font-size: .86rem; font-weight: 600; color: var(--navy); }
.hs-chip b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); font-family: var(--f-display); }
.hs-chip[aria-pressed="true"] { border-color: var(--gold); background: var(--gold-soft); }
.hs-chip[aria-pressed="true"] b { background: var(--gold); }
.hs-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.5vw, 28px); display: grid; gap: 14px; }
.hs-panel .num { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }
.hs-panel p { color: var(--muted); }
.hs-panel dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: .9rem; }
.hs-panel dt { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.hs-panel dd { margin: 0; color: var(--text); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mchip { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--mist); color: var(--navy); }
.mchip i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); }
.mchip.cel i { background: var(--m-cellulose); } .mchip.wood i { background: var(--m-wood); } .mchip.glass i { background: var(--m-glass); }
@media (max-width: 960px) { .house { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .hs { width: 36px; height: 36px; } .hs span, .hs::before { width: 24px; height: 24px; font-size: .85rem; } .house-svg .tag-sub, .house-svg .note, .house-svg .note-dark { display: none; } }

.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; }
.process li { position: relative; padding: 0 20px 0 0; display: grid; gap: 10px; align-content: start; }
.process li::before { content: ""; position: absolute; top: 22px; left: 44px; right: 0; height: 1px; background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 11px); }
.process li:last-child::before { display: none; }
.process .n { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; position: relative; z-index: 1; }
.process li:last-child .n { background: var(--gold); color: var(--ink); }
.process h3 { font-size: 1.15rem; margin-top: 6px; }
.process p { font-size: .92rem; color: var(--muted); }
.process .time { font-family: var(--f-mono); font-size: .72rem; color: var(--gold-ink); letter-spacing: .04em; }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; gap: 22px; }
  .process li { grid-template-columns: 44px 1fr; column-gap: 16px; padding: 0; }
  .process li > *:not(.n) { grid-column: 2; }
  .process .n { grid-row: 1 / span 3; }
  .process h3 { margin-top: 8px; }
  .process li::before { top: 48px; bottom: -22px; left: 21.5px; right: auto; width: 1px; height: auto; background: repeating-linear-gradient(180deg, var(--gold) 0 6px, transparent 6px 11px); }
}

.mats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.mat-media { position: relative; background: #f7f7f5; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; }
.mat-media img.pack { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.mat-logo { position: absolute; left: 14px; top: 14px; background: #fff; border-radius: 6px; padding: 6px 8px; box-shadow: 0 2px 10px -4px rgba(0, 0, 0, .2); }
.mat-logo img { height: 22px; width: auto; }
.mat-logo img.sq { height: 34px; }
.mat-body { padding: 20px 22px 22px; display: grid; gap: 12px; flex: 1; align-content: start; }
.mat-kind { display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.mat-kind i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); }
.mat ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: .92rem; }
.mat li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.mat li svg { width: 18px; height: 18px; color: var(--gold-ink); margin-top: 2px; }
.mat .lam { display: flex; align-items: baseline; gap: 8px; padding: 10px 12px; background: var(--mist); border-radius: var(--radius-sm); }
.mat .lam b { font-family: var(--f-mono); font-size: 1.05rem; color: var(--navy); }
.mat .lam span { font-size: .8rem; color: var(--muted); }
.mat details { border-top: 1px solid var(--line); margin-top: auto; }
.mat summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: var(--tap); font-weight: 700; color: var(--navy); font-size: .92rem; }
.mat summary::-webkit-details-marker { display: none; }
.mat summary::after { content: "+"; font-family: var(--f-mono); font-size: 1.2rem; color: var(--gold-ink); }
.mat details[open] summary::after { content: "−"; }
.params { width: 100%; border-collapse: collapse; font-size: .84rem; }
.params th, .params td { text-align: left; padding: 7px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.params th { font-weight: 500; color: var(--muted); padding-right: 10px; width: 48%; }
.params td { font-family: var(--f-mono); font-size: .8rem; color: var(--text); }
.params-src { font-size: .78rem; color: var(--muted); margin-top: 8px; }
.params-src a { color: var(--gold-ink); }
.mat-note { margin-top: 26px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.box { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: var(--paper); display: grid; gap: 8px; align-content: start; }
.box h3 { font-size: 1.15rem; }
.box p { color: var(--muted); font-size: .94rem; }
.box--quiet { background: transparent; border-style: dashed; }
@media (max-width: 960px) { .mats { grid-template-columns: 1fr 1fr; } .mat-note { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .mats { grid-template-columns: 1fr; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filter { min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-weight: 600; font-size: .88rem; color: var(--muted); }
.filter[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.work { display: grid; gap: 10px; align-content: start; }
.work .ph { aspect-ratio: 4 / 3; min-height: 0; }
.work.is-video .ph { background: repeating-linear-gradient(135deg, #2a3137 0 1px, transparent 1px 12px), var(--ink-2); border-color: #46505a; }
.work.is-video .ph-inner span { color: var(--on-dark-muted); }
.work.is-video .ph-inner svg { color: var(--gold); width: 44px; height: 44px; }
.work h3 { font-size: 1.1rem; }
.work-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--f-mono); font-size: .76rem; color: var(--muted); }
.work[hidden] { display: none; }
@media (max-width: 960px) { .works { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .filters, .works { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
  .filters::-webkit-scrollbar, .works::-webkit-scrollbar { display: none; }
  .filter { flex: none; scroll-snap-align: start; }
  .works { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px; padding-bottom: 6px; }
  .work { scroll-snap-align: start; }
}
.swipe-hint { display: none; margin-top: 12px; font-family: var(--f-mono); font-size: .74rem; color: var(--muted); }
@media (max-width: 760px) { .swipe-hint { display: flex; justify-content: space-between; } }

.reviews-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; }
.score { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 4px; text-decoration: none; color: inherit; }
.score b { font-family: var(--f-display); font-size: 2.3rem; line-height: 1; color: #fff; }
.score .stars { color: var(--gold); letter-spacing: .08em; }
.score span { font-size: .86rem; color: var(--on-dark-muted); }
a.score:hover { border-color: var(--gold); }
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.review { scroll-snap-align: start; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 20px 22px; display: grid; gap: 12px; align-content: start; }
.review blockquote { margin: 0; color: var(--on-dark); font-size: .95rem; line-height: 1.55; }
.review footer { display: flex; justify-content: space-between; gap: 10px; font-size: .82rem; color: var(--on-dark-muted); }
.review footer b { color: #fff; }
.review .stars { color: var(--gold); font-size: .9rem; letter-spacing: .08em; }
.review .topic { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 760px) { .reviews-top { grid-template-columns: 1fr; } }

.area { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.area-map { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; overflow: hidden; }
.area-svg .reg { stroke: #fff; stroke-width: 1.2; transition: fill .25s; }
.area-svg .reg.off { fill: #e6e9ed; }
.area-svg .reg.on { fill: #e9d9a8; }
.area-svg .reg.on.is-hit { fill: var(--gold); }
.area-svg .a4 { fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-dasharray: 7 5; }
.area-svg .a4-badge rect { fill: var(--navy); }
.area-svg .a4-badge text { font: 700 11px var(--f-display); fill: #fff; letter-spacing: .06em; }
.area-svg .reg-label { font: 700 16px var(--f-display); letter-spacing: .1em; text-transform: uppercase; fill: var(--navy); }
.area-svg .city-dot { fill: var(--navy); }
.area-svg .city { font: 500 12px var(--f-body); fill: var(--text); paint-order: stroke; stroke: rgba(255, 255, 255, .8); stroke-width: 3px; }
.area-svg .base-ring { fill: rgba(202, 156, 49, .25); stroke: var(--gold); stroke-width: 1.5; }
.area-svg .base-dot { fill: var(--gold-ink); }
.area-svg .base-label { font-weight: 700; }
.pc { display: grid; gap: 16px; }
.pc-form { display: flex; gap: 8px; }
.pc-form input { flex: 1; min-width: 0; }
.pc-result { border-radius: var(--radius-sm); padding: 14px 16px; font-size: .95rem; display: none; gap: 4px; }
.pc-result.show { display: grid; }
.pc-result.in { background: #e9f4ee; color: #1f5134; border: 1px solid #b8dcc6; }
.pc-result.maybe { background: #fff4e0; color: #6b4200; border: 1px solid #efd3a0; }
.pc-result.out { background: #f9eceb; color: #7d1d17; border: 1px solid #ecc5c2; }
.pc-result b { font-weight: 700; }
.cities { font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) { .area { grid-template-columns: 1fr; } .area-map { order: 2; } }
@media (max-width: 480px) { .pc-form { flex-direction: column; } }

.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq-aside { position: sticky; top: 96px; display: grid; gap: 16px; }
.faq-aside p { color: var(--muted); }
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; gap: 16px; align-items: center; padding: 18px 0; font-weight: 700; font-size: 1.04rem; color: var(--navy); min-height: var(--tap); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background:
  linear-gradient(var(--gold-ink), var(--gold-ink)) center / 11px 1.5px no-repeat,
  linear-gradient(var(--gold-ink), var(--gold-ink)) center / 1.5px 11px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 44px 20px 0; color: var(--muted); display: grid; gap: 10px; }
.faq .ans ul { margin: 0; padding-left: 1.1em; }
.faq-more { margin-top: 18px; }
.faq-more[hidden] { display: none; }
.faq-toggle { margin-top: 18px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-aside { position: static; } .faq .ans { padding-right: 0; } }

.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-areas: "intro form" "more form"; column-gap: clamp(28px, 5vw, 64px); row-gap: 28px; align-items: start; grid-template-rows: auto 1fr; }
.contact-intro { grid-area: intro; display: grid; gap: 16px; }
.contact-intro p { color: var(--on-dark-muted); }
.contact-more { grid-area: more; display: grid; gap: 22px; align-content: start; }
.lead-form { grid-area: form; }
.next-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.next-steps li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: .95rem; color: var(--on-dark); }
.next-steps li b { font-family: var(--f-display); font-size: 1.1rem; color: var(--gold); }
.alt-contact { border-top: 1px solid var(--line-dark); padding-top: 18px; font-size: .9rem; color: var(--on-dark-muted); display: grid; gap: 4px; }
.alt-contact a { color: var(--on-dark); font-family: var(--f-mono); }

.lead-form { background: var(--paper); color: var(--text); border-radius: var(--radius); padding: clamp(20px, 3vw, 34px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 24px; list-style: none; padding: 0; }
.progress li { display: grid; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--muted); }
.progress li::before { content: ""; height: 4px; border-radius: 2px; background: var(--line); }
.progress li.done::before, .progress li.cur::before { background: var(--gold); }
.progress li.cur { color: var(--navy); }
.fstep { border: 0; padding: 0; margin: 0; display: grid; gap: 22px; min-width: 0; }
.fstep[hidden] { display: none; }
.fgroup { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.fgroup > legend, .flabel { font-weight: 700; color: var(--navy); font-size: .98rem; padding: 0; margin-bottom: 2px; }
.fgroup > legend small, .flabel small { font-weight: 500; color: var(--muted); font-size: .82rem; margin-left: 4px; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt label { display: flex; align-items: center; gap: 10px; min-height: var(--tap); padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-size: .92rem; font-weight: 600; color: var(--navy); cursor: pointer; line-height: 1.25; transition: border-color .15s, background-color .15s; }
.opt label::before { content: ""; flex: none; width: 18px; height: 18px; border: 1.5px solid #9aa3ad; border-radius: 50%; background: #fff; }
.opt input[type="checkbox"] + label::before { border-radius: 4px; }
.opt input:checked + label { border-color: var(--gold); background: var(--gold-soft); }
.opt input:checked + label::before { border-color: var(--gold-ink); background: radial-gradient(var(--gold-ink) 0 45%, #fff 50%); }
.opt input[type="checkbox"]:checked + label::before { background: var(--gold-ink); box-shadow: inset 0 0 0 3px #fff; }
.opt input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; }
.field { display: grid; gap: 6px; }
.field input, .field textarea, .pc-form input {
  min-height: var(--tap); padding: 10px 14px; border: 1.5px solid #c3c9d0; border-radius: var(--radius-sm); background: #fff; font-size: 1rem; width: 100%;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus, .pc-form input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(46, 53, 67, .15); }
.field .hint, .fhint { font-size: .82rem; color: var(--muted); }
.field.invalid input, .fgroup.invalid .opt label { border-color: var(--err); }
.err { font-size: .84rem; color: var(--err); font-weight: 600; display: none; }
.invalid > .err, .invalid .err { display: block; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.region-note { font-size: .88rem; border-radius: var(--radius-sm); padding: 10px 12px; display: none; }
.region-note.show { display: block; }
.region-note.in { background: #e9f4ee; color: #1f5134; }
.region-note.maybe { background: #fff4e0; color: #6b4200; }
.region-note.out { background: #f9eceb; color: #7d1d17; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .86rem; color: var(--muted); align-items: start; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold-ink); }
.consent a { color: var(--navy); }
.fnav { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; }
.fnav .btn { flex: 1; }
.fnav .btn--ghost { flex: 0 0 auto; }
.more-toggle { background: none; border: 0; padding: 0; color: var(--gold-ink); font-weight: 700; cursor: pointer; justify-self: start; font-size: .92rem; }
.demo-note { margin-top: 14px; font-size: .78rem; color: var(--muted); text-align: center; font-family: var(--f-mono); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; grid-template-areas: "intro" "form" "more"; grid-template-rows: auto; } }
@media (max-width: 520px) { .opts, .opts--3, .row2 { grid-template-columns: 1fr; } }

.site-footer { background: #0f1214; color: var(--on-dark-muted); padding-block: 56px 32px; font-size: .9rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.site-footer img { height: 46px; width: auto; }
.site-footer h3 { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 12px; font-weight: 500; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer button.linklike { background: none; border: 0; padding: 0; color: var(--on-dark); cursor: pointer; font-size: inherit; }
.foot-legal { border-top: 1px solid #262c32; margin-top: 36px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .8rem; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr; } }

.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; gap: 8px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(21, 25, 28, .96); backdrop-filter: blur(8px);
  transform: translateY(110%); transition: transform .25s ease;
}
.mbar.show { transform: translateY(0); }
.mbar .btn { flex: 1; min-height: 52px; font-size: 1.02rem; }
.mbar .call { flex: 0 0 52px; min-height: 52px; border-radius: var(--radius-sm); border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--on-dark); }
.mbar .call svg { width: 20px; height: 20px; }
@media (max-width: 760px) { .mbar { display: flex; } body { padding-bottom: 76px; } }

.cookie { position: fixed; z-index: 80; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-left: auto; background: var(--paper); color: var(--text); border-radius: var(--radius); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .45); border: 1px solid var(--line); padding: 20px 22px; display: grid; gap: 14px; }
.cookie[hidden] { display: none; }
.cookie h2 { font-size: 1.35rem; }
.cookie p { font-size: .88rem; color: var(--muted); }
.cookie a { color: var(--navy); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions .btn { min-height: 44px; flex: 1 1 140px; font-size: .92rem; }
.cookie-prefs { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; }
.cookie-prefs[hidden] { display: none; }
.pref { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; font-size: .88rem; }
.pref b { display: block; color: var(--navy); }
.pref span { color: var(--muted); font-size: .8rem; }
.switch { position: relative; width: 44px; height: 26px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: #c3c9d0; transition: background .2s; pointer-events: none; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch input:checked + i { background: var(--gold-ink); }
.switch input:checked + i::after { transform: translateX(18px); }
.switch input:disabled + i { opacity: .6; }
.switch input:focus-visible + i { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (max-width: 760px) { .cookie { bottom: 12px; left: 12px; right: 12px; } }

.page-hero { background: var(--ink); color: var(--on-dark); padding-block: clamp(48px, 6vw, 80px); background-image: linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px); background-size: 48px 48px; }
.page-hero h1 { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.6rem); color: #fff; margin-top: 12px; }
.page-hero p { color: var(--on-dark-muted); margin-top: 14px; max-width: 60ch; font-size: var(--fs-lead); }
.prose { max-width: 72ch; display: grid; gap: 14px; }
.prose h2 { font-size: 1.7rem; margin-top: 20px; }
.prose p, .prose li { color: #3d434c; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.prose table { border-collapse: collapse; width: 100%; font-size: .9rem; }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose .table-wrap { overflow-x: auto; }
.draft-note { font-family: var(--f-mono); font-size: .78rem; background: #fff4e0; color: #6b4200; border-radius: var(--radius-sm); padding: 10px 12px; }
.ty-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.ty-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: t; }
.ty-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.ty-steps li::before { counter-increment: t; content: counter(t); width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; }
.ty-steps h3 { font-size: 1.2rem; margin-bottom: 4px; }
.ty-steps p { color: var(--muted); }
.summary { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: grid; gap: 10px; background: var(--mist); }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; font-size: .92rem; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; color: var(--navy); }
@media (max-width: 860px) { .ty-grid { grid-template-columns: minmax(0, 1fr); } }
.ty-grid > *, .ty-steps li > div { min-width: 0; }
.summary dd { overflow-wrap: anywhere; }

@media (min-width: 768px) {
  .page-full { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
  .page-full main { flex: 1 0 auto; display: flex; flex-direction: column; }
  .page-full .page-hero { flex: 1 0 auto; display: flex; align-items: center; }
}

.lead-form .btn--ghost, .start-card .btn--ghost { --fg: var(--navy); border-color: var(--line); }

.form-done { display: grid; gap: 14px; justify-items: start; padding: 12px 0; }
.form-done h3 { font-size: 1.6rem; }
.form-done p { color: var(--muted); }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }
.header-cta--keep { display: inline-flex !important; }

.about-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.method-photo img { aspect-ratio: 4 / 5; object-fit: cover; }
.work { margin: 0; }
.work figcaption { display: grid; gap: 6px; }
.work-img { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); cursor: zoom-in; }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.work-img:hover img { transform: scale(1.04); }
.work.is-video .ph { aspect-ratio: 4 / 3; }
.hs-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-sm); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 12, 14, .88); }
.lightbox img { max-width: min(92vw, 1100px); max-height: 82vh; width: auto; height: auto; border-radius: var(--radius-sm); margin-inline: auto; }
.lightbox p { color: #fff; text-align: center; margin-top: 10px; font-weight: 600; }
.lb-close { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.4); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-close svg { width: 22px; height: 22px; }

.house { grid-template-areas: "list list" "drawing panels"; row-gap: 18px; }
.house-drawing { grid-area: drawing; min-width: 0; }
.house-panels { grid-area: panels; min-width: 0; }
.hs-list { grid-area: list; flex-wrap: nowrap; overflow-x: auto; margin: 0; scroll-snap-type: x proximity; scrollbar-width: none; overscroll-behavior-x: contain; padding-bottom: 2px; }
.hs-list::-webkit-scrollbar { display: none; }
.hs-chip { flex: none; scroll-snap-align: start; }
@media (max-width: 960px) {
  .house { grid-template-areas: "drawing" "list" "panels"; row-gap: 14px; }
  .hs-list { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
}

.opts--1 { grid-template-columns: 1fr; }
.start-form { align-self: center; grid-area: auto; }
.start-form .progress { margin-bottom: 18px; }
.start-form .fgroup > legend { font-family: var(--f-display); font-size: 1.45rem; line-height: 1.15; margin-bottom: 8px; }
.lead-form .fgroup[data-name="budynek"] > legend { font-family: var(--f-display); font-size: 1.45rem; line-height: 1.15; margin-bottom: 8px; }
.start-form .fnav .btn { flex: 1; }
.start-form .opt label { min-height: 46px; }
@media (min-width: 521px) { .lead-form .opts--1 { grid-template-columns: 1fr 1fr; } .lead-form .opts--1 .opt:last-child:nth-child(odd) { grid-column: 1 / -1; } }

.mat-media { background: #fff; border-bottom: 1px solid var(--line); }
.mat-brandrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.mat-brand { height: 28px; width: auto; }
.mat-brand.sq { height: 40px; border-radius: 4px; }
.mat-brandrow span { font-family: var(--f-mono); font-size: .68rem; color: var(--muted); text-align: right; }
.mat-cta { margin-top: 40px; display: grid; justify-items: center; text-align: center; gap: 12px; padding-block: 8px; }
.mat-cta h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.mat-cta p { color: var(--muted); max-width: 60ch; }
.mat-cta .btn { margin-top: 6px; }

.ba-photo { aspect-ratio: 16 / 9; }
.ba-layer { position: absolute; inset: 0; }
.ba-layer img { width: 100%; height: 100%; object-fit: cover; }
.ba-layer.ba-after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-tag { position: absolute; top: 14px; padding: 6px 10px; border-radius: 4px; background: rgba(21, 25, 28, .82); color: #fff; font-family: var(--f-mono); font-size: .76rem; letter-spacing: .04em; }
.ba-tag--l { left: 14px; }
.ba-tag--r { right: 14px; background: var(--gold); color: var(--ink); }
@media (max-width: 600px) { .ba-photo { aspect-ratio: 4 / 5; } }
.hs-ph { aspect-ratio: 16 / 9; min-height: 0; }

.pc-form { flex-direction: column; align-items: stretch; }
.pc-form .btn { width: 100%; }
.mat-media img.pack { padding: 0; object-fit: cover; }
.lead-form .opts, .lead-form .opts--1 { grid-template-columns: 1fr !important; }
.lead-form .opts .opt { grid-column: auto !important; }
.opt label.has-ico { gap: 12px; min-height: 56px; }
.opt-ico { flex: none; width: 28px; height: 28px; color: var(--gold-ink); order: 0; }
.opt label.has-ico::before { order: 2; margin-left: auto; }
.opt label.has-ico span { order: 1; }
.ba-photo { aspect-ratio: 3 / 2 !important; } @media (max-width:600px){ .ba-photo{ aspect-ratio: 1 / 1 !important; } }
.brand img{height:46px} @media (max-width:560px){.brand img{height:38px}} .site-footer img{height:52px}
.ba-photo .ba-tag { top: 12px; font-size: .9rem; font-weight: 600; padding: 8px 12px; font-family: var(--f-body, inherit); letter-spacing: 0; z-index: 2; }
.ba-photo .ba-tag--l { background: #c4302b; color: #fff; }
.ba-photo .ba-tag--r { background: #1f8a57; color: #fff; }
.ba-pin { position: absolute; display: flex; align-items: center; gap: 6px; transform: translateY(-50%); pointer-events: none; }
.ba-pin i { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: .8rem; color: #fff; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.ba-pin em { font-style: normal; font-weight: 600; font-size: .82rem; line-height: 1.2; padding: 5px 9px; border-radius: 4px; background: rgba(255,255,255,.95); color: var(--ink, #15191c); box-shadow: 0 2px 6px rgba(0,0,0,.25); max-width: 180px; }
.ba-pin--bad i { background: #e5484d; }
.ba-pin--good i { background: #2fa36b; }
.ba-photo .ba-layer:not(.ba-after) .ba-pin { transform: translate(-13px, -50%); }
.ba-legend b { color: var(--navy); }
@media (max-width: 600px) {
  .ba-pin em { font-size: .68rem; padding: 3px 6px; max-width: 110px; }
  .ba-pin i { width: 20px; height: 20px; font-size: .68rem; }
  .ba-photo .ba-tag { font-size: .74rem; padding: 6px 8px; top: 8px; }
}
@media (max-width:600px){ .ba-photo{ aspect-ratio: 3 / 2 !important; } }
.ba-photo .ba-tag { top: auto; bottom: 12px; }
.ba-key { display: none; }
@media (max-width: 600px) {
  .ba-pin em { display: none; }
  .ba-pin--good:not(:first-of-type) { display: none; }
  .ba-key { display: grid; gap: 6px; list-style: none; padding: 0; margin: 12px 0 0; font-size: .84rem; color: var(--navy); }
  .ba-key li { display: flex; gap: 8px; align-items: center; }
  .ba-key i { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: .7rem; color: #fff; }
  .ba-key .bad { background: #e5484d; } .ba-key .good { background: #2fa36b; }
}
.ba-intro { max-width: 720px; margin: 0 0 18px; }
.ba-intro h3 { margin: 0 0 8px; font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.ba-intro p { margin: 0; color: var(--muted); }
.work-video { background: #111; cursor: default; }
.work-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.mbar .btn { flex: 1 1 100%; }
.stats--one { grid-template-columns: 1fr !important; }
.stats--one .stat span { max-width: 32ch; }
.multi-hint { display: inline-block; margin: 6px 0 0 !important; padding: 4px 10px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-ink) !important; font-weight: 700 !important; font-size: .82rem !important; }
@media (max-width: 600px) { .ba-legend { flex-direction: column; gap: 6px; } .ba-legend span:last-child { text-align: left; } }
@media (max-width: 760px) {
  .mats { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: -16px; padding: 0 16px 10px; scroll-padding-inline: 16px; scrollbar-width: none; }
  .mats::-webkit-scrollbar { display: none; }
  .mats > * { flex: 0 0 85%; scroll-snap-align: start; }
}
.ba-legend b.bad { color: #d4383d; } .ba-legend b.good { color: #1f8a57; }
video.hs-photo { background: #111; }
.ba-handle::after { content: ""; line-height: 0; padding: 0; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 7l-5 5 5 5M16 7l5 5-5 5M3 12h18'/%3E%3C/svg%3E") center / 22px no-repeat; }
video.hs-photo { aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.cookie { left: 16px; right: auto; bottom: 16px; width: min(460px, calc(100vw - 32px)); max-width: none; margin: 0; padding: 22px; display: grid; gap: 16px; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 60px rgba(21,25,28,.22); max-height: calc(100dvh - 32px); overflow: auto; }
.cookie-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.cookie-ico { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); display: grid; place-items: center; }
.cookie-ico svg { width: 22px; height: 22px; }
.cookie h2 { font-size: 1.2rem; margin: 0; }
.cookie p { margin: 0; font-size: .86rem; line-height: 1.55; }
.cookie-prefs { gap: 0; padding-top: 0; border-top: 0; border: 1px solid var(--line); border-radius: 10px; }
.cookie-prefs .pref { padding: 12px 14px; align-items: start; }
.cookie-prefs .pref + .pref { border-top: 1px solid var(--line); }
.cookie-prefs .pref span { display: block; margin-top: 2px; line-height: 1.45; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookie-actions .btn { min-height: 46px; font-size: .9rem; padding-inline: 10px; }
.cookie .btn--dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.cookie .btn--dark:hover { filter: brightness(1.15); }
.cookie-more { grid-column: 1 / -1; justify-self: center; background: none; border: 0; padding: 6px 8px; font: inherit; font-size: .86rem; font-weight: 600; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cookie-actions .btn.btn--ghost[data-ck="prefs"] { grid-column: 1 / -1; }
@media (max-width: 560px) { .cookie { left: 8px; bottom: 8px; width: calc(100vw - 16px); padding: 18px; } }
.prose .updated{font-size:.85rem;color:var(--muted)} .prose th{background:var(--mist)} .prose strong{color:var(--navy)}
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
body { animation: page-in .35s ease-out both; }
html.is-leaving body { opacity: 0; transition: opacity .18s ease-in; }
@media (prefers-reduced-motion: reduce) { body { animation: none; } html.is-leaving body { transition: none; } }
.req { color: #c4302b; font-weight: 700; margin-left: 2px; }
.req-note { margin: 0 0 4px; font-size: .8rem; color: var(--muted); }
.field.valid input { border-color: #2fa36b; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232fa36b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.btn.is-incomplete { opacity: .55; filter: saturate(.6); }
.btn.is-incomplete:hover { transform: none; }

.mat-ask { justify-self: start; margin-top: 4px; }

body:has(#cookie:not([hidden]))::before { content: ""; position: fixed; inset: 0; z-index: 79; background: linear-gradient(to top, rgba(21, 25, 28, .78) 0%, rgba(21, 25, 28, .5) 45%, rgba(21, 25, 28, .12) 100%); }
.cookie { left: 8px; right: 8px; bottom: 8px; width: auto; max-height: 40dvh; padding: 16px; gap: 12px; box-shadow: 0 30px 80px -10px rgba(0, 0, 0, .55); }
.cookie.is-prefs { max-height: calc(100dvh - 16px); }
.cookie-head { gap: 10px; }
.cookie-ico { width: 32px; height: 32px; }
.cookie-ico svg { width: 18px; height: 18px; }
.cookie h2 { font-size: 1.125rem; }
.cookie p { font-size: .8125rem; line-height: 1.5; }
.cookie-actions { grid-template-columns: 1fr; }
.cookie-actions .btn[data-ck="accept"],
.cookie-actions .btn[data-ck="reject"] { --bg: var(--navy); --fg: #fff; background: var(--navy); color: #fff; border-color: var(--navy); }
.cookie-actions .btn[data-ck="accept"]:hover,
.cookie-actions .btn[data-ck="reject"]:hover { filter: brightness(1.15); box-shadow: none; }
.cookie-actions .btn[data-ck="accept"] { order: -1; }
@media (min-width: 900px) {
  .cookie { left: 50%; right: auto; bottom: 32px; width: max(33.333vw, 440px); max-height: calc(100dvh - 64px); padding: 26px 28px; gap: 16px; transform: translateX(-50%); }
  .cookie.is-prefs { max-height: calc(100dvh - 64px); }
  .cookie-head { gap: 12px; }
  .cookie-ico { width: 44px; height: 44px; }
  .cookie-ico svg { width: 24px; height: 24px; }
  .cookie h2 { font-size: 1.5rem; }
  .cookie p { font-size: .875rem; line-height: 1.6; }
  .cookie-actions { grid-template-columns: 1fr 1fr; }
  .cookie-actions .btn { min-height: 48px; font-size: .95rem; }
  .cookie-actions .btn[data-ck="accept"] { order: 0; }
}
.progress { grid-template-columns: repeat(2, 1fr); }
