@font-face {
  font-family: 'Miama Nueva';
  src: url('/fonts/miama.woff') format('opentype'); 
  font-weight: normal;
  font-style: normal;
}

* {
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Jost', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #FEF8EA; 
    overflow-x: hidden;
    list-style: none;
  }

  html {
    scroll-behavior: smooth;
  }

  .hero {
    position: relative;
    background-color: #FEF8EA;
    width: 100%;
    height: 165vh; 
  }

  .hero__image-container {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 0;
    height: 120vh;
    overflow: hidden;
  }
  
  .hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .hero__content-section {
    position: relative;
    z-index: 2;
    margin-top: -55vh; 
    background: url('../img/arc.webp') no-repeat top center;
    background-size: 100% auto;
    padding-top: 4%;
    padding-bottom: 6%;
  }
  
  .hero__content {
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__title {
    font-family: 'Jost', sans-serif;
    font-size: 2.8vw;
    font-weight: 400;
    color: #39120D;
    line-height: 1.3;
    margin: 0;
    margin-bottom: 3%;
  }

  .hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20vw;
    height: 7.4vh;
    background-color: #39120D;
    color: #FEF8EA;
    font-family: 'Jost', sans-serif;
    font-size: 1.1vw;
    font-weight: 500;
    text-decoration: none;
    border-radius: 10vw;
    transition: background-color 0.2s ease, transform 0.1s ease;
    margin-bottom: 8%;
  }
  
  .hero__btn:hover {
    background-color: #521b14;
  }
  
  .hero__btn:active {
    transform: scale(0.98);
  }

  .hero__advantages {
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .advantage__item {
    display: flex;
    align-items: center;
    gap: 8%;
    color: #39120D;
    font-family: 'Jost', sans-serif;
    font-size: 1vw;
    font-weight: 400;
    width: 20%;
  }
  
  .advantage__icon {
    stroke: #39120D;
    flex-shrink: 0;
    width: 2vw;
  }

.offer {
    position: relative;
    z-index: 1;
    margin-top: -32vh;
    width: 100%;
    background-color: #E9D4C1; 
  }
  
  .offer__container {
    width: 100%;
    display: flex;
    align-items: stretch;
  }
  
  .offer__image-col {
    width: 42%;
    flex-shrink: 0;
    margin-right: auto;
  }
  
  .offer__collage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .offer__text-col {
    width: 58%;
    padding: 0 10%;
    background-color: #E9D4C1;
    color: #39120D; 
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .offer__title {
    font-family: 'Jost', sans-serif;
    font-size: 1.8vw;
    font-weight: 500;
    margin: 0 0 6% 0;
  }
  
  .offer__text {
    font-family: 'Jost', sans-serif;
    font-size: 1.1vw;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 0 3% 0;
  }
  
  .offer__text--bold {
    font-weight: 500;
    margin-top: 8px;
  }

  .offer__link {
    color: #39120D;
    text-decoration: underline;
    font-weight: 500;
    transition: opacity 0.2s ease;
  }
  
  .offer__link:hover {
    opacity: 0.7;
  }

.popular-fillings {
    width: 100%;
    background-color: #FEF8EA;
    padding: 6% 0;
  }
  
  .popular-fillings__container {
    width: 100%;
    margin: 0 auto;
    padding: 0 10%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 5%;
  }

  .popular-fillings__info {
    max-width: 20vw;
    display: flex;
    flex-direction: column;
    height: 56vh;
    justify-content: space-between;
  }

  .popular-fillings__title {
    font-family: 'Jost', sans-serif;
    font-size: 1.8vw;
    font-weight: 500;
    color: #39120D;
    margin: 0 0 10% 0;
    line-height: 1.2;
  }

  .popular-fillings__text {
    font-family: 'Jost', sans-serif;
    font-size: 1.1vw;
    font-weight: 400;
    color: #39120D;
    line-height: 1.4;
    margin: 0 0 5% 0;
  }

  .popular-fillings__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20vw;
    height: 7.4vh;
    background-color: #39120D;
    color: #FEF8EA;
    font-family: 'Jost', sans-serif;
    font-size: 1.1vw;
    font-weight: 500;
    text-decoration: none;
    border-radius: 10vw;
    transition: background-color 0.2s ease, transform 0.1s ease;
    margin-bottom: 8%;
  }
  
  .popular-fillings__btn:hover {
    background-color: #521b14;
  }
  
  .popular-fillings__btn:active {
    transform: scale(0.98);
  }

  .popular-fillings__grid {
    display: grid;
    grid-template-columns: repeat(2, 26vw);
    gap: 2%;
  }

  .filling-card {
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
    margin-bottom: 6%;
  }
  
  .filling-card__img-wrap {
    width: 26vw;
    height: 22vh;
    overflow: hidden;
    border-radius: 0.4vw;
  }
  
  .filling-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .filling-card__caption {
    font-family: 'Miama Nueva', cursive;
    font-size: 1.6vw;
    font-weight: 500;
    color: #39120D;
    margin-top: 1%;
    text-align: right;
  }


  @media screen and (max-width: 768px) {
    .hero {
      height: auto; 
      padding-bottom: 2%;
    }
  
    .hero__image-container {
      height: 45%; 
      position: relative; 
      top: auto;
    }

    .hero__content-section {
      margin-top: -25%; 
      background-size: cover;
      padding-bottom: 7%;
      padding-top:8%;
    }
  
    .hero__title {
      font-size: 5.4vw; 
      width:84%;
      margin-bottom: 5%;
    }
  
    .hero__btn {
      width: 100%;
      max-width: 74%;
      font-size: 4.4vw;
      margin-bottom: 12%;
      height:6vh;
    }

    .hero__advantages {
      display: grid;
      grid-template-columns: 1fr 1fr;
      text-align: center;
      width:92%;
      margin-left: 7%;
    }
  
    .advantage__item {
      font-size: 3.6vw;
      text-align: left;
      margin-top:7%;
      width:90%;
    }

    .advantage__icon{
      width:5vw;
    }
  
    .offer {
      margin-top: 0; 
    }
  
    .offer__container {
      flex-direction: column; 
    }
  
    .offer__image-col {
      width: 100%;
      height: 48vh; 
    }
  
    .offer__text-col {
      width: 100%;
      padding: 10% 8%; 
    }
  
    .offer__title {
      font-size: 5.6vw;
      margin-bottom: 4%;
    }
  
    .offer__text {
      font-size: 4vw;
    }
  

    .popular-fillings {
      padding: 10% 8%; 
      justify-content: left;
    }
  
    .popular-fillings__container {
      flex-direction: column;
      padding: 0;
      font-size: 4vw;
      gap:0;
    }
  
    .popular-fillings__info {
      max-width: 100%;
      height: auto;
      justify-content: flex-start;
    }
  
    .popular-fillings__title {
      font-size: 5.6vw;
      margin-bottom: 4%;
    }
  
    .popular-fillings__text {
      margin-bottom: 6%;
      font-size: 4vw;
    }
  
    .popular-fillings__btn {
      width: 100%;
        max-width: 74%;
        font-size: 4.4vw;
        margin-bottom: 12%;
        height:6vh;
    }

    .popular-fillings__grid {
      grid-template-columns: 1fr 1fr;
      width: 100%;
      gap:5%;
    }
  
    .filling-card__img-wrap {
      width: 100%;
      height: 9vh; 
    }
  
    .filling-card {
      align-items: center; 
    }
    
    .filling-card__caption {
      text-align: center;
      font-size: 5vw;
    }
  }


.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.4); 
  color: #FEF8EA;          
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999; 
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-3px);
}

.scroll-top:active {
  transform: translateY(0);
}

@media screen and (max-width: 768px) {
  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}