/* made in xsign */
/* сделано xsign */
/* ========== Header ========== */
#header {
  position: fixed;
  top: 0;
  z-index: 999;
  width: 100%;
  background-color: transparent;
  display: flex;
  flex-direction: row;
  align-items: center;
  transition: all 0.3s ease;
  padding: 16px;
}

@media (max-width: 1023px) {
  #header.scrolled .header {
    backdrop-filter: blur(0px);
    background: none;
  }
}

@media (max-width: 768px) {
  #header.scrolled {
    padding: 16px;
    background: linear-gradient(to bottom, #000000 0%, #00000000 100%);
  }
}

#header.scrolled {
  background: rgba(12, 13, 12, 0.0);
}

#header.scrolled .header {
  display: flex;
  backdrop-filter: blur(48px);
  background: rgba(12, 13, 12, 0.16);
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 16px;
  transition: all 0.3s ease;
  border-radius: 50px;
  padding: 12px 16px;
}

@media (max-width: 1023px) {
  .header {
    justify-content: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    height: 72px;
    width: 100%;
    transition: all 0.3s ease;
    border-radius: 0px;
    padding: 12px 16px;
    flex-direction: row;
    backdrop-filter: blur(0px);
  }
}

.Header .Case { width: calc(1232px + 20px); }
.Header__Wrap { gap: 64px; display: flex; align-items: center; }
.Header__Logo { max-width: 96px; min-width: 96px; }
.Header__mobCall { display: none; }

.Header__Back { display: none; }

.container-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  font-size: 15px;
  position: relative;
  padding: 0;
}

.Header__Call { gap: 17px; display: flex; align-items: flex-end; }

.Header__Call-Icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-rad-full);
  background: var(--color-white-10);
  backdrop-filter: blur(16px);
  justify-content: center;
  align-items: center;
  display: flex;
}

.Header__Call-Text { margin-bottom: 3px; letter-spacing: 0.2px; color: var(--color-white-72); }

.Header__Ham {
  z-index: 1010;
  gap: 3px;
  width: 48px;
  height: 48px;
  border-radius: var(--border-rad-full);
  background: var(--color-white-10);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  cursor: pointer;
  display: none;
}

.Header__Ham div {
  width: 18px;
  height: 2px;
  position: relative;
  border-radius: var(--border-rad-sm);
  transition: var(--transition-main);
  background: var(--color-white);
}

.Header__Nav-Links { gap: 16px; display: flex; }
.Header__Nav-Link:hover { color: var(--color-brand); }
.Header__Nav .Header__Call, .Header__Nav .Header__Logo { display: none; }

.header-left {
  display: flex;
  gap: 64px;
  align-items: center;
}

.header__nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__nav li {
  margin-right: 16px;
}

.header__nav a {
  text-decoration: none;
  color: var(--color-white);
}

.header__nav a:hover {
  color: var(--color-brand);
}
.Header__Button { margin-left: auto; }
.Header__Button img { display: none; }

.Header.isMain {
  z-index: 10;
  width: 100%;
  padding: 58px 0;
  position: absolute;
}

.Header.isMain .Case { width: calc(1166px + 20px); }
.Header.isMain .Header__Wrap { align-items: flex-end; }
.Header.isMain .Header__Nav { top: 184px; left: 30px; position: absolute; }
.Header.isMain .Header__Nav-Links { flex-direction: column; }
.Header.isMain .Header__Button { display: none !important; }

/* ========== Mobile Menu ========== */
.MobileMenu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: var(--color-black);
  z-index: 9999;
  padding: 100px 32px 40px;
  overflow-y: auto;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
}

.MobileMenu.--active { right: 0; }
.MobileMenu ul { list-style: none; padding: 0; margin: 0 0 50px 0; }
.MobileMenu ul li { margin-bottom: 25px; }

.MobileMenu ul li a {
  color: var(--color-white);
  font-size: 20px;
  text-decoration: none;
  font-family: var(--font-main);
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-white-10);
  transition: color 0.3s;
}

.MobileMenu ul li a:hover { color: var(--color-brand); }

.MobileMenu .header__call {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--color-white-10);
}

.MobileMenu .header__call-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-rad-full);
  background: var(--color-white-10);
  backdrop-filter: blur(16px);
  justify-content: center;
  align-items: center;
  display: flex;
  margin-bottom: 15px;
}

.MobileMenu .header__call-info { text-align: center; }
.MobileMenu .header__call-text-t { color: var(--color-white-72); font-size: 14px; margin-bottom: 5px; }

.MobileMenu .header__call-info a {
  color: var(--color-white);
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}

.MobileMenuOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.MobileMenuOverlay.--active { opacity: 1; visibility: visible; }
.MobileMenuClose{
  width: 40px;
  height: 40px;
  border-radius: 100px;
  background: rgb(255 255 255 / 33%);
  backdrop-filter: blur(16px);
  justify-content: center;
  align-items: center;
  display: flex;
  margin: 16px;
}
.Header__Ham.--active div:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
.Header__Ham.--active div:nth-child(2) { opacity: 0; }
.Header__Ham.--active div:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* ========== Responsive ========== */
@media screen and (max-width: 1023px) {
  .Header__Call-Info { display: none; }
  .Header.isMain .Header__Call-Info { display: block; }
  .Header__Ham { display: flex; }
  .Header__Button { display: flex !important; position: absolute !important; }
  .Header.isMain .Header__Wrap { align-items: center; }
}

@media screen and (max-width: 767px) {
  .Header__Button { display: none !important; position: absolute !important; }
  .Header.isMain .Header__Button { display: none !important; }
  .whatsapp-button { bottom: 20px; left: 20px; width: 48px; height: 48px; }
  .whatsapp-button::after { width: 48px; height: 48px; }
  
  .MobileMenu {width: 85%;padding: 48px 24px 30px;border-radius: 30px;}
  .MobileMenu ul li a { font-size: 18px; padding: 10px 0; }
  .MobileMenu .header__call { margin-top: 30px; padding-top: 20px; }
}
