@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/OnestRegular1602-hint.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/OnestMedium1602-hint.woff") format("woff");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/OnestBold1602-hint.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/OnestExtraBold1602-hint.woff") format("woff");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --bg: #080808;
  --panel: #121212;
  --panel-2: #1a1a1a;
  --line: rgba(255, 255, 255, .12);
  --text: #f5f2eb;
  --muted: #bdb6aa;
  --accent: #f4a51c;
  --accent-2: #ffd35a;
  --danger: #e86d18;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Onest", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 0%, rgba(244, 165, 28, .14), transparent 34rem),
    var(--bg);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; background: var(--accent-2); color: #171006; font-weight: 800; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .75s cubic-bezier(.22, 1, .36, 1),
    transform .75s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--dark { background: rgba(255,255,255,.025); border-block: 1px solid var(--line); }
.section--grid {
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    rgba(255,255,255,.025);
  background-size: 44px 44px;
}
.section--partners {
  background: #0e0e0e;
  border-block: 1px solid var(--line);
}
.eyebrow { color: var(--accent-2); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 700; }
h1, h2, h3 { line-height: 1.08; margin: 0; }
h1 { font-size: clamp(34px, 6vw, 68px); max-width: 980px; }
h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 26px; }
h3 { font-size: 22px; margin-bottom: 12px; }
p { margin: 0; color: var(--muted); }
.lead { font-size: 18px; max-width: 780px; color: #ded7cc; }
.text-wide { max-width: 860px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid rgba(244,165,28,.7);
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #171006;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--ghost { color: var(--text); background: transparent; border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); }
.site-header {
  position: sticky;
  top: -38px;
  z-index: 50;
  background: rgba(8,8,8,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.topbar {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.topbar__inner, .nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar__inner { min-height: 38px; }
.topbar a { color: var(--text); }
.nav { min-height: 62px; }
.logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.logo__image { width: 124px; height: 48px; object-fit: contain; }
.menu { display: flex; align-items: center; gap: 20px; list-style: none; margin: 0; padding: 0; font-size: 14px; text-transform: uppercase; font-weight: 700; }
.menu a { color: #eee8dd; }
.menu a:hover { color: var(--accent-2); }
.has-sub { position: relative; }
.submenu {
  position: absolute;
  top: calc(100% + 18px);
  left: -18px;
  width: 260px;
  list-style: none;
  margin: 0;
  padding: 10px;
  background: #111;
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s ease;
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.menu [aria-current="page"] { color: var(--accent-2); }
.submenu a { display: block; padding: 10px; }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.phone { font-weight: 800; white-space: nowrap; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #111; color: var(--text); }
.burger span { display: block; width: 20px; height: 2px; margin: 5px auto; background: currentColor; }
.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #080808;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8,8,8,.96) 0%, rgba(8,8,8,.82) 48%, rgba(8,8,8,.34) 78%, rgba(8,8,8,.55) 100%),
    linear-gradient(0deg, rgba(8,8,8,.72) 0%, transparent 45%);
}
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 820px); align-items: center; padding: 92px 0; }
.hero__copy { position: relative; z-index: 2; }
.hero__copy > * + * { margin-top: 24px; }
.hero h1 { font-size: 53px; }
.contact-strip { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); }
.contact-strip a { color: var(--text); font-weight: 700; }
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.022));
  border: 1px solid var(--line);
  padding: 24px;
}
.card:hover { border-color: rgba(244,165,28,.55); }
.card__num, .step__num { color: var(--accent-2); font-weight: 900; font-size: 13px; text-transform: uppercase; }
.service-card { min-height: 185px; display: flex; flex-direction: column; justify-content: space-between; }
.service-card a { color: var(--accent-2); font-weight: 800; margin-top: 24px; }
.list { margin: 0; padding-left: 20px; color: var(--muted); }
.list li + li { margin-top: 8px; }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.feature-list li { border-left: 3px solid var(--accent); background: rgba(255,255,255,.04); padding: 16px 18px; font-weight: 700; }
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  counter-reset: steps;
}
.steps::before {
  content: "";
  position: absolute;
  top: 42px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent) 8%, var(--accent) 92%, transparent);
  opacity: .55;
}
.step {
  position: relative;
  min-height: 160px;
  padding-top: 72px;
}
.step__icon {
  position: absolute;
  top: 19px;
  left: 22px;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244,165,28,.65);
  background: #111;
  color: var(--accent-2);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}
.step__num {
  position: absolute;
  top: 24px;
  right: 20px;
}
.engineer { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: stretch; }
.engineer__portrait {
  min-height: 330px;
  background: #121212;
  border: 1px solid var(--line);
  overflow: hidden;
}
.engineer__portrait img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  object-position: center top;
}
.partners {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.partners__track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: partners-scroll 55s linear infinite;
}
.partners:hover .partners__track { animation-play-state: paused; }
.partner {
  width: 190px;
  flex: 0 0 190px;
  min-height: 112px;
  display: grid;
  place-items: center;
  padding: 16px;
  background: #171717;
  border: 1px solid var(--line);
  overflow: hidden;
}
.partner img {
  width: 100%;
  height: 76px;
  object-fit: contain;
  filter: saturate(.92);
  transition: transform .2s ease, filter .2s ease;
}
.partner:hover img {
  transform: scale(1.04);
  filter: saturate(1);
}
.home-page .section { padding-block: 96px; }
.home-page .section h2 { margin-bottom: 34px; }
.home-page .section .eyebrow + h2 { margin-top: 12px; }
.home-page .section .grid { gap: 24px; }
.home-page .service-card { min-height: 220px; padding: 30px; }
.home-page .service-card { position: relative; overflow: hidden; }
.home-page .service-card::before,
.home-page .service-card::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
}
.home-page .service-card::before {
  top: 10px;
  right: 10px;
  border-top: 1px solid rgba(244,165,28,.6);
  border-right: 1px solid rgba(244,165,28,.6);
}
.home-page .service-card::after {
  bottom: 10px;
  left: 10px;
  border-bottom: 1px solid rgba(244,165,28,.35);
  border-left: 1px solid rgba(244,165,28,.35);
}
.home-page .feature-list { gap: 20px; }
.home-page .feature-list li { padding: 22px 24px; }
.home-page .steps { gap: 20px; }
.home-page .step { min-height: 180px; padding: 86px 28px 28px; }
.home-page .engineer { gap: 36px; }
.home-page .engineer .card { padding: 34px; }
.home-page .engineer .card h3 { margin-top: 30px; }
.home-page .engineer .list li + li { margin-top: 12px; }
.home-page .partners { margin-top: 8px; }
.home-page .section--partners .lead { margin-top: 34px !important; }
.home-page .cta .grid { gap: 40px; }
.home-page .form { gap: 18px; margin-top: 0; }
.home-page .map-placeholder { min-height: 400px; }
.home-page .tech-section { position: relative; overflow: hidden; }
.home-page .tech-section::before {
  content: attr(data-tech);
  position: absolute;
  top: 22px;
  right: max(16px, calc((100vw - var(--max)) / 2));
  color: rgba(255,255,255,.22);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}
.home-page .tech-section::after {
  content: "";
  position: absolute;
  top: 42px;
  right: 0;
  width: min(220px, 18vw);
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: .45;
}
@keyframes partners-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 7px)); }
}
.cta {
  background:
    linear-gradient(135deg, rgba(244,165,28,.09), transparent 42%),
    #0b0b0b;
  border-block: 1px solid rgba(244,165,28,.28);
}
.cta > .grid--2 {
  grid-template-columns: minmax(0, .85fr) minmax(460px, 1.15fr);
  align-items: start;
}
.cta > .grid--2 > div:first-child { max-width: 560px; }
.cta__contacts {
  display: grid;
  gap: 10px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.cta__contacts a,
.cta__contacts > span {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}
.cta__contact-mark {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid rgba(244,165,28,.45);
  color: var(--accent-2);
  font-size: 17px;
  font-weight: 500;
}
.cta__note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}
.form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 24px; }
.form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent label { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; }
.consent input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; accent-color: var(--accent); }
.consent a { color: var(--accent-2); text-decoration: underline; }
.form__status { min-height: 1.5em; margin: 0; }
.form__status.is-success { color: #8fe0a2; }
.form__status.is-error { color: #ff9b89; }
.form button:disabled { cursor: wait; opacity: .65; }
.cta .form {
  width: 100%;
  margin-top: 0;
  padding: 28px;
  border: 1px solid rgba(244,165,28,.24);
  background: rgba(7,7,7,.56);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.cta .form::before {
  content: "REQUEST FORM";
  grid-column: 1 / -1;
  color: rgba(255,255,255,.34);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
label { color: #eee6d8; font-size: 13px; font-weight: 700; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  background: #0c0c0c;
  color: var(--text);
  padding: 13px 14px;
  font: inherit;
}
textarea { min-height: 118px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 1px solid var(--accent); border-color: var(--accent); }
.breadcrumbs {
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 13px;
}
.breadcrumbs a { color: var(--accent-2); }
.page-hero { padding: 62px 0 72px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, rgba(244,165,28,.12), transparent 48%); }
.page-hero .lead { margin-top: 18px; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.category h3 { color: var(--accent-2); }
.link-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.accent-box {
  padding: 34px;
  border: 1px solid rgba(244,165,28,.35);
  background: linear-gradient(135deg, rgba(244,165,28,.18), rgba(0,0,0,.22));
}
.qualification-years {
  display: block;
  margin-bottom: 28px;
  color: var(--accent-2);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  line-height: 1;
}
.about-page .section { padding-block: 96px; }
.about-page .page-hero { padding-block: 42px 88px; }
.about-page .page-hero h1 { max-width: 900px; }
.about-page .section .grid { gap: 32px; }
.about-page .section .grid--3 { gap: 24px; }
.about-page .section .grid--4 { gap: 20px; }
.about-page .section .card { padding: 30px; }
.about-page .engineer { gap: 40px; }
.about-page .engineer .card { padding: 38px; }
.about-page .engineer .card h3 { margin-top: 30px; }
.about-page .accent-box { padding: 40px; }
.about-page .section--partners .lead { margin-top: 34px !important; }
.price-table { width: 100%; border-collapse: collapse; overflow: hidden; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.table-scroll { overflow-x: auto; }
.partners-description, .price-note, .footer-about { margin-top: 24px; }
.footer-title { font-size: 22px; margin-bottom: 0; }
.legal-text h2:not(:first-child) { margin-top: 42px; }
.legal-text a, .copyright a { color: var(--accent-2); }
.price-table th, .price-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.price-table th { color: var(--accent-2); background: #121212; }
.price-table td:last-child { white-space: nowrap; font-weight: 800; color: #fff; }
.map-placeholder {
  min-height: 360px;
  border: 1px solid var(--line);
  background: #111;
  overflow: hidden;
}
.map-placeholder iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  border: 0;
}
.site-footer { padding: 50px 0 30px; border-top: 1px solid var(--line); background: #070707; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-list { list-style: none; padding: 0; margin: 14px 0 0; color: var(--muted); }
.footer-list li + li { margin-top: 8px; }
.footer-list a:hover { color: var(--accent-2); }
.social-links { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.social-links a { color: var(--text); font-weight: 700; }
.social-links a:hover { color: var(--accent-2); }
.social-disclaimer { margin-top: 10px; color: #8f8980; font-size: 11px; line-height: 1.45; }
.copyright { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

@media (max-width: 1020px) {
  .menu, .nav__actions .phone, .nav__actions .btn { display: none; }
  .burger { display: block; }
  .menu.is-open {
    display: grid;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 115px;
    padding: 18px;
    background: #101010;
    border: 1px solid var(--line);
  }
  .has-sub .submenu { position: static; width: auto; opacity: 1; visibility: visible; transform: none; margin-top: 8px; border-color: rgba(255,255,255,.08); }
  .hero__grid, .engineer, .footer-grid { grid-template-columns: 1fr; }
  .cta > .grid--2 { grid-template-columns: 1fr; }
  .grid--4, .grid--3, .category-grid, .steps, .feature-list { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 24px, var(--max)); }
  .site-header { top: 0; }
  .topbar { display: none; }
  .nav { min-height: 68px; }
  .menu.is-open { top: 76px; }
  .section { padding: 48px 0; }
  .home-page .section { padding-block: 64px; }
  .about-page .section { padding-block: 64px; }
  .about-page .page-hero { padding-block: 28px 58px; }
  .breadcrumbs { margin-bottom: 26px; }
  .about-page .engineer { gap: 20px; }
  .about-page .engineer .card,
  .about-page .accent-box,
  .about-page .section .card { padding: 24px; }
  .home-page .section h2 { margin-bottom: 26px; }
  .home-page .service-card { min-height: 190px; padding: 24px; }
  .home-page .feature-list,
  .home-page .steps { gap: 14px; }
  .home-page .step { min-height: 140px; padding: 78px 22px 22px; }
  .home-page .engineer { gap: 20px; }
  .home-page .engineer .card { padding: 24px; }
  .home-page .cta .grid { gap: 28px; }
  .hero { min-height: 650px; }
  .hero__grid { padding: 64px 0; }
  .hero h1 { font-size: 38px; }
  .hero__overlay {
    background:
      linear-gradient(0deg, rgba(8,8,8,.96) 0%, rgba(8,8,8,.72) 58%, rgba(8,8,8,.48) 100%),
      linear-gradient(90deg, rgba(8,8,8,.72), rgba(8,8,8,.3));
  }
  .grid--2, .grid--3, .grid--4, .category-grid, .steps, .feature-list, .form { grid-template-columns: 1fr; }
  .step { min-height: 120px; padding: 76px 20px 20px; }
  .home-page .step { min-height: 140px; padding: 78px 22px 22px; }
  .cta .form { padding: 20px; }
  .partner { width: 150px; flex-basis: 150px; min-height: 96px; padding: 12px; }
  .partner img { height: 66px; }
  .card, .accent-box { padding: 20px; }
  .footer-grid { gap: 22px; }
  .price-table { font-size: 14px; }
  .price-table th, .price-table td { padding: 12px 10px; }
  .logo__image { width: 116px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .partners__track { animation: none; }
  .partners { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
}
