/* Шрифты: сейчас Google Fonts. Для локальных файлов подключите @font-face в этом файле
   и положите woff2 в assets/fonts/ — без смены классов. */

:root {
  --bg: #0c0f14;
  --bg-2: #141a22;
  --bg-3: #1c2430;
  --ink: #ece7dc;
  --muted: #9aa3b2;
  --amber: #e8a317;
  --amber-2: #f6c14b;
  --line: rgba(236, 231, 220, 0.12);
  --ok: #7dbe6a;
  --err: #e86a5a;
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --radius: 4px;
  --max: 1160px;
  --header-h: 80px;
  --focus: 0 0 0 3px rgba(232, 163, 23, 0.45);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: none; box-shadow: var(--focus); }

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s;
}

.header.is-scrolled {
  background: rgba(12, 15, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}

.header__inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo { display: grid; gap: 0.15rem; min-width: 7rem; }
.logo__mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  color: var(--amber-2);
  line-height: 1;
}
.logo__sub {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 1rem;
  margin-left: auto;
  margin-right: 0.5rem;
}
.nav a {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.2s;
}
.nav a:hover { color: var(--ink); }

.header__cta { flex-shrink: 0; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 6px auto;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
}
.burger.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
.burger.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, filter 0.2s, border-color 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.65; cursor: wait; transform: none; }
.btn--amber {
  background: linear-gradient(135deg, var(--amber), var(--amber-2));
  color: #1a1205;
}
.btn--ghost {
  border-color: rgba(236, 231, 220, 0.35);
  background: rgba(12, 15, 20, 0.28);
}
.btn--ghost:hover { border-color: var(--ink); }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: 0.55rem 0.9rem; font-size: 0.9rem; }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: end;
  padding: calc(var(--header-h) + 2.5rem) 0 3rem;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 20s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.2%, -1%, 0); }
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 15, 20, 0.35) 0%, rgba(12, 15, 20, 0.72) 48%, rgba(12, 15, 20, 0.97) 100%),
    linear-gradient(90deg, rgba(12, 15, 20, 0.82) 0%, rgba(12, 15, 20, 0.25) 60%, rgba(12, 15, 20, 0.55) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}
.hero__brand {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--amber-2);
  line-height: 0.95;
}
.hero__title {
  margin: 0 0 1rem;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}
.hero__lead {
  margin: 0 0 1.5rem;
  max-width: 40rem;
  color: #c9c3b6;
  font-size: 1.05rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.hero__points {
  list-style: none;
  margin: 0;
  padding: 1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Sections */
.section { padding: 5rem 0; }
.section__head { margin-bottom: 2.4rem; max-width: 42rem; }
.section__head--row {
  display: grid;
  gap: 1.25rem;
  max-width: none;
}
@media (min-width: 900px) {
  .section__head--row {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
  }
}
.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--amber);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.section__title {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 700;
  line-height: 1.2;
}
.section__text { margin: 0; color: var(--muted); font-size: 1.02rem; }

/* Services */
.services {
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(232, 163, 23, 0.08), transparent 55%),
    var(--bg);
}
.services__grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 800px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .services__grid { grid-template-columns: repeat(4, 1fr); }
}
.service {
  background: var(--bg-2);
  padding: 1.5rem 1.3rem 1.7rem;
  min-height: 210px;
}
.service__num {
  display: block;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  color: var(--amber);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
}
.service h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
}
.service p { margin: 0; color: var(--muted); }

/* Enterprise */
.enterprise {
  background:
    linear-gradient(120deg, rgba(12, 15, 20, 0.94), rgba(12, 15, 20, 0.82)),
    radial-gradient(circle at 80% 20%, rgba(232, 163, 23, 0.16), transparent 40%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}
.enterprise__grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .enterprise__grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: start;
  }
}
.enterprise__list {
  list-style: none;
  margin: 0;
  padding: 1.4rem;
  display: grid;
  gap: 0.85rem;
  background: rgba(20, 26, 34, 0.85);
  border: 1px solid var(--line);
}
.enterprise__list li {
  position: relative;
  padding-left: 1.35rem;
}
.enterprise__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--amber);
}

/* Fleet */
.fleet { background: var(--bg); }
.fleet__note {
  margin: 0 0 1.6rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--amber);
  background: rgba(232, 163, 23, 0.07);
  border: 1px solid rgba(232, 163, 23, 0.3);
  color: var(--ink);
  font-size: 0.95rem;
}
.fleet__grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 760px) {
  .fleet__grid { grid-template-columns: repeat(2, 1fr); }
}
.bus-card {
  display: grid;
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.bus-card:hover {
  border-color: rgba(232, 163, 23, 0.45);
  transform: translateY(-2px);
}
.bus-card__media {
  aspect-ratio: 16 / 10;
  background: var(--bg-3);
  overflow: hidden;
}
.bus-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bus-card__body { padding: 1.2rem 1.25rem 1.35rem; }
.bus-card h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.bus-card__model {
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.bus-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
}
.chip {
  display: inline-flex;
  padding: 0.28rem 0.55rem;
  border: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amber-2);
}
.bus-card__use {
  margin: 0 0 0.45rem;
  font-weight: 700;
}
.bus-card__desc {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.94rem;
}
.bus-card__details {
  margin: 0.85rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}
.bus-card__details[hidden] { display: none !important; }

/* Partners */
.partners { background: var(--bg-2); }
.partners__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
@media (min-width: 700px) {
  .partners__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1050px) {
  .partners__grid { grid-template-columns: repeat(4, 1fr); }
}
.partner {
  display: grid;
  gap: 0.7rem;
  justify-items: center;
  align-content: center;
  min-height: 140px;
  padding: 1.15rem 0.9rem;
  background: #f3f0e8;
  border: 1px solid transparent;
  transition: transform 0.25s, border-color 0.25s;
}
.partner:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 163, 23, 0.55);
}
.partner img {
  width: min(100%, 150px);
  height: 58px;
  object-fit: contain;
}
.partner span {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #2a2f38;
}

/* Geography */
.geography { background: var(--bg); }
.geography__grid {
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 900px) {
  .geography__grid {
    grid-template-columns: 1fr 1.3fr;
    align-items: start;
  }
}
.geo-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 600px) {
  .geo-cards { grid-template-columns: repeat(2, 1fr); }
}
.geo-cards li {
  padding: 1.15rem 1.1rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: grid;
  gap: 0.35rem;
}
.geo-cards strong {
  font-family: var(--font-display);
  font-size: 1rem;
}
.geo-cards span { color: var(--muted); font-size: 0.92rem; }

/* Process */
.process { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  counter-reset: step;
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.step {
  padding: 1.25rem 1.1rem;
  border-top: 2px solid var(--amber);
  background: rgba(20, 26, 34, 0.55);
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.8rem;
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}
.step strong {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
}
.step span { color: var(--muted); font-size: 0.93rem; }

/* Docs / reviews */
.docs, .reviews { background: var(--bg); border-top: 1px solid var(--line); }
.docs__grid, .reviews__grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .docs__grid { grid-template-columns: repeat(3, 1fr); }
}
.doc, .review {
  padding: 1.35rem 1.25rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.doc h3, .review h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.doc p, .review p { margin: 0 0 1rem; color: var(--muted); }
.doc__actions { display: flex; flex-wrap: wrap; gap: 0.55rem; }

/* About */
.about { background: var(--bg-2); }
.about__grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .about__grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 3rem;
  }
}
.about strong { color: var(--ink); }
.about__facts {
  margin: 0;
  padding: 1.25rem;
  display: grid;
  gap: 0.9rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
}
.about__facts div {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}
.about__facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.about__facts dt {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 800;
}
.about__facts dd { margin: 0; }

/* Contact */
.contact { background: var(--bg); }
.contact__grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 960px) {
  .contact__grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 3rem;
    align-items: start;
  }
}
.contact__cards {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.contact-card {
  display: grid;
  gap: 0.25rem;
  padding: 0.95rem 1rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.contact-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.contact-card a {
  font-weight: 700;
  color: var(--amber-2);
  word-break: break-word;
}

.form {
  position: relative;
  display: grid;
  gap: 0.9rem;
  padding: 1.35rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.form__row {
  display: grid;
  gap: 0.9rem;
}
@media (min-width: 700px) {
  .form__row { grid-template-columns: 1fr 1fr; }
}
.form label { display: grid; gap: 0.35rem; }
.form label span {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 700;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.8rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s;
  font-size: 16px;
}
.form textarea { min-height: 100px; resize: vertical; }
.form input:focus,
.form select:focus,
.form textarea:focus { border-color: rgba(232, 163, 23, 0.7); }
.form__note { margin: 0; color: var(--muted); font-size: 0.78rem; }
.form__ok { margin: 0; color: var(--ok); font-weight: 700; }
.form__error { margin: 0; color: var(--err); font-weight: 700; }

/* Messenger FAB */
.msg-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 45;
  display: grid;
  justify-items: end;
  gap: 0.55rem;
}
.msg-fab__toggle {
  min-width: 120px;
  min-height: 48px;
  padding: 0 1.1rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber), var(--amber-2));
  color: #1a1205;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.msg-fab__panel {
  display: grid;
  gap: 0.4rem;
  min-width: 160px;
  padding: 0.55rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.msg-fab__panel[hidden] { display: none !important; }
.msg-fab__panel a {
  padding: 0.7rem 0.8rem;
  background: var(--bg);
  border-radius: 6px;
  font-weight: 700;
  text-align: center;
}
.msg-fab__panel a:hover { background: var(--bg-3); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 5.5rem;
  z-index: 46;
  transform: translateX(-50%);
  max-width: calc(100vw - 2rem);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  background: #1c2430;
  border: 1px solid rgba(232, 163, 23, 0.45);
  font-weight: 600;
  text-align: center;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.4rem;
  background: #090b10;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
}
.footer__copy, .footer__legal {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  max-width: 42rem;
  line-height: 1.45;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.is-in { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.07s; }
.delay-2 { transition-delay: 0.14s; }
.delay-3 { transition-delay: 0.21s; }
.delay-4 { transition-delay: 0.28s; }

@media (prefers-reduced-motion: reduce) {
  .hero__img, .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Mobile */
@media (max-width: 960px) {
  :root { --header-h: 72px; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: grid;
    margin: 0;
    padding: 0.4rem 1.2rem 1rem;
    max-height: calc(100dvh - var(--header-h));
    overflow: auto;
    background: rgba(12, 15, 20, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }
  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav a {
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 1.02rem;
  }
  .header__cta { display: none; }
  .burger { display: block; margin-left: auto; }

  .hero {
    align-content: end;
    padding: calc(var(--header-h) + 1.5rem) 0 1.8rem;
  }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .section { padding: 3.4rem 0; }
  .partner { min-height: 120px; }
  .msg-fab { right: 0.75rem; bottom: 0.75rem; }
}

@media (max-width: 420px) {
  .logo__sub { max-width: 8.5rem; }
  .hero__title { font-size: 1.45rem; }
}
