:root {
  --bg: #06070b;
  --bg-2: #0b0d14;
  --panel: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.18);
  --text: #f2f4f8;
  --mute: #9aa3b5;
  --c1: #3ee0ff;
  --c2: #9b7bff;
  --grad: linear-gradient(90deg, var(--c1), var(--c2));
  --r: 22px;
  --w: 1240px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font-family: Manrope, system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 17px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--c1); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--c2); color: #fff; }

#grid { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.glow-cursor { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(62, 224, 255, 0.11), transparent); pointer-events: none; z-index: 0; transform: translate3d(-999px, -999px, 0); will-change: transform; }
main, .footer, .marquee { position: relative; z-index: 1; }

/* ── навигация ── */
.nav { position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%); width: min(var(--w), calc(100% - 28px)); display: flex; align-items: center; gap: 24px; padding: 10px 12px 10px 16px; border-radius: 999px; background: rgba(10, 12, 18, 0.55); border: 1px solid var(--line); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); transition: background 0.3s, border-color 0.3s; }
.nav.scrolled { background: rgba(8, 9, 14, 0.86); border-color: var(--line-2); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 600; color: var(--mute); }
.nav-links a { position: relative; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.on { color: var(--text); }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav-links a.on::after { transform: scaleX(1); }

/* ── кнопки ── */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 800; font-size: 16px; color: #05060a; background: var(--grad); white-space: nowrap; transition: transform 0.25s var(--ease), box-shadow 0.25s; box-shadow: 0 10px 40px -10px rgba(62, 224, 255, 0.55); }
.btn:hover { box-shadow: 0 14px 50px -8px rgba(155, 123, 255, 0.8); }
.btn svg { transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-ghost { background: var(--panel); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4); }

/* ── типографика ── */
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 700; letter-spacing: 0.02em; color: #cfd6e4; background: var(--panel); border: 1px solid var(--line); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: #45e39a; box-shadow: 0 0 0 0 rgba(69, 227, 154, 0.6); animation: ping 2s infinite; }
@keyframes ping { to { box-shadow: 0 0 0 10px rgba(69, 227, 154, 0); } }
.h1 { margin: 24px 0 22px; font-size: clamp(40px, 5.6vw, 80px); line-height: 1.02; font-weight: 800; letter-spacing: -0.04em; }
.h2 { font-size: clamp(30px, 3.9vw, 54px); line-height: 1.08; font-weight: 800; letter-spacing: -0.035em; }
.h1 em, .h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 560px; font-size: clamp(17px, 1.4vw, 20px); color: var(--mute); }
.eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c1); margin-bottom: 16px; }
.sub { max-width: 640px; margin-top: 16px; color: var(--mute); font-size: 18px; }

/* слова заголовков выезжают снизу */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.js .w > span { display: inline-block; transform: translateY(110%); transition: transform 0.9s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.js .in .w > span { transform: none; }
.w > span { display: inline-block; }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ── первый экран ── */
.hero { position: relative; max-width: var(--w); margin: 0 auto; padding: 150px 24px 70px; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 40px; align-items: center; min-height: 100svh; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.facts { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--line); }
.facts li { display: flex; flex-direction: column; max-width: 170px; }
.facts b { font-size: 34px; line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
.facts span { font-size: 13.5px; color: var(--mute); line-height: 1.35; margin-top: 4px; }

.hero-stage { perspective: 1600px; height: 560px; position: relative; }
.stage-inner { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(var(--ry, -16deg)) rotateX(var(--rx, 7deg)); transition: transform 0.25s ease-out; }
.screen { position: absolute; border-radius: 16px; overflow: hidden; background: #0d1018; box-shadow: 0 50px 120px -20px rgba(0, 0, 0, 0.85), 0 0 0 1px var(--line-2); }
.screen img { width: 100%; height: auto; }
.screen-front { left: -2%; top: 16%; width: 104%; transform: translateZ(60px); box-shadow: 0 60px 140px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.24), 0 0 120px -10px rgba(62, 224, 255, 0.35); animation: floatA 7s ease-in-out infinite; }
.screen-back { right: -14%; top: -2%; width: 78%; transform: translateZ(-90px); opacity: 0.55; filter: saturate(0.8); animation: floatB 9s ease-in-out infinite; }
@keyframes floatA { 50% { transform: translateZ(60px) translateY(-12px); } }
@keyframes floatB { 50% { transform: translateZ(-90px) translateY(14px); } }
.chrome { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; background: #151924; border-bottom: 1px solid var(--line); }
.chrome i { width: 9px; height: 9px; border-radius: 50%; background: #3a4152; }
.chrome i:first-child { background: #ff6b6b; } .chrome i:nth-child(2) { background: #ffc24b; } .chrome i:nth-child(3) { background: #45e39a; }
.chrome span { margin-left: 10px; font: 500 11.5px 'JetBrains Mono', monospace; color: #7d8598; }
.scan { position: absolute; left: 0; right: 0; top: 30px; height: 40%; background: linear-gradient(180deg, transparent, rgba(62, 224, 255, 0.16) 80%, rgba(62, 224, 255, 0.5)); mix-blend-mode: screen; opacity: 0; animation: scan 6s 1.2s ease-in-out infinite; pointer-events: none; }
@keyframes scan { 0% { transform: translateY(-100%); opacity: 0; } 15% { opacity: 1; } 60% { transform: translateY(250%); opacity: 0; } 100% { transform: translateY(250%); opacity: 0; } }
.chip { position: absolute; padding: 13px 16px; border-radius: 16px; background: rgba(14, 17, 26, 0.78); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.8); display: flex; flex-direction: column; gap: 2px; }
.chip small { font-size: 12px; color: var(--mute); font-weight: 600; }
.chip b { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.chip em { font-style: normal; font-size: 12.5px; font-weight: 800; }
.up { color: #45e39a; } .down { color: #45e39a; }
.chip-a { left: -7%; top: 6%; transform: translateZ(130px); animation: floatC 6s ease-in-out infinite; }
.chip-b { right: -5%; bottom: 10%; transform: translateZ(150px); animation: floatC 7s 1s ease-in-out infinite; }
.chip-c { left: 6%; bottom: -1%; transform: translateZ(110px); animation: floatC 8s 0.5s ease-in-out infinite; }
@keyframes floatC { 50% { margin-top: -10px; } }
.spark { stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 2.4s 0.8s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ── бегущая строка ── */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 20px 0; background: rgba(255, 255, 255, 0.02); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: slide 34s linear infinite; }
.marquee span { font-size: clamp(20px, 2.4vw, 30px); font-weight: 800; letter-spacing: -0.02em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.42); white-space: nowrap; }
.marquee i { width: 9px; height: 9px; border-radius: 50%; background: var(--grad); flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ── секции ── */
.section { max-width: var(--w); margin: 0 auto; padding: clamp(80px, 10vw, 140px) 24px 0; }
.head { margin-bottom: 48px; }

/* задачи */
.pains { display: grid; gap: 12px; }
.pain { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 26px 30px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); overflow: hidden; transition: border-color 0.3s, background 0.3s; }
.pain::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(62, 224, 255, 0.13), transparent 60%); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.pain:hover { border-color: var(--line-2); } .pain:hover::before { opacity: 1; }
.pain-q { display: flex; gap: 18px; font-size: clamp(18px, 1.7vw, 23px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; color: #c9cfdc; }
.pain-q span { font: 500 13px 'JetBrains Mono', monospace; color: var(--c1); padding-top: 6px; }
.pain-a { color: var(--mute); font-size: 16.5px; padding-left: 26px; border-left: 2px solid transparent; border-image: linear-gradient(180deg, var(--c1), var(--c2)) 1; }
.pain-a b { display: block; color: var(--text); font-size: 18px; margin-bottom: 4px; }

/* портфолио */
.work { border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)); padding: 18px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 14px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; padding: 10px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 700; color: var(--mute); border: 1px solid transparent; transition: color 0.2s, background 0.2s, border-color 0.2s; }
.tabs button:hover { color: var(--text); background: var(--panel); }
.tabs button.on { color: #05060a; background: var(--text); }
.work-body { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 18px; }
.work-view { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #0d1018; }
.work-imgs { position: relative; aspect-ratio: 1440 / 900; }
.work-imgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 0.6s var(--ease), transform 1s var(--ease); }
.work-imgs img.on { opacity: 1; transform: none; }
.work-pages { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(8, 10, 16, 0.75); backdrop-filter: blur(10px); border: 1px solid var(--line-2); }
.work-pages button { padding: 6px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--mute); }
.work-pages button.on { background: var(--grad); color: #05060a; }
.work-info { padding: 20px 18px 16px 14px; display: flex; flex-direction: column; }
.work-kicker { font: 500 12.5px 'JetBrains Mono', monospace; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c1); }
.work-info h3 { margin: 12px 0 10px; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 800; }
.work-info p { color: var(--mute); font-size: 16px; }
.work-info ul { margin: 18px 0 22px; display: grid; gap: 9px; }
.work-info li { position: relative; padding-left: 26px; font-size: 15.5px; font-weight: 600; }
.work-info li::before { content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2.5px solid var(--c1); border-bottom: 2.5px solid var(--c1); transform: rotate(-45deg) scale(0.8); }
.work-info > * { animation: fadeUp 0.5s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }
.link { margin-top: auto; font-weight: 800; font-size: 15.5px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.link span { display: inline-block; transition: transform 0.25s var(--ease); color: var(--c2); }
.link:hover span { transform: translateX(6px); }

.reels-head { margin: 64px 0 22px; }
.reels-head h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.reels-head p { color: var(--mute); font-size: 16px; }
.reels { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 10px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.reel { position: relative; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: #0d1018; scroll-snap-align: start; cursor: pointer; transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.reel:hover, .reel.playing { transform: translateY(-6px); border-color: rgba(62, 224, 255, 0.6); box-shadow: 0 24px 60px -18px rgba(62, 224, 255, 0.5); }
.reel img, .reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel video { opacity: 0; transition: opacity 0.3s; }
.reel.playing video { opacity: 1; }
.reel span { position: absolute; left: 10px; bottom: 10px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; background: rgba(8, 10, 16, 0.7); backdrop-filter: blur(8px); border: 1px solid var(--line-2); }
.reel::after { content: ''; position: absolute; right: 10px; top: 10px; width: 30px; height: 30px; border-radius: 50%; background: rgba(8, 10, 16, 0.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7v10l8-5z' fill='%23fff'/%3E%3C/svg%3E") center / 18px no-repeat; border: 1px solid var(--line-2); transition: opacity 0.2s; }
.reel.playing::after { opacity: 0; }

/* что внутри */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cell { position: relative; padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); overflow: hidden; min-height: 290px; display: flex; flex-direction: column; justify-content: flex-end; transition: border-color 0.3s, transform 0.4s var(--ease); }
.cell:hover { border-color: var(--line-2); transform: translateY(-4px); }
.cell-wide { grid-column: span 2; }
.cell h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.cell p { color: var(--mute); font-size: 15.5px; }
.cell-art { position: absolute; left: 26px; right: 26px; top: 26px; height: 120px; color: var(--c1); }
.art-bars { display: flex; align-items: flex-end; gap: 10px; }
.art-bars i { flex: 1; height: var(--h); border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--c1), rgba(155, 123, 255, 0.25)); transform-origin: bottom; transform: scaleY(0.08); transition: transform 1.1s var(--ease); }
.in .art-bars i { transform: none; }
.art-bars i:nth-child(2) { transition-delay: 0.06s; } .art-bars i:nth-child(3) { transition-delay: 0.12s; } .art-bars i:nth-child(4) { transition-delay: 0.18s; } .art-bars i:nth-child(5) { transition-delay: 0.24s; } .art-bars i:nth-child(6) { transition-delay: 0.3s; } .art-bars i:nth-child(7) { transition-delay: 0.36s; } .art-bars i:nth-child(8) { transition-delay: 0.42s; }
.art-phone { display: grid; place-items: start; }
.art-phone b { width: 64px; height: 116px; border-radius: 16px; border: 2.5px solid currentColor; background: linear-gradient(180deg, rgba(62, 224, 255, 0.25), transparent 70%); position: relative; animation: tiltPhone 5s ease-in-out infinite; }
.art-phone b::after { content: ''; position: absolute; left: 50%; top: 7px; width: 20px; height: 4px; margin-left: -10px; border-radius: 4px; background: currentColor; }
@keyframes tiltPhone { 50% { transform: rotate(8deg) translateY(-4px); } }
.art-lock svg { animation: pulse 3s ease-in-out infinite; }
@keyframes pulse { 50% { filter: drop-shadow(0 0 14px var(--c1)); } }
.art-bell { display: grid; gap: 8px; align-content: start; }
.art-bell span { justify-self: start; padding: 8px 14px; border-radius: 12px 12px 12px 3px; font-size: 13.5px; font-weight: 700; color: var(--text); background: rgba(62, 224, 255, 0.14); border: 1px solid rgba(62, 224, 255, 0.35); opacity: 0; transform: translateX(-14px); transition: 0.6s var(--ease); }
.art-bell span:nth-child(2) { transition-delay: 0.35s; background: rgba(155, 123, 255, 0.16); border-color: rgba(155, 123, 255, 0.4); }
.in .art-bell span { opacity: 1; transform: none; }
.art-stack { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.art-stack span { padding: 9px 16px; border-radius: 12px; font: 500 14px 'JetBrains Mono', monospace; color: var(--text); background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line-2); animation: bob 4s ease-in-out infinite; }
.art-stack span:nth-child(2) { animation-delay: 0.4s; } .art-stack span:nth-child(3) { animation-delay: 0.8s; } .art-stack span:nth-child(4) { animation-delay: 1.2s; }
@keyframes bob { 50% { transform: translateY(-6px); border-color: var(--c1); } }

/* сайты */
.sites { display: grid; gap: 14px; }
.site { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 34px; align-items: center; padding: 18px; border-radius: 28px; border: 1px solid var(--line); background: var(--panel); }
.site:nth-child(even) .mock { order: 2; }
.site-info { padding: 14px 18px; }
.site-n { font: 500 12.5px 'JetBrains Mono', monospace; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c1); }
.site-info h3 { margin: 10px 0; font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.site-info p { color: var(--mute); }
.site-info ul { margin: 18px 0; display: grid; gap: 8px; }
.site-info li { padding-left: 22px; position: relative; font-weight: 600; font-size: 15.5px; }
.site-info li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.site-price { font-size: 17px; color: var(--mute); }
.site-price b { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; color: var(--text); margin: 0 4px; }

.mock { border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9); transition: transform 0.6s var(--ease); }
.site:hover .mock { transform: scale(1.015); }
.mock-body { position: relative; aspect-ratio: 16 / 10; overflow: hidden; container-type: inline-size; }
/* концепт 1: светло-серый, еда */
.mock-food .mock-body { background: linear-gradient(135deg, #e9ebee, #cfd3d9); color: #1b1d22; }
.mock-food .mock-body::before { content: ''; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: #f3b79a; opacity: 0.45; }
.mf-plate { position: absolute; left: 6%; top: 14%; width: 34%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #f7f3ea 0 46%, #dcd6c8 47% 56%, #8b8f96 57% 100%); box-shadow: 0 3cqw 6cqw -1cqw rgba(0, 0, 0, 0.45); animation: spin 26s linear infinite; }
.mf-plate i { position: absolute; border-radius: 50%; }
.mf-plate i:nth-child(1) { left: 22%; top: 24%; width: 42%; height: 40%; background: radial-gradient(circle at 40% 40%, #f2c14e, #c9812a); }
.mf-plate i:nth-child(2) { left: 48%; top: 42%; width: 28%; height: 28%; background: radial-gradient(circle at 40% 40%, #a8502a, #5c2a14); }
.mf-plate i:nth-child(3) { left: 30%; top: 56%; width: 24%; height: 18%; background: #5d9e4a; border-radius: 60% 40% 55% 45%; }
@keyframes spin { to { transform: rotate(360deg); } }
.mf-txt { position: absolute; left: 44%; top: 20%; display: flex; flex-direction: column; line-height: 0.95; }
.mf-txt small { font-size: 1.7cqw; font-weight: 700; margin-bottom: 1cqw; }
.mf-txt b { font-size: 7cqw; font-weight: 400; letter-spacing: -0.03em; }
.mf-txt strong { font-size: 8.4cqw; font-weight: 800; letter-spacing: -0.05em; }
.mf-btns { display: flex; gap: 1.2cqw; margin-top: 2.4cqw; }
.mf-btns span { font-size: 1.7cqw; font-weight: 700; padding: 1cqw 2.2cqw; border-radius: 99px; background: #1b1d22; color: #fff; }
.mf-btns span + span { background: transparent; color: #1b1d22; box-shadow: inset 0 0 0 1.5px #1b1d22; }
.mf-card { position: absolute; right: 5%; top: 30%; width: 19%; padding: 2cqw; border-radius: 2cqw; background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(6px); box-shadow: 0 2cqw 4cqw -1cqw rgba(0, 0, 0, 0.25); display: grid; gap: 0.8cqw; animation: floatC 6s ease-in-out infinite; }
.mf-card b { font-size: 3.4cqw; font-weight: 800; color: #e2733d; line-height: 1; }
.mf-card small { font-size: 1.4cqw; font-weight: 700; }
.mf-card i { height: 0.8cqw; border-radius: 9px; background: #b9bec7; } .mf-card i:last-child { width: 60%; }
.mf-dots { position: absolute; left: 44%; bottom: 12%; display: flex; gap: 1.6cqw; }
.mf-dots i { width: 6cqw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #f2c14e, #a8502a); box-shadow: 0 0 0 0.6cqw rgba(255, 255, 255, 0.7); }
.mf-dots i:nth-child(2) { background: radial-gradient(circle at 40% 40%, #9ccf7a, #3f7a35); } .mf-dots i:nth-child(3) { background: radial-gradient(circle at 40% 40%, #f6e2b8, #c99a55); } .mf-dots i:nth-child(4) { background: radial-gradient(circle at 40% 40%, #e98a5a, #8a3a1c); }
/* концепт 2: тёмный, архитектура */
.mock-arch .mock-body { background: #14110e; color: #efe6d8; }
.ma-nav { position: absolute; z-index: 2; left: 5%; right: 5%; top: 6%; display: flex; gap: 3cqw; font-size: 1.5cqw; letter-spacing: 0.12em; text-transform: uppercase; color: #b9ad9a; }
.ma-nav b { margin-right: auto; color: #efe6d8; letter-spacing: 0.3em; }
.ma-wall { position: absolute; left: 0; top: 0; bottom: 0; width: 46%; background: repeating-linear-gradient(90deg, #6b4526 0 2.4cqw, #5a3a20 2.4cqw 2.7cqw); box-shadow: inset -8cqw 0 10cqw -4cqw #14110e; }
.ma-wall::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 190, 120, 0.5), transparent 40%); animation: lamp 5s ease-in-out infinite; }
@keyframes lamp { 50% { opacity: 0.45; } }
.ma-stairs { position: absolute; right: 8%; bottom: 0; width: 34%; height: 58%; display: flex; align-items: flex-end; }
.ma-stairs i { flex: 1; background: linear-gradient(180deg, #4a4742, #23211e); border-top: 0.3cqw solid #7a756c; }
.ma-stairs i:nth-child(1) { height: 20%; } .ma-stairs i:nth-child(2) { height: 40%; } .ma-stairs i:nth-child(3) { height: 60%; } .ma-stairs i:nth-child(4) { height: 80%; } .ma-stairs i:nth-child(5) { height: 100%; }
.ma-txt { position: absolute; left: 6%; top: 34%; display: grid; gap: 1.6cqw; }
.ma-txt b { font-size: 5.6cqw; font-weight: 500; letter-spacing: 0.22em; }
.ma-txt small { font-size: 1.5cqw; letter-spacing: 0.24em; text-transform: uppercase; color: #cbbfae; }
.ma-txt span { width: 9cqw; height: 0.25cqw; background: #e0a565; transform-origin: left; animation: grow 4s ease-in-out infinite; }
@keyframes grow { 0%, 100% { transform: scaleX(0.3); } 50% { transform: scaleX(1); } }
.ma-list { position: absolute; right: 6%; top: 26%; display: grid; gap: 1.3cqw; }
.ma-list i { font-style: normal; font-size: 1.45cqw; letter-spacing: 0.14em; text-transform: uppercase; color: #b9ad9a; }
/* концепт 3: графит, товар */
.mock-shop .mock-body { background: radial-gradient(90% 90% at 50% 100%, #3b3d42, #17181b 70%); color: #fff; }
.ms-lamp { position: absolute; left: 50%; top: 0; width: 0.35cqw; height: 34%; background: #0b0b0c; }
.ms-lamp i { position: absolute; left: 50%; bottom: -9cqw; width: 30cqw; height: 9cqw; margin-left: -15cqw; background: #0e0e10; clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%); }
.ms-lamp::after { content: ''; position: absolute; left: 50%; bottom: -30cqw; width: 46cqw; height: 22cqw; margin-left: -23cqw; background: radial-gradient(closest-side, rgba(255, 196, 46, 0.75), transparent); animation: lamp 4s ease-in-out infinite; }
.ms-txt { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; padding-top: 12%; }
.ms-txt small { font-size: 1.5cqw; letter-spacing: 0.3em; text-transform: uppercase; color: #b8bcc4; }
.ms-txt b { font-size: 15cqw; line-height: 1; font-weight: 800; letter-spacing: -0.02em; color: #ffc42e; text-shadow: 0 0 6cqw rgba(255, 196, 46, 0.5); }
.ms-txt span { margin-top: 1.4cqw; font-size: 1.6cqw; font-weight: 700; padding: 1cqw 2.4cqw; border-radius: 99px; background: #fff; color: #17181b; }
.ms-grid { position: absolute; left: 5%; bottom: 7%; display: flex; gap: 1.2cqw; }
.ms-grid i { width: 7cqw; aspect-ratio: 1; border-radius: 1.2cqw; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 0.15cqw rgba(255, 255, 255, 0.25); }
.ms-grid i:first-child { box-shadow: inset 0 0 0 0.25cqw #ffc42e; }
.ms-count { position: absolute; right: 5%; bottom: 8%; font: 500 1.6cqw 'JetBrains Mono', monospace; color: #b8bcc4; }

/* шаги */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: s; }
.steps::before { content: ''; position: absolute; left: 0; right: 0; top: 49px; height: 2px; background: linear-gradient(90deg, var(--c1), var(--c2)); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 0.2s linear; z-index: 0; }
.steps li { position: relative; padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: #0c0e15; display: flex; flex-direction: column; }
.steps li > span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--bg); border: 2px solid var(--c1); color: var(--c1); margin-bottom: 22px; box-shadow: 0 0 0 6px #0c0e15; }
.steps h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.steps p { color: var(--mute); font-size: 15.5px; margin-bottom: 18px; }
.steps em { margin-top: auto; font: 500 13px 'JetBrains Mono', monospace; font-style: normal; color: var(--c1); }

/* цены */
.price-switch { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 26px; }
.price-switch button { padding: 11px 22px; border-radius: 999px; font-weight: 800; font-size: 15px; color: var(--mute); transition: 0.25s; }
.price-switch button.on { background: var(--text); color: #05060a; }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: stretch; }
.prices[data-show='dash'] .price[data-set='site'], .prices[data-show='site'] .price[data-set='dash'] { display: none; }
.price { position: relative; padding: 30px; border-radius: 26px; border: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; transition: transform 0.4s var(--ease), border-color 0.3s; }
.price:hover { transform: translateY(-6px); border-color: var(--line-2); }
.price-top { background: linear-gradient(180deg, rgba(62, 224, 255, 0.1), rgba(155, 123, 255, 0.06)); border-color: transparent; }
.price-top::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--a, 0deg), var(--c1), var(--c2), transparent 60%, var(--c1)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: rot 6s linear infinite; pointer-events: none; }
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes rot { to { --a: 360deg; } }
.price-badge { position: absolute; right: 22px; top: 22px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; background: var(--grad); color: #05060a; }
.price h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.price-for { color: var(--mute); font-size: 15px; }
.price-sum { margin: 22px 0 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--mute); }
.price-sum b { font-size: clamp(32px, 3.2vw, 44px); font-weight: 800; letter-spacing: -0.04em; color: var(--text); margin: 0 4px; }
.price ul { display: grid; gap: 10px; margin-bottom: 28px; }
.price li { position: relative; padding-left: 26px; font-size: 15.5px; }
.price li::before { content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2.5px solid var(--c1); border-bottom: 2.5px solid var(--c1); transform: rotate(-45deg) scale(0.8); }
.price .btn { margin-top: auto; }
.price-note { margin-top: 20px; color: var(--mute); font-size: 14.5px; max-width: 760px; }

/* о себе */
.about { display: grid; grid-template-columns: 1fr 1.25fr; gap: 50px; padding: clamp(28px, 4vw, 56px); border-radius: 32px; border: 1px solid var(--line); background: radial-gradient(80% 120% at 0% 0%, rgba(62, 224, 255, 0.1), transparent 60%), var(--panel); }
.about-r p { color: #c4cad6; margin-bottom: 16px; font-size: 18px; }
.about-r b { color: var(--text); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tags span { padding: 8px 15px; border-radius: 999px; font-size: 14px; font-weight: 700; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); }

/* вопросы */
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq details { border-radius: 18px; border: 1px solid var(--line); background: var(--panel); transition: border-color 0.3s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; font-size: 18.5px; font-weight: 700; letter-spacing: -0.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 24px; top: 50%; translate: 0 -50%; font-size: 28px; font-weight: 400; color: var(--c1); transition: rotate 0.3s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq p { padding: 0 24px 24px; color: var(--mute); max-width: 720px; animation: fadeUp 0.4s var(--ease); }

/* призыв */
.cta { padding-bottom: 90px; }
.cta-box { position: relative; overflow: hidden; text-align: center; padding: clamp(46px, 7vw, 96px) 24px; border-radius: 36px; border: 1px solid var(--line-2); background: radial-gradient(70% 90% at 50% 0%, rgba(62, 224, 255, 0.18), transparent 60%), radial-gradient(60% 80% at 50% 100%, rgba(155, 123, 255, 0.2), transparent 60%), #0a0c13; }
.cta-box h2 { max-width: 820px; margin: 0 auto 16px; position: relative; }
.cta-box p { color: var(--mute); max-width: 520px; margin: 0 auto 32px; position: relative; }
.cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; position: relative; }
.cta-rings i { position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.09); animation: ring 7s linear infinite; }
.cta-rings i:nth-child(2) { animation-delay: -2.3s; } .cta-rings i:nth-child(3) { animation-delay: -4.6s; }
@keyframes ring { from { transform: scale(0.3); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }

.footer { max-width: var(--w); margin: 0 auto; padding: 26px 24px 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--mute); font-size: 14.5px; border-top: 1px solid var(--line); }
.footer a:hover { color: var(--text); }

/* ── адаптив ── */
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .nav .btn-sm { margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 120px; min-height: 0; }
  .hero-stage { height: 0; padding-bottom: 66%; margin: 10px 4% 30px; }
  .work-body, .site, .about { grid-template-columns: 1fr; }
  .site:nth-child(even) .mock { order: 0; }
  .site { gap: 10px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; } .steps::before { display: none; }
  .prices { grid-template-columns: 1fr; }
  .about { gap: 22px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding-inline: 16px; } .hero { padding-inline: 16px; }
  .logo span { font-size: 15px; }
  .pain { grid-template-columns: 1fr; gap: 14px; padding: 22px 20px; }
  .pain-a { padding-left: 16px; }
  .bento, .steps { grid-template-columns: 1fr; } .cell-wide { grid-column: auto; }
  .cell { min-height: 260px; }
  .work { padding: 10px; border-radius: 20px; } .work-info { padding: 14px 8px 8px; }
  .reels { grid-auto-columns: 46%; }
  .chip b { font-size: 18px; } .chip { padding: 9px 12px; } .chip-c { display: none; }
  .facts { gap: 14px 22px; } .facts b { font-size: 28px; }
  .hero-cta .btn, .cta-btns .btn { width: 100%; }
  .price-switch { display: flex; } .price-switch button { flex: 1; padding-inline: 10px; font-size: 14px; }
  .site-info { padding: 10px 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .w > span { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ── правки по проверке ── */
html, body { overflow-x: clip; }
main { overflow-x: clip; }
@media (max-width: 640px) {
  .nav { gap: 10px; padding: 8px 8px 8px 12px; }
  .nav .btn-sm { padding: 9px 13px; font-size: 13px; }
  .logo { gap: 8px; min-width: 0; } .logo svg { width: 26px; height: 26px; flex: none; }
  .logo span { font-size: 14px; overflow: hidden; text-overflow: ellipsis; }
  .screen-back { right: -4%; }
  .chip-a { left: -2%; } .chip-b { right: -1%; }
}
