/* ========================================================================
   ИИ уже окупается — промо-лендинг конференции «Правовест Аудит»
   Палитра — по презентации конференции: глубокий синий, голубой акцент,
   светлые карточки. Фон — анимированные вертикальные линии (canvas).
   ======================================================================== */

:root {
  --bg: #040c2a;
  --bg-2: #071443;
  --bg-3: #0c1f5e;
  --line: rgba(140, 190, 255, 0.14);
  --line-2: rgba(140, 190, 255, 0.28);
  --text: #f3f7ff;
  --muted: #9db2dc;
  --muted-2: #6f84b3;
  --cyan: #4cc3ff;
  --cyan-2: #8fdcff;
  --cyan-glow: rgba(76, 195, 255, 0.45);
  --card: #ffffff;
  --card-2: #fff8e6;
  --card-text: #0a1440;
  --card-muted: #4b5a85;
  --display: "Unbounded", "Arial Black", sans-serif;
  --body: "Onest", "Inter", Arial, sans-serif;
  --radius: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
@media (max-width: 640px) { .container { width: calc(100% - 32px); } }

.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }

/* ---------- Animated background lines ---------- */
.bg-lines {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  width: 100%; height: 100%;
}
.bg-lines canvas { width: 100%; height: 100%; display: block; }
main, .header, .footer { position: relative; z-index: 1; }

/* ---------- Typography ---------- */
.h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 18ch;
  text-wrap: balance;
}
.h2 em { font-style: normal; color: var(--cyan); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--cyan); opacity: .7; }
.section__head { margin-bottom: clamp(40px, 5vw, 72px); }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.section__note { max-width: 36ch; color: var(--muted); font-size: 16px; }
.section__lead { margin-top: 22px; max-width: 60ch; color: var(--muted); font-size: 18px; }
.section__lead a { color: var(--cyan); border-bottom: 1px solid transparent; transition: border-color .2s; }
.section__lead a:hover { border-color: currentColor; }

/* split-text */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; transform: translateY(110%); will-change: transform; }

/* ---------- Buttons / chips ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  background: var(--cyan); color: #04102e; font-weight: 600; font-size: 16px; line-height: 1;
  overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s;
  box-shadow: 0 0 0 0 var(--cyan-glow);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120px 60px at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.45), transparent 70%);
  opacity: 0; transition: opacity .3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px var(--cyan-glow); background: var(--cyan-2); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 20px 34px; font-size: 17px; }
.btn--sm { padding: 12px 20px; font-size: 14px; }
.btn--full { width: 100%; }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { background: rgba(140,190,255,.1); box-shadow: inset 0 0 0 1px rgba(140,190,255,.5); }

.chip {
  display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px;
  background: var(--cyan); color: #04102e; font-size: 13px; font-weight: 600; letter-spacing: .02em;
}
.chip--ghost { background: rgba(4,12,42,.45); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(8px); font-weight: 500; }
.chip--dark { background: rgba(4,12,42,.6); color: #fff; backdrop-filter: blur(8px); font-weight: 500; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
}
.preloader__mark { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 4vw, 40px); display: flex; gap: .4em; align-items: center; }
.preloader__mark span { display: inline-block; opacity: 0; transform: translateY(20px); }
.preloader__x { color: var(--cyan); font-weight: 400; }
.preloader__bar { width: 160px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 0; background: var(--cyan); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0; transition: background .4s, padding .4s, box-shadow .4s;
}
.header.is-scrolled {
  padding: 12px 0;
  background: rgba(4,12,42,.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo img { height: 36px; width: auto; }
.header__nav { display: flex; align-items: center; gap: 30px; font-size: 15px; }
.header__nav a:not(.btn) { position: relative; color: var(--muted); transition: color .25s; padding: 6px 0; }
.header__nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--cyan); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.header__nav a:not(.btn):hover, .header__nav a.is-active { color: var(--text); }
.header__nav a:not(.btn):hover::after, .header__nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header__cta { margin-left: 10px; }

.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 102; }
.burger span { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--text); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: block; }
  .header__nav {
    position: fixed; inset: 0; z-index: 101; flex-direction: column; justify-content: center; gap: 28px;
    background: rgba(4,12,42,.96); backdrop-filter: blur(20px);
    font-family: var(--display); font-size: 22px;
    opacity: 0; pointer-events: none; transition: opacity .35s;
  }
  .header__nav.is-open { opacity: 1; pointer-events: auto; }
  .header__nav a:not(.btn) { color: var(--text); }
  .header__cta { margin: 16px 0 0; font-family: var(--body); }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding-bottom: 0; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.12); filter: saturate(.9) contrast(1.05); }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(4,12,42,.6) 0%, rgba(4,12,42,.15) 30%, rgba(4,12,42,.75) 70%, var(--bg) 100%),
    linear-gradient(90deg, rgba(4,12,42,.7) 0%, rgba(4,12,42,.1) 60%);
}
.hero__glow {
  position: absolute; left: -10%; bottom: -20%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(76,195,255,.32), transparent 60%);
  filter: blur(40px); pointer-events: none; mix-blend-mode: screen;
}
.hero__inner { position: relative; z-index: 1; padding: 160px 0 120px; }
.hero__meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.hero__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(40px, 7.2vw, 108px); line-height: .98; letter-spacing: -0.02em;
  max-width: 12ch; margin-bottom: 32px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > span { display: block; transform: translateY(105%); }
.hero__title .line--accent > span { color: var(--cyan); }
.hero__sub { max-width: 62ch; font-size: clamp(17px, 1.5vw, 21px); color: #d6e2ff; margin-bottom: 40px; font-weight: 300; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__scroll { position: absolute; right: 0; bottom: 36px; width: 1px; height: 70px; background: var(--line); overflow: hidden; }
.hero__scroll span { position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--cyan); animation: scrollHint 2.2s var(--ease) infinite; }
@keyframes scrollHint { 0% { top: -100%; } 60%, 100% { top: 100%; } }
.hero__ticker { position: relative; z-index: 1; width: 100%; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(4,12,42,.55); backdrop-filter: blur(6px); }

.ticker { overflow: hidden; white-space: nowrap; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker__track { display: inline-flex; align-items: center; gap: 36px; padding: 16px 0; animation: ticker 28s linear infinite; will-change: transform; }
.ticker__track span { font-family: var(--display); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ticker__track i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); opacity: .8; }
.ticker--slow .ticker__track { animation-duration: 40s; gap: 64px; padding: 0; }
.ticker--slow .ticker__track span { font-size: clamp(18px, 2vw, 26px); font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--text); opacity: .55; transition: opacity .3s; }
.ticker--slow:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Facts ---------- */
.facts { background: linear-gradient(180deg, var(--bg) 0%, rgba(4,12,42,.4) 30%, rgba(4,12,42,.4) 100%); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact {
  position: relative; padding: 34px 30px 30px; border-radius: var(--radius);
  background: rgba(7,20,67,.72); box-shadow: inset 0 0 0 1px var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  overflow: hidden; transition: box-shadow .4s, transform .5s var(--ease);
}
.fact::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .5s;
  background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), rgba(76,195,255,.16), transparent 70%);
}
.fact:hover { box-shadow: inset 0 0 0 1px var(--line-2); transform: translateY(-3px); }
.fact:hover::before { opacity: 1; }
.fact__num { font-family: var(--display); font-weight: 600; font-size: clamp(44px, 5vw, 72px); line-height: 1; letter-spacing: -0.02em; white-space: nowrap; color: var(--cyan-2); }
.fact__num small { font-size: .36em; font-weight: 500; color: var(--muted); margin-left: .1em; }
.fact__label { color: var(--muted); font-size: 15px; line-height: 1.45; max-width: 26ch; }
.fact--wide { grid-column: span 2; }
.fact--wide .fact__label { max-width: 46ch; }
.fact--quote { grid-column: span 2; justify-content: center; gap: 22px; background: var(--card-2); color: var(--card-text); box-shadow: none; }
.fact--quote::before { background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), rgba(76,195,255,.18), transparent 70%); }
.fact--quote p { font-family: var(--display); font-weight: 400; font-size: clamp(16px, 1.45vw, 20px); line-height: 1.4; }
.fact--quote cite { font-style: normal; color: var(--card-muted); font-size: 14px; }
.facts__logos { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); }
.facts__logos-label { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 22px; }
@media (max-width: 1000px) { .facts__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .facts__grid { gap: 10px; } .fact { min-height: 0; padding: 24px 18px 20px; gap: 12px; } .fact__num { font-size: 40px; } .fact__label { font-size: 13px; } }

/* ---------- Video ---------- */
.video { background: rgba(4,12,42,.5); }
.video::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: var(--line); }
.player {
  position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #000;
  box-shadow: 0 40px 100px -40px rgba(0,0,0,.9), inset 0 0 0 1px var(--line-2);
  cursor: pointer;
}
.player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player__preview { transition: opacity .6s, transform 1s var(--ease); transform: scale(1.02); }
.player__full { opacity: 0; pointer-events: none; }
.player.is-playing .player__preview { opacity: 0; pointer-events: none; }
.player.is-playing .player__full { opacity: 1; pointer-events: auto; cursor: default; }
.player.is-playing .player__play, .player.is-playing .player__caption, .player.is-playing::after { opacity: 0; pointer-events: none; }
.player::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(4,12,42,.6)); pointer-events: none; transition: opacity .4s; }
.player__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2;
  width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(76,195,255,.22); backdrop-filter: blur(12px); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(143,220,255,.6);
  transition: transform .5s var(--ease), background .3s;
}
.player__play svg { margin-left: 4px; }
.player:hover .player__play { transform: scale(1.08); background: var(--cyan); color: #04102e; }
.player__ring { position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(143,220,255,.7); animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
.player__caption { position: absolute; left: 28px; bottom: 24px; z-index: 2; display: flex; align-items: center; gap: 14px; font-size: 14px; color: rgba(255,255,255,.85); transition: opacity .3s; }
@media (max-width: 640px) { .player { border-radius: 16px; } .player__play { width: 76px; height: 76px; } .player__caption { left: 16px; bottom: 14px; font-size: 12px; } .player__caption span:last-child { display: none; } }

/* ---------- Gallery ---------- */
.gallery { background: rgba(4,12,42,.5); overflow: hidden; }
.gallery__nav { display: flex; gap: 10px; }
.arrow {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-2); transition: background .25s, transform .3s var(--ease), color .25s;
}
.arrow:hover { background: var(--cyan); color: #04102e; transform: scale(1.06); }
.arrow:disabled { opacity: .3; pointer-events: none; }
.gallery__track {
  display: flex; gap: 16px; padding: 0 max(20px, (100vw - var(--container)) / 2);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; cursor: grab;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.gallery__item {
  position: relative; flex: 0 0 auto; height: clamp(300px, 46vh, 560px); margin: 0; border-radius: 18px; overflow: hidden;
  scroll-snap-align: start; background: var(--bg-3); isolation: isolate; box-shadow: inset 0 0 0 1px var(--line);
}
.gallery__item--l { aspect-ratio: 3 / 2; }
.gallery__item--p { aspect-ratio: 2 / 3; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .5s; user-select: none; -webkit-user-drag: none; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 22px 20px; font-size: 14px; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(4,12,42,.8));
  opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease);
}
.gallery__item:hover figcaption { opacity: 1; transform: none; }
@media (hover: none) { .gallery__item figcaption { opacity: 1; transform: none; } }

/* ---------- Program ---------- */
.program { background: linear-gradient(180deg, rgba(4,12,42,.6), rgba(4,12,42,.35) 40%, rgba(4,12,42,.35)); }
.program::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: var(--line); }
.timeline { position: relative; max-width: 1020px; }
.timeline::before { content: ""; position: absolute; left: 118px; top: 20px; bottom: 20px; width: 1px; background: var(--line-2); }
.timeline::after { content: ""; position: absolute; left: 118px; top: 20px; bottom: 20px; width: 1px; background: var(--cyan); transform: scaleY(var(--draw, 0)); transform-origin: top; box-shadow: 0 0 12px var(--cyan-glow); }
.tl { position: relative; display: grid; grid-template-columns: 118px 1fr; gap: 0 48px; padding: 12px 0; }
.tl::before {
  content: ""; position: absolute; left: 113px; top: 34px; width: 11px; height: 11px; border-radius: 50%; z-index: 1;
  background: var(--bg); box-shadow: inset 0 0 0 2px var(--cyan); transition: background .3s, transform .3s;
}
.tl:hover::before, .tl.is-open::before { background: var(--cyan); transform: scale(1.2); box-shadow: inset 0 0 0 2px var(--cyan), 0 0 14px var(--cyan-glow); }
.tl__time { font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: -0.01em; padding-top: 24px; color: var(--cyan-2); }
.tl__body {
  min-width: 0; background: var(--card); color: var(--card-text); border-radius: 18px; padding: 28px 32px 26px;
  box-shadow: 0 20px 60px -30px rgba(0,0,0,.6);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.tl:hover .tl__body { transform: translateX(4px); box-shadow: 0 30px 70px -30px rgba(0,0,0,.7); }
.tl--break .tl__body, .tl:first-child .tl__body, .tl:last-child .tl__body { background: var(--card-2); }
.tl__speakers { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-bottom: 18px; }
.speaker { display: flex; align-items: center; gap: 14px; }
.speaker img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; box-shadow: 0 0 0 2px var(--cyan); }
.speaker b { display: block; font-weight: 600; font-size: 16px; line-height: 1.25; }
.speaker span { display: block; color: var(--card-muted); font-size: 13px; line-height: 1.4; max-width: 46ch; margin-top: 3px; }
.tl__title { font-family: var(--display); font-weight: 600; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 10px; text-wrap: pretty; }
.tl__title--sm { font-size: clamp(15px, 1.2vw, 17px); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.tl__short { color: #2a3660; max-width: 66ch; }
.tl--break .tl__short, .tl:first-child .tl__short, .tl:last-child .tl__short { color: var(--card-muted); }
.tl__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.tl__more-inner { overflow: hidden; }
.tl__more-inner > * { opacity: 0; transform: translateY(8px); transition: opacity .4s .1s, transform .5s .1s var(--ease); }
.tl.is-open .tl__more { grid-template-rows: 1fr; }
.tl.is-open .tl__more-inner > * { opacity: 1; transform: none; }
.tl__more p, .tl__more ul { color: var(--card-muted); max-width: 66ch; margin-top: 14px; }
.tl__more li { position: relative; padding-left: 18px; margin-top: 6px; }
.tl__more li::before { content: ""; position: absolute; left: 0; top: .65em; width: 7px; height: 2px; background: var(--cyan); }
.tl__toggle {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  font-size: 14px; font-weight: 600; color: #0a7fc4; transition: color .2s;
}
.tl__toggle::after {
  content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .35s var(--ease);
}
.tl__toggle:hover { color: #045c91; }
.tl.is-open .tl__toggle::after { transform: rotate(-135deg) translateY(-2px); }
@media (max-width: 720px) {
  .timeline::before, .timeline::after { left: 5px; }
  .tl { grid-template-columns: 1fr; gap: 8px; padding: 10px 0 10px 26px; }
  .tl::before { left: 0; top: 16px; }
  .tl__time { font-size: 15px; padding: 0; }
  .tl__body { padding: 20px 20px 18px; border-radius: 14px; }
  .tl:hover .tl__body { transform: none; }
  .speaker span { max-width: none; }
}

/* ---------- Materials / form ---------- */
.materials { background: #eaf2ff; color: var(--card-text); overflow: hidden; }
.materials::before {
  content: ""; position: absolute; right: -15%; top: -30%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(76,195,255,.35), transparent 60%); filter: blur(40px); pointer-events: none;
}
.materials__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
.materials .h2 { max-width: 16ch; }
.materials .h2 em { color: #0a7fc4; }
.materials .eyebrow { color: #0a7fc4; }
.materials .eyebrow::before { background: #0a7fc4; }
.materials__text > p { margin-top: 26px; font-size: 18px; max-width: 54ch; color: #2a3660; }
.materials__list { margin-top: 30px; display: grid; gap: 12px; }
.materials__list li { position: relative; padding-left: 30px; color: #1b2650; }
.materials__list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%234cc3ff'/%3E%3Cpath d='M7 12.5l3 3 7-7' stroke='%2304102e' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.materials__price { margin-top: 40px; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.materials__price-num { font-family: var(--display); font-weight: 600; font-size: clamp(40px, 4.5vw, 60px); letter-spacing: -0.02em; line-height: 1; }
.materials__price-note { color: var(--card-muted); font-size: 15px; }

.form {
  position: relative; background: var(--bg-2); color: var(--text); border-radius: 28px; padding: 40px;
  box-shadow: 0 50px 120px -40px rgba(4,12,42,.6), inset 0 0 0 1px var(--line-2);
}
.form__head { margin-bottom: 28px; }
.form__head h3 { font-family: var(--display); font-weight: 500; font-size: 24px; margin-bottom: 8px; }
.form__head p { color: var(--muted); font-size: 15px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; letter-spacing: .02em; }
.field input {
  width: 100%; height: 56px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(4,12,42,.6); color: var(--text); font: inherit; font-size: 16px; outline: none;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field input::placeholder { color: var(--muted-2); }
.field input:focus { border-color: var(--cyan); background: rgba(4,12,42,.8); box-shadow: 0 0 0 4px rgba(76,195,255,.15); }
.field.is-error input { border-color: #ff6b7a; box-shadow: 0 0 0 4px rgba(255,107,122,.15); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 8px 0 24px; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check i { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 6px; border: 1px solid var(--line-2); margin-top: 1px; position: relative; transition: background .2s, border-color .2s; }
.check i::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border-right: 2px solid #04102e; border-bottom: 2px solid #04102e; transform: rotate(45deg) scale(0); transition: transform .25s var(--ease); }
.check input:checked + i { background: var(--cyan); border-color: var(--cyan); }
.check input:checked + i::after { transform: rotate(45deg) scale(1); }
.check.is-error i { border-color: #ff6b7a; }
.check a { color: var(--cyan); }
.form__error { display: none; margin: -8px 0 16px; font-size: 13px; color: #ff8d99; }
.form.is-failed .form__error { display: block; }
.form__success {
  position: absolute; inset: 0; border-radius: 28px; background: var(--bg-2); padding: 40px;
  display: flex; flex-direction: column; justify-content: center; gap: 12px; text-align: center;
  opacity: 0; pointer-events: none; transition: opacity .5s;
}
.form__success b { font-family: var(--display); font-weight: 500; font-size: 22px; }
.form__success p { color: var(--muted); }
.form.is-sent .form__success { opacity: 1; pointer-events: auto; }
.form.is-sending .btn { opacity: .6; pointer-events: none; }
@media (max-width: 960px) { .materials__inner { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 560px) { .form { padding: 28px 22px; border-radius: 22px; } .form__success { padding: 28px 22px; } }

/* ---------- FAQ ---------- */
.faq { background: rgba(4,12,42,.6); }
.faq__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.faq__head { position: sticky; top: 120px; }
.qa { border-top: 1px solid var(--line-2); }
.qa:last-child { border-bottom: 1px solid var(--line-2); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-family: var(--display); font-weight: 500; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.3;
  transition: color .25s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2);
  background:
    linear-gradient(var(--cyan), var(--cyan)) center / 12px 2px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) center / 2px 12px no-repeat;
  transition: transform .4s var(--ease), background .3s;
}
.qa[open] summary::after { transform: rotate(135deg); }
.qa summary:hover { color: var(--cyan-2); }
.qa__body { overflow: hidden; }
.qa__body p { color: var(--muted); max-width: 60ch; padding-bottom: 26px; }
.qa__body a { color: var(--cyan); }
@media (max-width: 900px) { .faq__inner { grid-template-columns: 1fr; gap: 24px; } .faq__head { position: static; } }

/* ---------- Footer ---------- */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding: 64px 0 32px; font-size: 15px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer__brand img { height: 32px; width: auto; margin-bottom: 20px; }
.footer__brand p { color: var(--muted); max-width: 44ch; }
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__col > span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 8px; }
.footer__col a { color: var(--text); width: fit-content; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.footer__col a:hover { border-color: var(--cyan); color: var(--cyan-2); }
.footer__col p { color: var(--muted); line-height: 1.6; }
.footer__bottom { grid-column: 1 / -1; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted-2); font-size: 13px; }
.footer__bottom a { color: var(--muted); }
.footer__bottom a:hover { color: var(--cyan-2); }
@media (max-width: 760px) { .footer__inner { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 500; background: rgba(2,8,30,.94); backdrop-filter: blur(10px);
  display: grid; place-items: center; padding: 60px; opacity: 0; pointer-events: none; transition: opacity .35s;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox img { max-width: min(1400px, 100%); max-height: calc(100vh - 160px); border-radius: 12px; object-fit: contain; transform: scale(.96); transition: transform .5s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox figcaption { color: var(--muted); font-size: 14px; }
.lightbox__close { position: absolute; top: 22px; right: 22px; width: 48px; height: 48px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); }
.lightbox__close::before, .lightbox__close::after { content: ""; position: absolute; left: 15px; top: 23px; width: 18px; height: 1.5px; background: var(--text); transform: rotate(45deg); }
.lightbox__close::after { transform: rotate(-45deg); }
.lightbox__arrow { position: absolute; top: 50%; translate: 0 -50%; width: 56px; height: 56px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .25s; }
.lightbox__arrow:hover { background: rgba(76,195,255,.2); }
.lightbox__arrow::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid var(--text); border-bottom: 1.5px solid var(--text); translate: -50% -50%; }
.lightbox__arrow--prev { left: 24px; } .lightbox__arrow--prev::before { transform: rotate(135deg); margin-left: 2px; }
.lightbox__arrow--next { right: 24px; } .lightbox__arrow--next::before { transform: rotate(-45deg); margin-left: -2px; }
@media (max-width: 640px) { .lightbox { padding: 70px 12px 40px; } .lightbox__arrow { display: none; } }

/* ---------- Reveal defaults ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); }
.no-js [data-reveal], .no-js [data-split] .w > span, .no-js .hero__title .line > span { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .bg-lines { display: none; }
}
