/* ══════════════════════════════════════
   Resultado Académico
══════════════════════════════════════ */

/* Stats banner */
.ra-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: linear-gradient(135deg, #dca84d, #ffd76d);
}
.ra-stat {
    padding: 36px 24px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.3);
}
.ra-stat:last-child { border-right: none; }
.ra-stat__value {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    color: #07193d;
    line-height: 1;
    margin-bottom: 8px;
}
.ra-stat__value small { font-size: 1.4rem; }
.ra-stat p { font-size: .875rem; color: #3a4a1c; font-weight: 600; }

/* SIMCE section */
.ra-simce {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px;
}
.ra-simce__text h2 { font-size: 1.75rem; color: #07193d; margin: 8px 0 18px; }
.ra-simce__text p  { color: #4a5568; line-height: 1.75; }
.ra-simce__year-badge {
    display: block;
    margin-top: 20px;
    margin-bottom: 30px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 12px 20px;
    background: linear-gradient(135deg, #dca84d, #ffd76d);
    color: #07193d;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(220, 168, 77, 0.3);
    text-align: center;
}
.ra-simce__table-wrap { overflow-x: auto; margin-top: 30px; }

.ra-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(7, 25, 61, 0.08);
}
.ra-table th {
    background: #07193d;
    color: #ffd76d;
    padding: 16px 18px;
    text-align: left;
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 2px solid #d1d5db;
}
.ra-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
    background: white;
}
.ra-table tbody tr:last-child td {
    border-bottom: none;
}
.ra-table tbody tr:hover {
    background: #f9fafb;
}
.ra-table tbody tr td:first-child {
    font-weight: 500;
    color: #07193d;
}
.ra-table tbody tr td:last-child {
    text-align: right;
    color: #1976d2;
    font-weight: 600;
}
.ra-table__note { font-size: .78rem; color: #9ca3af; margin-top: 10px; }

/* PSU section */
.ra-psu {
    background: #f5f7fc;
    padding: 80px;
    text-align: center;
}
.ra-psu h2 { font-size: 1.75rem; color: #07193d; margin: 8px 0 18px; }
.ra-psu > p { color: #4a5568; line-height: 1.75; max-width: 700px; margin: 0 auto 48px; }
.ra-psu__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}
.ra-psu__card {
    background: white;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 2px 16px rgba(7,25,61,.06);
}
.ra-psu__card i { color: #dca84d; display: block; margin: 0 auto 16px; width: 36px; height: 36px; }
.ra-psu__card h4 { font-size: 1rem; color: #07193d; margin-bottom: 8px; }
.ra-psu__card p  { font-size: .875rem; color: #5a6a7e; line-height: 1.6; }

@media (max-width: 900px) {
    .ra-simce, .ra-psu { padding-left: 24px; padding-right: 24px; }
    .ra-simce  { grid-template-columns: 1fr; }
    .ra-stats  { grid-template-columns: repeat(2, 1fr); }
}
