:root {
  --bg: #0a0a0b;
  --surface: #131315;
  --surface-2: #1b1b1e;
  --line: #2a2a2f;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --red: #e3171e;
  --red-dark: #b10f15;
  --red-ink: #ff4d52; /* rojo legible para texto chico sobre negro */
  --metal: linear-gradient(135deg, #f7f7f7 0%, #bdbdbd 35%, #efefef 52%, #8e8e8e 78%, #d6d6d6 100%);
  --font-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 10px;
  --wrap: 1180px;
  --header-h: 68px;

  /* Movimiento: contrato de tokens (docs/MOTION.md, estilo Expresivo) */
  --dur-press: 100ms;
  --dur-fast: 150ms;
  --dur-base: 200ms;
  --dur-enter: 280ms;
  --dur-exit: 200ms;
  --dur-reveal: 700ms;
  --ease-out-ui: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out-ui: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --scale-press: 0.97;
  --reveal-dist: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 12px); }
html:focus-within { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red-ink); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 28px; } }
.wrap--narrow { max-width: 820px; }

.ico { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico-nudge { transition: transform var(--dur-fast) var(--ease-out-ui); }

/* Subrayado que crece desde la izquierda */
.link-ui {
  text-decoration: none;
  background: linear-gradient(var(--red), var(--red)) 0 100% / 0 2px no-repeat;
  padding-bottom: 2px;
  transition: background-size var(--dur-fast) var(--ease-out-ui), color var(--dur-fast) var(--ease-out-ui);
}
.link-ui:focus-visible, .link-ui.is-current { background-size: 100% 2px; }

/* ---------- Tipografía ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(3.2rem, 11vw, 6.6rem);
  line-height: .92;
  letter-spacing: .01em;
}
.display-2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1;
  letter-spacing: .01em;
}
.red { color: var(--red); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--red-ink);
  font-weight: 700; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; }
.eyebrow--light { color: #fff; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.4rem;
  border: 2px solid transparent; border-radius: 6px;
  font: 700 .88rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    background-color var(--dur-fast) var(--ease-out-ui),
    color var(--dur-fast) var(--ease-out-ui),
    border-color var(--dur-fast) var(--ease-out-ui),
    transform var(--dur-press) var(--ease-out-ui);
}
.btn:active { transform: scale(var(--scale-press)); }
.btn--sm { min-height: 42px; padding: .6rem 1rem; font-size: .78rem; }
.btn--red { background: var(--red); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn--white { background: #fff; color: #0a0a0b; }
.btn--icon { width: 42px; min-height: 42px; padding: 0; border: 2px solid var(--line); border-radius: 6px; display: inline-grid; place-items: center; color: var(--text); }

/* ---------- Logo (recreación del logo clásico) ---------- */
.logo-plate {
  display: inline-flex; flex-direction: column; align-items: center;
  background: var(--metal);
  border: 1px solid #fff3;
  border-radius: 4px;
  font-family: var(--font-display);
  line-height: .86;
  text-transform: uppercase;
  position: relative;
  box-shadow: inset 0 0 0 2px #0002, 0 6px 18px #0008;
}
.logo-plate b { color: #0b0b0b; font-weight: 400; letter-spacing: -.02em; }
.logo-plate i { color: var(--red); font-style: normal; font-weight: 400; letter-spacing: .02em; -webkit-text-stroke: .5px #7a0c10; }
.logo-plate small {
  align-self: stretch; text-align: center;
  background: #0b0b0b; color: #fff;
  font-family: var(--font-body); font-weight: 800; letter-spacing: .38em;
}
.logo-plate--sm { padding: 5px 7px 0; transition: transform var(--dur-fast) var(--ease-out-ui); }
.logo-plate--sm b { font-size: 24px; }
.logo-plate--sm i { font-size: 18px; margin-top: 1px; }
.logo-plate--sm small { font-size: 5.5px; padding: 2px 0 2px .38em; margin: 3px -7px 5px; }
.brand:active .logo-plate--sm { transform: scale(var(--scale-press)); }

.logo-plate--xl { padding: 34px 40px 0; transform: rotate(-5deg); box-shadow: inset 0 0 0 3px #0002, 0 40px 80px #000c, 0 0 0 1px #fff2; }
.logo-plate--xl b { font-size: clamp(110px, 13vw, 170px); }
.logo-plate--xl i { font-size: clamp(84px, 10vw, 130px); margin-top: 6px; -webkit-text-stroke: 1.5px #7a0c10; }
.logo-plate--xl small { font-size: clamp(16px, 1.8vw, 22px); padding: 8px 0 8px .38em; margin: 18px -40px 34px; }
.screw {
  position: absolute; width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #8a8a8a 55%, #3a3a3a);
  box-shadow: 0 1px 2px #0009;
}
.screw::after { content: ""; position: absolute; inset: 7px 3px; background: #555; border-radius: 2px; transform: rotate(35deg); }
.s1 { top: 10px; left: 10px; } .s2 { top: 10px; right: 10px; }
.s3 { bottom: 10px; left: 10px; } .s4 { bottom: 10px; right: 10px; }

/* ---------- Barra demo + header ---------- */
.demo-bar {
  background: #000; color: var(--muted);
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; text-align: center;
  padding: 7px 16px; border-bottom: 1px solid var(--line);
}
.site-header {
  position: sticky; top: 0; z-index: 50;
  background-color: rgba(10, 10, 11, .78);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur-fast) var(--ease-out-ui), border-color var(--dur-fast) var(--ease-out-ui);
}
.site-header.is-scrolled { background-color: rgba(10, 10, 11, .96); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.brand { display: inline-flex; text-decoration: none; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { font-weight: 600; font-size: .92rem; color: var(--muted); }
.nav a.is-current { color: var(--text); }
.nav-toggle {
  display: none; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; font-size: 1.3rem;
  transition: transform var(--dur-press) var(--ease-out-ui);
}
.nav-toggle:active { transform: scale(var(--scale-press)); }

@media (max-width: 879px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  /* Menú móvil: baja como un drawer y sale en 200 ms */
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px;
    display: none;
    opacity: 0; transform: translateY(-12px);
    transition:
      opacity var(--dur-exit) var(--ease-out-ui),
      transform var(--dur-exit) var(--ease-out-ui),
      display var(--dur-exit) allow-discrete;
  }
  .nav.is-open {
    display: flex; opacity: 1; transform: none;
    transition-duration: var(--dur-enter);
    transition-timing-function: var(--ease-drawer);
  }
  @starting-style { .nav.is-open { opacity: 0; transform: translateY(-12px); } }
  .nav.is-open > a { animation: entra-rapido var(--dur-enter) var(--ease-out-ui) backwards; animation-delay: calc(var(--i, 0) * 30ms); }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--text); background-image: none; }
  .nav-cta { margin-top: 16px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 85% 40%, rgba(227, 23, 30, .28), transparent 70%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.028) 0 2px, transparent 2px 16px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.028) 0 2px, transparent 2px 16px),
    var(--bg);
}
.hero-bg::after {
  content: ""; position: absolute; top: -10%; bottom: -10%; right: 30%;
  width: 90px; background: var(--red); transform: skewX(-18deg); opacity: .9;
  box-shadow: 140px 0 0 -30px rgba(227, 23, 30, .35);
}
.hero-bg span {
  position: absolute; left: -2vw; bottom: -8vw;
  font-family: var(--font-display); font-size: 44vw; line-height: .8;
  color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.05);
  user-select: none;
}
.hero-inner {
  display: grid; gap: 48px; align-items: center;
  padding-top: 56px; padding-bottom: 64px;
}
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.15fr .85fr; padding-top: 88px; padding-bottom: 104px; }
}
.lead { margin-top: 1.4rem; font-size: clamp(1.02rem, 2.2vw, 1.2rem); color: #d4d4d8; max-width: 34rem; }
.lead strong { color: #fff; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.stats { display: flex; gap: 1.2rem; margin: 2.6rem 0 0; flex-wrap: wrap; }
@media (min-width: 640px) { .stats { gap: 2rem; } }
.stats div { border-left: 3px solid var(--red); padding-left: .9rem; }
.stats dt { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; text-transform: uppercase; }
.stats dd { margin: .25rem 0 0; color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.hero-mark { display: none; justify-content: center; }
@media (min-width: 960px) { .hero-mark { display: flex; } }

.ticker { background: var(--red); overflow: hidden; border-top: 1px solid #ff6b6f40; }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker span {
  font-family: var(--font-display); text-transform: uppercase; font-size: 1.35rem; letter-spacing: .04em;
  padding: 12px 22px; white-space: nowrap; color: #fff;
}
.ticker span::after { content: "✦"; margin-left: 44px; font-size: .8em; opacity: .7; }
@keyframes ticker { to { transform: translateX(-50%); } }
/* Única excepción de reduced-motion (docs/MOTION.md): la cinta es un loop infinito */
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- Secciones ---------- */
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section--alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 40px; max-width: 46rem; }
.section-sub { margin-top: 1rem; color: var(--muted); font-size: 1.05rem; }

/* ---------- Promo ---------- */
.promo {
  display: grid; overflow: hidden;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, rgba(0,0,0,.12) 0 2px, transparent 2px 14px),
    linear-gradient(140deg, var(--red) 0%, var(--red-dark) 100%);
}
@media (min-width: 860px) { .promo { grid-template-columns: .9fr 1.1fr; } }
.promo-main { padding: 32px 28px; display: flex; flex-direction: column; justify-content: center; gap: .6rem; }
@media (min-width: 860px) { .promo-main { padding: 48px; border-right: 1px solid rgba(255,255,255,.18); } }
.promo-tag {
  align-self: flex-start;
  font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; border: 1px solid currentColor; border-radius: 99px; padding: 4px 10px;
}
.promo-price { font-family: var(--font-display); font-size: clamp(4.4rem, 12vw, 7.2rem); line-height: .9; }
.promo-price span { font-size: .5em; vertical-align: .55em; margin-right: .08em; }
.promo-note { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; color: #ffe3e4; }
.promo-body {
  background: rgba(10, 10, 11, .9);
  padding: 32px 28px; display: flex; flex-direction: column; gap: 1rem;
}
@media (min-width: 860px) { .promo-body { padding: 48px; } }
.promo-body h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.6rem, 3.4vw, 2.2rem); letter-spacing: .01em; }
.promo-body > p { color: var(--muted); }
.promo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.promo-list li { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.promo-list .ico { color: var(--red-ink); }
.promo-body .btn { align-self: flex-start; margin-top: .4rem; }

/* ---------- Sedes ---------- */
.sedes-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .sedes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .sedes-grid { grid-template-columns: repeat(3, 1fr); } }
.sede {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: border-color var(--dur-fast) var(--ease-out-ui);
}
.sede-map { position: relative; aspect-ratio: 16 / 10; background: var(--surface-2); }
.sede-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.9) contrast(.85) brightness(.95); }
.sede-num {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--font-display); font-size: 1.3rem; line-height: 1;
  background: var(--red); color: #fff; padding: 6px 10px; border-radius: 4px;
}
.sede-body { padding: 24px; display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.sede h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 2rem; letter-spacing: .01em; }
.sede-dest { color: var(--muted); font-size: .95rem; }
.sede-info { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.sede-info li { display: flex; gap: .75rem; align-items: flex-start; }
.sede-info .ico { color: var(--red-ink); margin-top: .2rem; }
.sede-info span { display: flex; flex-direction: column; font-weight: 600; }
.sede-info small { font-weight: 400; color: var(--muted); font-size: .86rem; }
.sede-info a { align-self: flex-start; }
.sede-actions { display: flex; gap: 6px; margin-top: auto; padding-top: .4rem; }
.sede-actions .btn--sm { flex: 1 1 0; min-width: 0; padding-inline: .5rem; letter-spacing: .03em; white-space: nowrap; }

/* ---------- Actividades ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  min-height: 40px; padding: 0 16px; border-radius: 99px;
  border: 1px solid var(--line); background-color: var(--surface); color: var(--text);
  font: 600 .88rem var(--font-body); cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    background-color var(--dur-fast) var(--ease-out-ui),
    border-color var(--dur-fast) var(--ease-out-ui),
    color var(--dur-fast) var(--ease-out-ui),
    transform var(--dur-press) var(--ease-out-ui);
}
.chip:active { transform: scale(var(--scale-press)); }
.chip.is-active { background-color: var(--red); border-color: var(--red); color: #fff; }
.act-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.act {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: .55rem;
  transition: border-color var(--dur-fast) var(--ease-out-ui), transform var(--dur-fast) var(--ease-out-ui);
}
.act-ico {
  width: 46px; height: 46px; border-radius: 8px; display: grid; place-items: center;
  background-color: rgba(227, 23, 30, .12); color: var(--red-ink); font-size: 1.25rem; margin-bottom: .3rem;
  transition: background-color var(--dur-fast) var(--ease-out-ui), color var(--dur-fast) var(--ease-out-ui);
}
.act-ico .ico { transition: transform var(--dur-fast) var(--ease-out-ui); }
.act h3 { font-size: 1.12rem; }
.act p { color: var(--muted); font-size: .92rem; }
.act-sedes { list-style: none; margin: auto 0 0; padding: .5rem 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.act-sedes li { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #d4d4d8; background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px; padding: 3px 8px; }

/* ---------- Horarios ---------- */
.tabs { position: relative; display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 24px; max-width: 100%; }
/* Indicador que se desliza entre pestañas (solo transform) */
.tab-ind {
  position: absolute; top: 0; left: 0; width: 100px;
  background: var(--red); border-radius: 7px;
  transform-origin: 0 0;
  pointer-events: none;
}
.tabs--listo .tab-ind { transition: transform var(--dur-enter) var(--ease-in-out-ui); }
.tabs [role=tab] {
  position: relative; z-index: 1;
  min-height: 44px; padding: 0 18px; border: 0; border-radius: 7px; background: transparent;
  color: var(--muted); font: 700 .9rem var(--font-body); cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color var(--dur-fast) var(--ease-out-ui), transform var(--dur-press) var(--ease-out-ui);
}
.tabs [role=tab]:active { transform: scale(var(--scale-press)); }
.tabs [role=tab][aria-selected=true] { color: #fff; }
@media (max-width: 559px) {
  .tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .tabs [role=tab] { padding: 0 6px; font-size: .84rem; }
}
.sched-grid { display: grid; gap: 12px; }
@media (min-width: 560px) { .sched-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .sched-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1140px) { .sched-grid { grid-template-columns: repeat(6, 1fr); } }
.day {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; display: flex; flex-direction: column; gap: .7rem;
  transition: border-color var(--dur-fast) var(--ease-out-ui);
}
.day.is-today { border-color: var(--red); box-shadow: 0 0 0 1px var(--red) inset; }
.day h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.4rem; letter-spacing: .02em; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.today { font-family: var(--font-body); font-size: .62rem; font-weight: 800; letter-spacing: .12em; background: var(--red); color: #fff; padding: 3px 7px; border-radius: 4px; }
.day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.day li { display: grid; grid-template-columns: 3.4rem 1fr; gap: .5rem; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .9rem; font-weight: 600; }
.day li:last-child { border-bottom: 0; }
.day time { color: var(--red-ink); font-variant-numeric: tabular-nums; font-weight: 700; }
.day-empty { color: var(--muted); font-size: .9rem; }
.day-note { margin-top: auto; font-size: .76rem; color: var(--muted); font-style: italic; }
.sched-foot { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .92rem; }
.sched-foot p { display: flex; align-items: center; gap: .5rem; }

/* ---------- Profes ---------- */
.profes-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.profe {
  display: flex; align-items: center; gap: 1rem; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
  transition: border-color var(--dur-fast) var(--ease-out-ui), transform var(--dur-press) var(--ease-out-ui);
}
.profe:active { transform: scale(var(--scale-press)); }
@media (min-width: 640px) {
  .profe { flex-direction: column; text-align: center; padding: 26px 16px; }
  .profe-txt { align-items: center; }
}
.profe-mono {
  flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--metal); color: #0b0b0b; font-family: var(--font-display); font-size: 1.4rem;
  box-shadow: inset 0 0 0 2px #0003;
  transition: transform var(--dur-fast) var(--ease-out-ui);
}
.profe-txt { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.profe-txt strong { font-size: 1.05rem; }
.profe-txt span { color: var(--muted); font-size: .88rem; }
.profe-txt small { display: inline-flex; align-items: center; gap: .35rem; color: var(--red-ink); font-weight: 600; font-size: .82rem; margin-top: .2rem; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color var(--dur-fast) var(--ease-out-ui); }
.faq details[open] { border-color: #ffffff30; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-weight: 700; font-size: 1.02rem;
  transition: color var(--dur-fast) var(--ease-out-ui);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--red-ink); transition: transform var(--dur-base) var(--ease-in-out-ui); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: var(--muted); }
.faq details[open] p { animation: entra-rapido var(--dur-enter) var(--ease-out-ui) backwards; }
.faq details strong { color: var(--text); }

/* ---------- CTA ---------- */
.cta-band {
  background:
    repeating-linear-gradient(45deg, rgba(0,0,0,.12) 0 2px, transparent 2px 14px),
    linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%);
  padding: 72px 0;
}
.cta-inner { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1fr 1fr; } }
.cta-inner > div > p:not(.eyebrow) { margin-top: 1rem; color: #ffe3e4; font-size: 1.08rem; max-width: 30rem; }
.cta-actions { display: grid; gap: 10px; }
.cta-sede {
  display: flex; align-items: center; gap: 1rem; text-decoration: none;
  background-color: #0a0a0b; border-radius: var(--radius); padding: 18px 20px;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--dur-fast) var(--ease-out-ui), transform var(--dur-press) var(--ease-out-ui);
}
.cta-sede:active { transform: scale(var(--scale-press)); }
.cta-sede > .ico:first-child { color: var(--red-ink); font-size: 1.3rem; }
.cta-sede span { display: flex; flex-direction: column; flex: 1; }
.cta-sede small { color: var(--muted); font-size: .86rem; }
.cta-sede > .ico:last-child { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: #000; border-top: 1px solid var(--line); padding-top: 64px; }
.footer-top { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 640px) { .footer-top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-top { grid-template-columns: 1.6fr 1fr 1.2fr 1.1fr; gap: 48px; } }
.footer-slogan { margin-top: 1.1rem; font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; letter-spacing: .02em; }
.footer-desc { margin-top: .6rem; color: var(--muted); font-size: .92rem; max-width: 26rem; }
.footer-social { display: flex; gap: 8px; margin-top: 1.2rem; }
.social {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--text); font-size: 1.1rem;
  transition: background-color var(--dur-fast) var(--ease-out-ui), border-color var(--dur-fast) var(--ease-out-ui), transform var(--dur-press) var(--ease-out-ui);
}
.social:active { transform: scale(var(--scale-press)); }
.footer-title { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin-bottom: .9rem; font-family: var(--font-body); }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-list a { color: var(--muted); font-size: .92rem; }
.footer-hours { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-hours li { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; border-bottom: 1px dashed var(--line); padding-bottom: .55rem; }
.footer-hours span { color: var(--muted); }
.footer-small { margin-top: .8rem; font-size: .8rem; color: #71717a; }
.footer-sedes { display: grid; gap: 28px; padding-top: 40px; padding-bottom: 48px; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .footer-sedes { grid-template-columns: repeat(3, 1fr); } }
.footer-sede p { color: var(--muted); font-size: .92rem; margin-bottom: .4rem; }
.footer-sede .footer-title { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; letter-spacing: .02em; margin-bottom: .5rem; }
.footer-map { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .85rem; color: var(--text); }
/* Espacio abajo para que el botón flotante no tape "Volver arriba" */
.footer-bottom { border-top: 1px solid var(--line); padding: 24px 0 96px; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-bottom p { color: var(--muted); font-size: .85rem; }
.footer-legal { margin-top: .3rem; font-size: .76rem !important; color: #71717a !important; max-width: 46rem; }
.to-top {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--text);
  transition: color var(--dur-fast) var(--ease-out-ui), transform var(--dur-press) var(--ease-out-ui);
}
.to-top .ico { transition: transform var(--dur-fast) var(--ease-out-ui); }
.to-top:active { transform: scale(var(--scale-press)); }

/* ---------- Botón flotante ---------- */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab-btn {
  width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer;
  background-color: var(--red); color: #fff; font-size: 1.45rem;
  display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(227, 23, 30, .45), 0 2px 6px #0008;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--dur-fast) var(--ease-out-ui), transform var(--dur-press) var(--ease-out-ui);
}
.fab-btn:active { transform: scale(var(--scale-press)); }
.fab-btn .ico, .nav-toggle .ico { animation: icono-entra var(--dur-base) var(--ease-out-ui); }
/* Menú del FAB: crece desde el botón y sale en 200 ms */
.fab-menu {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px; width: 240px; box-shadow: 0 20px 50px #000c;
  transform-origin: bottom right;
  display: none; opacity: 0; transform: translateY(8px) scale(.96);
  transition:
    opacity var(--dur-exit) var(--ease-out-ui),
    transform var(--dur-exit) var(--ease-out-ui),
    display var(--dur-exit) allow-discrete;
}
.fab-menu.is-open { display: block; opacity: 1; transform: none; transition-duration: var(--dur-enter); }
@starting-style { .fab-menu.is-open { opacity: 0; transform: translateY(8px) scale(.96); } }
.fab-menu p { font-size: .8rem; color: var(--muted); margin-bottom: 8px; padding: 0 4px; }
.fab-menu a {
  display: flex; align-items: center; gap: .6rem; text-decoration: none;
  padding: 11px 10px; border-radius: 8px; font-weight: 600;
  transition: background-color var(--dur-fast) var(--ease-out-ui), transform var(--dur-press) var(--ease-out-ui);
}
.fab-menu a:active { transform: scale(var(--scale-press)); }
.fab-menu .ico { color: var(--red-ink); }

/* ---------- Hover: solo con mouse real (en táctil no queda "pegado") ---------- */
@media (hover: hover) and (pointer: fine) {
  .link-ui:hover { background-size: 100% 2px; color: var(--text); }
  .btn--red:hover { background-color: var(--red-dark); }
  .btn--ghost:hover, .btn--icon:hover { border-color: var(--text); }
  .btn--white:hover { background-color: #e7e7e7; }
  .btn:hover .ico-nudge, .cta-sede:hover .ico-nudge, .footer-map:hover .ico-nudge { transform: translateX(3px); }
  .brand:hover .logo-plate--sm { transform: rotate(-3deg); }
  .chip:hover:not(.is-active) { border-color: var(--muted); }
  .tabs [role=tab]:hover:not([aria-selected=true]) { color: var(--text); }
  .sede:hover { border-color: #ffffff40; }
  .act:hover { border-color: #ffffff40; transform: translateY(-3px); }
  .act:hover .act-ico { background-color: var(--red); color: #fff; }
  .act:hover .act-ico .ico { transform: scale(1.1); }
  .day:hover:not(.is-today) { border-color: #ffffff30; }
  .profe:hover { border-color: var(--red); }
  .profe:hover .profe-mono { transform: scale(1.06) rotate(-4deg); }
  .faq summary:hover { color: var(--red-ink); }
  .cta-sede:hover { background-color: #000; }
  .social:hover { background-color: var(--red); border-color: var(--red); }
  .to-top:hover { color: var(--red-ink); }
  .to-top:hover .ico { transform: translateY(-3px); }
  .fab-btn:hover { background-color: var(--red-dark); }
  .fab-menu a:hover { background-color: var(--bg); }
  .ticker:hover .ticker-track { animation-play-state: paused; }
}

/* ---------- Revelado al entrar (Expresivo) ---------- */
/* El opacity:0 se ata al atributo que el script observa, nunca a data-revelar */
.revelar-cargando main, .revelar-cargando footer { opacity: 0; }
.revelar-activo [data-revelar-observado]:not([data-visible]) { opacity: 0; }
.revelar-activo [data-revelar-observado][data-visible] {
  animation: revelar-entrada var(--dur-reveal) var(--ease-out-ui) backwards;
  animation-delay: var(--revelar-delay, 0ms);
}
/* translate (y no transform) para no pisar press ni hover */
@keyframes revelar-entrada { from { opacity: 0; translate: 0 var(--reveal-dist); } }
@keyframes entra-rapido { from { opacity: 0; translate: 0 8px; } }
@keyframes icono-entra { from { opacity: 0; transform: rotate(-90deg) scale(.6); } }
.entra-rapido { animation: entra-rapido var(--dur-enter) var(--ease-out-ui) backwards; animation-delay: calc(var(--i, 0) * 30ms); }
