/* =========================================================
   LIQUID — жидкий WebGL-стиль
   тёмный бархат, хромовые переливы, фото и видео «текут»
   под курсором и от скорости скролла
   ========================================================= */
:root {
  --bg: #0d0b12; --bg-2: #17141f; --fg: #eeeaf6; --muted: #9690a6; --line: rgba(238, 234, 246, .1);
  --accent: #a898ff; --accent-2: #6ff0d8; --accent-3: #ff9ad5;
  --font-d: 'Unbounded', system-ui, sans-serif; --font-b: 'Manrope', system-ui, sans-serif;
  --radius: 22px; --ease: cubic-bezier(.16, 1, .3, 1); --curtain: #17141f; --curtain-2: #a898ff; --cursor: #eeeaf6; --cursor-fg: #0d0b12;
}
h1, h2, h3 { font-family: var(--font-d); font-weight: 500; letter-spacing: -.035em; line-height: 1.02; }
.h-xl { font-size: clamp(38px, min(5.6vw, 9.5vh), 100px); }
.h-lg { font-size: clamp(32px, 4.4vw, 68px); }
.h-md { font-size: clamp(22px, 2.2vw, 32px); }
.lead { font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); max-width: 540px; }
.chrome {
  background: linear-gradient(100deg, #fff 0%, var(--accent) calc(var(--lq-x, 50%) - 25%), var(--accent-2) var(--lq-x, 50%), var(--accent-3) calc(var(--lq-x, 50%) + 25%), #fff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; transition: background .3s;
}
.chrome * { background: inherit; -webkit-background-clip: text; background-clip: text; color: transparent; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 99px; font-size: 13px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 12px var(--accent-2); }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 70px); max-width: 860px; justify-items: start; }

/* ---------- Жидкие холсты ---------- */
[data-liquid], [data-liquid-slider] { position: relative; overflow: hidden; background: var(--bg-2); }
[data-liquid] > img { width: 100%; height: 100%; object-fit: cover; }
.lq-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.lq-ready > img { visibility: hidden; }

/* ---------- Кнопки ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 28px; border-radius: 99px; overflow: hidden; isolation: isolate;
  background: linear-gradient(100deg, var(--accent), var(--accent-2)); color: #0d0b12; font-weight: 700; font-size: 15px;
  box-shadow: 0 10px 40px -10px rgba(168, 152, 255, .6);
}
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, var(--accent-3), var(--accent)); opacity: 0; transition: opacity .5s; }
.btn:hover::after { opacity: 1; }
.btn .ico { transition: transform .5s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn--ghost { background: rgba(255, 255, 255, .06); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn--ghost::after { background: rgba(255, 255, 255, .08); }

/* ---------- Навигация ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; transition: transform .6s var(--ease); }
.nav.is-hidden { transform: translateY(-130%); }
.nav__in { display: flex; justify-content: space-between; align-items: center; gap: 20px; height: 62px; padding: 0 8px 0 24px; border-radius: 99px; background: rgba(23, 20, 31, .6); border: 1px solid var(--line); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); }
.nav__logo { font-family: var(--font-d); font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.nav__links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.nav__links a:hover { color: var(--fg); }
.nav .btn { height: 46px; padding: 0 20px; font-size: 14px; box-shadow: none; }
@media (max-width: 900px) { .nav__links { display: none; } }

/* ---------- Hero со слайдером ---------- */
.lq-hero { position: relative; min-height: 100svh; padding: 110px 0 40px; display: flex; align-items: center; }
.lq-hero .container { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.lq-hero__txt { display: grid; gap: clamp(14px, 2.2vh, 22px); justify-items: start; }
.lq-who { display: flex; flex-wrap: wrap; gap: 8px; }
.lq-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: clamp(18px, 3vw, 40px); }
.lq-fact b { display: block; font-family: var(--font-d); font-weight: 500; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.03em; }
.lq-fact span { font-size: 12.5px; color: var(--muted); }
.lq-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.lq-hook { font-size: 14px; color: var(--muted); }
.lq-slider { position: relative; }
.lq-slider [data-liquid-slider] { aspect-ratio: 4/4.6; border-radius: 32px; }
.lq-slider__ui { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.lq-caps { position: relative; flex: 1; min-height: 64px; }
.lq-cap { position: absolute; left: 0; bottom: 0; padding: 14px 18px; border-radius: 18px; background: rgba(13, 11, 18, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); opacity: 0; visibility: hidden; }
.lq-cap b { display: block; font-size: 15px; }
.lq-cap span { font-size: 13px; color: var(--muted); }
.lq-arrows { display: flex; gap: 8px; align-items: center; }
.lq-arrows button { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(13, 11, 18, .55); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background .3s, transform .4s var(--ease); }
.lq-arrows button:hover { background: var(--accent); color: #0d0b12; transform: scale(1.08); }
.lq-arrows button:first-child .ico { transform: rotate(180deg); }
.lq-count { font-family: var(--font-d); font-size: 12px; color: var(--muted); position: absolute; top: 20px; right: 22px; z-index: 2; }
.lq-hero__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 50% at 80% 40%, rgba(168, 152, 255, .18), transparent 70%), radial-gradient(30% 40% at 10% 80%, rgba(111, 240, 216, .1), transparent 70%); }
@media (max-width: 900px) {
  .lq-hero .container { grid-template-columns: 1fr; }
  .lq-slider [data-liquid-slider] { aspect-ratio: 4/3.6; }
  .lq-facts { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Сетка «жидких» карточек ---------- */
.lq-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.lq-card { grid-column: span 4; display: grid; gap: 14px; }
.lq-card--wide { grid-column: span 8; }
.lq-card__media { aspect-ratio: 4/3.2; border-radius: var(--radius); }
.lq-card--wide .lq-card__media { aspect-ratio: auto; height: 100%; min-height: 320px; }
.lq-card__row { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 0 6px; }
.lq-card__row h3 { font-size: 22px; }
.lq-card__row b { font-family: var(--font-d); font-weight: 500; font-size: 18px; color: var(--accent-2); white-space: nowrap; }
.lq-card p { padding: 0 6px; color: var(--muted); font-size: 14.5px; }
@media (max-width: 900px) { .lq-card, .lq-card--wide { grid-column: 1 / -1; } }

/* ---------- Цены ---------- */
.lq-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.lq-price { position: relative; border-radius: var(--radius); padding: 30px 28px; background: var(--bg-2); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; overflow: hidden; }
.lq-price::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, var(--accent), transparent 40%, transparent 60%, var(--accent-2)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .6; pointer-events: none; }
.lq-price h3 { font-size: 22px; }
.lq-price__sum { font-family: var(--font-d); font-size: 36px; letter-spacing: -.03em; }
.lq-price__sum small { font-size: 14px; color: var(--muted); font-family: var(--font-b); letter-spacing: 0; }
.lq-price ul { display: grid; gap: 8px; font-size: 14.5px; color: var(--muted); }
.lq-price li { display: flex; gap: 10px; }
.lq-price li .ico { color: var(--accent-2); flex: none; margin-top: 2px; }

/* ---------- Отзывы / факты ---------- */
.lq-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; }
.lq-stat { background: var(--bg); padding: 30px 26px; }
.lq-stat b { display: block; font-family: var(--font-d); font-weight: 500; font-size: clamp(34px, 3.4vw, 52px); letter-spacing: -.04em; }
.lq-stat span { color: var(--muted); font-size: 14px; }

/* ---------- Бегущая строка ---------- */
.lq-marquee { padding: 30px 0; border-block: 1px solid var(--line); }
.lq-marquee span { font-family: var(--font-d); font-size: clamp(36px, 6vw, 90px); letter-spacing: -.04em; padding: 0 30px; display: inline-flex; align-items: center; gap: 30px; }
.lq-marquee span::after { content: ''; width: .35em; height: .35em; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }

/* ---------- CTA ---------- */
.lq-cta-box { position: relative; border-radius: 36px; overflow: hidden; min-height: 520px; display: flex; align-items: center; }
.lq-cta-box > [data-liquid] { position: absolute; inset: 0; }
.lq-cta-box::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 11, 18, .92) 35%, rgba(13, 11, 18, .3)); pointer-events: none; }
.lq-cta-box__in { position: relative; z-index: 2; padding: clamp(30px, 6vw, 80px); max-width: 700px; display: grid; gap: 18px; }
.lq-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lq-form input { height: 58px; padding: 0 20px; border-radius: 99px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); color: var(--fg); }
.lq-form input:focus { outline: none; border-color: var(--accent); }
.lq-form .btn { grid-column: 1 / -1; justify-content: center; }
.form-ok { font-family: var(--font-d); font-size: 26px; }
@media (max-width: 600px) { .lq-form { grid-template-columns: 1fr; } }

.footer { padding: 50px 0 36px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer .container { display: grid; gap: 18px; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.footer__note { font-size: 12px; opacity: .7; }
