/* ===========================
   RESET
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

* {
    box-sizing: border-box;
}

img,
video,
iframe {
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
}



/* ===========================
   VARIABLES GLOBALES
=========================== */
:root {
    /* Colores */
    --verde-main: #1F7A5C;
    --verde-hover: #176A50;
    --negro-premium: #0E0E0E;
    --negro-suave: #0E0E0E;
    --amarillo-acento: #F2C94C;
    --azul-oceano: #1E5D8C;
    --blanco: #FFFFFF;
    --gris-claro: #F5F5F5;
    --gris-texto: #6B6B6B;

    /* UI */
    --shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    --radius: 10px;

    /* Animaciones */
    --transition: 0.3s ease;

    /* Tipografía */
    --font-main: 'Helvetica Neue', Arial, sans-serif;
}

/* ===========================
   BASE GLOBAL
=========================== */
body {
    font-family: var(--font-main);
    background-color: var(--negro-suave);
    color: var(--blanco);
}

/* ===========================
   UTILITIES
=========================== */
.u-price {
    display: inline-block;
    margin: 0.35rem 0 0.6rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #b89b5e;
    letter-spacing: 0.3px;
}

/* ===========================
MAIN NAVBAR===========================*/
.main-nav {
    position: sticky;
    top: 0;
    width: 100%;
    background: var(--negro-premium);
    z-index: 100;
    padding: 0.4rem 0;
}

.main-nav__container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 1rem;
}

/* BRAND */
.main-nav__brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--blanco);
}

.main-nav__logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* LINKS */
.main-nav__links {
    display: flex;
    align-items: center;
    gap: 1.5rem;

    flex: 1;
    /* 👈 CLAVE */
    justify-content: center;
}

.main-nav__links a {
    color: var(--blanco);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition);
}

.main-nav__links a:hover {
    color: var(--verde-main);
}

/* CTA */
.main-nav__cta {
    background: var(--verde-main);
    padding: 0.55rem 1rem;
    border-radius: 4px;
    font-weight: 600;
}

.main-nav__cta:hover {
    background: var(--verde-hover);
}

/* HAMBURGER */
.main-nav__hamburger {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    margin-left: 10px;
    margin-right: 5px;
}

.main-nav__hamburger span {
    width: 25px;
    height: 3px;
    background: var(--blanco);
    transition: var(--transition);
}

.main-nav__hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.main-nav__hamburger.active span:nth-child(2) {
    opacity: 0;
}

.main-nav__hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* MOBILE */
@media (max-width: 850px) {
    .main-nav__links {
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        background: var(--negro-premium);
        flex-direction: column;
        padding: 1.5rem 0;
        gap: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .main-nav__links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .main-nav__hamburger {
        display: flex;

    }
}

/* Ocultar texto del brand en mobile */
@media (max-width: 768px) {
    .main-nav__title {
        display: none;
    }
}

@media (max-width: 768px) {
    .main-nav__brand {
        padding-left: 20px;
    }
}



/*lenguajes*/
.lang-switch {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-switch__item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 8px;

    text-decoration: none;
    /* 👈 clave */
    color: var(--blanco);
    /* 👈 clave */

    transition: all 0.2s ease;
}

.lang-switch__item.active {
    color: var(--blanco);
    font-weight: 600;
    opacity: 1;
}

.lang-switch__item:hover {
    transform: translateY(-1px);
    opacity: 0.85;
}

.lang-switch__item:visited,
.lang-switch__item:link {
    color: var(--blanco);
    text-decoration: none;
}

.lang-switch__flag {
    font-size: 1.1rem;
    line-height: 1;
}

.lang-switch__flag img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    display: block;
    border-radius: 2px;
}

.lang-switch__text {
    font-size: 0.85rem;
    font-weight: 500;
}

/* idioma activo (opcional con JS) */
.lang-switch__item.active {
    opacity: 1;
    font-weight: 600;
}

@media (max-width: 850px) {
    .lang-switch {
        gap: 6px;
    }

    .lang-switch__item {
        padding: 5px 6px;
        gap: 4px;
    }

    .lang-switch__flag {
        font-size: 1rem;
    }

    .lang-switch__text {
        font-size: 0.75rem;
    }
}










/* ===========================
   HERO MAIN
=========================== */

.hero-main {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

/* IMAGE */
.hero-main__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 110%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    filter: contrast(1.1) saturate(1.15);
    transition: transform 0.2s ease-out;
    will-change: transform;
}

/* OVERLAY */
.hero-main__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.35),
            rgba(0, 0, 0, 0.15));
    z-index: 1;
}

/* CONTENT */
.hero-main__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 2rem;
    text-align: center;
    animation: heroFadeUp 1.2s ease forwards;
}

.hero-main__title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--blanco);
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
}

.hero-main__text {
    font-size: 1.2rem;
    color: var(--gris-claro);
    max-width: 550px;
    margin: 0 auto 2rem;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
}

/* ACTIONS */
.hero-main__actions {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* BUTTONS */
.hero-main__btn {
    padding: 0.9rem 1.6rem;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
}

.hero-main__btn--primary {
    background: var(--verde-main);
    color: var(--blanco);
}

.hero-main__btn--primary:hover {
    background: var(--verde-hover);
}

.hero-main__btn--secondary {
    border: 2px solid var(--blanco);
    color: var(--blanco);
}

.hero-main__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-main__image {
        transition: transform 0.25s ease-out;
    }
}

@media (max-width: 700px) {
    .hero-main__title {
        font-size: 2.2rem;
    }

    .hero-main__text {
        font-size: 1rem;
    }

    .hero-main__actions {
        flex-direction: column;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* ANIMATION */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}










/* ===========================
   MODAL PREMIUM TURISMO (FIXED)
=========================== */

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: env(safe-area-inset-top) 1rem env(safe-area-inset-bottom);
    z-index: 9999;
}

.modal.active {
    display: flex;
}

/* CONTENIDO */
.modal-content {
    background: #1B1B1B;
    width: 100%;
    max-width: 900px;
    max-height: 92vh;
    border-radius: 18px;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);

    /* 🔑 FIX CLAVE */
    padding:
        calc(env(safe-area-inset-top) + 3.5rem) 1.8rem calc(env(safe-area-inset-bottom) + 2rem);

    animation: modalIn 0.25s ease;
}

/* ANIMACIÓN */
@keyframes modalIn {
    from {
        transform: scale(0.96);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* CLOSE BUTTON */
.modal-close {
    position: sticky;
    top: env(safe-area-inset-top);
    margin-left: auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: 0.2s ease;
}

.modal-close:hover {
    background: rgba(224, 184, 79, 0.9);
    color: #000;
    transform: rotate(90deg);
}




/* ===========================
   GALERÍA SLIDER (FINAL LIMPIO)
=========================== */

.modal-gallery {
    position: relative;
    width: 100%;
    margin-bottom: 1.4rem;
}

/* ===========================
   SLIDER BASE
=========================== */

.slider {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 14px;
    background: #000;
}

/* IMÁGENES */
.slider img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: contain;
    background: #000;

    opacity: 0;
    transition: opacity 0.25s ease;
}

.slider img.active {
    opacity: 1;
}

/* ===========================
   FLECHAS
=========================== */

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;

    width: 42px;
    height: 42px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    cursor: pointer;

    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    color: #fff;
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

/* ===========================
   DOTS (ÚNICO SISTEMA)
=========================== */

.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    z-index: 6;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 6px 10px;
    border-radius: 999px;

    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
}

.slider-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    transition: all 0.25s ease;
}

.slider-dots span.active {
    background: #E0B84F;
    transform: scale(1.35);
}

/* ===========================
   MOBILE (UNIFICADO Y LIMPIO)
=========================== */

@media (max-width: 768px) {

    .modal-gallery {
        width: calc(100% + 2rem);
        margin-left: -1rem;
    }

    .slider {
        height: 280px;
        border-radius: 0;
    }

    .slider img {
        object-fit: contain;
    }

    .slider-prev,
    .slider-next {
        display: none;
    }

    .slider-dots {
        bottom: 10px;
        padding: 5px 9px;
        gap: 6px;
    }
}





/* ===========================
   TEXTO Y SECCIONES
=========================== */
.modal-title {
    font-size: 1.9rem;
    font-weight: 700;
    margin: 0.5rem 0 0.6rem;
    color: #fff;
}

.modal-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #E5E5E5;
    margin-bottom: 1.6rem;
}

/* INFO LIST */
.info-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem 1.4rem;
    margin-bottom: 2rem;
}

.info-list li {
    background: rgba(255, 255, 255, 0.04);
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    color: #E0E0E0;
}

.info-list strong {
    color: #E0B84F;
}

/* ===========================
   ITINERARIO
=========================== */
.modal-itinerary {
    list-style: none;
    padding: 0;
    counter-reset: step;
}

.modal-itinerary li {
    counter-increment: step;
    padding-left: 3rem;
    margin-bottom: 1.2rem;
    color: #E5E5E5;
    position: relative;
}

.modal-itinerary li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0.15rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(224, 184, 79, 0.15);
    color: #E0B84F;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ===========================
   CTA
=========================== */
.modal-cta {
    margin-top: 2rem;
    padding-bottom: 1rem;
}

.modal-cta a {
    display: block;
    width: 100%;
    background: #E0B84F;
    color: #000;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

/* ===========================
   MOBILE
=========================== */
@media (max-width: 768px) {
    .modal {
        padding: 0;
    }

    .modal-content {
        height: 100dvh;
        /* 🔑 viewport dinámico */
        max-height: 100dvh;
        border-radius: 0;

        padding-top: calc(env(safe-area-inset-top) + 3.8rem);
        padding-left: 1rem;
        padding-right: 1rem;
        padding-bottom: calc(env(safe-area-inset-bottom) + 2rem);

        overflow-y: auto;
        /* scroll correcto */
        -webkit-overflow-scrolling: touch;
        /* iOS smooth */
    }

    .info-list {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   FIX: OCULTAR CLOSE EN MOBILE
=========================== */
@media (max-width: 768px) {
    .modal-close {
        display: none !important;
    }
}

/* ===========================
   FIX FINAL: SCROLL HORIZONTAL
=========================== */

/* Evita cualquier overflow lateral del modal */
.modal-content {
    overflow-x: hidden;
}

/* Refuerzo específico mobile */
@media (max-width: 768px) {
    body.modal-open {
        overflow-x: hidden;
    }

    .modal {
        overflow-x: hidden;
    }
}
















.experiencias {
    background: var(--gris-claro);
    padding: 5rem 0;
    color: var(--negro-premium);
}

/* CONTAINER */
.experiencias .exp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* HEADER */
.experiencias .exp-header {
    text-align: center;
    margin-bottom: 3rem;
}

.experiencias .exp-title {
    font-size: 2.6rem;
    margin-bottom: 0.5rem;
}

.experiencias .exp-subtitle {
    color: var(--gris-texto);
}

/* GRID */
.experiencias .exp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

@media (max-width: 950px) {
    .experiencias .exp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .experiencias .exp-grid {
        grid-template-columns: 1fr;
    }
}

/* CARD */
.experiencias .exp-card {
    background: var(--blanco);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
}

.experiencias .exp-card:hover {
    transform: translateY(-5px);
}

/* IMAGE */
.experiencias .exp-img {
    height: 280px;
    background-size: cover;
    background-position: center;
}

/* CONTENT */
.experiencias .exp-content {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.experiencias .exp-content h3 {
    margin: 0.7rem 0;
    font-size: 1.4rem;
}

.experiencias .exp-content p {
    color: var(--gris-texto);
    margin-bottom: 0.8rem;

    /* Evita desbalance de alturas */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;

    /* Propiedad estándar (futuro / navegadores modernos) */
    line-clamp: 3;

    overflow: hidden;
}

/* PRICE */
.experiencias .price {
    font-weight: 700;
    margin-top: auto;
    padding: 10px;
}

/* BADGE */
.experiencias .badge {
    align-self: flex-start;
    background: var(--amarillo-acento);
    color: var(--negro-premium);
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* BUTTONS */
.experiencias .exp-buttons {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

/* PRIMARY BUTTON */
.experiencias .btn-primary {
    background: var(--verde-main);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    color: var(--blanco);
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: var(--transition);
}

.experiencias .btn-primary:hover {
    background: var(--verde-hover);
}

/* SECONDARY BUTTON */
.experiencias .btn-secondary {
    background: transparent;
    padding: 0.7rem 1rem;
    border-radius: 6px;
    color: var(--azul-oceano);
    border: 2px solid var(--azul-oceano);
    cursor: pointer;
    transition: var(--transition);
}

.experiencias .btn-secondary:hover {
    background: var(--azul-oceano);
    color: var(--blanco);
}







/* ===========================
   SECCIÓN RECORRIDOS EN BARCO
=========================== */

.barcos {
    background: var(--blanco);
    padding: 5rem 0;
    color: var(--negro-premium);
}

/* CONTAINER */
.barcos .barcos-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* HEADER */
.barcos .barcos-header {
    text-align: center;
    margin-bottom: 3rem;
}

.barcos .barcos-title {
    font-size: 2.6rem;
    margin-bottom: 0.5rem;
}

.barcos .barcos-subtitle {
    color: var(--gris-texto);
}

/* GRID */
.barcos .barcos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

@media (max-width: 950px) {
    .barcos .barcos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .barcos .barcos-grid {
        grid-template-columns: 1fr;
    }
}

/* CARD */
.barcos .barco-card {
    background: var(--blanco);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
}

.barcos .barco-card:hover {
    transform: translateY(-5px);
}

/* IMAGEN */
.barcos .barco-img {
    height: 280px;
    background-size: cover;
    background-position: center;
}

/* CONTENIDO */
.barcos .barco-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.barcos .barco-content h3 {
    margin: 0.7rem 0;
    font-size: 1.4rem;
}

.barcos .barco-content p {
    color: var(--gris-texto);

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;


    line-clamp: 3;

    overflow: hidden;
}

/* INFO LISTA */
.barcos .info-quick {
    list-style: none;
    padding: 0;
    margin: 0.8rem 0;
    font-size: 0.9rem;
    color: var(--gris-texto);
}

.barcos .info-quick li {
    margin-bottom: 0.3rem;
}

/* PRICE */
.barcos .price {
    font-weight: 700;
    margin-top: auto;
    padding: 10px;
}

/* BADGE */
.barcos .badge {
    align-self: flex-start;
    background: var(--amarillo-acento);
    color: var(--negro-premium);
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* BUTTONS */
.barcos .barco-buttons {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

/* PRIMARY BUTTON */
.barcos .btn-primary {
    background: var(--verde-main);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    color: var(--blanco);
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: var(--transition);
}

.barcos .btn-primary:hover {
    background: var(--verde-hover);
}

/* SECONDARY BUTTON */
.barcos .btn-secondary {
    background: transparent;
    padding: 0.7rem 1rem;
    border-radius: 6px;
    color: var(--azul-oceano);
    border: 2px solid var(--azul-oceano);
    cursor: pointer;
    transition: var(--transition);
}

.barcos .btn-secondary:hover {
    background: var(--azul-oceano);
    color: var(--blanco);
}








/* =========================
   SECCIÓN RIO PARTIES
========================= */
/* =========================
   RIO PARTIES - ANTIBUG
========================= */

.rio-parties {
    position: relative;
    min-height: 100vh;

    background-image: url('./assets/principal/cards/dosalcard.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 80px 20px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: #fff;
    box-sizing: border-box;
    overflow: hidden;
}

/* OVERLAY */
.rio-parties::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 0;
}

/* Eleva el contenido */
.rio-parties .rio-container {
    position: relative;
    z-index: 1;
}

/* CONTAINER */
.rio-parties .rio-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

/* TITULOS */
.rio-parties .rio-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.rio-parties .rio-subtitle {
    font-size: 1.2rem;
    color: #f5f5f5;
    margin-bottom: 50px;
}

/* GRID */
.rio-parties .rio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
}

/* CARD */
.rio-parties .rio-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 380px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rio-parties .rio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* IMAGEN */
.rio-parties .rio-card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* CONTENIDO */
.rio-parties .rio-card-content {
    padding: 20px;
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* TEXTOS */
.rio-parties .rio-card-content h3 {
    font-size: 1.3rem;
    margin: 0.5rem 0;
}

.rio-parties .rio-card-content p {
    font-size: 0.95rem;
    color: #eee;
    margin-bottom: 10px;
}

/* BADGE */
.rio-parties .rio-badge {
    display: inline-block;
    background: #f2c94c;
    color: #161616;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}

/* INFO LIST (adaptado al HTML real) */
.rio-parties .rio-info {
    margin: 10px 0;
    padding-left: 18px;
    list-style: disc;
    color: #ddd;
    font-size: 0.9rem;
}

.rio-parties .rio-info li {
    margin-bottom: 4px;
}

/* PRECIO */
.rio-parties .rio-price {
    display: inline-block;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 15px;
}

/* BOTONES */
.rio-parties .rio-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

.rio-parties .rio-btn-primary {
    background: #1f7a5c;
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
    text-align: center;
}

.rio-parties .rio-btn-primary:hover {
    background: #176a50;
}

.rio-parties .rio-btn-secondary {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 0.55rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s ease;
}

.rio-parties .rio-btn-secondary:hover {
    background: #fff;
    color: #161616;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .rio-parties .rio-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .rio-parties .rio-title {
        font-size: 2rem;
    }

    .rio-parties .rio-subtitle {
        font-size: 1rem;
    }
}







/* =========================
   FAVELA TOURS – ANTIBUG
========================= */

#favela {
    position: relative;
    isolation: isolate;
    background: #1B1B1B;
    padding: 80px 20px;
    color: #fff;
}

#favela * {
    box-sizing: border-box;
}

#favela::before {
    content: "";
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at 30% 30%,
            rgba(224, 184, 79, 0.10),
            transparent 60%),
        radial-gradient(circle at 70% 60%,
            rgba(255, 255, 255, 0.03),
            transparent 55%);
    filter: blur(60px);
    animation: favelaFloat 18s ease-in-out infinite;
    z-index: -1;
}

#favela::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg,
            rgba(255, 255, 255, 0.015),
            rgba(255, 255, 255, 0.015) 1px,
            transparent 2px,
            transparent 3px);
    opacity: 0.25;
    pointer-events: none;
    z-index: -1;
}

@keyframes favelaFloat {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(25px, -20px);
    }

    100% {
        transform: translate(0, 0);
    }
}

.favela-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.favela-title {
    font-size: 2.6rem;
    margin-bottom: 0.5rem;
}

.favela-subtitle {
    color: #F2F2F2;
    margin-bottom: 50px;
}

.favela-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.favela-card {
    background: #2A2A2A;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease;
}

.favela-card:hover {
    transform: translateY(-6px);
    transition: 0.3s ease;
}

.favela-img {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.favela-content {
    padding: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.favela-badge {
    background: #f2c94c;
    color: #161616;
    font-size: .75rem;
    padding: .25rem .6rem;
    border-radius: 20px;
    font-weight: 700;
    width: fit-content;
}

.favela-info {
    padding-left: 18px;
    color: #B8B8B8;
}

.favela-price {
    color: #E0B84F;
    font-weight: 600;
}

.favela-buttons {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.favela-btn-primary {
    background: #1f7a5c;
    color: #fff;
    padding: .6rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.favela-btn-secondary {
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    padding: .55rem 1rem;
    border-radius: 6px;
    cursor: pointer;
}











/* ===========================
   EXTRAS — ANTIBUG / AISLADO
=========================== */

.x-extras,
.x-extras * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* WRAPPER */
.x-extras {
    width: 100%;
    padding: 120px 40px;
    background: linear-gradient(#ffffff, #f3f3f3);
    isolation: isolate;
    /* 🔥 clave */
}

/* CONTENEDOR */
.x-extras__container {
    max-width: 1300px;
    margin: 0 auto;
    background: transparent;
    color: #1f2933;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* HEADER */
.x-extras__header {
    max-width: 600px;
    margin-bottom: 40px;
}

.x-extras__title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.x-extras__subtitle {
    font-size: 1rem;
    color: #6b7280;
}

/* CARRUSEL */
.x-extras__carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    background: transparent;
}

/* CARD */
.x-extras__card {
    flex: 0 0 260px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    scroll-snap-align: start;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    transition: transform .3s ease;
}

.x-extras__card:hover {
    transform: translateY(-4px);
}

/* IMG */
.x-extras__img {
    height: 160px;
    background-size: cover;
    background-position: center;
}

/* BODY */
.x-extras__body {
    padding: 16px;
}

.x-extras__card-title {
    font-size: 1rem;
    margin-bottom: 8px;
}

.x-extras__price {
    display: block;
    font-weight: 600;
    color: #1f7a5c;
    margin-bottom: 10px;
}

/* LINK */
.x-extras__link {
    background: none;
    border: none;
    color: #1f7a5c;
    font-size: .9rem;
    cursor: pointer;
    padding: 0;
}

.x-extras__link:hover {
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .x-extras {
        padding: 80px 20px;
    }

    .x-extras__card {
        flex: 0 0 220px;
    }
}








/* ===========================
   TBT FOOTER (AISLADO)
=========================== */

.tbt-footer {
    background-color: #1a1a1a;
    color: #ffffff;
    font-family: 'Inter', system-ui, sans-serif;
    padding: 2.5rem 1.5rem 1.5rem;
}

/* RESET INTERNO */
.tbt-footer * {
    box-sizing: border-box;
}

.tbt-footer a {
    color: inherit;
    text-decoration: none;
}

/* ---------------------------
   TOP
--------------------------- */

.tbt-footer-top {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 2.5rem;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* Marca */
.tbt-footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tbt-footer-logo {
    width: 40px;
    height: 40px;
}

.tbt-footer-name {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Links */
.tbt-footer-contact,
.tbt-footer-social {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.tbt-footer-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    opacity: 0.9;
    transition: opacity 0.25s ease;
}

.tbt-footer-link:hover {
    opacity: 1;
}

.tbt-footer-icon {
    width: 22px;
    height: 22px;
}

/* ---------------------------
   BOTTOM
--------------------------- */

.tbt-footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.85;
}

.tbt-footer-signature {
    margin-top: 0.4rem;
    font-size: 0.75rem;
    opacity: 0.6;
}

.tbt-footer-signature a {
    font-weight: 600;
}

/* ---------------------------
   RESPONSIVE
--------------------------- */

@media (max-width: 768px) {
    .tbt-footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .tbt-footer-brand {
        justify-content: center;
    }

    .tbt-footer-contact,
    .tbt-footer-social {
        align-items: center;
    }

    .tbt-footer-link {
        justify-content: center;
    }
}




/* ===========================
   LIGHTBOX FULLSCREEN
=========================== */

.img-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    cursor: zoom-out;
}

.img-lightbox.active {
    display: flex;
}

.img-lightbox img {
    max-width: 95vw;
    max-height: 95vh;
    object-fit: contain;
}