/* Perfil del instructor, estilo LinkedIn (portada, foto circular, datos). Se usa en la portada y en las fichas de curso. */
.prof-section{background:#f2f7fa}
.prof-head{max-width:1000px;margin:0 auto 28px}
.prof-head h2{font-size:clamp(30px,4vw,46px);line-height:1.15;margin:12px 0 0}
.prof-card{max-width:1000px;margin:0 auto;background:#fff;border:1px solid #d9e3ea;border-radius:16px;overflow:hidden;box-shadow:0 10px 34px rgba(9,35,62,.10);color:#23384e;text-align:left}
/* Portada */
.prof-cover{position:relative;height:190px;overflow:hidden;background:linear-gradient(120deg,#09233e 0%,#0d4769 58%,#0f8fa3 135%)}
.prof-cover::before{content:"";position:absolute;right:-60px;top:-90px;width:340px;height:340px;border-radius:50%;background:radial-gradient(circle,rgba(126,232,231,.30),rgba(126,232,231,0) 68%)}
.prof-cover::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(135deg,rgba(255,255,255,.045) 0 2px,transparent 2px 22px)}
.prof-cover-tag{position:absolute;z-index:1;right:22px;bottom:16px;font-size:11px;font-weight:800;letter-spacing:2px;color:#7ee8e7;text-transform:uppercase}
/* Foto */
.prof-body{position:relative;padding:0 36px 34px}
.prof-photo-wrap{position:relative;width:168px;height:168px;margin-top:-84px;border-radius:50%;border:5px solid #fff;background:#dfe7ee;overflow:hidden;box-shadow:0 4px 16px rgba(9,35,62,.22)}
.prof-photo-wrap svg,.prof-photo{position:absolute;left:0;top:0;width:100%;height:100%;display:block}
.prof-photo{object-fit:cover}
/* Nombre */
.prof-honor{display:block;font-size:13px;letter-spacing:2px;text-transform:uppercase;color:#0da8bb;font-weight:800;margin:0 0 4px}
.prof-name{margin:16px 0 0;font-size:clamp(26px,3.4vw,36px);line-height:1.2;color:#092a48}
.prof-sub{margin:6px 0 0;font-size:17px;font-weight:700;color:#1b5f80}
.prof-org{margin:4px 0 0;font-size:14px;color:#5e7484}
/* Acciones */
.prof-cta{display:flex;flex-wrap:wrap;gap:10px 12px;align-items:center;margin-top:20px}
.prof-cta p{margin:0 4px 0 0;font-size:14px;color:#5e7484}
.prof-btn{display:inline-block;background:#00a99f;color:#fff!important;text-decoration:none;font-weight:800;font-size:15px;line-height:1.3;white-space:nowrap;padding:11px 22px;border-radius:999px;border:2px solid #00a99f}
.prof-btn:hover,.prof-btn:focus-visible{background:#008f87;border-color:#008f87}
.prof-btn.ghost{background:#fff;color:#0b4a6b!important;border-color:#0b4a6b}
.prof-btn.ghost:hover,.prof-btn.ghost:focus-visible{background:#eaf4f8}
/* Cifras */
.prof-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:26px}
.prof-stat{background:#f3f8fb;border:1px solid #dbe8ef;border-radius:12px;padding:16px 18px}
.prof-stat b{display:block;font-size:26px;line-height:1.2;color:#0b4a6b}
.prof-stat span{display:block;font-size:14px;line-height:1.5;color:#3b5368;margin-top:4px}
/* Contenido */
.prof-block{margin-top:26px;padding-top:22px;border-top:1px solid #e3ecf1}
.prof-block h4{margin:0 0 10px;font-size:18px;color:#092a48}
.prof-block p{margin:0 0 12px;line-height:1.75;color:#23384e}
.prof-tags{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.prof-tags li{background:#f3f8fb;border:1px solid #cfe3ec;border-radius:999px;padding:7px 14px;font-size:14px;line-height:1.4;color:#17415d;margin:0}
section.panel.prof-panel{padding:26px 22px}
section.panel.prof-panel h2{margin-bottom:16px}
@media(max-width:700px){.prof-cover{height:130px}.prof-body{padding:0 20px 26px}.prof-photo-wrap{width:128px;height:128px;margin-top:-64px}.prof-stats{grid-template-columns:1fr}.prof-cover-tag{display:none}.prof-btn{padding:10px 18px}}

/* Ventana flotante (dialog) con el perfil completo */
.prof-lock{overflow:hidden}
.prof-open{cursor:pointer;font-family:inherit}
dialog.prof-dialog{border:0;padding:0;border-radius:16px;width:min(680px,calc(100vw - 28px));max-height:calc(100vh - 40px);overflow:hidden;box-shadow:0 24px 70px rgba(5,20,38,.45);color:#23384e;text-align:left;background:#fff}
dialog.prof-dialog::backdrop{background:rgba(5,20,38,.62)}
dialog.prof-dialog.prof-dialog-inline{position:static;margin:20px auto;box-shadow:none;border:1px solid #d9e3ea}
.prof-dlg-inner{display:flex;flex-direction:column;max-height:calc(100vh - 40px)}
.prof-dlg-head{position:relative;background:linear-gradient(120deg,#09233e 0%,#0d4769 58%,#0f8fa3 135%);color:#fff;padding:26px 62px 22px 26px}
.prof-dlg-head .prof-honor{color:#7ee8e7;margin:0 0 4px}
.prof-dlg-head h3{margin:0;font-size:clamp(22px,3vw,28px);line-height:1.2;color:#fff}
.prof-dlg-head p{margin:6px 0 0;color:#e4f4fc;font-weight:700}
.prof-close{position:absolute;right:12px;top:12px;width:42px;height:42px;border-radius:50%;border:0;background:rgba(255,255,255,.18);color:#fff;font-size:22px;line-height:1;cursor:pointer}
.prof-close:hover,.prof-close:focus-visible{background:rgba(255,255,255,.32)}
.prof-dlg-body{padding:22px 26px 6px;overflow:auto}
.prof-dlg-body .prof-stats{margin-top:0}
.prof-dlg-foot{padding:16px 26px 22px;border-top:1px solid #e3ecf1;display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center}
.prof-dlg-foot p{margin:0;font-size:14px;color:#5e7484}
@media(max-width:700px){.prof-dlg-head{padding:22px 58px 18px 20px}.prof-dlg-body{padding:18px 20px 4px}.prof-dlg-foot{padding:14px 20px 20px}}