/* Estilos adicionales para el nuevo layout del hero */

/* =========================================
   HERO SECTION - LAYOUT CORRECTIONS
   ========================================= */

/* Asegurar que el hero-section esté centrado verticalmente */
.hero-section {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 700px !important;
}

/* Layout 50/50: Mitad izquierda - Mitad derecha */
/* Layout 50/50: Mitad izquierda - Mitad derecha */
.hero-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    /* Center vertically relative to each other */
    width: 90% !important;
    /* More breathing room */
    max-width: 1400px !important;
    gap: 40px !important;
    padding-top: 20px !important;
    flex-wrap: wrap;
    /* Allow wrapping on smaller desktop screens if needed */
}

/* =========================================
   HERO INFO - USER RESTORED DESIGN
   ========================================= */

/* Hacer que hero-info sea un contenedor flex VERTICAL (Columna) */
.hero-info {
    flex: 0 0 auto;
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    align-items: flex-start !important;

    /* Sin borde ni fondo */
    background: transparent !important;
    border: none !important;
    padding: 0 !important;

    /* Posicionamiento: Lateral izquierdo ARRIBA */
    align-self: flex-start !important;
    margin-top: 7px !important;
    /* Bajado unos pixeles */
    margin-left: 0 !important;
    /* Pegado a la izquierda */
    width: auto !important;
    max-width: 650px !important;
}

/* Texto del título */
.hero-text {
    flex: 0 0 auto;
    width: 100%;
}

.hero-text h1 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    white-space: normal !important;
    /* Allow wrapping */
    color: white !important;
    font-size: 3.5rem !important;
    /* Slightly smaller to fit better */
    font-weight: 800 !important;
    text-transform: uppercase !important;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8) !important;
    line-height: 1.1 !important;
}

/* Descripción debajo del título */
.hero-description {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 0 0 auto;
    max-width: 100%;
}

.hero-description p {
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    color: white !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8) !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-transform: uppercase !important;
}

/* Checkmarks separados en la esquina inferior izquierda */
.hero-features-separated {
    display: flex !important;
    flex-direction: row !important;
    gap: 25px !important;

    font-size: 1.3rem !important;
    font-weight: 600 !important;

    position: absolute !important;
    bottom: 40px !important;
    left: 40px !important;
    z-index: 10;
    width: auto !important;
}

.hero-features-separated span {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: white !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8) !important;
    font-size: 1.3rem !important;
    font-weight: 600 !important;
}

.hero-features-separated span i {
    color: white !important;
    font-size: 1.3rem !important;
}

/* Formulario - Ajuste de posición */
.hero-form-box {
    flex: 0 0 auto;
    max-width: 450px !important;
    width: 100%;
    margin-top: 0 !important;
    margin-right: 0 !important;
    /* Remove fixed right margin to allow centering/flex */
}


/* =========================================
   ANIMACIONES (Mantenidas)
   ========================================= */

@keyframes entradaTriunfal {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes caerDesdeArriba {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes subirDesdeAbajo {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes deslizarDerecha {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-text h1 {
    opacity: 0;
    animation: subirDesdeAbajo 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000) forwards;
    animation-delay: 0.3s;
}

.hero-description p {
    opacity: 0;
    animation: caerDesdeArriba 0.6s ease-out forwards;
    animation-delay: 0.6s;
}

.hero-form-box {
    opacity: 0;
    animation: entradaTriunfal 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000) forwards;
    animation-delay: 0.5s;
}

.hero-features-separated {
    opacity: 0;
    animation: deslizarDerecha 0.6s ease-out forwards;
    animation-delay: 0.9s;
}


/* ========================================
   RESPONSIVE - HERO INFO LAYOUT
   ======================================== */

/* Tablets pequeñas y móviles (hasta 768px) */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 20px !important;
        align-items: flex-start !important;
    }

    .hero-container {
        flex-direction: column !important;
        gap: 30px !important;
        align-items: center !important;
    }

    .hero-info {
        flex-direction: column !important;
        gap: 20px !important;
        align-items: flex-start !important;
        margin-top: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .hero-text h1 {
        font-size: 2.5rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .hero-description p {
        font-size: 1.2rem !important;
    }

    /* Checkmarks responsivos */
    .hero-features-separated {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        margin-top: 20px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        width: 100% !important;
        gap: 25px !important;
    }

    .hero-form-box {
        width: 100% !important;
        margin-top: 0 !important;
    }
}

/* Móviles pequeños (hasta 480px) */
@media (max-width: 480px) {
    .hero-info {
        gap: 15px !important;
    }

    .hero-text h1 {
        font-size: 1.8rem !important;
        /* Ajuste más pequeño para móbil */
    }

    .hero-description p {
        font-size: 1.1rem !important;
    }

    /* Checkmarks verticales en móviles pequeños */
    .hero-features-separated {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
        margin-left: 20px !important;
    }

    .hero-features-separated span {
        font-size: 1rem !important;
    }
}