@import '../variables.css';
@import '../common.css';

/* ===== FAQS HERO SECTION ===== */
.faqs-hero {
    /* Fondo principal similar a la captura: azul profundo → morado brillante → azul */
    background-color: transparent;
    position: relative;
    overflow: hidden;
    padding: clamp(56px, 8vw, 120px) var(--spacing-md);
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 0;
}



/* ===== CONTENIDO ===== */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
    min-height: 320px;
    position: relative;
    text-align: center;
    z-index: 2;
    margin-left: 0;
}

/* Centramos y limitamos ancho del bloque de texto */
.hero-text {
    text-align: center;
    margin-inline: auto;
    max-width: 980px;
    animation: hero-slide-in 0.9s ease-out 0.15s both;
    grid-column: 1 / -1;
    /* En desktop lo ponemos centrado a lo ancho para imitar la captura */
}

/* Título principal: blanco, muy grande, fuerte */
.hero-title {
    font-family: 'Poppins', sans-serif;
    /* tipografía Poppins */
    font-weight: 800;
    /* ExtraBold */
    color: #ffffff;
    /* blanco */
    font-size: clamp(2.25rem, 5vw, 4.5rem);
    line-height: 1.12;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    margin: 0 0 16px;
}

/* Segunda línea “FAQs” en bloque, más grande y pesada */
.hero-title .block-secondary {
    display: block;
    font-weight: 900;
    font-size: clamp(2.25rem, 5vw, 4.25rem);
    line-height: 1.05;
    margin-top: 4px;
}

/* Subtítulo: blanco suave, centrado y ancho controlado */
.hero-subtitle {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 1.6vw, 1.125rem);
    line-height: 1.65;
    margin: clamp(14px, 2vw, 18px) auto 0;
    max-width: 920px;
}

/* ===== ANIMACIONES ===== */
@keyframes purple-glow {
    0% {
        transform: translateX(0);
        opacity: 0.9;
    }

    100% {
        transform: translateX(2%);
        opacity: 1;
    }
}

@keyframes hero-slide-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float-particle {

    0%,
    100% {
        transform: translateY(0) rotate(0);
        opacity: 0.5;
    }

    50% {
        transform: translateY(-22px) rotate(180deg);
        opacity: 0.9;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .faq-icon-container {
        width: 240px;
        height: 240px;
    }
}

@media (max-width: 768px) {
    .faqs-hero {
        min-height: 22rem;
        padding: 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: clamp(16px, 4vw, 28px);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.9rem, 8vw, 2.4rem);
    }

    .hero-title .block-secondary {
        font-size: clamp(1.8rem, 8vw, 2.2rem);
    }
}