/* ============================================================
   mine-hosting.net — общие стили (база из Claude Design)
   Инлайновые стили секций живут в самих страницах; здесь только
   reset, типографика, шапка/подвал и hover/active/media-правила.
   ============================================================ */

/* --- Шрифты self-hosted (переменные: Onest 400-800, Unbounded 700-800) --- */
@font-face{font-family:'Onest';font-style:normal;font-weight:400 800;font-display:swap;src:url(../fonts/onest-cyr-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:'Onest';font-style:normal;font-weight:400 800;font-display:swap;src:url(../fonts/onest-cyr.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Onest';font-style:normal;font-weight:400 800;font-display:swap;src:url(../fonts/onest-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:'Unbounded';font-style:normal;font-weight:700 800;font-display:swap;src:url(../fonts/unbounded-cyr-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:'Unbounded';font-style:normal;font-weight:700 800;font-display:swap;src:url(../fonts/unbounded-cyr.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:700 800;font-display:swap;src:url(../fonts/unbounded-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}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;overflow-x:clip}
body{background:#05080f;color:#fff;font-family:'Onest',sans-serif;min-height:100vh;overflow-x:hidden;position:relative;-webkit-font-smoothing:antialiased}
a{color:#6fa3ff}
a:hover{color:#9fc1ff}
img{max-width:100%;height:auto}

@keyframes mhpulse{0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(74,222,128,.5)}50%{opacity:.6;box-shadow:0 0 0 5px rgba(74,222,128,0)}}

::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-thumb{background:rgba(120,160,255,.18);border-radius:6px}

/* --- общий контейнер --- */
.mh-wrap{max-width:1280px;margin:0 auto;padding:0 48px}

/* ============ ШАПКА (три плавающие капсулы-«пилюли», макет v3) ============ */
.mh-header{position:sticky;top:14px;z-index:60;padding:14px 24px 0;margin-bottom:-94px}
.mh-header-in{max-width:1420px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:14px}
.mh-pill{border-radius:999px;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);background:linear-gradient(180deg,rgba(16,26,50,.82),rgba(8,13,26,.86));border:1px solid rgba(120,160,255,.22);box-shadow:0 24px 60px -20px rgba(0,0,0,.9),inset 0 1px 0 rgba(255,255,255,.08)}

.mh-logo{display:flex;align-items:center;gap:11px;text-decoration:none;flex-shrink:0;height:60px;padding:0 20px}
.mh-logo-word{font-family:'Unbounded',sans-serif;font-weight:700;font-size:16px;letter-spacing:-.3px;color:#eef3ff}
.mh-logo-word span{color:#5a9bff}

.mh-nav{display:flex;align-items:center;gap:4px;padding:7px}
.mh-nav-link{display:flex;align-items:center;gap:8px;padding:9px 18px;border-radius:999px;color:rgba(214,225,250,.6);text-decoration:none;font-size:14px;font-weight:500;white-space:nowrap}
.mh-nav-link:hover{color:#fff;background:rgba(96,140,255,.14);box-shadow:inset 0 0 0 1px rgba(120,160,255,.2)}
.mh-nav-cta{display:flex;align-items:center;gap:8px;padding:9px 18px;border-radius:999px;background:linear-gradient(135deg,#5a96ff,#1e54d6);color:#fff;text-decoration:none;font-size:14px;font-weight:700;white-space:nowrap;box-shadow:0 10px 24px -8px rgba(47,107,255,.9),inset 0 1px 0 rgba(255,255,255,.3)}
.mh-nav-cta:hover{filter:brightness(1.08);color:#fff}

.mh-online{display:flex;align-items:center;gap:3px;padding:4px;border-radius:999px;background:rgba(255,255,255,.04);box-shadow:inset 0 0 0 1px rgba(120,160,255,.16)}
.mh-soc{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#9db4e8;text-decoration:none}
.mh-soc:hover{background:rgba(96,140,255,.16);color:#fff}

.mh-header-right{display:flex;align-items:center;gap:10px;flex-shrink:0;height:60px;padding:0 8px}

.mh-btn{display:inline-flex;align-items:center;gap:8px;padding:11px 20px;border-radius:999px;background:linear-gradient(135deg,#5a96ff,#1e54d6);color:#fff;text-decoration:none;font-weight:600;font-size:14px;box-shadow:0 12px 28px -10px rgba(47,107,255,.8),inset 0 1px 0 rgba(255,255,255,.25)}
.mh-btn:hover{filter:brightness(1.08);color:#fff}

/* --- мобильное меню (дополнение: в дизайне навигация на мобильных скрыта) --- */
.mh-burger{display:none;width:42px;height:42px;border-radius:50%;border:1px solid rgba(120,160,255,.22);background:rgba(4,9,18,.55);color:#cdd9f5;cursor:pointer;align-items:center;justify-content:center}
.mh-mobile{display:none;max-width:1420px;margin:10px auto 0;padding:10px;border-radius:16px;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);background:linear-gradient(180deg,rgba(16,26,50,.94),rgba(8,13,26,.96));border:1px solid rgba(120,160,255,.22);box-shadow:0 24px 60px -20px rgba(0,0,0,.9)}
.mh-mobile.open{display:flex;flex-direction:column;gap:4px}
.mh-mobile .mh-nav-link,.mh-mobile .mh-nav-cta{padding:12px 16px;border-radius:12px}

/* ============ ПОДВАЛ (тёмная карточка, макет v3) ============ */
.mh-footer{background:#05080f;padding:0 24px 28px}
.mh-footer-card{max-width:1420px;margin:0 auto;border-radius:28px;background:linear-gradient(180deg,#0a1120,#070c18);border:1px solid rgba(120,160,255,.16);box-shadow:0 30px 70px -30px rgba(0,0,0,.8),inset 0 1px 0 rgba(255,255,255,.06);padding:42px 48px 30px}
.mh-footer-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;padding-bottom:36px;border-bottom:1px solid rgba(255,255,255,.07)}
.mh-footer-in{display:flex;justify-content:space-between;flex-wrap:wrap;gap:40px;padding-top:40px}
.mh-footer-brand{max-width:360px}
.mh-footer-brand p{font-size:14px;color:rgba(255,255,255,.45);line-height:1.65;margin-bottom:20px}
.mh-footer-cols{display:flex;gap:64px;flex-wrap:wrap}
.mh-fcol-title{font-size:13px;font-weight:700;color:rgba(255,255,255,.4);letter-spacing:.5px;margin-bottom:16px}
.mh-fcol{display:flex;flex-direction:column;gap:11px}
.mh-flink{color:rgba(255,255,255,.65);text-decoration:none;font-size:14px}
.mh-flink:hover{color:#fff}
.mh-fsoc{width:40px;height:40px;border-radius:11px;display:flex;align-items:center;justify-content:center;background:rgba(96,140,255,.1);box-shadow:inset 0 0 0 1px rgba(120,160,255,.2);color:#9db4e8;text-decoration:none}
.mh-fsoc:hover{background:rgba(96,140,255,.22);color:#fff}
.mh-footer-bottom{margin-top:38px;padding-top:22px;border-top:1px solid rgba(255,255,255,.06);display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:13px;color:rgba(255,255,255,.35)}

/* ============ ОБЩИЕ ЭЛЕМЕНТЫ СТРАНИЦ ============ */
/* карточка с hover-рамкой: цвет задаётся инлайн через --hc */
.mh-card:hover{border-color:var(--hc,rgba(120,160,255,.5))!important}
.mh-hovbright:hover{filter:brightness(1.08)}

/* ============ АДАПТИВ ============ */
@media (max-width:1240px){
  .mh-online{display:none!important}
}
@media (max-width:1040px){
  .mh-nav{display:none!important}
  .mh-burger{display:flex}
}
@media (max-width:720px){
  .mh-wrap{padding:0 22px}
  .mh-header{padding:14px 14px 0}
  .mh-btn{padding:11px 14px}
  .mh-logo{padding:0 14px}
  .mh-footer{padding:0 14px 20px}
  .mh-footer-card{padding:30px 24px 24px}
}
@media (max-width:560px){
  /* кнопка не влезает рядом с логотипом и бургером — переезжает в мобильное меню */
  .mh-header-right > .mh-btn{display:none}
}
