/* Perfil público (/directorio/<slug>/).
   Va dentro de .ocr y reutiliza los tokens y componentes de observatorio.css
   (botones, chips, títulos, secciones, lista de publicaciones); aquí solo está
   lo propio del perfil, con el prefijo pf-. En este sitio 1rem = 10px. */
.pf-hero { position: relative; padding: 190px 0 0; background-color: var(--ocr-navy); background-size: cover; background-position: center; color: var(--ocr-white); }
.pf-hero__shade { position: absolute; inset: 0; background:
    linear-gradient(100deg, rgba(8,42,57,.94) 0%, rgba(8,42,57,.78) 50%, rgba(8,42,57,.35) 100%),
    linear-gradient(0deg, rgba(8,42,57,.75), rgba(8,42,57,0) 60%); }
.pf-hero__inner { position: relative; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 44px; align-items: end; }
.pf-photo { width: 220px; height: 220px; margin-bottom: -56px; border-radius: 50%; overflow: hidden; background: var(--ocr-soft);
    box-shadow: 0 0 0 6px var(--ocr-white), 0 18px 40px rgba(8,42,57,.35); display: grid; place-items: center; }
.ocr .pf-photo img { width: 100%; height: 100%; object-fit: cover; }
.pf-photo__initials { font-size: 72px; font-weight: 800; color: var(--ocr-teal); }
.pf-hero__text { display: flex; flex-direction: column; gap: 12px; padding-bottom: 40px; }
.ocr .pf-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5; }
.ocr .pf-name { font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; color: var(--ocr-white); }
.pf-name__title { display: block; margin-bottom: 6px; font-size: .38em; font-weight: 600; letter-spacing: 0; opacity: .85; }
.ocr .pf-inst { font-size: 17px; font-weight: 500; line-height: 1.45; max-width: 640px; }
.pf-roles { display: flex; flex-wrap: wrap; gap: 8px; }
.ocr .pf-role { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px;
    background: rgba(255,255,255,.14); backdrop-filter: blur(4px); font-size: 13px; font-weight: 600; line-height: 1.3; text-decoration: none; }
.ocr a.pf-role:hover { background: rgba(255,255,255,.28); }
.pf-role__dot { width: 26px; height: 26px; border-radius: 50%; background: var(--ocr-white) center/70% no-repeat; flex: none; }
.pf-role--plain { padding-left: 14px !important; }
.pf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 6px; }
.pf-nets { display: flex; gap: 8px; margin-left: 4px; }
.ocr .pf-net { width: 40px; height: 40px; border-radius: 50%; background: var(--ocr-white); display: grid; place-items: center; }
.ocr .pf-net img { width: 22px; height: 22px; object-fit: contain; }
.pf-net__letter { font-size: 15px; font-weight: 800; color: var(--ocr-teal); }
.ocr a.pf-net:hover { background: var(--ocr-soft); }

.pf-bar { background: var(--ocr-white); border-bottom: 1px solid var(--ocr-line); }
.pf-bar__inner { display: flex; flex-wrap: wrap; gap: 6px 28px; padding-left: calc(var(--ocr-gutter) + 264px); min-height: 56px; align-items: center; }
.ocr .pf-bar a { font-size: 13px; font-weight: 700; color: var(--ocr-muted); text-decoration: none; padding: 18px 0; }
.ocr .pf-bar a:hover { color: var(--ocr-teal); }

.pf-about { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); gap: 56px; align-items: start; }
.ocr .pf-lead { font-size: 17px; line-height: 1.75; color: var(--ocr-ink); }
.ocr .pf-lead + .pf-lead { margin-top: 14px; }
.pf-card { padding: 28px; border-radius: 18px; background: var(--ocr-soft); }
.ocr .pf-card__title { margin-bottom: 18px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ocr-deep); }
.pf-steps { margin: 0; padding: 0; list-style: none; }
.ocr .pf-steps li { float: none; position: relative; padding: 0 0 18px 26px; font-size: 14.5px; line-height: 1.45; }
.pf-steps li::before { content: ""; position: absolute; left: 0; top: 5px; width: 11px; height: 11px; border-radius: 50%; background: var(--ocr-teal); }
.pf-steps li::after { content: ""; position: absolute; left: 5px; top: 18px; bottom: -3px; width: 1px; background: #a9c6c9; }
.pf-steps li:last-child { padding-bottom: 0; }
.pf-steps li:last-child::after { display: none; }
.pf-steps strong { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ocr-muted); }
.pf-sni { clear: both; display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-top: 20px; border-top: 1px solid #c9dcde; }
.pf-sni__badge { flex: none; width: 54px; height: 54px; border-radius: 14px; background: var(--ocr-navy); color: var(--ocr-white); display: grid; place-items: center; font-size: 15px; font-weight: 800; letter-spacing: .04em; }
.ocr .pf-sni p { font-size: 13px; line-height: 1.4; color: var(--ocr-muted); }
.ocr .pf-sni p strong { display: block; font-size: 15px; color: var(--ocr-ink); }
.pf-card .ocr-btn { margin-top: 22px; }

.pf-obs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.ocr .pf-ob { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 250px; padding: 22px; border-radius: 18px; overflow: hidden;
    background: var(--ocr-navy) center/cover; color: var(--ocr-white); text-decoration: none; transition: transform .2s; }
.pf-ob::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,42,57,.92), rgba(8,42,57,.1) 70%); }
.pf-ob > * { position: relative; }
.ocr .pf-ob:hover { transform: translateY(-4px); }
.ocr .pf-ob__logo { position: absolute; top: 18px; left: 18px; height: 52px; width: auto; }
.ocr .pf-ob__logo--circle { width: 52px; padding: 5px; border-radius: 50%; background: var(--ocr-white); object-fit: contain; }
.ocr .pf-ob__role { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; }
.ocr .pf-ob__name { font-size: 28px; font-weight: 800; line-height: 1.1; color: var(--ocr-white); }
.ocr .pf-ob__go { margin-top: 8px; font-size: 13px; font-weight: 700; }

.pf-lines { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.ocr .pf-lines li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--ocr-line); border-radius: 14px; font-size: 15px; font-weight: 600; line-height: 1.4; }
.pf-lines li::before { content: counter(linea, decimal-leading-zero); counter-increment: linea; font-size: 13px; font-weight: 800; color: var(--ocr-teal); padding-top: 2px; }
.pf-lines { counter-reset: linea; }

.pf-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.ocr .pf-filter button { padding: 7px 14px; border: 0; border-radius: 999px; background: var(--ocr-soft); color: var(--ocr-deep); font: 700 13px/1.3 'Montserrat', sans-serif; cursor: pointer; }
.ocr .pf-filter button[aria-pressed="true"] { background: var(--ocr-teal); color: var(--ocr-white); }
.ocr .pf-pubs li { grid-template-columns: 52px minmax(0, 1fr) auto; }
.ocr .pf-pubs__title { font-weight: 600; }
.ocr .pf-pubs .ocr-chip, .ocr .pf-filter button[aria-pressed="false"] { background: var(--ocr-white); }
.ocr .pf-pubs__role { display: block; font-size: 12.5px; font-weight: 500; color: var(--ocr-muted); }

.pf-contact { background: var(--ocr-navy); color: var(--ocr-white); }
.pf-contact__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.ocr .pf-contact h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; color: var(--ocr-white); margin-bottom: 8px; }
.ocr .pf-contact p { opacity: .85; }
.ocr .pf-updated { padding: 18px 0 28px; font-size: 12.5px; color: var(--ocr-muted); text-align: right; }

@media (max-width: 860px) {
    .pf-hero { padding-top: 150px; }
    .pf-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .pf-photo { width: 132px; height: 132px; margin-bottom: 0; box-shadow: 0 0 0 4px var(--ocr-white); }
    .pf-photo__initials { font-size: 44px; }
    .pf-hero__text { padding-bottom: 32px; }
    .pf-bar__inner { padding-left: var(--ocr-gutter); gap: 0 20px; flex-wrap: nowrap; overflow-x: auto; }
    .ocr .pf-bar a { white-space: nowrap; }
    .pf-about { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .ocr .pf-pubs li { grid-template-columns: 44px minmax(0, 1fr); }
    .ocr .pf-pubs li > :last-child { grid-column: 2; justify-self: start; }
}
