/* ========================================
   CONOCE HUMIA - Estilos específicos
   Las variables globales están en tema_init.css
   ======================================== */

/* ========================================
   1. HERO SECTION
   ======================================== */

.hero-conoce {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-bg);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/static/img/conoce-humia/humia-hub-lyra.jpeg') center/cover no-repeat;
    z-index: 0;
    /* Optimización para carga más rápida */
    content-visibility: auto;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(8, 11, 15, 0.85) 0%, rgba(11, 11, 11, 0.75) 100%);
    z-index: 1;
}

.hero-conoce .container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.hero-conoce h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-subtle);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition-smooth);
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 255, 200, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-cta.primary {
    background: linear-gradient(135deg, var(--color-accent) 0%, #00e6b8 100%);
    color: var(--color-bg);
}

.btn-cta.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 255, 200, 0.4);
    background: linear-gradient(135deg, #00e6b8 0%, var(--color-accent) 100%);
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-cta.secondary {
    background: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.btn-cta.secondary:hover {
    background: var(--color-accent);
    color: var(--color-bg);
    transform: translateY(-3px);
}

/* ========================================
   2. PROBLEMA SECTION
   ======================================== */

.problema-section {
    padding: 6rem 0;
    background: var(--color-gradient-start);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-text h2 {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.content-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-subtle);
}

.cloud-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cloud-crossed-icon {
    max-width: 300px;
    width: 100%;
    height: auto;
    opacity: 0.9;
}

/* ========================================
   3. SOLUCIÓN SECTION
   ======================================== */

.solucion-section {
    padding: 6rem 0;
    background: var(--color-bg);
    text-align: center;
}

.solucion-section h2 {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 2rem;
    font-weight: 600;
}

.solucion-texto {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-subtle);
    max-width: 900px;
    margin: 0 auto 4rem;
}

.constellation-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    /*padding: 2rem 0;*/
}

.constellation-svg {
    max-width: 1000px;
    width: 100%;
    height: auto;
    opacity: 0.95;
}

/* ========================================
   4. CÓMO FUNCIONA SECTION
   ======================================== */

.como-funciona-section {
    padding: 6rem 0;
    background: var(--color-gradient-start);
}

.como-funciona-section h2 {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 4rem;
    text-align: center;
    font-weight: 600;
}

.pasos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.paso-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 200, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.paso-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent);
    box-shadow: 0 10px 30px rgba(0, 255, 200, 0.15);
}

.paso-icon {
    margin-bottom: 1.5rem;
}

.paso-img {
    width: 80px;
    height: 80px;
    opacity: 0.9;
}

.paso-card h3 {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    font-weight: 600;
}

.paso-card p {
    font-size: 1.1rem;
    color: var(--color-subtle);
    line-height: 1.6;
}

.hub-callout {
    max-width: 800px;
    margin: 4rem auto 0;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, rgba(0, 255, 200, 0.08) 0%, rgba(0, 230, 184, 0.05) 100%);
    border: 2px solid rgba(0, 255, 200, 0.3);
    border-radius: 16px;
    text-align: center;
}

.hub-callout h4 {
    font-size: 1.6rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hub-callout p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text);
    margin: 0;
}

/* ========================================
   5. DÍA A DÍA SECTION
   ======================================== */

.dia-a-dia-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(0, 255, 200, 0.05) 0%, rgba(0, 230, 184, 0.02) 100%);
}

.dia-a-dia-section h2 {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.dia-a-dia-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-subtle);
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.dia-ejemplos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto 3rem;
}

.dia-ejemplo-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 200, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.dia-ejemplo-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent);
    box-shadow: 0 10px 30px rgba(0, 255, 200, 0.15);
}

.dia-ejemplo-icon {
    margin-bottom: 1.5rem;
}

.dia-icono {
    width: 80px;
    height: 80px;
    opacity: 0.9;
}

.dia-ejemplo-card h3 {
    font-size: 1.4rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    font-weight: 600;
}

.dia-ejemplo-card p {
    font-size: 1.05rem;
    color: var(--color-subtle);
    line-height: 1.6;
}

.dia-a-dia-cierre {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-subtle);
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 0 0;
    font-style: italic;
    opacity: 0.9;
}

/* ========================================
   6. PRODUCTOS SECTION
   ======================================== */

.productos-section {
    padding: 6rem 0;
    background: var(--color-bg);
}

.productos-section h2 {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.productos-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-subtle);
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.producto-destacado {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 200, 0.1);
    border-radius: 16px;
    padding: 3rem;
}

.producto-image {
    position: relative;
    text-align: center;
}

.producto-img {
    max-width: 100%;
    height: auto;
}

.producto-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-accent) 0%, #00e6b8 100%);
    color: var(--color-bg);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
}

.producto-info h3 {
    font-size: 2rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    font-weight: 600;
}

.producto-info p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-subtle);
    margin-bottom: 2rem;
}

.producto-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ========================================
   7. COMPATIBLE SECTION
   ======================================== */

.compatible-section {
    padding: 6rem 0;
    background: var(--color-gradient-start);
    text-align: center;
}

.compatible-section h2 {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.compatible-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-subtle);
    max-width: 900px;
    margin: 0 auto 4rem;
}

.standards-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.standard-logo {
    max-width: 170px;
    max-height: 36px;
    height: auto;
    width: auto;
    opacity: 0.85;
    transition: var(--transition-smooth);
}

.standard-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

.standard-logo--matter {
    filter: invert(1);
}

/* ========================================
   8. VISIÓN SECTION
   ======================================== */

.vision-section {
    padding: 6rem 0;
    background: var(--color-bg);
}

.vision-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.vision-text h2 {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.vision-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-subtle);
    margin-bottom: 2.5rem;
}

.vision-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.team-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* ========================================
   9. FAQ SECTION
   ======================================== */

.faq-section {
    padding: 6rem 0;
    background: var(--color-gradient-start);
}

.faq-section h2 {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 600;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 200, 0.1);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: var(--color-accent);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--color-text);
    font-size: 1.2rem;
    font-weight: 600;
    text-align: left;
    transition: var(--transition-smooth);
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-subtle);
    margin: 0;
}

/* ========================================
   10. TESTIMONIOS SECTION (Oculta)
   ======================================== */

.testimonios-section {
    padding: 6rem 0;
    background: var(--color-bg);
    text-align: center;
}

.testimonios-section h2 {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 3rem;
    font-weight: 600;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonio-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 200, 0.1);
    border-radius: 20px;
    padding: 2rem;
}

.testimonio-texto {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-subtle);
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonio-autor {
    font-size: 1rem;
    color: var(--color-accent);
    font-weight: 600;
}

/* ========================================
   11. CTA FINAL SECTION
   ======================================== */

.cta-final-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-end) 100%);
    text-align: center;
}

.cta-final-section h2 {
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 2.5rem;
    font-weight: 600;
}

.cta-final-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--color-accent);
    color: var(--color-bg);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 255, 200, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 1000;
}
.scroll-to-top svg {
    background: var(--color-accent);
    color: var(--color-bg);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 255, 200, 0.5);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .hero-conoce h1 {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .content-grid,
    .vision-content,
    .producto-destacado {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pasos-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .dia-ejemplos-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-conoce h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-ctas {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-cta {
        width: 100%;
        text-align: center;
    }

    .content-text h2,
    .solucion-section h2,
    .como-funciona-section h2,
    .dia-a-dia-section h2,
    .productos-section h2,
    .compatible-section h2,
    .vision-text h2,
    .faq-section h2,
    .cta-final-section h2 {
        font-size: 2rem;
    }

    .standards-logos {
        gap: 2rem;
    }

    .standard-logo {
        max-width: 120px;
    }

    .producto-destacado {
        padding: 2rem;
    }

    .hub-callout {
        padding: 1.5rem 2rem;
    }

    .hub-callout h4 {
        font-size: 1.4rem;
    }

    .scroll-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero-conoce {
        min-height: 80vh;
    }

    .hero-conoce h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-cta {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .problema-section,
    .solucion-section,
    .como-funciona-section,
    .dia-a-dia-section,
    .productos-section,
    .compatible-section,
    .vision-section,
    .faq-section,
    .cta-final-section {
        padding: 4rem 0;
    }

    .faq-question {
        font-size: 1.1rem;
        padding: 1.25rem 1.5rem;
    }

    .faq-answer {
        padding: 0 1.5rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.25rem;
    }

    .hub-callout {
        padding: 1.25rem 1.5rem;
    }

    .hub-callout h4 {
        font-size: 1.3rem;
    }

    .hub-callout p {
        font-size: 1rem;
    }
}
