/* Sección de equipo 2026 — testimonial.html */
.team-showcase{background:linear-gradient(180deg,#fff 0%,#f9fbfe 100%);padding-top:88px;padding-bottom:92px}
.team-showcase-heading{margin-bottom:34px}
.team-showcase-heading .eyebrow{margin-bottom:10px;letter-spacing:.13em}
.team-showcase-heading h2{font-size:clamp(2rem,3.2vw,3.15rem);margin-bottom:10px}
.team-showcase-heading p{margin-bottom:0}
.team-directory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.team-directory-card{min-width:0;min-height:236px;display:grid;grid-template-columns:minmax(118px,46%) minmax(0,54%);overflow:hidden;background:#fff;border:1px solid #dce6f0;border-radius:17px;box-shadow:0 12px 34px rgba(15,35,65,.065);transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease}
.team-directory-card:hover{transform:translateY(-4px);border-color:#b9d9f2;box-shadow:0 18px 40px rgba(15,35,65,.12)}
.team-directory-card picture{display:block;min-height:236px;background:#e8edf2;overflow:hidden}
.team-directory-card picture img{width:100%;height:100%;min-height:236px;object-fit:cover;object-position:center 18%;transition:transform .35s ease}
.team-directory-card:hover picture img{transform:scale(1.025)}
.team-directory-content{min-width:0;padding:30px 17px 22px;display:flex;flex-direction:column;align-items:flex-start}
.team-directory-content h3{font-family:Sora,Inter,sans-serif;font-size:clamp(1rem,1.1vw,1.18rem);line-height:1.22;letter-spacing:-.025em;margin:0 0 5px;color:#142033;overflow-wrap:anywhere}
.team-directory-role{font-size:.82rem;line-height:1.35;color:#556277;margin:0 0 15px}
.team-directory-tag{display:inline-flex;max-width:100%;padding:7px 10px;border-radius:8px;background:#e8f4ff;color:#1689dd;font-size:.71rem;font-weight:700;line-height:1.2;text-align:left}
.team-directory-content a{display:inline-flex;align-items:center;gap:9px;margin-top:auto;padding-top:18px;color:#078ee9;font-size:.83rem;font-weight:750}
.team-directory-content a i{font-size:.75rem;transition:transform .2s ease}
.team-directory-content a:hover i{transform:translateX(4px)}
.team-directory-all{text-align:center;margin:28px 0 30px}
.team-directory-all a{display:inline-flex;align-items:center;gap:10px;color:#168fe4;font-weight:700}
.team-directory-all a i{font-size:1.08rem}
.team-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:28px 18px;background:rgba(250,252,255,.88);border:1px solid #dce6f0;border-radius:18px;box-shadow:0 10px 32px rgba(15,35,65,.04)}
.team-stat{min-width:0;display:flex;align-items:center;gap:18px;padding:0 30px;border-right:1px solid #d8e3ee}
.team-stat:last-child{border-right:0}
.team-stat>i{width:58px;min-width:58px;color:#087fe2;font-size:2.65rem;text-align:center}
.team-stat span{display:flex;min-width:0;flex-direction:column}
.team-stat strong{font-family:Sora,Inter,sans-serif;font-size:1.1rem;line-height:1.35;color:#172238}
.team-stat small{display:block;margin-top:5px;color:#647186;font-size:.78rem;line-height:1.45}

html[data-theme="dark"] .team-showcase,html.theme-dark .team-showcase{background:linear-gradient(180deg,#061321 0%,#081a2b 100%)}
html[data-theme="dark"] .team-directory-card,html.theme-dark .team-directory-card{background:#0c2033;border-color:#203b54;box-shadow:0 12px 34px rgba(0,0,0,.2)}
html[data-theme="dark"] .team-directory-content h3,html.theme-dark .team-directory-content h3,html[data-theme="dark"] .team-stat strong,html.theme-dark .team-stat strong{color:#edf5fc}
html[data-theme="dark"] .team-directory-role,html.theme-dark .team-directory-role,html[data-theme="dark"] .team-stat small,html.theme-dark .team-stat small{color:#a9bdd0}
html[data-theme="dark"] .team-directory-tag,html.theme-dark .team-directory-tag{background:#12314b;color:#70cfff}
html[data-theme="dark"] .team-stats,html.theme-dark .team-stats{background:#0c2033;border-color:#203b54;box-shadow:0 10px 32px rgba(0,0,0,.18)}
html[data-theme="dark"] .team-stat,html.theme-dark .team-stat{border-color:#203b54}

@media(max-width:1180px){
  .team-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .team-directory-card{grid-template-columns:minmax(150px,42%) minmax(0,58%)}
  .team-stat{padding:0 20px;gap:14px}
}
@media(max-width:900px){
  .team-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
  .team-stat{padding:20px 24px;border-right:1px solid #d8e3ee;border-bottom:1px solid #d8e3ee}
  .team-stat:nth-child(2){border-right:0}
  .team-stat:nth-child(3),.team-stat:nth-child(4){border-bottom:0}
  .team-stat:nth-child(4){border-right:0}
}
@media(max-width:640px){
  .team-showcase{padding-top:68px;padding-bottom:72px}
  .team-directory-grid{grid-template-columns:1fr;gap:16px}
  .team-directory-card{grid-template-columns:42% 58%;min-height:218px}
  .team-directory-card picture,.team-directory-card picture img{min-height:218px}
  .team-directory-content{padding:24px 14px 18px}
  .team-directory-tag{font-size:.68rem}
  .team-stats{grid-template-columns:1fr;padding:8px 20px}
  .team-stat{padding:22px 5px;border-right:0;border-bottom:1px solid #d8e3ee!important}
  .team-stat:last-child{border-bottom:0!important}
  html[data-theme="dark"] .team-stat,html.theme-dark .team-stat{border-color:#203b54!important}
}
@media(max-width:410px){
  .team-directory-card{grid-template-columns:1fr}
  .team-directory-card picture,.team-directory-card picture img{height:270px;min-height:270px}
  .team-directory-content{min-height:190px}
}
