/* =================================================================
   ВЕКТОР ЛОГИСТИКИ — «Ведомость»
   Премиальная редакционно-институциональная система.
   Палитру и шрифты правьте в :root ниже.
   ================================================================= */

/* ---------- 1. ТОКЕНЫ ---------- */
:root {
  /* Тёмно-синяя база (глубокая, институциональная) */
  --navy-900: #06152E;   /* самый тёмный: футер, база hero, скримы */
  --navy-800: #0A1E3F;   /* основной тёмный фон секций */
  --navy-700: #123458;   /* панели, hover, середина градиента */
  --navy-600: #1C3A63;   /* приподнятые поверхности на тёмном */

  /* Латунь — единственный акцент */
  --brass:        #B8933C;   /* акцент: линии, кнопка, узлы, один слог в заголовке */
  --brass-bright: #D9C384;   /* латунь-текст/линии на тёмном (AA), крупная цифра */
  --brass-text:   #7A6220;   /* латунь-текст на светлом (AA) */

  /* Холодные нейтрали (институционально, без бежевого) */
  --steel:     #5B6E8C;   /* вторичный текст, графитовая сетка карты */
  --steel-ink: #455878;   /* mono-подписи на светлом (AA), неактивные метки */
  --ink:       #0C1A30;   /* заголовки и текст на светлом */
  --muted:     #53617C;   /* подписи, вторичный текст на светлом */
  --paper:     #EEF1F6;   /* холодный светлый фон (не бежевый) */
  --surface:   #FFFFFF;   /* единственная приподнятая поверхность */
  --line:      #D6DDE8;   /* волосяная линия на светлом */
  --line-dk:   rgba(217,195,132,0.16); /* латунная волосяная линия на тёмном */
  --success:   #2E9E63;

  /* Радиусы — острые, точные */
  --r-xs: 2px; --r-sm: 3px; --r-md: 4px;

  /* Шрифты (все с полной кириллицей) */
  --font-display: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'Golos Text', 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'Cascadia Code', monospace;

  --container: 1280px;
  --pad-x: 40px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-draw: cubic-bezier(.7,0,.2,1);
  --header-h: 80px;
}

/* ---------- 2. БАЗА ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--brass); color: var(--navy-900); }

img { display: block; max-width: 100%; }
button { font-family: inherit; }
a { color: inherit; }

h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; }

/* Единый видимый фокус (a11y) */
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
  border-radius: 1px;
}

/* Зерно — печатная фактура на светлом и тёмном (fixed, не перерисовывается) */
.grain {
  position: fixed; inset: 0; z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x); }

.section { padding: clamp(72px, 8vw, 128px) 0; }

.section--dark {
  position: relative;
  color: #fff;
  background: linear-gradient(155deg, var(--navy-800), var(--navy-900));
  overflow: hidden;
}
.section--paper { background: var(--paper); }
.section--white { background: var(--surface); }

/* ---------- 3. ИНДЕКС-СПАЙН (сквозная ведомость) ---------- */
.ledger { position: relative; }
.ledger__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: minmax(76px, 128px) 1fr;
  gap: clamp(28px, 4vw, 76px);
}
.spine {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.spine__num {
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--steel-ink);
}
.section--dark .spine__num { color: var(--brass-bright); }
.spine__tick {
  width: 1px; height: 44px;
  background: var(--line);
  transform-origin: top;
  transition: background .5s var(--ease), transform .8s var(--ease-draw);
}
.section--dark .spine__tick { background: var(--steel-ink); }
.spine.is-active .spine__tick { background: var(--brass); }
.spine__tab {
  font-family: var(--font-mono);
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.section--dark .spine__tab { color: rgba(255,255,255,0.55); }

/* ---------- 4. ТИПОГРАФИКА ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 1.55rem + 3.4vw, 4.4rem);
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: #fff;
}
.h2 {
  font-size: clamp(1.9rem, 1.35rem + 2.3vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.section--dark .h2 { color: #fff; }
.lead {
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.2rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 60ch;
  font-weight: 400;
}
.section--dark .lead { color: rgba(255,255,255,0.76); }

.accent { color: var(--brass-text); }
.section--dark .accent { color: var(--brass-bright); }

.mono-label {
  font-family: var(--font-mono);
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--steel-ink);
}
.section--dark .mono-label { color: var(--brass-bright); }

/* Общая волосяная линия-заголовок секции */
.rule { height: 1px; width: 100%; background: var(--line); transform-origin: left; }
.section--dark .rule { background: var(--line-dk); }

/* Латунная линия, которая «прочерчивается» (только ключевые моменты) */
.rule-brass { height: 2px; background: var(--brass); transform-origin: left; }
.js .rule-draw { transform: scaleX(0); transition: transform 1s var(--ease-draw); }
.js .rule-draw.is-visible { transform: scaleX(1); }

/* Общий тонкий arrow-glyph */
.arrow { width: 22px; height: 12px; flex: none; }

/* ---------- 5. КНОПКИ ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body);
  font-weight: 600; font-size: 15px; line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  padding: 15px 26px;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), border-color .25s var(--ease), color .25s;
}
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--brass); color: var(--navy-900); }
.btn--primary:hover { background: #c7a24a; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(184,147,60,0.28); }

.btn--ghost {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.36);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.btn--outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn--outline:hover { background: var(--ink); color: var(--paper); }

.btn--block { width: 100%; justify-content: center; }

/* ---------- 6. ХЕДЕР ---------- */
.scroll-sentinel { position: absolute; top: 0; height: 1px; width: 1px; }
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6,21,46,0.97);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-dk);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.header.scrolled { background: rgba(6,21,46,0.99); box-shadow: 0 14px 40px rgba(6,21,46,0.4); }
.header__inner {
  max-width: none;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: height .4s var(--ease);
}
.header.scrolled .header__inner { height: 64px; }

.brand { display: flex; align-items: center; background: none; border: none; padding: 0; cursor: pointer; }
.brand__logo { height: 60px; width: auto; display: block; transition: height .4s var(--ease); }
.header.scrolled .brand__logo { height: 48px; }
.brand__logo--footer { height: 92px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body);
  font-size: 14.5px; font-weight: 500;
  color: rgba(255,255,255,0.72);
  padding: 10px 14px;
  transition: color .25s;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px;
  height: 1px; background: var(--brass);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__cta { margin-left: 12px; padding: 12px 22px; }
.nav-toggle { display: none; }

/* Выпадающий список «Услуги» */
.nav__item { position: relative; display: flex; align-items: center; }
.nav__chev { width: 11px; height: 11px; margin-left: 6px; opacity: 0.7; transition: transform .3s var(--ease); }
.nav__item--menu:hover .nav__chev,
.nav__item--menu:focus-within .nav__chev { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: 100%; left: -6px;
  min-width: 264px;
  padding: 8px;
  background: var(--navy-900);
  border: 1px solid var(--line-dk);
  border-radius: var(--r-sm);
  box-shadow: 0 24px 54px rgba(6,21,46,0.55);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  z-index: 120;
}
.nav__menu::before { content: ""; position: absolute; bottom: 100%; left: 0; right: 0; height: 10px; }
.nav__item--menu:hover .nav__menu,
.nav__item--menu:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__item--menu.force-closed .nav__menu { opacity: 0 !important; visibility: hidden !important; transform: translateY(8px) !important; }
.nav__menu-item {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 14.5px; color: rgba(255,255,255,0.8);
  padding: 12px 14px; border-radius: 2px;
  transition: background .2s, color .2s, padding .2s var(--ease);
}
.nav__menu-item::before { content: ""; width: 6px; height: 6px; flex: none; border: 1px solid var(--brass); transform: rotate(45deg); transition: background .2s; }
.nav__menu-item:hover { background: rgba(255,255,255,0.06); color: #fff; padding-left: 18px; }
.nav__menu-item:hover::before { background: var(--brass); }

/* ---------- 7. HERO — полноэкранный баннер ---------- */
.hero {
  position: relative;
  min-height: calc(100dvh - var(--header-h));
  display: flex; align-items: center;
  overflow: hidden;
  background-color: var(--navy-900);
  background-image: url('hero.webp'), url('hero.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(96deg, rgba(6,21,46,0.95) 0%, rgba(6,21,46,0.82) 30%, rgba(6,21,46,0.5) 58%, rgba(6,21,46,0.2) 100%),
    linear-gradient(to top, rgba(6,21,46,0.55), transparent 22%);
}
.hero__inner {
  position: relative; z-index: 2; width: 100%;
  padding: clamp(48px,7vh,110px) var(--pad-x) clamp(84px,11vh,130px);
}
.hero__content { max-width: 660px; }
.hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.5rem, 1.5rem + 4vw, 4.6rem);
  line-height: 0.99; letter-spacing: -0.04em;
  color: #fff; margin: 0; text-shadow: 0 2px 34px rgba(6,21,46,0.55);
}
.hero h1 .accent { color: var(--brass-bright); }
.hero__lead {
  font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.25rem);
  line-height: 1.55; color: rgba(255,255,255,0.82);
  max-width: 44ch; margin: 28px 0 0;
  text-shadow: 0 1px 22px rgba(6,21,46,0.5);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero__caption {
  position: absolute; z-index: 2; left: var(--pad-x); bottom: clamp(22px,3.5vh,40px);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.78);
}
.hero__caption b { color: var(--brass-bright); font-weight: 600; }
.hero__baseline { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--brass); z-index: 3; transform-origin: left; }

/* ---------- 8. ЛЕНТА МАРШРУТОВ ---------- */
.routes { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.routes__inner { display: flex; align-items: center; gap: 28px; padding: 16px var(--pad-x); max-width: var(--container); margin: 0 auto; }
.routes__label { flex: none; }
.routes__viewport {
  flex: 1; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.routes__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.routes__viewport:hover .routes__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.route-item {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 0 26px;
  border-right: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 500; letter-spacing: 0.06em;
  color: var(--ink); white-space: nowrap;
}
.route-item .arrow { width: 18px; height: 10px; }

/* ---------- 9. УСЛУГИ — редакционная ведомость ---------- */
.svc-index { border-top: 1px solid var(--line); }
.section--dark .svc-index { border-top: 1px solid var(--line-dk); }
.svc-row {
  display: grid;
  grid-template-columns: clamp(72px,7vw,120px) 1fr auto;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  width: 100%; text-align: left;
  background: none; border: none; border-bottom: 1px solid var(--line);
  padding: clamp(24px, 3vw, 40px) 8px;
  cursor: pointer; position: relative;
  transition: padding-left .35s var(--ease), background .35s var(--ease);
}
.svc-row::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--brass); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease-draw);
}
.svc-row:hover { padding-left: 24px; }
.svc-row:hover::after { transform: scaleX(1); }
.svc-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 1.8rem + 2.4vw, 4rem);
  line-height: 0.9; letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--line);
  transition: -webkit-text-stroke-color .35s var(--ease), color .35s var(--ease);
}
.svc-row:hover .svc-num { color: var(--ink); -webkit-text-stroke-color: var(--ink); }
.svc-text h3 { font-family: var(--font-display); font-size: clamp(1.3rem,1rem+0.9vw,1.7rem); font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.svc-text p { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 56ch; }
.svc-go {
  flex: none; color: var(--steel-ink);
  transform: translateX(-6px); opacity: 0;
  transition: transform .35s var(--ease), opacity .35s var(--ease), color .35s;
}
.svc-row:hover .svc-go { transform: translateX(0); opacity: 1; color: var(--brass-text); }
.svc-go .arrow { width: 34px; height: 14px; }

/* Самолёт-акцент (авиа-перевозки) в секции услуг */
.ledger__body { position: relative; }
.svc-plane {
  position: absolute; top: -28px; right: -18px;
  width: clamp(280px, 30vw, 500px);
  pointer-events: none; z-index: 1;
}
.svc-plane img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 30px 38px rgba(6,21,46,0.20));
  animation: planeFloat 8s ease-in-out infinite;
}
@keyframes planeFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@media (max-width: 1024px) { .svc-plane { display: none; } }

/* ---------- 10. НАПРАВЛЕНИЯ — прочерченный маршрут ---------- */
#directions {
  background-color: var(--navy-900);
  background-image:
    linear-gradient(150deg, rgba(6,21,46,0.93), rgba(10,30,63,0.87) 52%, rgba(6,21,46,0.95)),
    url('business.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.directions__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px,5vw,80px); align-items: center; }
.checklist { display: flex; flex-direction: column; gap: 0; margin-top: 32px; border-top: 1px solid var(--line-dk); }
.checklist li {
  display: flex; align-items: flex-start; gap: 16px;
  list-style: none; padding: 18px 0; border-bottom: 1px solid var(--line-dk);
  font-size: 16px; line-height: 1.5; color: rgba(255,255,255,0.9);
}
.checklist .tick { flex: none; margin-top: 3px; color: var(--brass); }
.checklist .tick svg { width: 16px; height: 16px; }

.chart {
  position: relative;
  border-top: 1px solid var(--line-dk); border-bottom: 1px solid var(--line-dk);
  padding: clamp(28px,4vw,48px) 0;
}
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart__modes { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-dk); }
.chart__modes div { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; color: rgba(255,255,255,0.72); text-align: center; }

/* ---------- 11. ПОЧЕМУ / ПОКАЗАТЕЛИ / ПЕЧАТЬ ---------- */
.why__monument { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px,4vw,64px); align-items: center; }
.seal { position: relative; width: clamp(180px, 20vw, 240px); aspect-ratio: 1; flex: none; }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal__num {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.6rem, 2rem + 3vw, 4.4rem); letter-spacing: -0.05em;
  color: var(--ink);
  font-feature-settings: 'tnum' 1;
}
.seal__num .plus { color: var(--brass-text); }
.why__monument-txt h2 { max-width: 16ch; }
.why__monument-txt p { margin-top: 16px; }

.figures { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: clamp(40px,5vw,64px); border-top: 1px solid var(--line); }
.figure { padding: 28px 0; border-bottom: 1px solid var(--line); }
.figure + .figure { border-left: 1px solid var(--line); padding-left: clamp(24px,3vw,48px); }
.figure__num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); letter-spacing: -0.04em; line-height: 0.9;
  color: var(--ink); font-feature-settings: 'tnum' 1;
}
.figure__label { font-size: 14.5px; color: var(--muted); margin-top: 12px; }

.why-list { margin-top: clamp(48px,6vw,80px); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px,4vw,64px); }
.why-list__head h2 { position: sticky; top: calc(var(--header-h) + 40px); }
.why-items { border-top: 1px solid var(--line); }
.why-item { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start; }
.why-item__idx { font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--brass-text); letter-spacing: 0.05em; padding-top: 4px; }
.why-item h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.why-item p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
#why { padding-bottom: clamp(20px,2.5vw,42px); }

/* ---------- 12. CTA-БАНД ---------- */
.cta-band { position: relative; background: var(--navy-900); }
.cta-band__key { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--brass); transform-origin: left; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: clamp(32px,4vw,64px); flex-wrap: wrap; padding: clamp(52px,6vw,84px) 0; }
.cta-band__statement {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 1.05rem + 1.6vw, 2.4rem); line-height: 1.15; letter-spacing: -0.025em;
  color: #fff; max-width: 760px; margin: 0;
}
.cta-band__statement .accent { color: var(--brass-bright); }

/* ---------- 13. КОГДА ПОЛЕЗНЫ — линованный список ---------- */
.useful__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px,5vw,80px); align-items: start; }
.useful__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(28px,3vw,48px); border-top: 1px solid var(--line); }
.useful-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 24px 0; border-bottom: 1px solid var(--line);
}
.useful-item .tick { flex: none; margin-top: 2px; color: var(--brass-text); }
.useful-item .tick svg { width: 18px; height: 18px; }
.useful-item span { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; line-height: 1.35; color: var(--ink); letter-spacing: -0.01em; }

/* ---------- 14. КОНТАКТЫ — «бланк заявки» ---------- */
.contacts__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(48px,6vw,90px); align-items: start; }
.contact-card {
  display: flex; align-items: center; gap: 16px; text-decoration: none;
  padding: 20px 0; border-bottom: 1px solid var(--line-dk);
  transition: padding-left .3s var(--ease);
}
.contact-card:first-of-type { border-top: 1px solid var(--line-dk); }
a.contact-card:hover { padding-left: 8px; }
.contact-card__icon { flex: none; color: var(--brass-bright); }
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card small { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.contact-card b { display: block; font-size: 17px; font-weight: 600; color: #fff; margin-top: 4px; font-family: var(--font-display); }
.contacts__note { font-size: 13.5px; color: rgba(255,255,255,0.5); margin: 26px 0 0; }

.slip { position: relative; }
.field { position: relative; margin-bottom: 30px; }
.field label {
  display: block; font-family: var(--font-mono);
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass-bright); margin-bottom: 10px;
}
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 16px;
  color: #fff; background: transparent;
  border: none; border-bottom: 1px solid rgba(255,255,255,0.24);
  padding: 8px 0; transition: border-color .3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.34); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--brass); }
.field textarea { resize: vertical; min-height: 64px; }
.slip .btn { margin-top: 8px; }

.slip__success { position: relative; padding: 20px 0; }
.slip__stamp {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.28em;
  color: var(--brass-bright); text-transform: uppercase;
  padding-bottom: 18px;
}
.slip__stamp-rule { height: 2px; background: var(--brass); transform-origin: left; }
.js .slip__stamp-rule { transform: scaleX(0); transition: transform .7s var(--ease-draw); }
.js .slip__success.is-in .slip__stamp-rule { transform: scaleX(1); }
.slip__success h3 { font-family: var(--font-display); font-size: 1.5rem; color: #fff; margin: 24px 0 0; }
.slip__success p { font-size: 15px; color: rgba(255,255,255,0.7); margin: 12px 0 0; line-height: 1.55; max-width: 42ch; }

/* ---------- 15. ФУТЕР ---------- */
.footer { background: var(--navy-900); color: #fff; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; padding: clamp(28px,3vw,40px) var(--pad-x) 0; max-width: var(--container); margin: 0 auto; }
.footer__brandrow { display: flex; align-items: center; gap: 22px; }
.footer__seal { width: 76px; height: 76px; flex: none; }
.footer__about p { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,0.6); margin: 24px 0 0; max-width: 320px; }
.footer__col h4 { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin: 0 0 20px; }
.footer__col a, .footer__col button {
  display: block; background: none; border: none; padding: 0; text-align: left; cursor: pointer;
  font-family: var(--font-body); font-size: 14.5px; color: rgba(255,255,255,0.76);
  text-decoration: none; margin-bottom: 13px; transition: color .25s;
}
.footer__col a:hover, .footer__col button:hover { color: var(--brass-bright); }
.footer__legal { font-size: 13.5px; color: rgba(255,255,255,0.52); margin-top: 13px; line-height: 1.5; }
.footer__link { color: var(--brass-bright) !important; font-weight: 600; }
.footer__bottom { max-width: var(--container); margin: clamp(20px,2.5vw,32px) auto 0; padding: 24px var(--pad-x); border-top: 1px solid var(--line-dk); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer__bottom span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: rgba(255,255,255,0.45); }

/* ---------- 16. СТРАНИЦА УСЛУГИ ---------- */
.svc-hero {
  position: relative;
  min-height: clamp(520px, calc(100dvh - var(--header-h)), 820px);
  display: flex; align-items: center;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  padding: clamp(88px,12vh,150px) 0 clamp(56px,7vh,90px);
  overflow: hidden;
}
.svc-hero__inner { position: relative; z-index: 1; max-width: 760px; }
.back-link {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(6,21,46,0.35); border: 1px solid rgba(255,255,255,0.28); cursor: pointer;
  font-family: var(--font-body); font-size: 14px; font-weight: 500; color: #fff;
  padding: 10px 18px; border-radius: var(--r-sm); margin-bottom: 34px;
  backdrop-filter: blur(6px);
  transition: background .25s, border-color .25s;
}
.back-link:hover { background: rgba(6,21,46,0.6); border-color: rgba(255,255,255,0.55); }
.back-link svg { width: 16px; height: 16px; }
.svc-tag { display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-bright); }
.svc-tag::before { content: ""; width: 34px; height: 1px; background: var(--brass); margin-right: 14px; }
.svc-hero__inner h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.3rem, 1.5rem + 3vw, 4rem); line-height: 1.0; letter-spacing: -0.04em; color: #fff; margin: 24px 0 0; text-shadow: 0 2px 30px rgba(6,21,46,0.5); }
.svc-hero__inner .lead { color: rgba(255,255,255,0.85); margin-top: 24px; max-width: 60ch; }

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(28px,3vw,48px); margin-top: 44px; border-top: 1px solid var(--line); }
.feature { display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.feature__idx { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--brass-text); padding-top: 4px; }
.feature h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.feature p { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin: 8px 0 0; }

.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 44px; border-top: 1px solid var(--line); }
.step { padding: 28px clamp(16px,2vw,28px) 28px 0; border-bottom: 1px solid var(--line); }
.step + .step { border-left: 1px solid var(--line); padding-left: clamp(16px,2vw,28px); }
.step__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem,1.5rem+1.4vw,2.8rem); color: transparent; -webkit-text-stroke: 1px var(--brass); line-height: 0.9; }
.step h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--ink); margin: 16px 0 0; }
.step p { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin: 9px 0 0; }

.svc-cta { margin-top: clamp(56px,7vw,80px); position: relative; background: var(--navy-900); border-top: 2px solid var(--brass); padding: clamp(40px,5vw,60px); display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.svc-cta h3 { font-family: var(--font-display); font-size: clamp(1.4rem,1.1rem+1vw,2rem); color: #fff; }
.svc-cta p { font-size: 16px; color: rgba(255,255,255,0.72); margin: 12px 0 0; }

/* ---------- 16c. СКЛАД В ГЕРМАНИИ ---------- */
.sklad-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "media title" "media body";
  column-gap: clamp(36px,5vw,72px);
  align-items: center;
}
.sklad-teaser__title { grid-area: title; align-self: end; margin: 0 0 20px; }
.sklad-teaser__media { grid-area: media; }
.sklad-teaser__body { grid-area: body; align-self: start; }
.sklad-teaser__media { position: relative; }
.sklad-teaser__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--line); display: block; }
.sklad-teaser__media::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(184,147,60,0.5); pointer-events: none; }
.sklad-teaser__tag { position: absolute; left: 14px; bottom: 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; background: rgba(6,21,46,0.72); padding: 8px 12px; }
.sklad-teaser__points { list-style: none; padding: 0; margin: 24px 0 30px; }
.sklad-teaser__points li { position: relative; padding-left: 26px; margin-bottom: 12px; font-size: 15.5px; color: var(--muted); line-height: 1.45; }
.sklad-teaser__points li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 8px; height: 8px; border: 1px solid var(--brass); transform: rotate(45deg); }
.section--dark .sklad-teaser__points li { color: rgba(255,255,255,0.72); }
.section--dark .sklad-teaser__media img { border-color: var(--line-dk); }
.section--dark .sklad-teaser__tag { background: rgba(6,21,46,0.85); }

.spec-list { border-top: 1px solid var(--line); }
.spec-row { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 16px 2px; border-bottom: 1px solid var(--line); }
.spec-row__name { font-size: 15.5px; color: var(--ink); }
.spec-row__val { font-family: var(--font-mono); font-size: 14.5px; font-weight: 600; color: var(--brass-text); white-space: nowrap; }
.spec-row__val.free { color: var(--success); }
.spec-list--dark { border-top-color: var(--line-dk); }
.spec-list--dark .spec-row { border-bottom-color: var(--line-dk); }
.spec-list--dark .spec-row__name { color: rgba(255,255,255,0.85); }
.spec-list--dark .spec-row__val { color: var(--brass-bright); }

.price-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,4vw,60px); margin-top: 18px; }
.price-cols__h { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--ink); margin: 0 0 6px; }

.sklad-gallery { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: clamp(32px,4vw,48px); }
.sklad-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--line-dk); display: block; }

.figures--dark { border-top-color: var(--line-dk); }
.figures--dark .figure { border-bottom-color: var(--line-dk); }
.figures--dark .figure + .figure { border-left-color: var(--line-dk); }
.figures--dark .figure__num { color: #fff; }
.figures--dark .figure__label { color: rgba(255,255,255,0.7); }

.feature-grid--dark { border-top-color: var(--line-dk); }
.feature-grid--dark .feature { border-bottom-color: var(--line-dk); }
.feature-grid--dark .feature__idx { color: var(--brass-bright); }
.feature-grid--dark .feature h3 { color: #fff; }
.feature-grid--dark .feature p { color: rgba(255,255,255,0.7); }

.sklad-contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px,5vw,80px); align-items: start; }
.sklad-address address { font-style: normal; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem,1rem+0.5vw,1.4rem); line-height: 1.5; color: #fff; margin-top: 16px; letter-spacing: -0.01em; }

@media (max-width: 900px) {
  .sklad-teaser { grid-template-columns: 1fr; grid-template-areas: "title" "media" "body"; }
  .sklad-teaser__title { align-self: auto; margin-bottom: 20px; }
  .sklad-teaser__media { margin-bottom: 26px; }
  .sklad-contact { grid-template-columns: 1fr; }
  .sklad-gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) { .price-cols { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .sklad-gallery { grid-template-columns: 1fr; } }

/* ---------- 16b. КАРТА-ЧАРТ + ПЕЧАТЬ (SVG) ---------- */
.chart__grid { color: var(--steel); opacity: 0.16; }
.chart__route { stroke: var(--brass); stroke-width: 2.5; fill: none; stroke-linecap: round; }
.js .chart__route { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease-draw); }
.js .chart.is-visible .chart__route { stroke-dashoffset: 0; }
.chart__node circle { fill: var(--navy-900); stroke: var(--brass-bright); stroke-width: 2; }
.chart__hub { fill: var(--brass); }
.chart__label { font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; fill: rgba(255,255,255,0.66); }
.chart__label--hub { fill: var(--brass-bright); }

.seal__ring { fill: none; stroke: var(--brass); stroke-width: 2; }
.js .seal__ring { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.7s var(--ease-draw); }
.js .why__monument.is-visible .seal__ring { stroke-dashoffset: 0; }
.seal__ring2 { fill: none; stroke: var(--brass); stroke-width: 1; opacity: 0.4; }
.seal__text { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 2.6px; fill: var(--brass-text); }
.seal__ticks { color: var(--brass); }

/* ---------- 17. REVEAL / MOTION ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js.fonts-ready [data-reveal].is-visible,
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
  .js .rule-draw, .js .slip__stamp-rule { transform: scaleX(1) !important; transition: none; }
  .js .chart__route, .js .seal__ring { stroke-dashoffset: 0 !important; transition: none; }
  .routes__track { animation: none !important; }
  .svc-plane img { animation: none !important; }
  .hero__video { display: none !important; }
  * { scroll-behavior: auto !important; }
}

/* ---------- 18. АДАПТИВ ---------- */
@media (max-width: 1080px) {
  :root { --pad-x: 28px; }
  .directions__grid, .useful__grid, .contacts__grid, .why-list { grid-template-columns: 1fr; }
  .why__monument { grid-template-columns: 1fr; text-align: left; }
  .why-list__head h2 { position: static; }
}

@media (max-width: 900px) {
  .ledger__inner { grid-template-columns: 1fr; gap: 0; }
  .spine {
    position: static; flex-direction: row; align-items: center; gap: 14px;
    margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line);
  }
  .section--dark .spine { border-bottom: 1px solid var(--line-dk); }
  .spine__tick { width: 24px; height: 1px; }
  .spine.is-active .spine__tick { background: var(--brass); }
}

@media (max-width: 680px) {
  :root { --pad-x: 20px; }
  .hero { background-position: center; }
  .hero__video { display: none; }
  .hero__scrim { background: linear-gradient(rgba(6,21,46,0.86), rgba(6,21,46,0.7)); }
  .hero__content { max-width: none; }
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy-900); border-bottom: 1px solid var(--line-dk);
    padding: 12px var(--pad-x) 20px; gap: 2px;
  }
  .nav.open .nav__link { text-align: left; padding: 14px; }
  .nav.open .nav__link::after { display: none; }
  .nav.open .nav__cta { margin: 8px 0 0; text-align: center; justify-content: center; }
  .nav.open .nav__item--menu { flex-direction: column; align-items: stretch; width: 100%; }
  .nav.open .nav__chev { display: none; }
  .nav.open .nav__menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; background: none; min-width: 0;
    padding: 0 0 6px 14px;
  }
  .nav.open .nav__menu-item { padding: 11px 12px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; background: rgba(255,255,255,0.05);
    border: 1px solid var(--line-dk); border-radius: var(--r-sm); cursor: pointer; color: #fff;
  }
  .nav-toggle svg { width: 22px; height: 22px; }

  .svc-row { grid-template-columns: 1fr auto; gap: 16px 20px; padding: 22px 0; }
  .svc-num { grid-column: 1 / -1; font-size: 2.4rem; }
  .svc-row:hover { padding-left: 0; }
  .svc-go { display: none; }
  .figures { grid-template-columns: 1fr; }
  .figure + .figure { border-left: none; padding-left: 0; }
  .why-list, .useful__list { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step + .step:nth-child(odd) { border-left: none; padding-left: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .cta-band__num { font-size: 3.6rem; }
}

@media (max-width: 460px) {
  .footer__top { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: none; padding-left: 0; }
  .useful__list { grid-template-columns: 1fr; }
}
