/* ==========================================================================
   Код Роста — стили
   Палитра: электрик-синий #296EF7, малиновый #EB344A, чёрный, белый.
   Стиль: строгая геометрия, фигуры перекрываются без белых зазоров.
   ========================================================================== */

:root {
  --blue: #296EF7;
  --blue-dark: #1650C2;
  --crimson: #EB344A;
  --crimson-dark: #B9182B;
  --black: #0B0B0C;
  --white: #FFFFFF;
  --gray-50: #F6F7FB;
  --gray-100: #ECEEF5;
  --gray-300: #CBD0E0;
  --gray-500: #6B7080;
  --gray-700: #34374a;

  --font-display: 'Unbounded', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --radius: 18px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  word-break: break-word;
}

p { line-height: 1.6; margin: 0 0 1em; }
a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; position: relative; }
.section--tight { padding: 72px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 6px;
  background: var(--crimson);
  border-radius: 3px;
  display: inline-block;
}

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--gray-700); font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 20px -6px rgba(41,110,247,.55);
}
.btn--primary:hover { background: var(--blue-dark); }

.btn--accent {
  background: var(--crimson);
  color: var(--white);
  box-shadow: 0 8px 20px -6px rgba(235,52,74,.5);
}
.btn--accent:hover { background: var(--crimson-dark); }

.btn--outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn--outline:hover { background: var(--black); color: var(--white); }

.btn--ghost {
  background: var(--white);
  color: var(--blue);
  border-color: var(--gray-300);
}
.btn--ghost:hover { border-color: var(--blue); }

.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-100);
}
/* iOS 26 Safari и браузеры внутри мессенджеров: панель браузера полупрозрачная, под ней виден контент страницы,
   а фиксированная шапка стоит ниже панели — выглядит «оторванной». Продлеваем фон шапки вверх, за край экрана:
   на компьютере и в обычных браузерах это не видно, на iPhone полоса под панелью закрашена цветом шапки. */
.site-header::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 100%;
  height: 240px;
  background: inherit;
  pointer-events: none;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  color: var(--black);
  white-space: nowrap;
  flex-shrink: 0;
}
.logo-mark {
  width: 34px; height: 29px;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0; padding: 0;
  font-size: 14.5px;
  font-weight: 600;
  flex-shrink: 0;
}
.nav-links a { text-decoration: none; color: var(--gray-700); transition: color .15s; white-space: nowrap; }
.nav-links a:hover { color: var(--blue); }
/* Пункт только для выпадающего (бургер) меню — в строке шапки на десктопе не показываем */
.nav-links .nav-only-menu { display: none; }
.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-cta .cta-short { display: none; }
.burger {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--gray-300);
  background: var(--white);
  align-items: center; justify-content: center;
  cursor: pointer;
}
.burger span, .burger span::before, .burger span::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--black);
  position: relative;
  transition: transform .2s;
}
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }

/* Бургер в режиме «панель» (главная): виден и на десктопе, открывает выпадающую
   панель со всеми разделами — включая пункты, скрытые из строки шапки (.nav-only-menu).
   Панель — копия .nav-links, её создаёт js/main.js при первом открытии. */
.burger--always { display: flex; }
.burger[aria-expanded="true"] { border-color: var(--black); }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.nav-dropdown {
  display: none;
  position: fixed;
  top: 84px;
  right: max(24px, calc((100vw - var(--container)) / 2 + 24px));
  width: 280px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  margin: 0; padding: 8px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  box-shadow: 0 20px 40px -16px rgba(0,0,0,.25);
  z-index: 101;
}
.nav-dropdown.is-open { display: block; }
.nav-dropdown li { display: block; }
.nav-dropdown a {
  display: block;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 15px; font-weight: 600;
  color: var(--gray-700);
  text-decoration: none;
}
.nav-dropdown a:hover { background: var(--gray-50); color: var(--blue); }
/* подразделы (Туризм, Калориметр) — внизу списка, жирным, отделены линией */
.nav-dropdown .nav-only-menu a { font-weight: 800; color: var(--black); }
/* ссылки на разделы сайта — в фирменном цвете каждого раздела */
.nav-dropdown .nav-only-menu a.menu-brand--kodrosta { color: #296EF7; }
.nav-dropdown .nav-only-menu a.menu-brand--turizm { color: #2F6B4F; }
.nav-dropdown .nav-only-menu a.menu-brand--kalorimetr { color: #E23145; }
.nav-dropdown .nav-only-menu a.menu-brand--premiya { color: #001B7D; }
.nav-dropdown .nav-only-menu a.menu-brand--rubezh { color: #296EF7; }
.nav-dropdown li:not(.nav-only-menu) + .nav-only-menu { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--gray-100); }
/* С бургером на десктопе шапке нужно больше места: на главной строку разделов
   прячем чуть раньше общего брейкпоинта (1040px) — все пункты есть в панели. */
@media (max-width: 1160px) {
  .site-header:has(.burger--always) .nav-links { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 152px 0 110px;
  overflow: hidden;
  background: var(--white);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.hero-inner { max-width: 660px; flex: 1 1 480px; }
.hero h1 {
  font-size: clamp(28px, 4.4vw, 46px);
  margin-bottom: 22px;
}
.hero h1 .hl { color: var(--blue); }
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--gray-700);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-audience {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--gray-500);
}
.hero-audience b { color: var(--black); font-family: var(--font-display); font-size: 15px; }

.hero-photo {
  position: relative;
  flex: 0 0 360px;
  width: 360px;
  height: 360px;
  margin: 0;
}
.hero-photo-shape {
  position: absolute;
  top: 40px; left: 45px;
  width: 420px; height: 330px;
  z-index: 0;
}
.hero-photo img {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
/* ---------- About ---------- */
.about-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.about-lead {
  font-size: clamp(18px, 2.4vw, 22px);
  max-width: 720px;
  color: var(--black);
  margin-bottom: 0;
  font-weight: 500;
  flex: 1 1 420px;
}
.founder {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 0 0 auto;
  margin: 0;
}
.founder-photo {
  position: relative;
  width: 150px;
  height: 150px;
  flex-shrink: 0;
}
.founder-blob {
  position: absolute;
  top: 10px; left: -43px;
  width: 195px; height: 155px;
  z-index: 0;
}
.founder-photo img {
  position: relative;
  z-index: 1;
  width: 150px; height: 150px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.founder figcaption {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  color: var(--gray-500);
  max-width: 230px;
}
.founder figcaption b {
  color: var(--black);
  font-family: var(--font-display);
  font-size: 14px;
  margin-bottom: 3px;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.about-card {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--gray-50);
}
.about-card .num-tag {
  display: inline-flex;
  width: 40px; height: 40px;
  border-radius: 10px;
  align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}
.about-card:nth-child(1) .num-tag { background: var(--blue); }
.about-card:nth-child(2) .num-tag { background: var(--crimson); }
.about-card:nth-child(3) .num-tag { background: var(--black); }
.about-card h3 { font-size: 18px; margin-bottom: 10px; }
.about-card p { color: var(--gray-700); font-size: 15px; margin: 0; }

/* ---------- Numbers ---------- */
.numbers { background: var(--black); color: var(--white); position: relative; overflow: hidden; }
.numbers .section-head p { color: rgba(255,255,255,.65); }
.numbers .section-head h2 { color: var(--white); }
.numbers .eyebrow { color: var(--crimson); }
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.12);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.stat {
  background: var(--black);
  padding: 40px 28px;
}
.stat .stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 3.6vw, 44px);
  color: var(--white);
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 10px;
}
.stat .stat-num .suffix { font-size: .5em; color: var(--blue); font-weight: 700; white-space: nowrap; }
.stat p { color: rgba(255,255,255,.6); font-size: 14px; margin: 0; }

/* Отрасли резидентов — горизонтальная диаграмма */
.industries { margin-top: 56px; position: relative; z-index: 1; }
.industries-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--crimson);
  margin: 0 0 28px;
}
.industries-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.industry { display: grid; grid-template-columns: minmax(180px, 320px) 1fr; align-items: center; column-gap: 24px; }
.industry-name { text-align: right; color: rgba(255,255,255,.85); font-size: 16px; }
.industry-track { display: block; }
.industry-bar {
  display: flex;
  align-items: center;
  width: 0;
  min-width: 44px;
  height: 28px;
  padding-left: 12px;
  border-radius: 0 6px 6px 0;
  background: var(--blue);
  transition: width 1s cubic-bezier(.2,.7,.2,1);
}
.industries.is-visible .industry-bar { width: var(--w); }
.industry:nth-child(-n+2) .industry-bar { background: var(--crimson); }
.industry-val { font-family: var(--font-display); font-size: 13px; font-weight: 500; color: var(--white); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .industry-bar { transition: none; } }
@media (max-width: 720px) {
  .industries { margin-top: 40px; }
  .industry { grid-template-columns: 1fr; row-gap: 6px; }
  .industry-name { text-align: left; font-size: 14px; }
  .industry-bar { height: 24px; }
}

/* ---------- Why join ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 40px;
  margin-top: 20px;
}
.why-card {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  background: var(--gray-50);
  overflow: visible;
}
.why-photo-wrap {
  position: absolute;
  top: -14px; right: -14px;
  width: 158px;
  height: 128px;
  z-index: 1;
}
.why-photo-shape {
  position: absolute;
  bottom: 0; left: 0;
  width: 132px; height: 104px;
}
.why-photo-circle {
  position: absolute;
  top: 0; right: 0;
  width: 128px; height: 128px;
  border-radius: 50%;
  overflow: hidden;
  z-index: 1;
}
.why-photo-circle img { width: 100%; height: 100%; object-fit: cover; display: block; }

.why-index {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 14px;
  letter-spacing: .06em;
}
.why-card h3 { font-size: 19px; margin-bottom: 10px; padding-right: 160px; position: relative; z-index: 1; }
.why-card p { color: var(--gray-700); font-size: 15px; margin: 0; padding-right: 160px; position: relative; z-index: 1; }

/* ---------- Events ---------- */
.events-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}
.events-list { display: flex; flex-direction: column; gap: 16px; }
/* overflow:hidden, НЕ auto — списку нельзя быть отдельной скролл-областью: на мобильных
   вложенный скролл внутри .events-list перехватывал тач-скролл страницы, и когда он
   упирался в свой предел, скролл не всегда передавался обратно наружу — страница "залипала"
   и не листалась, пока её не перезагрузишь. Открыть остальные события можно только кнопкой. */
.events-list.is-scrollable { overflow: hidden; }
.events-fade {
  position: sticky;
  bottom: 0; left: 0; right: 0;
  flex-shrink: 0; /* .events-list — флекс-колонка; без этого браузер сжимает градиент почти до нуля,
                      забирая недостающую высоту у него, а не у текстовых карточек (у них есть min-content) */
  border-radius: 0 0 var(--radius) var(--radius); /* без этого градиент — прямоугольник и торчит
                      за скруглённые углы карточки, под которой он лежит */
  height: 260px;
  margin-top: -260px;
  background: linear-gradient(to bottom,
    rgba(41,110,247,0) 0%,
    rgba(41,110,247,.35) 30%,
    rgba(41,110,247,.7) 55%,
    rgba(41,110,247,.92) 80%,
    rgba(41,110,247,.99) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 18px;
  pointer-events: none;
}
.events-fade .btn { pointer-events: auto; }
/* Карточка, которая приоткрыта под градиентом (см. setupEventsScrollCap) —
   прячем её кнопку записи, чтобы она не наслаивалась на «Показать больше событий». */
.event-card.is-peeking .event-actions { visibility: hidden; }
.event-card {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
}
.event-card:hover { border-color: var(--blue); box-shadow: 0 10px 30px -18px rgba(11,11,12,.25); }
.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  border-radius: 12px;
  padding: 14px 8px;
  text-align: center;
}
.event-date .d { font-family: var(--font-display); font-size: 56px; font-weight: 700; color: var(--blue); line-height: 1; }
.event-date .m { font-size: 15px; text-transform: uppercase; color: var(--gray-500); margin-top: 6px; letter-spacing: .04em; }
.event-info .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--crimson);
  background: #FFF1F3;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.event-info h3 { font-size: 18px; margin-bottom: 6px; }
.event-info .meta { font-size: 14px; color: var(--gray-500); margin-bottom: 8px; }
.event-info p { font-size: 14px; color: var(--gray-700); margin: 0; }
.event-desc-full { margin-top: 10px; }
.event-desc-full p { font-size: 14px; color: var(--gray-700); margin: 0 0 10px; }
.event-desc-full p:last-child { margin-bottom: 0; }
.event-desc-toggle {
  display: inline-block;
  margin-top: 8px;
  padding: 0;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
}
.event-desc-toggle:hover { text-decoration: underline; }
.event-actions { display: flex; flex-direction: column; gap: 8px; }

.calendar-sub {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(120deg, #EEF3FF 0%, #FFEEF0 100%);
  border: 1px solid var(--gray-100);
}
.calendar-sub h3 { font-size: 18px; margin-bottom: 6px; }
.calendar-sub p { margin: 0; color: var(--gray-700); font-size: 14px; max-width: 480px; }
.calendar-sub-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- How to join ---------- */
.how-dark { background: var(--black); color: var(--white); position: relative; overflow: hidden; }
.how-dark .section-head p { color: rgba(255,255,255,.65); }
.how-dark .section-head h2 { color: var(--white); }
.how-dark .eyebrow { color: var(--crimson); }

.steps-flow {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 24px;
  position: relative;
}
.steps-flow::before {
  content: "";
  position: absolute;
  top: 32px;
  left: calc(12.5% + 4px);
  right: calc(12.5% + 4px);
  height: 2px;
  background: rgba(255,255,255,.22);
  z-index: 0;
}
.step-flow {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  opacity: 0;
  transform: translateY(18px) scale(.96);
  transition: opacity .45s ease, transform .45s ease;
}
.steps-flow.is-visible .step-flow { opacity: 1; transform: translateY(0) scale(1); }
.steps-flow.is-visible .step-flow:nth-child(1) { transition-delay: 0ms; }
.steps-flow.is-visible .step-flow:nth-child(2) { transition-delay: 120ms; }
.steps-flow.is-visible .step-flow:nth-child(3) { transition-delay: 240ms; }
.steps-flow.is-visible .step-flow:nth-child(4) { transition-delay: 360ms; }
.step-flow-node {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 20px;
  flex-shrink: 0;
}
.step-flow:nth-child(odd) .step-flow-node { background: var(--blue); }
.step-flow:nth-child(even) .step-flow-node { background: var(--crimson); }
.step-flow h3 { font-size: 16px; margin-bottom: 6px; color: var(--white); }
.step-flow p { font-size: 14px; color: rgba(255,255,255,.65); margin: 0; }
.steps-cta { margin-top: 36px; text-align: center; }

/* ---------- Apply band ---------- */
.apply-band {
  background: var(--blue);
  color: var(--white);
  border-radius: 28px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.apply-band::after {
  content: "";
  position: absolute;
  right: -60px; top: -50px;
  width: 220px; height: 175px;
  background: var(--crimson);
  clip-path: path("M 5.1 53.9 C 8.1 44.1 25.8 38.2 35.3 30.0 C 44.8 21.8 51.3 7.6 62.0 4.9 C 72.6 2.2 86.9 13.1 99.5 13.7 C 112.0 14.4 126.5 5.3 137.3 8.9 C 148.1 12.5 154.0 28.2 164.2 35.4 C 174.4 42.5 192.0 42.9 198.5 52.0 C 205.1 61.0 200.8 77.7 203.4 89.6 C 206.1 101.5 217.8 114.2 214.3 123.5 C 210.9 132.8 191.8 137.8 182.5 145.6 C 173.2 153.4 168.7 167.5 158.3 170.1 C 147.9 172.7 132.4 161.8 120.0 161.3 C 107.6 160.7 94.8 170.4 84.1 166.9 C 73.4 163.4 66.6 147.7 55.9 140.4 C 45.2 133.0 26.4 131.3 20.0 122.7 C 13.6 114.1 20.1 100.4 17.6 88.9 C 15.1 77.4 2.2 63.7 5.1 53.9 Z");
  opacity: .9;
}
.apply-band::before {
  content: "";
  position: absolute;
  right: 30px; bottom: -70px;
  width: 160px; height: 136px;
  background: var(--black);
  clip-path: path("M 97.3 133.7 L 2.3 2.3 L 157.7 48.8 L 97.3 133.7 Z");
  opacity: .85;
}
.apply-band-text { position: relative; z-index: 1; max-width: 520px; }
.apply-band h2 { font-size: clamp(24px, 3.4vw, 32px); color: var(--white); margin-bottom: 12px; }
.apply-band p { color: rgba(255,255,255,.85); margin: 0; }
.apply-band-actions { position: relative; z-index: 1; }
.apply-band .btn--accent { box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); }

/* ---------- Partners ---------- */
.partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 36px 48px;
  margin-top: 8px;
}
.partners-row img,
.partner-lockup img {
  height: 40px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
  object-fit: contain;
}
.partner-lockup {
  display: flex;
  align-items: center;
  gap: 8px;
}
.partner-lockup span {
  font-family: var(--font-body);
  color: #525258;
  white-space: nowrap;
}
.partner-lockup--2 span { font-size: 12px; line-height: 1.3; }
.partner-lockup--3 span { font-size: 10px; line-height: 1.3; }
.partner-lockup--4 span { font-size: 8px; line-height: 1.2; }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px;
  border-top: 1px solid var(--gray-100);
}
.faq-item { border-bottom: 1px solid var(--gray-100); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  color: var(--black);
}
.faq-question:hover { color: var(--blue); }
.faq-icon {
  flex-shrink: 0;
  position: relative;
  width: 20px;
  height: 20px;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after { width: 2px; height: 14px; transition: transform .2s; }
.faq-question[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg) scaleY(0); }
.faq-answer { padding: 0 4px 22px; max-width: 640px; }
.faq-answer p { color: var(--gray-700); font-size: 15.5px; line-height: 1.6; }
.faq-answer ul { margin: 0 0 1em; padding-left: 20px; }
.faq-answer li { color: var(--gray-700); font-size: 15.5px; line-height: 1.6; margin-bottom: 8px; }
.faq-answer a { color: var(--blue); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand .logo { color: var(--white); margin-bottom: 14px; }
.footer-logo-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue) 55%, var(--crimson) 55%);
  flex-shrink: 0;
}
.footer-brand p { font-size: 14px; max-width: 320px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,.5);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  text-decoration: none;
  color: rgba(255,255,255,.85);
  font-size: 15px;
  margin-bottom: 10px;
  transition: color .15s;
}
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(255,255,255,.45);
}
.footer-requisites { display: flex; flex-direction: column; gap: 4px; }
.footer-bottom-links { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.footer-bottom a { text-decoration: underline; color: rgba(255,255,255,.6); }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11,11,12,.55);
  backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}
.modal-overlay.is-open { display: flex; }
.modal {
  background: var(--white);
  border-radius: 22px;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--gray-100);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: var(--gray-700);
}
.modal h3 { font-size: 22px; margin-bottom: 6px; padding-right: 30px; }
.modal .modal-sub { color: var(--gray-500); font-size: 14px; margin-bottom: 24px; }

.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--gray-700);
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--gray-300);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--black);
  transition: border-color .15s;
  background: var(--white);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.form-field textarea { resize: vertical; min-height: 80px; }
.form-hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-consent {
  font-size: 12.5px;
  color: var(--gray-500);
  margin: 4px 0 20px;
  line-height: 1.5;
}
.form-consent a { color: var(--blue); text-decoration: underline; }
.form-status {
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.ok { background: #EAF6EE; color: #1E7A3D; }
.form-status.err { background: #FDECEE; color: var(--crimson-dark); }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  display: none;
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 900;
  max-width: 640px;
  margin: 0 auto;
  background: var(--black);
  color: rgba(255,255,255,.85);
  border-radius: 16px;
  padding: 18px 22px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 20px 40px -16px rgba(0,0,0,.5);
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner p { margin: 0; font-size: 13.5px; line-height: 1.5; flex: 1 1 340px; }
.cookie-banner a { color: var(--white); text-decoration: underline; }
.cookie-banner .btn { flex-shrink: 0; }

/* ---------- Utility ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { flex-direction: column; align-items: flex-start; }
  .hero-inner { flex: 0 0 auto; }
  .hero-photo { flex: 0 0 auto; align-self: center; width: 280px; height: 280px; margin-top: 8px; }
  .hero-photo-shape { top: 25px; left: 25px; width: 290px; height: 228px; }
  .about-intro { flex-direction: column; }
  .about-lead { flex: 0 0 auto; }
  .about-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: 1fr; }
  .steps-flow { flex-wrap: wrap; row-gap: 40px; }
  .steps-flow::before { display: none; }
  .step-flow { flex: 0 0 50%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .event-card { grid-template-columns: 110px 1fr; }
  .event-actions { grid-column: 1 / -1; flex-direction: row; }
}

@media (max-width: 1040px) {
  .nav-links { display: none; }
  .nav-links .nav-only-menu { display: list-item; }
  .nav-dropdown { top: 76px; left: 0; right: 0; width: auto; border-radius: 0; border-width: 0 0 1px; padding: 12px 16px; }
  .burger { display: flex; }
  .header-cta .cta-full { display: none; }
  .header-cta .cta-short { display: inline; }
}

@media (max-width: 720px) {
  .why-photo-wrap { width: 118px; height: 96px; }
  .why-photo-shape { width: 98px; height: 78px; }
  .why-photo-circle { width: 96px; height: 96px; }
  .why-card h3 { padding-right: 120px; }
  .why-card p { padding-right: 120px; }
  .section { padding: 64px 0; }
  .hero { padding: 128px 0 72px; }
  .hero-actions .btn { width: 100%; }
  .apply-band { padding: 36px 24px; flex-direction: column; align-items: flex-start; }
  .apply-band-actions .btn { width: 100%; }
  .calendar-sub { flex-direction: column; align-items: flex-start; }
  .founder { flex-direction: column; align-items: flex-start; gap: 24px; }
  .founder-blob { left: -15px; }
  .event-card { grid-template-columns: 1fr; }
  .event-date { flex-direction: row; justify-content: flex-start; gap: 8px; width: fit-content; padding: 8px 14px; }
}

@media (max-width: 520px) {
  .step-flow { flex: 0 0 100%; }
  .stat { padding: 28px 18px; }
  .stat .stat-num { font-size: 28px; flex-wrap: wrap; }
}
