/* ============================================================
   docksta-premium.css — Colegio Docksta
   Colores extraídos exactamente del diseño HTML premium.
   Cargado DESPUÉS de los CSS base.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── Tokens exactos del diseño premium ───────────────────────── */
:root {
  --green        : #2a7a3b;
  --green-dark   : #1d5a2a;
  --green-light  : #3d9c52;
  --gold         : #c9a227;
  --gold-light   : #e8bc3a;
  --navy         : #1a2744;
  --navy-light   : #243358;
  --gray-light   : #f5f5f3;
  --gray         : #e8e8e4;
  --text         : #1a1a1a;
  --text-muted   : #555;
  --font-ui      : 'DM Sans', 'Source Sans 3', system-ui, sans-serif;

  /* Sobreescribir variables del sistema base para que todo coincida */
  --color-verde        : #2a7a3b;
  --color-verde-oscuro : #1d5a2a;
  --color-verde-claro  : #d5f5e3;
  --color-azul-oscuro  : #1a2744;
  --color-azul         : #243358;
  --color-gold         : #c9a227;
  --color-gold-light   : #e8bc3a;
  --color-navy         : #1a2744;
  --transition-medium  : 350ms cubic-bezier(.4,0,.2,1);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TOPBAR
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.topbar {
  background : var(--navy);
  color      : #ccc;
  font-size  : 12.5px;
  height     : 40px;
  font-family: var(--font-ui);
}
.topbar__inner {
  display        : flex;
  align-items    : center;
  justify-content: space-between;
}
.topbar__left, .topbar__right {
  display    : flex;
  align-items: center;
  gap        : 20px;
}
.topbar__link {
  color      : #ccc;
  display    : flex;
  align-items: center;
  gap        : 5px;
  font-size  : 12.5px;
  transition : color .2s;
}
.topbar__link:hover { color: var(--gold-light); }

.topbar__badge--matricula {
  background   : var(--green);
  color        : #fff;
  font-size    : 11px;
  font-weight  : 600;
  padding      : 3px 10px;
  border-radius: 999px;
  animation    : topbarPulse 2.4s ease-in-out infinite;
}
@keyframes topbarPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(42,122,59,.45); }
  50%     { box-shadow: 0 0 0 6px rgba(42,122,59,0); }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HEADER / NAV
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.site-header {
  background : #fff;
  box-shadow : 0 2px 16px rgba(0,0,0,.08);
  border-bottom: none;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.12); }

/* Logo wrap */
.header__logo-wrap {
  display    : flex;
  align-items: center;
  gap        : 12px;
  text-decoration: none;
}
.header__logo-img {
  width        : 62px;
  height       : 62px;
  object-fit   : contain;
  border-radius: 50%;
  flex-shrink  : 0;
}
.header__logo-text    { display: flex; flex-direction: column; line-height: 1; }
.header__logo-sub {
  font-family   : var(--font-ui);
  font-size     : 11px;
  font-weight   : 500;
  color         : var(--navy);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom : 1px;
}
.header__logo-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size  : 26px;
  font-weight: 700;
  color      : var(--navy);
  line-height: 1;
}
.header__logo-city {
  font-family   : var(--font-ui);
  font-size     : 11px;
  color         : var(--text-muted);
  letter-spacing: 1px;
  margin-top    : 2px;
}

/* Nav links */
.nav__link {
  font-family: var(--font-ui);
  font-size  : 13.5px;
  font-weight: 500;
  color      : var(--text);
  padding    : 8px 14px;
  border-radius: 6px;
  transition : all .2s;
}
.nav__link:hover       { color: var(--green); background: var(--gray-light); }
.nav__link--active     { color: var(--green) !important; }
.nav__link--btn        { font-family: var(--font-ui); font-size: 13.5px; font-weight: 500; color: var(--text); }
.nav__link--btn:hover  { color: var(--green); background: var(--gray-light); }

/* Indicador activo dorado */
.nav__link--active::after {
  content      : '';
  position     : absolute;
  bottom       : 0;
  left         : 14px;
  right        : 14px;
  height       : 2px;
  background   : var(--gold);
  border-radius: 2px;
}
.nav__item { position: relative; }

/* Botón Portal Estudiantes verde */
.nav__link--portal-btn {
  background   : var(--green) !important;
  color        : #fff !important;
  padding      : 9px 18px !important;
  border-radius: 8px !important;
  font-weight  : 600 !important;
  margin-left  : 8px;
  font-family  : var(--font-ui);
}
.nav__link--portal-btn:hover {
  background: var(--green-dark) !important;
  color     : #fff !important;
  transform : translateY(-1px);
}

/* Dropdown */
.nav__dropdown li a {
  font-family: var(--font-ui);
  font-size  : 13.5px;
  color      : var(--text);
}
.nav__dropdown li a:hover {
  background: var(--gray-light);
  color     : var(--green);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HERO SLIDER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.slide__overlay {
  background: linear-gradient(110deg, rgba(26,39,68,.45) 30%, rgba(26,39,68,.10) 100%);
}

/* Eyebrow "Lugar para" en italic */
.slide__place-label {
  display    : block;
  font-family: var(--font-ui);
  font-style : italic;
  font-weight: 300;
  font-size  : 18px;
  color      : var(--gold-light);
  margin-bottom: 4px;
  opacity    : 0;
  transition : opacity .8s .15s ease;
}
.splide__slide.is-active .slide__place-label { opacity: 1; }

/* "Crecer" en dorado */
.slide__title--gold { color: var(--gold-light); }

/* "desde 1993" */
.slide__since {
  display       : block;
  font-family   : var(--font-ui);
  font-size     : 11px;
  font-weight   : 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color         : rgba(255,255,255,.55);
  margin-bottom : 12px;
}

/* Subtítulo con borde izquierdo dorado */
.slide__subtitle--premium {
  border-left : 3px solid var(--gold);
  padding-left: 16px;
  font-size   : 16px;
  color       : rgba(255,255,255,.82);
  max-width   : 420px;
  font-family : var(--font-ui);
}

/* Paginación dorada */
.hero-slider .splide__pagination__page.is-active {
  background: var(--gold);
  width     : 24px;
}

/* Botón Ver Video */
.btn--video {
  display     : inline-flex;
  align-items : center;
  gap         : 12px;
  color       : rgba(255,255,255,.9);
  font-weight : 500;
  font-size   : 14px;
  font-family : var(--font-ui);
  padding     : 8px 16px;
  border      : 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  background  : rgba(255,255,255,.08);
  backdrop-filter: blur(4px);
  transition  : background .2s, border-color .2s;
  text-decoration: none;
}
.btn--video:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.5); }
.btn--video .play-icon {
  width          : 28px;
  height         : 28px;
  background     : rgba(255,255,255,.9);
  border-radius  : 50%;
  display        : flex;
  align-items    : center;
  justify-content: center;
  flex-shrink    : 0;
}
.btn--video .play-icon svg { fill: var(--navy); margin-left: 2px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BOTONES GLOBALES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.btn {
  font-family  : var(--font-ui);
  font-weight  : 600;
  border-radius: 8px;
  transition   : background .2s, transform .2s, box-shadow .2s;
  display      : inline-flex;
  align-items  : center;
  gap          : 8px;
  cursor       : pointer;
  border       : 2px solid transparent;
  font-size    : 14px;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--green);
  color     : #fff;
  padding   : 12px 24px;
}
.btn--primary:hover { background: var(--green-dark); }

.btn--outline {
  background  : transparent;
  color       : var(--green);
  border-color: var(--green);
  padding     : 10px 22px;
}
.btn--outline:hover { background: var(--green); color: #fff; }

.btn--outline-white {
  background  : transparent;
  color       : #fff;
  border-color: rgba(255,255,255,.5);
  padding     : 10px 22px;
}
.btn--outline-white:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.btn--lg { padding: 14px 32px; font-size: 16px; }
.btn--sm { padding: 6px 16px; font-size: 12px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   QUICK ACCESS CARDS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.quick-access {
  background: #fff;
  padding   : 24px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.quick-access__grid {
  display              : grid;
  grid-template-columns: repeat(6, 1fr);
  gap                  : 12px;
}
@media (max-width: 1100px) { .quick-access__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .quick-access__grid { grid-template-columns: repeat(2, 1fr); } }

.qa-card {
  display       : flex;
  flex-direction: column;
  align-items   : center;
  gap           : 8px;
  padding       : 20px 12px;
  border-radius : 12px;
  border        : 1.5px solid var(--gray);
  cursor        : pointer;
  text-decoration: none;
  color         : var(--text);
  background    : #fff;
  transition    : transform .2s, box-shadow .2s, border-color .2s;
}
.qa-card:hover {
  transform  : translateY(-4px);
  box-shadow : 0 8px 24px rgba(0,0,0,.1);
  border-color: var(--green);
}

/* Variantes del HTML original */
.qa-card--verde,
.qa-card.green  { background: var(--green); border-color: var(--green); color: #fff; }
.qa-card--dorado,
.qa-card.gold   { background: var(--gold);  border-color: var(--gold);  color: #fff; }
.qa-card--azul,
.qa-card.navy   { background: var(--navy);  border-color: var(--navy);  color: #fff; }

.qa-card--verde:hover,
.qa-card.green:hover { border-color: var(--green-dark); background: var(--green-dark); }
.qa-card--dorado:hover,
.qa-card.gold:hover  { border-color: #b8911e; background: #b8911e; }
.qa-card--azul:hover,
.qa-card.navy:hover  { border-color: var(--navy-light); background: var(--navy-light); }

.qa-card__icon-wrap {
  width          : 52px;
  height         : 52px;
  border-radius  : 10px;
  background     : var(--gray-light);
  display        : flex;
  align-items    : center;
  justify-content: center;
  flex-shrink    : 0;
}
.qa-card--verde .qa-card__icon-wrap,
.qa-card.green  .qa-card__icon-wrap { background: rgba(255,255,255,.2); }
.qa-card--dorado .qa-card__icon-wrap,
.qa-card.gold   .qa-card__icon-wrap { background: rgba(255,255,255,.2); }
.qa-card--azul .qa-card__icon-wrap,
.qa-card.navy  .qa-card__icon-wrap  { background: rgba(255,255,255,.15); }
.qa-card__icon-wrap svg { width: 24px; height: 24px; }

.qa-card__title {
  font-family: var(--font-ui);
  font-size  : 12px;
  font-weight: 700;
  text-align : center;
  line-height: 1.3;
  letter-spacing: .5px;
}
.qa-card__desc {
  font-family: var(--font-ui);
  font-size  : 11.5px;
  text-align : center;
  line-height: 1.4;
  color      : var(--text-muted);
}
.qa-card--verde .qa-card__desc,
.qa-card.green  .qa-card__desc,
.qa-card--dorado .qa-card__desc,
.qa-card.gold   .qa-card__desc,
.qa-card--azul .qa-card__desc,
.qa-card.navy  .qa-card__desc { color: rgba(255,255,255,.8); }

.qa-card__cta {
  font-family   : var(--font-ui);
  font-size     : 10px;
  font-weight   : 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top    : 4px;
  padding       : 5px 12px;
  border-radius : 999px;
  border        : 1px solid rgba(0,0,0,.15);
  background    : transparent;
  transition    : background .2s;
}
.qa-card--verde .qa-card__cta,
.qa-card.green  .qa-card__cta { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.2); }
.qa-card--dorado .qa-card__cta,
.qa-card.gold   .qa-card__cta { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.2); }
.qa-card--azul .qa-card__cta,
.qa-card.navy  .qa-card__cta  { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.15); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SECCIÓN NOTICIAS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.noticias-layout {
  display              : grid;
  grid-template-columns: 1fr 300px;
  gap                  : 40px;
  align-items          : start;
}
@media (max-width: 960px) { .noticias-layout { grid-template-columns: 1fr; } }

.section-header--flex {
  display        : flex;
  align-items    : flex-end;
  justify-content: space-between;
  margin-bottom  : 32px;
  gap            : 16px;
}
.section-header--flex .section-header { margin-bottom: 0; text-align: left; }

.section-eyebrow-dot {
  display     : inline-flex;
  align-items : center;
  gap         : 8px;
  font-family : var(--font-ui);
  font-size   : 12px;
  font-weight : 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color       : var(--green);
  margin-bottom: 6px;
}
.section-eyebrow-dot::before {
  content      : '';
  width        : 8px;
  height       : 8px;
  border-radius: 50%;
  background   : var(--gold);
  flex-shrink  : 0;
}

.noticias-grid {
  display              : grid;
  grid-template-columns: repeat(2, 1fr);
  gap                  : 24px;
}
@media (max-width: 640px) { .noticias-grid { grid-template-columns: 1fr; } }

/* Cards de noticias */
.card-noticia-premium {
  background     : #fff;
  border-radius  : 14px;
  overflow       : hidden;
  border         : 1px solid #eaecf0;
  box-shadow     : 0 1px 4px rgba(0,0,0,.05);
  transition     : transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  display        : flex;
  flex-direction : column;
  text-decoration: none;
  color          : var(--text);
}
.card-noticia-premium:hover {
  transform    : translateY(-5px);
  box-shadow   : 0 12px 32px rgba(0,0,0,.1);
  border-color : transparent;
}
.card-noticia-premium__img {
  position    : relative;
  aspect-ratio: 16/10;
  overflow    : hidden;
  background  : #e2e8f0;
}
.card-noticia-premium__img img {
  width          : 100%;
  height         : 100%;
  object-fit     : cover;
  object-position: center top;
  transition     : transform .5s ease;
}
.card-noticia-premium:hover .card-noticia-premium__img img { transform: scale(1.06); }

.card-noticia-premium__badge {
  position      : absolute;
  top           : 12px;
  left          : 12px;
  font-family   : var(--font-ui);
  font-size     : 10px;
  font-weight   : 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding       : 4px 10px;
  border-radius : 999px;
  backdrop-filter: blur(8px);
}
.card-noticia-premium__body {
  padding: 20px 20px 18px;
  flex   : 1;
  display: flex;
  flex-direction: column;
  gap    : 8px;
}
.card-noticia-premium__meta {
  font-family: var(--font-ui);
  font-size  : 11.5px;
  color      : #9ca3af;
  display    : flex;
  align-items: center;
  gap        : 8px;
}
.card-noticia-premium__title {
  font-family : 'Playfair Display', Georgia, serif;
  font-size   : 16px;
  font-weight : 700;
  color       : #1a2744;
  line-height : 1.35;
  flex        : 1;
  transition  : color .18s;
}
.card-noticia-premium:hover .card-noticia-premium__title { color: var(--green); }
.card-noticia-premium__excerpt {
  font-family       : var(--font-ui);
  font-size         : 13.5px;
  color             : #6b7280;
  line-height       : 1.65;
  display           : -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow          : hidden;
}
.card-noticia-premium__footer {
  display        : flex;
  align-items    : center;
  justify-content: space-between;
  margin-top     : 8px;
  padding-top    : 12px;
  border-top     : 1px solid #f3f4f6;
}
.card-noticia-premium__leer {
  font-family   : var(--font-ui);
  font-size     : 11.5px;
  font-weight   : 700;
  color         : var(--green);
  display       : flex;
  align-items   : center;
  gap           : 5px;
  letter-spacing: .04em;
  transition    : gap .18s;
}
.card-noticia-premium:hover .card-noticia-premium__leer { gap: 9px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SIDEBAR
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.sidebar-widget {
  background   : #fff;
  border       : 1px solid #eaecf0;
  border-radius: 12px;
  overflow     : hidden;
  margin-bottom: 16px;
  box-shadow   : 0 1px 4px rgba(0,0,0,.04);
}
.sidebar-widget__header {
  padding      : 14px 18px;
  border-bottom: 1px solid #f3f4f6;
}
.sidebar-widget__title {
  font-family   : var(--font-ui);
  font-size     : 11px;
  font-weight   : 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color         : #9ca3af;
}
.sidebar-widget__body { padding: 14px 18px; }

/* Redes sociales sidebar */
.social-list { display: flex; flex-direction: column; gap: 0; }
.social-item {
  display    : flex;
  align-items: center;
  gap        : 12px;
  padding    : 10px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
  text-decoration: none;
  color      : var(--text);
  transition : background .2s;
}
.social-item:hover { background: var(--gray-light); }
.social-item__icon {
  width          : 36px;
  height         : 36px;
  border-radius  : 8px;
  display        : flex;
  align-items    : center;
  justify-content: center;
  flex-shrink    : 0;
}
.social-item__icon--fb { background: #1877f2; }
.social-item__icon--ig { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.social-item__icon--yt { background: #ff0000; }
.social-item__icon svg { fill: #fff; width: 16px; height: 16px; }
.social-item__name   { font-family: var(--font-ui); font-size: 13px; font-weight: 600; color: var(--text); }
.social-item__handle { font-family: var(--font-ui); font-size: 11px; color: var(--text-muted); }

/* Eventos sidebar */
.evento-list  { display: flex; flex-direction: column; gap: 12px; }
.evento-item  { display: flex; gap: 12px; align-items: flex-start; }
.evento-fecha {
  min-width      : 44px;
  height         : 48px;
  background     : var(--navy);
  color          : #fff;
  border-radius  : 8px;
  display        : flex;
  flex-direction : column;
  align-items    : center;
  justify-content: center;
  flex-shrink    : 0;
  text-align     : center;
}
.evento-fecha__dia { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; line-height: 1; }
.evento-fecha__mes {
  font-family   : var(--font-ui);
  font-size     : 9px;
  font-weight   : 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color         : var(--gold);
}
.evento-info__nombre { font-family: var(--font-ui); font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 3px; }
.evento-info__lugar  { font-family: var(--font-ui); font-size: 11.5px; color: var(--text-muted); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SECCIÓN BIBLIOTECA — Catálogo en línea + Biblioteca Digital
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.biblioteca-promo {
  padding   : 56px 0 64px;
  background: var(--gray-light);
}
.biblioteca-promo__grid {
  display              : grid;
  grid-template-columns: 1fr 1fr;
  gap                  : var(--space-6, 24px);
  max-width            : 1100px;
  margin               : 0 auto;
  padding              : 0 24px;
}

/* Variante: bloque embebido en la columna lateral (sidebar) ────── */
.biblioteca-promo--sidebar {
  padding      : 0;
  background   : transparent;
  margin-bottom: 16px;
}
.biblioteca-promo__grid--sidebar {
  grid-template-columns: 1fr;
  max-width            : none;
  margin               : 0;
  padding              : 0;
  gap                  : 14px;
}

/* Tarjeta base */
.biblioteca-promo__card {
  position       : relative;
  overflow       : hidden;
  border-radius  : var(--radius-xl, 18px);
  min-height     : 280px;
  display        : flex;
  flex-direction : column;
  justify-content: flex-end;
  padding        : 36px;
  text-decoration: none;
  box-shadow     : var(--shadow-lg, 0 10px 30px rgba(0,0,0,.12));
  transition     : transform .25s ease, box-shadow .25s ease;
}

/* Variante compacta (tarjetas angostas dentro del sidebar) */
.biblioteca-promo__card--compact {
  min-height: 180px;
  padding   : 22px;
  border-radius: var(--radius-lg, 16px);
}
.biblioteca-promo__card--compact .biblioteca-promo__titulo { font-size: 1.05rem; margin-bottom: 8px; }
.biblioteca-promo__card--compact .biblioteca-promo__desc   { font-size: 12.5px; margin-bottom: 16px; max-width: none; }
.biblioteca-promo__card--compact .biblioteca-promo__badge  { font-size: 10px; padding: 5px 11px; margin-bottom: 12px; }
.biblioteca-promo__card--compact .biblioteca-promo__btn    { font-size: 12.5px; padding: 9px 18px; }
.biblioteca-promo__card--compact .biblioteca-promo__icono-deco { font-size: 100px; }
.biblioteca-promo__card:hover {
  transform : translateY(-5px);
  box-shadow: 0 16px 44px rgba(0,0,0,.18);
}

/* Fondos institucionales (verde / azul oscuro, sin morado) */
.biblioteca-promo__card--catalogo {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-light) 38%, var(--green-dark) 100%);
}
.biblioteca-promo__card--digital {
  background: linear-gradient(145deg, var(--navy-light) 0%, var(--navy) 60%, #11192c 100%);
}

/* Ícono decorativo grande */
.biblioteca-promo__icono-deco {
  position      : absolute;
  top: -14px; right: -14px;
  font-size     : 140px;
  opacity       : .07;
  color         : #fff;
  line-height   : 1;
  pointer-events: none;
}

/* Brillo de esquina */
.biblioteca-promo__glow {
  position     : absolute;
  width: 220px; height: 220px;
  top: -70px; right: 30px;
  border-radius: 50%;
  pointer-events: none;
}
.biblioteca-promo__card--catalogo .biblioteca-promo__glow {
  background: radial-gradient(circle, rgba(61,156,82,.4) 0%, transparent 70%);
}
.biblioteca-promo__card--digital .biblioteca-promo__glow {
  background: radial-gradient(circle, rgba(201,162,39,.30) 0%, transparent 70%);
}

/* Contenido */
.biblioteca-promo__badge {
  position      : relative;
  z-index       : 1;
  align-self    : flex-start;
  display       : inline-flex;
  align-items   : center;
  gap           : 6px;
  font-family   : var(--font-ui);
  font-size     : 11px;
  font-weight   : 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding       : 6px 14px;
  border-radius : var(--radius-full, 999px);
  margin-bottom : 16px;
}
.biblioteca-promo__card--catalogo .biblioteca-promo__badge {
  background: rgba(61,156,82,.25);
  border    : 1px solid rgba(61,156,82,.5);
  color     : var(--green-light);
}
.biblioteca-promo__card--digital .biblioteca-promo__badge {
  background: rgba(201,162,39,.18);
  border    : 1px solid rgba(201,162,39,.4);
  color     : var(--gold-light);
}

.biblioteca-promo__titulo {
  position    : relative;
  z-index     : 1;
  font-family : 'Playfair Display', Georgia, serif;
  font-size   : clamp(1.4rem, 2.2vw, 1.8rem);
  color       : #fff;
  line-height : 1.18;
  margin      : 0 0 12px;
}
.biblioteca-promo__titulo em { font-style: italic; }
.biblioteca-promo__card--catalogo .biblioteca-promo__titulo em { color: var(--green-light); }
.biblioteca-promo__card--digital  .biblioteca-promo__titulo em { color: var(--gold-light); }

.biblioteca-promo__desc {
  position    : relative;
  z-index     : 1;
  font-family : var(--font-ui);
  font-size   : 14px;
  color       : rgba(255,255,255,.68);
  line-height : 1.65;
  margin      : 0 0 24px;
  max-width   : 340px;
}

.biblioteca-promo__btn {
  position     : relative;
  z-index      : 1;
  align-self   : flex-start;
  display      : inline-flex;
  align-items  : center;
  gap          : 8px;
  font-family  : var(--font-ui);
  font-size    : 14px;
  font-weight  : 700;
  padding      : 12px 24px;
  border-radius: var(--radius-md, 10px);
  transition   : background .2s ease;
}
.biblioteca-promo__btn i { font-size: 14px; }

.biblioteca-promo__card--catalogo .biblioteca-promo__btn { background: var(--green); color: #fff; }
.biblioteca-promo__card--catalogo:hover .biblioteca-promo__btn { background: var(--green-dark); }

.biblioteca-promo__card--digital .biblioteca-promo__btn {
  background: rgba(255,255,255,.12);
  color     : #fff;
  border    : 1px solid rgba(255,255,255,.28);
}
.biblioteca-promo__card--digital:hover .biblioteca-promo__btn { background: rgba(255,255,255,.22); }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 860px) {
  .biblioteca-promo__grid { grid-template-columns: 1fr; }
  .biblioteca-promo__card { min-height: 240px; padding: 28px; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SECCIÓN FORMACIÓN INTEGRAL (pre-footer)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.formacion-banner {
  background  : var(--green-dark);
  padding-block: 64px;
  position    : relative;
  overflow    : hidden;
}
.formacion-banner::before {
  content  : '';
  position : absolute;
  inset    : 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.formacion-banner__grid {
  display              : grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap                  : 48px;
  align-items          : start;
  position             : relative;
}
@media (max-width: 960px) { .formacion-banner__grid { grid-template-columns: 1fr; gap: 40px; } }

.formacion-banner__title {
  font-family: 'Playfair Display', serif;
  font-size  : clamp(24px, 3vw, 36px);
  font-weight: 700;
  color      : #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.formacion-banner__desc {
  font-family: var(--font-ui);
  font-size  : 13.5px;
  color      : rgba(255,255,255,.72);
  line-height: 1.7;
}
.formacion-col__title {
  font-family  : var(--font-ui);
  font-size    : 14px;
  font-weight  : 700;
  color        : var(--gold-light);
  margin-bottom: 14px;
  display      : flex;
  align-items  : center;
  gap          : 8px;
}
.formacion-col__title svg { width: 16px; height: 16px; flex-shrink: 0; }
.formacion-item {
  display      : flex;
  align-items  : flex-start;
  gap          : 10px;
  padding      : 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.formacion-item:last-child { border-bottom: none; }
.formacion-item__dot {
  width        : 6px;
  height       : 6px;
  border-radius: 50%;
  background   : var(--gold);
  flex-shrink  : 0;
  margin-top   : 7px;
}
.formacion-item__text {
  font-family: var(--font-ui);
  font-size  : 13.5px;
  color      : rgba(255,255,255,.8);
  line-height: 1.5;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); }
.footer__top { padding-block: 64px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding   : 20px 0;
}
.footer__bottom-inner {
  display        : flex;
  align-items    : center;
  justify-content: space-between;
  flex-wrap      : wrap;
  gap            : 16px;
  font-family    : var(--font-ui);
  font-size      : 12px;
  color          : rgba(255,255,255,.45);
}
.footer__bottom-links { display: flex; gap: 24px; }
.footer__bottom-links a { color: rgba(255,255,255,.6); transition: color .2s; font-family: var(--font-ui); font-size: 12px; }
.footer__bottom-links a:hover { color: #fff; }

.footer__grid {
  display              : grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap                  : 48px;
  align-items          : start;
}
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 580px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__logo-img {
  height       : 54px;
  width        : auto;
  margin-bottom: 14px;
}
.footer__slogan {
  font-family: var(--font-ui);
  font-size  : 13.5px;
  color      : rgba(255,255,255,.65);
  line-height: 1.7;
  margin-bottom: 14px;
}
.footer__address-text {
  font-family: var(--font-ui);
  font-size  : 12px;
  color      : rgba(255,255,255,.45);
  line-height: 1.6;
  font-style : normal;
}
.footer__rbd {
  font-family: var(--font-ui);
  font-size  : 12px;
  color      : rgba(255,255,255,.3);
  margin-top : 4px;
}

.footer__heading {
  font-family   : var(--font-ui);
  font-size     : 12px;
  font-weight   : 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color         : var(--gold);
  margin-bottom : 16px;
}
.footer__links { display: flex; flex-direction: column; gap: 0; }
.footer__links a {
  font-family: var(--font-ui);
  font-size  : 13.5px;
  color      : rgba(255,255,255,.7);
  margin-bottom: 9px;
  transition : color .2s, padding-left .2s;
  display    : flex;
  align-items: center;
  gap        : 6px;
}
.footer__links a:hover { color: #fff; padding-left: 4px; }
.footer__links a::before {
  content      : '';
  width        : 0;
  height       : 0;
  border-radius: 50%;
  background   : var(--gold);
  flex-shrink  : 0;
  transition   : width .2s, height .2s;
}
.footer__links a:hover::before { width: 4px; height: 4px; }

/* Contacto footer */
.footer__contact { display: flex; flex-direction: column; gap: 12px; }
.footer__contact-item {
  display    : flex;
  align-items: flex-start;
  gap        : 10px;
  font-family: var(--font-ui);
  font-size  : 13.5px;
}
.footer__contact-icon {
  width          : 30px;
  height         : 30px;
  border-radius  : 6px;
  background     : rgba(255,255,255,.08);
  display        : flex;
  align-items    : center;
  justify-content: center;
  flex-shrink    : 0;
}
.footer__contact-icon svg { width: 14px; height: 14px; stroke: rgba(255,255,255,.7); fill: none; }
.footer__contact-label {
  font-size     : 12px;
  font-weight   : 600;
  color         : var(--gold);
  display       : block;
  margin-bottom : 2px;
}
.footer__contact-text { color: rgba(255,255,255,.6); line-height: 1.5; }
.footer__contact-text a { color: rgba(255,255,255,.75); transition: color .2s; }
.footer__contact-text a:hover { color: #fff; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   WHATSAPP FLOAT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.whatsapp-float {
  position       : fixed;
  bottom         : 24px;
  right          : 24px;
  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,.45);
  z-index        : 999;
  text-indent    : -9999px;
  overflow       : hidden;
  transition     : transform .2s, box-shadow .2s;
  animation      : waPulse 3s ease-in-out infinite;
}
.whatsapp-float::before {
  content    : '';
  position   : absolute;
  inset      : 0;
  background : url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347z'/%3E%3C/svg%3E") center/28px no-repeat;
}
.whatsapp-float:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 8px 30px rgba(37,211,102,.55); }
@keyframes waPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.45); }
  50%     { box-shadow: 0 4px 20px rgba(37,211,102,.45), 0 0 0 12px rgba(37,211,102,.1); }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BOTÓN VOLVER ARRIBA
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.back-to-top {
  position       : fixed;
  bottom         : calc(24px + 64px);
  right          : 24px;
  width          : 40px;
  height         : 40px;
  background     : rgba(26,39,68,.85);
  backdrop-filter: blur(8px);
  border-radius  : 50%;
  display        : flex;
  align-items    : center;
  justify-content: center;
  cursor         : pointer;
  border         : none;
  opacity        : 0;
  visibility     : hidden;
  transition     : opacity .2s, visibility .2s, transform .2s;
  z-index        : 998;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover   { transform: translateY(-3px); }
.back-to-top svg     { width: 16px; height: 16px; stroke: #fff; fill: none; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ANIMACIONES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.animate-fade-up {
  opacity  : 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.animate-fade-up.in-view { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s !important; }
.delay-2 { transition-delay: .2s !important; }
.delay-3 { transition-delay: .3s !important; }
.delay-4 { transition-delay: .4s !important; }
.delay-5 { transition-delay: .5s !important; }
@media (prefers-reduced-motion: reduce) {
  .animate-fade-up { opacity: 1; transform: none; transition: none; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PAGE HERO PÁGINAS INTERNAS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.page-hero-premium {
  background: linear-gradient(135deg, var(--navy) 0%, #243a6e 60%, var(--green-dark) 100%);
  padding   : 64px 0 48px;
  position  : relative;
  overflow  : hidden;
  text-align: center;
}
.page-hero-premium::before {
  content: ''; position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(201,162,39,.08);
}
.page-hero-premium .container { position: relative; }
.page-hero-premium__title {
  font-family: 'Playfair Display', serif;
  font-size  : clamp(28px, 5vw, 48px);
  font-weight: 700;
  color      : #fff;
  margin-bottom: 12px;
}
.page-hero-premium__desc {
  font-family: var(--font-ui);
  font-size  : 18px;
  color      : rgba(255,255,255,.7);
  max-width  : 560px;
  margin-inline: auto;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .quick-access        { padding: 16px 0; }
  .noticias-layout     { gap: 32px; }
  .formacion-banner    { padding-block: 48px; }
  .footer__top         { padding-block: 48px; }
  .whatsapp-float      { bottom: 16px; right: 16px; width: 50px; height: 50px; }
  .back-to-top         { bottom: calc(16px + 58px); right: 16px; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   VALUES STRIP (sección antes del footer — diseño exacto)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.values-strip {
  background   : var(--green);
  padding      : 48px 24px;
}
.values-inner {
  max-width   : 1200px;
  margin      : auto;
  display     : grid;
  grid-template-columns: 1fr 1fr;
  gap         : 48px;
  align-items : start;
}
@media (max-width: 768px) { .values-inner { grid-template-columns: 1fr; gap: 32px; } }

.values-text h2 {
  font-family : 'Playfair Display', serif;
  font-size   : clamp(22px, 3vw, 32px);
  font-weight : 700;
  color       : #fff;
  line-height : 1.2;
  margin-bottom: 12px;
}
.values-text p {
  font-family : var(--font-ui);
  font-size   : 14px;
  color       : rgba(255,255,255,.8);
  line-height : 1.7;
  margin-bottom: 0;
}

.values-grid {
  display              : grid;
  grid-template-columns: 1fr 1fr;
  gap                  : 20px;
}
.value-item {
  display    : flex;
  gap        : 12px;
  align-items: flex-start;
}
.value-icon {
  width          : 36px;
  height         : 36px;
  background     : rgba(255,255,255,.15);
  border-radius  : 8px;
  display        : flex;
  align-items    : center;
  justify-content: center;
  flex-shrink    : 0;
}
.value-icon svg { width: 18px; height: 18px; fill: #fff; }
.value-item h4 {
  font-family  : var(--font-ui);
  font-size    : 13px;
  font-weight  : 700;
  color        : #fff;
  margin-bottom: 3px;
  font-family  : inherit;
}
.value-item p {
  font-family : var(--font-ui);
  font-size   : 12px;
  color       : rgba(255,255,255,.75);
  line-height : 1.5;
  margin-bottom: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER — DISEÑO EXACTO DEL HTML PREMIUM
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
footer { background: var(--navy); color: rgba(255,255,255,.75); font-family: var(--font-ui); }

.footer-top   { padding: 56px 0; }
.section-inner { max-width: 1200px; margin: auto; padding: 0 24px; }

.footer-grid {
  display              : grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap                  : 48px;
  align-items          : start;
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 580px) { .footer-grid { grid-template-columns: 1fr; } }

/* Brand col */
.footer-brand .logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand .logo-img { width: 62px; height: 62px; object-fit: contain; border-radius: 50%; }
.footer-brand .logo-text .colegio { font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; }
.footer-brand .logo-text .docksta { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; line-height: 1; }
.footer-brand .logo-text .carahue { font-size: 11px; letter-spacing: 1px; }
.footer-brand p { font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,.65); margin-bottom: 0; }

/* Col links */
.footer-col h5 {
  font-size     : 12px;
  font-weight   : 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color         : var(--gold);
  margin-bottom : 16px;
}
.footer-col a {
  display      : block;
  color        : rgba(255,255,255,.7);
  font-size    : 13.5px;
  margin-bottom: 9px;
  transition   : color .2s;
}
.footer-col a:hover { color: #fff; }

/* Contact items */
.footer-contact-item {
  display    : flex;
  align-items: center;
  gap        : 8px;
  font-size  : 13px;
  color      : rgba(255,255,255,.75);
  margin-bottom: 8px;
}
.footer-contact-item a { color: rgba(255,255,255,.75); transition: color .2s; }
.footer-contact-item a:hover { color: #fff; }

/* Footer bottom */
.footer-bottom {
  border-top     : 1px solid rgba(255,255,255,.1);
  padding        : 20px 0;
  display        : flex;
  align-items    : center;
  justify-content: space-between;
  flex-wrap      : wrap;
  gap            : 12px;
  font-size      : 12px;
  color          : rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.6); transition: color .2s; font-size: 12px; }
.footer-bottom a:hover { color: #fff; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FIX GLOBAL: SVG sin width/height explícito
   Aplica a todos los SVG inline del sistema premium
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Value icons en la sección verde */
.value-icon svg {
  width    : 18px !important;
  height   : 18px !important;
  fill     : #fff;
  display  : block;
}

/* Footer contact items */
.footer-contact-item svg {
  width    : 13px !important;
  height   : 13px !important;
  flex-shrink: 0;
  display  : block;
}

/* Footer col h5 (headings dorados) — no tienen SVG pero por si acaso */
.footer-col svg {
  width    : 13px !important;
  height   : 13px !important;
  flex-shrink: 0;
}

/* Logo footer */
.footer-brand .logo img {
  width    : 62px;
  height   : 62px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Quick access cards — íconos */
.qa-card__icon-wrap svg {
  width    : 24px !important;
  height   : 24px !important;
  display  : block;
}

/* Nav — flechas dropdown */
.nav__link--btn svg,
.nav__item--dropdown svg {
  width    : 11px !important;
  height   : 11px !important;
}

/* Topbar SVG */
.topbar__link svg,
.topbar svg {
  width    : 13px !important;
  height   : 13px !important;
  flex-shrink: 0;
}

/* Social icons en sidebar */
.social-item__icon svg {
  width    : 16px !important;
  height   : 16px !important;
  fill     : #fff;
}

/* Botón volver arriba */
.back-to-top svg {
  width    : 16px !important;
  height   : 16px !important;
  stroke   : #fff;
  fill     : none;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PÁGINA NOTICIAS — grid completo + filtros + paginación
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Grid 3 columnas para todas las noticias */
.noticias-grid-full {
  display              : grid;
  grid-template-columns: repeat(3, 1fr);
  gap                  : 24px;
  margin-bottom        : 40px;
}
@media (max-width: 960px) { .noticias-grid-full { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .noticias-grid-full { grid-template-columns: 1fr; } }

/* Placeholder imagen sin foto */
.card-noticia-premium__placeholder {
  width           : 100%;
  height          : 100%;
  background      : linear-gradient(135deg, var(--navy) 0%, var(--green-dark) 100%);
  display         : flex;
  align-items     : center;
  justify-content : center;
}
.card-noticia-premium__placeholder svg {
  width  : 40px !important;
  height : 40px !important;
}

/* Badge destacada */
.card-noticia-premium__destacada {
  position    : absolute;
  bottom      : 10px;
  right       : 10px;
  font-family : var(--font-ui);
  font-size   : 10px;
  font-weight : 700;
  padding     : 3px 8px;
  border-radius: 999px;
  background  : rgba(201,162,39,.9);
  color       : #fff;
  backdrop-filter: blur(4px);
}

/* Link invisible sobre imagen */
.card-noticia-premium__link {
  display: block;
  text-decoration: none;
}

/* Filtros de categoría */
.noticias-filtros {
  display    : flex;
  flex-wrap  : wrap;
  gap        : 8px;
  margin-bottom: 28px;
}
.filtro-btn {
  font-family   : var(--font-ui);
  font-size     : 13px;
  font-weight   : 500;
  padding       : 7px 16px;
  border-radius : 999px;
  border        : 1.5px solid var(--gray);
  background    : #fff;
  color         : var(--text);
  text-decoration: none;
  transition    : all .2s;
  display       : flex;
  align-items   : center;
  gap           : 6px;
}
.filtro-btn:hover {
  border-color  : var(--green);
  color         : var(--green);
  background    : #fff;
}
.filtro-btn--activo {
  background    : var(--navy);
  border-color  : var(--navy);
  color         : #fff !important;
}
.filtro-count {
  background    : rgba(255,255,255,.25);
  border-radius : 999px;
  padding       : 1px 6px;
  font-size     : 11px;
  font-weight   : 700;
}
.filtro-btn--activo .filtro-count { background: rgba(255,255,255,.3); }
.filtro-btn:not(.filtro-btn--activo) .filtro-count { background: var(--gray); color: var(--text-muted); }

/* Paginación */
.paginacion {
  display         : flex;
  justify-content : center;
  gap             : 8px;
  flex-wrap       : wrap;
  margin-top      : 40px;
}
.pag-btn {
  font-family  : var(--font-ui);
  font-size    : 14px;
  font-weight  : 500;
  padding      : 8px 16px;
  border-radius: 8px;
  border       : 1.5px solid var(--gray);
  background   : #fff;
  color        : var(--text);
  text-decoration: none;
  transition   : all .2s;
}
.pag-btn:hover      { border-color: var(--green); color: var(--green); }
.pag-btn--activo    { background: var(--green); border-color: var(--green); color: #fff; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FIX PÁGINA NOTICIAS — cards compactas, imagen proporcional
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Grid siempre 3 columnas en desktop */
.noticias-grid-full {
  grid-template-columns: repeat(3, 1fr) !important;
}
@media (max-width: 960px) {
  .noticias-grid-full { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 580px) {
  .noticias-grid-full { grid-template-columns: 1fr !important; }
}

/* Imagen más compacta en la página de noticias */
.noticias-grid-full .card-noticia-premium__img {
  aspect-ratio : 16 / 9;
  max-height   : 200px;
}

/* Título más pequeño en grid completo */
.noticias-grid-full .card-noticia-premium__title {
  font-size   : 15px;
  line-height : 1.35;
}
.noticias-grid-full .card-noticia-premium__title a {
  font-family : var(--font-ui);
  font-weight : 700;
}

/* Extracto más corto */
.noticias-grid-full .card-noticia-premium__excerpt {
  -webkit-line-clamp : 2;
  font-size          : 13px;
}

/* Body con menos padding */
.noticias-grid-full .card-noticia-premium__body {
  padding : 14px 16px;
}

/* ── slide__since con líneas doradas a los lados ─────────── */
.slide__since {
  display       : flex !important;
  align-items   : center;
  gap           : 12px;
  font-family   : var(--font-ui) !important;
  font-size     : 12px !important;
  font-weight   : 600 !important;
  letter-spacing: .15em !important;
  text-transform: uppercase !important;
  color         : rgba(255,255,255,.7) !important;
  margin-bottom : 16px !important;
}
.slide__since::before,
.slide__since::after {
  content    : '';
  flex       : 0 0 32px;
  height     : 2px;
  background : var(--gold);
  border-radius: 2px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TOPBAR — Contacto grande (extraído de header.php)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.topbar__inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.topbar__left--contact {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 34px;
}
.topbar__link--big {
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: .1px;
}
.topbar__link--big svg {
    width: 16px;
    height: 16px;
}
@media (max-width: 768px) {
    .topbar__left--contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   NAV DROPDOWN — Íconos con color (extraído de header.php)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.nav__dropdown a {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
}
.nav__dropdown-label {
    flex: 1;
    min-width: 0;
    white-space: normal;
    word-break: break-word;
    line-height: 1.35;
}
.nav__dropdown-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f0f8f2;
    color: var(--green, #2a7a3b);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all .18s;
}
.nav__dropdown-icon svg {
    width: 16px;
    height: 16px;
}
.nav__dropdown a:hover .nav__dropdown-icon {
    background: var(--green, #2a7a3b);
    color: #fff;
}
nav.main-nav .nav__dropdown li a {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ACCESOS RÁPIDOS (nav buttons: Rendimiento, Docentes, Correo)
   Extraído de header.php
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.nav__accesos {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
}
.nav__acceso {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 15px;
    border-radius: 10px;
    font-family: var(--font-ui, 'DM Sans', sans-serif);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .03em;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.nav__acceso i {
    font-size: 13px;
    flex-shrink: 0;
}
/* Verde institucional — Mi Rendimiento */
.nav__acceso--rendimiento {
    background: linear-gradient(135deg, #2a7a3b 0%, #1e6230 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(42,122,59,.30);
}
.nav__acceso--rendimiento:hover {
    background: linear-gradient(135deg, #1e6230 0%, #165127 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(42,122,59,.42);
}
/* Azul marino — Portal Docentes */
.nav__acceso--docentes {
    background: linear-gradient(135deg, #1a2744 0%, #243560 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(26,39,68,.30);
}
.nav__acceso--docentes:hover {
    background: linear-gradient(135deg, #111c33 0%, #1a2744 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(26,39,68,.42);
}
/* Dorado institucional — Correo */
.nav__acceso--correo {
    background: linear-gradient(135deg, #c9a227 0%, #b08820 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(201,162,39,.30);
}
.nav__acceso--correo:hover {
    background: linear-gradient(135deg, #b08820 0%, #97741b 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(201,162,39,.42);
}
@media (max-width: 991px) {
    .nav__accesos {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 14px 0;
        margin-left: 0;
        border-top: 1px solid var(--gray, #e5e7eb);
    }
    .nav__acceso {
        padding: 13px 18px;
        border-radius: 10px;
        font-size: 14px;
        justify-content: flex-start;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PILARES INSTITUCIONALES — Tarjetas de acceso rápido
   Extraído de index.php
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.pilares-section { padding: 32px 0 40px; }

.pilares-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    align-items: stretch;
}

/* Tarjetas base (sobrias) */
.pilar-card {
    border-radius: 12px;
    padding: 24px 14px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .22s ease, box-shadow .22s ease;
}
.pilar-card:not(.pilar-card--admision):hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(0,0,0,.12);
}
.pilar-card--white { background: #fff; border: 1.5px solid #e8eaed; }
.pilar-card--navy  { background: #1a2542; }
.pilar-card--green { background: #1e7a3a; }
.pilar-card--doble { grid-column: span 2; }

/* Ícono (tarjetas sobrias) */
.pilar-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 10px;
    transition: transform .22s;
    flex-shrink: 0;
}
.pilar-card:not(.pilar-card--admision):hover .pilar-icon { transform: scale(1.1); }
.pilar-card--white .pilar-icon { background: #eef2f8; color: #1a2742; }
.pilar-card--navy  .pilar-icon { background: rgba(255,255,255,.16); color: #fff; }
.pilar-card--green .pilar-icon { background: rgba(255,255,255,.16); color: #fff; }

/* Título (tarjetas sobrias) */
.pilar-title {
    font-family: var(--font-ui, 'DM Sans', sans-serif);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
    line-height: 1.35;
    margin: 0;
    text-transform: uppercase;
}
.pilar-card--white .pilar-title { color: #1a2742; }
.pilar-card--navy  .pilar-title { color: #fff; }
.pilar-card--green .pilar-title { color: #fff; }

/* TARJETA ADMISIÓN — Premium CTA */
.pilar-card--admision {
    position: relative;
    overflow: hidden;
    padding: 20px 20px 20px 24px;
    background: linear-gradient(120deg, #c8960f 0%, #d4a316 35%, #e8bc30 60%, #c8960f 100%);
    background-size: 250% 250%;
    border: 1.5px solid rgba(255,255,255,.30);
    border-radius: 14px;
    box-shadow:
        0 0 0 1px rgba(212,163,22,.30),
        0 6px 28px rgba(180,140,10,.40),
        0 0 48px rgba(212,163,22,.14);
    animation: admShine 6s ease-in-out infinite, admGlow 4s ease-in-out infinite;
    transition: transform .30s ease, box-shadow .30s ease;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 16px;
}
.pilar-card--admision:hover {
    transform: translateY(-5px) scale(1.012);
    box-shadow:
        0 0 0 2px rgba(212,163,22,.50),
        0 14px 44px rgba(180,140,10,.50),
        0 0 70px rgba(212,163,22,.26);
}
@keyframes admShine {
    0%, 100% { background-position: 0% 50%; }
    50%       { background-position: 100% 50%; }
}
@keyframes admGlow {
    0%, 100% { box-shadow: 0 0 0 1px rgba(212,163,22,.30), 0 6px 28px rgba(180,140,10,.40), 0 0 48px rgba(212,163,22,.14); }
    50%       { box-shadow: 0 0 0 2px rgba(212,163,22,.44), 0 8px 34px rgba(180,140,10,.48), 0 0 64px rgba(212,163,22,.24); }
}

/* Decoraciones de fondo admisión */
.adm-deco { position: absolute; border-radius: 50%; pointer-events: none; }
.adm-deco--1 { width: 110px; height: 110px; background: rgba(255,255,255,.07); bottom: -32px; left: -22px; }
.adm-deco--2 { width: 70px;  height: 70px;  background: rgba(255,255,255,.05); top: -18px; right: 80px; }

/* Bloque de texto admisión */
.adm-content { flex: 1; text-align: left; position: relative; z-index: 1; min-width: 0; }
.adm-eyebrow {
    display: block;
    font-family: var(--font-ui, 'DM Sans', sans-serif);
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.68);
    margin-bottom: 5px;
}
.adm-titulo {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: clamp(14px, 1.8vw, 18px);
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,.20);
    margin: 0 0 6px;
    line-height: 1.15;
    letter-spacing: .01em;
}
.adm-sub {
    font-family: var(--font-ui, 'DM Sans', sans-serif);
    font-size: 10px;
    color: rgba(255,255,255,.80);
    line-height: 1.55;
    margin: 0;
}

/* Círculo badge admisión */
.adm-badge {
    width: 78px;
    height: 78px;
    flex-shrink: 0;
    background: linear-gradient(145deg, #1a2744 0%, #243a6e 100%);
    border: 2px solid rgba(255,255,255,.38);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 6px 20px rgba(26,39,68,.55), inset 0 1px 0 rgba(255,255,255,.12);
    transition: transform .26s ease, box-shadow .26s ease;
    gap: 3px;
}
.adm-badge__label {
    font-family: var(--font-ui, 'DM Sans', sans-serif);
    font-size: 9.5px;
    font-weight: 800;
    color: #fff;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1.3;
    text-align: center;
}
.adm-badge__arrow { font-size: 11px; color: var(--gold-light, #e8bc3a); transition: transform .22s; }
.pilar-card--admision:hover .adm-badge {
    transform: scale(1.10);
    box-shadow: 0 8px 26px rgba(26,39,68,.65), inset 0 1px 0 rgba(255,255,255,.18);
}
.pilar-card--admision:hover .adm-badge__arrow { transform: translateX(3px); }

/* Anillo punteado giratorio */
.adm-badge::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1.5px dashed rgba(255,255,255,.40);
    animation: badgeRing 7s linear infinite;
}
@keyframes badgeRing {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Responsive pilares */
@media (max-width: 1100px) {
    .pilares-grid { grid-template-columns: repeat(3, 1fr); }
    .pilar-card--doble { grid-column: span 1; }
    .adm-titulo { font-size: 14px; }
    .adm-badge  { width: 68px; height: 68px; }
}
@media (max-width: 700px) {
    .pilares-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .pilar-card--doble { grid-column: span 2; }
    .pilar-card { padding: 16px 10px 14px; }
    .pilar-icon { width: 36px; height: 36px; font-size: 15px; }
    .pilar-title { font-size: 10px; }
    .pilar-card--admision {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 20px 16px 18px;
        text-align: center;
    }
    .adm-content { text-align: center; }
    .adm-badge   { width: 72px; height: 72px; }
}
@media (max-width: 480px) {
    .pilares-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .pilar-card--doble { grid-column: span 2; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER COMPACTO (sf-*) — Extraído de footer.php
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.site-footer {
    background: #111c33;
    color: rgba(255,255,255,.72);
    font-family: var(--font-ui, 'DM Sans', sans-serif);
    padding: 40px 0 0;
}
.sf-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr;
    gap: 36px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.sf-brand   { display: flex; flex-direction: column; gap: 14px; }
.sf-logo    { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.sf-logo__text     { display: flex; flex-direction: column; }
.sf-logo__colegio  { font-size: 10px; font-weight: 500; color: rgba(255,255,255,.5); letter-spacing: .12em; text-transform: uppercase; }
.sf-logo__docksta  { font-family: var(--font-display, 'Playfair Display', serif); font-size: 20px; font-weight: 700; color: #fff; line-height: 1; }
.sf-logo__carahue  { font-size: 10px; color: rgba(255,255,255,.4); letter-spacing: .06em; }
.sf-desc { font-size: 14.5px; line-height: 1.75; color: rgba(255,255,255,.62); margin: 0; max-width: 300px; }
.sf-heading {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold, #c9a227);
    margin-bottom: 14px;
}
.sf-links { display: flex; flex-direction: column; gap: 8px; }
.sf-links a { font-size: 13.5px; color: rgba(255,255,255,.65); text-decoration: none; transition: color .18s; }
.sf-links a:hover { color: #fff; }
.sf-contact { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.sf-contact__item { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: rgba(255,255,255,.65); }
.sf-contact__icon { color: var(--gold, #c9a227); font-size: 12px; margin-top: 2px; flex-shrink: 0; width: 14px; }
.sf-contact__item a { color: rgba(255,255,255,.65); text-decoration: none; transition: color .18s; }
.sf-contact__item a:hover { color: #fff; }
.sf-social { display: flex; gap: 8px; }
.sf-social__btn {
    width: 34px; height: 34px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    transition: transform .18s, opacity .18s;
}
.sf-social__btn:hover { transform: translateY(-2px); opacity: .85; }
.sf-social__btn--fb { background: #1877f2; }
.sf-social__btn--ig { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.sf-social__btn--yt { background: #ff0000; }
.sf-social__btn--tt { background: #000; }
.sf-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 12px;
    color: rgba(255,255,255,.35);
}
.sf-bottom a { color: rgba(255,255,255,.45); text-decoration: none; transition: color .18s; }
.sf-bottom a:hover { color: rgba(255,255,255,.8); }
@media (max-width: 860px) {
    .sf-grid { grid-template-columns: 1fr 1fr; }
    .sf-brand { grid-column: 1 / -1; flex-direction: row; align-items: flex-start; gap: 20px; }
    .sf-desc  { max-width: none; }
}
@media (max-width: 560px) {
    .sf-grid   { grid-template-columns: 1fr; gap: 24px; }
    .sf-brand  { flex-direction: column; }
    .sf-bottom { flex-direction: column; gap: 6px; text-align: center; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PÁGINAS INTERNAS — Historia, Equipo, Reglamentos, Comunidad, Instalaciones
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Historia */
.historia-layout { display:grid; grid-template-columns:1fr 300px; gap:48px; align-items:start; }
@media(max-width:860px){ .historia-layout{ grid-template-columns:1fr; } }
.historia-h2 { font-family:'Playfair Display',serif; font-size:26px; font-weight:700; color:var(--navy); margin-bottom:20px; padding-bottom:12px; border-bottom:3px solid var(--gold); display:inline-block; }
.historia-main p { font-family:var(--font-ui); font-size:15px; line-height:1.8; color:var(--text-muted); margin-bottom:16px; }
.historia-aside { display:flex; flex-direction:column; gap:20px; }

/* Timeline */
.timeline { margin-top:36px; display:flex; flex-direction:column; }
.timeline-item { display:flex; gap:20px; align-items:flex-start; padding-bottom:28px; position:relative; }
.timeline-item::before { content:''; position:absolute; left:28px; top:58px; bottom:0; width:2px; background:var(--gray); }
.timeline-item:last-child::before { display:none; }
.timeline-dot { width:56px; height:56px; border-radius:50%; color:#fff; display:flex; align-items:center; justify-content:center; font-family:'Playfair Display',serif; font-size:12px; font-weight:700; flex-shrink:0; z-index:1; }
.timeline-body h4 { font-family:var(--font-ui); font-size:15px; font-weight:700; color:var(--navy); margin:14px 0 6px; }
.timeline-body p { font-family:var(--font-ui); font-size:13.5px; line-height:1.7; color:var(--text-muted); }

/* Info cards sidebar */
.info-card { background:#fff; border:1.5px solid var(--gray); border-radius:14px; padding:24px; }
.info-card__icon { width:44px; height:44px; border-radius:10px; display:flex; align-items:center; justify-content:center; margin-bottom:14px; }
.info-card h3 { font-family:'Playfair Display',serif; font-size:20px; font-weight:700; color:var(--navy); margin-bottom:10px; }
.info-card p { font-family:var(--font-ui); font-size:13.5px; line-height:1.7; color:var(--text-muted); }

/* Equipo */
.equipo-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
@media(max-width:640px){ .equipo-grid{ grid-template-columns:1fr; } }
.equipo-card { background:#fff; border:1.5px solid var(--gray); border-radius:14px; padding:24px; display:flex; gap:20px; align-items:flex-start; transition:transform .2s, box-shadow .2s; }
.equipo-card:hover { transform:translateY(-4px); box-shadow:0 8px 24px rgba(0,0,0,.1); }
.equipo-avatar { width:64px; height:64px; border-radius:50%; background:var(--navy); display:flex; align-items:center; justify-content:center; font-family:'Playfair Display',serif; font-size:24px; font-weight:700; color:var(--gold); flex-shrink:0; }
.equipo-info h3 { font-family:var(--font-ui); font-size:16px; font-weight:700; color:var(--navy); margin-bottom:4px; }
.equipo-cargo { display:inline-block; font-family:var(--font-ui); font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:var(--green); margin-bottom:8px; }
.equipo-info p { font-family:var(--font-ui); font-size:13px; color:var(--text-muted); line-height:1.6; }

/* Reglamentos */
.reglamentos-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; margin-bottom:32px; }
@media(max-width:640px){ .reglamentos-grid{ grid-template-columns:1fr; } }
.reglamento-card { background:#fff; border:1.5px solid var(--gray); border-radius:14px; padding:24px; transition:transform .2s, box-shadow .2s; }
.reglamento-card:hover { transform:translateY(-4px); box-shadow:0 8px 24px rgba(0,0,0,.08); border-color:var(--green); }
.reglamento-card__icon { font-size:32px; margin-bottom:12px; }
.reglamento-card h3 { font-family:var(--font-ui); font-size:15px; font-weight:700; color:var(--navy); margin-bottom:8px; line-height:1.3; }
.reglamento-card p { font-family:var(--font-ui); font-size:13px; color:var(--text-muted); line-height:1.6; }
.docs-lista { display:flex; flex-direction:column; gap:12px; }
.doc-item { background:#fff; border:1.5px solid var(--gray); border-radius:10px; padding:16px 20px; display:flex; align-items:center; gap:16px; }
.doc-item__icon { font-size:24px; flex-shrink:0; }
.doc-item__info { flex:1; }
.doc-item__info strong { font-family:var(--font-ui); font-size:14px; font-weight:600; color:var(--navy); display:block; margin-bottom:2px; }
.doc-item__info span { font-family:var(--font-ui); font-size:12px; color:var(--text-muted); }
.doc-item__meta { font-family:var(--font-ui); font-size:12px; color:var(--text-muted); flex-shrink:0; }

/* Comunidad */
.comunidad-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media(max-width:768px){ .comunidad-grid{ grid-template-columns:1fr; } }
.comunidad-card { background:#fff; border:1.5px solid var(--gray); border-radius:14px; overflow:hidden; transition:transform .2s, box-shadow .2s; }
.comunidad-card:hover { transform:translateY(-4px); box-shadow:0 8px 24px rgba(0,0,0,.1); }
.comunidad-card__header { padding:32px; display:flex; align-items:center; justify-content:center; }
.comunidad-card__body { padding:24px; }
.comunidad-card__body h3 { font-family:'Playfair Display',serif; font-size:20px; font-weight:700; color:var(--navy); margin-bottom:10px; }
.comunidad-card__body p { font-family:var(--font-ui); font-size:13.5px; color:var(--text-muted); line-height:1.7; margin-bottom:16px; }

/* Instalaciones */
.instalaciones-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
@media(max-width:960px){ .instalaciones-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:480px){ .instalaciones-grid{ grid-template-columns:1fr; } }
.instalacion-card { background:#fff; border:1.5px solid var(--gray); border-radius:14px; padding:24px; text-align:center; transition:transform .2s, box-shadow .2s; }
.instalacion-card:hover { transform:translateY(-4px); box-shadow:0 8px 24px rgba(0,0,0,.1); border-color:var(--green); }
.instalacion-card__icon { width:64px; height:64px; border-radius:14px; display:flex; align-items:center; justify-content:center; margin:0 auto 14px; }
.instalacion-card h3 { font-family:var(--font-ui); font-size:15px; font-weight:700; color:var(--navy); margin-bottom:8px; }
.instalacion-card p { font-family:var(--font-ui); font-size:13px; color:var(--text-muted); line-height:1.6; }

@media(max-width:768px){
  .comunidad-grid+div { grid-template-columns:1fr !important; }
}

/* ── Botón Postula Aquí en nav ───────────────────────────── */
.nav__btns-group {
  display    : flex;
  align-items: center;
  gap        : 8px;
}
.nav__link--postula {
  background   : var(--gold) !important;
  color        : var(--navy) !important;
  padding      : 9px 16px !important;
  border-radius: var(--radius-md) !important;
  font-weight  : 700 !important;
  font-family  : var(--font-ui) !important;
  font-size    : 13px !important;
  transition   : background var(--transition-fast), transform var(--transition-fast) !important;
  white-space  : nowrap;
}
.nav__link--postula:hover {
  background : var(--gold-light) !important;
  transform  : translateY(-1px);
  color      : var(--navy) !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FIXES CRÍTICOS — Evitar herencia de h1-h6 del base.css
   en componentes propios del diseño premium
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* FIX: pilar-title es un h3 pero NO debe heredar el clamp global */
.pilar-card .pilar-title,
.pilar-card h3.pilar-title {
    font-family  : var(--font-ui, 'DM Sans', sans-serif) !important;
    font-size    : 11px !important;
    font-weight  : 800 !important;
    letter-spacing: .05em !important;
    line-height  : 1.35 !important;
    color        : inherit !important;
    text-transform: uppercase !important;
    margin       : 0 !important;
}
.pilar-card--white .pilar-title { color: #1a2742 !important; }
.pilar-card--navy  .pilar-title { color: #fff !important; }
.pilar-card--green .pilar-title { color: #fff !important; }

/* FIX: adm-titulo es un h3 dentro de la tarjeta admisión */
.pilar-card--admision h3.adm-titulo,
.adm-titulo {
    font-family  : var(--font-display, 'Playfair Display', serif) !important;
    font-size    : clamp(14px, 1.8vw, 18px) !important;
    font-weight  : 700 !important;
    color        : #fff !important;
    text-shadow  : 0 2px 8px rgba(0,0,0,.20);
    margin       : 0 0 6px !important;
    line-height  : 1.15 !important;
    letter-spacing: .01em !important;
    text-transform: none !important;
}

/* FIX: h2 dentro de biblioteca-promo */
.biblioteca-promo__titulo,
.biblioteca-promo h2.biblioteca-promo__titulo {
    font-family  : var(--font-display, 'Playfair Display', serif) !important;
    font-size    : clamp(18px, 2.5vw, 24px) !important;
    font-weight  : 700 !important;
    color        : #fff !important;
    line-height  : 1.25 !important;
    margin       : 0 0 10px !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SECCIÓN NOTICIAS — Clases limpias (sin inline styles)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.noticias-section {
    background  : #f4f6f9;
    padding-top : 48px;
    padding-bottom: 56px;
}
.noticias-section__header {
    display        : flex;
    align-items    : flex-end;
    justify-content: space-between;
    margin-bottom  : 24px;
    gap            : 16px;
}
.noticias-section__eyebrow {
    font-family   : var(--font-ui, 'DM Sans', sans-serif);
    font-size     : 11px;
    font-weight   : 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color         : var(--green, #2a7a3b);
    margin        : 0 0 6px;
}
.noticias-section__title {
    font-family: 'Playfair Display', serif;
    font-size  : 1.75rem !important;
    font-weight: 700 !important;
    color      : #1a2744 !important;
    margin     : 0 !important;
    line-height: 1.2 !important;
}
.noticias-section__ver-todas {
    display      : inline-flex;
    align-items  : center;
    gap          : 6px;
    font-family  : var(--font-ui, 'DM Sans', sans-serif);
    font-size    : 13px;
    font-weight  : 600;
    color        : #1a2744;
    text-decoration: none;
    padding      : 8px 16px;
    border       : 1px solid #d1d5db;
    border-radius: 8px;
    background   : #fff;
    transition   : border-color .15s, box-shadow .15s;
    white-space  : nowrap;
    flex-shrink  : 0;
}
.noticias-section__ver-todas:hover {
    border-color: #1a2744;
    box-shadow  : 0 2px 8px rgba(0,0,0,.06);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FIX: .topbar__inner — eliminar duplicado, mantener sólo uno
   El topbar usa justify-content: space-between (no flex-end)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* El .topbar__inner ya está definido en línea 46-50 con space-between.
   El bloque "Contacto grande" del consolidado usaba flex-end — override: */
.topbar__left--contact {
    width          : 100%;
    display        : flex;
    justify-content: flex-end;
    align-items    : center;
    gap            : 34px;
}
