[hidden]{display:none!important}
/* Concept: инженерный чертёж. Холодный серый фон, чёрно-синие чернила, один жёлтый акцент (сигнальный цвет такелажа). Образ: схема груза с габаритами и центром тяжести, фото оборудования. Страницы переключаются по якорю в адресе. */
:root {
  --bg: #ECEEF0;
  --surface: #F8F9FA;
  --surface-2: #E1E5E8;
  --ink: #101820;
  --muted: #53616C;
  --line: #C8CFD5;
  --accent: #F4B400;
  --accent-ink: #101820;
  --band: #101820;
  --band-fg: #ECEEF0;
  --band-muted: #9AA7B2;
  --band-line: #2A3844;
  --f-display: 'IBM Plex Sans Condensed', 'Arial Narrow', Arial, sans-serif;
  --f-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1117; --surface: #121B23; --surface-2: #1A2630; --ink: #E7EBEE; --muted: #93A1AD; --line: #26333E;
    --band: #16222C; --band-fg: #E7EBEE; --band-muted: #93A1AD; --band-line: #2B3A47;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B1117; --surface: #121B23; --surface-2: #1A2630; --ink: #E7EBEE; --muted: #93A1AD; --line: #26333E;
  --band: #16222C; --band-fg: #E7EBEE; --band-muted: #93A1AD; --band-line: #2B3A47;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.55; -webkit-text-size-adjust: 100%; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.in { max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.label { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.demo { background: var(--band); color: var(--band-muted); font-family: var(--f-mono); font-size: 0.75rem; }
.demo .in { padding-block: 0.45rem; }

/* шапка */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.top .in { display: flex; align-items: center; gap: 1.5rem; padding-block: 0.8rem; }
.logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; letter-spacing: 0.02em; flex: none; }
.logo-mark { width: 26px; height: 26px; flex: none; }
.logo small { font-family: var(--f-mono); font-weight: 400; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); display: block; line-height: 1; margin-top: 2px; }
.nav { display: flex; gap: 1.5rem; margin-left: auto; font-size: 0.95rem; }
.nav a { text-decoration: none; color: var(--muted); padding: 0.3rem 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.phone { font-family: var(--f-mono); font-weight: 500; font-size: 0.95rem; white-space: nowrap; text-decoration: none; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.85rem 1.35rem; font-family: var(--f-body); font-weight: 600; font-size: 1rem; border: 2px solid var(--accent); border-radius: 2px; background: var(--accent); color: var(--accent-ink); text-decoration: none; cursor: pointer; transition: background-color 0.15s, color 0.15s; }
.btn:hover { background: var(--ink); color: var(--bg); }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* общие блоки */
.crumbs { padding-top: 1rem; font-family: var(--f-mono); font-size: 0.78rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 0.4rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.phead { padding-block: clamp(1.8rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; gap: 1rem; }
.phead h1 { font-size: clamp(2.1rem, 4.8vw, 3.5rem); max-width: 22ch; }
.phead p { color: var(--muted); font-size: 1.1rem; max-width: 60ch; }
.sec { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.sec.flush { padding-top: 0; }
.sec-head { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); max-width: 62ch; }
.sec-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.sec-head p { color: var(--muted); }
.note { margin-top: 1rem; font-family: var(--f-mono); font-size: 0.78rem; color: var(--muted); }
.table-wrap { overflow-x: auto; }

/* место под фото */
.photo { position: relative; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; background: repeating-linear-gradient(135deg, var(--surface-2) 0 14px, var(--surface) 14px 28px); border: 1px solid var(--line); overflow: hidden; }
.photo.wide { aspect-ratio: 21 / 9; }
.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 1; }
.photo:has(> img) > svg, .photo:has(> img) > .ill-tag { display: none; }
.photo .over { z-index: 2; }
.photo.wide.set { aspect-ratio: var(--r); display: flex; gap: 2px; background: var(--line); }
.photo.wide.set > img { position: static; flex: var(--a) 1 0%; min-width: 0; width: auto; height: 100%; }
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.gal img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; background: var(--surface-2); }
.tile > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; margin-bottom: 0.6rem; }
@media (max-width: 700px) {
  .photo.wide.set:has(> :nth-child(4)) { flex-wrap: wrap; aspect-ratio: auto; }
  .photo.wide.set:has(> :nth-child(4)) > img { flex: 0 0 calc(50% - 1px); height: auto; aspect-ratio: 3 / 4; }
}
.photo .cap { position: absolute; top: 0.9rem; left: 0.9rem; right: 0.9rem; max-width: 46ch; background: var(--bg); border: 1px solid var(--line); padding: 0.55rem 0.8rem; font-family: var(--f-mono); font-size: 0.75rem; line-height: 1.45; color: var(--muted); }
.photo .cap b { display: block; color: var(--ink); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.15rem; }
.photo .over { position: absolute; left: 0.9rem; bottom: 0.9rem; right: 0.9rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; align-items: center; background: var(--bg); border: 1px solid var(--line); padding: 0.8rem 1rem; width: fit-content; max-width: calc(100% - 1.8rem); }
.photo .over span { font-weight: 600; }
.photo.ill, .photo { }
.photo svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ill-tag { position: absolute; top: 0.7rem; right: 0.7rem; background: rgba(10,15,20,.72); color: #9AA7B2; font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.06em; padding: 0.25rem 0.5rem; }
.ph-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.ph-grid .photo { aspect-ratio: 4 / 3; }

/* первый экран */
.hero .in { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.hero-copy { min-width: 0; display: flex; flex-direction: column; gap: 1.4rem; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
.hero .sub { font-size: 1.1rem; color: var(--muted); max-width: 54ch; }
.proof { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: 0.92rem; }
.proof span { display: inline-flex; gap: 0.5rem; align-items: baseline; }
.proof span::before { content: ""; width: 8px; height: 8px; background: var(--accent); flex: none; transform: translateY(-1px); }
.hero-photo { aspect-ratio: 4 / 5; }
.figure { min-width: 0; margin: 0; background: var(--surface); border: 1px solid var(--line); padding: 0.75rem; }
.figure svg { display: block; width: 100%; height: auto; max-width: 100%; }
.figure figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0.25rem 0.1rem; }
.dwg-line { stroke: var(--ink); fill: none; stroke-width: 2; }
.dwg-thin { stroke: var(--muted); fill: none; stroke-width: 1.2; }
.dwg-dash { stroke: var(--ink); fill: none; stroke-width: 1; stroke-dasharray: 5 4; }
.dwg-fill { fill: var(--surface-2); stroke: var(--ink); stroke-width: 2; }
.dwg-body { fill: var(--surface); stroke: var(--ink); stroke-width: 2; }
.dwg-cg { fill: var(--accent); stroke: var(--ink); stroke-width: 2; }
.dwg-text { font-family: var(--f-mono); font-size: 13px; fill: var(--ink); }
.dwg-tag { fill: var(--ink); }
.dwg-tag-text { font-family: var(--f-mono); font-size: 13px; fill: var(--bg); }

/* карточки и списки */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.two:has(> :nth-child(5):last-child) > :last-child { grid-column: 1 / -1; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.three:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }
.three:has(> :nth-child(4):last-child) .dir h3 { min-height: 0; }
.dir { min-width: 0; background: var(--surface); border: 1px solid var(--line); padding: clamp(1.25rem, 3vw, 2rem); display: flex; flex-direction: column; gap: 1rem; }
.dir h3 { font-size: clamp(1.4rem, 2.3vw, 1.75rem); }
.three .dir h3 { min-height: 2.16em; }
.dir > p { color: var(--muted); }
.dir ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.dir li { padding: 0.65rem 0; border-bottom: 1px solid var(--line); font-size: 0.97rem; }
.dir li b { font-weight: 600; }
.dir .btn { align-self: flex-start; margin-top: auto; }
.slim { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; background: var(--surface); border: 1px solid var(--line); padding: 1.2rem clamp(1.25rem, 3vw, 2rem); margin-top: 1rem; }
.slim div { min-width: 0; max-width: 62ch; display: flex; flex-direction: column; gap: 0.25rem; }
.slim h3 { font-size: 1.4rem; }
.slim p { color: var(--muted); }

/* плитки оборудования */
.eq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.eq:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); }
.eq:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }
.tile { min-width: 0; background: var(--surface); padding: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; min-height: 190px; text-decoration: none; transition: background-color 0.15s; }
.tile:hover { background: var(--surface-2); }
.tile h3 { font-size: 1.4rem; min-height: 2.16em; }
.tile p { color: var(--muted); font-size: 0.93rem; }
.tile .label { margin-bottom: 0.6rem; }
.tile .go { font-family: var(--f-mono); font-size: 0.8rem; margin-top: auto; padding-top: 0.4rem; }
.tile-more { background: var(--accent); color: var(--accent-ink); }
.tile-more .label, .tile-more p { color: var(--accent-ink); }
.tile-more:hover { background: var(--ink); color: var(--bg); }
.tile-more:hover .label, .tile-more:hover p { color: var(--bg); }

/* шаги */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
.steps li { min-width: 0; border-top: 2px solid var(--ink); padding-top: 0.9rem; display: flex; flex-direction: column; gap: 0.4rem; }
.steps .n { font-family: var(--f-mono); font-size: 0.8rem; color: var(--muted); }
.steps h3 { font-size: 1.3rem; }
.steps p { color: var(--muted); font-size: 0.95rem; }

/* тёмная полоса */
.band { background: var(--band); color: var(--band-fg); }
.band .sec-head p, .band .label { color: var(--band-muted); }
.gr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--band-line); border: 1px solid var(--band-line); }
.gr:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); }
.gr div { min-width: 0; background: var(--band); padding: 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; }
.gr h3 { font-size: 1.3rem; }
.gr p { color: var(--band-muted); font-size: 0.95rem; }
.gr .mark { width: 28px; height: 4px; background: var(--accent); margin-bottom: 0.5rem; }
.ctaband .in { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; padding-block: clamp(2rem, 5vw, 3.2rem); }
.ctaband h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); max-width: 24ch; }
.ctaband .btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.ctaband .btn-primary:hover { background: var(--band-fg); border-color: var(--band-fg); color: var(--band); }
.msg { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.msg span { font-family: var(--f-mono); font-size: 0.82rem; border: 1px solid var(--band-line); padding: 0.35rem 0.7rem; color: var(--band-fg); }
.msg.on-light span { border-color: var(--line); color: var(--ink); background: var(--surface); }

/* кейсы */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.case { min-width: 0; background: var(--surface); border: 1px solid var(--line); padding: 1.4rem; display: flex; flex-direction: column; gap: 1rem; }
.case-head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.case h3 { font-size: 1.35rem; }
.case dl, .kv { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1rem; font-size: 0.95rem; }
.case dt, .kv dt { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 0.15rem; }
.case dd, .kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }

/* таблицы */
.price { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.price th { text-align: left; font-family: var(--f-mono); font-weight: 400; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 0.6rem 1rem 0.6rem 0; border-bottom: 2px solid var(--ink); white-space: nowrap; }
.price td { padding: 0.7rem 1rem 0.7rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.price td.num { font-family: var(--f-mono); white-space: nowrap; }
.factors { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.factors span { font-size: 0.9rem; border: 1px solid var(--line); background: var(--surface); padding: 0.35rem 0.75rem; }

/* страница оборудования */
.need { min-width: 0; background: var(--surface); border: 1px solid var(--line); padding: clamp(1.25rem, 3vw, 1.75rem); display: flex; flex-direction: column; gap: 1rem; }
.need h2 { font-size: 1.5rem; }
.need ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.need li { display: flex; gap: 0.8rem; align-items: baseline; padding: 0.65rem 0; border-bottom: 1px solid var(--line); font-size: 0.97rem; }
.need li::before { content: ""; width: 12px; height: 12px; border: 2px solid var(--ink); flex: none; transform: translateY(1px); }
.need p { color: var(--muted); font-size: 0.9rem; }
.hero.detail .in { align-items: start; grid-template-columns: 1.15fr 0.85fr; }
.route { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border: 1px solid var(--line); background: var(--surface); }
.route li { min-width: 0; padding: 1.1rem; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.35rem; }
.route li:last-child { border-right: 0; }
.route h3 { font-size: 1.15rem; }
.route .d { font-family: var(--f-mono); font-size: 0.8rem; color: var(--muted); }
.route .stop { display: inline-block; align-self: flex-start; font-family: var(--f-mono); font-size: 0.72rem; background: var(--accent); color: var(--accent-ink); padding: 0.1rem 0.4rem; margin-top: 0.2rem; }
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.1rem 0; font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); font-weight: 400; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 1.2rem; color: var(--muted); max-width: 64ch; }

/* контакты и форма */
.lead { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.lead-side { min-width: 0; display: flex; flex-direction: column; gap: 1.5rem; }
form { min-width: 0; background: var(--surface); border: 1px solid var(--line); padding: clamp(1.25rem, 3vw, 2rem); display: flex; flex-direction: column; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field label { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
input[type="text"], input[type="tel"], select, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 2px; padding: 0.75rem 0.85rem; }
input[type="file"] { width: 100%; font: inherit; color: var(--muted); font-size: 0.9rem; }
textarea { min-height: 100px; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.88rem; color: var(--muted); }
input[type="file"] { font: inherit; font-size: 0.92rem; color: var(--muted); max-width: 100%; }
input[type="file"]::file-selector-button { font: inherit; font-weight: 600; color: var(--ink); background: var(--surface); border: 2px solid var(--ink); border-radius: 2px; padding: 0.5rem 0.9rem; margin-right: 0.8rem; cursor: pointer; }
input[type="file"]::file-selector-button:hover { background: var(--ink); color: var(--bg); }
.consent input { margin-top: 0.25rem; flex: none; }
.out { padding: 0.8rem 1rem; background: var(--surface-2); border: 1px solid var(--line); font-size: 0.92rem; }

footer { border-top: 1px solid var(--line); }
footer .in { padding-block: 1.8rem; display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; justify-content: space-between; font-size: 0.88rem; color: var(--muted); }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .three, .three:has(> :nth-child(4):last-child), .steps, .gr, .cases, .eq:has(> :nth-child(3):last-child), .eq:has(> :nth-child(5):last-child) { grid-template-columns: 1fr; }
  .eq, .eq:has(> :nth-child(4):last-child), .eq:has(> :nth-child(6):last-child) { grid-template-columns: repeat(2, 1fr); }
  .tile h3, .three .dir h3 { min-height: 0; }
  .gr:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }
  .hero .in, .hero.detail .in, .two, .lead { grid-template-columns: 1fr; }
  .top .in { flex-wrap: wrap; row-gap: 0.4rem; }
  .phone { margin-left: auto; }
  .nav { order: 3; width: 100%; margin-left: 0; gap: 1.25rem; overflow-x: auto; padding-bottom: 0.2rem; }
  .route li { border-right: 0; border-bottom: 1px solid var(--line); }
  .route li:last-child { border-bottom: 0; }
  .ph-grid { grid-template-columns: 1fr; }
  .photo.wide { aspect-ratio: 4 / 3; }
  .gal { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .gr, .gr:has(> :nth-child(4):last-child) { grid-template-columns: 1fr; }
  .eq, .eq:has(> :nth-child(4):last-child), .eq:has(> :nth-child(6):last-child) { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
  .phone { font-size: 0.78rem; }
  .logo { font-size: 1.15rem; gap: 0.45rem; }
  .logo small { font-size: 0.62rem; letter-spacing: 0.06em; }
  .top .in { column-gap: 0.6rem; }
  .btn { width: 100%; }
  .dir .btn { align-self: stretch; }
  .photo .cap { max-width: none; }
  .hero .cta .btn:not(.btn-primary) { display: none; }
  .hero .in { padding-block: 1.5rem; }
  .hero-photo { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.out.ok{border-color:#2e7d32;background:#eef7ef}
.out.err{border-color:#b3261e;background:#fdf0ef}
.btn[disabled]{opacity:.6;cursor:wait}
.nf{padding:5rem 0}
@media (max-width:700px){.nav{flex-wrap:wrap;overflow-x:visible;gap:.2rem 1.1rem;font-size:.9rem}}
