/* Conex. Dirección: cartel plano. Paleta del análisis de competencia:
   Magenta Directo, Ámbar Foco, Berenjena Maestra. Sin esquinas redondeadas. */

:root {
  --plum: #3D0F36;
  --plum-2: #4F1B47;
  --plum-3: #2C0A27;
  --magenta: #B3127F;
  --magenta-2: #9A0E6C;
  --amber: #FFB000;
  --amber-2: #FFC233;
  --paper: #FFFFFF;
  --paper-2: #F7EFF4;
  --paper-3: #EFE1EA;
  --soft: #6B3F64;

  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --text: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-small: 0.875rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-sub: clamp(1.625rem, 2.4vw, 2.25rem);
  --step-head: clamp(2.125rem, 4.6vw, 4.5rem);
  --step-mega: 8.9vw;
  --step-poster: min(10.7vw, 24vh);

  --m: clamp(16px, 2vw, 28px);
  --gap: 6px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;

  --bar-ink: #fff;
  --bar-ground: transparent;
  --tile-bg: #fff;
  --tile-fg: var(--magenta);
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--plum);
  font: 400 var(--step-body)/1.5 var(--text);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, p, ul, dl, dd, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.paper-focus :focus-visible, .teachers :focus-visible, .price :focus-visible, .faq :focus-visible, .teach :focus-visible { outline-color: var(--magenta); }
::selection { background: var(--amber); color: var(--plum); }
.defs { position: absolute; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: 10px; z-index: 90; background: var(--amber); color: var(--plum); padding: 12px 16px; font-weight: 600; }
.skip:not(:focus) { width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
br.ph { display: none; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 22px;
  font: 600 var(--step-body)/1.15 var(--text); text-decoration: none; white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.btn:active { transform: scale(0.97); }
.btn__arrow { display: inline-block; transition: transform var(--t-ui) var(--ease-out); }
.btn--amber { background: var(--amber); color: var(--plum); }
.btn--plum { background: var(--plum); color: #fff; }
.btn--ticket { background: var(--plum); color: #fff; width: 100%; min-height: 60px; white-space: normal; text-align: center; }
.btn--wide { width: 100%; min-height: 64px; font-size: var(--step-lead); }
.btn--big { min-height: 72px; padding: 16px 36px; font-size: var(--step-lead); }
.btn--bar { background: var(--amber); color: var(--plum); min-height: 44px; padding: 8px 18px; font-size: 1rem; }
.lbl-narrow { display: none; }
@media (hover: hover) and (pointer: fine) {
  .btn--amber:hover, .btn--bar:hover { background: var(--amber-2); }
  .btn--plum:hover, .btn--ticket:hover { background: var(--magenta); }
  .btn:hover .btn__arrow { transform: translateX(6px); }
}

/* ---------- barra superior: toma el color del capítulo debajo ---------- */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px);
  padding: 10px var(--m);
  color: var(--bar-ink); background: var(--bar-ground);
  transition: background-color 300ms ease, color 300ms ease;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand__tile {
  display: grid; place-items: center; width: 40px; height: 40px;
  background: var(--tile-bg); color: var(--tile-fg);
  transition: background-color 300ms ease, color 300ms ease;
}
.brand__name { font: 400 1.75rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }
.bar__nav { display: flex; gap: clamp(14px, 2vw, 30px); margin-left: auto; }
.bar__nav a {
  font-weight: 600; font-size: 1rem; text-decoration: underline; text-decoration-color: transparent;
  text-decoration-thickness: 2px; text-underline-offset: 6px;
  transition: text-decoration-color var(--t-hover) ease;
}
@media (hover: hover) and (pointer: fine) { .bar__nav a:hover { text-decoration-color: currentColor; } }
.bar.is-solid { background: var(--plum); }
.bar__menu { display: none; font-weight: 600; min-height: 44px; padding: 0 4px; margin-left: auto; }

/* ---------- tratamiento de imagen: berenjena en las sombras, color de marca en las luces ---------- */
.tone { position: relative; isolation: isolate; overflow: hidden; background: var(--plum); }
.tone video, .tone img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.38) brightness(1.24);
}
.tone::before, .tone::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.tone--magenta::before { background: var(--magenta); mix-blend-mode: multiply; }
.tone--magenta::after { background: var(--plum); mix-blend-mode: lighten; }
.tone--plum::before { background: #7D1460; mix-blend-mode: multiply; }
.tone--plum::after { background: var(--plum-3); mix-blend-mode: lighten; }

/* ---------- portada ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto;
  color: #fff; background: var(--plum); overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__clip { opacity: 0; object-position: 50% 0%; transition: opacity 260ms linear; }
.hero__clip[data-name="clip-39781"] { object-position: 50% 30%; }
.hero__clip.is-on { opacity: 1; animation: settle 9s var(--ease-soft) both; }
@keyframes settle { from { transform: scale(1.07); } to { transform: none; } }
.hero__pause {
  position: absolute; z-index: 6; right: var(--m); top: 72px;
  min-height: 44px; padding: 8px 14px; background: var(--plum); color: #fff;
  font-size: var(--step-small); font-weight: 600;
  transition: background-color var(--t-hover) ease;
}
@media (hover: hover) and (pointer: fine) { .hero__pause:hover { background: var(--plum-2); } }
.hero__copy { position: relative; z-index: 5; grid-row: 1; align-self: end; padding: 96px var(--m) clamp(14px, 2.2vh, 26px); }
.hero__title { font: 400 var(--step-poster)/1 var(--display); text-transform: uppercase; letter-spacing: 0; }
.line { display: block; overflow: hidden; padding-top: 0.14em; margin-top: -0.14em; padding-bottom: 0.02em; }
.line__in { display: block; white-space: nowrap; }
.line + .line { margin-top: -0.03em; }
.line--amber { color: var(--amber); }
.hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin-top: clamp(10px, 1.6vh, 18px); }
.hero__intro { flex: 1 1 340px; min-width: 0; max-width: 44ch; }
.hero__h1 { font: 400 var(--step-sub)/1.1 var(--display); text-transform: uppercase; }
.hero__lead { font-size: var(--step-body); line-height: 1.3; font-weight: 600; margin-top: 6px; }
.subjects { display: flex; flex-wrap: wrap; gap: var(--gap); justify-content: flex-end; flex: 0 1 auto; }
.subject {
  min-height: 48px; padding: 8px 18px; background: var(--plum-3); color: #fff;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  display: inline-flex; align-items: center;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.subject:active { transform: scale(0.96); }
.subject[aria-pressed="true"] { background: var(--amber); color: var(--plum); }
.subject--link { background: #fff; color: var(--plum); }
@media (hover: hover) and (pointer: fine) {
  .subject:not([aria-pressed="true"]):not(.subject--link):hover { background: var(--magenta); }
  .subject--link:hover { background: var(--paper-3); }
}

/* cintillo inferior, como el rótulo de una transmisión */
.third {
  position: relative; z-index: 5; grid-row: 2;
  display: grid; grid-template-columns: 112px minmax(0, 1.5fr) auto minmax(0, 1.2fr) auto auto;
  align-items: stretch; background: var(--plum); color: #fff;
}
.third > p { display: flex; flex-direction: column; justify-content: center; padding: 10px clamp(14px, 1.8vw, 26px); line-height: 1.25; }
.third strong { font-weight: 400; font-family: var(--display); font-size: var(--step-sub); line-height: 1.08; text-transform: uppercase; }
.third p > span { font-size: 1rem; }
.third__photo { width: 112px; height: 112px; object-fit: cover; background: var(--plum-2); }
.third__clock { background: var(--plum-2); }
.third__clock strong { color: var(--amber); white-space: nowrap; }
.third__who { min-width: 0; }
.btn--third { min-height: 112px; padding: 16px clamp(20px, 2.6vw, 40px); font-size: var(--step-lead); }

/* ---------- prueba ---------- */
.proof { background: var(--amber); color: var(--plum); overflow: hidden; padding: clamp(18px, 3.4vh, 34px) 0; }
.proof__track { display: flex; width: max-content; animation: drift-x 62s linear infinite; }
.proof__set { display: flex; align-items: center; flex: none; font: 400 var(--step-mega)/1.06 var(--display); text-transform: uppercase; white-space: nowrap; }
.proof__set span { padding: 0 0.32em; }
.proof__set i { display: block; flex: none; width: 0.26em; height: 0.26em; background: var(--magenta); }
@keyframes drift-x { to { transform: translateX(-50%); } }
.proof:hover .proof__track { animation-play-state: paused; }

/* ---------- títulos gigantes ---------- */
.mega { font: 400 var(--step-mega)/1 var(--display); text-transform: uppercase; letter-spacing: 0; }
.mega--close { font-size: 10.7vw; }

/* ---------- qué es Conex: dos paneles planos unidos borde con borde ---------- */
.about { display: grid; grid-template-columns: minmax(0, 7.5fr) minmax(0, 5fr); background: var(--plum); color: #fff; }
.about__what, .about__trust { display: flex; flex-direction: column; justify-content: space-between; gap: clamp(24px, 4vh, 44px); padding: clamp(36px, 6vh, 64px) var(--m); min-width: 0; }
.about__trust { background: var(--magenta); }
.about__lead { font: 600 1.75rem/1.22 var(--text); text-wrap: pretty; }
.about__small { font-size: var(--step-body); line-height: 1.3; font-weight: 600; }
.about__big { font: 400 var(--step-mega)/1 var(--display); text-transform: uppercase; color: var(--amber); }
.about__fact .line { margin-top: 0; }
.about__doc { font: 400 clamp(1.75rem, 3.4vw, 3.25rem)/1.08 var(--display); text-transform: uppercase; text-wrap: balance; }
.about__y { font-size: var(--step-body); line-height: 1.3; font-weight: 600; margin: 6px 0; }

/* ---------- maestros ---------- */
.teachers { background: var(--paper); padding: clamp(84px, 11vh, 110px) var(--m) clamp(96px, 14vh, 170px); }
.sort { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap); margin: clamp(20px, 3vh, 32px) 0 clamp(16px, 2vh, 24px); }
.sort__label { font-weight: 600; margin-right: 10px; }
.sort__cur { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap); margin-left: auto; }
.cur-note { font-size: 1rem; margin-bottom: 12px; color: var(--soft); }
.cur-note[hidden] { display: none; }
.bar__cur { display: flex; gap: 2px; flex: none; }
.bar__cur-btn {
  min-height: 44px; min-width: 48px; padding: 6px 8px; font-weight: 600; font-size: 1rem; color: inherit;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.bar__cur-btn:active { transform: scale(0.96); }
.bar__cur-btn[aria-pressed="true"] { background: var(--tile-bg); color: var(--tile-fg); }
.sort__btn {
  min-height: 44px; padding: 8px 16px; background: var(--paper-2); font-weight: 600; font-size: 1rem;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.sort__btn:active { transform: scale(0.96); }
.sort__btn[aria-pressed="true"] { background: var(--plum); color: #fff; }
@media (hover: hover) and (pointer: fine) { .sort__btn:not([aria-pressed="true"]):hover { background: var(--paper-3); } }

.rows { display: grid; gap: var(--gap); }
.row {
  display: grid; grid-template-columns: clamp(150px, 15vw, 230px) minmax(0, 1fr) clamp(92px, 9vw, 140px) clamp(92px, 9vw, 140px) clamp(220px, 22vw, 340px);
  background: var(--paper-2); align-items: stretch;
  transition: background-color var(--t-hover) ease;
}
.row__pic { overflow: hidden; background: var(--paper-3); aspect-ratio: 4 / 5; }
.row__pic img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: transform 700ms var(--ease-soft), filter var(--t-ui) ease; }
.row__who { padding: clamp(14px, 1.6vw, 24px); align-self: center; min-width: 0; }
.row__name { font: 400 var(--step-head)/1.04 var(--display); text-transform: uppercase; transition: color var(--t-hover) ease; }
.row__what { font-weight: 600; margin-top: 6px; }
.row__desc { margin-top: 6px; max-width: 58ch; }
.row__stat { display: flex; flex-direction: column; justify-content: center; padding: 12px; line-height: 1.2; }
.row__stat strong { font: 400 var(--step-sub)/1.05 var(--display); }
.row__stat span { font-size: var(--step-small); }
.row__slots { display: grid; grid-auto-rows: 1fr; gap: 2px; align-self: stretch; }
.slot-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 48px; padding: 8px 14px; width: 100%; background: var(--paper-3); color: var(--plum);
  font-weight: 600; text-align: left;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.slot-btn:active { transform: scale(0.98); }
.slot-btn:first-child { background: var(--amber); }
.slot-btn span { font-size: var(--step-small); font-weight: 400; }
@media (hover: hover) and (pointer: fine) {
  .row:hover { background: var(--paper-3); }
  .row:hover .row__name { color: var(--magenta); }
  .row:hover .row__pic img { transform: scale(1.04); filter: none; }
  .slot-btn:hover { background: var(--plum); color: #fff; }
  .slot-btn:first-child:hover { background: var(--amber-2); color: var(--plum); }
}
.teachers__more { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(20px, 3vh, 32px); }
.cats { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.cats a { font-weight: 600; text-underline-offset: 5px; text-decoration-thickness: 2px; text-decoration-color: var(--magenta); display: inline-block; padding: 8px 0; transition: color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .cats a:hover { color: var(--magenta); } }

/* ---------- un verbo por pantalla ---------- */
.verbs__head { background: var(--plum); color: #fff; padding: clamp(72px, 11vh, 120px) var(--m) clamp(16px, 3vh, 28px); }
.verbs__title { font: 400 var(--step-head)/1.05 var(--display); text-transform: uppercase; }
.verb { position: relative; height: 150svh; background: var(--plum); }
.verb__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; color: #fff; display: grid; place-items: center; }
.verb__media { position: absolute; inset: 0; }
.verb__word { position: relative; z-index: 4; font: 400 min(30vw, 66vh)/1 var(--display); text-transform: uppercase; color: #fff; }
.verb:nth-of-type(2) .verb__word { color: var(--amber); }
.verb__note {
  position: absolute; z-index: 5; left: var(--m); bottom: var(--m); max-width: 44ch;
  background: var(--plum); padding: 16px 20px; font-size: var(--step-body); line-height: 1.4;
}
.verb__ui { position: absolute; z-index: 5; right: var(--m); bottom: var(--m); }


[data-ui] { font-size: 1rem; }
[data-ui] .ui-filter { display: flex; gap: 2px; background: var(--plum); padding: 10px; }
[data-ui] .ui-filter__chip { padding: 6px 12px; background: var(--plum-2); font-weight: 600; }
[data-ui] .ui-filter__chip.is-on { background: var(--amber); color: var(--plum); }
[data-ui] .ui-list { background: #fff; color: var(--plum); min-width: 340px; }
[data-ui] .ui-list__row { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 11px 14px; font-weight: 600; }
[data-ui] .ui-list__row:first-child { background: var(--paper-3); }
[data-ui] .ui-list__row b { text-align: right; }
[data-ui] .ui-day { display: flex; justify-content: space-between; gap: 24px; background: var(--plum); padding: 12px 14px; font-weight: 600; }
[data-ui] .ui-day b { color: var(--amber); font-weight: 600; }
[data-ui] .ui-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--plum); padding: 0 2px 2px; min-width: 340px; }
[data-ui] .ui-slots button {
  min-height: 48px; padding: 8px 10px; background: #fff; color: var(--plum); font-weight: 600; white-space: nowrap;
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
[data-ui] .ui-slots button:first-child { background: var(--amber); }
[data-ui] .ui-slots button:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { [data-ui] .ui-slots button:hover { background: var(--amber-2); } }
[data-ui] .ui-room { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; background: var(--plum); padding: 8px; }
[data-ui] .ui-room__time { padding: 6px 14px 6px 8px; font-variant-numeric: tabular-nums; }
[data-ui] .ui-room__time b { color: var(--amber); font-weight: 600; }
[data-ui] .ui-room__tool { padding: 8px 12px; background: var(--plum-2); font-weight: 600; }
[data-ui] .ui-room__tool.is-on { background: #fff; color: var(--plum); }

/* ---------- grabado contra vivo ---------- */
.versus { background: var(--plum); color: #fff; padding-top: clamp(96px, 16vh, 180px); }
.versus .mega { padding: 0 var(--m) clamp(24px, 4vh, 44px); }
.versus__panels { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.panel { display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 3vw, 44px) var(--m) clamp(32px, 5vh, 56px); }
.panel--dead { background: var(--plum-2); }
.panel--live { background: var(--magenta); }
.panel__name { font: 400 var(--step-sub)/1.1 var(--display); text-transform: uppercase; }
.panel__top { display: grid; gap: 18px 28px; align-items: start; }
.panel--live .panel__top { grid-template-columns: auto minmax(0, 1fr); }
.panel__num { display: grid; gap: 4px; }
.panel__num strong { font: 400 var(--step-mega)/1.04 var(--display); text-transform: uppercase; overflow: hidden; }
.panel--dead .panel__num strong { color: #fff; }
.panel--live .panel__num strong { color: var(--amber); }
.panel__num span { font-size: var(--step-lead); line-height: 1.2; font-weight: 600; max-width: 24ch; }
.panel__list { display: grid; gap: 12px 28px; }
.panel--live .panel__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel__list li { position: relative; padding-left: 26px; }
.panel__list li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 12px; height: 12px; background: currentColor; }
.panel--live .panel__list li::before { background: var(--amber); }
.panel .btn { align-self: flex-start; margin-top: auto; }

[data-ui].chat { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; max-width: 480px; min-width: 0; align-self: end; }
[data-ui] .chat__q { background: #fff; color: var(--plum); padding: 12px 16px; font-weight: 600; justify-self: start; }
[data-ui] .chat__a { background: var(--amber); color: var(--plum); padding: 12px 16px; font-weight: 600; justify-self: end; }
[data-ui] .chat__state { padding: 4px 0 0; font-size: var(--step-small); }
.panel--live [data-ui] .chat__state { justify-self: end; }

/* ---------- precio: el boleto ---------- */
.price { background: var(--paper); padding: clamp(96px, 16vh, 180px) var(--m); }
.ticket {
  position: relative; display: grid; grid-template-columns: 7fr 3fr;
  margin-top: clamp(28px, 4vh, 48px);
  background: var(--amber); color: var(--plum);
}
.ticket__main { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.price__lead { font-size: var(--step-lead); line-height: 1.3; font-weight: 600; max-width: 46ch; margin-top: 12px; }
.ticket .link-btn { text-decoration-color: var(--plum); }
.ticket__title { font: 400 7.6vw/1.04 var(--display); text-transform: uppercase; }
.ticket__when { font-size: var(--step-lead); font-weight: 600; }
.ticket__terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; margin-top: auto; padding-top: clamp(20px, 3vh, 40px); }
.ticket__stub {
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
  padding: clamp(24px, 3vw, 44px) clamp(16px, 2vw, 28px);
  border-left: 4px dashed var(--paper);
  position: relative;
  transition: transform var(--t-ui) var(--ease-out);
}
.ticket__stub::before, .ticket__stub::after { content: ""; position: absolute; left: -16px; width: 28px; height: 14px; background: var(--paper); }
.ticket__stub::before { top: 0; }
.ticket__stub::after { bottom: 0; }
.ticket__price { display: flex; align-items: baseline; gap: 8px; }
.ticket__price strong { font: 400 var(--step-mega)/1 var(--display); }
.ticket__price > span { font-weight: 600; font-size: var(--step-lead); }
@media (hover: hover) and (pointer: fine) { .ticket:hover .ticket__stub { transform: translateX(8px); } }
.price__note { margin-top: 18px; font-size: var(--step-lead); line-height: 1.3; font-weight: 600; max-width: 46ch; }

/* ---------- para maestros ---------- */
.teach { background: var(--paper-2); color: var(--plum); padding: clamp(28px, 5vh, 52px) var(--m); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px clamp(20px, 4vw, 56px); }
.teach__title { font: 400 var(--step-head)/1.05 var(--display); text-transform: uppercase; }
.teach__lead { font-size: var(--step-lead); line-height: 1.3; font-weight: 600; max-width: 44ch; }
.teach .btn { justify-self: start; }

/* ---------- dudas ---------- */
.faq { background: var(--paper); padding: clamp(96px, 16vh, 180px) var(--m); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 48px); align-items: start; }
.faq__title { position: sticky; top: 92px; font: 400 var(--step-mega)/1.02 var(--display); text-transform: uppercase; }
.faq__list { display: grid; gap: var(--gap); }
.tile { background: var(--paper-2); transition: background-color var(--t-hover) ease; }
.tile summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  list-style: none; cursor: pointer; min-height: 72px; padding: 16px clamp(16px, 2vw, 28px);
  font: 400 var(--step-sub)/1.12 var(--display); text-transform: uppercase;
}
.tile summary::-webkit-details-marker { display: none; }
.tile summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 44px; height: 44px;
  background: var(--plum); color: #fff; font: 600 1.625rem/1 var(--text);
  transition: background-color var(--t-hover) ease;
}
.tile[open] summary::after { content: "−"; background: var(--magenta); }
.tile__body { padding: 0 clamp(16px, 2vw, 28px) 22px; animation: open-tile 320ms var(--ease-out); }
.tile__body p { max-width: 60ch; }
@keyframes open-tile { from { opacity: 0; transform: translateY(-8px); } }
@media (hover: hover) and (pointer: fine) { .tile:hover { background: var(--paper-3); } }

/* ---------- cierre ---------- */
.close { background: var(--plum); color: #fff; min-height: 92svh; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: clamp(96px, 14vh, 150px) var(--m) clamp(28px, 5vh, 48px); }
.close__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.close__lead { font-size: var(--step-lead); line-height: 1.3; font-weight: 600; max-width: 34ch; }

/* ---------- pie: la marca construida ---------- */
.foot { background: var(--plum); color: #fff; padding: clamp(72px, 12vh, 160px) var(--m) var(--m); }
.mark { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; height: clamp(170px, 38vw, 620px); align-items: end; }
.mark__b {
  display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
  height: var(--h); color: var(--plum);
  font: 400 clamp(6.5rem, 25vw, 26rem)/0.98 var(--display);
}
.mark__b--white { background: #fff; }
.mark__b--amber { background: var(--amber); }
.mark__b--magenta { background: var(--magenta); color: #fff; }
.foot__cols { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 24px; margin-top: clamp(32px, 6vh, 56px); }
.foot__cols nav { display: grid; gap: 2px; align-content: start; }
.foot__cols nav a { display: inline-block; padding: 8px 0; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 5px; transition: text-decoration-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .foot__cols nav a:hover { text-decoration-color: var(--amber); } }
.foot__brand { align-self: start; --tile-bg: var(--magenta); --tile-fg: #fff; }
.foot__about { margin-top: clamp(24px, 4vh, 40px); font-size: var(--step-lead); line-height: 1.3; font-weight: 600; max-width: 46ch; }
.foot__credit { margin-top: 14px; max-width: 90ch; font-size: 1rem; }

/* ---------- paso de reserva ---------- */
.book {
  margin: 0 0 0 auto; padding: 0; border: 0; max-width: none; max-height: none;
  width: min(540px, 100%); height: 100dvh; background: var(--plum); color: #fff; overflow-y: auto;
}
.book[open] { animation: sheet 420ms var(--ease-out); }
.book::backdrop { background: rgba(44, 10, 39, 0.72); animation: fade 300ms ease; }
@keyframes sheet { from { transform: translateX(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
.book__inner { display: flex; flex-direction: column; gap: 18px; padding: 20px clamp(16px, 3vw, 32px) 28px; min-height: 100%; }
.book__close { align-self: flex-end; min-height: 44px; padding: 8px 14px; background: var(--plum-2); font-weight: 600; transition: background-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .book__close:hover { background: var(--magenta); } }
.book__title { font: 400 var(--step-head)/1.05 var(--display); text-transform: uppercase; }
.book__who { display: flex; align-items: center; gap: 14px; }
.book__who img { width: 96px; height: 96px; object-fit: cover; flex: none; background: var(--plum-2); }
.book__who strong { display: block; font-weight: 600; }
.book__slots legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.book__slots > div { display: grid; gap: 4px; }
.book-slot {
  display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 54px; padding: 8px 16px;
  background: var(--plum-2); color: #fff; font-weight: 600; text-align: left;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.book-slot:active { transform: scale(0.98); }
.book-slot[aria-pressed="true"] { background: var(--amber); color: var(--plum); }
.book-slot span { font-weight: 400; font-size: var(--step-small); }
.book__sum { display: grid; gap: 6px; background: var(--plum-2); padding: 14px 16px; }
.book__sum div { display: flex; justify-content: space-between; gap: 20px; }
.book__sum dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.book__note { font-size: 1rem; }

/* ---------- entradas ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero .line__in { transform: translateY(112%); animation: line-up 1000ms var(--ease-out) forwards; }
  .js .hero .line + .line .line__in { animation-delay: 110ms; }
  .js .hero__row, .js .third { opacity: 0; transform: translateY(20px); animation: rise 800ms var(--ease-out) 420ms forwards; }
  .js .third { animation-delay: 560ms; }

  .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 650ms var(--ease-out), transform 850ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  .js .row[data-reveal] { transform: translateX(-3%); }
  .js .row[data-reveal].is-in { transform: none; }

  .js [data-reveal="line"] { opacity: 1; transform: translateY(112%); }
  .js [data-reveal="line"].is-in { transform: none; }

  .js [data-reveal="print"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 800ms var(--ease-in-out); }
  .js [data-reveal="print"].is-in { clip-path: inset(-10px); }

  .js [data-reveal="stage"] { opacity: 1; transform: none; }
  .js [data-reveal="stage"] .panel__num strong { display: inline-block; transform: translateY(24px); opacity: 0; transition: transform 800ms var(--ease-out), opacity 500ms ease; }
  .js [data-reveal="stage"].is-in .panel__num strong { transform: none; opacity: 1; }
  .js [data-reveal="stage"] .panel__list li { opacity: 0; transform: translateY(16px); transition: opacity 500ms ease, transform 700ms var(--ease-out); }
  .js [data-reveal="stage"].is-in .panel__list li { opacity: 1; transform: none; }
  .js [data-reveal="stage"].is-in .panel__list li:nth-child(1) { transition-delay: 520ms; }
  .js [data-reveal="stage"].is-in .panel__list li:nth-child(2) { transition-delay: 590ms; }
  .js [data-reveal="stage"].is-in .panel__list li:nth-child(3) { transition-delay: 660ms; }
  .js [data-reveal="stage"].is-in .panel__list li:nth-child(4) { transition-delay: 730ms; }
  .js [data-reveal="stage"] .chat > * { opacity: 0; transform: translateY(14px); }
  .js [data-reveal="stage"].is-in .chat > * { animation: rise 500ms var(--ease-out) forwards; }
  .js [data-reveal="stage"].is-in .chat__q { animation-delay: 120ms; }
  .js [data-reveal="stage"].is-in .chat__a { animation-delay: 520ms; }
  .js [data-reveal="stage"].is-in .chat__state { animation-delay: 760ms; }

  .js [data-reveal="blocks"] { opacity: 1; transform: none; overflow: hidden; }
  .js [data-reveal="blocks"] .mark__b { transform: translateY(102%); transition: transform 900ms var(--ease-out); transition-delay: calc(var(--i) * 70ms); }
  .js [data-reveal="blocks"].is-in .mark__b { transform: none; }

  @supports (animation-timeline: view()) {
    .verb__media img { animation: drift-y linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    @keyframes drift-y { from { transform: scale(1.1) translateY(-3%); } to { transform: scale(1.1) translateY(3%); } }
  }
}
@keyframes line-up { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .proof__track { animation: none; width: auto; display: block; }
  .proof__set { flex-wrap: wrap; white-space: normal; padding: 0 var(--m); }
  .proof__set:nth-child(2) { display: none; }
  .hero__clip.is-on { animation: none; }
  .hero__pause { display: none; }
}

/* ---------- tableta ---------- */
@media (max-width: 1180px) {
  .bar__nav a:last-child { display: none; }
  .panel--live .panel__top { grid-template-columns: minmax(0, 1fr); }
  .third { grid-template-columns: 96px minmax(0, 1.4fr) minmax(0, 1.1fr) auto auto; }
  .third__score { display: none !important; }
  .third__photo { width: 96px; height: 96px; }
  .btn--third { min-height: 96px; }
  .row { grid-template-columns: 150px minmax(0, 1fr) 96px 96px; }
  .row__slots { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; }
  .row__pic { aspect-ratio: auto; min-height: 190px; }
  .row__pic img { position: relative; }
}

@media (max-width: 1040px) {
  .bar__cur { display: none; }
}

@media (max-width: 900px) {
  .hero__clip[data-name="clip-39781"] { object-position: 94% 30%; }
  .bar__menu { display: block; order: 2; }
  .bar .btn--bar { order: 3; padding: 8px 12px; }
  .lbl-wide { display: none; }
  .lbl-narrow { display: inline; }
  .bar__nav {
    position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; gap: 0; margin: 0;
    background: var(--plum); color: #fff; padding: 8px var(--m) 16px;
  }
  .bar__nav.is-open { display: flex; animation: rise-menu 240ms var(--ease-out); }
  .bar__nav a { display: block; padding: 12px 0; font-size: 1.125rem; }
  .bar__nav a:last-child { display: block; }
  .versus__panels, .teach, .about { grid-template-columns: minmax(0, 1fr); }
  .about__lead, .about__small, .about__y { font-size: var(--step-lead); line-height: 1.3; }
  .panel--live .panel__list { grid-template-columns: minmax(0, 1fr); }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq__title { position: static; }
  .third { grid-template-columns: 84px minmax(0, 1fr) auto; }
  .third__photo { width: 84px; height: 84px; }
  .third__clock { grid-column: 1 / 3; grid-row: 2; }
  .third__price { grid-column: 3; grid-row: 1; }
  .btn--third { grid-column: 3; grid-row: 2; min-height: 64px; padding: 10px 16px; font-size: 1.0625rem; }
  .verb__ui { display: none; }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / -1; }
}
@keyframes rise-menu { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- teléfono: su propia composición ---------- */
@media (max-width: 640px) {
  br.ph { display: inline; }
  .hero__pause { top: 66px; }
  .brand__name { font-size: 1.625rem; }
  .bar { gap: 12px; }
  .hero__copy { padding-top: 124px; }
  :root { --step-mega: 15.2vw; --step-poster: 10.1vw; }
  .subjects { justify-content: flex-start; }
  .hero__intro { flex-basis: 100%; max-width: none; }
  .sort__cur { margin-left: 0; }
  .hero__clip { object-position: 46% 0%; }
  .hero__clip[data-name="clip-39781"] { object-position: 96% 30%; }
  .hero__clip[data-name="clip-10457"] { object-position: 52% 0%; }
  .hero__lead { font-size: 1.125rem; }
  .subject { min-height: 46px; padding: 6px 13px; }
  .third { grid-template-columns: 72px minmax(0, 1fr) auto; }
  .third__photo { width: 72px; height: 72px; }
  .third > p { padding: 6px 10px; }
  .third p > span { font-size: 0.875rem; }
  .third__who span { display: block; line-height: 1.2; }
  .third__clock { grid-column: 1 / -1; grid-row: 2; flex-direction: row !important; align-items: baseline; justify-content: space-between !important; gap: 10px; }
  .btn--third { grid-column: 1 / -1; grid-row: 3; min-height: 58px; font-size: 1.125rem; width: 100%; }

  .mega--close { font-size: var(--step-poster); }
  .panel--live .panel__top { grid-template-columns: minmax(0, 1fr); }

  .ticket__title { font-size: 9.4vw; }
  .row { grid-template-columns: 112px minmax(0, 1fr) minmax(0, 1fr); }
  .row__pic { grid-row: 1 / 3; min-height: 0; aspect-ratio: auto; height: 100%; }
  .row__who { grid-column: 2 / -1; grid-row: 1; padding: 12px; }
  .row__desc { grid-column: 1 / -1; display: none; }
  .row__what { font-size: 1rem; line-height: 1.3; }
  .row__stat { grid-row: 2; padding: 2px 12px 12px; }
  .row__slots { grid-column: 1 / -1; grid-row: 3; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row__slots .slot-btn:first-child { grid-column: 1 / -1; }
  .slot-btn { min-height: 52px; }

  .verb { height: 150svh; }
  .verb__word { font-size: 31vw; margin-bottom: 18vh; }
  .verb__note { left: 0; right: 0; bottom: 0; max-width: none; padding: 16px; }


  .ticket { grid-template-columns: minmax(0, 1fr); }
  .ticket__terms { grid-template-columns: minmax(0, 1fr); }
  .ticket__stub { border-left: 0; border-top: 4px dashed var(--paper); }
  .ticket__stub::before, .ticket__stub::after { top: -16px; bottom: auto; width: 14px; height: 28px; }
  .ticket__stub::before { left: 0; }
  .ticket__stub::after { left: auto; right: 0; }
  .close { min-height: 80svh; }
  .close__row .btn { width: 100%; }
  .btn--big { min-height: 64px; }
  .mark { height: 46vw; }
  .mark__b { font-size: 30vw; }
  .book { width: 100%; }
}

/* pantallas muy angostas: el icono basta para reconocer la marca y cabe la hora en el botón */
@media (max-width: 360px) {
  .bar .brand__name { display: none; }
}
