/* ============================================================
   ПОДЪЁМ — лифты · эскалаторы | Дизайн-система (static build)
   Токены по концепции: navy #0A2540 / CTA #FF6B1A, Manrope + Inter
   ============================================================ */

/* ---------- Токены ---------- */
:root {
  --navy: #0a2540;
  --navy-light: #1e3a5f;
  --cta: #ff6b1a;
  --cta-hover: #e55a0a;
  --cta-deep: #c2410c;
  --cta-blue: #3182ce;
  --success: #10b981;
  --surface: #f5f7fa;
  --ink: #1a1a1a;
  --ink-soft: #6b7280;
  --ink-light: #a0aec0;
  --line: #e2e8f0;
  --white: #ffffff;

  --radius: 8px;
  --radius-lg: 12px;

  --sh-sm: 0 4px 20px rgba(10, 37, 64, 0.08);
  --sh-md: 0 10px 40px rgba(0, 0, 0, 0.15);
  --sh-lg: 0 20px 60px rgba(0, 0, 0, 0.3);
  --ring: 0 0 0 3px rgba(255, 107, 26, 0.35);

  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --header-h: 64px;
}
@media (min-width: 768px) {
  :root { --header-h: 80px; }
}

/* ---------- Сброс и база ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; }

main { flex: 1 0 auto; }
footer { margin-top: auto; }

[id] { scroll-margin-top: 96px; }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

[hidden] { display: none !important; }

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 768px) {
  .container { padding-inline: 40px; }
}

/* ---------- Иконки ---------- */
.ico { width: 24px; height: 24px; flex-shrink: 0; }
.ico-16 { width: 16px; height: 16px; }
.ico-18 { width: 18px; height: 18px; }
.ico-20 { width: 20px; height: 20px; }
.ico-28 { width: 28px; height: 28px; }
.ico--spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.btn--md { height: 48px; padding: 0 24px; font-size: 15px; }
.btn--lg { height: 56px; padding: 0 32px; font-size: 16px; }
.btn--primary { background: var(--cta); color: var(--white); box-shadow: var(--sh-md); }
.btn--primary:hover { background: var(--cta-hover); }
.btn--outline { border: 1px solid rgba(255, 255, 255, 0.4); color: var(--white); }
.btn--outline:hover { background: rgba(255, 255, 255, 0.1); }
.btn--outline-dark { border: 1px solid rgba(10, 37, 64, 0.25); color: var(--navy); }
.btn--outline-dark:hover { border-color: var(--navy); background: rgba(10, 37, 64, 0.05); }
.btn--dark { background: var(--navy); color: var(--white); box-shadow: var(--sh-sm); }
.btn--dark:hover { background: var(--navy-light); }
.btn--secondary { background: var(--cta-blue); color: var(--white); box-shadow: var(--sh-md); }
.btn--secondary:hover { background: #2b69a8; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.5; pointer-events: none; }

/* ---------- Бейджи ---------- */
.badge-warranty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}
.badge-warranty .dot-wrap { position: relative; width: 8px; height: 8px; flex-shrink: 0; }
.badge-warranty .dot-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--success);
  opacity: 0.5;
}
.badge-warranty .dot-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--success);
}
.badge-plain {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--cta);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  width: fit-content;
}

/* ---------- Шапка ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  background: rgba(10, 37, 64, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  height: var(--header-h);
  transition: height 0.2s ease;
}
.site-header.is-scrolled { --header-h: 64px; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
}

.burger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: -8px;
  border-radius: 6px;
  color: var(--white);
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--cta);
  color: var(--white);
  flex-shrink: 0;
}
.logo-text { line-height: 1; text-align: left; }
.logo-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--white);
}
.logo-text small {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.5);
}

.main-nav { display: none; align-items: center; gap: 2px; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  transition: color 0.15s ease;
}
.nav-link:hover, .dropdown.is-open > .nav-link { color: var(--white); }
.nav-link .ico { transition: transform 0.2s ease; }
.dropdown { position: relative; }
.dropdown.is-open .nav-link .ico { transform: rotate(180deg); }
.dropdown-panel {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 50;
  padding-top: 8px;
  min-width: 320px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.dropdown.is-open .dropdown-panel { visibility: visible; opacity: 1; transform: translateY(0); }
.dropdown-panel-inner {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--sh-md);
  padding: 8px;
}
.dropdown-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  text-align: left;
  transition: background-color 0.15s ease;
}
.dropdown-item:hover { background: var(--surface); }
.dropdown-item strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.dropdown-item:hover strong { color: var(--navy); }
.dropdown-item small { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-light); }

.header-actions { display: none; align-items: center; gap: 20px; }
.header-phone { display: flex; align-items: center; gap: 8px; }
.header-phone .ico { color: var(--cta); }
.header-phone span {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}
.header-phone-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  color: var(--white);
}

@media (min-width: 768px) {
  .header-actions { display: flex; }
  .header-phone-mobile, .burger { display: none; }
}
@media (min-width: 1024px) {
  .main-nav { display: flex; }
}

/* ---------- Мобильное меню ---------- */
.mobile-menu {
  position: fixed;
  inset-inline: 0;
  top: 64px;
  bottom: 0;
  z-index: 40;
  background: var(--navy);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; }
.mobile-menu nav { padding-block: 24px 96px; }
.mm-group { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.mm-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  text-align: left;
}
.mm-toggle .ico { color: rgba(255, 255, 255, 0.6); transition: transform 0.2s ease; }
.mm-toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
.mm-list { display: none; padding-bottom: 12px; }
.mm-list.is-open { display: block; }
.mm-list a {
  display: block;
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.9);
}
.mm-list a strong { display: block; font-size: 15px; font-weight: 600; }
.mm-list a small { display: block; margin-top: 2px; font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.mm-direct {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}
.mm-contacts { margin-top: 24px; display: grid; gap: 16px; }
.mm-contacts > a:not(.btn) strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
}
.mm-contacts > a:not(.btn) small { display: block; margin-top: 2px; font-size: 13px; color: rgba(255, 255, 255, 0.55); }
.mm-contacts .btn--lg { width: 100%; }

/* ---------- FAB ---------- */
.fab {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 40;
  display: none;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--cta);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  box-shadow: var(--sh-lg);
  transition: transform 0.2s ease;
}
.fab:hover { transform: translateY(-2px); }
@media (max-width: 767.98px) { .fab { display: flex; } }

/* ---------- Секции ---------- */
.section { position: relative; padding-block: 64px; }
@media (min-width: 768px) { .section { padding-block: 100px; } }
.section--white { background: var(--white); color: var(--ink); }
.section--light { background: var(--surface); color: var(--ink); }
/* Внутренние страницы: белые секции получают деликатную «чертёжную» сетку
   (перекликается с blueprint-grid на navy-херах); главная остаётся чисто белой.
   Карточки (.card/.trust-card/.case-card/.doc-card/.contact-card) уже имеют
   сплошной белый фон и остаются читаемыми поверх сетки. */
.inner .section--white {
  background-color: var(--white);
  background-image:
    linear-gradient(rgba(10, 37, 64, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 37, 64, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
}
.section--navy { background: var(--navy); color: var(--white); }
.section--navy-grad { background: linear-gradient(to bottom, var(--navy), var(--navy-light)); color: var(--white); }
.section--tight { padding-block: 56px; }
@media (min-width: 768px) { .section--tight { padding-block: 80px; } }

.section-head { max-width: 768px; margin-bottom: 40px; }
@media (min-width: 768px) { .section-head { margin-bottom: 56px; } }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--mb8 { margin-bottom: 32px; }
.section-head--mb0 { margin-bottom: 0; }
.kicker {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cta-deep);
}
.section--navy .kicker, .section--navy-grad .kicker, .kicker--navy { color: var(--cta); }
.section-head h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.section--navy .section-head h2, .section--navy-grad .section-head h2, .section-head--navy h2 { color: var(--white); }
@media (min-width: 768px) { .section-head h2 { font-size: 44px; } }
.section-head .lead { margin-top: 16px; font-size: 16px; color: var(--ink-soft); }
.section-head--navy .lead { color: rgba(255, 255, 255, 0.7); }
@media (min-width: 768px) { .section-head .lead { font-size: 18px; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  padding-block: 112px 96px;
}
@media (min-width: 768px) { .hero { padding-block: 160px 128px; } }
.hero--tight { padding-block: 112px 64px; }
@media (min-width: 768px) { .hero--tight { padding-block: 160px 96px; } }
.hero-bg-grid, .hero-bg-fade { position: absolute; inset: 0; }
.blueprint-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-bg-fade {
  background: linear-gradient(to bottom, rgba(10, 37, 64, 0.6), transparent 50%, rgba(10, 37, 64, 0.8));
}
.hero .container { position: relative; }
.hero-grid { display: grid; align-items: center; gap: 48px; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.2fr 1fr; } }
.hero-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hero h1 {
  margin-top: 24px;
  max-width: 640px;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) { .hero h1 { font-size: 44px; } }
@media (min-width: 1024px) { .hero h1 { font-size: 56px; } }
.hero--tight h1 { max-width: none; }
@media (min-width: 1024px) { .hero--tight h1 { font-size: 52px; } }
.hero-sub {
  margin-top: 20px;
  max-width: 560px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
}
@media (min-width: 768px) { .hero-sub { font-size: 18px; } }
.hero-cta { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .hero-cta { flex-direction: row; } }

.hero-media { position: relative; margin-inline: auto; width: 100%; max-width: 440px; }
.hero-media--wide { max-width: 480px; }
@media (min-width: 1024px) { .hero-media, .hero-media--wide { max-width: none; } }
.hero-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--sh-lg);
  aspect-ratio: 3 / 4;
}
.hero-media--wide .hero-photo { aspect-ratio: 4 / 3; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.time-plate {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 16px;
  padding-block: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--sh-md);
  color: var(--ink);
}
.time-plate > div { padding-inline: 8px; text-align: center; }
.time-plate > div + div { border-left: 1px solid var(--line); }
.time-plate strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--cta-hover);
}
.time-plate span { display: block; margin-top: 4px; font-size: 12px; white-space: nowrap; color: var(--ink-soft); }
@media (min-width: 768px) {
  .time-plate strong { font-size: 26px; }
  .time-plate span { font-size: 13px; }
  .time-plate--float {
    position: absolute;
    left: 50%;
    bottom: -40px;
    transform: translateX(-50%);
    width: 88%;
    margin-top: 0;
  }
}

.hero-float-card {
  margin-top: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--sh-md);
  color: var(--ink);
}
.hero-float-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cta-hover);
}
.hero-float-card .sub { margin-top: 8px; font-size: 13px; line-height: 1.4; color: var(--ink-soft); }
.hero-float-card .note { margin-top: 4px; font-size: 11px; line-height: 1.4; color: var(--ink-light); }
@media (min-width: 768px) {
  .hero-float-card--tl {
    position: absolute;
    left: -24px;
    bottom: -32px;
    margin-top: 0;
    max-width: 240px;
  }
  .hero-float-card--tl-sm { max-width: 230px; }
}

/* ---------- Карточки ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.card--pad { padding: 24px; }
@media (min-width: 768px) { .card--pad-lg { padding: 32px; } }

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); border-color: var(--cta); box-shadow: var(--sh-sm); }
.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: rgba(255, 107, 26, 0.1);
  color: var(--cta-hover);
}
.service-card h3 { font-size: 20px; font-weight: 700; color: var(--navy); }
.service-sub {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-light);
}
.service-pills { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.service-note { margin-top: 12px; font-size: 13px; line-height: 1.4; color: var(--ink-light); }
.service-link {
  margin-top: auto;
  padding-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--cta-deep);
  text-align: left;
}
.service-card:hover .service-link { gap: 10px; }

.leadtime-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.leadtime-card:hover { transform: translateY(-4px); box-shadow: var(--sh-sm); }
.leadtime-card strong {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cta-hover);
}
.leadtime-card--compact strong { font-size: 26px; }
@media (min-width: 768px) {
  .leadtime-card strong { font-size: 48px; }
  .leadtime-card--compact strong { font-size: 32px; }
}
.leadtime-card .caption { margin-top: 12px; font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--navy); }
.leadtime-card .sub { margin-top: 4px; font-size: 14px; color: var(--ink-soft); }

.case-card {
  height: 100%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--sh-sm); }
.case-photos { display: grid; grid-template-columns: 1fr 1fr; }
.case-photo { position: relative; aspect-ratio: 4 / 3; }
.case-photo img { width: 100%; height: 100%; object-fit: cover; }
.case-tag {
  position: absolute;
  top: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
}
.case-tag--before { left: 12px; background: rgba(10, 37, 64, 0.85); }
.case-tag--after { right: 12px; background: var(--cta); }
.case-body { padding: 20px; }
.case-meta { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-light); }
.case-body h3 { margin-top: 4px; font-size: 18px; font-weight: 700; color: var(--navy); }
.case-result { margin-top: 8px; display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 1.4; color: var(--ink-soft); }
.case-result .ico { margin-top: 2px; color: var(--success); }

.line-card {
  position: relative;
  display: block;
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--sh-sm);
  text-align: left;
}
@media (min-width: 768px) { .line-card { height: 280px; } }
.line-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.line-card:hover img { transform: scale(1.05); }
.line-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 37, 64, 0.9), rgba(10, 37, 64, 0.35) 50%, rgba(10, 37, 64, 0.05));
}
.line-card-content { position: absolute; inset-inline: 0; bottom: 0; padding: 24px; }
.line-card-content h3 { font-size: 24px; font-weight: 800; color: var(--white); }
@media (min-width: 768px) { .line-card-content h3 { font-size: 28px; } }
.line-chips { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.line-chips span {
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}
.line-card-cta { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--cta); }
.line-card:hover .line-card-cta .ico { transform: translateX(4px); }
.line-card-cta .ico { transition: transform 0.2s ease; }

.doc-card {
  width: 280px;
  flex-shrink: 0;
  scroll-snap-align: start;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.doc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(10, 37, 64, 0.05);
  color: var(--navy);
}
.doc-card h3 { margin-top: 16px; font-size: 18px; font-weight: 700; color: var(--navy); }
.doc-card p { margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--ink-soft); }

/* ---------- Чек-лист ---------- */
.checklist { display: grid; gap: 10px; }
@media (min-width: 640px) {
  .checklist--2col { grid-template-columns: 1fr 1fr; column-gap: 32px; }
}
.checklist li { display: flex; align-items: flex-start; gap: 10px; }
.checklist .check-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  flex-shrink: 0;
}
.checklist--navy .check-dot { background: rgba(16, 185, 129, 0.25); }
.checklist span:last-child { font-size: 15px; line-height: 1.4; color: var(--ink); }
.checklist--navy span:last-child { color: rgba(255, 255, 255, 0.85); }

/* ---------- Главная: линейки, сроки, услуги ---------- */
.grid-2 { display: grid; gap: 24px; }
.grid-3 { display: grid; gap: 24px; }
.grid-4 { display: grid; gap: 24px; }
.grid-3-m { display: grid; gap: 24px; }
.grid-3--xl { display: grid; gap: 24px; }
.grid-4--xl { display: grid; gap: 24px; }
@media (min-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .grid-3-m { grid-template-columns: repeat(3, 1fr); }
  .grid-3--xl { grid-template-columns: 1fr 1fr; }
  .grid-4--xl { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1280px) {
  .grid-3--xl { grid-template-columns: repeat(3, 1fr); }
  .grid-4--xl { grid-template-columns: repeat(4, 1fr); }
}

.lines-grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .lines-grid { grid-template-columns: 1fr 1fr; } }

.navy-cta-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: var(--white);
}
.navy-cta-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.navy-cta-card p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.7); }
.navy-cta-card .btn { margin-top: 20px; align-self: flex-start; }

/* ---------- Нишевые операции ---------- */
.op-tile {
  position: relative;
  display: block;
  width: 100%;
  height: 240px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
@media (min-width: 768px) { .op-tile { height: 280px; } }
.op-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.op-tile--link:hover img { transform: scale(1.05); }
.op-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 37, 64, 0.9), rgba(10, 37, 64, 0.25) 55%, transparent);
}
.op-tile-content { position: absolute; inset-inline: 0; bottom: 0; padding: 20px; }
.op-tile-content h3 { font-size: 17px; font-weight: 700; line-height: 1.35; color: var(--white); }
.op-tile-content p { margin-top: 4px; font-size: 13px; color: rgba(255, 255, 255, 0.65); }
.op-cta-row { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }

/* ---------- Запчасти ---------- */
.parts-grid { display: grid; align-items: center; gap: 40px; }
@media (min-width: 1024px) { .parts-grid { grid-template-columns: 1fr 1fr; } }
.parts-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--sh-md);
  aspect-ratio: 4 / 3;
}
.parts-photo img { width: 100%; height: 100%; object-fit: cover; }
.parts-content h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.01em; color: var(--navy); }
@media (min-width: 768px) { .parts-content h2 { font-size: 44px; } }
.parts-content > p { margin-top: 16px; max-width: 576px; font-size: 16px; color: var(--ink-soft); }
.parts-cta { margin-top: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.parts-cta small { font-size: 13px; color: var(--ink-light); }

/* ---------- Доверие ---------- */
.trust-card { height: 100%; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.trust-card h3 { margin-top: 20px; font-size: 18px; font-weight: 700; line-height: 1.35; color: var(--navy); }
.trust-card p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }

/* ---------- Кейсы (карта + список) ---------- */
.cases-grid { display: grid; gap: 24px; }
@media (min-width: 1024px) { .cases-grid { grid-template-columns: 1.6fr 1fr; } }
.map-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: var(--navy-light);
  height: 260px;
}
@media (min-width: 768px) { .map-card { height: 300px; } }
.map-card svg { width: 100%; height: 100%; }
.map-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: var(--white);
}
.map-side-row { display: flex; align-items: flex-start; gap: 12px; }
.map-side-row .map-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-top: 2px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--cta);
  flex-shrink: 0;
}
.map-side-row span { font-size: 15px; line-height: 1.4; color: rgba(255, 255, 255, 0.85); }
.cases-cards { margin-top: 32px; }

/* ---------- Документы ---------- */
.docs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.slider-nav { display: none; gap: 8px; margin-bottom: 4px; }
@media (min-width: 768px) { .slider-nav { display: flex; } }
.slider-nav button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  transition: border-color 0.15s ease;
}
.slider-nav button:hover { border-color: var(--navy); }
.docs-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 4px 12px;
  margin: 0 -4px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}
.docs-track::-webkit-scrollbar { height: 6px; }
.docs-track::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 999px; }
.docs-track::-webkit-scrollbar-track { background: transparent; }
.docs-cta { margin-top: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.docs-cta small { font-size: 13px; color: var(--ink-light); }

/* ---------- Лид-форма ---------- */
.lead-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .lead-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } }
.lead-aside {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
}
@media (min-width: 768px) { .lead-aside { padding: 32px; } }
.lead-aside h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--white); }
.lead-aside .aside-note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.lead-form { display: grid; gap: 16px; }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.8); }
.field input, .field select, .field textarea {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { height: auto; min-height: 96px; padding: 12px 16px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, 0.5); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  border-color: var(--cta);
  box-shadow: 0 0 0 2px rgba(255, 107, 26, 0.4);
  outline: none;
}
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select-wrap select option { background: var(--navy-light); color: var(--white); }
.select-wrap .ico {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: rgba(255, 255, 255, 0.6);
}
.form-error {
  padding: 12px;
  border: 1px solid rgba(248, 113, 113, 0.3);
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.1);
  color: #fecaca;
  font-size: 14px;
}
.form-note { font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, 0.55); }
.form-submit { width: 100%; }
@media (min-width: 640px) { .form-submit { width: auto; } }

.form-success {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.1);
}
.form-success .ico { width: 48px; height: 48px; color: var(--success); }
.form-success h3 { margin-top: 16px; font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--white); }
.form-success p { margin-top: 8px; max-width: 448px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.75); }
.form-success .btn { margin-top: 24px; }

/* ---------- Контакты ---------- */
.contact-card { height: 100%; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.contact-card h3 { margin-top: 20px; font-size: 18px; font-weight: 700; color: var(--navy); }
.contact-rows { margin-top: 8px; display: grid; gap: 10px; }
.contact-rows p { font-size: 15px; line-height: 1.4; color: var(--ink-soft); }
.contact-rows p:first-child { color: var(--ink); }
.contact-phone strong { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--navy); }
.contact-phone small { display: block; font-size: 13px; color: var(--ink-soft); }
.contact-mail strong { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--navy); }
a.contact-mail:hover strong { color: var(--cta-deep); }

/* ---------- Гарантия (navy) ---------- */
.warranty-flex {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
@media (min-width: 1024px) { .warranty-flex { flex-direction: row; align-items: center; } }
.warranty-flex h2 { margin-top: 20px; font-size: 24px; font-weight: 800; color: var(--white); }
@media (min-width: 768px) { .warranty-flex h2 { font-size: 32px; } }
.warranty-list { width: 100%; }
@media (min-width: 1024px) { .warranty-list { max-width: 540px; } }
.warranty-cta { margin-top: 24px; }

/* ---------- Технология / этапы ---------- */
.steps-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.step { position: relative; }
@media (min-width: 1024px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 24px;
    left: 56px;
    right: -24px;
    border-top: 2px dashed var(--line);
  }
}
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(255, 107, 26, 0.1);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--cta-hover);
}
.step h3 { margin-top: 20px; font-size: 18px; font-weight: 700; color: var(--navy); }
.step p { margin-top: 8px; font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
.steps-row { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.steps-row .hint { font-size: 14px; color: var(--ink-soft); }

.stages-grid { display: grid; gap: 24px; counter-reset: stage; }
@media (min-width: 1024px) { .stages-grid { grid-template-columns: repeat(5, 1fr); } }

/* Сетка «чек-лист + navy-карточка» (страница услуги) */
.works-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .works-grid { grid-template-columns: 1.4fr 1fr; }
}

/* ---------- Таблица сравнения ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--sh-sm);
}
.table-wrap table { width: 100%; min-width: 640px; border-collapse: collapse; }
.table-wrap thead th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: left;
  padding: 16px 20px;
}
.table-wrap tbody td { padding: 16px 20px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
.table-wrap tbody td:first-child { font-weight: 600; color: var(--navy); }
.table-wrap th:first-child { width: 26%; }
.table-wrap th:not(:first-child) { width: 37%; }

/* ---------- Футер ---------- */
.site-footer { background: var(--navy); color: var(--white); }
.footer-inner {
  display: grid;
  gap: 40px;
  padding-block: 56px 40px;
}
@media (min-width: 640px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-inner { grid-template-columns: repeat(4, 1fr); padding-block: 64px 48px; } }
.footer-col h3 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.45);
}
.footer-col ul { margin-top: 16px; display: grid; gap: 10px; }
.footer-col ul a {
  font-size: 15px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.15s ease;
}
.footer-col ul a:hover { color: var(--cta); }
.footer-contacts { display: grid; gap: 16px; align-content: start; }
.footer-contacts .f-phone strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
}
.footer-contacts .f-phone small { display: block; margin-left: 24px; font-size: 13px; color: rgba(255, 255, 255, 0.55); }
.footer-contacts .f-mail { display: flex; align-items: center; gap: 8px; font-size: 15px; color: rgba(255, 255, 255, 0.8); }
.footer-contacts .f-mail:hover { color: var(--cta); }
.footer-contacts .f-mail .ico, .footer-contacts .f-phone .ico { color: var(--cta); }
.f-address { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; line-height: 1.4; color: rgba(255, 255, 255, 0.8); }
.f-address .ico { margin-top: 2px; color: var(--cta); }
.f-address small { display: block; margin-top: 4px; font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-block: 24px 112px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; padding-block: 24px; }
}

/* ---------- Reveal-анимации ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Уважение к prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Активный пункт навигации (отдельные страницы) ---------- */
.nav-link[aria-current="page"] { color: var(--white); }
.mm-direct[aria-current="page"] { color: var(--cta); }
