/* BootCamps por perfil: tarjetas por público con el mismo núcleo del programa. Fondo blanco, negro, rojo y gris. */
.pf { --ink: #121214; --ink-2: #3b3b40; --grey: #5f5f66; --rule: #e1e2e5; --red: #b91c1c; --soft: #fef2f2; background: #fff; color: var(--ink); flex: 1 0 auto; font-size: 16px; line-height: 1.6; }
.pf *, .pf *::before, .pf *::after { box-sizing: border-box; }
.pf h1, .pf h2, .pf h3, .pf p, .pf ul { margin: 0; }
.pf .wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.pf-hero { padding: 44px 0 30px; }
.pf-k { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.pf-k::before { content: ""; width: 44px; height: 3px; background: var(--red); }
.pf-hero h1 { margin-top: 14px; font-size: clamp(36px, 6vw, 68px); font-weight: 900; letter-spacing: -.035em; line-height: 1.02; max-width: 16ch; }
.pf-hero h1 span { color: var(--red); }
.pf-lead { margin-top: 18px; max-width: 64ch; font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); }
.pf-acciones { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pf-b { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border: 2px solid var(--red); border-radius: 10px; background: var(--red); color: #fff; font-weight: 800; text-decoration: none; }
.pf-b:hover { background: #991b1b; border-color: #991b1b; }
.pf-b.sec { background: #fff; color: var(--red); }
.pf-b.sec:hover { background: var(--soft); }
.pf-b:focus-visible, .pf-card a:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 8px 0 48px; }
.pf-card { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 100%; padding: 26px 24px 22px; border: 1px solid var(--rule); border-radius: 16px; background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.pf-card:hover { border-color: var(--red); box-shadow: 0 12px 28px #12121414; transform: translateY(-2px); }
.pf-tag { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--soft); color: var(--red); font-size: 11.5px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.pf-card h2 { font-size: 22px; font-weight: 900; letter-spacing: -.01em; margin-top: 6px; }
.pf-card p { color: var(--ink-2); }
.pf-card ul { list-style: none; padding: 0; display: grid; gap: 8px; position: relative; z-index: 1; }
.pf-card li { padding-left: 22px; position: relative; color: var(--ink-2); }
.pf-card li::before { content: ">"; position: absolute; left: 0; font-weight: 900; color: var(--red); }
.pf-ini { position: absolute; right: 14px; bottom: -14px; font-size: 92px; font-weight: 900; line-height: 1; letter-spacing: -.04em; color: #f1f2f4; pointer-events: none; }
.pf-card a { margin-top: auto; align-self: flex-start; position: relative; z-index: 1; font-weight: 800; color: var(--red); text-decoration: none; border-bottom: 2px solid transparent; }
.pf-card a:hover { border-bottom-color: var(--red); }
.pf-nota { padding: 22px 16px 48px; border-top: 1px solid var(--rule); color: var(--grey); font-size: 14.5px; }
.pf-nota a { color: var(--red); }
@media (max-width: 960px) { .pf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .pf-grid { grid-template-columns: 1fr; } .pf-ini { font-size: 72px; } }

/* Grafismos e ilustraciones (V26.11AU) */
.pf-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center; }
.pf-esquema { margin: 0; }
.pf-esquema svg { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; }
.pf-esquema figcaption { text-align: center; font-size: 13px; color: var(--grey); margin-top: 6px; }
.pf-esquema a:focus-visible circle { stroke: var(--red); stroke-width: 4; }
.pf-nodo circle { transition: fill .2s, stroke .2s; }
.pf-esquema a:hover .pf-nodo circle { fill: var(--soft); stroke: var(--red); }
.pf-datos { list-style: none; padding: 0; margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--grey); font-size: 14.5px; }
.pf-datos b { color: var(--ink); font-size: 20px; font-weight: 900; margin-right: 4px; }
.pf-card { scroll-margin-top: 90px; }
.pf-card:target { border-color: var(--red); box-shadow: 0 0 0 3px var(--soft); }
.pf-ilu { margin: -6px -4px 4px; height: 84px; border-radius: 12px; background: #f6f6f7; display: grid; place-items: center; }
.pf-ilu svg { width: 140px; height: 84px; }
.pf-h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; letter-spacing: -.02em; line-height: 1.1; }
.pf-comun { background: #f6f6f7; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 44px 0; }
.pf-dos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.pf-col { background: #fff; border: 1px solid var(--rule); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.pf-col-k { font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.pf-ruta { list-style: none; padding: 0; display: grid; gap: 10px; position: relative; }
.pf-ruta::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: linear-gradient(var(--rule), var(--red)); }
.pf-ruta li { display: flex; align-items: center; gap: 12px; font-weight: 700; position: relative; }
.pf-ruta span { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; display: grid; place-items: center; font-weight: 900; }
.pf-ruta li:last-child span { border-color: var(--red); color: var(--red); }
.pf-adapta { margin: 0; display: grid; gap: 12px; }
.pf-adapta div { padding-left: 14px; border-left: 3px solid var(--red); }
.pf-adapta dt { font-weight: 800; }
.pf-adapta dd { margin: 2px 0 0; color: var(--ink-2); font-size: 15px; }
.pf-enlace { margin-top: auto; font-weight: 800; color: var(--red); text-decoration: none; }
.pf-enlace:hover { text-decoration: underline; }
.pf-cta { padding: 44px 0 8px; }
.pf-cta-grid { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: end; border: 2px solid var(--red); border-radius: 18px; padding: 24px 28px 0; overflow: hidden; }
.pf-cta-grid img { width: 200px; height: auto; display: block; }
.pf-cta-grid > div { align-self: center; padding-bottom: 24px; }
.pf-cta-k { font-size: 14px; font-weight: 800; color: var(--red); }
.pf-cta h2 { margin-top: 6px; font-size: clamp(24px, 3vw, 32px); font-weight: 900; line-height: 1.15; }
.pf-cta-grid p:not(.pf-cta-k) { margin-top: 8px; color: var(--ink-2); max-width: 60ch; }
.pf-nota { border-top: 0; padding-top: 16px; }
@media (max-width: 900px) { .pf-hero-grid { grid-template-columns: 1fr; } .pf-esquema svg { max-width: 340px; } .pf-dos { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .pf-cta-grid { grid-template-columns: 110px 1fr; gap: 14px; padding: 18px 16px 0; } .pf-cta-grid img { width: 110px; } .pf-cta-grid p:not(.pf-cta-k) { display: none; } .pf-cta-grid .pf-acciones { flex-direction: column; } }

/* Tooltip del esquema de perfiles */
.pf-esquema { position: relative; }
.pf-tip { position: absolute; z-index: 5; width: min(280px, 92%); padding: 12px 14px; border: 1px solid var(--rule); border-top: 3px solid var(--red); border-radius: 10px; background: #fff; box-shadow: 0 12px 28px #12121424; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); pointer-events: none; display: grid; gap: 4px; }
.pf-tip[hidden] { display: none; }
.pf-tip-tag { font-size: 10.5px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.pf-tip strong { font-size: 16px; color: var(--ink); }
.pf-tip ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 2px; }
.pf-tip li { padding-left: 14px; position: relative; font-size: 12.5px; }
.pf-tip li::before { content: ">"; position: absolute; left: 0; font-weight: 900; color: var(--red); }
.pf-tip em { font-style: normal; font-size: 11.5px; color: var(--grey); margin-top: 2px; }
.pf-esquema a.activo .pf-nodo circle { fill: var(--soft); stroke: var(--red); stroke-width: 3; }
.pf-esquema a:focus { outline: none; }
