.tpspm,.tpspm *{box-sizing:border-box}.tpspm{--navy:#153553;color:var(--navy);font-family:'Nunito Sans',sans-serif;max-width:1440px;margin:auto;padding:48px 20px}.tpspm-head{text-align:center;position:relative;max-width:780px;margin:0 auto 36px}.tpspm-head:before,.tpspm-head:after{content:'';position:absolute;top:0;width:56px;height:72px;background:url('leaf.svg') center/contain no-repeat;opacity:.8}.tpspm-head:before{left:0}.tpspm-head:after{right:0;transform:scaleX(-1)}.tpspm-head span{font-size:12px;letter-spacing:.18em;font-weight:700;color:#718399}.tpspm h2,.tpspm h3,.tpspm h4{font-family:'Nunito Sans',sans-serif;color:var(--navy);font-weight:800;line-height:1.2}.tpspm h2{font-size:clamp(32px,4vw,58px);margin:15px 0}.tpspm-head p{color:#718399;max-width:620px;margin:auto}.tpspm-pills{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-bottom:48px}.tpspm-pills button{border:0;border-radius:999px;padding:12px 20px;font:700 14px 'Nunito Sans',sans-serif;color:var(--navy);background:#dce9f9;cursor:pointer;white-space:nowrap}.tpspm-pills button:nth-child(3n){background:#e1efe3}.tpspm-pills button:nth-child(3n+1){background:#ffda70}.tpspm-pills button:nth-child(4n){background:#f9dce5}.tpspm-pills button[aria-pressed=true]{background:var(--navy);color:white}.tpspm-group{margin:0 0 44px}.tpspm-group[hidden]{display:none}.tpspm h3{font-size:clamp(23px,3vw,32px);display:flex;align-items:center;gap:12px;margin:0 0 22px}.tpspm h3:before{content:'';width:28px;height:5px;background:#ffd66b;border-radius:99px}.tpspm-grid{display:grid;grid-template-columns:repeat(var(--tps-cols,4),minmax(0,1fr));gap:24px}.tpspm-card{border-radius:24px;overflow:hidden;background:white;box-shadow:0 10px 35px #15355312;display:flex;flex-direction:column}.tpspm-photo{aspect-ratio:4/5;background:#e5eee8;display:grid;place-items:center;overflow:hidden}.tpspm-photo img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.tpspm-info{text-align:center;padding:20px 10px;flex:1;display:flex;flex-direction:column;align-items:center;gap:9px}.tpspm h4{font-size:19px;margin:0}.tpspm-info p{font-size:14px;color:#718399;margin:0 0 8px}.tpspm-mail{margin-top:auto;display:grid;place-items:center;width:39px;height:39px;border-radius:50%;background:#edf3f9;color:var(--navy)}.tpspm button:focus-visible,.tpspm a:focus-visible{outline:3px solid #315a88;outline-offset:3px}@media(max-width:900px){.tpspm-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.tpspm{padding:32px 12px}.tpspm-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tpspm-pills{overflow-x:auto;flex-wrap:nowrap;justify-content:flex-start;padding:5px 2px 12px;scroll-snap-type:x proximity}.tpspm-pills button{scroll-snap-align:start}.tpspm-head:before,.tpspm-head:after{width:22px;height:32px}.tpspm h4{font-size:16px}.tpspm-info{padding:15px 8px}.tpspm-card{border-radius:18px}}

.tpspm-pills button[style]:not([aria-pressed=true]){background:var(--tps-pill)}

/* V1.2: retratos compactos y contacto visible */
.tpspm .tpspm-card{padding:24px 12px 16px;align-items:center;min-width:0}
.tpspm .tpspm-photo{width:155px;max-width:90%;height:auto;aspect-ratio:1;border-radius:50%;border:4px solid #edf3f0;flex:none}
.tpspm .tpspm-photo img{border-radius:50%;object-position:center 35%}
.tpspm .tpspm-info{width:100%;min-width:0;padding:15px 0 0;gap:6px}
.tpspm .tpspm-mail{display:flex;align-items:center;justify-content:center;gap:6px;width:auto;max-width:100%;height:auto;min-height:32px;border-radius:10px;padding:7px 8px;background:#f2f6fa;font-size:12px;font-weight:600;line-height:1.35;text-decoration:none;text-align:left}
.tpspm .tpspm-mail svg{width:16px;height:16px;flex:none}
.tpspm .tpspm-mail span{min-width:0;overflow-wrap:anywhere}
.tpspm .tpspm-mail:hover{background:#e1edf6;text-decoration:underline}
@media(max-width:600px){.tpspm .tpspm-card{padding:16px 8px 12px}.tpspm .tpspm-photo{width:110px;border-width:3px}.tpspm .tpspm-info{padding-top:12px}.tpspm .tpspm-mail{font-size:11px;padding:6px 4px;gap:4px}.tpspm .tpspm-mail svg{width:14px;height:14px}}

@media(min-width:601px) and (max-width:900px){.tpspm .tpspm-photo{width:130px}}
