/* ============================================================
   components.css — хедер, меню, кнопки, карты, таблица,
   аккордеон, шаги, баннер, футер
   ============================================================ */

/* ============================================================
   1. ХЕДЕР
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: transparent;
  color: var(--white);
  transition: background-color var(--dur-mid) var(--ease),
              box-shadow var(--dur-mid) var(--ease),
              backdrop-filter var(--dur-mid) var(--ease);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  height: var(--header-h);
  transition: height var(--dur-mid) var(--ease);
}

.header.is-stuck {
  background: rgba(17, 17, 17, 0.78);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}

.header.is-stuck .header__inner { height: var(--header-h-stuck); }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: var(--ls-display);
  color: var(--white);
  text-decoration: none;
}

.logo__mark {
  width: 32px;
  height: 32px;
  flex: none;
}

.logo__name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo__sub {
  font-family: var(--font-text);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Десктопная навигация ---------- */
.nav {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-left: auto;
}

.nav__link {
  position: relative;
  padding-block: var(--s-1);
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-mid) var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="true"] { color: var(--white); }

.nav__link:hover::after,
.nav__link[aria-current="true"]::after { transform: scaleX(1); }

.header__cta { flex: none; }

/* ---------- Бургер ---------- */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: 12px;
  place-items: center;
  color: var(--white);
  transition: background-color var(--dur-fast) var(--ease);
}

.burger:hover { background: var(--surface-2); }

.burger__box {
  display: grid;
  gap: 5px;
  width: 22px;
}

.burger__line {
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur-mid) var(--ease), opacity var(--dur-fast) var(--ease);
}

.burger[aria-expanded="true"] {
  position: relative;
  z-index: calc(var(--z-menu) + 1);
  color: var(--gold);
}

.burger[aria-expanded="true"] .burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Полноэкранное мобильное меню ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s-3);
  padding: var(--s-8) var(--gutter) var(--s-6);
  background: var(--ink);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--dur-mid) var(--ease),
              transform var(--dur-mid) var(--ease),
              visibility 0s linear var(--dur-mid);
}

.menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.menu__link {
  font-family: var(--font-display);
  font-size: clamp(26px, 7vw, 38px);
  font-weight: 500;
  letter-spacing: var(--ls-display);
  color: var(--white);
  text-decoration: none;
  padding-block: var(--s-1);
  transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.menu__link:hover {
  color: var(--gold);
  transform: translateX(6px);
}

.menu__footer {
  margin-top: var(--s-5);
  display: grid;
  gap: var(--s-2);
}

.menu__note {
  font-size: var(--fs-sm);
  color: var(--muted);
}

@media (max-width: 900px) {
  .nav { display: none; }
  .header__cta { display: none; }
  .burger { display: grid; }
}

@media (min-width: 901px) {
  .menu { display: none; }
}

/* ============================================================
   2. КНОПКИ И БЕЙДЖИ
   Основная кнопка — золотая заливка с графитовым текстом:
   9.1:1, читается лучше белого текста на золоте.
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-1);
  min-height: 56px;
  padding-inline: 28px;
  border: 1px solid transparent;
  border-radius: var(--r-s);
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
}

.btn--primary {
  background: var(--gold);
  color: var(--ink);
  /* Граница нужна на светлой бумаге: золото на ней даёт 1.8:1,
     без границы кнопка растворялась бы в фоне. */
  border-color: var(--gold-deep);
  box-shadow: var(--shadow-cta);
}

.btn--primary:hover {
  background: var(--gold-soft);
  color: var(--ink);
  transform: translateY(-2px);
}

.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  background: var(--surface-2);
  border-color: var(--gold);
  color: var(--gold);
}

.section--paper .btn--ghost {
  color: var(--ink);
  border-color: var(--line-paper);
}

.section--paper .btn--ghost:hover {
  background: rgba(17, 17, 17, 0.05);
  border-color: var(--ink);
  color: var(--ink);
}

.btn--lg {
  min-height: 64px;
  padding-inline: 36px;
  font-size: 18px;
}

.btn--sm {
  min-height: 44px;
  padding-inline: 20px;
  font-size: var(--fs-sm);
}

.btn--wide { width: 100%; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  min-height: 30px;
  padding: 4px 14px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--r-pill);
  background: var(--gold-veil);
  color: var(--gold);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
}

.section--paper .badge {
  border-color: rgba(122, 95, 22, 0.3);
  background: rgba(122, 95, 22, 0.08);
  color: var(--gold-text);
}

/* ============================================================
   3. ВИЗУАЛ КАРТЫ
   ============================================================ */
.pcard {
  position: relative;
  width: 100%;
  aspect-ratio: 1.586;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--r-m);
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  box-shadow: var(--shadow-card);
}

.pcard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(128deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 44%);
  pointer-events: none;
}

.pcard__art {
  position: absolute;
  inset: 0;
  z-index: -1;
}

/* Золотая и платиновая карты светлые — текст на них графитовый */
.pcard--debit { color: var(--ink); }
.pcard--travel { color: var(--ink); }

.pcard--debit .pcard__art { background: var(--card-debit); }
.pcard--travel .pcard__art { background: var(--card-travel); }
.pcard--credit .pcard__art { background: var(--card-credit); }

.pcard__top,
.pcard__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-2);
}

.pcard__bottom { align-items: flex-end; }

.pcard__tag {
  margin-left: auto;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: rgba(17, 17, 17, 0.14);
  border: 1px solid rgba(17, 17, 17, 0.22);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--ls-caps);
}

.pcard--credit .pcard__tag {
  background: rgba(212, 175, 55, 0.16);
  border-color: rgba(212, 175, 55, 0.45);
  color: var(--gold);
}

.pcard__num {
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.12em;
  opacity: 0.85;
  font-variant-numeric: tabular-nums;
}

.pcard__chiprow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pcard__chip { width: 40px; height: 30px; }
.pcard__nfc { width: 18px; height: 22px; opacity: 0.8; }

/* ---------- Официальное изображение карты ---------- */
.pcard-photo {
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: 1.586;
}

.pcard-photo__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--r-m);
  filter: drop-shadow(0 34px 50px rgba(0, 0, 0, 0.7));
}

.pcard-photo__fallback { display: none; }
.pcard-photo.is-failed .pcard-photo__img { display: none; }
.pcard-photo.is-failed .pcard-photo__fallback { display: block; }

/* ============================================================
   4. HERO
   ============================================================ */
.hero {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + var(--s-8));
  padding-bottom: var(--section-y);
  background: var(--ink);
  overflow: hidden;
}

.hero__wash {
  position: absolute;
  inset: -25% -10% auto -10%;
  height: 1100px;
  pointer-events: none;
  background:
    radial-gradient(42% 38% at 78% 24%, rgba(212, 175, 55, 0.22) 0%, rgba(212, 175, 55, 0) 70%),
    radial-gradient(40% 36% at 12% 4%, rgba(192, 192, 192, 0.08) 0%, rgba(192, 192, 192, 0) 70%);
}

.hero .container {
  position: relative;
  z-index: var(--z-content);
}

.hero__grid {
  align-items: center;
  row-gap: var(--s-6);
}

.hero__copy { grid-column: 1 / span 7; }
.hero__stage { grid-column: 8 / span 5; }

.hero h1 {
  margin-top: var(--s-3);
  max-width: 16ch;
}

.hero__accent { color: var(--gold); }

.hero__sub {
  margin-top: var(--s-3);
  max-width: 52ch;
  font-size: var(--fs-lede);
  color: var(--muted);
}

.hero__points {
  display: grid;
  gap: var(--s-2);
  margin-top: var(--s-5);
  max-width: 54ch;
}

.hero__points li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 16px;
}

.hero__check {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 50%;
  background: var(--gold-veil);
  color: var(--gold);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-6);
}

.hero__note {
  margin-top: var(--s-3);
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Сцена с картой ---------- */
.stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: var(--s-6);
  perspective: 1400px;
}

.stage::before {
  content: "";
  position: absolute;
  width: 120%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(212, 175, 55, 0.18) 0%, rgba(212, 175, 55, 0) 70%);
  pointer-events: none;
}

.stage__deck {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 1.586;
  transform-style: preserve-3d;
  transition: transform var(--dur-slow) var(--ease);
}

.stage__slot {
  position: absolute;
  inset: 0;
  transform: rotateX(10deg) rotateZ(-6deg);
  transform-style: preserve-3d;
  transition: transform var(--dur-slow) var(--ease);
}

@media (max-width: 1023px) {
  .hero__copy,
  .hero__stage { grid-column: span 12; }
  .hero__stage { max-width: 460px; margin-inline: auto; }
  .hero h1 { max-width: none; }
}

/* Телефон: визуал карты скрыт — на узком экране он съезжал
   и отнимал первый экран у предложения и кнопки. */
@media (max-width: 767px) {
  .hero__stage { display: none; }
  .hero { padding-bottom: var(--s-8); }
}

/* ============================================================
   5. ПОЛОСА ФАКТОВ
   ============================================================ */
.facts {
  border-block: 1px solid var(--line);
  background: var(--ink);
}

.facts__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-2);
}

.fact {
  padding: var(--s-5) var(--s-4) var(--s-5) 0;
  border-right: 1px solid var(--line);
}

.fact:last-child { border-right: 0; }

.fact__value {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--gold);
}

.fact__value small {
  font-size: 0.48em;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.fact__label {
  margin-top: var(--s-2);
  max-width: 26ch;
  font-size: var(--fs-sm);
  color: var(--muted);
}

@media (max-width: 900px) {
  .facts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { padding-block: var(--s-4); }
  .fact:nth-child(2n) { border-right: 0; }
  .fact:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 460px) {
  .facts__list { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); }
  .fact:last-child { border-bottom: 0; }
}

/* ============================================================
   6. БЛОК ВЫБОРА ПРОДУКТА
   ============================================================ */
.picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-3);
}

.picker__item {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur-mid) var(--ease),
              border-color var(--dur-mid) var(--ease),
              background-color var(--dur-mid) var(--ease);
}

.picker__item:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.5);
  background: var(--surface-2);
  color: inherit;
}

.picker__desc {
  font-size: 16px;
  color: var(--muted);
}

.picker__go {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  margin-top: auto;
  padding-top: var(--s-2);
  font-weight: 600;
  color: var(--gold);
}

.picker__go svg { transition: transform var(--dur-mid) var(--ease); }
.picker__item:hover .picker__go svg { transform: translateX(4px); }

@media (max-width: 900px) {
  .picker { grid-template-columns: 1fr; }
}

/* ============================================================
   7. ДЕТАЛЬНЫЕ СЕКЦИИ ПРОДУКТОВ
   ============================================================ */
.product__grid { row-gap: var(--s-7); }

/* Обе колонки привязаны к первой строке явно. Без этого
   в зеркальной раскладке текст уезжал на вторую строку:
   карточка занимает колонки 8–12, курсор автоматического
   размещения оказывается за краем сетки, и следующий элемент
   с колонками 1–6 браузер переносит вниз. */
.product__visual {
  grid-row: 1;
  grid-column: 1 / span 5;
}

.product__body {
  grid-row: 1;
  grid-column: 7 / span 6;
}

.product--reverse .product__visual { grid-column: 8 / span 5; }
.product--reverse .product__body { grid-column: 1 / span 6; }

@media (min-width: 1024px) {
  .product__grid { align-items: stretch; }

  .product__visual {
    display: flex;
    align-items: stretch;
  }

  .product__visual .showcase {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .product__visual .showcase > * { width: 100%; }
}

@media (max-width: 1023px) {
  .product__visual,
  .product__body,
  .product--reverse .product__visual,
  .product--reverse .product__body {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .product__grid { align-items: center; }

  .product__visual {
    order: -1;
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
  }
}

.product__body h2 { margin-top: var(--s-3); }
.product__body .lede { margin-top: var(--s-3); }

.product__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-5);
}

/* Витрина карты */
.showcase {
  position: relative;
  padding: var(--s-6);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  perspective: 1200px;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.section--paper .showcase { border-color: var(--line-paper); }

.showcase .pcard,
.showcase .pcard-photo {
  transform: rotateX(8deg) rotateZ(-5deg);
  transition: transform var(--dur-slow) var(--ease);
}

.showcase:hover .pcard,
.showcase:hover .pcard-photo {
  transform: rotateX(4deg) rotateZ(-2deg) translateY(-6px);
}

.showcase--debit {
  background-image: url("../assets/pattern-rings.svg"),
                    radial-gradient(120% 100% at 20% 0%, #23201a 0%, #131313 70%);
}

.showcase--travel {
  background-image: url("../assets/pattern-route.svg"),
                    linear-gradient(160deg, #e9e6df 0%, #dcd8cf 100%);
}

.showcase--credit {
  background-image: url("../assets/pattern-diagonals.svg"),
                    radial-gradient(120% 100% at 80% 0%, #202020 0%, #121212 70%);
}

/* Список преимуществ */
.benefits {
  display: grid;
  gap: var(--s-2);
  margin-top: var(--s-5);
}

.benefit {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: var(--s-2);
  align-items: center;
  padding: 14px var(--s-2) 14px 0;
  border-top: 1px solid var(--line);
}

.section--paper .benefit { border-top-color: var(--line-paper); }

.benefit__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 12px;
  background: var(--gold-veil);
  color: var(--gold);
}

.section--paper .benefit__icon {
  border-color: rgba(122, 95, 22, 0.25);
  background: rgba(122, 95, 22, 0.07);
  color: var(--gold-text);
}

.benefit--accent .benefit__icon {
  background: rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.5);
}

.benefit p { font-size: 16px; }

/* ============================================================
   8. СРАВНИТЕЛЬНАЯ ТАБЛИЦА
   Блок убран со страницы, стили оставлены — как вернуть,
   описано в README.
   ============================================================ */
.table-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--panel);
}

.compare {
  width: 100%;
  min-width: 760px;
  text-align: left;
}

.compare th,
.compare td {
  padding: 20px var(--s-3);
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}

.compare thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--panel-2);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: var(--ls-h3);
}

.compare thead th:first-child {
  left: 0;
  z-index: 2;
  box-shadow: 1px 0 0 var(--line);
}

.compare tbody th {
  position: sticky;
  left: 0;
  width: 220px;
  background: var(--panel);
  box-shadow: 1px 0 0 var(--line);
  font-weight: 500;
  color: var(--muted);
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }

.compare tbody tr:hover td { background: var(--surface); }

.table-hint {
  margin-top: var(--s-2);
  font-size: 14px;
  color: var(--muted);
}

@media (min-width: 1024px) {
  .table-hint { display: none; }
}

/* ============================================================
   9. ШАГИ
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-3);
}

.step {
  padding: var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--surface);
}

.step__n {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--gold);
}

.step h3 {
  margin-top: var(--s-2);
  font-size: var(--fs-h4);
}

.step p {
  margin-top: var(--s-1);
  font-size: 16px;
  color: var(--muted);
}

@media (max-width: 1023px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ============================================================
   10. FAQ — аккордеон
   ============================================================ */
.faq { max-width: 860px; }

.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding-block: var(--s-4);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 500;
  letter-spacing: var(--ls-h3);
  transition: color var(--dur-fast) var(--ease);
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary:hover { color: var(--gold); }

.faq__sign {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: transform var(--dur-mid) var(--ease),
              background-color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
}

.faq summary:hover .faq__sign {
  border-color: var(--gold);
  color: var(--gold);
}

.faq details[open] .faq__sign {
  transform: rotate(45deg);
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.faq__panel { overflow: hidden; }

.faq__answer {
  padding-bottom: var(--s-4);
  max-width: 68ch;
  font-size: 16px;
  color: var(--muted);
}

.faq__answer ul {
  display: grid;
  gap: 6px;
  margin-top: var(--s-1);
}

.faq__answer li {
  position: relative;
  padding-left: 18px;
}

.faq__answer li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* ============================================================
   11. ФИНАЛЬНЫЙ CTA-БАННЕР
   ============================================================ */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 80px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--r-xl);
  background: linear-gradient(140deg, #262320 0%, #111111 62%);
  color: var(--white);
}

.cta-banner__glow {
  position: absolute;
  inset: auto -10% -60% 30%;
  height: 460px;
  pointer-events: none;
  background: radial-gradient(50% 50% at 45% 50%, rgba(212, 175, 55, 0.35) 0%, rgba(212, 175, 55, 0) 70%);
}

.cta-banner__inner {
  position: relative;
  max-width: 52ch;
}

.cta-banner .lede { margin-top: var(--s-3); }

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-5);
}

/* ============================================================
   12. ФУТЕР
   ============================================================ */
.footer {
  padding-block: var(--s-8) var(--s-5);
  border-top: 1px solid var(--line);
  background: var(--ink);
}

.footer__grid { row-gap: var(--s-6); }

.footer__brand { grid-column: 1 / span 4; }

.footer__tagline {
  margin-top: var(--s-2);
  max-width: 34ch;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.footer__col:nth-of-type(1) { grid-column: 6 / span 2; }
.footer__col:nth-of-type(2) { grid-column: 8 / span 2; }
.footer__col:nth-of-type(3) { grid-column: 10 / span 3; }

.footer h2 {
  font-family: var(--font-text);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--gold);
}

.footer ul {
  display: grid;
  gap: 10px;
  margin-top: var(--s-2);
}

.footer a {
  font-size: var(--fs-sm);
  color: var(--muted);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

.footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-2) var(--s-4);
  margin-top: var(--s-7);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.footer__disclaimer { max-width: 68ch; }

.footer__trademark {
  margin-top: var(--s-1);
  font-size: var(--fs-xs);
  color: var(--muted);
}

@media (max-width: 900px) {
  .footer__brand { grid-column: 1 / -1; }
  .footer__col:nth-of-type(1) { grid-column: 1 / span 6; }
  .footer__col:nth-of-type(2) { grid-column: 7 / span 6; }
  .footer__col:nth-of-type(3) { grid-column: 1 / span 6; }
}

@media (max-width: 420px) {
  .footer__col:nth-of-type(1),
  .footer__col:nth-of-type(2),
  .footer__col:nth-of-type(3) { grid-column: 1 / -1; }
}
