:root {
  --ink: #0b1b3f;
  --ink-2: #33415e;
  --muted: #6a7892;
  --blue: #0678d1;
  --blue-2: #0567b4;
  --sky: #3fa3e8;
  --sky-50: #f2f8fd;
  --sky-100: #e2f0fb;
  --line: #e3ebf6;
  --white: #ffffff;
  --green: #12b76a;
  --radius: 20px;
  --shadow-sm: 0 1px 2px rgba(11, 27, 63, .04), 0 4px 12px rgba(11, 27, 63, .04);
  --shadow: 0 2px 4px rgba(11, 27, 63, .03), 0 18px 40px -12px rgba(30, 80, 170, .18);
  --shadow-lg: 0 30px 70px -20px rgba(30, 80, 170, .30);
  color-scheme: light;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -0.025em; }
p { margin: 0; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.icon { width: 18px; height: 18px; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 28px;
  border-radius: 14px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: 15.5px;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary {
  color: #fff;
  background: var(--blue);
}
.btn-primary:hover { background: var(--blue-2); }
.btn-light { color: var(--ink); background: #fff; border-color: var(--line); }
.btn-light:hover { border-color: #c4ddf1; }
.btn-light .tg { color: #229ed9; }
.btn-sm { height: 42px; padding: 0 18px; border-radius: 12px; font-size: 14.5px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -12px rgba(11, 27, 63, .12); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }

.logo { display: inline-flex; align-items: center; }
.logo img { height: 40px; width: auto; }

.nav { display: flex; gap: 30px; }
.nav a { color: var(--ink-2); font-weight: 600; font-size: 15px; position: relative; padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--blue); transform: scaleX(0); transition: transform .2s;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; font-size: 15px; }
.header-phone .icon { color: var(--blue); width: 16px; height: 16px; }

.burger {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 96px;
  background: linear-gradient(180deg, #e6f1fb 0%, #f4f9fd 55%, #ffffff 100%);
}
.sky { position: absolute; inset: 0; pointer-events: none; }
.cloud {
  position: absolute; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0));
}
.c1 { width: 520px; height: 220px; top: 40px; left: -120px; }
.c2 { width: 640px; height: 260px; top: -60px; right: -160px; }
.c3 { width: 420px; height: 180px; bottom: 30px; left: 38%; }
.flight-arc { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center;
}
.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(34px, 5.2vw, 60px);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.06;
}
.grad {
  background: linear-gradient(95deg, var(--blue) 0%, var(--sky) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 18px; color: var(--ink-2); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 30px; }
.trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.trust .icon {
  width: 20px; height: 20px; padding: 4px; border-radius: 50%;
  background: rgba(18, 183, 106, .12); color: var(--green);
}

/* Ticket visual */
.hero-visual { position: relative; padding: 56px 10px 48px; }
.ticket {
  position: relative; max-width: 420px; margin: 0 auto;
  background: #fff; border-radius: 26px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(227, 235, 246, .8);
  transform: rotate(-3deg);
}
.ticket-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px 0; }
.ticket-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--ink); font-size: 15px; }
.ticket-brand svg { width: 28px; height: 18px; }
.ticket-tag { font-size: 12px; font-weight: 700; color: var(--blue); background: var(--sky-100); padding: 5px 10px; border-radius: 999px; }

.ticket-route { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 26px 26px 22px; }
.city b { display: block; font-size: 40px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.city span { font-size: 13px; color: var(--muted); font-weight: 600; }
.city.right { text-align: right; }
.path { position: relative; flex: 1; height: 24px; display: flex; align-items: center; justify-content: center; }
.path .line { position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed #b5d4ee; }
.path .plane {
  position: relative; width: 34px; height: 34px; padding: 7px;
  background: var(--blue); color: #fff;
  border-radius: 50%; transform: rotate(90deg);
}

.ticket-info { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; padding: 0 26px 24px; }
.ticket-info small { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.ticket-info b { font-size: 15px; color: var(--ink); font-weight: 700; }
.ticket-info .ok { color: var(--green); }

.ticket-tear { position: relative; height: 0; border-top: 2px dashed var(--line); margin: 0 18px; }
.ticket-tear::before, .ticket-tear::after {
  content: ""; position: absolute; top: -14px; width: 26px; height: 26px; border-radius: 50%;
  background: #ecf5fc; box-shadow: inset 0 0 0 1px rgba(227, 235, 246, .8);
}
.ticket-tear::before { left: -32px; }
.ticket-tear::after { right: -32px; }
.ticket-foot { display: flex; align-items: center; justify-content: space-between; padding: 18px 26px 22px; }
.barcode {
  width: 170px; height: 38px; border-radius: 4px;
  background: repeating-linear-gradient(90deg,
    var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px,
    var(--ink) 8px 11px, transparent 11px 13px, var(--ink) 13px 14px, transparent 14px 17px);
  opacity: .85;
}
.ticket-site { font-size: 13px; font-weight: 700; color: var(--muted); }

.float-chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 16px;
  background: rgba(255, 255, 255, .92); border: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.float-chip b { display: block; color: var(--ink); font-size: 14px; line-height: 1.2; }
.float-chip small { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.chip-icon {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(18, 183, 106, .12); color: var(--green);
}
.chip-year {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue); color: #fff; font-weight: 800; font-size: 16px;
}
.chip-a { top: -6px; right: -18px; }
.chip-b { bottom: 0; left: -24px; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Strip ---------- */
.strip { position: relative; margin-top: -40px; z-index: 2; }
.strip-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px 8px;
}
.strip-grid > div { text-align: center; padding: 0 16px; border-right: 1px solid var(--line); }
.strip-grid > div:last-child { border-right: 0; }
.strip-grid b { display: block; font-size: 24px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.strip-grid span { font-size: 14px; color: var(--muted); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-soft { background: linear-gradient(180deg, var(--sky-50), #fff); }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head.left { text-align: left; margin: 0; }
.kicker {
  display: inline-block; margin-bottom: 14px;
  font-size: 15px; font-weight: 700; color: var(--blue);
}
.section-head h2, .payment-copy h2, .request-copy h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.section-head p { margin-top: 16px; font-size: 17px; color: var(--muted); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  position: relative; padding: 30px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.card:hover { border-color: #cfe2f3; }
.card-icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, var(--sky-100), #f2f8fd); color: var(--blue);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--muted); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.steps li {
  position: relative; padding: 32px 30px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 20px;
  background: var(--blue); color: #fff; font-weight: 800; font-size: 16px;
}
.steps h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; }

/* Payment */
.payment { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.payment-copy p { margin-top: 18px; font-size: 17px; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); }
.checks .icon { width: 26px; height: 26px; padding: 5px; border-radius: 8px; background: var(--sky-100); color: var(--blue); }

.invoice {
  position: relative; padding: 30px; border-radius: 24px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.invoice-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-weight: 800; color: var(--ink); font-size: 18px; }
.invoice-badge { font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: #fff5e6; color: #c77700; }
.invoice-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.invoice-row span { color: var(--muted); }
.invoice-row b { color: var(--ink); text-align: right; }
.invoice-bar { margin-top: 22px; height: 8px; border-radius: 8px; background: var(--sky-100); overflow: hidden; }
.invoice-bar span { display: block; width: 72%; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--blue), var(--sky)); }

/* Request */
.request { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.request-copy p { margin-top: 18px; font-size: 17px; color: var(--muted); }
.contact-tiles { display: grid; gap: 12px; margin-top: 28px; scroll-margin-top: 100px; }
.tile {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.tile:hover { border-color: #c4ddf1; }
.tile-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--sky-100); color: var(--blue); flex: none; }
.tile-icon .icon { width: 20px; height: 20px; }
.tile-icon.tg-bg { background: #e3f4fc; color: #229ed9; }
.tile small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.tile b { color: var(--ink); font-size: 16px; }

.form {
  display: grid; gap: 18px; padding: 36px;
  background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-lg);
}
.form h3 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--ink);
  padding: 14px 16px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fbfdff;
  transition: border-color .2s, box-shadow .2s, background .2s;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #a3afc2; }
.field input:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--blue);
}
.field.invalid input { border-color: #f04438; }
.form .btn { margin-top: 4px; height: 58px; font-size: 16px; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; }
.form-note.error { color: #d92d20; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-done { place-items: center; text-align: center; align-content: center; min-height: 380px; gap: 12px; }
.form-done p { color: var(--muted); font-size: 16px; }
.done-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(18, 183, 106, .12); color: var(--green); margin-bottom: 6px; }
.done-icon .icon { width: 30px; height: 30px; }
[hidden] { display: none !important; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px;
  transition: border-color .2s, box-shadow .2s;
}
.faq details[open] { border-color: #cbe0f2; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 32px 18px 0; position: relative;
  font-weight: 700; color: var(--ink); font-size: 16.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 20px; color: var(--muted); font-size: 15.5px; }

/* Footer */
.footer { background: var(--sky-50); border-top: 1px solid var(--line); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 16px; color: var(--muted); font-size: 15px; max-width: 340px; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col h4 { font-size: 16px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.footer-col a, .footer-col span { color: var(--ink-2); font-size: 15px; font-weight: 500; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  display: flex; justify-content: space-between; margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--line); font-size: 14px; color: var(--muted);
}
.footer-bottom a { color: var(--muted); font-weight: 600; }

/* Floating Telegram button (mobile) */
.fab {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 70;
  width: 58px; height: 58px; border-radius: 50%; display: none; place-items: center;
  background: linear-gradient(135deg, #2aabee, #229ed9); color: #fff;
  box-shadow: 0 4px 14px rgba(11, 27, 63, .15);
}
.fab .icon { width: 26px; height: 26px; margin-left: -2px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .header-phone span { display: none; }
  .header-phone { width: 42px; height: 42px; justify-content: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 24px 20px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(11, 27, 63, .2);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }

  .hero { padding: 48px 0 88px; }
  .hero-grid, .payment, .request, .faq-wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; }
  .lead { margin: 0 auto; }
  .hero-actions, .trust { justify-content: center; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .strip-grid > div:nth-child(2) { border-right: 0; }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .fab { display: grid; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .header-inner { height: 66px; }
  .nav { top: 66px; }
  .logo img { height: 34px; }
  .header-actions { gap: 8px; }
  .header-actions .btn-sm { display: none; }

  .hero h1 { font-size: 34px; margin: 0 0 16px; }
  .lead { font-size: 16.5px; }
  .hero-actions { flex-direction: column; margin: 28px 0 24px; }
  .hero-actions .btn { width: 100%; }
  .trust { flex-direction: column; align-items: center; gap: 10px; }

  .flight-arc { display: none; }
  .hero-visual { padding: 56px 0 44px; }
  .ticket { transform: rotate(-2deg); }
  .ticket-head, .ticket-route, .ticket-info, .ticket-foot { padding-left: 20px; padding-right: 20px; }
  .city b { font-size: 32px; }
  .barcode { width: 130px; }
  .float-chip { padding: 10px 12px 10px 10px; }
  .chip-a { right: -4px; top: 0; }
  .chip-b { left: -4px; bottom: 0; }

  .strip { margin-top: -48px; }
  .strip-grid { padding: 22px 4px; }
  .strip-grid b { font-size: 20px; }
  .strip-grid span { font-size: 13px; }

  .section { padding: 68px 0; }
  .section-head { margin-bottom: 36px; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 24px 22px; }
  .payment { gap: 40px; }
  .invoice { padding: 22px; }
  .invoice-row { font-size: 14px; }
  .form { padding: 24px 20px; border-radius: 22px; }
  .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-chip { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
