/* Lodos Films — estilos únicos. Escala de espaciado base 8 px: 4 8 12 16 24 32 48 64 96 128 */

@font-face {
  font-family: "Aldrich";
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  src: url("../fonts/aldrich-400.woff2") format("woff2");
}

:root {
  --c-bg: #000;
  --c-text: #fff;
  --c-muted: #8a8a8a;
  --c-body-soft: #d4d4d4;
  --c-accent: #7aa3b8;
  --c-surface: #111;
  --c-surface-2: #222;
  --c-border: #333;

  --s-4: 4px;
  --s-8: 8px;
  --s-12: 12px;
  --s-16: 16px;
  --s-24: 24px;
  --s-32: 32px;
  --s-48: 48px;
  --s-64: 64px;

  --gap-section: var(--s-48);
  --pad-page: var(--s-32);
  --w-content: 1000px;
  --w-legal: 680px;
  --radius: 10px;

  --f-family: "Aldrich", sans-serif;
  --f-small: 0.875rem;
  --f-medium: clamp(14px, 14px + ((1vw - 0.2rem) * 0.227), 16px);
  --f-large: clamp(1.125rem, 1.125rem + ((1vw - 0.2rem) * 0.455), 1.375rem);
  --f-x-large: clamp(1.75rem, 1.75rem + ((1vw - 0.2rem) * 0.455), 2rem);
  --f-foot: 13px;
}

@media (min-width: 900px) {
  :root { --gap-section: var(--s-64); }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-family);
  font-size: var(--f-medium);
  font-weight: 400;
  letter-spacing: -0.1px;
  line-height: 1.5;
}

h1, h2, h3, p, ul, figure, blockquote { margin: 0; }

h1, h2, h3 {
  font-weight: 400;
  line-height: 1.125;
  text-wrap: balance;
}

h1, h2 { font-size: var(--f-x-large); }
h3 { font-size: var(--f-large); }
p, blockquote, figcaption { text-wrap: pretty; }

img, video { display: block; max-width: 100%; height: auto; }

a { color: var(--c-accent); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.1em; }

:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }

.hl { color: var(--c-accent); }

.skip-link {
  position: absolute;
  top: var(--s-8);
  left: var(--s-8);
  z-index: 30;
  padding: var(--s-8) var(--s-16);
  background: var(--c-text);
  color: var(--c-bg);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Cabecera */
.site-header {
  display: grid;
  grid-template-areas: "lang" "logo";
  justify-items: center;
  padding: var(--s-12) var(--pad-page) var(--s-32);
}

.site-logo { grid-area: logo; margin-top: var(--s-12); }
.site-logo img { width: 306px; }

.lang {
  grid-area: lang;
  justify-self: end;
  display: flex;
  align-items: center;
  font-size: var(--f-foot);
  letter-spacing: 0.08em;
  line-height: 1;
}

.lang a,
.lang [aria-current] {
  display: inline-flex;
  align-items: center;
  min-width: 24px;
  min-height: 24px;
  justify-content: center;
  color: var(--c-text);
}
.lang a { color: var(--c-muted); }
.lang a:hover { color: var(--c-text); text-decoration: none; }
.lang [aria-current] { font-weight: 700; }
.lang__sep { margin-inline: var(--s-4); color: var(--c-muted); }

@media (min-width: 782px) {
  .site-header {
    grid-template-areas: ". logo lang";
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding-top: var(--s-24);
  }
  .site-logo { margin-top: 0; }
  .lang { font-size: var(--f-small); }
}

/* Contenido */
.content {
  width: 100%;
  max-width: calc(var(--w-content) + 2 * var(--pad-page));
  margin-inline: auto;
  padding-inline: var(--pad-page);
}

.content > * + * { margin-top: var(--gap-section); }

.block > h1,
.block > h2 { text-align: center; }
.block > h1 + *,
.block > h2 + * { margin-top: var(--s-24); }

.hero-video { width: 100%; aspect-ratio: 16 / 9; background: var(--c-bg); }

.how__video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
}
.how__video + .cards { margin-top: var(--s-48); }

/* Rejillas de vídeo y juegos */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-12);
  padding: 0;
  list-style: none;
}

@media (min-width: 600px) {
  .grid { gap: var(--s-16); }
  .grid--video { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .grid { gap: var(--s-24); }
  .grid--video,
  .grid--games { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-surface);
  color: var(--c-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.grid--games .tile { aspect-ratio: 9 / 16; }

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0) 45%);
  pointer-events: none;
}

.tile:hover { text-decoration: none; }
.tile:hover img { transform: scale(1.04); }

.tile__title,
.tile__meta {
  position: absolute;
  z-index: 2;
  left: var(--s-12);
  right: var(--s-12);
  line-height: 1.25;
}

.tile__title { bottom: var(--s-12); font-size: 14px; color: var(--c-text); }
.tile__meta { bottom: var(--s-12); font-size: 12px; color: rgba(255, 255, 255, 0.75); }
.tile__title:has(+ .tile__meta) { bottom: var(--s-32); }

/* Juegos: título y versión apilados desde abajo, para que no se monten si el título ocupa dos líneas */
.grid--games .tile,
.grid--video .tile { display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: var(--s-12); }
.grid--games .tile img,
.grid--video .tile img { position: absolute; inset: 0; }
.grid--games .tile__title,
.grid--games .tile__meta,
.grid--video .tile__title,
.grid--video .tile__meta { position: relative; left: auto; right: auto; bottom: auto; }

.tile__play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1.5px solid var(--c-accent);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.tile__play svg { width: 22px; height: 22px; margin-left: 3px; fill: var(--c-accent); }

.tile:hover .tile__play,
.tile:focus-visible .tile__play { opacity: 1; }

@media (max-width: 599px) {
  .tile__play { width: 40px; height: 40px; }
  .tile__play svg { width: 16px; height: 16px; margin-left: 2px; }
}

@media (max-width: 599px) {
  .tile__title { left: var(--s-8); right: var(--s-8); bottom: var(--s-8); font-size: 12px; }
  .grid--games .tile,
  .grid--video .tile { padding: var(--s-8); }
  .tile__meta { font-size: 11px; }
}

.tile--soon {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-border);
  background: linear-gradient(135deg, #151515, #0b0b0b);
  cursor: default;
}
.tile--soon::after { content: none; }
.tile--soon span {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent);
}

/* Animación Audiovisual / Interactividad */
.motion {
  --mo-a: var(--c-accent);
  position: relative;
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: radial-gradient(120% 90% at 50% 45%, #0e0e0e 0%, #080808 55%, #030303 100%);
  container-type: inline-size;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  color: var(--c-text);
}

.motion::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(122, 163, 184, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 163, 184, 0.09) 1px, transparent 1px),
    linear-gradient(rgba(122, 163, 184, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 163, 184, 0.035) 1px, transparent 1px);
  background-size: 12.5cqw 12.5cqw, 12.5cqw 12.5cqw, 3.125cqw 3.125cqw, 3.125cqw 3.125cqw;
  background-position: 50cqw 28.125cqw;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 30%, transparent 100%);
}

.motion__s {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: mo-s 8s infinite both;
}
.motion__s--2 { animation-delay: 4s; }

.motion__box { display: flex; flex-direction: column; align-items: stretch; max-width: 84cqw; }

.motion__t {
  font-size: 8.4cqw;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-align: center;
  clip-path: inset(0 100% 0 0);
  animation: mo-wipe 8s infinite both;
  animation-delay: inherit;
}

.motion__l {
  height: max(1px, 0.12cqw);
  margin: 2.4cqw 0 2.2cqw;
  background: rgba(255, 255, 255, 0.55);
  transform: scaleX(0);
  animation: mo-line 8s infinite both;
  animation-delay: inherit;
}

.motion__d {
  font-size: 2.35cqw;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  color: var(--mo-a);
  opacity: 0;
  animation: mo-up 8s infinite both;
  animation-delay: inherit;
}

@keyframes mo-s {
  0% { opacity: 0; }
  3% { opacity: 1; }
  44% { opacity: 1; filter: blur(0); }
  50% { opacity: 0; filter: blur(6px); }
  100% { opacity: 0; }
}
@keyframes mo-wipe {
  0%, 4% { clip-path: inset(0 100% 0 0); }
  16%, 100% { clip-path: inset(0 0 0 0); }
}
@keyframes mo-line {
  0%, 9% { transform: scaleX(0); }
  20%, 100% { transform: scaleX(1); }
}
@keyframes mo-up {
  0%, 15% { opacity: 0; transform: translateY(0.6cqw); }
  24%, 100% { opacity: 1; transform: none; }
}

@media (max-width: 599px) {
  .motion__t { font-size: 9cqw; }
  .motion__d { font-size: 3.2cqw; letter-spacing: 0.04em; }
}

/* Tarjetas */
.cards {
  display: grid;
  gap: var(--s-24);
  padding: 0;
  list-style: none;
}

@media (min-width: 782px) {
  .cards { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
}

.card {
  display: flex;
  flex-direction: column;
  padding: var(--s-24);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface);
}

@media (min-width: 768px) {
  .card { padding: var(--s-32); }
}

.card > * + * { margin-top: var(--s-12); }

.card__icon {
  margin-top: auto;
  padding-top: var(--s-24);
  line-height: 0;
  text-align: center;
  color: var(--c-accent);
}
.card__icon svg { display: inline-block; width: 64px; height: 64px; }

.cards--small p { font-size: 0.88em; line-height: 1.55; }

/* Logos de clientes */
.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-16);
  padding: 0;
  list-style: none;
}
.logos > li { flex: 0 0 calc((100% - var(--s-16)) / 2); }
.logos img { width: 100%; }

@media (min-width: 600px) {
  .logos { gap: var(--s-24); }
  .logos > li { flex-basis: calc((100% - 2 * var(--s-24)) / 3); }
}

@media (min-width: 900px) {
  .logos { gap: var(--s-32); }
  .logos > li { flex-basis: calc((100% - 4 * var(--s-32)) / 5); }
}

/* Testimonios */
.tm {
  position: relative;
  width: 100%;
  margin-inline: auto;
}

.tm__vp {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  outline-offset: 4px;
}
.tm__vp::-webkit-scrollbar { display: none; }

.tm__list { display: flex; gap: var(--s-12); padding: 0; list-style: none; }

.tm__item { flex: 0 0 100%; display: flex; scroll-snap-align: start; }

.tm__card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: var(--s-24);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface);
  text-align: center;
}

.tm__card blockquote { font-size: 0.88em; line-height: 1.55; }

.tm__stars {
  margin: var(--s-24) 0 var(--s-16);
  color: var(--c-accent);
  font-size: 16px;
  letter-spacing: 2px;
  line-height: 1;
}

.tm__card figcaption { margin-top: auto; }
.tm__name { display: block; font-style: normal; font-size: 14px; line-height: 1.4; }
.tm__role { display: block; margin-top: var(--s-4); font-size: 12px; line-height: 1.4; }

.tm__btn {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--c-text);
  border-radius: 50%;
  background: var(--c-bg);
  color: var(--c-text);
  cursor: pointer;
  transform: translateY(-75%);
}
.tm__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tm__btn:hover { background: #1a1a1a; }
.tm__btn[aria-disabled="true"] { opacity: 0.35; cursor: default; }
.tm__prev { left: 0; }
.tm__next { right: 0; }

.tm__dots { display: flex; justify-content: center; gap: var(--s-4); margin-top: var(--s-12); }
.tm__dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.tm__dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid var(--c-text);
  border-radius: 50%;
}
.tm__dot[aria-current="true"]::before { background: var(--c-accent); border-color: var(--c-accent); }

.tm.is-static .tm__btn,
.tm.is-static .tm__dots { display: none; }

.tm:not(.is-static) { padding-inline: var(--s-48); }

@media (min-width: 768px) {
  .tm__card { padding: var(--s-32); }
  .tm__list { gap: var(--s-16); }
  .tm__item { flex-basis: calc((100% - var(--s-16)) / 2); }
  .tm__vp { scroll-behavior: smooth; }
}

@media (min-width: 1024px) {
  .tm__list { gap: var(--s-24); }
  .tm__item { flex-basis: calc((100% - 2 * var(--s-24)) / 3); }
}

/* Bio */
.bio {
  display: grid;
  gap: var(--s-24);
  align-items: center;
}

.bio__photo {
  justify-self: center;
  width: 220px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
}

.bio__text > * + * { margin-top: var(--s-12); }
.bio__quote { font-style: italic; }

@media (min-width: 782px) {
  .bio { grid-template-columns: 3fr 7fr; column-gap: var(--s-32); }
}

/* Llamada a la acción */
.cta {
  padding: var(--s-24);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface);
  text-align: center;
}
.cta > * + * { margin-top: var(--s-12); }
.cta > .cta__actions { margin-top: var(--s-32); }

@media (min-width: 768px) {
  .cta { padding: var(--s-48) var(--s-32); }
}

.button {
  display: inline-block;
  padding: var(--s-16) var(--s-32);
  border-radius: 9999px;
  background: var(--c-text);
  color: var(--c-bg);
  font-size: var(--f-medium);
  text-align: center;
}
.button:hover { background: color-mix(in srgb, var(--c-text) 85%, transparent); text-decoration: none; }

/* Páginas legales */
.legal {
  max-width: calc(var(--w-legal) + 2 * var(--pad-page));
  color: var(--c-body-soft);
  font-size: clamp(14px, 13.5px + 0.15vw, 15px);
  line-height: 1.6;
}

.legal > * + * { margin-top: var(--s-8); }
.legal :is(h1, h2, h3) { color: var(--c-text); line-height: 1.25; }
.legal h1 { font-size: clamp(24px, 22.25px + 0.45vw, 28px); line-height: 1.15; }
.legal h2 {
  margin-top: var(--s-48);
  padding-top: var(--s-24);
  border-top: 1px solid var(--c-border);
  font-size: clamp(19px, 17.7px + 0.35vw, 22px);
}
.legal h1 + h2 { margin-top: var(--s-24); padding-top: 0; border-top: 0; }
.legal h3 { margin-top: var(--s-24); font-size: clamp(15px, 14.5px + 0.2vw, 16.5px); }
.legal h2 + h3 { margin-top: var(--s-16); }
.legal ul { padding-left: var(--s-16); }
.legal li + li { margin-top: var(--s-4); }
.legal .n { color: var(--c-accent); }
.legal .k { color: var(--c-muted); }
.legal > .legal__updated { margin-top: var(--s-48); font-size: var(--f-foot); color: var(--c-muted); }

/* Pie */
.site-footer {
  margin-top: var(--gap-section);
  padding: var(--s-32) var(--pad-page);
  background: var(--c-surface-2);
  text-align: center;
}
.site-footer > * + * { margin-top: var(--s-12); }

.footnote { color: var(--c-muted); font-size: var(--f-foot); line-height: 1.5; }
.footnote a { color: inherit; }
.footnote a:hover { color: var(--c-accent); }

/* Lightbox de vídeo */
html.is-modal-open { overflow: hidden; }

.vm {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: var(--s-16);
  border: 0;
  background: rgba(0, 0, 0, 0.92);
  color: var(--c-text);
}
.vm[open] { display: flex; align-items: center; justify-content: center; }
.vm::backdrop { background: transparent; }

.vm__stage {
  --ar: 1.7778;
  position: relative;
  width: min(100%, calc((100vh - 96px) * var(--ar)), 1400px);
  width: min(100%, calc((100dvh - 96px) * var(--ar)), 1400px);
  margin-top: var(--s-48);
  aspect-ratio: var(--ar);
  background: #000;
}

.vm__video {
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.vm__video.is-ready { opacity: 1; }

.vm__loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-16);
  color: var(--c-text);
  pointer-events: none;
}
.vm__video.is-ready ~ .vm__loader { display: none; }
.vm__spin {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--c-accent);
  border-radius: 50%;
  animation: vm-spin 0.8s linear infinite;
}
@keyframes vm-spin { to { transform: rotate(360deg); } }

.vm__close {
  position: absolute;
  top: calc(-1 * var(--s-48));
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--c-accent);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: var(--c-accent);
  cursor: pointer;
}
.vm__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.vm__close:hover { background: var(--c-accent); color: #000; }
.vm__close:focus-visible { outline-color: var(--c-text); }

@media (prefers-reduced-motion: reduce) {
  .vm__spin { animation-duration: 2s; }
  .tile img { transition: none; }
  .tile:hover img { transform: none; }
  .tm__vp { scroll-behavior: auto; }
  .motion__s,
  .motion__t,
  .motion__l,
  .motion__d { animation: none; }
  .motion__s--1 { opacity: 1; }
  .motion__t { clip-path: none; }
  .motion__l { transform: none; }
  .motion__d { opacity: 1; transform: none; }
}

.cards--sec { margin-top: var(--s-24); }
.cards--sec h3 { font-size: 1em; }
.block > .tagline { margin-top: var(--s-8); text-align: center; color: var(--c-muted); }
.block > .tagline + * { margin-top: var(--s-24); }
.motion.is-wait * { animation: none; }
.cards--small .card__icon svg { width: 48px; height: 48px; }

/* Agenda de reuniones */
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-12); }
.button { border: 1.5px solid var(--c-text); font-family: inherit; line-height: inherit; cursor: pointer; }
.button--ghost { background: transparent; border-color: var(--c-accent); color: var(--c-accent); }
.button--ghost:hover { background: var(--c-accent); color: var(--c-bg); }
.cta > .cta__note { margin-top: var(--s-12); color: var(--c-muted); font-size: var(--f-small); }
@media (max-width: 599px) {
  .cta__actions .button { padding: var(--s-16) var(--s-24); white-space: nowrap; font-size: var(--f-small); }
}

/* Formulario de reserva de reuniones (dialog .bk) */
.bk {
  width: min(100% - 2 * var(--s-16), 620px);
  max-width: none;
  max-height: calc(100dvh - 2 * var(--s-16));
  margin: auto;
  padding: 0;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface);
  color: var(--c-text);
  overflow: auto;
  overscroll-behavior: contain;
}
.bk::backdrop { background: rgba(0, 0, 0, 0.85); }
.bk__box { position: relative; padding: var(--s-32) var(--s-24) var(--s-24); }
.bk .bk__close { top: var(--s-12); right: var(--s-12); width: 40px; height: 40px; }
.bk__title { padding-right: var(--s-48); font-size: var(--f-large); }
.bk__intro { margin-top: var(--s-8); color: var(--c-body-soft); font-size: var(--f-small); }
.bk__form { margin-top: var(--s-24); }
.bk__form > * + * { margin-top: var(--s-16); }
.bk__slots { min-width: 0; margin-inline: 0; padding: 0; border: 0; }
.bk__slots legend { padding: 0; margin-bottom: var(--s-8); font-size: var(--f-small); color: var(--c-body-soft); }
.bk__tz { color: var(--c-muted); }
.bk__days, .bk__times { display: flex; flex-wrap: wrap; gap: var(--s-8); }
.bk__days { flex-wrap: nowrap; overflow: hidden; }
.bk__chip { position: relative; flex: none; }
.bk__chip input { position: absolute; opacity: 0; pointer-events: none; }
.bk__chip span {
  display: block;
  padding: var(--s-8) var(--s-12);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  background: var(--c-bg);
  font-size: var(--f-small);
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}
.bk__days .bk__chip span { min-width: 64px; line-height: 1.25; }
.bk__chip span small { display: block; color: var(--c-muted); font-size: 12px; }
.bk__chip:hover span { border-color: var(--c-accent); }
.bk__chip input:checked + span { border-color: var(--c-accent); background: var(--c-accent); color: var(--c-bg); }
.bk__chip input:checked + span small { color: var(--c-bg); }
.bk__chip input:focus-visible + span { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.bk__local { min-height: 1em; margin-top: var(--s-8); color: var(--c-muted); font-size: 12px; }
.bk__local:empty { display: none; }
.bk__row { display: grid; gap: var(--s-16); }
@media (min-width: 600px) { .bk__row { grid-template-columns: 1fr 1fr; } }
.bk__field { display: block; }
.bk__field span { display: block; margin-bottom: var(--s-4); font-size: var(--f-small); color: var(--c-body-soft); }
.bk__field input, .bk__field textarea {
  display: block;
  width: 100%;
  padding: var(--s-12);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  background: var(--c-bg);
  color: var(--c-text);
  font: inherit;
  font-size: 16px;
}
.bk__field textarea { resize: none; min-height: 80px; }
/* (asteriscos retirados a petición de Luis) */
.bk__field input:focus, .bk__field textarea:focus { border-color: var(--c-accent); outline: none; }
.bk__field input[aria-invalid="true"] { border-color: #ff8a8a; }
.bk__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.bk__error { color: #ff9b9b; font-size: var(--f-small); }
.bk__error:empty { display: none; }
.bk__actions { text-align: center; }
.bk__submit { width: 100%; }
.bk__submit[disabled] { opacity: 0.6; cursor: wait; }
.bk__privacy { color: var(--c-muted); font-size: 12px; text-align: center; }
.bk__done { margin-top: var(--s-24); padding: var(--s-24) var(--s-16); border: 1px solid var(--c-accent); border-radius: var(--radius); text-align: center; }
.bk__done strong { display: block; margin-bottom: var(--s-8); color: var(--c-accent); font-size: var(--f-large); font-weight: 400; }
.bk__done p { color: var(--c-body-soft); }
.bk__done .bk__when { margin-top: var(--s-8); color: var(--c-text); font-weight: 600; }
.bk__done .bk__sent { margin-top: var(--s-8); color: var(--c-muted); font-size: var(--f-small); }
.bk__msg { color: var(--c-body-soft); font-size: var(--f-small); }
@media (max-width: 599px) {
  .bk { width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; border: 0; }
  .bk__box { padding: var(--s-24) var(--s-16); }
}

/* Ventana interna de motion graphics y web multimedia. */
.pm {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: var(--s-16);
  border: 0;
  background: rgba(0, 0, 0, 0.92);
  color: var(--c-text);
}
.pm[open] { display: flex; align-items: center; justify-content: center; }
.pm::backdrop { background: transparent; }
.pm__stage {
  position: relative;
  margin-top: var(--s-48);
  background: #000;
}
.pm__stage[data-kind="motion"] {
  width: min(100%, calc((100dvh - 96px) * 16 / 9), 1200px);
  aspect-ratio: 16 / 9;
}
.pm__stage[data-kind="web"] {
  width: min(100%, 1120px);
  height: min(calc(100dvh - 112px), 900px);
}
.pm__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  opacity: 0;
}
.pm__frame.is-ready { opacity: 1; transition: opacity 0.25s ease; }
.pm__frame.is-ready ~ .vm__loader { display: none; }
@media (prefers-reduced-motion: reduce) {
  .pm__frame.is-ready { transition: none; }
}

/* Ficción y publicidad: ocho a la vista. El resto entra por la derecha, dos y dos. */
.reel { position: relative; }
.reel__view { overflow: hidden; touch-action: pan-y; }
.reel .grid { transition: transform 0.35s ease; }
.reel__arrow {
  position: absolute;
  top: calc(50% - (var(--s-16) + 28px) / 2);
  z-index: 3;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--c-accent);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  color: var(--c-accent);
  cursor: pointer;
}
.reel__arrow--prev { left: -22px; }
.reel__arrow--next { right: -22px; }
.reel__arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.reel__arrow--next svg { transform: scaleX(-1); }
.reel__arrow:hover:not(:disabled) { background: var(--c-accent); color: #000; }
.reel__arrow:disabled { opacity: 0.28; cursor: default; }
.reel__pages {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--s-16);
}
.reel__page {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--c-muted);
  border-radius: 4px;
  background: transparent;
  color: var(--c-muted);
  font: inherit;
  font-size: 13px;
  line-height: 26px;
  cursor: pointer;
}
.reel__page:hover { color: var(--c-text); border-color: var(--c-text); }
.reel__page.is-on {
  color: var(--c-text);
  border-color: var(--c-accent);
}
@media (prefers-reduced-motion: reduce) {
  .reel .grid { transition: none; }
}

/* El botón de contactar: reflejo diagonal y un acercamiento corto. */
.cta .button { position: relative; transform-origin: center center; }
/* Hover de Contactar: acercamiento sutil, sin elevar el botón. */
.cta .button { transition: scale 180ms cubic-bezier(.2,.8,.2,1), box-shadow 180ms ease; }
.cta .button:hover {
  scale: 1.06;
  box-shadow: 0 0 0 4px rgba(122, 163, 184, 0.22), 0 10px 26px rgba(122, 163, 184, 0.30);
}
@media (prefers-reduced-motion: reduce) {
  .cta .button { transition: none; }
  .cta .button:hover { scale: 1; box-shadow: none; }
}
.cta .button.is-in {
  overflow: hidden;
  background-color: #fff;
  background-image: linear-gradient(118deg, #fff 0%, #fff 40%, #7aa3b8 50%, #fff 60%, #fff 100%);
  background-size: 280% 100%;
  background-repeat: no-repeat;
  background-position: 100% 0;
  animation: cta-sheen 0.85s ease 0.05s 1 both, cta-approach 0.7s ease-in-out 0.05s 1 both;
}
@keyframes cta-sheen {
  from { background-position: 100% 0; }
  to { background-position: 0% 0; }
}
@keyframes cta-approach {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .cta .button.is-in { animation: none; background-image: none; }
}


/* Motion graphics y Web multimedia, en paralelo. */
.showcase-pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-48); }
.showcase-pair .grid--showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-16); padding-inline: var(--s-8); }
@media (min-width: 900px) {
  .showcase-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-48); }
  .showcase-pair .grid--showcase { gap: var(--s-24); }
}

.social { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-12); }
.social a { display: inline-flex; align-items: center; gap: var(--s-8); padding: var(--s-8) var(--s-16); border: 1px solid var(--c-muted); border-radius: 10px; color: var(--c-muted); text-decoration: none; font-size: var(--f-foot); line-height: 1; transition: color .2s, border-color .2s; }
.social a:hover, .social a:focus-visible { color: var(--c-accent); border-color: var(--c-accent); }

/* Insignia «destacado» (laurel blanco, arriba a la izquierda) */
.tile__badge {
  position: absolute;
  z-index: 2;
  top: var(--s-12);
  left: var(--s-12);
  display: flex;
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.7));
  pointer-events: none;
}
.tile__badge svg { width: 100%; height: 100%; fill: #fff; }
@media (max-width: 599px) {
  .tile__badge { top: var(--s-8); left: var(--s-8); width: 18px; height: 18px; }
}
