/* ===== база ===== */
:root{
  --blue:#06f; --bg:#f4f6f6; --bg2:#e6ebeb; --ink:#0f1218; --gray:#4a515c; --line:#c5cdd1;
  --dark:#08080d; --card:#10131a; --dline:#2a2f38; --light:#f2f5f7; --muted:#a9b0bb; --navy:#0a1f47; --sky:#5c9dff;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:80px;-webkit-text-size-adjust:100%;overflow-x:clip}
body{font:400 16px/1.5 Onest,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--ink);background:var(--bg);overflow-x:clip}
img,video{display:block;max-width:100%}
a{color:inherit}
.wrap{width:min(1200px,100% - 40px);margin-inline:auto;position:relative}
.sec{position:relative;overflow:hidden;padding-block:clamp(56px,7.2vw,104px)}
.alt{background:var(--bg2)}
.dark{background:var(--dark);color:var(--light)}
.acc{color:var(--blue)} .sky{color:var(--sky)} .bold{font-weight:700;color:var(--blue)}

.h2{font-size:clamp(34px,5vw,56px);line-height:1.05;letter-spacing:-.035em;font-weight:500}
.sub{font-size:clamp(16px,1.25vw,18px);line-height:1.5;color:var(--gray)}
.dark .sub{color:var(--muted)}

/* свечения (вместо картинок-блюров) */
.glow{position:absolute;pointer-events:none;border-radius:50%;transform:translate(-50%,-50%)}

/* ===== кнопки и форма ===== */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:52px;padding:0 24px;border:0;border-radius:4px;background:var(--blue);color:#fff;font:600 16px/1 Onest,system-ui,sans-serif;text-decoration:none;cursor:pointer;white-space:nowrap;transition:background .2s}
.btn:hover{background:#0057e0}
.btn img{transition:transform .2s}
.btn:hover img{transform:translateX(3px)}
.btn-sm{height:44px}
.btn-ghost{background:transparent;color:var(--ink);border:1px solid var(--line)}
.btn-ghost:hover{background:#fff}
.btn-ghost:hover img{transform:translateY(3px)}
.btn-dark{background:var(--dark)}
.btn-dark:hover{background:#1b1c26}

.form{display:grid;gap:10px}
.in{width:100%;height:52px;padding:0 18px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--ink);font:400 16px Onest,system-ui,sans-serif}
.in::placeholder{color:#7c8491}
.in:focus-visible,.btn:focus-visible,summary:focus-visible,a:focus-visible,.burger:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.note{font-size:13px;line-height:18px;color:var(--gray)}
.note a{text-decoration:underline;text-underline-offset:2px}
.note.ok{color:#0a7a3c;font-weight:600;font-size:15px;line-height:22px}
.note.bad{color:#d92d20;font-weight:500}
.form.err .in{border-color:#d92d20}
.form.busy .btn{opacity:.65;pointer-events:none}

/* ===== шапка ===== */
.hdr{position:sticky;top:0;z-index:50;background:var(--bg);box-shadow:0 1px 0 rgba(15,18,24,.07)}
.hdr-in{display:flex;align-items:center;justify-content:space-between;height:64px;gap:24px}
.logo img{height:24px;width:auto}
.nav{display:flex;gap:36px;font-weight:500}
.nav a{text-decoration:none;transition:color .2s}
.nav a:not(.btn):hover{color:var(--blue)}
.nav-cta,.burger{display:none}
.burger{background:none;border:0;color:var(--ink);cursor:pointer;width:28px;height:28px;padding:0}
.burger path{transform-origin:14px 14px;transition:transform .25s,opacity .2s}
.hdr.open .b1{transform:translateY(5px) rotate(45deg)}
.hdr.open .b2{opacity:0}
.hdr.open .b3{transform:translateY(-5px) rotate(-45deg)}

/* ===== hero ===== */
.hero{position:relative;overflow:hidden;padding-block:clamp(32px,4.4vw,64px)}
.hero-fig{position:absolute;left:50%;bottom:0;width:min(968px,67vw);aspect-ratio:968/432;height:auto;object-fit:cover;translate:-50% 0;pointer-events:none}
.hero .glow{left:84%;top:60%;width:min(900px,130vw);aspect-ratio:1;background:radial-gradient(closest-side,rgba(0,102,255,.28),rgba(0,102,255,0))}
.hero-row{display:flex;align-items:flex-end;justify-content:space-between;gap:40px}
h1{flex:1;max-width:800px;font-size:min(6.1vw,88px);line-height:1;letter-spacing:-.04em;font-weight:500}
.hero-side{display:grid;gap:16px;width:360px;flex:none}
.lead{font-size:18px;line-height:27px;color:var(--gray)}
.lead b{font-weight:700}
.hero-bot{display:flex;align-items:flex-end;justify-content:space-between;padding-top:104px}
.stat3{display:grid;gap:2px;text-align:right}
.stat3 strong{font-size:56px;line-height:58px;font-weight:500;letter-spacing:-.035em}
.stat3 span{font-size:15px;line-height:20px;color:var(--gray)}

/* ===== о студии ===== */
.about .glow{left:50%;top:-61px;width:min(1150px,200vw);height:min(940px,160vw);background:radial-gradient(closest-side,rgba(0,102,255,.32),rgba(0,102,255,0))}
.about-row{display:flex;justify-content:space-between;gap:40px}
.about .h2{width:640px;flex:none}
.about-text{width:440px;display:grid;gap:16px;align-content:start;font-size:17px;line-height:26px;color:var(--gray)}
.about-text .big{font-size:19px;line-height:29px;color:var(--ink)}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding-top:80px}
.stat{border-top:1px solid var(--line);padding-top:20px;display:grid;gap:6px;align-content:start}
.stat strong{font-size:clamp(34px,3.6vw,52px);line-height:1.08;letter-spacing:-.035em;font-weight:500}
.stat span{font-size:16px;line-height:22px;color:var(--gray)}

/* ===== что входит / карточки ===== */
.incl .glow{left:5.5%;top:52%;width:min(960px,150vw);aspect-ratio:1;background:radial-gradient(closest-side,rgba(0,102,255,.5),rgba(0,102,255,0))}
.head-row{display:flex;justify-content:space-between;align-items:flex-end;gap:40px;padding-bottom:56px}
.head-row .h2{width:640px;flex:none}
.head-row .sub{width:340px;font-size:18px;line-height:27px}
.head-c{display:grid;justify-items:center;gap:16px;text-align:center;padding-bottom:56px}
.head-c .sub{max-width:560px}
.g3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{display:flex;flex-direction:column;justify-content:space-between;gap:40px;padding:28px;border-radius:4px;background:var(--card);border:1px solid var(--dline);transition:transform .25s,border-color .25s}
.card:hover{transform:translateY(-4px);border-color:#3b4350}
.dark .card{min-height:300px}
.card h3{font-size:24px;line-height:28px;letter-spacing:-.02em;font-weight:600;color:var(--light)}
.card p{margin-top:10px;color:var(--muted)}
.top{display:flex;align-items:center;justify-content:space-between}
.ico{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:4px;background:var(--navy)}
.ico.b{background:var(--blue)}
.tag{padding:6px 12px;border:1px solid var(--dline);border-radius:4px;font-size:13px;line-height:16px;font-weight:500;color:var(--muted)}
.incl-btn{margin-top:48px}
.card.lt{justify-content:flex-start;background:var(--bg);border-color:var(--line)}
.card.lt:hover{border-color:#9aa6ad}
.card.lt h3{color:var(--ink)}
.card.lt p{color:var(--gray)}

/* ===== проекты (видео) ===== */
.proj .h2{max-width:640px}
.steps-sec .h2{max-width:760px}
#who .h2{max-width:1040px}
.rev-sec .h2{max-width:820px}
.proj{background:#fff;padding-block:clamp(56px,8.3vw,120px) clamp(32px,5vw,60px)}
.vgrid{display:grid;gap:clamp(24px,5vw,60px);margin-top:clamp(32px,5vw,60px)}
.v{width:100%;height:auto;border-radius:4px;background:#d9d9d9;object-fit:cover}
.vh{aspect-ratio:16/9}
.vrow{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
.vv{aspect-ratio:9/16}

/* ===== как работаем ===== */
.steps-sec{padding-bottom:clamp(56px,7.2vw,104px)}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.step{position:relative;overflow:hidden;display:flex;flex-direction:column;min-height:440px;padding:28px;border-radius:4px;color:#fff;background:linear-gradient(#0a1f47,#06f)}
.pill{align-self:flex-start;position:relative;padding:6px 12px;border-radius:4px;background:rgba(255,255,255,.16);font-size:13px;line-height:16px;font-weight:500}
/* все заголовки начинаются на одной высоте */
.txt{position:relative;margin-top:100px}
.step h3{font-size:24px;line-height:28px;letter-spacing:-.02em;font-weight:600}
.step p{margin-top:10px;font-size:15px;line-height:22px;opacity:.8}
.ghost{position:absolute;left:16px;bottom:-.25em;font-size:170px;line-height:1;letter-spacing:-.05em;font-weight:800;opacity:.14;pointer-events:none}
.art{position:absolute;object-fit:cover;scale:1 -1;pointer-events:none;opacity:.5}
.a1{left:16px;top:-31px;width:388px;height:173px;filter:blur(5px)}
.a3{right:0;top:-152px;width:202px;height:487px;mix-blend-mode:plus-lighter}

/* ===== кому нужен ===== */
.who{padding-top:72px}
.who-t{font-size:clamp(26px,2.4vw,34px);line-height:1.12;letter-spacing:-.03em;font-weight:500;margin-bottom:20px}
.chips{display:flex;flex-wrap:wrap;gap:10px}
.chip{padding:12px 18px;border:1px solid var(--line);border-radius:4px;background:var(--bg);font-size:17px;line-height:22px;font-weight:500}

/* ===== отзывы ===== */
.rev-sec{background:var(--bg)}
.rev-bg{--w:min(1495px,220vw);position:absolute;left:50%;top:38px;width:var(--w);height:calc(var(--w)*.4153);translate:-50% 0;pointer-events:none}
.rev-bg img{position:absolute;left:50%;top:50%;width:calc(var(--w)*.4153);height:var(--w);max-width:none;object-fit:cover;translate:-50% -50%;rotate:90deg}
.rev{display:flex;flex-direction:column;justify-content:space-between;padding:32px;border-radius:4px;background:var(--bg2)}
.rev blockquote{padding-bottom:24px}
.q{display:block;font-size:72px;line-height:56px;font-weight:500;color:var(--blue);margin-bottom:4px}
.rev p{font-size:18px;line-height:28px}
.rev figcaption{display:flex;align-items:center;gap:12px;font-size:14px;line-height:19px;color:var(--gray)}
.rev figcaption b{display:block;font-size:16px;line-height:20px;font-weight:600;color:var(--ink)}
.ava{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;background:var(--blue);color:#fff;font-style:normal;font-size:18px;font-weight:600}

/* ===== FAQ ===== */
.faq{display:flex;justify-content:space-between;gap:48px}
.faq-t{width:420px;display:grid;gap:16px;align-content:start}
.faq-l{width:700px}
details{border-bottom:1px solid var(--line)}
details:first-child{border-top:1px solid var(--ink)}
details[open]{border-bottom-color:var(--ink)}
summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:26px 0;font-size:22px;line-height:29px;letter-spacing:-.01em;font-weight:500;cursor:pointer;list-style:none}
summary::-webkit-details-marker{display:none}
summary::after{content:"";flex:none;width:24px;height:24px;background:url(icons/plus.svg)}
details[open] summary::after{background-image:url(icons/minus.svg)}
details[open] summary{padding-bottom:12px}
details p{padding-bottom:26px;font-size:18px;line-height:27px;color:var(--gray);animation:fade .35s}
@keyframes fade{from{opacity:0;translate:0 -6px}}

/* ===== финальная заявка ===== */
.cta{position:relative;overflow:hidden;background:var(--blue);color:#fff;text-align:center;padding-block:clamp(64px,8.3vw,120px)}
.cta .g1{left:26%;top:25%;width:min(900px,160vw);aspect-ratio:1;background:radial-gradient(closest-side,rgba(255,255,255,.3),rgba(255,255,255,0))}
.cta .g2{left:87%;top:78%;width:min(860px,150vw);aspect-ratio:1;background:radial-gradient(closest-side,rgba(8,8,13,.3),rgba(8,8,13,0))}
.cta h2{max-width:900px;margin:0 auto;font-size:clamp(38px,5.3vw,76px);line-height:1.03;letter-spacing:-.035em;font-weight:500}
.cta-sub{max-width:620px;margin:20px auto 0;font-size:clamp(17px,1.4vw,20px);line-height:1.5;opacity:.85}
.cta .form{justify-items:center;margin-top:32px;gap:12px}
.cta-row{display:flex;gap:10px;justify-content:center;width:100%}
.cta-row .in{width:320px;border-color:transparent}
.cta .note{max-width:520px;color:#fff;opacity:.75}
.cta .note.ok,.cta .note.bad{color:#fff;opacity:1}
.cta .note.bad{background:rgba(8,8,13,.35);padding:6px 12px;border-radius:4px}

/* ===== подвал ===== */
.foot{background:var(--dark);padding-bottom:40px;color:var(--muted);font-size:15px;line-height:21px}
.foot-in{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:32px;border-top:1px solid var(--dline)}
.foot a{text-decoration:none;transition:color .2s}
.foot a:hover{color:#fff}

/* ===== анимации появления ===== */
@media (prefers-reduced-motion:no-preference){
  .js .rv{opacity:0;transform:translateY(24px);transition:opacity .7s ease var(--d,0s),transform .7s ease var(--d,0s)}
  .js .rv.vis{opacity:1;transform:none}
  .rv:nth-child(2){--d:.07s}.rv:nth-child(3){--d:.14s}.rv:nth-child(4){--d:.21s}
  .rv:nth-child(5){--d:.28s}.rv:nth-child(6){--d:.35s}.rv:nth-child(7){--d:.42s}.rv:nth-child(8){--d:.49s}
  .hero-fig{animation:float 9s ease-in-out infinite}
  @keyframes float{50%{transform:translateY(-14px)}}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* ===== планшет ===== */
@media (max-width:999px){
  .hero-row{flex-direction:column;align-items:stretch;gap:28px}
  h1{font-size:min(11.3vw,88px);flex:none;max-width:none}
  .hero-side{width:100%;max-width:480px}
  .hero{padding-bottom:clamp(180px,32vw,300px)}
  .hero-fig{width:min(968px,110vw)}
  .hero-bot{flex-direction:column;align-items:flex-start;gap:24px;padding-top:44px}
  .stat3{text-align:left}
  .stat3 strong{font-size:clamp(40px,6vw,56px);line-height:1.1}
  .steps{grid-template-columns:repeat(2,1fr)}
  .faq{flex-direction:column;gap:32px}
  .faq-t,.faq-l{width:100%}
  .foot-in{flex-wrap:wrap}
}
@media (max-width:899px){
  .nav{display:none}
  .burger{display:block}
  .hdr.open .nav{display:flex;flex-direction:column;gap:0;position:absolute;top:100%;left:0;right:0;padding:8px 20px 20px;background:var(--bg);border-top:1px solid var(--line);box-shadow:0 12px 24px rgba(15,18,24,.08)}
  .hdr.open .nav a:not(.btn){padding:14px 0;font-size:18px;border-bottom:1px solid var(--bg2)}
  .about-row,.head-row{flex-direction:column;align-items:flex-start;gap:24px}
  .about .h2,.head-row .h2,.about-text,.head-row .sub{width:100%}
  .head-row{padding-bottom:28px}
  .stats{grid-template-columns:repeat(2,1fr);gap:16px;padding-top:44px}
  .g3{grid-template-columns:repeat(2,1fr)}
  .g3.odd{grid-template-columns:1fr}
  .dark .card{min-height:0}
  .head-c{padding-bottom:28px}
  html{scroll-padding-top:64px}
}
@media (min-width:720px){.wrap{width:min(1200px,100% - 64px)}.hdr-in{height:80px}}
@media (max-width:719px){
  .hdr-btn,.rev-bg{display:none}
  .hdr.open .nav-cta{display:inline-flex;margin-top:16px}
  .g3{grid-template-columns:1fr;gap:14px}
  .steps{grid-template-columns:1fr;gap:14px}
  .step{min-height:0;padding:24px 24px 140px}
  .txt{margin-top:20px}
  .ghost{font-size:150px}
  .card.lt{gap:40px}
  .rev{padding:24px}
  .rev p{font-size:17px;line-height:26px}
  .chip{font-size:16px}
  .who{padding-top:44px}
  summary{font-size:19px;line-height:25px;padding:20px 0}
  details p{font-size:17px;line-height:26px;padding-bottom:20px}
  .cta-row{flex-direction:column}
  .cta-row .in{width:100%}
  .foot-in{flex-direction:column;align-items:flex-start;gap:16px}
  .vrow{grid-template-columns:1fr;gap:24px}
  .stat span{font-size:14px;line-height:20px}
  .lead{font-size:17px;line-height:26px}
  .incl-btn{width:100%}
}
