/* ===== «Основатели» — тёмный премиум (как osnovateli.org / baikonur) ===== */
:root {
  --bg: #1b1b1b;            /* основная графитовая база */
  --bg-2: #202020;          /* лёгкая вариация секций */
  --bg-3: #262626;          /* карточки на тёмном */
  --bg-4: #2e2e2e;          /* карточки-ховер / вложенные */

  --cream: #fefdf8;         /* основной светлый текст */
  --muted: #a8a39b;         /* приглушённый бежеватый текст */
  --beige: #aba497;         /* платиновый акцент */
  --beige-hi: #c8bfae;      /* светлее — кнопки/акцентный текст */
  --ink: #1b1b1b;           /* тёмный текст на бежевом */

  --line: rgba(254, 253, 248, 0.12);
  --line-2: rgba(254, 253, 248, 0.07);

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 56px);

  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--cream);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ===== Типографика: капс с разрядкой, средний вес (НЕ сжатый жирный) ===== */
h1, h2, h3 { font-family: var(--font); margin: 0; color: inherit; }
h1 {
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
h2 {
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
h3 {
  font-size: clamp(18px, 1.5vw, 23px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
p { margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--beige);
}
.u { color: inherit; }   /* акцент-слово не выделяем — заголовок монохромный */

/* ===== Кнопки ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  border: 1px solid var(--beige);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn--solid { background: var(--beige-hi); color: var(--ink); border-color: var(--beige-hi); }
.btn--solid::after { content: "↗"; font-size: 16px; }
.btn--solid:hover { background: #d6cdbc; border-color: #d6cdbc; }
.btn--ghost { color: var(--cream); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--beige); color: var(--beige-hi); }
.btn--lg { height: 60px; padding: 0 34px; font-size: 16px; }

/* ===== NAV ===== */
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 20px var(--gutter);
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(27, 27, 27, 0.72);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-2);
}
.nav__logo img { height: 26px; width: auto; filter: brightness(0) invert(1); }
.nav__links { display: flex; gap: 30px; margin-left: auto; font-size: 14px; font-weight: 500; letter-spacing: 0.01em; }
.nav__links a { color: var(--cream); opacity: .72; }
.nav__links a:hover { opacity: 1; color: var(--beige-hi); }
.nav .btn { height: 42px; padding: 0 20px; font-size: 13px; }
.nav--dark { background: rgba(27, 27, 27, 0.55); border-bottom: 1px solid rgba(254,253,248,0.1); }
@media (max-width: 720px) { .nav { gap: 16px; padding: 14px 18px; } .nav__links { display: none; } }

/* ===== HERO ===== */
.hero { position: relative; }
.hero--photo {
  min-height: 96vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(100px, 13vw, 160px) var(--gutter) clamp(56px, 7vw, 90px);
  color: var(--cream);
  overflow: hidden;
}
.hero--photo .hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; filter: grayscale(0.25) contrast(1.02); }
.hero--photo .hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,20,20,0.78) 0%, rgba(20,20,20,0.40) 30%, rgba(20,20,20,0.55) 62%, rgba(20,20,20,0.95) 100%);
}
.hero__inner { position: relative; z-index: 2; max-width: var(--container); margin: 0 auto; width: 100%; }
.hero__meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.tag {
  display: inline-flex; align-items: center; height: 32px; padding: 0 15px;
  background: var(--beige); color: var(--ink);
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.tag--ghost { background: transparent; color: var(--cream); border: 1px solid var(--line); }

.hero__title { max-width: 20ch; margin-bottom: 28px; font-weight: 500; }
.hero--photo .hero__title { color: var(--cream); }
.hero__lead {
  max-width: 56ch; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.55;
  margin-bottom: 40px; color: rgba(254,253,248,0.86);
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: clamp(48px, 6vw, 76px); }
.hero--photo .hero__mark { display: none; }

.hero__stats {
  list-style: none; padding: 36px 0 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 48px);
  border-top: 1px solid var(--line);
}
.hero__stats strong { display: block; font-size: clamp(36px, 4vw, 60px); font-weight: 500; line-height: 1; letter-spacing: 0; color: var(--cream); }
.hero__stats span { display: block; margin-top: 10px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) { .hero__stats { grid-template-columns: repeat(2, 1fr); } .hero--photo { min-height: 90vh; } }

/* ===== Разделитель — контурные круги (графика бренда), бежевые ===== */
.divider { color: var(--beige); padding: clamp(40px,6vw,72px) var(--gutter); display: flex; justify-content: center; background: var(--bg); }
.divider svg { width: 100%; max-width: 680px; height: 46px; opacity: .4; }

/* ===== SECTION (все тёмные, лёгкие вариации) ===== */
.section { padding: clamp(72px, 9vw, 128px) var(--gutter); }
.section > * { max-width: var(--container); margin-left: auto; margin-right: auto; }
.section--light { background: var(--bg); color: var(--cream); }
.section--cream { background: var(--bg-2); color: var(--cream); }
.section--dark  { background: #161616; color: var(--cream); }

.section__head { margin-bottom: 56px; max-width: var(--container); }
.section__head h2 { max-width: 22ch; margin-top: 16px; }
.section__lead { margin-top: 22px; max-width: 60ch; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.55; color: var(--muted); }

/* ===== Карточки ценностей ===== */
.cards { display: grid; gap: 16px; margin-left: auto; margin-right: auto; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .cards--4, .cards--3 { grid-template-columns: 1fr; } }
.card {
  background: var(--bg-3); color: var(--cream);
  padding: 32px 28px; min-height: 230px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
  border: 1px solid var(--line-2);
}
.card h3 { font-size: clamp(17px, 1.3vw, 21px); max-width: 18ch; color: var(--cream); }
.card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.cards--dark .card, .cards--cream .card { background: var(--bg-3); }

/* ===== Программа по дням ===== */
.days { list-style: none; padding: 0; margin-left: auto; margin-right: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.days li { position: relative; background: var(--bg-3); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line-2); }
.days__photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; filter: grayscale(0.15); }
.days__body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 10px; }
.days__num {
  position: absolute; top: 0; left: 0; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 54px; height: 40px; padding: 0 14px;
  background: var(--beige); color: var(--ink);
  font-size: 16px; font-weight: 700; letter-spacing: 0.04em;
}
.days h3 { color: var(--cream); }
.days p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
@media (max-width: 860px) { .days { grid-template-columns: 1fr; } .days__body { padding: 22px 22px 26px; } }

/* ===== Фото-баннер ===== */
.media-band { position: relative; min-height: clamp(360px, 46vw, 540px); display: flex; align-items: center; padding: var(--gutter); color: var(--cream); overflow: hidden; }
.media-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; filter: grayscale(0.2); }
.media-band::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,20,20,0.86) 0%, rgba(20,20,20,0.5) 58%, rgba(20,20,20,0.25) 100%); }
.media-band__inner { position: relative; z-index: 2; max-width: var(--container); margin: 0 auto; width: 100%; }
.media-band__quote { font-size: clamp(28px, 4vw, 54px); font-weight: 500; line-height: 1.1; letter-spacing: 0.01em; text-transform: uppercase; max-width: 20ch; margin: 0; }
.media-band__sub { margin-top: 18px; font-size: clamp(15px, 1.2vw, 18px); color: rgba(254,253,248,0.82); max-width: 46ch; }

/* ===== Columns (включено/нет) ===== */
.cols { display: grid; gap: 16px; margin-left: auto; margin-right: auto; }
.cols--2 { grid-template-columns: repeat(2, 1fr); }
.col { padding: 36px 34px; background: var(--bg-3); border: 1px solid var(--line-2); }
.col--out { background: transparent; }
.col h3 { margin-bottom: 18px; color: var(--cream); }
.col ul { margin: 0; padding: 0; list-style: none; }
.col li { position: relative; padding: 10px 0 10px 28px; font-size: 15px; color: var(--cream); border-top: 1px solid var(--line-2); }
.col li:first-child { border-top: none; }
.col--in li::before { content: ""; position: absolute; left: 0; top: 17px; width: 12px; height: 12px; border-radius: 50%; background: var(--beige); }
.col--out li::before { content: "—"; position: absolute; left: 0; top: 10px; color: var(--muted); }
@media (max-width: 720px) { .cols--2 { grid-template-columns: 1fr; } }

/* ===== Split (катамаран) ===== */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.split__body p { font-size: clamp(17px, 1.2vw, 20px); line-height: 1.55; max-width: 52ch; color: var(--cream); }
.checklist { list-style: none; padding: 0; margin: 26px 0 0; }
.checklist li { position: relative; padding: 13px 0 13px 30px; border-top: 1px solid var(--line-2); font-size: 15px; color: var(--cream); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 17px; width: 14px; height: 14px; border-radius: 50%; background: var(--beige); }
.checklist li:last-child { border-bottom: 1px solid var(--line-2); }
.figure { overflow: hidden; border: 1px solid var(--line-2); }
.figure--photo { aspect-ratio: 3 / 4; }
.figure--photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(0.15); }
.figure__placeholder { aspect-ratio: 3 / 4; display: flex; align-items: center; justify-content: center; background: var(--bg-3); color: var(--muted); text-align: center; font-size: 14px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ===== Steps ===== */
.steps { list-style: none; padding: 0; margin-left: auto; margin-right: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { padding: 34px 30px 38px; background: var(--bg-3); border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 14px; }
.steps__num { width: 48px; height: 48px; border: 1px solid var(--beige); color: var(--beige); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 18px; }
.steps h3 { color: var(--cream); }
.steps p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.join-cta { margin-top: 44px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ===== FAQ ===== */
.faq { margin-left: auto; margin-right: auto; display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 24px 0; }
.faq summary { cursor: pointer; font-size: clamp(17px, 1.3vw, 21px); font-weight: 500; letter-spacing: 0.01em; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; color: var(--cream); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 300; color: var(--beige); flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 16px 0 0; max-width: 64ch; color: var(--muted); font-size: 16px; }

/* ===== FOOTER ===== */
.footer { background: #141414; color: var(--cream); padding: 80px var(--gutter) 36px; }
.footer__top { max-width: var(--container); margin: 0 auto 52px; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; align-items: start; }
.footer__logo { height: 70px; width: auto; filter: brightness(0) invert(1); }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer__col .eyebrow { margin-bottom: 4px; }
.footer__col a { opacity: .78; }
.footer__col a:hover { opacity: 1; color: var(--beige-hi); }
.footer__bottom { max-width: var(--container); margin: 0 auto; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line-2); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__logo { height: 58px; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* ===== Узкие экраны ===== */
@media (max-width: 560px) {
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  .hero__title, h1, h2 { overflow-wrap: anywhere; }
  .media-band__quote { font-size: 28px; }
}
