/* ============================================================
   NIMBO DESIGN SYSTEM — единый стиль всех лендингов nimbolabs.io
   Один источник правды. Лендинги ТОЛЬКО подключают этот файл и
   используют его классы + токены var(--…). Свои цвета НЕ вводить.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --bg:#05060a; --bg2:#090b12; --panel:#0e1018; --card:#11131c;
  --ink:#f3f5fb; --soft:#aeb6cc; --mut:#6f7794;
  --line:rgba(255,255,255,.09); --line2:rgba(255,255,255,.06);
  --a1:#7aa2ff; --a2:#b78bff; --a3:#ffb877;
  --chrome:linear-gradient(120deg,#9fb4ff,#c8a8ff,#ffd0a0);
  --ok:#7ef0a6; --bad:#ff9090;
  --max:1240px;
}
*{margin:0;box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{background:var(--bg);color:var(--ink);font-family:'Inter',system-ui,-apple-system,Segoe UI,sans-serif;line-height:1.6;overflow-x:hidden}
img,video,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
.wrap{max-width:var(--max);margin:0 auto;padding:0 26px}
.gro{font-family:'Space Grotesk',sans-serif}
.serif{font-family:'Instrument Serif',serif;font-weight:400;font-style:italic}
::selection{background:var(--a2);color:#05060a}
:focus-visible{outline:2px solid var(--a1);outline-offset:3px;border-radius:4px}
.gr{background:var(--chrome);-webkit-background-clip:text;background-clip:text;color:transparent}

/* ---------- HEADER (единый на всех страницах) ---------- */
.nheader{position:sticky;top:0;z-index:200;background:rgba(5,6,10,.66);backdrop-filter:blur(16px);border-bottom:1px solid var(--line2)}
.nheader nav{display:flex;align-items:center;gap:24px;height:70px}
.nbrand{font-family:'Space Grotesk';font-weight:700;font-size:22px;letter-spacing:-.02em;display:flex;align-items:center;gap:9px;margin-right:auto}
.nbrand .dot{width:11px;height:11px;border-radius:50%;background:var(--chrome);box-shadow:0 0 16px var(--a2)}
.ncrumbs{display:flex;gap:8px;align-items:center;font-size:13px;color:var(--mut)}
.ncrumbs a:hover{color:var(--ink)}.ncrumbs .sep{opacity:.5}
.nphone{font-weight:700;font-size:14.5px;white-space:nowrap;color:var(--soft)}
.nphone:hover{color:var(--ink)}
@media(max-width:760px){.ncrumbs,.nphone{display:none}}

/* ---------- BUTTONS ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:600;font-size:15px;padding:14px 26px;border-radius:100px;transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s,background .25s,border-color .25s;border:1px solid transparent;cursor:pointer;white-space:nowrap;line-height:1}
.btn-p{background:#fff;color:#05060a;box-shadow:0 12px 40px -12px rgba(183,139,255,.6)}
.btn-p:hover{transform:translateY(-3px)}
.btn-a{background:var(--chrome);color:#05060a;font-weight:700}
.btn-a:hover{transform:translateY(-3px);box-shadow:0 14px 44px -12px rgba(122,162,255,.55)}
.btn-g{border-color:var(--line);color:var(--ink);background:rgba(255,255,255,.02)}
.btn-g:hover{background:rgba(255,255,255,.06);transform:translateY(-3px);border-color:rgba(255,255,255,.25)}

/* ---------- SECTIONS / TYPO ---------- */
section{position:relative;padding:clamp(64px,10vw,140px) 0}
.kick{display:inline-flex;align-items:center;gap:10px;font-family:'Space Grotesk';font-size:12.5px;letter-spacing:.22em;text-transform:uppercase;color:var(--a1);margin-bottom:20px}
.kick .num{color:var(--mut)}
h1,.h1{font-family:'Space Grotesk';font-weight:700;letter-spacing:-.03em;line-height:.98}
h2,.h2{font-family:'Space Grotesk';font-weight:700;font-size:clamp(30px,5.4vw,68px);line-height:1.02;letter-spacing:-.03em}
h2 em,.h2 em{font-family:'Instrument Serif';font-style:italic;font-weight:400;color:transparent;background:var(--chrome);-webkit-background-clip:text;background-clip:text}
h3{font-family:'Space Grotesk';font-weight:600;letter-spacing:-.01em}
.lead{color:var(--soft);font-size:clamp(15px,1.8vw,20px);max-width:64ch;margin-top:14px}
.eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:13px;letter-spacing:.2em;text-transform:uppercase;color:var(--soft)}

/* ---------- HERO (единый паттерн) ---------- */
.nhero{position:relative;overflow:hidden;border-bottom:1px solid var(--line2);padding:clamp(70px,12vw,150px) 0 clamp(56px,9vw,110px)}
.nhero::before{content:"";position:absolute;inset:0;z-index:0;background:
  radial-gradient(60% 50% at 78% 8%,rgba(183,139,255,.18),transparent 60%),
  radial-gradient(55% 45% at 10% 100%,rgba(122,162,255,.16),transparent 55%)}
.nhero .wrap{position:relative;z-index:1}
.nhero h1{font-size:clamp(38px,7.4vw,96px);text-wrap:balance;margin-top:14px}
.nhero h1 em{font-family:'Instrument Serif';font-style:italic;font-weight:400;text-transform:none;letter-spacing:-.01em;background:var(--chrome);-webkit-background-clip:text;background-clip:text;color:transparent}
.nhero .sub{color:var(--soft);font-size:clamp(16px,2vw,21px);max-width:56ch;margin-top:20px}
.nhero .cta{display:flex;flex-wrap:wrap;gap:14px;margin-top:32px}
.nhero .chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:30px}
.chip{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--soft);background:rgba(255,255,255,.04);border:1px solid var(--line);border-radius:100px;padding:7px 14px}
.chip::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--a1)}
.trust{display:flex;gap:28px;flex-wrap:wrap;margin-top:36px;padding-top:24px;border-top:1px solid var(--line2)}
.trust .t b{display:block;font-family:'Space Grotesk';font-size:clamp(24px,3vw,34px);font-weight:700;line-height:1}
.trust .t span{color:var(--mut);font-size:13px}

/* ---------- GRIDS / CARDS ---------- */
.grid{display:grid;gap:16px}
.g2{grid-template-columns:repeat(2,1fr)}.g3{grid-template-columns:repeat(3,1fr)}.g4{grid-template-columns:repeat(4,1fr)}
.alt{background:var(--bg2)}
.ncard{background:var(--card);border:1px solid var(--line2);border-radius:16px;padding:26px;transition:transform .3s,border-color .3s,background .3s}
.ncard:hover{transform:translateY(-4px);border-color:var(--a1);background:rgba(122,162,255,.05)}
.ncard .ix{font-family:'Space Grotesk';font-size:13px;color:var(--a1);letter-spacing:.12em}
.ncard h3{font-size:21px;margin:8px 0 8px}
.ncard p{color:var(--soft);font-size:14.5px}
/* пилюли/боли */
.pill-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-top:40px}
/* шаги */
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:18px;margin-top:40px;counter-reset:st}
.step{padding-top:20px;border-top:2px solid var(--ink);counter-increment:st}
.step::before{content:"0" counter(st);font-family:'Space Grotesk';font-weight:700;font-size:34px;color:transparent;background:var(--chrome);-webkit-background-clip:text;background-clip:text}
.step h3{font-size:18px;margin:8px 0 6px}.step p{color:var(--soft);font-size:14px}
/* цены/пакеты */
.price-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;margin-top:40px}
.price{background:var(--card);border:1px solid var(--line2);border-radius:18px;padding:30px;display:flex;flex-direction:column}
.price:hover{border-color:var(--a1)}
.price h3{font-size:23px;margin-bottom:8px}.price p{color:var(--soft);font-size:14px;flex:1}
.price .amt{font-family:'Space Grotesk';font-size:34px;font-weight:700;margin:16px 0 14px}
.price .amt small{font-family:'Inter';font-size:13px;color:var(--mut);font-weight:500}
.price .price-note{color:var(--mut);font-size:13px;margin-top:auto;padding-top:12px}
.price .btn{width:100%}
.price.is-sel{border-color:var(--a1);box-shadow:0 0 0 1px var(--a1),0 16px 40px -18px rgba(122,162,255,.5)}
.price.is-rec{border-color:var(--a2)}
.price.is-rec::after{content:"рекомендуем";position:absolute;top:14px;right:14px;font-size:11px;font-weight:700;color:#05060a;background:var(--chrome);padding:3px 9px;border-radius:100px}
.price{position:relative}

/* ---------- FAQ ---------- */
.faq{max-width:840px;margin-top:34px}
.qa{border-top:1px solid var(--line);padding:20px 0}
.qa summary{font-family:'Space Grotesk';font-size:20px;font-weight:600;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:16px;color:var(--ink)}
.qa summary::-webkit-details-marker{display:none}
.qa summary::after{content:"+";color:var(--a1);font-size:26px;line-height:1;transition:.2s}
.qa[open] summary::after{transform:rotate(45deg)}
.qa p{color:var(--soft);margin-top:12px;font-size:15px}

/* ---------- CONTACT / FORM ---------- */
.nform{display:grid;gap:12px;max-width:460px;margin-top:24px}
.nform input,.nform textarea{width:100%;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:14px 16px;color:var(--ink);font-family:'Inter';font-size:15px;outline:none}
.nform input::placeholder,.nform textarea::placeholder{color:var(--mut)}
.nform input:focus,.nform textarea:focus{border-color:var(--a1)}
.microcopy{color:var(--mut);font-size:12.5px}

/* ---------- FOOTER (единый) ---------- */
.nfooter{background:#070810;border-top:1px solid var(--line2);padding:56px 0 24px;color:var(--soft);font-size:14px}
.nfooter .cols{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:30px}
.nfooter .big{font-family:'Space Grotesk';font-weight:700;font-size:24px;letter-spacing:-.01em;color:var(--ink)}
.nfooter h4{font-size:13px;text-transform:uppercase;letter-spacing:.14em;color:var(--mut);margin-bottom:12px}
.nfooter a{display:block;padding:3px 0}.nfooter a:hover{color:var(--ink)}
.nimbo-credit{margin-top:30px;padding-top:20px;border-top:1px solid var(--line2);display:flex;justify-content:space-between;gap:14px 26px;flex-wrap:wrap;align-items:center;font-size:13px;color:var(--mut)}
.nimbo-credit a{color:var(--soft)}.nimbo-credit a b{color:var(--a3)}
.nimbo-credit .nc-links{display:flex;gap:20px;flex-wrap:wrap}
@media(max-width:760px){.nfooter .cols{grid-template-columns:1fr 1fr}}

/* ---------- MOBILE CALLBAR ---------- */
.ncallbar{position:fixed;left:0;right:0;bottom:0;z-index:160;display:none;gap:1px;background:var(--line)}
.ncallbar a{flex:1;text-align:center;padding:15px;font-weight:700;font-size:14.5px}
.ncallbar .c1{background:var(--chrome);color:#05060a}.ncallbar .c2{background:var(--panel);color:var(--ink)}
@media(max-width:680px){.ncallbar{display:flex}.nfooter{padding-bottom:84px}}

/* ---------- ICONS (общие для всех лендингов) ---------- */
svg{display:inline-block;vertical-align:middle}
/* УНИВЕРСАЛЬНО: любая инлайн-иконка 24x24 — контур, не чёрная заливка */
svg[viewBox="0 0 24 24"]{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;color:var(--a1)}
/* доп. контейнеры иконок от разных сборок */
.nico,.dico,.ci,.feat-ic{display:inline-grid;place-items:center;color:var(--a1)}
/* контейнер иконки услуги/преимущества */
.svc-ic,.feat-ic,.ico,.icon-box{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;background:rgba(122,162,255,.1);color:var(--a1);margin-bottom:14px;flex:none}
.svc-ic svg,.feat-ic svg,.ico svg,.icon-box svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
/* чек-листы в карточках цен/фич */
.price ul,.checks,.feat ul{list-style:none;margin:0}
.price li,.checks li{display:flex;gap:10px;align-items:flex-start;color:var(--soft);font-size:14.5px;padding:6px 0;line-height:1.45}
.price li>svg,.checks li>svg{width:18px;height:18px;flex:none;margin-top:2px;color:var(--a1);fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
/* мелкие иконки в чипах/строках */
.chip svg,.sc-shield svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sc-shield svg{color:var(--ok)}
.ba-arrow svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;color:var(--a1)}
/* звёзды-рейтинг — заливка (тёплый акцент) */
.stars svg{width:18px;height:18px;fill:var(--a3);stroke:none}

/* ---------- КАЛЬКУЛЯТОР ---------- */
.calc-wrap{display:grid;grid-template-columns:1.2fr .8fr;gap:22px;margin-top:36px}
.calc-col{background:var(--card);border:1px solid var(--line2);border-radius:18px;padding:26px}
.calc-field{margin-bottom:20px}.calc-field:last-child{margin-bottom:0}
.calc-field>label{display:block;font-size:12px;color:var(--mut);text-transform:uppercase;letter-spacing:.12em;margin-bottom:10px}
.calc-opts{display:flex;flex-wrap:wrap;gap:8px}
.calc-opt{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:100px;padding:8px 14px;font-size:13.5px;color:var(--soft);cursor:pointer;transition:.2s;user-select:none}
.calc-opt:hover{border-color:var(--a1)}
.calc-opt input{accent-color:var(--a1)}
.calc-opt.on{border-color:var(--a1);background:rgba(122,162,255,.1);color:var(--ink)}
.calc-out{background:var(--bg2);border:1px solid var(--line2);border-radius:18px;padding:24px;display:flex;flex-direction:column;justify-content:center}
.calc-out .lbl{font-size:12px;text-transform:uppercase;letter-spacing:.14em;color:var(--mut)}
.calc-out .amt{font-family:'Space Grotesk';font-size:clamp(28px,4.4vw,44px);font-weight:700;margin:6px 0 4px;background:var(--chrome);-webkit-background-clip:text;background-clip:text;color:transparent;line-height:1}
.calc-out .note{color:var(--mut);font-size:12.5px;margin:0 0 16px}
@media(max-width:760px){.calc-wrap{grid-template-columns:1fr}}

/* ---------- FLOATING CONTACT (на всех страницах) ---------- */
.nfab{position:fixed;right:18px;bottom:18px;z-index:150;display:flex;flex-direction:column;gap:10px}
.nfab a{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;box-shadow:0 14px 34px -12px rgba(0,0,0,.6);transition:transform .2s}
.nfab a:hover{transform:translateY(-3px)}
.nfab .call{background:var(--chrome);color:#05060a}
.nfab .tg{background:#2AABEE;color:#fff}
.nfab .write{background:var(--card);color:var(--ink);border:1px solid var(--line)}
.nfab svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:680px){.nfab{display:none}}
/* ---------- PROOF STRIP (реальные работы) ---------- */
.proof .pf-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-top:34px}
.proof .pf{display:flex;flex-direction:column;gap:5px;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--bg2);transition:.25s}
.proof .pf:hover{border-color:var(--a1);transform:translateY(-3px)}
.proof .pf b{font-family:'Space Grotesk';font-size:16px}
.proof .pf span{color:var(--mut);font-size:12.5px}
.proof .pf .ar{color:var(--a1);font-size:13px;margin-top:3px}
@media(max-width:900px){.proof .pf-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.proof .pf-grid{grid-template-columns:1fr}}

/* ---------- REVEAL ---------- */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .7s,transform .7s}
.reveal.in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}}

/* responsive grids */
@media(max-width:900px){.g4{grid-template-columns:repeat(2,1fr)}.g3{grid-template-columns:1fr}}
@media(max-width:640px){.g2,.g4{grid-template-columns:1fr}}
