/* Layout: sobrio y claro. Secciones alternas en blanco y gris azulado; texto y acento en azul marino */
:root {
  --white: #fbfcfd;
  --mist: #e4eaef;
  --navy: #0f2238;
  --bg: var(--white);
  --surface: #ffffff;
  --fg: #0f2238;
  --muted: #56687a;
  --accent: #3e5d7c;
  --sea: #3e5d7c;
  --line: rgba(15, 34, 56, 0.14);
  --font-display: "Barlow Condensed", "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --scope: 2.39 / 1;
  color-scheme: light;
}

* { box-sizing: border-box; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* Cabecera */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 22px;
}
.brand {
  font-family: var(--font-display); font-weight: 600; font-size: 26px;
  letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none;
}
.brand span { color: var(--accent); }
.top nav { display: flex; gap: 22px; flex-wrap: wrap; }
.top nav a {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; color: var(--muted);
}
.top nav a:hover { color: var(--fg); }

/* Hero: fotograma panorámico */
.hero { padding-block: 8px 72px; }
.frame {
  position: relative; width: 100%; max-width: 100%;
  aspect-ratio: var(--scope);
  overflow: hidden; border-radius: 3px; background: #0b1a22;
}
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-ph { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(70% 90% at 30% 40%, #3a3f44 0%, #15191c 70%); }
.hero-ph .ph { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.75); border: 1px dashed rgba(255,255,255,0.4); padding: 8px 14px; }
.frame .bars::before, .frame .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 7%; background: #000; z-index: 2;
}
.frame .bars::before { top: 0; } .frame .bars::after { bottom: 0; }
.hud {
  position: absolute; z-index: 3; left: 3%; right: 3%; top: 9%; bottom: 9%;
  display: flex; flex-direction: column; justify-content: space-between;
  color: #f4ecdd; pointer-events: none;
}
.hud-row { display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--font-mono); font-size: clamp(10px, 1.1vw, 13px); letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }
.rec { display: inline-flex; align-items: center; gap: 8px; }
.rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #a3b8ca; animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.25; } }

.hero-copy > * { min-width: 0; }
.hero-copy { display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; align-items: end; margin-top: 40px; }
.hero h1, .stage h1 {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(40px, min(10.5vw, 7.4vw + 12px), 112px); line-height: 0.92; hyphens: none; letter-spacing: 0.015em;
  margin: 0; text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { margin: 0; color: var(--muted); max-width: 42ch; font-size: 18px; }
.hero p strong { color: var(--fg); font-weight: 500; }

/* Secciones */
section { padding-block: 88px; border-top: 1px solid var(--line); background: var(--white); }
section:nth-of-type(even) { background: var(--mist); }
footer { background: var(--navy); color: #c9d5df; }
footer .label { color: #a3b8ca; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.sec-head h2 {
  font-family: var(--font-display); font-weight: 500; text-transform: uppercase;
  font-size: clamp(38px, 5vw, 60px); line-height: 1; margin: 0; letter-spacing: 0.01em;
}
.label { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* Proyectos */
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
.project { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.still {
  position: relative; aspect-ratio: var(--scope); max-width: 100%; border-radius: 3px; overflow: hidden;
  display: flex; align-items: flex-end; padding: 12px 14px;
}
.still .ph {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); background: rgba(0,0,0,0.35); padding: 4px 8px; border-radius: 2px;
}
.s-lessigo { background:
  linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55)),
  repeating-linear-gradient(90deg, #2b2d33 0 22px, #25272c 22px 44px),
  #2a2c31; }
.s-lessigo::after { content: ""; position: absolute; inset: 30% 18% 0 58%; background: linear-gradient(180deg, #c9a46a, #6f5534); opacity: 0.55; filter: blur(18px); }
.s-playa { background:
  radial-gradient(60% 50% at 70% 38%, #f2c27a 0%, rgba(242,194,122,0) 60%),
  linear-gradient(180deg, #e9a866 0%, #c97b52 34%, #3c6f78 52%, #1d3e48 100%); }
.s-tunel { background:
  radial-gradient(14% 20% at 50% 50%, #ffd28a 0%, rgba(255,210,138,0) 100%),
  repeating-radial-gradient(circle at 50% 50%, #1a1712 0 18px, #2a2216 18px 22px),
  #120f0b; }
.s-insurreccion { background:
  linear-gradient(115deg, rgba(0,0,0,0) 45%, rgba(176,48,36,0.55) 46%, rgba(0,0,0,0) 70%),
  linear-gradient(180deg, #4a4e52, #1c1f22); }
.slate { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.project h3 {
  font-family: var(--font-display); font-weight: 500; text-transform: uppercase;
  font-size: 34px; line-height: 1; margin: 0; letter-spacing: 0.01em;
}
.chip {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--line); color: var(--accent); padding: 3px 9px; border-radius: 2px; white-space: nowrap;
}
.project .meta { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); letter-spacing: 0.04em; margin: 0; }
.project p { margin: 0; max-width: 56ch; }

/* Servicios */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.service { padding: 28px 28px 28px 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.service + .service { padding-left: 28px; border-left: 1px solid var(--line); }
.service h3 { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: 28px; line-height: 1.05; margin: 0; }
.service p { margin: 0; color: var(--muted); }
.service .tag { color: var(--sea); }

/* Sobre */
.about { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.about .quote {
  font-family: var(--font-display); font-weight: 500; text-transform: uppercase;
  font-size: clamp(30px, 3.6vw, 46px); line-height: 1.02; margin: 0; text-wrap: balance;
}
.about .quote span { color: var(--accent); }
.about-text { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.about-text p { margin: 0; max-width: 62ch; }
.about-wide { margin: 0 0 48px; aspect-ratio: 21 / 8; max-width: 100%; overflow: hidden; border-radius: 3px; }
.about-wide img, .about-team img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-team { margin: 12px 0 0; display: flex; flex-direction: column; gap: 8px; }
.about-team img { aspect-ratio: 3 / 2; border-radius: 3px; }
@media (max-width: 520px) { .about-wide { aspect-ratio: 16 / 9; } }
.genres { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.genres span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; background: var(--surface); border-radius: 2px; color: var(--muted); }

/* Contacto */
.contact { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 28px; min-width: 0; padding-left: 40px; border-left: 1px solid var(--line); }
.contact-info > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.contact .big { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.1; overflow-wrap: anywhere; user-select: all; }
.form { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.f-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.f { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.f .label i { font-style: normal; opacity: 0.7; text-transform: none; letter-spacing: 0; }
.f input, .f textarea {
  font: inherit; font-size: 16px; color: var(--fg); background: var(--surface);
  border: 1px solid var(--line); border-radius: 2px; padding: 12px 14px; width: 100%; min-width: 0;
}
.f textarea { resize: vertical; min-height: 130px; }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(62, 93, 124, 0.15); }
.f input[aria-invalid="true"], .f textarea[aria-invalid="true"] { border-color: #a5443b; }
.f-types { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.f-types legend { margin-bottom: 10px; padding: 0; }
.f-types label { position: relative; cursor: pointer; }
.f-types input { position: absolute; opacity: 0; pointer-events: none; }
.f-types span { display: inline-block; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; padding: 8px 14px; border: 1px solid var(--line); border-radius: 2px; background: var(--surface); color: var(--muted); }
.f-types input:checked + span { background: var(--navy); border-color: var(--navy); color: #eef2f5; }
.f-types input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.f-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); cursor: pointer; }
.f-check input { margin-top: 4px; accent-color: var(--navy); width: 16px; height: 16px; flex: none; }
.f-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.f-send { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; background: var(--navy); color: #eef2f5; border: 1px solid var(--navy); padding: 14px 26px; border-radius: 2px; cursor: pointer; }
.f-send:hover { background: var(--accent); border-color: var(--accent); }
.f-status { margin: 0; font-size: 14.5px; color: var(--muted); max-width: 46ch; }
.f-status.err { color: #a5443b; }
.f-status.ok { color: var(--navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Clientes: carrusel deslizable */
.clients { padding-block: 64px; }
.car-ctrl { display: flex; gap: 8px; }
.car-btn { font: inherit; font-size: 18px; width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; color: var(--fg); border-radius: 2px; cursor: pointer; }
.car-btn:hover { border-color: var(--accent); color: var(--accent); }
.car { overflow-x: auto; scrollbar-width: none; cursor: grab; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.car::-webkit-scrollbar { display: none; }
.car.drag { cursor: grabbing; }
.car-track { list-style: none; margin: 0; padding: 8px 0; display: flex; gap: 64px; align-items: center; width: max-content; }
.car-track li { flex: none; height: 52px; display: flex; align-items: center; }
.car-track img { height: 100%; width: auto; max-width: 190px; object-fit: contain; filter: grayscale(1); opacity: 0.62; transition: opacity .3s; user-select: none; -webkit-user-drag: none; }
.car-track li:hover img { opacity: 1; }
@media (max-width: 860px) {
  .contact { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .contact-info { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 28px; }
  .car-track { gap: 44px; } .car-track li { height: 42px; }
}
@media (max-width: 520px) { .f-row { grid-template-columns: minmax(0, 1fr); } }
.copy {
  align-self: flex-start; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  background: none; border: 1px solid var(--line); color: var(--fg); padding: 6px 12px; border-radius: 2px; cursor: pointer;
}
.copy:hover { border-color: var(--accent); color: var(--accent); }

footer { border-top: 1px solid var(--line); padding-block: 28px 40px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .hero-copy, .about { grid-template-columns: 1fr; gap: 24px; }
  .projects { grid-template-columns: minmax(0, 1fr); }
  .services { grid-template-columns: minmax(0, 1fr); }
  .service, .service + .service { padding: 24px 0; border-left: 0; }
  .service + .service { border-top: 1px solid var(--line); }
  section { padding-block: 56px; }
}
@media (max-width: 520px) {
  .frame { aspect-ratio: 16 / 10; }
  .hud-row.top-row span:last-child { display: none; }
}

/* Portada con vídeo de fondo a sangre */
.stage { position: relative; min-height: clamp(560px, 92vh, 980px); display: flex; flex-direction: column; overflow: hidden; background: #07090c; color: #eef2f5; isolation: isolate; }
.stage-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.stage-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(5,10,18,0.70) 0%, rgba(8,20,36,0.25) 28%, rgba(8,20,36,0.30) 55%, rgba(5,9,14,0.88) 100%); }
.stage .top { width: 100%; }
.stage .brand { color: #eef2f5; }
.stage .brand span { color: #a3b8ca; }
.stage .top nav a { color: rgba(238,242,245,0.78); }
.stage .top nav a:hover { color: #fff; }
.stage-body { width: 100%; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; padding-block: 24px 56px; }
.stage .hud-row { color: rgba(238,242,245,0.7); }
.stage .hero-copy { margin-top: 0; }
.stage h1 { color: #eef2f5; text-shadow: 0 2px 30px rgba(0,0,0,0.35); }
.stage h1 em { color: #a3b8ca; font-style: normal; }
.stage .hero-side { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; min-width: 0; }
.stage p { color: rgba(238,242,245,0.85); }
.stage p strong { color: #fff; }
.vid-toggle { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(0,0,0,0.25); color: #eef2f5; border: 1px solid rgba(163,184,202,0.5); padding: 7px 12px; border-radius: 2px; cursor: pointer; }
.vid-toggle:hover { border-color: #a3b8ca; color: #a3b8ca; }
@media (max-width: 860px) { .stage { min-height: clamp(520px, 86vh, 820px); } }
/* Servicios en filas */
.svc-list { border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 36px; padding-block: 40px; border-bottom: 1px solid var(--line); align-items: start; }
.svc-text { display: flex; flex-direction: column; gap: 14px; min-width: 0; position: sticky; top: 24px; }
.svc h3 { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: clamp(34px, 3.6vw, 54px); line-height: 0.95; margin: 0; overflow-wrap: break-word; }
.svc p { margin: 0; color: var(--muted); max-width: 40ch; }
.svc-gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 16 / 7; max-width: 100%; min-width: 0; }
.svc-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; display: block; background: var(--surface); transition: transform .5s ease, filter .5s ease; }
.svc-gallery .g-main { grid-row: 1 / 3; }
.svc-gallery.single { grid-template-columns: 1fr; }
.svc-gallery.single .g-main { object-position: 50% 40%; }
.svc:hover .svc-gallery img { filter: saturate(1.08); }
.svc:hover h3 { color: var(--accent); }
.svc:nth-child(even) { grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr); }
.svc:nth-child(even) .svc-text { order: 2; }
/* Trabajos */
.reel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.work { display: flex; flex-direction: column; gap: 10px; min-width: 0; text-decoration: none; }
.work .still { aspect-ratio: 16 / 9; }
.work .still img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work .play { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; }
.work .play::before { content: ""; width: 54px; height: 54px; border-radius: 50%; background: rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.5); grid-area: 1 / 1; }
.work .play::after { content: ""; grid-area: 1 / 1; border-left: 15px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 5px; }
.work h3 { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: 24px; line-height: 1.05; margin: 0; }
.work:hover h3 { color: var(--accent); }
.w1 { background: linear-gradient(160deg, #1d3049, #07090c); }
.w2 { background: linear-gradient(160deg, #2a3f56, #0c1a2b); }
.w3 { background: linear-gradient(160deg, #3c5269, #0c1a2b); }
.w4 { background: linear-gradient(160deg, #13253a, #07090c); }
.w5 { background: linear-gradient(160deg, #24384f, #07090c); }
.w6 { background: linear-gradient(160deg, #31465c, #0c1a2b); }
.showreel { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; text-decoration: none; padding: 22px 24px; margin-bottom: 32px; background: var(--surface); border-radius: 3px; }
.showreel .sr-title { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: clamp(26px, 3.4vw, 40px); line-height: 1; }
.showreel:hover .sr-title { color: var(--accent); }
.reel-cta { margin-top: 36px; display: inline-flex; gap: 10px; align-items: center; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--line); padding: 10px 16px; border-radius: 2px; }
.reel-cta:hover { border-color: var(--accent); color: var(--accent); }
/* Guion */
.scripts { border-top: 1px solid var(--line); }
.script { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 24px; padding-block: 18px; border-bottom: 1px solid var(--line); align-items: baseline; }
.script h3 { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: 28px; line-height: 1; margin: 0; }
.script p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) {
  .svc, .svc:nth-child(even), .script { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .svc:nth-child(even) .svc-text { order: 0; }
  .svc-text { position: static; }
  .svc-gallery { aspect-ratio: 16 / 9; }
  .reel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) { .reel { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) {
  .rec::before { animation: none; }
}

/* ---------- Subpáginas ---------- */
.bar { background: var(--navy); color: #eef2f5; position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--navy); }
.bar .top { padding-block: 16px; }
.bar .brand { color: #eef2f5; } .bar .brand span { color: #a3b8ca; }
.bar nav a { color: rgba(238,242,245,0.75); }
.bar nav a:hover, .bar nav a[aria-current="page"] { color: #fff; }
.bar nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: #a3b8ca; }
.sub-hero { padding-block: 64px 48px; }
.crumb { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.crumb:hover { color: var(--fg); }
.sub-hero h1 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: clamp(40px, 13vw, 120px); line-height: 0.9; margin: 18px 0 0; letter-spacing: 0.01em; overflow-wrap: break-word; }
.sub-lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-top: 28px; align-items: end; }
.sub-lead p { margin: 0; font-size: 20px; line-height: 1.5; max-width: 46ch; }
.facts { display: flex; flex-wrap: wrap; gap: 28px 40px; margin: 0; }
.facts div { display: flex; flex-direction: column; gap: 2px; }
.facts dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.sub-cover { display: block; width: 100%; max-width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 3px; margin-top: 48px; cursor: zoom-in; background: var(--mist); }
.story { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 56px; }
.story h2 { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: clamp(34px, 4vw, 52px); line-height: 0.98; margin: 0; }
.story-body { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.story-body p { margin: 0; max-width: 62ch; }
.story-body h3 { font-family: var(--font-mono); font-weight: 500; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin: 14px 0 0; }
.highlights { list-style: none; margin: 4px 0 0; padding: 0; border-top: 1px solid var(--line); }
.highlights li { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); gap: 20px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.highlights strong { font-weight: 600; }
.highlights span { color: var(--muted); }
.gal { columns: 3 280px; column-gap: 12px; }
.gal button { display: block; width: 100%; padding: 0; margin: 0 0 12px; border: 0; background: var(--mist); border-radius: 3px; overflow: hidden; cursor: zoom-in; break-inside: avoid; }
.gal img { display: block; width: 100%; height: auto; transition: transform .6s ease; }
.gal button:hover img { transform: scale(1.03); }
.vgroup + .vgroup { margin-top: 56px; }
.vgroup h3 { font-family: var(--font-mono); font-weight: 500; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin: 0 0 20px; display: flex; gap: 12px; align-items: baseline; }
.vgroup h3 small { color: var(--muted); font-size: 12px; }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 28px 22px; }
.vcard { display: flex; flex-direction: column; gap: 10px; text-decoration: none; min-width: 0; }
.vcard .thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 3px; overflow: hidden; background: linear-gradient(160deg, #2a3f56, #0c1a2b); }
.vcard .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.vcard:hover .thumb img { transform: scale(1.04); }
.vcard .dur { position: absolute; right: 8px; bottom: 8px; font-family: var(--font-mono); font-size: 11.5px; background: rgba(7,9,12,0.75); color: #fff; padding: 2px 6px; border-radius: 2px; }
.vcard h4 { margin: 0; font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: 22px; line-height: 1.05; }
.vcard:hover h4 { color: var(--accent); }
.vcard p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.45; }
section.cta, section.cta:nth-of-type(n) { background: var(--navy); color: #eef2f5; border-top: 0; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: clamp(34px, 4.5vw, 56px); line-height: 1; margin: 0; }
.cta a.btn { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; background: #eef2f5; color: var(--navy); padding: 14px 24px; border-radius: 2px; }
.cta a.btn:hover { background: #a3b8ca; }
.others { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.others a { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 3px; overflow: hidden; text-decoration: none; background: var(--navy); }
.others img { width: 100%; height: 100%; object-fit: cover; opacity: 0.72; transition: opacity .4s, transform .6s; }
.others a:hover img { opacity: 0.9; transform: scale(1.03); }
.others span { position: absolute; left: 16px; bottom: 12px; font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: 30px; color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,0.5); }
/* Visor de fotos */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(5, 10, 18, 0.94); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.lb img { max-width: 100%; max-height: calc(100vh - 110px); margin: 0 auto; display: block; border-radius: 2px; object-fit: contain; }
.lb figure { margin: 0; display: flex; flex-direction: column; gap: 12px; align-items: center; min-width: 0; }
.lb figcaption { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.08em; color: #a3b8ca; text-align: center; }
.lb button { font: inherit; background: transparent; border: 1px solid rgba(238,242,245,0.3); color: #eef2f5; width: 46px; height: 46px; border-radius: 2px; cursor: pointer; font-size: 20px; }
.lb button:hover { border-color: #a3b8ca; color: #a3b8ca; }
.lb .lb-close { position: absolute; top: max(16px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); }
/* Enlaces desde la portada */
.svc-gallery a { display: block; min-width: 0; min-height: 0; border-radius: 3px; overflow: hidden; }
.svc-gallery a.g-main { grid-row: 1 / 3; }
.svc-gallery a img { transition: transform .6s ease; }
.svc-gallery a:hover img { transform: scale(1.04); }
.svc-more { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; color: var(--accent); border-bottom: 1px solid currentColor; padding-bottom: 2px; align-self: flex-start; }
.svc-more:hover { color: var(--fg); }
@media (max-width: 860px) {
  .sub-lead, .story { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .highlights li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .others { grid-template-columns: minmax(0, 1fr); }
  .lb { grid-template-columns: minmax(0, 1fr); }
  .lb .lb-prev, .lb .lb-next { position: absolute; bottom: max(16px, env(safe-area-inset-bottom, 0px)); }
  .lb .lb-prev { left: 16px; } .lb .lb-next { right: 16px; }
  .lb img { max-height: calc(100vh - 160px); }
}
/* ---------- Ficción ---------- */
.shorts { display: flex; flex-direction: column; gap: 64px; }
.short { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.short.flip .short-media { order: 2; }
.short-media { position: relative; display: block; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 3px; overflow: hidden; background: linear-gradient(160deg, #2a3f56, #0c1a2b); }
.short-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.short-media:hover img { transform: scale(1.03); }
.short-media .play { position: absolute; inset: 0; display: grid; place-items: center; }
.short-media .play::before { content: ""; width: 72px; height: 72px; border-radius: 50%; background: rgba(7, 9, 12, 0.45); border: 1px solid rgba(255,255,255,0.6); grid-area: 1 / 1; transition: background .3s; }
.short-media .play::after { content: ""; grid-area: 1 / 1; border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 6px; }
.short-media:hover .play::before { background: rgba(15, 34, 56, 0.75); }
.short-text { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.short-text h3 { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: clamp(36px, 4.4vw, 60px); line-height: 0.95; margin: 0; text-wrap: balance; }
.short-text .logline { font-size: 20px; line-height: 1.45; margin: 0; max-width: 40ch; }
.short-text p { margin: 0; color: var(--muted); max-width: 52ch; }
.projs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.proj { display: flex; flex-direction: column; gap: 12px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 3px; min-width: 0; }
.proj-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.proj h3 { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: 34px; line-height: 1; margin: 0; }
.proj p { margin: 0; color: var(--muted); }
.home-shorts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-bottom: 48px; }
.home-shorts a { display: flex; flex-direction: column; gap: 10px; text-decoration: none; min-width: 0; }
.home-shorts .short-media { width: 100%; }
.home-shorts h3 { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: 26px; line-height: 1; margin: 0; }
.home-shorts a:hover h3 { color: var(--accent); }
@media (max-width: 860px) {
  .short, .short.flip { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .short.flip .short-media { order: 0; }
  .home-shorts { grid-template-columns: minmax(0, 1fr); }
}
.awards { list-style: none; margin: 4px 0 0; padding: 0; border-top: 1px solid var(--line); }
.awards li { padding: 9px 0 9px 26px; border-bottom: 1px solid var(--line); position: relative; font-size: 15px; }
.awards li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border: 1.5px solid var(--accent); border-radius: 50%; }
.short-text .credits { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.03em; line-height: 1.6; }
.short > .short-media { position: sticky; top: 96px; }
@media (max-width: 860px) { .short > .short-media { position: relative; top: auto; } }
/* Reproductor de vídeo */
.vp { position: fixed; inset: 0; z-index: 120; background: rgba(5, 10, 18, 0.94); display: grid; place-items: center;
  padding: max(56px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(24px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.vp-inner { width: min(1200px, 100%, calc((100vh - 140px) * 16 / 9)); display: flex; flex-direction: column; gap: 12px; }
.vp-frame { position: relative; aspect-ratio: 16 / 9; width: 100%; background: #000; border-radius: 3px; overflow: hidden; }
.vp-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vp-title { margin: 0; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #a3b8ca; text-align: center; }
.vp-close { position: absolute; top: max(12px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); font: inherit; font-size: 20px; width: 44px; height: 44px; background: transparent; color: #eef2f5; border: 1px solid rgba(238,242,245,0.3); border-radius: 2px; cursor: pointer; }
.vp-close:hover { border-color: #a3b8ca; color: #a3b8ca; }
