/* Badaboom — фирменный стиль по брендбуку Марины (палитра и шрифты присланы 07.09.2026).
   Мир сайта один — песочная бумага, мятное небо, жёлтый самолёт; тёмной темы намеренно нет. */
:root {
  --sand: #E8E0D0;        /* Melisse 10 — фон */
  --paper: #FBF7EF;       /* карточки, чуть светлее песка */
  --white: #FFFFFF;
  --yellow: #FCBF1B;      /* Ginster 130 */
  --yellow-soft: #FACC70; /* Ginster 140 */
  --mint: #7FC0C8;        /* Verona 105 */
  --mint-soft: #CADBD7;   /* Verona 85 */
  --terra: #CC7E6B;       /* Lachs 115 */
  --blue: #4A8BC1;        /* Lazur 135 */
  --muted: #686C6F;       /* Venato 15 */
  --ink: #2F3639;         /* текст: тёмный серо-синий, темнее Venato ради читаемости */
  --board: #0F2A33;       /* табло цен — с её же прайс-листа */
  --board-line: #1E4652;
  --radius: 22px;
  --radius-s: 14px;
  --shadow: 0 10px 30px rgba(47, 54, 57, .10);
  --display: "Unbounded", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Balsamiq Sans", "Nunito", cursive;
  --mono: "PT Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
/* ⚠ 12.09: атрибут hidden обязан побеждать display из классов. Иначе меню на телефоне открыто всегда —
   у .mobile-nav свой display:flex. Поймано на живом показе с экрана телефона. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .plane animateMotion, .cloud { animation: none !important; } }
body {
  margin: 0; background: var(--sand); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 8px; z-index: 100; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* ── типографика ── */
.h2 { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.15; letter-spacing: -.01em; margin-bottom: 14px; }
.h2-light { color: var(--white); }
.h3 { font-family: var(--display); font-weight: 700; font-size: 20px; margin: 26px 0 10px; }
.sub { font-size: 18px; color: var(--muted); max-width: 62ch; }
.sub-light { color: var(--mint-soft); }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.small-note { font-size: 14px; color: var(--muted); }
.note-hand { font-family: var(--hand); font-size: 20px; color: var(--terra); margin-top: 22px; }

/* ── кнопки ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px;
  font: 700 16px var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 16px 28px; font-size: 17px; }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 6px 18px rgba(252, 191, 27, .35); }
.btn-yellow:hover { background: #FFC93A; }
.btn-mint { background: var(--mint); color: var(--white); }
.btn-mint:hover { background: #71B6BF; }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(47, 54, 57, .25); }
.btn-ghost:hover { border-color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }

/* ── шапка ── */
.top { position: sticky; top: 0; z-index: 50; background: rgba(232, 224, 208, .92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(47, 54, 57, .08); }
.top-in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand img { width: 130px; height: auto; }
.nav { display: flex; gap: 22px; margin-left: 10px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--yellow); }
.top-cta { margin-left: auto; display: flex; gap: 10px; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.burger span { display: block; width: 24px; height: 3px; background: var(--ink); border-radius: 2px; }
.mobile-nav { display: flex; flex-direction: column; padding: 8px 20px 18px; gap: 4px; background: var(--paper); border-bottom: 1px solid rgba(47, 54, 57, .08); }
.mobile-nav a { padding: 12px 6px; text-decoration: none; color: var(--ink); font-weight: 700; border-bottom: 1px solid rgba(47, 54, 57, .06); }

/* ── герой ── */
.hero { padding: 48px 0 30px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -.015em; }
.lead { font-size: 19px; margin: 20px 0 26px; max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: var(--muted); }
.hero-facts li::before { content: "✈ "; color: var(--yellow); }
.hero-facts b { color: var(--ink); }
.hero-visual { position: relative; }
.sky { position: relative; background: var(--mint); border-radius: 34px; padding: 26px 26px 0; overflow: hidden; min-height: 440px; }
.sky-path { position: absolute; inset: 0; width: 100%; height: 100%; }
.sky-pilot { position: relative; z-index: 1; width: min(92%, 470px); margin: 150px auto 0; border-radius: 26px 26px 0 0; aspect-ratio: 41 / 23; object-fit: cover; box-shadow: 0 -10px 40px rgba(15, 42, 51, .18); }
.cloud { animation: drift 26s linear infinite; transform-origin: center; }
.cloud.c2 { animation-duration: 34s; animation-delay: -12s; }
.cloud.c3 { animation-duration: 40s; animation-delay: -20s; }
@keyframes drift { from { transform: translateX(-30px); } 50% { transform: translateX(30px); } to { transform: translateX(-30px); } }
.hero-pass { position: absolute; left: -18px; bottom: 34px; z-index: 2; width: min(360px, 90%); transform: rotate(-4deg); }

/* ── посадочный билет ── */
.pass { display: grid; grid-template-columns: 1fr 74px; background: var(--white); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; color: var(--ink); }
.pass-main { padding: 16px 18px 14px; }
.pass-head { display: flex; justify-content: space-between; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.pass-route { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin-bottom: 12px; }
.pass-route small, .pass-grid small { display: block; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.pass-route b { font-family: var(--display); font-size: 22px; font-weight: 900; }
.pass-plane { color: var(--mint); font-size: 22px; }
.pass-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pass-grid.two { grid-template-columns: 1fr 1fr; }
.pass-grid b { font-family: var(--mono); font-size: 14px; }
.pass-stub { border-left: 2px dashed var(--mint-soft); background: var(--yellow); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 10px 6px; }
.pass-stub small { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.barcode { width: 34px; height: 64px; background: repeating-linear-gradient(180deg, var(--ink) 0 2px, transparent 2px 5px, var(--ink) 5px 6px, transparent 6px 9px); opacity: .85; }
.pass-big { font-family: var(--display); font-weight: 900; font-size: 40px; line-height: 1; margin: 4px 0 12px; }
.pass-big small { font: 700 14px var(--body); color: var(--muted); }

/* ── почему спокойно ── */
.calm { padding: 44px 0 20px; }
.calm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.calm-item { background: var(--paper); border-radius: var(--radius); padding: 22px 22px 8px; border-top: 6px solid var(--mint-soft); }
.calm-item:nth-child(2) { border-top-color: var(--yellow-soft); }
.calm-item:nth-child(3) { border-top-color: var(--terra); }
.calm-item:nth-child(4) { border-top-color: var(--mint); }
.calm-item h3 { font-family: var(--display); font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.calm-item p { font-size: 15.5px; color: var(--muted); }

/* ── зоны ── */
.zones { padding: 50px 0 30px; }
.zones-head { margin-bottom: 26px; }
.zones-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.zone { border-radius: var(--radius); overflow: hidden; margin: 0; }
.zone-photo img { aspect-ratio: 20 / 21; object-fit: cover; width: 100%; }
.zone-photo figcaption { background: var(--paper); padding: 14px 18px 16px; }
.zone-photo figcaption b { display: block; font-family: var(--display); font-size: 15px; margin-bottom: 4px; }
.zone-photo figcaption span { color: var(--muted); font-size: 14.5px; }
.zone-list { grid-column: 1 / -1; background: var(--mint-soft); padding: 22px 26px; }
.zone-list ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 26px; }
.zone-list li::before { content: "✈ "; color: var(--blue); }
.zone-list b { display: inline; }

/* ── табло цен ── */
.board-section { background: var(--board); color: var(--white); padding: 56px 0; margin: 30px 0; }
.board-head { margin-bottom: 26px; }
.board { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--board-line); border-radius: var(--radius-s); overflow: hidden; }
.board-col + .board-col { border-left: 1px solid var(--board-line); }
.board-title { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow-soft); padding: 14px 20px; border-bottom: 1px solid var(--board-line); }
.board-row { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 20px; font-family: var(--mono); font-size: 18px; letter-spacing: .04em; text-transform: uppercase; border-bottom: 1px solid var(--board-line); }
.board-row:last-child { border-bottom: 0; }
.board-row b { font-weight: 400; font-variant-numeric: tabular-nums; }
.board-hot { color: var(--yellow); }
.board-note { margin-top: 18px; color: var(--mint-soft); font-size: 15px; max-width: 70ch; }

/* ── запись ── */
.book { padding: 20px 0 40px; }
.book-in, .miles-in, .cabinet-in, .contacts-in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.book-steps { padding-left: 0; list-style: none; counter-reset: s; margin: 20px 0 0; }
.book-steps li { counter-increment: s; position: relative; padding: 6px 0 6px 44px; }
.book-steps li::before { content: counter(s); position: absolute; left: 0; top: 4px; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); font: 700 14px var(--display); display: grid; place-items: center; }
.card { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.form { display: flex; flex-direction: column; gap: 14px; }
.form-title { font-family: var(--display); font-size: 18px; font-weight: 700; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; color: var(--muted); flex: 1; }
.form input, .form select, .form textarea { font: 400 16px var(--body); color: var(--ink); padding: 11px 12px; border: 2px solid var(--mint-soft); border-radius: 12px; background: var(--white); min-width: 0; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--mint); outline: none; }
.f-row { display: flex; gap: 12px; }
.f-total { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: baseline; background: var(--paper); border-radius: 12px; padding: 12px 14px; }
.f-total span { font-size: 14px; color: var(--muted); font-weight: 700; }
.f-total b { font-family: var(--display); font-size: 24px; font-variant-numeric: tabular-nums; }
.f-total small { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.f-hint { font-size: 14px; color: var(--muted); min-height: 1.4em; margin: 0; }
.f-hint.ok { color: #1F7A4D; }
.f-hint.err { color: #B4433A; }
.check { flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; font-size: 13.5px !important; }
.check input { width: 18px; height: 18px; margin-top: 2px; flex: none; }
select option[data-load="busy"] { color: var(--terra); }

/* ── абонементы ── */
.passes { padding: 30px 0 40px; }
.pass-grid { display: grid; }
.passes .pass-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pass-buy .pass-grid.two b { font-size: 15px; }
.pass-buy:nth-child(2) .pass-stub, .pass-buy:nth-child(4) .pass-stub { background: var(--mint); }

/* ── день рождения ── */
.birthday { padding: 40px 0; background: var(--paper); }
.bd-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.gate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gate { background: var(--white); border-radius: var(--radius-s); padding: 18px; border: 2px solid var(--mint-soft); }
.gate-code { font-family: var(--mono); font-size: 22px; letter-spacing: .12em; color: var(--blue); }
.gate p { color: var(--muted); font-size: 15px; margin: 4px 0 10px; }
.gate dl { margin: 0; display: grid; gap: 6px; }
.gate dl div { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; }
.gate dt { color: var(--muted); }
.gate dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; }
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.program { background: var(--white); border-radius: var(--radius-s); padding: 18px; border: 2px solid transparent; }
.program-hit { border-color: var(--yellow); position: relative; }
.program-hit::after { content: "хит"; position: absolute; top: -12px; right: 14px; background: var(--yellow); border-radius: 999px; padding: 2px 10px; font: 700 12px var(--body); }
.program-code { font-family: var(--display); font-size: 34px; font-weight: 900; color: var(--mint); line-height: 1; }
.program h4 { font-family: var(--display); font-size: 16px; margin: 8px 0 6px; }
.program p { font-size: 14.5px; color: var(--muted); margin: 0; }
.program ul { margin: 8px 0 0; padding-left: 18px; font-size: 14px; color: var(--muted); }

/* ── мили ── */
.miles { padding: 50px 0; }
.pass-miles { max-width: 460px; transform: rotate(2deg); }
.miles-planes { font-size: 26px; color: var(--mint); letter-spacing: .3em; line-height: 1.4; margin: 6px 0 12px; }

/* ── о нас ── */
.about { padding: 30px 0 50px; background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; }
.about-story p { max-width: 62ch; }
.quote { margin: 22px 0; padding: 18px 22px; border-left: 4px solid var(--yellow); background: var(--white); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.quote p { margin: 0 0 6px; font-size: 17px; }
.quote cite { font-style: normal; font-weight: 700; color: var(--muted); font-size: 14px; }
.quote-hand { border-left-color: var(--mint); }
.quote-hand p { font-family: var(--hand); font-size: 19px; }
.crew { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 12px; }
.crew li { display: grid; grid-template-columns: 48px 1fr; gap: 4px 14px; background: var(--white); padding: 14px; border-radius: var(--radius-s); }
.crew-ava { grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; background: var(--mint-soft); display: grid; place-items: center; font-size: 24px; }
.crew b { font-family: var(--display); font-size: 15px; }
.crew span:not(.crew-ava) { color: var(--muted); font-size: 14.5px; }

/* ── отзывы ── */
.reviews { padding: 50px 0; }
.reviews-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: start; }
.reviews-links { display: grid; gap: 12px; }
.link-card { display: block; text-decoration: none; color: var(--ink); background: var(--white); border-radius: var(--radius-s); padding: 18px 20px; box-shadow: var(--shadow); }
.link-card b { display: block; font-family: var(--display); font-size: 15px; }
.link-card span { color: var(--muted); font-size: 14.5px; }
.link-card:hover { outline: 3px solid var(--yellow-soft); }

/* ── кабинет ── */
.cabinet { padding: 40px 0; background: var(--mint); color: var(--white); }
.cabinet .h2 { color: var(--white); }
.cabinet .sub, .cabinet .small-note { color: rgba(255, 255, 255, .9); }
.cabinet-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; align-self: center; }
.cabinet-list li { background: rgba(255, 255, 255, .18); border-radius: 12px; padding: 12px 16px; font-weight: 700; }
.cabinet-list li::before { content: "✓ "; color: var(--yellow); }

/* ── контакты ── */
.contacts { padding: 50px 0; }
.contact-list { margin: 0 0 20px; display: grid; gap: 12px; }
.contact-list div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; }
.contact-list dt { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-top: 4px; }
.contact-list dd { margin: 0; font-size: 18px; font-weight: 700; }
.contact-list a { color: var(--ink); }
.contacts-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }

/* ── футер ── */
.foot { background: var(--board); color: var(--mint-soft); padding: 40px 0 28px; }
.foot-in { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 30px; align-items: start; }
.foot-brand img { width: 130px; margin-bottom: 12px; }
.foot-brand p, .foot-legal p { font-size: 14.5px; }
.foot-sub b { color: var(--white); font-family: var(--display); font-size: 15px; }
.foot-sub label { color: var(--mint-soft); }
.foot-sub .f-row { align-items: flex-end; }
.foot-sub .f-row .btn { flex: none; }
.foot-legal a { color: var(--yellow-soft); }
.foot .small-note { color: var(--mint-soft); }

/* ── адаптив ── */
@media (max-width: 1040px) {
  .calm-grid, .passes .pass-grid { grid-template-columns: repeat(2, 1fr); }
  .zones-grid { grid-template-columns: 1fr 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}
@media (max-width: 860px) {
  .hero-in, .book-in, .miles-in, .cabinet-in, .contacts-in, .bd-grid, .about-grid, .reviews-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero { padding-top: 24px; }
  .hero-pass { position: relative; left: auto; bottom: auto; margin: -50px auto 0; transform: rotate(-2deg); }
  .sky { min-height: 360px; }
  .sky-pilot { margin-top: 110px; }
  .top-cta { display: none; }
  .burger { display: flex; }
  .programs, .gate-grid { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
  .contact-list div { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: min(1180px, 100% - 28px); }
  .calm-grid, .passes .pass-grid, .zones-grid { grid-template-columns: 1fr; }
  .board { grid-template-columns: 1fr; }
  .board-col + .board-col { border-left: 0; border-top: 1px solid var(--board-line); }
  .board-row { font-size: 16px; }
  .f-row { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .pass-route b { font-size: 18px; }
  .pass-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 861px) { .mobile-nav { display: none !important; } }
