/* ============================================ */
/* VARIABLES Y RESET                             */
/* ============================================ */
:root {
    --turquoise: #00C2CB; 
    --coral: #FF6B35;    
    --yellow: #FFD166;   
    --dark-blue: #0B4A5C; 
    --light-bg: #F8F9FA;
    --white: #ffffff;
    --text-dark: #2C3E50;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background-color: var(--white); }
body { 
    font-family: 'Outfit', sans-serif; 
    color: var(--text-dark); 
    background-color: transparent;
    overflow-x: hidden; 
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw; height: 80vh;
    background-image: url('logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.05;
    z-index: -1; 
    pointer-events: none; 
}

.fn-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ============================================ */
/* NAVBAR FLOTANTE (COMPACTA)                    */
/* ============================================ */
.fn-navbar { 
    position: fixed; 
    top: 20px; 
    left: 0; 
    right: 0; 
    z-index: 1000; 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    padding: 0 20px;
    background: transparent;
    pointer-events: none;
    display: flex;
    justify-content: center;
}
.fn-navbar.scrolled { top: 12px; }

.fn-nav-container { 
    display: inline-flex;
    align-items: center;
    gap: 25px;
    padding: 6px 18px; 
    background: #ffffff;
    border-radius: 60px;
    border: 1px solid rgba(11, 74, 92, 0.08);
    box-shadow: 0 10px 40px rgba(11, 74, 92, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    animation: navSlideDown 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fn-navbar.scrolled .fn-nav-container {
    padding: 4px 18px;
    box-shadow: 0 12px 45px rgba(11, 74, 92, 0.18);
}

@keyframes navSlideDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fn-logo { text-decoration: none; display: flex; align-items: center; transition: transform 0.3s; }
.fn-logo:hover { transform: scale(1.05); }
.fn-logo img { height: 48px !important; width: auto; }

.fn-nav-links { list-style: none; display: flex; gap: 18px; align-items: center; }

.fn-nav-links a { 
    text-decoration: none; 
    color: var(--dark-blue); 
    font-weight: 600; 
    font-size: 0.82rem; 
    transition: all 0.3s; 
    position: relative;
    padding: 4px 0;
    white-space: nowrap;
}

.fn-nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--coral);
    transition: width 0.3s ease;
    border-radius: 2px;
}
.fn-nav-links a:hover { color: var(--coral); }
.fn-nav-links a:hover::after { width: 100%; }

.fn-btn-nav { 
    background: var(--dark-blue); 
    color: var(--white) !important; 
    padding: 10px 26px; 
    border-radius: 50px; 
    transition: all 0.3s;
    font-size: 0.85rem !important;
    font-weight: 700;
}
.fn-btn-nav::after { display: none !important; }
.fn-btn-nav:hover { 
    background: var(--coral); 
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.fn-menu-toggle { 
    display: none; 
    font-size: 1.5rem; 
    color: var(--dark-blue); 
    cursor: pointer; 
    transition: transform 0.3s;
}
.fn-menu-toggle:hover { transform: rotate(90deg); }

/* ============================================ */
/* HERO CON VIDEO (INDEX)                        */
/* ============================================ */
.fn-hero-video {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 140px 20px 100px;
}

.fn-hero-video-bg {
    position: absolute;
    top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    transition: opacity 1.5s ease-in-out;
    opacity: 1;
}

.fn-hero-video-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(11, 74, 92, 0.75), rgba(0, 194, 203, 0.5));
    z-index: 2;
}

.fn-hero-video-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    color: #fff;
}

.fn-hero-tagline {
    display: inline-block;
    background: rgba(255, 209, 102, 0.2);
    border: 2px solid #FFD166;
    color: #FFD166;
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.fn-hero-video-content h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.fn-highlight-video { color: #FFD166; position: relative; display: inline-block; }

.fn-hero-video-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.95);
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.fn-hero-video-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* ============================================ */
/* BOTONES GENERALES                             */
/* ============================================ */
.fn-btn {
    padding: 16px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-family: 'Outfit', sans-serif;
    display: inline-block;
}
.fn-btn-coral { 
    background: var(--coral); 
    color: var(--white); 
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3); 
}
.fn-btn-coral:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.5); 
}
.fn-btn-glass {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.fn-btn-glass:hover { background: #fff; color: var(--dark-blue); }
.fn-btn-outline { 
    background: transparent; 
    border: 2px solid var(--dark-blue); 
    color: var(--dark-blue); 
}
.fn-btn-outline:hover { background: var(--dark-blue); color: var(--white); }

/* ANIMACIONES DE ENTRADA HERO */
.fade-in-hero { animation: heroFadeIn 1s ease-out 0.2s both; }
.fade-in-hero-delay-1 { animation: heroFadeIn 1s ease-out 0.5s both; }
.fade-in-hero-delay-2 { animation: heroFadeIn 1s ease-out 0.8s both; }
.fade-in-hero-delay-3 { animation: heroFadeIn 1s ease-out 1.1s both; }
@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* SCROLL INDICATOR */
.fn-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    animation: bounceDown 2s infinite;
    opacity: 0.8;
}
.fn-scroll-indicator:hover { opacity: 1; }
@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-8px); }
}

/* ============================================ */
/* MARQUEE (Cinta de destinos)                   */
/* ============================================ */
.fn-marquee { 
    background: var(--turquoise); 
    color: var(--white); 
    padding: 15px 0; 
    overflow: hidden; 
    white-space: nowrap; 
    font-weight: 800; 
    font-size: 1.2rem; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
}
.fn-marquee-content { display: inline-block; animation: marquee 20s linear infinite; }
.fn-marquee-content span { margin: 0 20px; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============================================ */
/* EXPERIENCIAS (Scroll horizontal)              */
/* ============================================ */
.fn-experiencias { padding: 100px 0; background: transparent; }
.fn-section-header { max-width: 1200px; margin: 0 auto 40px; padding: 0 20px; }
.fn-section-header h2 { font-size: 3rem; color: var(--dark-blue); font-weight: 900; }
.fn-section-header p { font-size: 1.1rem; color: var(--text-dark); }
.fn-horizontal-scroll { 
    display: flex; 
    gap: 30px; 
    overflow-x: auto; 
    padding: 20px 40px 40px; 
    scroll-snap-type: x mandatory; 
    scrollbar-width: none; 
}
.fn-horizontal-scroll::-webkit-scrollbar { display: none; }
.fn-exp-card { 
    min-width: 350px; 
    height: 450px; 
    border-radius: 20px; 
    overflow: hidden; 
    position: relative; 
    scroll-snap-align: center; 
    box-shadow: 0 15px 30px rgba(0,0,0,0.1); 
}
.fn-exp-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.fn-exp-card:hover img { transform: scale(1.1); }
.fn-exp-info { 
    position: absolute; 
    bottom: 0; left: 0; right: 0; 
    padding: 30px; 
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); 
    color: var(--white); 
}
.fn-exp-info h3 { font-size: 1.8rem; margin-bottom: 10px; }
.fn-exp-info p { font-size: 0.95rem; margin-bottom: 15px; opacity: 0.9; }
.fn-exp-info a { 
    color: var(--yellow); 
    text-decoration: none; 
    font-weight: 700; 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
}
.fn-exp-info a:hover { color: var(--white); }

/* ============================================ */
/* PLANNER (Formulario oscuro)                   */
/* ============================================ */
.fn-planner { padding: 100px 20px; background: var(--dark-blue); color: var(--white); }
.fn-planner-container { 
    max-width: 1000px; 
    margin: 0 auto; 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 60px; 
    align-items: center; 
}
.fn-planner-text h2 { font-size: 3rem; font-weight: 900; margin-bottom: 20px; line-height: 1.1; }
.fn-planner-text p { font-size: 1.1rem; opacity: 0.8; }
.fn-planner-box { 
    background: rgba(255,255,255,0.05); 
    padding: 40px; 
    border-radius: 20px; 
    border: 1px solid rgba(255,255,255,0.1); 
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
}
.fn-input-group { display: flex; flex-direction: column; gap: 8px; }
.fn-input-group label { 
    font-size: 0.9rem; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    color: var(--turquoise); 
}
.fn-input-group input, 
.fn-input-group select { 
    padding: 15px; 
    border-radius: 10px; 
    border: none; 
    font-family: 'Outfit', sans-serif; 
    font-size: 1rem; 
    background: var(--white); 
}
.fn-planner-box .fn-btn { width: 100%; margin-top: 10px; }

/* ============================================ */
/* SECCIÓN PAQUETES MEGA TRAVEL                  */
/* ============================================ */
.fn-paquetes-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #F8F9FA 0%, #ffffff 100%);
}

/* ============================================ */
/* TIPO DE CAMBIO DEL DÍA                        */
/* ============================================ */
.fn-tipo-cambio-box {
    display: flex;
    align-items: center;
    gap: 18px;
    background: linear-gradient(135deg, #0B4A5C, #00C2CB);
    color: #fff;
    padding: 20px 25px;
    border-radius: 15px;
    max-width: 700px;
    margin: 0 auto 40px;
    box-shadow: 0 10px 30px rgba(11, 74, 92, 0.2);
}

.fn-tipo-cambio-icon {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.fn-tipo-cambio-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.fn-tipo-cambio-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    font-weight: 600;
}

.fn-tipo-cambio-valor {
    font-size: 1.6rem;
    font-weight: 900;
    color: #FFD166;
    line-height: 1.2;
}

.fn-tipo-cambio-nota {
    font-size: 0.75rem;
    opacity: 0.85;
    margin-top: 5px;
    line-height: 1.4;
}

.fn-tipo-cambio-nota i {
    margin-right: 4px;
}

/* ============================================ */
/* IFRAME MEGA CON FILTROS                       */
/* ============================================ */
.fn-mega-iframe-section {
    max-width: 1200px;
    margin: 0 auto;
}

.fn-mega-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}
.fn-mega-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #fff;
    border: 2px solid rgba(11, 74, 92, 0.15);
    color: var(--dark-blue);
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.fn-mega-tab i {
    font-size: 0.9rem;
    color: var(--turquoise);
    transition: color 0.3s;
}
.fn-mega-tab:hover {
    border-color: var(--turquoise);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 194, 203, 0.15);
}
.fn-mega-tab.active {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
    color: #fff;
    box-shadow: 0 8px 25px rgba(11, 74, 92, 0.25);
}
.fn-mega-tab.active i { color: #FFD166; }

.fn-mega-titulo {
    text-align: center;
    font-size: 1.8rem;
    color: var(--dark-blue);
    margin-bottom: 25px;
    font-weight: 800;
}

.fn-mega-iframe-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(11, 74, 92, 0.1);
    background: #fff;
    border: 1px solid rgba(11, 74, 92, 0.08);
}

.fn-iframe-loading {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    color: var(--dark-blue);
    font-size: 1rem;
    font-weight: 600;
    padding: 20px 40px;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: none;
}
.fn-iframe-loading i { margin-right: 8px; color: var(--turquoise); }

.fn-mega-iframe-wrapper iframe {
    display: block;
    width: 100%;
    border: none;
    transition: opacity 0.4s ease;
}

/* ============================================ */
/* CTA FINAL                                     */
/* ============================================ */
.fn-cta-final { padding: 80px 20px; background: var(--dark-blue); color: var(--white); text-align: center; }
.fn-cta-final h2 { font-size: 2.5rem; font-weight: 900; margin-bottom: 20px; }
.fn-cta-final p { font-size: 1.1rem; opacity: 0.8; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ============================================ */
/* FOOTER                                        */
/* ============================================ */
.fn-footer { background: #081A22; color: var(--white); padding: 60px 20px; text-align: center; }
.fn-footer h3 { font-size: 2rem; font-weight: 900; margin-bottom: 5px; }
.fn-footer-phones { 
    display: flex; 
    justify-content: center; 
    gap: 30px; 
    margin: 30px 0; 
    flex-wrap: wrap; 
}
.fn-footer-phones a { 
    color: var(--yellow); 
    text-decoration: none; 
    font-size: 1.1rem; 
    font-weight: 600; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}
.fn-footer-phones a:hover { color: var(--white); }
.fn-copyright { font-size: 0.9rem; color: #6C7A89; margin-top: 20px; }

/* ============================================ */
/* REDES SOCIALES EN FOOTER                      */
/* ============================================ */
.fn-social-section {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 30px 0;
    text-align: center;
}
.fn-social-section h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--yellow);
    margin-bottom: 8px;
}
.fn-social-section p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}
.fn-social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.fn-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.fn-social-btn i { font-size: 1.2rem; }

.fn-social-facebook { background: #1877F2; }
.fn-social-facebook:hover {
    background: #0d5fc4;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

.fn-social-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.fn-social-instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(220, 39, 67, 0.4);
    filter: brightness(1.1);
}

.fn-social-tiktok {
    background: #000000;
    border: 2px solid #25F4EE;
}
.fn-social-tiktok:hover {
    background: #25F4EE;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 244, 238, 0.4);
}

/* ============================================ */
/* ENLACE LEGAL EN FOOTER                        */
/* ============================================ */
.fn-footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 25px 0 15px;
}

.fn-legal-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FFD166;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 20px;
    border-radius: 50px;
    border: 2px solid rgba(255, 209, 102, 0.3);
    transition: all 0.3s ease;
}

.fn-legal-link:hover {
    background: rgba(255, 209, 102, 0.1);
    border-color: #FFD166;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 209, 102, 0.2);
}

/* ============================================ */
/* BOTÓN FLOTANTE WHATSAPP                       */
/* ============================================ */
.fn-whatsapp-float { 
    position: fixed; 
    width: 65px; height: 65px; 
    bottom: 30px; right: 30px; 
    background: #25d366; 
    color: var(--white); 
    border-radius: 50%; 
    font-size: 32px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4); 
    z-index: 1000; 
    text-decoration: none; 
    transition: all 0.3s; 
    animation: pulse 2s infinite; 
}
.fn-whatsapp-float:hover { transform: scale(1.1); background: #128C7E; }
@keyframes pulse { 
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); } 
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } 
}

/* ============================================ */
/* RESPONSIVO                                    */
/* ============================================ */
@media (max-width: 992px) {
    .fn-hero-video-content h1 { font-size: 3.5rem; }
    .fn-planner-container { grid-template-columns: 1fr; gap: 40px; }
    .fn-planner-text { text-align: center; }
    .fn-planner-text h2 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    .fn-navbar { top: 12px; padding: 0 15px; justify-content: space-between; }
    .fn-nav-container { display: flex; width: 100%; justify-content: space-between; gap: 15px; padding: 8px 20px; }
    .fn-logo img { height: 45px !important; }
    .fn-nav-links { 
        display: none; 
        flex-direction: column; 
        position: absolute; 
        top: calc(100% + 10px); 
        left: 0; 
        right: 0; 
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 25px; 
        box-shadow: 0 15px 40px rgba(11, 74, 92, 0.15); 
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.5);
        gap: 18px;
    }
    .fn-nav-links.active { display: flex; }
    .fn-menu-toggle { display: block; }
    
    .fn-hero-video { padding: 120px 20px 80px; }
    .fn-hero-video-content h1 { font-size: 2.5rem; }
    .fn-hero-video-content p { font-size: 1rem; }
    .fn-hero-tagline { font-size: 0.7rem; padding: 6px 18px; }
    .fn-hero-video-buttons { flex-direction: column; width: 100%; }
    .fn-hero-video-buttons .fn-btn { width: 100%; text-align: center; }
    
    .fn-exp-card { min-width: 280px; height: 400px; }
    .fn-section-header h2 { font-size: 2.2rem; }
    
    .fn-paquetes-section { padding: 40px 15px; }
    .fn-mega-titulo { font-size: 1.3rem; }
    .fn-mega-iframe-wrapper iframe { height: 1600px; }
    
    .fn-mega-tabs {
        gap: 8px;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .fn-mega-tabs::-webkit-scrollbar { display: none; }
    .fn-mega-tab {
        padding: 10px 18px;
        font-size: 0.85rem;
        flex-shrink: 0;
    }
    
    .fn-cta-final h2 { font-size: 1.8rem; }
    .fn-cta-final p { font-size: 1rem; }

    .fn-social-links {
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
    }
    .fn-social-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .fn-tipo-cambio-box {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .fn-tipo-cambio-valor {
        font-size: 1.4rem;
    }
}