/* Badaboom — фирменный стиль по брендбуку Марины (палитра 07.09.2026, шрифт Comfortaa — её правки 28.10.2026).
   Мир сайта один — светлая бумага, мятное небо, жёлтый самолёт; тёмной темы намеренно нет. */
:root {
  --sand: #F8F3EA;        /* фон: светлый кремовый — Марина 12.09: «бежевый смотрится грязно», как у сайта-образца */
  --paper: #FFFCF7;       /* карточки, чуть светлее фона */
  --white: #FFFFFF;
  --yellow: #FCBF1B;      /* Ginster 130 */
  --yellow-soft: #FACC70; /* Ginster 140 */
  --mint: #7FC0C8;        /* Verona 105 */
  --mint-soft: #CADBD7;   /* Verona 85 */
  --teal: #5E9A9A;        /* линии её табличек и плакатов */
  --terra: #CC7E6B;       /* Lachs 115 */
  --blue: #4A8BC1;        /* Lazur 135 */
  --muted: #62676A;       /* Venato 15 */
  --ink: #2F3639;         /* текст: тёмный серо-синий, темнее Venato ради читаемости */
  --board: #0F2A33;       /* табло цен — с её же прайс-листа */
  --board-line: rgba(202, 219, 215, .32);
  --radius: 30px;
  --radius-s: 20px;
  --shadow: 0 10px 30px rgba(47, 54, 57, .10);
  --font: "Comfortaa", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
/* ⚠ 12.09: атрибут hidden обязан побеждать display из классов. Иначе меню на телефоне открыто всегда —
   у .mobile-nav свой display:flex. Поймано на живом показе с экрана телефона. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .blob img { transition: none; } }
body {
  margin: 0; background: var(--sand); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -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-weight: 700; font-size: clamp(24px, 3vw, 36px); line-height: 1.2; margin-bottom: 14px; }
.h2-light { color: var(--white); }
.h3 { font-weight: 700; font-size: 19px; margin: 26px 0 10px; }
.sub { font-size: 17px; color: var(--muted); max-width: 64ch; }
.sub-light { color: var(--mint-soft); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.small-note { font-size: 14px; color: var(--muted); }
.note-hand { font-size: 17px; font-weight: 600; 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 15px var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.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; }

/* ── шапка: сплошной фон (Марина 28.10 обвела полупрозрачную шапку на телефоне — через неё просвечивало фото) ── */
.top { position: sticky; top: 0; z-index: 50; background: var(--sand); border-bottom: 1px solid rgba(47, 54, 57, .08); }
.top-in { display: flex; align-items: center; gap: 28px; min-height: 76px; padding: 8px 0; }
.brand { flex: none; }
.brand img { width: 150px; height: auto; } /* Марина 30.10: знак голубой, без плашки (её жёлтый знак, перекрашенный в Verona 105) */
.nav { display: flex; gap: 18px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14.5px; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover { border-bottom-color: var(--yellow); }
/* Марина 30.10: «Цены» и «Дни рождения» — нашим бирюзовым, как главные пункты в шапке HERO PARK */
.nav a.hot, .mobile-nav a.hot { color: var(--teal); }
.nav a.hot { border-bottom-color: var(--mint); }
.top-cta { margin-left: auto; display: flex; gap: 10px; }
.top-cta .btn { padding: 10px 16px; font-size: 14.5px; white-space: nowrap; }
.lbl-short { display: none; }
.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: 2px; background: var(--paper); border-bottom: 1px solid rgba(47, 54, 57, .08); max-height: calc(100vh - 70px); overflow-y: auto; }
.mobile-nav a { padding: 12px 6px; text-decoration: none; color: var(--ink); font-weight: 700; border-bottom: 1px solid rgba(47, 54, 57, .06); }

/* ── плашка «Приватный рейс» над шапкой (Марина 30.10: «закрепить вверху, чтобы сразу видели») ── */
.promo-bar { display: block; padding: 9px 16px; line-height: 1.5;
  background: var(--board); color: var(--mint-soft); font-size: 14.5px; text-align: center; text-decoration: none; }
.promo-bar b { color: var(--white); }
.promo-plane { color: var(--yellow); }
.promo-price { color: var(--yellow); font-weight: 700; }
.promo-more { color: var(--white); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; margin-left: 12px; }
.promo-bar:hover .promo-more { color: var(--yellow); }

/* ── графика фона: самолёты с пунктиром, паспорта, чемоданы (Марина 28.10) ── */
.has-deco { position: relative; isolation: isolate; }
.deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.deco svg { position: absolute; }
.d-flight { width: 210px; height: 90px; color: var(--yellow); opacity: .55; }
.d-flight.blue { color: var(--mint); opacity: .7; }
.d-pass { width: 46px; height: 58px; color: var(--teal); opacity: .38; }
.d-case { width: 62px; height: 56px; color: var(--teal); opacity: .34; }
.deco-dark .d-flight { color: var(--yellow-soft); opacity: .28; }

/* ── герой ── */
.hero { padding: 44px 0 30px; }
.hero-in { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.hero h1 { font-weight: 700; font-size: clamp(24px, 2.7vw, 34px); line-height: 1.25; }
.lead { font-size: 16.5px; margin: 18px 0 24px; max-width: 60ch; }
.lead p { margin: 0 0 12px; }
/* список с жёлтыми самолётиками — вместо перечислений через запятую (Марина 30.10: «сплошной текст не читается») */
.plane-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 4px; }
.plane-list li { position: relative; padding-left: 26px; }
.plane-list li::before { content: "✈"; position: absolute; left: 2px; top: 0; color: var(--yellow); }
.plane-list-light { color: var(--mint-soft); font-size: 16px; max-width: 64ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.hero-facts li::before { content: "✈ "; color: var(--yellow); }
.hero-facts b { color: var(--ink); }
.hero-visual { position: relative; }
/* Карусель фото («капля»). Кнопки — её самолётик из брендбука (Марина 28.10: «заменить на наши») */
.carousel { display: grid; grid-template-columns: 54px 1fr 54px; align-items: center; gap: 10px; }
.blob { position: relative; aspect-ratio: 1 / 1.04; overflow: hidden; background: var(--mint-soft); box-shadow: var(--shadow);
  border-radius: 58% 42% 56% 44% / 46% 52% 48% 54%; }
.blob img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .55s ease; }
.blob img.is-on { opacity: 1; }
.car-btn { width: 54px; height: 54px; padding: 0; border: 0; background: none; cursor: pointer; transition: transform .15s; }
.car-btn img { width: 100%; height: 100%; filter: drop-shadow(0 6px 10px rgba(47, 54, 57, .18)); }
.car-btn.next img { transform: rotate(45deg); }    /* нос самолёта в её знаке смотрит вверх-вправо */
.car-btn.prev img { transform: rotate(-135deg); }
.car-btn:hover { transform: translateY(-2px); }
.car-dots { grid-column: 1 / -1; display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.car-dot { width: 9px; height: 9px; border-radius: 999px; border: 0; padding: 0; background: var(--mint-soft); cursor: pointer; transition: width .2s, background .2s; }
.car-dot.is-on { width: 24px; background: var(--blue); }
.car-cap { grid-column: 1 / -1; text-align: center; font-size: 15px; font-weight: 700; color: var(--teal); margin: 12px 0 0; min-height: 1.6em; }
.car-cap + .car-dots { margin-top: 6px; }
.hero-tag { text-align: center; font-size: 16px; font-weight: 600; color: var(--muted); margin: 16px 0 0; }

/* ── посадочный билет (мили) ── */
.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-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.pass-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pass-grid small { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.pass-grid b { 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-size: 10px; font-weight: 700; 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; }

/* ── почему спокойно ── */
.calm { padding: 44px 0 20px; }
.calm-title { max-width: 34ch; font-size: clamp(21px, 2.4vw, 30px); margin-bottom: 24px; }
.calm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.calm-item { background: var(--paper); border-radius: 32px; padding: 22px 24px 10px; box-shadow: var(--shadow); }
.calm-item::before { content: ""; display: block; width: 46px; height: 10px; border-radius: 999px; background: var(--mint-soft); margin-bottom: 14px; }
.calm-item:nth-child(2)::before { background: var(--yellow-soft); }
.calm-item:nth-child(3)::before { background: var(--terra); }
.calm-item:nth-child(4)::before { background: var(--blue); }
.calm-item h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.calm-item p { font-size: 14.5px; line-height: 1.5; color: var(--muted); }

/* ── карта полёта по парку: 5 фото с подписями (3 + 2) ── */
.zones { padding: 50px 0 30px; }
.zones-head { margin-bottom: 26px; }
.zones-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.zone { border-radius: var(--radius); overflow: hidden; margin: 0; background: var(--paper); box-shadow: var(--shadow); display: flex; flex-direction: column; grid-column: span 2; }
.zone:nth-child(4), .zone:nth-child(5) { grid-column: span 3; }
.zone-photo img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.zone:nth-child(4) img, .zone:nth-child(5) img { aspect-ratio: 16 / 9; }
.zone-photo figcaption { padding: 14px 18px 18px; }
.zone-photo figcaption b { display: block; font-size: 15.5px; margin-bottom: 4px; }
.zone-photo figcaption span { color: var(--muted); font-size: 14px; }

/* ── табло: цены и абонементы (как её слайды — тёмная доска и пунктирные строки) ── */
.board-section { background: var(--board); color: var(--white); padding: 56px 0; margin: 30px 0 0; }
.board-section + .board-section { margin-top: 0; padding-top: 10px; }
.board-head { margin-bottom: 24px; }
.board { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.board-title { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); padding: 12px 0; border-bottom: 2px dotted var(--board-line); }
.board-row { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; font-size: 20px; border-bottom: 2px dotted var(--board-line); }
.board-row b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.board-hot { color: var(--yellow); }
.board-row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.board-row3 > :not(:first-child) { text-align: right; }
.board-sub { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mint-soft); padding: 10px 0 6px; }
.board-note { margin-top: 20px; color: var(--mint-soft); font-size: 15px; max-width: 70ch; }
.board-note p { margin: 0 0 4px; }
.board-promo { margin-top: 14px; max-width: 70ch; color: var(--mint-soft); font-size: 15px; }
.board-promo b { color: var(--yellow); font-size: 18px; }
.board-promo ul { margin: 6px 0 6px; padding-left: 20px; }
.board-promo small { font-size: 13.5px; }
.board-passes { padding-bottom: 56px; }

/* ── запись ── */
.book { padding: 50px 0 50px; }
.book-in, .miles-in, .cabinet-in, .contacts-in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.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-size: 18px; font-weight: 700; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--muted); flex: 1; min-width: 0; }
.form input, .form select, .form textarea { font: 500 15px var(--font); color: var(--ink); padding: 11px 12px; border: 2px solid var(--mint-soft); border-radius: 12px; background: var(--white); min-width: 0; width: 100%; }
.form select:disabled { opacity: .5; }
.form input[type="date"] { -webkit-appearance: none; appearance: none; display: block; min-height: 47px; text-align: left; }
.form input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--mint); outline: none; }
.f-row { display: flex; gap: 12px; }
.f-total { display: flex; flex-direction: column; gap: 2px; background: var(--paper); border-radius: 12px; padding: 12px 14px; }
.f-total span { font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.f-total b { font-size: 26px; line-height: 1.25; font-variant-numeric: tabular-nums; }
.f-total s { font-size: 16px; color: var(--muted); font-weight: 600; margin-left: 8px; }
.f-total small { font-size: 13px; color: var(--muted); line-height: 1.5; }
.f-hint { font-size: 14px; color: var(--muted); min-height: 1.4em; margin: 0; }
.f-hint.ok { color: #1F7A4D; }
.f-hint.err { color: #B4433A; }
/* Строка статуса формы: embed.js ставит ей класс crm-status (is-ok / is-err) вместо f-hint. */
.crm-status { font-size: 14px; color: var(--muted); min-height: 1.4em; margin: 0; }
.crm-status.is-ok { color: #1F7A4D; }
.crm-status.is-err { color: #B4433A; }
.check { flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-weight: 600 !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); }

/* ── день рождения ── */
.birthday { padding: 50px 0; background: var(--paper); }
.bd-top { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; margin-bottom: 30px; }
.bd-top .bd-rooms .h3 { margin-top: 0; }
.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-size: 22px; font-weight: 700; letter-spacing: .06em; color: var(--blue); }
.gate p { color: var(--muted); font-size: 14px; 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: 14.5px; }
.gate dt { color: var(--muted); }
.gate dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bd-rooms .gate-grid + .small-note { margin-top: 12px; }
.bd-tickets p { margin: 0 0 6px; }
.bd-tickets .plane-list { margin-bottom: 8px; }
.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; display: flex; flex-direction: column; }
.program-code { font-size: 34px; font-weight: 700; color: var(--mint); line-height: 1; }
.program h4 { font-size: 15px; margin: 8px 0 6px; }
.program ul { margin: 8px 0 0; padding-left: 18px; font-size: 13.5px; color: var(--muted); }
.program-price { margin: auto 0 0; padding-top: 12px; display: grid; gap: 4px; font-size: 13.5px; }
.program-price div { display: flex; justify-content: space-between; gap: 8px; border-top: 1px dashed var(--mint-soft); padding-top: 4px; }
.program-price dt { color: var(--muted); }
.program-price dd { margin: 0; font-weight: 700; white-space: nowrap; }
/* Пакеты праздника из CRM: embed.js рисует их классами crm-pkg* — тот же вид, что у карточек программ выше. */
.crm-pkg { background: var(--white); border-radius: var(--radius-s); padding: 18px; border: 2px solid transparent; position: relative; }
.crm-pkg-hit { border-color: var(--yellow); }
.crm-pkg-hit::after { content: "хит"; position: absolute; top: -12px; right: 14px; background: var(--yellow); border-radius: 999px; padding: 2px 10px; font: 700 12px var(--font); }
.crm-pkg-icon { font-size: 34px; font-weight: 700; color: var(--mint); line-height: 1; }
.crm-pkg h4 { font-size: 15px; margin: 8px 0 6px; }
.crm-pkg p { font-size: 14px; color: var(--muted); margin: 0; }
.crm-pkg ul { margin: 8px 0 0; padding-left: 18px; font-size: 13.5px; color: var(--muted); }

/* ── приватный рейс: весь парк (её флаер 28.10) ── */
.private { display: grid; grid-template-columns: .95fr 1.05fr; gap: 40px; align-items: center; margin-top: 50px; padding: 30px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.private-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.private-photos img { width: 100%; aspect-ratio: 430 / 765; object-fit: cover; border-radius: 50% 50% 14% 14% / 28% 28% 8% 8%; } /* арки — как на её флаере */
.private-text .h2 { margin-bottom: 12px; }
.flights { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.flight { background: var(--board); color: var(--white); border-radius: var(--radius-s); padding: 16px 18px; display: grid; gap: 2px; }
.flight small { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mint); }
.flight b { font-size: 28px; color: var(--yellow); }
.flight span { font-size: 13px; color: var(--mint-soft); }
.occasions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.occasions span { padding: 6px 14px; border-radius: 999px; border: 2px solid var(--yellow-soft); font-size: 13.5px; font-weight: 700; }

/* ── мили ── */
.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: 40px 0 50px; background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; }
.quote { margin: 10px 0 0; padding: 22px 26px; border-left: 4px solid var(--yellow); background: var(--white); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.quote p { margin: 0 0 12px; font-size: 16px; max-width: 64ch; }
.quote .quote-key { font-weight: 700; color: var(--teal); }
.quote cite { font-style: normal; font-weight: 700; color: var(--teal); font-size: 14.5px; }
.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-size: 15px; }
.crew span:not(.crew-ava) { color: var(--muted); font-size: 14px; }
.crew-note { display: block; font-style: normal; font-weight: 700; color: var(--terra); margin-top: 4px; }

/* ── правила: коротко на главной, полные — pravila.html ── */
.rules { padding: 50px 0 30px; }
.rules-short { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rules-short li { background: var(--paper); border-radius: var(--radius-s); padding: 18px 20px 18px 54px; position: relative; box-shadow: var(--shadow); font-size: 15px; }
.rules-short li::before { content: ""; position: absolute; left: 18px; top: 20px; width: 22px; height: 14px; background: url("../img/plane-mark.png") center / contain no-repeat; transform: rotate(45deg) scale(1.4); }
.rules-foot { margin-top: 22px; text-align: center; }
.rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rules-card { background: var(--paper); border-radius: 32px; padding: 24px 26px; box-shadow: var(--shadow); }
.rules-card.wide { grid-column: 1 / -1; background: var(--mint-soft); }
.rules-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 12px; }
.rules-card ul, .rules-card ol { margin: 0; padding-left: 22px; line-height: 1.5; font-size: 15px; }
.rules-card li + li { margin-top: 7px; }
.rules-card .rules-compact { columns: 2; column-gap: 22px; }
.rules-card .rules-compact li { break-inside: avoid; margin-top: 4px; }
.rules-note { margin: 14px 0 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.rules-page { padding-top: 34px; }
.rules-page .h3 { font-size: 22px; margin: 34px 0 14px; }
.rules-posters { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ── частые вопросы ── */
.faq { padding: 30px 0 50px; }
.faq-in { max-width: 860px; }
.faq-list { display: grid; gap: 10px; margin-top: 10px; }
.faq details { background: var(--white); border-radius: var(--radius-s); box-shadow: var(--shadow); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 24px; color: var(--teal); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p, .faq details .plane-list { margin: 0 0 10px; color: var(--muted); font-size: 15px; }
.faq details > :last-child { margin-bottom: 18px; }

/* ── отзывы ── */
.reviews { padding: 30px 0 50px; }
.reviews-links-row { display: grid; grid-template-columns: repeat(3, 1fr); 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-size: 15px; }
.link-card span { color: var(--muted); font-size: 14px; }
.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, .92); }
.cabinet .small-note a { color: var(--white); font-weight: 700; }
.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; font-size: 15px; }
.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-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding-top: 4px; }
.contact-list dd { margin: 0; font-size: 17px; font-weight: 700; }
.contact-list a { color: var(--ink); }
.contacts-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.ask p { margin: 8px 0 14px; }
.ask .contacts-actions { margin-bottom: 0; }
.ask .small-note { margin: 14px 0 0; }

/* ── связь с директором (Марина 01.11) ── */
.director { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-top: 64px; scroll-margin-top: 90px; }
.director-text .sub + .sub { margin-top: 10px; }
.director-text .plane-list { margin: 14px 0 16px; }
.director-sign { margin-top: 16px; font-style: italic; color: var(--muted); }
.form .opt { font-weight: 500; color: var(--muted); opacity: .8; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form input[type="file"] { padding: 9px 10px; font-size: 14px; }
.f-legal { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 0; }
.f-legal a { color: inherit; }

/* ── футер ── */
.foot { background: var(--board); color: var(--mint-soft); padding: 40px 0 28px; }
.foot-in { display: grid; grid-template-columns: 1fr 1.4fr; gap: 30px; align-items: start; }
.foot-brand img { width: 160px; margin-bottom: 14px; }
.foot-brand p, .foot-legal p { font-size: 14px; }
.foot-legal a { color: var(--yellow-soft); }
.foot .small-note { color: var(--mint-soft); }

/* ── адаптив ── */
@media (max-width: 1320px) {
  .nav { gap: 13px; }
  .nav a { font-size: 14px; }
  .top-in { gap: 18px; }
  .brand img { width: 136px; }
}
/* шапка с двумя кнопками справа не помещается раньше остальной вёрстки — меню уходит в «бургер» с 1200 px */
@media (max-width: 1200px) {
  .nav { display: none; }
  .burger { display: flex; margin-left: 0; }
  .top-cta { margin-left: auto; }
}
@media (max-width: 1040px) {
  .calm-grid { grid-template-columns: repeat(2, 1fr); }
  .rules-grid { grid-template-columns: 1fr; }
  .rules-card .rules-compact { columns: 1; }
  .zones-grid { grid-template-columns: 1fr 1fr; }
  .zone, .zone:nth-child(4), .zone:nth-child(5) { grid-column: span 1; }
  .zone:nth-child(5) { grid-column: 1 / -1; }
  .zone:nth-child(4) img { aspect-ratio: 4 / 3; }
  .private { grid-template-columns: 1fr; }
  .private-photos { max-width: 560px; }
}
@media (max-width: 860px) {
  .hero-in, .book-in, .miles-in, .cabinet-in, .contacts-in, .director, .bd-grid, .bd-top, .about-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero { padding-top: 24px; }
  .carousel { max-width: 460px; margin: 0 auto; width: 100%; }
  .programs, .gate-grid, .reviews-links-row, .rules-short { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
  .contact-list div { grid-template-columns: 1fr; gap: 2px; }
  .d-desk { display: none; }
  .deco .d-flight { width: 150px; height: 64px; }
}
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  /* Марина 30.10: «очень близко к краю» — поля шире от края экрана */
  .wrap { width: min(1180px, 100% - 40px); }
  .card { padding: 20px 18px; }
  /* шапка на телефоне — низкая: логотип не наезжает на фото (Марина 28.10, снимок экрана) */
  .top-in { min-height: 60px; gap: 8px; padding: 6px 0; }
  .brand img { width: 96px; }
  .top-cta { gap: 6px; }
  .top-cta .btn { padding: 8px 11px; font-size: 13px; }
  .lbl-long { display: none; }
  .lbl-short { display: inline; }
  .burger { width: 36px; }
  .promo-bar { font-size: 13.5px; padding: 8px 14px; }
  .promo-more { display: none; }   /* на телефоне ссылка — вся плашка; подчёркнута цена */
  .promo-price { text-decoration: underline; text-underline-offset: 3px; }
  .calm-grid, .zones-grid { grid-template-columns: 1fr; }
  .zone:nth-child(5) { grid-column: auto; }
  .zone:nth-child(5) img { aspect-ratio: 4 / 3; }
  .board { grid-template-columns: 1fr; }
  .board-col + .board-col { margin-top: 18px; }
  .board-row { font-size: 17px; }
  .board-row3:not(.board-sub) { font-size: 15px; }
  .board-sub { font-size: 10.5px; letter-spacing: .05em; }
  .f-row { flex-direction: column; }
  .hero-actions .btn { width: 100%; padding-inline: 14px; }
  .carousel { grid-template-columns: 44px 1fr 44px; gap: 6px; }
  .car-btn { width: 44px; height: 44px; }
  .flights { grid-template-columns: 1fr; }
  .private { padding: 20px; }
}
@media (min-width: 1201px) { .mobile-nav { display: none !important; } }
