* { } 
body { } 

/* === Estilos para Hero Section Landing === */
.hero-section-landing {
    position: relative; 
    width: 97%; /* Mantenemos tu ancho original */
    height: calc(100vh - 140px); /* Mantenemos tu alto original */
    min-height: 450px; /* Mantenemos tu min-height original */
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center; /* Esto centrará el .hero-overlay si no tuviera un margin-top grande */
    text-align: center;
    margin: 40px 25px; /* Mantenemos tu margen original */
}

.hero-background-link {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;       
    display: block;     
    text-decoration: none; 
    cursor: pointer;    
}

.hero-background {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-color: #ccc;
}

.hero-background video { 
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-background video.hero-video { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: relative; 
    z-index: 2;         
    margin-top: 500px; /* Este valor empuja el botón hacia abajo. Puede necesitar ajustes responsivos si el contenido del video cambia o para alinearlo perfectamente como en la imagen de referencia en todas las pantallas. */
    color: #fff;
    padding: 20px;
}

/* ESTILOS DEL BOTÓN MODIFICADOS */
.cta-button-landing {
    background-color: transparent; /* Fondo transparente */
    color: #fff; /* Texto blanco */
    border: 2px solid #fff; /* Borde blanco */
    padding: 10px 28px; /* Ajusta el padding según sea necesario con el borde */
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    text-decoration: none;
}

.cta-button-landing:hover {
    background-color: #007bff; /* Fondo azul al pasar el mouse */
    color: #fff;
    border-color: #007bff; /* Borde azul al pasar el mouse */
    transform: translateY(-2px);
}

.button-icon-arrow {
    margin-left: 8px;
    font-size: 1.2em; /* Ajusta el tamaño del icono si es necesario */
    line-height: 1; /* Ayuda a alinear mejor el icono */
}


/* === ESTILOS PARA NUEVA SECCIÓN "CONOCE MÁS" === */
.conoce-mas-section {
    text-align: center;
    padding: 20px 0 40px; /* Espaciado arriba y abajo */
}

.conoce-mas-link {
    color: #333; /* Color oscuro para el texto */
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    display: inline-flex; /* Para alinear el texto y el chevron */
    flex-direction: column; /* Apila el texto y el chevron */
    align-items: center; /* Centra horizontalmente */
}

.conoce-mas-link:hover {
    color: #007bff; /* Cambia color al pasar el mouse */
}

.conoce-mas-link .chevron-down {
    display: inline-block;
    margin-top: 8px; /* Espacio entre el texto y el chevron */
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #333; /* Color del chevron */
    transition: border-top-color 0.3s ease;
}

.conoce-mas-link:hover .chevron-down {
    border-top-color: #007bff; /* Cambia color del chevron al pasar el mouse */
}


/* === Estilos para Sección Beneficios Landing === */
.benefits-landing-section {
    padding: 50px 20px;
    background-color: #fff;
    margin: 20px 0;
}

.benefits-main-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
}

.benefits-box {
    max-width: 1300px;
    margin: 0 auto;
    background-color: #f0f8ff;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #d6e9ff;
}

.benefits-box h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0056b3;
    margin-bottom: 25px;
    text-align: left;
}

.benefits-grid-landing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.benefit-item-landing {
    background-color: #d6e9ff;
    border-radius: 10px;
    padding: 25px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 150px;
}

.benefit-item-landing img {
    width: 45px;
    height: 45px;
    margin-bottom: 15px;
    object-fit: contain;
}

.benefit-item-landing p {
    font-size: 0.95rem;
    color: #0056b3;
    line-height: 1.4;
    font-weight: 500;
    flex-grow: 1;
}

/* === Media Queries === */
@media (max-width: 991px) {
    .hero-section-landing {
        margin: 40px 15px; /* Ajuste de margen original */
    }
     .hero-overlay {
        /* Podrías querer ajustar el margin-top aquí para pantallas medianas */
        /* margin-top: 200px; Por ejemplo */
    }
}

@media (max-width: 768px) {
    .benefits-main-title {
        font-size: 1.7rem;
        margin-bottom: 30px;
    }
    .benefits-box {
        padding: 20px;
    }
    .benefits-grid-landing {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 15px;
    }
    .benefit-item-landing {
        padding: 20px 10px;
        min-height: 140px;
    }
    .benefit-item-landing img {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }
    .benefit-item-landing p {
        font-size: 0.9rem;
    }
    .hero-section-landing {
        margin: 40px 22px; /* Ajuste de margen original */
    }
    .hero-overlay {
        /* Ajusta el margin-top si el botón queda muy abajo en tablets */
        /* margin-top: 150px; Por ejemplo */
    }
    .cta-button-landing {
        font-size: 1rem; /* Ligeramente más pequeño para tablets */
        padding: 8px 22px;
    }
}

/* --- Control de Visibilidad de Videos Hero --- */
.hero-video { 
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    display: none; 
}

@media (max-width: 499px) {
    .hero-video.video-mobile {
        display: block;
    }
}

@media (min-width: 500px) and (max-width: 1024px) {
    .hero-video.video-tablet {
        display: block;
    }
}

@media (min-width: 1025px) {
    .hero-video.video-desktop {
        display: block;
    }
}

@media (max-width: 480px) {
    .benefits-landing-section {
        padding: 30px 15px;
    }
    .benefits-main-title {
        font-size: 1.5rem;
    }
    .benefits-grid-landing {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    .benefit-item-landing p {
        font-size: 0.85rem;
    }
    .hero-section-landing {
        margin: 40px 20px; /* Ajuste de margen original */
        width: 96%;      /* Ancho original de tu CSS para esta vista */
        height: auto;    /* Alto original de tu CSS para esta vista. Considera que esto puede cambiar la proporción si el contenido interno (overlay con su margin-top) es muy alto o muy bajo. */
    }
    .hero-overlay {
        margin-top: 55vw; /* Ejemplo de margin-top responsivo para el overlay en pantallas muy pequeñas. Ajusta este valor según sea necesario para que el botón se alinee bien con el texto del video/imagen de fondo. */
        /* O un valor fijo más pequeño: margin-top: 100px; */
    }
    .cta-button-landing {
        font-size: 0.9rem; /* Más pequeño para móviles */
        padding: 8px 18px;
    }
    .conoce-mas-link {
        font-size: 0.9rem;
    }
}