/* LSV home — isolated from UltraStore */
/* home-v4 — тёмный язык кейсов + белая шапка макета */
/* единый ударный акцент #ff5500 (как CTA у Кабина); текст на кнопках — белый */
:root {
  --navy: #2f3b51;
  --ink: #0d121c;
  --card: #161d2b;
  --line: rgba(255, 255, 255, .1);
  --text: #d5d8e0;
  --muted: #8b93a7;
  --orange: #ff5500;
  --orange-2: #e04a00;
  --btn-orange: #ff5500;
  --btn-orange-hover: #ff7733;
  --white: #fff;
  --paper-line: #e6e4de;
  --ft: #161616;
  --head: "Roboto Condensed", Arial, sans-serif;
  --body: Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.lsv-home {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { max-width: 100%; display: block; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(100% - 80px, 1560px); margin-inline: auto; }

.eyebrow {
  margin: 0 0 16px;
  color: #c5cad3;
  font: 700 12px var(--head);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font: 700 12px var(--head);
  letter-spacing: .11em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.btn:active {
  transform: translateY(1px);
}
@media (prefers-reduced-motion: reduce) {
  .btn:active { transform: none; }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn-orange {
  background: var(--btn-orange);
  border-color: var(--btn-orange);
  color: #fff;
}
.btn-orange:hover,
.btn-orange:focus-visible {
  background: var(--btn-orange-hover);
  border-color: var(--btn-orange-hover);
  color: #fff;
}

.btn-ghost { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover,
.btn-ghost:focus-visible { border-color: var(--orange); color: var(--orange); background: transparent; }

.btn-line {
  background: #fff;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-line:hover,
.btn-line:focus-visible,
.btn-line:active,
.head-cta a.btn.btn-line:hover,
.head-cta a.btn.btn-line:focus-visible,
.head-cta a.btn.btn-line:active {
  background: var(--navy) !important;
  border-color: var(--navy) !important;
  color: var(--orange) !important;
}
.head-cta a.btn.btn-line:active {
  background: #253044 !important;
  border-color: #253044 !important;
}

/* —— header / footer как на кейсах —— */
.header {
  height: 84px;
  background: var(--white);
  color: var(--navy);
  border-bottom: 1px solid var(--paper-line);
  position: relative;
  z-index: 50;
}
.header-inner {
  height: 84px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.logo { flex-shrink: 0; display: flex; align-items: center; }
.logo img { height: 34px; width: auto; display: block; }
.nav {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  height: 84px;
  min-width: 0;
  gap: 4px;
}
.nav > a,
.nav .has-mega {
  height: 84px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  font: 600 13px var(--head);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
}
.nav > a:hover,
.nav .has-mega:hover > .mega-trigger,
.nav .has-mega.is-open > .mega-trigger {
  box-shadow: inset 0 -3px 0 var(--navy);
  background: rgba(47, 59, 81, .08);
}
.nav .has-mega { position: static; }
.mega-trigger {
  cursor: pointer;
  display: flex;
  align-items: center;
  height: 84px;
  padding: 0;
  border: 0;
  background: transparent;
  font: 600 13px var(--head);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy);
}
.mega {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 50;
  background: var(--white);
  padding: 36px 0 40px;
  border-top: 1px solid var(--paper-line);
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
  color: var(--navy);
}
.has-mega:hover .mega,
.has-mega.is-open .mega,
.has-mega:focus-within .mega { display: block; }
.mega-inner {
  width: min(100% - 80px, 1560px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0 56px;
}
.mega > .mega-inner > div + div {
  border-left: 1px solid var(--paper-line);
  padding-left: 48px;
}
.mega h4 {
  margin: 0 0 16px;
  color: var(--orange);
  font: 700 12px var(--head);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.mega a {
  display: block;
  height: auto;
  padding: 8px 10px;
  margin: 0 -10px;
  color: var(--navy);
  font: 400 15px var(--body);
  letter-spacing: 0;
  text-transform: none;
}
.mega a:hover {
  background: rgba(47, 59, 81, .1);
  box-shadow: none;
}
.head-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  height: 84px;
}
.phone {
  font: 700 16px var(--head);
  color: var(--navy);
  white-space: nowrap;
}
.msg-wrap { position: relative; display: flex; align-items: center; }
.msg {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--navy);
}
.msg svg { width: 22px; height: 22px; display: block; fill: currentColor; }
.msg[data-msg="wa"]:hover { color: #25d366; }
.msg[data-msg="max"]:is(:hover, :focus-visible, :active) { color: #471AFF; }
.msg[data-msg="max"]:is(:hover, :focus-visible, :active) .max-fill { fill: url(#max-grad); }
.wa-star {
  position: absolute;
  top: -6px;
  right: -8px;
  font-size: 11px;
  color: #8a8a86;
}
.head-cta a.btn {
  padding: 11px 16px;
  font-size: 11px;
  min-height: 42px;
}
.burger {
  display: none;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 24px;
}
.nav-mobile { display: none; background: #fff; padding-bottom: 16px; }
.nav-mobile-label {
  margin: 8px 0 4px;
  padding: 0 8px;
  color: var(--orange);
  font: 700 11px var(--head);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.nav-mobile a {
  display: block;
  padding: 12px 8px;
  font: 600 14px var(--head);
  text-transform: uppercase;
  color: var(--navy);
}
.header.is-open .nav-mobile { display: block; }

/* —— hero —— */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 28px;
  background: radial-gradient(circle at 78% 40%, #1a2436 0%, #111827 40%, #0d121c 75%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 48px;
  align-items: center;
  min-height: 580px;
}
.hero-copy { position: relative; z-index: 4; padding-bottom: 24px; }
.hero h1 {
  margin: 0;
  max-width: 820px;
  font: 700 clamp(40px, 4.8vw, 72px) / .96 var(--head);
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: #fff;
}
.hero-lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.hero-note-list {
  margin: 20px 0 0;
  padding: 16px 18px;
  max-width: 560px;
  list-style: none;
  border-left: 3px solid var(--btn-orange);
  background: rgba(255,255,255,.04);
  color: #d5d8e0;
  font-size: 14px;
  line-height: 1.55;
}
.hero-note-list li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 0;
}
.hero-note-list li:last-child { margin-bottom: 0; }
.hero-note-list strong {
  font-weight: 700;
  color: #fff;
}

.people-carousel {
  min-width: 0;
  position: relative;
  z-index: 3;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.people-viewport { overflow: hidden; height: 560px; }
.people-track {
  height: 100%;
  display: flex;
  transition: transform .68s cubic-bezier(.22, .72, .22, 1);
  will-change: transform;
}
.person-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.person-slide::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 38px;
  transform: translateX(-50%);
  width: 410px;
  height: 410px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,85,0,.12), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.09);
}
.person-slide img {
  position: relative;
  z-index: 1;
  max-height: 540px;
  max-width: 88%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 30px rgba(0,0,0,.46));
}
.person-slide--samsonov img {
  max-height: 620px;
  max-width: 100%;
  transform: scale(1.3);
  transform-origin: center bottom;
}
.person-info {
  position: absolute;
  z-index: 3;
  left: 24px;
  right: 24px;
  bottom: 22px;
  padding: 18px 20px;
  border-radius: 4px;
  background: rgba(13,18,28,.84);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.person-info span {
  color: var(--orange);
  font: 700 11px var(--head);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.person-info .person-name {
  display: block;
  margin: 0 0 4px;
  font: 600 25px var(--head);
  text-transform: uppercase;
  color: #fff;
}
.person-info span + .person-name { margin-top: 5px; }
.person-info p { margin: 0; color: #b8c1cf; font-size: 13px; }
.carousel-controls {
  position: absolute;
  right: 0;
  top: 18px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
}
.carousel-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 50%;
  background: rgba(13,18,28,.7);
  color: #fff;
  cursor: pointer;
}
.carousel-arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.carousel-dots { display: flex; gap: 6px; }
.carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #657084;
  cursor: pointer;
}
.carousel-dots button.active {
  width: 24px;
  border-radius: 8px;
  background: var(--orange);
}

.hero-prompts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 28px;
}
.hero-prompts a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 14px 16px;
  border-radius: 4px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
}
.hero-prompts a:hover { border-color: var(--orange); }
.hero-prompts b { color: var(--orange); font-size: 22px; font-weight: 400; }

/* —— sections —— */
.section { padding: 96px 0; }
.section-title {
  display: grid;
  grid-template-columns: 1.1fr .7fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 40px;
}
.section-title--stack {
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}
.section-title h2,
.analog-intro h2,
.process h2,
.video-copy h2,
.engineer-card h2,
.faq-copy h2,
.cta-copy h2,
.callback-panel h2 {
  margin: 0;
  font: 700 clamp(32px, 4vw, 56px) / 1.02 var(--head);
  text-transform: uppercase;
  letter-spacing: -.02em;
  color: #fff;
}
.section-title > p,
.section-lead {
  margin: 0;
  max-width: 42rem;
  color: #c5cad3;
  font-size: 18px;
  line-height: 1.6;
}
.section-title:not(.section-title--stack) > p { color: var(--muted); font-size: 16px; }

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.solution-grid article,
.solution-card {
  min-height: 220px;
  padding: 26px;
  border-radius: 4px;
  background: var(--card);
  border: 1px solid var(--line);
  color: inherit;
  transition: border-color .18s ease, background .18s ease;
}
.solution-card:hover,
.solution-card:focus-visible {
  border-color: var(--orange);
  background: #1a2233;
}
.solution-grid span,
.process-grid span {
  color: var(--orange-2);
  font: 700 12px var(--head);
  letter-spacing: .12em;
}
.solution-grid h3,
.process-grid h3 {
  margin: 10px 0;
  font: 600 22px / 1.1 var(--head);
  text-transform: uppercase;
  color: #fff;
}
.solution-grid p,
.process-grid p { margin: 0; color: var(--muted); line-height: 1.55; }
.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.solution-tags a,
.solution-tags span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: #111827;
  color: var(--text);
  font-size: 13px;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.solution-tags a:hover,
.solution-tags a:focus-visible {
  border-color: var(--btn-orange);
  color: #fff;
  background: #1a2233;
}

.analog-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: stretch;
}
.analog-intro {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.analog-intro > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}
.route-card {
  margin-top: 28px;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(160px, 42%) 1fr;
  gap: 18px;
  align-items: stretch;
  padding: 16px 18px 18px 12px;
  border-radius: 4px;
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 320px;
}
.route-card--tall img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 420px;
  object-fit: contain;
  object-position: center bottom;
  align-self: end;
}
.route-card-body.lsv-home {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 4px;
}
.route-card strong { display: block; font: 600 20px var(--head); color: #fff; }
.route-card span { display: block; margin-top: 3px; color: #fff; font-size: 13px; }
.route-card-body > p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.route-card-actions {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.route-card-sub {
  margin: 0;
  color: #c5cad3;
  font-size: 14px;
  line-height: 1.45;
}
.route-mail {
  color: var(--orange);
  font-size: 14px;
  border-bottom: 1px solid rgba(255,85,0,.35);
}
.route-mail:hover { border-bottom-color: var(--orange); }

.lead-form--dark,
.quiz-card {
  padding: 32px;
  border-radius: 4px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
}
.lead-form--dark h3,
.quiz-card h3 {
  margin: 0 0 20px;
  font: 600 28px var(--head);
  text-transform: uppercase;
  color: #fff;
}
.task-type {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
}
.task-chip { position: relative; }
.task-chip input { position: absolute; opacity: 0; pointer-events: none; }
.task-chip span {
  display: block;
  padding: 10px 14px;
  border-radius: 4px;
  background: #111827;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 13px;
  line-height: 1.3;
}
.task-chip input:focus-visible + span {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.task-chip input:checked + span {
  border-color: var(--orange);
  background: rgba(255,85,0,.1);
  color: #fff;
}
.form-hint {
  margin: 0 0 14px;
  color: #c5cad3;
  font-size: 14px;
  line-height: 1.45;
}
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.choice-grid label { position: relative; }
.choice-grid input { position: absolute; opacity: 0; }
.choice-grid span {
  display: block;
  padding: 14px 16px;
  border-radius: 4px;
  background: #111827;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 14px;
}
.choice-grid input:checked + span {
  border-color: var(--orange);
  background: rgba(255,85,0,.08);
}
.text-field { display: block; margin-top: 18px; }
.text-field > span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 13px; }
.text-field textarea,
.lead-form--dark input[type="text"],
.lead-form--dark input[type="tel"],
.lead-form--dark input[type="email"],
.callback-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #111827;
  color: #fff;
  padding: 14px;
  outline: none;
}
.text-field textarea:focus,
.lead-form--dark input:focus,
.callback-form input:focus {
  border-color: var(--orange);
}
.file-field { margin: 12px 0 8px; }
.file-field input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}
.file-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 4px;
  background: #111827;
  border: 1px dashed var(--line);
  cursor: pointer;
}
.file-btn > b { font-size: 22px; color: var(--orange); }
.file-btn strong, .file-btn small { display: block; }
.file-btn small { margin-top: 2px; color: var(--muted); }
.file-field input:focus-visible + .file-btn {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.lead-form--dark .consent {
  margin-top: 16px;
  color: #a8b0bf;
  font-size: 12px;
  line-height: 1.45;
}
.lead-form--dark .consent a {
  display: inline;
  color: var(--orange);
  border-bottom: 1px solid rgba(255, 85, 0, .45);
}
.form-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.form-note a { color: var(--orange); border-bottom: 1px solid rgba(255,85,0,.35); }
.form-status {
  margin: 12px 0 0;
  min-height: 1.4em;
  font-size: 14px;
  line-height: 1.45;
  color: #c5cad3;
}
.form-status.is-error { color: #f0a0a0; }
.form-status.is-ok { color: #9fd4a8; }
.lead-form--dark .btn { margin-top: 16px; width: 100%; }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.case-card {
  position: relative;
  min-height: 340px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--card);
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--line);
}
.case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(7,11,18,.95) 100%);
}
.case-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-copy { position: relative; z-index: 2; padding: 24px; }
.case-copy span {
  color: var(--orange);
  font: 700 11px var(--head);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.case-copy h3 {
  margin: 8px 0;
  font: 600 22px / 1.1 var(--head);
  text-transform: uppercase;
  color: #fff;
}
.case-copy p { margin: 0 0 12px; color: var(--text); font-size: 14px; line-height: 1.5; max-width: 520px; }
.case-copy b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 4px;
  border: 1px solid transparent;
  background: var(--btn-orange);
  box-shadow: 0 8px 20px rgba(255, 85, 0, .28);
  font: 700 12px var(--head);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.case-card:hover .case-copy b,
.case-card:focus-visible .case-copy b {
  background: #e64d00;
  box-shadow: 0 10px 24px rgba(255, 85, 0, .38);
  transform: translateY(-1px);
}
.cases-bottom {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.cases-more { margin-right: auto; }

.process-lead {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.process-chain {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  position: relative;
}
.process-chain::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,85,0,.55), transparent);
  pointer-events: none;
}
.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 8px;
}
.process-num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 2px solid var(--btn-orange);
  background: var(--ink);
  color: #fff;
  font: 700 18px / 1 var(--head);
}
.process-step h3 {
  margin: 0 0 10px;
  font: 600 18px / 1.2 var(--head);
  text-transform: uppercase;
  color: #fff;
}
.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.process-grid article {
  padding: 24px;
  border-radius: 4px;
  background: var(--card);
  border: 1px solid var(--line);
  min-height: 200px;
}

.prod-block { margin-top: 8px; }
.prod-gallery {
  display: grid;
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(180px, 220px);
  gap: 12px;
  margin-bottom: 0;
}
.prod-gallery--primary { margin-bottom: 20px; }
.prod-shot {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  min-height: 0;
}
.prod-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.prod-shot:hover img { transform: scale(1.03); }

.prod-media-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  max-width: 1080px;
  margin: 0 auto 36px;
}
.prod-media-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  height: 100%;
}
.prod-media-frame {
  position: relative;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #080c12;
}
.prod-media-frame--video,
.prod-media-frame--photo {
  aspect-ratio: 3 / 4;
}
.prod-media-frame--photo {
  display: block;
}
.prod-media-frame--photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #080c12;
}
.prod-video-el,
.prod-poster-fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #080c12;
}
.prod-play-btn {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--btn-orange);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.prod-play-btn:hover,
.prod-play-btn:focus-visible {
  background: var(--btn-orange-hover);
}
.prod-play-btn.is-playing {
  opacity: .85;
  font-size: 16px;
}
.prod-media-title {
  margin: 0;
  color: #fff;
  font: 600 16px / 1.25 var(--head);
  text-transform: uppercase;
  letter-spacing: .02em;
  text-align: center;
}
.prod-caption {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}
.prod-gallery-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 20px;
}
.prod-gallery-heading {
  margin: 0;
  width: 100%;
  max-width: 1100px;
  color: #fff;
  font: 600 22px / 1.2 var(--head);
  text-transform: uppercase;
  letter-spacing: .02em;
}
.prod-ranges {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 36px;
  margin-top: 12px;
}
.prod-ranges-lead {
  margin: -18px 0 0;
  max-width: 720px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.range-block {
  width: 100%;
  max-width: 1100px;
}
.range-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 20px;
  margin-bottom: 16px;
}
.range-head h4 {
  margin: 0;
  color: #fff;
  font: 600 18px / 1.2 var(--head);
  text-transform: uppercase;
  letter-spacing: .03em;
}
.range-head a {
  color: var(--btn-orange);
  font: 700 12px / 1 var(--head);
  letter-spacing: .06em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 85, 0, .4);
}
.range-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.range-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 14px 14px 16px;
  border-radius: 4px;
  background: var(--card);
  border: 1px solid var(--line);
  transition: border-color .18s ease, transform .18s ease;
}
.range-card:hover,
.range-card:focus-visible {
  border-color: rgba(255, 85, 0, .55);
  transform: translateY(-2px);
}
.range-card-media {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 3px;
  background:
    radial-gradient(circle at 72% 24%, rgba(255, 216, 128, .16), transparent 34%),
    radial-gradient(circle at 28% 76%, rgba(123, 146, 255, .13), transparent 40%),
    linear-gradient(145deg, #3a3a3a 0%, #303236 48%, #24272d 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035);
  overflow: hidden;
}
.range-card-media::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 14% 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.11), transparent 68%);
  filter: blur(12px);
}
.range-card-media img {
  display: block;
  width: 92%;
  height: 92%;
  object-fit: contain;
  padding: 10px;
  filter: drop-shadow(0 18px 18px rgba(0,0,0,.38));
  transition: transform .24s ease;
}
.range-card:hover .range-card-media img,
.range-card:focus-visible .range-card-media img { transform: scale(1.035); }
.range-card-label {
  color: #e8eaef;
  font: 600 13px / 1.35 var(--head);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.prod-cta {
  margin-top: 4px;
  align-self: center;
}

/* legacy alias — не используется в новой сетке */
.prod-layout {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 40px;
  align-items: start;
}
.prod-side .btn { width: auto; }

.video-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.video-poster {
  position: relative;
  min-height: 420px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.video-copy p:not(.eyebrow),
.video-copy li { color: var(--muted); line-height: 1.6; }
.video-copy ul { padding-left: 18px; margin: 20px 0 28px; }

.engineer-card {
  display: grid;
  grid-template-columns: 1.2fr .8fr auto;
  gap: 32px;
  align-items: center;
  padding: 40px;
  border-radius: 4px;
  background: var(--card);
  border: 1px solid var(--line);
}
.engineer-card p:not(.eyebrow) { color: var(--muted); line-height: 1.6; }
.engineer-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.engineer-stats strong {
  display: block;
  color: #fff;
  font: 700 clamp(22px, 2.4vw, 32px) / 1 var(--head);
  letter-spacing: -.02em;
}
.engineer-stats span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
.engineer-options { display: flex; flex-wrap: wrap; gap: 8px; }
.engineer-options span {
  padding: 10px 12px;
  border-radius: 4px;
  background: #111827;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
}

.faq-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 56px;
  align-items: start;
}
.faq-copy p:not(.eyebrow) { color: var(--muted); line-height: 1.65; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-list details {
  border-radius: 4px;
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
}
.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  font: 600 18px var(--head);
  text-transform: uppercase;
  color: #fff;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary b {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  height: 32px;
  border-radius: 50%;
  background: #111827;
  color: var(--orange);
  font-size: 20px;
  font-weight: 400;
}
.faq-list details[open] summary b { transform: rotate(45deg); }
.faq-list details p {
  margin: 0;
  padding: 0 56px 20px 22px;
  color: var(--muted);
  line-height: 1.6;
}

.final-cta { padding: 96px 0; background: linear-gradient(125deg, #0d121c, #182338); }
.cta-with-person {
  display: grid;
  grid-template-columns: minmax(300px, .62fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 620px;
}
.cta-person {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.cta-person::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 72px;
  width: 390px;
  height: 390px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(255,255,255,.07);
}
.cta-person img {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 100%;
  max-height: 610px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 24px 35px rgba(0,0,0,.28));
}
.cta-person > div {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 24px;
  padding: 14px 16px;
  border-radius: 4px;
  background: rgba(13,18,28,.84);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.cta-person strong,
.cta-person span { display: block; }
.cta-person strong {
  color: #fff;
  font: 600 20px var(--head);
  text-transform: uppercase;
}
.cta-person span {
  margin-top: 3px;
  color: #c5cad3;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
}
.callback-panel {
  max-width: 34rem;
  width: 100%;
  justify-self: start;
  padding: 8px 0 24px;
  margin-left: 4px;
}
.callback-panel h2 { margin-bottom: 18px; }
.callback-message {
  position: relative;
  margin: 0 0 20px;
  padding: 18px 22px;
  border-radius: 6px;
  background: #1c2638;
  border: 0;
  box-shadow: none;
  /* место под заострённое ушко слева */
  margin-left: 4px;
}
.callback-message::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 68%;
  width: 24px;
  height: 32px;
  background: #1c2638;
  /* заострённое ушко «скрепка»: острый угол слева снизу */
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
}
.callback-message p {
  margin: 0;
  color: #d5d8e0;
  font-size: 17px;
  line-height: 1.55;
}
.callback-message a {
  color: var(--orange);
  border-bottom: 1px solid rgba(255,85,0,.35);
  word-break: break-word;
}
.callback-mail {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--orange);
  font: 600 20px / 1.3 var(--head);
  word-break: break-word;
  border-bottom: 1px solid rgba(255,85,0,.35);
}
.callback-mail:hover { color: var(--btn-orange-hover); border-bottom-color: var(--btn-orange-hover); }
.callback-form {
  width: 100%;
  text-align: left;
}
.callback-phone-label {
  display: block;
  margin-bottom: 8px;
  color: #c5cad3;
  font-size: 15px;
  line-height: 1.35;
}
.callback-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.callback-row input {
  flex: 1 1 auto;
  min-width: 0;
}
.callback-row .btn {
  flex: 0 0 auto;
  white-space: nowrap;
  z-index: 1;
  transform-origin: center center;
  transition:
    background .18s ease,
    border-color .18s ease,
    color .18s ease,
    box-shadow .22s ease,
    transform .22s cubic-bezier(.2, .8, .2, 1);
}
.callback-row .btn:hover,
.callback-row .btn:focus-visible {
  transform: scale(1.18);
  box-shadow: 0 10px 28px rgba(255, 85, 0, .45);
}
.callback-row .btn:active {
  transform: scale(1.08);
}
@media (prefers-reduced-motion: reduce) {
  .callback-row .btn,
  .callback-row .btn:hover,
  .callback-row .btn:focus-visible,
  .callback-row .btn:active {
    transform: none;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
    box-shadow: none;
  }
}
.callback-link {
  display: inline-block;
  margin: 14px 0 0;
  padding: 0;
  color: #c5cad3;
  font-size: 14px;
  line-height: 1.4;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.callback-link:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}
.callback-form .consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  max-width: none;
  margin: 16px 0 0;
  margin-left: 0;
  padding: 0;
  padding-left: 0;
  box-sizing: border-box;
  color: #c5cad3;
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
}
.callback-form .consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--orange);
}
.callback-form .consent > span {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
}
.callback-form .consent a {
  display: inline;
  color: #d5d8e0;
  border-bottom: 1px solid rgba(255,255,255,.3);
}
.callback-form .consent a:hover {
  color: var(--orange);
  border-bottom-color: rgba(255,85,0,.5);
}

/* —— footer —— */
.footer { background: var(--ft); color: #8d8d89; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
  gap: 40px;
  padding: 64px 0;
}
.footer h5 {
  margin: 0 0 18px;
  color: #fff;
  font: 400 12px var(--head);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.footer a { display: block; padding: 5px 0; color: #bdbdb8; font-size: 14px; }
.footer a:hover { color: #fff; }
.ft-brand .logo { margin-bottom: 16px; }
.ft-brand .logo img { height: 36px; }
.ft-brand p { max-width: 280px; margin: 0 0 20px; color: #fff; font-size: 13px; line-height: 1.55; }
.ft-phone {
  display: block;
  margin-bottom: 6px;
  font: 700 22px var(--head);
  color: #fff !important;
}
.ft-mess { display: flex; gap: 18px; margin-top: 22px; align-items: center; }
.footer .msg { color: #fff; }
.footer .msg[data-msg="wa"]:hover { color: #25d366; }
.footer .wa-star { color: #777; }
.footer .wa-star:hover { color: #fff; }
.ya-card,
.footer a.ya-card {
  display: flex !important;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  max-width: 280px;
  padding: 12px 14px 12px 12px !important;
  border-radius: 16px;
  background: #fff;
  color: #1a1a1a !important;
}
.ya-card .ya-score {
  font: 700 26px var(--head);
}
.ya-card .ya-stars { color: #f5c518; font-size: 13px; letter-spacing: 1px; }
.ya-card small { display: block; margin-top: 2px; color: #6b6b66; font-size: 12px; }
.ft-news p { margin: 0 0 20px; color: #bdbdb8; font-size: 13px; line-height: 1.5; }
.ft-sub-row { display: flex; flex-direction: column; gap: 8px; }
.ft-news input[type="email"] {
  width: 100%;
  height: 44px;
  border: 1px solid #3a3a3a;
  background: transparent;
  padding: 0 12px;
  color: #fff;
}
.ft-news .btn { width: 100%; }
.consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 14px;
  color: #888;
  font-size: 11px;
  line-height: 1.4;
}
.consent a { display: inline; padding: 0; color: #bdbdb8; border-bottom: 1px solid #666; }
.legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 0 28px;
  border-top: 1px solid #2a2a2a;
  font-size: 11px;
  line-height: 1.55;
  color: #777;
}
.legal .legal-org { color: #bdbdb8; }

@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .head-cta .btn { display: none; }
  .mega-inner { width: min(100% - 48px, 1560px); }
  .hero-grid, .section-title:not(.section-title--stack), .analog-grid, .faq-grid, .engineer-card, .prod-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .process-chain {
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
  }
  .process-chain::before { display: none; }
  .prod-media-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
  }
  .route-card--tall {
    grid-template-columns: minmax(140px, 38%) 1fr;
    min-height: 0;
  }
  .route-card--tall img {
    min-height: 220px;
    max-height: 320px;
  }
  .prod-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 150px;
    max-width: none;
  }
  .range-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cta-with-person {
    grid-template-columns: minmax(270px, .55fr) minmax(0, 1.45fr);
    gap: 28px;
    align-items: center;
  }
  .cta-person { height: 560px; align-self: center; }
  .solution-grid, .process-grid, .cases-grid { grid-template-columns: 1fr 1fr; }
  .process-chain { grid-template-columns: 1fr; }
  .engineer-stats { grid-template-columns: 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .header, .header-inner { height: 68px; }
  .head-cta .phone, .head-cta .msg-wrap { display: none; }
  .hero h1 { font-size: 34px; }
  .hero-grid { min-height: 0; }
  .people-carousel { width: 100%; }
  .people-viewport { height: 360px; }
  .person-slide img { max-height: 340px; max-width: 100%; }
  .person-slide--samsonov img {
    max-height: 370px;
    max-width: 100%;
    transform: scale(1.14);
  }
  .person-slide::before { width: 280px; height: 280px; bottom: 28px; }
  .person-info { left: 5px; right: 5px; }
  .person-info .person-name { font-size: 20px; }
  .carousel-controls { top: 8px; }
  .section-lead { font-size: 16px; }
  .callback-message p { font-size: 16px; }
  .callback-row { flex-direction: column; }
  .callback-row .btn { width: 100%; }
  .cta-with-person { grid-template-columns: 1fr; min-height: 0; }
  .cta-person { height: 380px; order: -1; }
  .cta-person img { max-height: 360px; }
  .cta-person::before { width: 260px; height: 260px; bottom: 48px; }
  .callback-message::before { display: none; }
  .hero-prompts, .solution-grid, .choice-grid, .cases-grid, .process-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .cases-grid.is-collapsed .case-card--extra { display: none; }
  .prod-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 120px;
    gap: 8px;
  }
  .range-grid {
    grid-template-columns: 1fr;
  }
  .prod-media-row {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-inline: auto;
  }
  .section, .final-cta { padding: 72px 0; }
  .lead-form--dark { padding: 22px; }
}
@media (min-width: 721px) {
  .cases-more { display: none !important; }
}
