/* Макет C + правила скилла landing-page-design: шкала Tailwind, отступы из таблицы B2 */
/* Шрифты лежат у нас (fonts/), без Google: Google из России грузится медленно и держит пустую страницу */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/geist-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/geist-latin.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;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/geist-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/geist-latin.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;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/geist-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/geist-latin.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;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/manrope-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/manrope-latin.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;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/manrope-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/manrope-latin.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;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/manrope-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/manrope-latin.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;
}
:root {
  --bg: #F7F5F0;
  --surface: #FFFFFF;
  --ink: #13213F;
  --ink-muted: #4A5675;
  --deep: #0F2B5B;
  --accent: #1F63E6;
  --accent-soft: #D6E4FF;
  --red: #C8102E;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --head: "Manrope", system-ui, sans-serif;
  --body: "Geist", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 400 16px/24px var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }

.skip { position: absolute; left: 16px; top: -64px; z-index: 50; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 8px;
  background: var(--red); color: #FFFFFF;
  font: 600 16px/24px var(--body); text-decoration: none;
  transition: transform 300ms var(--ease), opacity 300ms var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.98); }
.btn-sm { font-size: 14px; line-height: 20px; white-space: nowrap; }

/* Навигация: плавающая плашка */
.nav {
  position: fixed; top: 16px; left: 50%; z-index: 40;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 24px;
  padding: 8px 8px 8px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(19, 33, 63, 0.08);
}
.brand { display: flex; align-items: center; gap: 8px; font: 700 16px/24px var(--head); text-decoration: none; }
.brand-logo { height: 40px; width: 67px; max-width: none; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { font-size: 14px; line-height: 20px; text-decoration: none; color: var(--ink-muted); transition: color 300ms var(--ease); }
.nav-links a:hover { color: var(--ink); }

.menu { display: none; position: relative; width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; }
.menu span { position: absolute; left: 12px; width: 16px; height: 2px; background: var(--ink); transition: transform 500ms var(--ease); }
.menu span:first-child { transform: translateY(-4px); }
.menu span:last-child { transform: translateY(4px); }
.nav[data-open="true"] .menu span:first-child { transform: rotate(45deg); }
.nav[data-open="true"] .menu span:last-child { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 30;
  display: flex; flex-direction: column; gap: 16px;
  padding: 96px 24px 32px;
  background: rgba(247, 245, 240, 0.94); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu .btn { align-self: flex-start; }
.mobile-menu a:not(.btn) { font: 600 24px/32px var(--head); text-decoration: none; }
.mobile-menu > * { opacity: 0; transform: translateY(24px); animation: rise 500ms var(--ease) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Первый экран */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; color: #FFFFFF; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(15, 43, 91, 0.55); }
.hero-inner {
  position: relative; z-index: 2; width: 100%; max-width: 1280px; margin: 0 auto;
  padding: 96px 40px 64px;
  display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: end;
}
.eyebrow { font: 500 14px/20px var(--body); color: var(--accent-soft); margin-bottom: 16px; }
.hero h1 {
  max-width: 680px; font-size: 48px; line-height: 1; letter-spacing: -0.02em;
  background: linear-gradient(90deg, #FFFFFF, #9B9B9B); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { max-width: 680px; margin: 24px 0 32px; font-size: 18px; line-height: 28px; color: rgba(255, 255, 255, 0.88); }
.proof { margin-top: 24px; padding-top: 16px; max-width: 480px; font-size: 14px; line-height: 20px; color: rgba(255, 255, 255, 0.8); position: relative; }
.proof::before { content: ""; position: absolute; top: 0; left: 0; width: 48px; height: 2px; background: var(--accent); }

.portrait { background: var(--surface); padding: 8px; border-radius: 16px; color: var(--ink); }
.portrait img { border-radius: 8px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 55% 30%; width: 100%; }
.portrait figcaption { padding: 12px 8px 4px; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.portrait strong { display: block; font: 600 16px/24px var(--head); color: var(--ink); }

/* Полоса условий */
.facts { background: var(--deep); color: #FFFFFF; display: grid; grid-template-columns: repeat(3, 1fr); }
.facts div { padding: 32px 40px; display: grid; gap: 4px; }
.facts div + div { box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.12); }
.facts strong { font: 600 20px/28px var(--head); }
.facts span { font-size: 14px; line-height: 20px; color: rgba(255, 255, 255, 0.72); }

/* Секции */
.label { font: 500 14px/20px var(--body); color: var(--accent); margin-bottom: 16px; }
.lead { font-size: 18px; line-height: 28px; color: var(--ink-muted); }

/* Задачи руководителя */
.tasks { max-width: 1280px; margin: 0 auto; padding: 96px 40px; display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
.tasks h2 { font-size: 36px; line-height: 40px; letter-spacing: -0.01em; margin-bottom: 24px; }
.tasks-list { list-style: none; padding: 0; counter-reset: task; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tasks-list li { counter-increment: task; background: var(--surface); border: 1px solid rgba(19, 33, 63, 0.08); border-radius: 16px; padding: 24px; }
.tasks-list li::before { content: "0" counter(task); display: block; font: 500 14px/20px var(--body); color: var(--accent); margin-bottom: 16px; }
.tasks-list h3 { font-size: 20px; line-height: 28px; margin-bottom: 8px; }
.tasks-list p { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.tasks-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.tasks-photo { margin-top: 32px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; }

/* Девиз: слова загораются по очереди при прокрутке */
.tagline { position: relative; overflow: hidden; background: var(--deep); padding: 128px 40px; display: flex; justify-content: center; }
.tagline-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.tagline-text { position: relative; max-width: 680px; font: 700 48px/1 var(--head); letter-spacing: -0.02em; text-wrap: balance; }
.tagline-text .w { color: rgba(255, 255, 255, 0.3); transition: color 500ms var(--ease); }
.tagline-text .w.on { color: #FFFFFF; }

/* Подход: фото, три отличия, TedCom */
.approach { max-width: 1280px; margin: 0 auto; padding: 96px 40px; display: grid; grid-template-columns: 5fr 7fr; gap: 48px 64px; }
.approach h2 { font-size: 36px; line-height: 40px; letter-spacing: -0.01em; margin-bottom: 24px; }
.approach-photo { grid-row: span 2; }
.approach-photo img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; border-radius: 16px; }
.approach-points { list-style: none; padding: 0; display: grid; gap: 24px; align-content: start; }
.approach-points h3 { font-size: 18px; line-height: 28px; margin-bottom: 4px; }
.approach-points p { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.expertise { grid-column: 1 / -1; display: grid; gap: 16px; }
.expertise h3 { font-size: 18px; line-height: 28px; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 12px; border-radius: 9999px; background: var(--surface); border: 1px solid rgba(31, 99, 230, 0.24); color: var(--deep); font: 500 14px/20px var(--body); }
.tedcom { grid-column: 1 / -1; background: var(--accent-soft); border-radius: 16px; padding: 32px 40px; display: grid; grid-template-columns: 5fr 7fr; gap: 8px 64px; align-items: start; }
.tedcom .label { grid-column: 1 / -1; margin-bottom: 0; }
.tedcom h3 { font-size: 24px; line-height: 32px; }
.tedcom p:last-child { color: var(--ink-muted); }

/* Как это устроено: настоящая последовательность, поэтому номера */
.steps { background: var(--surface); }
.steps-inner { max-width: 1280px; margin: 0 auto; padding: 96px 40px; }
.steps h2 { font-size: 36px; line-height: 40px; letter-spacing: -0.01em; margin-bottom: 48px; }
.steps-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-bottom: 48px; }
.steps-list li { display: grid; gap: 8px; align-content: start; }
.step-no { width: 40px; height: 40px; border-radius: 9999px; background: var(--accent); color: #FFFFFF; display: grid; place-items: center; font: 600 16px/24px var(--head); margin-bottom: 8px; }
.steps-list h3 { font-size: 20px; line-height: 28px; }
.steps-list p { color: var(--ink-muted); }
.steps-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 48px; }
.steps-photos img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; }
.steps-photos figcaption { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--ink-muted); }

/* Опыт: два кейса с фото, ниже два текстовых */
/* Темы и форматы */
.formats { max-width: 1280px; margin: 0 auto; padding: 96px 40px; display: grid; gap: 48px; }
.formats h2 { font-size: 36px; line-height: 40px; letter-spacing: -0.01em; margin-bottom: 24px; }
.formats-head .lead { max-width: 680px; }
.format-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.format-list li { display: grid; gap: 8px; align-content: start; padding: 24px; background: var(--surface); border-radius: 16px; }
.format-no { font: 600 14px/20px var(--body); color: var(--accent); }
.format-list h3 { font-size: 20px; line-height: 28px; }
.format-list p { color: var(--ink-muted); }
.format-list .format-meta { font: 600 14px/20px var(--body); color: var(--deep); }
@media (max-width: 900px) { .formats { padding: 64px 16px; gap: 32px; } .formats h2 { font-size: 30px; line-height: 36px; } .format-list { grid-template-columns: 1fr; gap: 16px; } }

/* Лекции */
.lectures { max-width: 1280px; margin: 0 auto; padding: 96px 40px 0; display: grid; gap: 48px; }
.lectures-head .lead { max-width: 760px; }
.lectures h2 { font-size: 36px; line-height: 40px; letter-spacing: -0.01em; margin-bottom: 24px; }
.lectures-stats { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.lectures-stats li { display: grid; gap: 4px; align-content: start; padding-top: 16px; border-top: 2px solid var(--accent); }
.lectures-stats strong { font: 700 36px/40px var(--head); color: var(--deep); }
.lectures-stats span { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.lectures-note { max-width: 760px; color: var(--ink-muted); }
@media (max-width: 900px) { .lectures { padding: 64px 16px 0; } .lectures h2 { font-size: 30px; line-height: 36px; } .lectures-stats { grid-template-columns: 1fr; gap: 24px; } }

.cases { max-width: 1280px; margin: 0 auto; padding: 96px 40px; display: grid; gap: 48px; }
.cases h2, .kit h2 { font-size: 36px; line-height: 40px; letter-spacing: -0.01em; margin-bottom: 24px; }
.cases-head .lead { max-width: 680px; }
.cases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.case { display: grid; gap: 8px; align-content: start; }
.case img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; margin-bottom: 16px; }
.case h3, .cases-more h3 { font-size: 20px; line-height: 28px; }
.case p:not(.case-tag), .cases-more p:not(.case-tag) { color: var(--ink-muted); }
.case strong { color: var(--ink); font-weight: 600; }
.case-tag { font: 500 14px/20px var(--body); color: var(--accent); }
.cases-more { list-style: none; padding: 32px 0 0; border-top: 1px solid rgba(19, 33, 63, 0.12); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.cases-more li { display: grid; gap: 8px; align-content: start; }

/* Что остаётся: фото тетрадей и пять выгод */
.kit { background: var(--surface); }
.kit-inner { max-width: 1280px; margin: 0 auto; padding: 96px 40px; display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
.kit-head img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; }
.kit-list { list-style: none; padding: 0; display: grid; gap: 24px; align-content: start; }
.kit-list li { padding-bottom: 24px; border-bottom: 1px solid rgba(19, 33, 63, 0.08); }
.kit-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.kit-list h3 { font-size: 18px; line-height: 28px; margin-bottom: 4px; }
.kit-list p { font-size: 14px; line-height: 20px; color: var(--ink-muted); }

/* Команда: двое крупно, ниже общее фото с именами */
.team { max-width: 1280px; margin: 0 auto; padding: 96px 40px; display: grid; gap: 32px; }
.team h2 { font-size: 36px; line-height: 40px; letter-spacing: -0.01em; }
.team-leads { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.lead-card img, .team-group img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; }
.lead-card figcaption { margin-top: 16px; color: var(--ink-muted); }
.lead-card strong { display: block; font: 700 20px/28px var(--head); color: var(--ink); }
.lead-card .lead-link { display: inline-block; margin-top: 8px; color: var(--accent); font-weight: 600; }
.team-group figcaption { margin-top: 16px; max-width: 760px; color: var(--ink-muted); }

/* Появление секций */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav { left: 16px; right: 16px; transform: none; justify-content: space-between; }
  .nav-links, .nav > .btn { display: none; }
  .menu { display: block; }
  .hero-inner { grid-template-columns: 1fr; padding: 96px 16px 40px; gap: 32px; }
  .hero h1 { font-size: 30px; line-height: 36px; }
  .hero h1 br { display: none; }
  .hero-sub { font-size: 16px; line-height: 24px; }
  .portrait { max-width: 280px; }
  .facts { grid-template-columns: 1fr; }
  .facts div { padding: 24px 16px; }
  .facts div + div { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); }
  .tasks { grid-template-columns: 1fr; gap: 32px; padding: 64px 16px; }
  .tasks h2 { font-size: 30px; line-height: 36px; }
  .tasks-list { grid-template-columns: 1fr; }
  .tagline { padding: 96px 16px; }
  .approach { grid-template-columns: 1fr; gap: 32px; padding: 64px 16px; }
  .approach h2, .steps h2 { font-size: 30px; line-height: 36px; }
  .approach-photo { grid-row: auto; }
  .approach-photo img { min-height: 0; aspect-ratio: 3 / 2; }
  .tedcom { grid-template-columns: 1fr; padding: 24px; }
  .steps-inner { padding: 64px 16px; }
  .steps-list { grid-template-columns: 1fr; }
  .steps-photos { grid-template-columns: 1fr 1fr; }
  .steps-photos figure:first-child { grid-column: 1 / -1; }
  .cases { padding: 64px 16px; gap: 32px; }
  .cases h2, .kit h2 { font-size: 30px; line-height: 36px; }
  .cases-grid, .cases-more { grid-template-columns: 1fr; }
  .kit-inner { grid-template-columns: 1fr; gap: 32px; padding: 64px 16px; }
  .team { padding: 64px 16px; }
  .team h2 { font-size: 30px; line-height: 36px; }
  .team-leads { grid-template-columns: 1fr; }
  .tagline-text { font-size: 30px; line-height: 36px; }
  .tagline-text br { display: none; }
}

/* Вопросы и ответы */
.faq { max-width: 1280px; margin: 0 auto; padding: 96px 40px; display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
.faq h2 { font-size: 36px; line-height: 40px; letter-spacing: -0.01em; }
.faq-list details { border-bottom: 1px solid rgba(19, 33, 63, 0.12); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font: 600 18px/28px var(--head); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--accent); transition: transform 300ms var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding-bottom: 20px; color: var(--ink-muted); max-width: 680px; }

/* Бриф */
.brief { background: var(--deep); color: #FFFFFF; }
.brief-inner { max-width: 1280px; margin: 0 auto; padding: 96px 40px; }
.brief .label { color: var(--accent-soft); }
.brief h2 { font-size: 36px; line-height: 40px; letter-spacing: -0.01em; margin-bottom: 24px; }
.brief .lead { max-width: 680px; color: rgba(255, 255, 255, 0.8); }
.contacts { list-style: none; padding: 0; margin-top: 32px; display: grid; gap: 8px; font: 600 18px/28px var(--head); }
.contacts a { text-decoration: none; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn-light { background: #FFFFFF; color: var(--deep); }
.call-bar { display: none; }
.contacts a:hover { text-decoration: underline; }

/* Подвал */
.footer { max-width: 1280px; margin: 0 auto; padding: 32px 40px 48px; display: grid; gap: 8px; color: var(--ink-muted); font-size: 14px; line-height: 20px; }

@media (max-width: 900px) {
  .faq, .brief-inner { grid-template-columns: 1fr; gap: 32px; padding: 64px 16px; }
  .faq h2, .brief h2 { font-size: 30px; line-height: 36px; }
  .footer { padding: 32px 16px 96px; }
  .call-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: rgba(247, 245, 240, 0.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid rgba(19, 33, 63, 0.08); }
  .call-bar .btn { justify-content: center; padding: 12px; }
  .call-bar .btn-light { border: 1px solid rgba(19, 33, 63, 0.16); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 200ms !important; animation: none !important; }
  .mobile-menu > *, .reveal { opacity: 1; transform: none; }
  .reveal { transition: opacity 200ms; }
  html { scroll-behavior: auto; }
}

/* Страница 404: как у Клуба — карточка-фото, реплика и ответ, одна кнопка; текст внизу, чтобы не закрыть лицо */
.notfound-top { max-width: 1280px; margin: 0 auto; padding: 24px 40px; }
.notfound { position: relative; max-width: 1200px; margin: 0 auto 64px; border-radius: 32px; overflow: hidden; background: var(--deep); }
.notfound-photo { width: 100%; display: block; }
.notfound::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 43, 91, 0) 40%, rgba(15, 43, 91, 0.8) 72%, rgba(15, 43, 91, 0.55) 100%); pointer-events: none; }
.notfound-copy { position: absolute; z-index: 1; left: 0; right: 0; bottom: 56px; padding: 0 40px; display: grid; gap: 16px; justify-items: center; text-align: center; color: #FFFFFF; }
.notfound h1 { font-size: 56px; line-height: 1; letter-spacing: -0.02em; }
.notfound-reply { font: 600 28px/36px var(--head); white-space: nowrap; margin-bottom: 16px; }
@media (max-width: 900px) {
  .notfound-top { padding: 16px; }
  .notfound { margin: 0 16px 32px; border-radius: 24px; }
  .notfound::after { display: none; }
  .notfound-copy { position: static; padding: 32px 16px 40px; }
  .notfound h1 { font-size: 30px; line-height: 36px; }
  .notfound-reply { font-size: 22px; line-height: 28px; }
}
