html.mobnav-open [data-totop]{display:none !important}
[data-hero]{min-height:calc(100svh - 72px - 62px)!important;display:flex!important;flex-direction:column!important;justify-content:center!important;padding:clamp(28px,4vh,56px) 0!important;box-sizing:border-box!important;text-align:left!important;}
[data-hero] h1{font-family:'Unbounded',sans-serif!important;font-weight:700!important;font-size:clamp(44px,min(8vw,10.5vh),150px)!important;line-height:0.94!important;letter-spacing:-0.04em!important;max-width:12ch!important;margin-left:0!important;margin-right:auto!important;}
[data-hero] p{font-family:'Manrope',sans-serif!important;font-weight:500!important;font-size:clamp(17px,1.5vw,21px)!important;line-height:1.55!important;}
@media(max-width:820px){[data-hero]{padding:40px 0!important;}}
[data-hero]{justify-content:flex-start !important;padding:clamp(64px,12vh,150px) 0 40px !important}
@media (max-width:560px){[data-hero] h1{font-size:min(9.6vw,44px) !important;overflow-wrap:anywhere}}
[data-hero]{justify-content:flex-start !important;padding:clamp(64px,12vh,150px) 0 40px !important}
@media (max-width:560px){
  [data-hero] h1{font-size:min(9.6vw,44px) !important;overflow-wrap:anywhere}
}
[data-burger]{display:none}
@media (max-width:860px){
  [data-burger]{display:flex;margin-right:-11px !important}
  [data-nav]{display:none !important}
  header > div{height:64px !important;gap:14px !important}
  header nav + a{margin-left:auto !important}
  header a[href="#contact"], header a[href="/#contact"]{height:38px !important;padding:0 15px !important;font-size:11px !important}
  html.mobnav-open, html.mobnav-open body{overflow:hidden !important}
  html.mobnav-open [data-mobnav]{opacity:1 !important;visibility:visible !important;transform:none !important;transition:opacity .28s ease,transform .28s ease,visibility 0s !important}
  html.mobnav-open [data-burger] [data-bl]:nth-child(1){transform:translateY(7px) rotate(45deg) !important}
  html.mobnav-open [data-burger] [data-bl]:nth-child(2){opacity:0 !important}
  html.mobnav-open [data-burger] [data-bl]:nth-child(3){transform:translateY(-7px) rotate(-45deg) !important}
  input, textarea, select{font-size:16px !important}
}
@media (max-width:640px){
  footer [data-foot] ~ [data-foot] > a[href="/policy.html"]{order:1}
  footer [data-foot] ~ [data-foot] > a[href="/consent.html"]{order:2}
  footer [data-foot] ~ [data-foot] > span{order:3}
}
@media (max-width:860px) and (prefers-reduced-motion:reduce){
  [data-mobnav], [data-bl]{transition:none !important}
}
[data-hero]{min-height:auto !important;padding-bottom:10px !important}
[data-cursor], [data-cursor-ring], [data-cursor-dot]{display:none !important}
[data-hero]>div:not([data-spot]){width:min(1240px,100% - 48px) !important;margin-left:auto !important;margin-right:auto !important}
[data-hero] div[data-parallax]{display:none !important}
#contact{padding-left:0 !important;padding-right:0 !important}
#contact [data-contact-grid]{width:min(1240px,100% - 48px) !important;margin-left:auto !important;margin-right:auto !important}
@media (max-width:680px){
  footer > div:first-of-type > span:first-child{display:none !important}
  footer > div:first-of-type[data-grid] > span:last-child{display:none !important}
  footer [data-foot] > span:nth-child(2) > span:nth-child(2){display:none !important}
  footer > div:first-of-type{grid-template-columns:auto auto !important;justify-content:space-between !important;gap:10px !important;text-align:left !important}
  footer > div:first-of-type > *{justify-self:auto !important}
  footer > div:first-of-type > span[style*="justify-self:center"]{justify-self:start !important}
  footer > div:first-of-type > a{justify-self:end !important}
  footer > div:last-of-type{grid-template-columns:1fr !important;gap:10px !important;text-align:center !important}
  footer > div:last-of-type > *{justify-self:center !important}
  footer > div:last-of-type > a[href="/policy.html"]{order:1}
  footer > div:last-of-type > a[href="/consent.html"]{order:2}
  footer > div:last-of-type > span{order:3}
  footer{padding:14px 0 16px !important}
  footer > div:first-of-type{gap:8px !important}
  footer > div:last-of-type{margin-top:10px !important;padding-top:12px !important;gap:8px !important}
}


* { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body { background: #16130F; }
  ::selection { background: #E8472A; color: #16130F; }
  @keyframes marqueeMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  @keyframes pulseGlow { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }
  @keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(95,168,95,0.5); } 70% { box-shadow: 0 0 0 8px rgba(95,168,95,0); } 100% { box-shadow: 0 0 0 0 rgba(95,168,95,0); } }
  [data-reveal].is-in { opacity: 1 !important; transform: none !important; }
  @media (max-width: 860px) { [data-contact-grid] { grid-template-columns: 1fr !important; } }
  @media (max-width: 560px) { [data-channels] { grid-template-columns: 1fr !important; } }


[hidden] {
  display: none !important;
}

body.modal-open {
  overflow: hidden;
}

[data-contact-modal] {
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

[data-contact-modal] [data-modal-panel] {
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  box-sizing: border-box;
}

[data-nav] a:hover,
[data-nav] a:focus-visible,
[data-nav] a[aria-current="page"],
[data-mobnav] a[aria-current="page"],
[data-mobnav] a[aria-current="page"] span {
  color: #E8472A !important;
}

[data-mobnav] a[aria-current="page"] {
  border-bottom-color: rgba(232, 71, 42, 0.35) !important;
}

[data-totop] {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(242, 237, 227, 0.25);
  background: #E8472A;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

[data-totop].is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}

/* Виджет карты убран по просьбе заказчика (20.08.2026).
   Блок контактов остался один — ставим его в одну колонку по левому краю,
   вровень с заголовком, и не даём растягиваться на всю ширину. */
#contact [data-contact-grid]{
  grid-template-columns:minmax(0,720px) !important;
  justify-content:start !important;
}

@media (max-width:380px) {
  #contact [data-contact-grid] > div > div:not([data-messenger-buttons]) {
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:8px !important;
  }
  #contact [data-contact-grid] a { max-width:100%; overflow-wrap:anywhere; }
}
