/* --- Home Hero Section --- */
.home-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: url('../img/banner-transfers-plus-cancun.jpg') no-repeat center center;
    background-size: cover;
    padding: 100px 0;
    overflow: hidden;
}

.home-hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.home-hero .container {
    position: relative;
    z-index: 2;
}

.home-hero-grid {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 40px;
    align-items: center;
}

/* --- Textos --- */
.home-hero-title {
    font-size: 3.5rem;
    color: #ffffff;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.home-hero-title span {
    color: #00b4d8; /* Tu color de acento */
}

.home-hero-subtitle {
    font-size: 1.25rem;
    color: #f8f9fa;
    margin-bottom: 30px;
    max-width: 600px;
}

.home-hero-features {
    display: flex;
    gap: 20px;
}

.home-hero-feat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.home-hero-feat-item i {
    color: #28a745; /* Verde de confianza */
}

/* --- Contenedor del Iframe con tu lógica de posicionamiento --- */
.home-iframe-container {
    position: relative;
    width: 100%;
    height: 450px; /* Ajustamos la altura para que el motor Easy Rides respire bien */
    background: #000; /* Fondo blanco para el cargador */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.home-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Ajuste para el Grid: Aseguramos que el contenedor padre le de suficiente ancho */
.home-hero-grid {
    display: grid;
    grid-template-columns: 1fr 500px; /* Le damos 500px fijos al motor para que no se vea chico */
    gap: 40px;
    align-items: center;
}

/* Responsivo para móviles */
@media (max-width: 991px) {
    .home-hero-grid {
        grid-template-columns: 1fr;
    }
    .home-iframe-container {
        max-width: 500px;
        margin: 0 auto;
        height: 450px; /* Un poco más de altura en móvil */
    }
}
.home-trust-title {
    font-size: 2.2rem;
    color: #03045e;
    font-weight: 800;
    margin-bottom: 15px;
}

.home-trust-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 35px; /* Espacio antes de los beneficios */
}







/* --- Responsive --- */
@media (max-width: 992px) {
    .home-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .home-hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .home-hero-title { font-size: 2.5rem; }
    .home-hero-form-container {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
}

/*** Propuesta de Valor ***/
.home-trust {
    padding: 80px 0;
    background-color: #ffffff;
}

.home-trust-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

/* Imagen con efecto de profundidad */
.home-trust-image {
    position: relative;
}

.home-trust-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.home-photo-badge {
    position: absolute;
    top: -15px;
    left: -15px;
    background: #00b4d8;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Contenido y Beneficios */
.home-trust-title {
    font-size: 2.2rem;
    color: #03045e;
    font-weight: 800;
    margin-bottom: 30px;
}

.home-benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.home-benefit-item {
    display: flex;
    gap: 15px;
}

.home-benefit-item i {
    font-size: 1.5rem;
    color: #00b4d8;
    margin-top: 5px;
}

.home-benefit-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.home-benefit-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* Mobile */
@media (max-width: 768px) {
    .home-trust-grid { grid-template-columns: 1fr; }
    .home-benefits-grid { grid-template-columns: 1fr; }
    .home-trust-title { text-align: center; }
}

/* -------------------------------  precios y contador   ---------------------------- */
/* --- Sección de Ofertas y Precios (Home) - VERSIÓN COMPACTA --- */
.home-pricing-container {
    padding: 40px 20px; /* Reducido de 60px */
    background-color: #f9f9f9;
    text-align: center;
}

.home-deal-header {
    margin-bottom: 25px; /* Reducido de 40px */
}

.home-deal-title {
    font-size: 1.8rem; /* Reducido de 2.2rem */
    color: #03045e;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
}

/* Estilo del Contador Compacto */
.home-deal-timer {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #e63946;
    color: white;
    padding: 8px 20px; /* Más delgado */
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(230, 57, 70, 0.2);
}

.home-timer-digits {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* Grid de Tarjetas Ajustado */
.home-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 380px)); /* Ancho máximo reducido */
    gap: 20px; /* Espacio reducido */
    justify-content: center;
    margin-bottom: 20px;
}

.home-price-card {
    background: #ffffff;
    padding: 25px; /* Reducido drásticamente de 40px */
    border-radius: 15px;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
    position: relative;
}

/* Badges y Precios Compactos */
.home-price-badge {
    font-weight: 800;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 10px;
    display: block;
}

.home-price-comparison {
    margin-bottom: 10px;
}

.home-price-old {
    text-decoration: line-through;
    color: #888;
    font-size: 1.1rem;
    display: block;
}

.home-price-current {
    font-size: 2.5rem; /* Reducido de 3rem */
    font-weight: 900;
    color: #00b4d8;
    line-height: 1.1;
}

.home-price-info {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
}

/* Estilo para el Enlace de Reserva (Sustituye al botón) */
.home-price-link {
    display: inline-block;
    color: #00cc66;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.home-price-link:hover {
    border-bottom: 2px solid #00cc66;
    color: #00a352;
}

.home-pricing-disclaimer {
    font-size: 0.8rem;
    color: #999;
}

/* --- Responsive Compacto --- */
@media (max-width: 768px) {
    .home-deal-title {
        font-size: 1.5rem;
    }
    
    .home-price-card {
        padding: 20px;
    }

    .home-price-current {
        font-size: 2.2rem;
    }
}


/*Texto martillo sobre por que reservar*/
/* --- Sección Storytelling --- */
.story-hammer-container {
    padding: 80px 20px;
    background: #ffffff;
    font-family: 'Arial', sans-serif; /* O tu fuente principal */
}

.story-hammer-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.story-hammer-media, .story-hammer-info {
    flex: 1;
    min-width: 320px;
}

.story-img {
    width: 100%;
    border-radius: 25px; /* Bordes más redondeados para look moderno */
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.story-photo-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #00b4d8;
    color: white;
    padding: 7px 15px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
}

.story-title {
    font-size: 2.2rem;
    color: #03045e;
    margin-bottom: 25px;
    font-weight: 800;
    line-height: 1.2;
}

.story-content p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 20px;
}

.story-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.story-list li {
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    font-size: 1rem;
    line-height: 1.5;
}

.story-bullet {
    font-size: 1.5rem;
}

.story-cta-btn {
    display: inline-block;
    background: #00cc66;
    color: white;
    padding: 20px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, background 0.3s ease;
    text-align: center;
}

.story-cta-btn:hover {
    background: #00a352;
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .story-hammer-wrapper { flex-direction: column; gap: 30px; }
    .story-title { font-size: 1.8rem; text-align: center; }
    .story-content { text-align: center; }
    .story-cta-btn { width: 100%; }
}

/***************** faqs home ***************************/
.faq-container {
    padding: 80px 20px;
    background-color: #f4f7f6;
}

.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-main-title {
    text-align: center;
    color: #03045e;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 40px;
}

.faq-item {
    background: #fff;
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    transition: box-shadow 0.3s ease; /* Quitamos 'all' para no interferir con slideDown */
}

.faq-item summary {
    padding: 20px;
    font-weight: 700;
    color: #333;
    cursor: pointer;
    list-style: none;
    position: relative;
    outline: none;
}

/* Quitar flecha nativa en Chrome/Safari */
.faq-item summary::-webkit-details-marker {
    display: none;
}

/* Flecha personalizada */
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    color: #00b4d8;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: '-';
    transform: rotate(180deg);
}

/* Editado: La respuesta empieza oculta para que jQuery la deslice */
.faq-answer {
    display: none; 
    padding: 0 20px 20px 20px;
    color: #666;
    line-height: 1.6;
    border-top: 1px solid #f0f0f0;
}

.faq-item[open] {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}


/* --- ESTADOS INICIALES ESPECÍFICOS --- */

/* 1. El Hero (Título y Subtítulo) */
.home-hero-title, 
.home-hero-subtitle {
    opacity: 0;
    transform: translateY(20px);
}

/* 2. El Formulario de reserva */
.home-hero-form-side {
    opacity: 0;
    transform: translateX(30px); /* Entrada lateral para el formulario */
}

/* 3. Secciones y elementos de scroll */
.home-trust, 
.home-pricing-container, 
.story-hammer-container, 
.faq-container {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Clase de activación para el scroll */
.in-view {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transform: translateX(0) !important;
}