/* ==========================================================================
   GTA6-Online.vip — основной стиль
   Палитра взята из логотипа: закатный градиент Вайс-Сити.
   ========================================================================== */

:root {
  --ink: #07040d;
  --ink-2: #0c0716;
  --ink-3: #140a22;
  --ink-4: #1c1030;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #f6f0ff;
  --muted: #a99bc0;
  --muted-2: #7d6f95;

  --pink: #ff2e92;
  --orange: #ff8a3d;
  --violet: #7b2cff;
  --cyan: #22d3ee;
  --green: #34d399;

  --grad: linear-gradient(100deg, #ff2e92 0%, #ff5a6e 45%, #ff8a3d 100%);
  --grad-soft: linear-gradient(135deg, rgba(255, 46, 146, 0.16), rgba(123, 44, 255, 0.12));
  --tg: linear-gradient(135deg, #2aabee, #229ed9);

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --wrap: 1200px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.9);
  --shadow-glow: 0 18px 50px -18px rgba(255, 46, 146, 0.55);

  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 12% -8%, rgba(255, 46, 146, 0.18), transparent 65%),
    radial-gradient(800px 600px at 92% 4%, rgba(123, 44, 255, 0.16), transparent 60%),
    radial-gradient(700px 700px at 50% 110%, rgba(255, 138, 61, 0.07), transparent 60%);
  pointer-events: none;
}

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

/* Защита от «распирания» грид-колонок контентом с внутренней шириной */
.hero__inner > *,
.hero__copy,
.hero__art,
.cards > *,
.offers > *,
.stats > *,
.gallery > *,
.steps > .step,
.step > div,
.footer__grid > *,
.cta-band > *,
.note > div {
  min-width: 0;
}

a {
  color: #ff9ecb;
  text-decoration-color: rgba(255, 46, 146, 0.4);
  text-underline-offset: 3px;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

a:hover {
  color: #ffd0e6;
  text-decoration-color: currentColor;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 800;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
}

h2 {
  font-size: clamp(1.5rem, 2.9vw, 2.2rem);
  margin-top: 2.2em;
}

h3 {
  font-size: clamp(1.12rem, 1.7vw, 1.32rem);
  margin-top: 1.6em;
}

p {
  margin: 0 0 1.1em;
}

ul,
ol {
  margin: 0 0 1.3em;
  padding-left: 1.35em;
}

li {
  margin-bottom: 0.5em;
}

li::marker {
  color: var(--pink);
}

b,
strong {
  color: #fff;
  font-weight: 700;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5em 0;
}

::selection {
  background: rgba(255, 46, 146, 0.35);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--pink);
  color: #fff;
  border-radius: 0 0 10px 10px;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

/* ---------- Кнопки ---------- */
.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.82em 1.5em;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--btn-bg);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  font-size: 0.97rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  color: #fff;
}

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

.btn--primary {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
  box-shadow: 0 22px 60px -18px rgba(255, 46, 146, 0.75);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--line-strong);
}

.btn--bot {
  background: var(--tg);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 16px 44px -20px rgba(42, 171, 238, 0.9);
}

.btn--bot:hover {
  box-shadow: 0 20px 54px -18px rgba(42, 171, 238, 1);
}

.btn--lg {
  padding: 1.05em 1.9em;
  font-size: 1.05rem;
}

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

.btn__tg {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.9 4.3 18.6 19c-.2 1-.9 1.3-1.8.8l-4.9-3.6-2.4 2.3c-.3.3-.5.5-1 .5l.4-5 9.1-8.2c.4-.4-.1-.6-.6-.2L6.2 12.9l-4.8-1.5c-1-.3-1-1 .2-1.5l18.8-7.2c.9-.3 1.6.2 1.5 1.6z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.9 4.3 18.6 19c-.2 1-.9 1.3-1.8.8l-4.9-3.6-2.4 2.3c-.3.3-.5.5-1 .5l.4-5 9.1-8.2c.4-.4-.1-.6-.6-.2L6.2 12.9l-4.8-1.5c-1-.3-1-1 .2-1.5l18.8-7.2c.9-.3 1.6.2 1.5 1.6z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------- Шапка ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 4, 13, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #fff;
  flex: 0 0 auto;
}

.logo__img {
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 6px 20px -8px rgba(255, 46, 146, 0.8);
}

.logo__text {
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.logo__text b {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55em 0.75em;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.16s ease, background 0.16s ease;
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav__link--accent {
  color: #fff;
  background: rgba(255, 46, 146, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 46, 146, 0.3);
}

.nav__link--accent:hover {
  background: rgba(255, 46, 146, 0.24);
}

.nav__group {
  position: relative;
}

.nav__drop {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 250px;
  padding: 0.5rem;
  background: #120a1e;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  display: grid;
  gap: 2px;
}

.nav__drop a {
  padding: 0.6em 0.8em;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.nav__drop a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.nav__group:hover .nav__drop,
.nav__group.is-open .nav__drop {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.header__cta {
  flex: 0 0 auto;
  padding: 0.62em 1.1em;
  font-size: 0.9rem;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.burger span {
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.2rem, 5vw, 4.5rem) 1.25rem clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 420px at 78% 22%, rgba(255, 138, 61, 0.22), transparent 65%),
    radial-gradient(900px 520px at 18% 78%, rgba(123, 44, 255, 0.22), transparent 65%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.hero--compact .hero__inner {
  grid-template-columns: 1fr;
  max-width: 900px;
}

.hero--compact {
  padding-top: clamp(1.8rem, 3.4vw, 2.8rem);
  padding-bottom: clamp(1.4rem, 2.6vw, 2.2rem);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin: 0 0 1rem;
  padding: 0.42em 0.95em;
  border-radius: 999px;
  background: rgba(255, 46, 146, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 46, 146, 0.35);
  color: #ffb3d6;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero__eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 12px var(--pink);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}

.hero h1 {
  margin-bottom: 0.45em;
  text-wrap: balance;
}

.hero__text {
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  color: var(--muted);
  max-width: 56ch;
  text-wrap: pretty;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.6rem 0 1.4rem;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero__points li {
  position: relative;
  margin: 0;
  padding-left: 1.35em;
}

.hero__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 10px rgba(255, 46, 146, 0.8);
}

.hero__art {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(255, 46, 146, 0.55), 0 0 0 1px var(--line);
  transform: perspective(1200px) rotateY(-4deg) rotateX(1.5deg);
}

.hero__art img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.hero--compact .hero__art {
  display: none;
}

/* ---------- Разметка ---------- */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.wrap--after-hero {
  padding-top: clamp(1.6rem, 3vw, 2.8rem);
  padding-bottom: 3rem;
}

.wrap--top {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.crumbs {
  font-size: 0.83rem;
  color: var(--muted-2);
  margin-bottom: 1.6rem;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.crumbs li {
  margin: 0;
}

.crumbs a {
  color: var(--muted);
  text-decoration: none;
}

.crumbs a:hover {
  color: #fff;
}

.crumbs__sep {
  opacity: 0.4;
}

.crumbs [aria-current="page"] {
  color: #fff;
}

.intro {
  font-size: 1.08rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.page-title {
  margin: 0.2rem 0 1.2rem;
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
}

.lead {
  font-size: 1.1rem;
  color: #e6dcf5;
}

/* ---------- Карточки ---------- */
.cards {
  display: grid;
  gap: 1rem;
  margin: 1.6rem 0 2rem;
}

.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.35rem 1.3rem 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(340px 200px at 20% 0%, rgba(255, 46, 146, 0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 46, 146, 0.42);
  box-shadow: 0 24px 50px -30px rgba(255, 46, 146, 0.8);
}

.card:hover::after {
  opacity: 1;
}

.card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.card__icon {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.35rem;
  border-radius: 11px;
  background: var(--grad-soft);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 800;
  color: #ffc2de;
  letter-spacing: 0.02em;
}

.card__meta {
  margin-top: auto;
  padding-top: 0.6rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.card__arrow {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  color: var(--muted-2);
  transition: transform 0.2s ease, color 0.2s ease;
}

.card:hover .card__arrow {
  transform: translateX(3px);
  color: var(--pink);
}

/* ---------- Статистика ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
}

.stat {
  padding: 1.15rem 1.1rem;
  background: var(--ink-2);
  text-align: center;
}

.stat b {
  display: block;
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.01em;
}

.stat span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- Офферы ---------- */
.offers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.8rem 0 2.4rem;
}

.offer {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.offer:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.offer--hl {
  border-color: rgba(255, 46, 146, 0.55);
  box-shadow: 0 30px 70px -40px rgba(255, 46, 146, 0.9);
  background:
    radial-gradient(500px 240px at 50% 0%, rgba(255, 46, 146, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
}

.offer__badge {
  align-self: flex-start;
  margin-bottom: 0.75rem;
  padding: 0.3em 0.7em;
  border-radius: 999px;
  background: rgba(255, 46, 146, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 46, 146, 0.35);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #ffb3d6;
}

.offer h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.offer__price {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
}

.offer__price s {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted-2);
  margin-left: 0.5em;
}

.offer__note {
  margin: 0.35rem 0 1rem;
  font-size: 0.85rem;
  color: var(--muted-2);
}

.offer ul {
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  color: var(--muted);
}

.offer li {
  position: relative;
  margin-bottom: 0.55em;
  padding-left: 1.4em;
}

.offer li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

.offer .btn {
  margin-top: auto;
}

/* ---------- Шаги ---------- */
.steps {
  display: grid;
  gap: 0.9rem;
  margin: 1.6rem 0 2rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.step__num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 8px 22px -10px rgba(255, 46, 146, 0.9);
}

.step h3 {
  margin: 0.1rem 0 0.25rem;
  font-size: 1.02rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

/* ---------- Таблицы ---------- */
.table-wrap {
  margin: 1.5rem 0 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: auto;
  background: rgba(255, 255, 255, 0.02);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 520px;
}

caption {
  caption-side: top;
  padding: 0.9rem 1rem 0.2rem;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted-2);
}

th,
td {
  padding: 0.8rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

thead th {
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover {
  background: rgba(255, 46, 146, 0.05);
}

/* ---------- Заметки ---------- */
.note {
  display: flex;
  gap: 0.9rem;
  margin: 1.6rem 0;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.95rem;
}

.note__label {
  flex: 0 0 auto;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 0.25rem;
  color: var(--muted);
}

.note p:last-child,
.note div > p:last-child {
  margin-bottom: 0;
}

.note--info { border-left: 3px solid var(--cyan); }
.note--info .note__label { color: var(--cyan); }
.note--warn { border-left: 3px solid var(--orange); background: rgba(255, 138, 61, 0.06); }
.note--warn .note__label { color: var(--orange); }
.note--bad { border-left: 3px solid var(--pink); background: rgba(255, 46, 146, 0.08); }
.note--bad .note__label { color: var(--pink); }
.note--ok { border-left: 3px solid var(--green); background: rgba(52, 211, 153, 0.06); }
.note--ok .note__label { color: var(--green); }

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 0.6rem;
  margin: 1.5rem 0 2rem;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.faq__item[open] {
  border-color: rgba(255, 46, 146, 0.35);
  background: rgba(255, 46, 146, 0.05);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.2rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  list-style: none;
}

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

.faq__item summary i {
  flex: 0 0 auto;
  position: relative;
  width: 1.1rem;
  height: 1.1rem;
}

.faq__item summary i::before,
.faq__item summary i::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 2px;
  background: var(--pink);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.faq__item summary i::after {
  transform: rotate(90deg);
}

.faq__item[open] summary i::after {
  transform: rotate(0deg);
}

.faq__a {
  padding: 0 1.2rem 1.15rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.faq__a p:last-child {
  margin-bottom: 0;
}

/* ---------- Галерея ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.8rem 0 2.2rem;
}

.gallery__item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-2);
}

.gallery__item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gallery__item figcaption {
  padding: 0.7rem 0.95rem;
  font-size: 0.8rem;
  color: var(--muted-2);
  border-top: 1px solid var(--line);
}

.gallery__item:first-child:last-child {
  grid-column: 1 / -1;
}

/* ---------- CTA-баннер ---------- */
.cta-band {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  margin: 2.6rem 0;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 46, 146, 0.3);
  background:
    radial-gradient(600px 300px at 85% 10%, rgba(255, 138, 61, 0.22), transparent 65%),
    radial-gradient(700px 340px at 10% 90%, rgba(123, 44, 255, 0.28), transparent 65%),
    linear-gradient(135deg, rgba(255, 46, 146, 0.14), rgba(123, 44, 255, 0.1));
}

.cta-band__text {
  flex: 1 1 340px;
  min-width: 0;
}

.cta-band h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
}

.cta-band p {
  margin: 0;
  color: #e8d9f7;
  font-size: 0.96rem;
  max-width: 52ch;
}

.cta-band__note {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--muted-2);
}

/* ---------- Подвал ---------- */
.footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 46, 146, 0.05), rgba(7, 4, 13, 0) 40%);
  padding-bottom: 2rem;
}

.footer__cta {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem) 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.footer__kicker {
  margin: 0 0 0.3rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink);
}

.footer__cta h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
}

.footer__sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  max-width: 50ch;
}

.footer__grid {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(1.8rem, 3vw, 2.6rem) 1.25rem;
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 1.6rem;
}

.footer__brand p {
  margin: 0.9rem 0 1rem;
  font-size: 0.88rem;
  color: var(--muted-2);
  max-width: 34ch;
}

.footer__tg {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--cyan);
  text-decoration: none;
}

.footer__col h3 {
  margin: 0 0 0.8rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer__col a {
  display: block;
  padding: 0.28em 0;
  font-size: 0.9rem;
  color: var(--muted-2);
  text-decoration: none;
}

.footer__col a:hover {
  color: #fff;
}

.footer__bottom {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 1.4rem 1.25rem 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted-2);
}

.footer__bottom p {
  margin: 0;
}

.footer__disclaimer {
  max-width: 70ch;
}

/* ---------- Мобильная кнопка ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 0.65rem 0.9rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(7, 4, 13, 0.92);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}

/* ---------- Появление hero при загрузке ---------- */
/* Контент никогда не скрыт «до скролла»: анимация запускается сразу
   и всегда заканчивается видимым состоянием — важно для краулеров. */
@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero__copy > * {
  animation: heroRise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__copy > *:nth-child(2) {
  animation-delay: 0.07s;
}

.hero__copy > *:nth-child(3) {
  animation-delay: 0.14s;
}

.hero__copy > *:nth-child(4) {
  animation-delay: 0.21s;
}

.hero__copy > *:nth-child(5) {
  animation-delay: 0.28s;
}

.hero__art img {
  animation: heroRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__art {
    transform: none;
    max-width: 560px;
  }
  .offers {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
  .cards--3,
  .cards--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 76px;
  }
  body {
    font-size: 16px;
    padding-bottom: 72px;
  }
  .burger {
    display: flex;
  }
  .header__cta {
    display: none;
  }
  .mobile-cta {
    display: block;
  }
  .nav {
    position: fixed;
    inset: 60px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.8rem 1rem 1.4rem;
    background: #0a0614;
    border-bottom: 1px solid var(--line-strong);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    transform: translateY(-120%);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 30px 60px -30px #000;
  }
  .nav.is-open {
    transform: translateY(0);
  }
  .nav__link {
    padding: 0.9em 0.6em;
    font-size: 1rem;
    width: 100%;
    justify-content: space-between;
  }
  .nav__group {
    width: 100%;
  }
  .nav__drop {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    min-width: 0;
    padding: 0 0 0.5rem 0.6rem;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .nav__group.is-open .nav__drop {
    display: grid;
    transform: none;
  }
  .nav__group:hover .nav__drop {
    transform: none;
  }
  .nav__group.is-open .nav__link--toggle svg {
    transform: rotate(180deg);
  }
  .gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .cards--2,
  .cards--3,
  .cards--4 {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-band .btn {
    width: 100%;
  }
  .hero__ctas .btn {
    flex: 1 1 auto;
  }
  .note {
    flex-direction: column;
    gap: 0.4rem;
  }
  .logo__text {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero__copy > *,
  .hero__art img {
    animation: none !important;
  }
}
