/* Единое desktop-меню: утверждённая на главной воздушная капсула. */
@media (min-width:901px) {
  .home-copy .site-header-demo.home-header {
    display:grid;
    grid-template-columns:240px minmax(0,1fr) 44px;
    align-items:center;
    gap:12px;
    width:100%;
    height:92px;
    min-height:92px;
    padding:0 22px;
  }
  .home-copy .site-header-demo.home-header > .site-logo {
    width:240px;
    min-width:0;
    margin:0;
  }
  .home-copy .site-header-demo.home-header > .site-logo img {
    display:block;
    width:100%;
    height:auto;
  }
  .home-copy .site-header-demo.home-header > nav {
    position:static!important;
    display:flex!important;
    align-items:center;
    justify-content:center;
    width:max-content!important;
    max-width:100%;
    min-width:0;
    margin:0!important;
    padding:10px;
    flex-wrap:nowrap!important;
    gap:10px!important;
    border:1.5px solid rgba(230,129,37,.44);
    border-radius:999px;
    background:rgba(255,255,255,.79);
    box-shadow:0 8px 24px rgba(27,27,27,.06);
    transform:none!important;
    backdrop-filter:blur(8px);
  }
  .home-copy .site-header-demo.home-header > nav > a,
  .home-copy .site-header-demo.home-header > nav > .menu-dropdown > summary {
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:0;
    margin:0!important;
    padding:10px 9px!important;
    border-radius:999px;
    color:#1b1b1b;
    font-family:Montserrat,Arial,sans-serif;
    font-size:12px!important;
    font-weight:650;
    line-height:1;
    white-space:nowrap;
    transform:none!important;
    transition:background .18s ease,color .18s ease;
  }
  .home-copy .site-header-demo.home-header > nav > a:hover,
  .home-copy .site-header-demo.home-header > nav > a:focus-visible,
  .home-copy .site-header-demo.home-header > nav > .menu-dropdown > summary:hover,
  .home-copy .site-header-demo.home-header > nav > .menu-dropdown > summary:focus-visible {
    background:#f4dfcc;
  }
  .home-copy .site-header-demo.home-header > nav > .menu-dropdown > summary {
    background:#e68125;
    color:#fff;
    font-weight:750;
    cursor:pointer;
    box-shadow:0 5px 13px rgba(230,129,37,.24);
  }
  .home-copy .site-header-demo.home-header > nav > .menu-dropdown > summary::after {
    content:"\2304";
    display:inline-block;
    margin-left:5px;
    color:#fff;
    font-size:12px;
    line-height:1;
    transform:translateY(-1px);
  }
  .home-copy .site-header-demo.home-header .menu-dropdown > div.services-mega { top:82px; }
  .home-copy .site-header-demo.home-header > .header-socials {
    display:flex;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
    margin:0;
  }
  .home-copy .site-header-demo.home-header > .header-socials a,
  .home-copy .site-header-demo.home-header > .header-socials svg { width:44px; height:44px; }
  .home-copy .site-header-demo.home-header > .header-consult { display:none!important; }
  .home-copy .home-hero .hero-content { top:max(92px,6.8333333333vw); }
  .home-copy .home-process .process-grid {
    width:calc(100vw - 40px);
    max-width:1252px;
    margin-inline:auto;
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}

@media (min-width:901px) and (max-width:1319px) {
  .home-copy .site-header-demo.home-header {
    grid-template-columns:minmax(0,760px);
    justify-content:center;
    height:76px;
    min-height:76px;
    padding:0 18px;
  }
  .home-copy .site-header-demo.home-header > .site-logo,
  .home-copy .site-header-demo.home-header > .header-socials,
  .home-copy .site-header-demo.home-header > .header-consult { display:none!important; }
  .home-copy .site-header-demo.home-header > nav {
    width:max-content!important;
    max-width:100%;
    justify-self:center;
  }
}

@media (min-width:1320px) {
  .home-copy .site-header-demo.home-header {
    grid-template-columns:240px minmax(610px,1fr) 44px 236px;
    gap:14px;
    padding-inline:28px;
  }
  .home-copy .site-header-demo.home-header > nav > a,
  .home-copy .site-header-demo.home-header > nav > .menu-dropdown > summary {
    padding-inline:14px!important;
    font-size:13px!important;
  }
  .home-copy .site-header-demo.home-header > nav {
    position:absolute!important;
    left:50%!important;
    justify-self:auto;
    transform:translateX(-50%)!important;
  }
  .home-copy .site-header-demo.home-header > .header-socials { grid-column:3; }
  .home-copy .site-header-demo.home-header > .header-consult {
    display:grid!important;
    grid-column:4;
    width:236px;
    min-width:236px;
    height:42px;
    margin:0;
    border:2px solid #e68125;
    border-radius:999px;
    background:rgba(255,255,255,.82);
    color:#1b1b1b;
    font-size:13px;
    font-weight:650;
  }
}
