/* danieditor.com — hoja única. Línea clara, tipo papel.
   Tokens y componentes del briefing 3-VISUAL-Y-DISENO.md */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --paper:    #DFE3DE;
  --band:     #E8EBE6;
  --ink:      #141714;
  --ink-soft: rgba(20,23,20,0.55);
  --rule:     rgba(20,23,20,0.13);
  --accent:   #2c6e4a;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease:  cubic-bezier(0.5, 0, 0.2, 1);
  --slide: cubic-bezier(0.62, 0.02, 0.2, 1);

  --pad-x: 34px;
}

html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
}
body.locked { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }

::selection { background: rgba(44,110,74,0.18); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* ============================ BANDA ============================ */
.band {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center;
  padding: 26px var(--pad-x);
  background: var(--band);
  border-bottom: 1px solid var(--rule);
}
.band--over {                     /* home: flota sobre el media */
  position: fixed; top: 0; left: 0; right: 0;
  background: none; border: 0;
  transition: background 0.3s ease, border-color 0.3s ease;
}
/* al bajar del hero a las secciones de papel, la banda se vuelve sólida */
.band--over.solid { background: var(--band); border-bottom: 1px solid var(--rule); }
.band--over.solid .burger span { background: var(--ink); }
.band--over.solid .brand strong { color: var(--ink); }
.band--over.solid .brand .role { color: var(--ink-soft); }
.band--over.solid .talk a,
.band--over.solid .band-lang a { color: var(--accent); }
body.home { position: relative; }

/* Home: Oficio y Créditos apilados bajo el hero, se llega bajando */
.home-sec {
  position: relative; z-index: 1; background: var(--paper);
  scroll-margin-top: 76px; padding: 8px 0 48px;
  border-top: 1px solid var(--rule);
}

.burger {
  position: relative; z-index: 2;
  width: 30px; height: 20px;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.burger span {
  position: absolute; left: 0; height: 1px; width: 28px;
  background: var(--ink);
  transition: width 0.4s var(--ease), background 0.3s ease;
}
.band--over .burger span { background: #f3f4f1; }
.burger span:nth-child(1) { top: 2px; }
.burger span:nth-child(2) { top: 9px; width: 20px; }
.burger span:nth-child(3) { top: 16px; }
.burger:hover span:nth-child(2) { width: 28px; }

.brand {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  white-space: nowrap; text-decoration: none;
}
.brand strong {
  font-size: 16px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
.brand .role {
  margin-top: 7px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(20,23,20,0.72);
}
.band--over .brand strong { color: #f6f7f4; }
.band--over .brand .role  { color: rgba(246,247,244,0.86); }

.talk { margin-left: auto; }
.talk a {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  color: var(--accent); text-decoration: none;
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
}
.band--over .talk a { color: #eef0ec; }
.talk-icon { width: 23px; height: 23px; }

/* toggle idioma en la banda (solo home móvil lo usa en vez de burger) */
.band-lang { display: none; font-size: 11px; letter-spacing: 0.14em; }
.band-lang a { color: rgba(246,247,244,0.55); text-decoration: none; }
.band-lang a.on { color: #f6f7f4; }

/* ============================ PANEL / MENÚ ============================ */
.panel {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--band);
  opacity: 0; visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.panel.open { opacity: 1; visibility: visible; }

.panel-close {
  position: absolute; top: 18px; left: 30px;
  width: 30px; height: 30px; background: none; border: 0; cursor: pointer;
}
.panel-close::before, .panel-close::after {
  content: ""; position: absolute; left: 3px; top: 14px; width: 24px; height: 1px; background: var(--ink);
}
.panel-close::before { transform: rotate(45deg); }
.panel-close::after  { transform: rotate(-45deg); }

.panel-links { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.panel-links a {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 4.8vw, 54px); line-height: 1.28;
  color: var(--ink); text-decoration: none;
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.25s ease;
}
.panel.open .panel-links a { opacity: 1; transform: none; }
.panel.open .panel-links a:nth-child(1) { transition-delay: 0.06s; }
.panel.open .panel-links a:nth-child(2) { transition-delay: 0.12s; }
.panel.open .panel-links a:nth-child(3) { transition-delay: 0.18s; }
.panel.open .panel-links a:nth-child(4) { transition-delay: 0.24s; }
.panel.open .panel-links a:nth-child(5) { transition-delay: 0.30s; }
.panel-links a.on { font-style: italic; }
.panel-links a:hover { color: var(--accent); }

.panel-lang {
  position: absolute; bottom: 44px;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.18em;
  opacity: 0; transition: opacity 0.5s var(--ease) 0.34s;
}
.panel.open .panel-lang { opacity: 1; }
.panel-lang a { color: rgba(20,23,20,0.42); text-decoration: none; }
.panel-lang a.on { color: var(--ink); font-weight: 500; }
.panel-lang .sep { color: rgba(20,23,20,0.25); }

/* ============================ HOME ============================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 128px 24px calc(96px + env(safe-area-inset-bottom));
  overflow-x: clip;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2; overflow: hidden;
  background-color: #0c0d0b;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transform: translateX(6%) scale(1.04);
  filter: blur(11px) brightness(0.62);
  transition: opacity 1.1s var(--slide), transform 1.1s var(--slide), filter 1.1s var(--slide);
}
.hero-slide.in {
  opacity: 1; transform: translateX(0) scale(1); filter: blur(0) brightness(0.82);
}
.hero-slide.out {
  opacity: 0; transform: translateX(-6%) scale(1.02); filter: blur(9px) brightness(0.6);
}
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(rgba(8,9,7,0.62) 0%, rgba(8,9,7,0.30) 34%, rgba(8,9,7,0.38) 62%, rgba(8,9,7,0.74) 100%);
}

.hero-tag {
  width: 100%;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(30px, 4.6vw, 56px); line-height: 1.1; color: #f0f2ee;
}
.hero-line {
  margin-top: 2px; width: 100%; overflow-wrap: break-word;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(58px, 11.5vw, 132px); line-height: 0.98; letter-spacing: -0.012em;
  color: #f7f8f5;
  text-wrap: balance;
}

.doors { display: flex; gap: 40px; margin-top: 64px; flex-wrap: wrap; justify-content: center; }
.door {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: rgba(238,240,236,0.82);
  transition: color 0.25s var(--ease);
}
.door-circle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 13px; height: 13px; border: 0;
  transition: transform 0.25s var(--ease);
}
.door-circle svg { width: 11px; height: 11px; fill: currentColor; }
.door-label {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  padding-bottom: 3px; border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}
.door:hover { color: #f6f7f4; }
.door:hover .door-circle { transform: translateX(2px); }
.door:hover .door-label { border-bottom-color: rgba(246,247,244,0.5); }

/* credencial del plano actual del slideshow — logo del festival/productora,
   abajo a la derecha, tamaño ≈ "Let's Talk". Aparece/desaparece con la imagen. */
.hero-cap {
  position: absolute; right: var(--pad-x); bottom: calc(28px + env(safe-area-inset-bottom));
  z-index: 1;
  display: inline-flex; align-items: center;
  opacity: 0; transition: opacity 1.1s var(--slide);
  pointer-events: none;
}
.hero-cap.in { opacity: 0.85; }
.hero-cap img { height: 39px; width: auto; display: block; }

.hero-coda {
  position: absolute; left: 0; right: 0; bottom: calc(30px + env(safe-area-inset-bottom));
  display: flex; justify-content: center; gap: 34px;
}
.hero-coda a {
  color: rgba(238,240,236,0.72); text-decoration: none;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  transition: color 0.25s ease;
}
.hero-coda a:hover { color: #eef0ec; }

.scroll-rail {
  position: absolute; left: 50%; bottom: 92px; transform: translateX(-50%);
  width: 1px; height: 54px; background: rgba(238,240,236,0.25); overflow: hidden;
}
.scroll-rail::after {
  content: ""; position: absolute; left: 0; top: -18px; width: 1px; height: 18px;
  background: #eef0ec;
  animation: rail 2.4s var(--ease) infinite;
}
@keyframes rail { 0% { top: -18px; } 60% { top: 100%; } 100% { top: 100%; } }

/* ============================ SECCIONES (spots) ============================ */
/* Publicidad: spots a sangre, todo el ancho (como siempre). Solo la cabecera se contiene. */
.section-head { padding: 52px var(--pad-x) 6px; max-width: 1080px; margin: 0 auto; }
.group-head { max-width: 1080px; margin: 0 auto; }
.kicker { font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-soft); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.nhead h1 {
  margin: 12px 0 10px;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(30px, 3.8vw, 46px); line-height: 1.02; letter-spacing: -0.012em;
}

/* Spots · Brand Films · Música — encabezado de bloque, mismo peso/tipo que el
   título de Narrativa, un escalón por debajo en tamaño (se repite tres veces) */
.group-head {
  padding: 40px var(--pad-x) 14px;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(26px, 3vw, 36px); line-height: 1.05; letter-spacing: -0.01em;
}
.group-head:first-of-type { padding-top: 16px; }

.spots { padding: 6px 0 10px; }

.spot {
  position: relative; display: block; width: 100%;
  aspect-ratio: 16 / 9; max-height: 78vh; overflow: hidden;
  margin-bottom: 8px;
  border: 0; padding: 0; text-align: left; cursor: pointer;
  border-radius: 12px;
  background: #0c0d0b;
  box-shadow: 0 1px 0 rgba(255,255,255,0.35), 0 18px 44px rgba(20,23,20,0.18);
}
.spot-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 42%;
  transform: scale(1.01);
  filter: brightness(0.6) saturate(0.8);
  transition: filter 0.6s ease, transform 3.4s ease;
}
.spot-veil {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(8,10,8,0.10) 0%, rgba(8,10,8,0.08) 50%, rgba(8,10,8,0.58) 100%);
  transition: background 0.6s ease;
}
.spot-sheen {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(120% 90% at 18% 8%, rgba(255,248,232,0.30) 0%, rgba(255,248,232,0.08) 34%, rgba(255,248,232,0) 62%);
  opacity: 0; mix-blend-mode: screen; transition: opacity 0.7s ease;
}
.spot-vignette {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  box-shadow: inset 0 0 120px rgba(0,0,0,0.42);
}
.spot:hover .spot-img { filter: brightness(1) saturate(1); transform: scale(1.03); }
.spot:hover .spot-veil { background: linear-gradient(rgba(8,10,8,0.02) 0%, rgba(8,10,8,0.02) 50%, rgba(8,10,8,0.46) 100%); }
.spot:hover .spot-sheen { opacity: 1; }

.spot-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; align-items: flex-end; gap: 20px;
  padding: 34px 40px; color: #f3f4f1;
}
.spot-title { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(23px, 2.8vw, 38px); line-height: 1.04; }
.spot-sub {
  display: block; margin-top: 8px;
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(243,244,241,0.68);
}
.spot-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(0.92);
  z-index: 3;
  width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid rgba(243,244,241,0.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.45s ease, transform 0.45s ease;
}
.spot-play svg { width: 15px; height: 15px; margin-left: 3px; fill: #f3f4f1; }
.spot:hover .spot-play { opacity: 1; transform: translate(-50%,-50%) scale(1); }

/* ============================ REPRODUCTORES A PANTALLA COMPLETA ============================ */
/* fuera de pantalla salvo en :fullscreen — vídeo propio (#spotplayer) y embed YT (#ytwrap) */
#spotplayer, #ytwrap {
  position: fixed; left: -9999px; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none;
}
#spotplayer:fullscreen, #ytwrap:fullscreen {
  left: 0; width: 100%; height: 100%; opacity: 1; pointer-events: auto; background: #000;
}
#ytwrap:fullscreen { display: flex; }
#ytwrap :is(iframe, #ytframe) { width: 100%; height: 100%; border: 0; }

/* ============================ NARRATIVA — Documental y Ficción ============================ */
.narrative { max-width: 1080px; margin: 0 auto; }
.nhead { padding: 52px var(--pad-x) 6px; }
/* .nhead h1 se define junto a .section-head h1 (misma tipo en ambas secciones) */
/* roster rotativo: un festival/cadena cada vez (pase de diapo, funciona en móvil) */
.nroster {
  position: relative; height: 1.5em;
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(20,23,20,0.88); font-weight: 500;
}
.nroster span {
  position: absolute; left: 0; top: 0;
  opacity: 0; transform: translateY(4px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.nroster span.on { opacity: 1; transform: none; }

.nlist { padding: 26px 0 60px; }
.nrow { border-top: 1px solid var(--rule); }
.nrow:last-child { border-bottom: 1px solid var(--rule); }
.nrow-head {
  width: 100%; display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding: 18px var(--pad-x); background: none; border: 0; cursor: pointer; text-align: left;
  transition: background 0.3s ease;
}
.nrow-head:hover { background: rgba(20,23,20,0.06); }
.nrow-t {
  font-family: var(--serif); font-weight: 400; font-size: clamp(21px, 2.3vw, 30px); line-height: 1.08;
  transition: font-style 0s;
}
.nrow-head:hover .nrow-t,
.nrow.open .nrow-t { font-style: italic; }
.nrow-f { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(20,23,20,0.9); font-weight: 500; white-space: nowrap; }
.nrow.open .nrow-head { background: transparent; }

/* la ficha se revela: el hueco crece con rampa y deja ver algo que ya estaba ahí */
.npanel-wrap {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s cubic-bezier(0.62, 0.02, 0.2, 1);
}
.nrow.open .npanel-wrap { grid-template-rows: 1fr; }
.npanel { overflow: hidden; min-height: 0; }
.npanel > .ficha { margin: 4px var(--pad-x) 16px; }

.ficha {
  position: relative; overflow: hidden; border-radius: 12px;
  display: grid; grid-template-columns: minmax(0, min(440px, 56%)) 1fr;
  min-height: 360px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.35), 0 20px 46px rgba(20,23,20,0.22);
}
.ficha-img {
  background: #0c0d0b center / cover no-repeat; position: relative;
}
.ficha-img::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 120px rgba(0,0,0,0.5); }

.caja {
  z-index: 2; background: #ECEFEA;
  display: flex; flex-direction: column;
  padding: 36px 38px 30px;
}
.caja .nsyn { font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 1.44; color: rgba(20,23,20,0.5); }
.caja .ncut { margin-top: auto; padding-top: 24px; }
.caja .nlab { font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.caja .ncut p:not(.nlab) {
  font-family: var(--serif); font-size: clamp(18px, 1.9vw, 23px); line-height: 1.42; color: var(--ink);
}
.caja .ncred {
  margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--rule);
  font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft);
  line-height: 1.9; text-align: right;
}

.nframe {
  position: absolute; right: 40px; bottom: 36px; z-index: 3;
  width: 60px; height: 60px; border-radius: 50%;
  border: 1px solid rgba(243,244,241,0.75); background: rgba(12,14,12,0.25);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background 0.3s ease;
}
.nframe:hover { background: rgba(243,244,241,0.18); }
.nplay { display: flex; }
.nplay svg { width: 15px; height: 15px; fill: #f3f4f1; margin-left: 3px; }

#nplayer { position: fixed; left: -9999px; width: 1px; height: 1px; opacity: 0; }
#nplayer:fullscreen { position: fixed; inset: 0; left: 0; width: 100%; height: 100%; opacity: 1; background: #000; }

@media (prefers-reduced-motion: reduce) {
  .npanel-wrap { transition: none; }
}

@media (max-width: 640px) {
  .nhead, .section-head { padding: 32px var(--pad-x) 4px; }
  .nrow-head { gap: 5px; flex-direction: column; align-items: flex-start; }
  .nrow-f { white-space: normal; }
  .npanel > .ficha { margin: 4px var(--pad-x) 14px; }
  .ficha { grid-template-columns: 1fr; min-height: 0; }
  .ficha-img { order: -1; aspect-ratio: 16 / 9; }
  .caja { padding: 22px 20px 24px; }
  .caja .ncut { margin-top: 18px; }
  .caja .ncred { text-align: left; }
  .nframe { top: 14px; right: 14px; bottom: auto; width: 46px; height: 46px; background: rgba(12,14,12,0.55); }
}

/* ============================ PROSA (Oficio / Créditos) ============================ */
.prose { max-width: 1080px; margin: 0 auto; }
.prose .section-head { padding-bottom: 8px; max-width: none; margin: 0; }
.prose .group-head { max-width: none; margin: 0; }
.prose-lead {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(24px, 3vw, 38px); line-height: 1.12; letter-spacing: -0.014em;
  margin: 12px 0 0; max-width: 22ch;
}
.prose-sublead {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(16px, 1.7vw, 20px); line-height: 1.42; color: var(--ink);
  margin: 14px 0 0; max-width: 42ch;
}
.prose-body { max-width: 760px; padding: 0 var(--pad-x); }

/* imagen de cabecera de Oficio (provisional: se elige el frame) */
.craft-hero {
  margin: 24px var(--pad-x) 0; border-radius: 12px; overflow: hidden;
  aspect-ratio: 21 / 9; background: #0c0d0b center / cover no-repeat;
  box-shadow: 0 1px 0 rgba(255,255,255,0.35), 0 20px 46px rgba(20,23,20,0.2);
}

/* bloque de Oficio: número fantasma grande · TÍTULO · subtítulo · cuerpo en serif.
   mucho aire, para que respire — es una página de alguien visual */
.cblock { padding: 72px 0 10px; border-top: 1px solid var(--rule); }
.cblock:first-of-type { border-top: 0; padding-top: 40px; }
.cblock-n {
  display: block; font-family: var(--serif); font-weight: 600;
  font-size: clamp(40px, 6vw, 68px); line-height: 0.85;
  color: rgba(20,23,20,0.14); margin-bottom: 10px;
}
.cblock-n span { color: var(--accent); font-size: 11px; letter-spacing: 0.1em; vertical-align: super; }
.cblock-t {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(26px, 3vw, 37px); line-height: 1.06; letter-spacing: -0.014em;
}
.cblock-s {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(16px, 1.6vw, 19px); color: var(--ink); margin: 10px 0 24px;
}
.cblock-b p {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(16px, 1.55vw, 18px); line-height: 1.72; color: rgba(20,23,20,0.82);
  margin-bottom: 16px; white-space: pre-line; max-width: 40em;
}
.cblock-b p:last-child { margin-bottom: 0; }

/* Créditos */
.cred-group { padding: 34px 0 0; border-top: 1px solid var(--rule); margin-bottom: 34px; }
.cred-group:first-of-type { border-top: 0; }
.cred-group > h2, .cred-group > h3 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(21px, 2.2vw, 27px); line-height: 1.1; letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.cred-line { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; font-size: 14.5px; flex-wrap: wrap; border-bottom: 1px solid rgba(20,23,20,0.06); }
.cred-line span:first-child { font-family: var(--serif); font-size: 17px; }
.cred-line span:last-child { color: var(--ink-soft); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; text-align: right; align-self: center; }
.cred-names {
  font-family: var(--serif); font-size: clamp(17px, 1.7vw, 20px); line-height: 1.95; color: rgba(20,23,20,0.9);
  margin-bottom: 26px;
}
.cred-names:last-child { margin-bottom: 0; }
.cred-names i { font-style: normal; color: rgba(20,23,20,0.24); margin: 0 8px; }
/* Clientes = el centro de la página: sub-etiqueta pequeña por categoría */
.cred-clients > h2, .cred-clients > h3 { font-size: clamp(24px, 2.6vw, 33px); }
.cred-sub {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft);
  margin: 4px 0 6px;
}
.cred-links a { color: var(--accent); text-decoration: none; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; margin-right: 22px; }

.placeholder-note {
  margin: 0 var(--pad-x) 10px; padding: 10px 14px;
  background: rgba(44,110,74,0.07); border-left: 2px solid var(--accent); border-radius: 0 5px 5px 0;
  font-size: 11px; letter-spacing: 0.04em; color: rgba(20,23,20,0.72);
}

/* ============================ FOOTER ============================ */
footer {
  padding: 46px 24px calc(52px + env(safe-area-inset-bottom));
  text-align: center;
}
footer a {
  font-size: 9.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-soft);
  text-decoration: none; transition: color 0.25s ease;
}
footer a:hover { color: var(--accent); }

/* ============================ MÓVIL ============================ */
@media (max-width: 640px) {
  :root { --pad-x: 16px; }
  .band { padding: 18px 16px; }
  .brand strong { font-size: 12px; letter-spacing: 0.12em; }
  .brand .role { font-size: 7.5px; letter-spacing: 0.14em; margin-top: 5px; }
  .talk a { font-size: 8px; letter-spacing: 0.14em; gap: 5px; }
  .talk-icon { width: 19px; height: 19px; }
  .burger { width: 24px; } .burger span { width: 22px; } .burger span:nth-child(2) { width: 15px; }
  .panel-close { left: 16px; }

  /* home móvil: idioma a la izquierda en vez de hamburguesa */
  body.home .band .burger { display: none; }
  body.home .band-lang { display: inline-flex; gap: 8px; }

  .hero { padding: 15vh 20px 15vh; min-height: 100svh; }
  .hero-scrim { background: linear-gradient(rgba(8,9,7,0.54) 0%, rgba(8,9,7,0.18) 48%, rgba(8,9,7,0.48) 100%); }
  .hero-tag { font-size: clamp(24px, 7vw, 34px); }
  .hero-line { font-size: clamp(46px, 14vw, 72px); line-height: 1.04; }
  .hero-line span { display: block; }
  .doors { width: 100%; gap: 12px; margin-top: 7vh; flex-wrap: wrap; }
  .door { gap: 7px; }
  .door-circle { width: 10px; height: 10px; }
  .door-circle svg { width: 9px; height: 9px; }
  .door-label { font-size: 9px; letter-spacing: 0.1em; padding-bottom: 2px; }
  .scroll-rail { display: none; }
  .hero-cap {
    right: 16px; bottom: calc(56px + env(safe-area-inset-bottom));
  }
  .hero-cap img { height: 32px; }
  .hero-coda {
    justify-content: center; gap: 24px;
    bottom: calc(30px + env(safe-area-inset-bottom));
  }
  .hero-coda a { font-size: 10px; letter-spacing: 0.18em; }

  .group-head { padding: 30px var(--pad-x) 10px; font-size: clamp(23px, 6.5vw, 30px); }
  .group-head:first-of-type { padding-top: 10px; }
  .spot { aspect-ratio: 4 / 3; margin-bottom: 7px; border-radius: 9px; }
  .spot-img { filter: brightness(0.72) saturate(0.9); }
  .spot-body { padding: 22px 18px; gap: 12px; }
  .spot-title { font-size: 21px; }
  .spot-sub { font-size: 9px; letter-spacing: 0.12em; margin-top: 7px; }
  .spot-play { width: 50px; height: 50px; opacity: 1; transform: translate(-50%,-50%) scale(1); }
}

/* ============================ MOVIMIENTO REDUCIDO ============================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hero-slide { filter: brightness(0.8) !important; transform: none !important; }
  .spot:hover .spot-img { transform: none; }
}
