/* =========================================================================
   ESTILOS — sistema de diseño + componentes + páginas
   Breakpoints: 991 / 767 / 479 (+ galería 1440 / 1024 / 640 / 360)
   ========================================================================= */

:root {
  --bg-milk: #f6f5f3;
  --bg-green: #979e92;
  --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;
}
.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: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(--black);
}
.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) 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;
}
.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; }
.intro__credit {
  align-self: flex-end;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 10px 0 14px;
}
.intro__mobile-title, .intro__mobile-cta { display: none; }

/* =========================================================================
   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); }
.names {
  position: relative;
  width: 100%;
  padding: 0 80px;
  font-family: var(--display);
  font-size: clamp(72px, 15vw, 215px);
  line-height: 1;
  height: 1.78em;
  color: var(--text);
}
.names__a, .names__amp {
  position: absolute;
  top: 0;
  line-height: 0.78;
  z-index: 2;
  will-change: transform;
}
.names__a { left: 80px; margin-left: 40px; }
.names__amp { right: 80px; margin-right: 40px; }
.names__photo {
  position: absolute;
  top: 0.02em;
  left: 0; right: 0;
  margin: 0 auto;
  height: 164px;
  aspect-ratio: 3 / 4;
  z-index: 1;
  overflow: hidden;
  will-change: transform;
}
.names__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); }
.names__b {
  position: absolute;
  left: 0; right: 0;
  top: 0.74em;
  text-align: center;
  line-height: 1.1;
  z-index: 2;
  will-change: transform;
}
.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 { 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;
  height: calc(22vw * 9 / 16); /* alto fijo: al ensancharse no empuja la página */
  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; }

@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; }
.testimonio__quote {
  font-family: var(--display);
  font-size: 40px;
  line-height: 1.1;
  max-width: 1000px;
  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(--black);
  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 var(--black);
  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(--black);
  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 var(--black);
  border-radius: 5px;
  font-size: 13px;
  transition: background 0.3s, color 0.3s;
}
.cookies__actions button:first-child, .cookies__actions button:hover { background: var(--black); color: var(--white); }

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-green);
  color: var(--black);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.5s, transform 0.5s, visibility 0.5s;
}
.wa-float.is-visible { opacity: 1; visibility: visible; transform: none; }
.wa-float:hover { transform: scale(1.06); }
body.menu-open .wa-float, .wa-float.is-over-footer { opacity: 0; visibility: hidden; }

/* =========================================================================
   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(--black); }

.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 ---------- */
.about-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 120px;
  padding: 80px 0 120px;
}
.about-intro .names-text { max-width: 760px; font-size: 24px; }
.about-photo { margin: 0 var(--pad); height: 90vh; min-height: 420px; border-radius: 8px; overflow: hidden; }
.about-photo img { width: 100%; height: 120%; margin-top: -10%; 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 p { font-size: 16px; line-height: 24px; max-width: 420px; }

.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(--black); }
.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(--black);
  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; }
  .film-slide__media { height: calc(34vw * 9 / 16); }
  .gallery-arrow { top: calc(34vw * 9 / 32 - 22px); }
}

@media (max-width: 991px) {
  .navbar__logo { font-size: 32px; }
  .intro__title { font-size: 60px; }
  .testimonio__quote { font-size: 30px; }
  .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); }
}

@media (max-width: 767px) {
  :root { --pad: 20px; }
  .navbar__contact { font-size: 14px; min-width: 70px; }
  .navbar__burger { width: 70px; }
  .names { padding: 0 20px; }
  .names__a { left: 20px; margin-left: 0; }
  .names__amp { right: 20px; margin-right: 0; }
  .names__photo { height: 0.76em; }
  .film-slide { width: 70vw !important; }
  .film-slide__media { height: calc(70vw * 9 / 16); }
  .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-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; }
  .about-photo { height: 60vh; }
  .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 { padding: 0 16px; }
  .navbar__contact { visibility: hidden; min-width: 40px; width: 40px; }
  .navbar__burger { width: 40px; }

  .section-intro {
    height: 90vh;
    height: 90svh;
    min-height: 0;
    justify-content: center;
    gap: 16px;
    padding: var(--nav-h) var(--pad) 0;
  }
  .intro__frame { flex: none; aspect-ratio: 16 / 9; height: auto; }
  .intro__title { display: none; }
  .intro__mobile-title {
    display: block;
    font-family: var(--display);
    font-size: 40px;
    line-height: 0.9;
    text-transform: uppercase;
    text-align: center;
  }
  .intro__credit { padding: 0; align-self: center; }
  .intro__mobile-cta { display: inline-block; align-self: center; }

  .section-nosotros { gap: 50px; padding: 60px 0 80px; }
  .names-text { font-size: 17px; }
  .testimonio__quote { font-size: 20px; line-height: 1.2; }
  .testimonio__quotes { gap: 14px; }
  .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; }
  .about-intro { gap: 60px; }
  .about-intro .names-text { font-size: 18px; }
}

/* Movimiento reducido: sin transiciones decorativas */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
