/* ==========================================================
   МУШЛЯ — модульні укриття
   Індустріальна естетика: графіт, сталь, сигнальний жовтий
   ========================================================== */

:root {
  --ink: #111316;
  --graphite: #1a1d21;
  --steel: #262a30;
  --steel-2: #343941;
  --line: rgba(255, 255, 255, .1);
  --paper: #eeece6;
  --paper-2: #e3e0d7;
  --text: #16181b;
  --muted: #6b6f76;
  --signal: #ffb000;
  --signal-2: #ffc94d;
  --danger: #e5484d;
  --ok: #3fb950;

  --f-display: "Unbounded", "Arial Black", sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --r: 4px;
  --container: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.05; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
.mono { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
::selection { background: var(--signal); color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: currentColor; --bd: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 16px 26px;
  font: 700 .95rem/1 var(--f-body);
  letter-spacing: .01em;
  color: var(--fg); background: var(--bg);
  border: 1.5px solid var(--bd); border-radius: var(--r);
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
  position: relative;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.btn--primary { --bg: var(--signal); --fg: var(--ink); --bd: var(--signal); box-shadow: 0 6px 0 -2px #b37b00; }
.btn--primary:hover { --bg: var(--signal-2); box-shadow: 0 10px 24px -6px rgba(255, 176, 0, .55); }
.btn--ghost:hover { --bg: currentColor; }
.btn--ghost:hover { background: rgba(127,127,127,.12); }
.btn--sm { padding: 11px 18px; font-size: .85rem; }
.btn--lg { padding: 20px 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--paper);
  transition: background .3s, backdrop-filter .3s, box-shadow .3s;
}
.header.is-scrolled {
  background: rgba(17, 19, 22, .86);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__mark { width: 38px; height: 38px; fill: none; stroke: var(--signal); stroke-width: 2.6; stroke-linecap: round; }
.logo__text { font: 900 1.25rem/1 var(--f-display); letter-spacing: .02em; display: flex; flex-direction: column; }
.logo__text small { font: 500 .62rem/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; opacity: .6; margin-top: 3px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .92rem; opacity: .8; position: relative; padding: 6px 0; transition: opacity .2s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover { opacity: 1; }
.nav a:hover::after { transform: scaleX(1); }
.header__cta { display: flex; align-items: center; gap: 18px; }
.header__phone { font: 600 .9rem var(--f-mono); text-decoration: none; white-space: nowrap; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; margin-left: auto; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--paper); transition: transform .3s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(120% 90% at 85% 10%, #2b2f36 0%, var(--ink) 60%);
  color: var(--paper);
  padding: 150px 0 110px;
  overflow: hidden;
  isolation: isolate;
}
.hero__ribs, .order__ribs {
  position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 .78rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(238,236,230,.7); border: 1px solid var(--line); padding: 8px 14px; border-radius: 100px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(255,176,0,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,176,0,0); } 100% { box-shadow: 0 0 0 0 rgba(255,176,0,0); } }
.hero__title { font-size: clamp(2.4rem, 5.2vw, 4.4rem); font-weight: 900; margin: 0 0 28px; text-transform: uppercase; letter-spacing: -.035em; line-height: 1.04; }
.hero__title em { font-style: normal; color: var(--signal); position: relative; }
.hero__title em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .08em; background: var(--signal); transform: scaleX(0); transform-origin: left; animation: underline 1s .9s var(--ease) forwards; }
@keyframes underline { to { transform: scaleX(1); } }
.hero__lead { font-size: 1.1rem; max-width: 36em; color: rgba(238,236,230,.78); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__stats { display: flex; gap: 40px; margin: 56px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__stats dt { font: 800 2.4rem/1 var(--f-display); color: var(--paper); }
.hero__stats dd { margin: 8px 0 0; font-size: .82rem; line-height: 1.35; color: rgba(238,236,230,.6); }

.hero__visual { position: relative; }
.photo { margin: 0; position: relative; overflow: hidden; border-radius: var(--r); background: var(--steel); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo:hover img { transform: scale(1.04); }
.photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; font-size: .85rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.75)); display: flex; gap: 12px; align-items: baseline; }
.photo figcaption .mono { color: var(--signal); }
.photo--hero { aspect-ratio: 4 / 4.4; clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%, 0 88%); }
.photo--hero::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.25); z-index: 1; pointer-events: none; clip-path: inherit; }
.stamp { position: absolute; top: -34px; right: -24px; width: 130px; height: 130px; display: grid; place-items: center; background: var(--signal); color: var(--ink); border-radius: 50%; z-index: 2; box-shadow: 0 20px 40px -10px rgba(0,0,0,.5); }
.stamp svg { position: absolute; inset: 0; animation: spin 18s linear infinite; }
.stamp text { font: 600 9.6px var(--f-mono); letter-spacing: .12em; fill: var(--ink); }
.stamp span { font: 900 1.6rem var(--f-display); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Ticker ---------- */
.ticker { background: var(--signal); color: var(--ink); overflow: hidden; border-block: 2px solid var(--ink); }
.ticker__track { display: flex; gap: 28px; align-items: center; width: max-content; padding: 16px 0; animation: ticker 40s linear infinite; }
.ticker span { font: 800 1.1rem var(--f-display); text-transform: uppercase; white-space: nowrap; }
.ticker i { font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section--dark { background: var(--ink); color: var(--paper); }
.section--steel { background: var(--graphite); color: var(--paper); background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 2px, transparent 2px 22px); }
.section__head { max-width: 760px; margin-bottom: 64px; }
.label { color: var(--signal); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.label::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section:not(.section--dark):not(.section--steel):not(.order) .label { color: #a26f00; }
.section__title { font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.03em; }
.section__lead { margin-top: 22px; font-size: 1.1rem; color: var(--muted); max-width: 40em; }
.section--dark .section__lead, .section--steel .section__lead, .order .section__lead { color: rgba(238,236,230,.7); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--text); border: 2px solid var(--text); }
.card { background: var(--paper); padding: 36px 32px 40px; position: relative; transition: background .35s var(--ease), color .35s; min-height: 250px; display: flex; flex-direction: column; }
.card:hover { background: var(--ink); color: var(--paper); }
.card:hover .card__num { color: var(--signal); border-color: var(--signal); }
.card__num { width: 40px; height: 40px; display: grid; place-items: center; border: 1.5px solid currentColor; border-radius: 50%; font-weight: 600; margin-bottom: auto; transition: .35s; }
.card h3 { font-size: 1.45rem; font-weight: 800; margin: 36px 0 12px; text-transform: uppercase; }
.card p { color: inherit; opacity: .75; font-size: .98rem; }
.card--big { grid-row: span 2; background: var(--paper-2); }
.card--big h3 { font-size: 2.2rem; }
.card--accent { background: var(--signal); }
.card--accent:hover { background: var(--ink); }
.card__link { margin-top: 18px; font-weight: 700; text-decoration: none; border-bottom: 2px solid; align-self: flex-start; }
.tags { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font: 500 .75rem var(--f-mono); padding: 6px 12px; border: 1px solid currentColor; border-radius: 100px; opacity: .8; }

/* ---------- Scheme / blueprint ---------- */
.scheme { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.scheme__drawing { background: #0c1a2b; border: 1px solid rgba(120,170,230,.25); border-radius: var(--r); padding: 20px; color: #9cc3ef; position: sticky; top: 100px; }
.blueprint { width: 100%; height: auto; display: block; }
.bp-ground { stroke: #9cc3ef; stroke-width: 1.5; stroke-dasharray: 6 5; }
.bp-fill { fill: #0f2640; }
.bp-part { fill: none; stroke: #9cc3ef; stroke-width: 3; transition: stroke .3s, stroke-width .3s, filter .3s; }
.bp-thin { stroke-width: 1.8; stroke-dasharray: 5 4; }
circle.bp-part { fill: #9cc3ef; }
.bp-dim path { stroke: #9cc3ef; stroke-opacity: .6; fill: none; }
.bp-dim text { font: 500 12px var(--f-mono); fill: #9cc3ef; }
.bp-markers circle { fill: #0c1a2b; stroke: #9cc3ef; stroke-width: 1.5; transition: fill .3s, stroke .3s; }
.bp-markers text { font: 700 12px var(--f-mono); fill: #9cc3ef; text-anchor: middle; transition: fill .3s; }
.bp-markers g { cursor: pointer; }
.blueprint .is-active.bp-part { stroke: var(--signal); stroke-width: 4.5; filter: drop-shadow(0 0 6px rgba(255,176,0,.6)); }
.blueprint circle.is-active.bp-part { fill: var(--signal); }
.bp-markers g.is-active circle { fill: var(--signal); stroke: var(--signal); }
.bp-markers g.is-active text { fill: var(--ink); }
.scheme__hint { margin-top: 12px; opacity: .6; font-size: .85rem; }

.parts { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.parts li { counter-increment: p; padding: 22px 0 22px 64px; border-top: 1px solid var(--line); position: relative; cursor: default; transition: padding .3s var(--ease); }
.parts li:last-child { border-bottom: 1px solid var(--line); }
.parts li::before { content: "0" counter(p); position: absolute; left: 0; top: 22px; font: 600 .85rem var(--f-mono); color: rgba(238,236,230,.4); transition: color .3s; }
.parts b { display: block; font: 700 1.15rem var(--f-display); text-transform: uppercase; margin-bottom: 6px; transition: color .3s; }
.parts span { color: rgba(238,236,230,.65); font-size: .95rem; }
.parts li.is-active { padding-left: 76px; }
.parts li.is-active::before, .parts li.is-active b { color: var(--signal); }

/* ---------- Inside ---------- */
.inside__grid { display: grid; grid-template-columns: .85fr 1fr; gap: 80px; align-items: center; }
.photo--tall { aspect-ratio: 3 / 4; box-shadow: 24px 24px 0 var(--signal); }
.checklist { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 0; }
.checklist li { padding: 16px 0 16px 42px; border-top: 1px solid rgba(0,0,0,.12); position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 18px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffb000' stroke-width='3'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat; }

/* ---------- Range ---------- */
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--signal) var(--p, 20%), var(--steel-2) var(--p, 20%)); outline: none; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--paper); border: 6px solid var(--signal); box-shadow: 0 4px 12px rgba(0,0,0,.4); transition: transform .2s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 6px solid var(--signal); }
input[type="range"]:focus-visible { outline: 3px solid var(--signal); outline-offset: 8px; }

/* ---------- Compare ---------- */
.compare { border-top: 2px solid var(--text); }
.compare__row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid rgba(0,0,0,.14); align-items: center; transition: background .25s; }
.compare__row:not(.compare__row--head):hover { background: var(--paper-2); }
.compare__row--head { color: var(--muted); padding: 16px 0; }
.compare__row--head .mono:nth-child(2) { color: var(--text); font-weight: 600; }
.compare__row > span:first-child { font-weight: 600; }
.compare__row b { font: 700 1.05rem var(--f-display); display: flex; align-items: center; gap: 10px; }
.compare__row b::before { content: ""; width: 10px; height: 10px; background: var(--signal); border: 2px solid var(--ink); flex: none; }
.compare__row em { font-style: normal; color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(0,0,0,.25); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.steps li { padding: 36px 32px 44px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; transition: background .35s; }
.steps li::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--signal); transition: width .5s var(--ease); }
.steps li:hover { background: var(--graphite); }
.steps li:hover::after { width: 100%; }
.steps__n { display: block; font-size: 3.4rem !important; font-family: var(--f-display) !important; font-weight: 900; color: transparent; -webkit-text-stroke: 1.2px rgba(238,236,230,.35); letter-spacing: -.04em !important; margin-bottom: 24px; line-height: 1; transition: -webkit-text-stroke-color .3s, color .3s; }
.steps li:hover .steps__n { color: var(--signal); -webkit-text-stroke-color: var(--signal); }
.steps h3 { font-size: 1.2rem; text-transform: uppercase; margin-bottom: 10px; }
.steps p { color: rgba(238,236,230,.65); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.faq .section__head { position: sticky; top: 110px; margin: 0; }
.faq__list details { border-top: 1px solid rgba(0,0,0,.15); }
.faq__list details:last-child { border-bottom: 1px solid rgba(0,0,0,.15); }
.faq__list summary { list-style: none; cursor: pointer; padding: 26px 56px 26px 0; font: 700 1.12rem/1.35 var(--f-display); position: relative; transition: color .2s; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 38px; height: 38px; margin-top: -19px; border: 1.5px solid currentColor; border-radius: 50%; display: grid; place-items: center; font: 400 1.4rem/1 var(--f-body); transition: transform .35s var(--ease), background .25s, color .25s; }
.faq__list details[open] summary::after { transform: rotate(45deg); background: var(--ink); color: var(--signal); border-color: var(--ink); }
.faq__list summary:hover { color: #a26f00; }
.faq__list details p { padding: 0 56px 28px 0; color: var(--muted); animation: fade .4s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Order form ---------- */
.order { background: var(--ink); color: var(--paper); overflow: hidden; isolation: isolate; }
.order::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(255,176,0,.16), transparent 65%); z-index: -1; }
.order__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
.contacts { list-style: none; padding: 0; margin: 48px 0 0; }
.contacts li { display: grid; grid-template-columns: 110px 1fr; padding: 18px 0; border-top: 1px solid var(--line); align-items: baseline; }
.contacts li:last-child { border-bottom: 1px solid var(--line); }
.contacts .mono { color: rgba(238,236,230,.5); font-size: .7rem; }
.contacts a, .contacts b { font: 600 1.1rem var(--f-body); text-decoration: none; }
.contacts a:hover { color: var(--signal); }

.form { background: var(--paper); color: var(--text); padding: 40px; border-radius: var(--r); position: relative; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 12px 12px 0 var(--signal); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field > span, .field legend { display: block; font: 600 .7rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; padding: 0; }
.field input, .field textarea {
  width: 100%; font: 500 1rem var(--f-body); color: var(--text);
  background: #fff; border: 1.5px solid rgba(0,0,0,.14); border-radius: var(--r);
  padding: 14px 16px; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #a5a7ab; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255,176,0,.35); }
.field.has-error input { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(229,72,77,.15); }
.field .err { display: block; color: var(--danger); font-size: .8rem; margin-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 10px 16px; border: 1.5px solid rgba(0,0,0,.16); border-radius: 100px; font-weight: 600; font-size: .9rem; transition: .2s; background: #fff; }
.chips label:hover span { border-color: var(--ink); }
.chips input:checked + span { background: var(--ink); color: var(--signal); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: center; font-size: .85rem; color: var(--muted); margin: 6px 0 24px; cursor: pointer; }
.consent input { width: 18px; height: 18px; accent-color: var(--ink); }
.form__status { margin-top: 14px; font-size: .9rem; text-align: center; min-height: 1.4em; }
.form__status.is-error { color: var(--danger); }
.btn__spinner { width: 18px; height: 18px; border: 2.5px solid var(--ink); border-right-color: transparent; border-radius: 50%; display: none; animation: spin .7s linear infinite; }
.form.is-loading .btn__spinner { display: inline-block; }
.form.is-loading button[type="submit"] { pointer-events: none; opacity: .85; }

.form__success { position: absolute; inset: 0; background: var(--paper); border-radius: var(--r); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; gap: 12px; }
.form__success[hidden] { display: none; }
.form__success svg { width: 84px; height: 84px; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 10px; }
.form__success circle { stroke: var(--signal); stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .8s var(--ease) forwards; }
.form__success path { stroke: var(--ink); stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form__success h3 { font-size: 1.8rem; text-transform: uppercase; }
.form__success p { color: var(--muted); margin-bottom: 16px; }

/* ---------- Footer ---------- */
.footer { background: #0a0b0d; color: var(--paper); padding: 44px 0; border-top: 1px solid var(--line); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__copy { font-size: .85rem; color: rgba(238,236,230,.5); }

.fab { display: none; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.hero .reveal:nth-child(2) { transition-delay: .08s; }
.hero .reveal:nth-child(3) { transition-delay: .16s; }
.hero .reveal:nth-child(4) { transition-delay: .24s; }
.hero .reveal:nth-child(5) { transition-delay: .32s; }
.hero__visual.reveal { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav, .header__phone { display: none; }
  .burger { display: block; }
  .header__cta { margin-left: auto; }
  .burger { margin-left: 0; }
  .nav.is-open { display: flex; position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0; background: var(--ink); padding: 12px 24px 24px; border-top: 1px solid var(--line); }
  .nav.is-open a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .hero__grid, .scheme, .inside__grid, .order__grid, .faq { grid-template-columns: 1fr; gap: 48px; }
  .scheme__drawing, .faq .section__head { position: static; }
  .hero__visual { max-width: 560px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card--big { grid-row: auto; grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .photo--tall { max-width: 480px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .header__cta .btn { display: none; }
  .section { padding: 80px 0; }
  .hero { padding: 120px 0 72px; }
  .hero__stats { gap: 20px; justify-content: space-between; }
  .hero__stats dt { font-size: 1.8rem; }
  .stamp { width: 96px; height: 96px; top: -26px; right: -6px; }
  .stamp text { font-size: 7.2px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .compare__row { grid-template-columns: 1fr 1fr; gap: 8px 16px; }
  .compare__row > span:first-child { grid-column: 1 / -1; }
  .compare__row--head > span:first-child { display: none; }
  .form { padding: 26px 20px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 8px 8px 0 var(--signal); }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .photo--tall { box-shadow: 12px 12px 0 var(--signal); }
  .faq__list summary { font-size: 1rem; }
  .fab { display: flex; position: fixed; right: 16px; bottom: 16px; z-index: 40; background: var(--signal); color: var(--ink); font-weight: 800; text-decoration: none; padding: 14px 22px; border-radius: 100px; box-shadow: 0 10px 30px -6px rgba(0,0,0,.5); transition: transform .3s var(--ease), opacity .3s; }
  .fab.is-hidden { transform: translateY(120%); opacity: 0; }
  .footer__inner { flex-direction: column; text-align: center; }
}

/* ---------- Footer legal ---------- */
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer__legal .mono { color: var(--signal); font-size: .68rem; margin-bottom: 10px; }
.footer__legal p { font-size: .88rem; color: rgba(238,236,230,.7); line-height: 1.7; }
.footer__legal b { color: var(--paper); }
.footer__legal a { text-decoration: none; }
.footer__legal a:hover { color: var(--signal); }
.footer .footer__copy { margin-top: 24px; }
@media (max-width: 1080px) {
  .footer__legal { flex-direction: column; }
}

/* ---------- Specs ---------- */
.specs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.specs .section__head { margin-bottom: 40px; }
.spec-table { margin: 0; border-top: 2px solid var(--text); }
.spec-table div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,.14); }
.spec-table dt { color: var(--muted); font-size: .92rem; }
.spec-table dd { margin: 0; font-weight: 700; }
.specs__note { margin-top: 18px; font-size: .85rem; color: var(--muted); }
.photo--specs { aspect-ratio: 3 / 2; box-shadow: -18px 18px 0 var(--signal); }

/* ---------- Protection ---------- */
.protect { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.protect__col { border-radius: var(--r); padding: 36px; border: 1px solid var(--line); }
.protect__col h3 { font-size: 1.4rem; text-transform: uppercase; margin-bottom: 20px; display: flex; align-items: center; gap: 14px; }
.protect__col h3::before { content: ""; width: 36px; height: 36px; border-radius: 50%; flex: none; background-position: center; background-repeat: no-repeat; background-size: 18px; }
.protect__col--yes { background: var(--graphite); border-color: rgba(255,176,0,.45); }
.protect__col--yes h3::before { background-color: var(--signal); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111316' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }
.protect__col--no h3::before { background-color: var(--steel-2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eeece6' stroke-width='3'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
.protect__col ul { list-style: none; padding: 0; margin: 0; }
.protect__col li { padding: 12px 0; border-top: 1px solid var(--line); color: rgba(238,236,230,.85); }
.protect__col--no li { color: rgba(238,236,230,.6); }
.protect__plus { margin-top: 20px; padding: 16px; border-radius: var(--r); background: rgba(255,176,0,.1); font-size: .92rem; color: rgba(238,236,230,.8); }
.protect__plus b { color: var(--signal); }

@media (max-width: 1080px) {
  .specs__grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
  .spec-table div { grid-template-columns: 1fr; gap: 2px; }
  .protect { grid-template-columns: 1fr; }
  .protect__col { padding: 26px 20px; }
  .photo--specs { box-shadow: -10px 10px 0 var(--signal); }
}

/* ---------- Very narrow screens ---------- */
@media (max-width: 640px) {
  .cards, .specs__grid, .protect, .inside__grid, .order__grid, .faq, .scheme { grid-template-columns: minmax(0, 1fr); }
  .section__title { font-size: clamp(1.45rem, 8.2vw, 2rem); overflow-wrap: break-word; }
  .card h3 { overflow-wrap: break-word; }
}

/* ---------- Gallery ---------- */
.gallery { background: var(--paper-2); }
.gallery__grid { columns: 3; column-gap: 12px; }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--r); background: var(--steel); display: block; margin-bottom: 12px; break-inside: avoid; }
.gallery__item img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 14px 12px; color: #fff; font-size: .85rem; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.gallery__item:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,11,13,.94); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: var(--r); }
.lightbox__close { position: absolute; top: 14px; right: 18px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--signal); color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; }
@media (max-width: 1080px) { .gallery__grid { columns: 2; } }
@media (max-width: 640px) { .gallery__grid { columns: 1; } }

/* ---------- Configurator ---------- */
.cfg { display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--ink); }
.cfg__controls { padding: 36px; display: flex; flex-direction: column; gap: 30px; }
.cfg__preview { padding: 36px; background: var(--steel); display: flex; flex-direction: column; gap: 22px; }
.cfg__label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: .95rem; margin-bottom: 12px; }
.cfg__label output { font: 800 1.6rem var(--f-display); color: var(--signal); }
.cfg__scale { display: flex; justify-content: space-between; margin-top: 10px; font-size: .78rem; color: rgba(238,236,230,.45); }
.cfg__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cfg__seg { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--steel); border-radius: 8px; padding: 4px; gap: 4px; }
.cfg__seg input, .cfg__opts input { position: absolute; opacity: 0; pointer-events: none; }
.cfg__seg span { display: block; text-align: center; padding: 12px 6px; border-radius: 6px; font: 800 1rem var(--f-display); cursor: pointer; transition: background .2s, color .2s; color: rgba(238,236,230,.7); }
.cfg__seg label:hover span { color: var(--paper); }
.cfg__seg input:checked + span { background: var(--signal); color: var(--ink); }
.cfg__seg input:focus-visible + span, .cfg__opts input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 2px; }
.stepper { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; background: var(--steel); border-radius: 8px; padding: 4px; }
.stepper button { height: 44px; border: 0; border-radius: 6px; background: var(--steel-2); color: var(--paper); font-size: 1.4rem; cursor: pointer; transition: background .2s, color .2s; }
.stepper button:hover { background: var(--signal); color: var(--ink); }
.stepper output, .stepper input { text-align: center; font: 800 1.4rem var(--f-display); color: var(--paper); background: transparent; border: 0; width: 100%; min-width: 0; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: 2px solid var(--signal); border-radius: 4px; }
.cfg__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.cfg__opts label { cursor: pointer; }
.cfg__opts span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 100px; font-weight: 600; font-size: .9rem; color: rgba(238,236,230,.8); transition: .2s; }
.cfg__opts span::before { content: "+"; font-weight: 800; color: var(--signal); }
.cfg__opts label:hover span { border-color: rgba(255,176,0,.6); }
.cfg__opts input:checked + span { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.cfg__opts input:checked + span::before { content: "✓"; color: var(--ink); }
.cfg__stage { background: #0c0d10; border-radius: 8px; padding: 16px 12px 10px; }
.cfg__stage svg { width: 100%; height: auto; display: block; }
.cfg__ground { stroke: #8a6d3b; stroke-width: 2; stroke-dasharray: 6 5; }
.cfg__dim { stroke: rgba(238,236,230,.35); stroke-width: 1; }
.cfg__dimtxt { font: 600 11px var(--f-body); fill: rgba(238,236,230,.7); }
.cfg__times { font: 900 22px var(--f-display); fill: var(--signal); }
.cfg__person { fill: none; stroke: var(--signal); stroke-width: 2.2; stroke-linecap: round; }
.cfg__person circle { fill: var(--signal); stroke: none; }
.cfg__hint { margin-top: 6px; font-size: .75rem; color: rgba(238,236,230,.45); text-align: right; }
#cfgTube > * { transition: all .35s var(--ease); }
.cfg__summary { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: 8px; overflow: hidden; }
.cfg__summary div { background: var(--steel); padding: 14px 16px; }
.cfg__summary div:last-child { grid-column: 1 / -1; }
.cfg__summary dt { font-size: .75rem; color: rgba(238,236,230,.5); margin-bottom: 4px; }
.cfg__summary dd { margin: 0; font-weight: 800; font-size: 1.05rem; }
.cfg__note { font-size: .8rem; color: rgba(238,236,230,.5); }
.form__config { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; background: #fff6df; border: 1.5px solid var(--signal); border-radius: var(--r); padding: 12px 14px; margin-bottom: 18px; }
.form__config[hidden] { display: none; }
.form__config span { width: 100%; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #a26f00; }
.form__config b { flex: 1; font-size: .95rem; }
.form__config a { font-size: .85rem; color: var(--muted); }
@media (max-width: 1080px) { .cfg { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .cfg__controls, .cfg__preview { padding: 24px 18px; }
  .cfg__row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cfg__summary { grid-template-columns: 1fr 1fr; }
  .cfg__summary div:first-child { grid-column: 1 / -1; }
  .cfg__dimtxt { font-size: 20px; }
  .cfg__times { font-size: 34px; }
  .cfg__stage { padding: 12px 8px 8px; }
}

/* ---------- SEO bits ---------- */
.hero__kicker { display: block; font: 700 clamp(.85rem, 1.3vw, 1rem)/1.3 var(--f-body); letter-spacing: .02em; text-transform: none; color: var(--signal); margin-bottom: 18px; }
.seo__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.seo .section__head { margin: 0; position: sticky; top: 110px; }
.seo__text { font-size: 1.02rem; color: #33363b; }
.seo__text p { margin-bottom: 16px; }
.seo__text h3 { font-size: 1.1rem; text-transform: uppercase; margin: 28px 0 12px; }
.seo__text ul { margin: 0 0 20px; padding: 0; list-style: none; }
.seo__text li { padding: 10px 0 10px 22px; border-top: 1px solid rgba(0,0,0,.12); position: relative; }
.seo__text li::before { content: ""; position: absolute; left: 0; top: 19px; width: 8px; height: 8px; background: var(--signal); border: 2px solid var(--ink); }
.seo__text a { font-weight: 700; color: var(--text); }
@media (max-width: 1080px) {
  .seo__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .seo .section__head { position: static; }
}

/* ---------- Landing pages ---------- */
.hero--page { padding: 130px 0 90px; }
.hero__title--page { font-size: clamp(2.2rem, 5vw, 4rem); margin: 18px 0 24px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: rgba(238,236,230,.55); }
.crumbs a { color: rgba(238,236,230,.8); text-decoration: none; }
.crumbs a:hover { color: var(--signal); }
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: var(--text); border: 2px solid var(--text); }
.benefit { background: var(--paper); padding: 32px; }
.benefit__n { font: 900 1.6rem var(--f-display); color: #a26f00; }
.benefit h3 { font-size: 1.2rem; text-transform: uppercase; margin: 14px 0 10px; }
.benefit p { color: var(--muted); }
.prose { font-size: 1.05rem; color: rgba(238,236,230,.8); }
.prose p { margin-bottom: 16px; }
.prose b { color: var(--paper); }
.prose a { color: var(--signal); font-weight: 700; }
.prose h3 { font-size: 1.05rem; text-transform: uppercase; margin: 26px 0 12px; color: var(--paper); }
.prose ul { list-style: none; padding: 0; margin: 0 0 18px; }
.prose li { padding: 10px 0 10px 22px; border-top: 1px solid var(--line); position: relative; }
.prose li::before { content: ""; position: absolute; left: 0; top: 19px; width: 8px; height: 8px; background: var(--signal); }
.section--dark .seo__grid .section__head { position: sticky; top: 110px; margin: 0; }
.card__link { color: inherit; }
.card:hover .card__link { color: var(--signal); }

/* ---------- Nav language + footer columns ---------- */
.nav__lang { border: 1.5px solid var(--line); border-radius: 100px; padding: 4px 12px !important; opacity: 1 !important; }
.nav__lang::after { display: none; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 32px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.footer__cols a { display: block; color: rgba(238,236,230,.75); text-decoration: none; padding: 4px 0; font-size: .92rem; }
.footer__cols a:hover { color: var(--signal); }
.footer__cols p { font-size: .9rem; color: rgba(238,236,230,.7); margin-bottom: 10px; line-height: 1.7; }
.footer__h { font-weight: 800; color: var(--signal) !important; text-transform: uppercase; font-size: .75rem !important; letter-spacing: .08em; margin-bottom: 8px !important; }
@media (max-width: 1080px) {
  .section--dark .seo__grid .section__head { position: static; }
  .nav.is-open .nav__lang { align-self: flex-start; margin-top: 12px; border-bottom: 1.5px solid var(--line); }
}
@media (max-width: 640px) {
  .benefits { grid-template-columns: minmax(0, 1fr); }
  .benefit { padding: 24px 20px; }
  .footer__cols { grid-template-columns: 1fr; text-align: left; }
  .hero--page { padding: 110px 0 64px; }
}

/* ---------- Quick callback ---------- */
.callback { margin-top: 28px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.04); max-width: 560px; }
.callback__label { font-size: .92rem; color: rgba(238,236,230,.8); margin-bottom: 12px; }
.callback__row { display: flex; gap: 10px; }
.callback input { flex: 1; min-width: 0; font: 600 1rem var(--f-body); color: var(--paper); background: var(--ink); border: 1.5px solid var(--steel-2); border-radius: var(--r); padding: 14px 16px; }
.callback input:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 4px rgba(255,176,0,.25); }
.callback .btn { white-space: nowrap; }
.callback__msg { font-size: .88rem; margin-top: 8px; min-height: 1.2em; }
.callback__msg.is-error { color: #ff8a8e; }
.callback__msg.is-ok { color: var(--signal); font-weight: 700; }
.callback.is-loading .btn { opacity: .7; pointer-events: none; }
.callback.is-done .callback__row { display: none; }
.hero__actions + .callback { margin-top: 24px; }
@media (max-width: 640px) {
  .callback__row { flex-direction: column; }
  .callback .btn { width: 100%; }
}
