/* Centro Educatic Empleos — footer compacto y responsive */
.portal-footer {
    margin-top:32px;
    border-top:1px solid #1f3833;
    background:radial-gradient(circle at top right,rgba(42,147,121,.09),transparent 320px),#102b25;
    color:#d0e3d9;
}
.portal-footer-container {width:min(1180px,calc(100% - 36px));margin:0 auto;}
.portal-footer-grid {
    display:grid;
    grid-template-columns:minmax(0,1.5fr) minmax(0,.85fr) minmax(0,1.3fr) minmax(0,1fr);
    align-items:start;
    gap:23px;
    padding:27px 0 19px;
}
.portal-footer-grid > section {min-width:0;}
.portal-footer-brand {
    display:inline-flex;align-items:center;gap:10px;
    color:#fff;text-decoration:none;font-weight:850;
}
.portal-footer-brand-mark {
    display:inline-grid;place-items:center;flex:0 0 39px;
    width:39px;height:39px;border-radius:11px;
    background:linear-gradient(145deg,#2563eb,#1d4ed8);
    color:#fff;box-shadow:0 7px 17px rgba(37,99,235,.21);
}
.portal-footer-brand-mark svg {width:21px;height:21px;}
.portal-footer-brand-copy {display:grid;line-height:1.08;font-size:.89rem;}
.portal-footer-brand-copy small {
    margin-top:3px;color:#a0b7b4;font-size:.65rem;
    font-weight:750;letter-spacing:.075em;text-transform:uppercase;
}
.portal-footer-description {
    max-width:355px;margin:12px 0 0;
    color:#abc5bd;font-size:.8rem;line-height:1.65;
}
.portal-footer-heading {
    margin:2px 0 10px;color:#fff;
    font-size:.85rem;font-weight:850;line-height:1.3;
}
.portal-footer-links,.portal-footer-projects {display:grid;}
.portal-footer-links {gap:6px;}
.portal-footer-projects {gap:7px;}
.portal-footer-link {
    width:fit-content;color:#d6e7df;
    text-decoration:none;font-size:.8rem;line-height:1.38;
    transition:color .18s ease;
}
.portal-footer-link:hover {color:#90e4bf;text-decoration:underline;text-underline-offset:3px;}

/* Mini-tarjetas de aliados: una línea de descripción y poca altura. */
.portal-footer-project {
    display:flex;align-items:center;gap:9px;min-width:0;
    min-height:54px;padding:8px 10px;
    border:1px solid #35564e;border-radius:10px;
    background:rgba(255,255,255,.028);color:#d6e6df;
    text-decoration:none;
    transition:transform .2s ease,border-color .2s ease,background-color .2s ease;
}
.portal-footer-project:hover {
    transform:translateY(-2px);
    border-color:#47a68a;
    background:rgba(33,158,120,.10);
}
.portal-footer-project .portal-footer-project-icon {
    display:grid;place-items:center;flex:0 0 31px;
    width:31px;height:31px;margin:0;border:1px solid rgba(139,232,191,.19);
    border-radius:9px;background:rgba(70,203,150,.1);color:#9ae9c1;
}
.portal-footer-project .portal-footer-project-icon svg {width:17px;height:17px;}
.portal-footer-project .portal-footer-project-copy {
    display:grid;gap:3px;flex:1;min-width:0;margin:0;
}
.portal-footer-project .portal-footer-project-copy strong {
    display:block;color:#f0fbf5;font-size:.78rem;font-weight:850;line-height:1.25;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.portal-footer-project .portal-footer-project-copy > span {
    display:block;min-width:0;margin:0;color:#aec8bd;font-size:.69rem;line-height:1.35;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.portal-footer-project .portal-footer-project-arrow {
    display:inline-flex;flex:0 0 14px;margin:0;
    color:#a0d9c5;opacity:.8;
}
.portal-footer-project .portal-footer-project-arrow svg {
    width:14px;height:14px;transition:transform .2s ease;
}
.portal-footer-project:hover .portal-footer-project-arrow svg {transform:translate(2px,-2px);}

/* Redes sociales compactas; no se eliminan canales. */
.portal-footer-socials {display:flex;flex-wrap:wrap;gap:7px;}
.portal-social-link {
    display:inline-grid;place-items:center;flex:0 0 35px;
    width:35px;height:35px;
    border:1px solid #38534f;border-radius:9px;
    background:#1b3431;color:#d5e7df;text-decoration:none;
    transition:transform .2s ease,border-color .2s ease,background-color .2s ease;
}
.portal-social-link:hover {
    transform:translateY(-2px);border-color:#47a68a;
    background:#24443c;color:#fff;
}
.portal-social-link svg {width:17px;height:17px;}
.portal-footer-social-note {
    margin:9px 0 0;color:#8faea4;
    font-size:.72rem;line-height:1.48;
}
.portal-footer-bottom {
    display:flex;align-items:center;justify-content:space-between;gap:12px;
    padding:14px 0 17px;border-top:1px solid #29433c;
    color:#91a9a1;font-size:.73rem;line-height:1.45;
}
.portal-footer-creator {display:inline-flex;align-items:center;gap:5px;flex-wrap:wrap;}
.portal-footer-creator a {
    display:inline-flex;align-items:center;gap:5px;
    padding:4px 6px;margin:-4px -6px;
    border:1px solid transparent;border-radius:8px;
    color:#e4f4ee;text-decoration:none;
    transition:background-color .2s ease,border-color .2s ease;
}
.portal-footer-creator a strong {color:#f0fdf6;}
.portal-footer-creator a svg {
    width:14px;height:14px;color:#87d6b5;transition:transform .2s ease;
}
.portal-footer-creator a:hover {
    border-color:rgba(130,225,178,.23);
    background:rgba(33,158,120,.12);
}
.portal-footer-creator a:hover svg {transform:translate(2px,-2px);}
.portal-footer-creator a:focus-visible,
.portal-footer-project:focus-visible,
.portal-footer-link:focus-visible,
.portal-social-link:focus-visible {
    outline:3px solid #8be8bd;outline-offset:3px;
}
@media (max-width:980px) {
    .portal-footer-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 30px;}
    .portal-footer-project .portal-footer-project-copy > span {
        white-space:normal;display:-webkit-box;-webkit-line-clamp:2;
        -webkit-box-orient:vertical;overflow:hidden;
    }
}
@media (max-width:620px) {
    .portal-footer-container {width:min(100% - 28px,1180px);}
    .portal-footer-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 14px;padding:24px 0 19px;}
    .portal-footer-grid > section:first-child {grid-column:1/-1;}
    .portal-footer-grid > section:nth-child(3) {grid-column:1/-1;}
    .portal-footer-projects {grid-template-columns:1fr;gap:7px;}
    .portal-footer-description {max-width:460px;}
    .portal-footer-bottom {align-items:flex-start;flex-direction:column;gap:11px;}
}
@media (max-width:410px) {
    .portal-footer-grid {grid-template-columns:1fr;gap:18px;}
    .portal-footer-grid > section:first-child,.portal-footer-grid > section:nth-child(3) {grid-column:auto;}
    .portal-footer-project .portal-footer-project-copy > span {white-space:nowrap;display:block;}
}
@media (prefers-reduced-motion:reduce) {
    .portal-footer-project,.portal-footer-link,.portal-social-link,
    .portal-footer-creator a,.portal-footer-creator a svg,
    .portal-footer-project .portal-footer-project-arrow svg {transition:none !important;}
    .portal-footer-project:hover,.portal-social-link:hover,
    .portal-footer-creator a:hover svg,
    .portal-footer-project:hover .portal-footer-project-arrow svg {transform:none !important;}
}
