/* Локальные шрифты Manrope и Prata (152-ФЗ — без обращений к внешним серверам Google Fonts) */
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/manrope-6.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/manrope-1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/manrope-2.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/manrope-4.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/manrope-5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/manrope-3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/manrope-6.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/manrope-1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/manrope-2.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/manrope-4.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/manrope-5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/manrope-3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/manrope-6.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/manrope-1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/manrope-2.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/manrope-4.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/manrope-5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/manrope-3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/manrope-6.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/manrope-1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/manrope-2.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/manrope-4.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/manrope-5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/manrope-3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/manrope-6.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/manrope-1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/manrope-2.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/manrope-4.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/manrope-5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/manrope-3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Prata';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/prata-8.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Prata';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/prata-9.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Prata';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/prata-7.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin */
@font-face {
  font-family: 'Prata';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/prata-10.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   САЙТ «крыЛО» — ЗОЛОТЫЕ ПРАВИЛА ПРОДАЮЩЕГО ДИЗАЙНА
   60% — Тёмная стальная ночь (#0b151c, #0f202c)
   30% — Светлая бумага и приглушённое серебро (#efeee9, #a9bac5)
   10% — Холодный ледяной акцент (#c4e3f8) только для главного действия
   ========================================================================== */

:root {
  --dark: #0b151c;
  --deep: #0f202c;
  --steel: #1b303d;
  --ice: #c4e3f8;
  --ice-hover: #d8eefc;
  --paper: #efeee9;
  --ink: #182630;
  --muted: #a9bac5;
  --text-lead: rgba(239, 238, 233, 0.86);
  --border-subtle: rgba(196, 227, 248, 0.14);
  --border-strong: rgba(196, 227, 248, 0.28);
  --header-h: 88px;
  --container-w: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--dark);
  color: var(--paper);
}

body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--dark);
  color: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

h1, h2, h3, p, dl, dt, dd {
  margin: 0;
}

h1, h2, h3 {
  text-wrap: balance;
}

p, dd {
  text-wrap: pretty;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ice);
  color: var(--ink);
  font-weight: 700;
  border-radius: 8px;
}

.skip-link:focus {
  left: 16px;
}

:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 2px;
}

.shell {
  width: min(var(--container-w), calc(100% - clamp(40px, 7vw, 120px)));
  margin-inline: auto;
}

/* ==========================================================================
   ПРАВИЛО №1: ШАПКА САЙТА (HEADER) — 1 ЭТАЖ (78px), ПРОЗРАЧНАЯ ВВЕРХУ, 3 ЗОНЫ
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  height: var(--header-h);
  background: none;
  border: 0;
  box-shadow: none;
  transform: translateZ(0);
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(11, 21, 28, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 -1px 0 var(--border-subtle);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.site-header.is-scrolled::before,
.site-header.site-header--solid::before {
  opacity: 1;
}

.site-header.site-header--solid {
  background: rgba(11, 21, 28, 0.96);
  box-shadow: inset 0 -1px 0 var(--border-subtle);
}

.site-header.site-header--solid::before {
  transition: none;
}

.header-inner {
  width: min(1420px, calc(100% - clamp(24px, 3.8vw, 60px)));
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Зона 1: Логотип с крылом + Дескриптор (увеличен в ~1.5x и смещён левее) */
.header-zone-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.brand-lockup-svg {
  display: block;
  width: auto;
  height: 68px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 10px rgba(4, 10, 15, 0.55));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-word {
  font-family: 'Prata', Georgia, serif;
  font-size: 27px;
  line-height: 1;
  letter-spacing: 0.01em;
  font-weight: 400;
  background: linear-gradient(180deg, #FFFFFF 0%, #E2E9F0 58%, #9BB0C1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 8px rgba(4, 10, 15, 0.65));
}

.brand-word b {
  font-weight: 400;
  letter-spacing: 0.03em;
  background: linear-gradient(180deg, #E3F3FF 0%, #C4E3F8 52%, #7FA8C9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-sub {
  display: block;
  font-size: 7.5px;
  letter-spacing: 0.26em;
  font-weight: 700;
  color: var(--muted);
  margin-top: 5px;
}

.header-divider {
  width: 1px;
  height: 36px;
  background: var(--steel);
  flex-shrink: 0;
}

.brand-descriptor {
  font-size: 13.5px;
  line-height: 1.32;
  color: var(--muted);
  font-weight: 500;
}

/* Зона 2: 5 простых и понятных пунктов меню (15px, без КАПСА и без номеров) */
.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.8vw, 28px);
}

.header-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--paper);
  white-space: nowrap;
  padding: 6px 0;
  position: relative;
  text-shadow: 0 2px 10px rgba(11, 21, 28, 0.95), 0 1px 3px rgba(0, 0, 0, 0.95);
  transition: color 0.2s ease;
}

.header-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--ice);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
}

.header-nav a:hover {
  color: var(--ice);
}

.header-nav a:hover::after {
  transform: scaleX(1);
}

/* Зона 3: 1 компактная кнопка открытия формы */
.header-zone-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.header-cta-btn {
  height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: rgba(15, 32, 44, 0.72);
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.header-cta-btn:hover {
  background: var(--steel);
  border-color: var(--ice);
}

.header-cta-btn:active {
  transform: scale(0.97);
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--deep);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.mobile-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--paper);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ==========================================================================
   ПРАВИЛО №2: ПЕРВЫЙ ЭКРАН (HERO SECTION) + СТАЛЬНОЕ КРЫЛО «крыЛО»
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 140px);
  padding-bottom: clamp(82px, 10.5vh, 114px);
  display: flex;
  align-items: flex-end;
  background-color: var(--dark);
  overflow: hidden;
}

/* Живая фотография сопровождения справа — 100% резкость без दробного scale(1.01) */
.hero-scene-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url('assets/hero.webp');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  opacity: 1;
}

/* Фирменное стальное крыло: слева над текстом и ЗА тенью (z-index: 2),
   чтобы и текст, и клиент находились под защитным сводом крыла */
.hero-wing-layer {
  position: absolute;
  z-index: 2;
  top: -2vh;
  left: -7vw;
  right: auto;
  width: min(72vw, 1140px);
  pointer-events: none;
  transform-origin: 25% 20%;
  will-change: transform;
  opacity: 0.88;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.75));
  transition: transform 0.25s ease-out;
}

.hero-wing-layer img {
  display: block;
  width: 100%;
  height: auto;
  transform: scaleX(-1);
}

/* Тень поверх крыла (z-index: 3): держит контраст текста слева и не затуманивает правую часть фото */
.hero-gradient-shade {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(
      ellipse 46% 44% at 22% 68%,
      rgba(11, 21, 28, 0.92) 0%,
      rgba(11, 21, 28, 0.68) 54%,
      transparent 92%
    ),
    linear-gradient(
      90deg,
      rgba(11, 21, 28, 0.78) 0%,
      rgba(11, 21, 28, 0.56) 32%,
      rgba(11, 21, 28, 0.14) 46%,
      transparent 54%
    ),
    linear-gradient(
      0deg,
      #0b151c 0%,
      rgba(11, 21, 28, 0.32) 7%,
      transparent 16%
    );
}

/* Контейнер первого экрана */
.hero-container {
  position: relative;
  z-index: 10;
}

.hero-content {
  max-width: 690px;
}

/* Надзаголовок-контекст */
.hero-context {
  display: block;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--ice);
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}

/* Главный заголовок H1: крупный классический шрифт Prata в 2 строки */
.hero-title {
  font-family: 'Prata', Georgia, serif;
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-weight: 400;
  color: var(--paper);
  margin-bottom: 22px;
  max-width: 680px;
}

.hero-title em {
  font-style: normal;
  color: var(--ice);
}

/* Подзаголовок */
.hero-lead {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.58;
  color: var(--text-lead);
  max-width: 580px;
  margin-bottom: 32px;
}

/* Блок кнопок */
.hero-cta-group {
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* Главная кнопка */
.btn-primary {
  height: 56px;
  padding: 0 28px;
  border-radius: 8px;
  border: 0;
  background-color: var(--ice);
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-primary:hover {
  background-color: var(--ice-hover);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: scale(0.97);
}

/* Второстепенная кнопка */
.btn-secondary {
  height: 56px;
  padding: 0 24px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background-color: rgba(15, 32, 44, 0.65);
  color: var(--paper);
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn-secondary:hover {
  background-color: var(--steel);
  border-color: var(--ice);
}

.btn-secondary:active {
  transform: scale(0.97);
}

/* 3 проверяемых факта внизу первого экрана */
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.hero-fact-item dt {
  font-size: 17px;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 4px;
}

.hero-fact-item dd {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

/* ==========================================================================
   ПЕРЕХОДНАЯ ПОЛОСА ПРИНЦИПОВ РАБОТЫ (3 КОЛОНКИ МЕЖДУ БЛОКАМИ)
   ========================================================================== */

.identity-bar {
  background-color: #11222e;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.identity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.identity-item {
  padding: 26px 32px 26px 0;
  border-right: 1px solid var(--border-subtle);
}

.identity-item + .identity-item {
  padding-left: 32px;
}

.identity-item:last-child {
  border-right: 0;
  padding-right: 0;
}

.identity-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 4px;
}

.identity-desc {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted);
}

/* ==========================================================================
   БЛОК СО СМЕНОЙ 4 ЭКРАНОВ ПРИ СКРОЛЛЕ (#chapters-track):
   01 Личная охрана -> 02 Поездки и автомобили -> 03 События -> 04 Все направления
   ========================================================================== */

.chapters-track {
  position: relative;
  height: calc(4 * max(896px, calc(100svh - var(--header-h))));
  background-color: var(--dark);
  border-bottom: 1px solid var(--border-subtle);
}

.chapter-anchor {
  position: absolute;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
  scroll-margin-top: var(--header-h);
}

.chapter-anchor[data-anchor-step="0"] { top: 0; }
.chapter-anchor[data-anchor-step="1"] { top: 25%; }
.chapter-anchor[data-anchor-step="2"] { top: 50%; }
.chapter-anchor[data-anchor-step="3"] { top: 75%; }

.chapters-sticky-viewport {
  position: sticky;
  top: var(--header-h);
  height: max(896px, calc(100svh - var(--header-h)));
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: var(--dark);
}

.chapters-backgrounds {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.chapter-bg {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  opacity: 0;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.chapter-bg.is-active {
  opacity: 1;
}

/* Выравниваем фоны ровно по нижней границе хедера (top), без обрезки головы и без полосы сверху */
.chapter-bg[data-bg-step="0"] {
  background-image: url('assets/personal.webp');
}

.chapter-bg[data-bg-step="1"] {
  background-image: url('assets/travel.webp');
  background-size: auto 100%;
  background-position: right top;
}

.chapter-bg[data-bg-step="2"] {
  background-image: url('assets/events.webp');
  background-size: cover;
  background-position: center top;
}

.chapter-bg[data-bg-step="3"] {
  background-image: url('assets/services.webp');
  background-size: cover;
  background-position: center top;
}

.chapter-bg[data-bg-step="3"].is-active {
  opacity: 0.94;
}

.chapters-gradient-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      rgba(11, 21, 28, 1) 0%,
      rgba(11, 21, 28, 0.97) 27%,
      rgba(11, 21, 28, 0.82) 40%,
      rgba(11, 21, 28, 0.25) 56%,
      transparent 72%
    ),
    linear-gradient(
      180deg,
      transparent 0%,
      transparent 84%,
      rgba(11, 21, 28, 0.78) 100%
    );
  transition: background 0.45s ease;
}

.chapters-stage {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Сменяющиеся текстовые панели */
.chapter-panel {
  position: absolute;
  left: 0;
  top: 46.5%;
  width: 100%;
  transform: translateY(calc(-50% + 22px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.45s;
}

.chapter-panel.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%);
}

.chapter-left {
  max-width: 590px;
}

.section-context {
  display: block;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--ice);
  letter-spacing: 0.01em;
  margin-bottom: 14px;
  text-shadow: 0 2px 14px rgba(4, 10, 15, 0.95), 0 1px 4px rgba(4, 10, 15, 0.9);
}

.section-title {
  font-family: 'Prata', Georgia, serif;
  font-size: clamp(34px, 3.9vw, 54px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 400;
  color: var(--paper);
  margin-bottom: 18px;
  text-shadow:
    0 6px 32px rgba(4, 10, 15, 0.98),
    0 2px 10px rgba(4, 10, 15, 0.94),
    0 0 48px rgba(7, 15, 21, 0.88);
}

.section-title em {
  display: inline-block;
  margin-top: 6px;
  font-style: normal;
  color: var(--ice);
}

.section-lead {
  font-size: clamp(15.5px, 1.1vw, 17px);
  line-height: 1.56;
  color: var(--text-lead);
  margin-bottom: 24px;
}

/* Открытые ориентиры с тонкой левой линией — без таблиц и рамок */
.personal-highlights {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding-left: 18px;
  border-left: 2px solid rgba(196, 227, 248, 0.38);
  margin-bottom: 28px;
}

.personal-highlight-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
}

.personal-highlight-item strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--paper);
}

.personal-highlight-item span {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.45;
}

.personal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Экран 02: Конструктор поездок и сопровождения */
.chapter-travel-box {
  max-width: 590px;
}

.travel-configurator {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.travel-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.travel-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--paper);
}

.travel-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.travel-configurator .travel-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.travel-configurator .travel-opt {
  padding: 0 10px;
  white-space: nowrap;
}

.travel-opt {
  min-height: 46px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid rgba(196, 227, 248, 0.2);
  background-color: rgba(11, 21, 28, 0.76);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--paper);
  font-size: 13.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition:
    background-color 0.24s cubic-bezier(0.2, 0, 0, 1),
    color 0.24s cubic-bezier(0.2, 0, 0, 1),
    border-color 0.24s cubic-bezier(0.2, 0, 0, 1),
    opacity 0.24s cubic-bezier(0.2, 0, 0, 1),
    transform 0.15s ease-out;
}

@media (hover: hover) {
  .travel-opt:hover {
    border-color: var(--ice);
    background-color: rgba(19, 39, 54, 0.88);
  }
}

.travel-opt:not(:disabled):active {
  transform: scale(0.96);
}

.travel-opt.is-selected {
  background-color: var(--ice);
  border-color: var(--ice);
  color: var(--ink);
  font-weight: 700;
}

.travel-opt.is-dimmed {
  opacity: 0.48;
}

.chapter-footnote {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 12px;
}

/* Экран 4: Все направления (Швейцарская архитектурная сетка 3×2) */
.chapter-panel-wide {
  width: 100%;
}

.services-stage {
  width: 100%;
  max-width: 960px;
}

.services-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.services-main-title {
  font-size: clamp(28px, 3vw, 42px);
  margin-bottom: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background-color: rgba(196, 227, 248, 0.14);
  border: 1px solid rgba(196, 227, 248, 0.18);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 28px 64px rgba(4, 10, 15, 0.58);
}

.service-card {
  grid-column: span 2;
  position: relative;
  background-color: rgba(11, 21, 28, 0.82);
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  outline: none;
  transition:
    background-color 0.25s cubic-bezier(0.2, 0, 0, 1),
    transform 0.15s ease-out;
}

.service-card:nth-child(4),
.service-card:nth-child(5) {
  grid-column: span 3;
}

.service-card[hidden] {
  display: none !important;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ice), rgba(196, 227, 248, 0.15));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1);
}

@media (hover: hover) {
  .service-card:hover {
    background-color: rgba(17, 35, 48, 0.92);
  }

  .service-card:hover::before {
    transform: scaleX(1);
  }

  .service-card:hover .service-card-arrow {
    background-color: var(--ice);
    border-color: var(--ice);
    color: var(--ink);
    transform: translate(2px, -2px);
  }
}

.service-card:focus-visible {
  background-color: rgba(17, 35, 48, 0.94);
  box-shadow: inset 0 0 0 2px var(--ice);
}

.service-card:active {
  transform: scale(0.985);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.service-card-tag {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ice);
  opacity: 0.88;
}

.service-card-arrow {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid rgba(196, 227, 248, 0.24);
  background-color: rgba(15, 32, 44, 0.65);
  color: var(--ice);
  font-size: 13px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background-color 0.22s cubic-bezier(0.2, 0, 0, 1),
    border-color 0.22s cubic-bezier(0.2, 0, 0, 1),
    color 0.22s cubic-bezier(0.2, 0, 0, 1),
    transform 0.22s cubic-bezier(0.2, 0, 0, 1);
}

.service-card-title {
  font-family: 'Prata', Georgia, serif;
  font-size: 20.5px;
  font-weight: 400;
  color: var(--paper);
  margin-bottom: 8px;
  line-height: 1.24;
}

.service-card-desc {
  font-size: 13px;
  line-height: 1.54;
  color: var(--muted);
  margin: 0;
}

/* Нижняя текстовая навигация разделов — без рамок и плашек */
.chapters-dock {
  position: absolute;
  left: 50%;
  bottom: 44px;
  transform: translateX(-50%);
  z-index: 15;
  display: inline-flex;
  align-items: baseline;
  gap: 32px;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.dock-step {
  padding: 4px 0;
  border: 0;
  background: none;
  color: rgba(169, 186, 197, 0.42);
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    color 0.25s ease,
    font-size 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.dock-step:hover {
  color: rgba(243, 246, 248, 0.78);
}

.dock-step.is-active {
  color: var(--paper);
  font-size: 17.5px;
  font-weight: 700;
}

/* ==========================================================================
   БЛОК «СТОИМОСТЬ И ИНТЕРАКТИВНЫЙ РАСЧЁТ» (#prices)
   ========================================================================== */

.prices-section {
  position: relative;
  background-color: var(--ink);
  background-image:
    linear-gradient(
      180deg,
      rgba(11, 21, 28, 1) 0%,
      rgba(11, 21, 28, 0.28) 20%,
      rgba(11, 21, 28, 0.28) 76%,
      rgba(11, 21, 28, 1) 100%
    ),
    linear-gradient(
      90deg,
      rgba(11, 21, 28, 0.94) 0%,
      rgba(11, 21, 28, 0.78) 42%,
      rgba(11, 21, 28, 0.26) 72%,
      rgba(11, 21, 28, 0.14) 100%
    ),
    url('assets/prices.webp');
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: clamp(84px, 10vh, 124px) 0;
  scroll-margin-top: var(--header-h);
}

.prices-layout {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}

.prices-info {
  max-width: 560px;
}

.prices-highlights {
  gap: 16px;
  margin-bottom: 24px;
}

.prices-legal-note {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}

.prices-calc-card {
  background-color: rgba(11, 21, 28, 0.72);
  border: 1px solid rgba(196, 227, 248, 0.18);
  border-radius: 14px;
  padding: clamp(26px, 3vw, 38px);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(4, 10, 15, 0.55);
}

.calc-card-title {
  font-family: 'Prata', Georgia, serif;
  font-size: clamp(22px, 2vw, 27px);
  font-weight: 400;
  color: var(--paper);
  margin-bottom: 6px;
}

.calc-card-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-options-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.calc-options-stack .travel-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 0 18px;
}

.calc-options-stack .travel-opt strong {
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
}

.calc-row-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
  margin-bottom: 26px;
}

#calc-guards-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

#calc-hours-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.calc-result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.calc-result-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.calc-result-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.calc-result-value {
  font-family: 'Prata', Georgia, serif;
  font-size: clamp(28px, 2.5vw, 36px);
  font-weight: 400;
  color: var(--ice);
  line-height: 1.15;
}

.calc-result-detail {
  font-size: 13px;
  color: var(--muted);
}

/* ==========================================================================
   БЛОК «КАК МЫ РАБОТАЕМ» (#how) + ЧАСТЫЕ ВОПРОСЫ (#faq)
   ========================================================================== */

.how-section {
  position: relative;
  background-color: var(--ink);
  padding: clamp(84px, 10vh, 124px) 0 clamp(68px, 8vh, 96px);
  scroll-margin-top: var(--header-h);
  overflow: hidden;
}

/* Фиксированный по высоте слой фона, чтобы раскрытие FAQ не двигало и не масштабировало картинку */
.how-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1180px;
  background-image:
    radial-gradient(
      ellipse 56% 32% at 28% 14%,
      rgba(7, 15, 21, 0.88) 0%,
      rgba(7, 15, 21, 0.45) 55%,
      transparent 100%
    ),
    linear-gradient(
      180deg,
      rgba(11, 21, 28, 1) 0%,
      rgba(11, 21, 28, 0.42) 24%,
      rgba(11, 21, 28, 0.48) 70%,
      rgba(11, 21, 28, 1) 100%
    ),
    linear-gradient(
      90deg,
      rgba(11, 21, 28, 0.90) 0%,
      rgba(11, 21, 28, 0.56) 48%,
      rgba(11, 21, 28, 0.24) 100%
    ),
    url('assets/how.webp');
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

.how-section > .shell {
  position: relative;
  z-index: 1;
}

.how-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 44px;
}

.how-header .section-title {
  margin-bottom: 0;
}

.how-header-lead {
  max-width: 480px;
  font-size: 15.5px;
  line-height: 1.56;
  color: var(--muted);
}

.how-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: clamp(64px, 8vh, 96px);
}

.how-step-card {
  background-color: rgba(11, 21, 28, 0.64);
  border: 1px solid rgba(196, 227, 248, 0.18);
  border-radius: 12px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.how-step-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.how-step-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  color: var(--ice);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(196, 227, 248, 0.28);
}

.how-step-title {
  font-family: 'Prata', Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.28;
  color: var(--paper);
}

.how-step-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* Блок FAQ (#faq) */
.faq-block {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 68px);
  padding-top: clamp(48px, 6vh, 72px);
  border-top: 1px solid var(--border-subtle);
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.faq-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.faq-main-title {
  font-family: 'Prata', Georgia, serif;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
  font-weight: 400;
  color: var(--paper);
  margin-bottom: 14px;
}

.faq-main-title em {
  font-style: normal;
  color: var(--ice);
}

.faq-left-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 400px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-subtle);
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.faq-question {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.2s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 22px;
  line-height: 1;
  font-weight: 400;
  color: var(--ice);
  flex-shrink: 0;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-item.is-closing .faq-question::after {
  transform: rotate(0deg);
}

.faq-question:hover {
  color: var(--ice);
}

.faq-answer {
  padding-bottom: 20px;
  font-size: 14.5px;
  line-height: 1.58;
  color: var(--muted);
}

/* ==========================================================================
   ПРАВИЛО №3: ПОДВАЛ САЙТА (FOOTER) ПО ЗОЛОТЫМ ПРАВИЛАМ
   ========================================================================== */

.site-footer {
  background: linear-gradient(180deg, var(--ink) 0%, var(--deep) 100%);
  border-top: none;
  padding: 56px 0 36px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.2fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer-mission {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 390px;
}

.footer-domains {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ice);
}

.footer-dot {
  color: var(--steel);
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 16px;
}

.footer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-list a {
  font-size: 14.5px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-nav-list a:hover {
  color: var(--ice);
}

.footer-action-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-action-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 20px;
  max-width: 360px;
}

.footer-action-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-cta-btn {
  height: 44px;
  padding: 0 22px;
  border-radius: 8px;
  border: 0;
  background-color: var(--ice);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 700;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.footer-cta-btn:hover {
  background-color: var(--ice-hover);
  transform: translateY(-1px);
}

.footer-cta-btn:active {
  transform: scale(0.97);
}

.footer-back-top {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-back-top:hover {
  color: var(--ice);
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-disclaimer {
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(169, 186, 197, 0.72);
  max-width: 960px;
}

.footer-legal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: var(--ice);
}

/* ==========================================================================
   МОДАЛЬНОЕ ОКНО ФОРМЫ ЗАЯВКИ
   ========================================================================== */

.lead-modal {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--paper);
  max-width: 500px;
  width: calc(100% - 32px);
  margin: auto;
}

.lead-modal::backdrop {
  background: rgba(6, 12, 17, 0.78);
  backdrop-filter: blur(8px);
}

.modal-box {
  position: relative;
  background: var(--deep);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 32px 28px 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: rgba(11, 21, 28, 0.6);
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.modal-close:hover {
  color: var(--paper);
  border-color: var(--ice);
}

.modal-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--ice);
  margin-bottom: 8px;
}

.modal-title {
  font-family: 'Prata', Georgia, serif;
  font-size: 24px;
  line-height: 1.22;
  font-weight: 400;
  color: var(--paper);
  margin-bottom: 10px;
  padding-right: 28px;
}

.modal-subtitle {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 18px;
}

.modal-context-badge {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 14px;
  margin-bottom: 16px;
  border-radius: 9px;
  background: rgba(196, 227, 248, 0.08);
  border: 1px solid rgba(196, 227, 248, 0.24);
}

.modal-context-badge[hidden] {
  display: none;
}

.modal-context-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ice);
}

.modal-context-value {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--paper);
}

.modal-success-view {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 6px;
}

.modal-success-view[hidden] {
  display: none;
}

.modal-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(196, 227, 248, 0.12);
  border: 1px solid rgba(196, 227, 248, 0.28);
  color: var(--ice);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--paper);
}

.field-input,
.field-select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background-color: var(--dark);
  color: var(--paper);
  font-size: 15px;
  transition: border-color 0.2s ease;
}

.field-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23EBF2F6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px 16px;
  cursor: pointer;
  text-overflow: ellipsis;
}

.field-select option {
  background-color: var(--dark);
  color: var(--paper);
}

.field-input::placeholder {
  color: rgba(169, 186, 197, 0.45);
}

.field-input:focus,
.field-select:focus {
  border-color: var(--ice);
  outline: none;
}

.modal-consents-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(11, 21, 28, 0.55);
  border: 1px solid var(--border-subtle);
}

.modal-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.48;
  color: var(--muted);
  cursor: pointer;
}

.modal-consent input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--ice);
  cursor: pointer;
}

.modal-consent a {
  color: var(--ice);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.modal-consent a:hover {
  color: var(--paper);
}

.btn-full {
  width: 100%;
}

.modal-status {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ice);
  text-align: center;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(196, 227, 248, 0.08);
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   ПРАВОВОЕ ОКНО С ДОКУМЕНТАМИ (152-ФЗ / РКН) И COOKIE-БАННЕР
   ========================================================================== */

.legal-modal {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--paper);
  max-width: 920px;
  width: calc(100% - 32px);
  max-height: calc(100vh - 48px);
  margin: auto;
}

.legal-modal::backdrop {
  background: rgba(5, 11, 16, 0.84);
  backdrop-filter: blur(10px);
}

.legal-modal-box {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 48px);
  background: var(--deep);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.72);
  overflow: hidden;
}

.legal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  background: rgba(11, 21, 28, 0.92);
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.legal-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.legal-tab {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: rgba(15, 30, 40, 0.6);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.legal-tab:hover {
  color: var(--paper);
  border-color: var(--border-strong);
}

.legal-tab.is-active {
  background: var(--ice);
  border-color: var(--ice);
  color: var(--ink);
}

.legal-modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.legal-external-link {
  display: inline-flex;
  align-items: center;
  height: 36px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ice);
  white-space: nowrap;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(196, 227, 248, 0.24);
  background: rgba(11, 21, 28, 0.6);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.legal-external-link:hover {
  background: rgba(196, 227, 248, 0.12);
  border-color: var(--ice);
  color: var(--paper);
}

.legal-modal-close,
.legal-close-btn {
  position: static;
  top: auto;
  right: auto;
  flex-shrink: 0;
}

.legal-modal-body {
  padding: 28px 32px 36px;
  overflow-y: auto;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}

.legal-doc-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ice);
  margin: 0 0 6px;
}

.legal-doc-pane h2,
.legal-doc-title {
  font-family: 'Prata', Georgia, serif;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 400;
  line-height: 1.25;
  color: var(--paper);
  margin: 0 0 8px;
}

.legal-doc-meta {
  font-size: 13px;
  color: var(--ice);
  margin: 0 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-doc-pane h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--paper);
  margin: 24px 0 10px;
}

.legal-doc-pane p {
  margin: 0 0 12px;
}

.legal-doc-pane ul {
  margin: 0 0 14px;
  padding-left: 20px;
}

.legal-doc-pane li {
  margin-bottom: 6px;
}

.legal-doc-pane strong {
  color: var(--paper);
}

.legal-doc-pane a {
  color: var(--ice);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-inline-btn {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: rgba(196, 227, 248, 0.12);
  color: var(--ice);
  font-size: 13.5px;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.legal-inline-btn:hover {
  background: var(--ice);
  color: var(--ink);
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 16px 0;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.legal-table th,
.legal-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

.legal-table th {
  background: rgba(11, 21, 28, 0.85);
  color: var(--paper);
  font-weight: 600;
  white-space: nowrap;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

/* Cookie-баннер (152-ФЗ) */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 95;
  max-width: 780px;
  margin: 0 auto;
  background: rgba(11, 21, 28, 0.94);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 14px 20px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-banner-text {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

.cookie-banner-text a {
  color: var(--ice);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-btn,
.cookie-accept-btn {
  height: 38px;
  padding: 0 20px;
  border-radius: 8px;
  border: 0;
  background: var(--ice);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.cookie-banner-btn:hover,
.cookie-accept-btn:hover {
  background: var(--ice-hover);
}

/* Отдельные правовые страницы (privacy.html, offer.html, consent.html) */
.legal-standalone-page {
  min-height: 100vh;
  padding: calc(var(--header-h) + 40px) 0 72px;
  background: linear-gradient(180deg, var(--ink) 0%, var(--deep) 100%);
}

.legal-standalone-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.legal-standalone-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ice);
}

.legal-standalone-back:hover {
  color: var(--paper);
}

.legal-standalone-card {
  background: rgba(15, 30, 40, 0.72);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   АДАПТИВНОСТЬ (ПЛАНШЕТЫ И МОБИЛЬНЫЕ ЭКРАНЫ)
   ========================================================================== */

@media (max-width: 1280px) {
  .brand-descriptor,
  .header-divider {
    display: none;
  }

  .brand-lockup-svg {
    height: 62px;
  }
}

@media (max-width: 1080px) {
  .brand-lockup-svg {
    height: 54px;
  }

  .header-nav {
    gap: 14px;
  }

  .header-nav a {
    font-size: 14px;
  }
}

@media (max-width: 920px) {
  :root {
    --header-h: 72px;
  }

  .header-inner {
    width: calc(100% - 28px);
  }

  .brand-lockup-svg {
    height: 52px;
  }

  .site-header {
    background: #0b151c !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--border-subtle);
  }

  .header-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #0b151c;
    border-bottom: 1px solid var(--border-strong);
    flex-direction: column;
    align-items: stretch;
    padding: 12px clamp(20px, 4.5vw, 68px) 20px;
    gap: 0;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.65);
    overscroll-behavior: contain;
  }

  .header-nav.is-open {
    display: flex;
  }

  .header-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(196, 227, 248, 0.08);
    font-size: 15.5px;
  }

  .header-nav a:last-child {
    border-bottom: 0;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  /* Персональная чистка мобильной версии (Фото 1–5) — десктоп не затрагивается */
  .hero-wing-layer,
  .hero-facts,
  .identity-bar,
  .identity-strip,
  .chapter-panel[data-panel-step="0"] .personal-highlights,
  .chapter-panel[data-panel-step="0"] [data-open-modal="family"],
  .chapter-panel[data-panel-step="2"] .personal-highlights,
  .services-header-row .section-lead,
  .prices-info,
  .prices-legal-note,
  .calc-card-sub,
  .how-header .section-lead,
  .how-step-desc,
  .faq-block,
  .faq-left-desc,
  .faq-left .btn-secondary,
  .footer-nav,
  .footer-action-text {
    display: none !important;
  }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    display: flex;
    align-items: flex-end;
    padding-top: calc(var(--header-h) + 290px);
    padding-bottom: 34px;
    overflow-x: clip;
  }

  .hero-scene-photo {
    background-image: url('assets/hero-mob.webp');
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    background-position: 56% 18%;
    background-size: cover;
  }

  .hero-gradient-shade {
    background:
      linear-gradient(
        180deg,
        rgba(11, 21, 28, 0.04) 0%,
        rgba(11, 21, 28, 0.08) 44%,
        rgba(11, 21, 28, 0.74) 64%,
        #0b151c 78%,
        #0b151c 100%
      );
  }

  .hero-wing-layer {
    top: calc(var(--header-h) - 34px);
    left: -18vw;
    right: auto;
    width: 124vw;
    opacity: 0.58;
  }

  .hero-context {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .hero-title {
    font-size: clamp(27px, 6.2vw, 34px);
    line-height: 1.14;
    margin-bottom: 12px;
  }

  .hero-lead {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 18px;
  }

  .hero-cta-group {
    margin-bottom: 0;
  }

  /* На мобильных и планшетах: разворачиваем 4 главы из фиксированного sticky-контейнера
     в 4 полноценные последовательные секции со своими фоновыми кадрами без обрезки контента */
  .chapters-track {
    height: auto;
    border-bottom: 0;
    overflow-x: clip;
  }

  .chapter-anchor {
    display: none;
  }

  .chapters-sticky-viewport {
    position: relative;
    top: 0;
    height: auto;
    overflow: visible;
    display: block;
  }

  .chapters-backgrounds,
  .chapters-gradient-shade,
  .chapters-dock {
    display: none;
  }

  .chapters-stage {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .chapter-panel,
  .chapter-panel-wide {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    padding: 220px 0 42px;
    border-bottom: 1px solid var(--border-subtle);
    scroll-margin-top: var(--header-h);
    z-index: 1;
  }

  .chapter-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(-1 * clamp(20px, 4.5vw, 68px));
    right: calc(-1 * clamp(20px, 4.5vw, 68px));
    height: 310px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    z-index: -1;
    pointer-events: none;
  }

  /* Точное кадрирование фотографий на мобильных, чтобы человек в кадре был виден везде */
  .chapter-panel[data-panel-step="0"]::before {
    background-image:
      linear-gradient(
        180deg,
        rgba(11, 21, 28, 0.72) 0%,
        rgba(11, 21, 28, 0.14) 30%,
        rgba(11, 21, 28, 0.56) 72%,
        #0b151c 100%
      ),
      url('assets/personal.webp');
    background-position: 82% 14%;
  }

  .chapter-panel[data-panel-step="1"]::before {
    background-image:
      linear-gradient(
        180deg,
        rgba(11, 21, 28, 0.72) 0%,
        rgba(11, 21, 28, 0.14) 30%,
        rgba(11, 21, 28, 0.58) 72%,
        #0b151c 100%
      ),
      url('assets/travel.webp');
    background-position: 70% 8%;
  }

  .chapter-panel[data-panel-step="2"]::before {
    background-image:
      linear-gradient(
        180deg,
        rgba(11, 21, 28, 0.72) 0%,
        rgba(11, 21, 28, 0.12) 30%,
        rgba(11, 21, 28, 0.56) 72%,
        #0b151c 100%
      ),
      url('assets/events.webp');
    background-position: 88% 10%;
  }

  .chapter-panel[data-panel-step="3"]::before {
    background-image:
      linear-gradient(
        180deg,
        rgba(11, 21, 28, 0.74) 0%,
        rgba(11, 21, 28, 0.16) 30%,
        rgba(11, 21, 28, 0.62) 72%,
        #0b151c 100%
      ),
      url('assets/services.webp');
    background-position: 84% 12%;
  }

  .chapter-left,
  .chapter-travel-box,
  .services-stage {
    max-width: 100%;
  }

  .section-kicker {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .section-title {
    font-size: clamp(25px, 5.8vw, 31px);
    line-height: 1.16;
    margin-bottom: 12px;
  }

  .section-lead {
    font-size: 14px;
    line-height: 1.48;
    margin-bottom: 18px;
  }

  .personal-actions {
    margin-top: 4px;
  }

  /* Поездки и сопровождение — удобные крупные кнопки в 1 колонку без обрезания подписей */
  .chapter-panel[data-panel-step="1"] {
    padding-top: 150px;
  }

  .travel-configurator {
    padding: 0;
    gap: 10px;
    margin-top: 8px;
    margin-bottom: 14px;
  }

  .travel-configurator .travel-options {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .travel-opt {
    min-height: 42px;
    padding: 0 14px;
    font-size: 13.5px;
  }

  /* Все направления — в 1 колонку с новыми короткими описаниями */
  .services-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 14px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: 1 / -1;
    padding: 16px 18px;
    min-height: auto;
  }

  .service-card-top {
    margin-bottom: 4px;
  }

  .service-card-tag {
    font-size: 11.5px;
  }

  .service-card-arrow {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }

  .service-card-title {
    font-size: 18px;
    line-height: 1.22;
    margin-bottom: 4px;
  }

  .service-card-desc {
    font-size: 13px;
    line-height: 1.45;
  }

  /* Быстрый расчёт под вашу задачу — адаптация под мобильный экран */
  .prices-section {
    padding: 40px 0 36px;
    background-position: 78% center;
    background-size: cover;
  }

  .prices-layout,
  .how-header,
  .faq-block {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .prices-layout {
    gap: 0;
  }

  .prices-calc-card {
    width: 100%;
    padding: 18px 16px;
    border-radius: 12px;
  }

  .calc-card-title {
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 14px;
  }

  .calc-options-stack {
    gap: 7px;
    margin-bottom: 14px;
  }

  .calc-options-stack .travel-opt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    min-height: 46px;
    padding: 9px 12px;
    gap: 10px;
  }

  .calc-options-stack .travel-opt span {
    text-align: left;
    font-size: 12.5px;
    line-height: 1.3;
    flex: 1;
  }

  .calc-options-stack .travel-opt strong {
    font-size: 12.5px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .calc-row-split {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .calc-result-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-top: 14px;
  }

  .calc-result-value {
    font-size: 26px;
  }

  #calc-modal-btn {
    width: 100%;
    height: 46px;
    font-size: 13.5px;
  }

  /* Как мы работаем — компактная мобильная подача без фона */
  .how-section {
    padding: 40px 0 36px;
    background-color: #0b151c;
  }

  .how-section::before {
    display: none !important;
  }

  .how-header {
    margin-bottom: 18px;
  }

  .how-header .section-title {
    margin-bottom: 0;
  }

  .how-steps-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 0;
  }

  .how-step-card {
    padding: 14px 18px;
    gap: 4px;
  }

  .how-step-title {
    font-size: 17px;
  }

  .site-footer {
    padding: 36px 0 28px;
    background: #0b151c;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 24px;
  }

  .footer-brand-desc {
    font-size: 12.5px;
  }
}

@media (max-width: 600px) {
  :root {
    --header-h: 68px;
  }

  .header-inner {
    width: calc(100% - 24px);
    gap: 10px;
  }

  .brand-lockup-svg {
    height: 48px;
  }

  .header-zone-actions {
    gap: 8px;
  }

  .header-cta-btn {
    height: 38px;
    padding: 0 12px;
    font-size: 12.5px;
    white-space: nowrap;
  }

  .mobile-menu-btn {
    width: 40px;
    height: 38px;
  }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    padding-top: calc(var(--header-h) + 250px);
    padding-bottom: 24px;
  }

  .hero-scene-photo {
    top: var(--header-h);
    bottom: 0;
    height: auto;
    background-position: 56% 18%;
  }

  .hero-gradient-shade {
    background:
      linear-gradient(
        180deg,
        rgba(11, 21, 28, 0.04) 0%,
        rgba(11, 21, 28, 0.08) 44%,
        rgba(11, 21, 28, 0.74) 64%,
        #0b151c 78%,
        #0b151c 100%
      );
  }

  .hero-title {
    font-size: 28px;
    line-height: 1.14;
    margin-bottom: 10px;
  }

  .hero-lead {
    font-size: 13.5px;
    line-height: 1.48;
    margin-bottom: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    height: 46px;
    font-size: 13.5px;
  }

  .chapter-panel,
  .chapter-panel-wide {
    padding: 195px 0 36px;
  }

  .chapter-panel::before {
    height: 265px;
  }

  .section-title {
    font-size: 25px;
    line-height: 1.16;
    margin-bottom: 10px;
  }

  .section-lead {
    font-size: 13.5px;
    line-height: 1.46;
    margin-bottom: 16px;
  }

  .personal-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .footer-action-row {
    width: 100%;
    justify-content: space-between;
  }

  .footer-cta-btn {
    flex: 1;
  }

  .footer-legal-links {
    gap: 12px;
  }

  /* Мобильная шторка (Bottom Sheet) для формы заявки и окна документов + защита от авто-зума iOS */
  .lead-modal,
  .legal-modal {
    width: 100%;
    max-width: 100%;
    margin: auto 0 0 0;
    max-height: 92dvh;
  }

  .modal-box {
    padding: 24px 18px 24px;
    border-radius: 18px 18px 0 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    max-height: 92dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .field-input,
  .field-select {
    font-size: 16px;
  }

  .legal-modal-box {
    max-height: 92dvh;
    border-radius: 18px 18px 0 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    overscroll-behavior: contain;
  }

  .legal-modal-header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px 16px;
  }

  .legal-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
  }

  .legal-tab {
    flex: 1 1 auto;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
    padding: 8px 10px;
    font-size: 12px;
  }

  .legal-modal-actions {
    width: 100%;
    justify-content: space-between;
  }

  .legal-modal-body {
    padding: 18px 16px 28px;
    font-size: 13.5px;
    overscroll-behavior: contain;
  }

  .legal-standalone-page {
    padding: calc(var(--header-h) + 24px) 0 48px;
  }

  .legal-standalone-card {
    padding: 20px 16px;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 14px 16px;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cookie-banner-btn,
  .cookie-accept-btn {
    width: 100%;
  }
}

@media (max-width: 370px) {
  .brand-lockup-svg {
    height: 42px;
  }

  .header-cta-btn {
    padding: 0 10px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
