/* ══════════════════════════════════════════════════
   sections.css — section-specific styles
   Each section uses its own class namespace.
══════════════════════════════════════════════════ */

/* ── SECTION 02: ЗАЧЕМ КВЕСТ (.section-why) ── */

/* ── SECTION WRAPPER ── */
.section-why {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 32px 64px;
}

/* ── EYEBROW ── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-body);
  font-size: var(--fs-overline);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral-800);
  background: var(--coral-50);
  padding: 5px 16px;
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-16);
}

/* ── SECTION TITLE ── */
.section-title {
  font-family: var(--f-display);
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: var(--lh-display);
  color: var(--color-text-primary);
  margin-bottom: 56px;
  max-width: 560px;
}

/* ── CARDS GRID ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 20px;
  row-gap: 0;
}

/* ── REASON CARD ── */
.reason-card {
  background: var(--color-background-primary);
  border: var(--border);
  border-radius: var(--r-xl);
  padding: 32px 28px 28px;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.reason-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

/* colour accent strips */
.reason-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.card-coral::before { background: var(--coral); }
.card-ash::before   { background: var(--ash); }
.card-lemon::before { background: var(--lemon-hover); }

/* ── CARD LAYOUT: all rows align across cards via subgrid ── */

/* Top group: icon + overline + number — тесная группа */
.card-top-group {
  display: flex;
  flex-direction: column;
  gap: 6px;           /* tight: icon → label → number */
  margin-bottom: 20px; /* большой отступ ДО разделителя */
}

/* ── CARD ICON ── */
.card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  /* no extra margin — handled by gap in card-top-group */
}
.card-coral .card-icon { background: var(--coral-50); }
.card-ash   .card-icon { background: var(--ash-50); }
.card-lemon .card-icon { background: var(--lemon-50); }

/* ── CARD STAT ROW: число над заголовком ── */
.card-stat-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-number {
  font-family: var(--f-display);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.card-coral .card-number { color: var(--coral); }
.card-ash   .card-number { color: var(--ash); }
.card-lemon .card-number { color: var(--lemon-hover); }

.card-stat-title {
  font-family: var(--f-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: var(--lh-sub);
  color: var(--color-text-primary);
}
.card-coral .card-stat-title { color: var(--coral); }
.card-ash   .card-stat-title { color: var(--ash); }
.card-lemon .card-stat-title { color: #6b5c00; }

/* ── DIVIDER — чёткая граница между верхней и нижней группой ── */
.card-divider {
  height: 0.5px;
  background: var(--color-border-tertiary);
  margin-bottom: 20px; /* отступ ниже — к следующей группе */
}

/* card-content-group removed — headline and body are direct card children in subgrid */

/* ── CARD HEADLINE — теперь это крупный italic-подзаголовок ── */
.card-headline {
  font-family: var(--f-display);
  font-size: var(--fs-h3);
  font-style: italic;
  font-weight: 400;
  line-height: var(--lh-sub);
  color: var(--color-text-primary);
}

/* ── CARD BODY TEXT ── */
.card-body {
  font-family: var(--f-body);
  font-size: var(--fs-ui);
  font-weight: 300;
  color: var(--color-text-secondary);
  line-height: var(--lh-body);
  margin-top: 10px;
}

/* ── CARD HIGHLIGHT — прибита к низу через flex:1 на content-group ── */
.card-highlight {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  line-height: 1.4;
}
.card-coral .card-highlight {
  background: var(--coral-50);
  color: var(--coral-800);
}
.card-ash .card-highlight {
  background: var(--ash-50);
  color: var(--ash-800);
}
.card-lemon .card-highlight {
  background: var(--lemon-50);
  color: var(--lemon-800);
  border: 0.5px solid var(--lemon-hover);
}

/* ── RESPONSIVE ── */
@media (max-width: 780px) {
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .reason-card {
    display: flex;
    flex-direction: column;
    grid-row: auto;
  }
  .section-title {
    font-size: var(--fs-h1);
    margin-bottom: 36px;
  }
  .section-why {
    padding: 40px 20px 48px;
  }
}

/* ── SECTION 03: УЗНАЙ СЕБЯ (.section-uznaij) ── */

.section-uznaij {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 32px 64px;
}

/* ─── ACCORDION SHELL ─── */
.accordion {
  border: var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--color-background-primary);
}

.acc-item { border-bottom: var(--border); }
.acc-item:last-child { border-bottom: none; }

/* ─── TRIGGER ─── */
.acc-trigger {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: var(--sp-16);
  text-align: left;
  position: relative;
  transition: background 0.15s;
}
.acc-trigger:hover { background: var(--color-background-secondary); }

/* left accent stripe */
.acc-trigger::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  opacity: 0;
  transition: opacity 0.2s;
}
.acc-item-coral .acc-trigger::after { background: var(--coral); }
.acc-item-ash   .acc-trigger::after { background: var(--ash); }
.acc-item-lemon .acc-trigger::after { background: var(--lemon-hover); }
.acc-item.is-open .acc-trigger::after,
.acc-trigger:hover::after { opacity: 1; }


/* title group */
.acc-title-group { flex: 1; min-width: 0; }

.acc-label {
  display: block;
  font-size: var(--fs-overline);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.acc-item-coral .acc-label { color: var(--coral-800); }
.acc-item-ash   .acc-label { color: var(--ash-800); }
.acc-item-lemon .acc-label { color: var(--lemon-800); }

.acc-title {
  font-family: var(--f-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: var(--lh-sub);
  color: var(--color-text-primary);
}

/* chevron */
.acc-chevron {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--color-background-secondary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.acc-chevron svg { transition: transform 0.32s cubic-bezier(.4,0,.2,1); }
.acc-item.is-open .acc-chevron svg { transform: rotate(180deg); }
.acc-item-coral.is-open .acc-chevron { background: var(--coral-50); }
.acc-item-ash.is-open   .acc-chevron { background: var(--ash-50); }
.acc-item-lemon.is-open .acc-chevron { background: var(--lemon-50); }

/* ─── PANEL ─── */
.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.36s cubic-bezier(.4,0,.2,1);
}
.acc-item.is-open .acc-panel {
  grid-template-rows: 1fr;
}
.acc-panel-overflow { overflow: hidden; }

.acc-panel-inner {
  padding: 0 28px 28px;
  border-top: var(--border);
}

/* ─── 3-COLUMN THESIS GRID ─── */
.thesis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-24);
  padding-top: var(--sp-24);
}

.thesis-col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
  padding-top: var(--sp-12);
  border-top: 2px solid var(--color-background-secondary);
}

.acc-item-coral .thesis-col { border-top-color: var(--coral-50); }
.acc-item-ash   .thesis-col { border-top-color: var(--ash-50); }
.acc-item-lemon .thesis-col { border-top-color: var(--lemon-50); }

/* accent on first col */
.acc-item-coral .thesis-col:first-child { border-top-color: var(--coral); }
.acc-item-ash   .thesis-col:first-child { border-top-color: var(--ash); }
.acc-item-lemon .thesis-col:first-child { border-top-color: var(--lemon-hover); }

.thesis-text {
  font-size: var(--fs-ui);
  font-weight: 300;
  line-height: var(--lh-body);
  color: var(--color-text-secondary);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 640px) {
  .section-uznaij { padding: 36px 16px 48px; }
  .section-heading { font-size: var(--fs-h1); }
  .acc-trigger { padding: 18px 20px; }
  .acc-panel-inner { padding: 0 20px 24px; }
  .thesis-grid { grid-template-columns: 1fr; gap: var(--sp-16); }
}

/* ── GUIDE BANNER (.guide-banner) ── */

.guide-banner-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px 28px;
}

.guide-banner {
  display: flex;
  gap: var(--sp-8);
  align-items: flex-start;
  background: var(--lemon-50);
  border: 0.5px solid var(--lemon-hover);
  border-radius: var(--r-md);
  padding: var(--sp-12) var(--sp-12);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: var(--lh-body);
  color: var(--lemon-800);
}

.guide-banner-icon {
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}

.guide-banner a {
  color: var(--lemon-800);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.guide-banner a:hover {
  opacity: 0.75;
}

@media (max-width: 780px) {
  .guide-banner-wrap { padding: 0 20px 22px; }
}

/* ── SECTION 04: ЧТО ВНУТРИ КВЕСТА (.section-inside) ── */

.section-inside {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 32px 64px;
}

/* ── SECTION SUB-LABEL ── */
.characters-label {
  font-family: var(--f-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--sp-24);
}

/* ═══════════════════════════════════════════
   CHARACTER CARDS — horizontal layout
═══════════════════════════════════════════ */
.characters-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto auto;
  gap: 20px 20px;
  margin-bottom: 40px;
  align-items: start;
}

.char-card {
  background: var(--color-background-primary);
  border: var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.char-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.07);
}

/* top accent stripe */
.char-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.char-coral::before { background: var(--coral); }
.char-ash::before   { background: var(--ash); }

/* ── PHOTO AVATAR ── */
.char-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}
.char-coral .char-photo { box-shadow: 0 0 0 2px var(--coral-50), 0 0 0 3px var(--coral); }
.char-ash   .char-photo { box-shadow: 0 0 0 2px var(--ash-50),   0 0 0 3px var(--ash); }

/* ── MAIN CONTENT AREA ── */
.char-body {
  display: contents;
}

/* header row: photo left, power right, same baseline */
.char-header-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: var(--sp-16);
  align-items: start;
  padding-bottom: var(--sp-16);
}

.char-identity {
  padding-bottom: var(--sp-16);
}

.char-role {
  font-size: var(--fs-overline);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.char-coral .char-role { color: var(--coral-800); }
.char-ash   .char-role { color: var(--ash-800); }

.char-name {
  font-family: var(--f-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: var(--lh-sub);
  color: var(--color-text-primary);
  margin-bottom: 3px;
}

.char-age {
  font-size: var(--fs-sm);
  color: var(--color-text-tertiary);
  line-height: 1.5;
}

/* ── SUPERPOWER — text-only, right side ── */
.char-power {
  text-align: left;
  padding-right: var(--sp-8);
}

.char-power-label {
  display: block;
  font-size: var(--fs-overline);
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.char-coral .char-power-label { color: var(--coral); }
.char-ash   .char-power-label { color: var(--ash-hover); }

.char-power-text {
  font-size: var(--fs-sm);
  font-weight: 400;
  line-height: 1.6;
  font-style: italic;
}
.char-coral .char-power-text { color: var(--coral-800); }
.char-ash   .char-power-text { color: var(--ash-800); }

/* divider */
.char-divider {
  height: 0.5px;
  background: var(--color-border-tertiary);
  margin-bottom: var(--sp-12);
  align-self: end;
}

.char-desc {
  font-size: var(--fs-ui);
  font-weight: 300;
  line-height: var(--lh-body);
  color: var(--color-text-secondary);
}

/* ═══════════════════════════════════════════
   META STATS ROW — coloured
═══════════════════════════════════════════ */
.meta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.meta-pill {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  border-radius: var(--r-pill);
  padding: 10px 18px;
  font-size: var(--fs-ui);
  font-weight: 400;
  white-space: nowrap;
}

.meta-pill svg { flex-shrink: 0; }

.meta-coral {
  background: var(--coral-50);
  color: var(--coral-800);
  border: 0.5px solid rgba(237,106,90,0.3);
}
.meta-ash {
  background: var(--ash-50);
  color: var(--ash-800);
  border: 0.5px solid rgba(155,193,188,0.45);
}
.meta-lemon {
  background: var(--lemon-50);
  color: var(--lemon-800);
  border: 0.5px solid var(--lemon-hover);
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .section-inside { padding: 36px 20px 48px; }
  .characters-grid { grid-template-columns: 1fr; }
  .char-top-row { flex-direction: column; gap: var(--sp-12); }
  .char-power { max-width: 100%; }
  .meta-row { flex-direction: column; }
  .meta-pill { width: 100%; }
}

/* ── SECTION 05: MID CTA (.section-cta) ── */

/* ── SECTION WRAPPER ── */
.section-cta {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 32px 64px;
}

/* ── CARD SHELL — dark atmospheric ── */
.cta-card {
  position: relative;
  background: #1a1a1a;
  border-radius: 24px;
  overflow: hidden;
  padding: 64px 60px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ── DECORATIVE BACKGROUND PATTERN ── */
.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(155,193,188,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 20%, rgba(237,106,90,0.07) 0%, transparent 60%);
  pointer-events: none;
}

/* Arc ornament top-right */
.cta-ornament {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(155,193,188,0.12);
  pointer-events: none;
}
.cta-ornament::after {
  content: '';
  position: absolute;
  top: 24px; left: 24px; right: 24px; bottom: 24px;
  border-radius: 50%;
  border: 1px solid rgba(237,106,90,0.10);
}

/* Dot grid */
.cta-dots {
  position: absolute;
  bottom: 28px;
  left: 52px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  opacity: 0.12;
  pointer-events: none;
}
.cta-dots span {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--ash);
  display: block;
}

/* ── LEFT COLUMN ── */
.cta-left {
  position: relative;
  z-index: 1;
}

.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  font-size: var(--fs-overline);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
  background: rgba(155,193,188,0.12);
  border: 0.5px solid rgba(155,193,188,0.28);
  padding: 5px 16px;
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-24);
}
.cta-eyebrow::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ash);
}

.cta-heading {
  font-family: var(--f-display);
  font-size: 52px;
  font-weight: 700;
  line-height: 1.05;
  color: #f0ede8;
  margin-bottom: var(--sp-16);
  letter-spacing: -0.01em;
}

.cta-heading em {
  font-style: italic;
  color: var(--coral);
}

.cta-sub {
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: var(--lh-body);
  color: rgba(240,237,232,0.55);
  max-width: 480px;
  margin-bottom: var(--sp-32);
}

/* ── TRIAL NOTICE ── */
.cta-trial {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--sp-8);
  margin-top: var(--sp-12);
  font-size: var(--fs-sm);
  font-weight: 400;
  color: rgba(240,237,232,0.45);
  line-height: var(--lh-ui);
}

.trial-dot {
  margin-top: 5px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lemon-hover);
  flex-shrink: 0;
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.55; transform: scale(0.7); }
}

/* ── CTA ACTION GROUP ── */
.cta-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-12);
}

/* ── CTA BUTTON ── */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-12);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  font-weight: 400;
  background: var(--coral);
  color: #fff;
  padding: 15px 32px;
  border-radius: var(--r-lg);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.14s, transform 0.14s, box-shadow 0.14s;
  box-shadow: 0 4px 20px rgba(237,106,90,0.35);
  line-height: 1;
}
.btn-cta:hover {
  background: var(--coral-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(237,106,90,0.45);
}
.btn-cta svg {
  transition: transform 0.18s;
}
.btn-cta:hover svg {
  transform: translateX(3px);
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .cta-card { padding: 48px 36px 44px; }
  .cta-heading { font-size: var(--fs-h1); }
  .cta-dots { display: none; }
}

@media (max-width: 520px) {
  .section-cta { padding: 36px 16px 48px; }
  .cta-card { padding: 40px 24px 36px; border-radius: 18px; }
  .cta-heading { font-size: 28px; }
}

/* ── SECTION 06: ЧТО ВЫ ПОЛУЧИТЕ (.section-poluchite) ── */

.section-poluchite {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 32px 64px;
}

/* ── RESPONSIVE GRID: 3×2 → 2×3 → 1×6 ── */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 860px) {
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 520px) {
  .outcomes-grid { grid-template-columns: 1fr; gap: 10px; }
}

/* ── CARD (vertical by default) ── */
.outcome-card {
  background: var(--color-background-primary);
  border: var(--border);
  border-radius: var(--r-xl);
  padding: 28px 24px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.outcome-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.07);
}

/* top accent strip */
.outcome-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.card-coral::before { background: var(--coral); }
.card-ash::before   { background: var(--ash); }
.card-lemon::before { background: var(--lemon-hover); }
.card-muted::before { background: var(--color-border-secondary); }

/* ── horizontal on single column ── */
@media (max-width: 520px) {
  .outcome-card {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 18px 20px 18px 22px;
  }
  .outcome-card::before {
    top: 0; left: 0; right: auto; bottom: 0;
    width: 3px; height: auto;
    border-radius: var(--r-xl) 0 0 var(--r-xl);
  }
  .card-chip   { margin-bottom: 0 !important; flex-shrink: 0; }
  .card-body   { margin-bottom: 0 !important; }
}

/* ── CHIP ── */
.card-chip {
  width: 44px; height: 44px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: var(--sp-16);
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}
.card-coral .card-chip { background: var(--coral-50);  color: var(--coral); }
.card-ash   .card-chip { background: var(--ash-50);    color: var(--ash-800); }
.card-lemon .card-chip { background: var(--lemon-50);  color: var(--lemon-800); }
.card-muted .card-chip { background: var(--color-background-secondary); color: var(--color-text-tertiary); }

/* ── BODY ── */
.card-body {
  font-family: var(--f-body);
  font-size: var(--fs-ui);
  font-weight: 300;
  color: var(--color-text-secondary);
  line-height: var(--lh-body);
  flex: 1;
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .section-poluchite { padding: 44px 24px 56px; }
  .section-heading   { margin-bottom: 40px; }
}
@media (max-width: 520px) {
  .section-poluchite { padding: 36px 16px 46px; }
  .section-heading   { font-size: var(--fs-h1); margin-bottom: 32px; }
}

/* ── SECTION 07: КАК ДОБРАТЬСЯ (.section-route) ── */

.section-route {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

/* ── Eyebrow pill ── */
.section-route .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-body);
  font-size: var(--fs-overline);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral-800);
  background: var(--coral-50);
  padding: 5px 16px;
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-24);
}
.section-route .eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  flex-shrink: 0;
}

/* ── Tabs ── */
.section-route .tabs {
  display: flex;
  gap: 0;
  background: var(--color-background-secondary);
  border: var(--border);
  border-radius: var(--r-lg);
  padding: 4px;
  width: fit-content;
  margin-bottom: var(--sp-32);
}

.section-route .tab-btn {
  font-family: var(--f-body);
  font-size: var(--fs-ui);
  font-weight: 400;
  padding: 10px 22px;
  border-radius: calc(var(--r-lg) - 2px);
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--color-text-secondary);
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
  display: flex;
  align-items: center;
  gap: 7px;
  line-height: 1;
  white-space: nowrap;
}

.section-route .tab-btn.active {
  background: var(--color-background-primary);
  color: var(--color-text-primary);
  box-shadow: 0 1px 4px rgba(0,0,0,0.10), 0 0 0 0.5px var(--color-border-tertiary);
}

/* ── Tab panels ── */
.section-route .tab-panel { display: none; }
.section-route .tab-panel.active { display: block; }

/* ── Alert / Warning box ── */
.section-route .alert-warn {
  display: flex;
  gap: var(--sp-12);
  align-items: flex-start;
  background: var(--color-background-danger);
  border: 1px solid var(--color-border-danger);
  border-radius: var(--r-lg);
  padding: var(--sp-16) var(--sp-16);
  margin-bottom: var(--sp-32);
}

.section-route .alert-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.section-route .alert-warn p {
  font-size: var(--fs-ui);
  line-height: var(--lh-body);
  color: var(--color-text-danger);
}

/* ── Timeline ── */
.section-route .timeline-label {
  font-size: var(--fs-overline);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  margin-bottom: var(--sp-16);
}

.section-route .timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section-route .tl-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0 var(--sp-16);
  position: relative;
}

/* vertical line between dots */
.section-route .tl-item:not(:last-child) .tl-dot-col::after {
  content: '';
  position: absolute;
  top: 40px;
  left: 19px;
  width: 2px;
  height: calc(100% - 4px);
  background: var(--color-border-tertiary);
}

.section-route .tl-dot-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-top: 8px;
}

.section-route .tl-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-background-secondary);
  border: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  z-index: 1;
  transition: background 0.2s;
}

.section-route .tl-content {
  padding: 6px 0 28px;
}

.section-route .tl-step-title {
  font-family: var(--f-body);
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: var(--sp-4);
  line-height: var(--lh-sub);
}

.section-route .tl-step-body {
  font-size: var(--fs-ui);
  font-weight: 300;
  color: var(--color-text-secondary);
  line-height: var(--lh-body);
  margin-bottom: var(--sp-12);
}

/* ── Buttons (scoped to .section-route) ── */
.section-route .btn {
  font-family: var(--f-body);
  font-size: var(--fs-ui);
  font-weight: 400;
  padding: 9px 18px;
  border-radius: var(--r-md);
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  transition: background 0.12s, color 0.12s;
  line-height: 1;
  text-decoration: none;
}

.section-route .btn-primary   { background: var(--coral); color: #fff; }
.section-route .btn-primary:hover   { background: var(--coral-hover); }
.section-route .btn-ghost     { background: transparent; border: 1px solid var(--coral); color: var(--coral); }
.section-route .btn-ghost:hover     { background: var(--coral-50); }
.section-route .btn-muted     { background: var(--color-background-secondary); color: var(--color-text-secondary); border: var(--border); }
.section-route .btn-muted:hover     { background: var(--color-background-tertiary); }

.section-route .btn-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8);
  margin-top: var(--sp-4);
}

.section-route .btn-actions .btn {
  /* inherits .section-route .btn styles */
}

/* ── Link row below btn-actions ── */
.section-route .tl-link-wrap {
  margin-top: 10px;
}

/* ── Text link ── */
.section-route .tl-link {
  font-size: var(--fs-sm);
  color: var(--coral);
  text-decoration: none;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
}
.section-route .tl-link:hover { text-decoration: underline; }

/* ── Tip / Hint ── */
.section-route .tip {
  display: flex;
  gap: var(--sp-8);
  align-items: flex-start;
  background: var(--lemon-50);
  border: 0.5px solid var(--lemon-hover);
  border-radius: var(--r-md);
  padding: var(--sp-12) var(--sp-12);
  margin-top: var(--sp-12);
}
.section-route .tip-icon { font-size: 15px; flex-shrink: 0; margin-top: 1px; }
.section-route .tip p {
  font-size: var(--fs-sm);
  color: var(--lemon-800);
  line-height: var(--lh-body);
}

/* ── Finish badge ── */
.section-route .finish-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ash-800);
  background: var(--ash-50);
  border: 0.5px solid var(--ash);
  border-radius: var(--r-pill);
  padding: 5px 12px;
  margin-top: var(--sp-4);
}

/* ── Microtext ── */
.section-route .microtext {
  display: flex;
  gap: var(--sp-8);
  align-items: flex-start;
  background: var(--lemon-50);
  border: 0.5px solid var(--lemon-hover);
  border-radius: var(--r-md);
  padding: var(--sp-12);
  margin-top: var(--sp-12);
  font-size: var(--fs-sm);
  font-style: normal;
  font-weight: 400;
  color: var(--lemon-800);
  line-height: var(--lh-body);
}

.section-route .microtext::before {
  content: '🚕';
  font-size: 15px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .section-route {
    padding: 36px 16px 48px;
  }
  .section-route .tabs {
    width: 100%;
  }
  .section-route .tab-btn {
    flex: 1;
    justify-content: center;
  }
}

/* ── SECTION 08: FOOTER (footer) ── */

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  width: 100%;
  background: var(--ink);
  color: #fff;
  padding: 32px 0 0;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── TOP ROW ── */
.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: var(--sp-32);
  padding-bottom: 40px;
  border-bottom: 0.5px solid rgba(255,255,255,0.12);
}

/* LEFT — author */
.footer-author {
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
}

.footer-author__head {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
}

.footer-author__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.footer-author__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-author__name {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.footer-author__role {
  font-size: 12px;
  color: #fff;
  font-weight: 300;
  line-height: 1.4;
}

.footer-author__tg {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  gap: 4px;
  margin-left: 7px;
  font-size: 12px;
  color: var(--ash);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.18s;
  white-space: nowrap;
}

.footer-author__tg:hover {
  color: #fff;
}

.footer-author__tg img,
.footer-author__tg svg {
  flex-shrink: 0;
  opacity: 0.75;
  transition: opacity 0.18s;
}

.footer-author__tg:hover img,
.footer-author__tg:hover svg {
  opacity: 1;
}

/* CENTER — logo + CTA */
.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-16);
  text-align: center;
}

.footer-logo {
  font-family: var(--f-display);
  font-size: 15px;
  font-style: italic;
  color: #fff;
  letter-spacing: 0.01em;
}

.footer-logo span {
  color: var(--coral);
  font-style: normal;
}

.btn-footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: var(--coral);
  color: #fff;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 36px;
  clip-path: polygon(
    0 0, calc(100% - 13px) 0, 100% 13px,
    100% 100%, 13px 100%, 0 calc(100% - 13px)
  );
  box-shadow: 0 6px 24px rgba(237,106,90,0.30);
  text-decoration: none;
  transition: background 0.25s, transform 0.2s;
  white-space: nowrap;
}

.btn-footer-cta:hover {
  background: #d9503f;
  transform: translateY(-2px);
}

.btn-footer-cta svg {
  transition: transform 0.18s;
}

.btn-footer-cta:hover svg {
  transform: translateX(2px);
}

/* RIGHT — nav links */
.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--sp-8);
}

.footer-nav a {
  font-size: 13px;
  color: #fff;
  text-decoration: none;
  font-weight: 300;
  transition: color 0.15s;
  letter-spacing: 0.01em;
}

.footer-nav a:hover {
  color: rgba(255,255,255,0.85);
}

/* ── BOTTOM BAR ── */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  gap: var(--sp-16);
}

.footer-copy {
  font-size: 11px;
  color: #fff;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.footer-policy {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  text-decoration: none;
  font-weight: 300;
  transition: color 0.15s;
}

.footer-policy:hover {
  color: rgba(255,255,255,0.5);
}

/* ── RESPONSIVE ── */
@media (max-width: 760px) {
  .footer-inner { padding: 0 20px; }

  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--sp-32);
    padding-bottom: 32px;
  }

  .footer-center { align-items: flex-start; text-align: left; }
  .footer-nav { align-items: flex-start; flex-direction: row; flex-wrap: wrap; gap: 6px 16px; }

  .footer-author__tg {
    display: flex;
    margin-left: 0;
    margin-top: 3px;
  }
}
