/* ====================================================================
   Red Baron India — основные стили
   Цвета: фон #FFFFFF, шапка/меню #FFFFFF, кнопки #23233D, акцент #D31A24
   ==================================================================== */

:root {
  --white: #ffffff;
  --dark: #23233d;
  --dark-2: #2d2d4d;
  --red: #d31a24;
  --red-dark: #a8141c;
  --gold: #e6a817;
  --text: #1d1d2b;
  --text-soft: #555569;
  --border: #e7e7ef;
  --bg-soft: #f6f6fb;
  --bg-card: #ffffff;
  --shadow-sm: 0 2px 8px rgba(35, 35, 61, 0.06);
  --shadow-md: 0 8px 30px rgba(35, 35, 61, 0.1);
  --shadow-lg: 0 18px 50px rgba(35, 35, 61, 0.16);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1180px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  font-size: 17px;
  overflow-x: hidden;
}

h1, h2, h3, h4, .logo-text, .btn-play {
  font-family: 'Montserrat', sans-serif;
}

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

a { color: var(--red); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--red-dark); }

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

/* ---------------- Заголовки ---------------- */
h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: 1.18;
  color: var(--dark);
  letter-spacing: -0.5px;
}
h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.15rem);
  font-weight: 800;
  color: var(--dark);
  margin: 2.4rem 0 1.1rem;
  line-height: 1.25;
  position: relative;
}
h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: var(--red);
  border-radius: 4px;
  margin-top: 0.7rem;
}
h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: var(--dark);
  margin: 1.8rem 0 0.8rem;
}
h4 { font-size: 1.12rem; font-weight: 700; color: var(--dark); margin: 1.2rem 0 0.5rem; }

p { margin-bottom: 1.15rem; color: var(--text-soft); }
.content p { color: #3a3a4a; }

strong { color: var(--dark); font-weight: 700; }

ul, ol { margin: 0 0 1.3rem 1.3rem; color: #3a3a4a; }
li { margin-bottom: 0.55rem; }

/* ====================== ШАПКА ====================== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 76px;
}

.logo-link { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-img { width: 56px; height: 56px; object-fit: contain; }
.logo-text {
  font-weight: 900;
  font-size: 1.32rem;
  color: var(--dark);
  letter-spacing: -0.3px;
  white-space: nowrap;
}
.logo-text-accent { color: var(--red); }

.main-nav { margin-left: auto; }
.nav-list { display: flex; gap: 6px; list-style: none; margin: 0; }
.nav-link {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 10px;
  color: var(--dark);
  font-weight: 600;
  font-size: 0.98rem;
  font-family: 'Montserrat', sans-serif;
  transition: all .2s ease;
}
.nav-link:hover { background: var(--bg-soft); color: var(--red); }
.nav-link.active { color: var(--red); background: #fdeef0; }

/* ---------------- Кнопка "Играть" ---------------- */
.btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--dark);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 30px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: transform .18s ease, box-shadow .18s ease, background .2s ease;
  box-shadow: 0 6px 18px rgba(35, 35, 61, 0.28);
}
.btn-play::after {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.78rem;
}
.btn-play:hover {
  background: #1a1a30;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(35, 35, 61, 0.38);
}
.header-cta { flex-shrink: 0; padding: 10px 26px; }
.btn-play-lg { font-size: 1.18rem; padding: 16px 46px; }

/* ---------------- Бургер ---------------- */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.burger span {
  width: 26px;
  height: 3px;
  background: var(--dark);
  border-radius: 3px;
  transition: all .3s ease;
}
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ====================== HERO ====================== */
.hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(211,26,36,0.08), transparent 45%),
    linear-gradient(135deg, #fbfbfe 0%, #f3f3fa 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 60px 20px 64px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fdeef0;
  color: var(--red-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 7px 16px;
  border-radius: 30px;
  margin-bottom: 18px;
  font-family: 'Montserrat', sans-serif;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 .accent { color: var(--red); }
.hero-lead { font-size: 1.13rem; max-width: 540px; margin-bottom: 26px; }
.hero-cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  color: var(--dark); font-size: 1rem;
}
.hero-secondary i { color: var(--red); font-size: 1.1rem; }
.hero-secondary:hover { color: var(--red); }
.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-stat { }
.hero-stat .num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--dark);
  line-height: 1;
}
.hero-stat .lbl { font-size: 0.85rem; color: var(--text-soft); font-weight: 600; }
.hero-media {
  position: relative;
}
.hero-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-media .float-tag {
  position: absolute;
  bottom: -16px;
  left: -14px;
  background: var(--dark);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px 20px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}
.hero-media .float-tag .gold { color: var(--gold); }

/* ---------------- Хедер внутренних страниц ---------------- */
.page-hero { padding: 0; }
.page-hero-inner { padding: 52px 0 56px; max-width: 760px; }
.page-hero-inner h1 { margin-bottom: 16px; }
.page-hero-inner .hero-lead { margin-bottom: 26px; }

/* ====================== СОДЕРЖАНИЕ ====================== */
.page-wrap { padding: 46px 0 20px; }
.layout-with-toc {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 48px;
  align-items: start;
}
.toc {
  position: sticky;
  top: 96px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
}
.toc-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toc-title i { color: var(--red); }
.toc ol { list-style: none; margin: 0; counter-reset: toc; }
.toc li { margin-bottom: 4px; }
.toc a {
  display: block;
  padding: 7px 10px 7px 32px;
  border-radius: 8px;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 600;
  position: relative;
  counter-increment: toc;
  line-height: 1.4;
}
.toc a::before {
  content: counter(toc);
  position: absolute;
  left: 8px;
  top: 7px;
  width: 18px;
  height: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
}
.toc a:hover { background: #fff; color: var(--red); }

.content { max-width: 100%; }
.content > section { scroll-margin-top: 96px; }
.content section { margin-bottom: 0.5rem; }

.lead-text { font-size: 1.15rem; color: var(--dark); font-weight: 500; }

/* ---------------- Картинки в контенте ---------------- */
.content-figure {
  margin: 2rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.content-figure img { width: 100%; }
.content-figure figcaption {
  background: var(--bg-soft);
  padding: 12px 18px;
  font-size: 0.88rem;
  color: var(--text-soft);
  text-align: center;
  font-style: italic;
}

/* ---------------- Карточки фактов ---------------- */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin: 1.8rem 0 2rem;
}
.fact-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
}
.fact-card .ico {
  width: 46px; height: 46px;
  margin: 0 auto 12px;
  background: #fdeef0;
  color: var(--red);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.fact-card .val {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.55rem;
  color: var(--dark);
  line-height: 1.1;
}
.fact-card .cap { font-size: 0.85rem; color: var(--text-soft); margin-top: 4px; }

/* ---------------- Таблицы ---------------- */
.table-wrap { overflow-x: auto; margin: 1.6rem 0 2rem; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; min-width: 480px; background: #fff; }
thead th {
  background: var(--dark);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  padding: 14px 16px;
  text-align: left;
  font-size: 0.95rem;
}
tbody td { padding: 13px 16px; border-bottom: 1px solid var(--border); font-size: 0.96rem; color: #3a3a4a; }
tbody tr:nth-child(even) { background: var(--bg-soft); }
tbody tr:last-child td { border-bottom: none; }
td .yes { color: #1a9e5c; font-weight: 700; }
td .no { color: var(--red); font-weight: 700; }

/* ---------------- Инфо-блоки ---------------- */
.callout {
  display: flex;
  gap: 16px;
  background: #fff7ed;
  border: 1px solid #f5d9a8;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 1.6rem 0;
}
.callout.info { background: #eef4ff; border-color: #b9d0f5; border-left-color: #2f6fed; }
.callout.tip { background: #ecfaf1; border-color: #b5e7c8; border-left-color: #1a9e5c; }
.callout.warn { background: #fdeced; border-color: #f3c0c4; border-left-color: var(--red); }
.callout .c-ico { font-size: 1.3rem; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.callout.info .c-ico { color: #2f6fed; }
.callout.tip .c-ico { color: #1a9e5c; }
.callout.warn .c-ico { color: var(--red); }
.callout p { margin: 0; color: #4a4a3a; }
.callout.info p { color: #2a3a55; }
.callout.tip p { color: #1f4a32; }
.callout.warn p { color: #6a2024; }

/* Нумерованный список-шаги (compact) */
.steps-list { margin: 1.4rem 0 1.8rem; padding-left: 1.4rem; }
.steps-list li { margin-bottom: 0.9rem; line-height: 1.7; }
.steps-list li strong { color: var(--dark); }

/* Текстовые статьи внутри FAQ-страницы */
.faq-article { margin: 1.5rem 0; }
.faq-article h2 { margin-top: 1.8rem; }

/* Примечание мелким шрифтом */
.muted-note { font-size: 0.9rem; color: #777; font-style: italic; margin-top: 0.6rem; }

/* ---------------- Шаги ---------------- */
.steps { list-style: none; margin: 1.6rem 0 2rem; counter-reset: step; }
.steps li {
  position: relative;
  padding: 0 0 26px 64px;
  margin: 0;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 44px; height: 44px;
  background: var(--dark);
  color: #fff;
  border-radius: 50%;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
}
.steps li::after {
  content: "";
  position: absolute;
  left: 21px; top: 48px; bottom: 4px;
  width: 2px;
  background: var(--border);
}
.steps li:last-child::after { display: none; }
.steps li strong { display: block; color: var(--dark); font-size: 1.08rem; margin-bottom: 3px; font-family: 'Montserrat', sans-serif; }

/* ---------------- Pros / Cons ---------------- */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 1.8rem 0 2rem; }
.pc-card { border-radius: var(--radius); padding: 22px 24px; border: 1px solid var(--border); }
.pc-card.pros { background: #ecfaf1; border-color: #b5e7c8; }
.pc-card.cons { background: #fdeef0; border-color: #f3c6ca; }
.pc-card h4 { margin-top: 0; display: flex; align-items: center; gap: 9px; }
.pc-card.pros h4 { color: #1a7a47; }
.pc-card.cons h4 { color: var(--red-dark); }
.pc-card ul { list-style: none; margin: 0; }
.pc-card li { position: relative; padding-left: 28px; }
.pc-card.pros li::before { content: "\f00c"; color: #1a9e5c; }
.pc-card.cons li::before { content: "\f00d"; color: var(--red); }
.pc-card li::before {
  font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: 1px;
}

/* ---------------- Карточки разделов ---------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  margin: 1.8rem 0 2.4rem;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card .f-ico {
  width: 52px; height: 52px;
  background: var(--dark);
  color: #fff;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 16px;
}
.feature-card h3 { margin-top: 0; margin-bottom: 8px; }
.feature-card p { margin-bottom: 0; font-size: 0.96rem; }

/* ---------------- CTA секция ---------------- */
.cta-section {
  background: linear-gradient(135deg, var(--dark) 0%, #34344f 100%);
  border-radius: var(--radius-lg);
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(211,26,36,0.35), transparent 70%);
}
.cta-inner { padding: 48px 40px; text-align: center; position: relative; }
.cta-heading { color: #fff; margin: 0 0 12px; }
.cta-heading::after { display: none; }
.cta-text { color: #c9c9dd; max-width: 620px; margin: 0 auto 26px; }
.cta-section .btn-play { background: var(--red); box-shadow: 0 8px 22px rgba(211,26,36,0.45); }
.cta-section .btn-play:hover { background: var(--red-dark); }

/* ---------------- Хлебные крошки ---------------- */
.breadcrumbs { background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 12px 0; }
.breadcrumbs-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; font-size: 0.88rem; }
.breadcrumb-item { display: flex; align-items: center; color: var(--text-soft); }
.breadcrumb-item:not(:last-child)::after { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-left: 8px; color: #b5b5c5; }
.breadcrumb-item a { color: var(--text-soft); font-weight: 600; }
.breadcrumb-item a:hover { color: var(--red); }
.breadcrumb-item span { color: var(--dark); font-weight: 600; }

/* ---------------- Article meta / byline (E-E-A-T) ---------------- */
.article-meta { background: #fff; border-bottom: 1px solid var(--border); padding: 14px 0; }
.article-meta-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 0.86rem; color: var(--text-soft); }
.article-meta-inner i { color: var(--red); margin-right: 5px; }
.article-meta .am-author { font-weight: 700; color: var(--dark); }
.article-meta .am-dot { color: #c4c4d2; }
.article-meta .am-fact { color: #1d8a4e; font-weight: 600; }
.article-meta .am-fact i { color: #1d8a4e; }
@media (max-width: 560px) { .article-meta-inner { font-size: 0.8rem; gap: 7px; } }

/* ---------------- Legal / About pages ---------------- */
.legal-page { padding: 2.4rem 0 3rem; }
.legal-page .legal-body { max-width: 820px; }
.legal-page h2 { margin-top: 2rem; }
.legal-page h3 { margin-top: 1.4rem; }
.legal-page p, .legal-page li { line-height: 1.75; }
.legal-page ul { margin: 0 0 1.2rem 1.2rem; }
.legal-updated { display: inline-block; margin-top: 0.4rem; padding: 6px 14px; border-radius: 8px; background: var(--bg-soft); font-size: 0.85rem; color: var(--text-soft); font-weight: 600; }
.team-card { display: flex; gap: 16px; align-items: flex-start; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; margin: 1.4rem 0; }
.team-card .t-ico { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; background: var(--dark); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.team-card h3 { margin: 0 0 4px; }
.team-card p { margin: 0; }
.rg-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 1.4rem 0; }
.rg-card { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; }
.rg-card .rg-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--dark); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 10px; }
.rg-card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.rg-card p { margin: 0; font-size: 0.92rem; color: var(--text-soft); line-height: 1.6; }
@media (max-width: 640px) { .rg-grid { grid-template-columns: 1fr; } }

/* ---------------- Win calculator ---------------- */
.calc-card { background: var(--dark); color: #fff; border-radius: 18px; padding: 26px 24px; margin: 1.6rem 0; box-shadow: 0 18px 40px rgba(35, 35, 61, 0.22); }
.calc-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.calc-row label { font-weight: 600; font-size: 0.96rem; color: #d7d7ea; }
.calc-row input { width: 150px; max-width: 45%; padding: 11px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.06); color: #fff; font-size: 1.05rem; font-weight: 700; text-align: right; }
.calc-row input:focus { outline: none; border-color: var(--red); background: rgba(255,255,255,0.1); }
.calc-result { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0 16px; }
.calc-out { background: rgba(255,255,255,0.06); border-radius: 12px; padding: 14px 16px; text-align: center; }
.calc-out-lbl { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: #a9a9c4; margin-bottom: 4px; }
.calc-out-val { display: block; font-size: 1.5rem; font-weight: 800; color: #fff; }
#calc-profit { color: #4ade80; }
.calc-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.calc-preset { flex: 1 1 auto; min-width: 60px; padding: 9px 4px; border-radius: 9px; border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.04); color: #fff; font-weight: 700; cursor: pointer; transition: all 0.15s; }
.calc-preset:hover { background: rgba(255,255,255,0.12); }
.calc-preset.active { background: var(--red); border-color: var(--red); }
.calc-note { font-size: 0.85rem; color: #b6b6cf; margin: 0; }
.calc-note i { color: var(--red); margin-right: 5px; }
.calc-note a { color: #fff; text-decoration: underline; }
@media (max-width: 480px) { .calc-out-val { font-size: 1.25rem; } .calc-row input { width: 120px; } }

/* ---------------- 404 error page ---------------- */
.error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 20px; background: var(--bg-soft); }
.error-logo { display: inline-block; margin-bottom: 18px; }
.error-code { font-size: 6rem; font-weight: 900; line-height: 1; color: var(--red); letter-spacing: -0.03em; }
.error-page h1 { font-size: 1.7rem; margin: 8px 0 14px; color: var(--dark); }
.error-page p { max-width: 520px; margin: 0 auto 26px; color: var(--text-soft); line-height: 1.7; }
.error-page .btn-play i { margin-right: 8px; }
.error-links { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; margin-top: 30px; }
.error-links a { color: var(--text-soft); font-weight: 600; font-size: 0.95rem; }
.error-links a:hover { color: var(--red); }

/* ---------------- FAQ аккордеон ---------------- */
.faq-list { margin: 1.6rem 0 2rem; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; background: #fff; }
.faq-q {
  width: 100%;
  text-align: left;
  background: #fff;
  border: none;
  padding: 20px 56px 20px 22px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark);
  cursor: pointer;
  position: relative;
}
.faq-q::after {
  content: "\f067";
  font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  color: var(--red);
  transition: transform .25s ease;
  font-size: 0.9rem;
}
.faq-item.open .faq-q::after { content: "\f068"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 22px; }
.faq-item.open .faq-a { max-height: 600px; padding: 0 22px 20px; }
.faq-a p { margin: 0; }

/* ---------------- Список преимуществ галочками ---------------- */
.check-list { list-style: none; margin: 1.4rem 0 1.8rem; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before {
  content: "\f058"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  color: var(--red); position: absolute; left: 0; top: 2px; font-size: 1.1rem;
}

/* ---------------- Внутренние ссылки-карточки ---------------- */
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 1.8rem 0; }
.related-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: all .2s ease;
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #f3c6ca; }
.related-card .r-ico { color: var(--red); font-size: 1.4rem; margin-bottom: 10px; }
.related-card h4 { margin: 0 0 6px; color: var(--dark); }
.related-card p { margin: 0; font-size: 0.9rem; }

/* ====================== ФУТЕР ====================== */
.site-footer { background: var(--dark); color: #c9c9dd; margin-top: 56px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 40px;
  padding: 52px 20px 36px;
}
.footer-logo { width: 48px; height: 48px; object-fit: contain; margin-bottom: 14px; filter: brightness(0) invert(1) drop-shadow(0 0 0 #fff); }
.footer-about .footer-logo { filter: none; background: #fff; border-radius: 10px; padding: 4px; }
.footer-desc { color: #a9a9c2; font-size: 0.95rem; margin-bottom: 18px; }
.footer-badges img { background: transparent; opacity: 0.9; }
.footer-title { color: #fff; font-size: 1.05rem; margin: 0 0 16px; }
.footer-links { list-style: none; margin: 0; }
.footer-links li { margin-bottom: 10px; color: #a9a9c2; font-size: 0.94rem; }
.footer-links a { color: #c9c9dd; }
.footer-links a:hover { color: #fff; }
.age-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 6px;
  margin-right: 4px;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; }
.footer-bottom p { color: #8989a6; font-size: 0.82rem; margin: 0; text-align: center; }

/* ---------------- FAQ страница ---------------- */
.faq-page-intro { max-width: 820px; margin: 0 auto 12px; text-align: center; }
.faq-group { margin-bottom: 1.5rem; }
.faq-group h2 { display: flex; align-items: center; }
.faq-group h2::after { display: none; }
.faq-still { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; margin-top: 2rem; text-align: center; }
.faq-still h2 { margin-top: 0; }
.faq-still h2::after { margin-left: auto; margin-right: auto; }
.faq-still > p { max-width: 620px; margin-left: auto; margin-right: auto; }

/* ---------------- Кнопка наверх ---------------- */
.skip-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 48px; height: 48px;
  background: var(--dark);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: all .25s ease;
  z-index: 900;
}
.skip-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.skip-top:hover { background: var(--red); color: #fff; }

/* ====================== АДАПТИВ ====================== */
@media (max-width: 980px) {
  .layout-with-toc { grid-template-columns: 1fr; gap: 0; }
  .toc { position: static; margin-bottom: 30px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding: 44px 20px 50px; }
  .hero-media { order: -1; max-width: 540px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .main-nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    transition: transform .3s ease;
    margin: 0;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .nav-list { flex-direction: column; gap: 2px; padding: 14px 16px; }
  .nav-link { display: block; padding: 13px 16px; font-size: 1.02rem; }
  .burger { display: flex; }
  .header-cta { margin-left: auto; padding: 9px 20px; font-size: 0.92rem; }
  .header-inner { gap: 12px; }
  .logo-text { font-size: 1.1rem; }
  .logo-img { width: 46px; height: 46px; }

  .proscons { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 40px 20px 30px; }
  .cta-inner { padding: 36px 24px; }
  .hero-stats { gap: 22px; }
  h2 { margin-top: 2rem; }
  .steps li { padding-left: 56px; }
  .steps li::before { width: 38px; height: 38px; font-size: 1rem; }
  .steps li::after { left: 18px; }
}

@media (max-width: 420px) {
  .logo-text { display: none; }
  .hero-stat .num { font-size: 1.5rem; }
  .btn-play-lg { font-size: 1.05rem; padding: 14px 32px; width: 100%; }
  .fact-card .val { font-size: 1.3rem; }
}
