/* =========================================
   ANIMACIONES GLOBALES (UX PREMIUM)
   ========================================= */
.animate-on-scroll { opacity: 0; transform: translateY(50px); transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

/* =========================================
   HERO BACKGROUND SLIDER & CONTROLS
   ========================================= */
.hero {
    position: relative;
    overflow: hidden;
    background: #000;
}

.hero-slideshow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

/* Magia de la animación: Se asegura de que se aleje cada vez que esté activa */
.hero-slide.active {
    opacity: 1;
    animation: kenBurnsZoom 6s ease-out forwards;
}

@keyframes kenBurnsZoom {
    0% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.hero-overlay, .hero-content {
    z-index: 2;
}

/* Botones de Navegación del Hero */
.hero-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(245, 130, 32, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.prev-hero-btn { left: 30px; }
.next-hero-btn { right: 30px; }

@media (max-width: 768px) {
    .hero-btn { width: 40px; height: 40px; font-size: 16px; }
    .prev-hero-btn { left: 10px; }
    .next-hero-btn { right: 10px; }
}

/* =========================================
   BOTONES PREMIUM
   ========================================= */
.btn { display: inline-block; padding: 18px 35px; border-radius: 50px; font-weight: 800; text-align: center; cursor: pointer; transition: all 0.3s ease; border: none; text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.9rem; }
.btn-primary { background: linear-gradient(135deg, #FF8C00, #E65100); color: #fff; box-shadow: 0 10px 25px rgba(230, 81, 0, 0.3); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(230, 81, 0, 0.5); color: #fff; }
.btn-outline { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: #000; }
.btn-block { display: block; width: 100%; }

/* =========================================
   TARJETAS DE PLANES (ELEVADAS)
   ========================================= */
.plan-card { background: #fff; border-radius: 30px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.06); transition: all 0.4s ease; border: 1px solid rgba(0,0,0,0.03); display: flex; flex-direction: column; }
.plan-card:hover { transform: translateY(-15px); box-shadow: 0 30px 60px rgba(0,0,0,0.12); }
.card-img { position: relative; width: 100%; height: 260px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.badge, .badge-green { 
    position: absolute; 
    top: 20px; 
    left: 20px; 
    background: #10B981; /* El color verde esmeralda */
    color: #fff; 
    padding: 8px 16px; 
    border-radius: 12px; 
    font-weight: 800; 
    font-size: 0.8rem; 
    z-index: 10; 
    letter-spacing: 1px; 
    box-shadow: 0 4px 15px rgba(0,185,129,0.3); 
    border: none;
}
.price-banner { position: absolute; bottom: -20px; right: 20px; background: var(--text-dark); color: #fff; padding: 15px 25px; border-radius: 16px; text-align: center; z-index: 10; box-shadow: 0 15px 30px rgba(0,0,0,0.2); }
.price-banner .per-person { display: block; font-size: 0.75rem; opacity: 0.8; text-transform: uppercase; margin-bottom: 5px; }
.price-banner strong { font-size: 1.6rem; }
.card-content { padding: 45px 30px 30px; display: flex; flex-direction: column; flex-grow: 1; }
.card-content h3 { font-size: 1.8rem; margin-bottom: 20px; color: var(--text-dark); }

/* PESTAÑAS ESTILO APP (TABS) */
.tabs-container { margin-bottom: 30px; flex-grow: 1; }
.modern-tabs { display: flex; gap: 5px; background: #F1F5F9; padding: 6px; border-radius: 16px; margin-bottom: 20px; list-style: none; }
.modern-tabs li { flex: 1; text-align: center; font-size: 0.75rem; font-weight: 800; color: var(--text-light); padding: 12px 5px; border-radius: 12px; cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; }
.modern-tabs li.active { background: #fff; color: var(--primary-color); box-shadow: 0 4px 15px rgba(0,0,0,0.08); }
.tab-content { display: none; font-size: 0.95rem; color: var(--text-light); line-height: 1.7; animation: fadeEffect 0.4s ease; min-height: 120px; }
.tab-content.active { display: block; }
@keyframes fadeEffect { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================
   DISEÑO DEL BLOG (REVITALIZADO)
   ========================================= */
.blog-card { display: flex; flex-direction: column; background: #fff; border-radius: 30px; overflow: hidden; box-shadow: 0 15px 35px rgba(0,0,0,0.05); position: relative; transition: all 0.4s ease; border: 1px solid rgba(0,0,0,0.02); height: 100%; }
.blog-card:hover { transform: translateY(-12px); box-shadow: 0 25px 50px rgba(0,0,0,0.1); }
.blog-card img { width: 100%; height: 260px; object-fit: cover; transition: transform 0.6s ease; margin: 0; padding: 0; display: block; }
.blog-card:hover img { transform: scale(1.05); }
.category-badge { position: absolute; top: 20px; right: 20px; background: var(--primary-color); color: #fff; padding: 8px 16px; border-radius: 50px; font-size: 0.8rem; font-weight: 800; text-transform: uppercase; box-shadow: 0 8px 20px rgba(245, 130, 32, 0.4); z-index: 10; }
.blog-content { padding: 35px 30px; display: flex; flex-direction: column; flex-grow: 1; background: #fff; position: relative; z-index: 2; }
.blog-content h3 { font-size: 1.4rem; margin-bottom: 15px; color: var(--text-dark); line-height: 1.4; }
.blog-content p { color: var(--text-light); font-size: 1rem; margin-bottom: 25px; line-height: 1.6; }
.read-more { margin-top: auto; color: var(--primary-color); font-weight: 800; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; display: inline-flex; align-items: center; gap: 8px; }
.read-more:hover { color: var(--primary-hover); gap: 12px; }

/* =========================================
   CARRUSEL (ASÍ SE VIVE) REPARADO TOTALMENTE
   ========================================= */
.carousel-container { position: relative; width: 100%; max-width: 1000px; margin: 0 auto; height: 500px; border-radius: 30px; overflow: hidden; box-shadow: 0 25px 50px rgba(0,0,0,0.15); background: #000; }
.carousel-track-container { width: 100%; height: 100%; overflow: hidden; position: relative; }
.carousel-track { display: flex; width: 100%; height: 100%; list-style: none; margin: 0; padding: 0; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.carousel-slide { min-width: 100%; height: 100%; flex-shrink: 0; margin: 0; padding: 0; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; padding: 0; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; border: 2px solid rgba(255,255,255,0.4); width: 60px; height: 60px; cursor: pointer; z-index: 10; border-radius: 50%; font-size: 24px; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.carousel-btn:hover { background: var(--primary-color); border-color: var(--primary-color); transform: translateY(-50%) scale(1.1); box-shadow: 0 10px 25px rgba(245, 130, 32, 0.5); }
.prev-btn { left: 20px; } .next-btn { right: 20px; }

/* =========================================
   FORMULARIO DE CONTACTO PREMIUM
   ========================================= */
.contact-form-container { background: #fff; padding: 50px; border-radius: 30px; box-shadow: 0 25px 50px rgba(0,0,0,0.05); }
.contact-form input, .contact-form textarea { width: 100%; background: #F8FAFC; border: 2px solid transparent; border-radius: 16px; padding: 18px 20px; margin-bottom: 20px; font-family: inherit; font-size: 1rem; color: var(--text-dark); transition: all 0.3s ease; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; background: #fff; border-color: var(--primary-color); box-shadow: 0 0 0 5px rgba(245, 130, 32, 0.1); }

/* =========================================
   BARRA DE COTIZACIÓN FLOTANTE
   ========================================= */
.quote-bar-wrapper { position: relative; z-index: 20; margin-top: -60px; }
.quote-form-bar { background: #fff; padding: 25px; border-radius: 24px; box-shadow: 0 25px 50px rgba(0,0,0,0.08); display: flex; gap: 20px; align-items: center; }
.quote-form-bar select, .quote-form-bar input { padding: 18px; border: 2px solid #E2E8F0; border-radius: 16px; font-family: inherit; flex: 1; background: #F8FAFC; color: var(--text-dark); font-size: 1rem; font-weight: 600; outline: none; transition: border 0.3s; }
.quote-form-bar select:focus, .quote-form-bar input:focus { border-color: var(--primary-color); background: #fff; }
.btn-cotizar { flex-shrink: 0; padding: 18px 40px; }

/* =========================================
   VIDEO PREMIUM (SECCIÓN CONTACTO)
   ========================================= */
.video-wrapper {
    width: 100%;
    max-width: 900px; /* Evita que el video sea gigante en pantallas enormes */
    margin: 40px auto 0; /* Lo centra y le da respiro hacia arriba */
    text-align: center;
    border-radius: 24px;
    overflow: hidden; /* Corta los bordes del video para que herede el redondeo */
    box-shadow: 0 25px 50px rgba(0,0,0,0.1); /* Sombra elegante */
    transform: translateZ(0); /* Aceleración por hardware para bordes suaves */
}

.premium-video {
    width: 100%;
    height: auto; /* Mantiene la proporción original del video */
    display: block; /* Elimina márgenes fantasma debajo del video */
    object-fit: cover;
    background-color: #000; /* Fondo negro por si tarda en cargar */
}

/* =========================================
   SECCIÓN: SOMOS ECOADVENTOURX (COLLAGE)
   ========================================= */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin: 60px 0;
}

.about-collage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
}

.about-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transform: translateZ(0); /* Bordes suaves */
}

/* Forzamos la proporción 4:5 (1080x1350) que me pediste */
.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 5; 
    display: block;
    transition: transform 0.5s ease;
}

.about-img:hover img {
    transform: scale(1.05); /* Pequeño efecto al pasar el mouse */
}

.img-tall {
    grid-row: 1 / span 2; /* Hace que la primera imagen ocupe las dos filas (como en tu captura) */
}

/* Línea naranja al lado del subtítulo */
.subtitle-line {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--primary-color);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.subtitle-line hr {
    width: 50px;
    border: none;
    border-top: 3px solid var(--primary-color);
    margin: 0;
}

/* Ajuste responsive para móviles (Apilar una sobre otra) */
@media (max-width: 768px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}