section{
    min-height: 100vh;
    padding: 4rem 0;
}

#section-1{
    padding: 0;
}

.home-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45); 
    z-index: 2; 
  }
  

.mdf-header .content {
        padding: 0 0 5rem 0;
        justify-content: flex-end;
        align-items: center;
}
.mdf-header .content div{
    gap:.6rem;
}
.search-form{
    background:rgb(255 255 255 / 72%);
    display: flex;
    gap:2rem;
    padding:1rem 1rem 1rem 4rem;
    border-radius: 20rem;
}
.search-form .input-wrapper{
    display: flex;
    flex-direction: column;
    font-family: var(--font-secondary);
    color:var(--color-primary);
    font-size: 0.950rem;
    width: 12rem;
}
.search-form .input-wrapper select{
    width: 100%;
}
.search-form .input-wrapper div{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap:.5rem;
    padding:.7rem .3rem;
    color:var(--color-primary);
    border-bottom: 1px solid var(--color-primary);
}
.search-form .input-wrapper div i{
    color: #96587180;
    font-size: 1rem;
}
.search-form select
{
    background: transparent;
    border:0;
    color: #8b5168;
    outline:none;
    font-family: var(--font-secondary);
    font-size: 0.950rem;
}
.search-form .btn,
.search-form button{
    background: var(--color-primary);
    font-family: var(--font-secondary);
    color:#fff;
    font-size:1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap:.5rem;
    border-radius: 10rem;
    padding: .5rem 2rem;
}
.search-form .btn,
.search-form button:hover{
    color:#f3f3f3;
}

@media(min-width:1400px){
    
    .content {
        padding:4rem 0 6rem 0;
    }
    .search-form {
        padding: 1.5rem 1.5rem 1.5rem 4rem;
        border-radius:30rem;
    }
   /* .search-form .input-wrapper{
        font-size: 1.2rem;
        width: 17.5rem;
    }*/
    .search-form select {
        font-size: 1.1rem;
    }
}

@media(min-width:640px) and (max-width:950px){
   #section-1{
    padding: 0;
   }
    .content {
        position: absolute;
        z-index: 3;
        top: 0;
        width: 88%;
        left: 6%;
        padding: 4rem 0 6rem 0;
        height: 100%;
        flex-direction: column;
        justify-content: flex-end;
        display: flex;
    }
    .search-form {
        gap: 1rem;
        padding:2rem 2rem;
        border-radius: 2rem;
        width:53%;
        flex-direction: column;
        align-self: center;
    }
    .search-form .input-wrapper {
        width: 100%;
    }
    .search-form button {
        font-size: 1.2rem;
        border-radius: .5rem;
        margin-top:.5rem;
        padding: .6rem 2rem;
        justify-content: center;
    }
    .search-form .input-wrapper div i,
    .search-form select {
        color: #965871bf;
    }
    .home-slider .slick-controls-container{
        display: none!important;
    }
}

@media(max-width:640px){
   
    .mdf-header .content {
        padding: 2rem 0 3rem 0;
    }
    
    .nav-menu {
        top: 2rem;
    }
    .nav-menu.active .visible-icon a, .nav-menu.active ul li i{
        color:var(--color-primary);
        border:1px solid #fff;
    }
    .nav-menu .visible-icon a span small{
       font-size:0;
    }
    .search-form {
        background: rgb(255 255 255 / 72%);
        gap: 2rem;
        margin: 0 auto;
        padding: 1.5rem;
        border-radius: .5rem;
        flex-direction: column;
        width: 80%;
    }
    .search-form select option{
        color:#000;
    }
    
    .search-form .input-wrapper{
        width: 100%;
    }
    .search-form button{
        font-size: .900rem;
        padding: .7rem 0;
        justify-content: center;
    }
    .home-slider .slick-controls-container{
        display: none;
    }
}

@media(min-height:520px) and (max-height:630px){
    .mdf-header .content {
        padding: 4rem 0 2rem 0;
        justify-content: flex-end;
    }
    
    .mdf-header .content div{
        gap:.5rem;
    }
    .arriba{
        bottom: 2rem;
    }
}

/*section 2 */
.titulo-eleg{
    font-size: 3rem;
}
.titulo-sup{
    font-weight: 300;
    font-size: 1rem;
}
#section-2{
    position: relative;
    overflow: hidden;
    padding: 5rem 0 0 0;
}
#section-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0%;
    width: 100%;
    height:40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 5;
}
#section-2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 50%;
    height: 95px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    z-index: 2;
}
#section-2 .overlay-section{
    position: absolute;
    right: 0;
    top: 0;
    z-index: 3;
    width: 50%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgb(255 255 255 / 66%) 100%);
  }
#section-2 .destino-etiquetas{
    margin: 0 0 1.5rem 0;
}
#section-2 .destino-etiquetas.no-border a  {
    font-size: 1rem;
    line-height: 1rem;
    padding: 0 .7rem .3rem 0;
    font-family: var(--font-secondary);
}
#section-2 .destino-etiquetas.no-border a:hover{
    font-weight: bold;
}
#section-2 .titulo-sup{
    font-weight: 300;
   
}
.u-destino{
    gap:1rem;
    align-items: self-start;
    padding-left: .5rem;
    padding-top: 2.5rem;
    width: 55%;
}
.u-destino p{
    font-family: var(--font-secondary);
    font-size: 0.920rem;
    font-weight: 300;
    color:#444;
}
.u-destino h4{
    font-size: 3rem;
    color:var(--color-primary);
    font-family: var(--font-primary);
}


.contenido-destino .data-location{
    margin: 3rem 0 0 .5rem;
    display: flex;
    gap:.5em;
    flex-direction: column;
    width: 65%;
   
  }
  .contenido-destino .data-location p{
    font-family: var(--font-secondary);
    font-weight: 300;
    color:#444;
  }
.contenido-destino .data-location h4{
    font-family: var(--font-primary);
    font-size: 40px;
    font-weight: 400;
    line-height: 61px;
    color: var(--color-primary);
    transition: transform 900ms ease, opacity 900ms ease;
    transform: translateY(0);
    opacity: 1;
    white-space: nowrap; 
    margin-bottom:0;
  }
  
  .contenido-destino .data-location a{
    align-self: self-start;
    font-size: 16px;
  }
  .contenido-destino .data-location a:hover{
    background: var(--color-primary);
    color:#fff;
  }
  .contentedor-carousel-mejores-rutas
  {
    position: absolute;
    height: 100%;
    width: 50%;
    right: 0;
    padding: 7% 0 0 0;
    margin: 0;
    }
.bg-destino {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0; 
    transition: opacity 1.3s ease-in-out;
    z-index: 1;
}

.bg-destino.active {
    opacity: 1;
    z-index: 2; 
}
.contentedor-carousel-destinos{
    position: absolute;
    width: 47%;
    right: 3%;
    top:50%;
    transform: translateY(-50%);
    margin: 0;
    z-index: 9;
}
.contentedor-carousel-destinos .imagen-destino a{
        position: absolute;
        display: none;
        color: #fff;
        width: 60%;
        bottom: 20px;
        left: 20%;
        font-size: 17px;
        color: #fff;
        z-index: 88;
        text-decoration: none;
        text-align: center;
        padding: 7px 0;
        border-radius: 30px;
        border: 1px solid #fff;
        background: rgba(255, 255, 255, 0.314);
        text-transform: uppercase;
        font-family: var(--font-secondary);
    }

    
.carousel-destinos{
        margin-left:-3em;
}
.carousel-destinos .imagen-destino {
        margin: 0 0.5em; 
}
.carousel-destinos .imagen-destino img{
        transition: height 1.3s ease-in-out;
        height: 22rem;
        object-fit: cover;
      
}
.carousel-destinos{
      display: flex;
      align-items: center;
      margin-left:-5rem;
}
    
.carousel-destinos .imagen-destino img {
        width: 100%; 
        border-radius:30px; 
}

#section-2 .slick-track{
        display: flex ;
        align-items: flex-end;
        height: 30rem;
}
#section-2 .slick-slide {
          transition: height 1.5s ease-in-out,  opacity 1.5s ease-in-out;
          opacity: 0.5;
          width: 20rem;
          height: 22rem;
}
.slick-dotted.slick-slider {
    margin-bottom: 1rem;
}
#section-2 .slick-current.imagen-destino img {
    height: 24rem;
}
#section-2 .slick-track, 
#section-2 .slick-current {
    height: 24rem;
}

#section-2  .slick-slide.slick-current {
        opacity: 1;
}

#section-2 .slick-prev, 
#section-2 .slick-next{
    top:0;
    transform:inherit;
    width: 40px;
    height: 40px;
    display: flex !important;
    color: #fff !important;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    background: transparent;
    padding: 1rem;
}
#section-2 .slick-prev {
        position: relative;
        left:-1rem;
        z-index: 10;
}

#section-2 .slick-next {
    position: relative;
    right: -1rem;
    z-index: 10;
}
#section-2 .slick-prev i, 
#section-2 .slick-next i{
    font-size: 2rem;
    color:var(--color-primary)
}

#section-2 a.btn-custom{
    font-size: .850rem;
}

@media(min-width:1400px){
    #section-2{
        min-height: 80vh;
        padding: 0;
        align-items: center;
    }
    section{
        padding:5em 0;
    }
    #section-2 .titulo-sup {
        font-weight: 200;
        font-size: 1.520rem;
        letter-spacing: 0.750rem;
    }
    .titulo-eleg {
        font-size: 4.720rem;
    }
    .u-destino {
        width: 60%;
    }
    .u-destino h4 {
        font-size: 3.8rem;
    }
    .u-destino p {
        font-size: 1.350rem;
        line-height: 1.4rem;
    }
   
    .carousel-destinos .imagen-destino img {
        height: 24rem;
        border-radius:40px; 
    }
   
    #section-2 .slick-slide{
        width: 23rem;
        height: 24rem;
    }
    #section-2 .slick-track,
    #section-2 .slick-current {
        height: 28rem;
    }
    #section-2 .slick-current.imagen-destino img {
        height: 28rem;
    }
    #section-2 a.btn-custom{
        font-size: 1rem;
    }
    
    #section-2 .slick-controls-container{
        gap:.5rem;
    }
}

@media (min-width: 768px) and (max-width: 1400px) {
   
    #section-2 {
        min-height: 75vh;
        align-items: center;
        padding: 0;
    }
    #section-2 .container {
        width: 93% !important;
        max-width: 93%;
    }
    #section-2 .destino-etiquetas {
        margin: 0 0 .5rem 0;
        gap: .3rem;
    }
    #section-2 .destino-etiquetas.no-border a {
        font-size: .790rem;
        padding: 0 0 .1rem 0;
        margin: 0;
    }
    #section-2 .titulo-sup {
        font-size: .750rem;
        letter-spacing: .250rem;
    }
    #section-2 .titulo-eleg {
        font-size: 2.5rem;
    }
    .contentedor-carousel-destinos {
        right: 4%;
    }
    .contenido-destino .data-location h4 {
        font-size: 2.3rem;
        line-height: 2rem;
    }
    .contenido-destino .data-location {
        margin: 2rem 0 0 .5rem;
        gap: .5em;
        width: 80%;
    }
    .contenido-destino .data-location p {
        font-size: .900rem;
        line-height: 1.2rem;
    }
    #section-2 a.btn-custom {
        font-size: .750rem;
        padding: .4rem 1.5rem;
    }
    #section-2 .carousel-destinos .imagen-destino img {
        height: 16rem;
    }
    #section-2 .slick-slide.slick-current,
    #section-2 .slick-track,
    #section-2 .slick-current,
    #section-2 .slick-current.imagen-destino img {
        height: 20rem;
    }
    #section-2 .slick-slide {
        width: 15rem;
        height: 16rem;
    }
    #section-2 .slick-prev {
        left: 0;
    }
    #section-2 .slick-next {
        right: 0;
        background: transparent;
    }
    .carousel-destinos {
        margin: -.5rem 0 0 -4rem;
    }
  
   
    @media (min-width: 950px) {
      #section-2 {
          min-height: 95vh;
          padding: 0;
          align-items: center;
      }
      #section-2 .destino-etiquetas.no-border a {
          font-size: .900rem;
          padding: .1rem 0 0 0;
      }
     
      .contenido-destino .data-location {
          width: 70%;
      }
      #section-2 a.btn-custom {
          padding: .4rem 1.5rem;
          font-size: .850rem;
      }
     
      #section-2 .slick-slide.slick-current, 
      #section-2 .slick-track, 
      #section-2 .slick-current, 
      #section-2 .slick-current.imagen-destino img{
        height: 24rem;
      }
        #section-2 .carousel-destinos .imagen-destino img {
            height: 22rem;
        }
        #section-2 .slick-slide {
            width: 18rem;
            height: 22rem;
        }
        #section-2 .slick-slide.slick-current,
        #section-2 .slick-current.imagen-destino img {
            height: 24rem;
        }
      
    }
  }

@media (max-width:767px){
    .bg-destino,
    #section-2::after,
    #section-2::before,
    #section-2 .overlay-section{
        display: none;
    }
    #section-2 .slick-controls-container {
        justify-content: center;
    }
    #section-2 {
        padding: 2rem 0 4rem 0;
        min-height: 50vh;
        text-align: center;
    }
    
    #section-2 .destino-etiquetas {
        justify-content: center;
        margin: 0;
    }
    #section-2 .destino-etiquetas.no-border a {
        font-size: .750rem;
        padding: .2rem .3rem;
    }
    #section-2 .titulo-sup {
        font-weight: 300;
        font-size: 1rem;
        letter-spacing: .3rem;
    }
    #section-2 .titulo-eleg {
        font-size: 2.5rem;
    }
    .contenido-destino .data-location a{
        align-self: center;
        position: absolute;
        bottom: 1rem;
    }
    #section-2 a.btn-custom{
        font-size: .780rem;

    }
    .contenido-destinos{
        display: flex;
        flex-direction: column;
        align-content: center;
        flex-wrap: wrap;
    }
    .contenido-destino .data-location{
        width: 100%;
        padding: 0 1rem;
        text-align: center;
        align-items:center;
        margin: 0;
        width: 100%;
    }
    
    .contenido-destino .data-location p{
        font-size: .850rem;
        text-align: left;
    }
    .contentedor-carousel-destinos {
        position: relative;
        width: 90%;
        margin: 0 auto;
        padding: 0 0;
        height: auto;
        transform: inherit;
        right:0
    }
    .carousel-destinos{
        margin-left: 0;
    }
}

@media(max-width:480px) {
    #section-2{
        padding: 1.5rem 0 4rem 0;
        min-height: auto;
    }
   
    #section-2 .destino-etiquetas.no-border a{
        padding: .2rem 0;
    }
    .contentedor-carousel-destinos{
        width: 100%;
    }
    #section-2 .titulo-eleg {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    #section-2 .destino-etiquetas{
        margin: 0 0 1.5rem 0;
    }
    .carousel-destinos .imagen-destino{
        margin:0 .5rem;
    }
    #section-2 .carousel-destinos .imagen-destino img{
        width: 98%!important;
    }
    #section-2 .slick-slide {
        width: 17rem!important;
        height: 340px!important;
    }
    .carousel-destinos .imagen-destino img{
        height: 340px!important;
    }
    #section-2 .slick-current.imagen-destino img, 
    #section-2 .slick-track, 
    #section-2 .slick-current {
        height: 380px!important;
    }
    .carousel-destinos {
        height: 380px;
        align-items: flex-start;
    }
    .contentedor-carousel-destinos{
        margin:1.5rem auto 0 auto;
        height: 380px;
    }
    #section-2 .slick-prev{
        left:0;
    }
    #section-2 .slick-next{
        right:0;
    }
    #section-2 .col-md-6{
        max-height: 270px;
        overflow: hidden;
        padding: 0 0 1.5rem 0;
    }
    #section-2 .slick-prev, #section-2 .slick-next{
        top:50%;
        transform: translateY(-50%);
    }
    .contenido-destino .data-location a {
        bottom: 2.5%;
    }
}

@media(max-width:360px){
    .contenido-destino .data-location p{
        font-size: .850rem;
    }
    #section-2 .titulo-sup {
        font-size: .850rem;
        letter-spacing: .3rem;
    }
    .contenido-destino .data-location{
        margin:0;
    }
    .contenido-destino .data-location h4{
        font-size: 2rem;
    }
    .carousel-destinos{
        margin-left:0;
    }

    #section-2 .slick-current.imagen-destino img {
        height: 300px;
    }
   
    #section-2 .slick-slide {
        width: 230px;
        height: 260px;
    }
    #section-2 .slick-track, 
    #section-2 .slick-current {
        height: 300px;
    }
}
/*section 3*/

#section-3  .container{
    width: 70%;
    margin:0 auto;
    position: relative;
}

#section-3{
    background: linear-gradient(180deg, #EAEFF0 0%, #FAEAF0 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 5rem 0;
  
}

#section-3 > .container > .row{
    justify-content: space-between;
    align-items: center;
}

  #section-3 .wrap-info{
    font-weight: 400;
  }
#section-3 .destino-etiquetas.no-border a  {
    font-size: 0.850rem;
    line-height: 1rem;
    padding: .3rem .3rem .3rem 0;
    font-family: var(--font-secondary);
}
#section-3 .destino-etiquetas.no-border a:hover{
    font-weight: bold;
  }
#section-3 .titulo-eleg{
    font-size: 3rem;
}

#section-3 .titulo-destino {
    font-size: 2.5rem;
    line-height: 2.8rem;
}
  .ruta-detalle span{
    font-size: 1.250rem;
  }
  .ruta-detalle #dias-m-ruta{
    font-size:0.850rem;
  }
  .ruta-detalle span small{
    font-size: 0.700rem;
  }

  .titulo-destino{
    font-size: 50px;
    line-height: 45px;
  }
  .destino-etiquetas{
    margin-top: 2em;
  }

  .info-destino .price{
    color: var(--color-primary);
  }
  .info-destino .btn-custom{
     padding: 7px 40px;
     font-weight: 300;
     font-size: .900rem;
  }
  .carousel-rutas{
    align-items:start
  }
  .contenedor-carousel-mejores-rutas{
    position: relative;
    right: 0;
    top:0;
    width: 50%;

  }
  
.contenedor-carousel-mejores-rutas .slick-prev,
.contenedor-carousel-mejores-rutas .slick-next {
position: absolute;
top: 50%;
color: var(--color-primary);
border: none;
width: 40px;
height: 40px;
border-radius: 50%;
font-size: 1.2rem;
z-index: 10;
display: flex;
align-items: center;
justify-content: center;
background: none;
}

.contenedor-carousel-mejores-rutas .slick-prev {
    left: -40px; 
  }
  .contenedor-carousel-mejores-rutas .slick-prev i,
  .contenedor-carousel-mejores-rutas .slick-next i{
    color:var(--color-primary);
    font-size: 2.5rem;
  } 

  #section-3 .titulo-sup {
    font-weight: 400;
    letter-spacing: .5rem;
    font-size: 0.900rem;
  }
  #section-3 .titulo-destino{
    margin:0 ;
  }
 
@media(min-width:1400px){
    .btn-custom{
        padding:.5rem 2rem;
    }
    .carousel-rutas{
        height: 39rem;
    }
    .carousel-rutas .slide{
        height: 100%;
        width:29rem;
    }
    #section-3 .wrap-info {
        width: 90%;
    }
    .destino-etiquetas {
        margin-top: 4em;
        margin-bottom: .5em;
    }
    #section-3 .titulo-sup {
        font-size:1.400rem;
    }
    #section-3 .titulo-eleg {
        font-size: 4.2rem;
    }
    #section-3 .titulo-destino {
        font-size: 3.5rem;
        line-height: 3.2rem;
    }
  
    .ruta-detalle{
        margin:1rem 0;
    }
    .ruta-detalle span {
        font-size: 2rem;
    }
    .ruta-detalle #dias-m-ruta {
        font-size: 1.2rem;
    }
    .ruta-detalle .fst-italic{
        font-size: 1.3rem;
    }
    
    .ruta-detalle span small {
        font-size: .900rem;
    }
    .info-destino .price {
        
        font-size: 1.5rem;
    }
    .info-destino .btn-custom {
        font-size: 1rem;
    }
}

@media (min-width: 1300px) and (min-height: 520px) and (max-height: 750px) {
  
    #section-3 .titulo-sup {
        font-size: 1rem;
    }
    #section-3 .titulo-eleg {
        font-size: 3rem;
    }
   
    #section-3 > .container > .row {
        align-items: center;
    }
    .destino-etiquetas {
        margin-top: 2rem;
        margin-bottom: 0;
    }
    .ruta-detalle span {
        font-size: 1.3rem;
    }
    .ruta-detalle #dias-m-ruta {
        font-size: .900rem;
    }
    .carousel-rutas,
    .carousel-rutas .slide {
        height: 29rem;
    }
    .carousel-rutas .slide {
        width: 22rem;
    }
   
    @media (min-width: 1400px) and (min-height: 630px) and (max-height: 680px) {
      #section-3 .titulo-sup {
          font-size: 1.200rem;
      }
      #section-3 .titulo-eleg {
          font-size: 3.7rem;
      }
      .destino-etiquetas {
          margin-top: 2.5rem;
          margin-bottom: .5rem;
      }
      #section-3 .titulo-destino {
          font-size: 3rem;
      }
      .ruta-detalle {
          margin: 0 0 1rem 0;
      }
      .carousel-rutas .slide {
          width: 22rem !important;
      }
      .carousel-rutas,
      .carousel-rutas .slide {
          height: 31rem !important;
      }
    }

}

@media(min-width:950px) and (max-width:1100px){
    #section-3{
        min-height: 90vh;
        padding: 0;
    }
    #section-3 > .container > .row {
        align-items: center;
    }
    #section-3 .container {
        width: 95%;
    }
    #section-3 .col-lg-5{
        width:45%
    }
    #section-3 .titulo-sup {
        letter-spacing: .5rem;
        font-size: 0.800rem;
    }
    #section-3 .titulo-eleg {
        font-size: 2.6rem;
    }
    #section-3 .titulo-destino{
        font-size: 2.2rem;
        line-height: 2rem;
    }
    .destino-etiquetas {
        margin-top: 1rem;
    }
    .info-destino .btn-custom {
        padding: 7px 1.5rem;
        font-size: .700rem;
    }
    .carousel-rutas .slide{
        width: 17rem;
        height: 23rem;
    }
    .carousel-rutas {
        width: 100%;
        height: 23rem;
        justify-content: flex-start;
    }
}

@media (min-width: 640px) and (max-width: 950px) {
    
    #section-3 {
        min-height: 75vh;
        padding: 0;
    }
    #section-3 > .container > .row {
        align-items: center;
    }
    #section-3 .container {
        width: 95%;
    }
    #section-3 .col-lg-5 {
        width: 45%;
    }
    #section-3 .wrap-info {
        font-size: .900rem;
    }
    #section-3 .titulo-sup {
        letter-spacing: .2rem;
        font-size: 0.800rem;
    }
    #section-3 .titulo-eleg {
        font-size: 2.6rem;
    }
    #section-3 .titulo-destino {
        font-size: 2.2rem;
        line-height: 2rem;
    }
    .destino-etiquetas {
        margin-top: 1rem;
    }
    .info-destino .btn-custom {
        padding: 7px 1rem;
        font-size: .700rem;
    }
    .carousel-rutas {
        width: 100%;
        height: 23rem;
        justify-content: flex-start;
    }
    .carousel-rutas .slide {
        width: 16rem;
        height: 23rem;
    }
  
    /* === Overrides para 750px–950px === */
    @media (min-width: 750px) {
      #section-3 {
          min-height: 70vh;
      }
      #section-3 .container {
          max-width: 95%;
      }
      #section-3 .titulo-sup {
          letter-spacing: .5rem;
          font-size: 0.800rem;
      }
      #section-3 .titulo-destino {
          font-size: 2rem;
          line-height: 2rem;
      }
      #section-3 .destino-etiquetas {
          gap: .5rem;
      }
      #section-3 .destino-etiquetas.no-border a {
          padding: .2rem 0 0 0;
          font-size: .780rem;
      }
      .info-destino .btn-custom {
          padding: .4rem 1.5rem;
          font-size: .700rem;
      }
      .carousel-rutas {
          height: 22rem;
      }
      .carousel-rutas .slide {
          width: 16rem;
          height: 22rem;
      }
      .contenedor-carousel-mejores-rutas .slick-prev i, 
      .contenedor-carousel-mejores-rutas .slick-next i {
          color: var(--color-primary);
          font-size: 2rem;
      }
    }
  }
  
@media (max-width: 640px) {
  
    #section-3 {
        padding: 3rem 0;
        text-align: center;
        min-height: 100vh;
    }
    #section-3 .container {
        padding: 0;
        margin: 0 auto;
        width: 100%;
    }
    #section-3 .titulo-eleg {
        font-size: 3rem;
    }
    #section-3 .titulo-sup {
        letter-spacing: .3rem;
        font-size: 0.800rem;
    }
    #section-3 .titulo-destino {
        font-size: 2.4rem;
        line-height: 2.2rem;
        margin-bottom: .5rem;
    }
    .contenedor-carousel-mejores-rutas {
        position: relative;
        right: 0;
        top: 0;
        width: 240px;
        margin: 0 auto;
        transform: translateX(-12%);
        height: auto;
        padding: 1rem 0;
    }
    .carousel-rutas,
    .carousel-rutas .slide {
        display: flex;
        flex-direction: column;
        height: 28rem;
    }
    .carousel-rutas .slide {
        width: 100% !important;
    }
    #section-3 .slick-prev,
    #section-3 .slick-next {
        top: 50% !important;
    }
    #section-3 .slick-prev {
        left: -3rem;
    }
    #section-3 .wrap-info {
        padding: .5rem 2rem;
        text-align: center;
        margin-bottom: 0;
    }
    .destino-etiquetas {
        margin-top: 1rem;
    }
    .info-destino {
        align-items: center;
    }
    .data-precio {
        flex-direction: column-reverse;
        gap: .5rem;
        margin-bottom: 1rem;
    }
    .ruta-detalle {
        margin: 0 0 .9rem 0;
        align-items: center;
    }
    .info-destino .price {
        font-size: 1.4rem !important;
        margin-left: 0 !important;
    }
    .info-destino .price span {
        font-size: 1.8rem !important;
    }
    .carousel-rutas .slide.active .detalle-mejor-ruta {
        display: none; 
        background: none;
        top: 90%;
        height: auto;
        color: var(--color-primary);
    }
    .carousel-rutas .slide.active .detalle-mejor-ruta .precio-dt {
        display: flex;
        flex-direction: column-reverse;
        gap: .5rem;
    }
    .carousel-rutas .slide.active .detalle-mejor-ruta .btn-custom {
        border: 1px solid var(--color-primary);
        color: var(--color-primary);
    }
    .carousel-rutas .slide img {
        border-radius: 30px;
    }
    .info-destino .btn-custom {
        font-size: .800rem;
    }
  
    @media (min-width: 480px) {
      .contenedor-carousel-mejores-rutas {
        width: 60% !important;
        margin: 0 0 0 12%;
        transform: none; 
      }
    }

}

@media (max-width: 480px) {
    .carousel-rutas .slide {
        opacity: 0;
    }
    .carousel-rutas .slide.visible {
        opacity: 1;
    }
    #section-3 .wrap-info {
        display: none;
    }
    #section-3 {
        padding: 2rem 0 6rem 0;
        height: auto;
        min-height: auto;
        align-items: flex-start;
    }
    #section-3 .titulo-eleg {
        font-size: 2.5rem;
    }
    #section-3 .container {
        height: auto;
        position: relative;
    }
    #section-3 .destino-etiquetas.no-border a {
        font-size: .800rem;
        line-height: 1rem;
        padding: 0 .1rem 0 0;
        font-family: var(--font-secondary);
    }
    .ruta-detalle {
        margin: 0;
    }
    #section-3 .titulo-destino {
        font-size: 2.2rem;
        line-height: 2rem;
        margin-bottom: .5rem;
    }
    .carousel-rutas,
    .carousel-rutas .slide {
        height: 360px;
        min-height: 300px;
    }
    .contenedor-carousel-mejores-rutas {
        right: 0;
        top: 0;
        width: 68%;
        transform: translateX(-2%);
    }
    .data-precio {
        position: absolute;
        bottom: 0;
        transform: translateY(110%);
    }
    .carousel-rutas .detalle-mejor-ruta .destino-etiquetas,
    .carousel-rutas .detalle-mejor-ruta h4,
    .carousel-rutas .d-flex.flex-column.align-items-center,
    .dt-s {
        display: none !important;
    }
    .carousel-rutas .d-flex.align-items-center.mt-3 {
        margin-top: 2rem !important;
        flex-direction: column;
    }
  }
  
@media (max-width: 360px) {
    .contenedor-carousel-mejores-rutas {
        margin: 0 0 0 4.5rem;
        width: 50%;
    }
    .carousel-rutas,
    .carousel-rutas .slide {
        height: 18rem;
    }
    #section-3 .slick-prev {
        left: -2.5rem;
    }
    #section-3 .titulo-eleg {
        font-size: 2.2rem;
        line-height: 2.1rem;
    }
  }
  
/*section 5*/


#section-5 .destino-etiquetas a,
#section-5 .destino-etiquetas span{
    font-size:.900rem;
    padding: .5rem .2rem;
}

#section-5{
    background: linear-gradient(180deg, #EAEFF0 0%, #FAEAF0 100%);
    padding: 5em 0 2em 0;
    min-height: auto;
 }
 #section-5 .titulo-sup{
  font-weight: 300;
 }
 #section-5 .destino-etiquetas{
  margin: 0 ;
  text-align: left !important;
  display: flex;
  justify-content: space-between;
 }

 #section-5 .destino-etiquetas a:hover{
    font-weight: bold!important;
 }
 #section-5 .col-lg-4{
  margin:0;
  padding: 0;
 }

  .section-title, .section-subtitle, .section-description {
    color: var(--color-primary);
  }

  .section-title, .section-subtitle {
    font-weight: bold;
  }


.fechas-card{
    margin:4rem 0 2rem 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    flex-wrap: nowrap;
    gap:3rem;
  }


  
  .card-hover-container {
    position: relative;
    height: 250px;
    border-radius: 30px;
    cursor: pointer;
    margin: 0;
    transition: transform 0.8s ease; 
  }
  
  .card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease, top 0.8s ease;
    border-radius: 30px;
  }
  
  .card-hover-container:hover .card-image {
    transform: translateY(-40px) rotate(10deg);
   
  }
  
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color:var(--color-primary); 
    z-index: 1;
    transition: background-color 0.8s ease, transform 0.8s ease; 
    border-radius: 30px;
  }
  
  .card-hover-container:hover .overlay {
    background-color: rgba(150, 88, 113, 0.7); 
   transform: rotate(-5deg);
   
  }
  
  
  .card-content {
    position: relative;
    z-index: 2; 
    color: white;
    font-size: .950rem;
    line-height: 1.4em;
    font-family: var(--font-secondary);
    text-align: center;
    top: 50%;
    transform: translateY(-50%); 
    padding: 0 2.5rem;
    transition: all 0.3s ease-in-out; 
    min-height: 12rem;
  }
  .card-content p{
    margin-bottom: .8rem;
  }
  .card-content p:last-child{
    margin-bottom: 0;
  } 
  .card-title {
    font-weight: bold;
    margin-bottom: 10px;
    font-family: var(--font-primary);
  }

  @media(min-width:1400px){
    #section-5{
        padding: 7rem 0 3rem 0;
     
    }
    .card-hover-container {
      position: relative;
      height: 20rem;
    }
    .card-title{
        font-size: 3rem;
        font-weight: 400;
    }
    .card-content {
        font-size: 1.150rem;
    }
    .card-content{
      padding: 0 3em;
      min-height: 60%;
    }

    #section-5 .titulo-sup {
        font-size: 1.7rem;
    }

    #section-5 .titulo-eleg{
        margin: .8rem 0;
    }
    #section-5 .destino-etiquetas span, 
    #section-5 .destino-etiquetas a {
        font-size: 1.2rem;
    }

    .fechas-card{
        margin: 5rem 0 2rem 0
    }
  }
  @media(min-width:640px) and (max-width:950px){
    #section-5{
        padding:3rem 0 2rem 0;
    }
    .fechas-card{
        gap:1.5rem;
        margin: 2rem 0 1rem 0;
    }
    .card-content {
        font-size: .800rem;
        line-height: 1.4em;
        top: 50%;
        transform: translateY(-50%);
        padding: 0 1.2rem;
        min-height: 65%;
    }
    .card-content p{
        font-size: .850rem;
        line-height: 1rem;
        margin-bottom: .3rem;
    }
   
    .card-hover-container{
        height: 210px;
    }
    #section-5 .destino-etiquetas span, #section-5 .destino-etiquetas a {
        font-size:.700rem;
        line-height: 1rem;
        padding: .2rem .1rem;
    }
    #section-5 .destino-etiquetas {
        justify-content: center;
        gap:.3rem;
    }
    .card-hover-container:hover .card-image {
        transform: translateY(-15px) rotate(10deg);
    }
  }
  
    @media(max-width:640px){
        #section-5{
            padding: 3rem 0;
        }
        .fechas-card {
            margin: 2rem 1rem;
            grid-template-columns: repeat(1, 1fr);
            gap: 2rem;
        }
        .card-title{
            margin-bottom: 1rem;
        }
        .card-hover-container {
            height: 11rem;
        }
        .card-content {
            font-size: .850rem;
            line-height: 1rem;
            min-height: 4rem;
        }
        #section-5 .destino-etiquetas {
            justify-content: center;
        }
        #section-5 .destino-etiquetas a, 
        #section-5 .destino-etiquetas span {
            font-size: .800rem;
            padding: .1rem 0;
            line-height: 1rem;
        }
        .card-hover-container:hover .card-image {
            transform: translateX(13px) rotate(10deg);
        }
        .card-hover-container:hover .overlay{
            transform: translateX(-13px) translateY(5px) rotate(-10deg);
        }
    }
    
    @media(min-width:480px) and (max-width:640px){
        .card-hover-container {
            height: 14rem;
        }
        .fechas-card {
            margin: 4rem auto 2rem auto;
            grid-template-columns: repeat(1, 1fr);
            gap: 2rem;
            width: 63%;
        }
    }
  /*section 6*/

  #section-6{
    padding: 6rem 0;
  }

  #section-6 > .container > .row{
    width:90%;
    margin:0 auto
  }

  #section-6 .titulo-sup{
    font-weight: 400;
    margin-bottom: .5rem;
  }
  #section-6 .titulo-eleg {
    font-size: 2.8rem;
  }
  #section-6 .titulo-eleg i{
    font-family:"evenings-italic";
    font-style: normal;
}
  #section-6 .infosp{
    padding:2rem 4rem 0 0;
  }
  
  #section-6 .btn-outline-light{
    transition: all 500ms ease-in;
  }
  #section-6 .btn-outline-light:hover{
    background: var(--color-primary);
    color:#fff;
  }
  #section-6 .card-custom .btn{
    color: #fff;
    font-size: 0.750rem;
    padding: 0.4rem;
  }
  .card-custom {
    border-radius:40px;
    overflow: hidden;
    height:28rem;
    margin:0 .3rem;
  }
  
  .card-custom .card-img {
    height: 100%;
    object-fit: cover;
  }
  
  .card-custom .card-img-overlay {
    background: linear-gradient(
        180deg,
        rgba(150, 88, 113, 0.9) 0%,
        rgba(150, 88, 113, 0.7) 65%,
        rgba(150, 88, 113, 0.6) 100%
      );
    top: 51%;
    backdrop-filter: blur(5px);
  }
  
  .card-custom .btn {
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    width: 150px;
    margin: 0 auto;
  }
  
  .card-text {
    font-weight: 300;
    font-family: var(--font-secondary);
    margin:.3rem 0 1rem 0;
    font-size: .95rem;
    line-height: 1.2rem;
  }
  .card-img-overlay h5{
    font-family: var(--font-primary);
    font-size: 1.7rem;
    font-weight: 500;
  }
  
  .rutas-content-card a{
    text-transform: uppercase;
    font-family: var(--font-secondary);
    font-weight: 300;
  }
  
  @media(min-width:1400px){
    #section-6 {
        display: flex;
        align-items: center;
    }
    #section-6 .titulo-eleg {
        font-size: 4.250rem;
        margin: 1rem 0;
    }
    
    #section-6 .titulo-sup {
        font-size: 1.5rem;
    }
  
    .card-custom {
        height: 38rem;
    }
  
    .card-custom .card-img-overlay{
        top:48%;
        justify-content:space-between!important;
        padding: 1.5rem 1.5rem 2.2rem 1.5rem !important;
    }
   
    .card-img-overlay h5{
        font-size: 2.200rem;
    }
    .infosp{
        padding-right:6em;
    }
    
  
    .rutas-content-card {
        padding-left: 0;
    }
   
    #section-6 .card-custom .btn {
        color: #fff;
        font-size: 1rem;
        padding: 0.4rem .6rem;
    }
  }

  @media(min-width:640px) and (max-width:950px){
    #section-6{
        min-height: 55vh;
        padding: 3rem 0;
        text-align: center;
    }
    #section-6 > .container > .row{
        width: 100%;
    }
    
    #section-6 .col-lg-7 .col-md-6{
        padding: 0 .5rem ;
    }
    #section-6 .titulo-eleg {
        font-size: 2rem;
    }
    #section-6 .infosp {
        padding:  0;
    }
    #section-6 .wrap-info {
        padding-right: 0;
        text-align: left;
    }
    .rutas-content-card{
        width: 80%;
        margin:1rem auto 0 auto;
    }
    .card-img-overlay h5 {
        font-size: 1.2rem;
    }
    .card-text {
        font-size: .850rem;
        padding: .5rem 0;
        margin: 0;
        min-height: 54%;
    }
    #section-6 .titulo-sup {
        font-size: .850rem;
        letter-spacing: .3rem;
    }
    #section-6 .card-custom .btn {
        padding: .3rem 1rem;
    }
    .card-custom {
        height: 26.5rem;
    }
    .card-custom .card-img-overlay{
        top:54%;
        padding: 1rem 1rem 1.5rem 1rem!important;
    }
  }



@media(max-width:480px){
    #section-6{
        padding: 4rem 0;
        text-align: center;
    }
    #section-6 .wrap-info {
        line-height: 1.4rem;
        font-size: .900rem;
        text-align: center;
        margin: 1rem 0;
    }
    #section-6 .infosp{
        padding: 1rem 0;
    }
    #section-6 .titulo-eleg{
        font-size: 2rem;
    }
    .rutas-content-card > .row{
        gap:1rem;
    }
    .rutas-content-card .row .col-md-6:last-child{
        margin-top: 1rem;
    }
}

@media(max-width:360px){
    .card-img-overlay h5 {
        font-size: 1.3rem;
    }
    .rutas-content-card{
        margin:0!important;
        padding: 0!important;
    }
    .rutas-content-card > .row{
        gap:1rem;
    }
}

/*general home*/
@media(min-width:780px) and (max-width:1200px) {

    .container, .container-md, .container-sm{
        max-width: 90%;
    }
    section{
        min-height: 75vh;
    }

   
   

    /*section 5*/

    #section-5 .destino-etiquetas {
        justify-content: center;
    }
    #section-5 .destino-etiquetas.no-border a, 
    #section-5 .destino-etiquetas.no-border span{
        line-height: 1rem;
        padding: .2rem .3rem;
    }
    /*section 6*/
    #section-6 > .container > .row{
        width: 100%;
    }
    #section-6 .wrap-info {
        line-height: 1.2rem;
        font-size:1rem;
    }
    .card-img-overlay h5 {
        font-size: 1.3rem;
    }
    .card-text {
        font-size: .90rem;
        margin: .3rem 0 .5rem 0;
        min-height: 5rem;
    }
    
    .rutas-content-card .col-md-6{
        padding:0 1rem 0 0 ;
    }
    .rutas-content-card .col-md-6:last-child{
        padding: 0;
    }
}

@media(min-width:1300px) and (min-height:520px) and (max-height:750px){
    #section-2{
        padding: 3rem 0;
        min-height: 100vh;
    }
  
    /*section 4*/
    #section-5{
        padding: 3rem 0 1.5rem 0;
    }
    .fechas-card {
        margin: 4rem 0 1rem 0;
    }
    .card-content {
        min-height: 9rem;
    }
    .card-hover-container {
        height: 280px;
    }
    /*section 6*/
    #section-6{
        padding: 4rem 0;
    }
   
    .card-custom {
        height: 30rem;
    }
    .card-img-overlay h5 {
        font-size: 1.4rem;
    }
    .card-text {
        font-size: 1rem;
    }
}

@media(min-width:1300px) and (min-height:750px) and (max-height:890px){
    #section-2 .destino-etiquetas.no-border a {
        font-size: 1.2rem;
    }
    #section-2 .titulo-sup {
        font-weight: 200;
        font-size: 1.220rem;
        letter-spacing: .5rem;
    }
    .contenido-destino .data-location p {
        font-size: 1.1rem;
    }
    /*section 3*/
    .carousel-rutas .slide {
        width: 24rem;
    }
    .carousel-rutas {
        height: 32rem;
    }
    #section-3 .destino-etiquetas {
        margin-top: 2em;
        margin-bottom: .5em;
    }
    /*section 6*/
    #section-6 > .container > .row{
        width:100%
    }
}

/*nuevo home*/

.nav-menu{
position: relative;
}
.slide img{
    height: 100vh;
    width: 100%;
    object-fit: cover;
}
.slide video{
    height: 100vh;
}
.home-h header{
    position: fixed;
    z-index: 999999;
    transition: all 0.3s ease;
    padding: 1.5rem;
    border-radius: 1rem;
   justify-content: flex-end;
}
.home-h .logo{
    width: 45%;
    left: 0;
    position: absolute;
}


.home-h .mdf-header .content div{
    gap: .2rem;
}


.home-h .search-form select{
    font-size: 1rem;
}
.home-h .mdf-header .content div.btn-opc-sea{
    display: flex;
    flex-direction: row;
    gap:1rem
}
.home-h .mdf-header .content div.btn-opc-sea .ai{
    margin:0 0 0 .5rem;
    border:0;
    padding: 0;
}

.home-h .mdf-header .content div.btn-opc-sea img{
        width: 35px;
}

/*nuevo buscador*/
.home-h .mdf-header .content {
        padding: 0 0 3rem 0;
        justify-content: flex-end;
        align-items: center;
}
.home-h .search-form .input-wrapper{
    width: 200px;
}
.home-h .search-form select{
    font-size: .9rem;
}

.home-h .search-form .input-wrapper div{
    padding: .3rem 0  0 0;
    border-bottom: 1px solid rgb(255 255 255 / 22%);
}
.home-h .search-form {
    padding: 1.5rem 3rem 1.5rem 3.5rem;
    background: rgb(150 88 113 / 70%);
}

.desplegable-trigger {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.58);
    min-height: 40px;
    transition: border-color 0.3s;
    width: 100%;
}
.desplegable-wrapper.open .desplegable-trigger,   
.desplegable-trigger:hover {
    border-bottom-color: rgba(255, 255, 255, 0.8)!important;
 }

.desplegable-label {
   font-size: 16px;
   font-weight: 400;
   flex: 1;
   overflow: hidden;
   text-overflow: ellipsis;
   white-space: nowrap;
   color:rgba(255, 255, 255, 0.58);
}
.desplegable-trigger i{
     color:rgba(255, 255, 255, 0.58)!important;
}
.desplegable-trigger:hover i,
.desplegable-trigger:hover .desplegable-label,
.has-selection .desplegable-label,
.has-selection .desplegable-trigger i{
 color: rgba(255, 255, 255, 1)!important;
}
.has-selection.desplegable-wrapper{
   border-bottom-color:  rgba(255, 255, 255, 1)!important;;
}
.desplegable-arrow {
    opacity: 0.8;
    font-size: 12px;
}
.desplegable-trigger i:first-child {
    font-size: 18px;
    margin-right: 12px;
    opacity: 0.9;
}

.desplegable-options{
            width: 99%;
}
.desplegable-option.selected {
            background: rgba(147, 83, 131, 0.12);
            color: #935383;
            font-weight: 500;
 }
        
.search-form .input-wrapper > div {
    position: relative;
}
       
.desplegable-wrapper ~ .icon {
     display: none;
}


.home-h .search-form .input-wrapper div i,
.home-h .search-form select,
.home-h .search-form .input-wrapper{
    color: #fff;
}

.home-h .search-form .btn, 
.home-h .search-form button{
    color :#fff;
    background: transparent;
    border:1px solid #fff;
}
/**/
.mod-2-navegador.mdf-header .content {
    padding: 0 0 7rem 0;
}
/*navegacion sliders con links*/
.slider-navigator {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.7);
  padding: .7rem 1.5rem .7rem 80px;
  border-radius: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  z-index: 10;
  font-family: sans-serif;
  width: 40%;
}

.slider-navigator .slider-info {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgb(150, 88, 113);
  font-size: 1.2rem;
  
}

.slider-navigator .slider-title {
  font-weight: 500;
  white-space: nowrap;
}

.slider-navigator .slider-link {
  border:1px solid rgb(150, 88, 113);
  padding: 8px 16px;
  border-radius: 20px;
  color: rgb(150, 88, 113);
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}

.slider-navigator .slick-prev,
.slider-navigator .slick-next {
  background: none;
  border: none;
  color: rgb(150, 88, 113)!important;
  font-size: 18px;
  cursor: pointer;
}
.slider-navigator .slick-next{
    left:30px;
}
.slider-navigator .slick-prev{
    left: 0;
}

.slider-navigator .slick-prev i,
.slider-navigator .slick-next i{
    font-size: 1rem;
    transition: all 200ms ease-in;
}
.slider-navigator .slick-prev i:hover,
.slider-navigator .slick-next i:hover{
    font-size: 1.3rem;
}
.slide video {
    height: 100vh;
    width: 100%;
    object-fit: cover;
}

.btn.ai {
    position: relative;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    aspect-ratio: 1/1;
}
        
.btn.ai::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(180, 123, 160, 0.4), rgba(142, 74, 119, 0.4));
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.btn.ai:hover::before {
    width: 100px;
    height: 100px;
}

.btn.ai i {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.7);
    font-size: 20px;
    transition: all 0.3s ease;
}

.btn.ai:hover i {
    color: #d4a5c4;
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px #d4a5c4);
    animation: robot-pulse 2s infinite;
}
        
.btn.ai:hover {
    transform: scale(1.05);
    border-color: rgba(212, 165, 196, 0.6);
    box-shadow: 0 8px 25px rgba(212, 165, 196, 0.3);
}

@keyframes robot-pulse {

    0%,
    100% {
        transform: scale(1.1);
    }

    50% {
        transform: scale(1.2);
    }
}

.popup-content.ai-popup {
    background: linear-gradient(135deg, #b67ba0 0%, #8e4a77 100%);
    border-radius: 20px;
    padding: 30px;
    max-width: 450px;
    text-align: center;
    color: white;
    position: relative;
    border: none;
}

.ai-popup-header {
    margin-bottom: 25px;
}

.ai-popup-header h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ai-popup-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 14px;
}

.ai-progress-container {
    margin: 20px 0;
}

.ai-progress-bar {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
    margin: 10px 0;
}

.ai-progress-fill {
    background: #fff;
    height: 100%;
    width: 0%;
    border-radius: 10px;
    transition: width 0.5s ease;
}

.ai-message {
    font-size: 18px;
    margin: 30px 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.ai-message.show {
    opacity: 1;
    transform: translateY(0);
}

.ai-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
        
.ai-close-btn:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: scale(1.1);
        }
        
.ai-result-section {
            margin-top: 20px;
            text-align: center;
        }
        
.ai-success-message {
            margin-bottom: 20px;
}
        
.ai-success-message i {
            font-size: 40px;
            color: #ffffff;
            margin-bottom: 10px;
}
        
.ai-success-message h4 {
    margin: 10px 0 5px 0;
    font-size: 20px;
}
        
.ai-success-message p {
    margin: 0;
    opacity: 0.9;
font-size: 14px;
}
        
.ai-results-btn {
    background: none;
    border: 1px solid #fff;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.ai-results-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(180, 123, 160, 0.4);
}

@media(max-width:480px) {
    .ai-popup-header h3 {
        font-size: 18px;
    }
}

@media (min-width: 1300px) and (max-width:1600px) and (min-height:530px) and (max-height:640px){
    .nav-menu .visible-icon a, .nav-menu ul li i {
        padding: 1rem;
    }
    .nav-menu a i {
        font-size: 16px;
    }
    .nav-menu ul li span{
        font-size: .85rem;  
    }
    .home-h header.active {
        width: 80% !important;
        left:10% !important;
    }
    .home-h .search-form {
    padding: 1.5rem 3rem 1.5rem 3.5rem;
    }
    
}
@media (min-width: 1400px) and (min-height:900px) {
    .home-h .search-form .input-wrapper {
        font-size: 1rem;
    }
    .home-h header.active{
        width: 75%!important;
        left:12.5%!important;
    }
}

@media(min-width:1100px){
    .home-h header.active {
    background-color: rgb(150 88 113 / 70%);
    align-items: center;
    width: 90%;
    left:5%;
    top:1.5rem;
    padding: 2rem 1rem;
    }

    .home-h header.active .logo {
        width: 150px;
        left:1rem;
    }
    
    .home-h header.active .nav-menu{
        width: 100%;
    }
    .home-h header.active .nav-menu ul{
        flex-direction: row;
        top:0;
        margin: 0;
        padding: 0 1rem;
        background: none;
        width: auto;
        right: 8rem;
        left:auto
    }   
    .home-h header.active .nav-menu ul li a{
        gap:1rem;
    }
    .home-h header.active .nav-menu .visible-icon a,
    .home-h header.active .nav-menu ul li i{
        padding: 1rem;
    }
    .home-h header.active .nav-menu a i{
        font-size: 20px!important;  
    }
    .home-h header.active .nav-menu .visible-icon a span {
        overflow: hidden;
    }
    
    .home-h header:not(.active) .nav-menu.open ul {
        top: 110%;
    }
    .nav-menu ul{
        gap:.7rem;
    }
}

@media(min-width:1000px) and (max-width:1200px){
    .search-form .input-wrapper{
        font-size: .9rem;
    }
    .home-h .search-form .input-wrapper{
        width: 180px;
    }
    .desplegable-label
    {
        font-size: .9rem;
    }
    .slider-navigator{
        width: 80%;
        left: 10%;
        transform: translateX(0);
    }
}
@media(min-width:768px) and (max-width:900px){
    .home-h header {
        position: fixed;
        z-index: 999999;
        background-color: rgb(150 88 113 / 70%);
        align-items: center;
        width: 90%;
        left: 5%;
        top: 1.5rem;
        padding: 1rem 0!important;
    }
    .home-h .logo{
        width: 150px;
        left:1rem;
    }
    .home-h .nav-menu {
        margin-right: 1rem;
    }
    .home-h .nav-menu ul li span{
        display: none;
    }
    .home-h .nav-menu ul{
        flex-direction: row;
        top:-2rem!important;
        right: 7.5rem!important;
        background: none!important;
    }
    .home-h header .rutas-ic:hover small{
        display: none!important;
    }
    .home-h .nav-menu ul {
        top:100%;
        right: -1rem;
        padding: 1rem;
        margin:1rem 0 0 0;
    }
    .home-h .nav-menu.open ul.active {
        background-color: rgb(150 88 113 / 70%);
    }
    .home-h .nav-menu a i {
        font-size: 18px;
    }
    .home-h .mdf-header .content div.btn-opc-sea{
        flex-direction: row;
    }
    .home-h .mdf-header .content div.btn-opc .ai{
        aspect-ratio: 1/1;
    }
   
}

@media(min-width:480px) and (max-width: 780px){
   
    .home-h .mdf-header .content {
    padding: 0 0 1rem 0;
    justify-content: flex-end;
    width: 90%;
    left:5%
    }
    .home-h .search-form .input-wrapper{
        width: 170px;
        flex: 1 0 170px;
    }
    .home-h .search-form {
        width:100%;
        flex-direction: row;
    }
    .home-h .search-form .btn, .search-form button{
        font-size: .85rem;
    }
    .home-h .search-form .btn, .search-form button{
        font-size: 0;
    }
    .search-form .btn i{
        font-size:22px;
    }
    .home-h .mdf-header .content div.btn-opc-sea img{
        width: 27px;
    }
    .home-h .search-form {
        padding: 1.5rem 2rem 1.5rem 2.5rem;
        background: rgb(150 88 113 / 70%);
    }
    .desplegable-label,
    .home-h .search-form .input-wrapper{
        font-size: .85rem;
    }
    .home-h .search-form .btn, 
    .home-h .search-form button{
        padding: 0;
        border:none
    }
    .home-h .mdf-header .content div.btn-opc-sea .ai{
        margin:.5rem 0 0 0;
    }
    .home-h .mdf-header .content div.btn-opc-sea {
        padding-top: 1.5rem;
        gap:.5rem
    }
}
@media (max-width: 640px) {
    .home-h .search-form .input-wrapper,
    .home-h .search-form {
        width:100%;
    }
    .home-h .search-form .btn, .search-form button{
        font-size: .85rem;
    }
}

@media(max-width:480px){
   .home-h header {
        position: fixed;
        z-index: 999999;
        background-color: rgb(150 88 113 / 70%);
        align-items: center;
        width: 90%;
        left: 5%;
        top: 1.5rem;
        padding: 1rem 0!important;
    }
    .home-h header .logo{
        left:1rem!important
    }
    .home-h header .nav-menu .visible-icon{
        margin-right: 1rem;
     }
    
    .home-h header .nav-menu.open ul{
        right:0!important;
        background: var(--color-primary)!important;
        width: 100%;
        justify-content: center;
        margin:1rem 0 0 0;
        display: grid;
        grid-template-columns: repeat(5,1fr);
        border-radius: 0;
        position: fixed;
        left:0;
        bottom: 0;
        top:calc(100% - 110px)
    }
  
    .home-h .nav-menu{
        top:0;
        width: 100%;
    }
    .home-h .nav-menu ul li a{
        flex-direction: column-reverse;
        gap:.5rem;
    }
    .home-h .nav-menu.open ul{
        padding: 1rem;
    }
    .home-h .nav-menu a i {
        font-size: 14px;
      
    }
    .home-h .nav-menu ul li span{
       font-size: .75rem;
       text-transform: capitalize;
    }
    .home-h .mdf-header .content{
        justify-content:center
    }
}