/* Шапка главной, крошки и стрелка «наверх» для всех страниц g-studioo.ru. Собрано tools/site_chrome.py из site/style.css — руками не править. */
:root{--yellow: #FFEB00; --yellow-soft: #FFF566; --yellow-deep: #E6D800; --dark: #060606; --text: #ffffff; --text-muted: #999999; --radius-ios-sm: 12px; --radius-ios-md: 16px; --radius-ios-lg: 20px; --radius-ios-pill: 980px; --radius-btn: 10px;}
.nav{position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 28px; padding: 18px 64px; background: transparent; border-bottom: 1px solid transparent; transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;}
.nav.is-scrolled{background: rgba(6, 6, 6, 0.92); backdrop-filter: blur(14px); border-bottom-color: rgba(255, 255, 255, 0.06);}
.nav__logo{grid-column: 1; justify-self: start; display: flex; flex-direction: row; align-items: center; gap: 16px; flex-shrink: 0; text-decoration: none; transition: opacity 0.2s;}
.nav__logo:hover{opacity: 0.92;}
.nav__logo-brand{display: flex; align-items: center; gap: 6px;}
.nav__logo-mark{flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--yellow); display: flex; align-items: center; justify-content: center; font-family: 'Montserrat', Arial, 'Helvetica Neue', sans-serif; font-size: 24px; font-weight: 800; color: var(--yellow); background: radial-gradient(circle at 30% 25%, rgba(255, 248, 150, 0.35) 0%, transparent 50%), rgba(255, 255, 255, 0.03); box-shadow: 0 0 0 1px rgba(255, 235, 0, 0.15), 0 0 28px rgba(255, 235, 0, 0.22);}
.nav__logo-text{font-size: 24px; font-weight: 700; letter-spacing: 0.5px; text-transform: none; line-height: 1; white-space: nowrap; font-family: 'Montserrat', Arial, 'Helvetica Neue', sans-serif; color: #fff;}
.nav__logo-neon{display: flex; flex-direction: column; gap: 1px; flex-shrink: 0;}
.nav__logo-neon__line{display: block; font-family: 'Montserrat', Arial, 'Helvetica Neue', sans-serif; font-size: 12px; font-weight: 400; line-height: 1.35; letter-spacing: 0.4px; color: #ffffff; text-transform: none; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: 0 0 1px #fff, 0 0 3px #fff, 0 0 8px rgba(255, 255, 255, 0.95), 0 0 16px rgba(255, 255, 255, 0.65), 0 0 28px rgba(255, 235, 0, 0.45), 0 0 42px rgba(255, 235, 0, 0.25); animation: neon-text-flicker 4.5s ease-in-out infinite;}
.nav__logo-neon__line:nth-child(2){animation-delay: 0.15s;}
.nav__links{grid-column: 2; justify-self: center; display: flex; gap: 40px; flex-shrink: 0;}
.nav__links--desktop[hidden]{display: none !important;}
.nav__links a{font-family: Arial, 'Helvetica Neue', sans-serif; color: var(--text); text-decoration: none; font-size: 16px; font-weight: 500; transition: color 0.2s;}
.nav__links a:hover{color: var(--yellow);}
.nav__actions{grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 16px; flex-shrink: 0;}
.nav__lang{display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.06); flex-shrink: 0;}
.nav__lang-btn{display: block; padding: 5px 10px; border-radius: 7px; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; color: rgba(255, 255, 255, 0.5); transition: color 0.2s, background 0.2s;}
.nav__lang-btn:hover{color: #fff;}
.nav__lang-btn.is-active{color: #111; background: var(--yellow);}
.nav__icon{display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--radius-ios-md); color: #fff; text-decoration: none; transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;}
.nav__icon > svg, .nav__icon > .nav__phone-icon svg{display: block; width: 22px; height: 22px;}
.nav__phone-icon{display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: inherit;}
.nav__phone-icon svg{width: 20px; height: 20px;}
.nav__icon:hover{border-color: var(--yellow); background: rgba(255, 235, 0, 0.1); color: #fff;}
.nav__icon--phone{border-radius: 50%; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 235, 0, 0.35); color: var(--yellow);}
.nav__icon--phone:hover{border-color: var(--yellow); background: rgba(255, 235, 0, 0.12); color: var(--yellow);}
.nav__cta{display: inline-flex; align-items: center; justify-content: center; background: var(--yellow); color: #000; border: none; border-radius: var(--radius-btn); padding: 12px 26px; font-family: 'Arial Black', Arial, sans-serif; font-size: 15px; font-weight: 900; text-decoration: none; cursor: pointer; white-space: nowrap; letter-spacing: 0.3px; transition: opacity 0.2s, transform 0.15s;}
.nav__cta:hover{opacity: 0.85; transform: translateY(-1px);}
.nav__contact-menu{display: none; position: relative;}
.nav__contact-toggle{display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: var(--radius-ios-md); background: linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 52%, rgba(0, 0, 0, 0.05) 100%), var(--yellow); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5); color: #000; cursor: pointer; transition: filter 0.2s ease, box-shadow 0.2s ease;}
.nav__contact-ico{display: block; width: 22px; height: 22px; transform: translate(0.5px, -0.5px);}
.nav__contact-toggle:hover{filter: brightness(1.05);}
.nav__contact-menu.is-open .nav__contact-toggle{box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 0 3px rgba(255, 235, 0, 0.28);}
.nav__contact-menu.is-open{z-index: 200;}
.nav__contact-dropdown{position: absolute; top: calc(100% + 8px); right: 0; z-index: 160; display: none; flex-direction: column; gap: 4px; width: max-content; min-width: 168px; padding: 6px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius-ios-md); background: rgba(10, 10, 10, 0.98); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);}
.nav__contact-menu.is-open .nav__contact-dropdown{display: flex;}
.nav__contact-dropdown[hidden]{display: none !important;}
.nav__contact-option{display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px; font-family: Arial, 'Helvetica Neue', sans-serif; font-size: 15px; font-weight: 600; color: #fff; text-decoration: none; transition: background 0.2s ease, color 0.2s ease;}
.nav__contact-option:hover{background: rgba(255, 235, 0, 0.12); color: var(--yellow);}
.nav__contact-option svg{flex-shrink: 0;}
.nav__burger{display: none;}
.nav-drawer{position: fixed; inset: 0; z-index: 150; pointer-events: none; visibility: hidden;}
.nav-drawer.is-open{pointer-events: auto; visibility: visible;}
.nav-drawer__backdrop{position: absolute; inset: 0; background: rgba(6, 6, 6, 0.75); backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.25s ease;}
.nav-drawer.is-open .nav-drawer__backdrop{opacity: 1;}
.nav-drawer__panel{position: absolute; top: 0; right: 0; z-index: 1; display: flex; flex-direction: column; gap: 24px; width: min(300px, 86vw); height: 100%; padding: calc(16px + env(safe-area-inset-top, 0px)) 20px calc(24px + env(safe-area-inset-bottom, 0px)); background: #0a0a0a; border-left: 1px solid rgba(255, 255, 255, 0.08); transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);}
.nav-drawer.is-open .nav-drawer__panel{transform: translateX(0);}
.nav-drawer__close{align-self: flex-end; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 50%; background: rgba(255, 255, 255, 0.06); color: #fff; font-size: 26px; line-height: 1; cursor: pointer;}
.nav-drawer__links{display: flex; flex-direction: column; gap: 2px;}
.nav-drawer__links a{padding: 12px 0; font-size: 18px; font-weight: 600; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.06);}
.nav-drawer__links a:hover{color: var(--yellow);}
.nav-drawer__actions{display: flex; flex-direction: column; gap: 10px; margin-top: auto;}
.nav-drawer__tg{display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 18px; border-radius: var(--radius-btn); background: rgba(42, 171, 238, 0.14); border: 1px solid rgba(42, 171, 238, 0.45); color: #5ec4ff; font-family: Arial, 'Helvetica Neue', sans-serif; font-size: 15px; font-weight: 700; text-decoration: none; transition: background 0.2s ease, border-color 0.2s ease;}
.nav-drawer__tg:hover{background: rgba(42, 171, 238, 0.22); border-color: rgba(42, 171, 238, 0.65);}
.nav-drawer__tg-icon{display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: #2aabee; color: #fff;}
.nav-drawer__tg-icon svg{display: block; width: 20px; height: 20px;}
.nav-drawer__tg-text{line-height: 1.25; text-align: left;}
.nav-drawer__phone{display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 18px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--radius-btn); color: #fff; font-family: Arial, 'Helvetica Neue', sans-serif; font-size: 15px; font-weight: 600; text-decoration: none; transition: border-color 0.2s ease, background 0.2s ease;}
.nav-drawer__phone:hover{border-color: rgba(255, 235, 0, 0.45); background: rgba(255, 255, 255, 0.04);}
.nav-drawer__phone-icon{display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.06); color: var(--yellow);}
.nav-drawer__phone-icon svg{display: block; width: 20px; height: 20px;}
.nav-drawer__phone-text{line-height: 1.25; white-space: nowrap;}
body.nav-open{overflow: hidden;}
@media (max-width: 960px){
body.modal-open .mobile-lead-bar, body.nav-open .mobile-lead-bar{opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(100%);}
}
@media (prefers-reduced-motion: reduce){
.hero__glitch.is-glitching, .hero__glitch.is-glitching::before, .hero__glitch.is-glitching::after, .nav__logo-neon__line, .why__hand-canvas{animation: none;}
}
.footer__logo.nav__logo{grid-column: unset; justify-self: unset; flex-direction: column; align-items: flex-start; gap: 10px;}
.footer .nav__logo-neon{display: flex; flex-direction: column; gap: 1px;}
@media (min-width: 961px){
.nav__burger, .nav-drawer, .nav__contact-menu{display: none !important;}
}
body.is-mobile-nav .nav__links--desktop, body.is-mobile-nav .nav__cta--desktop{display: none !important;}
body.is-mobile-nav .nav__burger{display: inline-flex !important;}
body.is-mobile-nav .nav-drawer{display: block !important;}
body:not(.is-mobile-nav) .nav__burger, body:not(.is-mobile-nav) .nav-drawer{display: none !important;}
@media (max-width: 960px){
.nav{display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto; align-items: center; column-gap: 10px; padding: 12px 16px; padding-top: calc(12px + env(safe-area-inset-top, 0px));}
.nav__logo{grid-column: 1; grid-row: 1; min-width: 0; justify-self: start;}
.nav__links--desktop{display: none !important;}
.nav__logo{flex-direction: row; align-items: center; flex-wrap: nowrap; gap: 8px; max-width: min(100%, calc(100vw - 100px));}
.nav__logo-brand{flex-shrink: 0; gap: 5px;}
.nav__logo-mark{width: 36px; height: 36px; font-size: 18px;}
.nav__logo-text{font-size: 17px;}
.nav__logo-neon{display: flex; flex-direction: column; gap: 0; min-width: 0; flex: 1 1 auto;}
.nav__logo-neon__line{font-size: clamp(10px, 2.8vw, 12px); line-height: 1.25; white-space: nowrap; letter-spacing: 0.2px; overflow: hidden; text-overflow: ellipsis;}
.nav__icon--bar{display: none !important;}
.nav__contact-menu{display: block;}
.nav__actions{grid-column: 2; grid-row: 1; justify-self: end; flex-wrap: nowrap; gap: 8px;}
.nav__lang-btn{padding: 4px 8px; font-size: 10px;}
.nav__cta--desktop{display: none !important;}
.nav__burger{display: inline-flex !important; flex-direction: column; justify-content: center; align-items: center; gap: 5px; flex-shrink: 0; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--radius-ios-md); background: rgba(255, 255, 255, 0.06); color: #fff; cursor: pointer;}
.nav-drawer{display: block !important;}
.nav__burger-bar{display: block; width: 18px; height: 2px; border-radius: 1px; background: currentColor; transition: transform 0.25s ease, opacity 0.2s ease;}
.nav__burger.is-open .nav__burger-bar:nth-child(1){transform: translateY(7px) rotate(45deg);}
.nav__burger.is-open .nav__burger-bar:nth-child(2){opacity: 0;}
.nav__burger.is-open .nav__burger-bar:nth-child(3){transform: translateY(-7px) rotate(-45deg);}
}
@media (max-width: 480px){
.nav__logo-mark{width: 32px; height: 32px; font-size: 16px;}
.nav__logo-text{font-size: 15px;}
.nav__icon, .nav__burger, .nav__contact-toggle{width: 38px; height: 38px;}
.nav__logo-neon__line{font-size: 10px;}
}
@media (hover: hover) and (pointer: fine){
body.has-cursor a, body.has-cursor button, body.has-cursor .hero__cta, body.has-cursor .more__reveal, body.has-cursor .more__reveal-pill, body.has-cursor .offer__btn, body.has-cursor .offer__badge, body.has-cursor .scroll-top, body.has-cursor .contact__submit, body.has-cursor .contact__tg, body.has-cursor .contact__phone, body.has-cursor .contact__legal a, body.has-cursor .footer a, body.has-cursor .footer__cta, body.has-cursor .footer__tg, body.has-cursor .footer__phone, body.has-cursor .nav__icon--phone, body.has-cursor .nav__burger, body.has-cursor .nav__contact-toggle, body.has-cursor .nav__cta--desktop, body.has-cursor .nav-drawer__tg, body.has-cursor .nav-drawer__phone, body.has-cursor .mobile-lead-bar{cursor: none;}
}
@media (min-width: 961px){
.nav{grid-template-columns: auto minmax(0, 1fr) auto;}
}
.nav__links{gap: clamp(18px, 1.9vw, 34px);}
.nav__links a{white-space: nowrap;}
.nav__icon--max img{display: block; width: 24px; height: 24px; border-radius: 7px;}
.nav__contact-option--cta{width: 100%; white-space: nowrap; border: 0; background: transparent; text-align: left; cursor: pointer;}
.nav__contact-option img{flex-shrink: 0; width: 20px; height: 20px; border-radius: 6px;}
.nav-drawer__max{display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 18px; border-radius: var(--radius-btn); background: rgba(124, 92, 255, 0.14); border: 1px solid rgba(140, 112, 255, 0.45); color: #c4b5ff; font-family: Arial, 'Helvetica Neue', sans-serif; font-size: 15px; font-weight: 700; text-decoration: none; transition: background 0.2s ease, border-color 0.2s ease;}
.nav-drawer__max:hover{background: rgba(124, 92, 255, 0.22); border-color: rgba(140, 112, 255, 0.7);}
.nav-drawer__max-icon img{display: block; width: 40px; height: 40px; border-radius: 50%;}
.nav-drawer__cta{padding: 15px 18px; border: 0; border-radius: var(--radius-btn); background: linear-gradient(180deg, var(--yellow-soft) 0%, var(--yellow) 50%, var(--yellow-deep) 100%); color: #000; font-family: 'Arial Black', Arial, sans-serif; font-size: 15px; font-weight: 900; cursor: pointer; box-shadow: 0 0 24px rgba(255, 235, 0, 0.3);}
@media (min-width: 961px) and (max-width: 1440px){
.nav{padding-left: 32px; padding-right: 32px; column-gap: 16px;}
.nav__links{gap: 18px;}
.nav__links a{font-size: 15px;}
.nav__actions{gap: 10px;}
.nav__cta{padding: 12px 18px; font-size: 14px;}
}
@media (min-width: 961px) and (max-width: 1200px){
.nav__logo-neon{display: none;}
}
@media (min-width: 961px) and (max-width: 1100px){
.nav__actions > .nav__icon--phone{display: none;}
.nav__links{gap: 14px;}
}
@media (max-width: 960px){
.nav__actions > .nav__lang{display: none;}
}
body.nav-open .cookie-bar, body.modal-open .cookie-bar{opacity: 0; pointer-events: none;}
.nav__logo{position: relative;}
.nav__online{position: absolute; top: 1px; left: 34px; display: inline-flex; align-items: center; font-family: Arial, 'Helvetica Neue', sans-serif; font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: 0.2px; color: rgba(255, 255, 255, 0.62); white-space: nowrap;}
.nav__online-text{position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;}
.nav__online-dot{flex-shrink: 0; width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 2px var(--dark), 0 0 8px #22c55e; animation: nav-online-pulse 2s ease-in-out infinite;}
@media (max-width: 960px){
.nav__online{top: -1px; left: 27px;}
}
.nav__on2{display: none;}
@media (min-width: 1366px){
.nav__online{display: none;}
.nav__on2{display: inline-flex; align-items: center; gap: 9px; margin-right: 6px; font-family: Arial, 'Helvetica Neue', sans-serif; line-height: 1.15; white-space: nowrap;}
.nav__on2 i{flex: none; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; animation: nav-online-pulse 2s ease-in-out infinite;}
.nav__on2 b{display: block; font-size: 12.5px; font-weight: 700; color: #fff; letter-spacing: 0.2px;}
.nav__on2 small{display: block; font-size: 11.5px; color: rgba(255, 255, 255, 0.55);}
}
@media (min-width: 1366px) and (max-width: 1419px){
.nav--main .nav__online{display: inline-flex;}
.nav--main .nav__on2{display: none;}
}
@media (prefers-reduced-motion: reduce){
.nav__online-dot, .nav__on2 i{animation: none;}
}
@media (max-width: 380px){
.nav__logo-neon__line{font-size: 9px; letter-spacing: 0.1px;}
}
.nav__contact-option--wa svg{flex-shrink: 0; color: #25d366;}
.nav-drawer__wa{display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 18px; border-radius: var(--radius-btn); background: rgba(37, 211, 102, 0.12); border: 1px solid rgba(37, 211, 102, 0.45); color: #7ee2a8; font-family: Arial, 'Helvetica Neue', sans-serif; font-size: 15px; font-weight: 700; text-decoration: none; transition: background 0.2s ease, border-color 0.2s ease;}
.nav-drawer__wa:hover{background: rgba(37, 211, 102, 0.2); border-color: rgba(37, 211, 102, 0.7);}
.nav-drawer__wa-icon{display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #25d366; color: #fff;}
.nav-drawer__panel{overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;}
@media (max-height: 960px){
.nav-drawer__panel{gap: 14px;}
.nav-drawer__links a{padding: 9px 0; font-size: 16px;}
.nav-drawer__actions{gap: 8px;}
.nav-drawer__tg, .nav-drawer__max, .nav-drawer__wa, .nav-drawer__phone{padding-top: 8px; padding-bottom: 8px;}
.nav-drawer__cta{padding-top: 13px; padding-bottom: 13px;}
}
body.nav-open .scroll-top, body.nav-open > #gs-consult{opacity: 0 !important; visibility: hidden !important; pointer-events: none !important;}
@keyframes nav-online-pulse{0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.55; transform: scale(0.8); }}
@keyframes neon-text-flicker{0%, 18%, 22%, 55%, 58%, 100% { opacity: 1; text-shadow: 0 0 1px #fff, 0 0 3px #fff, 0 0 8px rgba(255, 255, 255, 0.95), 0 0 16px rgba(255, 255, 255, 0.65), 0 0 28px rgba(255, 235, 0, 0.45), 0 0 42px rgba(255, 235, 0, 0.25); } 20%, 57% { opacity: 0.94; text-shadow: 0 0 1px #fff, 0 0 2px #fff, 0 0 6px rgba(255, 255, 255, 0.75), 0 0 12px rgba(255, 255, 255, 0.45), 0 0 22px rgba(255, 235, 0, 0.3); }}
/* блог: шапка полосой сверху, а не поверх первого экрана; шрифт главной */
.nav{position:sticky;top:0;background:rgba(6,6,6,.94);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom-color:rgba(255,255,255,.07)}
.nav,.nav-drawer{font-family:'Arial Black',Arial,'Helvetica Neue',sans-serif;line-height:normal;-webkit-font-smoothing:antialiased}
.nav a,.nav-drawer a{text-decoration:none}
.nav button,.nav-drawer button{font:inherit}
.nav__links a[aria-current=page]{color:var(--yellow)}
.nav-drawer__cta{display:flex;align-items:center;justify-content:center;text-decoration:none}
[id]{scroll-margin-top:100px}

/* ── стрелка «наверх» — правила главной ── */
.scroll-top{position: fixed; right: 31px; bottom: 90px; z-index: 200; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; padding: 0; border: none; border-radius: 50%; background: rgba(6, 6, 6, 0.9); color: var(--yellow); box-shadow: 0 0 0 1px rgba(255, 235, 0, 0.4), 0 8px 32px rgba(0, 0, 0, 0.5); cursor: pointer; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(24px) scale(0.9); transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease, color 0.2s ease;}
.scroll-top.is-visible{opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1);}
.scroll-top:hover{background: var(--yellow); color: #000; box-shadow: 0 0 28px rgba(255, 235, 0, 0.5), 0 8px 32px rgba(0, 0, 0, 0.45);}
.scroll-top svg{display: block;}
@media (max-width: 960px){
body.has-mobile-lead-bar .scroll-top.is-visible{bottom: calc(84px + 52px + 12px + env(safe-area-inset-bottom, 0px));}
}
@media (max-width: 960px){
.scroll-top{right: 22px; bottom: 84px; width: 46px; height: 46px;}
}
@media (hover: hover) and (pointer: fine){
body.has-cursor a, body.has-cursor button, body.has-cursor .hero__cta, body.has-cursor .more__reveal, body.has-cursor .more__reveal-pill, body.has-cursor .offer__btn, body.has-cursor .offer__badge, body.has-cursor .scroll-top, body.has-cursor .contact__submit, body.has-cursor .contact__tg, body.has-cursor .contact__phone, body.has-cursor .contact__legal a, body.has-cursor .footer a, body.has-cursor .footer__cta, body.has-cursor .footer__tg, body.has-cursor .footer__phone, body.has-cursor .nav__icon--phone, body.has-cursor .nav__burger, body.has-cursor .nav__contact-toggle, body.has-cursor .nav__cta--desktop, body.has-cursor .nav-drawer__tg, body.has-cursor .nav-drawer__phone, body.has-cursor .mobile-lead-bar{cursor: none;}
}
@media (max-width: 960px){
body:has(.cookie-bar.is-visible) .scroll-top{opacity: 0; visibility: hidden; pointer-events: none;}
}
body.nav-open .scroll-top, body.nav-open > #gs-consult{opacity: 0 !important; visibility: hidden !important; pointer-events: none !important;}

/* ── крошки: полоса под шапкой, одинаковая на всех страницах (tools/site_chrome.py); цвета — страницы ── */
.gs-crumbs{border-bottom:1px solid var(--hair,rgba(255,255,255,.08))}
.gs-crumbs__in{width:min(1180px,calc(100% - 32px));margin-inline:auto;padding:12px 0;display:flex;align-items:center;gap:8px;
  font:500 13px/1.4 'Montserrat',Arial,'Helvetica Neue',sans-serif;color:var(--muted,#a9a59c);white-space:nowrap;overflow:hidden}
.gs-crumbs a{color:var(--muted,#a9a59c);text-decoration:none;transition:color .2s;flex:none}
.gs-crumbs a:hover{color:var(--accent,#FFE21A)}
.gs-crumbs i{font-style:normal;opacity:.45;flex:none}
.gs-crumbs [aria-current]{color:var(--ink,#F4F2EC);overflow:hidden;text-overflow:ellipsis;min-width:0}
@media (max-width:560px){.gs-crumbs__in{padding:10px 0;font-size:12.5px}}
/* шапка — полосой сверху на всех внутренних страницах; якоря не прячутся под неё */
.nav{z-index:100}
html{scroll-padding-top:84px}

/* ── подвал главной — правила главной; сначала сброс и шрифт главной, у разделов свои ── */
.footer,.footer *,.footer *::before,.footer *::after{box-sizing:border-box;margin:0;padding:0}
.footer{font-family:'Arial Black','Arial','Helvetica Neue',sans-serif;color:var(--text);line-height:normal;text-align:left}
.footer{position: relative; z-index: 2; background: var(--dark); border-top: 1px solid rgba(255, 255, 255, 0.08); padding: clamp(48px, 6vw, 72px) 64px clamp(36px, 4vw, 52px);}
.footer__inner{width: 100%; max-width: 1580px; margin: 0 auto;}
.footer__top{display: grid; grid-template-columns: minmax(200px, 1.2fr) minmax(170px, 1fr) minmax(190px, 1fr) minmax(200px, auto); gap: clamp(32px, 4vw, 56px); align-items: start; margin-bottom: clamp(32px, 4vw, 44px);}
.footer__brand{display: flex; flex-direction: column; align-items: flex-start;}
.footer__logo.nav__logo{grid-column: unset; justify-self: unset; flex-direction: column; align-items: flex-start; gap: 10px;}
.footer .nav__logo-neon{display: flex; flex-direction: column; gap: 1px;}
.footer__nav{display: flex; flex-direction: column; gap: 12px;}
.footer__nav a{font-family: Arial, 'Helvetica Neue', sans-serif; font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, 0.88); text-decoration: none; transition: color 0.2s ease;}
.footer__nav a:hover{color: var(--yellow);}
.footer__nav-title{margin: 0 0 2px; font-family: Arial, 'Helvetica Neue', sans-serif; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.5);}
@media (max-width: 1100px) and (min-width: 769px){
.footer__top{grid-template-columns: repeat(2, minmax(0, 1fr));}
}
.footer__contacts{display: flex; flex-direction: column; align-items: flex-start; gap: 14px;}
.footer__contacts-title{margin: 0; font-family: Arial, 'Helvetica Neue', sans-serif; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted);}
.footer__phone{display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: rgba(255, 255, 255, 0.92); transition: opacity 0.2s ease, color 0.2s ease;}
.footer__phone:hover{opacity: 0.88; color: var(--yellow);}
.footer__phone-icon{display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: var(--yellow); border: 1px solid rgba(255, 235, 0, 0.35);}
.footer__phone-icon svg{display: block; width: 18px; height: 18px;}
.footer__phone-text{font-family: Arial, 'Helvetica Neue', sans-serif; font-size: 15px; font-weight: 600; line-height: 1.2; white-space: nowrap;}
.footer__tg{display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #2aabee; transition: opacity 0.2s ease;}
.footer__tg:hover{opacity: 0.88;}
.footer__tg-icon{display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: #2aabee; color: #fff;}
.footer__tg-icon svg{display: block; width: 18px; height: 18px; flex-shrink: 0;}
.footer__tg-text{font-family: Arial, 'Helvetica Neue', sans-serif; font-size: 15px; font-weight: 600; line-height: 1.2; white-space: nowrap;}
.footer__cta{display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border-radius: var(--radius-btn); background: var(--yellow); color: #000; font-family: 'Arial Black', Arial, sans-serif; font-size: 14px; font-weight: 900; text-decoration: none; letter-spacing: 0.2px; white-space: nowrap; transition: transform 0.2s ease, filter 0.2s ease;}
.footer__cta:hover{transform: translateY(-1px); filter: brightness(1.05);}
.footer__divider{display: block; width: 100%; height: 0; margin: 0 0 clamp(24px, 3vw, 32px); border: none; border-top: 1px solid rgba(255, 255, 255, 0.08);}
.footer__bottom{display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;}
.footer__copy{margin: 0; font-family: Arial, 'Helvetica Neue', sans-serif; font-size: 13px; color: var(--text-muted);}
.footer__legal{display: flex; flex-wrap: wrap; gap: 12px 24px;}
.footer__legal a{font-family: Arial, 'Helvetica Neue', sans-serif; font-size: 13px; color: rgba(255, 255, 255, 0.72); text-decoration: none; transition: color 0.2s ease;}
.footer__legal a:hover{color: var(--yellow);}
.footer__legal a[aria-current="page"]{color: var(--yellow); pointer-events: none;}
@media (max-width: 1100px){
.footer{padding: 40px 20px 32px;}
.footer__top{grid-template-columns: 1fr; gap: 28px;}
.footer__bottom{flex-direction: column; align-items: flex-start;}
}
@media (max-width: 480px){
.footer{padding-top: 24px;}
.footer__top{gap: 16px; margin-bottom: 16px;}
.footer__nav a{font-size: 13px;}
}
@media (hover: hover) and (pointer: fine){
body.has-cursor a, body.has-cursor button, body.has-cursor .hero__cta, body.has-cursor .more__reveal, body.has-cursor .more__reveal-pill, body.has-cursor .offer__btn, body.has-cursor .offer__badge, body.has-cursor .scroll-top, body.has-cursor .contact__submit, body.has-cursor .contact__tg, body.has-cursor .contact__phone, body.has-cursor .contact__legal a, body.has-cursor .footer a, body.has-cursor .footer__cta, body.has-cursor .footer__tg, body.has-cursor .footer__phone, body.has-cursor .nav__icon--phone, body.has-cursor .nav__burger, body.has-cursor .nav__contact-toggle, body.has-cursor .nav__cta--desktop, body.has-cursor .nav-drawer__tg, body.has-cursor .nav-drawer__phone, body.has-cursor .mobile-lead-bar{cursor: none;}
}
.footer__max-icon{overflow: hidden; background: transparent !important;}
.footer__max-icon img{display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%;}
.footer__legal-info{display: flex; flex-direction: column; gap: 6px;}
.footer__requisites{margin: 0; font-family: Arial, 'Helvetica Neue', sans-serif; font-size: 12px; line-height: 1.45; color: rgba(255, 255, 255, 0.45);}
@media (max-width: 960px){
.footer{padding-bottom: calc(32px + 52px + env(safe-area-inset-bottom, 0px));}
.footer__legal{padding-right: 56px;}
}
@media (min-width: 1101px){
.footer__bottom{padding-right: 36px;}
}
body.page-legal .footer{position: relative; z-index: 2; background: var(--dark); border-top: 1px solid rgba(255, 255, 255, 0.08); padding: clamp(48px, 6vw, 72px) 64px clamp(36px, 4vw, 52px);}
