/* ==========================================================================
   DEFINICIONES GLOBALES
   ========================================================================== */

/* ==================================================
   ESQUÍ STYLES · OXIGENA VIAJES
   ================================================== */

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Kufam', sans-serif;
    background-color: #ffffff;
}

/* ==================================================
   HERO ESQUÍ
   ================================================== */

.a {
    color: #fff;
    text-decoration: none;
}

.trip-hero {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    background-image: url("../assets/img/esqui/fondo-esqui.webp");
    background-position: center bottom;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.trip-hero__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.trip-hero__container {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero-ski-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero-title-box {
    position: absolute;
    top: 130px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.titular-main {
    margin: 0;
    font-family: 'Kufam', sans-serif;
    font-size: 130px;
    font-weight: 900;
    color: #002C42;
    line-height: 1;
    text-align: center;
    letter-spacing: 0;
}

.trip-hero__content-back {
    top: 240px;
    position: absolute;
    display: flex;
    z-index: 5;
    justify-content: flex-start;
    width: 90%;

}

.trip-hero__back {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    text-decoration: none;
    z-index: 5;
    transition: transform 0.2s ease, background 0.2s ease;
}

.trip-hero__back:hover {
    transform: scale(1.08);
    background: #B4EAFF;
}

.trip-hero__back img {
    width: 26px;
    height: 26px;
    display: block;
}

.hero-character-box {
    position: absolute;
    top: 194px;
    width: 403px;
    z-index: 4;
    pointer-events: none;
}

.hero-ski-character {
    height: auto;
    display: block;

    width: 156%;
    max-width: 150%;
    object-fit: contain;
}

/* ==================================================
   CONTENT MAIN & FIN INFO
   ================================================== */

.content-main {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.destinos-experiencia {
    gap: 20px;
}

.fin-info {
    background: #F4F4F4;
    padding: 50px 20px 60px;
    width: 100%;
}

.fin-info .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fin-info__header {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
}

.fin-info__header h1 {
    color: #00C3FF;
    font-family: 'Kufam', sans-serif;
    font-size: 40px;
    font-weight: 900;
    line-height: 1.25;
    text-transform: uppercase;
    margin: 0;
    text-align: center;
}

.fin-info__content {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 20px;
    align-items: start;
    width: 80%;
}

.fin-info__left {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.experiencia-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.experiencia-texto {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    z-index: 2;
}

.experiencia-texto h3 {
    font-family: 'Kufam', sans-serif;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    line-height: 1.18;
    color: #fff;
    background-color: #002C42;
    padding: 10px 10px;
    border-radius: 8px;
}

.beneficios {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.beneficios li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 56, 84, 0.15);
}

.beneficio-bullet {
    color: #0078AE;
    font-size: 10px;
    margin-top: 3px;
    flex-shrink: 0;
}

.beneficios li span:last-child {
    font-family: 'Kufam', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #003854;
    line-height: 1.35;
}

.fin-info__card {
    background: #BAE8FF;
    border-radius: 12px;
    padding: 35px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.fin-info__card .card-logo {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
    display: block;
}

.fin-info__card h3 {
    font-family: 'Kufam', sans-serif;
    color: #003854;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

/* ==================================================
   DESTINOS GALERÍA (SEMANA BLANCA)
   ================================================== */

.destinos-galeria {
    background: linear-gradient(180deg, #37A2D2 0%, #52BEEC 35%, #B4E8FD 100%);
    padding: 50px 20px 80px;
    width: 100%;
}

.destinos-galeria .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.destinos__header {
    text-align: center;
    margin-bottom: 40px;
    width: 80%;
}

.destinos__header h2 {
    color: #002C42;
    font-family: 'Kufam', sans-serif;
    font-size: 38px;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.15;
}

.destinos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
    align-items: start;
}

.destino-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    height: fit-content;
}

.destino-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.05;
    overflow: hidden;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    padding: 0;
    transition: transform 0.2s ease;
}

.slider-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

.slider-btn img {
    width: 34px;
    height: 34px;
    display: block;
}

.destino-card-bottom {
    padding: 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    z-index: 4;
}

.destino-frase {
    margin: 0 0 8px;
    padding: 8px 10px;
    background: #002C42;
    color: #fff;
    font-family: 'Kufam', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    border-radius: 8px;
}

.destino-info {
    display: flex;
    gap: 6px;
    padding: 0 20px 5px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: -10px;
}

.destino-info .dias {
    flex: 1;
    background: #FF5F6A;
    color: #ffffff;
    font-family: 'Kufam', sans-serif;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    padding: 6px 4px;
    border-radius: 8px;
}

.destino-info .precio {
    flex: 1;
    background: #7756F7;
    color: #ffffff;
    font-family: 'Kufam', sans-serif;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    padding: 6px 4px;
    border-radius: 8px;
}

.destino-btn {
    width: 100%;
    height: 42px;
    background: #005E8D;
    color: #ffffff;
    font-family: 'Kufam', sans-serif;
    font-size: 24px;
    font-weight: 600;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px;
    padding: 0 8px;
    margin: 0;
    transition: background 0.2s ease;
}

.destino-btn:hover {
    background: #007BB8;
}

/* ==================================================
   ESQUÍ · RESPONSIVE MÓVIL (DISEÑO DE REFERENCIA)
   ================================================== */


/* ==========================================================================
   MEDIA QUERIES (ORGANIZADAS DE MAYOR A MENOR RESOLUCIÓN)
   ========================================================================== */

/* --------------------------------------------------------------------------
   MEDIA QUERY: max-width: 1600px
   -------------------------------------------------------------------------- */
@media (max-width: 1600px) {

    /* --- Header mobile adjustment --- */
    .trip-hero__back {
        left: -134%;
    }
}

/* --------------------------------------------------------------------------
   MEDIA QUERY: max-width: 1200px
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .trip-hero__back {
        left: -84%;
    }

    .destinos-galeria {
        padding-top: 20px;
    }

    .destino-slider {
        height: 290px;
    }

    .destinos-grid {
        width: 90%;
    }

    .destino-info .dias {
        font-size: 12px;
    }

    .destino-info .precio {
        font-size: 12px;
    }

    .destino-btn {
        font-size: 15px;
    }

    .destino-card-bottom {
        padding: 5px;
    }
}

/* --------------------------------------------------------------------------
   MEDIA QUERY: max-width: 768px
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .destino-card-bottom {
        padding: 5px;
    }

    .header .nav {
        padding: 6px 12px;
        min-height: 46px;
    }

    .header .logo {
        padding: 0;
    }

    .header .logo img {
        width: 52px;
    }

    .header .burger {
        width: 34px;
        height: 34px;
        padding: 3px;
    }

    .header .burger span {
        width: 22px;
        height: 2.5px;
        margin: 2px 0;
    }

    .fin-info__content {
        display: flex;
        align-items: center;
    }

    /* Hero */
    .trip-hero {
        height: 185px;
        background-position: center bottom;
    }

    .hero-title-box {
        top: 36px;
    }

    .titular-main {
        font-size: 48px;
        letter-spacing: -0.5px;
    }

    .trip-hero__back {
        top: 60px;
        left: -155%;
        bottom: -35px;
        width: 30px;
        height: 30px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    }

    .trip-hero__back img {
        width: 11px;
        height: 11px;
    }

    .hero-character-box {
        left: 29%;
        top: 70px;
        width: 239px;
        transform: translateX(-47%);
    }

    /* Fin info */
    .fin-info {
        padding: 22px 14px 24px;
    }

    .fin-info__header {
        margin-bottom: 14px;
    }

    .fin-info__header h1 {
        font-size: 18px;
        line-height: 1.25;
        letter-spacing: 0.2px;
    }

    .fin-info__content {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 80%;
        max-width: 340px;
    }

    .fin-info__left {
        gap: 10px;
    }

    .destinos-experiencia {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .experiencia-card {
        border-radius: 8px;
        height: 220px;
        width: 90%;
    }

    .experiencia-texto {
        bottom: 6px;
        left: 6px;
        right: 6px;

    }

    .experiencia-texto h3 {
        font-size: 15px;
        line-height: 1.15;
    }

    .beneficios {
        gap: 2px;
    }

    .beneficios li {
        padding: 4px 0;
        gap: 6px;
        border-bottom: 1px solid rgba(0, 56, 84, 0.12);
    }

    .beneficio-bullet {
        font-size: 7px;
        margin-top: 2px;
    }

    .beneficios li span:last-child {
        font-size: 12px;
        font-weight: 400;
        line-height: 1.25;
    }

    .fin-info__card {
        border-radius: 6px;
        padding: 14px 16px;
        width: 100%;
    }

    .fin-info__card .card-logo {
        width: 52px;
        margin-bottom: 6px;
    }

    .fin-info__card h3 {
        font-size: 15px;
        font-weight: 400;
        line-height: 1.35;
    }

    .destinos-galeria {
        padding: 20px 8px 36px;
    }

    .destinos__header {
        margin-bottom: 14px;
    }

    .destinos__header h2 {
        font-size: 18px;
        letter-spacing: 0px;
        font-weight: 600;
    }

    .destinos-grid {
        gap: 15px;
        width: 90%;
        align-items: start;
    }

    .destino-card {
        border-radius: 5px;
        height: fit-content;
    }

    .destino-slider {
        height: 250px;
    }

    .destino-info {

        padding: 0 5px 5px;
    }

    .destino-info .dias {
        font-size: 12px;
        padding: 2px 0;
        border-radius: 5px;
    }

    .destino-info .precio {
        font-size: 12px;
        padding: 2px 0;
        border-radius: 5px;
    }

    .destino-frase {
        font-size: 12px;
        padding: 4px 6px;
        margin-bottom: 4px;
    }

    .destino-btn {
        height: 40px;
        font-size: 12px;
        font-weight: 500;
        padding: 0 2px;
    }

    .slider-btn {
        width: 18px;
        height: 18px;
        background: transparent;
    }

    .slider-btn.prev {
        left: 4px;
    }

    .slider-btn.next {
        right: 4px;
    }

    .slider-btn img {
        width: 20px;
        height: 20px;
    }
}

/* --------------------------------------------------------------------------
   MEDIA QUERY: max-width: 450px
   -------------------------------------------------------------------------- */
@media (max-width: 450px) {
    .destinos-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .destino-card {
        width: 100%;
    }

    .trip-hero__back {
        top: 60px;
        left: -74%;
        bottom: -35px;
        width: 30px;
        height: 30px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    }

    .hero-character-box {
        left: 44%;
        top: 74px;
        width: 311px;
        transform: translateX(-47%);
    }
}

/* --------------------------------------------------------------------------
   MEDIA QUERY: max-width: 375px
   -------------------------------------------------------------------------- */
@media (max-width: 375px) {
    .trip-hero__back {
        top: 60px;
        left: -50%;
        bottom: -35px;
        width: 30px;
        height: 30px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
        z-index: 1000;
    }

    .hero-character-box {
        left: 44%;
        top: 74px;
        width: 311px;
        transform: translateX(-47%);
    }
}