/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.infographic-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Header */
.header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #2E8B57 0%, #3CB371 100%);
    color: white;
    border-radius: 15px;
    margin-bottom: 40px;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0.9;
}

/* Secciones */
.section {
    margin-bottom: 50px;
    padding: 30px;
    border-radius: 15px;
    background: #f8f9fa;
    border-left: 5px solid #2E8B57;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.section-header .icon {
    font-size: 2rem;
    color: #2E8B57;
    margin-right: 15px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
}

.content-box {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Introducción */
.intro-section .content-box {
    display: flex;
    align-items: center;
    gap: 30px;
}

.text-content {
    flex: 1;
}

.text-content p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.visual-element {
    flex: 0 0 150px;
    text-align: center;
}

.team-icon {
    font-size: 6rem;
    color: #2E8B57;
    opacity: 0.8;
}

/* Metodología */
.intro-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    text-align: center;
    color: #555;
}

.process-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.step {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #2E8B57 0%, #3CB371 100%);
    color: white;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: scale(1.05);
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.step h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.arrow {
    font-size: 1.5rem;
    color: #2E8B57;
    flex: 0 0 auto;
}

/* Resultados */
.results-grid {
    display: grid;
    gap: 30px;
}

.result-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.result-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2c3e50;
    text-align: center;
}

/* Comparación de calificaciones */
.comparison {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 15px;
}

.score {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    min-width: 150px;
}

.score.balanced {
    background: linear-gradient(135deg, #2E8B57 0%, #3CB371 100%);
    color: white;
}

.score.unbalanced {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

.score .label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.score .value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
}

.vs {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2E8B57;
}

.significance {
    text-align: center;
    font-style: italic;
    color: #2E8B57;
    font-weight: 500;
}

/* Distribución de calificaciones */
.group-comparison {
    display: grid;
    gap: 20px;
}

.group h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.grade-bar {
    display: flex;
    height: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.grade-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    position: relative;
}

.grade-segment.pass {
    background: #2E8B57;
}

.grade-segment.notable {
    background: #3498db;
}

.grade-segment.fail {
    background: #e74c3c;
}

.grade-segment.excellent {
    background: #f39c12;
}

/* Roles */
.roles-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.role-group h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #2c3e50;
    text-align: center;
}

.role-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.role-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #2E8B57;
}

.role-item i {
    font-size: 1.2rem;
    color: #2E8B57;
    margin-right: 12px;
    width: 20px;
}

.role-item span {
    font-weight: 500;
}

/* Conclusiones */
.main-conclusion {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 30px;
    text-align: center;
    color: #2c3e50;
    font-weight: 500;
}

.takeaways {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.takeaway-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    text-align: center;
    transition: transform 0.3s ease;
}

.takeaway-card:hover {
    transform: translateY(-5px);
}

.takeaway-icon {
    font-size: 3rem;
    color: #2E8B57;
    margin-bottom: 15px;
}

.takeaway-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

.takeaway-card p {
    line-height: 1.6;
    color: #555;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
}

.reference-section h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2E8B57;
}

.apa-reference {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.doi-link {
    font-size: 0.95rem;
}

.doi-link a {
    color: #2E8B57;
    text-decoration: none;
    transition: color 0.3s ease;
}

.doi-link a:hover {
    color: #3CB371;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .infographic-container {
        margin: 10px;
        padding: 15px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 20px;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .intro-section .content-box {
        flex-direction: column;
        text-align: center;
    }
    
    .process-flow {
        flex-direction: column;
    }
    
    .arrow {
        transform: rotate(90deg);
    }
    
    .comparison {
        flex-direction: column;
        gap: 15px;
    }
    
    .vs {
        transform: rotate(90deg);
    }
    
    .roles-comparison {
        grid-template-columns: 1fr;
    }
    
    .takeaways {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
    }
    
    .section-header .icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

