 
  .header {
    position: fixed;
    top: 20px; 
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
  }
  
  .header__container {
    width: 84%;
    height: 8vh;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    font-size: 1vw;
    color: #39120D;
  }

  .header__nav{
    width:35%;
  }

  .header__menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
  }
  
  .header__link {
    text-decoration: none;
    color: #39120D;
    font-weight: 500;
    transition: opacity 0.2s ease;
  }
  
  .header__link:hover {
    opacity: 0.7;
  }

  .header__contacts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15%;
    width: 30%;
  }
  
  .header__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #39120D;
    font-weight: 500;
    white-space: nowrap;
  }
  
  .header__phone-icon {
    fill: #39120D;
  }
  
  a.header__btn {
    text-decoration: none;
    background-color: #39120D;
    color: #FEF8EA;
    font-family: 'Jost', sans-serif;
    font-size: 1vw;
    font-weight: 500;
    border: none;
    border-radius: 80px;
    padding: 10px 32px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    text-align: center;
  }
  
  .header__btn:hover {
    background-color: #521b14;
  }
  
  .header__btn:active {
    transform: scale(0.98);
  }

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #39120D;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header__burger.is-open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.header__burger.is-open span:nth-child(2) {
  opacity: 0;
}
.header__burger.is-open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.header__btn-icon {
  display: none; 
}

@media screen and (max-width: 768px) {
  .header {
    top: 10px ;
    padding: 0 10px;
  }

  .header__container {
    width: 100%;
    padding: 0 16px;
    height: 50px;
    justify-content: space-between;
  }

  .header__contacts {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .header__phone { 
    display: none; 
  }

  .header__phone-text {
    display: none;
  }

  a.header__btn {
    display: inline-flex;    
    width: 36px;            
    height: 36px;
    padding: 0;             
    border-radius: 25%;     
    margin: 0;
  }

  .header__btn-text {
    display: none;
  }

  .header__btn-icon {
    display: block;
    width: 22px;          
    height: 22px;
    fill: #FEF8EA;       
  }

  .header__burger {
    display: flex;
  }

  .header__nav {
    position: fixed;
    top: -10px;  
    right: -100%;   
    height: calc(100vh + 20px);
    width: 75%;
    max-width: 280px;
    background-color: #FEF8EA;
    box-shadow: -5px 0 20px rgba(57, 18, 13, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    align-items: flex-end;       
    padding: 100px 25px 40px;  
    transition: right 0.3s ease-in-out;
    z-index: 1000;
  }

  .header__nav.is-open {
    right: -10px; 
  }

  .header__menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 2vh;
    align-items: flex-start;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .header__link {
    font-size: 5vw;
    font-weight: 500;
  }
}