/* ---- шрифты: Josefin Sans (заголовок hero) + Manrope (весь остальной текст), variable, самохостинг ---- */
@font-face{font-family:'Josefin Sans';font-style:normal;font-weight:100 700;font-display:swap;
  src:url("../assets/fonts/josefin-sans-latin-ext.woff2") format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Josefin Sans';font-style:normal;font-weight:100 700;font-display:swap;
  src:url("../assets/fonts/josefin-sans-latin.woff2") format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:200 800;font-display:swap;
  src:url("../assets/fonts/manrope-cyrillic-ext.woff2") format('woff2');
  unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:200 800;font-display:swap;
  src:url("../assets/fonts/manrope-cyrillic.woff2") format('woff2');
  unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:200 800;font-display:swap;
  src:url("../assets/fonts/manrope-latin-ext.woff2") format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:200 800;font-display:swap;
  src:url("../assets/fonts/manrope-latin.woff2") format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

/* Caveat — рукописные цифры 01…04 в «Почему мы». Сабсет только из цифр: 2.4 КБ */
@font-face{font-family:'Caveat Digits';font-style:normal;font-weight:700;font-display:swap;
  src:url("../assets/fonts/caveat-digits.woff2") format('woff2');}

:root{
  --bg:#0a0a0a;
  --bg2:#111113;
  --bg3:#18181b;
  --line:#26262b;
  --white:#f4f4f2;
  --grey:#a1a1aa;
  --grey2:#6b6b72;
  --accent:#ffffff;
  --radius:20px;
  --font:'Manrope',-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --font-display:'Josefin Sans','Manrope',-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --font-hand:'Caveat Digits','Segoe Script','Bradley Hand',cursive;
  --mono:ui-monospace,"SF Mono","Cascadia Code",Menlo,Consolas,monospace;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{overflow-x:hidden;overflow-x:clip}
html,body{background:var(--bg);color:var(--white)}
body{font-family:var(--font);line-height:1.6;overflow-x:hidden;-webkit-font-smoothing:antialiased}
::selection{background:#fff;color:#000}
a{color:inherit;text-decoration:none}
img,svg{display:block;max-width:100%}
.container{width:min(1200px,92vw);margin:0 auto}
section{position:relative}

/* ---------- noise ---------- */
.noise{position:fixed;inset:0;z-index:120;pointer-events:none;opacity:.07;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");}

/* ---------- preloader ---------- */
#preloader{position:fixed;inset:0;z-index:1000;background:#060606;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:22px;transition:transform .9s cubic-bezier(.76,0,.24,1)}
#preloader.done{transform:translateY(-101%)}
.pre-logo{font-weight:900;letter-spacing:.35em;font-size:13px;color:var(--grey);text-transform:uppercase}
.pre-big{font-size:clamp(54px,13vw,180px);font-weight:900;line-height:.9;letter-spacing:-.045em;color:#fff;user-select:none;text-align:center}
@supports ((-webkit-text-stroke:1px #fff)){
.pre-big{color:transparent;-webkit-text-stroke:1.5px rgba(255,255,255,.85);background:linear-gradient(110deg,rgba(255,255,255,0) 42%,rgba(255,255,255,.85) 50%,rgba(255,255,255,0) 58%);background-size:250% 100%;-webkit-background-clip:text;background-clip:text;animation:preShine 2.4s linear infinite}
@keyframes preShine{0%{background-position:130% 0}100%{background-position:-130% 0}}
}
.pre-bar{width:min(340px,70vw);height:3px;background:rgba(255,255,255,.1);border-radius:99px;position:relative}
.pre-bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,rgba(255,255,255,.55),#fff);border-radius:99px;box-shadow:0 0 16px rgba(255,255,255,.65);position:relative;transition:width .25s ease}
.pre-bar i::after{content:"";position:absolute;right:-4px;top:50%;width:9px;height:9px;margin-top:-4.5px;border-radius:50%;background:#fff;box-shadow:0 0 14px 5px rgba(255,255,255,.8);animation:headPulse 1.1s ease-in-out infinite}
@keyframes headPulse{50%{transform:scale(1.4);box-shadow:0 0 20px 7px rgba(255,255,255,.9)}}
.pre-num{display:flex;flex-direction:column;align-items:center;gap:10px}
.pre-pct{font-size:46px;font-weight:900;letter-spacing:-.03em;line-height:1;color:#fff;font-variant-numeric:tabular-nums;text-shadow:0 0 34px rgba(255,255,255,.35)}
.pre-cap{font-family:var(--mono);font-size:11px;color:var(--grey2);letter-spacing:.35em}
.pre-cap::after{content:"";animation:preDots 1.5s steps(1) infinite}
@keyframes preDots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}

/* ---------- cursor ---------- */
.cursor-dot,.cursor-ring{position:fixed;top:0;left:0;pointer-events:none;z-index:999;border-radius:50%}
.cursor-dot{width:8px;height:8px;background:#fff;transform:translate(-50%,-50%)}
.cursor-ring{width:38px;height:38px;border:1px solid rgba(255,255,255,.5);transform:translate(-50%,-50%);transition:width .25s,height .25s,background .25s,border .25s}
.cursor-ring.hover{width:64px;height:64px;background:rgba(255,255,255,.08);border-color:#fff}
@media (hover:none){.cursor-dot,.cursor-ring{display:none}}

/* ---------- header ---------- */
header{position:fixed;top:0;left:0;right:0;z-index:100;pointer-events:none;border-bottom:1px solid transparent;transition:background .35s,border-color .35s}
.nav{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;pointer-events:auto;padding:8px 0 14px}
@keyframes islandIn{from{transform:translateY(-130%);opacity:0}to{transform:none;opacity:1}}

section{scroll-margin-top:150px}
.logo{display:flex;align-items:center;gap:14px;font-weight:900;letter-spacing:-.02em;font-size:19px;transition:transform .3s;filter:drop-shadow(0 2px 10px rgba(0,0,0,.7))}
.logo:hover{transform:scale(1.05)}
.logo-mark{width:52px;height:52px;border-radius:50%;position:relative;overflow:hidden;flex-shrink:0;box-shadow:0 0 0 1px rgba(255,255,255,.25),0 4px 18px rgba(0,0,0,.6);background:#000}
.logo-mark img{width:100%;height:100%;object-fit:cover;display:block}
.logo-mark::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 30%,rgba(0,0,0,.18) 50%,transparent 70%);transform:translateX(-100%);animation:shine 3.2s ease-in-out infinite}
@keyframes shine{0%{transform:translateX(-100%)}55%,100%{transform:translateX(100%)}}
.logo small{display:block;font-size:10px;letter-spacing:.3em;color:var(--grey);font-weight:600}
/* Навигация: больше воздуха между кнопками и аккуратнее типографика */
.nav-links{position:relative;display:flex;gap:28px;align-items:center}
.nav-links a{position:relative;padding:16px 26px;font-size:17px;font-weight:600;letter-spacing:.012em;line-height:1.2;white-space:nowrap;border-radius:99px;color:var(--grey);background:rgba(10,10,12,.55);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.35);box-shadow:0 0 12px rgba(255,255,255,.14),inset 0 0 10px rgba(255,255,255,.04);text-shadow:0 1px 12px rgba(255,255,255,.13);transition:color .25s,background .25s,box-shadow .25s,border-color .25s,transform .25s,text-shadow .25s}
.nav-links a:hover{color:#fff;border-color:rgba(255,255,255,.8);box-shadow:0 0 20px rgba(255,255,255,.35),inset 0 0 12px rgba(255,255,255,.08);text-shadow:0 0 16px rgba(255,255,255,.45);transform:translateY(-2px)}
.nav-links a.active{color:#000;background:#fff;border-color:#fff;box-shadow:0 0 18px rgba(255,255,255,.55);text-shadow:none}
.nav-cta{display:flex;align-items:center;gap:10px}
.btn{display:inline-flex;align-items:center;gap:10px;padding:13px 24px;border-radius:99px;font-weight:700;font-size:14px;letter-spacing:.01em;border:1px solid #fff;cursor:pointer;transition:transform .25s,background .25s,color .25s,box-shadow .25s;white-space:nowrap}
.btn-solid{background:#fff;color:#000}
.btn-solid:hover{transform:translateY(-2px);box-shadow:0 12px 32px rgba(255,255,255,.22)}
.btn-ghost{background:transparent;color:#fff}
.btn-ghost:hover{background:#fff;color:#000;transform:translateY(-2px)}
.btn-sm{padding:10px 18px;font-size:13px}
.nav-cta .btn-sm{padding:14px 26px;font-size:15px}
.online-dot{width:7px;height:7px;border-radius:50%;background:#000;position:relative;flex-shrink:0}
.online-dot::after{content:;position:absolute;inset:-4px;border-radius:50%;border:1.5px solid #000;animation:pulse 1.8s ease-out infinite}
.burger{display:none;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:rgba(255,255,255,.05);border:1px solid var(--line);cursor:pointer;width:52px;height:52px;border-radius:16px;transition:background .3s,border-color .3s}
.burger:hover{background:rgba(255,255,255,.1)}
.burger span{width:22px;height:2px;background:#fff;border-radius:2px;transition:.3s}
.burger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger.open span:nth-child(2){opacity:0}
.burger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
/* ===== Header entrance ===== */
.nav>.logo{animation:islandIn .9s cubic-bezier(.22,1,.36,1) 1.35s backwards}
.nav>.nav-links{animation:islandIn .9s cubic-bezier(.22,1,.36,1) 1.47s backwards}
.nav>.nav-cta{animation:islandIn .9s cubic-bezier(.22,1,.36,1) 1.59s backwards}








.nav-cta .btn-ghost{background:rgba(13,13,16,.4);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.nav-cta .btn-ghost:hover{background:#fff}


/* ===== Exclusive header: micro-bar + central emblem + underline dock ===== */
header.scrolled{background:rgba(8,8,10,.75);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-bottom-color:rgba(255,255,255,.08)}
.top-line{position:relative;display:flex;align-items:center;justify-content:center;gap:12px;max-height:40px;overflow:hidden;font-size:14px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--grey);padding-top:6px;padding-bottom:5px;border-bottom:1px solid rgba(255,255,255,.08);transition:max-height .4s,opacity .3s,padding .4s,border-color .4s;animation:fadeDown .8s ease 1.2s backwards}
header.scrolled .top-line{max-height:0;opacity:0;padding-top:0;padding-bottom:0;border-bottom-color:transparent}
@keyframes fadeDown{from{transform:translateY(-100%);opacity:0}to{transform:none;opacity:1}}
.top-status{display:flex;align-items:center;gap:8px;color:#fff;white-space:nowrap}
.top-status i{position:relative;width:10px;height:10px;border-radius:50%;background:#fff;box-shadow:0 0 10px #fff;animation:blink 1.6s ease-in-out infinite;font-style:normal}
@keyframes blink{0%,100%{opacity:1}50%{opacity:.25}}
.top-status b{font-weight:inherit}
.top-status.open i{background:#2bff6a;box-shadow:0 0 12px #2bff6a,0 0 26px rgba(43,255,106,.55)}
.top-status.open i::after{content:"";position:absolute;inset:-6px;border-radius:50%;border:1px solid #2bff6a;animation:pulse 2s ease-out infinite}
.top-status.closed i{background:#ff5252;box-shadow:0 0 12px #ff5252,0 0 26px rgba(255,82,82,.55);animation:none}
.nav>.logo{justify-self:start}
.nav>.nav-cta{justify-self:end}









.call-round{position:relative;width:54px;height:54px;border-radius:50%;background:#fff;color:#000;display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:0 0 24px rgba(255,255,255,.3);transition:transform .25s}
.call-round:hover{transform:scale(1.08)}
.call-round::after{content:"";position:absolute;inset:-5px;border-radius:50%;border:1px solid rgba(255,255,255,.5);animation:pulse 2s ease-out infinite}
.logo-img{display:block;height:108px;width:auto;margin:-10px 0}

@media(max-width:920px){.top-line{display:none}.logo-img{height:72px;margin:-6px 0}.nav{padding:8px 0 10px}}
@media(max-width:560px){.call-round{width:48px;height:48px}.logo-img{height:62px;margin:-5px 0}}
.nav>.nav-links{justify-self:center}

@media(max-width:1200px){.nav-links a{padding:12px 17px;font-size:15px;letter-spacing:.008em}.nav-links{gap:16px}}
.mobile-menu{display:none;position:fixed;top:0;right:0;bottom:0;width:min(340px,86vw);background:#0d0d0f;border-left:1px solid var(--line);z-index:99;padding:96px 28px 28px;flex-direction:column;gap:16px;transform:translateX(100%);transition:transform .45s cubic-bezier(.76,0,.24,1)}
.mobile-menu.open{transform:translateX(0)}
.mobile-menu a.mm-link{font-size:23px;font-weight:800;letter-spacing:-.02em;line-height:1.25;padding:12px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;transition:color .25s,padding-left .25s}
.mobile-menu a.mm-link:active,.mobile-menu a.mm-link:hover{color:#fff;padding-left:6px}
.mobile-menu a.mm-link span{font-size:11px;letter-spacing:.14em;color:var(--grey2);font-family:var(--mono);font-weight:500}
@media(max-width:1020px){.nav-links,.nav-cta .btn-ghost{display:none}.burger{display:flex}.mobile-menu{display:flex}}

/* ---------- hero ---------- */
.hero{min-height:100svh;display:flex;align-items:center;padding:130px 0 60px;overflow:hidden;
  background:
    radial-gradient(600px 400px at 85% 15%,rgba(255,255,255,.07),transparent 60%),
    radial-gradient(700px 500px at 10% 90%,rgba(255,255,255,.05),transparent 60%),
    var(--bg);}
.hero-orb{position:absolute;border-radius:50%;filter:blur(90px);opacity:.16;pointer-events:none}
.orb1{width:420px;height:420px;background:#fff;top:-120px;right:-80px;animation:orbF 9s ease-in-out infinite}
.orb2{width:340px;height:340px;background:#888;bottom:-100px;left:-100px;animation:orbF 11s ease-in-out infinite reverse}
@keyframes orbF{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(-40px,40px) scale(1.1)}}
.hero-inner{display:block;max-width:940px;text-align:center;position:relative;z-index:2}
.hero-sub{margin-left:auto;margin-right:auto}
.hero-btns{justify-content:center}
.badge{display:inline-flex;align-items:center;gap:9px;border:1px solid var(--line);background:rgba(255,255,255,.04);backdrop-filter:blur(8px);padding:9px 16px;border-radius:99px;font-size:13px;color:var(--grey);margin-bottom:24px}
.badge .pulse{width:8px;height:8px;border-radius:50%;background:#fff;position:relative}
.badge .pulse::after{content:"";position:absolute;inset:-4px;border-radius:50%;border:1px solid #fff;animation:pulse 1.8s ease-out infinite}
@keyframes pulse{0%{transform:scale(.5);opacity:1}100%{transform:scale(1.4);opacity:0}}
.hero h1{font-family:var(--font-display);font-size:clamp(52px,9.4vw,132px);line-height:.95;font-weight:300;letter-spacing:-.012em;margin:-12px 0 22px;text-shadow:0 0 1px rgba(255,255,255,.4),0 0 30px rgba(255,255,255,.1),0 24px 64px rgba(0,0,0,.45)}
.hero h1 .stroke{color:#fff;-webkit-text-stroke:.6px #fff;text-shadow:0 0 6px rgba(255,255,255,.75),0 0 18px rgba(255,255,255,.5),0 0 34px rgba(255,255,255,.28)}
/* «дышащий» нимб поверх статичного свечения: filter считается после обрезки,
   поэтому его не срезает overflow:hidden у .word */
.hero h1 .word:has(.stroke){animation:neonBreathe 4.2s ease-in-out infinite}
@keyframes neonBreathe{0%,100%{filter:drop-shadow(0 0 7px rgba(255,255,255,.3)) drop-shadow(0 0 28px rgba(255,255,255,.14))}50%{filter:drop-shadow(0 0 11px rgba(255,255,255,.55)) drop-shadow(0 0 40px rgba(255,255,255,.3))}}
.hero h1 .word{display:inline-block;overflow:hidden;vertical-align:bottom;white-space:nowrap;padding:.34em;margin:-.34em}
.hero h1 .ch{display:inline-block;transform:translateY(140%);animation:chUp .9s cubic-bezier(.22,1,.36,1) forwards}
@keyframes chUp{to{transform:translateY(0)}}
.hero-sub{color:var(--grey);font-size:clamp(19px,2.7vw,24px);line-height:1.55;max-width:640px;margin-bottom:16px}
.hero-sub strong{color:#fff}
.hero-tags{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 30px}
.hero-tags span{font-size:12px;font-family:var(--mono);border:1px solid var(--line);padding:6px 12px;border-radius:99px;color:var(--grey);transition:.3s;cursor:default}
.hero-tags span:hover{border-color:#fff;color:#fff;transform:translateY(-2px)}
.hero-btns{display:flex;gap:14px;flex-wrap:wrap;margin:28px 0 36px}
.hero-btns .btn{padding:20px 42px;font-size:19px}
/* hero visual */
.hero-visual{position:relative;display:flex;justify-content:center}
.hv-card{width:min(400px,100%);aspect-ratio:1/1.08;background:linear-gradient(160deg,#161618,#0c0c0e);border:1px solid var(--line);border-radius:28px;padding:28px;position:relative;overflow:hidden;box-shadow:0 40px 100px rgba(0,0,0,.6)}
.hv-card::before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.5),transparent)}
.hv-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.hv-top .dots{display:flex;gap:6px}
.hv-top .dots i{width:10px;height:10px;border-radius:50%;background:#2a2a2e}
.hv-top .dots i:first-child{background:#fff}
.hv-status{font-family:var(--mono);font-size:11px;color:var(--grey);letter-spacing:.15em}
.hv-screen{margin:18px 0;background:#08080a;border:1px solid var(--line);border-radius:16px;padding:20px;position:relative;overflow:hidden}
.ecg{width:100%;height:90px}
.ecg path{fill:none;stroke:#fff;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:600;stroke-dashoffset:600;animation:ecg 3.2s ease-in-out infinite}
@keyframes ecg{0%{stroke-dashoffset:600}55%{stroke-dashoffset:0}100%{stroke-dashoffset:-600}}
.hv-rows{display:grid;gap:10px;margin-top:16px}
.hv-row{display:flex;align-items:center;gap:12px;background:rgba(255,255,255,.03);border:1px solid var(--line);border-radius:12px;padding:11px 14px;font-size:13px;animation:rowIn 5s ease-in-out infinite}
.hv-row:nth-child(2){animation-delay:1.6s}
.hv-row:nth-child(3){animation-delay:3.2s}
@keyframes rowIn{0%,100%{opacity:.55;transform:translateX(0)}12%{opacity:1;transform:translateX(6px);border-color:rgba(255,255,255,.4)}30%{opacity:.8}}
.hv-row .ico{width:30px;height:30px;border-radius:9px;background:#fff;color:#000;display:grid;place-items:center;font-size:15px;flex-shrink:0}
.hv-row b{display:block;font-size:13px}
.hv-row small{color:var(--grey2);font-size:12px}
.hv-row .ok{margin-left:auto;font-family:var(--mono);font-size:11px;color:#000;background:#fff;border-radius:99px;padding:3px 10px;font-weight:700}
.hv-gear{position:absolute;width:120px;height:120px;right:-34px;top:-34px;opacity:.14;animation:spin 14s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.hv-chip{position:absolute;bottom:22px;right:22px;font-family:var(--mono);font-size:10px;color:var(--grey2);letter-spacing:.2em}
.float-chip{position:absolute;background:#fff;color:#000;font-weight:800;font-size:12px;padding:10px 16px;border-radius:14px;box-shadow:0 16px 40px rgba(0,0,0,.5);animation:floatY 4s ease-in-out infinite}
.fc1{top:8%;left:-14px;transform:rotate(-6deg)}
.fc2{bottom:14%;right:-10px;animation-delay:2s;transform:rotate(4deg)}
@keyframes floatY{0%,100%{translate:0 0}50%{translate:0 -12px}}
@media(max-width:960px){.fc1{left:0}.fc2{right:0}}

/* ---------- floating 3D tools ---------- */
.hero-tools{position:absolute;inset:0;z-index:1;pointer-events:none;transform-style:preserve-3d;--tk:1}
.htool{position:absolute;left:var(--x);top:var(--y);width:calc(var(--s) * var(--tk,1));margin-left:calc(var(--s) * var(--tk,1) / -2);margin-top:calc(var(--s) * var(--tk,1) * var(--ar,1) / -2);rotate:var(--rr,0deg);animation:toolFloat var(--t,7s) ease-in-out infinite;animation-delay:var(--dl,0s)}
.htool img{width:100%;height:auto;display:block;filter:grayscale(1) brightness(1.06) drop-shadow(0 26px 28px rgba(0,0,0,.55));opacity:.95}
/* два новых гаджета: фланкируют заголовок hero. Размер в vw — чтобы композиция
   сохранялась на любой ширине: в процентах они занимают всё больше места по мере
   сужения окна, а заголовок, наоборот, растёт */
.htool.new-l{--ar:0.734;--x:21%;--y:43.5%;--s:min(max(16.5vw,24vh),330px)}
.htool.new-r{--ar:0.694;--x:83.7%;--y:36.8%;--s:min(max(13.2vw - 19px,52.6vw - 571px),21.5vh,249px)}
/* выше 1500px джойстик встаёт точно на отметку со скриншота (79.1%), ниже — чуть
   правее (82%): иначе на 1280–1440 его силуэт задевает заголовок */
@media(min-width:1501px){.htool.new-r{--x:80.5%;--s:min(max(8.3vw - 19px,47.6vw - 571px),21.5vh,249px)}}
@media(max-width:1250px){.htool.new-l,.htool.new-r{display:none}}
@keyframes toolFloat{0%,100%{translate:0 0}50%{translate:0 calc(var(--u,200px) * -.10)}}
@media(max-height:800px){.hero-tools{--tk:.78}}
@media(max-width:1260px){.hero-tools{--tk:.72}}
@media(max-width:1260px) and (max-height:800px){.hero-tools{--tk:.56}}
@media(max-width:1100px){.htool.opt{display:none}}
@media(max-width:820px){.hero-tools{--tk:.67}
  .htool{opacity:.8}
  .htool:has(img[src*="tool-01"]){--y:12%}
  .htool:has(img[src*="tool-02"]){--x:6%;--y:88%}
  .htool:has(img[src*="tool-04"]){--y:13%}}

/* ---------- sections common ---------- */
.sec{padding:110px 0}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:56px;flex-wrap:wrap}
.sec-num{display:inline-flex;align-items:center;gap:11px;font-family:var(--mono);font-size:14px;font-weight:600;color:#ececf2;letter-spacing:.28em;margin-bottom:24px;border:1px solid rgba(255,255,255,.2);border-radius:99px;padding:12px 26px 12px 20px;background:linear-gradient(180deg,rgba(255,255,255,.1),rgba(255,255,255,.02));box-shadow:0 10px 30px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.09)}
.sec-num::before{content:"";width:8px;height:8px;border-radius:50%;background:#fff;box-shadow:0 0 12px rgba(255,255,255,.85);flex-shrink:0}
.sec-num b{background:#fff;color:#000;border-radius:99px;padding:3px 12px;font-weight:700;letter-spacing:.06em;box-shadow:0 0 18px rgba(255,255,255,.25)}
h2{font-size:clamp(34px,5.2vw,60px);font-weight:750;letter-spacing:-.032em;line-height:1.06;color:#fff;text-wrap:balance}
h2 .grey{color:var(--grey2)}
@supports ((-webkit-background-clip:text) or (background-clip:text)){
h2{background:linear-gradient(180deg,#ffffff 16%,#f2f2f6 40%,#c4c4cf 72%,#9e9eaa);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 2px 34px rgba(255,255,255,.1)}
h2 .grey{background:linear-gradient(180deg,#9a9aa6,#5e5e68);-webkit-background-clip:text;background-clip:text;color:transparent}
}

.rv{opacity:0;transform:translateY(44px);transition:opacity .9s cubic-bezier(.22,1,.36,1),transform .9s cubic-bezier(.22,1,.36,1);transition-delay:var(--d,0s)}
.rv.vis{opacity:1;transform:none}

/* ---------- services ---------- */
.srv-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
@media(max-width:1020px){.srv-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.srv-grid{grid-template-columns:1fr}}
.srv-card{display:flex;flex-direction:column;background:var(--bg2);border:1px solid var(--line);border-radius:var(--radius);padding:28px 24px;position:relative;overflow:hidden;transition:border-color .35s,transform .2s ease-out;transform-style:preserve-3d;will-change:transform;cursor:default}
.srv-card::before{content:"";position:absolute;inset:0;background:radial-gradient(320px 200px at var(--mx,50%) var(--my,0%),rgba(255,255,255,.09),transparent 65%);opacity:0;transition:opacity .35s;pointer-events:none;z-index:1}
.srv-card:hover::before{opacity:1}
.srv-card:hover{border-color:rgba(255,255,255,.55);box-shadow:0 18px 50px rgba(0,0,0,.5),0 0 24px rgba(255,255,255,.12)}
/* Service card photo backgrounds */
.srv-card::after{content:"";position:absolute;inset:0;background-size:cover;background-position:center;opacity:.85;transition:opacity .4s,transform .8s cubic-bezier(.22,1,.36,1);pointer-events:none}
.srv-grid>.srv-card:nth-child(1)::after{background-image:linear-gradient(180deg,rgba(8,8,10,.66),rgba(8,8,10,.86)),url("../assets/img/srv-01.webp")}
.srv-grid>.srv-card:nth-child(2)::after{background-image:linear-gradient(180deg,rgba(8,8,10,.66),rgba(8,8,10,.86)),url("../assets/img/srv-02.webp")}
.srv-grid>.srv-card:nth-child(3)::after{background-image:linear-gradient(180deg,rgba(8,8,10,.66),rgba(8,8,10,.86)),url("../assets/img/srv-03.webp")}
.srv-grid>.srv-card:nth-child(4)::after{background-image:linear-gradient(180deg,rgba(8,8,10,.66),rgba(8,8,10,.86)),url("../assets/img/srv-04.webp")}
.srv-grid>.srv-card:nth-child(5)::after{background-image:linear-gradient(180deg,rgba(8,8,10,.66),rgba(8,8,10,.86)),url("../assets/img/srv-05.webp")}
.srv-grid>.srv-card:nth-child(6)::after{background-image:linear-gradient(180deg,rgba(8,8,10,.66),rgba(8,8,10,.86)),url("../assets/img/srv-06.webp")}
.srv-grid>.srv-card:nth-child(7)::after{background-image:linear-gradient(180deg,rgba(8,8,10,.66),rgba(8,8,10,.86)),url("../assets/img/srv-07.webp")}
.srv-grid>.srv-card:nth-child(8)::after{background-image:linear-gradient(180deg,rgba(8,8,10,.66),rgba(8,8,10,.86)),url("../assets/img/srv-08.webp")}
.srv-card:hover::after{opacity:1;transform:scale(1.06)}
.srv-card>*{position:relative;z-index:2}

.srv-card h3{font-size:22px;font-weight:800;letter-spacing:-.01em;margin:20px 0 10px;color:#fff;text-shadow:0 2px 16px rgba(0,0,0,.85)}
.srv-card p{font-size:15px;color:#dcdce0;margin-bottom:16px;text-shadow:0 1px 10px rgba(0,0,0,.9)}
.srv-card ul{list-style:none;display:grid;gap:7px;margin-bottom:10px}
.srv-card ul li{font-size:14px;color:#cfcfd4;display:flex;gap:8px;align-items:center;text-shadow:0 1px 8px rgba(0,0,0,.9)}
.srv-card ul li::before{content:"—";color:#fff}
.srv-price{margin-top:auto;border-top:1px solid rgba(255,255,255,.14);padding-top:18px;display:flex;justify-content:space-between;align-items:flex-end;gap:10px}
.srv-price .pl{font-family:var(--mono);font-size:11px;letter-spacing:.25em;color:#c6c6cb;padding-bottom:5px}
.srv-price b{font-size:24px;font-weight:900;letter-spacing:-.02em;line-height:1;color:#fff;white-space:nowrap;text-shadow:0 0 28px rgba(255,255,255,.3);transition:text-shadow .35s}
.srv-card:hover .srv-price b{text-shadow:0 0 36px rgba(255,255,255,.55)}
.srv-price b small{font-size:13px;font-weight:500;color:var(--grey);letter-spacing:0;margin-right:4px;text-shadow:none}



/* ---------- cases ---------- */
.cases-wrap{position:relative}
.cases-viewport{overflow:hidden;border-radius:24px;border:1px solid var(--line)}
.cases-track{display:flex;transition:transform .7s cubic-bezier(.76,0,.24,1)}
.case{min-width:100%;display:grid;grid-template-columns:1fr 1fr;background:linear-gradient(120deg,#111114,#0a0a0d)}
@media(max-width:820px){.case{grid-template-columns:1fr}}
.case-visual{background:#0b0b0d;min-height:400px;position:relative;overflow:hidden;padding:0}
.case-visual img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.05);transition:filter .7s ease,transform .9s cubic-bezier(.22,1,.36,1)}
.case:hover .case-visual img{filter:grayscale(0);transform:scale(1.06)}
.case.is-active .case-visual img{filter:grayscale(0);transform:scale(1.06)}
.cv-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.3),transparent 35%,transparent 60%,rgba(0,0,0,.55));pointer-events:none}
.cv-num{position:absolute;top:20px;left:20px;font-size:15px;font-weight:800;font-family:var(--mono);letter-spacing:.2em;color:#fff;background:rgba(0,0,0,.5);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.32);padding:9px 18px;border-radius:99px;box-shadow:0 8px 26px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.12)}

@media(max-width:820px){.case-visual{min-height:300px}}
.case-body{padding:52px 48px;display:flex;flex-direction:column;justify-content:center}
@media(max-width:820px){.case-body{padding:32px 26px}}
.case-tag{display:inline-flex;align-self:flex-start;font-family:var(--mono);font-size:16px;font-weight:700;letter-spacing:.2em;line-height:1.3;padding:0;border:0;background:none;color:#fff;margin-bottom:18px;text-shadow:0 2px 14px rgba(0,0,0,.75)}
.case-body h3{font-size:clamp(22px,3vw,30px);letter-spacing:-.02em;margin-bottom:12px}
.case-body p{color:var(--grey);font-size:15px;margin-bottom:10px}
.case-body p b{color:#fff}
.case-result{margin-top:22px;display:flex;gap:12px;align-items:center;background:linear-gradient(90deg,rgba(255,255,255,.09),rgba(255,255,255,.03));border:1px solid rgba(255,255,255,.18);border-radius:16px;padding:15px 18px;font-size:15px}
.case-result .dot{width:10px;height:10px;border-radius:50%;background:#fff;flex-shrink:0;box-shadow:0 0 12px #fff;animation:blink 1.6s infinite}
@keyframes blink{50%{opacity:.35}}
.cases-nav{display:flex;align-items:center;gap:14px;margin-top:22px}
.cbtn{width:52px;height:52px;border-radius:50%;border:1px solid var(--line);background:transparent;color:#fff;font-size:20px;cursor:pointer;transition:.3s;display:grid;place-items:center}
.cbtn:hover{background:#fff;color:#000;border-color:#fff}
.cases-dots{display:flex;gap:8px;margin-left:8px}
.cases-dots button{height:6px;border-radius:99px;border:0;background:#2c2c31;cursor:pointer;transition:.35s;width:26px}
.cases-dots button.active{background:#fff;width:44px}
.cases-count{margin-left:auto;font-family:var(--mono);font-size:13px;color:var(--grey2);letter-spacing:.2em}
.vk-link{display:inline-flex;align-items:center;gap:10px;margin-top:26px;font-size:14px;color:var(--grey);border:1px solid var(--line);padding:13px 22px;border-radius:99px;transition:.3s}
.vk-link:hover{border-color:#fff;color:#fff;transform:translateY(-2px)}

/* ---------- why ---------- */
.why-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
@media(max-width:760px){.why-grid{grid-template-columns:1fr}}
.why-card{border:1px solid var(--line);border-radius:24px;padding:34px 30px;background:linear-gradient(160deg,rgba(255,255,255,.05),rgba(255,255,255,.012));display:flex;gap:22px;align-items:flex-start;transition:border-color .35s,transform .35s,box-shadow .35s;position:relative;overflow:hidden}
.why-card::before{content:"";position:absolute;top:0;left:26px;right:26px;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.5),transparent);opacity:0;transition:opacity .35s}
.why-card:hover::before{opacity:1}
.why-card:hover{border-color:rgba(255,255,255,.42);transform:translateY(-5px);box-shadow:0 22px 60px rgba(0,0,0,.5),0 0 26px rgba(255,255,255,.08)}
.why-card:hover{border-color:rgba(255,255,255,.4);transform:translateY(-4px)}
.why-card .wn{font-family:var(--mono);font-size:11px;letter-spacing:.22em;color:#8d8d97}
.why-card h3{font-size:21px;margin:10px 0 10px}
.why-card p{color:var(--grey);font-size:14px}
.why-ico{width:60px;height:60px;border-radius:18px;background:#fff;color:#000;display:grid;place-items:center;flex-shrink:0;box-shadow:0 0 26px rgba(255,255,255,.18)}
.reviews{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:16px}
@media(max-width:820px){.reviews{grid-template-columns:1fr}}
.rev{border:1px solid var(--line);border-radius:var(--radius);padding:28px 26px;background:linear-gradient(170deg,rgba(255,255,255,.03),transparent),var(--bg2);display:flex;flex-direction:column;gap:14px}
.rev .stars{letter-spacing:3px;font-size:14px}
.rev p{font-size:14px;color:#d4d4d8;font-style:italic}
.rev .who{display:flex;align-items:center;gap:12px;margin-top:auto}
.rev .ava{width:40px;height:40px;border-radius:50%;background:#fff;color:#000;display:grid;place-items:center;font-weight:900;font-size:16px}
.rev .who small{display:block;color:var(--grey2);font-size:12px}
.rev .who b{font-size:14px}

/* ---------- contacts ---------- */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:stretch}
@media(max-width:900px){.contact-grid{grid-template-columns:1fr}}
.c-left{background:linear-gradient(160deg,#151517,#0c0c0e);border:1px solid var(--line);border-radius:28px;padding:48px 42px;position:relative;overflow:hidden}
.c-left::before{content:"";position:absolute;top:-80px;right:-80px;width:260px;height:260px;border-radius:50%;background:rgba(255,255,255,.06);filter:blur(40px)}
.phone-big{font-size:clamp(28px,4vw,42px);font-weight:900;letter-spacing:-.03em;margin:14px 0 6px;display:inline-block;position:relative}
.phone-big::after{content:"";position:absolute;left:0;bottom:-2px;height:2px;width:100%;background:#fff;transform:scaleX(0);transform-origin:left;transition:transform .4s}
.phone-big:hover::after{transform:scaleX(1)}
.c-row{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0}
.soc{flex:1;min-width:140px;border:1px solid var(--line);border-radius:16px;padding:16px;display:flex;align-items:center;gap:12px;transition:.3s;background:rgba(255,255,255,.02)}
.soc:hover{background:#fff;color:#000;border-color:#fff;transform:translateY(-3px)}
.soc .si{width:38px;height:38px;border-radius:11px;background:rgba(255,255,255,.08);display:grid;place-items:center;flex-shrink:0}
.soc:hover .si{background:#000;color:#fff}
.soc b{display:block;font-size:14px}
.soc small{font-size:12px;opacity:.6}
.c-info{display:grid;gap:12px;margin-top:8px;font-size:14px;color:var(--grey)}
.c-info div{display:flex;gap:12px;align-items:flex-start}
.c-info div i{font-style:normal;width:26px;text-align:center;flex-shrink:0}
.c-form{background:#fff;color:#000;border-radius:28px;padding:48px 42px;position:relative;overflow:hidden}
.c-form h3{font-size:26px;letter-spacing:-.02em;margin-bottom:6px}
.c-form>p{font-size:14px;color:#555;margin-bottom:24px}
.f-group{margin-bottom:16px}
.f-group label{display:block;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#666;margin-bottom:8px}
.f-group input,.f-group select,.f-group textarea{width:100%;border:1.5px solid #e2e2e5;border-radius:14px;padding:14px 16px;font-size:15px;font-family:var(--font);background:#fafafa;transition:.25s;color:#000;outline:none}
.f-group input:focus,.f-group select:focus,.f-group textarea:focus{border-color:#000;background:#fff;box-shadow:0 0 0 4px rgba(0,0,0,.06)}
.f-group textarea{resize:vertical;min-height:96px}
.f-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:520px){.f-row{grid-template-columns:1fr}.c-form,.c-left{padding:32px 24px}}
.btn-dark{background:#000;color:#fff;border:1px solid #000;width:100%;justify-content:center;padding:16px;font-size:15px}
.btn-dark:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(0,0,0,.25)}
.f-hint{font-size:12px;color:#888;margin-top:12px;text-align:center}

/* ---------- footer ---------- */
footer{border-top:1px solid var(--line);background:#08080a;position:relative;overflow:hidden}
footer::before{content:"";position:absolute;top:-1px;left:8%;right:8%;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.65),transparent)}
footer::after{content:"";position:absolute;top:-140px;left:50%;transform:translateX(-50%);width:640px;height:280px;background:radial-gradient(closest-side,rgba(255,255,255,.07),transparent);pointer-events:none}
.foot-top{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.25fr;gap:40px;padding:76px 0 32px;position:relative;z-index:1}
@media(max-width:920px){.foot-top{grid-template-columns:1fr 1fr;padding:56px 0 26px}}
@media(max-width:560px){.foot-top{grid-template-columns:1fr;gap:34px}}
.foot-brand p{color:var(--grey);font-size:14px;margin:18px 0 24px;max-width:300px}
.foot-socials{display:flex;gap:10px}
.fs-btn{width:50px;height:50px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;color:var(--grey);transition:background .3s,color .3s,border-color .3s,transform .2s}
.fs-btn:hover{background:#fff;border-color:#fff;color:#000}
.foot-h{font-size:12px;font-weight:800;letter-spacing:.25em;color:var(--grey2);margin-bottom:20px}
.foot-links{list-style:none;display:grid;gap:12px}
.foot-links a{color:var(--grey);font-size:14px;display:inline-flex;align-items:center;transition:color .3s,transform .3s}
.foot-links a::before{content:"→";max-width:0;overflow:hidden;white-space:nowrap;color:#fff;transition:max-width .3s,margin .3s}
.foot-links a:hover{color:#fff;transform:translateX(2px)}
.foot-links a:hover::before{max-width:22px;margin-right:7px}
.foot-contact{display:grid;gap:14px;font-size:14px;color:var(--grey);justify-items:start}
.foot-contact a.f-phone{font-size:22px;font-weight:900;color:#fff;letter-spacing:-.01em}
.foot-contact a.f-phone:hover{text-decoration:underline;text-underline-offset:5px}
.foot-contact div{display:flex;gap:10px;align-items:flex-start}
.foot-bottom{border-top:1px solid var(--line);padding:16px 0;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px;color:var(--grey2);position:relative;z-index:2}
.foot-bottom .made{display:flex;align-items:center;gap:9px}
.foot-bottom .made i{width:7px;height:7px;border-radius:50%;background:#fff;animation:blink 1.8s infinite}
.foot-giant{font-size:clamp(56px,12.5vw,190px);font-weight:900;letter-spacing:-.045em;line-height:.82;text-align:center;color:transparent;-webkit-text-stroke:1px #2c2c31;user-select:none;white-space:nowrap;margin:-10px 0 -.16em;transition:-webkit-text-stroke .5s;position:relative;z-index:1}
.foot-giant:hover{-webkit-text-stroke:1px rgba(255,255,255,.6)}
.to-top{position:fixed;bottom:26px;right:26px;width:52px;height:52px;border-radius:50%;background:#fff;color:#000;border:0;font-size:20px;cursor:pointer;z-index:90;display:grid;place-items:center;opacity:0;pointer-events:none;transform:translateY(16px);transition:.4s;box-shadow:0 12px 30px rgba(0,0,0,.4)}
.to-top.show{opacity:1;pointer-events:auto;transform:none}
.to-top:hover{transform:translateY(-4px)}
.toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%,120px);background:#fff;color:#000;padding:16px 26px;border-radius:16px;font-weight:700;font-size:14px;z-index:300;transition:transform .5s cubic-bezier(.34,1.56,.64,1);box-shadow:0 20px 60px rgba(0,0,0,.5);max-width:90vw;text-align:center}
.toast.show{transform:translate(-50%,0)}
@media(max-width:640px){.sec{padding:72px 0}.hero{padding-top:110px}}
/* ---------- mobile optimization ---------- */
html{-webkit-text-size-adjust:100%}
body{-webkit-tap-highlight-color:transparent}
a,button{touch-action:manipulation}
.cases-viewport{touch-action:pan-y}
.cases-dots button{position:relative}
.cases-dots button::after{content:"";position:absolute;inset:-14px -6px}
@media(max-width:900px){.price-note{position:static}}
@media(max-width:640px){
  .hero-orb{filter:blur(60px)}
  .orb1{width:280px;height:280px}
  .orb2{width:240px;height:240px}
  .badge{font-size:12px}
  .f-group input,.f-group select,.f-group textarea{font-size:16px}
  .sec-head{margin-bottom:40px}
  .cases-nav{flex-wrap:wrap}
  .to-top{bottom:calc(20px + env(safe-area-inset-bottom));right:20px}
  .toast{bottom:calc(20px + env(safe-area-inset-bottom))}
}
@media(max-width:560px){
  .nav-cta .btn-solid{display:none}
  .hero-btns{flex-direction:column;align-items:stretch}
  .hero-btns .btn{justify-content:center;padding:16px 24px;font-size:15px}
  .hero h1{font-size:clamp(36px,10.5vw,62px)}
  .mobile-menu{padding-bottom:calc(28px + env(safe-area-inset-bottom))}
  .foot-bottom{justify-content:center;text-align:center}
  .phone-big{font-size:clamp(25px,7.4vw,34px)}
}
@media(max-width:380px){
  .hero-tags span{font-size:11px;padding:5px 10px}
  .c-form,.c-left{padding:28px 20px}
  .foot-socials{gap:8px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms !important;transition-duration:.01ms !important}
  html{scroll-behavior:auto}
}

/* ---------- доступность: уважаем prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
  .rv{opacity:1!important;transform:none!important}
  .htool{animation:none!important}
}
.srv-card:focus-visible,.acc-head:focus-visible,a:focus-visible,button:focus-visible{outline:2px solid #fff;outline-offset:3px}

/* ============ заголовки разделов (вместо бейджей) ============ */
.sec-head{flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:16px}
.sec-title{display:flex;align-items:center;justify-content:center;gap:clamp(14px,3vw,34px);font-size:clamp(30px,4.6vw,54px);font-weight:800;letter-spacing:-.025em;line-height:1.1;margin:0}
.sec-title::before,.sec-title::after{content:"";width:clamp(18px,7vw,88px);height:1px;flex-shrink:0}
.sec-title::before{background:linear-gradient(90deg,transparent,rgba(255,255,255,.6))}
.sec-title::after{background:linear-gradient(90deg,rgba(255,255,255,.6),transparent)}
.sec-title span{background:linear-gradient(180deg,#ffffff 26%,#c9c9d4);-webkit-background-clip:text;background-clip:text;color:transparent}
.sec-sub{font-size:clamp(15px,1.5vw,20px);line-height:1.55;font-weight:500;color:#9a9aa6;max-width:780px;margin:0 auto;text-wrap:balance}
.c-label{font-family:var(--mono);font-size:12px;letter-spacing:.26em;color:#8b8b96;margin-bottom:4px}
/* ============ карточки работ ============ */
.case-tag{display:inline-flex;align-self:flex-start;align-items:center;gap:9px;font-family:var(--mono);font-size:12px;font-weight:700;letter-spacing:.2em;color:#fff;border:1px solid rgba(255,255,255,.32);border-radius:99px;padding:9px 18px;background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,.04));box-shadow:0 8px 22px rgba(0,0,0,.35);margin-bottom:22px}
.case-tag::before{content:"";width:6px;height:6px;border-radius:50%;background:#fff;box-shadow:0 0 10px rgba(255,255,255,.9);flex-shrink:0}
.case-body h3{font-size:clamp(21px,2.1vw,29px);margin:0 0 12px}
.case-body p{color:#b6b6c0;line-height:1.65}
.case-result{margin-top:24px;display:flex;gap:13px;align-items:flex-start;background:linear-gradient(100deg,rgba(255,255,255,.13),rgba(255,255,255,.03));border:1px solid rgba(255,255,255,.24);border-radius:16px;padding:16px 18px;font-size:15px;font-weight:600;line-height:1.45;color:#fff;box-shadow:0 10px 30px rgba(0,0,0,.3)}
.case-result .dot{width:22px;height:22px;border-radius:50%;background:#fff;color:#000;display:grid;place-items:center;flex-shrink:0;margin-top:1px;box-shadow:0 0 18px rgba(255,255,255,.35);animation:none}
.case-result .dot::after{content:"\2713";font-size:12px;font-weight:900;line-height:1}
/* ============ контакты: мессенджеры и карта ============ */
.c-row{display:grid;grid-template-columns:1fr 1fr;gap:18px 22px;margin:26px 0}
.msgr{display:flex;align-items:center;gap:13px;border:0;background:none;padding:0;opacity:.92;transition:transform .3s,opacity .3s}
.msgr:hover{transform:translateY(-3px);opacity:1}
.msgr img{width:42px;height:42px;display:block;flex-shrink:0;filter:drop-shadow(0 8px 16px rgba(0,0,0,.5))}
.msgr span{display:flex;flex-direction:column;line-height:1.3;min-width:0}
.msgr b{font-size:14px;color:#fff;font-weight:700}
.msgr small{font-size:12px;color:var(--grey2)}
.map-card{margin-top:28px;border:1px solid var(--line);border-radius:26px;background:linear-gradient(160deg,#151517,#0c0c0e);padding:26px}
.map-head{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:20px}
.map-title{font-size:20px;font-weight:800;letter-spacing:-.01em;color:#fff}
.map-addr{font-size:14px;color:var(--grey);margin-top:4px}
.map-wrap{position:relative;border-radius:18px;overflow:hidden;border:1px solid var(--line);aspect-ratio:16/9;background:#101014}
.map-wrap img.map-fallback{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
@media(max-width:700px){.c-row{grid-template-columns:1fr}.map-card{padding:18px}.map-head{flex-direction:column;align-items:flex-start}.map-wrap{aspect-ratio:4/3}}

/* ============ чёрный мрамор на фоне hero ============ */
.hero-cracks{position:absolute;inset:0;z-index:0;pointer-events:none;opacity:.55;mix-blend-mode:screen;background:url("../assets/img/cracks.svg") center/cover no-repeat}
@media(max-width:820px){.hero-cracks{opacity:.42}}

/* ============ правки 15 ============ */
/* «Услуги»: номеров нет, заголовок встаёт на их место */
.srv-card h3{margin-top:0}
/* «Почему мы»: цифры от руки вместо иконок */
.why-ico{width:64px;height:64px;border-radius:20px;background:none;box-shadow:none;display:grid;place-items:center;flex-shrink:0}
.why-num{font-family:var(--font-hand);font-weight:700;font-size:52px;line-height:.9;color:#fff;letter-spacing:-.01em;transform:rotate(-5deg);text-shadow:0 0 30px rgba(255,255,255,.3)}
@media(max-width:520px){.why-ico{width:52px;height:52px}.why-num{font-size:42px}}
/* форма заявки */
.c-form{box-shadow:0 34px 80px rgba(0,0,0,.42),0 0 0 1px rgba(255,255,255,.07)}
.c-form h3{font-size:30px;letter-spacing:-.025em;margin-bottom:8px}
.c-form>p{font-size:13.5px;line-height:1.6;color:#6d6d76;margin-bottom:26px;max-width:46ch}
.f-group{margin-bottom:18px}
.f-group label{font-size:11px;letter-spacing:.1em;color:#8a8a94;margin-bottom:9px}
.f-group input,.f-group textarea{width:100%;border:1.5px solid #e6e6ea;border-radius:16px;padding:15px 18px;font-size:16px;font-family:var(--font);background:#f7f7f9;transition:border-color .25s,box-shadow .25s,background .25s;color:#000;outline:none;box-shadow:0 1px 2px rgba(16,16,24,.04)}
.f-group input::placeholder,.f-group textarea::placeholder{color:#b3b3bb}
.f-group input:focus,.f-group textarea:focus{border-color:#111;background:#fff;box-shadow:0 0 0 4px rgba(0,0,0,.07)}
.f-group textarea{min-height:112px;line-height:1.55}
#leadForm .btn-dark{width:100%;justify-content:center;padding:17px 24px;font-size:15px;border-radius:16px;margin-top:4px}
.f-hint{font-size:11.5px;line-height:1.5;color:#9a9aa4;margin-top:14px}
/* выбор «Что сломалось» */
.f-group select#fType{position:absolute;width:1px;height:1px;padding:0;border:0;opacity:0;pointer-events:none}
.fsel{position:relative}
.fsel-btn{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:1.5px solid #e6e6ea;border-radius:16px;padding:12px 16px;font-size:16px;font-family:var(--font);background:#f7f7f9;color:#000;cursor:pointer;transition:border-color .25s,box-shadow .25s,background .25s;box-shadow:0 1px 2px rgba(16,16,24,.04)}
.fsel-btn:hover{border-color:#d2d2d9}
.fsel.is-open .fsel-btn{border-color:#111;background:#fff;box-shadow:0 0 0 4px rgba(0,0,0,.07)}
.fsel-t{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fsel-ico{display:grid;place-items:center;width:28px;height:28px;flex-shrink:0;border-radius:9px;background:#eeeef3;color:#111;transition:background .2s,color .2s}
.fsel-ico svg{width:19px;height:19px;display:block}
.fsel-caret{flex-shrink:0;color:#8a8a94;transition:transform .25s}
.fsel.is-open .fsel-caret{transform:rotate(180deg)}
.fsel-list{position:absolute;z-index:40;top:calc(100% + 8px);left:0;right:0;background:#fff;border:1px solid #e9e9ee;border-radius:18px;padding:8px;margin:0;list-style:none;box-shadow:0 26px 54px rgba(16,16,24,.2);max-height:296px;overflow:auto;opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .2s,transform .2s,visibility .2s}
.fsel.is-open .fsel-list{opacity:1;visibility:visible;transform:none}
.fsel-opt{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:12px;cursor:pointer;font-size:15px;color:#111;transition:background .16s,color .16s}
.fsel-opt:hover{background:#f4f4f8}
.fsel-opt.is-on{background:#111;color:#fff}
.fsel-opt.is-on .fsel-ico{background:rgba(255,255,255,.15);color:#fff}
/* «Мы на Яндекс.Картах» */
.map-title{font-size:26px;display:flex;align-items:center;gap:11px;flex-wrap:wrap}
.ya-logo{width:auto;height:30px;flex-shrink:0;display:block}
@media(max-width:520px){.map-title{font-size:22px}.ya-logo{height:26px}}
/* ============ правки 16 ============ */
/* «Наши работы»: текст чуть крупнее исходного (фото на месте) */
.case-tag{font-size:17px}
.case-body h3,.case h3{font-size:clamp(23px,2.4vw,31px);line-height:1.22;margin-bottom:16px}
.case-body p{font-size:16px;line-height:1.68}
/* «Что сломалось?»: фото техники */
.fsel-ico{width:36px;height:36px;border-radius:10px;overflow:hidden;background:#eeeef3;flex-shrink:0;display:grid;place-items:center}
.fsel-img{width:36px;height:36px;object-fit:cover;display:block}
/* подвал */
.foot-giant{margin:0;padding:0;line-height:0;overflow:hidden}
.foot-giant svg{width:100%;height:auto;display:block}
.foot-giant text{transition:stroke .45s}
.foot-giant:hover text{stroke:rgba(255,255,255,.62)}
.foot-h{color:#fff;text-shadow:0 0 12px rgba(255,255,255,.5),0 0 30px rgba(255,255,255,.22)}
.foot-links a:hover{text-shadow:0 0 14px rgba(255,255,255,.55)}
.foot-socials{gap:12px}
.fs-btn{width:52px;height:52px;transition:background .3s,border-color .3s,box-shadow .3s,transform .2s}
.fs-btn img{width:26px;height:26px;display:block}
.fs-btn:hover{background:#fff;border-color:#fff;box-shadow:0 0 26px rgba(255,255,255,.35)}
.foot-contact .btn{padding:17px 28px;font-size:15px;border-radius:15px}
.foot-bottom{justify-content:flex-start}
.foot-logo{height:126px;margin:-12px 0 8px}
@media(max-width:1200px){.foot-logo{height:98px}}
@media(max-width:700px){.foot-logo{height:80px}}
/* «Цены» */
.price-note{border-radius:28px;padding:42px 38px;background:linear-gradient(165deg,#ffffff,#f4f4f7 55%,#e9e9ef);box-shadow:0 34px 80px rgba(0,0,0,.5),0 0 0 1px rgba(255,255,255,.08)}
.price-note h3{font-size:29px;letter-spacing:-.025em;line-height:1.22;margin-bottom:14px}
.price-note>p{font-size:14.5px;line-height:1.62;color:#5f5f6a;margin-bottom:22px}
.price-note ul{gap:0;margin-bottom:26px}
.price-note ul li{padding:13px 0;border-top:1px solid rgba(0,0,0,.09);font-size:14.5px;line-height:1.5}
.price-note ul li i{display:none}
.price-note ul li::before{content:"\2014";color:#000;opacity:.4;margin-right:12px;font-weight:700}
.price-note .btn-dark{width:100%;justify-content:center;border-radius:16px;padding:17px 24px}
.acc{border:1px solid var(--line);border-radius:20px;background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.012));margin-bottom:12px;overflow:hidden;transition:border-color .35s,background .35s}
.acc:hover{border-color:rgba(255,255,255,.3)}
.acc.open{border-color:rgba(255,255,255,.36);background:linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.02))}
.acc-head{font-size:18px;padding:22px 24px;gap:14px;letter-spacing:-.01em}
.acc-head .plus{border:0;background:rgba(255,255,255,.08);transition:transform .4s cubic-bezier(.22,1,.36,1),background .3s,color .3s}
.acc.open .acc-head .plus{transform:rotate(45deg);background:#fff;color:#000}
.acc-body ul{padding:0 24px 22px}
.acc-body li{padding:14px 0;font-size:15px}
.acc-body li b{font-size:14px;padding:5px 12px;border-radius:99px;background:rgba(255,255,255,.07);letter-spacing:.02em}
@media(max-width:820px){.price-note{padding:32px 24px}.price-note h3{font-size:25px}.acc-head{font-size:16px;padding:18px 18px}}
/* ============ правки 17 ============ */
/* «Цены»: цифры неоновые, без плашки-фона */
.acc-body li b{background:none;padding:0;border-radius:0;font-size:16px;letter-spacing:0;color:#fff;text-shadow:0 0 10px rgba(255,255,255,.6),0 0 26px rgba(255,255,255,.32),0 0 46px rgba(255,255,255,.18)}
/* подвал: иконки мессенджеров без рамок */
.fs-btn{border-color:transparent;background:none}
.fs-btn:hover{background:none;border-color:transparent;box-shadow:none;transform:translateY(-3px)}
.fs-btn img{transition:filter .3s}
.fs-btn:hover img{filter:drop-shadow(0 0 10px rgba(255,255,255,.85))}
/* ============ правки 18 ============ */
/* логотип внизу левой карточки «Контакты» */
.c-brand{margin-top:30px;padding-top:26px;border-top:1px solid var(--line)}
.c-brand-logo{height:88px;margin:0;display:block}
@media(max-width:920px){.c-brand-logo{height:74px}}
@media(max-width:560px){.c-brand-logo{height:62px}}
/* разделы в подвале крупнее */
.foot-h{font-size:18px;letter-spacing:.16em;margin-bottom:22px}
.foot-links a{font-size:15px}
.foot-links{gap:14px}
/* ============ правки 19 ============ */
/* логотип в «Контактах»: по центру и вдвое больше */
.c-brand{margin-top:34px;padding-top:28px;border-top:1px solid var(--line);display:flex;justify-content:center}
.c-brand-logo{height:176px}
@media(max-width:920px){.c-brand-logo{height:138px}}
@media(max-width:560px){.c-brand-logo{height:108px}}
/* подвал: названия разделов ещё крупнее */
.foot-h{font-size:21px;letter-spacing:.13em;margin-bottom:24px}
/* подвал: описание под логотипом крупнее */
.foot-brand p{font-size:17px;line-height:1.62;max-width:340px;margin:20px 0 26px}
/* подвал: иконки мессенджеров вдвое крупнее */
.foot-socials{gap:14px;flex-wrap:wrap}
.fs-btn{width:76px;height:76px}
.fs-btn img{width:52px;height:52px}
@media(max-width:520px){.fs-btn{width:64px;height:64px}.fs-btn img{width:44px;height:44px}}





/* ============ правки 20 ============ */
/* --- производительность --- */
/* backdrop-filter — самый дорогой эффект на слабых телефонах: гасим его */
@media(max-width:820px){
  .nav-links a,.nav-cta .btn-ghost,.badge,.cv-num,.fs-btn{backdrop-filter:none;-webkit-backdrop-filter:none}
}
/* blend-mode на телефонах не нужен: прожилки и так на чёрном фоне */
@media(max-width:820px){.hero-cracks{mix-blend-mode:normal}}
/* подвал не нужен для первой отрисовки — не считаем его заранее */
footer{content-visibility:auto;contain-intrinsic-size:auto 900px}
/* уважаем системную настройку «меньше движения» */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
}
/* --- иконки и текст в «Контактах» --- */
.c-info{font-size:17px;gap:16px;margin-top:14px;line-height:1.55}
.c-info div{gap:14px;align-items:flex-start}
.c-info div i{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.06);border:1px solid var(--line);display:grid;place-items:center;flex-shrink:0;font-style:normal;box-shadow:0 0 18px rgba(255,255,255,.1);margin-top:1px;transition:border-color .3s,box-shadow .3s,background .3s}
.c-info div:hover i{border-color:rgba(255,255,255,.45);background:rgba(255,255,255,.1);box-shadow:0 0 24px rgba(255,255,255,.24)}
.c-info div i svg{width:19px;height:19px;color:#fff}
/* --- иконки в подвале --- */
.foot-contact{font-size:15px;gap:16px}
.foot-contact>div{gap:13px}
.foot-contact .fi{width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.05);border:1px solid var(--line);display:grid;place-items:center;flex-shrink:0}
.foot-contact .fi svg{width:17px;height:17px;color:#fff}
/* инструменты hero: жёсткая композиция в единицах u */
@media(min-width:1101px){
  .hero-tools{--u:min(6.25vw,11.11vh)}
  .hero-tools .htool{
    left:calc(50% + var(--u) * var(--x));
    top:calc(50% + var(--u) * var(--y));
    width:calc(var(--u) * var(--s));
    margin-left:calc(var(--u) * var(--s) / -2);
    margin-top:calc(var(--u) * var(--s) * var(--ar,1) / -2);
  }
  .hero-tools .htool:nth-child(1){--x:-5.10!important;--y:-1.35!important;--s:2.02!important}
  .hero-tools .htool:nth-child(2){--x:-6.30!important;--y:+2.70!important;--s:1.19!important}
  .hero-tools .htool:nth-child(3){--x:-4.05!important;--y:+3.30!important;--s:2.79!important}
  .hero-tools .htool:nth-child(4){--x:+6.75!important;--y:-2.25!important;--s:1.84!important}
  .hero-tools .htool:nth-child(5){--x:+6.30!important;--y:+1.50!important;--s:2.00!important}
  .hero-tools .htool:nth-child(6){--x:+5.40!important;--y:+3.45!important;--s:2.73!important}
  .hero-tools .htool:nth-child(7){--x:-6.75!important;--y:+0.00!important;--s:1.80!important}
  .hero-tools .htool:nth-child(8){--x:+4.95!important;--y:-1.20!important;--s:1.85!important}
}
@media(min-width:1101px) and (max-width:1200px){
  /* на 1101-1200px заголовок не переносится и занимает ~920px из 1101:
     три инструмента, попадающие в его строку, скрываем — остальные стоят
     на тех же местах, композиция не меняется */
  .hero-tools .htool:nth-child(1),
  .hero-tools .htool:nth-child(4),
  .hero-tools .htool:nth-child(8){display:none}
}
/* ноутбуки: два верхних инструмента hero (левый — гаечный ключ, правый —
   в правом верхнем углу) на коротком экране оказывались в 77-109 px
   от верха, то есть рядом с шапкой (шапка занимает 0..88 px) и почти
   наезжали на логотип и кнопку «Записаться». Опускаем их ниже.
   Экраны выше 1120 px не трогаем — там запас и так 130-150 px. */
@media(min-width:1021px) and (max-width:1100px) and (max-height:1120px){
  .hero-tools .htool:nth-child(1){--y:22%!important}
  .hero-tools .htool:nth-child(4){--y:21%!important}
}
@media(min-width:1021px) and (max-width:1100px) and (max-height:940px){
  .hero-tools .htool:nth-child(1){--y:25%!important}
  .hero-tools .htool:nth-child(4){--y:24%!important}
}
/* --- «Сделано среди звёзд» + логотип: под кнопкой «Оставить заявку» ---
   Селектор .foot-contact .foot-made — по специфичности он выше, чем
   .foot-contact div и .foot-contact>div, иначе те перебили бы отступы. */
.foot-contact .foot-made{display:flex;align-items:center;gap:8px;margin-top:18px;flex-wrap:wrap;max-width:100%}
.foot-contact .foot-made span{font-size:11px;color:var(--grey2);white-space:nowrap;line-height:1.2}
/* Размеры заданы и по ширине, и по высоте, и flex:0 0 auto:
   иначе flexbox сжимал картинку по ширине, а высота оставалась —
   логотип получался сплющенным по горизонтали. */
.foot-contact .foot-made img{flex:0 0 auto;width:137px;height:30px;object-fit:contain;display:block;opacity:.85;transition:opacity .3s,filter .3s}
.foot-contact .foot-made img:hover{opacity:1;filter:drop-shadow(0 0 9px rgba(255,255,255,.45))}
@media(min-width:921px) and (max-width:1300px){
  .foot-contact .foot-made{gap:8px}
  .foot-contact .foot-made span{font-size:11px}
}
@media(max-width:560px){
  .foot-contact .foot-made{margin-top:14px;gap:8px}
  .foot-contact .foot-made img{width:110px;height:24px}
}
  .foot-contact .foot-made span{font-size:12px}
/* --- четыре мессенджера строго в одну строку --- */
@media(min-width:921px){.foot-top{grid-template-columns:1.65fr 1fr 1fr 1.15fr}}
.foot-socials{flex-wrap:nowrap;gap:clamp(6px,.9vw,14px)}
.fs-btn{width:clamp(48px,4.9vw,76px);height:clamp(48px,4.9vw,76px)}
.fs-btn img{width:clamp(30px,3.3vw,50px);height:clamp(30px,3.3vw,50px)}
@media(max-width:560px){
  .fs-btn{width:clamp(44px,12.5vw,64px);height:clamp(44px,12.5vw,64px)}
  .fs-btn img{width:clamp(28px,8.2vw,42px);height:clamp(28px,8.2vw,42px)}
}

/* ===== правка 26: мобильная версия ===== */
@keyframes mmIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@media(max-width:1020px){
  .mobile-menu{width:min(370px,88vw);padding:118px 20px 26px;gap:13px;
    background:linear-gradient(180deg,#121217 0%,#0a0a0c 100%);
    border-left:1px solid rgba(255,255,255,.1);
    box-shadow:-28px 0 90px rgba(0,0,0,.65);
    overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  .mm-kicker{font-family:var(--mono);font-size:11px;letter-spacing:.3em;
    text-transform:uppercase;color:var(--grey2);padding-left:8px}
  .mm-nav{display:flex;flex-direction:column;gap:10px}
  .mobile-menu a.mm-link{display:flex;align-items:center;gap:13px;padding:13px 14px;
    border:1px solid rgba(255,255,255,.09);border-radius:18px;
    background:rgba(255,255,255,.045);color:#fff;font-size:19px;font-weight:700;
    letter-spacing:-.01em;line-height:1.2;
    animation:mmIn .5s cubic-bezier(.2,.7,.3,1) both}
  .mobile-menu a.mm-link:nth-child(1){animation-delay:.05s}
  .mobile-menu a.mm-link:nth-child(2){animation-delay:.11s}
  .mobile-menu a.mm-link:nth-child(3){animation-delay:.17s}
  .mobile-menu a.mm-link:nth-child(4){animation-delay:.23s}
  .mobile-menu a.mm-link:hover,.mobile-menu a.mm-link:active{
    background:rgba(255,255,255,.11);border-color:rgba(255,255,255,.3);padding-left:14px}
  .mm-ico{width:40px;height:40px;flex:0 0 auto;border-radius:13px;
    background:rgba(255,255,255,.09);color:#fff;
    display:flex;align-items:center;justify-content:center}
  .mm-ico svg{width:20px;height:20px}
  .mm-txt{flex:1 1 auto;min-width:0}
  .mm-arrow{width:16px;height:16px;flex:0 0 auto;color:var(--grey2);opacity:.65}
  .mobile-menu .mm-cta{margin-top:4px;padding:20px 26px;font-size:17px;
    border-radius:99px;justify-content:center;
    animation:mmIn .5s cubic-bezier(.2,.7,.3,1) .29s both}
  .mm-socials{display:flex;gap:12px;justify-content:center;margin-top:4px;
    animation:mmIn .5s cubic-bezier(.2,.7,.3,1) .35s both}
  .mm-socials a.mm-msgr{width:48px;height:48px;flex:0 0 auto;border-radius:50%;
    border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.05);
    display:flex;align-items:center;justify-content:center;
    transition:border-color .25s,background .25s,transform .25s}
  .mm-socials a.mm-msgr:active{transform:scale(.94);border-color:#fff;
    background:rgba(255,255,255,.14)}
  .mm-socials img{width:26px;height:26px}
  .mm-note{font-family:var(--mono);font-size:10px;letter-spacing:.16em;
    text-transform:uppercase;color:var(--grey2);text-align:center;margin-top:2px}
}
/* шапка на телефоне — крупнее */
@media(max-width:920px){
  .logo-img{height:92px;margin:-8px 0}
  .nav{padding:12px 0 14px}
  .nav-cta{gap:12px}
  .burger{width:58px;height:58px;border-radius:18px}
  .burger span{width:24px}
  .call-round{width:58px;height:58px}
}
@media(max-width:560px){
  .mobile-menu{padding-top:106px}
  .logo-img{height:80px;margin:-7px 0}
  .nav{padding:10px 0 12px}
  .burger{width:54px;height:54px;border-radius:16px}
  .burger span{width:23px}
  .call-round{width:52px;height:52px}
}
/* шапка на телефоне выше — верхний инструмент hero опускаем под неё */
@media(max-width:820px){
  .htool:has(img[src*="tool-01"]){--y:max(15%,148px)!important}
  .htool:has(img[src*="tool-04"]){--y:max(16%,132px)!important}
}
/* hero на телефоне: заголовок крупнее, кнопки выше и уже */
@media(max-width:640px){
  .hero{padding-top:126px}
}
@media(max-width:560px){
  .hero h1{font-size:clamp(52px,17.4vw,92px)}
  /* текст героя чуть шире контейнера — под крупный заголовок */
  .hero-inner{max-width:none;margin-left:-2vw;margin-right:-2vw}
  .hero-btns{flex-direction:column;align-items:center;gap:12px}
  .hero-btns .btn{padding:19px 28px;font-size:17px;width:auto}
}

/* ===== правка 27: подвал на телефоне компактнее, иконки крупнее ===== */
@media(max-width:920px){
  .foot-top{padding:42px 0 20px;gap:28px}
  .foot-h{margin-bottom:16px}
  .foot-links{gap:12px}
  .foot-contact{gap:13px}
  .foot-brand p{margin:14px 0 20px}
}
@media(max-width:560px){
  /* --- компактнее --- */
  .foot-top{padding:34px 0 14px;gap:20px}
  .foot-logo{height:64px;margin:-10px 0 4px}
  .foot-brand p{line-height:1.5;margin:10px 0 14px}
  .foot-h{letter-spacing:.14em;margin-bottom:11px}
  .foot-links{grid-template-columns:1fr 1fr;gap:9px 14px}
  .foot-contact{gap:10px}
  .foot-contact>div{gap:11px}
  .foot-contact .foot-made{margin-top:9px}
  .foot-bottom{padding:12px 0}
  /* --- иконки мессенджеров крупнее (в один ряд, без переноса) --- */
  .foot-socials{gap:clamp(10px,3vw,16px);flex-wrap:nowrap}
  .fs-btn{width:clamp(56px,17vw,76px);height:clamp(56px,17vw,76px)}
  .fs-btn img{width:clamp(36px,11vw,50px);height:clamp(36px,11vw,50px)}
}

/* ===== правка 28 ===== */
/* --- кнопка «Мы на Яндекс.Картах» в конце блока карты --- */
.ya-btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;
  margin-top:18px;padding:13px 26px;border:1px solid var(--line);border-radius:99px;
  color:#fff;font-size:16px;font-weight:700;letter-spacing:-.01em;text-decoration:none;
  transition:border-color .3s,background .3s,transform .25s,box-shadow .3s}
.ya-btn:hover{border-color:#fff;background:rgba(255,255,255,.06);
  transform:translateY(-2px);box-shadow:0 12px 32px rgba(255,255,255,.14)}
.ya-btn img{width:auto;height:28px;flex-shrink:0;display:block}
/* --- «Мы на Яндекс.Картах»: крупнее и по центру на телефоне --- */
@media(max-width:700px){
  .map-head{align-items:center;text-align:center}
  .map-title{justify-content:center;gap:10px;line-height:1.2}
  .ya-logo{height:30px}
  .ya-btn{width:100%;margin-top:16px;padding:15px 22px}
}
/* --- подвал на телефоне: заголовки разделов и логотип по центру --- */
@media(max-width:560px){
  .foot-h{text-align:center}
  .foot-brand{display:flex;flex-direction:column;align-items:center;text-align:center}
  .foot-brand p{margin-left:auto;margin-right:auto}
  .c-form h3{text-align:center}
}
/* --- заголовки разделов на телефоне крупнее (декоративные линии — короче,
       иначе на 320px заголовок не влезает и рвётся на две строки) --- */
@media(max-width:820px){
  .sec-title{font-size:clamp(40px,11vw,56px) !important;font-weight:850 !important;gap:clamp(10px,3vw,20px) !important}
  .sec-title::before,.sec-title::after{width:clamp(12px,4vw,28px) !important}
}
@media(max-width:560px){
  .sec-title{font-size:clamp(38px,11.2vw,52px) !important;gap:12px !important}
  .sec-title::before,.sec-title::after{width:14px !important}
}
@media(max-width:360px){
  .sec-title{font-size:clamp(33px,10.2vw,44px) !important;gap:8px !important}
  .sec-title::before,.sec-title::after{width:10px !important}
}
/* --- «Наши работы» компактнее на телефоне --- */
@media(max-width:560px){
  .case-visual{min-height:230px}
  .case-body{padding:22px 18px}
  .case-body h3{margin-bottom:10px}
  .case-body p{margin-bottom:8px;line-height:1.55}
  .case-result{margin-top:16px}
  .cases-nav{margin-top:16px}
  .vk-link{margin-top:18px}
}
/* --- на очень низких экранах (320x568, 360x640) контент hero не заезжает
       под шапку: прижимаем к верху, лишнее уезжает вниз --- */
@media(max-width:560px) and (max-height:640px){
  .hero{align-items:flex-start;padding-top:112px}
}
/* --- полоски слайдера: видны все, переносом --- */
@media(max-width:640px){
  .cases-nav{justify-content:center;gap:12px}
  .cases-dots{flex-wrap:wrap;justify-content:center;width:100%;margin-left:0;row-gap:8px}
  .cases-dots button{width:22px}
  .cases-dots button.active{width:36px}
}

/* --- подвал на телефоне: всё по центру, «Сделано среди звёзд» крупнее --- */
@media(max-width:560px){
  .foot-h{text-align:center}
  .foot-links{justify-items:center;text-align:center}
  .foot-contact{justify-items:center;text-align:center}
  .foot-contact>div{justify-content:center}
  .foot-contact .btn{
    margin-left:auto !important;
    margin-right:auto !important;
    padding:18px 34px !important;
    font-size:17.5px !important;
    font-weight:750 !important;
    min-height:56px !important;
    border-radius:99px !important;
    border:1.5px solid rgba(255,255,255,.65) !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    box-shadow:0 6px 20px rgba(0,0,0,.35) !important;
  }
  .foot-contact .btn:active{
    transform:scale(.97) !important;
  }
  .foot-contact .foot-made{justify-content:center;gap:12px;margin-top:16px}
  .foot-contact .foot-made span{font-size:14px}
  .foot-contact .foot-made img{width:150px;height:33px}
}
/* --- окно заявки: не уезжает под шапку при скролле по якорю --- */
.c-form{scroll-margin-top:110px}
/* --- «Мы на Яндекс.Картах»: картинка не переносится вниз --- */
@media(max-width:700px){
  .map-title{flex-wrap:nowrap;gap:10px;font-size:clamp(24px,6.4vw,30px);line-height:1.2}
  .ya-logo{height:28px}
}
/* --- иконка в кнопке Яндекс.Карт --- */
.ya-btn img{height:34px}
/* --- картинки в «Что сломалось?» крупнее --- */
.fsel-ico{width:48px;height:48px;border-radius:12px}
.fsel-img{width:48px;height:48px}
@media(max-width:560px){
  .fsel-list{max-height:340px}
}
/* ===== правки 30 ===== */
/* 1. кнопка «Мы на Яндекс.Картах» на ПК — по центру под картой */
@media(min-width:701px){
  .ya-btn{display:flex;width:fit-content;margin-left:auto;margin-right:auto}
}
/* 3. «Сделано среди звёзд» + nightsours в подвале — крупнее на ПК
      (логотип 137x30 -> 180x39, подпись 11px -> 14px; пропорции картинки 420x92 сохранены) */
@media(min-width:561px){
  .foot-contact .foot-made img{width:180px;height:39px}
  .foot-contact .foot-made span{font-size:14px}
}
/* 4. инструменты hero на ПК — чуть меньше: те же места, размер ~ -10% */
@media(min-width:1101px){
  .hero-tools .htool:nth-child(1){--s:1.82!important}
  .hero-tools .htool:nth-child(2){--s:1.07!important}
  .hero-tools .htool:nth-child(3){--s:2.51!important}
  .hero-tools .htool:nth-child(4){--s:1.66!important}
  .hero-tools .htool:nth-child(5){--s:1.80!important}
  .hero-tools .htool:nth-child(6){--s:2.46!important}
  .hero-tools .htool:nth-child(7){--s:1.62!important}
  .hero-tools .htool:nth-child(8){--s:1.67!important}
}

/* ================================================================
   СОВРЕМЕННОЕ МОБИЛЬНОЕ МЕНЮ (DARK GLASSMORPHISM)
   ================================================================ */
.mm-backdrop{
  position:fixed;
  inset:0;
  background:rgba(4,4,7,.8);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  z-index:98;
  opacity:0;
  pointer-events:none;
  transition:opacity .35s ease;
}
.mm-backdrop.open{
  opacity:1;
  pointer-events:auto;
}

.mobile-menu{
  display:none;
  position:fixed;
  top:0;
  right:0;
  bottom:0;
  width:min(400px, 92vw);
  background:linear-gradient(180deg, #131317 0%, #0d0d10 50%, #070709 100%);
  border-left:1px solid rgba(255,255,255,.12);
  z-index:99;
  padding:26px 20px 24px;
  flex-direction:column;
  gap:16px;
  transform:translateX(100%);
  transition:transform .4s cubic-bezier(.22, 1, .36, 1);
  box-shadow:-24px 0 80px rgba(0,0,0,.8), inset 1px 0 0 rgba(255,255,255,.07);
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}
.mobile-menu.open{
  transform:translateX(0);
}
@media(max-width:1020px){
  .mobile-menu{display:flex}
}

.mm-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-bottom:16px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.mm-brand{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.mm-brand-title{
  font-family:var(--font-display);
  font-size:20px;
  font-weight:300;
  letter-spacing:-.01em;
  color:#fff;
}
.mm-brand-title b{
  font-weight:700;
  -webkit-text-stroke:.4px #fff;
  text-shadow:0 0 10px rgba(255,255,255,.5);
}
.mm-status{
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-family:var(--mono);
  font-size:11px;
  color:#9a9aa4;
  letter-spacing:.04em;
}
.pulse-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#22c55e;
  box-shadow:0 0 8px #22c55e;
  flex-shrink:0;
  display:inline-block;
}
.mm-close{
  width:42px;
  height:42px;
  border-radius:50%;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  display:grid;
  place-items:center;
  cursor:pointer;
  transition:background .2s, transform .2s, border-color .2s;
  flex-shrink:0;
}
.mm-close:active{
  transform:scale(.92);
  background:rgba(255,255,255,.16);
  border-color:#fff;
}

.mm-nav{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.mm-link{
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 16px;
  border-radius:18px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  color:#fff !important;
  text-decoration:none;
  transition:all .25s ease;
  position:relative;
  overflow:hidden;
}
.mm-link:hover, .mm-link:active{
  background:rgba(255,255,255,.09) !important;
  border-color:rgba(255,255,255,.26) !important;
  transform:translateX(3px);
  box-shadow:0 8px 24px rgba(0,0,0,.35), inset 0 0 14px rgba(255,255,255,.03);
}
.mm-ico{
  width:42px;
  height:42px;
  border-radius:13px;
  background:linear-gradient(135deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  display:grid;
  place-items:center;
  flex-shrink:0;
}
.mm-ico svg{
  width:20px;
  height:20px;
}
.mm-txt-wrap{
  display:flex;
  flex-direction:column;
  gap:2px;
  flex:1;
  min-width:0;
}
.mm-txt{
  font-size:17px;
  font-weight:700;
  letter-spacing:-.015em;
  color:#f4f4f7;
  line-height:1.2;
}
.mm-sub{
  font-size:12px;
  color:#8a8a94;
  font-weight:400;
  line-height:1.2;
}
.mm-arrow-box{
  width:24px;
  height:24px;
  color:rgba(255,255,255,.35);
  display:grid;
  place-items:center;
  transition:transform .2s, color .2s;
  flex-shrink:0;
}
.mm-arrow-box svg{
  width:16px;
  height:16px;
}
.mm-link:hover .mm-arrow-box, .mm-link:active .mm-arrow-box{
  color:#fff;
  transform:translateX(2px);
}

.mm-actions{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:4px;
}
.mm-btn-cta{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:16px 22px;
  background:linear-gradient(135deg, #ffffff 0%, #e6e6ed 100%);
  color:#08080a !important;
  font-size:16px;
  font-weight:750;
  letter-spacing:-.01em;
  border-radius:16px;
  text-decoration:none;
  box-shadow:0 0 28px rgba(255,255,255,.24), 0 10px 24px rgba(0,0,0,.4);
  transition:transform .2s, box-shadow .2s;
}
.mm-btn-cta:active{
  transform:scale(.98);
  box-shadow:0 0 18px rgba(255,255,255,.2);
}
.mm-call-card{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:13px 18px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
  border-radius:15px;
  color:#fff !important;
  text-decoration:none;
  transition:background .2s, border-color .2s;
}
.mm-call-card:hover, .mm-call-card:active{
  background:rgba(255,255,255,.1);
  border-color:rgba(255,255,255,.3);
}
.mm-call-ico{
  color:#22c55e;
  display:grid;
  place-items:center;
}
.mm-call-num{
  font-family:var(--mono);
  font-size:15px;
  font-weight:600;
  letter-spacing:.02em;
}

.mm-social-section{
  margin-top:2px;
}
.mm-section-title{
  font-family:var(--mono);
  font-size:10.5px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#71717a;
  margin-bottom:10px;
  text-align:center;
}
.mm-socials{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:8px;
}
.mm-msgr{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  padding:10px 4px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  color:#a1a1aa !important;
  text-decoration:none;
  font-size:11px;
  font-weight:600;
  transition:all .2s;
}
.mm-msgr:hover, .mm-msgr:active{
  background:rgba(255,255,255,.1) !important;
  border-color:rgba(255,255,255,.24) !important;
  color:#fff !important;
  transform:translateY(-2px);
}
.mm-msgr img{
  width:26px;
  height:26px;
  object-fit:contain;
}

.mm-foot-info{
  margin-top:auto;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.07);
  font-size:11.5px;
  color:#63636e;
  text-align:center;
  line-height:1.45;
}

/* ================================================================
   HERO НА ТЕЛЕФОНЕ: КРУПНЫЙ ЗАГОЛОВОК, ЦЕНТРИРОВАНИЕ ТЕКСТА
   ================================================================ */
@media(max-width:820px){
  .hero{
    padding-top:124px;
    padding-bottom:52px;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .hero-inner{
    text-align:center !important;
    margin-left:auto !important;
    margin-right:auto !important;
    max-width:100% !important;
    width:100% !important;
    padding:0 16px !important;
  }
  .hero-inner > div{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    text-align:center !important;
    width:100% !important;
  }
  .hero h1{
    font-size:clamp(54px, 16vw, 88px) !important;
    line-height:0.95 !important;
    letter-spacing:-.02em !important;
    text-align:center !important;
    margin:0 auto 16px auto !important;
    width:100% !important;
  }
  .hero h1 .word{
    display:block !important;
    margin:0 auto !important;
    text-align:center !important;
    padding:0.1em 0.15em !important;
    white-space:nowrap !important;
  }
  .hero-sub{
    font-size:clamp(16px, 4.3vw, 19.5px) !important;
    line-height:1.55 !important;
    text-align:center !important;
    margin-left:auto !important;
    margin-right:auto !important;
    margin-bottom:24px !important;
    max-width:520px !important;
    padding:0 8px !important;
    color:#a1a1aa !important;
  }
  .hero-btns{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    max-width:280px !important;
    margin:0 auto !important;
    gap:13px !important;
  }
  .hero-btns .btn{
    width:100% !important;
    min-height:64px !important;
    justify-content:center !important;
    text-align:center !important;
    padding:18px 22px !important;
    font-size:19.5px !important;
    font-weight:800 !important;
    letter-spacing:-.01em !important;
    border-radius:99px !important;
    box-shadow:0 8px 28px rgba(0,0,0,.45) !important;
    transition:transform .2s ease, box-shadow .2s ease, background .2s ease !important;
    white-space:nowrap !important;
  }
  .hero-btns .btn-solid{
    background:#ffffff !important;
    color:#000000 !important;
    border:1.5px solid #ffffff !important;
    box-shadow:0 0 32px rgba(255,255,255,.28), 0 10px 24px rgba(0,0,0,.45) !important;
  }
  .hero-btns .btn-ghost{
    background:rgba(255,255,255,.07) !important;
    color:#ffffff !important;
    border:1.5px solid rgba(255,255,255,.32) !important;
    box-shadow:0 8px 24px rgba(0,0,0,.35) !important;
  }
  .hero-btns .btn:active{
    transform:scale(.97) !important;
  }
}

/* ================================================================
   ИНСТРУМЕНТЫ HERO НА ТЕЛЕФОНЕ: ВСЕ 8 РАСПРЕДЕЛЕНЫ ПО ВСЕМУ ЭКРАНУ
   ================================================================ */
@media(max-width:820px){
  .hero-tools{
    position:absolute !important;
    inset:0 !important;
    z-index:1 !important;
    pointer-events:none !important;
    overflow:hidden !important;
    display:block !important;
    --tk:1 !important;
  }
  .hero-tools .htool,
  .hero-tools .htool.opt,
  .hero-tools .htool.new-l,
  .hero-tools .htool.new-r{
    display:block !important;
    position:absolute !important;
    margin:0 !important;
    opacity:.85 !important;
    filter:grayscale(.75) brightness(1.1) drop-shadow(0 14px 22px rgba(0,0,0,.65)) !important;
    animation-name:toolFloatM !important;
    animation-timing-function:ease-in-out !important;
    animation-iteration-count:infinite !important;
  }
  @keyframes toolFloatM{
    0%,100%{transform:translate3d(0,0,0)}
    50%{transform:translate3d(0,-14px,0)}
  }
    /* 1. Инструмент 1 (слева у шапки) — опущен ниже шапки */
  .hero-tools .htool:nth-child(1){
    left:2% !important; top:max(16.5%, 138px) !important; right:auto !important; bottom:auto !important;
    width:clamp(74px,20vw,104px) !important; rotate:-18deg !important;
    animation-duration:6.8s !important; animation-delay:-1.2s !important;
  }
  /* 4. Инструмент 4 (справа у шапки) — опущен ниже шапки */
  .hero-tools .htool:nth-child(4){
    left:auto !important; right:2% !important; top:max(16.5%, 138px) !important; bottom:auto !important;
    width:clamp(74px,20vw,104px) !important; rotate:16deg !important;
    animation-duration:7.2s !important; animation-delay:-3.5s !important;
  }
  /* 2. Отвертка / смартфон — середина слева */
  .hero-tools .htool:nth-child(2){
    left:0% !important; top:31% !important; right:auto !important; bottom:auto !important;
    width:clamp(56px,15vw,80px) !important; rotate:8deg !important;
    animation-duration:8.2s !important; animation-delay:-2s !important;
  }
  /* 7. Ноутбук (MacBook) — сделан крупнее и опущен на уровень описания */
  .hero-tools .htool:nth-child(7),
  .hero-tools .htool.new-l{
    left:auto !important; right:0.5% !important; top:38% !important; bottom:auto !important;
    width:clamp(88px,25vw,128px) !important; rotate:-14deg !important;
    animation-duration:7.5s !important; animation-delay:-4s !important;
  }
  /* 3. Отвёртка под айфоном — поднята чуть выше */
  .hero-tools .htool:nth-child(3){
    left:1% !important; top:61.5% !important; right:auto !important; bottom:auto !important;
    width:clamp(82px,22vw,114px) !important; rotate:15deg !important;
    animation-duration:8.5s !important; animation-delay:-1.6s !important;
  }
  /* 5. Кофемашина — нижняя середина справа */
  .hero-tools .htool:nth-child(5){
    left:auto !important; right:1% !important; top:58% !important; bottom:auto !important;
    width:clamp(76px,21vw,106px) !important; rotate:-12deg !important;
    animation-duration:6.6s !important; animation-delay:-4.8s !important;
  }
  /* 6. Самый нижний инструмент слева — сделан крупнее */
  .hero-tools .htool:nth-child(6){
    left:3.5% !important; top:88% !important; right:auto !important; bottom:auto !important;
    width:clamp(102px,28vw,144px) !important; rotate:-16deg !important;
    animation-duration:7.8s !important; animation-delay:-3.2s !important;
  }
  /* 8. Самый нижний инструмент справа (DualSense) — сделан крупнее */
  .hero-tools .htool:nth-child(8){
    left:auto !important; right:3.5% !important; top:87.5% !important; bottom:auto !important;
    width:clamp(98px,27vw,138px) !important; rotate:14deg !important;
    animation-duration:7.1s !important; animation-delay:-2.5s !important;
  }
}


/* ================================================================
   УЛУЧШЕНИЯ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ (ПО ТРЕБОВАНИЯМ)
   ================================================================ */

/* 1 & 2. Описание под заголовками разделов опускаем чуть ниже */
@media(max-width:820px){
  .sec-head{
    margin-bottom:34px !important;
    gap:10px !important;
  }
  .sec-head .sec-sub{
    margin-top:18px !important;
    font-size:clamp(16px, 4.3vw, 19.5px) !important;
    line-height:1.55 !important;
  }
}

/* 3 & 4. Карточки в разделе УСЛУГИ: компактнее по высоте, описание крупнее */
@media(max-width:820px){
  .srv-grid{
    gap:12px !important;
  }
  .srv-card{
    padding:16px 16px 18px 16px !important;
    border-radius:18px !important;
    min-height:auto !important;
  }
  .srv-card h3{
    font-size:19px !important;
    font-weight:800 !important;
    margin:0 0 8px 0 !important;
    line-height:1.25 !important;
  }
  .srv-card p{
    font-size:16px !important;
    line-height:1.48 !important;
    color:#e4e4ed !important;
    margin-bottom:12px !important;
  }
  .srv-card ul{
    gap:5px !important;
    margin-bottom:8px !important;
  }
  .srv-card ul li{
    font-size:14.5px !important;
    line-height:1.35 !important;
    color:#cfcfd8 !important;
  }
}

/* 5 & 6. Карточки в ПОЧЕМУ МЫ: меньше по размеру, описание больше */
@media(max-width:820px){
  .why-grid{
    gap:12px !important;
  }
  .why-card{
    padding:16px 16px !important;
    border-radius:18px !important;
    gap:14px !important;
    align-items:flex-start !important;
  }
  .why-ico{
    width:44px !important;
    height:44px !important;
    border-radius:14px !important;
    flex-shrink:0 !important;
  }
  .why-num{
    font-size:36px !important;
    line-height:1 !important;
  }
  .why-card h3{
    font-size:18.5px !important;
    font-weight:800 !important;
    margin:0 0 6px 0 !important;
  }
  .why-card p{
    font-size:15.5px !important;
    line-height:1.5 !important;
    color:#d8d8e2 !important;
    margin:0 !important;
  }
}

/* 7. Раздел КОНТАКТЫ: чуть меньше и компактнее, мессенджеры крупнее */
@media(max-width:820px){
  section#contacts.sec{
    padding:44px 0 24px !important;
  }
  .contact-grid{
    gap:20px !important;
  }
  .c-left{
    padding:0 !important;
  }
  .c-left .phone-big{
    font-size:clamp(26px, 7.5vw, 34px) !important;
    margin-bottom:6px !important;
  }
  .c-left > p{
    font-size:14.5px !important;
    margin-bottom:14px !important;
  }
  /* Мессенджеры в разделе контакты: крупнее, удобные карточки в 2 колонки */
  .c-row{
    display:grid !important;
    grid-template-columns:repeat(2, 1fr) !important;
    gap:9px !important;
    margin:14px 0 18px !important;
  }
  .msgr{
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    padding:9px 10px !important;
    border-radius:14px !important;
    background:rgba(255,255,255,.05) !important;
    border:1px solid rgba(255,255,255,.12) !important;
    text-decoration:none !important;
  }
  .msgr:active{
    transform:scale(.97) !important;
    background:rgba(255,255,255,.1) !important;
  }
  .msgr img{
    width:38px !important;
    height:38px !important;
    flex-shrink:0 !important;
  }
  .msgr span b{
    font-size:13.5px !important;
    color:#fff !important;
  }
  .msgr span small{
    font-size:11px !important;
    color:#a1a1aa !important;
  }
  /* Компактный блок с адресом и инфо */
  .c-info{
    gap:9px !important;
    margin-top:14px !important;
  }
  .c-info > div{
    padding:12px 14px !important;
    font-size:13.5px !important;
    border-radius:15px !important;
  }
  /* Прячем дублирующий логотип в контактах на мобильном */
  
  /* Форма заявки: компактнее отступы */
  .c-form{
    padding:22px 18px !important;
    border-radius:20px !important;
    margin-top:4px !important;
    scroll-margin-top:85px !important;
  }
  .c-form h3{
    font-size:clamp(28px, 7.5vw, 33px) !important;
    font-weight:800 !important;
    letter-spacing:-.02em !important;
    margin-bottom:8px !important;
    line-height:1.18 !important;
    text-align:center !important;
  }
  .f-group{
    margin-bottom:14px !important;
  }
  .f-group input, .f-group textarea{
    padding:13px 16px !important;
    border-radius:14px !important;
  }
  /* Карта: компактнее */
  .map-card{
    padding:16px !important;
    margin-top:18px !important;
    border-radius:20px !important;
  }
  .map-wrap{
    aspect-ratio:16/10 !important;
    border-radius:15px !important;
  }
}

/* 8. Иконки мессенджеров в ПОДВАЛЕ на телефоне: без фоновых рамок, чистые крупные иконки */
@media(max-width:820px){
  .foot-socials{
    display:flex !important;
    gap:16px !important;
    justify-content:center !important;
    align-items:center !important;
    flex-wrap:nowrap !important;
    margin:18px 0 20px !important;
  }
  .fs-btn{
    width:52px !important;
    height:52px !important;
    border-radius:0 !important;
    background:none !important;
    background-color:transparent !important;
    border:none !important;
    box-shadow:none !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex-shrink:0 !important;
    transition:transform .2s ease !important;
    padding:0 !important;
  }
  .fs-btn:active{
    transform:scale(1.15) !important;
    background:none !important;
    border:none !important;
  }
  .fs-btn:hover{
    transform:scale(1.15) !important;
    background:none !important;
    border:none !important;
    box-shadow:none !important;
  }
  .fs-btn img{
    width:44px !important;
    height:44px !important;
    object-fit:contain !important;
    display:block !important;
    filter:drop-shadow(0 4px 14px rgba(0,0,0,.55)) !important;
  }
}
@media(max-width:380px){
  .foot-socials{
    gap:12px !important;
  }
  .fs-btn{
    width:46px !important;
    height:46px !important;
  }
  .fs-btn img{
    width:38px !important;
    height:38px !important;
  }
}


/* ================================================================
   ДОПОЛНИТЕЛЬНЫЕ ПРАВКИ ПО ЗАПРОСУ ПОЛЬЗОВАТЕЛЯ
   ================================================================ */

/* 1. Стрелки в «Наши работы» на телефоне: крупнее */
@media(max-width:820px){
  .cases-nav{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:16px !important;
    margin-top:20px !important;
  }
  .cbtn{
    width:62px !important;
    height:62px !important;
    font-size:26px !important;
    border-radius:50% !important;
    background:rgba(255,255,255,.08) !important;
    border:1.5px solid rgba(255,255,255,.24) !important;
    color:#fff !important;
    display:grid !important;
    place-items:center !important;
    transition:background .2s, transform .2s !important;
  }
  .cbtn:active{
    transform:scale(.92) !important;
    background:rgba(255,255,255,.18) !important;
  }
}

/* 2. Текст в «Итог» в карточках «Наши работы»: крупнее */
@media(max-width:820px){
  .case-result{
    font-size:16.5px !important;
    line-height:1.5 !important;
    font-weight:650 !important;
    padding:16px 18px !important;
    border-radius:16px !important;
    gap:12px !important;
    color:#fff !important;
  }
  .case-result .dot{
    width:24px !important;
    height:24px !important;
    flex-shrink:0 !important;
    margin-top:1px !important;
  }
  .case-result .dot::after{
    font-size:13px !important;
  }
}

/* 3. Кнопку «Смотреть все работы мастерской» центрируем на телефоне */
@media(max-width:820px){
  .vk-link{
    display:flex !important;
    width:fit-content !important;
    max-width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
    justify-content:center !important;
    text-align:center !important;
    margin-top:22px !important;
    padding:14px 26px !important;
    font-size:15px !important;
  }
}

/* 4. Номер телефона в разделе Контакты центрируем */
@media(max-width:820px){
  .c-left .phone-big{
    display:block !important;
    text-align:center !important;
    margin-left:auto !important;
    margin-right:auto !important;
    width:100% !important;
    font-size:clamp(26px, 7.5vw, 34px) !important;
  }
  .c-left > p{
    text-align:center !important;
    margin-left:auto !important;
    margin-right:auto !important;
    font-size:14.5px !important;
  }
}

/* 5. Текст инфоблоков в Контактах (г. Ейск, Ежедневно, Ремонт...) крупнее */
@media(max-width:820px){
  .c-info{
    gap:12px !important;
    margin-top:18px !important;
  }
  .c-info > div{
    padding:14px 16px !important;
    font-size:15.5px !important;
    line-height:1.5 !important;
    color:#ececf2 !important;
    border-radius:16px !important;
    background:rgba(255,255,255,.04) !important;
    border:1px solid rgba(255,255,255,.09) !important;
  }
  .c-info > div span{
    font-size:15.5px !important;
    line-height:1.5 !important;
  }
  .c-info > div span b{
    font-size:16px !important;
  }
  .c-info i.ci{
    width:28px !important;
    height:28px !important;
    margin-top:2px !important;
    flex-shrink:0 !important;
  }
  .c-info i.ci svg{
    width:22px !important;
    height:22px !important;
  }
}

/* 6. Возвращаем логотип после текста в Контактах */
@media(max-width:820px){
  .c-brand{
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    margin-top:26px !important;
    padding-top:22px !important;
    border-top:1px solid var(--line) !important;
    width:100% !important;
  }
  .c-brand-logo{
    display:block !important;
    height:clamp(96px, 24vw, 136px) !important;
    width:auto !important;
    margin:0 auto !important;
  }
}

/* 7. Выпадающий список «Что сломалось?» — не обрезается, пункт «Другое» полностью виден */
.c-form, #lead{
  overflow:visible !important;
}
.fsel{
  position:relative;
}
.fsel-list{
  max-height:clamp(340px, 58vh, 460px) !important;
  overflow-y:auto !important;
  -webkit-overflow-scrolling:touch !important;
  padding-bottom:24px !important;
  overscroll-behavior:contain !important;
  box-shadow:0 24px 60px rgba(0,0,0,.45) !important;
}
@media(max-width:820px){
  .fsel-opt{
    padding:11px 14px !important;
    gap:12px !important;
  }
  .fsel-opt:last-child{
    margin-bottom:12px !important;
  }
  .fsel-ico{
    width:40px !important;
    height:40px !important;
  }
  .fsel-img{
    width:40px !important;
    height:40px !important;
  }
  .fsel-t{
    font-size:15.5px !important;
    font-weight:600 !important;
  }
}


/* ================================================================
   НОВЫЕ ПРАВКИ: КАРТА, STORE В HERO, ЛОГОТИП, КНОПКА ЗАЯВКИ
   ================================================================ */





/* Логотип в разделе контакты поднимаем чуть выше на телефоне */
@media(max-width:820px){
  .c-brand{
    margin-top:14px !important;
    padding-top:14px !important;
    border-top:1px solid var(--line) !important;
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
  }
  .c-brand-logo{
    display:block !important;
    height:clamp(92px, 22vw, 130px) !important;
    width:auto !important;
    margin:0 auto !important;
  }
}

/* Кнопка «Отправить заявку» больше и более закруглённая на телефоне */
@media(max-width:820px){
  #leadForm .btn-dark,
  .c-form .btn-dark,
  .c-form button[type="submit"]{
    padding:20px 32px !important;
    font-size:19.5px !important;
    font-weight:800 !important;
    border-radius:99px !important;
    min-height:64px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    letter-spacing:-.01em !important;
    box-shadow:0 10px 30px rgba(0,0,0,.5) !important;
    transition:transform .2s ease, box-shadow .2s ease !important;
  }
  #leadForm .btn-dark:active,
  .c-form button[type="submit"]:active{
    transform:scale(.97) !important;
  }
}


/* ================================================================
   НОВЫЙ ДИЗАЙН: МОБИЛЬНОЕ МЕНЮ, НАЗВАНИЯ ГАДЖЕТОВ, ПОДРАЗДЕЛЫ В ПОДВАЛЕ
   ================================================================ */

/* --- 1. Новый дизайн названий гаджетов в «Наши работы» --- */
.case-tag{
  display:inline-flex !important;
  align-self:flex-start !important;
  align-items:center !important;
  gap:10px !important;
  font-family:var(--font) !important;
  font-size:13.5px !important;
  font-weight:700 !important;
  letter-spacing:.05em !important;
  text-transform:uppercase !important;
  color:#f4f4f8 !important;
  border:1px solid rgba(255,255,255,.18) !important;
  border-radius:99px !important;
  padding:8px 18px !important;
  background:linear-gradient(135deg, rgba(255,255,255,.1) 0%, rgba(255,255,255,.03) 100%) !important;
  box-shadow:0 6px 20px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.12) !important;
  margin-bottom:20px !important;
  backdrop-filter:blur(8px) !important;
  -webkit-backdrop-filter:blur(8px) !important;
}
.case-tag::before{
  content:"" !important;
  width:7px !important;
  height:7px !important;
  border-radius:50% !important;
  background:#22c55e !important;
  box-shadow:0 0 10px #22c55e, 0 0 20px rgba(34,197,94,.5) !important;
  flex-shrink:0 !important;
}
@media(max-width:820px){
  .case-tag{
    font-size:12.5px !important;
    padding:7px 15px !important;
    gap:8px !important;
    margin-bottom:16px !important;
    line-height:1.4 !important;
    white-space:normal !important;
    max-width:100% !important;
  }
}

/* --- 2. Подразделы в разделах в подвале на телефоне крупнее --- */
@media(max-width:820px){
  .foot-links{
    gap:14px 18px !important;
  }
  .foot-links li{
    margin-bottom:2px !important;
  }
  .foot-links a{
    font-size:17px !important;
    font-weight:550 !important;
    color:#e0e0e8 !important;
    padding:6px 2px !important;
    line-height:1.4 !important;
  }
  .foot-contact{
    gap:14px !important;
  }
  .foot-contact div{
    font-size:16px !important;
    line-height:1.45 !important;
    color:#e0e0e8 !important;
  }
  .foot-contact a.f-phone{
    font-size:24px !important;
    font-weight:800 !important;
    margin-bottom:4px !important;
  }
  .foot-h{
    font-size:19px !important;
    font-weight:800 !important;
    letter-spacing:.14em !important;
    margin-bottom:16px !important;
  }
}

/* --- 3. Полностью обновленный дизайн мобильного меню навигации --- */
.mm-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.75);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  z-index:98;
  opacity:0;
  pointer-events:none;
  transition:opacity .35s ease;
}
.mm-backdrop.open{
  opacity:1;
  pointer-events:auto;
}

.mobile-menu{
  display:none;
  position:fixed;
  top:0;
  right:0;
  bottom:0;
  width:min(420px, 92vw);
  background:linear-gradient(180deg, #121216 0%, #0c0c0e 100%);
  border-left:1px solid rgba(255,255,255,.12);
  z-index:99;
  padding:24px 22px calc(24px + env(safe-area-inset-bottom));
  flex-direction:column;
  gap:18px;
  transform:translateX(100%);
  transition:transform .4s cubic-bezier(.22, 1, .36, 1);
  box-shadow:-24px 0 80px rgba(0,0,0,.85), inset 1px 0 0 rgba(255,255,255,.06);
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}
.mobile-menu.open{
  transform:translateX(0);
}
@media(max-width:820px){
  .mobile-menu{display:flex !important;}
}

.mm-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-bottom:18px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.mm-brand-wrap{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.mm-brand-name{
  font-family:var(--font-display);
  font-size:21px;
  font-weight:300;
  letter-spacing:-.01em;
  color:#fff;
}
.mm-brand-name b{
  font-weight:700;
  color:#fff;
}
.mm-brand-tag{
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-family:var(--mono);
  font-size:11.5px;
  color:#9a9aa4;
}
.mm-pulse{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#22c55e;
  box-shadow:0 0 8px #22c55e;
}

.mm-close-btn{
  width:44px;
  height:44px;
  border-radius:50%;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
  display:grid;
  place-items:center;
  cursor:pointer;
  transition:all .2s ease;
  flex-shrink:0;
}
.mm-close-btn:active{
  transform:scale(.92);
  background:rgba(255,255,255,.18);
  border-color:#fff;
}

.mm-nav{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:4px;
}
.mm-nav-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 20px;
  border-radius:20px;
  background:linear-gradient(135deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.02) 100%);
  border:1.5px solid rgba(255,255,255,.09);
  text-decoration:none;
  color:#fff !important;
  transition:all .22s cubic-bezier(.2,.8,.4,1);
  box-shadow:0 4px 18px rgba(0,0,0,.25);
}
.mm-nav-item:active{
  transform:scale(.98);
  background:rgba(255,255,255,.12) !important;
  border-color:rgba(255,255,255,.32) !important;
}
.mm-nav-left{
  display:flex;
  align-items:center;
  gap:16px;
}
.mm-nav-idx{
  font-family:var(--mono);
  font-size:13px;
  font-weight:700;
  letter-spacing:.1em;
  color:#71717a;
  transition:color .2s;
}
.mm-nav-item:active .mm-nav-idx{
  color:#fff;
}
.mm-nav-text{
  font-size:21px;
  font-weight:700;
  letter-spacing:-.02em;
  color:#fff;
}
.mm-nav-arrow{
  width:38px;
  height:38px;
  border-radius:50%;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.1);
  display:grid;
  place-items:center;
  color:#a1a1aa;
  transition:all .2s ease;
  flex-shrink:0;
}
.mm-nav-item:active .mm-nav-arrow{
  background:#fff;
  color:#000;
  border-color:#fff;
  transform:translateX(3px);
}

.mm-footer-section{
  margin-top:20px;
  display:flex;
  flex-direction:column;
  gap:18px;
  padding-top:0;
}
.mm-cta{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:18px 24px;
  background:#fff;
  color:#000 !important;
  font-size:16.5px;
  font-weight:750;
  letter-spacing:-.01em;
  border-radius:18px;
  text-decoration:none;
  box-shadow:0 0 28px rgba(255,255,255,.24), 0 10px 24px rgba(0,0,0,.4);
  transition:transform .2s, box-shadow .2s;
}
.mm-cta:active{
  transform:scale(.98);
}
.mm-phone{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:14px 20px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  color:#fff !important;
  text-decoration:none;
  font-family:var(--mono);
  font-size:15px;
  font-weight:600;
  transition:all .2s;
}
.mm-phone:active{
  background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.3);
}
.mm-phone svg{
  color:#22c55e;
}
.mm-messengers{
  margin-top:4px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.mm-msgr-label{
  font-family:var(--mono);
  font-size:10.5px;
  font-weight:700;
  letter-spacing:.2em;
  color:#71717a;
  text-align:center;
}
.mm-msgr-icons{
  display:flex;
  justify-content:center;
  gap:14px;
}
.mm-msgr-btn{
  width:50px;
  height:50px;
  border-radius:15px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.1);
  display:grid;
  place-items:center;
  transition:all .2s;
}
.mm-msgr-btn:active{
  transform:scale(.92);
  background:rgba(255,255,255,.14);
  border-color:rgba(255,255,255,.3);
}
.mm-msgr-btn img{
  width:26px;
  height:26px;
  object-fit:contain;
}


/* Центрирование блока «Мы на Яндекс.Картах» и адреса */
.map-head{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  margin-bottom:20px !important;
  width:100% !important;
}
.map-head > div{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  width:100% !important;
  margin:0 auto !important;
}
.map-title{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  gap:12px !important;
  width:100% !important;
  margin:0 auto !important;
}
.map-addr{
  text-align:center !important;
  width:100% !important;
  margin:6px auto 0 auto !important;
}


/* Ноутбук (MacBook) на ПК: правее, чуть ниже и больше */
@media(min-width:1501px){
  .htool.new-l{
    --x:21.5% !important;
    --y:44% !important;
    --s:min(max(18vw,28vh),350px) !important;
  }
}
@media(min-width:821px) and (max-width:1500px){
  .htool.new-l{
    --x:21% !important;
    --y:43.5% !important;
    --s:min(max(16.5vw,24vh),330px) !important;
  }
}


/* Кнопка и заголовок «Мы на Яндекс.Картах» больше на ПК */
@media(min-width:821px){
  .map-title{
    font-size:clamp(30px, 2.5vw, 38px) !important;
    font-weight:800 !important;
    gap:16px !important;
    letter-spacing:-.02em !important;
    margin-bottom:4px !important;
  }
  .map-title .ya-logo{
    height:36px !important;
    width:auto !important;
  }
  .map-addr{
    font-size:16.5px !important;
    color:var(--grey) !important;
    margin-top:6px !important;
  }
  .ya-btn{
    font-size:18.5px !important;
    font-weight:700 !important;
    padding:18px 40px !important;
    gap:14px !important;
    margin-top:24px !important;
    border-radius:99px !important;
    background:rgba(255,255,255,.08) !important;
    border:1.5px solid rgba(255,255,255,.24) !important;
    color:#fff !important;
    box-shadow:0 8px 32px rgba(0,0,0,.35) !important;
    display:inline-flex !important;
    width:fit-content !important;
    margin-left:auto !important;
    margin-right:auto !important;
    transition:background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s !important;
  }
  .ya-btn:hover{
    background:#fff !important;
    color:#000 !important;
    border-color:#fff !important;
    box-shadow:0 12px 36px rgba(255,255,255,.3) !important;
    transform:translateY(-3px) !important;
  }
  .ya-btn img{
    height:34px !important;
    width:auto !important;
  }
}


/* Центрирование кнопки «Мы на Яндекс.Картах» */
.map-btn-wrap{
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  width:100% !important;
  margin-top:22px !important;
  text-align:center !important;
}
.map-card{
  text-align:center !important;
}
.ya-btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin:0 auto !important;
  text-align:center !important;
  width:fit-content !important;
}

/* Кнопка «Мы на Яндекс.Картах» компактнее и аккуратнее на телефоне */
@media(max-width:820px){
  .ya-btn{
    font-size:16.5px !important;
    font-weight:750 !important;
    letter-spacing:-.01em !important;
    padding:13px 26px !important;
    min-height:52px !important;
    gap:10px !important;
    border-radius:99px !important;
    background:rgba(255,255,255,.08) !important;
    border:1.5px solid rgba(255,255,255,.38) !important;
    box-shadow:0 6px 22px rgba(0,0,0,.4), 0 0 16px rgba(255,255,255,.1) !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    width:fit-content !important;
    max-width:92% !important;
    margin:16px auto 0 !important;
    transition:all .25s ease !important;
  }
  .ya-btn:active{
    transform:scale(.97) !important;
    background:rgba(255,255,255,.18) !important;
    border-color:#ffffff !important;
  }
  .ya-btn span{
    font-size:16.5px !important;
    font-weight:750 !important;
    letter-spacing:-.01em !important;
    color:#ffffff !important;
  }
  .ya-btn img{
    height:30px !important;
    width:auto !important;
    flex-shrink:0 !important;
    display:block !important;
    filter:drop-shadow(0 2px 6px rgba(0,0,0,.4)) !important;
  }
}
@media(max-width:400px){
  .ya-btn{
    font-size:15px !important;
    padding:11px 20px !important;
    min-height:48px !important;
    gap:8px !important;
  }
  .ya-btn span{
    font-size:15px !important;
  }
  .ya-btn img{
    height:26px !important;
  }
}


/* Текст описания в hero на телефоне заметнее: крупнее, ярче и контрастнее */
@media(max-width:820px){
  .hero-sub{
    font-size:clamp(17.5px, 4.8vw, 21px) !important;
    font-weight:550 !important;
    line-height:1.58 !important;
    color:#e6e6f0 !important;
    text-align:center !important;
    margin-left:auto !important;
    margin-right:auto !important;
    margin-bottom:24px !important;
    max-width:620px !important;
    text-shadow:0 2px 14px rgba(0,0,0,.9), 0 0 1px rgba(255,255,255,.2) !important;
  }
}
@media(max-width:560px){
  .hero-sub{
    font-size:clamp(17px, 4.9vw, 20.5px) !important;
    line-height:1.55 !important;
    color:#f0f0f8 !important;
    font-weight:550 !important;
    margin-bottom:22px !important;
  }
}


/* ================================================================
   СЛОВО STORE И RECOVERY В HERO: 100% ВИДИМОСТЬ БЕЗ БЕЛОГО ФОНА
   ================================================================ */
@media(max-width:820px){
  /* Прячем белый рассеянный шар orb1 за заголовком */
  .hero-orb{
    display:none !important;
    opacity:0 !important;
  }
  /* Слово и буквы: гарантированная видимость на мобильном, без сдвигов и обрезки */
  .hero h1 .word{
    display:block !important;
    overflow:visible !important;
    background:transparent !important;
    background-color:transparent !important;
    filter:none !important;
    animation:none !important;
    box-shadow:none !important;
    border:none !important;
  }
  .hero h1 .ch{
    display:inline-block !important;
    transform:none !important;
    opacity:1 !important;
    visibility:visible !important;
    animation:none !important;
  }
  /* Слово STORE: яркое, чёткое, белое, гарантированно видимое БЕЗ белого фона */
  .hero h1 .stroke,
  .hero h1 .ch.stroke{
    display:inline-block !important;
    transform:none !important;
    opacity:1 !important;
    visibility:visible !important;
    animation:none !important;
    color:#ffffff !important;
    font-weight:700 !important;
    -webkit-text-stroke:.6px #ffffff !important;
    text-shadow:0 0 1px rgba(255,255,255,.4),0 0 16px rgba(255,255,255,.12),0 8px 24px rgba(0,0,0,.6) !important;
    background:transparent !important;
    background-color:transparent !important;
    box-shadow:none !important;
    border:none !important;
    filter:none !important;
  }
  .hero h1 .word:has(.stroke){
    background:transparent !important;
    background-color:transparent !important;
    filter:none !important;
    animation:none !important;
    box-shadow:none !important;
    border:none !important;
  }
}


/* ================================================================
   МОБИЛЬНОЕ МЕНЮ НА ВСЮ СТРАНИЦУ (FULLSCREEN OVERLAY)
   ================================================================ */
.mobile-menu{
  position:fixed !important;
  inset:0 !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  bottom:0 !important;
  width:100% !important;
  max-width:100vw !important;
  height:100% !important;
  min-height:100vh !important;
  min-height:100dvh !important;
  background:linear-gradient(180deg, #101014 0%, #07070a 100%) !important;
  border:none !important;
  border-radius:0 !important;
  z-index:999 !important;
  padding:calc(20px + env(safe-area-inset-top, 0px)) 22px calc(24px + env(safe-area-inset-bottom, 0px)) !important;
  display:none;
  flex-direction:column !important;
  justify-content:flex-start !important;
  gap:16px !important;
  transform:translateX(100%) !important;
  transition:transform .38s cubic-bezier(.16, 1, .3, 1) !important;
  box-shadow:none !important;
  overflow-y:auto !important;
  overscroll-behavior:contain !important;
  -webkit-overflow-scrolling:touch !important;
}
.mobile-menu.open{
  display:flex !important;
  transform:translateX(0) !important;
}
@media(max-width:1020px){
  .mobile-menu{
    display:flex;
  }
}
.mm-nav-item{
  padding:20px 22px !important;
  border-radius:20px !important;
}
.mm-nav-text{
  font-size:22px !important;
}


/* Логотип в мобильном меню: размер в точности как в шапке */
.mm-logo-link{
  display:inline-flex !important;
  align-items:center !important;
  text-decoration:none !important;
}
.mm-logo{
  height:92px !important;
  width:auto !important;
  margin:-8px 0 !important;
  display:block !important;
  filter:drop-shadow(0 2px 12px rgba(0,0,0,.5)) !important;
}
@media(max-width:560px){
  .mm-logo{
    height:80px !important;
    margin:-7px 0 !important;
  }
}

/* Крупный крестик в навигационном меню */
.mm-close-btn{
  width:54px !important;
  height:54px !important;
  border-radius:18px !important;
  background:rgba(255,255,255,.08) !important;
  border:1px solid rgba(255,255,255,.16) !important;
  color:#fff !important;
  display:grid !important;
  place-items:center !important;
  cursor:pointer !important;
  transition:all .2s ease !important;
  flex-shrink:0 !important;
}
.mm-close-btn svg{
  width:28px !important;
  height:28px !important;
  stroke-width:2.4 !important;
}
.mm-close-btn:active{
  transform:scale(.92) !important;
  background:rgba(255,255,255,.2) !important;
  border-color:#fff !important;
}


/* ================================================================
   НАВИГАЦИОННОЕ МЕНЮ ИЗ-ПОД ШАПКИ + ПРЕВРАЩЕНИЕ БУРГЕРА В КРЕСТИК
   ================================================================ */

/* Шапка всегда поверх выпадающего меню, с тёмным фоном при открытии */
header{
  position:fixed !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  z-index:1000 !important;
  pointer-events:none;
  transition:background .3s ease, border-color .3s ease !important;
}
header.menu-open{
  background:#09090c !important;
  border-bottom:1px solid rgba(255,255,255,.09) !important;
  backdrop-filter:blur(20px) !important;
  -webkit-backdrop-filter:blur(20px) !important;
}
.nav{
  pointer-events:auto !important;
}

/* Кнопка-бургер: превращение 3 полосок в идеальный крестик */
.burger{
  position:relative !important;
  z-index:1001 !important;
  pointer-events:auto !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  width:54px !important;
  height:54px !important;
  border-radius:16px !important;
  background:rgba(255,255,255,.07) !important;
  border:1px solid rgba(255,255,255,.16) !important;
  cursor:pointer !important;
  transition:background .25s ease, border-color .25s ease, transform .2s ease !important;
}
.burger:hover, .burger:active{
  background:rgba(255,255,255,.14) !important;
  border-color:rgba(255,255,255,.3) !important;
}
.burger span{
  display:block !important;
  width:24px !important;
  height:2.5px !important;
  background:#ffffff !important;
  border-radius:2px !important;
  transform-origin:center !important;
  transition:transform .32s cubic-bezier(.22, 1, .36, 1), opacity .22s ease, background-color .25s !important;
}

/* При открытии меню: 3 полоски превращаются в крестик */
.burger.open{
  background:rgba(255,255,255,.14) !important;
  border-color:rgba(255,255,255,.38) !important;
}
.burger.open span:nth-child(1){
  transform:translateY(8.5px) rotate(45deg) !important;
}
.burger.open span:nth-child(2){
  opacity:0 !important;
  transform:scaleX(0) !important;
}
.burger.open span:nth-child(3){
  transform:translateY(-8.5px) rotate(-45deg) !important;
}

/* Меню вылетает сверху строго из-под шапки */
.mobile-menu{
  position:fixed !important;
  inset:0 !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  bottom:0 !important;
  width:100% !important;
  max-width:100vw !important;
  height:100% !important;
  min-height:100vh !important;
  min-height:100dvh !important;
  background:linear-gradient(180deg, #0d0d12 0%, #060608 100%) !important;
  border:none !important;
  border-radius:0 !important;
  z-index:999 !important;
  padding:calc(var(--nav-h, 84px) + 16px) 22px calc(24px + env(safe-area-inset-bottom, 0px)) !important;
  display:none;
  flex-direction:column !important;
  justify-content:flex-start !important;
  gap:18px !important;
  transform:translateY(-100%) !important;
  opacity:0 !important;
  visibility:hidden !important;
  transition:transform .4s cubic-bezier(.16, 1, .3, 1), opacity .28s ease, visibility .4s !important;
  box-shadow:none !important;
  overflow-y:auto !important;
  overscroll-behavior:contain !important;
  -webkit-overflow-scrolling:touch !important;
}
.mobile-menu.open{
  display:flex !important;
  transform:translateY(0) !important;
  opacity:1 !important;
  visibility:visible !important;
}
@media(max-width:1020px){
  .mobile-menu{
    display:flex;
  }
}

/* Дублирующаяся внутренняя шапка меню скрыта, т.к. сверху всегда видна оригинальная шапка */
.mobile-menu .mm-header{
  display:none !important;
}


/* Убираем цифры и стрелочки в кнопках мобильной навигации */
.mm-nav-idx,
.mm-nav-arrow{
  display:none !important;
}
.mm-nav-item{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  padding:18px 24px !important;
  border-radius:18px !important;
  background:rgba(255,255,255,.05) !important;
  border:1px solid rgba(255,255,255,.09) !important;
  text-decoration:none !important;
  box-shadow:0 4px 18px rgba(0,0,0,.25) !important;
  transition:all .2s ease !important;
}
.mm-nav-item:active{
  transform:scale(.98) !important;
  background:rgba(255,255,255,.12) !important;
  border-color:rgba(255,255,255,.28) !important;
}
.mm-nav-text{
  font-size:22px !important;
  font-weight:700 !important;
  letter-spacing:-.01em !important;
  color:#ffffff !important;
  text-align:center !important;
}


/* Убираем телефон и плашку "НАПИСАТЬ НАМ", смещаем CTA и мессенджеры вплотную к навигации */
.mm-phone,
.mm-msgr-label{
  display:none !important;
}
.mm-nav{
  display:flex !important;
  flex-direction:column !important;
  gap:10px !important;
  width:100% !important;
  margin:0 !important;
}
.mm-footer-section{
  margin-top:14px !important;
  display:flex !important;
  flex-direction:column !important;
  gap:16px !important;
  padding-top:0 !important;
  align-items:center !important;
  width:100% !important;
}
.mm-cta{
  width:100% !important;
  min-height:64px !important;
  padding:20px 24px !important;
  font-size:19.5px !important;
  font-weight:800 !important;
  letter-spacing:-.01em !important;
  border-radius:20px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  background:#ffffff !important;
  color:#000000 !important;
  box-shadow:0 0 32px rgba(255,255,255,.28), 0 12px 28px rgba(0,0,0,.5) !important;
  transition:transform .2s ease, box-shadow .2s ease !important;
}
.mm-cta:active{
  transform:scale(.98) !important;
}
.mm-cta span{
  font-size:19.5px !important;
  font-weight:800 !important;
  letter-spacing:-.01em !important;
  color:#000000 !important;
}
.mm-cta svg{
  display:none !important;
}
.mm-messengers{
  display:flex !important;
  justify-content:center !important;
  width:100% !important;
}
.mm-msgr-icons{
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  gap:22px !important;
}
.mm-msgr-btn{
  background:none !important;
  background-color:transparent !important;
  border:none !important;
  box-shadow:none !important;
  border-radius:0 !important;
  padding:0 !important;
  width:64px !important;
  height:64px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  transition:transform .2s ease !important;
}
.mm-msgr-btn:hover,
.mm-msgr-btn:active{
  transform:scale(1.14) !important;
  background:none !important;
  border:none !important;
}
.mm-msgr-btn img{
  width:56px !important;
  height:56px !important;
  object-fit:contain !important;
  display:block !important;
  filter:drop-shadow(0 3px 12px rgba(0,0,0,.55)) !important;
}
@media(max-width:360px){
  .mm-footer-section{
    margin-top:10px !important;
    gap:14px !important;
  }
  .mm-cta{
    min-height:58px !important;
    padding:16px 20px !important;
    font-size:18px !important;
  }
  .mm-cta span{
    font-size:18px !important;
  }
  .mm-msgr-icons{
    gap:18px !important;
  }
  .mm-msgr-btn{
    width:58px !important;
    height:58px !important;
  }
  .mm-msgr-btn img{
    width:50px !important;
    height:50px !important;
  }
}


/* ================================================================
   КНОПКИ НАВИГАЦИИ И КНОПКА «ЗАПИСАТЬСЯ» В ШАПКЕ НА ПК КРУПНЕЕ
   ================================================================ */
@media(min-width:1021px){
  .nav-links{
    display:flex !important;
    gap:18px !important;
    align-items:center !important;
  }
  .nav-links a{
    padding:16px 26px !important;
    font-size:18px !important;
    font-weight:700 !important;
    letter-spacing:.01em !important;
    border-radius:99px !important;
    border:1px solid rgba(255,255,255,.38) !important;
    background:rgba(10,10,12,.65) !important;
    box-shadow:0 0 14px rgba(255,255,255,.14), inset 0 0 10px rgba(255,255,255,.05) !important;
    transition:all .25s ease !important;
  }
  .nav-links a:hover{
    color:#ffffff !important;
    border-color:rgba(255,255,255,.85) !important;
    box-shadow:0 0 22px rgba(255,255,255,.4), inset 0 0 14px rgba(255,255,255,.1) !important;
    transform:translateY(-2px) !important;
  }
  .nav-links a.active{
    color:#000000 !important;
    background:#ffffff !important;
    border-color:#ffffff !important;
    box-shadow:0 0 20px rgba(255,255,255,.6) !important;
  }
  .nav-cta{
    gap:14px !important;
  }
  .nav-cta .btn,
  .nav-cta .btn-ghost,
  .nav-cta .btn-sm{
    padding:16px 32px !important;
    font-size:17.5px !important;
    font-weight:750 !important;
    letter-spacing:.01em !important;
    border-radius:99px !important;
    border:1.5px solid rgba(255,255,255,.65) !important;
    transition:all .25s ease !important;
  }
  .nav-cta .btn:hover,
  .nav-cta .btn-ghost:hover,
  .nav-cta .btn-sm:hover{
    background:#ffffff !important;
    color:#000000 !important;
    border-color:#ffffff !important;
    box-shadow:0 8px 28px rgba(255,255,255,.28) !important;
    transform:translateY(-2px) !important;
  }
}

@media(min-width:1240px){
  .nav-links{
    gap:22px !important;
  }
  .nav-links a{
    padding:16px 28px !important;
    font-size:18.5px !important;
  }
  .nav-cta .btn,
  .nav-cta .btn-ghost,
  .nav-cta .btn-sm{
    padding:16px 34px !important;
    font-size:18px !important;
  }
}

@media(min-width:1380px){
  .nav-links{
    gap:26px !important;
  }
  .nav-links a{
    padding:17px 32px !important;
    font-size:19.5px !important;
  }
  .nav-cta .btn,
  .nav-cta .btn-ghost,
  .nav-cta .btn-sm{
    padding:17px 36px !important;
    font-size:18.5px !important;
  }
}

/* ==========================================================================
   CUSTOM DROPDOWN «ЧТО СЛОМАЛОСЬ?» (WITH IMAGES FOR IOS & ANDROID)
   ========================================================================== */
.f-group select#fType {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.c-form, #lead {
  overflow: visible !important;
}

.fsel {
  position: relative !important;
  display: block !important;
  width: 100% !important;
}

.fsel-btn {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-align: left !important;
  border: 1.5px solid #e6e6ea !important;
  border-radius: 16px !important;
  padding: 10px 16px !important;
  font-size: 15.5px !important;
  font-family: var(--font) !important;
  background: #f7f7f9 !important;
  color: #111 !important;
  cursor: pointer !important;
  transition: border-color .25s, box-shadow .25s, background .25s !important;
  box-shadow: 0 1px 2px rgba(16,16,24,.04) !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  touch-action: manipulation !important;
}

.fsel.is-open .fsel-btn {
  border-color: #111 !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(0,0,0,.07) !important;
}

.fsel-t {
  flex: 1 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-weight: 600 !important;
  color: #111 !important;
}

.fsel-ico {
  width: 36px !important;
  height: 36px !important;
  border-radius: 9px !important;
  overflow: hidden !important;
  background: #eeeef3 !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.fsel-ico svg {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
  color: #555 !important;
}

.fsel-ico img,
.fsel-img {
  width: 36px !important;
  height: 36px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 8px !important;
  -webkit-backface-visibility: hidden !important;
}

.fsel-caret {
  flex-shrink: 0 !important;
  color: #8a8a94 !important;
  transition: transform .25s ease !important;
}

.fsel.is-open .fsel-caret {
  transform: rotate(180deg) !important;
}

.fsel-list {
  position: absolute !important;
  z-index: 120 !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  right: 0 !important;
  background: #ffffff !important;
  border: 1.5px solid #e9e9ee !important;
  border-radius: 18px !important;
  padding: 8px !important;
  margin: 0 !important;
  list-style: none !important;
  box-shadow: 0 24px 50px rgba(0,0,0,.22), 0 4px 12px rgba(0,0,0,.08) !important;
  max-height: 290px !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-y !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-6px) !important;
  transition: opacity .2s ease, transform .2s ease, visibility .2s !important;
}

.fsel.is-open .fsel-list {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.fsel-opt {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 8px 12px !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #111 !important;
  transition: background .16s ease, color .16s ease !important;
  -webkit-tap-highlight-color: transparent !important;
  touch-action: manipulation !important;
}

.fsel-opt:hover,
.fsel-opt:active {
  background: #f4f4f8 !important;
}

.fsel-opt.is-on {
  background: #111 !important;
  color: #fff !important;
}

.fsel-opt.is-on .fsel-ico {
  background: rgba(255,255,255,.2) !important;
}

.fsel-opt.is-on .fsel-t {
  color: #fff !important;
}

/* Обязательные поля / Валидация */
.f-group input.is-invalid,
.f-group textarea.is-invalid,
.fsel-btn.is-invalid {
  border-color: #ef4444 !important;
  background: #fff5f5 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.22) !important;
  animation: shakeField 0.35s ease-in-out !important;
}

@keyframes shakeField {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

/* Кликабельный логотип Nightsours в подвале */
a.foot-made,
.foot-made {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  color: inherit !important;
  cursor: pointer !important;
  transition: opacity .25s ease, transform .25s ease !important;
}
a.foot-made:hover {
  opacity: 1 !important;
  transform: translateY(-1px) !important;
}
a.foot-made:hover img {
  opacity: 1 !important;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.65)) !important;
}
a.foot-made:active {
  transform: scale(0.97) !important;
}

/* ==========================================================================
   PERFORMANCE & 60/120 FPS HARDWARE ACCELERATION ENHANCEMENTS
   ========================================================================== */

/* Eliminate 300ms mobile tap delay and tap highlights across all touch devices */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

a, button, input, select, textarea, .btn, .srv-card, .acc-head, .cbtn, .mm-msgr-btn, .fs-btn, .ya-btn {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* GPU promotion for continuously animated hero items & glow elements */
.htool, .hero-orb, .orb, .floating-badge, .tool-gamepad, .tool-laptop {
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Rendering performance containment: skips off-screen layout & paint until scrolled near */
.srv, .why, .cases, .reviews, .faq, .map-sec, .contacts, .footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 700px;
}

/* Mobile glass performance optimization: lighter blur + richer background prevents GPU fillrate lag */
@media (max-width: 820px) {
  .header {
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    background: rgba(8, 8, 10, 0.94) !important;
  }
  .mobile-menu {
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    background: rgba(10, 10, 14, 0.96) !important;
  }
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
