/* ============================================================
   YOUR LUXURY SOLUTIONS — экосистема · V2
   Палитра: #0B0C10 фон · #C8A45C золото · #E8D5A3 шампань
   #FFFFFF заголовки · #B0B5C0 текст · #1A2744 авиационный синий
   ============================================================ */

:root {
  --bg: #0B0C10;
  --bg-soft: #0d0e13;
  --gold: #C8A45C;
  --champagne: #E8D5A3;
  --white: #FFFFFF;
  --grey: #B0B5C0;
  --navy: #1A2744;
  --modal-bg: #1A1A1A;
  --glow: 0 0 30px rgba(200, 164, 92, 0.25);
  --serif: 'Playfair Display', 'Georgia', serif;
  --sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --line: rgba(200, 164, 92, 0.22);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--grey);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body, .modal__window {
  scrollbar-width: thin;
  scrollbar-color: rgba(200, 164, 92, 0.45) rgba(11, 12, 16, 0.9);
}
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0B0C10; }
::-webkit-scrollbar-thumb { background: rgba(200, 164, 92, 0.4); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(200, 164, 92, 0.65); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

.container { width: min(1280px, 92%); margin: 0 auto; }
.container--narrow { width: min(960px, 92%); }

/* ---------- Переход между страницами сайта: новая страница открывается из мягкой расфокусировки ---------- */
main {
  animation: pageEnter 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
@keyframes pageEnter {
  from { filter: blur(8px); }
  to { filter: blur(0); }
}

/* ---------- Секции ---------- */
.section { padding: clamp(80px, 11vh, 140px) 0; position: relative; }
.section--tight { padding: clamp(56px, 7vh, 90px) 0; }
.section--alt { background: linear-gradient(180deg, var(--bg) 0%, #0d1017 50%, var(--bg) 100%); }

/* ---------- Типовые элементы ---------- */
.eyebrow {
  font-size: 14px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--champagne);
}
.section-heading {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 46px);
  color: var(--gold);
  letter-spacing: 0.04em;
  line-height: 1.15;
}
.section-heading--center { text-align: center; }
.section-lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 1.9vw, 22px);
  color: var(--champagne);
  max-width: 40ch;
}
.section-lead--center { text-align: center; margin-left: auto; margin-right: auto; }

.gold-divider { width: 60px; height: 1px; background: var(--gold); margin: 34px auto; }
.gold-divider--left { margin: 26px 0; }

.lead-text { font-size: clamp(16px, 1.15vw, 18px); color: var(--grey); max-width: 62ch; }
.lead-text + .lead-text { margin-top: 18px; }
.accent { color: var(--champagne); }

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 18px 44px;
  border: none;
  background: none;
  transition: box-shadow var(--transition), background var(--transition),
              color var(--transition), border-color var(--transition), transform var(--transition);
  text-align: center;
}
.btn--outline { color: var(--gold); border: 1px solid var(--gold); }
.btn--outline:hover { color: var(--champagne); border-color: var(--champagne); box-shadow: var(--glow); }
.btn--gold { background: var(--gold); color: #0B0C10; }
.btn--gold:hover { background: var(--champagne); box-shadow: var(--glow); }
.btn--small { padding: 14px 28px; font-size: 13px; }

/* ---------- Появление элементов ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  transition-delay: 0.15s;
}
.reveal[data-delay="1"] { transition-delay: 0.25s; }
.reveal[data-delay="2"] { transition-delay: 0.38s; }
.reveal[data-delay="3"] { transition-delay: 0.5s; }
.reveal[data-delay="4"] { transition-delay: 0.62s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

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

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
.header.is-scrolled { background: rgba(11, 12, 16, 0.95); box-shadow: 0 1px 0 rgba(200, 164, 92, 0.18); }
.header--solid { background: rgba(11, 12, 16, 0.95); box-shadow: 0 1px 0 rgba(200, 164, 92, 0.18); }
.header__inner {
  width: min(1440px, 94%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}
.header__logo { display: flex; align-items: baseline; gap: 14px; }
.header__logo-mark {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.14em;
  border: 1px solid rgba(200, 164, 92, 0.5);
  padding: 2px 10px 4px;
}
.header__logo-text {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.5;
  max-width: 150px;
}
.header__nav { display: flex; gap: 30px; }
.header__link {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}
.header__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--champagne);
  transition: width var(--transition);
}
.header__link:hover, .header__link.is-active { color: var(--champagne); }
.header__link.is-active::after, .header__link:hover::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 18px; }
.header__cta { white-space: nowrap; }

/* ---------- Переключатель языка ---------- */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--sans);
  letter-spacing: 0.06em;
  user-select: none;
}
.lang-switch__btn {
  background: none;
  border: none;
  padding: 2px 1px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(176, 181, 192, 0.7);
  transition: color var(--transition);
}
.lang-switch__btn:hover { color: var(--champagne); }
.lang-switch__btn.is-active { color: var(--gold); }
.lang-switch__sep { color: rgba(200, 164, 92, 0.4); font-size: 12px; }
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 42px; height: 42px;
  background: none; border: none;
}
.header__burger span {
  display: block;
  width: 26px; height: 1px;
  margin: 0 auto;
  background: var(--gold);
  transition: transform var(--transition), opacity var(--transition);
}
.header__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.is-open span:nth-child(2) { opacity: 0; }
.header__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO (главная)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 0 100px;
}
.hero__bg {
  position: absolute; inset: 0;
  background: url('../assets/hero.jpg') 68% 22% / cover no-repeat;
  transform: scale(1.04);
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,12,16,0.74) 0%, rgba(11,12,16,0.6) 42%, rgba(11,12,16,0.92) 100%),
    radial-gradient(ellipse at center 38%, rgba(11,12,16,0.12), rgba(11,12,16,0.55));
}
.hero__content { position: relative; z-index: 2; padding: 0 20px; max-width: 960px; margin: 0 auto; }
.hero__eyebrow {
  font-size: 14px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 26px;
}
.hero__logo {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 6.4vw, 84px);
  line-height: 1.08;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 34px rgba(0, 0, 0, 0.5);
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(19px, 2.3vw, 30px);
  font-style: italic;
  color: var(--white);
  margin-bottom: 20px;
}
.hero__subtitle {
  font-size: clamp(15px, 1.3vw, 18px);
  letter-spacing: 0.02em;
  color: var(--grey);
  max-width: 52ch;
  margin: 0 auto 40px;
}
.hero__actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  width: 24px; height: 40px;
  border: 1px solid rgba(200, 164, 92, 0.6);
  border-radius: 12px;
}
.hero__scroll span {
  position: absolute;
  left: 50%; top: 8px;
  width: 2px; height: 8px;
  margin-left: -1px;
  background: var(--gold);
  border-radius: 1px;
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(12px); opacity: 0; }
}

/* ============================================================
   PAGE HERO (внутренние страницы)
   ============================================================ */
.phero {
  position: relative;
  min-height: 74vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 160px 0 70px;
}
.phero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); }
.phero__bg--aviation { background-image: url('../assets/hero.jpg'); background-position: 60% 30%; }
.phero__bg--service {
  background-image: url('../assets/service.jpg');
  background-position: center 45%;
}
.phero__bg--experiences {
  background-image: url('../assets/experiences.jpg');
  background-position: center 38%;
}
.phero__bg--leisure {
  background-image: url('../assets/leisure.jpg');
  background-position: center 42%;
}
.phero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,12,16,0.72) 0%, rgba(11,12,16,0.52) 45%, rgba(11,12,16,0.94) 100%);
}
.phero__content { position: relative; z-index: 2; max-width: 900px; }
.phero__eyebrow {
  font-size: 14px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 20px;
}
.phero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 5.2vw, 68px);
  line-height: 1.06;
  color: var(--gold);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 30px rgba(0,0,0,0.45);
}
.phero__subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 26px);
  color: var(--white);
  margin-top: 22px;
  max-width: 44ch;
}

/* ============================================================
   БЛОК «КТО МЫ» / текст с акцентом слева
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__aside { position: relative; }
.split__mark {
  width: 92px; height: 92px;
  color: var(--gold);
  margin-bottom: 30px;
}
.split__manifesto {
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 400;
  line-height: 1.32;
  color: var(--gold);
}
.split__manifesto-sub {
  margin-top: 22px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--champagne);
}
.split__heading {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 34px);
  color: var(--white);
  margin-bottom: 22px;
  line-height: 1.2;
}

/* Кнопка «Наш журнал» — акцентная, привлекает внимание */
.btn-journal {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding: 13px 24px 13px 15px;
  background: linear-gradient(120deg, var(--gold) 0%, var(--champagne) 100%);
  color: #0B0C10;
  border: 1px solid rgba(232, 213, 163, 0.7);
  box-shadow: 0 6px 22px rgba(200, 164, 92, 0.28);
  animation: journalPulse 2.8s ease-in-out infinite;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn-journal:hover {
  transform: translateY(-3px);
  background: var(--champagne);
  box-shadow: 0 14px 40px rgba(200, 164, 92, 0.5);
  animation: none;
}
.btn-journal__icon {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(11, 12, 16, 0.1);
  border: 1px solid rgba(11, 12, 16, 0.28);
}
.btn-journal__icon svg { width: 22px; height: 22px; }
.btn-journal__text { display: flex; flex-direction: column; line-height: 1.18; text-align: left; }
.btn-journal__label {
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  opacity: 0.72;
}
.btn-journal__name {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.btn-journal__arrow { width: 22px; height: 8px; margin-left: 4px; transition: transform var(--transition); }
.btn-journal:hover .btn-journal__arrow { transform: translateX(5px); }
@keyframes journalPulse {
  0%, 100% { box-shadow: 0 6px 22px rgba(200, 164, 92, 0.28); }
  50% { box-shadow: 0 6px 22px rgba(200, 164, 92, 0.3), 0 0 30px 4px rgba(232, 213, 163, 0.55); }
}
@media (prefers-reduced-motion: reduce) { .btn-journal { animation: none; } }

/* ============================================================
   НАПРАВЛЕНИЯ (4 сферы) — карточки-ссылки
   ============================================================ */
.dirs__head { text-align: center; margin-bottom: 56px; }
.dirs__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.dir {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  color: var(--white);
  isolation: isolate;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.dir__bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.dir__bg--aviation { background-image: url('../assets/hero.jpg'); background-position: 60% 30%; }
.dir__bg--service { background-image: url('../assets/service.jpg'); background-position: center 40%; }
.dir__bg--experiences { background-image: url('../assets/experiences.jpg'); background-position: center 35%; }
.dir__bg--leisure { background-image: url('../assets/leisure.jpg'); background-position: center 38%; }
.dir::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,12,16,0.25) 0%, rgba(11,12,16,0.55) 55%, rgba(11,12,16,0.9) 100%);
  transition: background var(--transition);
}
.dir:hover { border-color: var(--champagne); box-shadow: var(--glow); transform: translateY(-6px); }
.dir:hover .dir__bg { transform: scale(1.07); }
.dir:hover::after { background: linear-gradient(180deg, rgba(11,12,16,0.2) 0%, rgba(26,39,68,0.5) 55%, rgba(11,12,16,0.92) 100%); }
.dir__num {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--champagne);
  margin-bottom: auto;
}
.dir__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 32px);
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.dir__desc { font-size: 14.5px; line-height: 1.65; color: var(--grey); max-width: 42ch; }
.dir__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap var(--transition), color var(--transition);
}
.dir__more svg { width: 22px; height: 8px; }
.dir:hover .dir__more { gap: 16px; color: var(--champagne); }

/* ============================================================
   ПРИНЦИПЫ / ФИЛОСОФИЯ
   ============================================================ */
.philosophy__quote {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 52px);
  color: var(--gold);
  text-align: center;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
.philosophy__intro {
  max-width: 58ch;
  margin: 30px auto 0;
  text-align: center;
  font-size: clamp(15px, 1.15vw, 17.5px);
}
.philosophy__cases {
  max-width: 60ch;
  margin: 40px auto 0;
  display: grid;
  gap: 16px;
}
.philosophy__case {
  position: relative;
  padding-left: 28px;
  font-size: 15.5px;
  color: var(--grey);
}
.philosophy__case::before {
  content: '';
  position: absolute; left: 0; top: 11px;
  width: 8px; height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}
.philosophy__case b { color: var(--white); font-weight: 500; font-style: italic; font-family: var(--serif); }

.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 64px;
  background: var(--line);
  border: 1px solid var(--line);
}
.principle {
  background: var(--bg);
  padding: 40px 30px;
  transition: background var(--transition);
}
.principle:hover { background: var(--bg-soft); }
.principle__num {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold);
  opacity: 0.5;
}
.principle__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 21px;
  color: var(--white);
  margin: 18px 0 12px;
}
.principle__text { font-size: 14px; line-height: 1.65; }

/* ============================================================
   АУДИТОРИЯ «Для кого мы работаем»
   ============================================================ */
.audience { text-align: center; }
.audience__text {
  max-width: 58ch;
  margin: 26px auto 0;
  font-size: clamp(15px, 1.2vw, 18px);
}
.audience__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}
.audience__tag {
  border: 1px solid var(--line);
  padding: 12px 22px;
  font-size: 14.5px;
  letter-spacing: 0.08em;
  color: var(--champagne);
  transition: border-color var(--transition), color var(--transition);
}
.audience__tag:hover { border-color: var(--champagne); color: var(--white); }
.audience__note {
  max-width: 56ch;
  margin: 40px auto 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--champagne);
}

/* ============================================================
   ОФФЕР-КАРТОЧКИ (что предлагаем / что закрываем)
   ============================================================ */
.offers__head { margin-bottom: 52px; }
.offers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.offer {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 34px 30px 36px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.offer:hover { border-color: var(--gold); box-shadow: var(--glow); transform: translateY(-5px); }
.offer__icon { width: 40px; height: 40px; color: var(--gold); margin-bottom: 22px; transition: color var(--transition); }
.offer__icon svg { width: 100%; height: 100%; }
.offer:hover .offer__icon { color: var(--champagne); }
.offer__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.25;
}
.offer__text { font-size: 14.5px; line-height: 1.68; }
.offer__list { margin-top: 16px; display: grid; gap: 10px; }
.offer__list li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.55; }
.offer__list li::before {
  content: '';
  position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ============================================================
   ПОЧЕМУ МЫ — компактные преимущества
   ============================================================ */
.whys {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 34px 40px;
}
.why { padding-top: 26px; border-top: 1px solid var(--line); }
.why__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 10px;
}
.why__text { font-size: 14.5px; line-height: 1.66; }

/* ============================================================
   КАК ЭТО РАБОТАЕТ — шаги
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step {
  position: relative;
  padding: 40px 30px 34px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.step__num {
  font-family: var(--serif);
  font-size: 46px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.45;
  margin-bottom: 18px;
}
.step__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 21px;
  color: var(--white);
  margin-bottom: 12px;
}
.step__text { font-size: 14.5px; line-height: 1.66; }

/* Формат работы (перечень) */
.formats { display: grid; gap: 16px; max-width: 62ch; margin-top: 10px; }
.format {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.format__tag {
  flex: 0 0 auto;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  min-width: 130px;
}
.format__text { font-size: 15px; }

/* ============================================================
   ВЫДЕЛЕННАЯ ЦИТАТА / ФИЛОСОФИЯ НА СТРАНИЦАХ
   ============================================================ */
.pullquote {
  text-align: center;
  max-width: 46ch;
  margin: 0 auto;
}
.pullquote__you { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.4vw, 30px); color: var(--white); }
.pullquote__we { font-family: var(--serif); font-size: clamp(24px, 3vw, 40px); color: var(--gold); margin-top: 10px; }

/* ============================================================
   CTA-band + итоговый манифест
   ============================================================ */
.manifesto-final { text-align: center; }
.manifesto-final__text {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.32;
  color: var(--gold);
  max-width: 22ch;
  margin: 0 auto;
}
.manifesto-final__sub {
  max-width: 58ch;
  margin: 30px auto 0;
  font-size: clamp(15px, 1.2vw, 17.5px);
}

.cta {
  text-align: center;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(200,164,92,0.1), transparent 60%),
    var(--bg-soft);
  padding: clamp(48px, 7vw, 84px) clamp(24px, 6vw, 80px);
}
.cta__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 3.2vw, 44px);
  color: var(--gold);
  line-height: 1.15;
}
.cta__text { max-width: 50ch; margin: 20px auto 34px; font-size: clamp(15px, 1.2vw, 17.5px); }
.cta__actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   ФОРМА «ОБСУДИТЬ ЗАДАЧУ» (на главной)
   ============================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.contact__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.08;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.contact__lead { margin-top: 22px; font-size: clamp(15px, 1.2vw, 17.5px); max-width: 44ch; }
.contact__meta { margin-top: 40px; display: grid; gap: 22px; }
.contact__meta-item { }
.contact__meta-label {
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--grey);
  opacity: 0.7;
  margin-bottom: 6px;
}
.contact__email {
  font-family: var(--serif);
  font-size: clamp(19px, 1.8vw, 24px);
  color: var(--white);
  border-bottom: 1px solid rgba(200, 164, 92, 0.5);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}
.contact__email:hover { color: var(--champagne); border-color: var(--champagne); }
.contact__promise {
  margin-top: 36px;
  padding: 22px 26px;
  background: var(--navy);
  border: 1px solid rgba(200, 164, 92, 0.3);
  font-size: 14px;
}
.contact__promise b { color: var(--gold); font-family: var(--serif); font-weight: 500; }

/* ---------- Форма ---------- */
.form__field { position: relative; margin-bottom: 34px; }
.form__input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(200, 164, 92, 0.45);
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  padding: 12px 2px;
  outline: none;
  border-radius: 0;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form__input:focus { border-bottom-color: var(--champagne); box-shadow: 0 1px 0 0 var(--champagne); }
.form__textarea { resize: vertical; min-height: 90px; }
.form__label {
  position: absolute;
  left: 2px; top: 12px;
  font-size: 15px;
  color: var(--grey);
  pointer-events: none;
  transition: all 0.25s ease;
}
.form__input:focus ~ .form__label,
input.form__input:not(:placeholder-shown) ~ .form__label,
textarea.form__input:not(:placeholder-shown) ~ .form__label,
.form__select.has-value ~ .form__label {
  top: -12px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.form__select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C8A45C' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  cursor: pointer;
}
.form__select option { background: var(--modal-bg); color: var(--white); }
.form__error {
  position: absolute;
  left: 2px; bottom: -20px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #D98E8E;
  opacity: 0;
  transition: opacity var(--transition);
}
.form__field.has-error .form__input { border-bottom-color: #D98E8E; }
.form__field.has-error .form__error { opacity: 1; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form__consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  margin-bottom: 30px;
  user-select: none;
}
.form__consent input { position: absolute; opacity: 0; pointer-events: none; }
.form__checkbox {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold);
  transition: box-shadow var(--transition), border-color var(--transition);
  margin-top: 2px;
}
.form__checkbox svg { width: 12px; height: 10px; opacity: 0; transition: opacity 0.2s ease; }
.form__consent input:checked + .form__checkbox svg { opacity: 1; }
.form__consent input:focus-visible + .form__checkbox { box-shadow: var(--glow); }
.form__consent.has-error .form__checkbox { border-color: #D98E8E; }
.form__consent-text { font-size: 13px; }
.form__consent-link { color: var(--gold); border-bottom: 1px solid rgba(200, 164, 92, 0.4); transition: color var(--transition); }
.form__consent-link:hover { color: var(--champagne); }
.form__submit { width: 100%; }
.form__success {
  margin-top: 22px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--champagne);
  text-align: center;
}

/* ============================================================
   ФУТЕР
   ============================================================ */
.footer { padding: clamp(64px, 8vw, 100px) 0 34px; }
.footer__line { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin-bottom: 60px; }
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
.footer__brand-mark {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.14em;
  border: 1px solid rgba(200, 164, 92, 0.5);
  padding: 2px 10px 4px;
  display: inline-block;
  margin-bottom: 20px;
}
.footer__tagline { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--champagne); max-width: 30ch; }
.footer__col-title {
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--grey);
  opacity: 0.7;
  margin-bottom: 20px;
}
.footer__col a, .footer__col p { display: block; font-size: 14px; margin-bottom: 12px; transition: color var(--transition); }
.footer__col a:hover { color: var(--champagne); }
.footer__email { color: var(--gold) !important; }
.footer__social { display: flex; gap: 14px; margin-top: 6px; }
.footer__social a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid rgba(200, 164, 92, 0.4);
  border-radius: 50%;
  color: var(--gold);
  transition: color var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.footer__social svg { width: 19px; height: 19px; }
.footer__social a:hover { color: var(--champagne); border-color: var(--champagne); box-shadow: var(--glow); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: rgba(176, 181, 192, 0.7);
}
.footer__docs { display: flex; gap: 14px; flex-wrap: wrap; }
.footer__policy { color: var(--gold); transition: color var(--transition); }
.footer__policy:hover { color: var(--champagne); }
.footer__docs-sep { color: rgba(200, 164, 92, 0.5); }

/* ============================================================
   ТЕКСТОВЫЕ СТРАНИЦЫ (политика, оферта)
   ============================================================ */
.doc { min-height: 100vh; padding: 150px 0 80px; }
.doc .container { max-width: 820px; }
.doc__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 44px);
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.doc__updated {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(176, 181, 192, 0.7);
  margin-bottom: 40px;
}
.doc h2 { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--white); margin: 44px 0 16px; }
.doc p, .doc li { margin-bottom: 12px; font-size: 15px; }
.doc ul, .doc ol { padding-left: 22px; margin-bottom: 16px; }
.doc ul { list-style: none; padding-left: 0; }
.doc ul li { position: relative; padding-left: 22px; }
.doc ul li::before {
  content: '';
  position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}
.doc ol { counter-reset: item; list-style: none; padding-left: 0; }
.doc ol li { position: relative; padding-left: 34px; counter-increment: item; }
.doc ol li::before { content: counter(item) '.'; position: absolute; left: 0; font-family: var(--serif); color: var(--gold); }
.doc a { color: var(--gold); border-bottom: 1px solid rgba(200, 164, 92, 0.4); transition: color var(--transition); }
.doc a:hover { color: var(--champagne); }
.doc__back { display: inline-block; margin-top: 56px; font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; }
.doc__note { margin-top: 40px; padding: 18px 22px; background: var(--navy); border: 1px solid rgba(200, 164, 92, 0.3); font-size: 13px; }

/* ============================================================
   МОДАЛЬНОЕ ОКНО
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(5, 6, 8, 0.8); backdrop-filter: blur(4px); }
.modal__window {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--modal-bg);
  border: 1px solid var(--gold);
  box-shadow: 0 0 60px rgba(200, 164, 92, 0.18), 0 30px 80px rgba(0, 0, 0, 0.6);
  padding: 48px clamp(24px, 5vw, 56px) 44px;
  animation: modalIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: none;
  border: none;
  color: var(--gold);
  transition: color var(--transition), transform var(--transition);
}
.modal__close svg { width: 18px; height: 18px; }
.modal__close:hover { color: var(--champagne); transform: rotate(90deg); }
.modal__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: 0.02em;
  color: var(--gold);
  margin-bottom: 10px;
  padding-right: 30px;
}
.modal__sub { font-size: 14px; margin-bottom: 30px; }
.modal__topic {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 12px;
  border: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--champagne);
  white-space: nowrap;
}

/* ============================================================
   АДАПТИВНОСТЬ
   ============================================================ */
@media (max-width: 1440px) { .container { width: min(1180px, 92%); } }

@media (max-width: 1024px) {
  .header__nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(340px, 86vw);
    background: rgba(11, 12, 16, 0.98);
    border-left: 1px solid rgba(200, 164, 92, 0.3);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 44px;
    gap: 26px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 5;
  }
  .header__nav.is-open { transform: translateX(0); }
  .header__link { font-size: 15px; }
  .header__burger { display: flex; z-index: 10; }
  .header__cta { display: none; }
  .split, .contact__grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .header__logo-text { display: none; }
  .dirs__grid { grid-template-columns: 1fr; }
  .dir { min-height: 300px; }
  .principles { grid-template-columns: 1fr; }
  .whys { gap: 26px 30px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .footer__top { grid-template-columns: 1fr; gap: 34px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .phero { min-height: 66vh; padding-top: 130px; }
  .modal { padding: 12px; }
  .modal__window { padding: 40px 20px 34px; max-height: calc(100vh - 24px); }
}

@media (max-width: 480px) {
  .btn { padding: 16px 30px; font-size: 14px; }
  .hero__actions .btn, .cta__actions .btn { width: 100%; }
}
