/* Urpeverse para estudiantes — página del campus (2026-10-30).
   Se apoya en /css/site.css (marca Aurora: tokens, nav, botones, footer).
   Identidad propia de la página: el tablero verde del aula real, chips «pixel» y los sprites del propio producto.
   Prefijo c- en todas las clases para no pisar las del sitio. */

:root {
  --board: #0C3328;
  --board-deep: #0A2A21;
  --board-ink: #EAF6EF;
  --board-soft: #9FD1B8;
  --floor: #EAF3FF;
}

.c-center { text-align: center; margin-top: 14px; }
.c-sec-white { background: #fff; border-top: 1px solid var(--ice-100); border-bottom: 1px solid var(--ice-100); }
.c-note { text-align: center; font-size: 13px; color: var(--ink-400); max-width: 720px; margin: 18px auto 0; line-height: 1.5; }

/* ── Hero: captura real con puntos ── */
.c-hero .hero-grid { max-width: 920px; }
.c-frame { max-width: 1180px; }
.c-shot { position: relative; background: var(--ink); line-height: 0; }
.c-shot img { width: 100%; height: auto; }
.c-pin {
  position: absolute; transform: translate(-50%, -50%);
  width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff;
  background: var(--blue); color: #fff; font: 800 13px/1 var(--font-body); cursor: pointer;
  box-shadow: 0 0 0 4px rgba(46, 150, 245, .32), 0 8px 18px -6px rgba(11, 34, 64, .7);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.c-pin::before {
  content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .9);
  animation: c-pulse 1.8s ease-out infinite; pointer-events: none;
}
.c-pin.on, .c-pin:hover, .c-pin:focus-visible {
  background: var(--mint); transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 0 0 6px rgba(43, 210, 122, .3), 0 8px 18px -6px rgba(11, 34, 64, .7); outline: none;
}
.c-pin.on::before { animation: none; opacity: 0; }
@keyframes c-pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.1); opacity: 0; } }
.c-pin-cards { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--ice-100); background: #fff; }
.c-pin-card {
  text-align: left; padding: 16px 18px 18px; border: 0; border-right: 1px solid var(--ice-100); background: #fff;
  cursor: pointer; font-family: inherit; color: var(--ink); display: grid; gap: 7px; align-content: start;
  transition: background .15s ease;
}
.c-pin-card:last-child { border-right: 0; }
.c-pin-card b { font-size: 14px; display: flex; gap: 9px; align-items: center; line-height: 1.3; }
.c-pin-card span { font-size: 13px; color: var(--ink-soft); line-height: 1.45; }
.c-n {
  flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ice-100); color: var(--blue);
  font-style: normal; font-size: 11.5px; font-weight: 800; display: grid; place-items: center;
}
.c-pin-card.on { background: var(--ice-050); box-shadow: inset 0 3px 0 var(--mint); }
.c-pin-card.on .c-n { background: var(--mint); color: #fff; }
.c-pin-card:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }

/* ── Filas con copia + captura ── */
.c-row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; margin-top: 64px; }
.c-row.c-row-flip .c-row-copy { order: 2; }
.c-row-copy h2 { font-size: 36px; }
.c-row-copy .sub { margin-top: 14px; font-size: 17px; }
.c-list { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.c-list li { display: flex; gap: 10px; font-weight: 550; color: var(--ink-700); font-size: 15px; }
.c-list .tick { color: var(--mint); font-weight: 800; }
.c-media .product-frame { margin: 0; max-width: none; }
.c-frame-sm img { width: 100%; height: auto; }
.c-caption { font-size: 13px; color: var(--ink-400); margin-top: 10px; }

/* ── Horario en vivo (réplica del tablero de recepción) ── */
.c-board { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-float); overflow: hidden; }
.c-board-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 22px 26px 4px; flex-wrap: wrap; }
.c-board-head h3 { font-size: 20px; }
.c-countdown { font-variant-numeric: tabular-nums; font-weight: 650; color: var(--ink-700); font-size: 15px; }
.c-tz { padding: 0 26px 14px; font-size: 13.5px; color: var(--ink-soft); }
.c-clock-label { color: var(--ink-400); }
#c-clock { font-variant-numeric: tabular-nums; font-weight: 650; color: var(--ink-700); }
.c-scroll { overflow-x: auto; }
.c-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.c-table th {
  text-align: left; font-size: 13px; color: var(--ink-700); padding: 12px 16px;
  border-top: 1px solid var(--ice-100); border-bottom: 1px solid var(--ice-100); background: var(--ice-050);
}
.c-table td { padding: 14px 16px; vertical-align: top; border-bottom: 1px solid var(--ice-100); font-size: 14.5px; line-height: 1.35; }
.c-table td b { display: block; font-weight: 600; }
.c-table td small { display: block; color: var(--ink-soft); font-size: 13px; margin-top: 3px; }
.c-table tr.now td { background: var(--ice-200); }
.c-table .c-block { font-weight: 700; white-space: nowrap; }
.c-now {
  display: block; width: max-content; margin-top: 4px; font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; background: var(--mint); padding: 3px 7px; border-radius: 3px; box-shadow: 2px 2px 0 var(--ink);
}
.c-free { color: var(--ink-400); }
.c-soon { padding: 16px 26px; border-bottom: 1px solid var(--ice-100); }
.c-soon h4 { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-400); margin-bottom: 8px; }
.c-soon ul { list-style: none; columns: 2; column-gap: 32px; font-size: 13.5px; color: var(--ink-700); }
.c-soon li { break-inside: avoid; padding: 2px 0; }
.c-choose { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 18px 26px; border-bottom: 1px solid var(--ice-100); }
.c-choose-label { font-weight: 650; font-size: 14.5px; }
.c-choose select {
  font: inherit; font-size: 15px; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--border);
  background: #fff; color: var(--ink); min-width: 280px; max-width: 100%;
}
.c-choose select:focus-visible { outline: 2px solid var(--blue); }
.c-choose-msg { flex: 1 1 300px; font-size: 15px; font-weight: 550; color: var(--ink-700); min-width: 0; }
.c-choose .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* mapa: pasillo con tres puertas y el sprite real del producto */
.c-map {
  position: relative; height: 250px; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 60%),
    repeating-linear-gradient(0deg, transparent 0 23px, var(--grid-lines) 23px 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, var(--grid-lines) 23px 24px),
    var(--floor);
}
.c-door {
  position: absolute; top: 18px; width: 190px; transform: translateX(-50%);
  background: #fff; border: 2px solid var(--ink); border-radius: 8px; box-shadow: 4px 4px 0 var(--ink);
  padding: 10px 12px 12px; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.c-door[data-aula="1"] { left: 22%; }
.c-door[data-aula="2"] { left: 50%; }
.c-door[data-aula="3"] { left: 78%; }
.c-door::after {
  content: ""; position: absolute; left: 50%; bottom: -16px; width: 44px; height: 14px;
  background: var(--ink); transform: translateX(-50%); border-radius: 0 0 5px 5px;
}
.c-door b { display: block; font-size: 13px; letter-spacing: .04em; }
.c-door small { display: block; font-size: 12px; color: var(--ink-soft); margin-top: 3px; line-height: 1.3; min-height: 2.6em; }
.c-door.lit { border-color: var(--mint); box-shadow: 4px 4px 0 var(--mint); background: #EFFFF6; }
.c-door.lit::after { background: var(--mint); }
.c-desk {
  position: absolute; left: 24px; bottom: 22px; padding: 7px 12px; background: #fff; border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink); font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; border-radius: 6px;
}
.c-avatar {
  position: absolute; width: 64px; height: 64px; left: 0; top: 0;
  transform: translate(-50%, -100%); image-rendering: pixelated; background-repeat: no-repeat;
  filter: drop-shadow(0 6px 4px rgba(11, 34, 64, .25));
}
.c-map-msg { padding: 14px 26px 18px; font-size: 14px; color: var(--ink-soft); background: #fff; }

/* El atributo hidden manda sobre cualquier display de estas clases (chips, burbujas, botones). */
.c-body [hidden] { display: none !important; }

/* ── Levanta la mano (tablero verde del aula) ── */
.c-class {
  background: var(--board); color: var(--board-ink); border-radius: var(--r-card); box-shadow: var(--shadow-float);
  overflow: hidden; max-width: 900px; margin: 0 auto; border: 1px solid rgba(255, 255, 255, .06);
}
.c-class-head { display: flex; align-items: center; gap: 14px; padding: 18px 24px; background: var(--board-deep); border-bottom: 1px solid rgba(255, 255, 255, .08); flex-wrap: wrap; }
.c-tag { font-family: var(--font-mono); font-size: 12px; background: rgba(255, 255, 255, .1); padding: 4px 8px; border-radius: 6px; }
.c-class-title { min-width: 0; }
.c-class-title b { display: block; font-size: 15px; }
.c-class-title small { display: block; color: var(--board-soft); font-size: 12.5px; margin-top: 2px; }
.c-live { margin-left: auto; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; display: flex; gap: 8px; align-items: center; color: #BFF2D6; }
.c-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(43, 210, 122, .25); }
.c-chat { padding: 24px; display: grid; gap: 14px; min-height: 280px; align-content: start; }
.c-msg { max-width: 640px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .07); display: grid; gap: 9px; }
.c-msg-me { background: rgba(46, 150, 245, .22); justify-self: end; border: 1px solid rgba(79, 176, 255, .35); }
.c-who { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--board-soft); font-weight: 700; }
.c-msg p { font-size: 16px; line-height: 1.5; }
.c-msg-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.c-voice {
  justify-self: start; display: inline-flex; gap: 9px; align-items: center; font: 600 13.5px/1 var(--font-body);
  color: var(--board); background: #fff; border: 0; padding: 9px 13px; border-radius: 10px; cursor: pointer; transition: background .15s ease;
}
.c-voice:hover, .c-voice:focus-visible { background: #DFF7EA; outline: none; }
.c-voice.playing { background: var(--mint); color: #fff; }
.c-bars { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; }
.c-bars b { width: 3px; height: 5px; background: currentColor; border-radius: 1px; }
.c-voice.playing .c-bars b { animation: c-bar .7s ease-in-out infinite; }
.c-voice.playing .c-bars b:nth-child(2) { animation-delay: .15s; }
.c-voice.playing .c-bars b:nth-child(3) { animation-delay: .3s; }
@keyframes c-bar { 0%, 100% { height: 4px; } 50% { height: 12px; } }
.c-counter { font-size: 12px; color: var(--board-soft); }
.c-preparing { font-size: 13.5px; color: var(--board-soft); padding-left: 4px; }
.c-preparing::after { content: ""; animation: c-dots 1.2s steps(4, end) infinite; }
@keyframes c-dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
.c-typing::after { content: "▍"; color: var(--sky); animation: c-blink 1s steps(2, start) infinite; }
.c-typing.done::after { content: ""; }
@keyframes c-blink { to { visibility: hidden; } }
.c-class-foot { display: flex; gap: 12px; align-items: center; padding: 16px 24px 22px; border-top: 1px solid rgba(255, 255, 255, .08); flex-wrap: wrap; }
.c-class-foot .btn-primary:disabled { opacity: .5; cursor: default; transform: none; box-shadow: none; }
.c-btn-dark { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .3); }
.c-btn-dark:hover { border-color: #fff; }
.c-foot-note { font-size: 12.5px; color: var(--board-soft); margin-left: auto; }

/* ── Inscripción en cuatro pasos ── */
.c-steps { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: start; }
.c-steps-tabs { display: grid; gap: 10px; }
.c-step-tab {
  text-align: left; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; cursor: pointer;
  font-family: inherit; color: var(--ink); display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.c-step-tab .n { width: 30px; height: 30px; border-radius: 50%; background: var(--ice-100); color: var(--blue); font-weight: 800; display: grid; place-items: center; font-size: 13px; }
.c-step-txt b { font-size: 15px; display: block; line-height: 1.3; }
.c-step-txt > span { font-size: 13.5px; color: var(--ink-soft); display: block; margin-top: 4px; line-height: 1.45; }
.c-step-tab.on { border-color: var(--sky); box-shadow: var(--shadow-card); }
.c-step-tab.on .n { background: var(--grad-aurora); color: #fff; }
.c-step-tab:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.c-steps-panel .product-frame { margin: 0; max-width: none; }
.c-step-p { display: none; }
.c-enroll-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 44px; }
.c-url { font-family: var(--font-mono); font-size: 13px; color: var(--ink-400); }

/* ── Profesores ── */
.c-profs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.c-prof { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 22px; box-shadow: var(--shadow-card); display: grid; gap: 10px; align-content: start; }
.c-prof-top { display: flex; align-items: center; gap: 12px; }
.c-prof-ava { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--grad-night); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; letter-spacing: .02em; }
.c-prof-top b { display: block; font-size: 16px; }
.c-prof-top small { color: var(--blue); font-weight: 700; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.c-prof h3 { font-size: 15.5px; font-weight: 650; color: var(--ink-700); line-height: 1.35; }
.c-prof q { font-size: 13.5px; color: var(--ink-soft); font-style: italic; line-height: 1.5; quotes: "“" "”"; }
.c-prof-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.c-prof-meta span { font-size: 12px; font-weight: 650; color: var(--ink-700); background: var(--ice-100); padding: 4px 9px; border-radius: 999px; }
.c-soon-wrap { margin-top: 28px; background: #fff; border: 1.5px dashed var(--sky); border-radius: 20px; padding: 22px 26px; }
.c-soon-wrap h3 { font-size: 16px; }
.c-soon-wrap p { color: var(--ink-soft); font-size: 14px; margin: 6px 0 12px; }
.c-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.c-chips span { font-size: 13px; color: var(--ink-700); background: var(--ice-050); border: 1px solid var(--border); padding: 6px 11px; border-radius: 999px; }

/* ── Ficha ── */
.c-facts { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-card); }
.c-fact { display: flex; justify-content: space-between; gap: 20px; padding: 14px 22px; border-bottom: 1px solid var(--ice-100); font-size: 15px; }
.c-fact:last-child { border-bottom: 0; }
.c-fact dt { color: var(--ink-soft); }
.c-fact dd { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }

/* ── Final ── */
.c-final-note { position: relative; margin-top: 16px; font-family: var(--font-mono); font-size: 13px; color: #BFD8F5; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .c-row-copy h2 { font-size: 30px; }
}
@media (max-width: 900px) {
  .c-row { grid-template-columns: 1fr; gap: 24px; margin-top: 48px; }
  .c-row.c-row-flip .c-row-copy { order: 0; }
  .c-steps { grid-template-columns: 1fr; }
  .c-steps-tabs { grid-template-columns: 1fr 1fr; }
  .c-step-txt > span { display: none; }
  .c-step-p { display: block; font-size: 14.5px; color: var(--ink-soft); margin-top: 12px; }
  .c-profs { grid-template-columns: 1fr 1fr; }
  .c-pin-cards { grid-template-columns: 1fr; }
  .c-pin-card { border-right: 0; border-bottom: 1px solid var(--ice-100); padding: 13px 16px; }
  .c-pin-card:last-child { border-bottom: 0; }
  .c-soon ul { columns: 1; }
  .c-door { width: 120px; padding: 8px 9px 10px; }
  .c-door small { font-size: 11px; }
  .c-foot-note { margin-left: 0; }
}
@media (max-width: 600px) {
  .c-profs { grid-template-columns: 1fr; }
  .c-steps-tabs { grid-template-columns: 1fr; }
  .c-pin { width: 24px; height: 24px; font-size: 11px; }
  .c-fact { flex-direction: column; gap: 4px; }
  .c-fact dd { text-align: left; }
  .c-choose select { min-width: 0; width: 100%; }
  .c-door { width: 96px; }
  .c-door small { display: none; }
  .c-map { height: 210px; }
  .c-chat { padding: 16px; }
  .c-msg p { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .c-pin::before, .c-voice.playing .c-bars b, .c-preparing::after, .c-typing::after { animation: none; }
}
