.header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:3000;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(8px);
}

.header-inner{
  width:90%;
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 0;
}

.logo{
  font-size:24px;
  font-weight:700;
  color:#fff;
  text-decoration:none;
  letter-spacing:.08em;
}

.nav{
  display:flex;
  align-items:center;
  gap:25px;
}

.nav a{
  color:#fff;
  text-decoration:none;
  opacity:.6;
  transition:.3s;
  letter-spacing:.08em;
  font-size:13px;
  text-transform:uppercase;
}

.nav a:hover{
  opacity:1;
}

.nav .open-modal{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  min-width:170px;
  height:42px;
  padding:0 22px;
  border:1px solid #B22222;
  border-radius:40px;
  background:#B22222;
  color:#fff;
  font-size:12px;
  font-weight:400;
  letter-spacing:.1em;
  text-transform:uppercase;
  cursor:pointer;
  transition:.3s;
}

.nav .open-modal:hover{
  background:transparent;
  border-color:rgba(255,255,255,.5);
}

/* ================= TG ================= */

.header-tg{
  display:none !important;
}

.mobile-menu-tg{
  width:32px;
  height:32px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:none;
  outline:none;
  background:transparent;
  box-shadow:none;
  text-decoration:none;
}

.header-tg svg,
.mobile-menu-tg svg{
  width:17px;
  height:17px;
  fill:white;
}

/* ================= BURGER ================= */

.burger{
  display:none;
  position:relative;
  width:32px;
  height:32px;
  padding:0;
  border:0;
  background:none;
  cursor:pointer;
  z-index:5001;
}

.burger span{
  position:absolute;
  left:4px;
  width:24px;
  height:2px;
  background:white;
  border-radius:2px;
  transition:.3s;
}

.burger span:first-child{
  top:11px;
}

.burger span:last-child{
  top:20px;
}

.burger.active span:first-child{
  top:16px;
  transform:rotate(45deg);
}

.burger.active span:last-child{
  top:16px;
  transform:rotate(-45deg);
}

/* ================= MOBILE SCROLL NAV ================= */

.mobile-scroll-nav{
  display:none;
}

/* ================= MOBILE MENU ================= */

.mobile-menu{
  position:fixed;
  top:0;
  right:0;
  width:100%;
  height:100vh;
  background:#000;
  z-index:4000;
  display:flex;
  flex-direction:column;
  padding:14px 18px 32px;
  transform:translateX(100%);
  transition:.35s;
}

.mobile-menu.active{
  transform:translateX(0);
}

/* ================= MENU HEADER ================= */

.mobile-menu-header{
  display:grid;
  grid-template-columns:32px 1fr 32px;
  align-items:center;
  margin-bottom:34px;
}

.mobile-menu-logo{
  justify-self:center;
  font-size:24px;
  font-weight:700;
  color:#fff;
  text-decoration:none;
  letter-spacing:.08em;
}

/* ================= CLOSE ================= */

.mobile-menu-close{
  position:relative;
  width:32px;
  height:32px;
  padding:0;
  border:0;
  background:none;
  cursor:pointer;
}

.mobile-menu-close span{
  position:absolute;
  left:4px;
  top:15px;
  width:24px;
  height:2px;
  background:#B22222;
  border-radius:2px;
}

.mobile-menu-close span:first-child{
  transform:rotate(45deg);
}

.mobile-menu-close span:last-child{
  transform:rotate(-45deg);
}

/* ================= MENU LINKS ================= */

.mobile-top{
  flex:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  align-items:flex-start;
  gap:16px;
  text-align:left;
  padding:0;
}

.mobile-top a{
  display:block;
  width:100%;
  font-size:18px;
  line-height:1.15;
  color:#fff;
  text-decoration:none;
  margin:0;
  letter-spacing:.08em;
  text-transform:uppercase;
}

/* ================= BOTTOM ================= */

.mobile-bottom{
  margin-top:auto;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
  text-align:left;
}

.city{
  font-size:18px;
  font-weight:500;
  color:#fff;
}

.address{
  font-size:13px;
  color:#8D8D8D;
}

.phone{
  margin-top:10px;
  font-size:17px;
  color:#fff;
  text-decoration:none;
}

/* ================= MESSENGERS ================= */

.messengers{
  display:flex;
  flex-wrap:nowrap;
  gap:10px;
  margin-top:15px;
  justify-content:flex-start;
}

.messengers .btn{
  min-width:120px;
  height:42px;
  padding:0 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #B22222;
  border-radius:40px;
  background:#B22222;
  color:#fff;
  font-size:13px;
  font-weight:400;
  letter-spacing:.08em;
  text-decoration:none;
  transition:.3s;
}

.messengers .btn:hover{
  background:transparent;
  border-color:rgba(255,255,255,.5);
}

.tg,
.wa,
.max{
  background:#B22222;
}

/* ================= BODY LOCK ================= */

.no-scroll{
  overflow:hidden;
}

/* ================= MOBILE ================= */

@media(max-width:900px){

  .header-inner{
    width:100%;
    padding:14px 18px 8px;
    display:grid;
    grid-template-columns:32px 1fr 32px;
    align-items:center;
  }

  .nav{
    display:none;
  }

  .logo{
    justify-self:center;
    font-size:24px;
    line-height:1;
  }

  .header-tg{
    display:flex !important;
    justify-self:start;
    z-index:5001;
    width:32px;
    height:32px;
    align-items:center;
    justify-content:center;
    text-decoration:none;
  }

  .burger{
    display:block;
    justify-self:end;
  }

  .mobile-scroll-nav{
    display:flex;
    justify-content:flex-start;
    gap:7px;
    overflow-x:auto;
    padding:0 18px 12px;
    scrollbar-width:none;
  }

  .mobile-scroll-nav::-webkit-scrollbar{
    display:none;
  }

  .mobile-scroll-nav a{
    flex:0 0 auto;
    padding:7px 12px;
    border:1px solid rgba(255,255,255,.14);
    border-radius:40px;
    background:rgba(255,255,255,.04);
    color:#fff;
    font-size:11px;
    line-height:1;
    opacity:.85;
    white-space:nowrap;
    text-decoration:none;
    letter-spacing:.06em;
    text-transform:uppercase;
  }
}

/* ================= DESKTOP ================= */

@media(min-width:901px){

  .header-tg{
    display:none !important;
  }

  .mobile-menu{
    display:none;
  }
}