/* =========================================
   PARTICIPAR.CSS - Estilos para quiero-participar.html
   ========================================= */

/* ==================== PAGE HERO ==================== */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    margin-top: 80px;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    padding: var(--spacing-xl) 0;
    color: white;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.1;
}

.hero-pattern {
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.2) 0%, transparent 50%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-yellow);
    margin-bottom: 1rem;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: white;
}

.page-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb .separator {
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb .current {
    color: var(--color-yellow);
    font-weight: 600;
}

/* ==================== BENEFICIOS ==================== */
.section-benefits {
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    background: white;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ==================== REQUISITOS ==================== */
.section-requirements {
    background: var(--light-bg);
}

.requirements-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.requirements-content {
    position: sticky;
    top: 100px;
}

/* Lista de requisitos - SIN estilos de lista por defecto */
.requirements-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0 0 0;
    padding: 0;
    list-style: none;
}

.requirement-item {
    display: flex;
    gap: 20px;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.requirement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.requirement-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    flex-shrink: 0;
}

.requirement-info h4 {
    color: var(--primary-color);
    margin: 0 0 0.75rem 0;
    font-size: 1.25rem;
}

.requirement-info p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}

/* Info Box (lado derecho de requisitos) */
.requirements-visual {
    position: relative;
}

.info-box {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 2px solid var(--border-color);
}

.info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-blue), var(--color-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1.5rem;
}

.info-box h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

/* Lista dentro del info-box - SIN estilos de lista */
.info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-box ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
}

.info-box ul li:last-child {
    border-bottom: none;
}

.info-box ul li i {
    color: var(--success-color);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.cta-box-small {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 12px;
    text-align: center;
}

.cta-box-small p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.cta-box-small p strong {
    color: var(--primary-color);
}

/* ==================== CRONOGRAMA / SCHEDULE ==================== */
.section-schedule {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-purple) 100%);
    position: relative;
    overflow: hidden;
}

.schedule-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.schedule-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.schedule-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid var(--color-yellow);
    transition: all 0.3s ease;
}

.schedule-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.schedule-month {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,0.2);
}

.month-name {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-yellow);
    margin-bottom: 0.5rem;
}

.month-subtitle {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
}

.schedule-content h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.375rem;
}

/* Listas dentro de schedule-content - SIN estilos de lista */
.schedule-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.schedule-content ul li {
    color: rgba(255, 255, 255, 0.85);
    padding: 0.5rem 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.schedule-content ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--color-yellow);
    font-weight: 700;
}

/* ==================== FORMULARIO DE INSCRIPCIÓN ==================== */
.section-inscription-form {
    background: var(--light-bg);
}

.form-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.form-intro {
    max-width: 700px;
    margin: 0 0 3rem 0;
}

.form-intro p {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.7;
}

.form-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-card-small {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.info-card-small i {
    font-size: 2rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.info-card-small strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.info-card-small p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.registration-form,
.inscription-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    margin-top: 3rem;
}

.form-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--light-bg);
}

.form-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.form-section-title {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.375rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-section-title i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.form-group label .required {
    color: var(--danger-color);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-secondary);
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(85, 45, 119, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Character Counter */
.char-count {
    display: block;
    text-align: right;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Radio Buttons */
.radio-group-inline {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.radio-inline {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    cursor: pointer;
    font-weight: 400;
    color: var(--text-dark);
}

.radio-inline input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--secondary-color);
}

/* Checkboxes */
.checkbox-group {
    background: var(--light-bg);
    padding: 1.75rem;
    border-radius: 12px;
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--secondary-color);
    flex-shrink: 0;
}

.checkbox-label span {
    line-height: 1.6;
    color: var(--text-dark);
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.btn-submit {
    position: relative;
    overflow: hidden;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(85, 45, 119, 0.3);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Success Message */
.success-message {
    display: none;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    border: 2px solid #c3e6cb;
}

.success-message.show {
    display: block;
}

.success-message i {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1.5rem;
}

.success-message h3 {
    color: #155724;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.success-message p {
    font-size: 1.125rem;
    margin: 0;
}

/* ==================== FAQ ==================== */
.section-faq {
    background: white;
}

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

.faq-item {
    margin-bottom: 1rem;
    background: var(--light-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem 2rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

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

.faq-question i {
    font-size: 1.125rem;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

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

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

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

.faq-answer p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

/* ==================== CTA ALTERNATIVA ==================== */
.section-cta-alt {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.section-cta-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-alt-wrapper {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: white;
}

.cta-alt-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.cta-alt-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-alt-wrapper p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

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

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .requirements-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .requirements-content {
        position: static;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .schedule-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.125rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .requirement-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .schedule-item {
        padding: 1.5rem;
    }
    
    .month-name {
        font-size: 1.5rem;
    }
    
    .registration-form,
    .inscription-form {
        padding: 2rem;
    }
    
    .form-section-title {
        font-size: 1.25rem;
    }
    
    .cta-alt-wrapper h2 {
        font-size: 2rem;
    }
    
    .cta-alt-wrapper p {
        font-size: 1.125rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.25rem 1.5rem;
    }
    
    .form-info-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .requirement-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .registration-form,
    .inscription-form {
        padding: 1.5rem;
    }
    
    .info-card-small {
        flex-direction: column;
        text-align: center;
    }
    
    .schedule-item {
        padding: 1.25rem;
    }
    
    .schedule-month {
        padding: 1rem;
    }
}