/* ================= Шрифты ================= */
@font-face { font-family: "Tektur"; font-style: normal; font-weight: 400 900; font-stretch: 75% 100%; font-display: swap;
  src: url("assets/fonts/tektur-cyr.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Tektur"; font-style: normal; font-weight: 400 900; font-stretch: 75% 100%; font-display: swap;
  src: url("assets/fonts/tektur-lat.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("assets/fonts/onest-cyr.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("assets/fonts/onest-lat.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("assets/fonts/jbm-cyr.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("assets/fonts/jbm-lat.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+2212; }

/* ================= Токены ================= */
:root {
  --film: #08131d;
  --film-2: #0c1b28;
  --film-3: #12263a;
  --line: #cfe8ff;
  --ink: #eaf3fb;
  --mute: #93aabf;
  --rule: rgba(207, 232, 255, 0.16);
  --grease: #ff4b2e;
  --grease-ink: #170604;
  --ar: #9fb7cc; --kr: #eaf3fb; --eom: #ffb020; --ov: #4fd6ff; --vk: #5b8cff; --ss: #c08bff;
  --display: "Tektur", "Arial Narrow", sans-serif;
  --text: "Onest", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gut: clamp(18px, 4vw, 64px);
  color-scheme: dark;
}

/* ================= База ================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: #2a4560 var(--film); }
body { margin: 0; background: var(--film); color: var(--ink); font-family: var(--text); font-size: clamp(1rem, .96rem + .2vw, 1.0625rem); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--grease); overflow-x: clip; }
::selection { background: var(--grease); color: var(--grease-ink); }
::-webkit-scrollbar { width: 10px; } ::-webkit-scrollbar-track { background: var(--film); } ::-webkit-scrollbar-thumb { background: #2a4560; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; font-stretch: 80%; line-height: 1; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--grease); outline-offset: 3px; }
img { display: block; max-width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; z-index: 50; background: var(--grease); color: var(--grease-ink); padding: 10px 16px; }
.skip:focus { left: 12px; top: 12px; }

.btn { font: 600 1rem/1 var(--display); font-stretch: 85%; letter-spacing: .02em; text-transform: uppercase; border: 0; border-radius: 0; cursor: pointer; padding: 17px 26px; transition: background-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease); }
.btn--grease { background: var(--grease); color: var(--grease-ink); }
.btn--grease:hover { background: #ff6a50; }
.btn--grease:active { transform: translateY(1px); }
.btn--line { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn--line:hover { background: var(--line); color: var(--film); }

/* ================= Шапка ================= */
.top { position: fixed; inset: 0 0 auto; z-index: 30; display: flex; align-items: center; gap: 32px; padding: 18px var(--gut);
  background: linear-gradient(180deg, rgba(8,19,29,.82), rgba(8,19,29,0)); transition: background-color .5s var(--ease); }
.top.is-solid { background: rgba(8,19,29,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 30px; height: 30px; color: var(--line); }
.brand span { font: 600 1.2rem/1 var(--display); font-stretch: 85%; display: flex; flex-direction: column; gap: 3px; }
.brand small { font: 400 .72rem/1 var(--mono); color: var(--mute); letter-spacing: .04em; }
.top__nav { display: flex; gap: 28px; margin-left: auto; }
.top__nav a { text-decoration: none; font-size: .95rem; color: #c6d6e4; position: relative; padding: 6px 0; }
.top__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--grease); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.top__nav a:hover { color: var(--ink); } .top__nav a:hover::after { transform: scaleX(1); }
.top__phone { font: 500 .95rem/1 var(--mono); text-decoration: none; padding: 10px 14px; border: 1px solid var(--rule); }
.top__phone:hover { border-color: var(--line); }

/* ================= Рентген ================= */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: var(--film); }
.xray { position: absolute; inset: 0; overflow: hidden; cursor: none; touch-action: pan-y; }
.xray__stage { position: absolute; left: 50%; top: 50%; width: max(100vw, 150svh); min-width: 960px; aspect-ratio: 3 / 2; transform: translate(-50%, -50%);
  --lx: -999px; --ly: -999px; --r: 170px; }
.xray__photo, .xray__film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xray__photo { filter: saturate(.9) brightness(.92); }
.xray__film {
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--lx) var(--ly), #000 calc(var(--r) - 1.5px), transparent var(--r));
          mask-image: radial-gradient(circle var(--r) at var(--lx) var(--ly), #000 calc(var(--r) - 1.5px), transparent var(--r));
}
.lens { position: absolute; left: 0; top: 0; width: calc(var(--r, 170px) * 2); height: calc(var(--r, 170px) * 2); margin: calc(var(--r, 170px) * -1) 0 0 calc(var(--r, 170px) * -1);
  border: 1.5px solid var(--line); border-radius: 50%; pointer-events: none; transform: translate(var(--px, -999px), var(--py, -999px)); opacity: 0; transition: opacity .4s var(--ease); }
.lens::before, .lens::after { content: ""; position: absolute; background: var(--line); }
.lens::before { left: 50%; top: -10px; bottom: -10px; width: 1px; -webkit-mask: linear-gradient(#000 0 18px, transparent 18px calc(100% - 18px), #000 0); mask: linear-gradient(#000 0 18px, transparent 18px calc(100% - 18px), #000 0); }
.lens::after { top: 50%; left: -10px; right: -10px; height: 1px; -webkit-mask: linear-gradient(90deg, #000 0 18px, transparent 18px calc(100% - 18px), #000 0); mask: linear-gradient(90deg, #000 0 18px, transparent 18px calc(100% - 18px), #000 0); }
.lens__read { position: absolute; left: 50%; top: calc(100% + 12px); transform: translateX(-50%); white-space: nowrap; font: 400 .72rem/1 var(--mono); color: var(--line); background: rgba(8,19,29,.7); padding: 5px 8px; }
.lens__read b { font-weight: 500; font-variant-numeric: tabular-nums; }
.xray.is-on .lens { opacity: 1; }
.xray.is-full .lens { opacity: 0; }

.marks { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; }
.mark { position: absolute; left: var(--x); top: var(--y); opacity: 0; transition: opacity .35s var(--ease); }
.mark::before { content: ""; position: absolute; width: 22px; height: 22px; left: -11px; top: -11px; border: 1.5px solid var(--grease); border-radius: 50%; }
.mark span { position: absolute; left: 18px; top: -26px; white-space: nowrap; font: 500 .78rem/1 var(--mono); background: var(--grease); color: var(--grease-ink); padding: 5px 8px; }
.mark.is-lit, .xray.is-full .mark { opacity: 1; }

.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 62%; pointer-events: none; background: linear-gradient(180deg, rgba(8,19,29,0), rgba(8,19,29,.78) 55%, rgba(8,19,29,.95)); }
.hero__copy { position: absolute; z-index: 5; left: var(--gut); bottom: clamp(28px, 6vh, 72px); right: var(--gut); max-width: 980px; display: flex; flex-direction: column; gap: 20px; }
.hero h1 { font-size: clamp(2.6rem, 1rem + 5.6vw, 6.2rem); font-stretch: 75%; font-weight: 650; text-transform: uppercase; line-height: .94; color: rgba(234,243,251,.62); }
.hero h1 em { font-style: normal; color: var(--line); }
.hero__lead { max-width: 56ch; color: #c6d6e4; font-size: clamp(1rem, .95rem + .3vw, 1.2rem); }
.quick { display: flex; flex-wrap: wrap; max-width: 560px; }
.quick input { flex: 1 1 240px; font: 500 1.05rem/1 var(--mono); color: var(--ink); background: rgba(8,19,29,.6); border: 1px solid var(--line); border-right: 0; padding: 0 18px; min-height: 54px; border-radius: 0; }
.quick input::placeholder { color: #8ea6bb; }
.quick input:focus { outline: none; background: rgba(18,38,58,.9); }
.quick .btn { min-height: 54px; }
.form__msg { flex-basis: 100%; grid-column: 1 / -1; font-size: .9rem; margin-top: 10px; color: #ffb3a5; }
.form__msg:empty { display: none; }
.form__msg.is-ok { color: var(--line); }
.hero__toggle { position: absolute; z-index: 6; right: var(--gut); bottom: clamp(28px, 6vh, 72px); display: flex; align-items: center; gap: 10px; font: 500 .85rem/1 var(--mono); color: var(--ink);
  background: rgba(8,19,29,.6); border: 1px solid var(--rule); padding: 12px 16px; cursor: pointer; backdrop-filter: blur(6px); transition: border-color .4s var(--ease), background-color .4s var(--ease); }
.hero__toggle svg { width: 20px; height: 20px; color: var(--grease); }
.hero__toggle:hover { border-color: var(--line); }
.hero__toggle[aria-pressed="true"] { background: var(--line); color: var(--film); }

/* ================= Бегущая строка ================= */
.ticker { border-block: 1px solid var(--rule); overflow: hidden; background: var(--film-2); }
.ticker__track { display: flex; width: max-content; animation: run 48s linear infinite; }
.ticker span { font: 600 clamp(1.1rem, .9rem + .8vw, 1.6rem)/1 var(--display); font-stretch: 80%; text-transform: uppercase; padding: 22px 0; display: flex; align-items: center; white-space: nowrap; color: #b9cde0; }
.ticker span::after { content: ""; width: 10px; height: 10px; border: 1.5px solid var(--grease); border-radius: 50%; margin: 0 28px; }
@keyframes run { to { transform: translateX(-50%); } }

/* ================= Разрез ================= */
.cut { padding: clamp(80px, 12vw, 160px) var(--gut) clamp(60px, 8vw, 110px); }
.cut__head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.cut h2, .reel h2, .steps h2, .order h2 { font-size: clamp(2.2rem, 1.2rem + 3.6vw, 4.6rem); text-transform: uppercase; font-stretch: 75%; }
.cut__head p { color: var(--mute); max-width: 46ch; }
.cut__body { display: grid; grid-template-columns: 210px minmax(0, 1fr) 320px; gap: clamp(20px, 2.5vw, 40px); align-items: start; }
.cut__layers { display: flex; flex-direction: column; gap: 6px; }
.layer { display: grid; grid-template-columns: 14px 52px 1fr; align-items: center; gap: 10px; text-align: left; font: inherit; color: var(--mute); background: transparent; border: 1px solid transparent; padding: 12px; cursor: pointer; transition: color .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease); }
.layer i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); opacity: .5; transition: opacity .3s; }
.layer b { font: 600 1.15rem/1 var(--display); font-stretch: 85%; color: var(--ink); }
.layer span { font-size: .86rem; line-height: 1.2; }
.layer:hover { color: var(--ink); border-color: var(--rule); }
.layer[aria-selected="true"] { color: var(--ink); border-color: var(--line); background: rgba(207,232,255,.05); }
.layer[aria-selected="true"] i { opacity: 1; }
.cut__drawing { margin: 0; background-color: var(--film-2); border: 1px solid var(--rule); padding: clamp(12px, 2vw, 28px);
  background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px); background-size: 40px 40px; background-position: -1px -1px; }
.section { width: 100%; height: auto; display: block; overflow: visible; }
.section .g-soil line { stroke: #3a5a74; stroke-width: 1.5; }
.section .sys { fill: none; stroke: #3d5d78; stroke-width: 2; opacity: .5; transition: opacity .5s var(--ease), stroke .5s var(--ease); }
.section .sys text { fill: #5b7d99; stroke: none; font: 500 15px var(--mono); transition: fill .5s; }
.section .sys[data-sys="kr"] rect { stroke: #3d5d78; }
.section[data-active] .sys { opacity: .42; }
.section[data-active="ar"]  .sys[data-sys="ar"]  { stroke: var(--ar); opacity: 1; }
.section[data-active="kr"]  .sys[data-sys="kr"]  { opacity: 1; }
.section[data-active="kr"]  .sys[data-sys="kr"] rect { stroke: var(--kr); }
.section[data-active="eom"] .sys[data-sys="eom"] { stroke: var(--eom); opacity: 1; }
.section[data-active="ov"]  .sys[data-sys="ov"]  { stroke: var(--ov); opacity: 1; }
.section[data-active="vk"]  .sys[data-sys="vk"]  { stroke: var(--vk); opacity: 1; }
.section[data-active="ss"]  .sys[data-sys="ss"]  { stroke: var(--ss); opacity: 1; }
.section[data-active="ar"]  .sys[data-sys="ar"] text { fill: var(--ar); }
.section[data-active="eom"] .sys[data-sys="eom"] text { fill: var(--eom); }
.section .sys.is-drawing path, .section .sys.is-drawing rect, .section .sys.is-drawing circle { animation: trace 1.2s var(--ease) both; }
@keyframes trace { from { stroke-dasharray: 1000; stroke-dashoffset: 1000; } to { stroke-dasharray: 1000; stroke-dashoffset: 0; } }
.cut__info { display: flex; flex-direction: column; gap: 22px; padding-top: 4px; }
.cut__info article { display: flex; flex-direction: column; gap: 14px; }
.cut__info article[hidden] { display: none; }
.cut__info h3 { font-size: clamp(1.4rem, 1.1rem + .9vw, 2rem); font-stretch: 80%; }
.cut__info p { color: #c6d6e4; }
.cut__info ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.cut__info li { padding: 11px 0 11px 22px; border-bottom: 1px solid var(--rule); position: relative; font-size: .95rem; }
.cut__info li::before { content: ""; position: absolute; left: 0; top: 1.1em; width: 10px; height: 1.5px; background: var(--grease); }
.cut__info .btn { align-self: flex-start; }


/* ================= Лента объектов ================= */
.reel { position: relative; border-top: 1px solid var(--rule); }
.reel__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(18px, 3vh, 34px); padding: 90px 0 28px; }
.reel__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 0 var(--gut); }
.reel__count { font: 400 1rem/1 var(--mono); color: var(--mute); white-space: nowrap; }
.reel__count b { color: var(--ink); font-size: 1.6rem; font-weight: 500; }
.reel__track { list-style: none; margin: 0; padding: 0 var(--gut); display: flex; gap: clamp(14px, 1.6vw, 26px); will-change: transform; transform: translate3d(var(--tx, 0px), 0, 0); }
.reel__note { padding: 0 var(--gut); font: 400 .78rem/1.4 var(--mono); color: var(--mute); }
.shot { flex: none; width: clamp(290px, 30vw, 520px); display: flex; flex-direction: column; gap: 12px; }
.shot--lead { width: clamp(320px, 46vw, 820px); }
.shot__frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--film-2); cursor: crosshair; max-height: 52svh; }
.shot--lead .shot__frame { aspect-ratio: auto; height: min(52svh, calc(46vw * .625)); }
.shot__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot__photo { transition: transform 1.2s var(--ease); }
.shot__film { clip-path: inset(0 100% 0 0); transition: clip-path .9s var(--ease); }
.shot__scan { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--grease); transform: translateX(-4px); transition: transform .9s var(--ease); pointer-events: none; }
.shot__frame:hover .shot__film, .shot.is-xray .shot__film { clip-path: inset(0 0 0 0); }
.shot__frame:hover .shot__scan, .shot.is-xray .shot__scan { transform: translateX(calc(var(--w, 520px) + 4px)); }
.shot__frame:hover .shot__photo { transform: scale(1.03); }
.shot__tag { position: absolute; left: 12px; top: 12px; font: 500 .72rem/1 var(--mono); background: rgba(8,19,29,.78); color: var(--line); padding: 6px 8px; }
.shot h3 { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.8rem); font-stretch: 80%; text-transform: uppercase; }
.shot__meta { font: 400 .8rem/1.3 var(--mono); color: var(--line); }
.shot p { color: var(--mute); font-size: .95rem; max-width: 46ch; }

/* ================= Этапы ================= */
.steps { padding: clamp(90px, 12vw, 170px) var(--gut); border-top: 1px solid var(--rule); }
.dim { list-style: none; margin: clamp(70px, 8vw, 110px) 0 0; padding: 34px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; counter-reset: s; }
.dim::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); transform: scaleX(var(--draw, 0)); transform-origin: left; transition: transform 1.8s var(--ease); }
.dim::after { content: ""; position: absolute; right: 0; top: -6px; width: 1px; height: 13px; background: var(--line); transform: rotate(45deg); }
.dim li { position: relative; padding-right: 18px; display: flex; flex-direction: column; gap: 10px; counter-increment: s; opacity: var(--show, 1); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.dim li::before { content: ""; position: absolute; left: 0; top: -40px; width: 1px; height: 13px; background: var(--line); transform: rotate(45deg); }
.dim li::after { content: "0" counter(s); position: absolute; left: 14px; top: -58px; font: 400 .75rem/1 var(--mono); color: var(--mute); }
.dim li:nth-child(2) { transition-delay: .15s; } .dim li:nth-child(3) { transition-delay: .3s; } .dim li:nth-child(4) { transition-delay: .45s; } .dim li:nth-child(5) { transition-delay: .6s; }
.dim b { font: 600 clamp(1.2rem, 1rem + .6vw, 1.6rem)/1.05 var(--display); font-stretch: 80%; text-transform: uppercase; }
.dim span { color: var(--mute); font-size: .95rem; }
.dim.is-drawn { --draw: 1; --show: 1; }
.no-js .dim { --draw: 1; --show: 1; }
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); margin-top: clamp(70px, 9vw, 130px); padding-top: 32px; border-top: 1px solid var(--rule); }
.why p { color: var(--mute); font-size: 1.05rem; }
.why b { display: block; color: var(--ink); font: 600 clamp(1.3rem, 1.1rem + .6vw, 1.75rem)/1.1 var(--display); font-stretch: 80%; text-transform: uppercase; margin-bottom: 10px; }

/* ================= Заявка ================= */
.order { position: relative; overflow: hidden; padding: clamp(90px, 12vw, 170px) var(--gut); border-top: 1px solid var(--rule); background: var(--film-2); }
.order__film { position: absolute; inset: 0 0 0 auto; width: 70%; height: 100%; object-fit: cover; opacity: .55; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.order__inner { position: relative; max-width: 860px; display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--wide { grid-column: 1 / -1; }
.field span { font: 400 .78rem/1 var(--mono); color: var(--mute); letter-spacing: .03em; }
.field input, .field select { font: 500 1.05rem/1.2 var(--text); color: var(--ink); background: rgba(8,19,29,.7); border: 1px solid var(--rule); border-radius: 0; padding: 15px 16px; appearance: none; -webkit-appearance: none; transition: border-color .3s var(--ease); }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23cfe8ff' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 40px; }
.field select option { background: var(--film); color: var(--ink); }
.field input:hover, .field select:hover { border-color: rgba(207,232,255,.4); }
.field input:focus, .field select:focus { outline: none; border-color: var(--line); }
.field input[aria-invalid="true"], .quick input[aria-invalid="true"] { border-color: var(--grease); }
.form .btn { justify-self: start; }
.order__direct { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px 28px; padding-top: 28px; border-top: 1px solid var(--rule); }
.order__direct a { font: 400 .95rem/1 var(--mono); color: #c6d6e4; }
.order__direct a:hover { color: var(--ink); }
.order__direct .order__phone { font: 600 clamp(1.8rem, 1.2rem + 2.2vw, 3rem)/1 var(--display); font-stretch: 80%; text-decoration: none; color: var(--ink); margin-right: 12px; }

.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 26px var(--gut); border-top: 1px solid var(--rule); font: 400 .78rem/1.4 var(--mono); color: var(--mute); }

/* ================= Адаптив ================= */
@media (max-width: 1180px) {
  .cut__body { grid-template-columns: 1fr; }
  .cut__layers { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .layer { grid-template-columns: 12px auto; flex: none; }
  .layer span { display: none; }
}
@media (max-width: 860px) {
  .top { gap: 16px; padding-block: 14px; }
  .top__nav { display: none; }
  .top__phone { margin-left: auto; }
  .xray { cursor: default; }
  .hero__toggle { top: 84px; bottom: auto; }
  .cut__head { grid-template-columns: 1fr; }
    .reel__sticky { position: static; height: auto; padding: 80px 0 40px; }
  .reel__track { overflow-x: auto; scroll-snap-type: x mandatory; transform: none; padding-bottom: 8px; scrollbar-width: none; }
  .shot, .shot--lead { width: 82vw; scroll-snap-align: start; }
  .shot--lead .shot__frame { height: auto; aspect-ratio: 4 / 3; }
  .dim { grid-template-columns: 1fr; padding: 0 0 0 30px; gap: 26px; margin-top: 40px; }
  .dim::before { left: 0; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform: scaleY(var(--draw, 0)); transform-origin: top; }
  .dim::after, .dim li::after { display: none; }
  .dim li::before { left: -36px; top: 4px; }
  .form { grid-template-columns: 1fr; }
  .order__film { width: 100%; opacity: .3; }
}
@media (max-width: 520px) {
  .brand small { display: none; }
  .top__phone { font-size: .8rem; padding: 9px 10px; }
  .hero h1 { font-size: 2.45rem; }
  .hero__lead { font-size: .95rem; }
  .hero__copy { gap: 14px; bottom: 22px; }
  .quick input { flex-basis: 100%; border-right: 1px solid var(--line); border-bottom: 0; }
  .quick .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; flex-wrap: wrap; width: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(8,19,29,.8) 0%, rgba(8,19,29,.45) 38%, rgba(8,19,29,0) 62%); }
.hero::after { z-index: 1; }
.hero h1 { color: rgba(234,243,251,.72); }
.lens { z-index: 2; }

/* ================= Пересборка: авторские снимки, правки ревью ================= */
.xray__film, .shot__film, .order__film { position: absolute; inset: 0; }
.xray__film svg, .shot__film svg, .order__film svg { display: block; width: 100%; height: 100%; }
.order__film { left: auto; width: 70%; opacity: .7; }
/* пометка стеклографом: кольцо от руки */
.mark::before { border: 0; border-radius: 0; width: 34px; height: 30px; left: -17px; top: -15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 30'%3E%3Cpath d='M6 9C10 2 25 1 30 9s-1 17-12 18S1 22 3 14c1-4 5-7 11-8' fill='none' stroke='%23ff4b2e' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.mark span { font-family: var(--text); font-weight: 600; font-size: .8rem; left: 20px; top: -30px; }
.hero::before { background: linear-gradient(90deg, rgba(8,19,29,.86) 0%, rgba(8,19,29,.6) 40%, rgba(8,19,29,0) 66%); }
.hero__credit { position: absolute; z-index: 6; right: var(--gut); bottom: calc(clamp(28px, 6vh, 72px) + 58px); font-size: .82rem; color: #c6d6e4; text-align: right; }
/* моно только для данных */
.reel__note, .foot, .order__direct a, .field span, .hero__toggle, .quick input, .brand small { font-family: var(--text); letter-spacing: 0; }
.order__direct .order__phone { font-family: var(--display); }
/* бегущая строка без шва */
.ticker__set { display: flex; flex: none; }
/* документы — строки, а не одинаковые карточки */
.docs { margin-top: clamp(56px, 7vw, 100px); border-bottom: 1px solid var(--rule); }
.doc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto; gap: clamp(16px, 3vw, 48px); align-items: center; padding: clamp(22px, 2.6vw, 34px) 0; border-top: 1px solid var(--rule); transition: background-color .5s var(--ease); }
.doc h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2.2rem); font-stretch: 75%; text-transform: uppercase; }
.doc p { color: var(--mute); max-width: 58ch; }
.doc__go { display: inline-flex; align-items: center; gap: 10px; font: 600 .95rem/1 var(--text); color: var(--grease); background: none; border: 1px solid rgba(255,75,46,.5); padding: 13px 16px; cursor: pointer; white-space: nowrap; transition: background-color .4s var(--ease), color .4s var(--ease); }
.doc__go svg { width: 20px; height: 20px; }
.prices { padding-bottom: clamp(40px, 6vw, 80px); }
.prices .docs { margin-top: clamp(36px, 5vw, 64px); }
.price { display: block; margin-bottom: 6px; font: 600 clamp(1.5rem, 1.1rem + 1.2vw, 2.3rem)/1.1 var(--display); font-stretch: 80%; color: var(--ink); }
.doc__go:hover { background: var(--grease); color: var(--grease-ink); }
.doc:hover { background: linear-gradient(90deg, rgba(207,232,255,.04), transparent 70%); }
@media (max-width: 860px) {
  .doc { grid-template-columns: minmax(0, 1fr); gap: 12px; }  .doc__go { justify-self: start; }
  .order__film { width: 100%; opacity: .35; }
  .hero__credit { top: 136px; bottom: auto; }
}
@media (prefers-reduced-motion: reduce) { .ticker__set[aria-hidden] { display: none; } }
/* негатив помещения под схемой — как на снимке */
.neg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) invert(1) contrast(1.3) brightness(.7); opacity: .5; }
.xray__film svg, .shot__film svg, .order__film svg { position: relative; }
.xray__film, .shot__film, .order__film { background: #08131d; }
.hero::before { background: radial-gradient(120% 85% at 0% 100%, rgba(8,19,29,.9) 0%, rgba(8,19,29,.55) 45%, rgba(8,19,29,0) 72%); }
.xray__stage { top: 0; transform: translate(-50%, 0); }
@media (max-aspect-ratio: 4/3) { .xray__stage { top: 50%; transform: translate(-50%, -50%); } }
.mark.is-left span { left: auto; right: 20px; }
.mark.is-off { visibility: hidden; }
@media (max-width: 860px) {
  .hero__credit { top: auto; bottom: 8px; left: var(--gut); right: var(--gut); text-align: left; font-size: .72rem; color: var(--mute); }
  .hero__copy { bottom: 36px; }
}
.mark span { white-space: normal; width: max-content; max-width: min(46vw, 280px); line-height: 1.2; }
.hero__credit, .lens__read, .shot__tag, .brand small { font-size: max(.78rem, 12.5px) !important; }

.hero::before { transition: opacity .8s var(--ease); }
.hero.is-full::before { opacity: .3; }
@media (max-width: 860px) {
  .hero__copy { bottom: 56px; }
  .hero__credit { bottom: 14px; }
}
.hero::after { transition: opacity .8s var(--ease); }
.hero.is-full::after { opacity: .35; }

/* полный рентген: колонка текста остаётся в тени, остальное открыто */
.hero.is-full::before { opacity: 1; }
.hero.is-full::after { opacity: .15; }
.mark { transition-duration: .2s; }
