/* Página de casos de clientes (/use-cases y /es/casos-de-uso). Viene del
   prototipo docs-internal/design/use-cases-2026-10-08, copiado literal. */
@font-face { font-family: 'Forma DJR Banner'; src: url('/assets/fonts/FormaDJRBanner-Medium-Testing.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Forma DJR Text'; src: url('/assets/fonts/FormaDJRText-Regular-Testing.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Forma DJR Text'; src: url('/assets/fonts/FormaDJRText-Medium-Testing.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --wall: #06070a;
  --tile: #0c0d12;
  --ink: #f3f4f7;
  --ink-2: rgba(243, 244, 247, 0.7);
  --ink-3: rgba(243, 244, 247, 0.52);
  --hair: rgba(243, 244, 247, 0.16);
  --bezel: #0c0e13;
  --blue: #2b5fd9;
  --navy: #0c1442;
  --display: 'Forma DJR Banner', 'Forma DJR Text', system-ui, sans-serif;
  --text: 'Forma DJR Text', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 64px);
  --wrap: 1180px;
  --pad-x: max(var(--gutter), calc((100% - var(--wrap)) / 2));
}
* { box-sizing: border-box; }
html { background: var(--wall); color-scheme: dark; }
body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font: 400 1rem/1.5 var(--text);
  -webkit-font-smoothing: antialiased;
}
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }

/* ── ESCENARIO ──────────────────────────────────────────────────────────
   Titular, la tele y la fila de anuncios. Al entrar, un punto de luz en la
   sala a oscuras se abre en raya, la raya en el anuncio, y la tele se forma
   alrededor: el marco nace del canto del vídeo (--bz) y luego la peana
   (--stand). La luz de la pared la pinta el propio anuncio. La ficha y los
   controles viven dentro de la pantalla y solo salen al pasar el ratón. */
.uc {
  --tvw: clamp(520px, min(64vw, calc((100svh - 420px) * 1.7778)), 1040px);
  --sr: 6px;
  --neck: clamp(14px, 1.4vw, 22px);
  --bz: 0px;
  --stand: 0;
  position: relative;
  min-height: 100svh;
  padding: clamp(80px, 10svh, 104px) var(--pad-x) clamp(28px, 4svh, 44px);
  overflow: clip;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "head" "room" "strip";
  align-content: center;
}

.uc-head { grid-area: head; text-align: center; justify-self: center; }
.uc-h1 {
  margin: 0;
  font: 500 clamp(2rem, 1.1rem + 2.3vw, 3rem)/1.04 var(--display);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.uc-sub {
  margin: 10px 0 0;
  color: var(--ink-2);
  font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
}

/* La sala. Todo cuelga de .uc-tv para medirse con la tele. Ningún hijo
   lleva z-index: se pinta en el orden del DOM. */
.uc-room {
  grid-area: room;
  display: grid;
  justify-items: center;
  margin-top: clamp(24px, 4svh, 44px);
  padding-bottom: calc(var(--neck) + 8px);
}
.uc-tv {
  position: relative;
  width: var(--tvw);
  aspect-ratio: 16 / 9;
  touch-action: pan-y;
}
.uc-glow {
  position: absolute;
  left: 50%; top: 50%;
  width: 190%; height: 196%;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  /* Solo matriz de color: no cuesta nada aunque cambie en cada fotograma.
     El desenfoque se hace dentro del canvas, que es pequeño. */
  filter: saturate(1.9) brightness(1.08);
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, rgba(0,0,0,0.5) 60%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 30%, rgba(0,0,0,0.5) 60%, transparent 100%);
}
/* Safari anterior al 18 no tiene ctx.filter: ahí desenfoca el CSS. */
.uc-glow.is-css-blur { filter: blur(28px) saturate(1.9) brightness(1.08); }
.uc-surface {
  position: absolute;
  left: -100vw; right: -100vw;
  top: calc(100% + var(--bz) + var(--neck) + 5px);
  height: 100vh;
  background: linear-gradient(to bottom, rgba(14, 15, 20, 0.58), rgba(6, 7, 10, 0.94) 26%, var(--wall) 60%);
  box-shadow: inset 0 1px 0 rgba(243, 244, 247, calc(var(--stand) * 0.07));
  pointer-events: none;
}
.uc-neck, .uc-base { position: absolute; left: 50%; background: var(--bezel); pointer-events: none; }
.uc-neck {
  top: calc(100% + var(--bz));
  width: 7%; height: var(--neck);
  transform: translateX(-50%) scaleY(var(--stand)); transform-origin: 50% 0;
}
.uc-base {
  top: calc(100% + var(--bz) + var(--neck));
  width: 30%; height: 5px; border-radius: 999px;
  transform: translateX(-50%) scaleX(var(--stand));
  box-shadow: inset 0 1px 0 rgba(243, 244, 247, 0.08);
}
/* Pantalla apagada y marco. El marco es una sombra sin desenfoque: crece
   hacia fuera desde el canto del vídeo sin mover nada. */
.uc-screen {
  position: absolute; inset: 0;
  border-radius: var(--sr);
  background: #020203;
  opacity: var(--stand);
  box-shadow:
    0 0 0 var(--bz) var(--bezel),
    0 0 0 calc(var(--bz) + 1px) rgba(243, 244, 247, 0.06);
}
/* La imagen: lo que se apaga y se enciende. Primer fotograma del anuncio,
   el vídeo encima y, para "El tuyo", la pantalla azul. */
.uc-pic {
  position: absolute; inset: 0;
  border-radius: var(--sr);
  overflow: hidden;
  transform-origin: 50% 50%;
  opacity: 0;
}
.uc-still, .uc-full {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.uc-full { opacity: 0; }
.uc-yours {
  position: absolute; inset: 0;
  display: none;
  flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(14px, 2.6vw, 28px);
  background: var(--blue);
  container-type: inline-size;
}
.uc.is-yours .uc-yours { display: flex; }
.uc-yours-txt {
  font: 500 9cqw/1 var(--display);
  letter-spacing: -0.02em;
  color: #fff;
  text-align: center;
}
/* "Crear mi campaña": la píldora de la home nueva (52 px, sube al pasar el
   ratón, se hunde al pulsar), con un degradado blanco casi imperceptible,
   filo de luz arriba, sombra de elevación neutra y un brillo azul que la cruza al pasar
   el ratón. En la pantalla azul de la tele se escala con la tele. */
.uc-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #eef2fd 100%);
  color: var(--navy);
  font: 500 1rem/1 var(--text);
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -1px 0 rgba(12, 20, 66, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.22),
    0 14px 34px -12px rgba(0, 0, 0, 0.55);
  transition: transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.25s ease;
}
.uc-cta::after {
  content: '';
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(43, 95, 217, 0.18) 50%, transparent 70%);
  transform: translateX(-110%);
}
.uc-cta:active { transform: scale(0.97); }
.uc-cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (hover: hover) {
  .uc-cta:hover {
    transform: translateY(-2px);
    box-shadow:
      inset 0 1px 0 #fff,
      inset 0 -1px 0 rgba(12, 20, 66, 0.08),
      0 2px 4px rgba(0, 0, 0, 0.22),
      0 20px 40px -12px rgba(0, 0, 0, 0.62);
  }
  .uc-cta:hover::after { transform: translateX(110%); transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1); }
  .uc-cta:active { transform: scale(0.97); }
}
.uc-yours .uc-cta {
  min-height: clamp(40px, 6.2cqw, 58px);
  padding: 0 clamp(18px, 3.4cqw, 34px);
  font-size: clamp(0.875rem, 1.9cqw, 1.0625rem);
}
.uc-glass {
  position: absolute; inset: 0;
  border-radius: var(--sr);
  background: linear-gradient(118deg, rgba(255,255,255,0.07), rgba(255,255,255,0) 34%);
  opacity: var(--stand);
  pointer-events: none;
}

/* ── LO QUE SALE AL PASAR EL RATÓN ──
   Abajo, el rótulo del anuncio (marca, sector, zona, fechas y dónde se
   emitió), siempre en dos líneas. Arriba a la derecha, sonido y pausa.
   En táctil sale al tocar la tele; con teclado, al llegar a los botones. */
.uc-osd, .uc-hud {
  position: absolute;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
}
.uc-tv.is-hud .uc-osd, .uc-tv.is-hud .uc-hud { opacity: 1; transform: none; }
.uc-tv.is-hud .uc-hud { pointer-events: auto; }
.uc.is-yours .uc-osd, .uc.is-yours .uc-hud { display: none; }
.uc-osd {
  left: 0; right: 0; bottom: 0;
  display: grid;
  padding: clamp(36px, 9%, 84px) clamp(14px, 3%, 32px) clamp(12px, 2.6%, 26px);
  border-radius: 0 0 var(--sr) var(--sr);
  background: linear-gradient(to top, rgba(4, 5, 8, 0.82), rgba(4, 5, 8, 0.5) 55%, rgba(4, 5, 8, 0));
  transform: translateY(8px);
}
.uc-case {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "brand plats" "meta meta";
  align-items: end;
  gap: 4px 16px;
  color: #fff;
}
.uc-case[hidden] { display: none; }
.uc-brand {
  grid-area: brand;
  margin: 0;
  font: 500 clamp(0.9375rem, 0.62rem + 1.05vw, 1.625rem)/1.1 var(--display);
  letter-spacing: -0.012em;
  white-space: nowrap;
}
.uc-meta {
  grid-area: meta;
  margin: 0;
  font-size: clamp(0.6875rem, 0.62rem + 0.28vw, 0.9375rem);
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.uc-plats { grid-area: plats; margin: 0; display: flex; align-items: center; gap: 5px; }
.uc-plats img {
  width: clamp(16px, 0.9rem + 0.4vw, 22px); height: auto; aspect-ratio: 1;
  border-radius: 5px; background: #fff; object-fit: cover; display: block;
}
.uc-plats span { margin-left: 3px; font-size: clamp(0.6875rem, 0.62rem + 0.2vw, 0.8125rem); color: rgba(255, 255, 255, 0.82); }
.uc-hud {
  top: clamp(10px, 2.2%, 18px); right: clamp(10px, 2%, 18px);
  display: flex; align-items: center;
  padding: 3px;
  border-radius: 999px;
  background: rgba(8, 9, 13, 0.46);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
          backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 8px 28px rgba(0, 0, 0, 0.28);
  transform: translateY(-6px);
}
/* Cada botón lleva sus dos textos apilados: el ancho no salta al cambiar
   de "Activar sonido" a "Quitar sonido". Encendido = relleno blanco. */
.uc-btn {
  appearance: none; border: 0; background: transparent;
  display: grid;
  height: 30px; padding: 0 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  font: 500 0.75rem/30px var(--text);
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.uc-btn > span { grid-area: 1 / 1; text-align: center; }
.uc-btn > [data-on], .uc-btn.is-on > [data-off] { visibility: hidden; }
.uc-btn.is-on > [data-on] { visibility: visible; }
.uc-btn:hover { background: rgba(255, 255, 255, 0.12); }
.uc-btn.is-on { background: #fff; color: #0a0b10; }
.uc-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.uc-hud-sep { width: 1px; height: 14px; margin: 0 3px; background: rgba(255, 255, 255, 0.2); }

/* ── FILA DE ANUNCIOS ──
   Ocho huecos: siete anuncios y "el tuyo". La fila no se mueve: el que
   está en la tele lleva un aro blanco y la barra de lo que le queda; el
   resto se atenúa un poco y se enciende al pasar el ratón. */
.uc-strip {
  grid-area: strip;
  position: relative;
  list-style: none;
  margin: clamp(18px, 2.8svh, 34px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 14px);
}
.uc-tab {
  appearance: none; border: 0; background: none; padding: 0; margin: 0;
  display: block; width: 100%;
  color: inherit; font: inherit; text-align: left;
  cursor: pointer;
}
.uc-thumb {
  position: relative; display: block;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background: #111;
  container-type: size;
  /* La atenuación la pone ahora el velo del objetivo, así el texto sale blanco puro. */
  transition: opacity 0.25s, box-shadow 0.25s;
}
.uc-tab:hover .uc-thumb, .uc-tab:focus-visible .uc-thumb, .uc-tab.is-on .uc-thumb { opacity: 1; }
.uc-tab.is-on .uc-thumb { box-shadow: 0 0 0 2px var(--wall), 0 0 0 3.5px #fff; }
.uc-tab:focus-visible { outline: none; }
.uc-tab:focus-visible .uc-thumb { box-shadow: 0 0 0 2px var(--wall), 0 0 0 4px #fff; }
.uc-thumb img, .uc-thumb video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.uc-thumb video { opacity: 0; transition: opacity 0.2s; }
.uc-thumb.is-playing video { opacity: 1; }
.uc-progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: #fff;
  transform: scaleX(var(--p, 0)); transform-origin: 0 50%;
  opacity: 0;
}
.uc-tab.is-on .uc-progress { opacity: 1; }
.uc-thumb--yours { background: var(--blue); display: grid; place-items: center; }
.uc-thumb-txt {
  font: 500 10cqw/1 var(--display);
  letter-spacing: -0.02em;
  color: #fff;
}
.uc-label {
  display: block;
  margin-top: 9px;
  font-size: 0.8125rem; line-height: 1.25;
  color: var(--ink-3);
  text-wrap: balance;
  transition: color 0.2s;
}
.uc-tab:hover .uc-label, .uc-tab.is-on .uc-label { color: var(--ink); }
/* Objetivo de la campaña (el del dashboard), en blanco y centrado sobre
   la miniatura de los anuncios que no están en la tele. Al pasar el ratón
   se va para dejar ver la vista previa. */
.uc-goal {
  position: absolute; inset: 0; z-index: 1;
  display: grid; place-items: center;
  padding: 0 8px;
  background: rgba(4, 5, 8, 0.42);
  color: #fff; text-align: center; text-wrap: balance;
  font: 500 clamp(0.6875rem, 0.55rem + 0.35vw, 0.875rem)/1.2 var(--text);
  letter-spacing: 0.005em;
  transition: opacity 0.25s;
}
.uc-tab.is-on .uc-goal, .uc-tab:hover .uc-goal, .uc-tab:focus-visible .uc-goal { opacity: 0; }

.js .uc-head > * { opacity: 0; transform: translateY(1.2rem); filter: blur(6px); }

/* Tablet: la tele casi a todo el ancho, que en vertical sobra alto. */
@media (min-width: 761px) and (max-width: 1080px) {
  .uc { --tvw: min(88vw, calc((100svh - 420px) * 1.7778)); }
}
@media (max-width: 760px) {
  .uc {
    --tvw: 100%;
    --sr: 4px;
    --neck: 12px;
    padding-top: 84px;
  }
  .uc-room { margin-top: 28px; }
  .uc-glow { width: 200%; height: 230%; }
  .uc-osd { padding-top: 26px; }
  .uc-btn { height: 28px; padding: 0 11px; font-size: 0.6875rem; line-height: 28px; }
  .ucb-cta .uc-cta { min-height: 48px; padding: 0 26px; font-size: 0.9375rem; }
  .uc-strip {
    display: flex;
    margin: 22px calc(-1 * var(--gutter)) 0;
    padding: 4px var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
    gap: 10px;
  }
  .uc-strip::-webkit-scrollbar { display: none; }
  .uc-strip > li { flex: 0 0 40%; scroll-snap-align: start; }
}
@media (max-width: 760px) and (min-width: 520px) {
  .uc-strip > li { flex-basis: 28%; }
}

/* ── BENTO ──────────────────────────────────────────────────────────────
   Debajo del escenario: cada anuncio con lo que se puede aprender de su
   campaña, dos datos de conjunto y el hueco para el tuyo. Los vídeos son
   bucles cortos sin sonido que solo se reproducen a la vista; al hacer
   click, ese anuncio pasa a la tele de arriba. */
.ucb { padding: clamp(72px, 10vw, 136px) var(--pad-x) clamp(72px, 9vw, 128px); overflow-x: clip; }
.ucb-head { max-width: 40rem; margin: 0 0 clamp(28px, 4vw, 52px); }
.ucb-h2 {
  margin: 0;
  font: 500 clamp(1.75rem, 1.1rem + 2vw, 2.75rem)/1.05 var(--display);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.ucb-head p { margin: 12px 0 0; color: var(--ink-2); font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem); }
/* La luz de los vídeos del bento: un único canvas pequeño detrás de toda
   la cuadrícula. Cada vídeo ilumina a su alrededor como la tele; la luz se
   ve en los huecos y en los bordes. Arriba se funde para no tocar el
   titular. */
.ucb-stage { position: relative; }
.ucb-lights {
  position: absolute;
  left: -120px; top: -120px;
  width: calc(100% + 240px); height: calc(100% + 240px);
  pointer-events: none;
  filter: saturate(1.8) brightness(1.05);
  -webkit-mask-image: linear-gradient(to bottom, transparent 40px, #000 160px);
          mask-image: linear-gradient(to bottom, transparent 40px, #000 160px);
}
.ucb-lights.is-css-blur { filter: blur(22px) saturate(1.8) brightness(1.05); }
.ucb-grid {
  --gap: clamp(10px, 1.2vw, 16px);
  --col: calc((min(100vw - 2 * var(--gutter), var(--wrap)) - 2 * var(--gap)) / 3);
  position: relative;
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: calc(var(--col) * 0.5625);
  gap: var(--gap);
}
.ucb-tile {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--tile);
  box-shadow: inset 0 0 0 1px rgba(243, 244, 247, 0.07);
  min-width: 0;
}
.ucb-tile video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.ucb-tile:hover video { transform: scale(1.035); }
/* Entrada desde el lado con el scroll, en el compositor (use-cases.js pone
   --ucb-from y la clase solo si el navegador lo soporta). Recorrido algo más
   largo y curva más suave que la de GSAP: cada pieza viaja casi una pantalla
   y, con una curva fuerte, el primer tramo daba saltos grandes por cada
   píxel de scroll. */
@keyframes ucb-in { from { transform: translate3d(var(--ucb-from, 0px), 0, 0); } to { transform: none; } }
.ucb-grid.is-scroll-in .ucb-tile {
  animation: ucb-in linear both;
  animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation-timeline: view();
  animation-range: cover 0% cover 45vh;
  backface-visibility: hidden;
}
.ucb-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: clamp(36px, 5vw, 64px) clamp(16px, 1.8vw, 24px) clamp(14px, 1.6vw, 20px);
  background: linear-gradient(to top, rgba(4, 5, 8, 0.84), rgba(4, 5, 8, 0.4) 60%, rgba(4, 5, 8, 0));
  pointer-events: none;
}
.ucb-title {
  margin: 0;
  font: 500 clamp(1rem, 0.82rem + 0.5vw, 1.3125rem)/1.15 var(--display);
  letter-spacing: -0.01em;
  color: #fff;
  text-wrap: balance;
}
.ucb-big .ucb-title { font-size: clamp(1.25rem, 0.85rem + 1.3vw, 2.125rem); max-width: 18ch; }
.ucb-meta { margin: 6px 0 0; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.8); }
.ucb-play {
  appearance: none; border: 0; background: none; padding: 0;
  position: absolute; inset: 0;
  cursor: pointer;
  border-radius: 4px;
}
.ucb-play { display: grid; place-items: center; text-decoration: none; }
.ucb-play::before { content: ''; position: absolute; inset: 0; background: rgba(4,5,8,0.45); opacity: 0; transition: opacity .35s; border-radius: 4px; }
.ucb-more {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px;
  border-radius: 999px; background: rgba(255,255,255,0.14);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3);
  color: #fff; font: 500 0.9375rem/1 var(--text);
  opacity: 0; transform: translateY(8px) scale(.96);
  transition: opacity .3s, transform .45s cubic-bezier(0.22,0.61,0.36,1);
}
.ucb-tile:hover .ucb-play::before, .ucb-play:focus-visible::before { opacity: 1; }
.ucb-tile:hover .ucb-more, .ucb-play:focus-visible .ucb-more { opacity: 1; transform: none; }
/* En táctil no hay hover: la pieza entera es el enlace y el nombre basta. */
@media (hover: none) { .ucb-more { display: none; } }
.ucb-play:focus-visible { outline: 2px solid #fff; outline-offset: -5px; }
.ucb-text {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(18px, 2vw, 28px);
}
.ucb-num {
  margin: 0;
  font: 500 clamp(2.25rem, 1.3rem + 2.6vw, 3.5rem)/1 var(--display);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.ucb-text p:not(.ucb-num) { margin: 10px 0 0; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.45; max-width: 32ch; text-wrap: pretty; }
.ucb-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px 40px;
  padding: clamp(22px, 3vw, 44px);
  background: var(--blue);
  box-shadow: none;
}
.ucb-cta h3 { margin: 0; font: 500 clamp(1.75rem, 1.1rem + 2vw, 2.75rem)/1 var(--display); letter-spacing: -0.02em; }
.ucb-cta p { margin: 10px 0 0; color: rgba(255, 255, 255, 0.86); max-width: 44ch; }
.ucb-cta .uc-cta { flex: none; }

/* Cuadrícula simple: todas las piezas iguales, el vídeo de fondo y el
   nombre de la marca. 4 columnas, 2 en tablet y móvil. */
.ucb-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; grid-auto-rows: auto !important; }
.ucb-tile { aspect-ratio: 4 / 3; }
.ucb-tile::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(4, 5, 8, 0.72), rgba(4, 5, 8, 0) 55%);
}
.ucb-name {
  position: absolute; left: clamp(14px, 1.6vw, 22px); right: 14px; bottom: clamp(12px, 1.4vw, 20px); z-index: 1;
  margin: 0; color: #fff; pointer-events: none;
  font: 500 clamp(1.0625rem, 0.8rem + 0.7vw, 1.5rem)/1.1 var(--display); letter-spacing: -0.012em; text-wrap: balance;
}
.ucb-play { z-index: 2; }
.ucb-cta { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: clamp(14px, 1.6vw, 22px); }
.ucb-cta::after { display: none; }
.ucb-cta .ucb-name { position: static; }
.ucb-cta .uc-cta { min-height: 44px; padding: 0 20px; font-size: 0.875rem; }
@media (max-width: 980px) { .ucb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 600px) {
  .ucb-tile { aspect-ratio: 1 / 1; }
  .ucb-cta .uc-cta { min-height: 40px; padding: 0 14px; font-size: 0.8125rem; }
}

.js .ucb-head > * {
  opacity: 0; transform: translateY(1.2rem); filter: blur(6px);
  transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.7s ease;
  transition-delay: var(--d, 0s);
}
.js .ucb .is-in { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  .js .uc-head > *, .js .ucb-head > * { opacity: 1; transform: none; filter: none; transition: none; }
  .uc-osd, .uc-hud, .uc-thumb, .uc-thumb video, .uc-label, .ucb-tile video, .uc-cta { transition: none; }
  .uc-cta::after { display: none; }
  .ucb-tile:hover video { transform: none; }
}

/* ── Sitio: salto al contenido y pie (el de la home) ── */
.a-skip {
  position: fixed; top: 12px; left: 12px; z-index: 4000;
  padding: 12px 18px; border-radius: 999px;
  background: #fff; color: var(--ink);
  font-weight: 600; text-decoration: none;
  transform: translateY(-160%);
}
.a-skip:focus-visible { transform: none; }
/* ════════════════════════════════════════════════════════════════════════
   FOOTER (el de la home)
   ════════════════════════════════════════════════════════════════════════ */
#site-footer { position: relative; z-index: 1; background: #fff; color: #111; margin-top: clamp(8px, 1vw, 14px); }
.ft-separator {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(37, 99, 235, 0.85) 22%, rgba(59, 130, 246, 0.55) 50%, rgba(37, 99, 235, 0.85) 78%, transparent 100%);
  background-size: 200% 100%;
  animation: ft-sep-shimmer 6s linear infinite;
}
@keyframes ft-sep-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.ft-inner { max-width: 1100px; margin: 0 auto; padding: 64px 6% 48px; }
.ft-links-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px 32px; margin-bottom: 52px; }
.ft-logo { height: 16px; opacity: 0.92; display: block; margin-bottom: 20px; }
.ft-tagline { font-size: 0.78rem; color: rgba(17, 17, 17, 0.52); line-height: 1.8; max-width: 220px; }
.ft-col-title { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(17, 17, 17, 0.38); margin-bottom: 18px; }
.ft-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ft-links a { font-size: 0.82rem; color: rgba(17, 17, 17, 0.62); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: color 0.2s; letter-spacing: -0.01em; }
.ft-links a:hover { color: #0c1442; }
.ft-socials { display: flex; gap: 8px; margin-top: 24px; }
.ft-social-icon { width: 32px; height: 32px; border-radius: 8px; border: 1px solid rgba(0, 0, 0, 0.1); display: flex; align-items: center; justify-content: center; color: rgba(17, 17, 17, 0.45); text-decoration: none; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.ft-social-icon:hover { border-color: rgba(43, 95, 217, 0.35); color: #2b5fd9; background: rgba(43, 95, 217, 0.06); }
.ft-funding { display: flex; justify-content: center; padding: 8px 0 32px; }
.ft-funding img { max-width: 100%; width: 720px; height: auto; display: block; opacity: 0.92; }
.ft-tcf-badge { display: block; width: auto; height: 48px; margin-top: 18px; }
.ft-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; border-top: 1px solid rgba(0, 0, 0, 0.08); flex-wrap: wrap; gap: 10px; }
.ft-copy, .ft-made { font-size: 0.71rem; color: rgba(17, 17, 17, 0.42); letter-spacing: 0.01em; }
.ft-copy a { color: inherit; }
@media (max-width: 900px) {
  .ft-links-grid { grid-template-columns: 2fr 1fr 1fr; }
  .ft-col:last-child { grid-column: span 3; }
}
@media (max-width: 768px) {
  .ft-inner { padding: 48px 5% 36px; }
  .ft-links-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .ft-col-brand { grid-column: span 2; }
  .ft-col:last-child { grid-column: auto; }
  .ft-funding { padding: 4px 0 24px; }
  .ft-funding img { width: 100%; }
}
@media (max-width: 420px) {
  .ft-links-grid { gap: 24px 14px; }
  .ft-tagline { max-width: 100%; }
  .ft-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}
#site-footer ul, #site-footer p { margin: 0; padding: 0; }
#site-footer :focus-visible { outline-color: #2b5fd9; }
