/* ============================================================
   escuela.css — Escuela KP sub-landing
   Karina Petelín · Junio 2026
   ============================================================ */

/* Variables de marca: vienen de styles.css (fuente de verdad única, ver CLAUDE.md).
   Este archivo solo tiene estilos de componentes propios de Escuela KP. */

body {
  font-size: 16px;
  line-height: 1.6;
  /* styles.css aplica padding-top y font-weight globales para su propio layout;
     Escuela maneja el offset del nav vía .ekp-hero{margin-top} y usa peso normal. */
  padding-top: 0;
  font-weight: 400;
}

/* ── NAV ── */
.ekp-nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  height: var(--nav-h);
  background: var(--kp-negro);
  display: flex; align-items: center;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  gap: 2rem;
}
.ekp-nav__logo img { width: 150px; display: block; }
.ekp-nav__links {
  display: flex; gap: 1.75rem; margin-left: auto; align-items: center;
  list-style: none;
}
.ekp-nav__links a {
  color: var(--kp-muted); text-decoration: none;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; transition: color var(--t);
}
.ekp-nav__links a:hover { color: var(--kp-blanco); }
.btn-prof-nav {
  background: var(--kp-bordeaux); color: #fff; border: none;
  font-family: var(--font-ui); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.6rem 1.2rem; border-radius: var(--radius);
  cursor: pointer; transition: background var(--t);
  white-space: nowrap;
}
.btn-prof-nav:hover { background: var(--kp-bordeaux-dk); }

/* hamburger */
.ekp-nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  margin-left: auto; padding: 6px;
}
.ekp-nav__burger span {
  display: block; width: 22px; height: 2px;
  background: var(--kp-blanco); transition: var(--t);
}
.ekp-nav__mobile {
  display: none; position: fixed; top: var(--nav-h); left: 0;
  width: 100%; background: #0d0d0d; z-index: 99;
  padding: 1.5rem 1.5rem 2rem;
  flex-direction: column; gap: 1.25rem;
}
.ekp-nav__mobile.open { display: flex; }
.ekp-nav__mobile a {
  color: var(--kp-muted); text-decoration: none;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ekp-nav__mobile .btn-prof-nav { width: 100%; text-align: center; }

/* ── ÍCONOS ──
   Thin line / outline sobre currentColor (regla de marca). Reemplazan a los emoji
   que había antes: un 📅 al lado de Cormorant italic desafina el registro high-end. */
.ekp-ico {
  width: 1em; height: 1em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ── HERO ── */
.ekp-hero {
  margin-top: var(--nav-h);
  position: relative; overflow: hidden;
  min-height: 560px; display: flex; align-items: center;
}
.ekp-hero__bg {
  position: absolute; inset: 0;
  background: url('../img/escuela/3dcddb05d167.jpg') center/cover no-repeat;
  /* Deriva lentísima: la foto respira sin que se lea como animación */
  animation: heroDrift 26s ease-in-out infinite alternate;
}
.ekp-hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.58) 48%, rgba(0,0,0,0.18) 100%),
    radial-gradient(120% 80% at 8% 50%, rgba(159,18,57,0.20) 0%, transparent 62%);
}
@keyframes heroDrift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.12) translate3d(-1.2%, -1%, 0); }
}

/* Grano: SVG inline en data URI (no pega a ningún host externo). Le saca el brillo
   digital a la foto y la acerca a una impresión editorial. */
.ekp-hero::after {
  /* z-index 0 lo deja encima de la foto pero debajo del texto (.ekp-hero__inner, z-index 1) */
  content: ''; position: absolute; inset: 0; z-index: 0;
  pointer-events: none; opacity: 0.13; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
.ekp-hero__inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--max-w); margin-inline: auto;
  padding: 4rem clamp(1.25rem, 5vw, 3rem);
  gap: 3rem;
}
.ekp-hero__content { flex: 1; min-width: 0; }
.ekp-hero__eyebrow {
  font-family: var(--font-ui); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--kp-bordeaux); margin-bottom: 1rem;
}
.ekp-hero__title {
  font-family: var(--font-titulo); font-style: italic; font-weight: 700;
  font-size: clamp(3rem, 7vw, 5rem); color: var(--kp-blanco);
  line-height: 1.05; margin-bottom: 1rem;
}
.ekp-hero__sub {
  font-size: 0.88rem; font-weight: 400; color: rgba(255,248,250,0.78);
  letter-spacing: 0.04em; margin-bottom: 2.25rem; max-width: 420px;
}
.ekp-hero__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; }
.ekp-hero__hint {
  font-size: 0.72rem; color: rgba(255,248,250,0.5);
  letter-spacing: 0.04em;
}

/* Composición de fotos flotantes */
.ekp-hero__photos {
  flex-shrink: 0; position: relative;
  width: 480px; height: 410px;
}
.ekp-hero__photo {
  position: absolute; overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,0.55);
}
.ekp-hero__photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.ekp-hero__photo--back {
  width: 225px; height: 370px;
  top: 0; right: 0;
  z-index: 1;
}
.ekp-hero__photo--front {
  width: 225px; height: 345px;
  bottom: 0; left: 0;
  z-index: 2;
}

/* ── ENTRADA DEL HERO ──
   Una sola secuencia orquestada al cargar. El escalonado va en el orden en que se lee:
   volanta → título → bajada → CTA, y las fotos entran últimas desde su costado. */
.ekp-hero__eyebrow,
.ekp-hero__title,
.ekp-hero__sub,
.ekp-hero__cta {
  opacity: 0;
  animation: heroIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.ekp-hero__eyebrow { animation-delay: 0.10s; }
.ekp-hero__title   { animation-delay: 0.20s; }
.ekp-hero__sub     { animation-delay: 0.32s; }
.ekp-hero__cta     { animation-delay: 0.44s; }

.ekp-hero__photo {
  opacity: 0;
  animation: heroPhotoIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.ekp-hero__photo--back  { animation-delay: 0.52s; }
.ekp-hero__photo--front { animation-delay: 0.64s; }

@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroPhotoIn {
  from { opacity: 0; transform: translateY(26px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── REVELADO AL SCROLLEAR ──
   La clase la agrega escuela.js con IntersectionObserver. Sin JS, el contenido se ve
   igual: el estado oculto solo se aplica si el documento tiene .js-reveal. */
.js-reveal [data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.js-reveal [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Accesibilidad: si la persona pidió menos movimiento, nada se mueve ni entra tarde. */
@media (prefers-reduced-motion: reduce) {
  .ekp-hero__bg { animation: none; }
  .ekp-hero__eyebrow, .ekp-hero__title, .ekp-hero__sub,
  .ekp-hero__cta, .ekp-hero__photo {
    opacity: 1; animation: none;
  }
  .js-reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ── BOTONES ── */
.btn-primary {
  display: inline-block; background: var(--kp-bordeaux); color: #fff;
  border: none; border-radius: var(--radius); cursor: pointer;
  font-family: var(--font-ui); font-size: 0.73rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.85rem 2.2rem; transition: background var(--t);
  min-height: 44px;
}
.btn-primary:hover { background: var(--kp-bordeaux-dk); }
.btn-outline {
  display: inline-block; background: transparent;
  color: var(--kp-bordeaux); border: 1.5px solid var(--kp-bordeaux);
  border-radius: var(--radius); cursor: pointer;
  font-family: var(--font-ui); font-size: 0.73rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.78rem 1.8rem; transition: background var(--t), color var(--t);
  min-height: 44px;
}
.btn-outline:hover { background: var(--kp-bordeaux); color: #fff; }

/* ── SECCIÓN BASE ── */
.ekp-section {
  padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 3rem);
  max-width: var(--max-w); margin-inline: auto;
}
.ekp-section-head { margin-bottom: 2.5rem; }
.ekp-section-head h2 {
  font-family: var(--font-titulo); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--kp-texto); line-height: 1.1; margin-bottom: 0.75rem;
}
.ekp-section-head .sep {
  width: 48px; height: 3px; background: var(--kp-bordeaux); border-radius: 2px;
}
.ekp-section-head p {
  margin-top: 0.85rem; font-size: 0.9rem; color: #555; max-width: 560px;
}

/* ── CURSOS ──
   Asimetría deliberada: el curso con inscripción abierta ocupa más ancho y más peso
   visual que el ya dictado. Antes los dos pesaban igual y el que se puede comprar
   quedaba escondido al lado del que ya pasó. */
.ekp-cursos-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.75rem;
  align-items: start;
}
.ekp-curso-card {
  background: var(--kp-blanco);
  border-top: 3px solid var(--kp-bordeaux);
  border-radius: var(--radius);
  box-shadow: 0 2px 18px rgba(32,20,20,0.08);
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.85rem;
  transition: transform var(--t), box-shadow var(--t);
}

/* Curso abierto: fondo cálido, filete más grueso y tipografía más grande */
.ekp-curso-card--destacado {
  background: linear-gradient(160deg, var(--kp-blanco) 0%, var(--kp-blanco-cal) 100%);
  border-top-width: 4px;
  padding: 2.1rem 1.9rem 1.8rem;
  box-shadow: 0 6px 30px rgba(159,18,57,0.10);
  position: relative; overflow: hidden;
}
/* Sello geométrico apenas visible: da profundidad sin sumar un segundo acento */
.ekp-curso-card--destacado::after {
  content: ''; position: absolute; right: -55px; bottom: -55px;
  width: 170px; height: 170px; border-radius: 50%;
  border: 1px solid rgba(159,18,57,0.16);
  pointer-events: none;
}
.ekp-curso-card--destacado .ekp-curso-card__title { font-size: 1.95rem; }
.ekp-curso-card--destacado:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 38px rgba(159,18,57,0.15);
}

/* Curso ya dictado: presente pero en voz baja — sin filete de color ni sombra fuerte */
.ekp-curso-card--pasado {
  border-top-color: #dcdcdc;
  box-shadow: 0 1px 10px rgba(32,20,20,0.06);
}
.ekp-curso-card--pasado .ekp-curso-card__title { color: #4a4a4a; }

.ekp-curso-card__top { display: flex; align-items: center; gap: 0.75rem; }
.badge {
  font-family: var(--font-ui); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.3rem 0.65rem; border-radius: var(--radius);
}
.badge-proximo     { background: var(--kp-bordeaux); color: #fff; }
.badge-reciente    { background: transparent; color: #999; border: 1px solid #ddd; }
.badge-proximamente{ background: #f0f0f0; color: #888; }
.ekp-curso-card__title {
  font-family: var(--font-titulo); font-style: italic;
  font-size: 1.55rem; font-weight: 700; color: var(--kp-texto);
  line-height: 1.1;
}
.ekp-curso-card__meta {
  font-size: 0.78rem; color: #666; display: flex; flex-direction: column; gap: 0.35rem;
}
.ekp-curso-card__meta span { display: flex; align-items: center; gap: 0.45rem; }
.ekp-curso-card__meta .ekp-ico { width: 0.95rem; height: 0.95rem; color: var(--kp-bordeaux); }
.ekp-curso-card--pasado .ekp-curso-card__meta .ekp-ico { color: #b0b0b0; }
.ekp-curso-card__desc { font-size: 0.87rem; color: #444; line-height: 1.6; flex: 1; }
.ekp-curso-card__footer { margin-top: 0.5rem; }

/* ── VIDEOS ──
   Va sobre negro a propósito: antes compartía el fondo beige con Material y las dos
   secciones se leían como un solo bloque sin respiración. El negro corta la página
   al medio y hace que las miniaturas dejen de parecer huecos vacíos. */
.ekp-videos-wrap {
  background: var(--kp-negro);
  padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 3rem);
  position: relative; overflow: hidden;
}
.ekp-videos-inner { max-width: var(--max-w); margin-inline: auto; position: relative; z-index: 1; }

/* Variante de cabezal para secciones oscuras */
.ekp-section-head--invert h2 { color: var(--kp-blanco); }
.ekp-section-head--invert p  { color: rgba(255,248,250,0.6); }

.ekp-videos-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
  margin-top: 2.5rem;
}
.ekp-video-card { cursor: pointer; }
.ekp-video-thumb {
  position: relative; aspect-ratio: 16/9;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255,248,250,0.10);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.8rem;
  transition: border-color var(--t);
}
.ekp-video-thumb::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(90% 120% at 78% 15%, rgba(159,18,57,0.34) 0%, transparent 60%),
    linear-gradient(150deg, #16090c 0%, #241016 100%);
}
.ekp-video-card:hover .ekp-video-thumb { border-color: rgba(159,18,57,0.55); }

/* Índice editorial: le da identidad a cada miniatura sin inventar datos que no existen */
.ekp-video-num {
  position: absolute; z-index: 1; left: 0.9rem; bottom: 0.5rem;
  font-family: var(--font-titulo); font-style: italic; font-weight: 700;
  font-size: 3.4rem; line-height: 1;
  color: rgba(255,248,250,0.10);
  user-select: none; pointer-events: none;
}
.ekp-play-icon {
  position: relative; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--kp-bordeaux); display: flex; align-items: center; justify-content: center;
  transition: transform var(--t), background var(--t), box-shadow var(--t);
}
.ekp-video-card:hover .ekp-play-icon {
  transform: scale(1.12); background: var(--kp-bordeaux-dk);
  box-shadow: 0 0 0 10px rgba(159,18,57,0.14);
}
.ekp-play-icon svg { width: 16px; height: 16px; fill: #fff; margin-left: 3px; }
.ekp-video-label {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--kp-rosa); margin-bottom: 0.35rem;
}
.ekp-video-card h4 {
  font-family: var(--font-ui); font-size: 0.83rem; font-weight: 600;
  color: rgba(255,248,250,0.88); line-height: 1.5;
  transition: color var(--t);
}
.ekp-video-card:hover h4 { color: var(--kp-blanco); }

/* ── MATERIAL ── */
.ekp-material-wrap {
  background: var(--kp-blanco-cal);
  padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 3rem);
}
.ekp-material-inner { max-width: var(--max-w); margin-inline: auto; }
.ekp-material-layout {
  display: grid; grid-template-columns: 1fr 380px; gap: 3rem;
  align-items: start; margin-top: 2.5rem;
}
.ekp-material-list { display: flex; flex-direction: column; gap: 1rem; }
.ekp-material-item {
  background: var(--kp-blanco); border-radius: var(--radius);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  padding: 1.15rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.ekp-material-item__info { flex: 1; }
.ekp-material-item__info h4 {
  font-family: var(--font-titulo); font-style: italic;
  font-size: 1.05rem; font-weight: 700; color: var(--kp-texto);
}
.ekp-material-item__info p { font-size: 0.75rem; color: #777; margin-top: 0.2rem; }
.ekp-material-btn {
  font-family: var(--font-ui); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.55rem 1rem; border-radius: var(--radius);
  cursor: pointer; border: 1.5px solid; white-space: nowrap; min-height: 40px;
  background: transparent; transition: var(--t);
  display: inline-flex; align-items: center; gap: 0.45rem;
  border-color: var(--kp-bordeaux); color: var(--kp-bordeaux);
}
.ekp-material-btn:hover { background: var(--kp-bordeaux); color: #fff; }
.ekp-material-btn .ekp-ico { width: 0.95rem; height: 0.95rem; }
.ekp-material-btn.locked {
  border-color: #ccc; color: #bbb; cursor: not-allowed; pointer-events: none;
}
.ekp-material-card-visual {
  background: var(--kp-negro); border-radius: var(--radius);
  padding: 2rem 1.75rem; position: relative; overflow: hidden;
}
.ekp-material-card-visual::before {
  content: ''; position: absolute; top: -30px; right: -30px;
  width: 140px; height: 140px; border-radius: 50%;
  background: var(--kp-bordeaux); opacity: 0.12;
}
.ekp-material-card-visual .lock-icon { margin-bottom: 1rem; line-height: 0; }
.ekp-material-card-visual .lock-icon svg {
  width: 26px; height: 26px;
  fill: none; stroke: var(--kp-bordeaux); stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.ekp-material-card-visual h3 {
  font-family: var(--font-titulo); font-style: italic;
  font-size: 1.4rem; font-weight: 700; color: var(--kp-blanco);
  line-height: 1.2; margin-bottom: 0.6rem;
}
.ekp-material-card-visual p {
  font-size: 0.78rem; color: rgba(255,248,250,0.6); margin-bottom: 1.25rem;
}
.ekp-material-card-visual .btn-primary { font-size: 0.68rem; padding: 0.65rem 1.2rem; }
.material-intro {
  font-size: 0.9rem; color: #444; line-height: 1.7; max-width: 480px;
  margin-bottom: 1.75rem;
}

/* ── FOOTER ── */
.ekp-footer {
  background: var(--kp-negro); padding: 2.5rem clamp(1.25rem, 5vw, 3rem);
  text-align: center;
}
.ekp-footer img {
  height: 48px; margin-bottom: 1rem;
  filter: sepia(0.5) saturate(2.5) hue-rotate(305deg) brightness(1.35);
}
.ekp-footer p { font-size: 0.72rem; color: rgba(255,248,250,0.35); letter-spacing: 0.06em; }

/* ── MODAL REGISTRO ── */
.ekp-modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.72); align-items: center; justify-content: center;
  padding: 1rem;
}
.ekp-modal-overlay.open { display: flex; }
.ekp-modal {
  background: var(--kp-blanco); border-radius: var(--radius);
  width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto;
}
.ekp-modal__header {
  background: var(--kp-negro); padding: 1.5rem 1.75rem 1.25rem;
  display: flex; align-items: flex-start; justify-content: space-between;
}
.ekp-modal__eyebrow {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--kp-bordeaux); margin-bottom: 0.3rem;
}
.ekp-modal__header h2 {
  font-family: var(--font-titulo); font-style: italic;
  font-size: 1.5rem; font-weight: 700; color: var(--kp-blanco);
}
.ekp-modal__close {
  background: none; border: none; cursor: pointer;
  color: rgba(255,248,250,0.5); font-size: 1.4rem; line-height: 1;
  padding: 0; min-width: 44px; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
  transition: color var(--t);
}
.ekp-modal__close:hover { color: var(--kp-blanco); }
.ekp-modal__body { padding: 1.75rem; }

/* Steps */
.ekp-step { display: none; margin-bottom: 1.5rem; }
.ekp-step.active { display: block; animation: fadeUp 0.3s ease forwards; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ekp-step__label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--kp-bordeaux); margin-bottom: 0.5rem;
}
.ekp-step__q {
  font-family: var(--font-titulo); font-style: italic;
  font-size: 1.2rem; font-weight: 700; color: var(--kp-texto);
  margin-bottom: 1rem;
}
.ekp-field {
  width: 100%; border: 1.5px solid #ddd; border-radius: var(--radius);
  padding: 0.75rem 1rem; font-family: var(--font-ui); font-size: 0.9rem;
  color: var(--kp-texto); background: var(--kp-blanco-cal);
  transition: border-color var(--t); outline: none; min-height: 44px;
}
.ekp-field:focus { border-color: var(--kp-bordeaux); }
.ekp-fields-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.ekp-hint { font-size: 0.72rem; color: #999; margin-top: 0.4rem; }

/* Chips especialidad */
.ekp-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; }
.ekp-chip {
  border: 1.5px solid var(--kp-bordeaux); border-radius: var(--radius);
  padding: 0.45rem 0.85rem; font-family: var(--font-ui);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--kp-bordeaux); background: transparent; cursor: pointer;
  transition: background var(--t), color var(--t); min-height: 40px;
  display: flex; align-items: center;
}
.ekp-chip.sel  { background: var(--kp-rosa); }
.ekp-chip:hover { background: var(--kp-rosa); }

/* Confirmación */
.ekp-confirm { text-align: center; padding: 1.5rem 0; }
.ekp-confirm__check {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--kp-bordeaux); display: flex; align-items: center;
  justify-content: center; margin: 0 auto 1rem;
}
.ekp-confirm__check svg { width: 28px; height: 28px; stroke: #fff; fill: none; }
.ekp-confirm h3 {
  font-family: var(--font-titulo); font-style: italic;
  font-size: 1.5rem; color: var(--kp-texto); margin-bottom: 0.5rem;
}
.ekp-confirm p { font-size: 0.85rem; color: #555; }

/* Usuario identificado */
.ekp-identified {
  background: var(--kp-blanco-cal); border-radius: var(--radius);
  padding: 1rem 1.25rem; margin-bottom: 1rem;
  border-left: 3px solid var(--kp-bordeaux);
}
.ekp-identified p       { font-size: 0.85rem; color: var(--kp-texto); }
.ekp-identified strong  { color: var(--kp-bordeaux); }
.ekp-identified-btns    { display: flex; gap: 0.6rem; margin-top: 0.75rem; }
.btn-sm {
  font-family: var(--font-ui); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.5rem 0.9rem; border-radius: var(--radius);
  cursor: pointer; border: 1.5px solid; transition: var(--t); min-height: 40px;
}
.btn-sm-primary { background: var(--kp-bordeaux); color: #fff; border-color: var(--kp-bordeaux); }
.btn-sm-primary:hover { background: var(--kp-bordeaux-dk); border-color: var(--kp-bordeaux-dk); }
.btn-sm-outline { background: transparent; color: #666; border-color: #ccc; }
.btn-sm-outline:hover { border-color: var(--kp-bordeaux); color: var(--kp-bordeaux); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {

  /* 1 — Logo +70% */
  .ekp-nav__logo img { width: 255px; }

  /* NAV: hamburger visible, links hidden */
  .ekp-nav__links  { display: none; }

  /* 5 — Hamburger +30% */
  .ekp-nav__burger { display: flex; gap: 7px; padding: 8px; }
  .ekp-nav__burger span { width: 29px; }

  /* 6 — Items del menú mobile al doble de tamaño */
  .ekp-nav__mobile a {
    font-size: 1.6rem;
    line-height: 2.2;
    letter-spacing: 0.06em;
  }

  /* 7 — Botón PROFESIONALES en mobile: +30% */
  .ekp-nav__mobile .btn-prof-nav {
    font-size: 0.91rem;
    padding: 0.78rem 1.2rem;
    min-height: 57px;
  }

  /* HERO — layout */
  .ekp-hero__inner  { flex-direction: column; }
  .ekp-hero__photos { display: none; }

  /* 4 — Reordenar hero content: título → sub → eyebrow → CTA */
  .ekp-hero__content {
    text-align: center;
    display: flex;
    flex-direction: column;
  }
  .ekp-hero__title   { order: 1; }
  .ekp-hero__sub     { order: 2; max-width: 100%; margin-bottom: 0.5rem; }
  .ekp-hero__eyebrow {
    order: 3;
    color: var(--kp-rosa);
    font-size: 0.78rem;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
  }
  .ekp-hero__cta { order: 4; align-items: center; }

  /* 2 — Hero: títulos y textos +30% */
  .ekp-hero__title { font-size: 3.9rem; }
  .ekp-hero__sub   { font-size: 1.14rem; }

  /* 3 — "Registrate para acceder..." → blanco +30% */
  .ekp-hero__hint  { font-size: 0.94rem; color: var(--kp-blanco); }

  /* 2 — CTA button +30% */
  .btn-primary {
    font-size: 0.95rem;
    padding: 1.1rem 2.2rem;
    min-height: 57px;
  }

  /* 9 — Tipografías de secciones +30% */
  .ekp-section-head h2        { font-size: 2.3rem; }
  .ekp-curso-card__title      { font-size: 2rem; }
  .ekp-curso-card__desc       { font-size: 1.13rem; }
  .badge                      { font-size: 0.8rem; padding: 0.35rem 0.75rem; }

  /* GRIDS */
  .ekp-cursos-grid { grid-template-columns: 1fr; }
  .ekp-videos-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  /* En una sola columna la jerarquía no la puede dar el ancho: la da el tamaño del
     título y el aire interno de la card del curso abierto. */
  .ekp-curso-card--destacado { padding: 2rem 1.4rem 1.6rem; }
  .ekp-curso-card--destacado .ekp-curso-card__title { font-size: 2.5rem; }
  .ekp-curso-card__meta { font-size: 1rem; }
  .ekp-curso-card__meta .ekp-ico { width: 1.15rem; height: 1.15rem; }

  /* El botón del curso abierto ocupa todo el ancho: es la acción principal de la pantalla */
  .ekp-curso-card--destacado .btn-primary { width: 100%; }

  .ekp-video-card h4    { font-size: 1.05rem; }
  .ekp-video-label      { font-size: 0.72rem; }
  .ekp-video-num        { font-size: 4rem; }
  .ekp-material-btn     { font-size: 0.8rem; min-height: 48px; }

  .ekp-material-layout      { grid-template-columns: 1fr; }
  .ekp-material-card-visual { display: none; }

  /* MODAL */
  .ekp-modal         { max-height: 100vh; border-radius: 0; }
  .ekp-modal-overlay { padding: 0; align-items: flex-end; }
  .ekp-fields-row    { grid-template-columns: 1fr; }
}
