@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter/Inter-Medium.woff2') format('woff2'),
         url('../fonts/inter/Inter-MediumItalic.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Playfair-Display';
    src: url('../fonts/playfair-display/PlayfairDisplay-Regular.woff2') format('woff2'),
         url('../fonts/playfair-display/PlayfairDisplay-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
/**/
:root {
    --white-color: #fff;
    --white-color-default: #F5F1E8;
    --cream-color : #F7F4EF;
    --white-color-soft: rgb(255 255 255 /.5);
    --brown-color: #4a2e1f;
    --main-color: #2b2b2b;
    --black-color: #000;
    --black-color-soft: rgb(0 0 0 / .5);
}
* {
    position: relative;
    color: var(--main-color);
    text-decoration: none;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 20px;
    color: var(--brown-color);
}
p {
    margin-bottom: 0;
    line-height: 1.25;
}
h1,
h2,
h3,h4 {
    font-family: 'Playfair-Display';
    margin-bottom: 0;
    color: var(--brown-color);
}
h2, h3 {
    margin-bottom: 2rem;
}
h5{
    font-size: 14px;
}
.section {
    padding-top: 3rem;
    padding-bottom: 3rem;
} 
.section-top {
    padding-top: 3rem;
} 
.bg-white-smoke{
    background: var(--cream-color);
}
@media (min-width: 992px) {
    .section {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
    .section-top {
        padding-top: 6rem;
    }
    h2, h3 {
        font-size: 40px;
    }
}
.bg-cream{
    background: var(--cream-color);
}
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1224px;
    }
}
/*Menu */
header {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    z-index: 99;
    background: transparent;
    transform: translateY(0);
    transition: all 0.7s ease;
    will-change: transform, background;
    background: transparent;
    backdrop-filter: blur(6px);
}

header.bgWhite {
    position: fixed;
    transform: translateY(-5px);
    backdrop-filter: blur(0);
    transition: all 0.7s ease;
    background: var(--white-color);
}

nav {
    display: flex;
    align-items: center;
    min-height: 96px;
    justify-content: space-between;
}

nav * {
    text-decoration: none;
    font-size: 15px;
    color: var(--white-color-default);
    text-shadow: 1px 1px .05rel var(--black-color-soft);
    transition: .4s ease-in;
}

.bgWhite nav * {
    color: var(--brown-color);
    text-shadow: none;
    transition: .4s ease-in;
}

nav img {
    filter: brightness(8.3);
    transition: .5s ease-out;
    /* margin-right: -4rem; */
}

.bgWhite nav img {
    filter: brightness(0);
    transition: .2s ease-in;
}

nav ul {
    display: inline-flex;
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
}

nav ul li {
    display: inline-block;
    margin-left: 2rem;
}

nav ul li a {
    display: block;
    transition: .3s ease-in;
    font-size: 15px;
}

.box-menu-right {
    display: inline-flex;
    align-items: center;
    justify-content: space-around;
}

.query {
    padding: 5px 10px;
    border: 1px solid var(--white-color-soft);
    border-radius: 5px;
    margin-right: 2rem;
    transition: .4s ease-in;
}

.bgWhite .query {
    border: 1px solid var(--brown-color);
    transition: .4s ease-out;
}

nav select {
    background: transparent;
    border: transparent;
}

nav select * {
    background: transparent;
    border: transparent;
    color: var(--main-color);
}

.bgWhite nav select {
    background: transparent;
    color: var(--main-color);
}

nav select:focus,
nav input:focus,
nav button:focus {
    outline: none;
    /* Removes the focus ring */
    border: none;
    /* Removes the physical border if desired */
    box-shadow: none;
    /* Removes any browser-specific glow/shadow */
}

nav select option {
    background-color: var(--white-color);
    color: var(--main-color);
}

/* VIDEO youtube */
.bg-video {
    position: relative;
    /* display: flex;
    align-items: center;
    justify-content: center; */
    background: black;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.bg-fallback {
    /* display: none; */
    position: absolute;
    inset: 0;
    /* ocupa todo el contenedor */
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* LA CLAVE */
    object-position: center;
    transform: scale(1.02);
    transition: opacity .35s ease-out;
    z-index: 2;
}

/* CONTENEDOR */
#player {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.77vh;
    /* relación 16:9 */
    height: 100vh;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity .35s ease-out;
    z-index: 1;
}

/* POSTER */
.poster {
    position: absolute;
    inset: 0;
    transition: opacity 1s ease;
    z-index: 3;
}

/* CUANDO LA PANTALLA ES MÁS ANCHA */
@media (min-aspect-ratio: 16/9) {
    #player {
        width: 100vw;
        height: 56.25vw;
        /* 9/16 */
    }
}

/* iframe interno */
#player iframe {
    width: 100%;
    height: 100%;
}

.bg-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* background: rgb(0 0 0 / .15); */
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.50) 0%,
            rgba(0, 0, 0, 0.35) 35%,
            rgba(0, 0, 0, 0.15) 65%,
            rgba(0, 0, 0, 0) 100%);
    z-index: 5;
}

/* CONTENIDO */
.bg-video > .container {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.bg-video .container h1, .bg-video .container h2 {
    color: var(--white-color-default);
    text-align: left;
    line-height: 1.05;
    margin-bottom: 0;
    /* text-shadow: 1px 1px 3px black; */
}
.bg-video .container h2 {
    margin-bottom: -10px;
}
.bg-video .container * {
    margin-left: 0px;
}
@media(min-width: 1199px) {
    .bg-video .container h1 {
        font-size: 72px;
    }

    .bg-video .container h2 {
        font-size: 60px;
    }
    .bg-video .container * {
        margin-left: 80px;
    }
}

.bg-video>.container p {
    color: var(--white-color);
    max-width: 580px;
    font-weight: lighter;
    line-height: 1.4;
}

/* CUANDO YOUTUBE ESTÁ LISTO */
.bg-video.ready #player {
    opacity: 1;
    transition: opacity .35s ease-out;
    z-index: 1;
}

.bg-video.ready .bg-fallback {
    transform: scale(1);
    opacity: 0;
    transition: opacity .25s ease-out;
}

.bg-video.ready .poster {
    opacity: 0;
}
/* .mouse{
    position: absolute;
    left: 0;
    right: 0;
    display: inline-block;
    width: 18px;
    height: 32px;
    border: 1px solid #fff;
    margin: 0 auto;
    border-radius: 10px;
    bottom: 5%;
    z-index: 90;    
}
.mouse::after{
    content: '';
    position: absolute;
    top: 5px;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
} */

.scroll-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* solo para demo */
    background: #111;
}

.scroll-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #111;
}

/* 🖱️ Mouse completo */
.mouse {
    position: absolute;
    bottom: 5%;
    width: 26px;
    height: 42px;
    border: 2px solid var(--white-color);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 6px;
    animation: floatMouse 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    z-index: 90;
}

.mouse::after {
    content: '';
    display: inline-block;
    width: 4px;
    height: 6px;
    background: var(--white-color);
    border-radius: 2px;
    opacity: 0;
    transform: translateY(0);
    animation: scroll 3s ease-in-out infinite;
}

/* 🔥 Movimiento del mouse (suave + pausa) */
@keyframes floatMouse {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    40% {
        transform: translateY(10px);
        opacity: 1;
    }
    70% {
        transform: translateY(10px);
        opacity: 0.6; /* leve fade para elegancia */
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 🔥 Movimiento interno (bolita) */
@keyframes scroll {
    0% {
        opacity: 0;
        transform: translateY(0);
    }
    20% {
        opacity: 1;
    }
    60% {
        opacity: 1;
        transform: translateY(12px);
    }
    100% {
        opacity: 0;
        transform: translateY(18px);
    }
}

/**/
.box-720{
    display: inline-block;
    max-width: 710px;
}
.box-720 *{
    text-align: center;
}
.box-720 p{
    width: 100%;
}
.parallax-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.parallax-section .box-center{
    display: block;
    text-align: center;
    width: 100%;
    max-width: 770px;
    margin: 0 auto 40px;
}
.card {
    position: relative;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    width: calc(99.6% - 30px);
    max-width: 350px;
    margin: 0 15px 30px;
    background: var(--cream-color);
    padding-bottom: 25px;
    overflow: hidden;
    z-index: 2;
}
/* .card:last-child {
    margin-bottom: 150px;
} */
.card-text {
   margin-top: 18px;
}
.card-text *{
   text-align: center;
}
.card h3{
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 8px;
}
.card p{
    font-size: 16px;
    line-height: 1.4;
}
.card.card2.rellax{
    top: 0;
}
.card.card3{
    z-index: 0 !important;
}
.card-image {
   position: relative;
   width: 100%;
   padding-top: 125%;
   overflow: hidden;
}
.card-image img{
   position: absolute;
   top: 50%;
   left: 50%;
   width: 100%;
   height: 100%;
   transform: translate(-50%,-50%);
   object-fit: cover;
}
@media(min-width:767px){
    .card {
        width: calc(49.6% - 30px);
        max-width: 350px;
        margin: 0 16.12px 30px;
    }
    .parallax-section .box-center{
        display: inline-block;
        text-align: left;
         margin: 0 auto 60px;
    }
    .card.card2.rellax{
        top: 80px;
    }
}

/**/
.category *, .category {
    text-align: center;
}
.category {
    padding-bottom: 20px;
    margin-bottom: 40px;
}
.category img {
    width: auto;
    height: auto;
    max-height: 70px;
    max-width: 114px;
    margin-bottom: 20px;
}
.category h4, .category p{
    display: block;
    max-width: 345px;
    margin: 0 auto;
}
.category h4 {
    margin-bottom: 20px;
}
.category p{
    font-size: 16px;
    line-height: 1.4;
}
.btn {
    display: inline-flex;
    align-items: center;
    font-size: 20px;
    text-decoration: none;
    color: var(--brown-color);
}
.btn::after{
    content: '';
    display: inline-block;
    width: 20px;
    height: 14px;
    position: relative;
    left: 10px;
    background: url(../img/flecha.png) center center no-repeat;
    transition: .4s ease;
}
.btn:hover::after{
    left: 20px;
    transition: .4s ease;
}
@media(min-width:992px){
    .category h4 {
        font-size: 24px;
    }
}
/**/
.max-720  {
    display: flex;
    align-items: center;
    flex-direction: column;
}
.max-720 * {
    max-width: 720px;
    display: inline-flex;
    text-align: center;
}
#partners .card{
    width: 100%;
    max-width: inherit;
    background: none;
}
#partners .card .card-image {
    padding-top: 100%;
}
#partners .card .card-text * {
    text-align: justify;
    padding: 0 15px;
}
#partners p{
    /* font-size: 16px; */
    line-height: 1.4;
}
/**/
.swiper {
  width: 100%;
  padding: 60px 0;
}

.swiper-slide {
  text-align: center;
}

.swiper-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.swiper-slide p {
  margin-top: 15px;
  font-size: 18px;
}
.swiper-slide img {
    width: 100%;
}
.slide-image {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
}
.slide-image > img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Flechas */
.swiper-button-next,
.swiper-button-prev {
  color: #999;
}

/* ocultar flechas desactivadas */
.swiper-button-disabled {
  opacity: 0;
  pointer-events: none;
}

/* dots */
.swiper-pagination-bullet {
  background: #ccc;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #2a7f7f;
}
.swiper {
    overflow-x: hidden;
    overflow-y: visible;
}

/**/
#destinations p{
    display: inline-block;
    max-width: 560px;
}
#destinations h5{
    display: inline-block;
    max-width: 480px;
}
/**/
#essence .parallax-section .box-center {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 40px;
}
@media (min-width: 767px) {
    #essence .card {
        width: calc(49.6% - 30px);
        max-width: 580px;
        margin: 0 15.91px 30px;
    }
    #essence .card.card2.rellax {
        top: 10px;
    }
}
#essence .card {
    background: var(--white-color);
}
#essence .card-text * {
    text-align: left;
}