@font-face { font-family: "Golos Text"; src: url(../fonts/GolosText.woff2) format("woff2"), url(../fonts/GolosText.ttf) format("truetype"); font-weight: 400 900; font-display: swap; }

:root {
  --bg: #F9F7F3;
  --ink: #242424;
  --muted: #5f5b57;
  --red: #861C22;
  --red-deep: #75191D;
  --line: #e4dfd7;
  
  --gold: #84683F;
  --gutter: 16px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.45 "Golos Text", system-ui, sans-serif; }
a { color: inherit; }
:where(a, button, summary, input, [tabindex]):focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
@media (hover: hover) {
  .cta:hover { background: var(--red-deep); }
  .ghost:hover { border-color: var(--gold); }
  .doc-link:hover, .link-btn:hover { text-decoration: underline; text-underline-offset: 4px; }
}

.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding: 8px var(--gutter); background: var(--bg); border-bottom: 1px solid var(--line); }
.brand { display: flex; flex: none; align-items: center; gap: 12px; white-space: nowrap; text-decoration: none; }
.brand img { display: block; height: 48px; width: auto; }
.brand-text { display: grid; font-size: 14px; line-height: 1.15; color: var(--muted); }
.brand-text b { font-size: 26px; line-height: 1; color: var(--ink); letter-spacing: .02em; }
.burger { flex: none; width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; background: none; border: 0; padding: 0; cursor: pointer; }
.burger span { display: block; width: 26px; height: 2px; background: var(--ink); }

.menu { position: absolute; inset: 100% 0 auto 0; z-index: 19; display: grid; gap: 4px; max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overflow-y: auto; padding: 12px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgb(0 0 0 / .06); }
.menu[hidden] { display: none; }
.menu a { padding: 12px 0; font-size: 18px; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu-contacts a { border: 0; color: var(--red); }

.top .cta-top { display: none; }
@media (min-width: 900px) { .top .cta-top { display: inline-flex; min-height: 44px; padding: 0 20px; font-size: 16px; white-space: nowrap; margin-left: auto; } }

@media (min-width: 1400px) {
  .top { gap: 24px; }
  .menu, .menu[hidden] { position: static; display: flex; flex: none; align-items: center; gap: 24px; max-height: none; overflow: visible; margin-left: auto; padding: 0; background: none; border: 0; box-shadow: none; }
  .menu a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; font-size: 15px; white-space: nowrap; border: 0; }
  .menu a:hover { color: var(--red); }
  .menu-contacts, .burger { display: none; }
  .top .cta-top { flex: none; margin-left: 0; }
}

.num { color: var(--gold); font-weight: 600; font-size: 18px; }
.name { font-weight: 500; font-size: 16px; line-height: 1.25; }
.arrow { color: var(--red); font-size: 22px; }
.dir:focus-visible, .top a:focus-visible, .top button:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }

.intro { padding: 32px var(--gutter) 28px; }
.hero { padding: 40px var(--gutter) 0; }

.wordmark { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--red-deep); font-size: 36px; line-height: 1; }
.wordmark img { display: block; width: 181px; height: auto; }
.kicker { margin: 6px 0 18px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
h1 { margin: 0 0 14px; font-size: clamp(28px, 7.6vw, 56px); line-height: 1.06; letter-spacing: -.02em; font-weight: 700; }
.intro h1 { margin: 0; max-width: 1120px; font-size: clamp(30px, 3.7vw, 52px); line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
@media (min-width: 768px) {
  .intro { padding-top: 40px; padding-bottom: 32px; }
  .hero { padding-top: 48px; }
}
@media (min-width: 1200px) {
  .intro { padding-top: 48px; padding-bottom: 40px; }
  .hero { padding-top: 56px; }
}
.lead { margin: 0 0 22px; color: var(--muted); max-width: 36em; }
.cta { display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 4px; background: var(--red); color: #fff; font: 500 18px "Golos Text", sans-serif; cursor: pointer; }
.cta:active { background: var(--red-deep); }

.ghost { min-height: 52px; padding: 0 18px; background: none; border: 1px solid var(--line); border-radius: 4px; font: inherit; color: var(--ink); cursor: pointer; }


.hero-top { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 32px; }
.hero-text { min-width: 0; max-width: 640px; }
.hero-text .kicker { max-width: 36em; margin: 10px 0 24px; font-size: 11px; line-height: 1.6; letter-spacing: .16em; }
.hero-text .hero-title { max-width: 22ch; margin: 0 0 20px; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
.hero-text .lead { max-width: 52ch; margin-bottom: 28px; line-height: 1.6; }
.hero-art { position: relative; justify-self: center; width: 100%; max-width: 570px; aspect-ratio: 1.08; margin: 12px 0 0; }
.delivery-route { position: absolute; inset: 0; width: 100%; height: 100%; color: #b4a58e; }
.phone { position: absolute; top: 0; right: 0; width: 46%; aspect-ratio: 720 / 1470; container-type: inline-size; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.phone-frame { display: block; width: 100%; height: auto; }
.phone-status { position: absolute; top: 3.2%; left: 12%; right: 12%; display: flex; align-items: center; justify-content: space-between; font-size: 4cqw; font-weight: 600; }
.phone-status svg { width: 15cqw; height: auto; }
.phone-screen { position: absolute; inset: 12% 9% 9%; display: flex; flex-direction: column; gap: 3cqw; }
.phone-brand { display: flex; align-items: center; gap: 1cqw; color: var(--red-deep); font-size: 7cqw; font-weight: 700; line-height: 1; }
.phone-brand img { display: block; width: 50%; height: auto; }
.phone-title { font-size: 8.7cqw; font-weight: 650; line-height: 1.08; letter-spacing: -.035em; }
.phone-map { display: block; flex: none; width: 100%; height: auto; margin-block: 1cqw; }
.phone-field { display: grid; gap: 1cqw; padding: 3cqw 3.5cqw; background: #fff; border: 1px solid var(--line); border-radius: 1.7cqw; font-size: 4.2cqw; font-weight: 500; line-height: 1.35; }
.phone-field small { font-size: 3.5cqw; font-weight: 400; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.phone-btn { display: flex; justify-content: space-between; padding: 4cqw 3.5cqw; background: var(--red); color: #fff; border-radius: 1.7cqw; font-size: 4.3cqw; font-weight: 600; }
.phone-home { position: absolute; bottom: 3.2%; left: 35%; width: 30%; height: .65%; border-radius: 4px; background: var(--ink); }
.badge { position: absolute; top: 12%; left: 0; width: 46%; min-width: 0; margin: 0; padding: clamp(12px, 2vw, 24px); border-left: 3px solid var(--red); display: grid; gap: 8px; background: #eee8de; }
.badge span { font-size: clamp(10px, 1vw, 13px); line-height: 1.4; color: var(--muted); }
.badge b { font-size: clamp(22px, 2.6vw, 36px); font-weight: 600; line-height: 1.05; letter-spacing: -.035em; white-space: nowrap; }
.badge small { font-size: clamp(9px, .9vw, 12px); color: var(--muted); }
.hero-truck { position: absolute; bottom: 5%; left: -4%; width: 58%; height: auto; pointer-events: none; }
@media (min-width: 768px) {
  .hero-top { grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); column-gap: clamp(32px, 5vw, 80px); }
  .hero-text { padding-top: 12px; }
}

.scene { position: relative; overflow: hidden; contain: layout paint; isolation: isolate; margin: 24px calc(var(--gutter) * -1) 0; }
.scene-poster, .scene-poster img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.scene[data-ready="true"] > .scene-poster { display: none; }

.scene[data-scene="assets/scene-craft-v40/"] { aspect-ratio: 4976 / 3110; }
@media (max-width: 639px) {
  .scene[data-scene="assets/scene-craft-v40/"] { aspect-ratio: 1280 / 1700; }
  .scene[data-frame="rail"] { aspect-ratio: 1280 / 850; }
}
.stage { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.scene-pause { position: absolute; right: 12px; bottom: 12px; z-index: 1; min-height: 36px; padding: 0 14px; background: rgb(255 255 255 / .88); border: 1px solid var(--line); border-radius: 18px; font: 500 13px "Golos Text", sans-serif; color: var(--ink); cursor: pointer; }


.catalog { padding: 64px var(--gutter); border-top: 1px solid var(--line); }
.catalog h2 { margin: 0 0 12px; font-size: clamp(28px, 7vw, 48px); line-height: 1.08; letter-spacing: -.02em; }
.wagons { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; }
.wagons > li { min-width: 0; }

.wagon { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.wagon details { margin-top: auto; }
.wagon-media { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 4px; scrollbar-width: none; }
.wagon-media::-webkit-scrollbar { display: none; }
.wagon-media img { flex: 0 0 100%; width: 100%; height: auto; aspect-ratio: 1200 / 545; object-fit: contain; scroll-snap-align: start; }
.wagon-hint { font-size: 11px; color: var(--muted); letter-spacing: 0; text-transform: none; font-weight: 400; white-space: nowrap; }
.wagon-type { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 8px; margin: 4px 0 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.wagon h3 { margin: 0; font-size: 22px; }
.wagon-key { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 4px 0; }
.wagon-key div { display: grid; }
.wagon-key dt { order: 2; font-size: 13px; color: var(--muted); }
.wagon-key dd { margin: 0; font-size: 24px; font-weight: 600; }
.wagon-text { margin: 0; color: var(--muted); font-size: 15px; }
.wagon details { border-top: 1px solid var(--line); }
.wagon summary { padding: 12px 0; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--red); }
.wagon table { width: 100%; margin-top: 4px; border-collapse: collapse; table-layout: fixed; font-size: 13px; }
.wagon th, .wagon td { padding: 6px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.wagon col:first-child { width: 58%; }
.wagon th { text-align: left; font-weight: 400; color: var(--muted); padding-right: 12px; }
.wagon th[scope="rowgroup"] { padding: 14px 0 6px; font-weight: 600; }
.wagon td { text-align: right; overflow-wrap: anywhere; }
.wagon .cta { justify-content: space-between; align-self: stretch; margin-top: 0; min-height: 48px; padding: 0 18px; font-size: 16px; }
@media (min-width: 640px) { .wagons { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .wagons { grid-template-columns: repeat(3, 1fr); } }


.block { padding: 64px var(--gutter); border-top: 1px solid var(--line); }
.block h2, .chain h2, .docs h2, .hero-title { margin: 0 0 12px; font-size: clamp(28px, 7vw, 48px); line-height: 1.08; letter-spacing: -.02em; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.actions .ghost { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.chain { padding: 56px 0 8px; }
.block > h2, .catalog > h2, .chain > h2, .section-heading h2 { max-width: 24ch; text-wrap: balance; }
.block > .lead, .catalog > .lead, .chain > .lead, .section-summary > .lead { line-height: 1.6; }
.steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 0; counter-reset: none; }
.steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.steps .num { grid-row: span 2; }
.steps h3 { margin: 0; font-size: 18px; }
.steps p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.docs { margin-top: 40px; padding: 28px 0 0; border-top: 1px solid var(--line); }
.docs > .kicker { margin-top: 0; margin-bottom: 8px; }
.docs > h2, .docs > .docs-title { font-size: 24px; line-height: 1.2; letter-spacing: -.015em; }
.docs-title { margin: 0 0 12px; font-size: clamp(24px, 6vw, 36px); line-height: 1.1; }
.doc-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.doc { display: grid; align-content: start; gap: 8px; padding: 20px 0; border-top: 1px solid var(--line); }
.doc-org { margin: 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.doc h3, .doc h4 { margin: 0; font-size: 17px; line-height: 1.4; font-weight: 600; }
.doc-meta { margin: 0; font-size: 14px; color: var(--muted); }
.doc-link { justify-self: start; display: inline-flex; align-items: center; gap: 16px; min-height: 44px; color: var(--red); font-size: 15px; font-weight: 500; text-decoration: none; }
.stat { margin: 36px 0 0; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.stat h3 { margin: 0 0 8px; font-size: 22px; }
.stat p { margin: 0; color: var(--muted); }
.stat-nums { display: flex; gap: 32px; margin: 16px 0 8px; }
.stat-nums div { display: grid; }
.stat-nums dt { order: 2; font-size: 14px; color: var(--muted); }
.stat-nums dd { margin: 0; font-size: 44px; line-height: 1; font-weight: 700; color: var(--red); }
.stat-note { font-size: 13px; }

.stat-hero { padding: 28px 24px; background: var(--red-deep); border: 0; color: #fff; }
.stat-hero p, .stat-hero .stat-nums dt { color: rgb(255 255 255 / .8); }
.stat-kicker { margin: 0 0 10px !important; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #E8C9A0 !important; }
.stat-hero h3 { font-size: clamp(24px, 6vw, 36px); line-height: 1.1; }
.stat-hero .stat-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; margin: 28px 0 24px; }
.stat-hero .stat-nums div { gap: 10px; }
.stat-hero .stat-note { padding-top: 16px; border-top: 1px solid rgb(255 255 255 / .2); }
.stat-hero .stat-nums dd { color: #fff; font-size: clamp(44px, 12vw, 80px); letter-spacing: -.02em; }
.stat-hero .stat-nums dd span { font-size: .35em; font-weight: 500; letter-spacing: 0; }
.stat-hero .stat-nums dd span:last-child { display: block; margin-top: 8px; }
@media (min-width: 900px) { .stat-hero { padding: 40px; } }
.services { margin-top: 48px; }
.services-title { margin: 0 0 8px; font-size: clamp(24px, 6vw, 36px); line-height: 1.1; }
.service-list, .interest-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.service-list li, .interest { display: grid; gap: 12px; align-content: start; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.service-list .num, .interest .num { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.service-list h4, .interest h3 { margin: 0; font-size: 20px; line-height: 1.3; letter-spacing: -.015em; }
.service-list p, .interest p { margin: 0; color: var(--muted); font-size: 15px; }
.link-btn { justify-self: start; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 4px; padding: 0; border: 0; background: none; color: var(--red); font: 500 16px "Golos Text", sans-serif; text-decoration: none; cursor: pointer; }
.contact { padding-top: 64px; padding-bottom: 64px; }
.footer { display: grid; gap: 16px; padding: 32px var(--gutter) 156px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer p { margin: 0; }
.footer-brand b { color: var(--ink); }
.footer-links { display: grid; align-content: start; gap: 4px; }
.footer-links > * { padding-block: 8px; }
.footer-links a, .footer-links .link-btn { margin: 0; font-size: 14px; font-weight: 400; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.interest { max-width: 640px; }
@media (min-width: 640px) {
  .service-list, .doc-list { grid-template-columns: 1fr 1fr; }
  .doc-list { gap: 32px; }
  .stat-hero .stat-nums { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stat-hero .stat-nums dd { font-size: clamp(44px, 6vw, 80px); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .steps li { grid-template-columns: 1fr; border-top: 2px solid var(--line); }
  .steps .num { grid-row: auto; }
}
@media (min-width: 1000px) {
  .section-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .section-heading .kicker { margin-top: 0; }
  .section-summary { padding-top: 36px; }
  .section-summary > :last-child { margin-bottom: 0; }
  .service-list { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(5, 1fr); }
  .steps h3 { min-height: 2.6em; }
  .block, .catalog { padding-block: 80px; }
  .chain { padding-top: 64px; }
  .docs { display: grid; grid-template-columns: minmax(180px, .7fr) minmax(0, 2fr); column-gap: 40px; margin-top: 48px; padding-top: 32px; }
  .docs > .kicker, .docs > h2, .docs > .docs-title { grid-column: 1; }
  .docs > h2, .docs > .docs-title { align-self: start; margin-bottom: 0; }
  .docs .doc-list { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
  .docs .doc { padding-top: 0; border-top: 0; }
  .doc-list:has(> :only-child) { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr 1fr; gap: 12px 48px; padding-top: 40px; padding-bottom: 112px; }
  .footer > p { grid-column: 1; max-width: 54em; }
  .footer-links { grid-column: 2; grid-row: 1 / span 3; justify-self: end; }
  #interest { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
  #interest > .kicker, #interest > h2 { grid-column: 1; }
  #interest > h2 { align-self: start; }
  #interest .interest-list { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
}


.service-list { gap: 32px; }
.service-list li { position: relative; }
.service-list li:not(:last-child)::after { content: "↓"; content: "↓" / ""; position: absolute; z-index: 1; left: 50%; bottom: -30px; transform: translateX(-50%); display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; background: var(--bg); color: var(--red); font-size: 16px; line-height: 1; }
@media (min-width: 640px) and (max-width: 999px) {
  .service-list li:nth-child(3) { grid-area: 2 / 2; }
  .service-list li:nth-child(4) { grid-area: 2 / 1; }
  .service-list li:nth-child(5) { grid-area: 3 / 1; }
  .service-list li:nth-child(6) { grid-area: 3 / 2; }
  .service-list li:is(:nth-child(1), :nth-child(5))::after { content: "→"; content: "→" / ""; left: auto; right: -30px; top: 50%; bottom: auto; transform: translateY(-50%); }
  .service-list li:nth-child(3)::after { content: "←"; content: "←" / ""; left: -30px; top: 50%; bottom: auto; transform: translateY(-50%); }
}
@media (min-width: 1000px) {
  .service-list li:nth-child(4) { grid-area: 2 / 3; }
  .service-list li:nth-child(5) { grid-area: 2 / 2; }
  .service-list li:nth-child(6) { grid-area: 2 / 1; }
  .service-list li:is(:nth-child(1), :nth-child(2))::after { content: "→"; content: "→" / ""; left: auto; right: -30px; top: 50%; bottom: auto; transform: translateY(-50%); }
  .service-list li:is(:nth-child(4), :nth-child(5))::after { content: "←"; content: "←" / ""; left: -30px; top: 50%; bottom: auto; transform: translateY(-50%); }
}


.cookie-bar { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 30; display: grid; gap: 12px; max-width: 800px; margin: 0 auto; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 6px 24px rgb(36 36 36 / .09); font-size: 13px; line-height: 1.4; }
.cookie-bar p { margin: 0; color: var(--muted); }

.cookie-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; }
.cookie-actions .cta, .cookie-actions .ghost { justify-content: center; min-height: 44px; padding: 0 12px; font-size: 14px; white-space: nowrap; }
@media (min-width: 760px) { .cookie-bar { grid-template-columns: 1fr auto; align-items: center; gap: 24px; bottom: 20px; } .cookie-actions { grid-template-columns: auto auto; } }

.doc-page { max-width: calc(760px + 2 * var(--gutter)); padding: 32px var(--gutter) 64px; }
.doc-page h1 { font-size: clamp(28px, 7vw, 44px); }
.doc-page h2 { margin: 28px 0 8px; font-size: 20px; }
.doc-page p, .doc-page li { color: var(--ink); }
.doc-page mark { background: #f3e3c4; padding: 0 3px; border-radius: 2px; }
.doc-back { display: inline-block; margin-bottom: 16px; color: var(--red); }


.lead-form label[hidden] { display: none; }
.form-hint { margin: -6px 0 0; font-size: 13px; color: var(--muted); }
.req { color: var(--red); }

.lead-form.tried input:invalid { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.lead-form.tried .consent input:invalid { outline: 2px solid var(--red); outline-offset: 2px; }

.form-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); border: 1px solid var(--line); border-radius: 8px; padding: 0; color: var(--ink); }
.form-dialog::backdrop { background: rgb(36 36 36 / .5); }
.lead-form { display: grid; gap: 16px; padding: clamp(20px, 4vw, 32px); }
.lead-form h2 { margin: 0 0 4px; font-size: 22px; }
.lead-form label { display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.lead-form input:not([type=checkbox]) { min-height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 4px; font: 16px "Golos Text", sans-serif; color: var(--ink); background: #fff; }
.lead-form .consent { display: flex; gap: 10px; align-items: flex-start; }
.lead-form .consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; }
.form-note { margin: 0; min-height: 1.4em; font-size: 14px; color: var(--red); }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.form-actions > * { flex: 1; justify-content: center; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (min-width: 900px) {
  
  :root { --gutter: max(40px, calc((100vw - 1360px) / 2)); }
  
  .scene { max-width: 1040px; margin: 8px auto 0; }
}

body, .top, .menu, .stat-hero { background-image: url(../assets/paper.png); background-size: 128px 128px; }
@media (min-width: 1400px) { .menu, .menu[hidden] { background-image: none; } }


.cert { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 40px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.cert-img img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 2px; }
.cert-text > p { margin: 0 0 10px; color: var(--muted); }
.cert-text .kicker { margin: 0 0 8px; }

.cert-text .docs-title { font-size: 20px; line-height: 1.2; }
.cert-links { display: flex; flex-direction: column; align-items: flex-start; gap: 4px 24px; margin-bottom: 0 !important; }
.cert-links a { white-space: nowrap; }
@media (max-width: 479px) {
  .cert { grid-template-columns: minmax(0, 1fr); }
  .cert-img { width: 112px; }
  .cert-links a { white-space: normal; }
}
@media (min-width: 640px) {
  .cert { grid-template-columns: 160px minmax(0, 1fr); gap: 28px; padding: 24px; }
  .cert-text .docs-title { font-size: 26px; }
  .cert-links { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 1399px) { .menu-contacts { display: grid; } }
.menu-note { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.footer-note a { color: inherit; }



.skip-link { position: fixed; top: 8px; left: var(--gutter); z-index: 100; padding: 12px 20px; background: var(--red); color: #fff; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.intro { padding: 32px var(--gutter) 20px; }
.intro .kicker { margin: 0 0 12px; }
.intro h1 { max-width: 25ch; font-size: clamp(30px, 4.2vw, 60px); font-weight: 650; line-height: 1.08; letter-spacing: -.035em; text-wrap: pretty; }
.intro-lead { max-width: 60ch; margin: 20px 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.intro-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 24px; color: var(--muted); font-size: 14px; }
.intro-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--red); text-underline-offset: 4px; }
.directions { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0 var(--gutter); border-block: 1px solid var(--line); }
.dir {
  display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr) 96px 22px;
  grid-template-rows: auto auto auto; grid-template-areas: "number image arrow" "name image arrow" "description image arrow";
  align-content: start; gap: 6px 10px; padding: 16px 0; text-decoration: none; border-bottom: 1px solid var(--line);
}
.dir:last-child { border-bottom: 0; }
.dir > .num { grid-area: number; align-self: start; font-size: 13px; line-height: 18px; font-variant-numeric: tabular-nums; }
.dir > .name { grid-area: name; min-width: 0; font-size: 18px; font-weight: 600; line-height: 1.2; }
.dir > .arrow { grid-area: arrow; align-self: start; justify-self: end; font-size: 26px; line-height: 28px; }
.dir-description { grid-area: description; color: var(--muted); font-size: 13px; line-height: 1.45; }
.dir-visual { grid-area: image; display: grid; place-items: center; align-self: center; width: 100%; height: 88px; }
.dir-icon { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; pointer-events: none; }
.dir:focus-visible { outline-offset: -3px; }
.digital-entry { margin: 0 var(--gutter); padding-block: 12px; font-size: 13px; line-height: 1.5; border-bottom: 1px solid var(--line); }
.digital-entry a { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; color: var(--red); text-decoration: none; }
.digital-entry a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 480px) and (max-width: 767px) {
  .dir { grid-template-columns: minmax(0, 1fr) 144px 24px; }
  .dir-visual { height: 96px; }
}
@media (min-width: 768px) {
  .intro { padding-block: 40px 24px; }
  .intro-lead { font-size: 18px; }
  .directions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dir { grid-template-columns: minmax(0, 1fr) 24px; grid-template-rows: auto minmax(2.4em, auto) minmax(3em, auto) 120px; grid-template-areas: "number arrow" "name name" "description description" "image image"; padding: 20px; gap: 10px; border-bottom: 0; }
  .dir:not(:last-child) { border-right: 1px solid var(--line); }
  .dir-visual { height: 120px; max-width: 240px; justify-self: center; }
  .dir > .name { font-size: 22px; }
  .dir-description { max-width: 28ch; font-size: 14px; }
}
@media (min-width: 1200px) {
  .dir { grid-template-rows: auto auto minmax(3em, auto) 132px; padding: 24px; }
  .dir-visual { height: 132px; }
}

.hero { padding-top: 26px; }
.hero-top { grid-template-columns: minmax(0, 1fr); align-items: center; gap: 8px; }
.hero-text { max-width: none; padding-top: 0; }
.hero-text .wordmark { gap: 10px; font-size: clamp(36px, 6vw, 64px); }
.hero-text .wordmark img { width: min(78%, 356px); height: auto; }
.hero-text .kicker { max-width: 44em; margin: 8px 0 14px; font-size: 10px; line-height: 1.45; letter-spacing: .13em; }
.hero-text .hero-title { max-width: 18ch; margin: 0 0 18px; font-size: clamp(32px, 8.6vw, 54px); line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
.hero-text > .cta { min-height: 52px; max-width: 100%; justify-content: space-between; gap: 20px; margin-bottom: 14px; padding: 12px 20px; font-size: 17px; line-height: 1.25; text-align: left; }
.hero-text > .cta span { flex: none; font-size: 24px; }
.hero-text > .lead { max-width: 48ch; margin: 0; font-size: 15px; line-height: 1.5; }
@media (min-width: 768px) {
  .hero { padding-top: 32px; }
  .hero-top { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 24px; }
  .hero-text .hero-title { font-size: clamp(36px, 4.3vw, 62px); }
  .hero-text .kicker { margin-bottom: 18px; font-size: 11px; }
  .hero-text > .lead { font-size: 16px; }
}
@media (min-width: 1200px) {
  .hero { padding-top: 36px; }
  .hero-top { column-gap: 40px; }
  .hero-text .hero-title { margin-bottom: 22px; }
  .hero-text > .cta { min-width: 280px; min-height: 56px; font-size: 18px; }
  .hero-text > .lead { max-width: 43ch; font-size: 17px; }
}

.chain { padding-top: 26px; padding-bottom: 0; }
.chain-intro { padding-top: 20px; border-top: 1px solid var(--line); }
.chain-intro > .kicker { margin: 0 0 10px; font-size: 10px; letter-spacing: .12em; }
.chain-intro > h2 { max-width: 20ch; margin: 0 0 10px; font-size: clamp(28px, 4vw, 48px); line-height: 1.06; letter-spacing: -.03em; text-wrap: balance; }
.chain-intro > .lead { margin: 0; font-size: 15px; line-height: 1.5; }
.chain .steps { margin-top: 14px; }
.chain .steps li { column-gap: 8px; padding-block: 12px; }
.chain .steps h3 { line-height: 1.25; }
.chain .steps p { font-size: 14px; line-height: 1.5; }
#terminal, #rolling-stock, #contact { padding-block: 40px; }
.section-intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.section-heading, .section-summary { min-width: 0; }
.section-heading .kicker { margin: 0 0 12px; font-size: 11px; letter-spacing: .12em; }
.section-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 50px); line-height: 1.06; letter-spacing: -.035em; }
.section-summary { padding-top: 0; }
.section-summary > .lead { margin: 0 0 16px; line-height: 1.5; }
.section-summary > :last-child { margin-bottom: 0; }
@media (min-width: 768px) {
  .chain { padding-top: 28px; }
  .chain-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 8px 28px; align-items: end; }
  .chain-intro > .kicker { grid-column: 1 / -1; margin-bottom: 0; }
  .chain-intro > h2, .chain-intro > .lead { margin: 0; }
  .chain .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
  .chain .steps li { align-content: start; row-gap: 6px; border-top-color: var(--gold); }
  .chain .steps h3 { min-height: 0; font-size: 15px; }
  .chain .steps p { font-size: 13px; }
  #terminal, #rolling-stock, #contact { padding-block: 48px; }
  .section-intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .section-summary { padding: 0 0 0 24px; border-left: 1px solid var(--line); }
}
@media (min-width: 1200px) {
  .chain .steps h3 { font-size: 17px; }
  .chain .steps p { font-size: 14px; }
  .section-intro { gap: 48px; }
  .section-summary { padding-left: 32px; }
}

.section-illustration { display: block; width: min(100%, 480px); height: auto; margin: 24px auto 0; }
#terminal .section-intro { align-items: center; }
#interest { display: grid; gap: 24px; align-items: center; padding-block: 40px; }
.interest-copy { min-width: 0; }
.interest-illustration { display: block; width: 100%; max-width: 540px; height: auto; justify-self: center; }
#interest .interest-list { grid-template-columns: minmax(0, 1fr); margin-bottom: 0; }
@media (min-width: 768px) {
  #interest { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-block: 48px; }
  .hero-art { margin-top: 0; }
}


.chain { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.chain-intro { display: block; padding: 0; border: 0; }
.chain-intro > .kicker { margin: 0 0 18px; font-size: 11px; letter-spacing: .12em; }
.chain-intro > h2 { max-width: none; margin: 0 0 20px; font-size: clamp(38px, 10.2vw, 64px); line-height: .99; letter-spacing: -.045em; text-wrap: initial; }
.chain-intro > h2 span { display: block; width: fit-content; max-width: 100%; }
.chain-intro > h2 span:last-child { color: var(--red); }
.chain-intro > .lead { max-width: 42ch; margin: 0; font-size: 15px; line-height: 1.55; }
.chain > .scene { margin-top: 20px; }
.chain .steps { margin-top: 20px; }
@media (min-width: 640px) and (max-width: 1199px) {
  .chain-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .75fr); gap: 12px 28px; align-items: end; }
  .chain-intro > .kicker { grid-column: 1 / -1; margin: 0; }
  .chain-intro > h2 { margin: 0; font-size: clamp(44px, 5.8vw, 68px); }
  .chain-intro > .lead { max-width: 32ch; padding-bottom: 4px; }
}
@media (min-width: 1200px) {
  .chain { display: grid; grid-template-columns: minmax(0, 42fr) minmax(640px, 58fr); gap: 24px; align-items: center; margin-top: 40px; padding-top: 32px; }
  .chain-intro > h2 { margin: 20px 0 24px; font-size: clamp(76px, 6.25vw, 96px); line-height: .98; letter-spacing: -.055em; }
  .chain-intro > .lead { max-width: 32ch; font-size: 17px; }
  .chain > .scene { width: 100%; max-width: none; margin: 0; }
  .chain > .route-details { grid-column: 1 / -1; }
  .chain .steps { margin-top: 8px; }
}


:root { --surface: #fff; --radius: 2px; --section-space: clamp(48px, 5.6vw, 80px); --label-size: 12px; }
body { line-height: 1.5; }
button, input { font: inherit; }
::selection { background: #e9d4c9; color: var(--ink); }
.kicker, .section-heading .kicker, .chain-intro > .kicker, .hero-text .kicker { font-size: var(--label-size); line-height: 1.5; letter-spacing: .12em; }
.cta, .ghost { border-radius: var(--radius); transition: background-color .18s, color .18s, border-color .18s; }
.cta { min-height: 52px; padding: 12px 24px; font-size: 16px; font-weight: 600; line-height: 1.35; text-decoration: none; }
.ghost { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; font-size: 16px; }
.cta span[aria-hidden], .doc-link span, .link-btn span { flex: none; }
.scene-pause { min-height: 44px; border-radius: var(--radius); padding-inline: 16px; font-size: 14px; }
.top { padding-block: 12px; }
.dir { transition: background-color .18s; }
.dir > .name { font-weight: 600; }
.dir > .arrow { font-weight: 400; }
.dir-icon { transition: transform .24s ease-out; }
@media (hover: hover) {
  .dir:hover { background-color: rgb(132 104 63 / .035); }
  .dir:hover > .name { text-decoration: none; color: var(--red); }
  .dir:hover .dir-icon { transform: translateY(-3px); }
}
.hero { padding-top: 36px; }
.hero-text .hero-title { line-height: 1.04; }
.hero-text > .lead, .chain-intro > .lead { font-size: 16px; line-height: 1.6; }
.badge { border: 0; border-top: 1px solid var(--gold); background: transparent; padding: 16px 0 0; gap: 10px; }
.badge span, .badge small { font-size: 12px; }
.badge b { font-size: clamp(26px, 2.8vw, 40px); color: var(--red); }
.delivery-route { opacity: .55; }
.chain { margin-top: 40px; }
.chain .steps p { font-size: 15px; line-height: 1.55; }
.chain .steps h3 { font-size: 17px; font-weight: 600; }
.chain .steps li { padding-block: 18px; }
#terminal, #rolling-stock, #interest, #contact { padding-block: var(--section-space); }
.section-heading h2, #interest h2 { font-size: clamp(32px, 4vw, 56px); font-weight: 650; line-height: 1.04; letter-spacing: -.04em; }
.intro h1, .section-heading h2, #interest h2, .hero-title { overflow-wrap: anywhere; }
.section-summary { border-left: 0; padding-left: 0; }
.section-summary > .lead { font-size: 17px; line-height: 1.65; margin-bottom: 24px; }
#terminal .section-intro { grid-template-areas: "heading" "summary" "art"; }
#terminal .section-heading { grid-area: heading; }
#terminal .section-summary { grid-area: summary; }
#terminal .section-illustration { grid-area: art; margin: 8px auto 0; }
.actions { gap: 12px; }
.stat-hero { border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); margin-top: 40px; }
.stat-hero h3 { max-width: 22ch; font-size: clamp(30px, 3.2vw, 44px); font-weight: 600; letter-spacing: -.03em; }
.stat-hero > p:not(.stat-kicker):not(.stat-note) { max-width: 66ch; font-size: 16px; line-height: 1.6; }
.stat-hero .stat-nums { margin-block: 32px; }
.stat-nums dd, .wagon-key dd, .wagon td { font-variant-numeric: tabular-nums; }
.stat-hero .stat-note { font-size: 14px; line-height: 1.5; }
.services { margin-top: 48px; }
.services-title { max-width: 24ch; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.03em; font-weight: 600; }
.service-list { margin-top: 28px; }
.service-list li { padding: 24px 0; background: none; border: 0; border-top: 1px solid var(--gold); border-radius: 0; gap: 14px; }
.service-list .link-btn { align-self: end; margin-top: 8px; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 28px 0 24px; }
.wagon-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.wagon-filters[hidden], .wagons > li[hidden] { display: none; }
.wagon-filters button { min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--ink); font: 500 14px "Golos Text", sans-serif; cursor: pointer; }
.wagon-filters button[aria-pressed="true"] { color: #fff; background: var(--red); border-color: var(--red); }
.wagon-filters button:focus-visible, .link-btn:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.catalog-count { margin: 0; color: var(--muted); font-size: 14px; }
.service-list h4 { font-size: 21px; font-weight: 600; line-height: 1.3; }
.service-list p, .interest p, .wagon-text { font-size: 16px; line-height: 1.6; }
.service-list li:not(:last-child)::after { border: 0; border-radius: 0; }
.service-list .num, .interest .num { font-size: 12px; line-height: 1.5; }
.docs { margin-top: 40px; padding-block: 28px; }
.docs > h2, .docs > .docs-title { font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
.doc h3, .doc h4 { font-size: 18px; font-weight: 500; line-height: 1.45; }
.doc-org { font-size: 12px; }
.doc-meta { font-size: 14px; }
.doc-link { font-size: 16px; }
.doc-link:visited, .doc-page a:visited { color: #705033; }
.wagons { gap: 24px; }
.wagon { padding: 20px; border-radius: var(--radius); gap: 14px; }
.wagon-media { border-radius: 0; }
.wagon-media:focus-visible { outline-offset: 0; }
.wagon h3 { font-size: 24px; font-weight: 600; letter-spacing: -.025em; }
.wagon-type { min-height: 44px; margin: 0; align-items: center; font-size: 12px; line-height: 1.5; }
.wagon-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; }
.wagon-key { border-block: 1px solid var(--line); padding-block: 16px; margin: 2px 0; }
.wagon-key dd { font-size: 30px; line-height: 1.2; font-weight: 600; }
.wagon-key dt { font-size: 13px; margin-top: 4px; }
.wagon summary { min-height: 48px; padding-block: 14px; font-size: 16px; }
.wagon table { font-size: 14px; line-height: 1.5; }
.wagon th, .wagon td { padding-block: 9px; }
.wagon .cta { background: transparent; border: 1px solid var(--red); color: var(--red); min-height: 48px; }
@media (hover: hover) { .wagon .cta:hover { color: #fff; background: var(--red); } }
.view-switch { display: flex; flex: none; align-items: center; gap: 4px; }
.view-switch button { min-width: 52px; min-height: 44px; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--muted); font-size: 14px; cursor: pointer; }
.view-switch button[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cert { border-radius: var(--radius); gap: 24px; padding: 24px; align-items: center; }
.cert-text .docs-title { max-width: 30ch; font-weight: 600; letter-spacing: -.025em; }
.cert-text > p:not(.kicker) { max-width: 74ch; font-size: 16px; line-height: 1.6; }
.interest { max-width: 600px; background: none; border: 0; border-radius: 0; border-top: 1px solid var(--gold); padding: 24px 0 0; }
.interest h3 { font-size: 28px; font-weight: 600; }
.interest .num { color: var(--muted); }
.interest-illustration { max-width: 580px; }
.contact-details { margin: 0 0 28px; display: grid; gap: 24px; }
.contact-details > div { padding-top: 18px; border-top: 1px solid var(--line); }
.contact-details dt { font-size: 12px; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.contact-details dd { display: grid; margin: 8px 0 0; font-size: 22px; line-height: 1.4; }
.contact-details a { display: flex; align-items: center; gap: 12px; min-height: 44px; width: fit-content; max-width: 100%; text-decoration: none; letter-spacing: -.02em; }
.phone-contact { display: flex; flex-wrap: wrap; align-items: center; column-gap: 16px; }
.phone-contact > a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.phone-contact > a[href^="tel:"] { font-variant-numeric: tabular-nums; }
.phone-contact .whatsapp-link { gap: 4px; padding-block: 10px; color: var(--red); font-size: 14px; line-height: 1.5; letter-spacing: 0; text-decoration: underline; text-underline-offset: 4px; }
.whatsapp-link span { text-decoration: none; }
.contact .section-summary { display: contents; }
.contact .contact-details, .contact .actions { grid-column: 1 / -1; }
.contact .contact-details { margin: 0; }
.contact .section-summary > .lead { margin: 0; align-self: center; }
.contact-map { grid-column: 1 / -1; min-width: 0; margin: 0; }
.contact-map iframe { display: block; width: 100%; height: 280px; border: 1px solid var(--line); border-radius: 4px; background: #eae7df; }
.contact-map figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; padding-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.contact-map a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--red); text-underline-offset: 4px; }
@media (min-width: 768px) { .contact-map iframe { height: 360px; } }
@media (hover: hover) { .contact-details a:hover { color: var(--red); } }
.footer { gap: 16px; padding-block: 32px 48px; font-size: 14px; line-height: 1.6; }
.footer-brand b { font-size: 20px; font-weight: 600; }
.footer-links { gap: 0; }
.footer-links a { display: flex; align-items: center; min-height: 44px; }
.cookie-bar { border-radius: var(--radius); font-size: 14px; }
.doc-page { padding-top: 48px; padding-bottom: 64px; }
.doc-page h1 { font-weight: 650; letter-spacing: -.035em; }
.doc-page h2 { margin-top: 36px; font-size: 24px; font-weight: 600; }
.doc-back { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }
.form-dialog { width: min(640px, calc(100% - 24px)); border-radius: var(--radius); overscroll-behavior: contain; }
.lead-form { position: relative; gap: 16px; padding: clamp(20px, 4vw, 36px); }
.lead-form > .kicker { margin: 0; padding-right: 36px; font-size: 12px; }
.lead-form h2 { max-width: 22ch; margin: 0; padding-right: 20px; font-size: clamp(26px, 4vw, 34px); font-weight: 600; line-height: 1.15; letter-spacing: -.03em; }
.dialog-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: none; color: var(--ink); border: 0; font-size: 28px; cursor: pointer; }
.form-hint { margin: 0 0 8px; font-size: 14px; line-height: 1.6; }
.form-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.lead-form label { gap: 6px; font-size: 14px; }
.lead-form input:not([type=checkbox]) { width: 100%; min-width: 0; min-height: 50px; border-radius: var(--radius); }
.lead-form select, .lead-form textarea { width: 100%; min-width: 0; min-height: 50px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); font: 16px/1.4 "Golos Text", sans-serif; }
.lead-form textarea { resize: vertical; }
.lead-form .field-wide { grid-column: 1 / -1; }
.lead-form :is(input, select, textarea):focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.lead-form .consent { grid-column: 1 / -1; min-height: 44px; font-size: 13px; line-height: 1.5; margin-top: 4px; }
.form-note:empty { display: none; }
.draft-preview { display: grid; gap: 16px; min-width: 0; }
.draft-preview[hidden], .form-fields[hidden], .form-actions[hidden] { display: none; }
.draft-preview h3, .draft-preview p { margin: 0; }
.draft-preview h3 { font-size: 22px; font-weight: 600; }
.draft-body { overflow-wrap: anywhere; white-space: pre-wrap; font: 14px/1.6 "Golos Text", sans-serif; max-height: 260px; overflow: auto; margin: 0; padding: 16px; border: 1px solid var(--line); background: var(--bg); }
.draft-hint { color: var(--muted); font-size: 14px; line-height: 1.6; }
.draft-preview > .cta { justify-content: space-between; }
.draft-actions { display: grid; gap: 10px; }
.draft-actions .cta { justify-content: space-between; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.request-success { display: grid; gap: 16px; padding-top: 8px; }
.request-success[hidden], [data-send-request][hidden] { display: none; }
.request-success h3 { font-size: 28px; line-height: 1.15; margin: 0; }
.request-success p { margin: 0; line-height: 1.6; }
.success-mark { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--gold); color: var(--gold); font-size: 28px; border-radius: 50%; }
.request-reference { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.lead-form button:disabled { opacity: .55; cursor: wait; }
.lead-form[aria-busy="true"] .dialog-close { opacity: .4; cursor: wait; }
.lead-form [data-send-request] { justify-content: space-between; }
.lead-form[data-step="review"] > .form-title, .lead-form[data-step="review"] > .form-hint,
.lead-form[data-step="success"] > .form-title, .lead-form[data-step="success"] > .form-hint { display: none; }
.delivery-alternatives { border-top: 1px solid var(--line); padding-top: 4px; }
.delivery-alternatives summary { display: list-item; cursor: pointer; min-height: 44px; padding: 12px 0; font-size: 14px; color: var(--muted); }
.delivery-alternatives.is-primary { border: 0; padding: 0; }
.delivery-alternatives.is-primary summary { display: none; }
@media (max-width: 639px) {
  .cert { grid-template-columns: 80px minmax(0, 1fr); padding: 20px; gap: 12px 16px; align-items: start; }
  .cert .cert-img { width: 80px; grid-column: 1; grid-row: 1 / span 2; }
  .cert .cert-text { display: contents; }
  .cert-text .kicker { grid-column: 2; grid-row: 1; margin: 0; }
  .cert-text .docs-title { grid-column: 2; grid-row: 2; margin: 0; font-size: 20px; }
  .cert-text > p:not(.kicker) { grid-column: 1 / -1; margin: 8px 0 0; }
}
@media (min-width: 480px) { .form-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) {
  .hero { padding-top: 48px; }
  .section-intro { gap: 48px; }
  #terminal .section-intro { grid-template-areas: "heading summary" "art summary"; row-gap: 24px; }
  .contact .section-intro { row-gap: 32px; }
  .contact-details { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-details dd { font-size: clamp(20px, 1.9vw, 26px); }
  .cert { grid-template-columns: 144px minmax(0, 1fr); padding: 32px; gap: 40px; }
}
@media (min-width: 1200px) {
  .hero-text > .lead, .chain-intro > .lead { font-size: 17px; }
  .hero-text .hero-title { font-size: clamp(52px, 4.4vw, 64px); }
  .section-intro { gap: 64px; }
  .chain .steps p { font-size: 15px; }
  .wagon { padding: 24px; }
}
@media (min-width: 1000px) {
  .docs { grid-template-rows: min-content 1fr; row-gap: 8px; align-items: start; }
  .docs > .kicker { margin-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { .dir, .dir-icon, .cta, .ghost { transition: none; } }

.chain-services { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; margin-top: 8px; color: var(--red); font-size: 15px; font-weight: 500; text-decoration: none; }
.chain-services:hover { text-decoration: underline; text-underline-offset: 4px; }
.route-details { min-width: 0; }
.route-details > summary { display: flex; align-items: center; gap: 12px; min-height: 56px; padding-block: 12px; border-block: 1px solid var(--line); cursor: pointer; font-size: 15px; font-weight: 500; list-style: none; }
.route-details > summary::-webkit-details-marker { display: none; }
.route-details > summary::after { content: '+'; margin-left: auto; color: var(--red); font-size: 24px; font-weight: 400; }
.route-details[open] > summary::after { content: '−'; }
.route-count { color: var(--muted); font-size: 12px; font-weight: 400; white-space: nowrap; }
@media (min-width: 768px) {
  .route-details > summary { display: none; }
  .chain-services { grid-column: 2; margin-top: 0; }
}
@media (max-width: 767px) {
  .hero-top { grid-template-columns: minmax(0, 1fr) clamp(106px, 32vw, 150px); gap: 14px 20px; align-items: start; }
  .hero-text, .hero-art { display: contents; }
  .hero-text .wordmark, .hero-text .kicker, .hero-text .hero-title, .hero-text > .cta { grid-column: 1 / -1; margin: 0; }
  .hero-text .wordmark { grid-row: 1; }
  .hero-text .kicker { grid-row: 2; margin-top: -8px; font-size: 11px; letter-spacing: .1em; }
  .hero-text .hero-title { grid-row: 3; max-width: 20ch; font-size: clamp(32px, 8.6vw, 44px); }
  .hero-text > .cta { grid-row: 4; justify-self: start; margin-bottom: 8px; }
  .hero-text > .lead { grid-column: 1; grid-row: 5; font-size: 15px; line-height: 1.5; }
  .hero-art .phone { position: relative; inset: auto; grid-column: 2; grid-row: 5 / span 2; align-self: center; width: 100%; }
  .hero-art .badge { position: static; grid-column: 1; grid-row: 6; width: auto; align-self: end; padding-top: 12px; gap: 6px; }
  .hero-art .badge b { font-size: clamp(24px, 6.5vw, 30px); }
  .hero-art .badge small { display: none; }
  .hero-art .hero-truck, .hero-art .delivery-route { display: none; }
  .chain { margin-top: 28px; padding-top: 24px; }
  .chain-intro > .kicker { margin-bottom: 12px; }
  .chain-intro > h2 { font-size: clamp(34px, 9vw, 44px); margin-bottom: 14px; line-height: 1.03; }
  .chain-intro > h2 span { display: inline; width: auto; }
  .chain-intro > .lead { font-size: 15px; line-height: 1.5; }
  .chain > .scene { margin-top: 12px; }
  .chain > .route-details { margin-top: 16px; }
  .chain .steps { margin-top: 0; }
  .chain .steps li:first-child { border-top: 0; }
}


.mobile-contact-bar { display: none; }
.request-guide { padding-left: 16px; border-left: 2px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.6; }
.hero-text > .request-guide { grid-column: 1 / -1; margin: 0; max-width: 58ch; }
.spec-note { margin: 12px 0; padding: 12px; border-left: 2px solid var(--gold); background: var(--bg); color: var(--muted); font-size: 13px; line-height: 1.5; }
.contact-details .contact-hours { display: block; margin-top: 12px; color: var(--muted); font-size: 14px; letter-spacing: 0; }
.arrival-note { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 20px; border: 1px solid var(--line); }
.arrival-note h3 { margin: 0 0 6px; font-size: 18px; }
.arrival-note p { margin: 0; max-width: 58ch; color: var(--muted); font-size: 14px; line-height: 1.6; }
.arrival-note .ghost { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; text-decoration: none; }
.draft-contact { padding-top: 16px; border-top: 1px solid var(--line); }
.draft-contact > p { color: var(--muted); font-size: 14px; }
.draft-contact .phone-contact { font-size: 15px; }
.group-companies { grid-column: 1 / -1; border-block: 1px solid var(--line); }
.group-companies > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; list-style: none; cursor: pointer; font-size: 18px; font-weight: 500; }
.group-companies > summary::-webkit-details-marker { display: none; }
.group-companies > summary > span { color: var(--red); font-size: 26px; font-weight: 400; }
.group-companies[open] > summary > span { transform: rotate(45deg); }
.companies-source { margin: 0 0 20px; color: var(--muted); font-size: 13px; }
.company-grid { display: grid; gap: 24px; padding-bottom: 24px; }
.company-grid article { min-width: 0; }
.company-grid article + article { padding-top: 24px; border-top: 1px solid var(--line); }
.company-grid h3 { margin: 0 0 8px; font-size: 18px; }
.company-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.company-grid dl { display: grid; gap: 4px; margin: 16px 0 8px; font-size: 14px; }
.company-grid dl > div { display: flex; gap: 12px; }
.company-grid dt { width: 44px; color: var(--muted); }
.company-grid dd { margin: 0; font-variant-numeric: tabular-nums; }
.company-grid .doc-link { display: flex; width: fit-content; gap: 8px; font-size: 14px; }
@media (min-width: 768px) {
  .company-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .company-grid article + article { padding: 0 0 0 24px; border-top: 0; border-left: 1px solid var(--line); }
}
@media (max-width: 899px) {
  body:has(.mobile-contact-bar) { --mobile-contact-height: calc(64px + env(safe-area-inset-bottom, 0px)); padding-bottom: var(--mobile-contact-height); }
  body:has(.mobile-contact-bar) .cookie-bar { bottom: calc(var(--mobile-contact-height) + 12px); }
  body:has(.mobile-contact-bar) .menu { max-height: calc(100dvh - 72px - var(--mobile-contact-height)); }
  .mobile-contact-bar { position: fixed; z-index: 25; inset: auto 0 0; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 8px; padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--bg); }
  .mobile-contact-bar .cta, .mobile-contact-bar .ghost { min-height: 48px; padding: 0 10px; justify-content: center; gap: 8px; font-size: 14px; white-space: nowrap; text-decoration: none; }
  .mobile-contact-bar svg { flex: none; }
  body:has(.form-dialog[open]) .mobile-contact-bar { visibility: hidden; }
}


.wagons:has(details[open]) .wagon { height: auto; }

@media (max-width: 1399px) { html:has(.menu:not([hidden])) { overflow: hidden; } }
