/* ========================================
   ESTILOS ESPECÍFICOS - ACADEMIAS
   Usando variables de colors.css
   ======================================== */

/* ========================================
   SECCIÓN HERO
   ======================================== */
.hero-academias {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-academias::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 50px 50px;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-academias h1 {
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(18px, 4vw, 24px);
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--light-green);
}

.hero-description {
    font-size: clamp(16px, 3vw, 18px);
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
}

.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    font-size: 14px;
    opacity: 0.9;
}

.trust-indicators span {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    white-space: nowrap;
}

/* ========================================
   BOTONES CTA
   ======================================== */
.cta-btn {
    background: var(--accent-green);
    color: var(--text-white);
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-btn.large {
    padding: 18px 40px;
    font-size: 18px;
}

/* ========================================
   SECCIÓN BENEFICIOS
   ======================================== */
.benefits {
    padding: 80px 20px;
    background-color: var(--background-primary);
}

.benefits h2 {
    text-align: center;
    color: var(--text-brand);
    font-size: clamp(28px, 5vw, 36px);
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: var(--background-primary);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.benefit-card h3 {
    color: var(--text-brand);
    font-size: 20px;
    margin-bottom: 15px;
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   SECCIÓN CÓMO FUNCIONA
   ======================================== */
.how-it-works {
    padding: 80px 20px;
    background-color: var(--background-light);
}

.how-it-works h2 {
    text-align: center;
    color: var(--text-brand);
    font-size: clamp(28px, 5vw, 36px);
    margin-bottom: 50px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-green));
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-md);
}

.step h3 {
    color: var(--text-brand);
    font-size: 20px;
    margin-bottom: 15px;
}

.step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   SECCIÓN TESTIMONIOS
   ======================================== */
.testimonials {
    padding: 80px 20px;
    background-color: var(--background-primary);
}

.testimonials h2 {
    text-align: center;
    color: var(--text-brand);
    font-size: clamp(28px, 5vw, 36px);
    margin-bottom: 50px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial {
    background: var(--background-primary);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--accent-green);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-content p {
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author strong {
    color: var(--text-brand);
    font-weight: 600;
}

.testimonial-author span {
    color: var(--text-secondary);
    font-size: 14px;
    display: block;
    margin-top: 5px;
}

/* ========================================
   SECCIÓN OFERTA
   ======================================== */
.offer {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--primary-color) 100%);
    color: var(--text-white);
    text-align: center;
}

.offer h2 {
    color: var(--text-white);
    font-size: clamp(28px, 5vw, 36px);
    margin-bottom: 30px;
}

.offer-content {
    max-width: 600px;
    margin: 0 auto;
}

.offer-intro {
    font-size: 18px;
    margin-bottom: 30px;
}

.offer-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
    display: inline-block;
}

.offer-list li {
    font-size: 16px;
    margin-bottom: 15px;
    padding-left: 10px;
}

.offer-disclaimer {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.9;
}

/* ========================================
   SECCIÓN FAQ
   ======================================== */
.faq {
    padding: 80px 20px;
    background-color: var(--background-light);
}

.faq h2 {
    text-align: center;
    color: var(--text-brand);
    font-size: clamp(28px, 5vw, 36px);
    margin-bottom: 50px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    background: var(--background-primary);
    border: none;
    padding: 20px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-brand);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background: var(--background-light);
}

.faq-icon {
    font-size: 20px;
    font-weight: bold;
    transition: transform 0.3s;
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    background: var(--background-primary);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    max-height: 200px;
    padding: 20px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   SECCIÓN CTA FINAL
   ======================================== */
.final-cta {
    padding: 80px 20px;
    background-color: var(--background-primary);
    text-align: center;
}

.final-cta h2 {
    color: var(--text-brand);
    font-size: clamp(28px, 5vw, 36px);
    margin-bottom: 20px;
}

.final-cta p {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    margin-top: 30px;
    font-size: 14px;
    color: var(--text-secondary);
}

.contact-info a {
    color: var(--text-brand);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* ========================================
   MODAL FORMULARIO
   ======================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--background-primary);
    padding: 40px;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: var(--text-brand);
}

.modal-content h3 {
    color: var(--text-brand);
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-brand);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ========================================
   ANIMACIONES
   ======================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .hero-academias {
        padding: 60px 15px;
    }
    
    .benefits,
    .how-it-works,
    .testimonials,
    .offer,
    .faq,
    .final-cta {
        padding: 60px 15px;
    }
    
    .benefits-grid,
    .steps-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .cta-btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .cta-btn.large {
        padding: 15px 30px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-academias {
        padding: 40px 10px;
    }
    
    .benefits,
    .how-it-works,
    .testimonials,
    .offer,
    .faq,
    .final-cta {
        padding: 40px 10px;
    }
}