/* P2 «Кинематографичный скролл». Все цвета, размеры и кривые: в :root. */

@font-face {
  font-family: "Geologica";
  src: url("../shared/fonts/geologica.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Цвет: холодная светлая основа, тёмно-синий как текст и фон сцен */
  --c-bg: #EEF2F7;
  --c-bg-alt: #E4EAF3;
  --c-surface: #F8FAFD;
  --c-line: #CAD4E2;
  --c-line-strong: #9DAAC0;
  --c-ink: #193769;
  --c-ink-soft: #4A5A7C;
  --c-navy: #193769;
  --c-navy-deep: #112850;
  --c-on-dark: #EAF0F8;
  --c-on-dark-soft: #B4C1D8;
  --c-on-dark-line: rgba(234, 240, 248, 0.18);
  --c-accent: #F9C525;
  --c-accent-hover: #FFD54D;
  --c-on-accent: #193769;
  --c-error: #A8363B;
  --c-error-bg: #F7E6E7;
  --c-need-bg: rgba(249, 197, 37, 0.16);
  --c-need-line: #B08A12;
  --c-need-bg-dark: rgba(249, 197, 37, 0.14);
  --c-need-line-dark: #E9C35A;

  /* Сиденья на схеме */
  --seat-empty: rgba(234, 240, 248, 0.34);
  --seat-full: var(--c-accent);
  --plane-fill: rgba(234, 240, 248, 0.05);
  --plane-line: #8FA2C4;

  /* Шрифт */
  --font: "Geologica", "Segoe UI", system-ui, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.3125rem;
  --fs-lg: clamp(1.375rem, 1.1rem + 0.9vw, 1.75rem);
  --fs-xl: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
  --fs-2xl: clamp(2.5rem, 1.2rem + 5.4vw, 6rem);
  --lh-tight: 1.04;
  --lh-head: 1.14;
  --lh-body: 1.55;
  --sharp: "SHRP" 100;

  /* Отступы */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --section-y: clamp(4.5rem, 3rem + 6vw, 9rem);
  --gutter: 16px;
  --wrap: 1360px;
  --header-h: 64px;

  /* Радиусы по иерархии */
  --r-xs: 2px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-pill: 999px;

  /* Тени: мягкие, тонированные в синий */
  --shadow-1: 0 1px 2px rgba(25, 55, 105, 0.06), 0 8px 24px -12px rgba(25, 55, 105, 0.18);

  /* Движение */
  --dur-fast: 150ms;
  --dur-press: 90ms;
  --dur-mid: 260ms;
  --ease-out: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-std: cubic-bezier(0.2, 0.6, 0.2, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 72px; }
}
@media (min-width: 1440px) {
  :root { --gutter: 40px; }
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font: 400 var(--fs-base)/var(--lh-body) var(--font);
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
main:focus { outline: none; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; border-radius: var(--r-xs); }
.dark :focus-visible, .footer :focus-visible { outline-color: var(--c-accent); }

.skip {
  position: fixed; left: var(--sp-4); top: var(--sp-3); z-index: 100;
  padding: var(--sp-3) var(--sp-4); background: var(--c-accent); color: var(--c-on-accent);
  font-weight: 600; text-decoration: none; border-radius: var(--r-sm);
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

/* Отсутствующие данные */
.need {
  background: var(--c-need-bg);
  text-decoration: underline dashed var(--c-need-line);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  padding: 0 0.2em;
  border-radius: var(--r-xs);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.dark .need { background: var(--c-need-bg-dark); text-decoration-color: var(--c-need-line-dark); }

/* ---------- Типографика ---------- */
.h2 { font-size: var(--fs-xl); line-height: var(--lh-head); font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; max-width: 22ch; }
.h3 { font-size: var(--fs-lg); line-height: var(--lh-head); font-weight: 600; letter-spacing: -0.01em; }
.lead { font-size: var(--fs-md); line-height: 1.45; color: var(--c-ink); max-width: 60ch; }
p { max-width: 68ch; text-wrap: pretty; }

.link, .link-plain {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  transition: text-decoration-color var(--dur-fast) var(--ease-std);
}
.link:hover, .link-plain:hover { text-decoration-color: currentColor; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 44px; padding: 0.625rem 1.125rem;
  border: 1px solid transparent; border-radius: var(--r-sm);
  font-size: var(--fs-sm); font-weight: 600; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-std), border-color var(--dur-fast) var(--ease-std), transform var(--dur-press) var(--ease-std);
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn--primary { background: var(--c-accent); color: var(--c-on-accent); }
.btn--primary:hover { background: var(--c-accent-hover); }
.btn--ghost { background: transparent; color: var(--c-ink); border-color: var(--c-line-strong); }
.btn--ghost:hover { border-color: var(--c-ink); }
.btn--lg { min-height: 52px; padding: 0.875rem 1.5rem; font-size: var(--fs-base); }
.btn[disabled] { opacity: 0.7; cursor: progress; }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-line);
}
.header__in { display: flex; align-items: center; gap: var(--sp-5); height: var(--header-h); }
.header__logo { display: block; flex: none; border-radius: var(--r-xs); }
.header__logo img { width: 128px; height: auto; }
.header__tools { display: flex; align-items: center; gap: var(--sp-3); margin-left: auto; }
.nav { order: 0; }
.nav__list { display: flex; gap: var(--sp-1); }
.nav__list a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--sp-3);
  font-size: var(--fs-sm); font-weight: 500; text-decoration: none; color: var(--c-ink);
  border-radius: var(--r-sm);
  transition: background-color var(--dur-fast) var(--ease-std);
}
.nav__list a:hover { background: var(--c-bg-alt); }
.nav__cta-mobile { display: none; }

.lang { display: flex; border: 1px solid var(--c-line); border-radius: var(--r-sm); padding: 2px; }
.lang button {
  min-width: 40px; min-height: 40px; padding: 0 var(--sp-2);
  border: 0; border-radius: 4px; background: transparent;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.02em; color: var(--c-ink-soft); cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-std), color var(--dur-fast) var(--ease-std);
}
.lang button:hover { color: var(--c-ink); }
.lang button[aria-pressed="true"] { background: var(--c-navy); color: var(--c-on-dark); }

.menu-btn {
  display: none; position: relative; width: 44px; height: 44px; border: 1px solid var(--c-line); border-radius: var(--r-sm);
  background: transparent; cursor: pointer;
}
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after {
  position: absolute; left: 50%; width: 18px; height: 1.5px; margin-left: -9px; background: var(--c-ink);
  transition: transform var(--dur-mid) var(--ease-out), opacity var(--dur-fast);
}
.menu-btn__bars { top: 50%; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; left: 0; margin: 0; }
.menu-btn__bars::before { transform: translateY(-6px); }
.menu-btn__bars::after { transform: translateY(6px); }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: rotate(45deg); background: var(--c-ink); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: rotate(-45deg); background: var(--c-ink); }

@media (min-width: 768px) {
  .header__logo img { width: 168px; }
}

@media (max-width: 1199px) {
  .menu-btn { display: inline-block; }
  .nav { order: 3; }
  .nav__panel {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 40;
    display: flex; flex-direction: column; gap: var(--sp-6);
    padding: var(--sp-6) var(--gutter) var(--sp-7);
    background: var(--c-bg); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity var(--dur-mid) var(--ease-out), transform var(--dur-mid) var(--ease-out), visibility 0s linear var(--dur-mid);
  }
  .nav__panel[data-open] { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { width: 100%; min-height: 56px; padding: 0; font-size: var(--fs-lg); font-weight: 500; border-bottom: 1px solid var(--c-line); border-radius: 0; }
  .nav__list a:hover { background: transparent; }
  .nav__cta-mobile { display: inline-flex; min-height: 52px; }
  html.menu-open { overflow: hidden; }
}
@media (max-width: 767px) {
  .header__cta { display: none; }
  .header__in { gap: var(--sp-3); }
  .lang button { min-width: 38px; }
}

/* ---------- Первый экран ---------- */
.hero {
  display: grid; grid-template-rows: auto 1fr;
  min-height: calc(100dvh - var(--header-h));
  padding-block: clamp(1.75rem, 1rem + 3vw, 3.5rem) var(--gutter);
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
}
.hero__text { display: grid; gap: var(--sp-5); align-items: end; }
.hero__title {
  font-size: var(--fs-2xl); line-height: var(--lh-tight); font-weight: 600; letter-spacing: -0.035em;
  max-width: 13ch; text-wrap: balance;
}
.hero__side { display: grid; gap: var(--sp-5); justify-items: start; }
.hero__lead { font-size: var(--fs-md); line-height: 1.45; color: var(--c-ink-soft); max-width: 40ch; }
.hero__media { display: grid; min-width: 0; }
.hero__frame {
  position: relative; width: 100%; height: 100%; min-height: 260px;
  overflow: hidden; border-radius: var(--r-md); background: var(--c-bg-alt);
}
.hero__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 22%; }

@media (min-width: 1024px) {
  .hero__text { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: var(--sp-7); }
  .hero__frame { min-height: 320px; }
}

/* ---------- Секции ---------- */
.section { padding-block: var(--section-y); }
.photo { position: relative; overflow: hidden; border-radius: var(--r-sm); background: var(--c-bg-alt); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

.about__grid { display: grid; gap: var(--sp-7); align-items: center; }
.about__text { display: grid; gap: var(--sp-5); }
.about__text .h2 { margin-bottom: var(--sp-2); }
.about__text p:not(.lead) { color: var(--c-ink-soft); }
.about__photo { aspect-ratio: 4 / 3; }
@media (min-width: 1024px) {
  .about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp-8); }
  .about__photo { aspect-ratio: 7 / 5; }
}

.services { background: var(--c-bg-alt); }
.services__head { display: grid; gap: var(--sp-6); margin-bottom: var(--sp-7); }
.services__photo { aspect-ratio: 16 / 9; }
.services__list { border-top: 1px solid var(--c-line-strong); }
.service { display: grid; gap: var(--sp-3); padding-block: var(--sp-6); border-bottom: 1px solid var(--c-line); }
.service__title { font-size: var(--fs-lg); line-height: var(--lh-head); font-weight: 600; letter-spacing: -0.01em; }
.service__text { color: var(--c-ink-soft); }
@media (min-width: 1024px) {
  .services__head { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: end; gap: var(--sp-8); }
  .services__photo { aspect-ratio: 21 / 9; }
  .service { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp-8); padding-block: var(--sp-6) var(--sp-7); }
}

/* ---------- Тёмные сцены ---------- */
.dark { background: var(--c-navy); color: var(--c-on-dark); }
.dark .lead { color: var(--c-on-dark); }

/* Сцена 1: флот */
.fleet { padding-bottom: var(--section-y); }
.fleet__stage { padding-top: var(--section-y); }
.fleet__grid { display: grid; gap: var(--sp-7); }
.fleet__text { display: grid; gap: var(--sp-5); align-content: start; }
.fleet__lead { color: var(--c-on-dark-soft); font-size: var(--fs-base); max-width: 44ch; }

.specs { display: grid; margin-top: var(--sp-2); border-top: 1px solid var(--c-on-dark-line); }
.spec { display: grid; grid-template-columns: minmax(7.5rem, 2fr) minmax(0, 3fr); gap: var(--sp-4); padding-block: var(--sp-3); border-bottom: 1px solid var(--c-on-dark-line); }
.spec dt { font-size: var(--fs-sm); color: var(--c-on-dark-soft); padding-top: 0.2em; }
.spec dd { display: grid; gap: var(--sp-1); }
.spec__value { font-size: var(--fs-md); font-weight: 500; line-height: 1.25; font-variation-settings: var(--sharp); font-variant-numeric: tabular-nums; }
.spec__note { font-size: var(--fs-xs); line-height: 1.45; color: var(--c-on-dark-soft); max-width: 46ch; }

.seatmap { display: grid; gap: var(--sp-4); align-content: start; justify-items: center; }
.seatmap__head { position: sticky; top: var(--header-h); z-index: 2; padding-block: var(--sp-3); background: var(--c-navy); display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-4); width: 100%; }
.seatmap__title { font-size: var(--fs-base); font-weight: 600; }
.seatmap__count { font-size: var(--fs-sm); color: var(--c-on-dark-soft); white-space: nowrap; }
.seatmap__num { display: inline-block; min-width: 3ch; text-align: right; color: var(--c-on-dark); font-weight: 600; font-variation-settings: var(--sharp); font-variant-numeric: tabular-nums; }
.seatmap__art { width: 100%; display: flex; justify-content: center; }
.seatmap__caption { font-size: var(--fs-xs); line-height: 1.45; color: var(--c-on-dark-soft); max-width: 60ch; justify-self: start; }

.plane { height: auto; overflow: visible; }
.plane--h { display: none; }
.plane--v { width: min(100%, 400px); }
.plane__frame path { stroke-linejoin: round; }
.plane__body, .plane__wing, .plane__nacelle { fill: var(--plane-fill); stroke: var(--plane-line); stroke-width: 1.3; }
.plane__body { fill: var(--c-navy); }
.plane__nacelle { fill: rgba(234, 240, 248, 0.08); }
.plane__fin { fill: rgba(143, 162, 196, 0.35); stroke: var(--plane-line); stroke-width: 1; }
.plane__glass { fill: rgba(143, 162, 196, 0.55); }
.plane__detail { fill: none; stroke: var(--plane-line); stroke-width: 0.8; stroke-dasharray: 3 4; opacity: 0.6; }
.plane__seats rect { fill: none; stroke: var(--seat-empty); stroke-width: 1; }
.plane__fill rect { fill: var(--seat-full); }

@media (min-width: 1024px) {
  .fleet__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp-8); align-items: start; }
  .plane--h { display: block; width: 100%; max-height: calc(100dvh - var(--header-h) - 11rem); }
  .plane--v { display: none; }
  .seatmap__head { position: static; padding-block: 0; }
}
/* Пин на десктопе: сцена занимает экран под шапкой */
@media (min-width: 1024px) and (min-height: 700px) {
  .fleet__stage { min-height: calc(100dvh - var(--header-h)); padding-block: var(--sp-7) var(--sp-6); display: flex; align-items: center; }
  .fleet__stage > .wrap { width: 100%; }
  .fleet .h2 { font-size: clamp(2rem, 1.2rem + 2vw, 3rem); }
}

.fleet__photo { margin-top: var(--sp-8); }
.photo--wide { aspect-ratio: 16 / 9; background: var(--c-navy-deep); overflow: visible; border-radius: 0; }
.photo--wide img { border-radius: var(--r-sm); }
.photo__note { margin-top: var(--sp-3); font-size: var(--fs-xs); line-height: 1.45; color: var(--c-on-dark-soft); max-width: 70ch; }
@media (min-width: 1024px) {
  .photo--wide { aspect-ratio: 21 / 9; }
}

/* ---------- Преимущества ---------- */
.adv__grid { display: grid; gap: var(--sp-7); }
.adv__aside { display: grid; gap: var(--sp-6); align-content: start; }
.adv__photo { aspect-ratio: 4 / 3; }
.adv__list { display: grid; }
.adv-item { display: grid; gap: var(--sp-2); padding-block: var(--sp-5); border-top: 1px solid var(--c-line); }
.adv-item:first-child { border-top-color: var(--c-line-strong); }
.adv-item__title { font-size: var(--fs-md); line-height: 1.3; font-weight: 600; }
.adv-item p { color: var(--c-ink-soft); }
@media (min-width: 1024px) {
  .adv__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--sp-8); column-gap: clamp(4rem, 8vw, 9rem); }
  .adv__list { align-content: start; }
  .adv-item { padding-block: var(--sp-6); }
}

/* ---------- Сцена 2: как это работает ---------- */
.process__stage { padding-block: var(--section-y); }
.process .h2 { margin-bottom: var(--sp-8); }
.route { position: relative; }
.route__line { position: absolute; overflow: visible; pointer-events: none; }
.route__base { fill: none; stroke: var(--c-on-dark-line); stroke-width: 2; }
.route__draw { fill: none; stroke: var(--c-on-dark); stroke-width: 2; stroke-dasharray: 1000 1000; stroke-dashoffset: 0; }

.steps { display: grid; counter-reset: none; }
.step { position: relative; display: grid; gap: var(--sp-2); align-content: start; }
.step__point {
  position: absolute; display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%;
  background: var(--c-navy); box-shadow: inset 0 0 0 1.5px var(--c-on-dark);
}
.step__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-on-dark); }
.step__num { font-size: var(--fs-sm); font-weight: 500; color: var(--c-on-dark-soft); font-variation-settings: var(--sharp); font-variant-numeric: tabular-nums; }
.step__title { font-size: var(--fs-lg); line-height: var(--lh-head); font-weight: 600; letter-spacing: -0.01em; }
.step__text { font-size: var(--fs-sm); color: var(--c-on-dark-soft); max-width: 34ch; }

/* Вертикальная линия (мобильный, планшет) */
.route__line--h { display: none; }
.route__line--v { left: 5.5px; width: 4px; height: calc(100% - 0.35rem - 7.5px); }
.steps { gap: var(--sp-7); padding-left: 2.75rem; }
.step__point { left: -2.75rem; top: 0.35rem; }
.route__line--v { top: calc(0.35rem + 7.5px); }

@media (min-width: 1024px) {
  .route__line--v { display: none; }
  .route__line--h { display: block; left: 7.5px; top: 5.5px; height: 4px; width: calc(100% - (100% - 4 * var(--sp-6)) / 5); }
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--sp-6); padding-left: 0; }
  .step { padding-top: var(--sp-7); }
  .step__point { left: 0; top: 0; }
}
@media (min-width: 1024px) and (min-height: 700px) {
  .process__stage { min-height: calc(100dvh - var(--header-h)); display: flex; align-items: center; padding-block: var(--sp-8); }
  .process__stage > .wrap { width: 100%; }
}

/* ---------- Документы ---------- */
.docs__grid { display: grid; gap: var(--sp-7); align-items: center; }
.docs__text { display: grid; gap: var(--sp-5); }
.docs__text > p:last-child { color: var(--c-ink-soft); }
.docs__status { display: flex; gap: var(--sp-3); align-items: baseline; font-size: var(--fs-md); font-weight: 500; line-height: 1.35; }
.docs__mark { flex: none; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--c-ink); transform: translateY(-1px); }
.docs__sheet {
  display: grid; place-items: center; aspect-ratio: 210 / 297; width: min(100%, 360px); justify-self: center;
  padding: var(--sp-6); text-align: center; color: var(--c-ink-soft); font-size: var(--fs-sm);
  background: var(--c-surface); border: 1px dashed var(--c-line-strong); border-radius: var(--r-xs);
  box-shadow: var(--shadow-1);
}
@media (min-width: 1024px) {
  .docs__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--sp-8); }
}

/* ---------- Форма ---------- */
.quote { background: var(--c-bg-alt); }
.quote__grid { display: grid; gap: var(--sp-7); }
.quote__intro { display: grid; gap: var(--sp-5); align-content: start; }
.quote__intro .lead { color: var(--c-ink-soft); font-size: var(--fs-base); }
.quote__direct { font-size: var(--fs-md); font-weight: 500; line-height: 1.6; }
.quote__box { background: var(--c-surface); border-radius: var(--r-md); padding: clamp(1.25rem, 0.8rem + 2vw, 2.5rem); box-shadow: var(--shadow-1); }
@media (min-width: 1024px) {
  .quote__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp-8); }
}

.form { display: grid; gap: var(--sp-5); }
.form__row { display: grid; gap: var(--sp-5); }
@media (min-width: 640px) { .form__row { grid-template-columns: 3fr 2fr; } }
.field { display: grid; gap: var(--sp-2); }
.field label { font-size: var(--fs-sm); font-weight: 600; }
.field__opt { font-weight: 400; color: var(--c-ink-soft); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.875rem;
  background: var(--c-bg); border: 1px solid var(--c-line-strong); border-radius: var(--r-sm);
  font-size: var(--fs-base); line-height: 1.4;
  transition: border-color var(--dur-fast) var(--ease-std), background-color var(--dur-fast) var(--ease-std);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #7381A0; }
.field input:hover, .field textarea:hover { border-color: var(--c-ink-soft); }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 1px; border-color: var(--c-ink); background: var(--c-surface); }
.field__hint { font-size: var(--fs-xs); color: var(--c-ink-soft); }
.field__error { font-size: var(--fs-sm); color: var(--c-error); font-weight: 500; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--c-error); background: var(--c-error-bg); }
.form__summary { padding: var(--sp-3) var(--sp-4); border-radius: var(--r-sm); background: var(--c-error-bg); color: var(--c-error); font-weight: 500; font-size: var(--fs-sm); }
.form__submit { justify-self: start; }
@media (max-width: 639px) { .form__submit { width: 100%; } }
.form__consent { font-size: var(--fs-xs); line-height: 1.5; color: var(--c-ink-soft); }
.form__consent a { text-underline-offset: 0.2em; }
.form.is-sending { opacity: 0.85; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-ok { display: grid; gap: var(--sp-4); justify-items: start; padding-block: var(--sp-5); }
.form-ok__title { font-size: var(--fs-lg); font-weight: 600; line-height: var(--lh-head); }
.form-ok p { color: var(--c-ink-soft); }

/* ---------- Контакты ---------- */
.contacts { padding-bottom: var(--sp-8); }
.contacts .h2 { margin-bottom: var(--sp-7); }
.contacts__list { display: grid; gap: 0; border-top: 1px solid var(--c-line-strong); }
.contact { display: grid; gap: var(--sp-2); padding-block: var(--sp-5); border-bottom: 1px solid var(--c-line); }
.contact dt { font-size: var(--fs-sm); color: var(--c-ink-soft); }
.contact dd { font-size: var(--fs-base); line-height: 1.6; }
.contact__big { display: inline-block; font-size: var(--fs-lg); font-weight: 500; text-decoration: none; padding-block: 0.15em; overflow-wrap: anywhere; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--dur-mid) var(--ease-out); }
.contact__big:hover { background-size: 100% 1px; }
.contact .link { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 768px) {
  .contacts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--sp-7); }
}
@media (min-width: 1024px) {
  .contact { grid-template-columns: minmax(8rem, 1fr) minmax(0, 3fr); gap: var(--sp-5); }
}

.privacy { padding-top: 0; }
.privacy__in { display: grid; gap: var(--sp-3); padding-top: var(--sp-7); border-top: 1px solid var(--c-line); }
.privacy p { color: var(--c-ink-soft); font-size: var(--fs-sm); }

/* ---------- Подвал ---------- */
.footer { background: var(--c-navy-deep); color: var(--c-on-dark); padding-block: var(--sp-8) var(--sp-6); font-size: var(--fs-sm); }
.footer__grid { display: grid; gap: var(--sp-6); }
.footer__brand { display: grid; gap: var(--sp-4); align-content: start; }
.footer__brand img { width: 150px; }
.footer__brand p { color: var(--c-on-dark-soft); }
.footer a { text-decoration: none; color: var(--c-on-dark); display: inline-flex; align-items: center; min-height: 44px; transition: color var(--dur-fast) var(--ease-std); }
.footer a:hover { color: var(--c-accent); }
.footer__nav, .footer__contacts, .footer__legal { display: grid; align-content: start; }
.footer__legal a { color: var(--c-on-dark-soft); }
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1.4fr 1fr; gap: var(--sp-6); }
}

/* ---------- Без движения ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .btn:active { transform: none; }
}

/* Крупнее схема на десктопе: законцовки крыльев уходят за край кадра,
   зато салон и кресла читаются. Высота кадра ограничена экраном под шапкой. */
@media (min-width: 1024px) {
  .fleet__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .seatmap__art {
    height: calc(100dvh - var(--header-h) - 12rem);
    min-height: 360px;
    overflow: hidden;
    align-items: center;
  }
  .plane--h { flex: none; width: 128%; max-height: none; }
}
