/* ============================================
   HUMANPRO - CORRECCIONES ESPECÍFICAS
   Version: 2.0 - Enero 2026
   
   Este archivo corrige problemas específicos
   en diferentes páginas del sitio
   ============================================ */

/* ===== CORRECCIÓN BODY PADDING ===== */
body {
    padding-top: 0 !important;
}

body.has-banner {
    padding-top: 0 !important;
}

/* ===== HERO SECTION FIXES ===== */
.hero-section {
    min-height: calc(100vh - 75px);
    display: flex;
    align-items: center;
    padding: 4rem 5%;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(35, 61, 255, 0.15);
    border: 1px solid rgba(35, 61, 255, 0.3);
    color: #00d4ff;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #233dff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #00d4ff;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== SERVICIOS PAGE FIXES ===== */
.services-hero,
.about-hero,
.pricing-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: 4rem 5%;
    position: relative;
}

.services-hero::before,
.about-hero::before,
.pricing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle at 80% 50%, rgba(35,61,255,0.15) 0%, transparent 60%);
    pointer-events: none;
}

/* ===== PRICING CARDS FIX ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-card {
    background: rgba(5,10,48,0.9);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(35,61,255,0.2);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    border-color: #233dff;
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(35,61,255,0.25);
}

.pricing-card.featured {
    border-color: #00d4ff;
    background: linear-gradient(145deg, rgba(5,10,48,0.95), rgba(0,212,255,0.08));
    transform: scale(1.03);
    z-index: 2;
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #233dff, #00d4ff);
    color: white;
    padding: 0.4rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.pricing-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-price {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-price .old-price {
    font-size: 1rem;
    color: rgba(255,255,255,0.4);
    text-decoration: line-through;
    margin-right: 0.5rem;
}

.pricing-price .current-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #00d4ff;
}

.pricing-features {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
}

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

.pricing-cta {
    margin-top: auto;
}

.pricing-cta .btn-primary {
    width: 100%;
    justify-content: center;
}

/* ===== BLOG GRID FIX ===== */
.blog-section {
    padding: 4rem 5%;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.blog-article,
.article-card {
    background: rgba(5, 10, 48, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(35, 61, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-article:hover,
.article-card:hover {
    transform: translateY(-8px);
    border-color: #00d4ff;
    box-shadow: 0 25px 60px rgba(0, 212, 255, 0.2);
}

.article-image-container {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-article:hover .article-image,
.article-card:hover .article-image {
    transform: scale(1.08);
}

.article-content {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-category {
    display: inline-block;
    background: rgba(35, 61, 255, 0.15);
    color: #00d4ff;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.article-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #fff;
    line-height: 1.3;
}

.article-excerpt {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.article-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.article-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #00d4ff;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
    margin-top: auto;
}

.article-cta:hover {
    gap: 1rem;
    color: #00d4ff;
}

/* ===== CALCULADORAS FIX ===== */
.calculator-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(5, 10, 48, 0.9);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(35, 61, 255, 0.2);
    border-radius: 24px;
    padding: 3rem;
}

.calculator-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    padding: 1rem 1.25rem;
    background: rgba(5, 10, 48, 0.8);
    border: 2px solid rgba(35, 61, 255, 0.3);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.form-group input::placeholder {
    color: rgba(255,255,255,0.4);
}

.calculator-result {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(35, 61, 255, 0.1), rgba(0, 212, 255, 0.05));
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 16px;
    text-align: center;
}

.result-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
}

.result-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #00d4ff;
}

/* ===== HERRAMIENTAS FIXES ===== */
.tool-hero {
    padding: 4rem 5%;
    text-align: center;
}

.tool-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(5, 10, 48, 0.9);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(35, 61, 255, 0.2);
    border-radius: 24px;
    padding: 3rem;
}

.tool-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.tool-description {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* ===== GLOSARIO FIXES ===== */
.glossary-section {
    padding: 4rem 5%;
}

.alphabet-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    padding: 1.5rem 2rem;
    margin-bottom: 3rem;
    position: sticky;
    top: 80px;
    background: rgba(5, 10, 48, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    border: 2px solid rgba(35, 61, 255, 0.2);
    z-index: 100;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.alphabet-letter {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(35, 61, 255, 0.1);
    border: 2px solid rgba(35, 61, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.alphabet-letter:hover,
.alphabet-letter.active {
    background: linear-gradient(135deg, #233dff, #00d4ff);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
    color: #fff;
}

.alphabet-letter.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.glossary-content {
    max-width: 900px;
    margin: 0 auto;
}

.glossary-term {
    background: rgba(5, 10, 48, 0.7);
    border: 2px solid rgba(35, 61, 255, 0.2);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.glossary-term:hover {
    border-color: rgba(35, 61, 255, 0.4);
}

.glossary-term h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 0.5rem;
}

.glossary-term p {
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
}

/* ===== QUIZ & TEST FIXES ===== */
.quiz-container {
    max-width: 800px;
    margin: 0 auto;
}

.quiz-progress {
    margin-bottom: 2rem;
}

.progress-bar-container {
    background: rgba(35, 61, 255, 0.1);
    border-radius: 50px;
    height: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(135deg, #233dff, #00d4ff);
    border-radius: 50px;
    transition: width 0.5s ease;
}

.quiz-question {
    display: none;
    opacity: 0;
    animation: fadeInQuestion 0.4s ease forwards;
}

.quiz-question.active {
    display: block;
    opacity: 1;
}

@keyframes fadeInQuestion {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.quiz-option {
    background: rgba(35, 61, 255, 0.1);
    border: 2px solid rgba(35, 61, 255, 0.3);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    color: #fff;
    font-size: 1rem;
}

.quiz-option:hover {
    border-color: #00d4ff;
    background: rgba(35, 61, 255, 0.15);
    transform: translateX(5px);
}

.quiz-option.selected {
    border-color: #00d4ff;
    background: linear-gradient(135deg, rgba(35, 61, 255, 0.2), rgba(0, 212, 255, 0.1));
}

/* ===== COMING SOON PAGES ===== */
.coming-soon-section {
    min-height: calc(100vh - 75px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 5%;
    text-align: center;
}

.coming-soon-container {
    max-width: 700px;
}

.coming-soon-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.coming-soon-container h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.coming-soon-container h1 span {
    background: linear-gradient(135deg, #00d4ff, #233dff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.coming-soon-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.countdown {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: rgba(35, 61, 255, 0.1);
    border: 2px solid rgba(35, 61, 255, 0.3);
    border-radius: 16px;
    min-width: 90px;
}

.countdown-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #00d4ff;
    line-height: 1;
}

.countdown-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.notify-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto 3rem;
}

.notify-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: rgba(35, 61, 255, 0.1);
    border: 2px solid rgba(35, 61, 255, 0.3);
    border-radius: 50px;
    color: #fff;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.notify-form input:focus {
    outline: none;
    border-color: #00d4ff;
}

.notify-form input::placeholder {
    color: rgba(255,255,255,0.4);
}

.notify-form button {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #233dff, #00d4ff);
    border: none;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.notify-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(35, 61, 255, 0.4);
}

/* ===== FAQ SECTION FIXES ===== */
.faq-section {
    padding: 4rem 5%;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 2px solid rgba(35, 61, 255, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(35, 61, 255, 0.4);
}

.faq-item.active {
    border-color: #00d4ff;
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: rgba(35, 61, 255, 0.05);
    border: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(35, 61, 255, 0.1);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: #00d4ff;
    font-size: 0.9rem;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: rgba(5, 10, 48, 0.5);
}

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

.faq-answer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin: 0;
}

/* ===== TESTIMONIALS FIXES ===== */
.testimonials-section {
    padding: 4rem 5%;
}

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

.testimonial-card {
    background: rgba(5, 10, 48, 0.8);
    border: 2px solid rgba(35, 61, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    border-color: rgba(35, 61, 255, 0.4);
    transform: translateY(-5px);
}

.testimonial-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    color: #fff;
    font-size: 1rem;
}

.author-info span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.testimonial-rating {
    color: #fbbf24;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .pricing-grid,
    .blog-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .alphabet-nav {
        gap: 0.35rem;
        padding: 1rem;
        border-radius: 20px;
    }
    
    .alphabet-letter {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .calculator-container,
    .tool-container {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .notify-form {
        flex-direction: column;
    }
    
    .countdown {
        gap: 1rem;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 1rem;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 70px !important;
    }
    
    body.has-banner {
        padding-top: 0 !important;
    }
    
    .hero-section {
        min-height: auto;
        padding: 3rem 5%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .coming-soon-icon {
        font-size: 3.5rem;
    }
    
    .countdown {
        flex-wrap: wrap;
    }
}
