/* =========================================================
   ENRUTADOS TRAVEL — Home
   ========================================================= */

:root {
    --color-primary: #743EC8;
    --color-primary-dark: #491B8D;
    --color-accent: #F2D728;
    --color-red: #E63946;
    --color-whatsapp: #25D366;
    --color-white: #F3F3F3;
    --color-dark: #1A1A2E;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    --header-h: 72px;
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-dark);
    background: var(--color-white);
    line-height: 1.5;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.15;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

.glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.85rem 1.6rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-yellow {
    background: var(--color-accent);
    color: var(--color-dark);
}

.btn-purple {
    background: var(--color-primary);
    color: #fff;
}

.btn-red {
    background: var(--color-red);
    color: #fff;
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Section headers */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: #fff;
}

.section-title.dark {
    color: var(--color-dark);
}

.section-title.white {
    color: var(--color-white);
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    z-index: 1000;
    background: transparent;
    transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}

.navbar.scrolled {
    background: rgba(243, 243, 243, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
}

.navbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 65px;
    width: auto;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav-link {
    color: var(--color-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.4rem 0;
    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--color-primary);
}

.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 34px;
    height: 34px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* =========================================================
   HERO
   ========================================================= */
/* ── HERO WRAPPER (fondo de página) ── */
.hero-wrapper {
    background: #F3F3F3;
    padding: 24px 56px 60px 56px;
    box-sizing: border-box;
}

/* ── EL RECUADRO CON IMAGEN ── */
.hero-box {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    height: calc(100vh - 72px - 80px);
    border-radius: 20px;
    overflow: hidden;
    background-image: url('../assets/bannerCel.jpg');
    background-size: cover;
    background-position: center;
}

/* ── OVERLAY OSCURO SOBRE LA IMAGEN ── */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(0,0,0,0.65) 0%,
        rgba(0,0,0,0.40) 45%,
        rgba(0,0,0,0.15) 100%
    );
    z-index: 1;
}

/* ── CONTENEDOR INTERNO (texto + tarjeta) ── */
.hero-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px) clamp(48px, 7vw, 80px) clamp(24px, 5vw, 56px);
    z-index: 2;
    gap: 32px;
}

/* ── ZONA IZQUIERDA — TEXTO ── */
.hero-content {
    flex: 0 0 50%;
    max-width: 520px;
}

.hero-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: rgba(255,255,255,0.70);
    text-transform: uppercase;
    margin: 0 0 16px 0;
    display: block;
}

.hero-headline {
    font-family: 'Poppins', sans-serif;
    font-size: 62px;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.05;
    margin: 0 0 20px 0;
}

/* Por defecto (desktop) solo se ve el texto largo; el de mobile queda oculto */
.hero-headline-mobile {
    display: none;
}

/* Palabra rotativa dentro del headline */
.hero-rotating-word {
    display: inline-block;
    color: var(--color-accent);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-rotating-word.is-swapping {
    opacity: 0;
    transform: translateY(10px);
}

.hero-sub {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: rgba(255,255,255,0.80);
    line-height: 1.6;
    margin: 0;
    max-width: 400px;
}

/* ── ZONA DERECHA — TARJETA GRANDE GLASSMORPHISM ── */
@keyframes heroFloat {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.hero-card {
    flex: 0 0 38%;
    max-width: 360px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.30);
    animation: heroFloat 4s ease-in-out infinite;
    transition: opacity 0.5s ease;
}

.hero-card.fading {
    opacity: 0;
}

.hero-card-img-wrap {
    position: relative;
    width: 100%;
    height: 200px;
}

.hero-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-card-body {
    padding: 20px 22px 22px;
}

.hero-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.hero-card-desc {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.hero-card-checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    margin-bottom: 20px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #FFFFFF;
}

.check-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.50);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #F2D728;
    flex-shrink: 0;
    line-height: 1;
}

.hero-card-btn {
    width: 100%;
    padding: 13px 0;
    background: #743EC8;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.hero-card-btn:hover {
    background: #491B8D;
    transform: scale(1.02);
}

/* ── BOTONERA — hermana del hero-box, montada con margin-top negativo ── */
.hero-cta-bar {
    position: relative;
    display: flex;
    gap: clamp(12px, 3vw, 30px);
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: -60px auto 0 auto;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    padding: clamp(12px, 2vw, 16px) clamp(16px, 3vw, 24px);
    border-radius: 16px;
    z-index: 10;
    min-height: 90px;
}

@keyframes btnBounce {
    0%   { transform: translateY(0); }
    30%  { transform: translateY(-7px); }
    60%  { transform: translateY(0); }
    100% { transform: translateY(0); }
}

.btn-wave-active {
    animation: btnBounce 0.5s ease;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    white-space: nowrap;
    padding: 13px clamp(14px, 3vw, 32px);
    border: none;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(13px, 1.6vw, 17px);
    font-weight: 700;
    cursor: pointer;
    min-width: clamp(110px, 14vw, 180px);
    transition: box-shadow 0.18s ease;
}

.btn-cta:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.btn-cta.btn-yellow { background: #F1A100; color: #FFFFFF; }
.btn-cta.btn-purple { background: #00BCFF; color: #FFFFFF; }
.btn-cta.btn-red    { background: #FD5868; color: #FFFFFF; }

/* =========================================================
   HERO — MOBILE (max-width: 768px)
   ========================================================= */
@media (max-width: 768px) {

    /* ── WRAPPER: fondo de página ── */
    .hero-wrapper {
            padding: 12px 16px 60px 16px;
         background: #F3F3F3;
         
    }

    /* ── RECUADRO: ancho completo, altura fija ── */
    .hero-box {
        width: 100%;
        height: 75vh;
        min-height: 500px;
        border-radius: 16px;
        overflow: visible; 
        background-size: cover;
        background-position: center;
    }

    /* ── INNER: layout en columna, texto arriba, tarjeta abajo ── */
    .hero-inner {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        padding: 28px 20px 24px 20px;
        z-index: 2;
        gap: 0;
    }

    /* ── TEXTO: arriba izquierda, tamaño reducido ── */
    .hero-content {
        flex: 0 0 auto;
        max-width: 60%;
        margin-top: 8%
    }

    .hero-eyebrow {
        font-size: 7px;
        letter-spacing: 1.5px;
        margin-bottom: 8px;
    }

    .hero-headline {
        font-size: 35px;
        line-height: 1.08;
        margin-bottom: 8px;
    }

    /* En mobile se invierte: se muestra el texto corto, se oculta el largo */
    .hero-headline-desktop {
        display: none;
    }

    .hero-headline-mobile {
        display: inline;
    }

    .hero-sub {
        font-size: 13px;
        display: none; /* ocultar subtexto en mobile para no saturar */
    }

    /* ── TARJETA: abajo derecha, más pequeña ── */
    .hero-card {
        flex: 0 0 auto;
        width: 60%;
       align-self: flex-end;
        animation: heroFloat 4s ease-in-out infinite;
        position: relative;
        top: -60px;
        right: -12px;
        transform: none;
        z-index: 10;
    }

    .hero-card-img-wrap {
        height: clamp(90px, 30vw, 120px);
    }

    .hero-card-img {
        height: clamp(90px, 30vw, 120px);
    }

    .hero-card-body {
        padding: 10px 12px 12px;
    }

    .hero-card-title {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .hero-card-desc {
        font-size: 10px;
        margin-bottom: 10px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-card-checks {
        gap: 4px 8px;
        margin-bottom: 10px;
    }

    .check-item {
        font-size: 10px;
        gap: 4px;
    }

    .check-icon {
        width: 16px;
        height: 16px;
        font-size: 9px;
    }

    .hero-card-btn {
        font-size: 11px;
        padding: 9px 0;
        border-radius: 8px;
    }

    /* ── OVERLAY: más oscuro a la izquierda para legibilidad del texto ── */
    .hero-overlay {
        border-radius: inherit; /* al liberar el overflow del hero-box, el overlay debe redondear sus propias esquinas */
        background: linear-gradient(
            135deg,
            rgba(0,0,0,0.60) 0%,
            rgba(0,0,0,0.30) 50%,
            rgba(0,0,0,0.10) 100%
        );
    }

    /* ── BOTONERA: debajo del recuadro, ancho completo ── */
    .hero-cta-bar {
        position: relative;
        bottom: 20px;
        left: auto;
        transform: none;
        width: 90%;
        margin: -15px auto 0 auto;
        border-radius: 14px;
        padding: 6px 12px;
        gap: 5px;
        justify-content: center;
        flex-direction: row;
        height: auto;
        min-height: 0;
    }

    .btn-cta {
        flex: 1;
        min-width: 0;
        min-height: 50px;
        padding: 12px clamp(4px, 2vw, 8px);
        font-size: clamp(8px, 3vw, 10px);
        border-radius: 8px;
    }

}

/* =========================================================
   HERO CARD — VARIANTES POR ALTURA DE VIEWPORT EN MOBILE
    ========================================================= */

@media (max-width: 768px) and (max-height: 700px) {


    .hero-box {
        height: auto;
        min-height: 380px;
    }

    .hero-inner {
        justify-content: flex-start;
        gap: 10px;
        padding: 14px 14px 12px 14px;
    }

    .hero-content,
    .hero-card {
        flex-shrink: 0;
        
    }

    .hero-content {
        margin-top: 0;
        max-width: 70%;
    }

    .hero-headline {
        font-size: 22px;
        line-height: 1.1;
        margin-bottom: 4px;
    }

    .hero-card {
        width: 50%;
        top: 0;
        right: 0;
        animation: none;
    }

    .hero-card-img-wrap,
    .hero-card-img {
        height: 60px;
    }

    .hero-card-desc {
        display: none;
    }


    .hero-card-body {
        padding: 5px 8px 6px;
    }

    .hero-card-title {
        font-size: 11px;
        margin-bottom: 4px;
    }

    .hero-card-btn {
        font-size: 9px;
        padding: 7px 0;
    }
}


@media (max-width: 768px) and (min-height: 601px) and (max-height: 700px) {

    .hero-box {
        height: auto;
        min-height: 480px;
    }

    .hero-inner {
        justify-content: flex-start;
        gap: 14px;
        padding: 18px 16px 16px 16px;
    }

    .hero-content,
    .hero-card {
        flex-shrink: 0;
        
    }

    .hero-content {
        margin-top: 0;
        max-width: 68%;
    }

    .hero-headline {
        font-size: 26px;
        line-height: 1.12;
        margin-bottom: 6px;
    }

    .hero-card {
        width: 50%;
        top: 0;
        right: 0;
        animation: none;
        height: 60%;
    }

    .hero-card-img-wrap,
    .hero-card-img {
        height: 80px;
    }



    .hero-card-body {
        padding: 6px 10px 8px;
    }

    .hero-card-title {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .hero-card-btn {
        font-size: 10px;
        padding: 8px 0;
    }
}


@media (max-width: 768px) and (min-height: 701px) and (max-height: 800px) {

        .hero-box {
        height: 80vh;
    }

    .hero-card {
        width: 55%;
        animation: heroFloatSmall 4s ease-in-out infinite;
    }

    .hero-card-img-wrap,
    .hero-card-img {
        height: 105px;
    }

    .hero-card-desc {
        display: block;
    }

    .hero-card-checks {
        grid-template-columns: 1fr 1fr;
    }

    .hero-card .check-item {
        font-size: 9px;
    }
}

@keyframes heroFloatSmall {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}


@media (max-width: 768px) and (min-height: 801px) {

    .hero-card {
        width: 60%;
    }

    .hero-card-img-wrap,
    .hero-card-img {
        height: 140px;
    }
}

/* WhatsApp floating button */
.whatsapp-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--color-whatsapp);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    z-index: 999;
    transition: transform var(--transition), opacity 0.35s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.08);
}

.whatsapp-btn.bounce {
    animation: wa-bounce 0.7s ease;
}

@keyframes wa-bounce {
    0%, 100% { transform: translateY(0); }
    30% { transform: translateY(-12px); }
    55% { transform: translateY(0); }
    75% { transform: translateY(-6px); }
}

/* En mobile: invisible mientras se está sobre el hero principal */
@media (max-width: 768px) {
    .whatsapp-btn.wa-hidden {
        opacity: 0;
        pointer-events: none;
    }
}

/* =========================================================
   STATS
   ========================================================= */
.stats-section {
    background: var(--color-primary);
    padding: 4rem 1.5rem;
}

.stats-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 18px;
    color: #fff;
}

.stat-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.6rem;
}

.stat-number {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.stat-desc {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* En mobile las tarjetas quedaban muy altas apiladas en 2x2; se compactan */
@media (max-width: 768px) {
    .stats-section {
        padding: 2rem 1rem;
    }

    .stats-grid {
        gap: 0.75rem;
    }

    .stat-card {
        padding: 1rem 0.5rem;
        border-radius: 14px;
    }

    .stat-icon {
        font-size: 1.4rem;
        margin-bottom: 0.3rem;
    }

    .stat-number {
        font-size: clamp(1.3rem, 7vw, 1.7rem);
        margin-bottom: 0.15rem;
    }

    .stat-desc {
        font-size: 0.75rem;
        line-height: 1.2;
    }
}

/* =========================================================
   REVIEWS
   ========================================================= */
.reviews-section {
    background: var(--color-primary-dark);
    padding: 5rem 1.5rem;
}

.reviews-viewport {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-viewport::before,
.reviews-viewport::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 90px;
    pointer-events: none;
    z-index: 3;
    
}

.reviews-viewport::before {
    left: 0;
    background: linear-gradient(to right, #491B8D 0%, rgba(73, 27, 141, 0) 100%);
}

.reviews-viewport::after {
    right: 0;
    background: linear-gradient(to left, #491B8D 0%, rgba(73, 27, 141, 0) 100%);
}

.review-card {
    width: 300px;
    height: 400px;
    border-radius: 18px;
    padding: 1.6rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.review-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.stars {
    color: var(--color-accent);
    letter-spacing: 2px;
}

.google-logo {
    width: 22px;
    height: 22px;
}

.review-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.review-text {
    font-style: italic;
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 1rem;
}

.review-text .hl {
    color: var(--color-accent);
    font-style: normal;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--color-accent);
    text-underline-offset: 2px;
}

.review-author {
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.9;
    margin-top: auto;
}


/* =========================================================
   DESTINATIONS
   ========================================================= */
.destinos-section {
    padding: 64px 0 72px;
    background: #F3F3F3;
    overflow: hidden;
}

.destinos-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 24px;
}

.destinos-eyebrow {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #F2D728;
    /* texto visible sobre fondo claro — añadir text-shadow o cambiar a primario */
    color: #743EC8;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.destinos-title {
    font-family: 'Poppins', sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: #1A1A2E;
    margin: 0;
}

/* Envoltorio relativo para posicionar los degradados sobre el scroll */
.destinos-viewport {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* Degradados a los lados para disimular el borde del scroll */
.destinos-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 90px;
    pointer-events: none;
    z-index: 3;
}

.destinos-fade--left {
    left: 0;
    background: linear-gradient(to right, #F3F3F3 0%, rgba(243, 243, 243, 0) 100%);
}

.destinos-fade--right {
    right: 0;
    background: linear-gradient(to left, #F3F3F3 0%, rgba(243, 243, 243, 0) 100%);
}

/* TARJETA */
.dest-card {
    position: relative;
    width: 320px;
    height: 420px;
    border-radius: 18px;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dest-card:hover {
    transform: scale(1.03);
    box-shadow: 0 16px 48px rgba(0,0,0,0.22);
}

.dest-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.dest-card:hover .dest-card-img {
    transform: scale(1.06);
}

/* Overlay gradiente en la parte inferior */
.dest-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.72) 0%,
        rgba(0,0,0,0.20) 50%,
        rgba(0,0,0,0.0) 100%
    );
    border-radius: 18px;
}

/* Badge categoría */
.dest-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255,255,255,0.90);
    color: #1A1A2E;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 20px;
    z-index: 2;
    text-transform: uppercase;
}

.dest-badge--hot {
    background: #F2D728;
    color: #1A1A2E;
}

/* Info inferior */
.dest-card-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
}

.dest-card-name {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 4px;
}

.dest-card-price {
    font-family: 'Inter', sans-serif;
    margin: 0 0 6px;
    color: #FFFFFF;
}

.dest-price-label {
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--color-accent);
    margin-right: 4px;
}

.dest-price-amount {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: var(--color-accent);
}

.dest-price-suffix {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.8;
    margin-left: 3px;
    color: var(--color-accent);
}

.dest-card-link {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #F2D728;
    margin: 0;
}

/* =========================================================
   RESEÑAS + DESTINOS — MOBILE (max-width: 768px)
   ========================================================= */
@media (max-width: 768px) {

    /* ── RESEÑAS ── */
    .reviews-section {
        padding: 40px 16px;
    }

    .reviews-section .section-title {
        font-size: 24px;
    }

    .review-card {
        width: 45vw;
        height: 40vh;
        padding: 0.9rem;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .review-card-header {
        margin-bottom: 0.5rem;
    }

    .stars {
        font-size: 12px;
    }

    .google-logo {
        width: 16px;
        height: 16px;
    }

    .review-title {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .review-text {
        font-size: 0.72rem;
        margin-bottom: 0.6rem;
    }

    .review-author {
        font-size: 0.7rem;
        margin-top: auto;
        padding-top: 0.5rem;
    }

    /* ── DESTINOS ── */
    .destinos-section {
        padding: 40px 0;
    }

    .destinos-title {
        font-size: 28px;
    }

    .destinos-swiper {
        padding-left: 16px;
        padding-right: 16px;
    }

    .destinos-fade {
        width: 40px;
    }

    /* 2 tarjetas visibles a la vez: ~48vw c/u, altura compacta */
    .dest-card {
        width: 50vw;
        height: 320px;
    }

    .dest-badge {
        padding: 4px 8px;
        font-size: 9px;
    }

    .dest-card-info {
        bottom: 14px;
        left: 14px;
        right: 14px;
    }

    .dest-card-name {
        font-size: 16px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dest-price-label {
        font-size: 8px;
    }

    .dest-price-amount {
        font-size: 14px;
    }

    .dest-price-suffix {
        font-size: 10px;
    }

    .dest-card-link {
        font-size: 11px;
    }
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact-section {
    background: var(--color-primary);
    padding: 5rem 1.5rem;
    color:var(--color-white)
}

.contact-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.contact-info .section-title {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.6rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.info-item h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.info-item p {
    font-size: 0.92rem;
    opacity: 0.85;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.4rem;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color:var(--color-white);
}

.contact-map {
    min-height: 320px;
    border-radius: 18px;
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
}

.contact-buttons a{
    gap: 5px;
    margin-top: 1rem;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-section {
    background: #fff;
    padding: 5rem 1.5rem;
}

.faq-list {
    max-width: 780px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(26, 26, 46, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.3rem 0.25rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-align: left;
    color: var(--color-dark);
}

.faq-icon {
    font-size: 1.4rem;
    color: var(--color-primary);
    transition: transform var(--transition);
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer p {
    padding: 0 0.25rem 1.3rem;
    font-size: 0.92rem;
    opacity: 0.8;
    line-height: 1.6;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    background: #1A1A2E;
    color: rgba(255, 255, 255, 0.80);
    padding: 48px 24px 28px;
}

/* ── Estructura vieja (destinos.html) — se mantiene tal cual ── */
.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-logo {
    height: 44px;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.88rem;
    opacity: 0.75;
    max-width: 320px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-nav a,
.footer-col p {
    font-size: 0.88rem;
    opacity: 0.8;
}

.footer-nav a:hover {
    color: var(--color-accent);
}

.footer-col p {
    margin-bottom: 0.4rem;
}

.footer-legal {
    display: flex;
    gap: 1.2rem;
}

.footer-legal a:hover {
    color: var(--color-accent);
}

/* ── Estructura nueva (index.html, sobre-nosotros.html, politicas.html) ── */
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-col img {
    height: 48px;
    margin-bottom: 12px;
    display: block;
}

.footer-logo-col p {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
    max-width: 220px;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-only {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.60);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--color-accent);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.40);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: var(--color-accent);
}

/* ── Compartidas por ambas estructuras ── */
.footer-col h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #FFFFFF;
    margin: 0 0 16px;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.20);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.70);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.footer-social a:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(242, 215, 40, 0.08);
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.40);
    margin: 0;
}

/* ── Footer nuevo: mobile ── */
@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
        margin-bottom: 32px;
    }

    .footer-logo-col img {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-logo-col h4 {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-logo-col p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-col ul {
        display: flex;
        flex-direction : row;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .stop{
        display: none;
    }

    
}

@media (min-width: 769px) and (max-width: 1023px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* Focus visibility for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
    }

    .hero-box {
        background-image: url('../assets/bannerPc.jpg');
    }
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 80vw;
        max-width: 320px;
        height: 100vh;
        background: #491B8D;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 80px 32px 32px;
        gap: 28px;
        z-index: 9999;
        transform: translateX(-100%);
        transition: transform 0.32s ease;
        visibility: hidden;
        pointer-events: none;
    }

    .navbar-links.open {
        transform: translateX(0);
        visibility: visible;
        pointer-events: all;
        box-shadow: 8px 0 24px rgba(0, 0, 0, 0.25);
    }

    .navbar-links .nav-link {
        color: #fff;
        font-size: 1.1rem;
    }

    /* Overlay oscuro detrás del menú cuando está abierto */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.50);
        z-index: 9998;
    }

    .nav-overlay.open {
        display: block;
    }

    .hamburger {
        display: flex;
    }
}

@media (max-width: 480px) {
    .destinos-fade {
        width: 36px;
    }

    .reviews-viewport::before,
    .reviews-viewport::after {
        width: 36px;
    }
}

/* =========================================================
   PÁGINAS INTERIORES (sobre-nosotros.html, politicas.html)
   ========================================================= */
.page-hero {
    background: linear-gradient(135deg, #743EC8 0%, #491B8D 100%);
    padding: 80px 24px;
    text-align: center;
    color: white;
}

.page-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    margin: 0 0 12px;
}

.page-hero p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    opacity: 0.85;
    max-width: 480px;
    margin: 0 auto;
}

.page-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 64px 24px;
}

/* ── SOBRE NOSOTROS: quiénes somos ── */
.about-intro {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.about-intro-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-dark);
    opacity: 0.85;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.about-stat {
    text-align: center;
    background: var(--color-white);
    border: 1px solid rgba(26, 26, 46, 0.08);
    border-radius: 16px;
    padding: 1.6rem 1rem;
}

.about-stat .stat-number {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 4vw, 2.1rem);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.3rem;
}

.about-stat .stat-desc {
    font-size: 0.85rem;
    color: var(--color-dark);
    opacity: 0.75;
}

/* ── SOBRE NOSOTROS: foto del equipo ── */
.team-photo-section {
    background: var(--color-white);
    padding: 0 0 64px;
}

.team-photo {
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #743EC8 0%, #491B8D 100%);
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 800;
    text-align: center;
}

/* ── SOBRE NOSOTROS: misión / visión / valores ── */
.mission-section {
    background: var(--color-primary);
    padding: 64px 24px;
}

.mission-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.mission-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    padding: 2.2rem 1.8rem;
    color: #fff;
    text-align: center;
}

.mission-icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 1rem;
}

.mission-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.mission-card p {
    font-size: 0.92rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* ── SOBRE NOSOTROS / cualquier página: CTA final ── */
.final-cta {
    background: var(--color-accent);
    padding: 64px 24px;
    text-align: center;
}

.final-cta h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    color: var(--color-dark);
    margin: 0 0 1.5rem;
}

.final-cta .btn {
    background: var(--color-dark);
    color: #fff;
}

.final-cta .btn:hover {
    background: #000;
}

/* ── POLÍTICAS: layout con sidebar ── */
.politicas-hero-sub {
    font-size: 14px;
}

.politicas-mobile-nav {
    display: block;
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 24px 0;
}

.politicas-mobile-nav summary {
    cursor: pointer;
    list-style: none;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);
    background: var(--color-white);
    border: 1px solid rgba(116, 62, 200, 0.25);
    border-radius: 12px;
    padding: 0.9rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.politicas-mobile-nav summary::-webkit-details-marker {
    display: none;
}

.politicas-mobile-nav summary::after {
    content: '▾';
    transition: transform var(--transition);
}

.politicas-mobile-nav[open] summary::after {
    transform: rotate(180deg);
}

.politicas-mobile-nav nav {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.9rem 0.2rem 0.2rem;
}

.politicas-mobile-nav nav a {
    padding: 0.6rem 1rem;
    border-radius: 10px;
    color: var(--color-dark);
    font-weight: 500;
    font-size: 0.92rem;
}

.politicas-mobile-nav nav a:hover {
    background: rgba(116, 62, 200, 0.08);
}

.politicas-sidebar h4 {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-dark);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.politicas-sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.politicas-sidebar-link {
    color: #743EC8;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.6rem 0 0.6rem 1rem;
    border-left: 3px solid transparent;
    transition: border-color var(--transition), background var(--transition);
}

.politicas-sidebar-link:hover {
    background: rgba(116, 62, 200, 0.06);
}

.politicas-sidebar-link.active {
    border-left-color: #743EC8;
    font-weight: 700;
}

.policy-section {
    padding: 2.2rem 0;
    border-bottom: 1px solid rgba(26, 26, 46, 0.1);
}

.policy-section:first-of-type {
    padding-top: 0;
}

.policy-section:last-of-type {
    border-bottom: none;
}

.policy-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    font-weight: 800;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.policy-section p,
.policy-section li {
    font-size: 0.96rem;
    line-height: 1.75;
    color: var(--color-dark);
    opacity: 0.85;
}

.policy-section ul {
    margin: 0.5rem 0 1rem;
    padding-left: 0;
}

.policy-section li {
    padding-left: 1.4rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.policy-section li::before {
    content: '•';
    position: absolute;
    left: 0.3rem;
    color: var(--color-accent);
    font-weight: 700;
}

.policy-section p + p {
    margin-top: 0.9rem;
}

.policy-placeholder {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 0.9rem;
    background: rgba(230, 57, 70, 0.08);
    border: 1px dashed rgba(230, 57, 70, 0.4);
    border-radius: 8px;
    color: var(--color-red);
    font-size: 0.85rem;
    font-weight: 600;
}

.policy-updated {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 64px;
    font-size: 0.85rem;
    color: var(--color-dark);
    opacity: 0.55;
}

/* Mobile first — stack todo en mobile, grid en desktop */
@media (min-width: 1024px) {
    .politicas-layout {
        display: grid;
        grid-template-columns: 280px 1fr;
        gap: 48px;
        align-items: start;
    }

    .politicas-sidebar {
        position: sticky;
        top: 100px;
    }

    .politicas-mobile-nav {
        display: none;
    }
}

@media (max-width: 1023px) {
    .politicas-sidebar {
        display: none; /* se reemplaza por accordion en mobile */
    }
}

@media (min-width: 768px) {
    .about-intro {
        grid-template-columns: 1.1fr 0.9fr;
    }

    .mission-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =========================================================
   PÁGINA DE DESTINOS (destinos.html) + MODAL DE DETALLE
   ========================================================= */
.destinos-page-section {
    background: var(--color-white);
    padding: 56px 24px 80px;
}

.destinos-page-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* ── FILTROS DE CATEGORÍA ── */
.destinos-filtros {
    max-width: 1200px;
    margin: 0 auto 28px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
}

.destinos-filtro-btn {
    padding: 0.55rem 1.4rem;
    border-radius: 50px;
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    transition: background var(--transition), color var(--transition), transform 0.2s ease;
}

.destinos-filtro-btn:hover {
    transform: translateY(-2px);
}

.destinos-filtro-btn.active {
    background: var(--color-primary);
    color: #fff;
}

/* Tarjetas ocultas por el filtro */
.destino-card--hidden {
    display: none;
}

.destino-card {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transition: transform var(--transition), box-shadow var(--transition);
    text-align: left;
}

.destino-card:hover,
.destino-card:focus-visible {
    transform: scale(1.03);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.destino-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.destino-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-dark);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.destino-card-badge.hot {
    background: var(--color-accent);
}

.destino-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    color: #fff;
}

.destino-card-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.destino-card-desc {
    font-size: 0.78rem;
    line-height: 1.4;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.destino-card-cta {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-accent);
}

/* ── MODAL DE DETALLE ── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(26, 26, 46, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.open {
    display: flex;
}

.modal-box {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--color-dark);
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr;
}

.modal-img-wrap {
    width: 100%;
    height: 220px;
}

.modal-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-body {
    padding: 1.6rem 1.6rem 2rem;
    color: #fff;
}

.modal-body h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
}

.modal-includes h4,
.modal-excludes h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.modal-includes h4 {
    color: #4ADE80;
}

.modal-excludes h4 {
    color: var(--color-red);
}

.modal-includes ul,
.modal-excludes ul {
    margin-bottom: 1.4rem;
}

.modal-includes li,
.modal-excludes li {
    font-size: 0.88rem;
    line-height: 1.6;
    opacity: 0.85;
    padding-left: 1.2rem;
    position: relative;
}

.modal-includes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4ADE80;
}

.modal-excludes li::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: var(--color-red);
}

.modal-wa-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    background: var(--color-whatsapp);
    color: #fff;
}

@media (min-width: 768px) {
    .destinos-page-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Desktop: altura compacta fija (mobile conserva aspect-ratio 3/4) */
    .destino-card {
        aspect-ratio: auto;
        height: 320px;
    }

    .modal-grid {
        grid-template-columns: 1fr 1fr;
    }

    .modal-img-wrap {
        height: 100%;
    }
}


.dest-ribbon {
    position: absolute;
    top: 13px;
    left: -30px;
    z-index: 3;
    width: 105px;
    transform: rotate(-45deg);
    background: #F2D728;
    color: #1A1A2E;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-align: center;
    padding: 5px 0;
    border-radius: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}


.hero-ribbon {
    position: absolute;
    top: 13px;
    left: -30px;
    z-index: 3;
    width: 115px;
    transform: rotate(-45deg);
    background: #F2D728;
    color: #1A1A2E;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-align: center;
    padding: 6px 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

/* =========================================================
   TELÉFONOS PATCH PEQUEÑOS
   ========================================================= */
@media (max-width: 380px) and (max-height: 780px) {

    

     .hero-box {
        width: 100%;
        height: 78vh;
        min-height: 500px;
    }

    .hero-content {
        width: 70%;
        max-width: none;
    }

    .hero-headline {
        font-size: 26px;
        line-height: 1.2;

    }

    .hero-card {
        width: 65%;
        top: 7%;
        left: 3%;
        height: auto;
    }

    .hero-card-title {
        font-size: 11px;
    }

    .hero-card-desc {
        display: block;
        font-size: 9px;
    }

    /* ── BOTONERA CTA: evita que el texto de los botones se corte ── */
    .hero-cta-bar {
        gap: 4px;
        padding: 6px 8px;
    }

    .btn-cta {
        font-size: 8px;
        padding: 10px clamp(2px, 1.5vw, 6px);
        min-width: 0;
    }

    /* ── STATS ── */
    .stat-number {
        font-size: clamp(1.1rem, 8vw, 1.4rem);
    }

    /* ── DESTINOS: tarjetas un poco más bajas para que quepan sin scroll excesivo ── */
    .dest-card {
        height: 260px;
    }

    .dest-card-name {
        font-size: 14px;
    }

    /* ── CONTACTO: evita corte de contenido y mapa compacto ── */
    .contact-section {
        padding-left: 8px;
        padding-right: 8px;
    }

    .info-item h5,
    .info-item p {
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .info-item p {
        font-size: 13px;
    }

    .contact-map {
        max-width: 100%;
        overflow: hidden;
        min-height: 200px;
    }

    .contact-map iframe {
        width: 100%;
        height: 210px;
        min-height: 0;
    }

    .social-links {
        flex-wrap: wrap;
        gap: 0.6rem;
    }

        .review-card {
        width: 45vw;
        height: 55vh;
        padding: 0.9rem;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

}

/* =========================================================
   DESTINOS: Swiper
   ========================================================= */
.destinos-swiper {
    width: 100%;
    overflow: hidden;
    padding: 16px 0 24px;
}

.destinos-swiper .swiper-slide {
    width: auto;
    height: auto;
    flex-shrink: 0;
}

/* Las tarjetas mantienen su tamaño actual definido en .dest-card */
/* Solo asegurarse de que dentro del swiper-slide se vean bien */

/* Movimiento a velocidad constante: sin esto, cada paso del autoplay
   usa el ease-in/ease-out por defecto de Swiper, que a baja duración
   se percibe como tirones/saltos en vez de un desplazamiento continuo */
.destinos-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

/* =========================================================
   RESEÑAS: Swiper
   ========================================================= */
.reviews-swiper {
    width: 100%;
    overflow: hidden;
}

.reviews-swiper .swiper-slide {
    width: auto;
    height: auto;
    flex-shrink: 0;
}

.reviews-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}
