/* --- 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;
}


/* 1. Contenedor General (Ancho Específico) */
.vehicle-section {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    background-color: #ffffff; /* Fondo limpio por defecto */
}

/* 2. El Contenedor Boxed */
.vehicle-container {
    max-width: 1150px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 60px;
}

/* 3. Lógica de Alternancia (Espejo) automática */
/* Esto hace que cada segunda sección invierta el orden de foto y texto */
.vehicle-section:nth-of-type(even) .vehicle-container {
    flex-direction: row-reverse;
}

/* 4. Estilo del Texto */
.vehicle-text {
    flex: 1;
}

.vehicle-text h2 {
    font-size: 2.5rem;
    color: #0b0510; /* Color oscuro de tus cabeceras */
    margin-bottom: 20px;
    font-weight: 800;
}

.vehicle-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* Estilo de la Lista de Beneficios */
.vehicle-text ul {
    list-style: none;
    padding: 0;
}

.vehicle-text ul li {
    font-size: 1rem;
    color: #444;
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

/* Checkmarks con el Azul Cyan de tus precios */
.vehicle-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00bcd4; 
    font-weight: bold;
    font-size: 1.2rem;
}

/* 5. Estilo de la Imagen */
.vehicle-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.vehicle-image img {
    width: 100%;
    max-width: 550px;
    height: auto;
    /* Sombra suave para que la camioneta "resalte" del fondo */
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.12));
}

/* 6. Ajuste para Fondos Alternos (Opcional) */
/* Si quieres que una sección sea gris muy claro para separar */
.bg-light-gray {
    background-color: #f9fbfd;
}

/* 7. Responsivo para Móviles */
@media (max-width: 992px) {
    .vehicle-container, 
    .vehicle-section:nth-of-type(even) .vehicle-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .vehicle-text h2 {
        font-size: 2rem;
    }

    .vehicle-text ul li {
        text-align: left;
    }
}


/* Contenedor principal con ancho limitado */
.features-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    
    /* Definimos el ancho específico aquí */
    max-width: 1100px; 
    margin: 40px auto; /* Centra todo el bloque en la página */
    padding: 0 20px;
    
    font-family: 'Arial', sans-serif;
}

/* La Tarjeta con ancho fijo */
.feature-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    text-align: center;
    
    /* Ancho sugerido para 3 columnas en 1100px */
    flex: 1; 
    min-width: 300px; 
    max-width: 350px; 
    
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* Franja superior oscura con el patrón de la imagen */
.card-header {
    background-color: #0b0510;
    /* Patrón sutil para imitar la imagen */
    background-image: radial-gradient(#1a0b2e 10%, transparent 10%);
    background-size: 15px 15px;
    height: 65px;
    width: 100%;
}

.card-content {
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.card-content h3 {
    font-size: 1.25rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: capitalize;
}

.card-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* Responsive: si la pantalla es menor al ancho de las 3 cards, se apilan */
@media (max-width: 992px) {
    .features-container {
        flex-direction: column;
        align-items: center;
    }
    .feature-card {
        width: 100%;
        max-width: 450px;
    }
}

.why-us-section {
    padding: 80px 20px;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
}

.why-us-container {
    max-width: 1150px; /* Ancho específico */
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* El texto ocupa un poco más que la imagen */
    gap: 50px;
    align-items: center;
}

/* Estilo del Texto */
.why-us-text {
    text-align: left;
}

.why-us-text h2 {
    font-size: 2.5rem;
    color: #03045e;
    margin-bottom: 25px;
    font-weight: 800;
    line-height: 1.2;
}

.why-us-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.why-us-highlight {
    font-size: 1.2rem;
    color: #00bcd4; /* Azul cyan de tu branding */
    font-weight: 700;
    margin-top: 30px;
    line-height: 1.5;
    border-left: 4px solid #00bcd4;
    padding-left: 20px;
}

/* Estilo de la Imagen */
.why-us-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); /* Sombra elegante */
    object-fit: cover;
}

/* Responsive para Celulares */
@media (max-width: 992px) {
    .why-us-container {
        grid-template-columns: 1fr; /* Una sola columna en móvil */
        text-align: center;
        gap: 40px;
    }

    .why-us-text {
        text-align: center;
    }
    
    .why-us-highlight {
        border-left: none;
        padding-left: 0;
        border-top: 2px solid #00bcd4;
        padding-top: 20px;
    }
}