/* ============================================================
   ESTILO.CSS — Hoja de estilos del sitio (modo oscuro)
   ------------------------------------------------------------
   ¿Quieres cambiar los colores o tipografías de todo el sitio?
   Edita SOLO las variables de este primer bloque :root.
   ============================================================ */

:root {
  /* --- Paleta (grafito + hueso + greige muted) --- */
  --fondo: #0e0e0d;        /* grafito cálido — fondo base */
  --fondo-2: #151514;      /* panel apenas más claro */
  --profundo: #0b0b0a;     /* el negro más profundo (hero, pie) */
  --texto: #e7e2d6;        /* hueso / alabastro — texto principal */
  --acento: #b0a595;       /* greige muted — único acento, usado poco */
  --lino: #e5e0d5;         /* lino — fondo de la sección clara */
  --linea: rgba(231, 226, 214, 0.12);

  /* --- Tipografías --- */
  --fuente-titulos: "Archivo", sans-serif;
  --fuente-acento: "Archivo", sans-serif;       /* acentos: misma grotesca, en greige */
  --fuente-mono: "IBM Plex Mono", monospace;    /* texto de apoyo / etiquetas */
  --fuente-texto: "Archivo", sans-serif;

  /* --- Métricas --- */
  --margen: clamp(1.25rem, 3.5vw, 3.5rem);
  --radio: clamp(1rem, 2vw, 2rem);
  --alto-nav: 4.5rem;
}

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--fuente-texto);
  background: var(--fondo);
  color: var(--texto);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
::selection { background: var(--texto); color: var(--profundo); }

/* Enlace de accesibilidad: aparece solo al navegar con teclado */
.saltar-contenido {
  position: fixed;
  top: 0.75rem; left: 0.75rem;
  z-index: 300;
  background: var(--texto);
  color: var(--profundo);
  padding: 0.6rem 1rem;
  border-radius: 99px;
  font-size: 0.8rem;
  transform: translateY(-200%);
}
.saltar-contenido:focus { transform: none; }

/* Precarga: pausa breve con el logo al entrar (una vez por sesión) */
.precarga {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--profundo);
  display: grid;
  place-items: center;
  /* La salida es en dos tiempos: primero se disuelve el logo (abajo),
     y con un pequeño retraso se funde el fondo — nada corta en seco */
  transition: opacity 1s cubic-bezier(0.45, 0, 0.15, 1) 0.4s, visibility 1s ease 0.4s;
}
.precarga.fuera { opacity: 0; visibility: hidden; }
.precarga_logo { display: grid; justify-items: center; }
.precarga_t {
  width: clamp(64px, 8vw, 96px);
  height: auto;
  opacity: 0;
  filter: blur(18px);
  animation:
    precarga-revela 2.1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards,
    precarga-respira 2.3s ease-in-out 2.3s infinite;
  transition: opacity 0.65s ease, filter 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
/* El logo se despide igual que llegó: se difumina y crece apenas */
.precarga.fuera .precarga_t {
  animation: none;
  opacity: 0;
  filter: blur(14px);
  transform: scale(1.12);
}
/* El punto pulsa como luz de grabación: la señal de que sigue cargando */
.precarga_t circle {
  animation: precarga-punto 1.5s ease-in-out 2.3s infinite;
}
@keyframes precarga-revela {
  to { opacity: 1; filter: blur(0); }
}
@keyframes precarga-respira {
  0%, 100% { opacity: 1; filter: brightness(1); }
  40% { opacity: 0.8; filter: brightness(0.72); }
  72% { opacity: 1; filter: brightness(1.32); }
}
@keyframes precarga-punto {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
/* Modo breve (la intro ya se vio en esta sesión, Home o About): la T
   aparece rápido y clara, sin la revelación lenta ni la respiración;
   cubre el arranque del video para que el negro no se vea como un bug */
.precarga--breve .precarga_t {
  animation: precarga-breve-entra 0.4s ease 0s forwards;
  filter: none;
}
.precarga--breve .precarga_t circle { animation: precarga-punto 1.4s ease-in-out 0.4s infinite; }
@keyframes precarga-breve-entra {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) { .precarga { display: none; } }

/* ---------- Temas por sección ---------- */
.seccion { position: relative; }
[data-tema="base"] { background: var(--fondo); color: var(--texto); }
[data-tema="panel"] { background: var(--fondo-2); color: var(--texto); }
[data-tema="profundo"] { background: var(--profundo); color: var(--texto); }
[data-tema="acento"] { background: var(--lino); color: #141412; }
[data-tema="luz"] { background: var(--lino); color: #141412; }

/* ---------- Tipografía ---------- */
h1, h2, h3 {
  font-family: var(--fuente-titulos);
  font-weight: 750;
  letter-spacing: -0.028em;
  line-height: 0.96;
  text-wrap: balance;
}
.titulo-gigante { font-size: clamp(2.2rem, 5.5vw, 5.1rem); text-transform: uppercase; }
.titulo-seccion { font-size: clamp(2rem, 5vw, 4.2rem); text-transform: uppercase; }
.acento-serif {
  font-family: var(--fuente-acento);
  font-style: normal;
  font-weight: inherit;
  letter-spacing: inherit;
}
h1 .acento-serif, h2 .acento-serif { color: var(--acento); }
[data-tema="acento"] h1 .acento-serif, [data-tema="acento"] h2 .acento-serif,
[data-tema="luz"] h1 .acento-serif, [data-tema="luz"] h2 .acento-serif { color: #6e675c; }
.parrafo { font-size: clamp(1rem, 1.35vw, 1.25rem); line-height: 1.55; max-width: 42ch; }
.etiqueta {
  font-family: var(--fuente-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 400;
  opacity: 0.75;
}

/* ============================================================
   NAVEGACIÓN
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--alto-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--margen);
  color: var(--texto);
  transition: color 0.35s ease;
}
.nav.nav--tinta { color: var(--profundo); }

.nav_logo {
  font-family: var(--fuente-titulos);
  font-weight: 650;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-size: 1.05rem;
  overflow: hidden;
  display: inline-flex;
}
.nav_logo span { display: inline-block; }
.nav_logo { display: inline-flex; align-items: baseline; gap: 0.45rem; }
.nav_logo_films { font-weight: 400; letter-spacing: 0.01em; }

.nav_links {
  display: flex;
  gap: 2.2rem;
  position: relative;
  align-items: center;
}
.nav_link {
  position: relative;
  font-family: var(--fuente-titulos);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-weight: 650;
  padding: 0.35rem 0;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}
.nav_link:hover, .nav_link.activo { opacity: 1; }
.nav_borde {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  pointer-events: none;
}
/* CTA del nav: texto con rodillo + subrayado (hereda .boton) */
.nav_cta { font-size: 0.8rem; }

/* Menú móvil */
.nav_hamburguesa { display: none; }
.menu-movil {
  position: fixed; inset: 0; z-index: 99;
  background: var(--profundo);
  color: var(--texto);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--margen);
  gap: 1rem;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
}
.menu-movil a {
  font-family: var(--fuente-titulos);
  font-size: clamp(2.2rem, 9vw, 3.5rem);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: -0.02em;
  overflow: hidden;
  display: block;
}
.menu-movil a > span { display: block; }

@media (max-width: 820px) {
  .nav_links { display: none; }
  .nav_hamburguesa {
    display: flex; flex-direction: column; gap: 5px;
    padding: 0.6rem 0.2rem;
  }
  .nav_hamburguesa i {
    display: block; width: 26px; height: 2px;
    background: currentColor;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav_hamburguesa.abierto i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav_hamburguesa.abierto i:nth-child(2) { opacity: 0; }
  .nav_hamburguesa.abierto i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
/* En celular el "Get in touch" del nav se ve apretado junto a la
   hamburguesa: lo dejamos solo en iPad y computadora */
@media (max-width: 640px) { .nav_cta.boton { display: none; } }

/* ============================================================
   HERO (portada)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--alto-nav) + 2rem) var(--margen) var(--margen);
  border-radius: 0 0 var(--radio) var(--radio);
  overflow: hidden;
  color: var(--texto);
}
.hero_fondo, .hero_fondo video, .hero_fondo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero_fondo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5, 8, 9, 0.82), rgba(5, 8, 9, 0.18) 55%);
}
.hero_contenido {
  /* Como la referencia: título a la izquierda, centrado verticalmente */
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: left;
  display: grid;
  justify-items: start;
  gap: 1.8rem;
}
.titulo-hero {
  /* Proporción medida de la referencia: 59px a 1200 de ancho ≈ 4.9vw */
  font-size: clamp(2.2rem, 5.5vw, 5.1rem);
  text-transform: uppercase;
  max-width: 20ch; /* 2 líneas: "Visual narratives" / "With intention." */
}
.hero_titulo { margin-bottom: 0; }

/* CTA del hero: sin borde, tipografía como los nav links (Home) y
   subrayado animado como el "Get in touch" de arriba */
.hero_cta {
  position: relative;
  display: inline-flex;
  justify-self: start;
  font-family: var(--fuente-titulos);
  font-size: 1rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  padding: 0.35rem 0;
  opacity: 0.9;
  transition: opacity 0.25s ease;
}
.hero_cta::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.32);
  transform-origin: left;
  opacity: 0.4;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}
.hero_cta:hover { opacity: 1; }
.hero_cta:hover::after { transform: scaleX(1); opacity: 1; }

/* Línea inferior del header: ubicación a la izquierda, Scroll a la derecha */
.hero_base .etiqueta { font-weight: 600; opacity: 0.9; font-size: 0.85rem; }
/* "Based in Mexico ——— Available worldwide" con línea al centro */
.hero_ubicacion { display: inline-flex; align-items: center; gap: 0.9rem; white-space: nowrap; }
.hero_ubicacion_linea {
  display: inline-block;
  width: clamp(1.8rem, 5vw, 4rem);
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}
/* En móvil se apila en dos líneas con la rayita como separador */
@media (max-width: 640px) {
  .hero_ubicacion {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    white-space: normal;
  }
  .hero_ubicacion_linea { width: 1.6rem; }
}
.hero_base {
  position: absolute;
  left: var(--margen); right: var(--margen);
  bottom: clamp(2rem, 4.5vh, 3.2rem);
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.hero_linea { display: block; overflow: hidden; }
.hero_linea > span { display: block; }

.hero_scroll {
  font-family: var(--fuente-mono);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0.9;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero_scroll::after {
  content: "";
  width: 1px; height: 2.4rem;
  background: currentColor;
  animation: gotear 1.8s ease-in-out infinite;
  transform-origin: top;
}
@keyframes gotear {
  0% { transform: scaleY(0); }
  50% { transform: scaleY(1); }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
/* En celular la burbuja de WhatsApp ocupa la esquina: el hint de Scroll
   sobra en táctil y evitamos que se encimen */
@media (max-width: 640px) { .hero_scroll { display: none; } }

/* ============================================================
   BANDA DE CLIENTES (logos blancos en grid, como la referencia)
   ============================================================ */
.logos_seccion {
  padding: clamp(4rem, 8vw, 7rem) var(--margen);
  display: grid;
  /* minmax(0,1fr): evita que la pista nowrap de logos infle la columna */
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.2rem, 4.5vw, 3.5rem);
  justify-items: center;
}
.logos_contenedor { width: 100%; min-width: 0; }

/* --- Slider horizontal de logos (derecha → izquierda) --- */
.marquesina--logos {
  border-block: none;
  padding: 0.5rem 0;
  /* Desvanecido en los extremos: los logos entran y salen en fade.
     Ancho en píxeles con tope (no porcentaje): en un celular ocupa
     ~28-40px por lado y en desktop hasta 140px. */
  --fade-logos: clamp(28px, 7vw, 140px);
  mask-image: linear-gradient(to right,
    transparent, #000 var(--fade-logos),
    #000 calc(100% - var(--fade-logos)), transparent);
  -webkit-mask-image: linear-gradient(to right,
    transparent, #000 var(--fade-logos),
    #000 calc(100% - var(--fade-logos)), transparent);
}
.marquesina--logos .marquesina_pista {
  align-items: center;
  gap: clamp(3.5rem, 7vw, 6.5rem);
  padding-right: clamp(3.5rem, 7vw, 6.5rem);
  animation-duration: 45s;
}
.marquesina_logo {
  height: clamp(2.7rem, 4.4vw, 4rem);
  width: auto;
  max-width: 280px;
  object-fit: contain;
  /* Refuerzo: cualquier PNG con transparencia se pinta blanco puro */
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.marquesina_logo:hover { opacity: 1; }

/* --- Marquesina (pista deslizante; con texto como respaldo) --- */
.marquesina {
  padding: 2.2rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquesina_pista {
  display: inline-flex;
  gap: 4rem;
  padding-right: 4rem;
  animation: desfile 28s linear infinite;
}
.marquesina:hover .marquesina_pista { animation-play-state: paused; }
.marquesina_item {
  font-family: var(--fuente-mono);
  font-size: clamp(0.9rem, 1.6vw, 1.2rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.45;
}
@keyframes desfile { to { transform: translateX(-100%); } }

/* ============================================================
   GRID DE TRABAJOS
   ============================================================ */
.trabajos { padding: clamp(4rem, 9vw, 8rem) var(--margen); }
.trabajos_encabezado {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
  flex-wrap: wrap;
}
.trabajos_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
}
.tarjeta { grid-column: span 1; }
.tarjeta--grande { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .trabajos_grid { grid-template-columns: 1fr; }
  .tarjeta { grid-column: 1 / -1; }
}

/* --- Tarjeta de proyecto --- */
.tarjeta {
  position: relative;
  cursor: pointer;
  display: block;
  text-align: left;
  width: 100%;
}
.tarjeta_visual {
  position: relative;
  border-radius: var(--radio);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--fondo-2);
}
.tarjeta--grande .tarjeta_visual { aspect-ratio: 21 / 10; }
.tarjeta_visual img, .tarjeta_visual video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.tarjeta_visual img {
  transition: opacity 0.4s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Tinta súper ligera para que el logo del cliente resalte */
.tarjeta_velo {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(8, 8, 7, 0.24);
  transition: background 0.6s ease;
  pointer-events: none;
}
.tarjeta:hover .tarjeta_velo,
.tarjeta.hover-activo .tarjeta_velo { background: rgba(8, 8, 7, 0.12); }

/* Logo del cliente centrado sobre el video (como la referencia) */
.tarjeta_visual img.tarjeta_logo {
  position: absolute;
  inset: auto;
  top: 50%; left: 50%;
  translate: -50% -50%;
  z-index: 3;
  height: clamp(2.8rem, 5vw, 4.4rem);
  width: auto;
  max-width: 52%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.tarjeta:hover .tarjeta_visual img.tarjeta_logo,
.tarjeta.hover-activo .tarjeta_visual img.tarjeta_logo { transform: scale(1.06); filter: brightness(0) invert(1); }
.tarjeta_visual video { opacity: 0; transition: opacity 0.4s ease; }
/* Player de la tarjeta grande (el tamaño lo calcula JS con el aspecto real) */
.tarjeta_visual iframe {
  opacity: 0;
  transition: opacity 0.45s ease;
}
/* Grande: visible al cargar; normales: solo durante el hover */
.tarjeta--grande .tarjeta_visual iframe.cargado { opacity: 1; }
.tarjeta.hover-activo .tarjeta_visual iframe.cargado { opacity: 1; }
.tarjeta:hover .tarjeta_visual img:not(.tarjeta_logo) { transform: scale(1.04); }
.tarjeta.con-video.hover-activo .tarjeta_visual img:not(.tarjeta_logo) { opacity: 0; }
.tarjeta.con-video.hover-activo .tarjeta_visual video { opacity: 1; }

.tarjeta_info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.9rem 0.25rem 0;
}
.tarjeta_titulo {
  /* Mismo tamaño que la etiqueta del cliente (jerarquía por peso) */
  font-family: var(--fuente-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tarjeta_meta { display: flex; gap: 0.6rem; align-items: baseline; flex-shrink: 0; }

/* ============================================================
   SECCIONES DE TEXTO / CTA / NOSOTROS
   ============================================================ */
.bloque {
  padding: clamp(4.5rem, 10vw, 9rem) var(--margen);
  border-radius: var(--radio);
}
.bloque--centrado { text-align: center; display: grid; justify-items: center; gap: 1.6rem; }
.lista-servicios {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}
.lista-servicios li {
  list-style: none;
  border: 1px solid var(--linea);
  border-radius: 99px;
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.lista-servicios li:hover { border-color: currentColor; }
/* Botón minimal: sin burbuja — texto en rodillo + subrayado que crece */
.boton {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: none;
  border-radius: 0;
  background: none;
  padding: 0.3rem 0;
  font-family: var(--fuente-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 400;
  position: relative;
  cursor: pointer;
}
.boton::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.32);
  transform-origin: left;
  opacity: 0.4;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}
.boton:hover::after { transform: scaleX(1); opacity: 1; }
.boton { transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.boton:hover { transform: scale(1.05); }

/* Botón "See more on Vimeo" al final del grid de Work */
.trabajos_mas {
  display: flex;
  justify-content: center;
  margin-top: clamp(3.5rem, 8vw, 6rem);
}
.boton-mas {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  position: relative;
  font-family: var(--fuente-mono);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 0.1rem;
  transition: color 0.3s ease;
}
.boton-mas svg {
  width: 20px; height: 20px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.boton-mas::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.3);
  transform-origin: left;
  opacity: 0.4;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}
.boton-mas:hover { color: var(--acento); }
.boton-mas:hover::after { transform: scaleX(1); opacity: 1; }
.boton-mas:hover svg { transform: translateX(5px); }

/* --- Intro del About: párrafo + servicios en dos columnas --- */
.intro-nosotros {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
@media (max-width: 820px) { .intro-nosotros { grid-template-columns: 1fr; } }
.intro-nosotros_texto {
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  max-width: 44ch;
}
.intro-nosotros .lista-servicios { margin-top: 0; }

/* --- Declaración de intro (About): statement con resaltes en beige --- */
/* Mismo grid que .fundadores (0.85fr 1.15fr) para que el statement quede
   alineado con el texto de founders; el label + statement van en la
   columna 2 y la 1 queda como sangría. En móvil se apila. */
.intro-declaracion-wrap { display: grid; justify-items: center; text-align: center; }
.intro-declaracion-col { display: grid; gap: clamp(1rem, 2vw, 1.6rem); justify-items: center; max-width: 100%; }
/* Statement ancho y centrado: llena la pantalla horizontalmente y se
   mantiene en pocas líneas (menos alto). */
.intro-declaracion {
  font-size: clamp(1.35rem, 2.4vw, 2.05rem);
  line-height: 1.3;
  font-weight: 400;
  max-width: min(88rem, 92vw);
  margin-inline: auto;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}
.intro-declaracion b { font-weight: 650; }
.resalte { color: var(--acento); }

/* --- Header secundario con video (About) --- */
.video-hero {
  position: relative;
  min-height: 72svh;
  display: grid;
  align-content: end;
  overflow: hidden;
  border-radius: 0 0 var(--radio) var(--radio);
}
.video-hero_fondo { position: absolute; inset: 0; }
.video-hero_fondo::after {
  /* tinta negra ligera para que el video no resalte tanto */
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 4, 0.45);
}
.video-hero_contenido { position: relative; z-index: 2; }

/* --- Why Two Waves (About) --- */
.porque_columnas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
}
@media (max-width: 820px) { .porque_columnas { grid-template-columns: 1fr; } }
.porque_destacado {
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
  font-weight: 650;
  line-height: 1.25;
  max-width: 34ch;
  margin-top: 1rem;
  color: var(--acento);
}

/* --- Kind words / reseñas de clientes (About) --- */
.resenas { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
.resenas_encabezado { display: grid; gap: 0.9rem; }
.resenas_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.75rem);
}
@media (max-width: 820px) { .resenas_grid { grid-template-columns: 1fr; } }
.resena {
  border-top: 1px solid var(--linea);
  padding-top: 1.4rem;
  display: grid;
  gap: 1rem;
  align-content: start;
  transition: border-color 0.35s ease;
}
.resena:hover { border-top-color: var(--acento); }
.resena_estrellas {
  color: var(--acento);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
}
.resena_texto {
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.55;
}
.resena_autor {
  font-family: var(--fuente-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--acento);
}

/* --- Fundadores (About) --- */
.fundadores {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding: clamp(4rem, 9vw, 8rem) var(--margen);
}
@media (max-width: 820px) { .fundadores { grid-template-columns: 1fr; } }
.fundadores_foto {
  border-radius: var(--radio);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-width: 460px;
}
.fundadores_foto img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.fundadores_texto { display: grid; gap: 1.5rem; justify-items: start; }
.fundadores_texto .parrafo {
  font-size: clamp(1.1rem, 1.55vw, 1.45rem);
  line-height: 1.5;
  max-width: 54ch;
  opacity: 0.9;
}
.fundadores_nombres {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.fundadores_nombre {
  display: grid;
  gap: 0.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--linea);
  min-width: 11rem;
  transition: border-color 0.35s ease;
}
.fundadores_nombre:hover { border-top-color: var(--acento); }
.fundadores_nombre_txt {
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1rem;
}
.fundadores_ig {
  font-family: var(--fuente-mono);
  font-size: 0.78rem;
  color: var(--acento);
  transition: color 0.3s ease;
}
.fundadores_nombre:hover .fundadores_ig { color: var(--texto); }

/* --- Proceso de trabajo (About) --- */
.proceso {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: 0 var(--margen) clamp(3rem, 7vw, 5rem);
}
@media (max-width: 820px) { .proceso { grid-template-columns: 1fr; } }
.proceso_fase {
  border-top: 1px solid var(--linea);
  padding-top: 1.2rem;
  display: grid;
  gap: 0.6rem;
  align-content: start;
}
.proceso_numero { font-family: var(--fuente-mono); font-size: 1.3rem; color: var(--acento); }
.proceso_titulo {
  font-size: 1.05rem;
  font-weight: 550;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.proceso_texto { font-size: 0.92rem; line-height: 1.55; opacity: 0.75; max-width: 38ch; }

/* --- Formulario de contacto --- */
.formulario {
  width: min(560px, 100%);
  display: grid;
  gap: 1.1rem;
  text-align: left;
  margin-top: clamp(1.8rem, 4.5vw, 3.2rem);
}
.formulario_fila {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
@media (max-width: 520px) { .formulario_fila { grid-template-columns: 1fr; } }
.formulario_campo { display: grid; gap: 0.45rem; }
.formulario input, .formulario textarea {
  font: inherit;
  color: var(--texto);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--linea);
  padding: 0.55rem 0.1rem;
  outline: none;
  border-radius: 0;
  transition: border-color 0.3s ease;
  resize: vertical;
}
.formulario input:focus, .formulario textarea:focus { border-color: var(--texto); }
/* Teléfono: selector de lada con bandera + número solo dígitos */
.telefono_grupo { display: flex; gap: 0.9rem; align-items: end; }
.telefono_grupo input { flex: 1; min-width: 0; }
.telefono_lada_caja {
  position: relative;
  border-bottom: 1px solid var(--linea);
  transition: border-color 0.3s ease;
}
.telefono_lada_caja:focus-within { border-color: var(--texto); }
.telefono_lada_visor {
  display: inline-block;
  padding: 0.55rem 0.1rem;
  font-family: var(--fuente-mono);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
  pointer-events: none;
}
.telefono_lada {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: pointer;
  font: inherit;
}
.formulario_enviar { justify-self: start; }
.formulario_gracias { color: var(--acento); opacity: 1; }

/* ── FORMULARIO MULTI-PASO (una pregunta a la vez, estilo Typeform) ── */
.contacto-flujo {
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  text-align: left;
}
.contacto-flujo-titulo {
  font-size: clamp(1.7rem, 3.8vw, 2.7rem);
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.flujo { width: 100%; position: relative; text-align: left; }
.flujo-barra {
  width: 100%; height: 1px; background: var(--linea);
  margin-bottom: clamp(2.25rem, 6vw, 3.75rem); overflow: hidden;
}
.flujo-fill {
  display: block; height: 100%; width: 25%;
  background: var(--texto);
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.paso { display: none; flex-direction: column; gap: 1.05rem; }
.paso.activa { display: flex; animation: pasoEntra 0.55s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes pasoEntra {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.paso-num {
  font-family: var(--fuente-mono); font-size: 0.68rem;
  letter-spacing: 0.3em; color: var(--acento); opacity: 0.65;
}
.paso-num .paso-i { color: var(--texto); opacity: 1; }
.paso-preg {
  font-size: clamp(1.4rem, 3.4vw, 2.05rem); font-weight: 550;
  line-height: 1.25; letter-spacing: -0.01em; color: var(--texto);
}
.paso input, .paso textarea {
  background: transparent; border: none;
  border-bottom: 1px solid var(--linea);
  padding: 0.7rem 0.15rem; font-family: inherit; font-size: 1.1rem;
  font-weight: 300; letter-spacing: 0.01em; color: var(--texto);
  border-radius: 0; resize: none; width: 100%;
  transition: border-color 0.4s ease;
}
.paso input::placeholder, .paso textarea::placeholder { color: rgba(176, 165, 149, 0.45); }
.paso input:focus, .paso textarea:focus { outline: none; border-bottom-color: var(--texto); }
.paso .invalido { border-bottom-color: #c25b52; }
/* Teléfono dentro del paso: reutiliza el visor + select ya existentes */
.paso .telefono_grupo { gap: 0.9rem; }
.paso .telefono_lada_visor { padding: 0.7rem 0.1rem; font-size: 1rem; }
.paso-nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem; margin-top: clamp(1.75rem, 4vw, 2.5rem);
}
.btn-atras {
  border: none; background: transparent; font-family: var(--fuente-mono);
  font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--acento); cursor: pointer; padding: 0.3rem 0;
  transition: color 0.3s ease;
}
.btn-atras:hover { color: var(--texto); }
.btn-atras[hidden] { display: none; }
.btn-linea {
  margin-left: auto; border: none; background: transparent;
  font-family: var(--fuente-mono); font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--texto); cursor: pointer;
  padding: 0.4rem 0; border-bottom: 1px solid var(--linea);
  display: inline-flex; align-items: center; gap: 0.55rem;
  transition: border-color 0.35s ease, color 0.35s ease;
}
.btn-linea .flecha { transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.btn-linea:hover { border-bottom-color: var(--acento); }
.btn-linea:hover .flecha { transform: translateX(5px); }
.btn-linea:disabled { opacity: 0.45; pointer-events: none; }
.btn-linea.grande { font-size: 0.8rem; }
.flujo .nota {
  margin-top: 1.5rem; text-align: center; min-height: 1em;
  font-family: var(--fuente-mono); font-size: 0.7rem;
  letter-spacing: 0.12em; color: var(--acento);
}

/* Botón grande del CTA (pill sólida sobre lino) */
.cta-boton {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: #141412;
  color: var(--lino);
  border-radius: 99px;
  padding: 1.1rem 2.4rem;
  font-family: var(--fuente-mono);
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease, color 0.3s ease;
}
.cta-boton::after { content: "→"; transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.cta-boton:hover { transform: scale(1.04); }
.cta-boton:hover::after { transform: translateX(0.35rem); }

.correo-grande {
  font-family: var(--fuente-mono);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1rem, 2vw, 1.55rem);
  border-bottom: 1px solid currentColor;
  transition: color 0.3s ease;
}
/* Botón grande del CTA (pill sólida sobre lino) */
.cta-boton {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: #141412;
  color: var(--lino);
  border-radius: 99px;
  padding: 1.1rem 2.4rem;
  font-family: var(--fuente-mono);
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease, color 0.3s ease;
}
.cta-boton::after { content: "→"; transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.cta-boton:hover { transform: scale(1.04); }
.cta-boton:hover::after { transform: translateX(0.35rem); }

.correo-grande { border-bottom-width: 1px; }
.correo-grande:hover { color: var(--acento); }
[data-tema="acento"] .correo-grande:hover, [data-tema="luz"] .correo-grande:hover { color: #6e675c; }

/* ============================================================
   PIE DE PÁGINA
   ============================================================ */
.pie {
  background: var(--profundo);
  color: var(--texto);
  padding: clamp(3rem, 7vw, 5rem) var(--margen) 1.5rem;
  border-radius: var(--radio) var(--radio) 0 0;
  margin-top: -1px;
}
.pie_superior {
  display: flex;
  justify-content: flex-start;
  gap: clamp(4rem, 12vw, 9rem);
  flex-wrap: wrap;
  padding-bottom: 3rem;
}
.pie_columna { display: grid; gap: 0.5rem; align-content: start; }
.pie_columna a { opacity: 0.75; transition: opacity 0.25s ease, color 0.25s ease; font-size: 0.95rem; }
.pie_columna a:hover { opacity: 1; }
/* Títulos de columna del pie: misma tipografía ancha de los headings */
.pie_titulo {
  font-family: var(--fuente-titulos);
  font-weight: 750;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.pie_nota { font-size: 0.75rem; opacity: 0.55; margin-top: 0.3rem; }
.pie_legal {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--linea);
  font-size: 0.75rem;
  opacity: 0.6;
  flex-wrap: wrap;
}

/* --- Firma del final de Contact: isotipo + datos --- */
.contacto-pie {
  display: grid;
  justify-items: center;
  gap: clamp(2.4rem, 5.5vw, 3.8rem);
  margin-top: clamp(3.5rem, 9vw, 6.5rem);
}
.contacto-pie_t { width: 34px; height: auto; opacity: 0.9; }
.contacto-pie_datos {
  display: flex;
  gap: clamp(2rem, 6vw, 4.5rem);
  flex-wrap: wrap;
  justify-content: center;
}
.contacto-pie_dato {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--fuente-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  opacity: 0.75;
  transition: opacity 0.3s ease, color 0.3s ease;
}
.contacto-pie_dato svg { width: 17px; height: 17px; flex: none; opacity: 0.9; }
/* Variante de solo iconos: 3 logos pequeños, parejos y bien separados */
.contacto-pie_datos--iconos { gap: clamp(2.6rem, 7vw, 4.2rem); }
.contacto-pie_datos--iconos .contacto-pie_dato svg { width: 21px; height: 21px; }
.contacto-pie_datos--iconos .contacto-pie_dato {
  opacity: 0.8;
  transition: opacity 0.3s ease, color 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.contacto-pie_datos--iconos .contacto-pie_dato:hover { opacity: 1; color: var(--acento); transform: translateY(-2px); }
.contacto-pie_dato:hover { opacity: 1; color: var(--acento); }

/* --- Botón flotante de WhatsApp --- */
.whatsapp {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 250;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease, translate 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0;
  translate: 0 16px;
  pointer-events: none;
}
.whatsapp--visible { opacity: 1; translate: 0 0; pointer-events: auto; }
.whatsapp:hover { transform: scale(1.07); }
.whatsapp svg { width: 32px; height: 32px; }
.whatsapp_tip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  translate: 0 -50%;
  background: #ffffff;
  color: #1c1c1c;
  font-size: 0.8rem;
  padding: 0.65rem 0.95rem;
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  animation: whatsapp-tip 0.5s ease 2.8s forwards;
}
.whatsapp_tip::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  translate: 0 -50%;
  border: 7px solid transparent;
  border-left-color: #ffffff;
}
@keyframes whatsapp-tip { to { opacity: 1; } }
@media (max-width: 640px) { .whatsapp_tip { display: none; } }

/* ============================================================
   MODAL DE AGRADECIMIENTO (formulario enviado)
   ============================================================ */
.modal-gracias {
  border: none;
  padding: 0;
  background: transparent;
  outline: none;
  margin: auto;
}
.modal-gracias::backdrop {
  background: rgba(4, 6, 7, 0.82);
  backdrop-filter: blur(8px);
}
.modal-gracias_caja {
  background: var(--fondo-2);
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  padding: clamp(2.5rem, 6vw, 4rem) clamp(2rem, 5vw, 3.5rem);
  width: min(480px, 90vw);
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1.1rem;
  color: var(--texto);
  animation: gracias-entra 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes gracias-entra {
  from { opacity: 0; transform: translateY(1.5rem); }
}
.modal-gracias_t { width: 44px; height: auto; margin-bottom: 0.4rem; }
.modal-gracias_t circle { transform-origin: 90% 11%; animation: precarga-punto 1.6s ease-in-out 0.4s infinite; }
.modal-gracias_titulo { font-size: 1.6rem; text-transform: uppercase; }
.modal-gracias_texto { font-size: 0.95rem; line-height: 1.55; opacity: 0.8; max-width: 34ch; }

/* ============================================================
   MODAL DE VIDEO (reproductor)
   ============================================================ */
.modal-video {
  border: none;
  padding: 0;
  background: transparent;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  outline: none;
}
.modal-video::backdrop { background: transparent; }
.modal-video_fondo {
  position: fixed; inset: 0;
  background: rgba(4, 6, 7, 0.9);
  backdrop-filter: blur(6px);
}
.modal-video_contenido {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 4rem);
  /* En pantallas bajas el contenido puede exceder el alto: scroll seguro */
  overflow-y: auto;
  padding-top: clamp(4rem, 8svh, 6rem);
}
.modal-video_caja { width: min(1100px, 100%); }
.modal-video_marco {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 70svh;
  border-radius: calc(var(--radio) * 0.75);
  overflow: hidden;
  background: #000;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
}

/* Panel de información estilo página de detalle */
.modal-video_info {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.6rem);
  margin-top: 1.4rem;
  color: var(--texto);
}
.modal-video_titulo {
  font-size: clamp(1.6rem, 3.6vw, 3rem);
  text-transform: uppercase;
}
.modal-video_columnas {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(1.5rem, 4vw, 4rem);
  flex-wrap: wrap;
}
.modal-video_metas { display: flex; gap: clamp(1.5rem, 4vw, 3.5rem); flex-shrink: 0; }
.modal-video_meta { display: grid; gap: 0.35rem; }
.modal-video_meta .etiqueta { opacity: 0.55; }
.modal-video_cliente, .modal-video_proyecto {
  font-family: var(--fuente-titulos);
  font-size: 0.95rem;
  font-weight: 550;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.modal-video_descripcion {
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 48ch;
  opacity: 0.78;
}
@media (max-width: 700px) {
  .modal-video_info { flex-direction: column; }
}
.modal-video_marco iframe, .modal-video_marco video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.modal-video_cerrar {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  color: var(--texto);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  padding: 0.7rem 1.2rem;
  border: 1px solid rgba(233, 241, 238, 0.35);
  border-radius: 99px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.modal-video_cerrar:hover { background: var(--texto); border-color: var(--texto); color: var(--profundo); }
.modal-video_titulo {
  position: absolute;
  left: clamp(1rem, 3vw, 2rem);
  top: clamp(1rem, 3vw, 2rem);
  color: var(--texto);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.8;
}

/* ============================================================
   ANIMACIONES DE ENTRADA (estado inicial lo pone JS)
   ------------------------------------------------------------
   El will-change lo aplica y limpia GSAP SOLO mientras anima
   (una regla CSS permanente crearía capas compositadas de más
   y hace que el scroll se sienta trabado).
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .marquesina_pista { animation: none; }
}

/* Grano cinematográfico sutil sobre todo el sitio */
/* Grano estático muy sutil (sin animación: más sobrio) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

/* ============================================================
   PÁGINAS DE PROYECTO (SEO): /cupra-formentor-2024, etc.
   Generadas por herramientas/generar-seo.js
   ============================================================ */
.pagina-proyecto_bloque {
  padding-top: calc(var(--alto-nav) + clamp(2rem, 5vw, 3.5rem));
  display: grid;
  gap: clamp(1.1rem, 2.5vw, 1.8rem);
}
.pagina-proyecto_migas a {
  font-family: var(--fuente-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--acento);
  transition: color 0.3s ease;
}
.pagina-proyecto_migas a:hover { color: var(--texto); }
.pagina-proyecto_titulo {
  font-size: clamp(2rem, 5vw, 4.2rem);
  text-transform: uppercase;
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.pagina-proyecto_metas { display: flex; gap: clamp(1rem, 3vw, 2rem); flex-wrap: wrap; }
.pagina-proyecto_player {
  position: relative;
  width: 100%;
  border-radius: var(--radio);
  overflow: hidden;
  background: #000;
  cursor: pointer;
  max-height: 78svh;
}
.pagina-proyecto_player img,
.pagina-proyecto_player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.pagina-proyecto_play {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.7rem;
  border: 0;
  background: rgba(5, 5, 4, 0.35);
  color: var(--texto);
  cursor: pointer;
  transition: background 0.35s ease;
}
.pagina-proyecto_play:hover { background: rgba(5, 5, 4, 0.15); }
.pagina-proyecto_play svg {
  width: clamp(3rem, 6vw, 4.2rem);
  height: auto;
  border: 1px solid rgba(231, 226, 214, 0.5);
  border-radius: 50%;
  padding: clamp(0.8rem, 1.6vw, 1.2rem);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease;
}
.pagina-proyecto_play:hover svg { transform: scale(1.07); border-color: var(--acento); }
.pagina-proyecto_play span {
  font-family: var(--fuente-mono);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.pagina-proyecto_descripcion { max-width: 62ch; opacity: 0.9; }
.pagina-proyecto_cta {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

/* --- Imagen de respaldo del hero: entra solo si el video no pudo
       reproducir (Vimeo caído o embed bloqueado); nunca pantalla negra --- */
.hero_poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero_poster.visible { opacity: 1; }
