:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --tint: #f1f5f4;
  --text: #1c2526;
  --muted: #5b6668;
  --border: #e3e7e6;
  --accent: #0f766e;
  --accent-hover: #0b5f58;
  --accent-soft: #d8efec;
  --warm: #f59e0b;
  --on-accent: #ffffff;
  --shadow: 0 12px 32px rgba(20, 40, 40, 0.08);
  --radius: 16px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111716;
    --surface: #182120;
    --tint: #141c1b;
    --text: #e8eeed;
    --muted: #9aa8a6;
    --border: #2a3533;
    --accent: #2dd4bf;
    --accent-hover: #5eead4;
    --accent-soft: #123a36;
    --on-accent: #062522;
    --shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  }
}

:root[data-theme="dark"] {
  --bg: #111716;
  --surface: #182120;
  --tint: #141c1b;
  --text: #e8eeed;
  --muted: #9aa8a6;
  --border: #2a3533;
  --accent: #2dd4bf;
  --accent-hover: #5eead4;
  --accent-soft: #123a36;
  --on-accent: #062522;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
}

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.container--narrow {
  max-width: 720px;
}

/* Кнопки */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 12px;
  border: 2px solid var(--accent);
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
}

.btn--ghost:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.btn--small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn--block {
  display: block;
  width: 100%;
}

/* Шапка */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.logo {
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.nav a:hover {
  color: var(--text);
}

/* Первый экран */
.hero {
  padding: 72px 0 88px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 560px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 32px;
}

.hero__facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero__facts strong {
  display: block;
  color: var(--text);
  font-size: 1.1rem;
}

.ticket {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.ticket__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 2px dashed var(--border);
}

.ticket__city {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.ticket__plane {
  font-size: 1.6rem;
  color: var(--warm);
}

.ticket__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.ticket__meta span:last-child {
  color: var(--accent);
  font-weight: 700;
}

.ticket__days {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.ticket__days li {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--tint);
  font-size: 0.95rem;
}

.ticket__days b {
  color: var(--accent);
  margin-right: 6px;
}

/* Секции */
.section {
  padding: 88px 0;
}

.section--tint {
  background: var(--tint);
}

.section__lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 40px;
  max-width: 640px;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.service,
.price {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.service--accent {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.service__icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.service p {
  color: var(--muted);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 8px;
}

.checklist li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
  margin-right: 10px;
}

/* Шаги */
.steps {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 800;
  margin-bottom: 16px;
}

.step p {
  color: var(--muted);
  margin: 0;
}

/* Цены */
.price {
  position: relative;
  display: flex;
  flex-direction: column;
}

.price--popular {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow);
}

.price__badge {
  position: absolute;
  top: -13px;
  left: 32px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--warm);
  color: #3b2400;
  font-size: 0.8rem;
  font-weight: 800;
}

.price__value {
  font-size: 2rem;
  font-weight: 800;
  margin: 4px 0 8px;
}

.price__note {
  color: var(--muted);
  flex: 1;
  margin: 0 0 24px;
}

.hint {
  margin: 24px 0 0;
  color: var(--muted);
  text-align: center;
}

/* Форма */
.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  gap: 18px;
  box-shadow: var(--shadow);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: grid;
  gap: 6px;
}

.field span {
  font-weight: 600;
  font-size: 0.95rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}

.form__status {
  margin: 0;
  min-height: 1.6em;
  text-align: center;
  color: var(--accent);
  font-weight: 600;
}

/* FAQ */
.faq {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
}

.faq p {
  color: var(--muted);
  margin: 12px 0 0;
}

/* Подвал */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Адаптив */
@media (max-width: 900px) {
  .hero__inner,
  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__card {
    max-width: 420px;
  }

  .nav {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 40px 0 56px;
  }

  .section {
    padding: 56px 0;
  }

  .steps,
  .form__row {
    grid-template-columns: 1fr;
  }

  .service,
  .price,
  .form {
    padding: 24px;
  }

  .logo {
    font-size: 0.95rem;
  }

  .ticket {
    transform: none;
  }
}

.form__honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form__status--error {
  color: #dc2626;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.btn:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}
