/* ========== Header Styles ========== */
.header-left {
  display: flex;
  gap: 64px;
  align-items: center;
  position: center;
}

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

.gradient-background {
  width: 100%;
  height: 152px;
  background-image: linear-gradient(to bottom, #0c0d0ccf, #00000000);
  position: absolute; 
  top: 0; 
  z-index: 5;
}

.header__logo {
  flex-shrink: 0; 
  position: center;
}

.header__call {
  gap: 17px;
  display: flex;
  align-items: center;
}

.header__call-icon {
  width: 48px;
  height: 48px;
  border-radius: 100px;
  background: rgba(232, 230, 227, 0.08);
  backdrop-filter: blur(16px);
  justify-content: center;
  align-items: center;
  display: flex;
}

.header__call-text-t {
  margin-bottom: 5px;
  letter-spacing: 0.2px;
  font-size: 13px;
  opacity: 0.72;
  color: #ffffff; /* Белый текст для "Вопросы и запись" */
}

.header__call-link {
  color: #000000; /* Черный текст для номера телефона */
}

.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: #000000; /* Черный текст */
  transition: all 0.3s ease;
}
#header.scrolled .header .header__nav a {
  text-decoration: none;
  color: #ffffff; /* Черный текст */
}
.header__nav a:hover {
  color: #c2a070; /* Сохраняем цвет при наведении */
}

.Button {
  gap: 10px;
  z-index: 1;
  font-size: 15px;
  font-weight: 500;
  line-height: 18px;
  padding: 14px 22px;
  min-height: 52px;
  width: max-content;
  font-family: "Min Sans", sans-serif;
  border-radius: 100px;
  transform: scale(1) translateZ(0);
  transition: 0.2s ease-in-out;
  will-change: transform;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  cursor: pointer;
  display: flex;
}

.Button.--BrandSecondary {
  background: rgba(232, 230, 227, 0.08);
  backdrop-filter: blur(16px);
  color: #ffffff; /* Белый текст для кнопки "Купить сертификат" */
}

.Button.--BrandSecondary:hover {
  background: rgba(232, 230, 227, 0.1);
}


@media (max-width: 1023px) {
  .header__call {
    display: none;
  }
  
   .header {
    justify-content: center; /* Центрируем все содержимое */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    height: -webkit-fill-available;
    width: 100%;
    transition: all 0.3s ease;
    border-radius: 0px;
    /* display: block; */
    padding: 12px 16px;
    flex-direction: row;
    backdrop-filter: blur(0px);
  }
  #header.scrolled .header {
    backdrop-filter: blur(0px);
    background: none;
    height: 72px;
}
  .header__logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 auto;
  }
}

.Header__Back {
    display: none;
  }
