/* ═══════════════════════════════════════════
   ПЕРСПЕКТИВА-С — вариант 2: тёмный кинематографичный
   ═══════════════════════════════════════════ */

:root {
  --bg: #0b0d10;
  --panel: #12151a;
  --glass: rgba(255, 255, 255, .045);
  --stroke: rgba(255, 255, 255, .09);
  --text: #f2f3f5;
  --muted: #9aa0a8;
  --amber: #ffb324;
  --amber-2: #ff7a00;
  --grad: linear-gradient(92deg, #ffb324, #ff7a00);
  --fd: 'Unbounded', 'Arial Black', sans-serif;
  --fb: 'Inter', 'Segoe UI', sans-serif;
  --fm: 'JetBrains Mono', monospace;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fb);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--amber); color: #0b0d10; }

.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.wrap--narrow { width: min(860px, 100% - 48px); }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Переключатель вариантов ────────────── */
.variant-switch {
  position: fixed;
  left: 18px; bottom: 18px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  transition: color .25s, border-color .25s;
}
.variant-switch:hover { color: var(--amber); border-color: var(--amber); }

/* ── CTA ────────────────────────────────── */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 38px;
  background: var(--grad);
  color: #14100a;
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.5) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform .7s ease;
}
.cta:hover { transform: translateY(-3px); box-shadow: 0 14px 40px -12px rgba(255, 154, 0, .55); }
.cta:hover::after { transform: translateX(120%); }
.cta--line {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1.5px var(--stroke);
}
.cta--line:hover { box-shadow: inset 0 0 0 1.5px var(--amber), 0 14px 40px -16px rgba(255,154,0,.3); color: var(--amber); }
.cta--sm { padding: 14px 28px; font-size: 14px; }
.cta--wide { width: 100%; }

/* ── Top bar ────────────────────────────── */
.bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 34px;
  height: 74px;
  transition: background .35s, backdrop-filter .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.bar.is-solid {
  background: rgba(11, 13, 16, .72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--stroke);
}
.bar__logo { display: flex; align-items: center; }
.bar__logo img { height: 48px; width: auto; display: block; }
.bar__nav { display: flex; gap: 30px; margin-inline: auto; }
.bar__nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color .25s;
  position: relative;
}
.bar__nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.bar__nav a:hover, .bar__nav a.is-on { color: var(--text); }
.bar__nav a:hover::after, .bar__nav a.is-on::after { transform: scaleX(1); }
.bar__phone { font-family: var(--fm); font-size: 14px; font-weight: 700; transition: color .25s; }
.bar__phone:hover { color: var(--amber); }
.bar__burger { display: none; }

.mobile-menu { display: none; }

/* ── Точки навигации ────────────────────── */
.dots {
  position: fixed;
  right: 26px; top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dots a {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  transition: background .3s, transform .3s, box-shadow .3s;
}
.dots a.is-on {
  background: var(--amber);
  transform: scale(1.4);
  box-shadow: 0 0 12px rgba(255, 179, 36, .8);
}

/* ── Hero ───────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: -12% 0; }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.85) contrast(1.05);
  will-change: transform;
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,13,16,.96) 0%, rgba(11,13,16,.82) 34%, rgba(11,13,16,.35) 70%, rgba(11,13,16,.55) 100%),
    linear-gradient(0deg, var(--bg) 2%, transparent 32%, transparent 78%, rgba(11,13,16,.8) 100%);
}
.hero__grain {
  position: absolute; inset: 0;
  opacity: .5;
  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.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__content {
  position: relative;
  width: min(1240px, 100% - 48px);
  margin: 0 auto;
  padding-top: 60px;
}
.hero__eyebrow {
  font-family: var(--fm);
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 26px;
}
.hero__title {
  font-family: var(--fd);
  font-weight: 600;
  font-size: clamp(34px, 5.4vw, 74px);
  line-height: 1.12;
  letter-spacing: -.01em;
  margin-bottom: 30px;
}
.hero__title span { display: block; }
.hero__lead {
  max-width: 480px;
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 42px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 18px; }

.hero__meta {
  position: relative;
  width: min(1240px, 100% - 48px);
  margin: 72px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--stroke);
}
.hero__meta > div {
  padding: 26px 26px 34px 0;
  border-right: 1px solid var(--stroke);
  padding-left: 26px;
}
.hero__meta > div:first-child { padding-left: 0; }
.hero__meta > div:last-child { border-right: none; }
.hero__meta b {
  display: block;
  font-family: var(--fd);
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 6px;
}
.hero__meta span { font-size: 13px; color: var(--muted); line-height: 1.5; }

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 22px;
  transform: translateX(-50%);
  width: 24px; height: 38px;
  border: 1.5px solid rgba(255,255,255,.28);
  border-radius: 14px;
}
.hero__scroll span {
  position: absolute;
  left: 50%; top: 7px;
  width: 3px; height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--amber);
  animation: drop 1.8s ease-in-out infinite;
}
@keyframes drop {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* появление hero */
.rise {
  opacity: 0;
  transform: translateY(34px);
  animation: riseIn 1s var(--ease) var(--d, 0s) forwards;
}
@keyframes riseIn { to { opacity: 1; transform: none; } }

/* ── Контурная бегущая строка ───────────── */
.strip {
  overflow: hidden;
  padding: 44px 0 30px;
  border-bottom: 1px solid var(--stroke);
}
.strip__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: strip 30s linear infinite;
}
.strip__track span {
  font-family: 'Russo One', 'Arial Black', sans-serif;
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .22);
  margin-right: 48px;
  transition: color .3s;
}
.strip__track em { color: var(--amber); font-style: normal; font-size: 20px; margin-right: 48px; }
.strip:hover .strip__track span { -webkit-text-stroke-color: rgba(255, 179, 36, .5); }
@keyframes strip { to { transform: translateX(-50%); } }

/* ── Блоки ──────────────────────────────── */
.block { padding: 80px 0 40px; }
.block__head { margin-bottom: 70px; }
.tag {
  display: inline-block;
  font-family: var(--fm);
  font-size: 12.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amber);
  padding: 8px 16px;
  border: 1px solid rgba(255, 179, 36, .3);
  border-radius: 100px;
  margin-bottom: 24px;
}
.block__title {
  font-family: var(--fd);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.14;
}

.park__fleet {
  margin-top: 22px;
  max-width: 640px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}
.park__fleet b {
  font-family: var(--fm);
  font-size: 17px;
  color: var(--amber);
}

/* ── Машины ─────────────────────────────── */
.machine {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 0;
  margin-bottom: 90px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 6px;
  overflow: hidden;
}
.machine:last-child { margin-bottom: 0; }
.machine--flip { grid-template-columns: .85fr 1.15fr; }
.machine--flip .machine__media { order: 2; }
.machine--flip .machine__panel { order: 1; }

.machine__media { position: relative; display: flex; flex-direction: column; }
.machine__photo {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-height: 420px;
}
.machine__photo img {
  position: absolute;
  inset: -8% 0;
  width: 100%; height: 116%;
  object-fit: cover;
  filter: saturate(.9);
  transition: filter .5s;
  will-change: transform;
}
.machine:hover .machine__photo img { filter: saturate(1.1); }
.machine__thumbs {
  display: flex;
  gap: 1px;
  background: var(--stroke);
  border-top: 1px solid var(--stroke);
}
.machine__thumbs button {
  flex: 1;
  height: 68px;
  padding: 0;
  border: none;
  background: var(--panel);
  overflow: hidden;
  opacity: .45;
  transition: opacity .3s;
}
.machine__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.machine__thumbs button:hover { opacity: .85; }
.machine__thumbs button.is-on { opacity: 1; box-shadow: inset 0 -3px 0 var(--amber); }

.machine__panel {
  position: relative;
  padding: 48px 46px 42px;
  display: flex;
  flex-direction: column;
}
.machine__index {
  position: absolute;
  top: 34px; right: 40px;
  font-family: var(--fd);
  font-size: 15px;
  color: var(--amber);
}
.machine__index::before {
  content: '';
  display: inline-block;
  width: 26px; height: 1px;
  background: var(--amber);
  vertical-align: middle;
  margin-right: 10px;
}
.machine__name {
  font-family: var(--fd);
  font-weight: 600;
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.25;
  margin-bottom: 34px;
}
.machine__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--stroke);
  margin-bottom: 38px;
}
.machine__specs > div {
  padding: 15px 4px;
  border-bottom: 1px solid var(--stroke);
}
.machine__specs dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 3px; }
.machine__specs dd { font-family: var(--fm); font-size: 15px; font-weight: 700; }
.machine__bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.machine__price {
  font-family: var(--fd);
  font-size: 24px;
  font-weight: 600;
}
.machine__price span { font-family: var(--fb); font-size: 14px; font-weight: 500; color: var(--muted); }

/* ── Почему мы ──────────────────────────── */
.edge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--stroke);
  border: 1px solid var(--stroke);
  border-radius: 6px;
  overflow: hidden;
}
.edge {
  background: var(--bg);
  padding: 40px 34px;
  position: relative;
  transition: background .4s;
}
.edge:hover { background: var(--panel); }
.edge i {
  display: block;
  font-style: normal;
  color: var(--amber);
  font-size: 13px;
  margin-bottom: 20px;
  transition: transform .4s var(--ease);
}
.edge:hover i { transform: rotate(180deg) scale(1.3); }
.edge h3 { font-family: var(--fd); font-weight: 600; font-size: 17px; margin-bottom: 12px; }
.edge p { font-size: 14px; color: var(--muted); }

/* ── Таймлайн ───────────────────────────── */
.timeline { position: relative; padding-left: 56px; }
.timeline__bar {
  position: absolute;
  left: 19px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--stroke);
  border-radius: 2px;
  overflow: hidden;
}
.timeline__bar span {
  display: block;
  width: 100%;
  height: 0%;
  background: var(--grad);
  transition: height .25s linear;
}
.tl-item {
  position: relative;
  padding-bottom: 52px;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item__n {
  position: absolute;
  left: -56px; top: 0;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 50%;
  font-family: var(--fm);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--amber);
}
.tl-item h3 { font-family: var(--fd); font-weight: 600; font-size: 19px; margin-bottom: 8px; }
.tl-item p { color: var(--muted); font-size: 15px; max-width: 560px; }
.flow__geo {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--stroke);
  font-family: var(--fm);
  font-size: 12.5px;
  line-height: 2;
  color: var(--muted);
  letter-spacing: .03em;
}


/* ── Отзывы: бесконечная лента ──────────── */
.rep-marquee {
  overflow: hidden;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.rep-marquee__track {
  display: flex;
  align-items: stretch;
  width: max-content;
  animation: repmove 70s linear infinite;
}
.rep-marquee:hover .rep-marquee__track { animation-play-state: paused; }
@keyframes repmove { to { transform: translateX(-50%); } }
.rep {
  display: flex;
  flex-direction: column;
  width: 400px;
  flex-shrink: 0;
  margin-right: 20px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 6px;
  padding: 30px 28px;
  transition: border-color .35s;
}
.rep:hover { border-color: rgba(255, 179, 36, .45); }
.rep__stars { color: var(--amber); letter-spacing: 4px; font-size: 14px; display: block; margin-bottom: 16px; }
.rep p { font-size: 15px; color: var(--text); line-height: 1.7; margin-bottom: 16px; }
.rep footer { margin-top: auto; font-family: var(--fm); font-size: 12px; color: var(--muted); }

/* ── Контакты ───────────────────────────── */
.callta {
  position: relative;
  padding: 80px 0 110px;
  background:
    radial-gradient(700px 420px at 85% 20%, rgba(255, 122, 0, .1), transparent 65%),
    radial-gradient(600px 380px at 8% 90%, rgba(255, 179, 36, .07), transparent 60%),
    var(--panel);
  border-top: 1px solid var(--stroke);
}
.callta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.callta__text { color: var(--muted); margin: 22px 0 40px; max-width: 420px; font-size: 16px; }
.callta__phone {
  display: block;
  font-family: var(--fd);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 600;
  margin-bottom: 10px;
  transition: color .25s;
}
.callta__phone:hover { color: var(--amber); }
.callta__mail {
  display: inline-block;
  font-family: var(--fm);
  font-size: 15px;
  color: var(--muted);
  border-bottom: 1px dashed rgba(255,255,255,.25);
  margin-bottom: 38px;
  transition: color .25s, border-color .25s;
}
.callta__mail:hover { color: var(--amber); border-color: var(--amber); }
.callta__msgs { display: flex; flex-wrap: wrap; gap: 12px; }
.callta__msgs a {
  padding: 12px 24px;
  border: 1px solid var(--stroke);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  transition: border-color .3s, color .3s, transform .3s var(--ease);
}
.callta__msgs a:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-3px); }

/* ── Форма v2 ───────────────────────────── */
.vform {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: 6px;
  padding: 42px 40px;
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.vform h3 { font-family: var(--fd); font-weight: 600; font-size: 21px; }
.vform > p { color: var(--muted); font-size: 14px; margin: 6px 0 28px; }
.vform input, .vform select, .vform textarea {
  width: 100%;
  margin-bottom: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--stroke);
  border-radius: 4px;
  color: var(--text);
  font-family: var(--fb);
  font-size: 15px;
  outline: none;
  resize: none;
  appearance: none;
  transition: border-color .25s, background .25s;
}
.vform select { color: var(--muted); cursor: pointer; }
.vform select option { background: var(--panel); color: var(--text); }
.vform input::placeholder, .vform textarea::placeholder { color: var(--muted); }
.vform input:focus, .vform select:focus, .vform textarea:focus {
  border-color: var(--amber);
  background: rgba(255, 179, 36, .06);
}
.vform small { display: block; text-align: center; color: var(--muted); font-size: 11.5px; margin-top: 14px; }
.vform__ok {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--panel);
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s;
}
.vform__ok b { font-family: var(--fd); font-size: 20px; color: var(--amber); }
.vform__ok span { color: var(--muted); font-size: 14px; }
.vform.is-sent .vform__ok { opacity: 1; pointer-events: auto; }

/* ── Footer ─────────────────────────────── */
.foot { border-top: 1px solid var(--stroke); padding: 30px 0; }
.foot__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.foot__img {
  height: 64px;
  width: auto;
}
.foot__c { font-size: 12.5px; color: var(--muted); }
.foot__row > a { font-family: var(--fm); font-size: 13.5px; font-weight: 700; }
.foot__row > a:hover { color: var(--amber); }

/* ── Reveal ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal, .rise { opacity: 1; transform: none; }
}

/* ── Адаптив ────────────────────────────── */
@media (max-width: 1060px) {
  .machine, .machine--flip { grid-template-columns: 1fr; }
  .machine--flip .machine__media { order: 1; }
  .machine--flip .machine__panel { order: 2; }
  .machine__photo { min-height: 320px; }
  .edge-grid { grid-template-columns: 1fr 1fr; }
  .rep { width: 320px; }
  .callta__grid { grid-template-columns: 1fr; gap: 60px; }
  .hero__meta { grid-template-columns: repeat(2, 1fr); }
  .hero__meta > div { padding-left: 26px; border-right: none; border-bottom: 1px solid var(--stroke); }
  .hero__meta > div:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--stroke); }
  .dots { display: none; }
}

@media (max-width: 760px) {
  .wrap, .hero__content, .hero__meta { width: min(1240px, 100% - 36px); }
  .bar { padding: 0 20px; gap: 20px; }
  .bar__nav { display: none; }
  .bar__phone { margin-left: auto; }
  .bar__burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 40px; height: 40px;
    background: none;
    border: none;
  }
  .bar__burger span {
    width: 22px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .35s var(--ease);
  }
  .bar__burger.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .bar__burger.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 74px 0 auto;
    z-index: 99;
    background: rgba(11, 13, 16, .97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--stroke);
    padding: 10px 24px 24px;
    transform: translateY(-130%);
    transition: transform .45s var(--ease);
  }
  .mobile-menu.is-open { transform: translateY(0); }
  .mobile-menu a {
    padding: 15px 4px;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid var(--stroke);
  }
  .mobile-menu__phone { color: var(--amber); font-family: var(--fm); border-bottom: none !important; }
  .block { padding: 56px 0 28px; }
  .machine__panel { padding: 32px 24px; }
  .machine__specs { grid-template-columns: 1fr; }
  .machine__bottom { flex-direction: column; align-items: stretch; text-align: center; }
  .edge-grid { grid-template-columns: 1fr; }
  .timeline { padding-left: 48px; }
  .tl-item__n { left: -48px; }
  .vform { padding: 30px 22px; }
  .hero__meta { margin-top: 52px; }
  .hero__scroll { display: none; }
}
