/* ══════════════════════════════════════
   Identity block
══════════════════════════════════════ */

.qs-identity {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 64px;
    align-items: start;
    padding: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.qs-identity__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 16px;
    padding: 40px 32px;
    position: sticky;
    top: 100px;
    box-shadow: 0 4px 24px rgba(7,25,61,.08);
}

.qs-identity__logo img {
    width: 100%;
    max-width: 180px;
    height: auto;
}

.qs-identity__text h2 {
    font-size: 1.85rem;
    color: #07193d;
    line-height: 1.3;
    margin: 8px 0 18px;
}

.qs-identity__text p {
    color: #4a5568;
    line-height: 1.75;
    margin-bottom: 20px;
}

.qs-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 36px;
}

.qs-pillar {
    background: #f5f7fc;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    border-bottom: 3px solid #dca84d;
    transition: transform .3s, box-shadow .3s;
}

.qs-pillar:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(7,25,61,.1);
}

.qs-pillar__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dca84d, #ffd76d);
    margin: 0 auto 14px;
}

.qs-pillar__icon svg {
    width: 22px;
    height: 22px;
    stroke: #07193d;
}

.qs-pillar h4 {
    font-size: .95rem;
    color: #07193d;
    margin-bottom: 8px;
}

.qs-pillar p {
    font-size: .85rem;
    color: #5a6a85;
    line-height: 1.6;
}


/* ══════════════════════════════════════
   Misión · Visión · Sellos
══════════════════════════════════════ */

.qs-mvs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background:
        linear-gradient(135deg,
            #07193d,
            #0c2b66,
            #09142c);
    border-top: 3px solid #dca84d;
    border-bottom: 3px solid #dca84d;
}

.qs-mvs__card {
    padding: 56px 40px;
    border-right: 1px solid rgba(220,168,77,.2);
}

.qs-mvs__card:last-child {
    border-right: none;
}

.qs-mvs__card--accent {
    background: rgba(220,168,77,.06);
}

.qs-mvs__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(220,168,77,.15);
    border: 1px solid rgba(220,168,77,.4);
    margin-bottom: 20px;
}

.qs-mvs__icon svg {
    width: 24px;
    height: 24px;
    stroke: #ffd76d;
}

.qs-mvs__card h3 {
    font-size: 1.15rem;
    color: #ffd76d;
    margin-bottom: 14px;
}

.qs-mvs__card p {
    color: rgba(255,255,255,.75);
    font-size: .92rem;
    line-height: 1.75;
}

.qs-mvs__card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.qs-mvs__card ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.8);
    font-size: .92rem;
}

.qs-mvs__card ul li svg {
    width: 16px;
    height: 16px;
    stroke: #dca84d;
    flex-shrink: 0;
}


/* ══════════════════════════════════════
   Historia / Timeline
══════════════════════════════════════ */

.qs-history {
    padding: 80px;
    background: #f5f7fc;
}

.qs-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 32px;
}

.qs-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background:
        linear-gradient(
            to bottom,
            #dca84d,
            rgba(220,168,77,.2)
        );
}

.qs-timeline__item {
    position: relative;
    padding-bottom: 44px;
}

.qs-timeline__item:last-child {
    padding-bottom: 0;
}

.qs-timeline__dot {
    position: absolute;
    left: -28px;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #dca84d;
    border: 3px solid #f5f7fc;
    box-shadow: 0 0 0 2px #dca84d;
}

.qs-timeline__content {
    background: white;
    border-radius: 12px;
    padding: 28px 32px;
    box-shadow: 0 4px 16px rgba(7,25,61,.07);
    border-left: 4px solid #dca84d;
}

.qs-timeline__year {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #dca84d;
    margin-bottom: 8px;
}

.qs-timeline__content h4 {
    font-size: 1.05rem;
    color: #07193d;
    margin-bottom: 10px;
}

.qs-timeline__content p {
    color: #5a6a85;
    font-size: .92rem;
    line-height: 1.7;
}


/* ══════════════════════════════════════
   Himno
══════════════════════════════════════ */

.qs-hymn {
    padding: 80px;
    background:
        linear-gradient(135deg,
            #07193d,
            #0c2b66,
            #09142c);
}

.qs-hymn__inner {
    max-width: 900px;
    margin: 0 auto;
}

.qs-hymn__header {
    text-align: center;
    margin-bottom: 48px;
}

.qs-hymn__header h2 {
    font-size: 2rem;
    color: white;
    margin-top: 6px;
}

.qs-hymn__body {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 48px;
    align-items: start;
}

.qs-hymn__lyrics {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(220,168,77,.25);
    border-radius: 12px;
    padding: 40px;
}

.qs-hymn__stanza {
    color: rgba(255,255,255,.8);
    font-size: .97rem;
    line-height: 1.9;
    margin-bottom: 28px;
    font-style: italic;
}

.qs-hymn__stanza:last-child {
    margin-bottom: 0;
}

.qs-hymn__stanza--chorus {
    color: #ffd76d;
    font-weight: 600;
    font-style: normal;
    border-left: 3px solid #dca84d;
    padding-left: 18px;
}

.qs-hymn__meta {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.qs-hymn__meta-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(220,168,77,.2);
    border-radius: 10px;
    padding: 20px;
}

.qs-hymn__meta-item svg {
    width: 22px;
    height: 22px;
    stroke: #dca84d;
    flex-shrink: 0;
    margin-top: 2px;
}

.qs-hymn__meta-item h5 {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #dca84d;
    margin-bottom: 4px;
}

.qs-hymn__meta-item p {
    color: rgba(255,255,255,.75);
    font-size: .9rem;
}


/* ══════════════════════════════════════
   Equipo directivo
══════════════════════════════════════ */

.qs-team {
    padding: 80px;
    background: white;
}

.qs-team__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.qs-team__card {
    text-align: center;
    padding: 36px 24px;
    border-radius: 12px;
    background: #f5f7fc;
    border-bottom: 3px solid transparent;
    transition: border-color .3s, transform .3s, box-shadow .3s;
}

.qs-team__card:hover {
    border-color: #dca84d;
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(7,25,61,.1);
}

.qs-team__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dca84d, #ffd76d);
    margin: 0 auto 18px;
}

.qs-team__avatar svg {
    width: 32px;
    height: 32px;
    stroke: #07193d;
}

.qs-team__card h4 {
    font-size: 1rem;
    color: #07193d;
    margin-bottom: 4px;
}

.qs-team__card span {
    display: block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #dca84d;
    margin-bottom: 14px;
}

.qs-team__card p {
    font-size: .86rem;
    color: #5a6a85;
    line-height: 1.65;
}


/* ══════════════════════════════════════
   Datos institucionales
══════════════════════════════════════ */

.qs-data {
    padding: 80px;
    background:
        linear-gradient(135deg,
            #07193d,
            #0c2b66,
            #09142c);
}

.qs-data .section-header h2 {
    color: white;
}

.qs-data__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.qs-data__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(220,168,77,.2);
    border-radius: 10px;
    padding: 24px 20px;
    transition: background .3s, border-color .3s;
}

.qs-data__item:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(220,168,77,.5);
}

.qs-data__item svg {
    width: 22px;
    height: 22px;
    stroke: #dca84d;
    flex-shrink: 0;
    margin-top: 2px;
}

.qs-data__item h5 {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffd76d;
    margin-bottom: 4px;
}

.qs-data__item p {
    color: rgba(255,255,255,.75);
    font-size: .9rem;
}


/* ══════════════════════════════════════
   Admission CTA (from home)
══════════════════════════════════════ */

.admission-cta {
    padding: 90px 40px;
    background: linear-gradient(135deg, #dca84d, #ffd76d, #dca84d);
    text-align: center;
}

.admission-cta-inner {
    max-width: 640px;
    margin: 0 auto;
}

.admission-cta h2 {
    font-size: 2rem;
    color: #07193d;
    margin-bottom: 14px;
}

.admission-cta p {
    font-size: 1.05rem;
    color: #1a3660;
    line-height: 1.6;
    margin-bottom: 36px;
}

.admission-cta .btn-primary {
    background: #07193d;
    color: white;
}

.admission-cta .btn-primary:hover {
    background: #0c2b66;
    box-shadow: 0 6px 20px rgba(7,25,61,.35);
}

/* ══════════════════════════════════════
   Responsive
══════════════════════════════════════ */

@media (max-width: 1100px) {

    .page-hero__content { padding: 0 48px; }

    .qs-identity {
        grid-template-columns: 220px 1fr;
        gap: 40px;
        padding: 64px 48px;
    }

    .qs-history,
    .qs-hymn,
    .qs-team,
    .qs-data { padding: 64px 48px; }

    .qs-team__grid { grid-template-columns: repeat(2, 1fr); }

    .qs-data__grid { grid-template-columns: repeat(2, 1fr); }

}

@media (max-width: 768px) {

    .page-hero { height: 280px; }
    .page-hero__content { padding: 0 28px; }

    .qs-identity {
        grid-template-columns: 1fr;
        padding: 48px 28px;
    }

    .qs-identity__logo {
        position: static;
        max-width: 200px;
        margin: 0 auto;
    }

    .qs-pillars { grid-template-columns: 1fr; }

    .qs-mvs { grid-template-columns: 1fr; }
    .qs-mvs__card { border-right: none; border-bottom: 1px solid rgba(220,168,77,.2); }
    .qs-mvs__card:last-child { border-bottom: none; }

    .qs-history,
    .qs-hymn,
    .qs-team,
    .qs-data { padding: 56px 24px; }

    .qs-hymn__body { grid-template-columns: 1fr; }

    .qs-team__grid { grid-template-columns: 1fr 1fr; }

    .qs-data__grid { grid-template-columns: 1fr 1fr; }

    .admission-cta { padding: 64px 24px; }

}

@media (max-width: 500px) {

    .page-hero__content h1 { font-size: 1.6rem; }

    .qs-pillars { grid-template-columns: 1fr; }

    .qs-team__grid,
    .qs-data__grid { grid-template-columns: 1fr; }

    .admission-cta h2 { font-size: 1.6rem; }
}