
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --rose-50:  #fff0f3;
  --rose-100: #ffd6df;
  --rose-200: #ffadc0;
  --rose-400: #f472a0;
  --rose-500: #e05585;
  --rose-600: #be3a6a;
  --blue-50:  #eff6ff;
  --blue-100: #dbeafe;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --font: 'Plus Jakarta Sans', sans-serif;
  --r: 14px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.07);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.09);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--white); color: var(--slate-800); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ── NAV LOGO ── */
.nav-home { display: flex; align-items: center; gap: 7px; text-decoration: none; padding: 0 4px; }
.nav-home-img { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; flex-shrink: 0; }
.nav-home-text { font-size: .8rem; font-weight: 800; color: #1e293b; white-space: nowrap; }
.nav-home-text span { color: var(--rose-500); }
.nav-home-sep { width: 1px; height: 20px; background: #d1d9e4; flex-shrink: 0; margin: 0 2px; }

/* ── LOGO OVERRIDES (programas — smaller than index hero) ── */
.hli-ep     { width: 56px !important; height: 56px !important; }
.hli-aniv   { width: 56px !important; height: 56px !important; }
.hli-campus { width: 130px !important; height: 42px !important; }
.hero-logo-sep { height: 32px !important; margin: 0 12px !important; }
@media (max-width: 700px) {
  .hli-ep, .hli-aniv { width: 44px !important; height: 44px !important; }
  .hli-campus { width: 100px !important; height: 34px !important; }
  .hero-logo-sep { margin: 0 8px !important; height: 24px !important; }
}

/* ── HERO ── */
/* Reset index.css hero overrides */
.hero-video-bg, .hero-topbar, .hero-play-btn { display: none !important; }
.hero-logos { position: static; padding: 0; }
.hero-content { position: static; padding: 0; margin-top: 0; }

.hero {
  background: linear-gradient(135deg, #1a0a12 0%, #3d1a28 40%, #6b2d44 100%);
  position: relative; overflow: hidden; padding: calc(72px + 3rem) 0 4rem;
  min-height: unset; display: block; flex-direction: unset;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(224,85,133,0.25) 0%, transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 2.5rem; align-items: center; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.9); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: .3rem .85rem; border-radius: 50px; margin-bottom: 1.2rem; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; color: #fff; line-height: 1.12; margin-bottom: 1rem; }
.hero h1 span { color: var(--rose-400); }
.hero-desc { color: rgba(255,255,255,0.75); font-size: 1rem; max-width: 560px; margin-bottom: 2rem; }
.hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; }
.hero-stat { color: #fff; }
.hero-stat-num { font-size: 1.5rem; font-weight: 800; color: var(--rose-400); }
.hero-stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.65); font-weight: 500; }
.hero-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(12px); border-radius: 20px; padding: 1.5rem 1.8rem;
  color: #fff; min-width: 220px;
}
.hero-card-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 1rem; }
.hero-card-row { display: flex; align-items: center; gap: 10px; margin-bottom: 0.75rem; font-size: 0.88rem; }
.hero-card-icon { width: 32px; height: 32px; background: rgba(224,85,133,0.2); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.hero-card-row strong { display: block; font-weight: 700; font-size: 0.88rem; }
.hero-card-row span { font-size: 0.75rem; color: rgba(255,255,255,0.6); }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 2rem; }
.btn-primary { background: var(--rose-500); color: #fff; font-weight: 700; font-size: 0.9rem; padding: .75rem 1.6rem; border-radius: 50px; transition: background .18s, transform .18s; display: inline-flex; align-items: center; gap: 6px; }
.btn-primary:hover { background: var(--rose-600); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; font-weight: 600; font-size: 0.9rem; padding: .75rem 1.6rem; border-radius: 50px; border: 1px solid rgba(255,255,255,0.25); transition: background .18s; }
.btn-ghost:hover { background: rgba(255,255,255,0.18); }
/* ── Mobile hero pills ── */
.hero-mob-pills {
  display: none;
  flex-wrap: wrap;
  gap: .45rem;
  margin: .9rem 0 1.4rem;
}
.hero-mob-pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50px;
  padding: .4rem .9rem .4rem .55rem;
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  line-height: 1;
}
.hmp-icon { font-size: 1rem; line-height: 1; flex-shrink: 0; }
.hmp-text { white-space: nowrap; }

@media(max-width:768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .hero-stats { gap: 1.2rem; }
  .hero-mob-pills { display: flex; }
  body { padding-bottom: 70px; }
}

/* ── CONTENT LAYOUT ── */
.content-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; padding: 3.5rem 0 4rem; align-items: start; }
@media(max-width:900px) { .content-wrap { grid-template-columns: 1fr; } }

/* ── SECTIONS ── */
.section { margin-bottom: 3rem; }
.section-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: .28rem .8rem; border-radius: 50px; background: var(--rose-50); color: var(--rose-500); margin-bottom: 0.7rem; }
.section-title { font-size: 1.5rem; font-weight: 800; color: var(--slate-900); margin-bottom: 0.5rem; }
.section-sub { color: var(--slate-600); font-size: 0.93rem; margin-bottom: 1.5rem; }

/* Objetivo */
.objetivo-box { background: var(--slate-50); border-left: 4px solid var(--rose-400); border-radius: 0 14px 14px 0; padding: 1.4rem 1.6rem; color: var(--slate-700); font-size: 0.93rem; line-height: 1.75; text-align: justify; }

/* Módulos */
/* ── MÓDULOS ACORDEÓN V2 ── */
.mod-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: #f8fafc;
  border: 1.5px solid #e8ecf2;
  border-radius: 20px;
  padding: 12px;
}
@media (max-width: 720px) { .mod-list { grid-template-columns: 1fr; } }

.mod-item {
  border-radius: 18px; background: #fff;
  border: 1.5px solid #e8ecf2; overflow: hidden;
  position: relative;
  transition: border-color .22s, box-shadow .22s, transform .22s;
}
/* Barra de acento izquierda */
.mod-item::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, #e05585 0%, #f472b6 100%);
  opacity: 0; transition: opacity .22s;
}
.mod-item:hover { border-color: #fda4af; box-shadow: 0 4px 18px rgba(224,85,133,.08); transform: translateY(-1px); }
.mod-item:hover::before { opacity: 1; }
.mod-item.open {
  border-color: #e05585;
  box-shadow: 0 8px 32px rgba(224,85,133,.13);
  transform: translateY(-1px);
  grid-column: 1 / -1;
}
.mod-item.open::before { opacity: 1; }

.mod-trigger {
  display: flex; align-items: center; gap: 16px;
  padding: 1.1rem 1.3rem 1.1rem 1.6rem;
  width: 100%; cursor: pointer; background: none; border: none;
  text-align: left; font-family: var(--font);
  transition: background .22s;
}
.mod-item.open .mod-trigger {
  background: linear-gradient(100deg, rgba(255,240,243,.75) 0%, rgba(255,255,255,0) 60%);
}

/* Badge de número */
.mod-num-badge {
  width: 58px; height: 54px; border-radius: 14px; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  background: #f8fafc; border: 1.5px solid #e2e8f0;
  transition: background .22s, border-color .22s, box-shadow .22s;
}
.mod-num-val {
  font-size: 1.15rem; font-weight: 800; color: #1e293b;
  line-height: 1; transition: color .22s;
}
.mod-num-label {
  font-size: .55rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: #94a3b8; line-height: 1;
  transition: color .22s;
}
.mod-item.open .mod-num-badge {
  background: linear-gradient(135deg, #e05585 0%, #f472b6 100%);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(224,85,133,.35);
}
.mod-item.open .mod-num-label { color: rgba(255,255,255,.75); }
.mod-item.open .mod-num-val   { color: #fff; }

.mod-info { flex: 1; min-width: 0; }
.mod-name {
  font-size: .91rem; font-weight: 700; color: #0f172a;
  line-height: 1.35; margin-bottom: 6px;
}
.mod-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

.mod-cert-pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .67rem; font-weight: 800; color: #fff;
  background: linear-gradient(90deg, #3b82f6, #6366f1);
  border-radius: 50px; padding: 2px 10px;
  box-shadow: 0 2px 8px rgba(59,130,246,.28);
}

/* Flecha */
.mod-arrow {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #f1f5f9; border: 1.5px solid #e2e8f0;
  transition: transform .3s cubic-bezier(.4,0,.2,1), background .22s, border-color .22s;
}
.mod-arrow svg { stroke: #94a3b8; fill: none; width: 14px; height: 14px; flex-shrink: 0; transition: stroke .22s; }
.mod-item.open .mod-arrow {
  transform: rotate(180deg);
  background: linear-gradient(135deg, #e05585, #f472b6);
  border-color: transparent;
}
.mod-item.open .mod-arrow svg { stroke: #fff; }

/* Cuerpo animado con CSS grid trick */
.mod-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s cubic-bezier(.4,0,.2,1); }
.mod-item.open .mod-body { grid-template-rows: 1fr; }
.mod-body-inner { overflow: hidden; }
.mod-subtopics-wrap {
  padding: 1rem 1.3rem 1.3rem 1.6rem;
  border-top: 1px solid rgba(224,85,133,.12);
  background: linear-gradient(180deg, #fff5f7 0%, #fff 50%);
}

/* Chips de subtemas */
.mod-subtopics { display: flex; flex-wrap: wrap; gap: 7px; }
.mod-sub {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .76rem; font-weight: 500; color: #374151;
  background: #fff; border: 1.5px solid #e5e7eb;
  border-radius: 50px; padding: 5px 13px;
  transition: border-color .15s, color .15s, background .15s, box-shadow .15s;
  cursor: default;
}
.mod-sub:hover {
  border-color: #fda4af; color: #be3a6a;
  background: #fff0f3; box-shadow: 0 2px 8px rgba(224,85,133,.1);
}
.mod-sub-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #e05585, #f472b6);
}

@media (max-width: 600px) {
  .mod-trigger { padding: .9rem 1rem .9rem 1.2rem; gap: 12px; }
  .mod-num-badge { width: 50px; height: 48px; border-radius: 11px; }
  .mod-num-val { font-size: 1rem; }
  .mod-num-label { font-size: .5rem; }
}

/* Mid-cert banner */
.mid-banner { background: linear-gradient(135deg, var(--rose-50), #fff0f8); border: 1px solid var(--rose-200); border-radius: 16px; padding: 1.4rem 1.6rem; margin: 1rem 0 1.5rem; display: flex; gap: 14px; align-items: center; }
.mid-banner-icon { font-size: 2rem; flex-shrink: 0; }
.mid-banner-title { font-weight: 800; font-size: 0.95rem; color: var(--rose-600); }
.mid-banner-desc { font-size: 0.83rem; color: var(--slate-600); margin-top: 2px; }

/* Certifications */
.certs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media(max-width:600px) { .certs-grid { grid-template-columns: 1fr; } }
.cert-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: 16px; padding: 1.3rem; transition: box-shadow .2s, border-color .2s; }
.cert-card:hover { box-shadow: var(--shadow-md); border-color: var(--rose-400); }
.cert-badge { display: inline-block; font-size: 0.7rem; font-weight: 800; background: var(--rose-500); color: #fff; border-radius: 6px; padding: .2rem .55rem; margin-bottom: 8px; letter-spacing: 0.04em; }
.cert-title { font-weight: 700; font-size: 0.88rem; color: var(--slate-800); line-height: 1.4; margin-bottom: 6px; }
.cert-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; font-size: 0.75rem; color: var(--slate-400); }
.cert-price { font-weight: 700; color: var(--slate-700); font-size: 0.82rem; }
.cert-valid { background: #f0fdf4; color: #166534; font-weight: 600; padding: .15rem .5rem; border-radius: 20px; font-size: 0.7rem; }
.cert-note { font-size: 0.75rem; color: var(--slate-500); background: var(--slate-50); border-radius: 10px; padding: .8rem 1rem; margin-top: 1rem; }

/* Promociones */
.promos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media(max-width:700px) { .promos-grid { grid-template-columns: 1fr; } }
.promo-card { border-radius: 16px; padding: 1.4rem; border: 1.5px solid transparent; position: relative; }
.promo-card.rose { background: linear-gradient(135deg, #fff0f3, #fff8fa); border-color: var(--rose-200); }
.promo-card.blue { background: linear-gradient(135deg, var(--blue-50), #f0f7ff); border-color: var(--blue-100); }
.promo-card.green { background: linear-gradient(135deg, #f0fdf4, #f7fff9); border-color: #bbf7d0; }
.promo-icon { font-size: 1.8rem; margin-bottom: 0.7rem; }
.promo-name { font-weight: 800; font-size: 0.92rem; color: var(--slate-800); margin-bottom: 6px; }
.promo-desc { font-size: 0.81rem; color: var(--slate-600); line-height: 1.6; }
.promo-note { font-size: 0.72rem; color: var(--slate-400); margin-top: 8px; font-style: italic; }
.promo-footer { font-size: 0.72rem; color: var(--slate-400); margin-top: 1rem; font-style: italic; text-align: center; }

/* Documentos */
.docs-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media(max-width:600px) { .docs-list { grid-template-columns: 1fr; } }
.doc-item { display: flex; align-items: flex-start; gap: 10px; background: var(--slate-50); border-radius: 12px; padding: .85rem 1rem; font-size: 0.87rem; font-weight: 500; color: var(--slate-700); }
.doc-icon { color: var(--rose-500); font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.doc-note { font-size: 0.75rem; color: var(--slate-400); margin-top: 3px; font-weight: 400; }

/* Proceso */
.steps { display: flex; flex-direction: column; gap: 0; position: relative; }
.steps::before { content: ''; position: absolute; left: 22px; top: 24px; bottom: 24px; width: 2px; background: var(--slate-200); }
.step { display: flex; gap: 16px; position: relative; padding-bottom: 1.5rem; }
.step:last-child { padding-bottom: 0; }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--rose-500); color: #fff; font-weight: 800; font-size: 1rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; z-index: 1; box-shadow: 0 0 0 4px var(--rose-50); }
.step-body { padding-top: 10px; }
.step-title { font-weight: 800; font-size: 0.95rem; color: var(--slate-900); margin-bottom: 5px; }
.step-desc { font-size: 0.85rem; color: var(--slate-600); line-height: 1.65; }
.step-desc ul { padding-left: 1.2rem; margin-top: 6px; }
.step-desc li { margin-bottom: 3px; }
.step-alert { background: #fef9c3; border: 1px solid #fde047; border-radius: 10px; padding: .7rem 1rem; margin-top: 8px; font-size: 0.82rem; color: #713f12; font-weight: 600; }

/* ── SIDEBAR ── */
.sidebar { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 16px; }
.sidebar-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); order: 1; }
proximas-inc { order: 2; }
.sidebar-card-header { background: linear-gradient(135deg, var(--rose-500), var(--rose-600)); padding: 1.2rem 1.4rem; }
.sidebar-card-header h3 { color: #fff; font-size: 1rem; font-weight: 800; margin-bottom: 2px; }
.sidebar-card-header p { color: rgba(255,255,255,0.8); font-size: 0.78rem; }
.sidebar-card-body { padding: 1.2rem 1.4rem; }
.sidebar-row { display: flex; align-items: center; gap: 10px; padding: .6rem 0; border-bottom: 1px solid var(--slate-100); font-size: 0.85rem; }
.sidebar-row:last-child { border-bottom: none; }
.sidebar-row-icon { width: 32px; height: 32px; background: var(--rose-50); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.sidebar-row strong { display: block; font-weight: 700; font-size: 0.85rem; color: var(--slate-800); }
.sidebar-row span { font-size: 0.75rem; color: var(--slate-400); }
.sidebar-cta { display: block; background: var(--rose-500); color: #fff; font-weight: 700; font-size: 0.9rem; text-align: center; padding: .85rem; border-radius: 12px; margin-top: 1rem; transition: background .18s; }
.sidebar-cta:hover { background: var(--rose-600); }
.sidebar-wa { display: flex; align-items: center; justify-content: center; gap: 8px; background: #25d366; color: #fff; font-weight: 700; font-size: 0.88rem; padding: .75rem; border-radius: 12px; margin-top: 10px; transition: opacity .18s; }
.sidebar-wa svg { width: 18px; height: 18px; fill: #fff; }
.sidebar-wa:hover { opacity: .9; }
.sidebar-pdf { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--slate-50); color: var(--slate-700); font-weight: 600; font-size: 0.85rem; padding: .7rem; border-radius: 12px; margin-top: 8px; border: 1.5px solid var(--slate-200); transition: border-color .18s, background .18s; }
.sidebar-pdf:hover { border-color: var(--rose-300); background: var(--rose-50); color: var(--rose-600); }
.sidebar-pdf svg { width: 15px; height: 15px; flex-shrink: 0; }
.sidebar-contact { padding: 1.2rem 1.4rem; font-size: 0.82rem; color: var(--slate-600); }
.sidebar-contact a { color: var(--rose-500); font-weight: 600; }
.sidebar-contact p { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }

/* ── Sidebar: Próximos inicios ── */
.sidebar-prox { background: #fff; border: 1px solid var(--slate-200); border-radius: 16px; padding: 1rem 1.1rem; margin-bottom: .9rem; }
.sidebar-prox-label { font-size: .67rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--slate-400); margin-bottom: .7rem; }
.sidebar-prox-item { display: flex; align-items: center; gap: .7rem; padding: .55rem 0; border-bottom: 1px solid var(--slate-100); text-decoration: none; color: inherit; transition: opacity .15s; }
.sidebar-prox-item:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-prox-item:hover { opacity: .75; }
.spi-date { min-width: 38px; text-align: center; background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 8px; padding: .3rem .35rem; font-size: .62rem; font-weight: 700; color: var(--slate-500); line-height: 1.3; flex-shrink: 0; }
.spi-date span { font-size: 1.05rem; font-weight: 900; color: var(--slate-800); display: block; line-height: 1; }
.spi-info { min-width: 0; }
.spi-name { font-size: .77rem; font-weight: 700; color: var(--slate-800); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spi-tag { display: flex; align-items: center; gap: 5px; font-size: .68rem; color: var(--slate-500); margin-top: 2px; }
.spi-tag span { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

//* ── Sidebar: Horario de atención ── */
.sidebar-horario { background: #fff; border: 1px solid var(--slate-200); border-radius: 16px; padding: 1rem 1.1rem; order: 999; }
.sidebar-horario-title { font-size: .67rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--slate-400); margin-bottom: .75rem; }
.sidebar-horario-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.sidebar-horario-card { background: var(--rose-50); border: 1px solid var(--rose-100); border-radius: 10px; padding: .65rem .75rem; }
.shc-day { font-size: .65rem; font-weight: 800; text-transform: uppercase; color: var(--rose-500); letter-spacing: .05em; margin-bottom: .3rem; }
.shc-time { font-size: .95rem; font-weight: 800; color: var(--slate-800); }

/* Avalado */
.sidebar-avala { background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 16px; padding: 1.1rem 1.2rem; font-size: 0.82rem; text-align: center; color: var(--slate-600); order: 3; }
.sidebar-avala strong { display: block; color: var(--slate-900); font-size: 0.88rem; margin-bottom: 4px; }
.sidebar-avala .sep-badge { display: inline-block; background: var(--rose-500); color: #fff; font-weight: 700; font-size: 0.7rem; padding: .2rem .55rem; border-radius: 6px; margin-top: 6px; }
.sidebar-avala--left { text-align: left; }
.sidebar-avala--left strong { margin-bottom: 10px; }
.sidebar-avala-sub { font-size: .72rem; color: var(--slate-400); margin-bottom: 10px; }
.nota-disclaimer { font-size: .75rem; color: var(--slate-400); margin-top: .5rem; }
.text-muted-xs { font-size: .72rem; color: var(--slate-400); }


/* WhatsApp float */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 999; width: 56px; height: 56px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,.4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
@media (max-width: 768px) { .wa-float { bottom: 80px; } }

/* ── BARRA CTA MÓVIL ── */
.mob-cta-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 998;
  background: #fff; border-top: 1px solid #e2e8f0;
  padding: 10px 16px 14px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
}
.mob-cta-bar-inner { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.mob-cta-bar .mcta-primary {
  flex: 1; background: var(--rose-500); color: #fff; font-weight: 700;
  font-size: .88rem; padding: .75rem 1rem; border-radius: 12px;
  text-align: center; transition: background .18s;
}
.mob-cta-bar .mcta-primary:hover { background: var(--rose-600); }
.mob-cta-bar .mcta-wa {
  background: #25d366; color: #fff; font-weight: 700;
  font-size: .88rem; padding: .75rem 1rem; border-radius: 12px;
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
}
.mob-cta-bar .mcta-wa svg { width: 16px; height: 16px; fill: #fff; flex-shrink: 0; }
@media (max-width: 768px) { .mob-cta-bar { display: block; } }

/* ── ¿PARA QUIÉN ES? ── */
.perfiles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .perfiles-grid { grid-template-columns: 1fr; } }
.perfil-card {
  border-radius: 16px; padding: 1.2rem 1.3rem;
  border: 1.5px solid transparent; display: flex; gap: 12px; align-items: flex-start;
}
.perfil-card.si { background: #f0fdf4; border-color: #bbf7d0; }
.perfil-card.no { background: #fff5f5; border-color: #fecaca; }
.perfil-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.perfil-title { font-weight: 700; font-size: .9rem; color: var(--slate-800); margin-bottom: 3px; }
.perfil-desc { font-size: .8rem; color: var(--slate-600); line-height: 1.55; }
.perfil-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .68rem; font-weight: 800; letter-spacing: .05em;
  padding: .18rem .6rem; border-radius: 50px; margin-bottom: 6px;
}
.perfil-card.si .perfil-badge { background: #dcfce7; color: #166534; }
.perfil-card.no .perfil-badge { background: #fee2e2; color: #991b1b; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  border: 1.5px solid #e8ecf2; border-radius: 16px; overflow: hidden;
  background: #fff; transition: border-color .2s, box-shadow .2s;
}
.faq-item.open { border-color: var(--rose-500); box-shadow: 0 4px 20px rgba(224,85,133,.1); }
.faq-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; padding: 1rem 1.2rem; cursor: pointer;
  background: none; border: none; font-family: var(--font);
  text-align: left;
}
.faq-q { font-weight: 700; font-size: .9rem; color: var(--slate-800); line-height: 1.4; }
.faq-arrow {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: var(--slate-100); display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .25s;
}
.faq-item.open .faq-arrow { background: var(--rose-500); transform: rotate(180deg); }
.faq-arrow svg { width: 12px; height: 12px; stroke: var(--slate-600); fill: none; stroke-width: 2.5; }
.faq-item.open .faq-arrow svg { stroke: #fff; }
.faq-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s cubic-bezier(.4,0,.2,1); }
.faq-item.open .faq-body { grid-template-rows: 1fr; }
.faq-body-inner { overflow: hidden; }
.faq-a { padding: 0 1.2rem 1.1rem; font-size: .87rem; color: var(--slate-600); line-height: 1.7; }

/* ── TESTIMONIOS ── */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .testi-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card {
  background: #fff; border: 1.5px solid #e8ecf2; border-radius: 20px;
  padding: 1.4rem; display: flex; flex-direction: column; gap: 12px;
  transition: box-shadow .2s, border-color .2s;
}
.testi-card:hover { border-color: var(--rose-200); box-shadow: 0 8px 28px rgba(224,85,133,.1); }
.testi-stars { display: flex; gap: 2px; }
.testi-star { color: #f59e0b; font-size: 1rem; }
.testi-text { font-size: .87rem; color: var(--slate-700); line-height: 1.7; font-style: italic; flex: 1; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--rose-500), #f472b6);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .9rem; color: #fff;
}
.testi-name { font-weight: 700; font-size: .85rem; color: var(--slate-800); }
.testi-role { font-size: .75rem; color: var(--slate-400); }

/* ── CATÁLOGO DE PROGRAMAS (enterate) ── */
.cat-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.cat-tab { font-size: .75rem; font-weight: 700; padding: .42rem .95rem; border: 1.5px solid var(--slate-200); border-radius: 50px; background: #fff; color: var(--slate-500); cursor: pointer; transition: all .15s; white-space: nowrap; }
.cat-tab.active { background: var(--rose-500); color: #fff; border-color: var(--rose-500); }
.cat-tab:hover:not(.active) { border-color: var(--rose-300); color: var(--rose-600); background: var(--rose-50); }

.catalog-section { margin-bottom: 2.2rem; padding-left: .75rem; border-left: 3px solid var(--slate-200); }
.catalog-section[hidden] { display: none; }

/* ── Color por sección ── */
/* Posgrados — Azul */
#sec-post { border-left-color: #1d4ed8; }
#sec-post .section-tag { background: #eff6ff; color: #1d4ed8; }
#sec-post .prog-row-badge { background: #eff6ff; color: #1d4ed8; }
#sec-post .prog-row-pill  { background: #dbeafe; color: #1e40af; }
#sec-post .prog-row-date-val { color: #1d4ed8; }

/* Diplomados — Rosa */
#sec-ec { border-left-color: #be3a6a; }
#sec-ec .section-tag { background: #fff0f3; color: #be3a6a; }
#sec-ec .prog-row-badge { background: #fff0f3; color: #be3a6a; }
#sec-ec .prog-row-pill  { background: #fce7f3; color: #9d174d; }
#sec-ec .prog-row-date-val { color: #be3a6a; }

/* Video Clases — Ámbar */
#sec-ev { border-left-color: #b45309; }
#sec-ev .section-tag { background: #fffbeb; color: #b45309; }
#sec-ev .prog-row-badge { background: #fffbeb; color: #b45309; }
#sec-ev .prog-row-pill  { background: #fef3c7; color: #92400e; }
#sec-ev .prog-row-date-val { color: #b45309; }

/* En Línea — Esmeralda */
#sec-ol { border-left-color: #15803d; }
#sec-ol .section-tag { background: #f0fdf4; color: #15803d; }
#sec-ol .prog-row-badge { background: #f0fdf4; color: #15803d; }
#sec-ol .prog-row-pill  { background: #dcfce7; color: #166534; }
#sec-ol .prog-row-date-val { color: #15803d; }

.prog-row-list { display: flex; flex-direction: column; gap: .55rem; }
.prog-row {
  display: grid; grid-template-columns: 52px 1fr 96px;
  gap: .75rem; align-items: center;
  padding: .82rem 1rem; border: 1.5px solid var(--slate-200);
  border-radius: 12px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.prog-row:hover { border-color: var(--rose-200); box-shadow: var(--shadow-md); }
a.prog-row { text-decoration: none; color: inherit; }
.prog-row-badge { font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: .34rem .28rem; border-radius: 7px; text-align: center; line-height: 1.3; }
.b-esp { background: #eff6ff; color: #1d4ed8; }
.b-mst { background: #f5f3ff; color: #6d28d9; }
.b-doc { background: #fefce8; color: #854d0e; }
.b-dip { background: #fff0f3; color: #be3a6a; }
.b-ev  { background: #fffbeb; color: #b45309; }
.b-ol  { background: #f0fdf4; color: #15803d; }
.b-evt { background: #fff7ed; color: #c2410c; }
.prog-row-name { font-size: 1rem; font-weight: 700; color: var(--slate-800); line-height: 1.3; margin-bottom: .3rem; }
.prog-row-meta { display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
.prog-row-pill { font-size: .72rem; font-weight: 600; color: var(--slate-500); background: var(--slate-100); padding: .1rem .5rem; border-radius: 50px; }
/* Campus pills */
.prog-row-pill.pill-mty    { background: #dcfce7; color: #15803d; font-weight: 800; }
.prog-row-pill.pill-gdl    { background: #dbeafe; color: #1d4ed8; font-weight: 800; }
.prog-row-pill.pill-merida { background: #fef9c3; color: #a16207; font-weight: 800; }
.prog-row-pill.pill-cdmx   { background: #ffe4e6; color: #be123c; font-weight: 800; }
.prog-row-pill.pill-nac    { background: #f1f5f9; color: #475569; font-weight: 800; }
/* Modality pills */
.prog-row-pill.pill-presencial { background: #d1fae5; color: #065f46; font-weight: 700; }
.prog-row-pill.pill-online     { background: #e0f2fe; color: #0369a1; font-weight: 700; }
.prog-row-pill.pill-video      { background: #ffedd5; color: #c2410c; font-weight: 700; }
.prog-row-pill.pill-mixta      { background: #ede9fe; color: #6d28d9; font-weight: 700; }
.prog-row-date { text-align: right; }
.prog-row-date-val { font-size: .86rem; font-weight: 800; color: var(--slate-700); white-space: nowrap; display: block; }
.prog-row-date-tag { font-size: .7rem; color: var(--slate-400); white-space: nowrap; display: block; margin-top: 1px; }
@media (max-width:520px) {
  .prog-row { grid-template-columns: 46px 1fr; }
  .prog-row-date { display: none; }
}

/* Próximas fechas sidebar */
.fecha-list { display: flex; flex-direction: column; gap: .6rem; margin-top: .75rem; }
.fecha-item {
  display: flex; align-items: center; gap: 1rem;
  background: #f8fafc; border: 1px solid #e8edf3;
  border-radius: 12px; padding: 10px 12px;
  height: 68px; overflow: hidden;
  transition: background .15s, border-color .15s;
}
.fecha-item:hover { background: #eff6ff; border-color: #bfdbfe; }
.fecha-box {
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--rose-500);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 800; color: #fff;
  flex-shrink: 0; line-height: 1.2; text-align: center;
}
.fecha-box span { font-size: 1.2rem; font-weight: 900; color: #fff; line-height: 1; display: block; }
.fecha-info { min-width: 0; }
.fecha-info-name {
  font-size: .82rem; font-weight: 700; color: var(--slate-800); line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fecha-info-meta { font-size: .72rem; color: var(--slate-400); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Horario de oficina */
.horario-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .65rem; }
.horario-item { background: var(--rose-50); border: 1px solid var(--rose-200); border-radius: 8px; padding: .55rem .65rem; }
.horario-dias { font-size: .68rem; font-weight: 700; color: var(--rose-600); text-transform: uppercase; letter-spacing: .05em; }
.horario-horas { font-size: .78rem; font-weight: 800; color: var(--slate-800); margin-top: 2px; }

/* ── CUPO LIMITADO ── */
.cupo-badge {
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #fff7ed, #fef3c7);
  border: 1.5px solid #fed7aa; border-radius: 12px;
  padding: .85rem 1rem; margin-top: 10px;
}
.cupo-dot { width: 10px; height: 10px; border-radius: 50%; background: #f97316; flex-shrink: 0; animation: pulse-cupo 1.6s ease-in-out infinite; }
@keyframes pulse-cupo { 0%,100%{box-shadow:0 0 0 0 rgba(249,115,22,.4)} 50%{box-shadow:0 0 0 6px rgba(249,115,22,0)} }
.cupo-text { font-size: .8rem; color: #9a3412; }
.cupo-text strong { font-weight: 800; }

/* ═══════════════════════════════════════════════════════════════
   PALETAS POR PROGRAMA
   Uso: añade class="prog-XXX" al <body> de cada página.
   prog-dme  → Diplomado Medicina Estética    (rosa, default)
   prog-ecin → Esp. Cuidados Intensivos Neonatales  (azul acero)
   prog-euye → Esp. Urgencias y Emergencias         (violeta pizarra)
   prog-eeqx → Esp. Enfermería Quirúrgica            (índigo violeta)
   prog-dnc  → Diplomado Nutrición Clínica           (cian teal)
   Para agregar un programa nuevo: copia un bloque, cambia
   el nombre de clase y los valores de color.
═══════════════════════════════════════════════════════════════ */

/* ── prog-ecin · Azul acero ──────────────────────────── */
body.prog-ecin {
  --rose-50:  #eff7fd;
  --rose-100: #d0e8f7;
  --rose-200: #a8d4f0;
  --rose-400: #7aaedb;
  --rose-500: #5896c6;
  --rose-600: #3d6f9e;
}
body.prog-ecin .nav-home-text span           { color: #5896c6; }
body.prog-ecin .mega-dot.dip                 { background: #7aaedb; }
body.prog-ecin .hero                         { background: linear-gradient(135deg, #040f1e 0%, #092546 40%, #1e4a7a 100%); }
body.prog-ecin .hero::before                 { background: radial-gradient(ellipse at 70% 50%, rgba(88,150,198,.25) 0%, transparent 60%); }
body.prog-ecin .hero-card-icon               { background: rgba(88,150,198,.2); }
body.prog-ecin .mod-num                      { background: linear-gradient(180deg, #5896c6 0%, #7aaedb 100%); }
body.prog-ecin .mod-item:hover               { border-color: #a8d4f0; box-shadow: 0 4px 18px rgba(88,150,198,.08); }
body.prog-ecin .mod-item.open                { border-color: #5896c6; box-shadow: 0 8px 32px rgba(88,150,198,.13); }
body.prog-ecin .sidebar-cta                  { background: linear-gradient(135deg, #5896c6 0%, #7aaedb 100%); box-shadow: 0 4px 14px rgba(88,150,198,.35); }
body.prog-ecin .sidebar-wa                   { background: linear-gradient(135deg, #5896c6, #7aaedb); }
body.prog-ecin .plan-sec                     { border-top: 1px solid rgba(88,150,198,.12); background: linear-gradient(180deg, #eff7fd 0%, #fff 50%); }
body.prog-ecin .plan-tab.active              { border-color: #a8d4f0; color: #3d6f9e; background: #eff7fd; box-shadow: 0 2px 8px rgba(88,150,198,.1); }
body.prog-ecin .plan-tab.active::before      { background: linear-gradient(135deg, #5896c6, #7aaedb); }
body.prog-ecin .mid-banner                   { background: linear-gradient(135deg, var(--rose-50), #eff7fd); border: 1px solid var(--rose-200); }
body.prog-ecin .promo-card.rose              { background: linear-gradient(135deg, #eff7fd, #f5fbfe); border-color: var(--rose-200); }
body.prog-ecin .faq-item.open                { border-color: var(--rose-500); box-shadow: 0 4px 20px rgba(88,150,198,.1); }
body.prog-ecin .testi-card:hover             { border-color: var(--rose-200); box-shadow: 0 8px 28px rgba(88,150,198,.1); }
body.prog-ecin .testi-avatar                 { background: linear-gradient(135deg, var(--rose-500), #7aaedb); }

/* ── prog-euye · Cian aqua (Urgencias y Emergencias) ─── */
body.prog-euye {
  --rose-50:  #ecfeff;
  --rose-100: #cffafe;
  --rose-200: #a5f3fc;
  --rose-400: #22d3ee;
  --rose-500: #06b6d4;
  --rose-600: #0891b2;
}
body.prog-euye .nav-home-text span           { color: #06b6d4; }
body.prog-euye .mega-dot.dip                 { background: #22d3ee; }
body.prog-euye .hero                         { background: linear-gradient(135deg, #001219 0%, #003d4f 40%, #005a70 100%); }
body.prog-euye .hero::before                 { background: radial-gradient(ellipse at 70% 50%, rgba(6,182,212,.3) 0%, transparent 60%); }
body.prog-euye .hero-card-icon               { background: rgba(6,182,212,.2); }
body.prog-euye .mod-num                      { background: linear-gradient(180deg, #06b6d4 0%, #22d3ee 100%); }
body.prog-euye .mod-item:hover               { border-color: #a5f3fc; box-shadow: 0 4px 18px rgba(6,182,212,.08); }
body.prog-euye .mod-item.open                { border-color: #06b6d4; box-shadow: 0 8px 32px rgba(6,182,212,.13); }
body.prog-euye .sidebar-cta                  { background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%); box-shadow: 0 4px 14px rgba(6,182,212,.35); }
body.prog-euye .sidebar-wa                   { background: linear-gradient(135deg, #06b6d4, #22d3ee); }
body.prog-euye .plan-sec                     { border-top: 1px solid rgba(6,182,212,.12); background: linear-gradient(180deg, #ecfeff 0%, #fff 50%); }
body.prog-euye .plan-tab.active              { border-color: #a5f3fc; color: #0891b2; background: #ecfeff; box-shadow: 0 2px 8px rgba(6,182,212,.1); }
body.prog-euye .plan-tab.active::before      { background: linear-gradient(135deg, #06b6d4, #22d3ee); }
body.prog-euye .mid-banner                   { background: linear-gradient(135deg, var(--rose-50), #ecfeff); border: 1px solid var(--rose-200); }
body.prog-euye .promo-card.rose              { background: linear-gradient(135deg, #ecfeff, #f0feff); border-color: var(--rose-200); }
body.prog-euye .faq-item.open                { border-color: var(--rose-500); box-shadow: 0 4px 20px rgba(6,182,212,.1); }
body.prog-euye .testi-card:hover             { border-color: var(--rose-200); box-shadow: 0 8px 28px rgba(6,182,212,.1); }
body.prog-euye .testi-avatar                 { background: linear-gradient(135deg, #06b6d4, #22d3ee); }

/* ── prog-heqb · Ámbar (Heridas, Estomas, Quemaduras) ─── */
body.prog-heqb {
  --rose-50:  #fffbeb;
  --rose-100: #fef3c7;
  --rose-200: #fde68a;
  --rose-400: #fbbf24;
  --rose-500: #f59e0b;
  --rose-600: #d97706;
}
body.prog-heqb .nav-home-text span           { color: #f59e0b; }
body.prog-heqb .mega-dot.dip                 { background: #fbbf24; }
body.prog-heqb .hero                         { background: linear-gradient(135deg, #140800 0%, #3d1800 40%, #5e2800 100%); }
body.prog-heqb .hero::before                 { background: radial-gradient(ellipse at 70% 50%, rgba(245,158,11,.28) 0%, transparent 60%); }
body.prog-heqb .hero-card-icon               { background: rgba(245,158,11,.2); }
body.prog-heqb .mod-num                      { background: linear-gradient(180deg, #f59e0b 0%, #fbbf24 100%); }
body.prog-heqb .mod-item:hover               { border-color: #fde68a; box-shadow: 0 4px 18px rgba(245,158,11,.08); }
body.prog-heqb .mod-item.open                { border-color: #f59e0b; box-shadow: 0 8px 32px rgba(245,158,11,.13); }
body.prog-heqb .sidebar-cta                  { background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%); box-shadow: 0 4px 14px rgba(245,158,11,.35); }
body.prog-heqb .sidebar-wa                   { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
body.prog-heqb .plan-sec                     { border-top: 1px solid rgba(245,158,11,.12); background: linear-gradient(180deg, #fffbeb 0%, #fff 50%); }
body.prog-heqb .plan-tab.active              { border-color: #fde68a; color: #d97706; background: #fffbeb; box-shadow: 0 2px 8px rgba(245,158,11,.1); }
body.prog-heqb .plan-tab.active::before      { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
body.prog-heqb .mid-banner                   { background: linear-gradient(135deg, var(--rose-50), #fffbeb); border: 1px solid var(--rose-200); }
body.prog-heqb .promo-card.rose              { background: linear-gradient(135deg, #fffbeb, #fffdf5); border-color: var(--rose-200); }
body.prog-heqb .faq-item.open                { border-color: var(--rose-500); box-shadow: 0 4px 20px rgba(245,158,11,.1); }
body.prog-heqb .testi-card:hover             { border-color: var(--rose-200); box-shadow: 0 8px 28px rgba(245,158,11,.1); }
body.prog-heqb .testi-avatar                 { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
body.prog-heqb .mod-date                     { font-size:.72rem; color:rgba(255,255,255,.5); margin-top:2px; }

/* ── prog-eeop · Fucsia mauve (Obstétrica y Perinatal) ── */
body.prog-eeop {
  --rose-50:  #fdf4ff;
  --rose-100: #fae8ff;
  --rose-200: #f5d0fe;
  --rose-400: #e879f9;
  --rose-500: #d946ef;
  --rose-600: #c026d3;
}
body.prog-eeop .nav-home-text span           { color: #d946ef; }
body.prog-eeop .mega-dot.dip                 { background: #e879f9; }
body.prog-eeop .hero                         { background: linear-gradient(135deg, #120018 0%, #3b0052 40%, #5c007a 100%); }
body.prog-eeop .hero::before                 { background: radial-gradient(ellipse at 70% 50%, rgba(217,70,239,.28) 0%, transparent 60%); }
body.prog-eeop .hero-card-icon               { background: rgba(217,70,239,.2); }
body.prog-eeop .mod-num                      { background: linear-gradient(180deg, #d946ef 0%, #e879f9 100%); }
body.prog-eeop .mod-item:hover               { border-color: #f5d0fe; box-shadow: 0 4px 18px rgba(217,70,239,.08); }
body.prog-eeop .mod-item.open                { border-color: #d946ef; box-shadow: 0 8px 32px rgba(217,70,239,.13); }
body.prog-eeop .sidebar-cta                  { background: linear-gradient(135deg, #d946ef 0%, #e879f9 100%); box-shadow: 0 4px 14px rgba(217,70,239,.35); }
body.prog-eeop .sidebar-wa                   { background: linear-gradient(135deg, #d946ef, #e879f9); }
body.prog-eeop .plan-sec                     { border-top: 1px solid rgba(217,70,239,.12); background: linear-gradient(180deg, #fdf4ff 0%, #fff 50%); }
body.prog-eeop .plan-tab.active              { border-color: #f5d0fe; color: #c026d3; background: #fdf4ff; box-shadow: 0 2px 8px rgba(217,70,239,.1); }
body.prog-eeop .plan-tab.active::before      { background: linear-gradient(135deg, #d946ef, #e879f9); }
body.prog-eeop .mid-banner                   { background: linear-gradient(135deg, var(--rose-50), #fdf4ff); border: 1px solid var(--rose-200); }
body.prog-eeop .promo-card.rose              { background: linear-gradient(135deg, #fdf4ff, #fef9ff); border-color: var(--rose-200); }
body.prog-eeop .faq-item.open                { border-color: var(--rose-500); box-shadow: 0 4px 20px rgba(217,70,239,.1); }
body.prog-eeop .testi-card:hover             { border-color: var(--rose-200); box-shadow: 0 8px 28px rgba(217,70,239,.1); }
body.prog-eeop .testi-avatar                 { background: linear-gradient(135deg, #d946ef, #e879f9); }

/* ── prog-eeqx · Verde quirúrgico ───────────────────── */
body.prog-eeqx {
  --rose-50:  #f0fdf4;
  --rose-100: #dcfce7;
  --rose-200: #bbf7d0;
  --rose-400: #4ade80;
  --rose-500: #16a34a;
  --rose-600: #15803d;
}
body.prog-eeqx .nav-home-text span           { color: #16a34a; }
body.prog-eeqx .mega-dot.dip                 { background: #4ade80; }
body.prog-eeqx .hero                         { background: linear-gradient(135deg, #011407 0%, #042d10 40%, #065f1e 100%); }
body.prog-eeqx .hero::before                 { background: radial-gradient(ellipse at 70% 50%, rgba(22,163,74,.28) 0%, transparent 60%); }
body.prog-eeqx .hero-card-icon               { background: rgba(22,163,74,.2); }
body.prog-eeqx .mod-num                      { background: linear-gradient(180deg, #16a34a 0%, #4ade80 100%); }
body.prog-eeqx .mod-item:hover               { border-color: #bbf7d0; box-shadow: 0 4px 18px rgba(22,163,74,.08); }
body.prog-eeqx .mod-item.open                { border-color: #16a34a; box-shadow: 0 8px 32px rgba(22,163,74,.13); }
body.prog-eeqx .sidebar-cta                  { background: linear-gradient(135deg, #16a34a 0%, #4ade80 100%); box-shadow: 0 4px 14px rgba(22,163,74,.35); }
body.prog-eeqx .sidebar-wa                   { background: linear-gradient(135deg, #16a34a, #4ade80); }
body.prog-eeqx .sidebar-card-header          { background: linear-gradient(135deg, #16a34a, #15803d); }
body.prog-eeqx .plan-sec                     { border-top: 1px solid rgba(22,163,74,.12); background: linear-gradient(180deg, #f0fdf4 0%, #fff 50%); }
body.prog-eeqx .plan-tab.active              { border-color: #bbf7d0; color: #15803d; background: #f0fdf4; box-shadow: 0 2px 8px rgba(22,163,74,.1); }
body.prog-eeqx .plan-tab.active::before      { background: linear-gradient(135deg, #16a34a, #4ade80); }
body.prog-eeqx .mid-banner                   { background: linear-gradient(135deg, var(--rose-50), #f0fdf4); border: 1px solid var(--rose-200); }
body.prog-eeqx .promo-card.rose              { background: linear-gradient(135deg, #f0fdf4, #f6fef8); border-color: var(--rose-200); }
body.prog-eeqx .faq-item.open                { border-color: var(--rose-500); box-shadow: 0 4px 20px rgba(22,163,74,.1); }
body.prog-eeqx .testi-card:hover             { border-color: var(--rose-200); box-shadow: 0 8px 28px rgba(22,163,74,.1); }
body.prog-eeqx .testi-avatar                 { background: linear-gradient(135deg, #16a34a, #4ade80); }

/* ── prog-ent · Esmeralda teal (Entérate / Campus) ───── */
body.prog-ent {
  --rose-50:  #ecfdf5;
  --rose-100: #d1fae5;
  --rose-200: #a7f3d0;
  --rose-400: #34d399;
  --rose-500: #10b981;
  --rose-600: #059669;
}
body.prog-ent .nav-home-text span            { color: #10b981; }
body.prog-ent .mega-dot.dip                  { background: #34d399; }
body.prog-ent .hero                          { background: linear-gradient(135deg, #021a10 0%, #053d27 40%, #065f46 100%); }
body.prog-ent .hero::before                  { background: radial-gradient(ellipse at 70% 50%, rgba(16,185,129,.28) 0%, transparent 60%); }
body.prog-ent .hero-card-icon                { background: rgba(16,185,129,.2); }
body.prog-ent .mod-num                       { background: linear-gradient(180deg, #10b981 0%, #34d399 100%); }
body.prog-ent .mod-item:hover                { border-color: #a7f3d0; box-shadow: 0 4px 18px rgba(16,185,129,.08); }
body.prog-ent .mod-item.open                 { border-color: #10b981; box-shadow: 0 8px 32px rgba(16,185,129,.13); }
body.prog-ent .sidebar-cta                   { background: linear-gradient(135deg, #10b981 0%, #34d399 100%); box-shadow: 0 4px 14px rgba(16,185,129,.35); }
body.prog-ent .sidebar-wa                    { background: linear-gradient(135deg, #10b981, #34d399); }
body.prog-ent .plan-sec                      { border-top: 1px solid rgba(16,185,129,.12); background: linear-gradient(180deg, #ecfdf5 0%, #fff 50%); }
body.prog-ent .plan-tab.active               { border-color: #a7f3d0; color: #059669; background: #ecfdf5; box-shadow: 0 2px 8px rgba(16,185,129,.1); }
body.prog-ent .plan-tab.active::before       { background: linear-gradient(135deg, #10b981, #34d399); }
body.prog-ent .mid-banner                    { background: linear-gradient(135deg, var(--rose-50), #ecfdf5); border: 1px solid var(--rose-200); }
body.prog-ent .promo-card.rose               { background: linear-gradient(135deg, #ecfdf5, #f0fdf8); border-color: var(--rose-200); }
body.prog-ent .faq-item.open                 { border-color: var(--rose-500); box-shadow: 0 4px 20px rgba(16,185,129,.1); }
body.prog-ent .testi-card:hover              { border-color: var(--rose-200); box-shadow: 0 8px 28px rgba(16,185,129,.1); }
body.prog-ent .testi-avatar                  { background: linear-gradient(135deg, var(--rose-500), #34d399); }

/* ── prog-dnc · Cian teal (Diplomado Nutrición Clínica) ── */
body.prog-dnc {
  --rose-50:  #f0fdfa;
  --rose-100: #ccfbf1;
  --rose-200: #99f6e4;
  --rose-400: #2dd4bf;
  --rose-500: #0d9488;
  --rose-600: #0f766e;
}
body.prog-dnc .nav-home-text span           { color: #0d9488; }
body.prog-dnc .mega-dot.dip                 { background: #2dd4bf; }
body.prog-dnc .hero                         { background: linear-gradient(135deg, #021210 0%, #053d35 40%, #0a5c4e 100%); }
body.prog-dnc .hero::before                 { background: radial-gradient(ellipse at 70% 50%, rgba(13,148,136,.28) 0%, transparent 60%); }
body.prog-dnc .hero-card-icon               { background: rgba(13,148,136,.2); }
body.prog-dnc .mod-num                      { background: linear-gradient(180deg, #0d9488 0%, #2dd4bf 100%); }
body.prog-dnc .mod-item:hover               { border-color: #99f6e4; box-shadow: 0 4px 18px rgba(13,148,136,.08); }
body.prog-dnc .mod-item.open                { border-color: #0d9488; box-shadow: 0 8px 32px rgba(13,148,136,.13); }
body.prog-dnc .sidebar-cta                  { background: linear-gradient(135deg, #0d9488 0%, #2dd4bf 100%); box-shadow: 0 4px 14px rgba(13,148,136,.35); }
body.prog-dnc .sidebar-wa                   { background: linear-gradient(135deg, #0d9488, #2dd4bf); }
body.prog-dnc .plan-sec                     { border-top: 1px solid rgba(13,148,136,.12); background: linear-gradient(180deg, #f0fdfa 0%, #fff 50%); }
body.prog-dnc .plan-tab.active              { border-color: #99f6e4; color: #0f766e; background: #f0fdfa; box-shadow: 0 2px 8px rgba(13,148,136,.1); }
body.prog-dnc .plan-tab.active::before      { background: linear-gradient(135deg, #0d9488, #2dd4bf); }
body.prog-dnc .mid-banner                   { background: linear-gradient(135deg, var(--rose-50), #f0fdfa); border: 1px solid var(--rose-200); }
body.prog-dnc .promo-card.rose              { background: linear-gradient(135deg, #f0fdfa, #f5fffe); border-color: var(--rose-200); }
body.prog-dnc .faq-item.open                { border-color: var(--rose-500); box-shadow: 0 4px 20px rgba(13,148,136,.1); }
body.prog-dnc .testi-card:hover             { border-color: var(--rose-200); box-shadow: 0 8px 28px rgba(13,148,136,.1); }
body.prog-dnc .testi-avatar                 { background: linear-gradient(135deg, var(--rose-500), #2dd4bf); }

/* ── prog-een · Uva / Grape (Especialidad Enfermería Nefrológica) ── */
body.prog-een {
  --rose-50:  #fdf4ff;
  --rose-100: #fae8ff;
  --rose-200: #f5d0fe;
  --rose-400: #c084fc;
  --rose-500: #9333ea;
  --rose-600: #7e22ce;
}
body.prog-een .nav-home-text span           { color: #9333ea; }
body.prog-een .mega-dot.esp                 { background: #c084fc; }
body.prog-een .hero                         { background: linear-gradient(135deg, #130726 0%, #3b0d67 40%, #5b21b6 100%); }
body.prog-een .hero::before                 { background: radial-gradient(ellipse at 70% 50%, rgba(147,51,234,.28) 0%, transparent 60%); }
body.prog-een .hero-card-icon               { background: rgba(147,51,234,.2); }
body.prog-een .mod-num                      { background: linear-gradient(180deg, #9333ea 0%, #c084fc 100%); }
body.prog-een .mod-item:hover               { border-color: #f5d0fe; box-shadow: 0 4px 18px rgba(147,51,234,.08); }
body.prog-een .mod-item.open                { border-color: #9333ea; box-shadow: 0 8px 32px rgba(147,51,234,.13); }
body.prog-een .sidebar-cta                  { background: linear-gradient(135deg, #9333ea 0%, #c084fc 100%); box-shadow: 0 4px 14px rgba(147,51,234,.35); }
body.prog-een .sidebar-wa                   { background: linear-gradient(135deg, #9333ea, #c084fc); }
body.prog-een .plan-sec                     { border-top: 1px solid rgba(147,51,234,.12); background: linear-gradient(180deg, #fdf4ff 0%, #fff 50%); }
body.prog-een .plan-tab.active              { border-color: #f5d0fe; color: #7e22ce; background: #fdf4ff; box-shadow: 0 2px 8px rgba(147,51,234,.1); }
body.prog-een .plan-tab.active::before      { background: linear-gradient(135deg, #9333ea, #c084fc); }
body.prog-een .mid-banner                   { background: linear-gradient(135deg, var(--rose-50), #fdf4ff); border: 1px solid var(--rose-200); }
body.prog-een .promo-card.rose              { background: linear-gradient(135deg, #fdf4ff, #faf5ff); border-color: var(--rose-200); }
body.prog-een .faq-item.open                { border-color: var(--rose-500); box-shadow: 0 4px 20px rgba(147,51,234,.1); }
body.prog-een .testi-card:hover             { border-color: var(--rose-200); box-shadow: 0 8px 28px rgba(147,51,234,.1); }
body.prog-een .testi-avatar                 { background: linear-gradient(135deg, var(--rose-500), #c084fc); }

/* ── prog-den · Celeste cielo (Diplomado Enfermería Neonatal) ── */
body.prog-den {
  --rose-50:  #f0f9ff;
  --rose-100: #e0f2fe;
  --rose-200: #bae6fd;
  --rose-400: #38bdf8;
  --rose-500: #0284c7;
  --rose-600: #0369a1;
}
body.prog-den .nav-home-text span           { color: #0284c7; }
body.prog-den .mega-dot.dip                 { background: #38bdf8; }
body.prog-den .hero                         { background: linear-gradient(135deg, #020c14 0%, #022d4e 40%, #0a4f7a 100%); }
body.prog-den .hero::before                 { background: radial-gradient(ellipse at 70% 50%, rgba(2,132,199,.28) 0%, transparent 60%); }
body.prog-den .hero-card-icon               { background: rgba(2,132,199,.2); }
body.prog-den .mod-num                      { background: linear-gradient(180deg, #0284c7 0%, #38bdf8 100%); }
body.prog-den .mod-item:hover               { border-color: #bae6fd; box-shadow: 0 4px 18px rgba(2,132,199,.08); }
body.prog-den .mod-item.open                { border-color: #0284c7; box-shadow: 0 8px 32px rgba(2,132,199,.13); }
body.prog-den .sidebar-cta                  { background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%); box-shadow: 0 4px 14px rgba(2,132,199,.35); }
body.prog-den .sidebar-wa                   { background: linear-gradient(135deg, #0284c7, #38bdf8); }
body.prog-den .plan-sec                     { border-top: 1px solid rgba(2,132,199,.12); background: linear-gradient(180deg, #f0f9ff 0%, #fff 50%); }
body.prog-den .plan-tab.active              { border-color: #bae6fd; color: #0369a1; background: #f0f9ff; box-shadow: 0 2px 8px rgba(2,132,199,.1); }
body.prog-den .plan-tab.active::before      { background: linear-gradient(135deg, #0284c7, #38bdf8); }
body.prog-den .mid-banner                   { background: linear-gradient(135deg, var(--rose-50), #f0f9ff); border: 1px solid var(--rose-200); }
body.prog-den .promo-card.rose              { background: linear-gradient(135deg, #f0f9ff, #f5fbff); border-color: var(--rose-200); }
body.prog-den .faq-item.open                { border-color: var(--rose-500); box-shadow: 0 4px 20px rgba(2,132,199,.1); }
body.prog-den .testi-card:hover             { border-color: var(--rose-200); box-shadow: 0 8px 28px rgba(2,132,199,.1); }
body.prog-den .testi-avatar                 { background: linear-gradient(135deg, var(--rose-500), #38bdf8); }

/* ── prog-dee · Ámbar dorado (Diplomado Enfermería Estética) ── */
body.prog-dee {
  --rose-50:  #fffbeb;
  --rose-100: #fef3c7;
  --rose-200: #fde68a;
  --rose-400: #fbbf24;
  --rose-500: #d97706;
  --rose-600: #b45309;
}
body.prog-dee .nav-home-text span           { color: #d97706; }
body.prog-dee .mega-dot.dip                 { background: #fbbf24; }
body.prog-dee .hero                         { background: linear-gradient(135deg, #1a0e00 0%, #4d2a00 40%, #78400a 100%); }
body.prog-dee .hero::before                 { background: radial-gradient(ellipse at 70% 50%, rgba(217,119,6,.28) 0%, transparent 60%); }
body.prog-dee .hero-card-icon               { background: rgba(217,119,6,.2); }
body.prog-dee .mod-num                      { background: linear-gradient(180deg, #d97706 0%, #fbbf24 100%); }
body.prog-dee .mod-item:hover               { border-color: #fde68a; box-shadow: 0 4px 18px rgba(217,119,6,.08); }
body.prog-dee .mod-item.open                { border-color: #d97706; box-shadow: 0 8px 32px rgba(217,119,6,.13); }
body.prog-dee .sidebar-cta                  { background: linear-gradient(135deg, #d97706 0%, #fbbf24 100%); box-shadow: 0 4px 14px rgba(217,119,6,.35); }
body.prog-dee .sidebar-wa                   { background: linear-gradient(135deg, #d97706, #fbbf24); }
body.prog-dee .plan-sec                     { border-top: 1px solid rgba(217,119,6,.12); background: linear-gradient(180deg, #fffbeb 0%, #fff 50%); }
body.prog-dee .plan-tab.active              { border-color: #fde68a; color: #92400e; background: #fffbeb; box-shadow: 0 2px 8px rgba(217,119,6,.1); }
body.prog-dee .plan-tab.active::before      { background: linear-gradient(135deg, #d97706, #fbbf24); }
body.prog-dee .mid-banner                   { background: linear-gradient(135deg, var(--rose-50), #fffbeb); border: 1px solid var(--rose-200); }
body.prog-dee .promo-card.rose              { background: linear-gradient(135deg, #fffbeb, #fefce8); border-color: var(--rose-200); }
body.prog-dee .faq-item.open                { border-color: var(--rose-500); box-shadow: 0 4px 20px rgba(217,119,6,.1); }
body.prog-dee .testi-card:hover             { border-color: var(--rose-200); box-shadow: 0 8px 28px rgba(217,119,6,.1); }
body.prog-dee .testi-avatar                 { background: linear-gradient(135deg, var(--rose-500), #fbbf24); }

/* ── prog-mah · Azul royal (Maestría Administración Hospitales) ── */
body.prog-mah {
  --rose-50:  #eff6ff;
  --rose-100: #dbeafe;
  --rose-200: #bfdbfe;
  --rose-400: #60a5fa;
  --rose-500: #2563eb;
  --rose-600: #1d4ed8;
}
body.prog-mah .nav-home-text span           { color: #2563eb; }
body.prog-mah .mega-dot.mst                 { background: #60a5fa; }
body.prog-mah .hero                         { background: linear-gradient(135deg, #050e2a 0%, #0c2461 40%, #1a3a8a 100%); }
body.prog-mah .hero::before                 { background: radial-gradient(ellipse at 70% 50%, rgba(37,99,235,.28) 0%, transparent 60%); }
body.prog-mah .hero-card-icon               { background: rgba(37,99,235,.2); }
body.prog-mah .mod-num                      { background: linear-gradient(180deg, #2563eb 0%, #60a5fa 100%); }
body.prog-mah .mod-item:hover               { border-color: #bfdbfe; box-shadow: 0 4px 18px rgba(37,99,235,.08); }
body.prog-mah .mod-item.open                { border-color: #2563eb; box-shadow: 0 8px 32px rgba(37,99,235,.13); }
body.prog-mah .sidebar-cta                  { background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%); box-shadow: 0 4px 14px rgba(37,99,235,.35); }
body.prog-mah .sidebar-wa                   { background: linear-gradient(135deg, #2563eb, #60a5fa); }
body.prog-mah .sidebar-card-header         { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
body.prog-mah .plan-sec                     { border-top: 1px solid rgba(37,99,235,.12); background: linear-gradient(180deg, #eff6ff 0%, #fff 50%); }
body.prog-mah .plan-tab.active              { border-color: #bfdbfe; color: #1d4ed8; background: #eff6ff; box-shadow: 0 2px 8px rgba(37,99,235,.1); }
body.prog-mah .plan-tab.active::before      { background: linear-gradient(135deg, #2563eb, #60a5fa); }
body.prog-mah .mid-banner                   { background: linear-gradient(135deg, var(--rose-50), #eff6ff); border: 1px solid var(--rose-200); }
body.prog-mah .promo-card.rose              { background: linear-gradient(135deg, #eff6ff, #f5f9ff); border-color: var(--rose-200); }
body.prog-mah .faq-item.open                { border-color: var(--rose-500); box-shadow: 0 4px 20px rgba(37,99,235,.1); }
body.prog-mah .testi-card:hover             { border-color: var(--rose-200); box-shadow: 0 8px 28px rgba(37,99,235,.1); }
body.prog-mah .testi-avatar                 { background: linear-gradient(135deg, #2563eb, #60a5fa); }

/* ── Docentes / Catedráticos ─────────────────────────── */
.docentes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 1.4rem; }
@media (max-width: 900px) { .docentes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .docentes-grid { grid-template-columns: 1fr; gap: 1rem; } }

.docente-card {
  background: #fff;
  border: 1.5px solid var(--slate-200);
  border-radius: 18px;
  padding: 1.4rem 1rem 1.1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease, border-color .25s ease;
  animation: doc-fadein .5s ease both;
}
.docente-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--rose-200);
  box-shadow: 0 16px 40px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.05);
}
.docente-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--rose-50) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
}
.docente-card:hover::before { opacity: 1; }

.docente-card:nth-child(1) { animation-delay: .05s; }
.docente-card:nth-child(2) { animation-delay: .12s; }
.docente-card:nth-child(3) { animation-delay: .19s; }
.docente-card:nth-child(4) { animation-delay: .26s; }
.docente-card:nth-child(5) { animation-delay: .33s; }
.docente-card:nth-child(6) { animation-delay: .40s; }
.docente-card:nth-child(7) { animation-delay: .47s; }
.docente-card:nth-child(8) { animation-delay: .54s; }
.docente-card:nth-child(9) { animation-delay: .61s; }
.docente-card:nth-child(10) { animation-delay: .68s; }
.docente-card:nth-child(11) { animation-delay: .75s; }
.docente-card:nth-child(12) { animation-delay: .82s; }
@keyframes doc-fadein {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.docente-avatar-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
}
.docente-avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(var(--rose-400), var(--rose-200), var(--rose-500), var(--rose-200), var(--rose-400));
  animation: ring-spin 4s linear infinite;
  opacity: 0;
  transition: opacity .3s;
}
.docente-card:hover .docente-avatar-ring { opacity: 1; }
@keyframes ring-spin { to { transform: rotate(360deg); } }

.docente-avatar {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1);
  z-index: 1;
}
.docente-card:hover .docente-avatar { transform: scale(1.08); }
.docente-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.docente-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  background: linear-gradient(135deg, var(--rose-500), var(--rose-400));
  position: relative;
  overflow: hidden;
}
.docente-avatar-placeholder::after {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 40%; height: 200%;
  background: rgba(255,255,255,.25);
  transform: skewX(-20deg);
  animation: doc-sheen 3s ease-in-out infinite;
}
@keyframes doc-sheen {
  0%,80%,100% { left: -60%; opacity: 0; }
  20% { left: 140%; opacity: 1; }
}

.docente-name { font-size: .82rem; font-weight: 800; color: var(--slate-800); line-height: 1.3; margin-bottom: 4px; }
.docente-esp  { font-size: .7rem; color: var(--rose-600); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.docente-area { font-size: .72rem; color: var(--slate-500); line-height: 1.4; }
.docente-tag  {
  display: inline-block;
  margin-top: 8px;
  background: var(--rose-50);
  color: var(--rose-600);
  border: 1px solid var(--rose-200);
  border-radius: 50px;
  font-size: .62rem;
  font-weight: 700;
  padding: 2px 9px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* prog-catedraticos palette — azul institucional */
body.prog-catedraticos {
  --rose-50:  #eff6ff;
  --rose-100: #dbeafe;
  --rose-200: #bfdbfe;
  --rose-400: #60a5fa;
  --rose-500: #2563eb;
  --rose-600: #1d4ed8;
}
body.prog-catedraticos .nav-home-text span   { color: #2563eb; }
body.prog-catedraticos .hero                 { background: linear-gradient(135deg, #0c1a3a 0%, #1e3a6e 40%, #1d4ed8 100%); }
body.prog-catedraticos .hero::before         { background: radial-gradient(ellipse at 70% 50%, rgba(37,99,235,.25) 0%, transparent 60%); }
body.prog-catedraticos .hero-card-icon       { background: rgba(37,99,235,.2); }
body.prog-catedraticos .sidebar-cta          { background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%); box-shadow: 0 4px 14px rgba(37,99,235,.35); }
body.prog-catedraticos .sidebar-wa           { background: linear-gradient(135deg, #1d4ed8, #2563eb); }
body.prog-catedraticos .testi-avatar         { background: linear-gradient(135deg, var(--rose-500), #60a5fa); }

/* ── prog-catedraticos · Glassmorphism cards ── */
body.prog-catedraticos {
  background:
    radial-gradient(ellipse at 10% 20%, rgba(37,99,235,.07) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 10%, rgba(139,92,246,.06) 0%, transparent 45%),
    radial-gradient(ellipse at 60% 80%, rgba(244,114,182,.05) 0%, transparent 50%),
    #f8fafc;
}
.docentes-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.1rem; margin-top: 1.4rem; }
@media (max-width:900px) { .docentes-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width:480px) { .docentes-grid { grid-template-columns: 1fr; } }

.docente-card {
  position: relative; border-radius: 22px; padding: 1.6rem 1.1rem 1.3rem;
  text-align: center; overflow: hidden; cursor: default;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255,255,255,.8);
  box-shadow: 0 4px 24px rgba(0,0,0,.06), 0 1px 4px rgba(0,0,0,.04);
  transition: transform .3s cubic-bezier(.34,1.26,.64,1), box-shadow .3s ease, background .3s;
  animation: doc-fadein .55s ease both;
}
.docente-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255,255,255,.75);
  box-shadow: 0 20px 50px rgba(0,0,0,.1), 0 4px 12px rgba(0,0,0,.06);
}
.docente-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  border-radius: 22px 22px 0 0;
  background: var(--dc-accent, linear-gradient(90deg,#2563eb,#60a5fa));
  transition: height .25s ease;
}
.docente-card:hover::before { height: 6px; }
.docente-card::after {
  content: ''; position: absolute; inset: 0; border-radius: 22px;
  background: var(--dc-glow, radial-gradient(ellipse at 50% 0%,rgba(37,99,235,.12) 0%,transparent 70%));
  opacity: 0; transition: opacity .35s; pointer-events: none; z-index: 0;
}
.docente-card:hover::after { opacity: 1; }

.docente-card:nth-child(1) { animation-delay:.05s; }
.docente-card:nth-child(2) { animation-delay:.13s; }
.docente-card:nth-child(3) { animation-delay:.21s; }
.docente-card:nth-child(4) { animation-delay:.29s; }
@keyframes doc-fadein { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:translateY(0)} }

#especialidades .docente-card:nth-child(1) { --dc-accent:linear-gradient(90deg,#1d4ed8,#3b82f6); --dc-glow:radial-gradient(ellipse at 50% 0%,rgba(37,99,235,.14) 0%,transparent 70%); }
#especialidades .docente-card:nth-child(2) { --dc-accent:linear-gradient(90deg,#2563eb,#60a5fa); --dc-glow:radial-gradient(ellipse at 50% 0%,rgba(96,165,250,.14) 0%,transparent 70%); }
#especialidades .docente-card:nth-child(3) { --dc-accent:linear-gradient(90deg,#1e40af,#3b82f6); --dc-glow:radial-gradient(ellipse at 50% 0%,rgba(30,64,175,.14) 0%,transparent 70%); }
#especialidades .docente-card:nth-child(4) { --dc-accent:linear-gradient(90deg,#1d4ed8,#93c5fd); --dc-glow:radial-gradient(ellipse at 50% 0%,rgba(147,197,253,.18) 0%,transparent 70%); }
#maestrias .docente-card:nth-child(1) { --dc-accent:linear-gradient(90deg,#6d28d9,#8b5cf6); --dc-glow:radial-gradient(ellipse at 50% 0%,rgba(139,92,246,.14) 0%,transparent 70%); }
#maestrias .docente-card:nth-child(2) { --dc-accent:linear-gradient(90deg,#7c3aed,#a78bfa); --dc-glow:radial-gradient(ellipse at 50% 0%,rgba(167,139,250,.14) 0%,transparent 70%); }
#maestrias .docente-card:nth-child(3) { --dc-accent:linear-gradient(90deg,#5b21b6,#8b5cf6); --dc-glow:radial-gradient(ellipse at 50% 0%,rgba(91,33,182,.14) 0%,transparent 70%); }
#maestrias .docente-card:nth-child(4) { --dc-accent:linear-gradient(90deg,#6d28d9,#c4b5fd); --dc-glow:radial-gradient(ellipse at 50% 0%,rgba(196,181,253,.18) 0%,transparent 70%); }
#diplomados .docente-card:nth-child(1) { --dc-accent:linear-gradient(90deg,#be185d,#f472b6); --dc-glow:radial-gradient(ellipse at 50% 0%,rgba(244,114,182,.14) 0%,transparent 70%); }
#diplomados .docente-card:nth-child(2) { --dc-accent:linear-gradient(90deg,#db2777,#f9a8d4); --dc-glow:radial-gradient(ellipse at 50% 0%,rgba(249,168,212,.14) 0%,transparent 70%); }
#diplomados .docente-card:nth-child(3) { --dc-accent:linear-gradient(90deg,#9d174d,#f472b6); --dc-glow:radial-gradient(ellipse at 50% 0%,rgba(157,23,77,.14) 0%,transparent 70%); }
#diplomados .docente-card:nth-child(4) { --dc-accent:linear-gradient(90deg,#be185d,#fbcfe8); --dc-glow:radial-gradient(ellipse at 50% 0%,rgba(251,207,232,.18) 0%,transparent 70%); }

.docente-avatar-wrap { position:relative; width:78px; height:78px; margin:0 auto 1rem; z-index:1; }
.docente-avatar-ring {
  position:absolute; inset:-4px; border-radius:50%;
  background:conic-gradient(#f472b6,rgba(255,255,255,0),#e05585,rgba(255,255,255,0),#f472b6);
  animation:ring-spin 5s linear infinite; opacity:0; transition:opacity .3s;
}
.docente-card:hover .docente-avatar-ring { opacity:1; }
@keyframes ring-spin { to{transform:rotate(360deg)} }
.docente-avatar {
  position:relative; z-index:1; width:78px; height:78px; border-radius:50%; overflow:hidden;
  border:3px solid rgba(255,255,255,.9); box-shadow:0 4px 16px rgba(0,0,0,.12);
  display:flex; align-items:center; justify-content:center;
  transition:transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
}
.docente-card:hover .docente-avatar { transform:scale(1.1); box-shadow:0 8px 24px rgba(0,0,0,.16); }
.docente-avatar img { width:100%; height:100%; object-fit:cover; display:block; }
.docente-avatar-placeholder {
  width:100%; height:100%; display:flex; align-items:center; justify-content:center;
  font-size:1.55rem; font-weight:800; color:#fff; letter-spacing:-.02em;
  position:relative; overflow:hidden;
}
#especialidades .docente-avatar-placeholder { background:linear-gradient(135deg,#1d4ed8,#60a5fa); }
#maestrias      .docente-avatar-placeholder { background:linear-gradient(135deg,#6d28d9,#a78bfa); }
#diplomados     .docente-avatar-placeholder { background:linear-gradient(135deg,#be185d,#f9a8d4); }
.docente-avatar-placeholder::after {
  content:''; position:absolute; top:-50%; left:-60%; width:40%; height:200%;
  background:rgba(255,255,255,.3); transform:skewX(-20deg);
  animation:doc-sheen 3.5s ease-in-out infinite;
}
@keyframes doc-sheen { 0%,75%,100%{left:-60%;opacity:0} 20%{left:140%;opacity:1} }

.docente-name { position:relative; z-index:1; font-size:.84rem; font-weight:800; color:#0f172a; line-height:1.3; margin-bottom:5px; }
.docente-esp  { position:relative; z-index:1; font-size:.67rem; font-weight:800; text-transform:uppercase; letter-spacing:.07em; margin-bottom:7px; }
.docente-area { position:relative; z-index:1; font-size:.71rem; color:#475569; line-height:1.5; }
.docente-tag  { position:relative; z-index:1; display:inline-block; margin-top:10px; font-size:.6rem; font-weight:800; padding:3px 11px; border-radius:50px; text-transform:uppercase; letter-spacing:.06em; }

#especialidades .docente-esp  { color:#1d4ed8; }
#maestrias      .docente-esp  { color:#6d28d9; }
#diplomados     .docente-esp  { color:#be185d; }
#especialidades .docente-tag  { background:#dbeafe; color:#1d4ed8; border:1px solid #bfdbfe; }
#maestrias      .docente-tag  { background:#ede9fe; color:#6d28d9; border:1px solid #ddd6fe; }
#diplomados     .docente-tag  { background:#fce7f3; color:#be185d; border:1px solid #fbcfe8; }

.section-header-band { display:flex; align-items:center; gap:.8rem; padding:.9rem 1.2rem; border-radius:14px; margin-bottom:1.2rem; }
.shb-esp { background:linear-gradient(135deg,#eff6ff,#dbeafe); border:1px solid #bfdbfe; }
.shb-mst { background:linear-gradient(135deg,#f5f3ff,#ede9fe); border:1px solid #ddd6fe; }
.shb-dip { background:linear-gradient(135deg,#fdf2f8,#fce7f3); border:1px solid #fbcfe8; }
.shb-dot { width:10px; height:10px; border-radius:50%; flex-shrink:0; }
.shb-esp .shb-dot { background:linear-gradient(135deg,#1d4ed8,#60a5fa); box-shadow:0 0 8px rgba(37,99,235,.5); }
.shb-mst .shb-dot { background:linear-gradient(135deg,#6d28d9,#a78bfa); box-shadow:0 0 8px rgba(109,40,217,.5); }
.shb-dip .shb-dot { background:linear-gradient(135deg,#be185d,#f472b6); box-shadow:0 0 8px rgba(190,24,93,.5); }
.shb-label { font-size:.68rem; font-weight:800; text-transform:uppercase; letter-spacing:.1em; }
.shb-esp .shb-label { color:#1d4ed8; }
.shb-mst .shb-label { color:#6d28d9; }
.shb-dip .shb-label { color:#be185d; }
.shb-title { font-size:1.1rem; font-weight:800; color:#0f172a; margin:0; }
.shb-sub   { font-size:.75rem; color:#64748b; margin:0; }

@media (max-width:600px) {
  .docente-name { font-size:.88rem; }
  .docente-area { font-size:.72rem; }
  .docente-avatar-wrap, .docente-avatar { width:66px; height:66px; }
  .docente-avatar-placeholder { font-size:1.3rem; }
}

/* ══════════════════════════════════════════════════════════════
   prog-acerca · Acerca de EP de México Campus Monterrey
   ══════════════════════════════════════════════════════════════ */
body.prog-acerca {
  --rose-50:  #eff6ff;
  --rose-100: #dbeafe;
  --rose-200: #bfdbfe;
  --rose-400: #60a5fa;
  --rose-500: #2563eb;
  --rose-600: #1d4ed8;
}
body.prog-acerca .nav-home-text span  { color: #2563eb; }
body.prog-acerca .hero                { background: linear-gradient(135deg, #0c1a3a 0%, #1e3a6e 40%, #1d4ed8 100%); }
body.prog-acerca .hero::before        { background: radial-gradient(ellipse at 70% 50%, rgba(37,99,235,.25) 0%, transparent 60%); }
body.prog-acerca .hero-card-icon      { background: rgba(37,99,235,.2); }
body.prog-acerca .sidebar-cta         { background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%); box-shadow: 0 4px 14px rgba(37,99,235,.35); }
body.prog-acerca .sidebar-wa          { background: linear-gradient(135deg, #1d4ed8, #2563eb); }
body.prog-acerca .faq-item.open       { border-color: var(--rose-500); box-shadow: 0 4px 20px rgba(37,99,235,.1); }
body.prog-acerca .testi-card:hover    { border-color: var(--rose-200); box-shadow: 0 8px 28px rgba(37,99,235,.1); }
body.prog-acerca .testi-avatar        { background: linear-gradient(135deg, var(--rose-500), #60a5fa); }

/* ── Section fade-in ── */
body.prog-acerca .section { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
body.prog-acerca .section.sec-in { opacity: 1; transform: none; }

/* ── Scroll-reveal ── */
body.prog-acerca .sr { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
body.prog-acerca .sr.sr-left  { transform: translateX(-28px); }
body.prog-acerca .sr.sr-right { transform: translateX(28px); }
body.prog-acerca .sr.sr-scale { transform: scale(.92); }
body.prog-acerca .sr.visible  { opacity: 1; transform: none; }
body.prog-acerca .sr-d1 { transition-delay: .08s; }
body.prog-acerca .sr-d2 { transition-delay: .16s; }
body.prog-acerca .sr-d3 { transition-delay: .24s; }
body.prog-acerca .sr-d4 { transition-delay: .32s; }
body.prog-acerca .sr-d5 { transition-delay: .40s; }

/* ── Timeline ── */
body.prog-acerca .timeline {
  position: relative;
  padding-left: 2rem;
  margin-top: 1.2rem;
}
body.prog-acerca .timeline::before {
  content: '';
  position: absolute; left: 7px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--rose-500), var(--rose-200));
  border-radius: 2px;
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 1.2s cubic-bezier(.4,0,.2,1) .3s;
}
body.prog-acerca .timeline.tl-visible::before { transform: scaleY(1); }
body.prog-acerca .tl-item {
  position: relative;
  margin-bottom: 1.6rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity .5s ease, transform .5s ease;
}
body.prog-acerca .tl-item.tl-in { opacity: 1; transform: none; }
body.prog-acerca .tl-dot {
  position: absolute; left: -2rem; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--rose-500); border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--rose-300); flex-shrink: 0;
  transform: scale(0);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
body.prog-acerca .tl-item.tl-in .tl-dot { transform: scale(1); }
body.prog-acerca .tl-year  { font-size: .7rem; font-weight: 800; color: var(--rose-500); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 3px; }
body.prog-acerca .tl-title { font-size: .9rem; font-weight: 700; color: var(--slate-800); margin-bottom: 4px; }
body.prog-acerca .tl-desc  { font-size: .82rem; color: var(--slate-600); line-height: 1.55; }

/* ── Pilares — cards con foto ── */
body.prog-acerca .pilares-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem;
  margin-top: 1.2rem;
}
body.prog-acerca .pilar-card {
  position: relative;
  border-radius: 18px; overflow: hidden;
  aspect-ratio: 4/3; cursor: default;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  transition: border-color .2s, box-shadow .2s, transform .3s cubic-bezier(.34,1.56,.64,1);
}
body.prog-acerca .pilar-card:hover {
  border-color: var(--rose-200);
  box-shadow: 0 12px 32px rgba(37,99,235,.12), 0 0 0 4px rgba(37,99,235,.06);
  transform: translateY(-4px);
}
body.prog-acerca .pilar-card-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .5s ease;
}
body.prog-acerca .pilar-card:hover .pilar-card-bg { transform: scale(1.06); }
body.prog-acerca .pilar-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,26,58,.18) 0%, rgba(12,26,58,.55) 55%, rgba(12,26,58,.88) 100%);
  transition: background .3s;
}
body.prog-acerca .pilar-card:hover .pilar-card-overlay {
  background: linear-gradient(180deg, rgba(12,26,58,.1) 0%, rgba(12,26,58,.5) 50%, rgba(12,26,58,.92) 100%);
}
body.prog-acerca .pilar-num {
  position: absolute; top: 1rem; left: 1.1rem; z-index: 2;
  font-size: .65rem; font-weight: 800;
  color: rgba(255,255,255,.55); letter-spacing: .14em; text-transform: uppercase;
}
body.prog-acerca .pilar-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.2rem 1.2rem 1.1rem; z-index: 2;
}
body.prog-acerca .pilar-title {
  font-size: .95rem; font-weight: 800; color: #fff;
  line-height: 1.3; margin-bottom: .35rem; letter-spacing: -.01em;
}
body.prog-acerca .pilar-desc {
  font-size: .74rem; color: rgba(255,255,255,.78); line-height: 1.55;
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, opacity .3s ease; opacity: 0;
}
body.prog-acerca .pilar-card:hover .pilar-desc { max-height: 80px; opacity: 1; }
body.prog-acerca .pilar-line {
  width: 28px; height: 2px; background: var(--rose-400);
  border-radius: 2px; margin-bottom: .5rem;
  transition: width .3s ease;
}
body.prog-acerca .pilar-card:hover .pilar-line { width: 48px; }
body.prog-acerca .pilar-icon { display: inline-block; transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
body.prog-acerca .pilar-card:hover .pilar-icon { transform: scale(1.3) rotate(-8deg); }

/* ── Stats banner ── */
body.prog-acerca .stats-banner {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: var(--slate-200);
  border-radius: 16px; overflow: hidden; margin: 1.2rem 0;
}
body.prog-acerca .stat-cell { background: #fff; padding: 1.1rem .8rem; text-align: center; transition: background .2s; }
body.prog-acerca .stat-cell:hover { background: var(--rose-50); }
body.prog-acerca .stat-cell-num { font-size: 1.8rem; font-weight: 800; color: var(--rose-500); line-height: 1; transition: transform .2s; }
body.prog-acerca .stat-cell:hover .stat-cell-num { transform: scale(1.12); }
body.prog-acerca .stat-cell-lbl { font-size: .68rem; color: var(--slate-500); font-weight: 600; margin-top: 4px; text-transform: uppercase; letter-spacing: .05em; }

/* ── Keyword highlight ── */
body.prog-acerca .kw {
  background: linear-gradient(90deg, var(--rose-200), var(--rose-100));
  background-size: 0% 100%; background-repeat: no-repeat; background-position: left center;
  border-radius: 3px; padding: 0 3px;
  transition: background-size .6s ease;
}
body.prog-acerca .kw.kw-in { background-size: 100% 100%; }

/* ── Campus cards (perfiles) ── */
body.prog-acerca .perfil-card {
  transition: border-color .2s, box-shadow .2s, transform .25s cubic-bezier(.34,1.56,.64,1);
}
body.prog-acerca .perfil-card:hover {
  border-color: var(--rose-200);
  box-shadow: 0 10px 30px rgba(37,99,235,.1);
  transform: translateY(-4px) scale(1.02);
}
body.prog-acerca .perfil-icon { transition: transform .3s cubic-bezier(.34,1.56,.64,1); display: inline-block; }
body.prog-acerca .perfil-card:hover .perfil-icon { transform: scale(1.25) rotate(10deg); }

/* ── Cert cards ── */
body.prog-acerca .cert-card {
  position: relative; overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
body.prog-acerca .cert-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--rose-400), var(--rose-200), var(--rose-400)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out; mask-composite: exclude;
  opacity: 0; transition: opacity .25s;
}
body.prog-acerca .cert-card:hover { box-shadow: 0 10px 28px rgba(37,99,235,.1); transform: translateY(-3px); }
body.prog-acerca .cert-card:hover::after { opacity: 1; }
body.prog-acerca .cert-badge { transition: transform .2s cubic-bezier(.34,1.56,.64,1), background .2s; }
body.prog-acerca .cert-card:hover .cert-badge {
  transform: scale(1.06);
  background: linear-gradient(135deg, var(--rose-500), var(--rose-400));
  color: #fff;
}

/* ── Responsive ── */
@media (max-width: 560px) {
  body.prog-acerca .pilares-grid { grid-template-columns: 1fr; }
  body.prog-acerca .stats-banner { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  body.prog-acerca .stats-banner { grid-template-columns: repeat(2, 1fr); }
  body.prog-acerca .stat-cell-num { font-size: 1.4rem; }
  body.prog-acerca .pilares-grid { gap: .6rem; }
  body.prog-acerca .pilar-card { aspect-ratio: 3/2; }
  body.prog-acerca .pilar-title { font-size: .88rem; }
  body.prog-acerca .pilar-content { padding: .9rem 1rem .85rem; }
  body.prog-acerca .timeline { padding-left: 1.4rem; }
  body.prog-acerca .tl-dot { left: -1.4rem; width: 14px; height: 14px; }
  body.prog-acerca .tl-title { font-size: .85rem; }
  body.prog-acerca .tl-desc { font-size: .78rem; }
  body.prog-acerca .perfiles-grid { grid-template-columns: 1fr; }
  body.prog-acerca .objetivo-box { padding: 1rem 1.1rem; font-size: .88rem; }
  body.prog-acerca .section-title { font-size: 1.25rem; }
  body.prog-acerca .map-frame { height: 200px !important; }
}
@media (max-width: 400px) {
  body.prog-acerca .stat-cell { padding: .9rem .6rem; }
  body.prog-acerca .stat-cell-num { font-size: 1.25rem; }
  body.prog-acerca .docente-teaser-group { flex-wrap: wrap; gap: 6px; }
  body.prog-acerca .timeline { padding-left: 1.2rem; }
  body.prog-acerca .tl-dot { width: 12px; height: 12px; top: 5px; }
}

/* ══════════════════════════════════════════════════════════════
   prog-ceremonias · Ceremonias y Graduaciones
   ══════════════════════════════════════════════════════════════ */
body.prog-ceremonias {
  --rose-50:  #eff6ff;
  --rose-100: #dbeafe;
  --rose-200: #bfdbfe;
  --rose-400: #60a5fa;
  --rose-500: #2563eb;
  --rose-600: #1d4ed8;
}
body.prog-ceremonias .nav-home-text span  { color: #2563eb; }
body.prog-ceremonias .hero                { background: linear-gradient(135deg, #0c1a3a 0%, #1e3a6e 40%, #1d4ed8 100%); }
body.prog-ceremonias .hero::before        { background: radial-gradient(ellipse at 70% 50%, rgba(37,99,235,.25) 0%, transparent 60%); }
body.prog-ceremonias .hero-card-icon      { background: rgba(37,99,235,.2); }
body.prog-ceremonias .sidebar-cta         { background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%); box-shadow: 0 4px 14px rgba(37,99,235,.35); }
body.prog-ceremonias .sidebar-wa          { background: linear-gradient(135deg, #1d4ed8, #2563eb); }
body.prog-ceremonias .testi-card:hover    { border-color: var(--rose-200); box-shadow: 0 8px 28px rgba(37,99,235,.1); }
body.prog-ceremonias .testi-avatar        { background: linear-gradient(135deg, var(--rose-500), #60a5fa); }

/* ── Galería — layout editorial ── */
body.prog-ceremonias .gallery-layout {
  display: flex;
  flex-direction: row-reverse;
  gap: .65rem;
  margin-top: 1.4rem;
  align-items: flex-start;
}
body.prog-ceremonias .slider-wrap { align-self: stretch; }

/* Tira vertical de miniaturas */
body.prog-ceremonias .slider-thumbs {
  display: flex; flex-direction: column;
  gap: .5rem; flex-shrink: 0; width: 78px;
  max-height: 400px;
  overflow-y: auto; scrollbar-width: none;
}
body.prog-ceremonias .slider-thumbs::-webkit-scrollbar { display: none; }
body.prog-ceremonias .slider-thumb {
  width: 78px; height: 62px;
  border-radius: 8px; overflow: hidden;
  cursor: pointer; flex-shrink: 0; position: relative;
  border: 2px solid transparent;
  background: #141e35;
  transition: border-color .2s, opacity .2s;
  opacity: .45;
}
body.prog-ceremonias .slider-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.prog-ceremonias .slider-thumb.active { border-color: var(--rose-500); opacity: 1; }
body.prog-ceremonias .slider-thumb:hover:not(.active) { opacity: .78; }
body.prog-ceremonias .thumb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,15,35,.6) 0%, transparent 55%);
  display: flex; align-items: flex-end; padding: 4px 6px;
}
body.prog-ceremonias .thumb-overlay span {
  font-size: .58rem; font-weight: 800;
  color: rgba(255,255,255,.65); letter-spacing: .05em;
}
body.prog-ceremonias .thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 800;
  color: rgba(255,255,255,.25); letter-spacing: .06em;
}

/* Slide principal */
body.prog-ceremonias .slider-wrap {
  flex: 1; min-width: 0;
  position: relative; overflow: hidden;
  border-radius: 14px;
  background: #0e1829;
  box-shadow: 0 20px 56px rgba(0,0,0,.22);
  user-select: none;
}
body.prog-ceremonias .slider-track {
  display: flex;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
body.prog-ceremonias .slide {
  min-width: 100%; aspect-ratio: 3/2;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
body.prog-ceremonias .slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Placeholder cinematográfico */
body.prog-ceremonias .slide-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: linear-gradient(150deg, #0c1527 0%, #152344 55%, #0a1220 100%);
}
body.prog-ceremonias .slide-placeholder::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 3px,
    rgba(255,255,255,.015) 3px, rgba(255,255,255,.015) 4px
  );
  pointer-events: none;
}
body.prog-ceremonias .slide-placeholder-num {
  font-size: 6rem; font-weight: 800; line-height: 1;
  color: rgba(255,255,255,.055);
  letter-spacing: -.05em;
  position: absolute; right: 1.6rem; bottom: 3.8rem;
  z-index: 0;
}
body.prog-ceremonias .slide-placeholder-lbl {
  font-size: .65rem; font-weight: 800;
  color: rgba(255,255,255,.28);
  text-transform: uppercase; letter-spacing: .2em;
  position: relative; z-index: 1;
}

/* Caption */
body.prog-ceremonias .slide-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(6,12,28,.9) 0%, rgba(6,12,28,.45) 55%, transparent 100%);
  padding: 2.2rem 1.4rem .85rem; color: #fff;
}
body.prog-ceremonias .slide-caption-counter {
  font-size: .58rem; font-weight: 800; letter-spacing: .16em;
  color: var(--rose-400); text-transform: uppercase; margin-bottom: .3rem;
}
body.prog-ceremonias .slide-caption-title { font-size: .95rem; font-weight: 800; line-height: 1.25; margin-bottom: 2px; }
body.prog-ceremonias .slide-caption-sub   { font-size: .7rem; opacity: .55; }

/* Botones nav — esquina inferior derecha */
body.prog-ceremonias .slider-btn {
  position: absolute; bottom: .85rem;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.1); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.15);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s, transform .15s; z-index: 2;
}
body.prog-ceremonias .slider-btn:hover { background: rgba(255,255,255,.22); transform: scale(1.1); }
body.prog-ceremonias .slider-btn.prev { right: 54px; }
body.prog-ceremonias .slider-btn.next { right: 12px; }
body.prog-ceremonias .slider-btn svg  { width: 15px; height: 15px; stroke: #fff; stroke-width: 2.5; }

body.prog-ceremonias .slider-dots { display: none; }

/* ── Cards de ceremonias ── */
body.prog-ceremonias .ceremonia-card {
  background: #fff; border: 1.5px solid var(--slate-200);
  border-radius: 16px; padding: 1.3rem 1.2rem;
  display: flex; gap: 1.1rem; align-items: flex-start;
  transition: border-color .15s, box-shadow .15s, transform .2s;
}
body.prog-ceremonias .ceremonia-card:hover { border-color: var(--rose-200); box-shadow: 0 8px 24px rgba(37,99,235,.09); transform: translateY(-2px); }
body.prog-ceremonias .ceremonia-fecha-box {
  min-width: 58px; text-align: center;
  background: linear-gradient(135deg, var(--rose-500), var(--rose-400));
  border-radius: 12px; padding: .6rem .4rem; color: #fff; flex-shrink: 0;
}
body.prog-ceremonias .ceremonia-fecha-mes  { font-size: .6rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
body.prog-ceremonias .ceremonia-fecha-dia  { font-size: 1.6rem; font-weight: 800; line-height: 1; }
body.prog-ceremonias .ceremonia-fecha-anio { font-size: .62rem; font-weight: 700; opacity: .75; }
body.prog-ceremonias .ceremonia-info-title { font-size: .9rem; font-weight: 800; color: var(--slate-800); margin-bottom: 4px; }
body.prog-ceremonias .ceremonia-info-sub   { font-size: .76rem; color: var(--slate-500); margin-bottom: 8px; line-height: 1.5; }
body.prog-ceremonias .ceremonia-pill { display: inline-flex; align-items: center; gap: 4px; font-size: .62rem; font-weight: 700; padding: 3px 10px; border-radius: 50px; text-transform: uppercase; letter-spacing: .04em; }
body.prog-ceremonias .pill-presencial-cer { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }
body.prog-ceremonias .pill-virtual-cer    { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
body.prog-ceremonias .pill-hibrida-cer    { background: #f5f3ff; color: #6d28d9; border: 1px solid #ddd6fe; }

/* ── Pasos del proceso ── */
body.prog-ceremonias .pasos-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1rem; margin-top: 1.2rem; counter-reset: paso;
}
body.prog-ceremonias .paso-card {
  background: #fff; border: 1.5px solid var(--slate-200);
  border-radius: 14px; padding: 1.1rem 1rem;
  counter-increment: paso; position: relative;
  transition: border-color .15s, box-shadow .15s;
}
body.prog-ceremonias .paso-card:hover { border-color: var(--rose-200); box-shadow: 0 4px 18px rgba(37,99,235,.08); }
body.prog-ceremonias .paso-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-500), var(--rose-400));
  color: #fff; font-size: .8rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin-bottom: .6rem;
}
body.prog-ceremonias .paso-title { font-size: .85rem; font-weight: 800; color: var(--slate-800); margin-bottom: 4px; }
body.prog-ceremonias .paso-desc  { font-size: .76rem; color: var(--slate-500); line-height: 1.5; }

/* ── Testimonios egresados ── */
body.prog-ceremonias .egresado-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1rem; margin-top: 1.2rem;
}
body.prog-ceremonias .egresado-card { background: #fff; border: 1.5px solid var(--slate-200); border-radius: 14px; padding: 1.1rem; transition: border-color .15s, box-shadow .15s; }
body.prog-ceremonias .egresado-card:hover { border-color: var(--rose-200); box-shadow: 0 6px 20px rgba(37,99,235,.08); }
body.prog-ceremonias .egresado-quote { font-size: .8rem; color: var(--slate-600); line-height: 1.6; font-style: italic; margin-bottom: .8rem; }
body.prog-ceremonias .egresado-author { display: flex; align-items: center; gap: .7rem; }
body.prog-ceremonias .egresado-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-500), var(--rose-400));
  color: #fff; font-size: .8rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
body.prog-ceremonias .egresado-name { font-size: .78rem; font-weight: 700; color: var(--slate-800); }
body.prog-ceremonias .egresado-prog { font-size: .68rem; color: var(--slate-400); }

/* ── Tipos de Ceremonia ── */
body.prog-ceremonias .cer-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem; margin-top: 1.5rem;
}
body.prog-ceremonias .cer-card {
  background: #fff; border: 1px solid var(--slate-200);
  border-radius: 16px; padding: 1.5rem;
  display: flex; flex-direction: column; gap: .75rem;
  transition: box-shadow .2s, transform .2s;
}
body.prog-ceremonias .cer-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.08); transform: translateY(-2px); }
body.prog-ceremonias .cer-card--gold { border-color: #f59e0b40; background: linear-gradient(135deg, #fffbeb 0%, #fff 100%); }
body.prog-ceremonias .cer-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--rose-50, #fff0f5);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
body.prog-ceremonias .cer-card--gold .cer-icon { background: #fef3c7; }
body.prog-ceremonias .cer-title { font-size: .95rem; font-weight: 700; color: var(--slate-800); line-height: 1.3; }
body.prog-ceremonias .cer-desc  { font-size: .83rem; color: var(--slate-600); line-height: 1.6; margin: 0; }
body.prog-ceremonias .cer-badge {
  display: inline-block; font-size: .72rem; font-weight: 600;
  padding: .2rem .65rem; border-radius: 999px; margin-top: .25rem;
  background: var(--rose-50, #fff0f5); color: var(--rose-500, #e05585);
}
body.prog-ceremonias .cer-card--gold .cer-badge { background: #fef3c7; color: #92400e; }

/* ── Responsive ── */
@media (max-width: 560px) {
  body.prog-ceremonias .pasos-grid  { grid-template-columns: 1fr; }
  body.prog-ceremonias .egresado-grid { grid-template-columns: 1fr; }
  body.prog-ceremonias .cer-grid    { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  /* Grid garantiza que cada item tome exactamente el ancho del contenedor */
  body.prog-ceremonias .gallery-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: .5rem;
    align-items: unset;
  }
  /* slider-wrap fila 1 (arriba), thumbs fila 2 (abajo) */
  body.prog-ceremonias .slider-wrap { grid-row: 1; min-width: 0; width: 100%; overflow: hidden; flex: none; touch-action: pan-y; }
  body.prog-ceremonias .slider-thumbs { grid-row: 2; display: flex; flex-direction: row; min-width: 0; width: 100%; overflow-x: auto; overflow-y: visible; max-height: none; }
  body.prog-ceremonias .slider-dots { grid-row: 3; }
  body.prog-ceremonias .slider-thumb { width: 58px; height: 46px; flex-shrink: 0; }
  body.prog-ceremonias .slide-caption-sub { display: none; }
  body.prog-ceremonias .slide-caption-title { font-size: .82rem; }
  body.prog-ceremonias .ceremonia-card { padding: 1rem .9rem; gap: .8rem; }
  body.prog-ceremonias .ceremonia-fecha-box { min-width: 48px; padding: .5rem .3rem; }
  body.prog-ceremonias .ceremonia-fecha-dia { font-size: 1.3rem; }
  body.prog-ceremonias .pasos-grid { grid-template-columns: 1fr; }
  body.prog-ceremonias .egresado-grid { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  body.prog-ceremonias .slider-thumb { width: 48px; height: 38px; }
  body.prog-ceremonias .ceremonia-card { flex-direction: column; }
  body.prog-ceremonias .ceremonia-fecha-box { display: flex; align-items: center; gap: .5rem; border-radius: 10px; padding: .5rem .8rem; width: 100%; justify-content: flex-start; }
  body.prog-ceremonias .ceremonia-fecha-mes { order: 2; }
  body.prog-ceremonias .ceremonia-fecha-dia { font-size: 1.2rem; order: 1; }
  body.prog-ceremonias .ceremonia-fecha-anio { order: 3; }
}
@media (max-width:400px) { body.prog-catedraticos .docente-card { padding:1.2rem .9rem 1rem; } }

/* TikTok CTA */
body.prog-catedraticos .cat-tiktok-cta {
  display: flex; justify-content: center;
  margin-top: 1.5rem;
}
body.prog-catedraticos .cat-tiktok-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.4rem; border-radius: 999px;
  background: #0e1829; color: #fff;
  font-size: .82rem; font-weight: 700;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,.15);
  transition: background .2s, transform .2s;
}
body.prog-catedraticos .cat-tiktok-btn:hover {
  background: #1a2a4a; transform: translateY(-2px);
}

/* ── Catedráticos · Pilares ── */
body.prog-catedraticos .cat-pilares-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  margin-top: 1.4rem;
}
body.prog-catedraticos .cat-pilar {
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255,255,255,.9);
  border-radius: 16px; padding: 1.3rem 1.1rem;
  transition: box-shadow .2s, transform .2s;
}
body.prog-catedraticos .cat-pilar:hover {
  box-shadow: 0 10px 32px rgba(37,99,235,.1);
  transform: translateY(-3px);
}
body.prog-catedraticos .cat-pilar-icon  { font-size: 1.5rem; margin-bottom: .6rem; }
body.prog-catedraticos .cat-pilar-title { font-size: .88rem; font-weight: 800; color: var(--slate-800); margin-bottom: .4rem; }
body.prog-catedraticos .cat-pilar-desc  { font-size: .78rem; color: var(--slate-500); line-height: 1.6; }

@media (max-width: 640px) {
  body.prog-catedraticos .cat-slider-stage { gap: .5rem; }
  body.prog-catedraticos .cat-phone        { width: 200px; }
  body.prog-catedraticos .cat-arrow        { width: 36px; height: 36px; }
  body.prog-catedraticos .cat-pilares-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   Galería de programa — pg-grid / pg-lightbox (global)
   ══════════════════════════════════════════════════════════════ */

/* Grid masonry-ligero */
.pg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 200px 200px;
  gap: .55rem;
  margin-top: 1.2rem;
}
.pg-item {
  border-radius: 12px; overflow: hidden;
  cursor: pointer; position: relative;
  background: var(--slate-100);
  transition: transform .2s, box-shadow .2s;
}
.pg-item:hover { transform: scale(1.02); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.pg-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Celdas grandes */
.pg-large { grid-row: span 1; grid-column: span 2; }

/* Placeholder mientras no hay foto */
.pg-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .4rem;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
}
.pg-ph-num {
  font-size: 2.4rem; font-weight: 800;
  color: #cbd5e1; line-height: 1; letter-spacing: -.04em;
}
.pg-ph-lbl {
  font-size: .62rem; font-weight: 700;
  color: #94a3b8; text-transform: uppercase; letter-spacing: .12em;
}

/* Overlay hover en fotos reales */
.pg-item::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0);
  transition: background .2s;
  border-radius: 12px;
}
.pg-item:hover::after { background: rgba(0,0,0,.15); }

/* Lightbox */
.pg-lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(5,10,22,.94); backdrop-filter: blur(8px);
  align-items: center; justify-content: center;
  gap: 1rem; padding: 1.5rem;
}
.pg-lightbox.pg-lb-open { display: flex; }

.pg-lb-img-wrap {
  max-width: 860px; width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
}
.pg-lb-img-wrap img {
  width: 100%; max-height: 78vh;
  object-fit: contain; border-radius: 10px;
}
.pg-lb-caption {
  font-size: .75rem; color: rgba(255,255,255,.55);
  font-weight: 600; letter-spacing: .04em;
}

.pg-lb-close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.pg-lb-close:hover { background: rgba(255,255,255,.2); }
.pg-lb-close svg { width: 16px; height: 16px; }

.pg-lb-prev, .pg-lb-next {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.pg-lb-prev:hover, .pg-lb-next:hover { background: rgba(255,255,255,.18); }
.pg-lb-prev svg, .pg-lb-next svg { width: 18px; height: 18px; }

/* Responsive */
@media (max-width: 640px) {
  .pg-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: 140px 140px; }
  .pg-large { grid-column: span 1; }
  .pg-lb-prev, .pg-lb-next { width: 36px; height: 36px; }
}
@media (max-width: 400px) {
  .pg-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 120px 120px; }
}

/* ══════════════════════════════════════════════════════════════
   prog-turistico · Lugares Turísticos — paleta ámbar
   ══════════════════════════════════════════════════════════════ */
body.prog-turistico {
  --rose-50:  #fffbeb;
  --rose-100: #fef3c7;
  --rose-200: #fde68a;
  --rose-400: #fbbf24;
  --rose-500: #f59e0b;
  --rose-600: #d97706;
}
body.prog-turistico .nav-home-text span  { color: #f59e0b; }
body.prog-turistico .hero                { background: linear-gradient(135deg, #1c0a00 0%, #3d1f00 40%, #92400e 100%); }
body.prog-turistico .hero::before        { background: radial-gradient(ellipse at 70% 50%, rgba(245,158,11,.22) 0%, transparent 60%); }
body.prog-turistico .hero-card-icon      { background: rgba(245,158,11,.18); }
body.prog-turistico .sidebar-cta         { background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%); box-shadow: 0 4px 14px rgba(245,158,11,.35); }
body.prog-turistico .sidebar-wa          { background: linear-gradient(135deg, #d97706, #f59e0b); }
body.prog-turistico .mid-banner          { background: linear-gradient(135deg, var(--rose-50), #fef9ee); border: 1px solid var(--rose-200); }

/* ── Section header bands ── */
body.prog-turistico .shb-tur  { background: linear-gradient(135deg, #fffbeb, #fef3c7); border: 1px solid #fde68a; }
body.prog-turistico .shb-rest { background: linear-gradient(135deg, #fff7ed, #ffedd5); border: 1px solid #fed7aa; }
body.prog-turistico .shb-tur  .shb-dot { background: linear-gradient(135deg, #f59e0b, #fbbf24); box-shadow: 0 0 8px rgba(245,158,11,.5); }
body.prog-turistico .shb-rest .shb-dot { background: linear-gradient(135deg, #ea580c, #f97316); box-shadow: 0 0 8px rgba(234,88,12,.5); }
body.prog-turistico .shb-tur  .shb-label { color: #d97706; }
body.prog-turistico .shb-rest .shb-label { color: #c2410c; }

/* ── Grid de lugares ── */
body.prog-turistico .lugares-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.2rem;
}

/* ── Cards de lugar ── */
body.prog-turistico .lugar-card {
  background: #fff;
  border: 1.5px solid var(--slate-200);
  border-radius: 18px;
  padding: 1.3rem 1.2rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  transition: box-shadow .25s ease, border-color .2s;
}
body.prog-turistico .lugar-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
  border-color: var(--rose-200);
}

body.prog-turistico .lugar-cat {
  display: inline-flex;
  align-items: center;
  font-size: .6rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 3px 10px; border-radius: 50px;
  width: fit-content; margin-bottom: .1rem;
}
body.prog-turistico .lugar-cat-green  { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }
body.prog-turistico .lugar-cat-blue   { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
body.prog-turistico .lugar-cat-orange { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
body.prog-turistico .lugar-cat-purple { background: #f5f3ff; color: #6d28d9; border: 1px solid #ddd6fe; }
body.prog-turistico .lugar-cat-amber  { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }

body.prog-turistico .lugar-nombre {
  font-size: .95rem; font-weight: 800;
  color: var(--slate-800); line-height: 1.3;
}
body.prog-turistico .lugar-desc {
  font-size: .75rem; color: var(--slate-500); line-height: 1.55;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--slate-100);
}

/* Tabla de detalles */
body.prog-turistico .lugar-info {
  display: flex; flex-direction: column; gap: .42rem;
  flex: 1;
}
body.prog-turistico .lugar-info-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: .5rem;
  font-size: .73rem;
  line-height: 1.45;
}
body.prog-turistico .lugar-info-label {
  font-weight: 800;
  color: var(--slate-400);
  text-transform: uppercase;
  font-size: .6rem;
  letter-spacing: .05em;
  padding-top: 1px;
}
body.prog-turistico .lugar-info-row span:last-child {
  color: var(--slate-700);
}

/* Botón Maps */
body.prog-turistico .lugar-maps-btn {
  display: inline-block;
  margin-top: .5rem;
  font-size: .72rem; font-weight: 800;
  color: var(--rose-500);
  text-decoration: none;
  transition: color .15s;
}
body.prog-turistico .lugar-maps-btn:hover { color: var(--rose-600); }

/* ── Responsive ── */
@media (max-width: 768px) {
  body.prog-turistico .lugares-grid { grid-template-columns: 1fr; gap: .8rem; }
  body.prog-turistico .lugar-card { padding: 1.1rem 1rem .9rem; }
  body.prog-turistico .lugar-maps-btn {
    display: block;
    margin-top: .7rem;
    padding: .6rem 1rem;
    background: var(--rose-50);
    border: 1.5px solid var(--rose-200);
    border-radius: 50px;
    text-align: center;
    font-size: .78rem;
  }
  body.prog-turistico .section-header-band { padding: .8rem 1rem; }
  body.prog-turistico .shb-title { font-size: 1rem; }
}
@media (max-width: 400px) {
  body.prog-turistico .lugar-info-row { grid-template-columns: 60px 1fr; }
}

/* ── Mobile responsive: prog-campus, prog-catedraticos, prog-ceremonias ── */
@media (max-width: 768px) {
  body.prog-campus .section-header-band,
  body.prog-catedraticos .section-header-band,
  body.prog-ceremonias .section-header-band { padding: .8rem 1rem; }

  body.prog-campus .shb-title,
  body.prog-catedraticos .shb-title,
  body.prog-ceremonias .shb-title { font-size: 1rem; }

  body.prog-campus .dist-estado-label { font-size: .78rem; }
  body.prog-campus .campus-addr-row   { flex-direction: column; gap: .8rem; }
  body.prog-campus .dist-grid         { grid-template-columns: repeat(2, 1fr); gap: .55rem; }

  body.prog-catedraticos .cat-pilares-grid { grid-template-columns: 1fr; }

  body.prog-ceremonias .pasos-grid    { grid-template-columns: 1fr; }
  body.prog-ceremonias .egresado-grid { grid-template-columns: 1fr; }
  body.prog-ceremonias .cer-grid      { grid-template-columns: 1fr; }
}

/* ── Sub-ubicaciones (CHN Hoteles, donde-hospedarme) ── */
body.prog-turistico .hosped-subs {
  display: flex; flex-direction: column; gap: .5rem;
  margin: .4rem 0 .2rem;
}
body.prog-turistico .hosped-sub {
  background: var(--slate-100);
  border-radius: 8px;
  padding: .45rem .65rem;
}
body.prog-turistico .hosped-sub-label {
  font-size: .7rem; font-weight: 800;
  color: var(--rose-600); text-transform: uppercase;
  letter-spacing: .05em; margin-bottom: .1rem;
}
body.prog-turistico .hosped-sub-dir {
  font-size: .73rem; color: var(--slate-600); line-height: 1.45;
}

/* ══════════════════════════════════════════════════════════════
   prog-campus · Cómo Llegar — paleta verde
   ══════════════════════════════════════════════════════════════ */
body.prog-campus {
  --rose-50:  #f0fdf4;
  --rose-100: #dcfce7;
  --rose-200: #bbf7d0;
  --rose-500: #22c55e;
  --rose-600: #16a34a;
}
body.prog-campus .nav-home-text span  { color: #22c55e; }
body.prog-campus .hero                { background: linear-gradient(135deg, #052e16 0%, #14532d 40%, #166534 100%); }
body.prog-campus .hero::before        { background: radial-gradient(ellipse at 70% 50%, rgba(34,197,94,.18) 0%, transparent 60%); }
body.prog-campus .hero-card-icon      { background: rgba(34,197,94,.15); }
body.prog-campus .sidebar-cta         { background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%); box-shadow: 0 4px 14px rgba(34,197,94,.35); }
body.prog-campus .sidebar-wa          { background: linear-gradient(135deg, #16a34a, #22c55e); }
body.prog-campus .mid-banner          { background: linear-gradient(135deg, var(--rose-50), #f0fdf9); border: 1px solid var(--rose-200); }

/* ── Section header band ── */
body.prog-campus .shb-campus  { background: linear-gradient(135deg, #f0fdf4, #dcfce7); border: 1px solid #bbf7d0; }
body.prog-campus .shb-campus .shb-dot   { background: linear-gradient(135deg, #22c55e, #4ade80); box-shadow: 0 0 8px rgba(34,197,94,.5); }
body.prog-campus .shb-campus .shb-label { color: #16a34a; }

/* ── Mapa ── */
body.prog-campus .campus-map-wrap {
  border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.2rem;
}
body.prog-campus .campus-addr-row {
  display: flex; gap: 1.2rem; align-items: flex-start;
  flex-wrap: wrap;
  background: var(--rose-50); border: 1px solid var(--rose-200);
  border-radius: 12px; padding: 1.1rem 1.4rem;
}
body.prog-campus .campus-addr-item { flex: 1; min-width: 160px; }
body.prog-campus .campus-addr-label {
  font-size: .68rem; font-weight: 800; color: var(--rose-600);
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: .25rem;
}
body.prog-campus .campus-addr-val {
  font-size: .8rem; color: var(--slate-700); line-height: 1.5;
}

/* ── Distancias ── */
body.prog-campus .dist-estado { margin-bottom: 1.6rem; }
body.prog-campus .dist-estado-label {
  font-size: .72rem; font-weight: 800; color: var(--rose-600);
  text-transform: uppercase; letter-spacing: .06em;
  border-left: 3px solid var(--rose-500); padding-left: .6rem;
  margin-bottom: .7rem;
}
body.prog-campus .dist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: .7rem;
}
body.prog-campus .dist-card {
  background: #fff; border: 1.5px solid var(--slate-200);
  border-radius: 10px; padding: .8rem 1rem;
  transition: box-shadow .2s, border-color .2s;
}
body.prog-campus .dist-card:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,.07);
  border-color: var(--rose-200);
}
body.prog-campus .dist-ciudad {
  font-size: .82rem; font-weight: 800; color: var(--slate-800);
  margin-bottom: .45rem;
}
body.prog-campus .dist-row {
  display: flex; align-items: center; gap: .4rem;
  font-size: .75rem; color: var(--slate-600); line-height: 1.4;
}
body.prog-campus .dist-icon { font-size: .8rem; }

/* ── Responsive ── */
@media (max-width: 600px) {
  body.prog-campus .dist-grid { grid-template-columns: repeat(2, 1fr); gap: .55rem; }
  body.prog-campus .campus-addr-row { flex-direction: column; gap: .8rem; }
}


/* ── dist-card: posición relativa para elementos absolutos internos ── */
body.prog-campus .dist-card { position: relative; }

/* === PROGRAM COLOR THEMES === */
body.prog-param {
  --rose-50:  #fff4f4;
  --rose-100: #ffd6d6;
  --rose-200: #ffaaaa;
  --rose-400: #f06060;
  --rose-500: #d93636;
  --rose-600: #b52a2a;
}
body.prog-param .nav-home-text span { color: #d93636; }
body.prog-param .hero { background: linear-gradient(135deg, #1a0404 0%, #3d0a0a 40%, #6b1414 100%); }
body.prog-param .hero::before { background: radial-gradient(ellipse at 70% 50%, rgba(217,54,54,.28) 0%, transparent 60%); }
body.prog-param .hero-card-icon { background: rgba(217,54,54,.2); }
body.prog-param .mod-item:hover { border-color: #ffaaaa; box-shadow: 0 4px 18px rgba(217,54,54,.08); }
body.prog-param .mod-item.open { border-color: #d93636; box-shadow: 0 8px 32px rgba(217,54,54,.13); }
body.prog-param .sidebar-cta { background: linear-gradient(135deg, #d93636 0%, #f06060 100%); }
body.prog-param .faq-item.open { border-color: #d93636; }
body.prog-param .testi-avatar { background: linear-gradient(135deg, #d93636, #f06060); }
body.prog-param .testi-card:hover { border-color: #ffaaaa; }

body.prog-mspr {
  --rose-50:  #fff8ec;
  --rose-100: #fde9c2;
  --rose-200: #fbd08a;
  --rose-400: #f5a623;
  --rose-500: #e08a00;
  --rose-600: #b86e00;
}
body.prog-mspr .nav-home-text span { color: #e08a00; }
body.prog-mspr .hero { background: linear-gradient(135deg, #1a0e00 0%, #3d2800 40%, #6b4600 100%); }
body.prog-mspr .hero::before { background: radial-gradient(ellipse at 70% 50%, rgba(224,138,0,.28) 0%, transparent 60%); }
body.prog-mspr .hero-card-icon { background: rgba(224,138,0,.2); }
body.prog-mspr .mod-item:hover { border-color: #fbd08a; box-shadow: 0 4px 18px rgba(224,138,0,.08); }
body.prog-mspr .mod-item.open { border-color: #e08a00; box-shadow: 0 8px 32px rgba(224,138,0,.13); }
body.prog-mspr .sidebar-cta { background: linear-gradient(135deg, #e08a00 0%, #f5a623 100%); }
body.prog-mspr .faq-item.open { border-color: #e08a00; }
body.prog-mspr .testi-avatar { background: linear-gradient(135deg, #e08a00, #f5a623); }
body.prog-mspr .testi-card:hover { border-color: #fbd08a; }

body.prog-mind {
  --rose-50:  #fff3e8;
  --rose-100: #fddcbe;
  --rose-200: #fab882;
  --rose-400: #f07030;
  --rose-500: #d95500;
  --rose-600: #b04400;
}
body.prog-mind .nav-home-text span { color: #d95500; }
body.prog-mind .hero { background: linear-gradient(135deg, #1a0800 0%, #3d1800 40%, #6b2e00 100%); }
body.prog-mind .hero::before { background: radial-gradient(ellipse at 70% 50%, rgba(217,85,0,.28) 0%, transparent 60%); }
body.prog-mind .hero-card-icon { background: rgba(217,85,0,.2); }
body.prog-mind .mod-item:hover { border-color: #fab882; box-shadow: 0 4px 18px rgba(217,85,0,.08); }
body.prog-mind .mod-item.open { border-color: #d95500; box-shadow: 0 8px 32px rgba(217,85,0,.13); }
body.prog-mind .sidebar-cta { background: linear-gradient(135deg, #d95500 0%, #f07030 100%); }
body.prog-mind .faq-item.open { border-color: #d95500; }
body.prog-mind .testi-avatar { background: linear-gradient(135deg, #d95500, #f07030); }
body.prog-mind .testi-card:hover { border-color: #fab882; }

body.prog-rsan {
  --rose-50:  #e8faf8;
  --rose-100: #c0f0ea;
  --rose-200: #84ddd3;
  --rose-400: #2bbcad;
  --rose-500: #0d9e90;
  --rose-600: #087d72;
}
body.prog-rsan .nav-home-text span { color: #0d9e90; }
body.prog-rsan .hero { background: linear-gradient(135deg, #001714 0%, #023e38 40%, #045c54 100%); }
body.prog-rsan .hero::before { background: radial-gradient(ellipse at 70% 50%, rgba(13,158,144,.28) 0%, transparent 60%); }
body.prog-rsan .hero-card-icon { background: rgba(13,158,144,.2); }
body.prog-rsan .mod-item:hover { border-color: #84ddd3; box-shadow: 0 4px 18px rgba(13,158,144,.08); }
body.prog-rsan .mod-item.open { border-color: #0d9e90; box-shadow: 0 8px 32px rgba(13,158,144,.13); }
body.prog-rsan .sidebar-cta { background: linear-gradient(135deg, #0d9e90 0%, #2bbcad 100%); }
body.prog-rsan .faq-item.open { border-color: #0d9e90; }
body.prog-rsan .testi-avatar { background: linear-gradient(135deg, #0d9e90, #2bbcad); }
body.prog-rsan .testi-card:hover { border-color: #84ddd3; }

body.prog-nefr {
  --rose-50:  #eef3ff;
  --rose-100: #d5e0fd;
  --rose-200: #a8bcfa;
  --rose-400: #6288f0;
  --rose-500: #3d65e0;
  --rose-600: #2a4ec0;
}
body.prog-nefr .nav-home-text span { color: #3d65e0; }
body.prog-nefr .hero { background: linear-gradient(135deg, #020b24 0%, #0b2060 40%, #1a3a9a 100%); }
body.prog-nefr .hero::before { background: radial-gradient(ellipse at 70% 50%, rgba(61,101,224,.28) 0%, transparent 60%); }
body.prog-nefr .hero-card-icon { background: rgba(61,101,224,.2); }
body.prog-nefr .mod-item:hover { border-color: #a8bcfa; box-shadow: 0 4px 18px rgba(61,101,224,.08); }
body.prog-nefr .mod-item.open { border-color: #3d65e0; box-shadow: 0 8px 32px rgba(61,101,224,.13); }
body.prog-nefr .sidebar-cta { background: linear-gradient(135deg, #3d65e0 0%, #6288f0 100%); }
body.prog-nefr .faq-item.open { border-color: #3d65e0; }
body.prog-nefr .testi-avatar { background: linear-gradient(135deg, #3d65e0, #6288f0); }
body.prog-nefr .testi-card:hover { border-color: #a8bcfa; }

body.prog-minb {
  --rose-50:  #f5f0fe;
  --rose-100: #e6d8fc;
  --rose-200: #ccaff9;
  --rose-400: #a070ef;
  --rose-500: #7c3aed;
  --rose-600: #6027c8;
}
body.prog-minb .nav-home-text span { color: #7c3aed; }
body.prog-minb .hero { background: linear-gradient(135deg, #0d0620 0%, #250850 40%, #3d1280 100%); }
body.prog-minb .hero::before { background: radial-gradient(ellipse at 70% 50%, rgba(124,58,237,.28) 0%, transparent 60%); }
body.prog-minb .hero-card-icon { background: rgba(124,58,237,.2); }
body.prog-minb .mod-item:hover { border-color: #ccaff9; box-shadow: 0 4px 18px rgba(124,58,237,.08); }
body.prog-minb .mod-item.open { border-color: #7c3aed; box-shadow: 0 8px 32px rgba(124,58,237,.13); }
body.prog-minb .sidebar-cta { background: linear-gradient(135deg, #7c3aed 0%, #a070ef 100%); }
body.prog-minb .faq-item.open { border-color: #7c3aed; }
body.prog-minb .testi-avatar { background: linear-gradient(135deg, #7c3aed, #a070ef); }
body.prog-minb .testi-card:hover { border-color: #ccaff9; }

body.prog-onco {
  --rose-50:  #fdf0f8;
  --rose-100: #f9d0ee;
  --rose-200: #f2a2da;
  --rose-400: #e05cb8;
  --rose-500: #c4309a;
  --rose-600: #a0267e;
}
body.prog-onco .nav-home-text span { color: #c4309a; }
body.prog-onco .hero { background: linear-gradient(135deg, #1a0016 0%, #46004a 40%, #78007a 100%); }
body.prog-onco .hero::before { background: radial-gradient(ellipse at 70% 50%, rgba(196,48,154,.28) 0%, transparent 60%); }
body.prog-onco .hero-card-icon { background: rgba(196,48,154,.2); }
body.prog-onco .mod-item:hover { border-color: #f2a2da; box-shadow: 0 4px 18px rgba(196,48,154,.08); }
body.prog-onco .mod-item.open { border-color: #c4309a; box-shadow: 0 8px 32px rgba(196,48,154,.13); }
body.prog-onco .sidebar-cta { background: linear-gradient(135deg, #c4309a 0%, #e05cb8 100%); }
body.prog-onco .faq-item.open { border-color: #c4309a; }
body.prog-onco .testi-avatar { background: linear-gradient(135deg, #c4309a, #e05cb8); }
body.prog-onco .testi-card:hover { border-color: #f2a2da; }

body.prog-denfeq {
  --rose-50:  #edf5fb;
  --rose-100: #cde4f5;
  --rose-200: #9ac8eb;
  --rose-400: #4a9fd4;
  --rose-500: #1e80bc;
  --rose-600: #14639a;
}
body.prog-denfeq .nav-home-text span { color: #1e80bc; }
body.prog-denfeq .hero { background: linear-gradient(135deg, #01111e 0%, #042d4a 40%, #0a5078 100%); }
body.prog-denfeq .hero::before { background: radial-gradient(ellipse at 70% 50%, rgba(30,128,188,.28) 0%, transparent 60%); }
body.prog-denfeq .hero-card-icon { background: rgba(30,128,188,.2); }
body.prog-denfeq .mod-item:hover { border-color: #9ac8eb; box-shadow: 0 4px 18px rgba(30,128,188,.08); }
body.prog-denfeq .mod-item.open { border-color: #1e80bc; box-shadow: 0 8px 32px rgba(30,128,188,.13); }
body.prog-denfeq .sidebar-cta { background: linear-gradient(135deg, #1e80bc 0%, #4a9fd4 100%); }
body.prog-denfeq .faq-item.open { border-color: #1e80bc; }
body.prog-denfeq .testi-avatar { background: linear-gradient(135deg, #1e80bc, #4a9fd4); }
body.prog-denfeq .testi-card:hover { border-color: #9ac8eb; }

body.prog-suero {
  --rose-50:  #edfaf3;
  --rose-100: #c8f0da;
  --rose-200: #90ddb4;
  --rose-400: #38c077;
  --rose-500: #18a058;
  --rose-600: #0f7e44;
}
body.prog-suero .nav-home-text span { color: #18a058; }
body.prog-suero .hero { background: linear-gradient(135deg, #011810 0%, #04402a 40%, #086040 100%); }
body.prog-suero .hero::before { background: radial-gradient(ellipse at 70% 50%, rgba(24,160,88,.28) 0%, transparent 60%); }
body.prog-suero .hero-card-icon { background: rgba(24,160,88,.2); }
body.prog-suero .mod-item:hover { border-color: #90ddb4; box-shadow: 0 4px 18px rgba(24,160,88,.08); }
body.prog-suero .mod-item.open { border-color: #18a058; box-shadow: 0 8px 32px rgba(24,160,88,.13); }
body.prog-suero .sidebar-cta { background: linear-gradient(135deg, #18a058 0%, #38c077 100%); }
body.prog-suero .faq-item.open { border-color: #18a058; }
body.prog-suero .testi-avatar { background: linear-gradient(135deg, #18a058, #38c077); }
body.prog-suero .testi-card:hover { border-color: #90ddb4; }

/* ── PÁGINAS CONÓCENOS ── */
body.page-conocenos .hero {
  background: linear-gradient(135deg, #0d1f3c 0%, #1a3560 45%, #163054 100%);
}
body.page-conocenos .hero::before {
  background: radial-gradient(ellipse at 70% 50%, rgba(59,130,246,.2) 0%, transparent 65%);
}
.cn-hero { max-width: 680px; padding: 2.5rem 0 3rem; }
.cn-wrap { padding: 3rem 0 5rem; max-width: 860px; margin: 0 auto; }
.cn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin: 1.5rem 0; }
.cn-card { background: var(--slate-50); border-radius: 16px; padding: 1.8rem 2rem; border: 1px solid var(--slate-200); }
.cn-card.full { grid-column: 1 / -1; }
.cn-card-icon { font-size: 2rem; margin-bottom: .65rem; line-height: 1; }
.cn-card-title { font-size: 1.05rem; font-weight: 800; color: var(--slate-800); margin-bottom: .55rem; }
.cn-card-text { color: var(--slate-700); font-size: .92rem; line-height: 1.82; }
.cn-quote { background: linear-gradient(135deg, rgba(59,130,246,.06), rgba(168,85,247,.04)); border: 1px solid rgba(59,130,246,.18); border-radius: 16px; padding: 1.8rem 2rem 1.8rem 2.5rem; position: relative; overflow: hidden; }
.cn-quote::before { content: '\201C'; font-size: 5rem; line-height: 1; color: rgba(59,130,246,.18); font-family: Georgia, serif; position: absolute; top: -.5rem; left: .5rem; pointer-events: none; }
.cn-quote p { color: var(--slate-700); font-size: 1rem; line-height: 1.85; font-style: italic; }
.cn-logo-colors { display: flex; gap: 1.2rem; margin-top: 1.2rem; flex-wrap: wrap; }
.cn-color-chip { display: flex; align-items: center; gap: .7rem; background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 12px; padding: .7rem 1rem; flex: 1; min-width: 160px; }
.cn-color-dot { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; }

/* ── Misión y Visión · Impact cards ── */
.mv-impact-card {
  position: relative; overflow: hidden;
  border-radius: 20px; padding: 2.2rem 2rem 1.8rem;
  margin-top: 1.2rem;
}
.mv-mission {
  background: #0f172a;
  border: 1px solid rgba(255,255,255,.07);
  border-top: 3px solid var(--rose-500);
}
.mv-vision {
  background: #1e293b;
  border: 1px solid rgba(255,255,255,.07);
  border-top: 3px solid #3b82f6;
}
.mv-deco-letter {
  position: absolute; top: -1rem; right: 1.2rem;
  font-size: 8rem; font-weight: 900; line-height: 1;
  color: rgba(255,255,255,.04); pointer-events: none;
  font-family: var(--font);
}
.mv-impact-body { position: relative; z-index: 1; }
.mv-impact-text {
  font-size: 1.05rem; color: rgba(255,255,255,.88);
  line-height: 1.8; font-style: italic;
  border-left: 3px solid var(--rose-400);
  padding-left: 1.2rem;
}
.mv-impact-text em {
  font-style: normal; color: var(--rose-400); font-weight: 700;
}

/* Stats row (misión) */
.mv-stats-row {
  display: flex; align-items: center; gap: 0;
  margin-top: 1.8rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.mv-stat { flex: 1; text-align: center; }
.mv-stat-num { display: block; font-size: 1.6rem; font-weight: 800; color: var(--rose-400); line-height: 1; }
.mv-stat-lbl { display: block; font-size: .68rem; color: rgba(255,255,255,.5); margin-top: .3rem; font-weight: 500; }
.mv-stat-sep { width: 1px; height: 40px; background: rgba(255,255,255,.12); flex-shrink: 0; }

/* Chips (visión) */
.mv-vision-chips {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-top: 1.5rem; padding-top: 1.3rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.mv-chip {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.8); font-size: .72rem; font-weight: 600;
  padding: .3rem .8rem; border-radius: 999px;
  letter-spacing: .04em;
}

/* Valores grid */
.mv-valores-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem; margin-top: 1.4rem;
}
.mv-valor {
  background: #fff;
  border: 1.5px solid var(--slate-200);
  border-top: 3px solid var(--rose-400);
  border-radius: 16px; padding: 1.4rem 1.2rem;
  position: relative;
  transition: box-shadow .2s, transform .2s;
}
.mv-valor:hover {
  box-shadow: 0 10px 30px rgba(224,85,133,.1);
  transform: translateY(-3px);
}
.mv-valor--wide { grid-column: 1 / -1; }
.mv-valor-num {
  font-size: .68rem; font-weight: 800; color: var(--rose-400);
  letter-spacing: .12em; margin-bottom: .5rem;
}
.mv-valor-icon { font-size: 1.6rem; margin-bottom: .5rem; }
.mv-valor-title { font-size: .95rem; font-weight: 800; color: var(--slate-800); margin-bottom: .4rem; }
.mv-valor-text  { font-size: .8rem; color: var(--slate-500); line-height: 1.65; }

/* CTA wrap */
.mv-cta-wrap {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: .8rem;
  padding: 2rem 0 1rem; text-align: center;
}
.mv-cta-label {
  width: 100%; font-size: .85rem; color: var(--slate-500);
  margin-bottom: .2rem;
}

@media (max-width: 600px) {
  .mv-valores-grid { grid-template-columns: 1fr; }
  .mv-valor--wide  { grid-column: 1; }
  .mv-stats-row    { gap: .5rem; }
  .mv-impact-text  { font-size: .92rem; }
}
.cn-color-label { font-size: .82rem; font-weight: 700; color: var(--slate-800); display: block; }
.cn-color-desc { font-size: .75rem; color: var(--slate-500); }
@media (max-width: 640px) {
  .cn-grid { grid-template-columns: 1fr; }
  .cn-card.full { grid-column: 1; }
  .cn-logo-colors { flex-direction: column; }
}

/* ── enterate.html — cat-collapse & toggle ── */
.catalog-section .section-tag { margin-bottom: .75rem; }
.cat-collapse { overflow: hidden; max-height: 0; opacity: 0; transition: max-height .4s cubic-bezier(.4,0,.2,1), opacity .3s ease; }
.cat-collapse.open { max-height: 4000px; opacity: 1; }
.cat-toggle-btn { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; background: none; border: 1.5px solid var(--slate-200); border-radius: 50px; padding: 7px 18px; font-size: .78rem; font-weight: 700; color: var(--slate-500); cursor: pointer; transition: border-color .18s, color .18s, background .18s; font-family: inherit; }
.cat-toggle-btn:hover { border-color: var(--rose-300); color: var(--rose-500); background: var(--rose-50); }
.cat-toggle-btn svg { width: 13px; height: 13px; transition: transform .3s ease; flex-shrink: 0; }
.cat-toggle-btn.open svg { transform: rotate(180deg); }

/* ── enterate.html — mapa ── */
.map-wrap { border-radius: 16px; overflow: hidden; border: 1.5px solid var(--slate-200); box-shadow: var(--shadow-sm); }
.map-wrap iframe { border: 0; display: block; }
.map-btns { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.map-btn { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; padding: .5rem 1rem; border-radius: 50px; text-decoration: none; }
.map-btn-primary { color: var(--rose-500); border: 1.5px solid var(--rose-200); background: var(--rose-50); }
.map-btn-secondary { color: var(--slate-600); border: 1.5px solid var(--slate-200); background: var(--slate-50); }

/* ── Mobile overflow — todas las páginas programas/ ── */
/* overflow-x: clip no crea scroll container → evita el bug de iOS/Safari que desplaza  */
/* el viewport a la derecha y corta el texto del lado izquierdo                          */
@media (max-width: 768px) {
  html, body { overflow-x: clip; overscroll-behavior-x: none; }
  .reels-coverflow { overflow: hidden; }
  .social-float { display: none; }
}
@media (max-width: 400px) {
  .reel-cf-card[data-pos="far-right"],
  .reel-cf-card[data-pos="far-left"] { opacity: 0; pointer-events: none; }
}

/* ═══════════════════════════════════════════════════════════════
   bienvenida.html — Carta del Rector
   ═══════════════════════════════════════════════════════════════ */
.bv-carta {
  position: relative;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #0284c7;
  border-radius: 16px;
  padding: 2.5rem 2rem 2rem 2.2rem;
  box-shadow: 0 4px 28px rgba(0,0,0,.06);
  margin-top: 1.2rem;
}
.bv-carta-quote {
  position: absolute;
  top: .6rem; left: 1.6rem;
  font-size: 5.5rem;
  line-height: 1;
  color: #bae6fd;
  font-family: Georgia, 'Times New Roman', serif;
  pointer-events: none;
  user-select: none;
}
.bv-carta-body { padding-top: 2rem; }
.bv-carta-p {
  font-size: 1.04rem;
  color: #334155;
  line-height: 1.9;
  margin-bottom: 1.1rem;
}
.bv-carta-p:last-child { margin-bottom: 0; }
.bv-carta-p em {
  font-style: normal;
  color: #0284c7;
  font-weight: 700;
}
.bv-firma {
  margin-top: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.bv-firma-avatar {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, #0ea5e9, #0369a1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.bv-firma-name { font-weight: 800; color: #0f172a; font-size: .97rem; }
.bv-firma-title { font-size: .78rem; color: #64748b; margin-top: 2px; }
.bv-stats {
  display: flex;
  margin-top: 1.5rem;
  background: #f1f5f9;
  border-radius: 14px;
  overflow: hidden;
  gap: 1px;
}
.bv-stat {
  flex: 1;
  background: #f8fafc;
  padding: 1.3rem 1rem;
  text-align: center;
}
.bv-stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: #0284c7;
  line-height: 1;
}
.bv-stat-lbl {
  display: block;
  font-size: .7rem;
  color: #64748b;
  font-weight: 600;
  margin-top: .35rem;
  letter-spacing: .01em;
}
.bv-rector {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 16px;
  padding: 2rem;
  margin-top: 1.2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.bv-rector-avatar {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, #0ea5e9, #0369a1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}
.bv-rector-name { font-size: 1.1rem; font-weight: 800; color: #0f172a; }
.bv-rector-cargo { font-size: .82rem; color: #0284c7; font-weight: 700; margin-top: 3px; }
.bv-rector-bio {
  font-size: .88rem;
  color: #475569;
  line-height: 1.8;
  margin-top: .75rem;
}
.bv-rector-chips {
  display: flex; flex-wrap: wrap; gap: .4rem;
  margin-top: .9rem;
}
.bv-chip {
  background: #fff;
  border: 1px solid #bae6fd;
  color: #0284c7;
  font-size: .72rem;
  font-weight: 700;
  border-radius: 20px;
  padding: .22rem .65rem;
}
.bv-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.2rem;
}
.bv-pillar {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.5rem;
  transition: border-color .2s, box-shadow .2s;
}
.bv-pillar:hover {
  border-color: #7dd3fc;
  box-shadow: 0 4px 20px rgba(14,165,233,.08);
}
.bv-pillar--wide { grid-column: 1 / -1; }
.bv-pillar-num {
  font-size: .66rem; font-weight: 800;
  letter-spacing: .12em; color: #94a3b8;
  text-transform: uppercase; margin-bottom: .5rem;
}
.bv-pillar-icon { font-size: 1.6rem; margin-bottom: .5rem; }
.bv-pillar-title {
  font-size: .95rem; font-weight: 800;
  color: #0f172a; margin-bottom: .4rem;
}
.bv-pillar-text { font-size: .82rem; color: #64748b; line-height: 1.75; }
@media (max-width: 600px) {
  .bv-pillars { grid-template-columns: 1fr; }
  .bv-pillar--wide { grid-column: 1; }
  .bv-stats { flex-wrap: wrap; }
  .bv-stat { min-width: calc(50% - 1px); }
  .bv-rector { flex-direction: column; }
  .bv-rector-avatar { width: 52px; height: 52px; font-size: 1.5rem; }
}

/* ═══════════════════════════════════════════════════════════════
   congreso-nacional-jefas-enfermeria.html
   ═══════════════════════════════════════════════════════════════ */
.hero-congreso .hero { background: linear-gradient(135deg, #1a1200 0%, #2d1f00 40%, #1a1200 100%); }
body.prog-congreso .hero { background: linear-gradient(135deg, #1a1200 0%, #2d1f00 40%, #1a1200 100%); }
body.prog-congreso .hero h1 span { background: linear-gradient(135deg,#fbbf24,#f59e0b,#d97706); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
body.prog-congreso .hero-badge { background: rgba(251,191,36,.12); border:1px solid rgba(251,191,36,.3); color:#fde68a; }
body.prog-congreso .hero-card { border-color: rgba(251,191,36,.2); background: rgba(251,191,36,.04); }
body.prog-congreso .hero-stat-num { color:#fbbf24; }
body.prog-congreso .btn-primary { background:#f59e0b; }
body.prog-congreso .btn-primary:hover { background:#d97706; }
.ponentes-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:1rem; margin-top:1rem; }
.ponente-card { background:#fff; border:1px solid var(--slate-200); border-radius:16px; padding:1.25rem; display:flex; flex-direction:column; gap:.6rem; transition:box-shadow .18s; }
.ponente-card:hover { box-shadow:0 4px 20px rgba(0,0,0,.08); }
.ponente-top { display:flex; align-items:center; gap:1rem; }
.ponente-avatar { width:46px; height:46px; border-radius:50%; background:linear-gradient(135deg,#fbbf24,#f59e0b); display:flex; align-items:center; justify-content:center; font-weight:800; font-size:.9rem; color:#fff; flex-shrink:0; }
.ponente-name { font-weight:800; font-size:.88rem; color:#0f172a; line-height:1.3; }
.ponente-org { font-size:.73rem; color:#64748b; line-height:1.4; }
.ponente-lugar { display:inline-flex; align-items:center; gap:4px; font-size:.68rem; font-weight:700; color:#92400e; background:#fef3c7; border:1px solid #fde68a; border-radius:50px; padding:.2rem .65rem; width:fit-content; }
.ponente-tema { font-size:.8rem; color:#475569; line-height:1.55; border-left:2px solid #fbbf24; padding-left:.75rem; font-style:italic; }
.agenda-table { width:100%; border-collapse:collapse; margin-top:.5rem; }
.agenda-table tr { border-bottom:1px solid #f1f5f9; }
.agenda-table tr:last-child { border-bottom:none; }
.agenda-table td { padding:.55rem .5rem; font-size:.8rem; vertical-align:top; }
.agenda-table td:first-child { width:80px; color:#92400e; font-weight:700; white-space:nowrap; }
.agenda-table td:last-child { color:#334155; }
.agenda-table .ponente-ref { font-size:.71rem; color:#94a3b8; margin-top:2px; }
.agenda-table .highlight-row td { background:#fefce8; }
.incluye-grid { display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin-top:1rem; }
.incluye-col { background:#fff; border:1px solid var(--slate-200); border-radius:14px; padding:1.1rem 1.25rem; }
.incluye-col h4 { font-size:.78rem; font-weight:800; text-transform:uppercase; letter-spacing:.1em; margin-bottom:.75rem; }
.incluye-col.si h4 { color:#15803d; }
.incluye-col.no h4 { color:#dc2626; }
.incluye-item { display:flex; gap:.5rem; align-items:flex-start; font-size:.82rem; color:#334155; margin-bottom:.45rem; }
.incluye-item:last-child { margin-bottom:0; }
.tematica-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:.85rem; margin-top:1rem; }
.tematica-item { background:#fff; border:1px solid var(--slate-200); border-radius:12px; padding:1rem 1.1rem; display:flex; gap:.75rem; align-items:flex-start; }
.tematica-dot { width:10px; height:10px; border-radius:50%; background:#f59e0b; flex-shrink:0; margin-top:4px; }
.tematica-text { font-size:.82rem; color:#334155; font-weight:600; line-height:1.4; }
@media (max-width:600px) {
  .ponentes-grid { grid-template-columns:1fr; }
  .incluye-grid { grid-template-columns:1fr; }
  .tematica-grid { grid-template-columns:1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   instalaciones.html — Bento + Masonry + Lightbox
   ═══════════════════════════════════════════════════════════════ */
.areas-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr 1fr;
  grid-template-rows: 210px 210px;
  gap: 10px;
  margin-top: 1.8rem;
}
.area-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: var(--slate-200);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: box-shadow .3s, transform .3s cubic-bezier(.25,.46,.45,.94);
}
.area-card:first-child { grid-row: span 2; }
.area-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,.2); transform: translateY(-2px); }
.area-card img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .7s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}
.area-card:hover img { transform: scale(1.08); }
.area-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,12,30,.88) 0%, rgba(6,12,30,.1) 55%, transparent 100%);
  transition: background .35s;
}
.area-card:hover .area-card-overlay {
  background: linear-gradient(to top, rgba(6,12,30,.94) 0%, rgba(6,12,30,.28) 60%, transparent 100%);
}
.area-card-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.1rem 1.3rem 1.3rem; }
.area-card-tag { font-size: .6rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--rose-400); margin-bottom: 5px; display: block; }
.area-card-name { font-size: 1rem; font-weight: 800; color: #fff; line-height: 1.2; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.area-card:first-child .area-card-name { font-size: 1.4rem; }
.area-card-desc { font-size: .72rem; color: rgba(255,255,255,.72); margin-top: 5px; line-height: 1.45; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .35s ease, opacity .35s ease; }
.area-card:hover .area-card-desc { max-height: 60px; opacity: 1; }
.area-card-btn { display: inline-flex; align-items: center; gap: 4px; font-size: .68rem; font-weight: 700; color: var(--rose-300); margin-top: 9px; opacity: 0; transform: translateY(5px); transition: opacity .25s .05s, transform .25s .05s; }
.area-card:hover .area-card-btn { opacity: 1; transform: translateY(0); }
.sec-divider {
  display: flex; align-items: center; gap: 14px;
  margin: 2.5rem 0 0;
  color: var(--slate-300);
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.sec-divider::before, .sec-divider::after { content: ''; flex: 1; height: 1px; background: var(--slate-200); }
.mg-wrap {
  columns: 3;
  column-gap: 10px;
  margin-top: 1.6rem;
}
.mg-item {
  break-inside: avoid;
  margin-bottom: 10px;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--slate-100);
  opacity: 0;
  transform: translateY(22px) scale(.97);
  transition: opacity .48s cubic-bezier(.22,1,.36,1), transform .48s cubic-bezier(.22,1,.36,1), box-shadow .25s;
}
.mg-item.mg-in { opacity: 1; transform: none; }
.mg-item:hover { box-shadow: 0 12px 38px rgba(0,0,0,.2); }
.mg-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s cubic-bezier(.25,.46,.45,.94);
}
.mg-item:hover img { transform: scale(1.05); }
.mg-item-caption {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,14,30,.78) 0%, transparent 52%);
  display: flex; align-items: flex-end;
  padding: .65rem .85rem;
  opacity: 0;
  transition: opacity .25s;
}
.mg-item:hover .mg-item-caption { opacity: 1; }
.mg-item-label {
  color: #fff; font-size: .7rem; font-weight: 700;
  transform: translateY(5px);
  transition: transform .22s;
  text-shadow: 0 1px 5px rgba(0,0,0,.7);
  line-height: 1.3;
}
.mg-item:hover .mg-item-label { transform: translateY(0); }
#lb { display: none; position: fixed; inset: 0; z-index: 9000; background: rgba(0,0,0,.93); align-items: center; justify-content: center; padding: 1rem; animation: lbIn .2s ease; }
#lb.open { display: flex; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
#lb-img { max-width: 92vw; max-height: 88vh; border-radius: 14px; box-shadow: 0 30px 90px rgba(0,0,0,.7); object-fit: contain; }
#lb-close { position: fixed; top: 1.2rem; right: 1.4rem; background: rgba(255,255,255,.15); border: none; color: #fff; font-size: 1.8rem; line-height: 1; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; }
#lb-close:hover { background: rgba(255,255,255,.3); transform: scale(1.1) rotate(90deg); }
#lb-caption { position: fixed; bottom: 1.4rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.82); font-size: .8rem; font-weight: 600; background: rgba(0,0,0,.55); padding: .42rem 1.1rem; border-radius: 50px; white-space: nowrap; backdrop-filter: blur(8px); }
#lb-prev, #lb-next { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: none; color: #fff; font-size: 2rem; line-height: 1; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; }
#lb-prev:hover { background: rgba(255,255,255,.25); transform: translateY(-50%) scale(1.1); }
#lb-next:hover { background: rgba(255,255,255,.25); transform: translateY(-50%) scale(1.1); }
#lb-prev { left: 1rem; }
#lb-next { right: 1rem; }
@media (max-width: 900px) {
  .areas-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 190px 190px 190px; }
  .area-card:first-child { grid-row: span 1; grid-column: span 2; }
  .mg-wrap { columns: 2; column-gap: 7px; }
}
@media (max-width: 600px) {
  .areas-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 150px 150px 150px; gap: 7px; }
  .area-card:first-child { grid-row: span 1; grid-column: span 2; }
  .area-card-name { font-size: .85rem; }
  .area-card:first-child .area-card-name { font-size: 1rem; }
  .mg-wrap { columns: 2; column-gap: 6px; }
  .mg-item { margin-bottom: 6px; border-radius: 10px; }
  #lb-prev { left: .3rem; } #lb-next { right: .3rem; }
}
