:root {
  --bg: #f4f6f8;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: rgba(17, 24, 39, 0.08);
  --shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
  --accent: #b7d300;
  --accent-dark: #9ab700;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font: inherit;
}

/* =========================
   TOP BAR
   ========================= */

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 16px 18px 0;
  background: linear-gradient(
    to bottom,
    rgba(244, 246, 248, 0.98),
    rgba(244, 246, 248, 0.92)
  );
  backdrop-filter: blur(10px);
}

.topbar__inner {
  height: 72px;
  max-width: 1600px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 22px;
}

.topbar__brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.topbar__logo {
  height: 42px;
  width: auto;
  display: block;
}

/* Навигация */
.topbar__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
}

.topbar__nav > a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  opacity: 0.92;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.topbar__nav > a:hover {
  color: var(--accent-dark);
  opacity: 1;
}

/* =========================
   DROPDOWN "НАЧАТЬ ЛЕТАТЬ"
   ========================= */

.topbar__dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-bottom: 18px;   /* зона между кнопкой и меню */
  margin-bottom: -18px;   /* чтобы не увеличивать высоту шапки */
}

.topbar__dropdown-btn {
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  cursor: default;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.92;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.topbar__dropdown-btn:hover {
  color: var(--accent-dark);
  opacity: 1;
}

.topbar__dropdown-arrow {
  font-size: 12px;
  line-height: 1;
  transform: translateY(1px);
}

.topbar__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;

  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;

  transition-delay: 0.15s;
}

/* Открытие без задержки */
.topbar__dropdown:hover .topbar__dropdown-menu,
.topbar__dropdown:focus-within .topbar__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0s;
}

.topbar__dropdown-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: background 0.2s ease, color 0.2s ease;
}

.topbar__dropdown-menu a:hover {
  background: rgba(183, 211, 0, 0.12);
  color: var(--accent-dark);
}

/* =========================
   RIGHT SIDE IVAO ICON
   ========================= */

.topbar__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.topbar__ivao-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.topbar__ivao-link:hover {
  background: rgba(183, 211, 0, 0.10);
  transform: translateY(-1px);
}

.topbar__ivao-logo {
  max-width: 34px;
  max-height: 34px;
  width: auto;
  height: auto;
  display: block;
}

/* =========================
   PAGE / HERO
   ========================= */

.page {
  max-width: 1600px;
  margin: 0 auto;
  padding: 24px 18px 60px;
}

.hero {
  min-height: 520px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(183, 211, 0, 0.14), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #eef2f7 45%, #e6ebf2 100%);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 64px;
}

.hero__content {
  max-width: 760px;
}

.hero__content h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero__content p {
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 680px;
}

.hero__buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* =========================
   BUTTONS
   ========================= */

.btn {
  height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  color: #1b1b1b;
}

.btn--primary:hover {
  background: var(--accent-dark);
}

/* =========================
   SECTIONS
   ========================= */

.section {
  margin-top: 28px;
  padding: 40px 0 0;
  scroll-margin-top: 110px;
}

.section__header {
  margin-bottom: 22px;
}

.section__header h2 {
  margin: 0 0 10px;
  font-size: 34px;
  letter-spacing: -0.03em;
}

.section__header p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  max-width: 760px;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 28px;
  line-height: 1.7;
  color: var(--text);
}

/* =========================
   FLEET
   ========================= */

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.fleet-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fleet-card:hover {
  transform: translateY(-2px);
}

.fleet-card h3 {
  margin: 0 0 16px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.fleet-card p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.55;
}

.fleet-card p strong {
  color: var(--text);
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1100px) {
  .topbar__nav {
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .topbar__nav::-webkit-scrollbar {
    display: none;
  }

  .hero {
    padding: 42px;
  }

  .fleet-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .topbar__inner {
    gap: 14px;
    padding: 0 16px;
  }

  .topbar__nav {
    gap: 16px;
    justify-content: flex-end;
  }

  .hero {
    min-height: auto;
    padding: 28px;
    border-radius: 22px;
  }

  .topbar__logo {
    height: 36px;
  }

  .topbar__ivao-link {
    width: 46px;
    height: 46px;
  }

  .topbar__ivao-logo {
    max-width: 28px;
    max-height: 28px;
  }

  .hero__content p {
    font-size: 16px;
  }

  .section__header h2 {
    font-size: 28px;
  }

  .info-card,
  .fleet-card {
    padding: 22px;
  }
}