/* ============================================================
   РОСКРОВЛЯ — v2 · «ТЕХНИЧЕСКИЙ ПАСПОРТ ОБЪЕКТА»
   Art direction: industrial specification / instrument panel.
   Steel · concrete · measuring ticks · monospaced data labels.
   Sharp corners, hairline rules, one signal accent. No soft shadows.
   ============================================================ */

:root {
  --ink:        #14161A;   /* near-black / dark surfaces */
  --concrete:   #F5F4F0;   /* warm concrete — main light bg */
  --concrete-2: #ECEAE3;   /* slightly deeper concrete */
  --surface:    #FFFFFF;   /* card on light */
  --dark-surf:  #1E2127;   /* card on dark */
  --dark-surf-2:#23262D;
  --text-dark:  #ECEBE6;   /* text on dark */
  --text-dim:   #AFB1A8;   /* dim text on dark — raised for readability */
  --muted:      #6E7066;   /* muted text on light */
  --line:       #C9C8C1;   /* hairline on light */
  --line-2:     #DCDAD2;   /* faint hairline */
  --line-dark:  #30343C;   /* hairline on dark */
  --accent:     #FF5A1F;   /* single signal accent */
  --accent-deep:#E64A12;

  --f-head: "Unbounded", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --f-body: "Golos Text", system-ui, sans-serif;

  --container: 1320px;
  --gutter: clamp(18px, 3.5vw, 48px);
  --ease: cubic-bezier(.22,.61,.30,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--f-body);
  background: var(--concrete);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3 { margin: 0; font-family: var(--f-head); font-weight: 800; line-height: 0.98; letter-spacing: -0.01em; text-transform: uppercase; }

/* ---- layout primitives ---- */
.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }

/* "sheet" — drafting page with hairline side rules */
.sheet { position: relative; border-inline: 1px solid var(--line); }
.sheet--dark { border-color: var(--line-dark); }

.section { padding-block: clamp(56px, 7vw, 104px); }
.section--flush { padding-block: 0; }

/* mono technical tag, e.g. [ ТИП: МЕМБРАНА ] */
.tag {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.tag--accent { color: var(--accent); }
.tag--bracket::before { content: "[ "; }
.tag--bracket::after  { content: " ]"; }

/* section label row: index + title */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 0; }
.sec-head__l { max-width: 760px; }
.sec-head__idx { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.08em; color: var(--accent); display: block; margin-bottom: 16px; }
.sec-head h2 { font-size: clamp(28px, 4vw, 52px); }
.sec-head__sub { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.02em; color: var(--muted); text-transform: uppercase; line-height: 1.5; max-width: 360px; }

/* measuring ruler ticks */
.ruler {
  height: 16px;
  background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 13px);
  border-bottom: 1px solid var(--line);
}
.ruler--accent { background-image: repeating-linear-gradient(90deg, var(--accent) 0 1px, transparent 1px 13px); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--f-mono); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 17px 26px; border: 1px solid var(--ink); border-radius: 0; background: var(--accent); color: var(--ink);
  transition: background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}
.btn__arrow { transition: transform .18s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--accent { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.btn--accent:hover { background: var(--ink); color: var(--accent); border-color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--concrete); }
.btn--ghost-dark { background: transparent; color: var(--text-dark); border-color: var(--line-dark); }
.btn--ghost-dark:hover { background: var(--text-dark); color: var(--ink); border-color: var(--text-dark); }
.btn--block { width: 100%; }
.btn--lg { padding: 20px 30px; font-size: 15px; }

/* ============================================================
   HEADER
   ============================================================ */
.header { position: sticky; top: 0; z-index: 60; background: var(--concrete); border-bottom: 1px solid var(--line); }
.header__row { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__mark { width: 34px; height: 34px; border: 1px solid var(--ink); display: grid; place-items: center; }
.brand__mark span { width: 12px; height: 12px; background: var(--accent); display: block; }
.brand__txt { line-height: 1; }
.brand__txt b { font-family: var(--f-head); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; text-transform: uppercase; display: block; }
.brand__txt i { font-family: var(--f-mono); font-style: normal; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 2px; margin-left: 14px; }
.nav a { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink); padding: 9px 13px; transition: color .15s; }
.nav a:hover { color: var(--accent); }
.nav a .i { color: var(--muted); margin-right: 6px; }

.header__r { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.header__phone { font-family: var(--f-mono); font-size: 16px; font-weight: 500; letter-spacing: 0.01em; white-space: nowrap; }
.header__phone .lbl { display: block; font-size: 10px; letter-spacing: 0.12em; color: var(--muted); }
.header__cta { padding: 13px 20px; }
.header__call { display: none; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--ink); background: none; flex-direction: column; gap: 5px; align-items: center; justify-content: center; border-radius: 0; }
.burger span { width: 18px; height: 2px; background: var(--ink); }

/* ============================================================
   HERO
   ============================================================ */
.hero { border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; grid-template-columns: 1.18fr 1fr; }
.hero__l { padding: clamp(40px, 5vw, 72px) clamp(28px, 4vw, 64px) clamp(36px, 4vw, 56px) var(--gutter); border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.hero__topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(30px, 5vw, 64px); }
.hero h1 { font-size: clamp(40px, 6.4vw, 92px); font-weight: 800; line-height: 0.92; letter-spacing: -0.02em; }
.hero h1 .accent { color: var(--accent); }
.hero__spec { font-family: var(--f-mono); font-size: clamp(12px, 1.1vw, 14.5px); letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink); margin-top: clamp(26px, 3vw, 40px); padding-top: 22px; border-top: 1px solid var(--line); line-height: 1.9; }
.hero__spec b { color: var(--accent); font-weight: 700; }
.hero__cta { display: flex; align-items: center; gap: 22px; margin-top: auto; padding-top: clamp(30px, 4vw, 48px); flex-wrap: wrap; }
.hero__phone { font-family: var(--f-mono); font-size: 19px; font-weight: 500; }
.hero__phone .lbl { display: block; font-size: 10px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }

.hero__r { position: relative; overflow: hidden; min-height: 420px; background: var(--ink); }
.hero__r image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__r::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(20,22,26,.82), transparent 46%), linear-gradient(to right, rgba(20,22,26,.45), transparent 30%); }
.hero__overlay { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
/* measuring frame on the photo */
.hero__crosshair { position: absolute; inset: 18px; border: 1px solid rgba(236,235,230,.45); }
.hero__crosshair::before, .hero__crosshair::after { content: ""; position: absolute; background: var(--accent); }
.hero__crosshair::before { top: -1px; left: 28%; width: 1px; height: 14px; }
.hero__crosshair::after  { bottom: -1px; right: 22%; width: 1px; height: 14px; }
.hero__corner-tag { position: absolute; top: 30px; left: 30px; z-index: 3; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); background: var(--accent); padding: 7px 11px; }
.hero__coords { position: absolute; bottom: 28px; right: 30px; z-index: 3; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--text-dark); text-align: right; line-height: 1.7; text-transform: uppercase; opacity: .9; }
.hero__vticks { position: absolute; top: 0; bottom: 0; left: 0; width: 14px; z-index: 3; background-image: repeating-linear-gradient(180deg, rgba(236,235,230,.5) 0 1px, transparent 1px 16px); }

/* ============================================================
   SPEC STRIP (achievements) — dark instrument cluster
   ============================================================ */
.spec { background: var(--ink); color: var(--text-dark); border-bottom: 1px solid var(--line-dark); }
.spec__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.spec__cell { padding: clamp(30px, 4vw, 52px) clamp(20px, 2.5vw, 40px); border-left: 1px solid var(--line-dark); position: relative; }
.spec__cell:first-child { border-left: none; }
.spec__idx { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--text-dim); }
.spec__num { font-family: var(--f-head); font-weight: 800; font-size: clamp(44px, 6vw, 86px); line-height: 0.9; letter-spacing: -0.03em; margin-top: 18px; font-feature-settings: "tnum"; }
.spec__num .u { color: var(--accent); font-size: 0.42em; letter-spacing: 0; }
.spec__lbl { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); margin-top: 16px; line-height: 1.5; }

/* ============================================================
   SERVICES — indexed spec list 01–06
   ============================================================ */
.svc__list { border-top: 1px solid var(--line); }
.svc__row {
  display: grid; grid-template-columns: 92px 1.1fr 1.4fr 150px; align-items: center; gap: 24px;
  padding: clamp(22px, 2.4vw, 34px) 8px; border-bottom: 1px solid var(--line);
  position: relative; transition: background .16s var(--ease), padding-left .16s var(--ease);
}
.svc__row:hover { background: var(--surface); padding-left: 22px; }
.svc__row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .18s var(--ease); }
.svc__row:hover::before { transform: scaleY(1); }
.svc__idx { font-family: var(--f-mono); font-size: 15px; color: var(--accent); letter-spacing: 0.04em; }
.svc__name { font-family: var(--f-head); font-weight: 700; font-size: clamp(19px, 1.9vw, 27px); text-transform: uppercase; line-height: 1; letter-spacing: -0.01em; }
.svc__desc { font-size: 15px; color: var(--muted); line-height: 1.5; }
.svc__tag { justify-self: end; text-align: right; }
.svc__arrow { display: none; }

/* ============================================================
   CALCULATOR — instrument panel (dark)
   ============================================================ */
.calc { background: var(--ink); color: var(--text-dark); border-bottom: 1px solid var(--line-dark); }
.calc__grid { display: grid; grid-template-columns: 1fr 1.25fr; }
.calc__intro { padding: clamp(40px, 5vw, 80px) clamp(28px, 3.5vw, 56px) clamp(40px, 5vw, 80px) var(--gutter); border-right: 1px solid var(--line-dark); }
.calc__intro h2 { font-size: clamp(28px, 3.6vw, 50px); margin-top: 18px; }
.calc__intro h2 .u { color: var(--accent); }
.calc__intro .lead { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--text-dim); margin-top: 22px; line-height: 1.7; max-width: 380px; }
.calc__specs { margin-top: 34px; border-top: 1px solid var(--line-dark); }
.calc__specs .r { display: flex; justify-content: space-between; gap: 16px; font-family: var(--f-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em; padding: 13px 0; border-bottom: 1px solid var(--line-dark); }
.calc__specs .r span { color: var(--text-dim); }
.calc__specs .r b { color: var(--text-dark); font-weight: 500; }

.calc__panel { padding: clamp(28px, 3.5vw, 56px) clamp(28px, 3.5vw, 56px) clamp(28px, 3.5vw, 48px) clamp(28px, 3.5vw, 56px); background: var(--dark-surf); }
.quiz__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.quiz__top b { color: var(--accent); }
.quiz__bar { display: flex; gap: 4px; margin: 16px 0 30px; }
.quiz__seg { flex: 1; height: 4px; background: var(--line-dark); }
.quiz__seg.on { background: var(--accent); }
.quiz__panel[hidden] { display: none; }
.quiz__q { font-family: var(--f-head); font-weight: 700; font-size: clamp(20px, 2.2vw, 28px); text-transform: uppercase; letter-spacing: -0.01em; }
.quiz__hint { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--text-dim); margin-top: 10px; }
.quiz__opts { display: grid; gap: 8px; margin-top: 22px; }
.quiz__opts--2 { grid-template-columns: 1fr 1fr; }
.opt {
  display: flex; align-items: center; gap: 16px; text-align: left;
  padding: 16px 18px; border: 1px solid var(--line-dark); background: transparent; color: var(--text-dark); border-radius: 0;
  transition: border-color .14s, background .14s;
}
.opt:hover { border-color: var(--accent); }
.opt.is-sel { border-color: var(--accent); background: rgba(255,90,31,.10); }
.opt__k { font-family: var(--f-mono); font-size: 12px; color: var(--accent); flex-shrink: 0; }
.opt__t b { display: block; font-family: var(--f-body); font-weight: 600; font-size: 16px; }
.opt__t span { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--text-dim); }
.opt.is-sel .opt__check { margin-left: auto; color: var(--accent); }
.opt__check { margin-left: auto; opacity: 0; color: var(--accent); }
.opt.is-sel .opt__check { opacity: 1; }

.fld-dark { width: 100%; font-family: var(--f-mono); font-size: 15px; color: var(--text-dark); background: var(--ink); border: 1px solid var(--line-dark); border-radius: 0; padding: 15px 16px; transition: border-color .14s; }
.fld-dark::placeholder { color: var(--text-dim); }
.fld-dark:focus { outline: none; border-color: var(--accent); }
.quiz__contact { display: grid; gap: 8px; margin-top: 20px; }

.quiz__readout { border: 1px solid var(--line-dark); margin-top: 18px; }
.quiz__readout .r { display: flex; justify-content: space-between; gap: 14px; font-family: var(--f-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.03em; padding: 12px 16px; border-bottom: 1px solid var(--line-dark); }
.quiz__readout .r:last-child { border-bottom: none; }
.quiz__readout .r span { color: var(--text-dim); }
.quiz__readout .r b { color: var(--text-dark); font-weight: 500; text-align: right; }
.quiz__est { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px; background: var(--ink); border: 1px solid var(--accent); margin-top: 12px; }
.quiz__est .lbl { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-dim); }
.quiz__est .v { font-family: var(--f-head); font-weight: 800; font-size: clamp(20px, 2.2vw, 28px); color: var(--accent); letter-spacing: -0.01em; }

.quiz__nav { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.quiz__back { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; background: none; border: none; color: var(--text-dim); display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; }
.quiz__back:hover { color: var(--text-dark); }
.quiz__back[hidden] { display: none; }
.quiz__nav .btn { margin-left: auto; }
.quiz__nav .btn:disabled { background: rgba(255,90,31,.22); color: var(--text-dim); border-color: transparent; pointer-events: none; }

.quiz__done { text-align: left; padding: 16px 0; }
.quiz__done .mark { width: 56px; height: 56px; border: 1px solid var(--accent); display: grid; place-items: center; color: var(--accent); }
.quiz__done h3 { font-size: 24px; margin-top: 22px; color: var(--text-dark); }
.quiz__done p { font-family: var(--f-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--text-dim); margin-top: 12px; line-height: 1.6; }

/* ============================================================
   OBJECTS — passport cards
   ============================================================ */
.obj__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.obj { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--concrete); transition: background .15s; display: flex; flex-direction: column; }
.obj:hover { background: var(--surface); }
.obj__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.obj__no { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--accent); }
.obj__media { position: relative; aspect-ratio: 16/10; background: var(--ink); border-bottom: 1px solid var(--line); }
.obj__media image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.obj__media::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(20,22,26,.78), transparent 52%); }
.obj__mat { position: absolute; bottom: 9px; right: 10px; z-index: 2; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); }
.obj__ba { position: absolute; top: 10px; left: 10px; z-index: 2; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); background: var(--accent); padding: 5px 8px; }
.obj__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.obj__title { font-family: var(--f-head); font-weight: 700; font-size: 17px; text-transform: uppercase; line-height: 1.05; letter-spacing: -0.01em; }
.obj__table { margin-top: 16px; }
.obj__table .r { display: flex; align-items: baseline; gap: 8px; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.02em; padding: 7px 0; border-top: 1px dotted var(--line); }
.obj__table .r:first-child { border-top: none; }
.obj__table .r span { color: var(--muted); }
.obj__table .r .dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-3px); }
.obj__table .r b { color: var(--ink); font-weight: 600; }

/* ============================================================
   STAGES — tech process
   ============================================================ */
.stages { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.stages__s { padding: 30px 24px 36px 24px; border-right: 1px solid var(--line); position: relative; }
.stages__s:first-child { padding-left: 0; }
.stages__s:last-child { border-right: none; padding-right: 0; }
.stages__d { max-width: 100%; }
.stages__no { font-family: var(--f-mono); font-size: 13px; color: var(--accent); letter-spacing: 0.06em; }
.stages__bar { height: 2px; background: var(--line); margin: 16px 0 18px; position: relative; }
.stages__bar::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 2px; background: var(--accent); }
.stages__t { font-family: var(--f-head); font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: -0.01em; }
.stages__d { font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.5; max-width: 90%; }

/* ============================================================
   ADVANTAGES — spec grid, no icons
   ============================================================ */
.adv { background: var(--ink); color: var(--text-dark); border-bottom: 1px solid var(--line-dark); }
.adv__grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-dark); }
.adv__c { padding: clamp(30px, 3.4vw, 48px) clamp(24px, 3vw, 44px); border-bottom: 1px solid var(--line-dark); display: grid; grid-template-columns: 64px 1fr; gap: 8px 22px; }
.adv__c:nth-child(odd) { border-right: 1px solid var(--line-dark); }
.adv__no { font-family: var(--f-mono); font-size: 13px; color: var(--accent); letter-spacing: 0.06em; }
.adv__t { font-family: var(--f-head); font-weight: 700; font-size: clamp(18px, 1.9vw, 24px); text-transform: uppercase; letter-spacing: -0.01em; grid-column: 2; }
.adv__d { grid-column: 2; font-size: 15px; color: var(--text-dim); margin-top: 8px; line-height: 1.55; max-width: 440px; }

/* ============================================================
   REVIEWS
   ============================================================ */
.rev__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.rev { padding: clamp(26px, 2.6vw, 38px) clamp(24px, 2.4vw, 32px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.rev__no { font-family: var(--f-mono); font-size: 12px; color: var(--accent); letter-spacing: 0.06em; }
.rev__q { font-size: 16.5px; line-height: 1.58; margin-top: 20px; flex: 1; }
.rev__sig { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.rev__sig b { font-family: var(--f-mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; display: block; }
.rev__sig span { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq__top { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 4vw, 64px); align-items: end; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.faq__list { border-top: 1px solid var(--line); }
.faq__i { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; background: none; border: none; text-align: left; display: grid; grid-template-columns: 56px 1fr 32px; align-items: center; gap: 16px; padding: 26px 4px; }
.faq__qno { font-family: var(--f-mono); font-size: 13px; color: var(--accent); }
.faq__qt { font-family: var(--f-head); font-weight: 700; font-size: clamp(17px, 1.7vw, 23px); text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.05; }
.faq__q:hover .faq__qt { color: var(--accent); }
.faq__sign { width: 18px; height: 18px; position: relative; justify-self: end; }
.faq__sign::before, .faq__sign::after { content: ""; position: absolute; background: var(--accent); }
.faq__sign::before { top: 8px; left: 0; right: 0; height: 2px; }
.faq__sign::after { left: 8px; top: 0; bottom: 0; width: 2px; transition: transform .25s var(--ease); }
.faq__i.is-open .faq__sign::after { transform: scaleY(0); }
.faq__a { overflow: hidden; max-height: 0; transition: max-height .3s var(--ease); }
.faq__a-in { padding: 0 32px 28px 72px; color: var(--muted); font-size: 16px; line-height: 1.62; max-width: 720px; }

/* ============================================================
   CTA (dark)
   ============================================================ */
.cta { background: var(--ink); color: var(--text-dark); }
.cta__grid { display: grid; grid-template-columns: 1.1fr 1fr; }
.cta__l { padding: clamp(48px, 6vw, 96px) clamp(28px, 4vw, 64px) clamp(48px, 6vw, 96px) var(--gutter); border-right: 1px solid var(--line-dark); position: relative; }
.cta h2 { font-size: clamp(30px, 4.4vw, 64px); margin-top: 20px; }
.cta h2 .u { color: var(--accent); }
.cta__phone { margin-top: clamp(30px, 4vw, 48px); display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.cta__phone .num { font-family: var(--f-mono); font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; }
.cta__msgs { display: flex; gap: 8px; }
.msg { width: 46px; height: 46px; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--text-dark); transition: border-color .14s, color .14s; }
.msg:hover { border-color: var(--accent); color: var(--accent); }
.cta__r { padding: clamp(36px, 4vw, 64px) var(--gutter) clamp(36px, 4vw, 64px) clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.cta__form-h { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); padding-bottom: 18px; border-bottom: 1px solid var(--line-dark); margin-bottom: 22px; display: flex; justify-content: space-between; }
.fld-row { margin-bottom: 8px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.02em; color: var(--text-dim); line-height: 1.5; }
.consent input { margin-top: 1px; width: 15px; height: 15px; accent-color: var(--accent); flex-shrink: 0; }
.consent a { color: var(--text-dark); text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: var(--text-dim); border-top: 1px solid var(--line-dark); padding-block: clamp(44px, 5vw, 72px) 26px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 36px; }
.footer__brand .brand__txt b { color: var(--text-dark); }
.footer__brand .brand__mark { border-color: var(--line-dark); }
.footer__about { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.7; margin-top: 22px; max-width: 320px; }
.footer__col h4 { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin: 0 0 16px; font-weight: 500; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer__col a { font-family: var(--f-mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.02em; color: var(--text-dark); transition: color .14s; }
.footer__col a:hover { color: var(--accent); }
.footer__contact .num { font-family: var(--f-mono); font-size: 18px; color: var(--text-dark); display: block; }
.footer__contact div { margin-bottom: 14px; }
.footer__contact span { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.6; display: block; }
.footer__bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.03em; }
.footer__bottom a { text-decoration: underline; }

/* ============================================================
   FLOATING MOBILE CTA + MENU + TOAST
   ============================================================ */
.float { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 70; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--concrete); border-top: 1px solid var(--line); gap: 8px; }
.float .btn { flex: 1; }
.float__call { flex: 0 0 52px; }

.mmenu { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--text-dark); padding: 18px var(--gutter) 36px; display: flex; flex-direction: column; transform: translateY(-100%); transition: transform .3s var(--ease); visibility: hidden; }
.mmenu.is-open { transform: translateY(0); visibility: visible; }
.mmenu__top { display: flex; align-items: center; justify-content: space-between; min-height: 52px; border-bottom: 1px solid var(--line-dark); }
.mmenu__close { width: 44px; height: 44px; border: 1px solid var(--line-dark); background: none; color: var(--text-dark); font-size: 22px; }
.mmenu nav { display: flex; flex-direction: column; margin-top: 8px; }
.mmenu nav a { font-family: var(--f-head); font-weight: 700; font-size: 26px; text-transform: uppercase; padding: 18px 0; border-bottom: 1px solid var(--line-dark); display: flex; align-items: baseline; gap: 14px; }
.mmenu nav a .i { font-family: var(--f-mono); font-size: 13px; color: var(--accent); }
.mmenu__foot { margin-top: auto; display: grid; gap: 14px; padding-top: 20px; }
.mmenu__foot .num { font-family: var(--f-mono); font-size: 24px; }

#toast { position: fixed; left: 50%; bottom: 28px; translate: -50% 20px; z-index: 120; background: var(--ink); color: var(--text-dark); border: 1px solid var(--accent); padding: 15px 20px; font-family: var(--f-mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.03em; opacity: 0; pointer-events: none; transition: opacity .25s, translate .25s; display: flex; align-items: center; gap: 12px; max-width: 90vw; }
#toast .dot { width: 8px; height: 8px; background: var(--accent); flex-shrink: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__l { border-right: none; border-bottom: 1px solid var(--line); }
  .hero__r { min-height: 360px; }
  .calc__grid { grid-template-columns: 1fr; }
  .calc__intro { border-right: none; border-bottom: 1px solid var(--line-dark); }
  .cta__grid { grid-template-columns: 1fr; }
  .cta__l { border-right: none; border-bottom: 1px solid var(--line-dark); }
  .obj__grid { grid-template-columns: repeat(2, 1fr); }
  .rev__grid { grid-template-columns: 1fr 1fr; }
  .stages { grid-template-columns: repeat(2, 1fr); }
  .stages__s { padding-right: 24px; border-bottom: 1px solid var(--line); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav, .header__phone { display: none; }
  .burger { display: flex; }
  .header__call { display: grid; }
  .header__cta { display: none; }
  .spec__grid { grid-template-columns: 1fr 1fr; }
  .spec__cell:nth-child(odd) { border-left: none; }
  .spec__cell:nth-child(even) { border-left: 1px solid var(--line-dark); }
  .spec__cell:nth-child(3), .spec__cell:nth-child(4) { border-top: 1px solid var(--line-dark); }
  .svc__row { grid-template-columns: 54px 1fr; gap: 6px 16px; }
  .svc__desc { grid-column: 2; }
  .svc__tag { grid-column: 2; justify-self: start; text-align: left; margin-top: 4px; }
  .adv__grid { grid-template-columns: 1fr; }
  .adv__c:nth-child(odd) { border-right: none; }
  .float { display: flex; }
  body { padding-bottom: 70px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .obj__grid { grid-template-columns: 1fr; }
  .rev__grid { grid-template-columns: 1fr; }
  .stages { grid-template-columns: 1fr; }
  .stages__s { border-right: none; padding-right: 0; }
  .quiz__opts--2 { grid-template-columns: 1fr; }
  .quiz__panel.calc__panel, .calc__panel { padding-inline: var(--gutter); }
  .faq__a-in { padding-left: 4px; }
  .faq__q { grid-template-columns: 36px 1fr 28px; gap: 10px; }
  .hero__cta { gap: 16px; }
}

/* ============================================================
   TICKER — mono running readout
   ============================================================ */
.ticker { background: var(--ink); color: var(--text-dark); border-bottom: 1px solid var(--line-dark); overflow: hidden; position: relative; }
.ticker__track { display: inline-flex; align-items: center; white-space: nowrap; width: max-content; animation: tick 30s linear infinite; }
.ticker__track > span { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; padding: 13px 0; display: inline-flex; align-items: center; }
.ticker__track .w { padding: 0 26px; }
.ticker__track .sep { color: var(--accent); }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ============================================================
   GRAIN — matte noise on dark sections
   ============================================================ */
.spec, .calc, .adv, .cta, .footer, .hero__r { position: relative; }
.spec::after, .calc::after, .adv::after, .cta::after, .footer::after {
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  opacity: 0.4; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* ============================================================
   BEFORE / AFTER COMPARATOR (featured object)
   ============================================================ */
.compare { border: 1px solid var(--line); margin-bottom: 32px; background: var(--ink); }
.compare__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--concrete); }
.compare__head .t { font-family: var(--f-head); font-weight: 700; font-size: clamp(15px, 1.6vw, 19px); text-transform: uppercase; letter-spacing: -0.01em; }
.compare__stage { position: relative; width: 100%; aspect-ratio: 21/9; overflow: hidden; touch-action: pan-y; user-select: none; background: var(--ink); }
.compare__layer { position: absolute; inset: 0; }
.compare__layer image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.compare__before { z-index: 2; clip-path: inset(0 50% 0 0); will-change: clip-path; }
.compare__lbl { position: absolute; top: 12px; z-index: 5; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 9px; pointer-events: none; }
.compare__lbl--b { left: 12px; color: var(--ink); background: var(--text-dark); z-index: 6; }
.compare__lbl--a { right: 12px; color: var(--ink); background: var(--accent); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: 50%; z-index: 7; width: 2px; background: var(--accent); transform: translateX(-50%); cursor: ew-resize; }
.compare__grip { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 40px; height: 40px; background: var(--accent); display: grid; place-items: center; color: var(--ink); }
.compare__grip svg { display: block; }

/* ============================================================
   REVEAL — animation base states (only when JS arms them)
   ============================================================ */
.pre-anim [data-reveal] { opacity: 0; }
.pre-anim [data-reveal="up"] { transform: translateY(26px); }
.pre-anim [data-reveal="left"] { transform: translateX(28px); }
.pre-anim .hero h1, .pre-anim .sec-head h2, .pre-anim .cta h2, .pre-anim .faq__top h2 { opacity: 0; }
.reveal-w { display: inline-block; }
.pre-anim .reveal-line { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .pre-anim [data-reveal], .pre-anim [data-reveal="up"], .pre-anim [data-reveal="left"] { opacity: 1; transform: none; }
}

@media (max-width: 700px) {
  .compare__stage { aspect-ratio: 4/3; }
  .compare__grip { width: 46px; height: 46px; }
}

/* ============================================================
   INNER PAGES — crumbs, prose, price, filters, catalog
   ============================================================ */
.crumbs { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); padding: 16px 0; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--accent); }
.crumbs .sep { color: var(--line); } .crumbs b { color: var(--ink); font-weight: 600; }

.prose { max-width: 760px; }
.prose p { margin: 0 0 18px; font-size: 17px; line-height: 1.65; color: var(--ink); }
.prose p:last-child { margin-bottom: 0; }
.prose p .accent { color: var(--accent-deep, var(--accent)); font-weight: 600; }
.prose--dim p { color: var(--text-dim); }
.prose h3 { font-family: var(--f-head); font-weight: 700; font-size: clamp(18px, 2vw, 22px); letter-spacing: -0.01em; text-transform: uppercase; color: var(--ink); margin: 36px 0 14px; }
.prose h3:first-child { margin-top: 0; }
.prose ul { margin: 0 0 18px; padding-left: 22px; }
.prose li { font-size: 17px; line-height: 1.6; color: var(--ink); margin-bottom: 8px; }
.prose a { color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.prose a:hover { border-bottom-color: var(--accent); }
.prose b { color: var(--ink); font-weight: 600; }

.lead-2 { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 4vw, 72px); align-items: start; }

.price { border-top: 1px solid var(--line); }
.price__row { display: grid; grid-template-columns: 56px 1fr auto; gap: 24px; align-items: center; padding: 22px 8px; border-bottom: 1px solid var(--line); transition: background .15s, padding-left .15s; }
.price__row:hover { background: var(--surface); padding-left: 18px; }
.price__row .i { font-family: var(--f-mono); font-size: 13px; color: var(--accent); }
.price__row .n { font-family: var(--f-head); font-weight: 700; font-size: clamp(16px, 1.7vw, 21px); text-transform: uppercase; letter-spacing: -0.01em; }
.price__row .d { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.02em; color: var(--muted); margin-top: 6px; }
.price__row .v { font-family: var(--f-head); font-weight: 800; font-size: clamp(19px, 2.1vw, 28px); color: var(--accent); white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; }
.price__row .v small { font-family: var(--f-mono); font-size: 11px; color: var(--muted); font-weight: 500; display: block; letter-spacing: 0.04em; }

/* filter bar (catalog) */
.filter { display: flex; gap: 0; flex-wrap: wrap; border: 1px solid var(--line); margin-bottom: 28px; }
.filter button { font-family: var(--f-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink); background: transparent; border: none; border-right: 1px solid var(--line); padding: 14px 20px; transition: background .14s, color .14s; }
.filter button:last-child { border-right: none; }
.filter button:hover { background: var(--concrete-2); }
.filter button.on { background: var(--accent); color: var(--ink); }
.obj.is-hidden { display: none; }

.catalog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.catalog__grid .obj { background: var(--concrete); }

/* doc / admission chips (about) */
.docs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.docs__c { padding: 26px 22px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.docs__c:nth-child(4n) { border-right: none; }
.docs__no { font-family: var(--f-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.06em; }
.docs__t { font-family: var(--f-head); font-weight: 700; font-size: 16px; text-transform: uppercase; margin-top: 14px; color: var(--text-dark); letter-spacing: -0.01em; }
.docs__d { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.02em; color: var(--text-dim); margin-top: 8px; line-height: 1.5; }

/* contact info grid */
.cinfo { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cinfo__c { padding: clamp(26px, 3vw, 40px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cinfo__l { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.cinfo__v { font-family: var(--f-head); font-weight: 700; font-size: clamp(18px, 2vw, 26px); text-transform: uppercase; letter-spacing: -0.01em; margin-top: 14px; }
.cinfo__v a { color: inherit; } .cinfo__v a:hover { color: var(--accent); }
.cinfo__s { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.02em; color: var(--muted); margin-top: 10px; line-height: 1.6; }

.map-slot { border: 1px solid var(--line); aspect-ratio: 21/9; position: relative; background: var(--ink); margin-top: 28px; }
.map-slot image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-slot::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; z-index: 1; }
.map-slot__tag { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); background: var(--accent); padding: 6px 10px; }

/* ===== TRUST / MATERIALS ===== */
.trust__brand {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 72px; padding: 12px 16px;
  border: 1px solid var(--line); background: var(--concrete);
  font-family: var(--f-mono); font-weight: 600; font-size: clamp(13px, 1.4vw, 16px);
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink);
  transition: border-color .25s ease, color .25s ease, background .25s ease;
}
.trust__brand:hover { border-color: var(--accent); color: var(--accent); background: transparent; }

/* ===== PRICE-FROM (услуговые страницы) ===== */
.price-from { display: flex; gap: clamp(20px, 4vw, 56px); align-items: center; flex-wrap: wrap; padding: clamp(26px, 4vw, 44px); border: 1px solid var(--line); background: var(--concrete); }
.price-from__v { font-family: var(--f-head); font-weight: 800; font-size: clamp(40px, 7vw, 84px); letter-spacing: -0.03em; color: var(--ink); line-height: 0.9; white-space: nowrap; }
.price-from__v small { font-family: var(--f-mono); font-weight: 600; font-size: clamp(13px, 1.5vw, 19px); letter-spacing: 0.02em; color: var(--muted); }
.price-from__note { font-family: var(--f-mono); font-size: clamp(12px, 1.4vw, 15px); line-height: 1.7; text-transform: uppercase; letter-spacing: 0.02em; color: var(--muted); max-width: 540px; }
.price-from__note b { color: var(--ink); font-weight: 600; }

/* ===== BRAND MONOGRAM (логотип РК — «крыша над РК») ===== */
.brand__mono { position: relative; display: inline-flex; align-items: flex-end; font-family: var(--f-head); font-weight: 900; font-size: 25px; line-height: 0.78; letter-spacing: -0.06em; color: var(--ink); padding-top: 10px; margin-right: 3px; }
.brand__mono::before { content: ""; position: absolute; top: 0; left: 1px; right: 5px; height: 8px; border: 3px solid var(--accent); border-bottom: 0; }
.footer .brand__mono { color: #fff; }

@media (max-width: 1080px) {
  .lead-2 { grid-template-columns: 1fr; }
  .catalog__grid { grid-template-columns: repeat(2, 1fr); }
  .docs { grid-template-columns: repeat(2, 1fr); }
  .docs__c:nth-child(4n) { border-right: 1px solid var(--line-dark); }
  .docs__c:nth-child(2n) { border-right: none; }
}
@media (max-width: 600px) {
  .catalog__grid { grid-template-columns: 1fr; }
  .docs { grid-template-columns: 1fr; }
  .docs__c { border-right: none !important; }
  .cinfo { grid-template-columns: 1fr; }
  .price__row { grid-template-columns: 40px 1fr; }
  .price__row .v { grid-column: 2; text-align: left; margin-top: 8px; }
  .filter button { flex: 1; }
}
