/* =========================================================================
   ESTILOS — sistema de diseño + componentes + páginas
   Breakpoints: 991 / 767 / 479 (+ galería 1440 / 1024 / 640 / 360)
   ========================================================================= */

:root {
  --bg-milk: #f6f5f3;
  --bg-green: #2f2e2a; /* carbón cálido (nombre de variable histórico) */
  --on-dark: #f6f5f3;  /* texto sobre fondo carbón */
  --black: #000000;
  --text: #333333;
  --white: #ffffff;
  --border: #c2c2c2;

  --display: 'Bodoni Moda', 'Cormorant Garamond', Georgia, serif;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', 'Manrope', system-ui, sans-serif;

  --pad: 50px;
  --nav-h: 64px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 20px;
  color: var(--text);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-weight: 400; }
[hidden] { display: none !important; }
:focus-visible { outline: 1px solid var(--black); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 10px; top: -60px; z-index: 200; background: var(--black); color: var(--white); padding: 8px 14px; }
.skip-link:focus { top: 10px; }

/* ---------- Utilidades tipográficas ---------- */
.label {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.serif-upper { font-family: var(--serif); text-transform: uppercase; }
.link-underline {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.3s;
}
.link-underline:hover { opacity: 0.6; }
.display-lg { font-family: var(--display); font-size: clamp(40px, 6vw, 80px); line-height: 1; }
.mask { display: block; overflow: hidden; }
.mask__in { display: block; }

/* =========================================================================
   NAVBAR + MENÚ
   ========================================================================= */
.navbar {
  position: absolute;
  top: 0; left: 0;
  z-index: 100;
  width: 100vw;
  max-width: 100%;
  height: var(--nav-h);
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
body.menu-open .navbar { position: fixed; }
.navbar__contact {
  font-size: 16px;
  font-weight: 300;
  transition: transform 0.3s;
  min-width: 100px;
}
.navbar__contact:hover { transform: translateY(-2px); }
.navbar__logo {
  font-family: var(--display);
  font-size: 42px;
  line-height: 64px;
  letter-spacing: -0.5px;
  white-space: nowrap;
  display: flex;
  align-items: center;
}
.navbar__logo img { display: block; height: 50px; width: auto; }
.navbar__burger {
  width: 100px;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 7px;
}
.navbar__burger span {
  display: block;
  width: 30px;
  height: 1px;
  background: var(--black);
  transition: transform 0.4s cubic-bezier(.65,0,.35,1);
}
body.menu-open .navbar__burger span { background: var(--on-dark); }
body.menu-open .navbar__logo img { filter: brightness(0) invert(0.96); }
body.menu-open .navbar__contact { color: var(--on-dark); }
body.menu-open .navbar__burger span:first-child { transform: translateY(4px) rotate(45deg); }
body.menu-open .navbar__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: var(--bg-green);
  padding: 50px 50px 100px;
  z-index: 99;
  display: none;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 20px;
  clip-path: inset(0 0 0 0);
}
.menu.is-open { display: flex; }
.nav-item {
  display: flex;
  gap: 40px;
  align-items: flex-end;
  height: 120px;
  color: var(--on-dark);
}
.nav-item__title {
  font-family: var(--display);
  font-size: clamp(48px, 8vw, 110px);
  line-height: 1;
  white-space: nowrap;
}
.nav-item__desc {
  display: none;
  max-width: 280px;
  font-size: 16px;
  line-height: 22px;
  padding-bottom: 14px;
}
.nav-item:hover .nav-item__desc,
.nav-item:focus-visible .nav-item__desc { display: flex; animation: fadeIn 0.2s ease both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* =========================================================================
   HERO
   ========================================================================= */
.section-intro {
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  padding: var(--nav-h) var(--pad) 20px;
}
.intro__stage { position: relative; flex: 1; display: flex; min-height: 0; }
.intro__frame {
  position: relative;
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  background: #1d2a33;
}
.intro__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease; /* fundido entre clips (FADE en render.js) */
}
.intro__video.is-active { opacity: 1; z-index: 1; }
.intro__title {
  position: absolute;
  right: 6px;
  bottom: 4px;
  left: 20px;
  z-index: 2;
  font-family: var(--display);
  font-size: 80px;
  line-height: 0.95;
  color: var(--white);
  text-transform: uppercase;
  text-align: right;
}
.line { display: block; overflow: hidden; }
.line > span { display: block; }
/* Aire arriba para que no se corten las tildes (Ó, Á) ni la flotación del título */
.intro__title .line { padding-top: 0.14em; margin-top: -0.14em; }
.intro__title .w { display: inline-block; will-change: transform; }
.intro__credit {
  align-self: flex-end;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 10px 0 14px;
}

/* =========================================================================
   SECCIÓN NOMBRES ("Somos")
   ========================================================================= */
.section-nosotros {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  padding: 80px 0 120px;
  background: rgba(246, 245, 243, 0);
}
.no-motion .section-nosotros { background: var(--bg-milk); }
/* ---------- Home: "Somos" en dos columnas (foto + texto) ---------- */
.quienes {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: end;
  gap: 64px;
  padding: 140px var(--pad) 160px;
  background: var(--bg-milk);
  color: var(--text);
}
.quienes__photo {
  margin: 0;
  aspect-ratio: 3 / 2; /* foto de Danu & Nahu (1800×1202) */
  overflow: hidden;
}
.quienes__photo img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.quienes__body { display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: 8px; }
.quienes__label { margin-bottom: 28px; }
.quienes__title {
  font-family: var(--display);
  font-size: clamp(64px, 8.4vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin-bottom: 44px;
}
.quienes__title .line { padding-top: 0.08em; margin-top: -0.08em; }
.quienes__title em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.82em;
  padding-right: 0.06em;
}
.quienes__lead {
  font-family: var(--serif);
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.18;
  max-width: 26ch;
  margin-bottom: 20px;
}
.quienes__text {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  max-width: 40ch;
  margin-bottom: 36px;
}

.names-text {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.25;
  text-transform: uppercase;
  text-align: center;
  max-width: 560px;
  padding: 0 20px;
}

/* =========================================================================
   GALERÍAS DE PELÍCULAS
   ========================================================================= */
.section-peliculas {
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.gallery { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.gallery__title, .gallery__tabs {
  padding-left: var(--pad);
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1.1;
  text-transform: uppercase;
}
.gallery__tabs { display: flex; flex-wrap: wrap; gap: 0 14px; }
.gallery__tab {
  font: inherit;
  text-transform: inherit;
  color: var(--border);
  transition: color 0.3s;
}
.gallery__tab:hover, .gallery__tab.is-active { color: var(--text); }
.gallery-container { position: relative; }
.gallery-container .swiper { overflow: hidden; }
.gallery-container .swiper-wrapper { align-items: flex-start; transition-timing-function: cubic-bezier(.25,.1,.25,1) !important; }

.film-slide {
  width: 22vw !important;
  border-radius: 12px;
  overflow: hidden;
  transition: width 0.4s cubic-bezier(.25,.1,.25,1), transform 0.3s;
  will-change: width;
}
.film-slide__link { display: block; }
.film-slide__media {
  position: relative;
  aspect-ratio: 16 / 9; /* el alto acompaña al ancho: al pasar el mouse el video se abre entero, sin recortes */
  border-radius: 0.75rem;
  overflow: hidden;
  background: #ddd;
}
.video-preview, .film-slide__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-preview { z-index: 2; transition: opacity 0.4s; }
.video-preview.fade-out { opacity: 0; }
.film-slide__sound {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.9);
  color: var(--black);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s, transform 0.3s;
}
.film-slide.is-sound .film-slide__sound { opacity: 1; transform: none; }
.film-slide__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 8px 0;
  text-align: center;
}
.film-slide__title { font-family: var(--display); font-size: 18px; line-height: 1.1; }
.film-slide__couple { font-size: 11px; line-height: 14px; letter-spacing: 0.5px; text-transform: uppercase; }

.film-slide__link { cursor: pointer; }

/* ---------- Lightbox de video (galerías) ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 64px 24px;
  background: rgba(20, 19, 17, 0.96);
  color: var(--on-dark);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.lightbox.is-open { opacity: 1; }
.lightbox__video {
  width: min(calc(100% - 128px), calc((100vh - 128px) * 16 / 9)); /* deja lugar a las flechas */
  min-width: 0;
  max-height: calc(100vh - 128px);
  aspect-ratio: 16 / 9;
  background: #000;
  transform: scale(0.96);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.lightbox.is-open .lightbox__video { transform: none; }
.lightbox__drive {
  position: relative;
  flex: none;
  width: min(calc(100% - 128px), calc((100vh - 128px) * 16 / 9));
  aspect-ratio: 16 / 9;
  background: #000;
}
.lightbox__drive iframe { width: 100%; height: 100%; border: 0; display: block; }
/* Tapa el botón "abrir en otra ventana" de Drive (arriba a la derecha) */
.lightbox__shield { position: absolute; top: 0; right: 0; width: 72px; height: 64px; }
.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  transition: opacity 0.3s;
}
.lightbox__nav {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(246, 245, 243, 0.35);
  border-radius: 50%;
  transition: background 0.3s, color 0.3s;
}
.lightbox__nav:hover { background: var(--on-dark); color: var(--bg-green); }
.lightbox__close:hover { opacity: 0.6; }
.lightbox.is-single .lightbox__nav { visibility: hidden; }
.lightbox-open, .lightbox-open body { overflow: hidden; }
@media (max-width: 767px) {
  .lightbox { padding: 64px 0; flex-wrap: wrap; align-content: center; gap: 24px 16px; }
  .lightbox__video, .lightbox__drive { width: 100%; order: -1; flex-basis: 100%; }
}

@media (hover: hover) { .film-slide.hovered { width: calc(15px + 44vw) !important; z-index: 10; } }
@media (hover: hover) and (max-width: 1440px) { .film-slide.hovered { width: calc(15px + 50vw) !important; } }
@media (hover: hover) and (max-width: 1024px) { .film-slide.hovered { width: 55vw !important; } }
@media (hover: hover) and (max-width: 640px) { .film-slide.hovered { width: 80vw !important; } }
@media (hover: hover) and (max-width: 360px) { .film-slide.hovered { width: 85vw !important; } }

.gallery-arrow {
  position: absolute;
  top: calc(22vw * 9 / 32 - 22px);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: grid;
  place-items: center;
  color: var(--black);
  transition: 0.3s;
}
.gallery-arrow:hover { background: var(--white); transform: scale(1.06); }
.gallery-arrow--prev { left: 20px; }
.gallery-arrow--next { right: 20px; }
.gallery-arrow.swiper-button-disabled { opacity: 0; pointer-events: none; }

/* =========================================================================
   TESTIMONIOS
   ========================================================================= */
.section-testimonios {
  position: relative;
  background: var(--bg-milk);
  min-height: 720px;
  padding: 120px 0;
  display: flex;
  align-items: center;
}
.testimonios-swiper { width: 100%; }
.testimonio {
  padding: 0 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
  background: var(--bg-milk);
}
.testimonio__quotes { display: flex; flex-direction: column; align-items: center; gap: 22px; }
/* Mensaje de voz dentro de un testimonio */
.voice { display: flex; align-items: center; gap: 16px; width: min(380px, 100%); }
.voice__btn { flex: none; display: grid; place-items: center; color: var(--text); transition: opacity 0.3s; }
.voice__btn:hover { opacity: 0.6; }
.voice__pause, .voice.is-playing .voice__play { display: none; }
.voice.is-playing .voice__pause { display: block; }
.voice__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.voice__label { font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1; }
.voice__bar { position: relative; width: 100%; height: 13px; cursor: pointer; }
.voice__bar::before, .voice__fill { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: currentColor; }
.voice__bar::before { opacity: 0.2; }
.voice__fill { display: block; transform: scaleX(0); transform-origin: left; }
.voice__time { flex: none; font-size: 12px; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; opacity: 0.7; min-width: 3ch; }
.testimonio__quote {
  /* misma letra y tamaño que "Filmmakers de bodas para quienes quieren algo distinto" (.quienes__lead) */
  font-family: var(--serif);
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.18;
  max-width: 760px;
  text-wrap: balance;
}
.chevron {
  position: absolute;
  top: 50%;
  z-index: 5;
  padding: 10px;
  transform: translateY(-50%);
  color: var(--text);
  transition: opacity 0.3s;
}
.chevron:hover { opacity: 0.5; }
.chevron--prev { left: 30px; }
.chevron--next { right: 30px; }

/* =========================================================================
   INSTAGRAM
   ========================================================================= */
.section-instagram {
  height: 60vh;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
}
.instagram__title {
  margin-left: var(--pad);
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1.1;
  text-transform: uppercase;
}
.instagram__viewport { overflow: hidden; }
.instagram__track { display: flex; width: max-content; will-change: transform; }
.instagram__set-clone { display: flex; }
.instagram__item {
  flex: none;
  width: 200px;
  height: 200px;
  margin-right: 10px;
  border-radius: 8px;
  overflow: hidden;
}
.instagram__item img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
  background: var(--bg-green);
  min-height: 200px;
  padding: 40px var(--pad);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  align-items: start;
  color: var(--on-dark);
  font-weight: 300;
}
.footer__copy { grid-column: 1 / 5; font-size: 12px; }
.footer__copy a { text-decoration: underline; text-underline-offset: 2px; }
.footer__links { grid-column: 8 / 12; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }

/* Links de redes con logo (footer + contacto) */
.social { display: inline-flex; align-items: center; gap: 10px; transition: opacity 0.3s; }
.social:hover { opacity: 0.6; }
.social__icon { display: grid; place-items: center; width: 18px; height: 18px; flex: none; }
.social__text { overflow-wrap: anywhere; }
.contact-socials {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.contact-socials__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; font-size: 16px; }
.footer__top {
  grid-column: 12 / 13;
  justify-self: end;
  width: 32px;
  height: 32px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform 0.3s;
}
.footer__top:hover { transform: translateY(-3px); }

/* =========================================================================
   COOKIES + WHATSAPP
   ========================================================================= */
.cookies {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 90;
  max-width: 25rem;
  width: calc(100% - 40px);
  background: var(--bg-green);
  color: var(--on-dark);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.cookies a { text-decoration: underline; }
.cookies__prefs { display: flex; flex-direction: column; gap: 6px; }
.cookies__prefs label { display: flex; align-items: center; gap: 8px; }
.cookies__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookies__actions button {
  padding: 8px 14px;
  border: 1px solid currentColor;
  border-radius: 5px;
  font-size: 13px;
  transition: background 0.3s, color 0.3s;
}
.cookies__actions button:first-child, .cookies__actions button:hover { background: var(--on-dark); color: var(--bg-green); }


/* =========================================================================
   PÁGINAS INTERIORES — común
   ========================================================================= */
.page-top { padding-top: var(--nav-h); }
.page-head {
  padding: 60px var(--pad) 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ---------- NUESTRO TRABAJO ---------- */
.films-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 60px var(--pad) 24px;
  flex-wrap: wrap;
}
.films-bar__title { font-family: var(--display); font-size: clamp(40px, 6vw, 80px); line-height: 1; }
.films-controls { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.select {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23333'/%3E%3C/svg%3E") no-repeat right center;
  padding: 4px 18px 4px 0;
  font: 300 16px/1.2 var(--sans);
  color: var(--text);
  cursor: pointer;
}
.films-reset { font-size: 20px; line-height: 1; padding: 0 4px; }
.view-toggle { display: flex; align-items: center; gap: 12px; }
.view-toggle__sep { width: 1px; height: 20px; background: var(--text); }
.view-toggle button { opacity: 0.4; transition: opacity 0.3s; display: grid; place-items: center; }
.view-toggle button.is-active { opacity: 1; }

.film-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 var(--pad) 100px;
}
.film-rect {
  position: relative;
  aspect-ratio: 3 / 1;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--white);
  background: #222;
}
.film-rect__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(80%) contrast(120%);
  transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}
.film-rect__play, .film-rect__title {
  position: relative;
  z-index: 1;
  transform: translateY(-40px);
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
.film-rect__play { opacity: 0; }
.film-rect__title {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 72px);
  line-height: 1;
  text-align: center;
  padding: 0 20px;
}
.film-rect:hover .film-rect__img, .film-rect:focus-visible .film-rect__img { transform: scale(1.05); filter: grayscale(0%) brightness(100%) contrast(100%); }
.film-rect:hover .film-rect__play, .film-rect:focus-visible .film-rect__play { opacity: 1; transform: none; }
.film-rect:hover .film-rect__title, .film-rect:focus-visible .film-rect__title { transform: none; }

.film-list { display: none; padding: 0 var(--pad) 100px; }
.film-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 24px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  line-height: 24px;
  transition: opacity 0.3s;
}
.film-row:first-child { border-top: 1px solid var(--border); }
.film-list:hover .film-row { opacity: 0.45; }
.film-list:hover .film-row:hover { opacity: 1; }
.film-row__num { grid-column: 1 / 2; }
.film-row__title { grid-column: 2 / 6; }
.film-row__couple { grid-column: 6 / 9; }
.film-row__date { grid-column: 9 / 13; text-align: right; }
.film-thumb {
  position: fixed;
  top: 0; left: 0;
  z-index: 50;
  width: 320px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.film-thumb.is-visible { opacity: 1; }
.film-thumb img { width: 100%; height: 100%; object-fit: cover; }
.films-empty { padding: 40px var(--pad) 120px; font-size: 16px; }

/* ---------- DETALLE DE PELÍCULA ---------- */
.film-detail { display: flex; flex-direction: column; }
.fd-intro { padding: 20px var(--pad) 0; display: flex; flex-direction: column; gap: 20px; }
.fd-intro__video { aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #111; }
.fd-intro__video video, .fd-intro__video iframe, .fd-film__frame iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.fd-intro__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.fd-intro__heading { display: flex; align-items: flex-start; gap: 12px; }
.fd-intro__title { font-family: var(--display); font-size: clamp(40px, 6vw, 88px); line-height: 1; }
.fd-intro__year { font-size: 13px; padding-top: 8px; }
.fd-intro__note { text-align: right; font-size: 13px; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; border-bottom: 1px solid currentColor; }
.link-arrow svg { transition: transform 0.3s; }
.link-arrow:hover svg { transform: translateY(3px); }

.fd-info {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px 24px;
  padding: 100px var(--pad);
}
.fd-info__col { display: flex; flex-direction: column; gap: 12px; }
.fd-info__value { font-family: var(--serif); font-size: 22px; line-height: 1.3; color: var(--text); }
a.fd-info__value { text-decoration: underline; text-underline-offset: 3px; }
.fd-info__col--story .fd-info__value { max-width: 520px; }

.fd-film { padding: 0 var(--pad) 120px; display: flex; flex-direction: column; gap: 24px; }
.fd-film__label { font-family: var(--display); font-size: 48px; line-height: 1; }
.fd-film__frame { aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #111; transform-origin: center top; }

.fd-testi {
  display: flex;
  gap: 60px;
  align-items: center;
  padding: 100px var(--pad);
  background: var(--bg-milk);
}
.fd-testi__media {
  flex: none;
  width: min(300px, 40vw);
  aspect-ratio: 90 / 185;
  border-radius: 44px;
  overflow: hidden;
  background: #ccc;
}
.fd-testi__media img, .fd-testi__media video { width: 100%; height: 100%; object-fit: cover; }
.fd-testi__body { display: flex; flex-direction: column; gap: 24px; max-width: 640px; }
.fd-testi__head { display: flex; gap: 24px; align-items: center; }
.fd-testi__capture { position: relative; }
.fd-testi__shot {
  position: absolute;
  left: 0;
  bottom: calc(100% + 12px);
  width: 220px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 5;
}
.fd-testi__capture:hover .fd-testi__shot, .fd-testi__capture:focus-within .fd-testi__shot { opacity: 1; }
.fd-testi__couple { font-family: var(--serif); font-size: 20px; text-transform: uppercase; }
.fd-testi__text { font-family: var(--display); font-size: 32px; line-height: 1.2; }

.fd-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 100px var(--pad) 40px;
}
.fd-photos__item { aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; }
.fd-photos__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease-in-out; }
.fd-photos__item:hover img { transform: scale(1.05); }

.fd-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 var(--pad) 100px; }
.chip {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: background 0.3s, border-color 0.3s;
}
.chip:hover { background: var(--bg-green); border-color: var(--bg-green); color: var(--on-dark); }

.fd-next { padding: 0 var(--pad) 100px; display: flex; flex-direction: column; gap: 16px; }
.fd-missing { padding: 120px var(--pad); display: flex; flex-direction: column; gap: 24px; align-items: flex-start; min-height: 60vh; }

/* ---------- NOSOTROS ---------- */
/* Telón "Danu & Nahu": los nombres a los lados de la foto (estado final);
   el estado inicial (juntos en el centro, foto cerrada) lo arma GSAP */
.duo { position: relative; }
.duo__stage {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--nav-h));
  height: calc(100svh - var(--nav-h));
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 48px);
  padding: 0 var(--pad);
  overflow: hidden;
}
.duo__name {
  position: relative;
  z-index: 2;
  font-family: var(--display);
  font-size: clamp(64px, 9vw, 160px);
  line-height: 1;
  color: var(--text);
  will-change: transform;
}
.duo__amp {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(56px, 7.5vw, 132px);
  line-height: 1;
  color: var(--text);
  pointer-events: none;
}
.no-motion .duo__amp { display: none; }
.duo__photo {
  flex: none;
  margin: 0;
  width: clamp(220px, 26vw, 420px);
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  will-change: clip-path;
}
.duo__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 44% 50%; will-change: transform; }
.duo__text { max-width: 760px; font-size: 24px; margin: 60px auto 120px; }
/* Foto grande: proporción de la imagen (2400×1010, formato cine) para no recortar a la pareja */
.about-photo { margin: 0 var(--pad); aspect-ratio: 2400 / 1010; max-width: 100%; border-radius: 8px; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 120px var(--pad);
}
.about-cols h3 { font-family: var(--display); font-size: 36px; line-height: 1.1; margin-bottom: 20px; }
.about-cols > div { text-align: center; }
.about-cols p { font-size: 16px; line-height: 24px; max-width: 420px; margin: 0 auto; }

.about-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 var(--pad) 120px;
}
.about-trio figure { aspect-ratio: 2 / 3; border-radius: 8px; overflow: hidden; }
.about-trio img { width: 100%; height: 100%; object-fit: cover; }

.about-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 9vw;
  gap: 16px;
  padding: 0 var(--pad) 120px;
}
.about-mosaic figure { border-radius: 8px; overflow: hidden; }
.about-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.about-mosaic figure:nth-child(1) { grid-column: 1 / 5; grid-row: 1 / 5; }
.about-mosaic figure:nth-child(2) { grid-column: 6 / 9; grid-row: 2 / 5; }
.about-mosaic figure:nth-child(3) { grid-column: 10 / 13; grid-row: 1 / 4; }
.about-mosaic figure:nth-child(4) { grid-column: 3 / 7; grid-row: 6 / 9; }
.about-mosaic figure:nth-child(5) { grid-column: 8 / 12; grid-row: 5 / 9; }

.somos {
  padding: 60px 0 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  overflow: hidden;
}
.somos__word {
  font-family: var(--display);
  font-size: 10vw;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  will-change: transform;
}
.somos__word:nth-child(2) { padding-left: 12vw; }
.somos__word:nth-child(4) { padding-right: 18vw; }

.faq { padding: 120px var(--pad); background: var(--bg-milk); overflow: hidden; }
.faq__titles { display: flex; flex-direction: column; gap: 4px; margin-bottom: 60px; }
.faq__titles > h2 { font-family: var(--display); font-size: clamp(36px, 7vw, 110px); line-height: 1; white-space: nowrap; }
.faq__titles [data-cross-a] { margin-bottom: 16px; }
.faq__titles [data-cross-b] { align-self: flex-start; padding-left: 8vw; }
.faq__titles [data-cross-c] { align-self: flex-end; padding-right: 4vw; }
.faq__list { max-width: 900px; margin-left: auto; border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  text-align: left;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.2;
}
.faq__icon { flex: none; transition: transform 0.1s; }
.no-motion .faq__q[aria-expanded="true"] .faq__icon { transform: rotate(180deg); }
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 0 24px; font-size: 16px; line-height: 24px; max-width: 640px; }

.cta-card {
  position: relative;
  display: block;
  margin: 120px var(--pad);
  aspect-ratio: 16 / 7;
  border-radius: 8px;
  overflow: hidden;
  color: var(--white);
}
.cta-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease-in-out;
}
.cta-card:hover img { transform: scale(1.03); transition-duration: 0.3s; }
.cta-card__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.45));
}
.cta-card__title { font-family: var(--display); font-size: clamp(32px, 5vw, 72px); line-height: 1; }

.about-grid2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0 var(--pad) 120px;
}
.about-grid2 figure { aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; }
.about-grid2 img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- CONTACTO ---------- */
.contact {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
  padding: 60px var(--pad) 120px;
}
.contact__intro { display: flex; flex-direction: column; gap: 24px; align-self: start; position: sticky; top: 40px; }
.contact__title { font-family: var(--display); font-size: clamp(48px, 7vw, 104px); line-height: 0.95; }
.contact__sub { font-size: 16px; line-height: 24px; max-width: 420px; }
.contact__mail { font-size: 16px; border-bottom: 1px solid currentColor; align-self: flex-start; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.field { position: relative; padding-top: 18px; display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--bg-green);
  border-radius: 0;
  background: transparent;
  padding: 8px 0;
  font: 300 16px/24px var(--sans);
  color: var(--text);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23333'/%3E%3C/svg%3E") no-repeat right center;
  cursor: pointer;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--bg-green); box-shadow: 0 1px 0 var(--bg-green); }
.field label {
  position: absolute;
  left: 0;
  top: 26px;
  font-size: 16px;
  color: #777;
  pointer-events: none;
  transition: top 0.25s, font-size 0.25s, color 0.25s;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field--static label {
  top: 0;
  font-size: 12px;
  letter-spacing: 0.3px;
  color: var(--text);
}
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-bottom-color: #b5452f; }
.field.is-invalid label { color: #b5452f; }

.fieldset { border: 0; grid-column: 1 / -1; display: flex; flex-direction: column; gap: 12px; }
.fieldset legend { font-size: 12px; margin-bottom: 12px; }
.radio-cards { display: flex; gap: 12px; }
.radio-card { flex: 1; position: relative; cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-card span {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 10px;
  border: 1px solid var(--bg-green);
  border-radius: 5px;
  font-size: 15px;
  transition: background 0.3s;
}
.radio-card input:checked + span { background: var(--bg-green); color: var(--on-dark); }
.radio-card input:focus-visible + span { outline: 1px solid var(--black); outline-offset: 3px; }

.field.check { grid-column: 1 / -1; flex-direction: row; gap: 10px; align-items: flex-start; padding-top: 0; font-size: 14px; cursor: pointer; }
.field.check input {
  appearance: auto;
  -webkit-appearance: checkbox;
  flex: none;
  width: 16px;
  height: 16px;
  padding: 0;
  margin-top: 2px;
  border: 0;
  accent-color: var(--bg-green);
}
.field.check.is-invalid span { color: #b5452f; }
.check a { text-decoration: underline; }
.honeypot { position: absolute; left: -9999px; }

.btn-send {
  grid-column: 1 / -1;
  height: 64px;
  width: 100%;
  border-radius: 5px;
  background: var(--bg-green);
  color: var(--on-dark);
  font: 300 16px var(--sans);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  overflow: hidden;
}
.btn-send__arrow { transition: transform 0.5s ease-in-out; }
.btn-send:hover .btn-send__arrow { transform: translateX(50px); }
.btn-send:disabled { opacity: 0.6; cursor: wait; }
.btn-wa {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.form-status { grid-column: 1 / -1; font-size: 15px; min-height: 22px; }
.form-status[data-type="success"] { color: #3f5a35; }
.form-status[data-type="error"] { color: #b5452f; }

/* ---------- COOKIES (página) ---------- */
.legal { max-width: 820px; padding: 60px var(--pad) 120px; display: flex; flex-direction: column; gap: 20px; }
.legal h1 { font-family: var(--display); font-size: clamp(40px, 6vw, 80px); line-height: 1; margin-bottom: 20px; }
.legal h2 { font-family: var(--serif); font-size: 26px; text-transform: uppercase; margin-top: 24px; }
.legal p, .legal li { font-size: 16px; line-height: 26px; }
.legal ul { padding-left: 20px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal th, .legal td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.legal button { align-self: flex-start; border-bottom: 1px solid currentColor; font-size: 16px; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .film-slide { width: 34vw !important; }
  .gallery-arrow { top: calc(34vw * 9 / 32 - 22px); }
}

@media (max-width: 991px) {
  .navbar__logo { font-size: 32px; }
  .navbar__logo img { height: 42px; }
  .intro__title { font-size: 60px; }
  .fd-info { grid-template-columns: 1fr 1fr; }
  .about-cols { grid-template-columns: 1fr; gap: 50px; }
  .contact { grid-template-columns: 1fr; }
  .contact__intro { position: static; }
  .fd-photos { grid-template-columns: repeat(2, 1fr); }
  .about-grid2 { grid-template-columns: repeat(2, 1fr); }
  .quienes { grid-template-columns: 1fr; justify-items: center; gap: 40px; padding: 100px var(--pad) 110px; }
  .quienes__photo { width: 100%; max-width: 640px; }
  .quienes__body { order: -1; } /* en tablet/celular, primero los nombres y después la foto */
}

@media (max-width: 767px) {
  .quienes { padding: 72px var(--pad) 80px; gap: 32px; }
  .quienes__title { font-size: clamp(56px, 18vw, 84px); margin-bottom: 32px; }
  .quienes__label { margin-bottom: 20px; }
  .quienes__text { margin-bottom: 28px; }
  :root { --pad: 20px; }
  .navbar__contact { font-size: 14px; min-width: 70px; }
  .navbar__burger { width: 70px; }
  .film-slide { width: 70vw !important; }
  .gallery-arrow { display: none; }
  .gallery__title, .gallery__tabs, .instagram__title { font-size: 26px; }
  .chevron--prev { left: 6px; }
  .chevron--next { right: 6px; }
  .chevron svg { width: 16px; height: 32px; }
  .film-rect { aspect-ratio: 3 / 2; }
  .film-row { font-size: 14px; grid-template-columns: 32px 1fr; gap: 4px 12px; }
  .film-row__num { grid-column: 1; grid-row: 1 / 3; align-self: start; }
  .film-row__title { grid-column: 2; }
  .film-row__couple, .film-row__date { grid-column: 2; text-align: left; font-size: 12px; line-height: 16px; opacity: 0.7; }
  .film-row__date { display: none; }
  .fd-info { grid-template-columns: 1fr; padding: 60px var(--pad); }
  .fd-film__label { font-size: 24px; }
  .fd-testi { flex-direction: column-reverse; align-items: flex-start; gap: 40px; padding: 60px var(--pad); }
  .fd-testi__media { width: 70%; max-width: 300px; }
  .fd-testi__text { font-size: 24px; }
  .about-trio { grid-template-columns: 1fr 1fr; gap: 10px; padding-bottom: 80px; }
  .about-trio figure:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
  .about-mosaic { grid-auto-rows: 18vw; gap: 10px; }
  .about-mosaic figure:nth-child(1) { grid-column: 1 / 7; grid-row: 1 / 4; }
  .about-mosaic figure:nth-child(2) { grid-column: 7 / 13; grid-row: 2 / 5; }
  .about-mosaic figure:nth-child(3) { grid-column: 2 / 8; grid-row: 5 / 8; }
  .about-mosaic figure:nth-child(4) { grid-column: 8 / 13; grid-row: 6 / 9; }
  .about-mosaic figure:nth-child(5) { grid-column: 1 / 7; grid-row: 8 / 11; }
  .faq__titles [data-cross-b], .faq__titles [data-cross-c] { padding: 0; }
  .cta-card { aspect-ratio: 4 / 5; margin: 80px var(--pad); }
  .cta-card__body { flex-direction: column; align-items: flex-start; padding: 24px; }
  .form { grid-template-columns: 1fr; }
  .radio-cards { flex-direction: column; }
  .footer { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .footer__copy { grid-column: 1 / -1; order: 3; }
  .footer__links { grid-column: 1 / -1; }
  .footer__top { grid-column: 2; grid-row: 1; }
  .contact-socials__list { grid-template-columns: 1fr; }
  .menu { padding: 50px 20px 80px; }
  .nav-item { height: auto; }
  .nav-item__desc, .nav-item:hover .nav-item__desc { display: none; }
}

@media (max-width: 479px) {
  :root { --pad: 10px; }
  .navbar__logo { font-size: 20px; }
  .navbar__logo img { height: 34px; }
  .navbar { padding: 0 16px; }
  .navbar__contact { font-size: 14px; min-width: 0; }
  .navbar__burger { width: 40px; }

  /* Hero móvil: video horizontal (16:9) y el título por fuera del video:
     "DIVERSIÓN, AMOR" arriba y "Y LÁGRIMAS" abajo */
  .section-intro {
    height: auto;
    min-height: 0;
    padding: calc(var(--nav-h) + 12px) var(--pad) 16px;
  }
  .intro__stage { flex-direction: column; gap: 10px; }
  .intro__frame { flex: none; aspect-ratio: 16 / 9; }
  .intro__title { display: contents; }
  .intro__title .line {
    font-family: var(--display);
    font-size: clamp(30px, 9.4vw, 46px);
    line-height: 0.95;
    color: var(--text);
    text-transform: uppercase;
    white-space: nowrap;
    padding-top: 0.3em; /* aire para la tilde de DIVERSIÓN y la flotación */
    margin-top: -0.2em;
  }
  .intro__title .line:first-child { order: -1; text-align: left; }
  .intro__title .line:last-child { text-align: right; }
  .intro__credit { padding: 8px 0 12px; }

  .section-nosotros { gap: 50px; padding: 60px 0 80px; }
  .names-text { font-size: 17px; }
  .duo__stage { flex-direction: column; gap: 18px; min-height: 0; }
  .duo__name { font-size: clamp(54px, 17vw, 84px); }
  .duo__amp { font-size: clamp(48px, 14vw, 72px); }
  .duo__photo { width: min(64vw, 300px); }
  .duo__text { font-size: 18px; margin: 40px auto 80px; }
  .testimonio__quotes { gap: 14px; }
  .testimonio__quote { font-size: 19px; line-height: 1.3; }
  .testimonio { padding: 0 48px; } /* que las flechas no pisen el texto */
  .section-testimonios { min-height: 0; padding: 80px 0; }
  .instagram__title { font-size: 20px; }
  .instagram__item { width: 144px; height: 144px; }
  .section-instagram { height: auto; min-height: 0; padding: 80px 0; }
}

/* Movimiento reducido: sin transiciones decorativas */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* =========================================================================
   PROPUESTA 2027 — wedding films, paquetes, comparativa, entrega, FAQ, cierre
   ========================================================================= */
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px; }
.section-title {
  font-family: var(--display);
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.02;
  text-wrap: balance;
  max-width: 18ch;
}
.btn-solid, .btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 5px;
  font: 300 16px var(--sans);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.btn-solid { background: var(--black); color: var(--white); }
.btn-solid:hover { background: var(--text); }
.btn-line { border: 1px solid currentColor; }
.btn-line svg { transition: transform 0.5s ease-in-out; }
.btn-line:hover svg { transform: translateX(8px); }

/* ---------- Wedding films (YouTube) ---------- */
.wfilms { display: flex; flex-direction: column; gap: 14px; margin: 10px 0 40px; }
.wfilms__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 var(--pad);
}
.wfilm { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.wfilm__media, .wfilm__frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  border: 0;
  margin-bottom: 8px;
}
.wfilm__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, filter 0.6s ease; filter: brightness(0.85); }
.wfilm__media:hover img, .wfilm__media:focus-visible img { transform: scale(1.04); filter: brightness(1); }
.wfilm__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--white);
  transition: transform 0.4s ease;
}
.wfilm__media:hover .wfilm__play { transform: scale(1.08); }
.wfilm__title { font-family: var(--display); font-size: 22px; line-height: 1.1; text-align: center; }
.wfilm__place { font-size: 11px; letter-spacing: 0.5px; text-transform: uppercase; text-align: center; }

/* ---------- Paquetes ---------- */
.packages { padding: 140px var(--pad) 60px; }
.packages__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.pkg {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px 30px 30px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}
.pkg--featured { background: var(--bg-green); border-color: var(--bg-green); color: var(--on-dark); }
.pkg--featured .pkg__cta:hover { background: var(--on-dark); border-color: var(--on-dark); color: var(--bg-green); }
.pkg__badge {
  align-self: flex-start;
  padding: 5px 12px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.pkg__name { font-family: var(--display); font-size: 48px; line-height: 1; }
.pkg__desc { font-family: var(--serif); font-size: 20px; line-height: 1.3; }
.pkg__specs { display: flex; flex-direction: column; gap: 16px; padding-top: 18px; border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, currentColor 25%, transparent); flex: 1; }
.pkg__specs > div { display: flex; flex-direction: column; gap: 6px; }
.pkg__specs dd { font-size: 15px; line-height: 22px; }
.pkg__specs ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.pkg__specs li { padding-left: 14px; position: relative; }
.pkg__specs li::before { content: ''; position: absolute; left: 0; top: 10px; width: 6px; height: 1px; background: currentColor; }
.pkg__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 5px;
  border: 1px solid currentColor;
  font-size: 15px;
  transition: background 0.3s, color 0.3s;
}
.pkg__cta:hover { background: var(--black); border-color: var(--black); color: var(--white); }
.packages__notes { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: #6b6b6b; }

/* ---------- Tabla comparativa ---------- */
.compare { padding: 60px var(--pad) 120px; }
.cmp__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { padding: 16px 14px; border-bottom: 1px solid var(--border); text-align: center; vertical-align: middle; }
.cmp thead th { font-family: var(--display); font-size: 26px; font-weight: 400; padding-bottom: 20px; }
.cmp tbody th { text-align: left; font-weight: 300; width: 34%; }
.cmp .is-featured { background: color-mix(in srgb, var(--bg-green) 7%, transparent); }
.cmp__yes { display: inline-grid; place-items: center; color: var(--black); }
.cmp__no { color: #a7a7a7; }

/* ---------- Entrega ---------- */
.delivery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
  padding: 120px var(--pad);
  background: var(--bg-milk);
}
.delivery__media { aspect-ratio: 16 / 9; max-width: 100%; border-radius: 8px; overflow: hidden; background: #111; }
.delivery__media img, .delivery__media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.delivery__body { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.delivery__text { font-size: 17px; line-height: 27px; max-width: 52ch; }

/* ---------- FAQ en la home ---------- */
.home-faq { background: var(--white); }
.home-faq .faq__list { margin-left: 0; max-width: 980px; }

/* ---------- Cierre ---------- */
.closing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding: 140px var(--pad);
  text-align: center;
  background: var(--bg-green);
  color: var(--on-dark);
}
.closing__title { font-family: var(--display); font-size: clamp(44px, 8vw, 120px); line-height: 0.95; text-transform: uppercase; }
.closing__apos { margin: 0 0.04em 0 0.1em; } /* en Bodoni la T mayúscula se pisa con el apóstrofo */
.closing__lead { font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); line-height: 1.1; text-wrap: balance; }
.closing__text { font-family: var(--serif); font-size: 21px; line-height: 1.35; max-width: 46ch; }
.closing__question { font-family: var(--serif); font-size: 21px; line-height: 1.35; max-width: 40ch; }
.closing__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.closing .btn-line { border-color: var(--on-dark); }
.closing .btn-solid { background: var(--on-dark); color: var(--bg-green); }
.closing .btn-solid:hover { background: var(--white); }
.closing__sign { font-family: var(--serif); font-size: 24px; margin-top: 12px; }

@media (max-width: 991px) {
  .wfilms__grid, .packages__grid { grid-template-columns: 1fr; }
  .wfilms__grid { gap: 28px; }
  .delivery { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 767px) {
  .packages { padding-top: 100px; }
  .pkg { padding: 28px 22px 22px; }
  .pkg__name { font-size: 40px; }
  .delivery, .closing { padding-block: 90px; }
  .closing__actions { flex-direction: column; width: 100%; }
  .closing__actions a { width: 100%; }
}

/* ---------- Video grande (prewedding) antes de Wedding films ---------- */
.feature-video { padding: 30px var(--pad) 50px; }
.feature-video__frame {
  position: relative;
  /* 16:9 como el video; el alto no supera ~85% de la pantalla */
  width: min(100%, calc(85vh * 16 / 9));
  max-width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
}
.feature-video__frame video { width: 100%; height: 100%; object-fit: cover; }
.feature-video__sound {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.9);
  color: var(--black);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}
.feature-video__sound:hover { transform: scale(1.06); }
@media (max-width: 767px) {
  .feature-video { padding: 20px var(--pad) 40px; }
}

/* =========================================================================
   TRABAJOS CON GALERÍA — slide del carrusel + página galeria.html
   (misma disposición que la galería de Vidflow, reproducida dentro del sitio)
   ========================================================================= */
/* Slide de trabajo en el carrusel de la home */
.work-tag {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 40px 16px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  color: var(--white);
  pointer-events: none;
}
.work-tag__title { font-family: var(--display); font-size: clamp(18px, 1.6vw, 26px); line-height: 1.05; }
.work-tag__cta { font-size: 11px; letter-spacing: 0.5px; text-transform: uppercase; opacity: 0.85; }
.film-slide--work .film-slide__sound { top: 12px; bottom: auto; }

/* Título del video dentro del reproductor */
.lightbox__title {
  position: absolute;
  top: 26px;
  left: 24px;
  right: 80px;
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.1;
}

/* Página de galería */
.work-page { background: var(--bg-milk); color: var(--text); }
.work-hero {
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  display: flex;
  padding: var(--nav-h) var(--pad) 0;
  background: var(--bg-milk);
}
.work-hero__frame {
  position: relative;
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  background: #1a1917;
  isolation: isolate;
}
.work-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.work-hero__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.25) 45%, transparent 70%),
              linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent 40%);
}
.work-hero__body {
  position: absolute;
  left: clamp(20px, 4vw, 56px);
  bottom: clamp(28px, 7vh, 72px);
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--white);
}
.work-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8); /* color y no opacity: la opacidad la anima GSAP al entrar */
  transition: color 0.3s;
}
.work-hero__back:hover { color: var(--white); }
.work-hero__title {
  font-family: var(--display);
  font-size: clamp(52px, 8vw, 120px);
  line-height: 0.95;
  margin-bottom: 16px;
}
.work-hero__meta { font-size: 15px; font-weight: 300; letter-spacing: 0.3px; margin-bottom: 32px; }
.work-play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--on-dark);
  color: var(--bg-green);
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  transition: transform 0.3s, background 0.3s;
}
.work-play:hover { transform: translateY(-2px); background: var(--white); }

.work-set { padding: 100px var(--pad) 40px; }
.work-set__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.work-set__title { font-family: var(--serif); font-size: 36px; line-height: 1.1; text-transform: uppercase; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.work-grid--single { grid-template-columns: minmax(0, 1100px) !important; justify-content: center; } /* un solo video: grande y centrado */
.work-grid--single .work-card__title { font-size: clamp(24px, 3vw, 40px); }
.work-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #1a1917;
  text-align: left;
}
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(.2,.7,.2,1); }
.work-card:hover img { transform: scale(1.05); }
.work-card__body {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 48px 18px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: var(--white);
}
.work-card__title { font-family: var(--display); font-size: 22px; line-height: 1.05; }
.work-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.85;
}
.work-next {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 100px var(--pad) 120px;
  text-align: center;
}
.work-next__link {
  font-family: var(--display);
  font-size: clamp(44px, 7vw, 96px);
  line-height: 1;
  transition: opacity 0.3s;
}
.work-next__link:hover { opacity: 0.6; }

@media (max-width: 991px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .work-hero { min-height: 0; }
  .work-set { padding: 64px var(--pad) 24px; }
  .work-set__title { font-size: 26px; }
  .work-grid { grid-template-columns: 1fr; gap: 14px; }
  .work-card__title { font-size: 20px; }
  .work-next { padding: 70px var(--pad) 90px; }
  .lightbox__title { font-size: 17px; left: 16px; }
}

/* Testimonios dentro de la galería */
.work-quotes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 120px var(--pad) 40px;
  text-align: center;
}
.work-quotes__featured { margin: 0; max-width: 760px; }
.work-quotes__featured blockquote {
  /* igual que las reseñas de la home: letra y tamaño de .quienes__lead */
  font-family: var(--serif);
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.18;
  text-wrap: balance;
  margin-bottom: 24px;
}
.work-quotes__featured figcaption { opacity: 0.7; }
.work-quotes .voice { margin-top: -8px; }
@media (max-width: 767px) {
  .work-quotes { padding: 80px var(--pad) 24px; gap: 28px; }
  .work-quotes__featured blockquote { font-size: 19px; line-height: 1.3; }
}
