/* ================================================================
   Educación Abierta — Estilos de página
   Prefix: ea-
   Paleta dominante: #FEDC09 (amarillo) / #F9B036 (naranja)
   Azul #006CB6 como acento secundario
   ================================================================ */

.ea-page,
.ea-prog {
  --ea-yellow: #fedc09;
  --ea-amber:  #f9b036;
  --ea-blue:   #006cb6;
  --ea-dark:   #1c1d1f;
  --ea-gray:   #f7f9fa;
  --ea-text:   #3d3d3d;
  --ea-muted:  #6e6e6e;
  --ea-white:  #ffffff;
  font-family: 'Poppins', sans-serif;
}

.ea-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Botones globales de la página ─────────────────────────────── */
.ea-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
  border: none;
  line-height: 1;
}
.ea-btn--yellow        { background: var(--ea-yellow); color: var(--ea-dark); }
.ea-btn--yellow:hover  { background: var(--ea-amber); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(254,220,9,.35); }
.ea-btn--ghost         { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.ea-btn--ghost:hover   { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.9); }
.ea-btn--dark          { background: var(--ea-dark); color: var(--ea-yellow); }
.ea-btn--dark:hover    { background: #333; transform: translateY(-2px); }
.ea-btn--outline-dark  { background: transparent; color: var(--ea-dark); border: 2px solid var(--ea-dark); }
.ea-btn--outline-dark:hover { background: var(--ea-dark); color: var(--ea-yellow); }

/* ── Encabezados de sección reutilizables ──────────────────────── */
.ea-section-header   { text-align: center; margin-bottom: 3rem; }
.ea-section-eyebrow  { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ea-blue); margin-bottom: 12px; }
.ea-section-title    { font-size: clamp(1.6rem, 2.5vw + .3rem, 2.2rem); font-weight: 800; color: var(--ea-dark); line-height: 1.25; letter-spacing: -.02em; margin: 0 0 12px; }
.ea-section-subtitle { font-size: 1rem; color: var(--ea-muted); max-width: 55ch; margin: 0 auto; line-height: 1.6; }

/* ================================================================
   1. SLIDER HERO
   ================================================================ */
.ea-slider {
  position: relative;
  width: 100%;
  height: 440px;
  overflow: hidden;
  background: var(--ea-dark);
  user-select: none;
}

.ea-slider__track {
  display: flex;
  height: 100%;
  transition: transform .65s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.ea-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.ea-slide__bg {
  position: absolute;
  inset: 0;
  background: center / cover no-repeat;
  transform: scale(1.04);
  transition: transform 7s ease;
}

.ea-slide--1 .ea-slide__bg { background-image: url('../images/slider_ea/slider_ea_1.webp'); }
.ea-slide--2 .ea-slide__bg { background-image: url('../images/slider_ea/slider_ea_2.webp'); }
.ea-slide--3 .ea-slide__bg { background-image: url('../images/slider_ea/slider_ea_3.webp'); }

.ea-slide__overlay { position: absolute; inset: 0; }
.ea-slide--1 .ea-slide__overlay { background: linear-gradient(105deg, rgba(0,20,60,.85) 0%, rgba(0,40,100,.45) 55%, transparent 100%); }
.ea-slide--2 .ea-slide__overlay { background: linear-gradient(105deg, rgba(35,15,0,.88) 0%, rgba(90,45,0,.48) 55%, transparent 100%); }
.ea-slide--3 .ea-slide__overlay { background: linear-gradient(105deg, rgba(0,50,20,.85) 0%, rgba(0,90,35,.42) 55%, transparent 100%); }

.ea-slider__container {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
}

.ea-slide__content { max-width: 560px; }

.ea-slide__eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ea-yellow);
  background: rgba(254,220,9,.12);
  border: 1px solid rgba(254,220,9,.35);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.ea-slide__title {
  font-size: clamp(1.8rem, 2.8vw + .5rem, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 14px;
}

.ea-slide__text {
  font-size: clamp(.95rem, 1vw + .4rem, 1.08rem);
  color: rgba(255,255,255,.82);
  line-height: 1.6;
  margin: 0 0 28px;
}

.ea-slide__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Flechas */
.ea-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,.4);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
  backdrop-filter: blur(4px);
}
.ea-slider__arrow:hover          { background: rgba(254,220,9,.75); color: var(--ea-dark); }
.ea-slider__arrow--prev          { left: 20px; }
.ea-slider__arrow--next          { right: 20px; }

/* Dots */
.ea-slider__dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.ea-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  transition: all .3s;
  padding: 0;
}
.ea-slider__dot.active { background: var(--ea-yellow); width: 24px; }

/* ================================================================
   2. FRANJA DE IMPACTO — Amarilla
   ================================================================ */
.ea-impact { background: var(--ea-yellow); padding: 16px 0; }

.ea-impact__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.ea-impact__item   { display: flex; flex-direction: column; align-items: center; padding: 6px 30px; text-align: center; }
.ea-impact__value  { font-size: 1.05rem; font-weight: 800; color: var(--ea-dark); line-height: 1.2; }
.ea-impact__badge  { font-size: 1.35rem; font-weight: 900; color: var(--ea-blue); letter-spacing: -.02em; }
.ea-impact__label  { font-size: .68rem; font-weight: 600; color: rgba(28,29,31,.62); text-transform: uppercase; letter-spacing: .1em; margin-top: 2px; }
.ea-impact__sep    { width: 1px; height: 32px; background: rgba(28,29,31,.2); }

/* ================================================================
   3. PROGRAMAS — Acordeón
   ================================================================ */
.ea-programs { background: var(--ea-white); padding: 5rem 0; }

.ea-accordion { max-width: 820px; margin: 0 auto; }

.ea-accordion__item {
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.ea-accordion__item.open {
  border-color: var(--ea-yellow);
  box-shadow: 0 4px 24px rgba(254,220,9,.2);
}

.ea-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: var(--ea-white);
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background .2s;
  font-family: 'Poppins', sans-serif;
}
.ea-accordion__item.open .ea-accordion__trigger { background: #fffbeb; }

.ea-accordion__trigger-left { display: flex; align-items: center; gap: 14px; }

.ea-accordion__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.ea-accordion__badge--cyan  { background: #e0f7fa; color: #006064; }
.ea-accordion__badge--amber { background: #fff8e1; color: #e65100; }
.ea-accordion__badge--blue  { background: #e3f2fd; color: #01579b; }

.ea-accordion__label    { font-size: 1.05rem; font-weight: 700; color: var(--ea-dark); }
.ea-accordion__sublabel { font-size: .8rem; color: var(--ea-muted); margin-top: 2px; }

.ea-accordion__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .25s, transform .3s;
}
.ea-accordion__item.open .ea-accordion__icon { background: var(--ea-yellow); transform: rotate(180deg); }

.ea-accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}

.ea-accordion__body {
  padding: 4px 24px 28px;
  border-top: 1px solid #f0f0f0;
}

.ea-program-desc {
  font-size: .95rem;
  color: var(--ea-text);
  line-height: 1.7;
  margin: 16px 0 20px;
}

.ea-program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.ea-program-stat {
  background: #f9fafb;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ea-program-stat__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ea-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.ea-program-stat__label {
  font-size: .68rem;
  color: var(--ea-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}
.ea-program-stat__value {
  font-size: .92rem;
  color: var(--ea-dark);
  font-weight: 700;
  margin-top: 2px;
}

.ea-program-note {
  font-size: .84rem;
  color: var(--ea-muted);
  margin-top: 14px;
  line-height: 1.5;
}
.ea-program-note strong { color: var(--ea-dark); }

/* ================================================================
   4. FILAS ALTERNADAS — Para quién es
   ================================================================ */
.ea-rows { background: #fcfcfc; padding: 5rem 0; overflow: hidden; }

.ea-rows__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
  padding: 0 24px;
}
.ea-rows__header::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--ea-yellow), var(--ea-amber));
  margin: 1.2rem auto 0;
  border-radius: 2px;
}

.ea-row {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto 5rem;
  padding: 0 24px;
}
.ea-row:last-child  { margin-bottom: 0; }
.ea-row--reverse    { flex-direction: row-reverse; }
.ea-row__text, .ea-row__image { flex: 1; }

.ea-row__card {
  background: var(--ea-white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,.06);
  border-left: 4px solid var(--ea-yellow);
  transition: all .35s;
}
.ea-row__card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.1); }

.ea-row__card-eyebrow { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--ea-blue); margin-bottom: 10px; }
.ea-row__card-title   { font-size: 1.35rem; font-weight: 800; color: var(--ea-dark); line-height: 1.3; margin: 0 0 14px; letter-spacing: -.01em; }
.ea-row__card-text    { font-size: 1rem; color: var(--ea-text); line-height: 1.75; margin: 0; }
.ea-row__card-text strong { color: var(--ea-dark); font-weight: 700; }

.ea-row__img-wrap {
  border-radius: 20px;
  overflow: hidden;
  height: 380px;
  box-shadow: 0 15px 40px rgba(0,0,0,.12);
}
.ea-row__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; display: block; }
.ea-row__img-wrap:hover img { transform: scale(1.05); }

/* ================================================================
   5. TIMELINE — Cómo funciona
   ================================================================ */
.ea-timeline { background: var(--ea-white); padding: 5rem 0; }

.ea-timeline__steps {
  display: flex;
  align-items: flex-start;
  max-width: 940px;
  margin: 3rem auto 0;
  padding: 0 24px;
  position: relative;
}

/* Línea conectora horizontal (desktop) */
.ea-timeline__steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(24px + 12.5%);
  right: calc(24px + 12.5%);
  height: 2px;
  background: linear-gradient(90deg, var(--ea-yellow), var(--ea-amber));
}

.ea-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 14px;
  position: relative;
  z-index: 1;
}

.ea-step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ea-yellow);
  color: var(--ea-dark);
  font-size: 1.25rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(254,220,9,.4);
  flex-shrink: 0;
}

.ea-step__title { font-size: .95rem; font-weight: 700; color: var(--ea-dark); margin: 0 0 6px; line-height: 1.3; }
.ea-step__desc  { font-size: .82rem; color: var(--ea-muted); line-height: 1.55; margin: 0; }

/* ================================================================
   6. BENEFICIOS — 4 cards con gradiente
   ================================================================ */
.ea-benefits {
  background: var(--ea-gray);
  padding: 5rem 0;
  border-top: 1px solid #e8eaed;
}

.ea-benefits .ea-section-header { padding: 0 24px; }

.ea-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding: 0 24px;
}

.ea-benefit-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--ea-white);
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.ea-benefit-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.12); }

.ea-benefit-card__visual {
  padding: 26px 22px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.ea-benefit-card--gold  .ea-benefit-card__visual { background: linear-gradient(135deg, #e8a800 0%, var(--ea-amber) 100%); }
.ea-benefit-card--blue  .ea-benefit-card__visual { background: linear-gradient(135deg, var(--ea-blue) 0%, #004a8e 100%); }
.ea-benefit-card--green .ea-benefit-card__visual { background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%); }
.ea-benefit-card--terra .ea-benefit-card__visual { background: linear-gradient(135deg, #e65100 0%, #bf360c 100%); }

.ea-benefit-card__icon {
  width: 46px;
  height: 46px;
  background: rgba(255,255,255,.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.ea-benefit-card--gold .ea-benefit-card__icon { color: var(--ea-dark); }

.ea-benefit-card__badge {
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(255,255,255,.22);
  color: #fff;
  padding: 3px 10px;
  border-radius: 999px;
}
.ea-benefit-card--gold .ea-benefit-card__badge { color: var(--ea-dark); }

.ea-benefit-card__body   { padding: 18px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.ea-benefit-card__title  { font-size: 1rem; font-weight: 800; color: var(--ea-dark); margin: 0 0 8px; }
.ea-benefit-card__desc   { font-size: .87rem; color: var(--ea-muted); line-height: 1.6; flex: 1; margin: 0 0 16px; }

.ea-benefit-card__cta {
  font-size: .82rem;
  font-weight: 700;
  color: var(--ea-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
  text-decoration: none;
}
.ea-benefit-card:hover .ea-benefit-card__cta { gap: 10px; }

/* ================================================================
   7. CTA FINAL — Fondo amarillo vibrante
   ================================================================ */
.ea-cta-final {
  background: var(--ea-yellow);
  padding: 5rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ea-cta-final::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  pointer-events: none;
}
.ea-cta-final::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(0,0,0,.05);
  pointer-events: none;
}

.ea-cta-final__inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }

.ea-cta-final__badge {
  display: inline-block;
  background: rgba(0,0,0,.1);
  color: var(--ea-dark);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.ea-cta-final__title {
  font-size: clamp(1.8rem, 3vw + .5rem, 2.8rem);
  font-weight: 900;
  color: var(--ea-dark);
  line-height: 1.15;
  letter-spacing: -.03em;
  margin: 0 0 16px;
}

.ea-cta-final__subtitle {
  font-size: 1rem;
  color: rgba(28,29,31,.7);
  line-height: 1.6;
  margin: 0 auto 32px;
  max-width: 52ch;
}

.ea-cta-final__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Tablets */
@media (max-width: 1024px) {
  .ea-benefits__grid { grid-template-columns: repeat(2, 1fr); }

  .ea-row, .ea-row--reverse { flex-direction: column; gap: 2rem; }
  .ea-row__img-wrap { height: 300px; }
}

/* Tablet media */
@media (max-width: 768px) {
  .ea-slider         { height: 360px; }
  .ea-slider__container { padding: 0 24px; }
  .ea-slider__arrow  { display: none; }

  .ea-impact__sep    { display: none; }
  .ea-impact__item   { padding: 6px 18px; }

  /* Timeline vertical en mobile */
  .ea-timeline__steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .ea-timeline__steps::before {
    top: 0; bottom: 0;
    left: calc(24px + 28px);
    right: auto;
    width: 2px; height: auto;
    background: linear-gradient(180deg, var(--ea-yellow), var(--ea-amber));
  }
  .ea-step {
    flex-direction: row;
    text-align: left;
    gap: 18px;
    padding: 0 24px;
  }
  .ea-step__num { margin-bottom: 0; flex-shrink: 0; }
}

/* Mobile */
@media (max-width: 480px) {
  .ea-slider { height: 300px; }
  .ea-slide__text { display: none; }
  .ea-slide__title { font-size: clamp(1.4rem, 6vw, 1.9rem); }

  .ea-program-grid { grid-template-columns: 1fr 1fr; }

  .ea-benefits__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .ea-cta-final__actions { flex-direction: column; align-items: center; }
}

/* ================================================================
   8. ACCESOS POR AÑO (Tercer Ciclo) + DETALLE DE PROGRAMA
   ================================================================ */

/* Botonera "Elegí tu año" dentro del acordeón de Tercer Ciclo */
.ea-cta-block { margin-top: 20px; }
.ea-cta-block__label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ea-muted);
  margin-bottom: 10px;
}
.ea-cta-grid { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── Página de detalle de un programa ──────────────────────────── */
.ea-prog { background: var(--ea-white); }

.ea-prog-breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 24px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--ea-muted);
}
.ea-prog-breadcrumb a { color: var(--ea-blue); text-decoration: none; font-weight: 600; }
.ea-prog-breadcrumb a:hover { text-decoration: underline; }
.ea-prog-breadcrumb__current { color: var(--ea-dark); font-weight: 600; }

/* Hero del programa */
.ea-prog-hero {
  background: linear-gradient(135deg, var(--ea-blue) 0%, #004a8e 100%);
  color: #fff;
  padding: 2.5rem 0 3rem;
  margin-top: 18px;
}
.ea-prog-hero__inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ea-prog-hero__eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ea-yellow);
  margin-bottom: 14px;
}
.ea-prog-hero__headline { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.ea-prog-hero__badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 54px;
  padding: 0 14px;
  background: var(--ea-yellow);
  color: var(--ea-dark);
  font-weight: 900;
  font-size: 1.1rem;
  border-radius: 12px;
}
.ea-prog-hero__title {
  font-size: clamp(1.7rem, 3vw + .3rem, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0;
}
.ea-prog-hero__desc {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255,255,255,.9);
  max-width: 60ch;
  margin: 0 0 22px;
}
.ea-prog-hero__meta { display: flex; flex-wrap: wrap; gap: 12px; }
.ea-prog-meta-item {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  padding: 10px 16px;
}
.ea-prog-meta-item__label {
  display: block;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.7);
  margin-bottom: 3px;
}
.ea-prog-meta-item__value { font-size: .9rem; font-weight: 700; color: #fff; }
.ea-prog-meta-item__value--free { color: var(--ea-yellow); }

/* Sección de materias */
.ea-subjects { background: var(--ea-gray); padding: 3.5rem 0 4.5rem; }
.ea-subjects .ea-section-header { margin-bottom: 2.5rem; }
.ea-subjects__list { display: flex; flex-direction: column; gap: 16px; max-width: 860px; margin: 0 auto; }

/* Tarjeta de materia */
.ea-subject {
  background: var(--ea-white);
  border: 1px solid #e6e9ee;
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.ea-subject__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ea-subject__name { font-size: 1.15rem; font-weight: 800; color: var(--ea-dark); margin: 0; }
.ea-subject__count {
  font-size: .72rem;
  font-weight: 600;
  color: var(--ea-blue);
  background: #e8f2fb;
  padding: 4px 10px;
  border-radius: 50px;
  white-space: nowrap;
}
.ea-subject__empty { font-size: .88rem; color: var(--ea-muted); margin: 0; font-style: italic; }
.ea-subject--empty-state { text-align: center; }
.ea-subject--empty-state p { color: var(--ea-muted); margin: 0; }
.ea-subject--empty-state a { color: var(--ea-blue); font-weight: 600; }

/* Lista de horarios de una materia */
.ea-slots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ea-slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: var(--ea-gray);
  border: 1px solid #eceff3;
  border-radius: 10px;
}
.ea-slot__info { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; min-width: 0; }
.ea-slot__day { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--ea-dark); }
.ea-slot__day svg { color: var(--ea-blue); flex-shrink: 0; }
.ea-slot__time { font-size: .88rem; color: var(--ea-text); }
.ea-slot__mode {
  font-size: .72rem;
  font-weight: 600;
  color: var(--ea-blue);
  background: #e8f2fb;
  padding: 3px 10px;
  border-radius: 50px;
}
.ea-slot__action { flex-shrink: 0; }
.ea-slot__action form { margin: 0; }
.ea-slot__btn {
  font-family: 'Poppins', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  color: #fff;
  background: var(--ea-blue);
  border: none;
  border-radius: 8px;
  padding: 9px 18px;
  cursor: pointer;
  transition: all .18s ease;
  white-space: nowrap;
}
.ea-slot__btn:hover { background: #005a99; transform: translateY(-1px); }
.ea-slot__enrolled {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 600;
  color: #16794f;
  background: #d8f3e5;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
}

/* Nota de cierre */
.ea-subjects__note { max-width: 860px; margin: 26px auto 0; font-size: .85rem; color: var(--ea-muted); text-align: center; line-height: 1.6; }
.ea-subjects__note a { color: var(--ea-blue); font-weight: 600; text-decoration: none; }
.ea-subjects__note a:hover { text-decoration: underline; }

/* Responsive — detalle de programa */
@media (max-width: 768px) {
  .ea-prog-hero__headline { gap: 12px; }
  .ea-slot { flex-direction: column; align-items: stretch; gap: 12px; }
  .ea-slot__action { width: 100%; }
  .ea-slot__btn { width: 100%; }
  .ea-slot__enrolled { justify-content: center; }
}
@media (max-width: 480px) {
  .ea-cta-grid .ea-btn { flex: 1 1 100%; justify-content: center; }
  .ea-prog-meta-item { flex: 1 1 100%; }
}
