/* Extensión: catálogo y páginas de programas. */
.ext-navigation { display:flex; justify-content:center; flex-wrap:wrap; gap:8px; padding:20px 16px; border-bottom:1px solid #e0e6ed; background:#fff; }
.ext-navigation a { padding:12px 24px; color:#274771; border-radius:10px; font-weight:700; text-decoration:none; }
.ext-navigation a:hover { background:#eef3f8; }
.ext-navigation a.is-active { background:#274771; color:#fff; }
.ext-section-heading { margin:24px 0 28px; background:transparent; }
.ext-section-heading h1, .ext-section-heading h2 { color:#274771; font-weight:800; margin:8px 0; }
.ext-section-heading h1 { font-size:clamp(1.8rem, 4vw, 2.5rem); }
.ext-eyebrow { display:block; font-size:.8rem; font-weight:700; letter-spacing:.09em; text-transform:uppercase; color:#52672c; }
.ext-program-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; padding-bottom:36px; }
.ext-program-card { display:flex; flex-direction:column; border:1px solid #e1e7ef; border-radius:18px; overflow:hidden; background:#fff; box-shadow:0 6px 24px #2747710d; }
.ext-program-card__image { aspect-ratio:4/5; display:flex; align-items:center; justify-content:center; background:#edf2f7; color:#274771; }
.ext-program-card__image img { width:100%; height:100%; object-fit:contain; }
.ext-program-card__image > i { font-size:4rem; }
.ext-program-card__body { padding:24px; display:flex; flex-direction:column; flex:1; gap:22px; }
.ext-program-card__body h2 { color:#274771; font-size:1.2rem; font-weight:700; line-height:1.45; margin:0; }
.ext-button { display:inline-flex; justify-content:center; align-items:center; gap:16px; padding:12px 20px; border-radius:10px; background:#274771; color:#fff; font-weight:700; text-decoration:none; min-height:46px; }
.ext-program-card .ext-button { margin-top:auto; }
.ext-button:hover { background:#1b3455; color:#fff; text-decoration:none; }
.ext-button--light { background:#fff; color:#274771; }
.ext-empty { grid-column:1/-1; padding:32px; background:#f2f5f9; border-radius:16px; }
.ext-detail { color:#25364b; }
.ext-detail, .ext-program-grid, .ext-navigation, .ext-section-heading { font-family:'Ancizar Sans','Segoe UI',Arial,sans-serif; }
.ext-detail #floatingMenu { top:auto; left:auto; right:20px; bottom:24px; transform:none; }
.ext-detail h2 { color:#274771; font-size:clamp(1.5rem, 3vw, 2rem); font-weight:800; }
.ext-detail h3 { color:#274771; font-size:1.2rem; font-weight:700; line-height:1.4; }
.ext-hero { background:#eef3f8; }
.ext-hero picture, .ext-hero picture img { display:block; width:100%; height:auto; }
.ext-facts { display:flex; flex-wrap:wrap; background:#274771; color:#fff; margin:0; padding:0 max(20px, calc((100% - 1240px)/2)); }
.ext-facts > div { flex:1 1 230px; padding:25px 24px; border-right:1px solid #ffffff30; }
.ext-facts > div:last-child { border-right:0; }
.ext-facts dt { display:flex; align-items:center; gap:12px; margin-bottom:8px; font-weight:400; color:#e0eafa; }
.ext-facts dt i { font-size:1.6rem; min-width:28px; }
.ext-facts dd { margin:0; font-size:1.05rem; font-weight:600; line-height:1.55; overflow-wrap:anywhere; }
.ext-detail__container { max-width:1240px; padding:0 24px 64px; margin:auto; }
.ext-breadcrumb { display:flex; flex-wrap:wrap; gap:10px; font-size:.9rem; padding:28px 0; color:#576478; }
.ext-breadcrumb a { color:#274771; text-decoration:underline; }
.ext-content-layout { display:grid; grid-template-columns:250px minmax(0,1fr); gap:56px; margin-top:24px; }
.ext-side-nav { position:sticky; top:24px; align-self:start; padding:10px; border:1px solid #e0e7f0; background:#f5f7fa; border-radius:16px; }
.ext-side-nav a { display:flex; justify-content:space-between; align-items:center; gap:16px; color:#274771; padding:16px; border-radius:10px; font-weight:600; text-decoration:none; }
.ext-side-nav a:hover, .ext-side-nav a:focus { background:#274771; color:#fff; }
.ext-content-section { scroll-margin-top:140px; margin-bottom:40px; }
.ext-content-section:target { border-left:3px solid #94b43b; padding-left:20px; }
.ext-prose { font-size:1.05rem; line-height:1.8; overflow-wrap:anywhere; }
.ext-prose p { font-size:inherit; line-height:inherit; color:inherit; margin:0 0 16px; }
.ext-section { margin-top:56px; }
.ext-requirements { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); gap:2px; border-radius:20px; overflow:hidden; background:#dbe4ee; border:1px solid #dbe4ee; }
.ext-requirements article { background:#eff4f8; padding:32px 28px; }
.ext-requirements i { font-size:2rem; color:#526c26; margin-bottom:20px; }
.ext-enrollment { padding:0; background:#fff; }
.ext-enrollment > h2 { margin-bottom:60px; }
.ext-steps { position:relative; list-style:none; padding:0; margin:0; }
.ext-steps::before { content:''; position:absolute; top:90px; bottom:90px; left:50%; width:2px; transform:translateX(-50%); background:#d6d6d6; }
.ext-steps li { position:relative; display:grid; grid-template-columns:minmax(0,1fr) 118px minmax(0,1fr); column-gap:40px; align-items:center; min-height:200px; }
.ext-step-number { grid-column:2; grid-row:1; z-index:1; display:flex; align-items:center; justify-content:center; width:118px; height:118px; border-radius:50%; background:#94B43B; color:#273f50; font-size:48px; font-weight:800; box-shadow:0 4px 8px #0000001a; }
.ext-step-card { grid-column:3; grid-row:1; position:relative; padding:48px 26px 26px; border:1px solid #ddd; border-radius:14px; background:#fff; box-shadow:0 3px 5px #00000018; }
.ext-step-card::before { content:''; position:absolute; width:40px; height:2px; background:#d6d6d6; right:100%; top:50%; }
.ext-steps li:nth-child(even) .ext-step-card { grid-column:1; }
.ext-steps li:nth-child(even) .ext-step-card::before { right:auto; left:100%; }
.ext-detail .ext-step-card h3 { font-size:28px; font-weight:800; font-style:italic; margin:6px 0 20px; }
.ext-step-card p { font-size:22px; line-height:1.4; color:#273f50; margin:0; overflow-wrap:anywhere; }
.ext-step-card a { color:#5739d5; text-decoration:none; }
.ext-step-card a:hover { text-decoration:underline; }
.ext-step-reveal { opacity:0; transform:translateY(32px); transition:opacity .65s ease, transform .65s ease; }
.ext-step-reveal.is-visible { opacity:1; transform:translateY(0); }
.ext-company { padding:72px 24px; text-align:center; background:linear-gradient(100deg,#274771e8,#274771b8),url('../images/single-meeting.jpg') center/cover; }
.ext-detail .ext-company h2 { color:#fff; font-size:clamp(2rem,4.5vw,3.8rem); line-height:1.2; margin:0 auto 36px; max-width:1200px; }
.ext-company a { display:inline-flex; align-items:center; justify-content:center; gap:14px; padding:16px 32px; background:#94B43B; color:#152b40; font-size:1.5rem; font-weight:800; border-radius:10px; text-decoration:none; }
.ext-company a:hover { background:#a3c44c; color:#152b40; }
@media(prefers-reduced-motion:reduce) {
  .ext-step-reveal { opacity:1; transform:none; transition:none; }
}
.ext-faq details { border-bottom:1px solid #dce3ec; }
.ext-faq summary { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:24px 0; cursor:pointer; color:#274771; font-size:1.15rem; font-weight:700; list-style:none; }
.ext-faq summary::-webkit-details-marker { display:none; }
.ext-faq-plus { flex:none; display:grid; place-items:center; width:30px; height:30px; border-radius:50%; background:#edf2f7; font-size:1.4rem; }
.ext-faq details[open] .ext-faq-plus { transform:rotate(45deg); }
.ext-faq details > .ext-prose { padding:0 40px 16px 0; }
.ext-detail a:focus-visible, .ext-navigation a:focus-visible, .ext-button:focus-visible, .ext-faq summary:focus-visible { outline:3px solid #b37e13; outline-offset:4px; }
@media(max-width:991px) {
  .ext-program-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ext-content-layout { grid-template-columns:200px minmax(0,1fr); gap:28px; }
}
@media(max-width:767px) {
  .ext-content-layout { grid-template-columns:1fr; gap:28px; }
  .ext-side-nav { position:static; }
  .ext-detail__container { padding-left:20px; padding-right:20px; }
  .ext-facts { display:block; padding:0; }
  .ext-facts > div { padding:20px 24px; border-right:0; border-bottom:1px solid #ffffff40; }
  .ext-facts > div:last-child { border-bottom:0; }
  .ext-enrollment > h2 { margin-bottom:28px; }
  .ext-steps::before { left:30px; top:30px; bottom:30px; }
  .ext-steps li { grid-template-columns:60px minmax(0,1fr); column-gap:16px; min-height:0; margin-bottom:24px; align-items:start; }
  .ext-step-number { grid-column:1; width:60px; height:60px; font-size:30px; margin-top:20px; }
  .ext-step-card, .ext-steps li:nth-child(even) .ext-step-card { grid-column:2; padding:22px 18px; }
  .ext-step-card::before, .ext-steps li:nth-child(even) .ext-step-card::before { width:16px; top:49px; right:100%; left:auto; }
  .ext-detail .ext-step-card h3 { font-size:23px; margin:0 0 16px; }
  .ext-step-card p { font-size:18px; }
  .ext-section { margin-top:36px; }
}
@media(max-width:575px) {
  .ext-program-grid { grid-template-columns:1fr; }
  .ext-navigation { gap:4px; padding:12px 8px; }
  .ext-navigation a { padding:12px; font-size:.9rem; }
}
