/* Adrián Sanoja, portafolio. Estilos base. */
:root {
  --negro: #000;
  --carbon: #0b0b0d;
  --panel: #141417;
  --gris: #f5f5f7;
  --texto: #1d1d1f;
  --texto-inv: #f5f5f7;
  --suave: #86868b;
  --suave-osc: #a1a1a6;
  --linea: rgba(255, 255, 255, .12);
  --linea-clara: rgba(0, 0, 0, .1);
  --oro: #e8be63;
  --oro-2: #d9a944;
  --marino: #061b40;
  --verde-wa: #25d366;
  --acento: #ff7a45;
  --grad: linear-gradient(100deg, #ffd27a 0%, #ff7a45 45%, #c45bff 100%);
  --radio: 22px;
  --ancho: 1120px;
  --fuente: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--fuente);
  font-size: 17px;
  line-height: 1.5;
  color: var(--texto-inv);
  background: var(--negro);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--acento); outline-offset: 3px; border-radius: 6px; }

.contenedor { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 20px; }
.claro { background: var(--gris); color: var(--texto); }
.blanco { background: #fff; color: var(--texto); }
.oscuro { background: var(--negro); color: var(--texto-inv); }
.seccion { padding: 96px 0; position: relative; }
@media (min-width: 900px) { .seccion { padding: 140px 0; } }

/* Tipografía */
.ceja { font-size: 15px; font-weight: 600; color: var(--acento); margin: 0 0 12px; letter-spacing: -.01em; }
.titulo-xl {
  font-size: clamp(44px, 11vw, 112px);
  line-height: .98; letter-spacing: -.045em; font-weight: 800; margin: 0;
}
.titulo-l {
  font-size: clamp(36px, 7.5vw, 80px);
  line-height: 1.02; letter-spacing: -.04em; font-weight: 800; margin: 0;
}
.titulo-m {
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.08; letter-spacing: -.03em; font-weight: 700; margin: 0;
}
.titulo-s { font-size: clamp(21px, 3vw, 28px); line-height: 1.2; letter-spacing: -.02em; font-weight: 700; margin: 0; }
.intro { font-size: clamp(19px, 2.4vw, 24px); line-height: 1.4; letter-spacing: -.01em; color: var(--suave-osc); max-width: 720px; margin: 20px 0 0; font-weight: 500; }
.claro .intro, .blanco .intro { color: #6e6e73; }
.degradado { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.oro { color: var(--oro); }
.centro { text-align: center; }
.centro .intro { margin-left: auto; margin-right: auto; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font-weight: 700; font-size: 17px; text-decoration: none; letter-spacing: -.01em;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:active { transform: scale(.97); }
.btn-wa { background: var(--verde-wa); color: #04140a; box-shadow: 0 10px 30px rgba(37, 211, 102, .25); }
.btn-wa:hover { background: #2fe374; }
.btn-claro { background: #fff; color: #000; }
.btn-borde { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-borde:hover { background: rgba(255,255,255,.08); }
.claro .btn-borde:hover, .blanco .btn-borde:hover { background: rgba(0,0,0,.05); }
.btn svg { width: 22px; height: 22px; flex: none; }
.enlace { color: var(--acento); font-weight: 600; text-decoration: none; }
.enlace:hover { text-decoration: underline; }
.botones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.centro .botones { justify-content: center; }

/* Navegación */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 56px;
  background: rgba(0, 0, 0, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--linea);
}
.nav .contenedor { height: 100%; display: flex; align-items: center; gap: 24px; }
.marca { font-weight: 800; letter-spacing: -.03em; font-size: 19px; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.marca-icono { width: 34px; height: auto; display: block; flex: none; }
.nav-enlaces { display: none; gap: 26px; margin-left: auto; font-size: 14px; }
.nav-enlaces a { text-decoration: none; color: #d2d2d7; }
.nav-enlaces a:hover { color: #fff; }
.nav .btn { min-height: 36px; padding: 0 16px; font-size: 14px; margin-left: auto; }
@media (min-width: 860px) {
  .nav-enlaces { display: flex; }
  .nav .btn { margin-left: 8px; }
}
.subnav {
  position: sticky; top: 56px; z-index: 40;
  background: rgba(10, 10, 12, .8);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--linea);
}
.subnav .contenedor { display: flex; align-items: center; gap: 18px; height: 52px; overflow-x: auto; scrollbar-width: none; }
.subnav .contenedor::-webkit-scrollbar { display: none; }
.subnav strong { font-size: 18px; letter-spacing: -.02em; white-space: nowrap; margin-right: auto; }
.subnav a { font-size: 13px; color: #d2d2d7; text-decoration: none; white-space: nowrap; }
.subnav a:hover { color: #fff; }

/* Botón flotante de WhatsApp */
.wa-flotante {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--verde-wa); color: #04140a;
  display: grid; place-items: center;
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
  transform: translateY(120px); transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.wa-flotante.visible { transform: none; }
.wa-flotante svg { width: 32px; height: 32px; }

/* Hero */
.hero { padding: 128px 0 0; text-align: center; overflow-x: clip; } /* clip, no hidden: hidden rompe el video pegado (sticky) */
@media (min-width: 900px) { .hero { padding-top: 168px; } }
.hero .intro { margin-left: auto; margin-right: auto; }
.hero .botones { justify-content: center; }
.hero-zona { height: 140vh; position: relative; margin-top: 64px;
  /* sube las cifras: quita el espacio vacío que queda bajo el video al soltarse (deja 24px) */
  --alto-video: calc(min(92vw, 1100px) * 0.5625);
  margin-bottom: calc(-1 * max(0px, (100vh - 56px - var(--alto-video)) / 2 - 24px)); }
@media (max-width: 640px) { .hero-zona { --alto-video: calc(92vw * 1.25); } }
.hero-pegado { position: sticky; top: 56px; height: calc(100vh - 56px); display: grid; place-items: center; overflow: hidden; }
.hero-video {
  width: min(92vw, 1100px); aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; position: relative;
  transform: scale(var(--escala, .82)); transition: transform .05s linear;
  box-shadow: 0 40px 120px rgba(255, 122, 69, .18);
}
.hero-video video, .hero-video img { width: 100%; height: 100%; object-fit: cover; }
.hero-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.75)); }
.hero-pie { position: absolute; left: 24px; right: 24px; bottom: 20px; z-index: 2; text-align: left; font-size: 14px; color: #e5e5ea; }
.hero-pie strong { display: block; font-size: clamp(18px, 2.4vw, 26px); color: #fff; letter-spacing: -.02em; }
@media (max-width: 640px) {
  .hero-video { aspect-ratio: 4 / 5; border-radius: 22px; }
}

/* Cifras */
.cifras { display: grid; gap: 1px; background: var(--linea); border-radius: var(--radio); overflow: hidden; margin-top: 56px; }
@media (min-width: 720px) { .cifras { grid-template-columns: repeat(3, 1fr); } }
.cifra { background: var(--carbon); padding: 32px 28px; }
.cifra b { display: block; font-size: clamp(48px, 7vw, 72px); line-height: 1; letter-spacing: -.05em; font-weight: 800; }
.cifra span { color: var(--suave-osc); font-size: 16px; display: block; margin-top: 8px; }

/* Índice de trabajos */
.filtros { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 8px; margin: 40px 0 28px; scrollbar-width: none; }
.filtros::-webkit-scrollbar { display: none; }
.filtro {
  flex: none; border: 0; border-radius: 999px; padding: 10px 18px; font-size: 15px; font-weight: 600;
  background: rgba(0,0,0,.06); color: var(--texto);
}
.oscuro .filtro { background: rgba(255,255,255,.1); color: #fff; }
.filtro[aria-pressed="true"] { background: var(--texto); color: #fff; }
.oscuro .filtro[aria-pressed="true"] { background: #fff; color: #000; }
.rejilla { display: grid; gap: 20px; }
@media (min-width: 760px) { .rejilla { grid-template-columns: repeat(2, 1fr); } }
.tarjeta {
  position: relative; display: flex; flex-direction: column; border-radius: 28px; overflow: hidden;
  text-decoration: none; color: inherit; min-height: 460px; background: #fff;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
}
.tarjeta:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 30px 60px rgba(0,0,0,.15); }
.tarjeta-texto { padding: 28px 28px 0; position: relative; z-index: 2; }
.tarjeta-texto p { margin: 10px 0 0; color: inherit; opacity: .75; font-size: 16px; }
.tarjeta-imagen { margin-top: auto; position: relative; height: 260px; overflow: hidden; }
.tarjeta-imagen img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.tarjeta:hover .tarjeta-imagen img { transform: scale(1.05); }
.etiquetas { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.etiqueta { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: rgba(0,0,0,.08); }
.etiqueta.real { background: #d9f7e3; color: #0a5b2a; }
.etiqueta.dev { background: #fff1c9; color: #7a5200; }
.etiqueta.concepto { background: #ece3ff; color: #4b2a99; }
.tarjeta-mas { margin-top: 14px; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; color: var(--acento); }
.tarjeta[hidden] { display: none; }

/* Historia con imagen fija (estilo producto) */
.historia { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .historia { grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; }
  .historia-medio { position: sticky; top: 140px; }
}
.historia-medio { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; position: sticky; top: 140px; background: #111; }
.historia-medio img, .historia-medio video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06); transition: opacity .7s ease, transform 1.2s cubic-bezier(.2,.8,.2,1);
}
.historia-medio .activo { opacity: 1; transform: none; }
.paso-historia { padding: 8vh 0; min-height: 60vh; display: flex; flex-direction: column; justify-content: center; opacity: .3; transition: opacity .5s; }
.paso-historia.activo { opacity: 1; }
.paso-historia .ceja { font-size: 17px; }
.paso-historia p { font-size: clamp(19px, 2.2vw, 22px); color: var(--suave-osc); margin: 16px 0 0; }
.paso-historia p b { color: #fff; }
@media (max-width: 959px) {
  .historia-medio { position: sticky; top: 72px; z-index: 1; aspect-ratio: 16 / 11; }
  .paso-historia { min-height: auto; padding: 48px 0; opacity: 1; position: relative; z-index: 2; background: var(--negro); }
}

/* Demo */
.marco-demo {
  border-radius: 28px; padding: 14px; background: linear-gradient(160deg, #2a2a2e, #0c0c0e);
  box-shadow: 0 50px 120px rgba(232, 190, 99, .12), inset 0 0 0 1px rgba(255,255,255,.08);
}
.aviso-demo {
  display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600;
  padding: 7px 12px; border-radius: 999px; background: rgba(232, 190, 99, .14); color: var(--oro);
}

/* Teléfonos */
.telefono {
  flex: none; width: 260px; aspect-ratio: 390 / 844; border-radius: 44px; padding: 10px;
  background: #1c1c1e; box-shadow: 0 0 0 2px #3a3a3c, 0 40px 80px rgba(0,0,0,.35); position: relative;
}
.telefono img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 34px; }
.telefono::before {
  content: ""; position: absolute; top: 18px; left: 50%; width: 76px; height: 22px; border-radius: 20px;
  background: #000; transform: translateX(-50%); z-index: 2;
}
.carrusel {
  display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 40px 20px 50px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.carrusel::-webkit-scrollbar { display: none; }
.carrusel > * { scroll-snap-align: center; }
.carrusel-pie { text-align: center; font-size: 15px; margin-top: 14px; font-weight: 600; }
@media (min-width: 1100px) { .carrusel { justify-content: center; flex-wrap: nowrap; } }

/* Pantalla de escritorio */
.navegador { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 40px 100px rgba(0,0,0,.25); }
.navegador-barra { height: 36px; background: #ececee; display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.navegador-barra i { width: 11px; height: 11px; border-radius: 50%; background: #c7c7cc; }
.navegador-barra span { margin-left: 12px; font-size: 12px; color: #6e6e73; background: #fff; border-radius: 6px; padding: 3px 12px; }

/* Servicios */
.servicios { display: grid; gap: 20px; margin-top: 56px; }
@media (min-width: 760px) { .servicios { grid-template-columns: repeat(2, 1fr); } }
.servicio { border-radius: 28px; padding: 36px 30px; background: #fff; color: var(--texto); min-height: 360px; display: flex; flex-direction: column; }
.servicio-icono { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 28px; }
.servicio-icono svg { width: 30px; height: 30px; }
.servicio p { color: #6e6e73; margin: 12px 0 0; }
.servicio ul { margin: auto 0 0; padding: 24px 0 0; list-style: none; display: grid; gap: 10px; font-size: 15px; font-weight: 600; }
.servicio li { display: flex; gap: 10px; align-items: flex-start; }
.servicio li::before { content: ""; width: 7px; height: 7px; margin-top: 8px; border-radius: 2px; background: var(--acento); flex: none; }

/* Proceso */
.proceso { display: grid; gap: 2px; margin-top: 56px; counter-reset: paso; }
@media (min-width: 900px) { .proceso { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.paso { padding: 28px 0; border-top: 1px solid var(--linea); }
.paso b { display: block; font-size: 56px; line-height: 1; letter-spacing: -.05em; font-weight: 800; margin-bottom: 16px; }
.paso p { color: var(--suave-osc); margin: 8px 0 0; font-size: 16px; }

/* Conceptuales */
.conceptos { display: grid; gap: 20px; margin-top: 56px; }
@media (min-width: 960px) { .conceptos { grid-template-columns: 1fr 1fr; } }
.concepto { border-radius: 28px; padding: 32px 28px; background: #fff; color: var(--texto); overflow: hidden; position: relative; }
.concepto > p { color: #6e6e73; margin: 10px 0 0; }

/* Chat de WhatsApp (demo conceptual) */
.chat { margin-top: 28px; border-radius: 22px; overflow: hidden; background: #efe7de; border: 1px solid rgba(0,0,0,.06); }
.chat-cabecera { background: #075e54; color: #fff; display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.chat-cabecera i { width: 36px; height: 36px; border-radius: 50%; background: #f4b860; display: grid; place-items: center; font-style: normal; font-size: 18px; }
.chat-cabecera small { display: block; opacity: .8; font-size: 12px; }
.chat-cuerpo { height: 340px; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 8px; scroll-behavior: smooth; }
.globo { max-width: 82%; padding: 8px 12px 10px; border-radius: 12px; font-size: 15px; line-height: 1.4; box-shadow: 0 1px 1px rgba(0,0,0,.08); animation: entra .35s cubic-bezier(.2,.8,.2,1); white-space: pre-line; }
.globo.yo { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 4px; }
.globo.bot { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.globo.escribiendo { color: #667781; font-style: italic; }
@keyframes entra { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.chat-opciones { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px 14px; background: #f0f2f5; }
.chat-opciones button { border: 1px solid #d1d7db; background: #fff; color: #075e54; border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 600; }
.chat-opciones button:hover { background: #e7f8ee; }

/* Mockup de web conceptual */
.mini-web { margin-top: 28px; border-radius: 18px; overflow: hidden; border: 1px solid rgba(0,0,0,.08); background: #1b120c; color: #fff4e6; }
.mini-web-hero { padding: 36px 24px 28px; background: radial-gradient(circle at 80% 20%, #c8552d 0, transparent 55%), #1b120c; }
.mini-web-hero h4 { font-size: 34px; line-height: 1; letter-spacing: -.03em; margin: 6px 0 12px; font-weight: 800; }
.mini-web-hero p { margin: 0; opacity: .8; font-size: 15px; }
.mini-web-hero .btn { min-height: 42px; font-size: 15px; margin-top: 18px; background: #f4b860; color: #1b120c; }
.mini-menu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.08); }
.mini-menu div { background: #221710; padding: 14px 12px; font-size: 13px; }
.mini-menu b { display: block; font-size: 14px; }
.mini-menu span { color: #f4b860; font-weight: 700; }

/* CTA final */
.cta-final { text-align: center; padding: 140px 0; background: radial-gradient(ellipse at 50% 120%, rgba(255,122,69,.35), transparent 60%), #000; }
.cta-final .btn-wa { min-height: 64px; font-size: 20px; padding: 0 36px; }

/* Pie */
.pie { background: var(--carbon); color: var(--suave-osc); font-size: 14px; padding: 48px 0 100px; border-top: 1px solid var(--linea); }
.pie .contenedor { display: grid; gap: 24px; }
@media (min-width: 760px) { .pie .contenedor { grid-template-columns: 2fr 1fr 1fr; } }
.pie a { text-decoration: none; color: #d2d2d7; display: block; padding: 4px 0; }
.pie a:hover { color: #fff; }
.pie h3 { color: #fff; font-size: 14px; margin: 0 0 8px; }

/* Casos de estudio */
.caso-hero { padding: 150px 0 80px; text-align: center; }
.caso-hero img.logo-caso { width: 112px; height: 112px; margin: 0 auto 28px; border-radius: 50%; }
.galeria { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 760px) { .galeria { grid-template-columns: 1.4fr 1fr; } .galeria .ancha { grid-column: 1 / -1; } }
.galeria figure { margin: 0; border-radius: 22px; overflow: hidden; position: relative; background: #111; }
.galeria img, .galeria video { width: 100%; height: 100%; object-fit: cover; }
.galeria figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; font-size: 14px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.funciones { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 760px) { .funciones { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .funciones { grid-template-columns: repeat(3, 1fr); } }
.funcion { background: var(--panel); border-radius: 22px; padding: 26px 24px; border: 1px solid var(--linea); }
.claro .funcion { background: #fff; border-color: transparent; }
.funcion h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.02em; }
.funcion p { margin: 0; color: var(--suave-osc); font-size: 15px; }
.claro .funcion p { color: #6e6e73; }
.tecnologias { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.tecnologias span { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--linea); font-weight: 600; font-size: 15px; }
.claro .tecnologias span { border-color: var(--linea-clara); }
.ppr { display: grid; gap: 20px; margin-top: 48px; }
@media (min-width: 900px) { .ppr { grid-template-columns: repeat(3, 1fr); } }
.ppr div { border-radius: 24px; padding: 30px 26px; background: var(--panel); border: 1px solid var(--linea); }
.ppr h3 { margin: 0 0 10px; font-size: 15px; color: var(--oro); }
.ppr p { margin: 0; font-size: 18px; line-height: 1.45; }
.siguiente { display: block; text-decoration: none; border-radius: 28px; padding: 40px 32px; background: var(--panel); border: 1px solid var(--linea); transition: transform .3s; }
.siguiente:hover { transform: translateY(-4px); }

/* Aparecer al hacer scroll */
.aparece { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.aparece.visto { opacity: 1; transform: none; }
.retraso-1 { transition-delay: .1s; } .retraso-2 { transition-delay: .2s; } .retraso-3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aparece { opacity: 1; transform: none; transition: none; }
  .hero-video { transform: none !important; }
  .hero-zona { height: auto; margin-bottom: 0; }
  .hero-pegado { position: relative; top: 0; height: auto; padding: 20px 0 60px; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ===== Galerías de marcas (deportes, comida, identidad) ===== */
.desfile {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 36px max(20px, calc((100vw - 1100px) / 2)) 40px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.desfile::-webkit-scrollbar { display: none; }
.desfile > * { flex: none; scroll-snap-align: start; scroll-margin-left: max(20px, calc((100vw - 1100px) / 2)); }
.desfile img, .desfile video {
  display: block; width: min(68vw, 300px); height: auto; border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,.22); background: #222;
}
.desfile .ancha img { width: min(86vw, 620px); }
.desfile figcaption { font-size: 13px; font-weight: 600; margin-top: 10px; opacity: .7; }
.desfile figure { margin: 0; }
.desfile-ayuda { font-size: 13px; opacity: .6; margin: 0; }

.mosaico { display: grid; gap: 16px; margin-top: 40px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .mosaico { grid-template-columns: repeat(4, 1fr); } }
.mosaico > * { margin: 0; border-radius: 20px; overflow: hidden; background: #eee; }
.mosaico img, .mosaico video { display: block; width: 100%; height: 100%; object-fit: cover; }
.mosaico .doble { grid-column: span 2; }
.mosaico .alta { grid-row: span 2; }

.cliente-cabeza { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cliente-cabeza img { height: 64px; width: auto; border-radius: 14px; }
.cliente-cabeza .titulo-m { margin: 0; }

.tira { overflow: hidden; padding: 10px 0 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tira-pista { display: flex; gap: 16px; width: max-content; animation: tira 60s linear infinite; }
.tira-pista img { height: clamp(220px, 34vw, 360px); width: auto; border-radius: 18px; display: block; }
.tira:hover .tira-pista { animation-play-state: paused; }
@keyframes tira { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tira-pista { animation: none; } .tira { overflow-x: auto; } }

.indice-grupos { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.indice-grupos a { padding: 10px 18px; border-radius: 999px; background: rgba(255,255,255,.12); color: inherit; text-decoration: none; font-weight: 600; font-size: 15px; }
.indice-grupos a:hover { background: rgba(255,255,255,.22); }
.claro .indice-grupos a, .blanco .indice-grupos a { background: rgba(0,0,0,.06); }
