/* ============================================================
   SWEET — служба заботы. Новый дизайн.
   Иконки — Font Awesome 6. Цвета приходят из data/content.json.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100dvh;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  color: #f3e9ff;
  background: var(--c-bg, #140726);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: 'Unbounded', 'Manrope', sans-serif; margin: 0; font-weight: 700; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 34px); }

/* ---------------- Сцена (фон) ---------------- */

.scene {
  position: fixed; inset: 0; z-index: -3; overflow: hidden;
  background:
    radial-gradient(1200px 820px at 12% -8%, color-mix(in srgb, var(--c-primary) 34%, transparent), transparent 66%),
    radial-gradient(1000px 720px at 92% 4%, color-mix(in srgb, var(--c-secondary) 24%, transparent), transparent 64%),
    radial-gradient(900px 760px at 55% 108%, color-mix(in srgb, var(--c-accent) 18%, transparent), transparent 66%),
    var(--c-bg);
}
.scene-photo { position: absolute; inset: 0; }
.scene-veil {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    color-mix(in srgb, var(--c-bg) 88%, transparent),
    color-mix(in srgb, var(--c-bg) 66%, transparent) 45%,
    color-mix(in srgb, var(--c-bg) 94%, transparent));
}

/* сетка-мэш */
.scene-mesh {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 5%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 5%, transparent 75%);
}
/* лёгкое «зерно» */
.scene-noise {
  position: absolute; inset: 0; opacity: .28; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.aurora { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; will-change: transform; }
.aurora-a { width: 46vmax; height: 46vmax; top: -18vmax; left: -14vmax;
  background: radial-gradient(circle at 35% 35%, var(--c-primary), transparent 62%);
  animation: sway1 23s ease-in-out infinite; }
.aurora-b { width: 38vmax; height: 38vmax; top: 24%; right: -16vmax;
  background: radial-gradient(circle, var(--c-secondary), transparent 62%);
  animation: sway2 29s ease-in-out infinite; }
.aurora-c { width: 32vmax; height: 32vmax; bottom: -14vmax; left: 22%;
  background: radial-gradient(circle, var(--c-accent), transparent 60%);
  opacity: .28; animation: sway3 20s ease-in-out infinite; }

@keyframes sway1 { 0%,100% { transform: none; } 50% { transform: translate3d(7vmax,5vmax,0) scale(1.15); } }
@keyframes sway2 { 0%,100% { transform: scale(1.05); } 50% { transform: translate3d(-7vmax,-4vmax,0) scale(.9); } }
@keyframes sway3 { 0%,100% { transform: none; } 50% { transform: translate3d(5vmax,-6vmax,0) scale(1.2); } }

/* плывущие иконки-сладости */
.drift { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.drift i {
  position: absolute;
  color: color-mix(in srgb, var(--c-primary) 55%, #fff);
  animation: driftUp linear infinite;
  will-change: transform;
}
@keyframes driftUp {
  from { transform: translate3d(0, 10vh, 0) rotate(0deg); opacity: 0; }
  10%  { opacity: var(--o, .35); }
  90%  { opacity: var(--o, .35); }
  to   { transform: translate3d(var(--dx, 30px), -110vh, 0) rotate(var(--rot, 260deg)); opacity: 0; }
}

.spot {
  position: fixed; z-index: -1;
  width: 520px; height: 520px; margin: -260px 0 0 -260px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--c-primary) 22%, transparent), transparent 66%);
  filter: blur(50px); opacity: 0; transition: opacity .5s;
}

/* ================= 1. ШАПКА ================= */

.topbar { position: sticky; top: 0; z-index: 60; padding: 14px 0; transition: padding .3s; }
/* мягкая подложка, чтобы контент не «просвечивал» над капсулой */
.topbar::before {
  content: ''; position: absolute; inset: -14px 0 -18px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, var(--c-bg) 18%, color-mix(in srgb, var(--c-bg) 55%, transparent) 62%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent);
  mask-image: linear-gradient(to bottom, #000 60%, transparent);
}
.topbar.is-small { padding: 8px 0; }

.topbar-in {
  width: calc(100% - clamp(20px, 5vw, 48px));
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 10px 10px 14px;
  display: flex; align-items: center; gap: 16px;
  border-radius: 22px;
  background: color-mix(in srgb, var(--c-bg) 74%, transparent);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 46px -30px rgba(0,0,0,.95);
  transition: background .3s, box-shadow .3s, border-color .3s;
}
.topbar.is-small .topbar-in {
  background: color-mix(in srgb, var(--c-bg) 90%, transparent);
  border-color: color-mix(in srgb, var(--c-primary) 26%, transparent);
  box-shadow: 0 22px 50px -28px rgba(0,0,0,1), 0 0 30px -18px color-mix(in srgb, var(--c-primary) 90%, transparent);
}

.logo { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.logo-badge {
  position: relative;
  width: 44px; height: 44px; flex: 0 0 auto;
  display: grid; place-items: center; overflow: hidden;
  border-radius: 15px;
  font-size: 19px; color: #fff;
  background: linear-gradient(140deg, var(--c-primary), color-mix(in srgb, var(--c-secondary) 70%, #3a1050));
  box-shadow: 0 10px 26px -12px color-mix(in srgb, var(--c-primary) 100%, transparent),
              inset 0 1px 0 rgba(255,255,255,.35);
}
.logo-badge img { width: 100%; height: 100%; object-fit: cover; }
.logo-badge::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: gloss 4.5s ease-in-out infinite;
}
@keyframes gloss { 0%, 70% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

.logo-name b {
  display: block; font-family: 'Unbounded', sans-serif;
  font-size: 18px; font-weight: 800; letter-spacing: .04em; line-height: 1.1; color: #fff;
}
.logo-name i {
  display: block; font-style: normal; margin-top: 2px;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(238,226,255,.45);
}

.menu { display: flex; gap: 2px; margin: 0 auto; }
.menu a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 15px; border-radius: 13px;
  font-size: 14px; font-weight: 600; color: rgba(240,230,255,.72);
  transition: color .25s, background .25s, transform .25s;
}
.menu a i { font-size: 12.5px; color: color-mix(in srgb, var(--c-secondary) 70%, #fff); transition: transform .3s; }
.menu a:hover { color: #fff; background: rgba(255,255,255,.06); }
.menu a:hover i { transform: translateY(-2px) scale(1.12); }

.topbar-act { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.btn-candy {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px; border-radius: 14px;
  font-size: 14px; font-weight: 800; color: #2b0522;
  background: linear-gradient(115deg, var(--c-accent), var(--c-primary) 55%, var(--c-secondary));
  background-size: 220% 100%;
  box-shadow: 0 12px 30px -14px color-mix(in srgb, var(--c-primary) 100%, transparent);
  animation: flow 7s ease infinite;
  transition: transform .25s cubic-bezier(.2,.8,.3,1), box-shadow .25s;
}
.btn-candy:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -16px color-mix(in srgb, var(--c-primary) 100%, transparent); }
@keyframes flow { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.btn-candy--ghost {
  color: #fff; background: rgba(255,255,255,.06); animation: none;
  border: 1px solid color-mix(in srgb, var(--c-primary) 45%, transparent);
  box-shadow: none;
}
.btn-candy--ghost:hover { background: rgba(255,255,255,.11); box-shadow: 0 0 26px -12px color-mix(in srgb, var(--c-primary) 100%, transparent); }

.menu-toggle {
  display: none; width: 44px; height: 44px;
  font-size: 17px; color: #fff;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px; cursor: pointer;
}

/* ================= 2. ТЕЛО ================= */

.help { padding: clamp(30px, 6vw, 62px) 0 clamp(24px, 5vw, 40px); }

.help-grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
  gap: clamp(24px, 4vw, 46px); align-items: center;
}
@media (max-width: 940px) { .help-grid { grid-template-columns: 1fr; } }

.chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px; margin-bottom: 22px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  border-radius: 999px;
  color: color-mix(in srgb, var(--c-accent) 82%, #fff);
  background: rgba(255,255,255,.05);
  border: 1px solid color-mix(in srgb, var(--c-accent) 30%, transparent);
}
.chip i { color: var(--c-primary); animation: beat 2.4s ease-in-out infinite; }
@keyframes beat { 0%,100% { transform: scale(1); } 30% { transform: scale(1.25); } 45% { transform: scale(1); } }

.big { display: block; }
.big-word {
  display: block; position: relative;
  font-size: clamp(56px, 11vw, 116px); font-weight: 800; line-height: .92; letter-spacing: -.02em;
  background: linear-gradient(96deg, #fff 6%, var(--c-accent) 34%, var(--c-primary) 66%, var(--c-secondary) 98%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: flow 10s ease-in-out infinite;
}
.big-sub {
  display: block; margin-top: 14px;
  font-size: clamp(19px, 3.6vw, 30px); font-weight: 600; line-height: 1.22; color: #fff;
}
.big-sub::after {
  content: ''; display: block; width: 96px; height: 5px; margin-top: 16px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
  box-shadow: 0 0 22px -4px color-mix(in srgb, var(--c-primary) 100%, transparent);
}

.lead {
  margin: 20px 0 0; max-width: 56ch;
  font-size: clamp(15px, 2.4vw, 17px); line-height: 1.7; color: rgba(238,226,255,.72);
}

.tip {
  display: flex; gap: 11px; align-items: flex-start;
  margin: 22px 0 0; padding: 13px 17px; max-width: 58ch;
  font-size: 13.5px; line-height: 1.55; color: rgba(238,226,255,.7);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
  border: 1px dashed color-mix(in srgb, var(--c-accent) 34%, transparent);
}
.tip i { color: var(--c-accent); margin-top: 2px; }

/* --- карточка статуса --- */
.card-status {
  position: relative; overflow: hidden;
  padding: 26px;
  border-radius: 30px;
  background: linear-gradient(165deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 70px -40px rgba(0,0,0,1), inset 0 1px 0 rgba(255,255,255,.16);
}

.lolly {
  position: absolute; top: -58px; right: -58px;
  width: 190px; height: 190px; border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--c-primary) 0 40deg, transparent 40deg 80deg,
    var(--c-accent) 80deg 120deg, transparent 120deg 160deg,
    var(--c-secondary) 160deg 200deg, transparent 200deg 240deg,
    var(--c-primary) 240deg 280deg, transparent 280deg 320deg,
    var(--c-accent) 320deg 360deg);
  opacity: .22; filter: blur(1px);
  animation: spin 26s linear infinite;
}
.lolly span {
  position: absolute; inset: 32%;
  border-radius: 50%;
  background: var(--c-bg);
  opacity: .55;
}
@keyframes spin { to { transform: rotate(360deg); } }

.live {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: #04241c; background: var(--c-secondary);
  box-shadow: 0 0 24px -6px color-mix(in srgb, var(--c-secondary) 100%, transparent);
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #04241c; animation: pulse 1.7s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: .3; transform: scale(.85); } 50% { opacity: 1; transform: scale(1); } }

.clock { display: flex; align-items: center; gap: 14px; margin: 20px 0 22px; }
.clock i {
  width: 46px; height: 46px; flex: 0 0 auto;
  display: grid; place-items: center; font-size: 19px;
  border-radius: 15px; color: var(--c-accent);
  background: color-mix(in srgb, var(--c-accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--c-accent) 30%, transparent);
}
.clock-label { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(232,220,252,.5); }
.clock b { display: block; margin-top: 3px; font-size: 16px; font-weight: 700; color: #fff; }

.metrics { display: grid; gap: 10px; }
.metrics li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 13px 16px; border-radius: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .3s cubic-bezier(.2,.8,.3,1), border-color .3s, background .3s;
}
.metrics li:hover {
  transform: translateX(4px);
  border-color: color-mix(in srgb, var(--c-primary) 42%, transparent);
  background: rgba(255,255,255,.06);
}
.metrics b {
  font-family: 'Unbounded', sans-serif; font-size: 19px; font-weight: 700; color: var(--c-accent);
  text-shadow: 0 0 18px color-mix(in srgb, var(--c-accent) 45%, transparent);
}
.metrics span { font-size: 12.5px; text-align: right; color: rgba(232,220,252,.6); }

/* --- плитки каналов --- */
.tiles {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
  margin-top: clamp(28px, 5vw, 46px);
}
@media (max-width: 940px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } }

.tile {
  --tc: var(--c-primary);
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  padding: 24px 22px 20px;
  border-radius: 26px;
  background: linear-gradient(165deg, rgba(255,255,255,.085), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px -30px rgba(0,0,0,1);
  transition: transform .38s cubic-bezier(.2,.8,.3,1), border-color .38s, box-shadow .38s;
}
.tile--berry { --tc: var(--c-primary); }
.tile--mint  { --tc: var(--c-secondary); }
.tile--lemon { --tc: var(--c-accent); }
.tile--grape { --tc: #a97bff; }
.tile--choco { --tc: #d08e5c; }
.tile--ghost { --tc: #dccdf5; }

.tile::before {
  content: ''; position: absolute; z-index: -1;
  top: -60%; left: -20%; width: 140%; height: 120%;
  background: radial-gradient(ellipse at 30% 20%, color-mix(in srgb, var(--tc) 40%, transparent), transparent 62%);
  opacity: .5; transition: opacity .4s, transform .5s;
}
.tile:hover {
  transform: translateY(-7px);
  border-color: color-mix(in srgb, var(--tc) 62%, transparent);
  box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--tc) 100%, transparent),
              0 0 34px -18px color-mix(in srgb, var(--tc) 90%, transparent);
}
.tile:hover::before { opacity: 1; transform: translateY(6%); }

.tile-tag {
  position: absolute; top: 16px; right: 16px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 9.5px; font-weight: 800; letter-spacing: .14em;
  color: #2b0522; background: var(--tc);
  box-shadow: 0 0 18px -4px color-mix(in srgb, var(--tc) 100%, transparent);
}

.tile-ico {
  width: 58px; height: 58px; margin-bottom: 18px;
  display: grid; place-items: center; font-size: 24px;
  border-radius: 20px; color: #fff;
  background: linear-gradient(150deg, color-mix(in srgb, var(--tc) 62%, transparent), color-mix(in srgb, var(--tc) 16%, transparent));
  border: 1px solid color-mix(in srgb, var(--tc) 45%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28);
  transition: transform .42s cubic-bezier(.2,.8,.3,1);
}
.tile:hover .tile-ico { transform: rotate(-9deg) scale(1.1); }

.tile-name {
  font-family: 'Unbounded', sans-serif;
  font-size: 15.5px; font-weight: 600; line-height: 1.3; color: #fff;
}
.tile-note { margin-top: 7px; font-size: 13px; line-height: 1.5; color: rgba(238,226,255,.6); }

.tile-go {
  display: flex; align-items: center; gap: 8px;
  margin-top: auto; padding-top: 18px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
  color: color-mix(in srgb, var(--tc) 75%, #fff);
  opacity: .65; transition: opacity .3s, gap .3s;
}
.tile:hover .tile-go { opacity: 1; gap: 12px; }

/* --- лента вкусов --- */
.ticker {
  overflow: hidden; padding: 15px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--c-primary) 10%, transparent),
    transparent 30%, transparent 70%,
    color-mix(in srgb, var(--c-secondary) 10%, transparent));
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.ticker-line { display: flex; align-items: center; gap: 26px; width: max-content; animation: run 36s linear infinite; }
.ticker:hover .ticker-line { animation-play-state: paused; }
.ticker-txt {
  font-family: 'Unbounded', sans-serif; font-size: clamp(14px, 2.6vw, 19px); font-weight: 600;
  white-space: nowrap; color: transparent;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent), var(--c-secondary));
  -webkit-background-clip: text; background-clip: text;
}
.ticker-ico { font-size: 15px; color: var(--c-accent); }
@keyframes run { to { transform: translateX(-33.333%); } }

/* --- общие заголовки блоков --- */
.block { padding: clamp(48px, 8vw, 88px) 0; }
[id] { scroll-margin-top: 100px; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: color-mix(in srgb, var(--c-secondary) 70%, #fff);
}
.kicker i { font-size: 12px; }

.block-head { max-width: 620px; margin-bottom: clamp(28px, 4vw, 44px); }
.block-head h2, .faq-aside h2 {
  margin-top: 14px;
  font-size: clamp(28px, 4.6vw, 44px); line-height: 1.12; letter-spacing: -.02em; color: #fff;
}
.block-head p, .faq-aside p {
  margin: 12px 0 0; font-size: 15px; line-height: 1.65; color: rgba(238,226,255,.6);
}

/* --- дорожка шагов --- */
.road { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .road { grid-template-columns: 1fr; gap: 14px; } }

.road::before {
  content: ''; position: absolute;
  top: 33px; left: 8%; right: 8%; height: 2px;
  background: repeating-linear-gradient(90deg,
    color-mix(in srgb, var(--c-primary) 55%, transparent) 0 10px, transparent 10px 20px);
  opacity: .6;
}
@media (max-width: 860px) { .road::before { display: none; } }

.road-item { position: relative; text-align: center; }
@media (max-width: 860px) {
  .road-item {
    display: flex; gap: 16px; text-align: left; align-items: flex-start;
    padding: 18px; border-radius: 22px;
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  }
}

.road-dot {
  position: relative;
  width: 68px; height: 68px; margin: 0 auto 20px;
  display: grid; place-items: center; font-size: 25px; color: #fff;
  border-radius: 24px;
  background: linear-gradient(150deg, var(--c-primary), color-mix(in srgb, var(--c-secondary) 62%, #3a1050));
  box-shadow: 0 16px 36px -18px color-mix(in srgb, var(--c-primary) 100%, transparent),
              inset 0 1px 0 rgba(255,255,255,.3);
  transition: transform .4s cubic-bezier(.2,.8,.3,1), box-shadow .4s;
}
@media (max-width: 860px) { .road-dot { margin: 0; width: 58px; height: 58px; font-size: 21px; flex: 0 0 auto; } }

.road-dot b {
  position: absolute; top: -8px; right: -8px;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  font-family: 'Unbounded', sans-serif; font-size: 12px;
  border-radius: 50%; color: #2b0522; background: var(--c-accent);
  box-shadow: 0 0 16px -3px color-mix(in srgb, var(--c-accent) 100%, transparent);
}
.road-item:hover .road-dot { transform: translateY(-5px) rotate(-8deg); }

.road-body h3 { font-size: 18px; line-height: 1.3; color: #fff; }
.road-body p { margin: 10px 0 0; font-size: 14px; line-height: 1.65; color: rgba(238,226,255,.62); }

/* --- вопросы --- */
.block--faq { padding-top: clamp(20px, 4vw, 40px); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(24px, 4vw, 56px); }
@media (max-width: 940px) { .faq-grid { grid-template-columns: 1fr; } }

.faq-aside { position: sticky; top: 110px; align-self: start; }
@media (max-width: 940px) { .faq-aside { position: static; } }
.faq-aside .btn-candy { margin-top: 22px; }

.qa-list { display: grid; gap: 12px; }

.qa {
  border-radius: 22px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  overflow: hidden;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.qa[open] {
  background: rgba(255,255,255,.065);
  border-color: color-mix(in srgb, var(--c-primary) 46%, transparent);
  box-shadow: 0 22px 50px -32px color-mix(in srgb, var(--c-primary) 100%, transparent);
}
.qa summary {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; cursor: pointer; list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { background: rgba(255,255,255,.03); }

.qa-bullet {
  flex: 0 0 auto; width: 34px; height: 34px;
  display: grid; place-items: center; font-size: 13px;
  border-radius: 12px; color: var(--c-primary);
  background: color-mix(in srgb, var(--c-primary) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--c-primary) 32%, transparent);
  transition: transform .35s cubic-bezier(.2,.8,.3,1);
}
.qa[open] .qa-bullet { transform: rotate(-16deg); }

.qa-title { flex: 1 1 auto; font-size: 15.5px; font-weight: 700; color: #fff; }
.qa-chev { flex: 0 0 auto; font-size: 13px; color: rgba(238,226,255,.5); transition: transform .35s cubic-bezier(.2,.8,.3,1), color .3s; }
.qa[open] .qa-chev { transform: rotate(180deg); color: var(--c-primary); }

.qa-text { padding: 0 20px 20px 68px; animation: fadeUp .35s ease; }
@media (max-width: 560px) { .qa-text { padding-left: 20px; } }
.qa-text p { margin: 0; font-size: 14.5px; line-height: 1.7; color: rgba(238,226,255,.7); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(-6px); } }

/* ================= 3. ПОДВАЛ ================= */

.foot {
  position: relative; margin-top: clamp(24px, 5vw, 44px);
  padding: clamp(38px, 6vw, 62px) 0 26px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,.32) 24%);
  border-top: 1px solid rgba(255,255,255,.08);
}

.foot-top {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, .8fr);
  gap: clamp(24px, 4vw, 48px);
}
@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-top { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 860px) { .foot-col--brand { grid-column: 1 / -1; } }

.logo--foot { margin-bottom: 16px; }
.foot-text { margin: 0; max-width: 44ch; font-size: 13.5px; line-height: 1.7; color: rgba(236,224,252,.58); }

.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 42px; height: 42px;
  display: grid; place-items: center; font-size: 17px;
  border-radius: 14px; color: rgba(240,230,255,.8);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  transition: transform .3s cubic-bezier(.2,.8,.3,1), color .3s, background .3s, box-shadow .3s;
}
.socials a:hover {
  transform: translateY(-4px);
  color: #fff;
  background: linear-gradient(140deg, var(--c-primary), color-mix(in srgb, var(--c-secondary) 60%, #3a1050));
  box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--c-primary) 100%, transparent);
}

.foot-h {
  margin-bottom: 16px;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(232,220,252,.45);
}

.contacts { display: grid; gap: 14px; }
.contacts li { display: flex; gap: 12px; align-items: flex-start; }
.ct-ico {
  width: 38px; height: 38px; flex: 0 0 auto;
  display: grid; place-items: center; font-size: 14px;
  border-radius: 13px; color: var(--c-secondary);
  background: color-mix(in srgb, var(--c-secondary) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--c-secondary) 26%, transparent);
}
.ct-label { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(230,218,250,.42); }
.ct-val { display: block; margin-top: 3px; font-size: 14.5px; font-weight: 600; color: #fff; }
a.ct-val:hover { color: var(--c-accent); }

.foot-links { display: grid; gap: 10px; }
.foot-links a {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14px; color: rgba(240,230,255,.7);
  transition: color .25s, gap .25s;
}
.foot-links a i { font-size: 11px; color: var(--c-primary); }
.foot-links a:hover { color: #fff; gap: 13px; }

.foot-word {
  margin: clamp(28px, 5vw, 48px) 0 0;
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(60px, 17vw, 190px); font-weight: 800; line-height: .85; letter-spacing: -.03em;
  text-align: center; color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--c-primary) 34%, transparent);
  opacity: .5;
  user-select: none;
}

.foot-bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 18px;
  margin-top: 22px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 12.5px; color: rgba(226,214,248,.42);
}
.foot-note { display: inline-flex; align-items: center; gap: 8px; }
.foot-note i { color: var(--c-accent); }

/* --- кнопка наверх --- */
.up-btn {
  position: fixed; right: 20px; bottom: 20px; z-index: 55;
  width: 48px; height: 48px;
  display: grid; place-items: center; font-size: 16px; color: #2b0522;
  border-radius: 16px;
  background: linear-gradient(140deg, var(--c-accent), var(--c-primary));
  box-shadow: 0 14px 32px -14px color-mix(in srgb, var(--c-primary) 100%, transparent);
  opacity: 0; pointer-events: none; transform: translateY(14px);
  transition: opacity .35s, transform .35s;
}
.up-btn.is-on { opacity: 1; pointer-events: auto; transform: translateY(0); }
.up-btn:hover { transform: translateY(-3px); }

/* --- появление --- */
.rise { opacity: 1; transform: none; }
.js-on .rise { opacity: 0; transform: translateY(24px); }
.js-on .rise.is-in { animation: riseIn .8s cubic-bezier(.2,.8,.3,1) forwards; animation-delay: var(--d, 0ms); }
@keyframes riseIn { to { opacity: 1; transform: translateY(0); } }

/* --- адаптив шапки --- */
@media (max-width: 940px) {
  .menu {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    display: none; flex-direction: column; gap: 4px;
    padding: 12px; border-radius: 22px;
    background: color-mix(in srgb, var(--c-bg) 96%, transparent);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 26px 50px -28px #000;
  }
  .menu.is-open { display: flex; animation: fadeUp .3s cubic-bezier(.2,.8,.3,1); }
  .menu a { padding: 13px 15px; font-size: 15px; }
  .menu-toggle { display: grid; place-items: center; }
  .topbar-in { position: relative; }
}
@media (max-width: 620px) {
  .btn-candy span { display: none; }
  .btn-candy { padding: 12px 15px; }
  .faq-aside .btn-candy span, .tile span { display: inline; }
  .logo-name i { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .rise, .js-on .rise { opacity: 1; transform: none; }
}
