/* TECHLAB+ v0.34 — Perfiles visuales de Nosotros. Sin alterar fotos del staff. */
.team-section{background:linear-gradient(155deg,#f6fbff 0%,#eaf5ff 52%,#fff 100%)!important;color:#10233e!important;padding:72px 0 92px!important}
.team-section .team-heading{max-width:780px;margin-bottom:35px}
.team-section .team-title{color:#0a2445!important;font-size:clamp(2.1rem,4vw,3.4rem)!important;margin:10px 0 12px!important}
.team-section .team-intro{color:#38516b!important;max-width:690px;line-height:1.7}
.team-profiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}
.profile-card{min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;padding:32px 22px 28px;border:1px solid #d7e7f6;border-radius:24px;background:#fff;box-shadow:0 14px 40px rgba(17,58,103,.09);color:#122c4b;overflow:hidden}
.profile-portrait-wrap{width:172px;height:172px;border-radius:50%;display:grid;place-items:center;padding:5px;background:linear-gradient(140deg,#8ad8ff,#2a7ad1 65%,#c0e8ff);box-shadow:0 7px 22px rgba(30,105,175,.16);margin:0 auto 22px;flex:0 0 auto}
.profile-portrait{display:block;width:100%;height:100%;border-radius:50%;object-fit:contain;object-position:center;background:#edf4fa}
.profile-copy{display:flex;flex-direction:column;align-items:center;flex:1;width:100%}
.profile-eyebrow{font-size:.7rem;font-weight:800;letter-spacing:.14em;color:#146fba!important;margin-bottom:9px}
.profile-card h3{color:#092d55!important;font-size:1.38rem!important;line-height:1.25;margin:0 0 7px!important}
.profile-card .profile-role{color:#166bb0!important;font-weight:750;font-size:.92rem;margin:0 0 14px!important}
.profile-description{color:#405a74!important;font-size:.92rem;line-height:1.65;max-width:530px;margin:0 0 15px}
.profile-tags{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;margin-top:auto;padding-top:10px}
.profile-tags span{font-size:.75rem;font-weight:700;color:#155b98;background:#e9f5ff;border:1px solid #c9e6fa;border-radius:100px;padding:7px 11px}
.profile-card a{color:#1265aa!important;text-decoration:underline;text-underline-offset:4px;font-size:.84rem;font-weight:700;margin-top:18px}
.profile-director{grid-column:1/-1;display:grid;grid-template-columns:220px 1fr;text-align:left;align-items:center;gap:30px;padding:36px 44px;background:linear-gradient(105deg,#e8f5ff,#fff 55%);border-color:#bedef5}
.profile-director .profile-portrait-wrap{width:204px;height:204px;margin:0}
.profile-director .profile-copy{align-items:flex-start;text-align:left}
.profile-director h3{font-size:2rem!important}
.profile-director .profile-tags{justify-content:flex-start;margin-top:0}
@media(max-width:880px){.team-profiles{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-director{grid-column:1/-1}}
@media(max-width:620px){.team-section{padding:48px 0 65px!important}.team-profiles{grid-template-columns:1fr;gap:16px}.profile-card{padding:28px 18px}.profile-director{display:flex;flex-direction:column;text-align:center;padding:30px 20px}.profile-director .profile-copy{align-items:center;text-align:center}.profile-director .profile-tags{justify-content:center}.profile-director .profile-portrait-wrap{width:180px;height:180px}}

/* v0.35: all portraits use a fixed square frame; prevent full-height image overflow. */
.team-section .profile-portrait-wrap{width:148px;height:148px;min-width:148px;min-height:148px;max-width:148px;max-height:148px;aspect-ratio:1/1;overflow:hidden;box-sizing:border-box;display:block;padding:4px;flex:0 0 148px;margin:0 auto 20px}
.team-section .profile-portrait{width:100%;height:100%;max-width:100%;max-height:100%;aspect-ratio:1/1;object-fit:cover;object-position:center center;border-radius:50%;display:block}
.team-section .profile-director .profile-portrait-wrap{width:174px;height:174px;min-width:174px;min-height:174px;max-width:174px;max-height:174px;flex-basis:174px;margin:0}
.team-section .profile-card{overflow:hidden}
@media(max-width:620px){.team-section .profile-director .profile-portrait-wrap{margin:0 auto}}
