/* Цвета взяты с бланка компании: тёмно-синий и золото */
:root {
  --navy: #1b3358;
  --navy-2: #142844;
  --navy-3: #0e1d33;
  --gold: #d4a437;
  --gold-2: #b98b24;
  --ink: #1a2433;
  --muted: #5d6b80;
  --line: #e3e8ef;
  --tint: #f4f6fa;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 40, 68, .08);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.accent { color: var(--gold); }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-2); margin-bottom: 12px;
}
.eyebrow--gold { color: var(--gold); }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 10px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--navy-3); }
.btn--gold:hover { background: #e0b44a; }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--block { width: 100%; }

/* Шапка */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s;
}
.header--scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(20, 40, 68, .06); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 44px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-weight: 800; color: var(--navy); font-size: 1.05rem; }
.brand__sub { font-size: .72rem; color: var(--gold-2); font-weight: 600; letter-spacing: .04em; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink); white-space: nowrap; }
.brand__sub { white-space: nowrap; }
.nav a:hover { color: var(--gold-2); }
.header__phone { font-weight: 800; color: var(--navy); text-decoration: none; white-space: nowrap; }
.burger { display: none; }

/* Переключатель языка */
.lang { display: flex; gap: 2px; background: var(--tint); border-radius: 8px; padding: 3px; }
.lang a {
  text-decoration: none; font-size: .78rem; font-weight: 700; color: var(--muted);
  padding: 4px 8px; border-radius: 6px; line-height: 1.2;
}
.lang a:hover { color: var(--navy); }
.lang a.is-active { background: var(--navy); color: var(--gold); }

/* Первый экран */
.hero {
  background:
    radial-gradient(900px 400px at 85% 10%, rgba(212, 164, 55, .16), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  color: var(--white);
  padding: 88px 0 96px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero__inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
.hero .eyebrow { color: var(--gold); }
.lead { font-size: 1.12rem; color: #c9d3e3; max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__card {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px; padding: 32px; text-align: center;
}
.hero__logo { width: 110px; height: auto; margin: 0 auto 24px; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero__facts li {
  background: rgba(255, 255, 255, .06); border-radius: 12px; padding: 16px 12px;
  display: flex; flex-direction: column; gap: 2px;
}
.hero__facts b { font-size: 1.35rem; color: var(--gold); }
.hero__facts span { font-size: .85rem; color: #c9d3e3; }

/* Секции */
.section { padding: 96px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--navy); color: var(--white); }
.section__head { max-width: 720px; margin-bottom: 44px; }

/* О компании */
.about { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; }
.about__text p { color: #364357; font-size: 1.04rem; }
.countries { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.country {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px 8px 8px; font-weight: 700;
}
.country__code {
  background: var(--navy); color: var(--gold); border-radius: 999px;
  min-width: 38px; height: 30px; padding: 0 8px; display: grid; place-items: center; font-size: .78rem;
}

/* Карточки продукции */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: box-shadow .25s, transform .25s, border-color .25s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: rgba(212, 164, 55, .5); }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy); color: var(--gold); margin-bottom: 18px;
}
.card__icon .icon { width: 26px; height: 26px; }
.card p { color: var(--muted); font-size: .95rem; }
.card__list { list-style: none; padding: 0; margin: 0; border-top: 1px dashed var(--line); padding-top: 12px; }
.card__list li { position: relative; padding-left: 16px; font-size: .9rem; color: #364357; margin: 4px 0; }
.card__list li::before {
  content: ''; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 2px; background: var(--gold);
}

/* Условия */
.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.term { padding: 26px; border-radius: var(--radius); background: var(--tint); }
.term .icon { width: 30px; height: 30px; color: var(--gold-2); margin-bottom: 14px; }
.term p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Гибкость и авиакарго */
.flex { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.flex__lead .btn { margin-top: 8px; }
.flex__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.flex__list li {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px;
}
.flex__list .icon {
  width: 44px; height: 44px; padding: 10px; border-radius: 10px;
  background: var(--navy); color: var(--gold);
}
.flex__list div { display: grid; gap: 2px; }
.flex__list span { color: var(--muted); font-size: .93rem; }

/* Шаги */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.steps li {
  counter-increment: step; position: relative;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius); padding: 60px 20px 22px;
  display: flex; flex-direction: column; gap: 6px;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 18px; left: 20px; font-weight: 800; font-size: 1.3rem; color: var(--gold);
}
.steps b { font-size: 1.02rem; }
.steps span { color: #c2cddf; font-size: .9rem; }

/* Контакты и форма */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.contact__list .icon { color: var(--gold-2); width: 22px; height: 22px; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { color: var(--gold-2); }
.contact__map { width: 100%; height: 260px; border: 0; border-radius: var(--radius); }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.field input, .field textarea {
  font: inherit; font-weight: 500; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink);
  resize: vertical; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 164, 55, .15); }
.field--error input, .field--error textarea { border-color: #d64545; }
.field__err { color: #c23434; font-weight: 600; }
.form__note { font-size: .8rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 10px; margin-bottom: 18px; font-weight: 600; }
.alert--ok { background: #e9f7ee; color: #1f6b3a; }
.alert .icon { margin-top: 2px; }

/* Подвал */
.footer { background: var(--navy-3); color: #c2cddf; padding: 44px 0 24px; font-size: .92rem; }
.footer__inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__name { color: var(--white); font-weight: 800; margin-bottom: 6px; }
.footer__muted { color: #8796ad; }
.footer__contacts { display: grid; gap: 6px; text-align: right; }
.footer__contacts a { text-decoration: none; }
.footer__contacts a:hover { color: var(--gold); }
.footer__copy { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .08); color: #6f7f97; font-size: .82rem; }

/* Появление при прокрутке */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Адаптив */
/* Узбекские пункты меню длиннее — телефон прячем раньше, бургер включаем с 1080px */
@media (max-width: 1240px) {
  .header__phone { display: none; }
}
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .lang { margin-left: auto; }
  .burger {
    display: grid; place-items: center;
    width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  }
  .burger span, .burger span::before, .burger span::after {
    display: block; width: 24px; height: 2px; background: var(--navy); position: relative; transition: transform .2s, background .2s;
  }
  .burger span::before, .burger span::after { content: ''; position: absolute; left: 0; }
  .burger span::before { top: -7px; }
  .burger span::after { top: 7px; }
  .burger--open span { background: transparent; }
  .burger--open span::before { transform: translateY(7px) rotate(45deg); }
  .burger--open span::after { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--white);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .nav--open { display: flex; }
  .nav a { padding: 14px 20px; border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .hero__inner, .about, .contact, .flex { grid-template-columns: 1fr; gap: 36px; }
  .terms { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .hero { padding: 56px 0 64px; }
  .hero__actions .btn { width: 100%; }
  .terms, .steps { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .footer__contacts { text-align: left; }
  .brand__sub { display: none; }
}
