/* ============================================
   HUMANPRO - CORRECCIONES FINALES V3
   Footer compacto, FAQ, Testimonios, Precios, Blog
   ============================================ */

/* ===========================================
   1. FOOTER COMPACTO
   =========================================== */

.mega-footer {
    background: linear-gradient(180deg, #050a30 0%, #020515 100%) !important;
    padding: 2.5rem 5% 1rem !important;
    margin-top: 0 !important;
}

.footer-main {
    display: grid !important;
    grid-template-columns: 1.2fr repeat(4, 1fr) !important;
    gap: 1.5rem !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding-bottom: 1.5rem !important;
}

.footer-brand-section {
    padding-right: 1rem !important;
}

.footer-brand-section .logo img {
    height: 35px !important;
    width: auto !important;
}

.footer-brand-section p {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    margin: 0.75rem 0 !important;
}

.footer-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.4rem !important;
    margin: 0.75rem 0 !important;
}

.footer-tag {
    font-size: 0.7rem !important;
    padding: 0.2rem 0.5rem !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

.footer-social {
    display: flex !important;
    gap: 0.5rem !important;
    margin-top: 0.75rem !important;
}

.footer-social a {
    width: 32px !important;
    height: 32px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.85rem !important;
    transition: all 0.3s ease !important;
}

.footer-social a:hover {
    background: linear-gradient(135deg, #233dff, #00d4ff) !important;
    color: white !important;
    transform: translateY(-2px) !important;
}

.footer-section h4 {
    color: white !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.75rem !important;
    padding-bottom: 0.4rem !important;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3) !important;
}

.footer-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.8rem !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    padding: 0.2rem 0 !important;
    transition: all 0.2s ease !important;
}

.footer-links a:hover {
    color: #00d4ff !important;
    padding-left: 0.3rem !important;
}

.footer-links a i {
    font-size: 0.6rem !important;
    color: rgba(0, 212, 255, 0.6) !important;
}

.footer-contact-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
}

.footer-contact-info .contact-item {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.8rem !important;
}

.footer-contact-info .contact-item i {
    color: #00d4ff !important;
    font-size: 0.8rem !important;
    width: 16px !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 1rem 0 0.5rem !important;
    text-align: center !important;
    margin-top: 0.5rem !important;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 0.75rem !important;
    margin: 0 !important;
}

.footer-glow {
    display: none !important;
}

/* ===========================================
   2. FAQ - ARREGLAR TOGGLE
   =========================================== */

.faq-section {
    padding: 3rem 5% !important;
    background: linear-gradient(180deg, rgba(5, 10, 48, 0.5), transparent) !important;
}

.faq-container {
    max-width: 900px !important;
    margin: 0 auto !important;
}

.faq-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    margin-top: 2rem !important;
}

.faq-item {
    background: rgba(5, 10, 48, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

.faq-item:hover {
    border-color: rgba(0, 212, 255, 0.3) !important;
}

.faq-item.active {
    border-color: rgba(0, 212, 255, 0.5) !important;
    background: rgba(35, 61, 255, 0.1) !important;
}

.faq-question {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 1rem 1.25rem !important;
    background: transparent !important;
    border: none !important;
    color: white !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    text-align: left !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    gap: 1rem !important;
}

.faq-question:hover {
    color: #00d4ff !important;
}

.faq-question span {
    flex: 1 !important;
}

.faq-question i {
    font-size: 0.8rem !important;
    color: #00d4ff !important;
    transition: transform 0.3s ease !important;
    flex-shrink: 0 !important;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg) !important;
}

.faq-answer {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.4s ease, padding 0.4s ease !important;
    background: rgba(0, 0, 0, 0.2) !important;
}

.faq-item.active .faq-answer {
    max-height: 300px !important;
    padding: 1rem 1.25rem !important;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

.faq-answer strong {
    color: #00d4ff !important;
}

/* ===========================================
   3. TESTIMONIOS COMPACTOS
   =========================================== */

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

.testimonial-card,
.testimonio-card {
    background: rgba(5, 10, 48, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    transition: all 0.3s ease !important;
}

.testimonial-card:hover,
.testimonio-card:hover {
    border-color: rgba(0, 212, 255, 0.3) !important;
    transform: translateY(-5px) !important;
}

.testimonial-header,
.testimonio-header {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    margin-bottom: 1rem !important;
}

.testimonial-avatar,
.testimonio-avatar {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #233dff, #00d4ff) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    flex-shrink: 0 !important;
}

.testimonial-info h4,
.testimonio-info h4 {
    color: white !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

.testimonial-info p,
.testimonio-info p {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.8rem !important;
    margin: 0.2rem 0 0 !important;
}

.testimonial-text,
.testimonio-text {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    font-style: italic !important;
    margin-bottom: 1rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.testimonial-rating,
.testimonio-rating {
    color: #fbbf24 !important;
    font-size: 0.9rem !important;
}

/* ===========================================
   4. PRECIOS - DISEÑO ORGANIZADO
   =========================================== */

.pricing-section {
    padding: 4rem 5% !important;
}

.pricing-toggle {
    display: flex !important;
    justify-content: center !important;
    gap: 1rem !important;
    margin-bottom: 3rem !important;
}

.toggle-btn {
    padding: 0.9rem 2rem !important;
    background: rgba(35, 61, 255, 0.1) !important;
    border: 2px solid rgba(35, 61, 255, 0.3) !important;
    border-radius: 50px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.toggle-btn:hover {
    border-color: rgba(0, 212, 255, 0.5) !important;
    color: white !important;
}

.toggle-btn.active {
    background: linear-gradient(135deg, #233dff, #00d4ff) !important;
    border-color: transparent !important;
    color: white !important;
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3) !important;
}

.pricing-content {
    display: none !important;
}

.pricing-content.active {
    display: block !important;
}

.pricing-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 1.5rem !important;
    max-width: 1100px !important;
    margin: 0 auto 2rem !important;
}

.pricing-card {
    background: linear-gradient(165deg, rgba(5, 10, 48, 0.95), rgba(35, 61, 255, 0.08)) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    padding: 1.75rem !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

.pricing-card:hover {
    transform: translateY(-8px) !important;
    border-color: rgba(0, 212, 255, 0.4) !important;
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.15) !important;
}

.pricing-card.featured {
    border: 2px solid rgba(0, 212, 255, 0.5) !important;
    background: linear-gradient(165deg, rgba(35, 61, 255, 0.15), rgba(0, 212, 255, 0.08)) !important;
}

.pricing-badge,
.pricing-card .badge {
    position: absolute !important;
    top: -12px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: linear-gradient(135deg, #f59e0b, #fbbf24) !important;
    color: #000 !important;
    padding: 0.4rem 1rem !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    border-radius: 20px !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

.pricing-icon {
    width: 60px !important;
    height: 60px !important;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(168, 85, 247, 0.1)) !important;
    border-radius: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 1rem !important;
}

.pricing-icon i {
    font-size: 1.5rem !important;
    color: #00d4ff !important;
}

.pricing-card h3 {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: white !important;
    margin-bottom: 0.5rem !important;
}

.pricing-description {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.85rem !important;
    margin-bottom: 1rem !important;
    min-height: 36px !important;
}

.pricing-price {
    margin-bottom: 1.25rem !important;
    padding: 0.75rem !important;
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 12px !important;
}

.price-from {
    display: block !important;
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

.price-amount {
    font-size: 1.8rem !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, #00d4ff, #a855f7) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.pricing-features {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 1.25rem !important;
    text-align: left !important;
}

.pricing-features li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.6rem !important;
    padding: 0.4rem 0 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.85rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.pricing-features li:last-child {
    border-bottom: none !important;
}

.pricing-features li i {
    color: #10b981 !important;
    font-size: 0.75rem !important;
    margin-top: 0.2rem !important;
}

.btn-pricing {
    display: block !important;
    width: 100% !important;
    padding: 0.9rem !important;
    background: linear-gradient(135deg, #233dff, #00d4ff) !important;
    color: white !important;
    border: none !important;
    border-radius: 30px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.btn-pricing:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3) !important;
}

.btn-pricing.outline {
    background: transparent !important;
    border: 2px solid rgba(0, 212, 255, 0.4) !important;
}

/* Pack Especial */
.pack-especial {
    background: linear-gradient(135deg, rgba(35, 61, 255, 0.12), rgba(0, 212, 255, 0.06)) !important;
    border: 2px solid rgba(0, 212, 255, 0.25) !important;
    border-radius: 20px !important;
    padding: 2rem !important;
    text-align: center !important;
    margin-top: 2rem !important;
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ===========================================
   5. BLOG - DISEÑO LIMPIO Y SIMPLE
   =========================================== */

.blog-hero {
    min-height: 40vh !important;
    padding: 120px 5% 40px !important;
    text-align: center !important;
    background: linear-gradient(180deg, #050a30 0%, #0a1245 100%) !important;
}

.blog-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem) !important;
    font-weight: 900 !important;
    color: white !important;
    margin-bottom: 0.5rem !important;
}

.blog-layout {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 2rem 5% !important;
}

/* Ocultar sidebar problemático */
.blog-sidebar,
.sidebar {
    display: none !important;
}

.blog-main {
    width: 100% !important;
    max-width: 100% !important;
}

/* Tabs */
.blog-tabs {
    display: flex !important;
    gap: 0.75rem !important;
    margin-bottom: 2rem !important;
    flex-wrap: wrap !important;
}

.blog-tab {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.75rem 1.25rem !important;
    background: rgba(35, 61, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 25px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.blog-tab:hover {
    background: rgba(35, 61, 255, 0.2) !important;
    color: white !important;
}

.blog-tab.active {
    background: linear-gradient(135deg, #233dff, #00d4ff) !important;
    border-color: transparent !important;
    color: white !important;
}

.blog-tab .count {
    background: rgba(255, 255, 255, 0.2) !important;
    padding: 0.1rem 0.4rem !important;
    border-radius: 8px !important;
    font-size: 0.75rem !important;
}

/* Grid de artículos simple */
.articles-feed,
.blog-articles {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)) !important;
    gap: 1.5rem !important;
}

/* Card de artículo simple y limpia */
.article-card {
    background: rgba(5, 10, 48, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

.article-card:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(0, 212, 255, 0.3) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3) !important;
}

/* Artículo destacado */
.article-card.featured-article {
    grid-column: 1 / -1 !important;
    border: 2px solid rgba(16, 185, 129, 0.4) !important;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 10, 48, 0.95)) !important;
}

.article-header {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 1rem 1.25rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.article-avatar {
    width: 40px !important;
    height: 40px !important;
    background: linear-gradient(135deg, #233dff, #00d4ff) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    flex-shrink: 0 !important;
}

.article-meta {
    flex: 1 !important;
}

.article-author {
    display: flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
}

.verified-badge {
    color: #00d4ff !important;
    font-size: 0.8rem !important;
}

.article-date {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.75rem !important;
}

.article-category {
    background: rgba(0, 212, 255, 0.15) !important;
    color: #00d4ff !important;
    padding: 0.3rem 0.75rem !important;
    border-radius: 15px !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
}

.article-body {
    padding: 1.25rem !important;
}

.article-title {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: white !important;
    line-height: 1.4 !important;
    margin-bottom: 0.5rem !important;
}

.article-card:hover .article-title {
    color: #00d4ff !important;
}

.article-excerpt {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin-bottom: 0.75rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.article-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.4rem !important;
    margin-bottom: 0.75rem !important;
}

.article-tag {
    background: rgba(0, 212, 255, 0.1) !important;
    color: rgba(0, 212, 255, 0.8) !important;
    padding: 0.2rem 0.6rem !important;
    border-radius: 10px !important;
    font-size: 0.75rem !important;
}

.read-time {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.8rem !important;
}

.read-more-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    padding: 0.6rem 1.2rem !important;
    background: linear-gradient(135deg, #233dff, #00d4ff) !important;
    color: white !important;
    border-radius: 20px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    margin-top: 0.75rem !important;
    transition: all 0.3s ease !important;
}

.read-more-btn:hover {
    transform: translateX(3px) !important;
}

.article-actions {
    display: flex !important;
    justify-content: space-around !important;
    padding: 0.6rem !important;
    background: rgba(0, 0, 0, 0.2) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.action-btn {
    display: flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    background: transparent !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.8rem !important;
    cursor: pointer !important;
    padding: 0.4rem 0.6rem !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

.badge-new {
    position: absolute !important;
    top: 0.75rem !important;
    right: 0.75rem !important;
    background: linear-gradient(135deg, #233dff, #00d4ff) !important;
    color: white !important;
    padding: 0.3rem 0.75rem !important;
    border-radius: 15px !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    z-index: 2 !important;
}

/* ===========================================
   6. RESPONSIVE
   =========================================== */

@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .footer-brand-section {
        grid-column: 1 / -1 !important;
        text-align: center !important;
        padding-right: 0 !important;
        margin-bottom: 1rem !important;
    }
    
    .footer-social {
        justify-content: center !important;
    }
    
    .footer-tags {
        justify-content: center !important;
    }
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr 1fr !important;
        gap: 1.5rem !important;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr !important;
    }
    
    .articles-feed,
    .blog-articles {
        grid-template-columns: 1fr !important;
    }
    
    .blog-tabs {
        justify-content: center !important;
    }
    
    .pricing-toggle {
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .toggle-btn {
        width: 100% !important;
        max-width: 300px !important;
    }
}

@media (max-width: 480px) {
    .footer-main {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }
    
    .footer-links a {
        justify-content: center !important;
    }
    
    .footer-contact-info .contact-item {
        justify-content: center !important;
    }
}
