/* DAP - Pagina estatica (.dp-*). Portado de "DAP Pagina Estatica Template" (claro) + "DAP Modo Oscuro" (oscuro).
   El widget de redes (.dcat-sw) es global (style.css), no se redefine aca. */
.dp-wrap{font-family:'DM Sans',sans-serif;background:#F4F7FB}
.dp-wrap *{box-sizing:border-box}
.dp-con{max-width:1280px;margin:0 auto;padding:0 24px}
.dp-hero{background:#0C1835;color:#fff;padding:26px 0 32px;position:relative;overflow:hidden}
.dp-hero::before{content:"";position:absolute;top:-100px;right:-100px;width:500px;height:500px;background:radial-gradient(circle,rgba(38,147,240,.15) 0%,transparent 60%);border-radius:50%;pointer-events:none}
.dp-bc{display:flex;align-items:center;gap:10px;font-size:13px;color:#94a3b8;margin-bottom:14px;flex-wrap:wrap}
.dp-bc a{color:#94a3b8;text-decoration:none;transition:color .2s}.dp-bc a:hover{color:#2693F0}
.dp-sep{color:#475569;font-size:11px}.dp-cur{color:#cbd5e1}
.dp-h1{font-family:'Bricolage Grotesque',sans-serif;font-size:42px;font-weight:800;line-height:1.05;letter-spacing:-1.4px;color:#fff;margin-bottom:8px;position:relative}
.dp-layout{padding:40px 0 64px}
.dp-grid{display:grid;grid-template-columns:1fr 340px;gap:48px;align-items:start}
.dp-main{background:#FFFFFF;border:1px solid #E2E8F0;border-radius:16px;padding:40px;min-width:0}
.dp-content{font-size:16px;color:#0F172A;line-height:1.75}
.dp-content h1{font-family:'Bricolage Grotesque',sans-serif;font-size:40px;font-weight:800;color:#0F172A;margin-bottom:16px;letter-spacing:-1px;line-height:1.1}
.dp-content p{margin-bottom:20px;font-family:'Source Serif 4',serif;font-size:17px}
.dp-content h2{font-family:'Bricolage Grotesque',sans-serif;font-size:24px;font-weight:700;color:#0F172A;margin-top:36px;margin-bottom:16px;letter-spacing:-.5px;display:flex;align-items:center;gap:10px}
.dp-content h2::before{content:"";width:4px;height:24px;background:#2693F0;border-radius:3px;flex-shrink:0}
.dp-content blockquote{border-left:4px solid #2693F0;padding:16px 20px;margin:28px 0;background:#F6F8FC;border-radius:0 10px 10px 0;font-family:'Source Serif 4',serif;font-style:italic;color:#64748B;font-size:18px;line-height:1.6}
.dp-content ul{margin-bottom:24px;padding-left:4px;list-style:none;display:flex;flex-direction:column;gap:10px}
.dp-content li{display:flex;align-items:flex-start;gap:10px;font-family:'Source Serif 4',serif;font-size:17px}
.dp-content li::before{content:"";width:6px;height:6px;background:#2693F0;border-radius:50%;flex-shrink:0;margin-top:8px}
.dp-pg-staff .dp-content p{font-size:17px;font-weight:500;line-height:1.65;font-family:'DM Sans',sans-serif}
.dp-pg-staff .dp-content div{align-items:center!important}
.dap-staff-hero h1{display:none}
.dap-staff-hero p{margin-bottom:0!important}
/* Equipo: buckets TODOS iguales, compactos (ancho del nombre más largo), empaquetados
   a la izquierda -> entran 4+ columnas (Guille 16/06). NO estirados a 1fr. */
.dp-pg-staff .dap-staff-cards{display:grid;grid-template-columns:repeat(auto-fill,176px);gap:10px;justify-content:start;align-items:stretch}
.dp-pg-staff .dap-staff-card{width:auto;height:100%;padding:10px 12px;gap:10px}
.dp-pg-staff .dap-staff-av{width:36px;height:36px;font-size:13px}
.dp-pg-staff .dap-staff-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:560px){.dp-pg-staff .dap-staff-cards{grid-template-columns:1fr 1fr}}
/* Comprimir el equipo: menos aire, sobre todo arriba (Guille 16/06). */
.dp-pg-staff .dap-staff-hero{padding:22px 26px!important;margin-bottom:22px!important}
.dp-pg-staff .dap-staff-section{margin-bottom:22px}
.dp-pg-staff .dap-staff-section-head{margin-bottom:12px}
.dp-pg-staff .dp-content>p:first-child{margin:0}
/* EL ESCUDO/LOGO NUNCA SE DEFORMA: la imagen del header del equipo mantiene proporción siempre. */
.dp-pg-staff .dap-staff-hero-ico img{width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}
.dp-staff-sec{margin-top:40px;padding-top:32px;border-top:1px solid #E2E8F0}
.dp-staff-sec>h2{font-family:'Bricolage Grotesque',sans-serif;font-size:24px;font-weight:700;color:#0F172A;margin-bottom:24px;letter-spacing:-.5px;display:flex;align-items:center;gap:10px}
.dp-staff-sec>h2::before{content:"";width:4px;height:24px;background:#2693F0;border-radius:3px;flex-shrink:0}
.dp-dpto-lbl{font-family:'Bricolage Grotesque',sans-serif;font-size:12px;font-weight:700;color:#0A5BA8;text-transform:uppercase;letter-spacing:1.4px;margin:24px 0 12px;padding-bottom:6px;border-bottom:1px solid #EBF4FF}
.dp-team-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:4px}
.dp-team-card{background:#F6F8FC;border:1px solid #E2E8F0;border-radius:12px;padding:16px 18px;display:flex;align-items:center;gap:14px;transition:all .25s}
.dp-team-card:hover{border-color:#2693F0;background:#EBF4FF}
.dp-team-av{width:50px;height:50px;border-radius:50%;background:linear-gradient(135deg,#1A3A6B,#2693F0);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:17px;font-family:'Bricolage Grotesque',sans-serif;flex-shrink:0}
.dp-team-info h5{font-family:'Bricolage Grotesque',sans-serif;font-size:14px;font-weight:600;color:#0F172A;margin:0 0 2px}
.dp-team-info .dp-role{font-size:11px;color:#0A5BA8;font-weight:500}
.dp-sidebar{display:flex;flex-direction:column;gap:24px;position:sticky;top:169px}
.dp-sf{display:flex;align-items:center;background:#FFFFFF;border:2px solid #E2E8F0;border-radius:50px;padding:6px 6px 6px 18px;transition:all .25s}
.dp-sf:focus-within{border-color:#2693F0;box-shadow:0 0 0 4px #EBF4FF}
.dp-sf>i{font-size:18px;color:#64748B;margin-right:10px}
.dp-sf input{flex:1;background:transparent;border:0;outline:none;padding:10px 0;font-size:14px;color:#0F172A;font-family:inherit}
.dp-sf input::placeholder{color:#94A3B8}
.dp-sf button{background:#2693F0;color:#0A1530;border:0;width:38px;height:38px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.dp-sf button:hover{background:#0A5BA8;color:#fff}
.dp-iw{background:#FFFFFF;border:1px solid #E2E8F0;border-radius:12px;overflow:hidden}
.dp-iw-hd{padding:16px 20px;border-bottom:1px solid #E2E8F0;display:flex;align-items:center;justify-content:space-between}
.dp-iw-hd h3{font-family:'Bricolage Grotesque',sans-serif;font-size:14px;font-weight:600;color:#0F172A;text-transform:uppercase;letter-spacing:1.2px;margin:0}
.dp-iw-hd i{color:#0A5BA8;font-size:18px}
.dp-iw-bd{padding:12px 20px 18px}
.dp-irow{display:flex;align-items:flex-start;gap:12px;padding:10px 0;border-bottom:1px solid #F1F5F9}
.dp-irow:last-child{border-bottom:none}
.dp-irow>i{font-size:18px;color:#2693F0;flex-shrink:0;margin-top:2px}
.dp-rlbl{font-size:11px;font-weight:600;color:#64748B;text-transform:uppercase;letter-spacing:1px;margin-bottom:2px}
.dp-rval{font-size:14px;color:#0F172A;font-weight:500}
.dp-caf{background:linear-gradient(135deg,#1A3A6B 0%,#0F2545 100%);color:#fff;border-radius:12px;padding:24px;text-align:center;position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center}
.dp-caf::before{content:"";position:absolute;top:-40px;right:-40px;width:120px;height:120px;background:#2693F0;opacity:.15;border-radius:50%}
.dp-caf .dp-ci{font-size:32px;margin-bottom:10px;color:#2693F0;position:relative}
.dp-caf h4{font-family:'Bricolage Grotesque',sans-serif;font-size:18px;font-weight:600;margin-bottom:10px;position:relative;color:#fff}
.dp-caf p{font-size:13px;color:#dbeaff;margin-bottom:18px;line-height:1.6;position:relative;max-width:240px}
.dp-caf a{display:inline-flex;align-items:center;gap:8px;background:#2693F0;color:#0A1530;padding:10px 20px;border-radius:50px;font-size:13px;font-weight:700;transition:all .2s;position:relative;text-decoration:none}
.dp-caf a:hover{background:#fff;transform:translateY(-1px)}
@media(max-width:1024px){.dp-grid{grid-template-columns:1fr}.dp-sidebar{position:static}.dp-h1{font-size:36px}.dp-main{padding:30px}}
@media(max-width:640px){.dp-con{padding:0 18px}.dp-h1{font-size:28px}.dp-main{padding:22px}.dp-team-grid{grid-template-columns:1fr}}

/* ===== MODO OSCURO ===== */
[data-theme="dark"] .dp-wrap{background:#0A1426}
[data-theme="dark"] .dp-main{background:#0F1B33;border-color:#1F3050}
[data-theme="dark"] .dp-content,[data-theme="dark"] .dp-content h1,[data-theme="dark"] .dp-content h2{color:#F1F5FB}
[data-theme="dark"] .dp-content blockquote{background:#16243F;color:#9AA8C0}
[data-theme="dark"] .dp-team-card{background:#16243F;border-color:#1F3050}
[data-theme="dark"] .dp-team-card:hover{background:rgba(38,147,240,.14)}
[data-theme="dark"] .dp-team-info h5{color:#F1F5FB}
[data-theme="dark"] .dp-dpto-lbl{color:#6BB5F8;border-bottom-color:#1F3050}
[data-theme="dark"] .dp-staff-sec{border-top-color:#1F3050}
[data-theme="dark"] .dp-staff-sec>h2{color:#F1F5FB}
/* Staff (equipo) en modo oscuro: títulos de sección legibles en blanco (Guille 16/06). */
[data-theme="dark"] .dp-pg-staff .dap-staff-section-title{color:#F1F5FB}
[data-theme="dark"] .dp-pg-staff .dap-staff-section-line{background:#1F3050}
[data-theme="dark"] .dp-sf{background:#0F1B33;border-color:#1F3050}
[data-theme="dark"] .dp-sf input{color:#F1F5FB}
[data-theme="dark"] .dp-iw{background:#0F1B33;border-color:#1F3050}
[data-theme="dark"] .dp-iw-hd{border-bottom-color:#1F3050}
[data-theme="dark"] .dp-iw-hd h3{color:#F1F5FB}
[data-theme="dark"] .dp-irow{border-bottom-color:#172846}
[data-theme="dark"] .dp-rlbl{color:#9AA8C0}
[data-theme="dark"] .dp-rval{color:#F1F5FB}
