/* ========================================================
   FRESSIA — DECORACIÓN DE MOMENTOS
   Sistema de diseño: paleta mediterránea, suave, luminosa
   Tags: elegante · orgánica · luminosa · calma
   ======================================================== */

:root {
  /* === Paleta de marca (brand book Fressia) === */
  /* Celeste Suave #B2CAD6 · Azul Gris #8FA6B5 · Salvia #B7C1AF */
  /* Marfil #F5F3EE · Greige #C8BEB1 · Arena Cálida #E7DBC2     */
  --c-marfil:    oklch(0.960 0.008 90);
  --c-marfil-2:  oklch(0.978 0.005 88);
  --c-greige:    oklch(0.77 0.020 76);
  --c-calido:    oklch(0.88 0.030 84);
  --c-calido-2:  oklch(0.92 0.018 84);
  --c-salvia:    oklch(0.77 0.022 148);
  --c-celeste:   oklch(0.80 0.038 214);
  --c-azul:      oklch(0.67 0.046 212);
  --c-azul-2:    oklch(0.50 0.040 215);
  --c-azul-3:    oklch(0.35 0.035 215);

  /* === Roles de superficie ===
     bg-deep/bg-deep-2 son tonos propios (no alias de accent-1/2):
     necesitan quedar oscuros para que el texto claro tenga contraste AA,
     mientras accent-1/2 se mantienen en el "azul polvo" claro de marca. */
  --bg-page:        var(--c-marfil);
  --bg-soft:        var(--c-marfil-2);
  --bg-warm:        var(--c-calido-2);
  --bg-sage:        var(--c-salvia);
  --bg-deep:        oklch(0.40 0.035 230);
  --bg-deep-2:      oklch(0.30 0.032 230);

  /* === Tinta === */
  --ink-1:          oklch(0.26 0.020 232);
  --ink-2:          oklch(0.48 0.022 232);
  --ink-3:          oklch(0.52 0.018 232);
  --ink-on-deep:    oklch(0.978 0.005 80);
  --ink-on-deep-2:  oklch(0.90 0.010 80);
  --ink-on-deep-3:  oklch(0.78 0.015 80);

  /* === Acentos === */
  --accent-1:       var(--c-azul);
  --accent-2:       var(--c-azul-2);
  --accent-sage:    oklch(0.50 0.045 175);
  --accent-warm:    oklch(0.62 0.060 60);

  /* === Bordes === */
  --border-soft:    oklch(0.88 0.008 80);
  --border-mid:     oklch(0.80 0.012 60);
  --border-deep:    oklch(0.55 0.025 232);

  /* === Tipografía === */
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body:    "Jost", -apple-system, "Segoe UI", system-ui, sans-serif;

  --tracking-tight:    -0.020em;
  --tracking-display:  -0.030em;

  /* === Espaciado === */
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.5rem;
  --space-6:  2rem;
  --space-7:  3rem;
  --space-8:  4.5rem;
  --space-9:  6.5rem;
  --space-10: 9rem;

  /* === Curvas === */
  --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
  --ease-out-expo:  cubic-bezier(0.19, 1, 0.22, 1);

  --measure: 60ch;

  /* === Z scale === */
  --z-nav:           50;
  --z-lightbox:      80;
  --z-lightbox-ui:   90;
}

/* ========================================================
   Reset + base
   ======================================================== */

/* ========================================================
   NAV
   ======================================================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  background: oklch(0.965 0.005 80 / 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}

.nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 3.75rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;            /* área táctil accesible (≥44px) */
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-1);
  text-decoration: none;
}

.nav__logo-img {
  height: 42px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .nav__logo-img { height: 36px; }
}

.nav__links {
  display: flex;
  gap: 2rem;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav__links a {
  position: relative;
  color: var(--ink-2);
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--ink-1); }
/* Sección activa (scroll-spy) */
.nav__links a.is-current { color: var(--ink-1); }
.nav__links a.is-current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1.5px;
  background: var(--accent-2);
  border-radius: 2px;
}
.nav__mobile a.is-current { color: var(--ink-1); background: var(--bg-soft); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1.15rem;
  border: 1px solid var(--border-mid);
  border-radius: 100px;
  color: var(--ink-1);
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.nav__cta:hover {
  background: var(--ink-1);
  color: var(--ink-on-deep);
  border-color: var(--ink-1);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  margin-right: -12px;
  min-width: 44px;
  min-height: 44px;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink-1);
  border-radius: 2px;
  transition: transform 0.28s var(--ease-out-quart), opacity 0.2s ease;
  transform-origin: center;
}
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__mobile {
  position: fixed;
  top: 3.75rem;
  left: 0; right: 0;
  background: oklch(0.965 0.005 80 / 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  z-index: calc(var(--z-nav) - 1);
  transform: translateY(-6px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s var(--ease-out-quart), opacity 0.2s ease;
}
.nav__mobile.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.nav__mobile a {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-decoration: none;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-soft);
  transition: color 0.2s ease, background 0.15s ease;
}
.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile a:hover, .nav__mobile a:active { color: var(--ink-1); background: var(--bg-soft); }

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
}
@media (min-width: 761px) {
  .nav__mobile { display: none !important; }
}

/* ========================================================
   EYEBROW
   ======================================================== */

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-sage);
  margin-bottom: 0.85rem;
}



*,
*::before,
*::after { box-sizing: border-box; }

figure { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  scroll-padding-top: 3.75rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  line-height: 1.6;
  color: var(--ink-1);
  background: var(--bg-page);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--c-celeste);
  color: var(--ink-1);
}

.dot { color: var(--accent-1); margin-inline: 0.15em; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========================================================
   Secciones
   ======================================================== */

section {
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: clamp(3rem, 5vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  position: relative;
}

@media (max-width: 768px) {
  html { scroll-snap-type: none; }
  section {
    scroll-snap-align: none;
    min-height: auto;
    padding: clamp(3rem, 8vw, 4.5rem) clamp(1.25rem, 5vw, 2rem);
  }
  .hero-collage,
  .contacto { min-height: 100svh; }
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
}

/* ========================================================
   Tipografía base
   ======================================================== */

.display {
  font-family: var(--font-display);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  letter-spacing: var(--tracking-display);
  line-height: 1.0;
  text-wrap: balance;
  color: var(--ink-1);
}

.display--lg {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.05;
}

.display--md {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.1;
}

.serif-italic {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.lede {
  font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: var(--measure);
  text-wrap: pretty;
  font-weight: 400;
}

/* ========================================================
   1 — HERO
   ======================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  display: block;
}

.hero__media {
  position: absolute;
  inset: -15% 0;
  z-index: 0;
  background: var(--bg-deep-2);
  will-change: transform;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.6s var(--ease-out-quart);
}
.hero__slide:first-child,
.hero__slide.is-active {
  opacity: 1;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, oklch(0.15 0.02 232 / 0.92) 0%, oklch(0.15 0.02 232 / 0.80) 30%, oklch(0.15 0.02 232 / 0.55) 55%, oklch(0.15 0.02 232 / 0.20) 78%, transparent 95%),
    linear-gradient(100deg, oklch(0.15 0.02 232 / 0.35) 0%, transparent 45%);
}

.hero__content {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
  padding-top: clamp(6rem, 12vw, 8rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.92;
  letter-spacing: var(--tracking-display);
  color: var(--ink-on-deep);
  text-wrap: balance;
  text-shadow: 0 2px 20px oklch(0.10 0.02 232 / 0.45);
  margin: 0;
}

.hero__sub {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 36;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  color: var(--c-salvia);
  margin-top: 0.85rem;
  letter-spacing: 0;
  line-height: 1.3;
}

.hero__tagline {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-variation-settings: "opsz" 60, "SOFT" 100;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  color: var(--ink-on-deep-2);
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.25;
  max-width: 28ch;
  text-shadow: 0 2px 16px oklch(0.10 0.02 232 / 0.4);
}

.hero__meta {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--ink-on-deep-3);
  margin-top: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: 0;
  text-shadow: 0 1px 12px oklch(0.10 0.02 232 / 0.4);
}
.hero__meta-sep {
  color: var(--c-salvia);
  margin-inline: 0.45em;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: clamp(1.75rem, 3vw, 2.25rem);
  padding: 0.75rem 1.7rem;
  background: var(--ink-on-deep);
  color: var(--ink-1);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.3s var(--ease-out-quart), transform 0.3s var(--ease-out-quart);
}
.hero__cta:hover {
  background: var(--c-salvia);
  transform: translateY(-1px);
}

.hero__scroll {
  position: absolute;
  z-index: 1;
  bottom: clamp(1.25rem, 2.5vw, 1.75rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}
.hero__scroll-text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--ink-on-deep-3);
  letter-spacing: 0;
}
.hero__scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 36px;
  background: var(--ink-on-deep-3);
  animation: scroll-pulse 2.4s var(--ease-out-quart) infinite;
  transform-origin: top;
}

@media (max-width: 760px) {
  .hero__content { padding-top: clamp(5rem, 20vw, 6rem); }
}

@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(0.3); opacity: 0.25; }
  50%      { transform: scaleY(1); opacity: 0.85; }
}

/* ========================================================
   2 — MANIFIESTO
   ======================================================== */

.manifiesto {
  background: var(--bg-page);
}

.manifiesto__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.manifiesto__intro {
  max-width: 30rem;
}

.manifiesto__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 1.06;
  color: var(--ink-1);
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
}

.manifiesto__quote em {
  font-style: normal;
  color: var(--accent-2);
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-weight: 400;
}

.manifiesto__rule {
  display: block;
  width: 3.5rem;
  height: 1px;
  background: var(--ink-2);
  opacity: 0.45;
  margin: clamp(1.6rem, 2.8vw, 2.3rem) 0;
}

.manifiesto__intro .lede {
  margin: 0;
  max-width: 42ch;
}

/* Media: imagen dominante con inset superpuesto (una sola composición) */
.manifiesto__media {
  position: relative;
  isolation: isolate;
}
.manifiesto__detail {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 0 0 1px var(--border-soft);
}
.manifiesto__detail img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
}

/* Principal — alta, dominante */
.manifiesto__detail--primary {
  width: 100%;
  aspect-ratio: 4/5;
  max-height: 78svh;
  box-shadow:
    0 0 0 1px var(--border-soft),
    0 40px 80px -42px rgba(0, 0, 0, 0.45);
}

/* Inset — se superpone en la esquina inferior, asomando hacia el texto */
.manifiesto__detail--accent {
  position: absolute;
  z-index: 2;
  left: clamp(-2.75rem, -3vw, -1.25rem);
  bottom: clamp(1.5rem, 5vw, 3rem);
  width: clamp(9rem, 15vw, 12.5rem);
  aspect-ratio: 4/5;
  border-radius: 12px;
  box-shadow:
    0 0 0 6px var(--bg-page),
    0 24px 50px -18px rgba(0, 0, 0, 0.45);
}

@media (max-width: 880px) {
  .manifiesto__grid {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 7vw, 3rem);
  }
  .manifiesto__intro { max-width: none; }
  .manifiesto__detail--primary {
    aspect-ratio: 5/4;
    max-height: 56svh;
  }
  .manifiesto__detail--accent {
    left: auto;
    right: clamp(1rem, 5vw, 1.5rem);
    bottom: clamp(-1.75rem, -4vw, -1rem);
    width: clamp(7.5rem, 32vw, 10rem);
  }
}

/* ========================================================
   3 — SERVICIOS
   ======================================================== */

.servicios {
  background: linear-gradient(180deg, var(--bg-page) 0%, var(--bg-sage) 60%, var(--bg-sage) 100%);
}

.servicios__header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-soft);
}

.servicios__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
@media (max-width: 720px) {
  .servicios__cards { grid-template-columns: 1fr; }
}

.servicios__card {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  border-radius: 12px;
}

.servicios__card-photo {
  aspect-ratio: 4/3;
  overflow: hidden;
  margin: 0;
}
.servicios__card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
  transition: transform 0.8s var(--ease-out-quart);
}
.servicios__card:hover .servicios__card-photo img {
  transform: scale(1.04);
}

.servicios__card-body {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.servicios__card-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--ink-1);
  margin: 0 0 0.65rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.servicios__card-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}

/* ========================================================
   4 — GABI
   ======================================================== */

.gabi {
  background: var(--bg-page);
}

.gabi__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 880px) {
  .gabi__grid { grid-template-columns: 1fr; }
}

.gabi__portrait {
  position: relative;
  overflow: hidden;
  background: var(--bg-warm);
  box-shadow: 0 0 0 1px var(--border-soft);
  aspect-ratio: 4/5;
  border-radius: 12px;
}
.gabi__portrait img {
  width: 100%; height: 100%; display: block;
  object-fit: cover;
  filter: saturate(0.9);
}
@media (max-width: 880px) {
  .gabi__portrait { width: 100%; }
}

.gabi__name {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  line-height: 0.98;
  letter-spacing: var(--tracking-display);
  font-weight: 300;
  margin: 0;
  color: var(--ink-1);
}
.gabi__role {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--accent-2);
  margin-top: 0.5rem;
}

.gabi__bio {
  margin-top: 2rem;
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.15rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 52ch;
}

.gabi__record {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 42ch;
}
.gabi__record strong {
  font-weight: 500;
  font-style: normal;
  color: var(--accent-2);
}

/* ========================================================
   TESTIMONIOS
   ======================================================== */

.testimonios {
  position: relative;
  color: var(--ink-on-deep);
  display: grid;
  align-items: center;
  min-height: 420px;
  padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 5vw, 4rem);
  overflow: hidden;
}

.testimonios__bgs {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: oklch(0.15 0.02 232);
}
.testimonios__bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  z-index: 0;
  transition: opacity 1.4s ease-in-out;
}
/* Entrante: aparece por encima */
.testimonios__bg-slide.is-active { opacity: 1; z-index: 2; }
/* Saliente: se mantiene opaca por debajo hasta que la entrante la cubre,
   así el crossfade nunca deja un cuadro en negro */
.testimonios__bg-slide.is-leaving { opacity: 1; z-index: 1; transition: none; }
.testimonios__bgs::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, oklch(0.15 0.02 232 / 0.72) 0%, oklch(0.12 0.02 232 / 0.82) 100%);
  z-index: 3;
}

.testimonios__slides {
  display: grid;               /* apila las citas en una celda → altura = la más alta */
  min-height: 200px;
}
.testimonios__slide {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity 0.9s ease-in-out;
  pointer-events: none;
}
.testimonios__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.testimonios__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
}

.testimonios__quote {
  margin: 0;
}

.testimonios__quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: oklch(0.97 0.005 80);
  margin: 0 0 1.5rem;
  text-wrap: balance;
}

.testimonios__autor {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: oklch(0.75 0.01 232);
  font-style: normal;
}

/* Controles del carrusel: anterior · dots · siguiente */
.testimonios__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: clamp(2.25rem, 5vw, 3.25rem);
}
.testimonios__arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 50%;
  color: oklch(0.82 0.01 232);
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.25s var(--ease-out-quart), background-color 0.25s var(--ease-out-quart);
}
.testimonios__arrow:hover {
  color: oklch(0.97 0.005 80);
  background: oklch(1 0 0 / 0.07);
}
.testimonios__dots {
  display: flex;
  align-items: center;
}
.testimonios__dot {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.testimonios__dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: oklch(0.75 0.01 232 / 0.4);
  transition: background-color 0.3s var(--ease-out-quart), transform 0.3s var(--ease-out-quart);
}
.testimonios__dot:hover::before { background: oklch(0.85 0.01 232 / 0.7); }
.testimonios__dot[aria-current="true"]::before {
  background: oklch(0.97 0.005 80);
  transform: scale(1.35);
}
.testimonios__arrow:focus-visible,
.testimonios__dot:focus-visible {
  outline: 2px solid oklch(0.9 0.02 80);
  outline-offset: -4px;
  border-radius: 50%;
}

@media (max-width: 760px) {
  .testimonios {
    min-height: 360px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonios__dot::before,
  .testimonios__arrow { transition: none; }
  .testimonios__dot[aria-current="true"]::before { transform: none; }
}

/* ========================================================
   5 — PROCESO
   ======================================================== */

.proceso {
  background: var(--bg-page);
}

.proceso__header {
  display: flex;
  align-items: baseline;
  gap: clamp(1.5rem, 5vw, 4rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-soft);
}

@media (max-width: 760px) {
  .proceso__header { flex-direction: column; gap: 0.6rem; }
}

.proceso__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--ink-3);
  margin: 0;
}

.proceso__steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.proceso__step {
  padding-block: clamp(1.75rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--border-soft);
}
.proceso__steps li:first-child {
  border-top: 1px solid var(--border-soft);
}

.proceso__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  color: var(--ink-1);
  margin: 0 0 0.65rem;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.proceso__desc {
  font-size: 1rem;
  line-height: 1.62;
  color: var(--ink-2);
  margin: 0;
  max-width: 62ch;
}

/* ========================================================
   6 — TRABAJOS
   ======================================================== */

.trabajos {
  background:
    linear-gradient(180deg, var(--bg-sage) 0%, var(--bg-page) 18%, var(--bg-page) 100%);
  align-items: start;
  padding-block: clamp(4rem, 7vw, 6rem);
}

.trabajos__intro {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-soft);
}
@media (max-width: 760px) {
  .trabajos__intro { grid-template-columns: 1fr; align-items: start; }
}

.trabajos__count {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: var(--ink-3);
  text-align: right;
  margin: 0;
}
@media (max-width: 760px) {
  .trabajos__count { text-align: left; }
}

.trabajos__loading {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-3);
  padding: 2rem 0;
}

.trabajos__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.trabajos__filter {
  appearance: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: 100px;
  padding: 0.5rem 1.1rem;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.trabajos__filter:hover {
  border-color: var(--border-mid);
  color: var(--ink-1);
}
.trabajos__filter[aria-pressed="true"] {
  background: var(--bg-deep);
  border-color: var(--bg-deep);
  color: var(--ink-on-deep);
}

.trabajo[hidden] { display: none; }

.trabajos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.trabajo {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--bg-soft);
  padding: 0 0 0.85rem;
  border: 1px solid var(--border-soft);
  outline: none;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out-quart),
              border-color 0.3s ease,
              box-shadow 0.4s ease;
  appearance: none;
  text-align: left;
  font-family: inherit;
  color: inherit;
  width: 100%;
}
.trabajo:hover {
  transform: translateY(-3px);
  border-color: var(--border-mid);
  box-shadow: 0 18px 36px -22px oklch(0.30 0.020 232 / 0.20);
}
.trabajo:focus-visible {
  transform: translateY(-3px);
  border-color: var(--accent-2);
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  box-shadow: 0 18px 36px -22px oklch(0.30 0.020 232 / 0.20);
}

.trabajo__media {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
  margin: 0;
  border-radius: 8px;
}
.trabajo__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-quart);
}
.trabajo:hover .trabajo__media img,
.trabajo:focus-visible .trabajo__media img {
  transform: scale(1.03);
}

.trabajo__count {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--ink-on-deep);
  padding: 0.3rem 0.65rem;
  background: oklch(0.30 0.030 232 / 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 100px;
}

.trabajo__type {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--accent-sage);
  padding: 0 0.85rem;
  margin-top: 0.5rem;
  letter-spacing: 0;
}

.trabajo__brand {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.05;
  color: var(--ink-1);
  padding: 0 0.85rem;
  margin: 0;
}

.trabajo__planner {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  padding: 0 0.85rem;
  margin-top: 0.3rem;
}

.trabajo__desc {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--ink-2);
  padding: 0 0.5rem;
  line-height: 1.4;
  margin: 0;
}

/* Featured */
.trabajo--featured {
  grid-column: span 2;
}
.trabajo--featured .trabajo__media {
  aspect-ratio: 16/10;
}
@media (max-width: 760px) {
  .trabajo--featured { grid-column: auto; }
  .trabajo--featured .trabajo__media { aspect-ratio: 4/5; }
}

/* Roster */
.roster {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(1.75rem, 3vw, 2.25rem);
  border-top: 1px solid var(--border-soft);
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
@media (max-width: 760px) {
  .roster { grid-template-columns: 1fr; gap: 1rem; }
}

.roster__intro {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--ink-3);
  margin: 0;
}

.roster__list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(1.25rem, 2.5vw, 2rem);
}

.roster__list li {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-1);
  letter-spacing: -0.015em;
  position: relative;
  padding-right: clamp(1.25rem, 2.5vw, 2rem);
}
.roster__list li:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-55%);
  color: var(--accent-1);
}

/* ========================================================
   6 — CONTACTO
   ======================================================== */

.contacto {
  background:
    radial-gradient(80% 50% at 70% 20%, oklch(0.42 0.035 220 / 0.4) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-deep-2) 100%);
  color: var(--ink-on-deep);
}

.contacto__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 880px) {
  .contacto__inner { grid-template-columns: 1fr; }
}

.contacto__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-size: clamp(3rem, 7.5vw, 6rem);
  line-height: 0.98;
  letter-spacing: var(--tracking-display);
  color: var(--ink-on-deep);
  margin: 0;
  text-wrap: balance;
}

.contacto__sub {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--ink-on-deep-2);
  max-width: 40ch;
  line-height: 1.45;
}

.contacto__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contacto__list .contacto__row {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border-deep);
  align-items: baseline;
}
.contacto__list .contacto__row:last-child { border-bottom: 0; }

.contacto__list dt,
.contacto__key {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--ink-on-deep-2);
  letter-spacing: 0;
}

.contacto__val {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 400;
  color: var(--ink-on-deep);
  letter-spacing: -0.012em;
  transition: color 0.3s ease;
}
a.contacto__val {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}
.contacto__val:hover,
a.contacto__val:focus-visible {
  color: var(--c-salvia);
}
a.contacto__val:focus-visible {
  outline: 2px solid var(--c-salvia);
  outline-offset: 4px;
}

.contacto__footer {
  position: absolute;
  bottom: clamp(1.5rem, 3vw, 2.5rem);
  left: clamp(1.5rem, 5vw, 4rem);
  right: clamp(1.5rem, 5vw, 4rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--ink-on-deep-3);
}

/* ========================================================
   LIGHTBOX
   ======================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  background: oklch(0.18 0.025 232 / 0.92);
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2.5rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out-quart);
  scrollbar-gutter: stable;
}
.lightbox[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}
.lightbox[hidden] { display: none; }

.lightbox__stage {
  position: relative;
  width: min(100%, 1100px);
  max-height: calc(100svh - clamp(2rem, 6vw, 5rem));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 0;
}

.lightbox__img {
  max-width: 100%;
  max-height: calc(100svh - 7rem);
  object-fit: contain;
  background: oklch(0.13 0.020 232);
  box-shadow: 0 30px 80px -20px oklch(0 0 0 / 0.5);
  transition: opacity 0.25s ease;
}
.lightbox[data-loading="true"] .lightbox__img {
  opacity: 0.4;
}

.lightbox__caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
  color: var(--ink-on-deep-2);
  gap: 1rem;
}

.lightbox__brand {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--ink-on-deep);
  letter-spacing: -0.01em;
}

.lightbox__counter {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--ink-on-deep-3);
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: transparent;
  border: 1px solid oklch(0.95 0 0 / 0.25);
  color: var(--ink-on-deep);
  font-family: var(--font-display);
  font-weight: 300;
  cursor: pointer;
  z-index: var(--z-lightbox-ui);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.25s var(--ease-out-quart);
  display: grid;
  place-items: center;
}

.lightbox__close {
  top: clamp(1rem, 2vw, 1.5rem);
  right: clamp(1rem, 3vw, 2rem);
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  border-radius: 100px;
  line-height: 1;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 100px;
  font-size: 1.8rem;
  line-height: 1;
}

.lightbox__nav--prev { left: clamp(1rem, 3vw, 2rem); }
.lightbox__nav--next { right: clamp(1rem, 3vw, 2rem); }

.lightbox__close:hover,
.lightbox__nav:hover {
  background: oklch(0.95 0 0 / 0.12);
  border-color: oklch(0.95 0 0 / 0.55);
}

.lightbox__nav:hover {
  transform: translateY(-50%) scale(1.05);
}

@media (max-width: 760px) {
  .lightbox__nav {
    top: auto;
    bottom: clamp(1.25rem, 3vw, 2rem);
    transform: none;
  }
  .lightbox__nav:hover { transform: scale(1.05); }
  .lightbox__nav--prev { left: clamp(1rem, 3vw, 2rem); }
  .lightbox__nav--next { right: clamp(1rem, 3vw, 2rem); }
  .lightbox__caption { padding-inline: 4rem; flex-direction: column; gap: 0.25rem; align-items: center; text-align: center; }
}

/* Body lock cuando lightbox abierto */
body[data-lightbox-open="true"] {
  overflow: hidden;
}

/* ========================================================
   Parallax (imagen más alta que su marco, se desliza al scrollear)
   ======================================================== */

figure[data-parallax] {
  overflow: hidden;
}
figure[data-parallax] img {
  height: 114%;
  will-change: transform;
}
/* Manifiesto principal: más alto = más riel para un parallax notorio */
.manifiesto__detail--primary[data-parallax] img {
  height: 126%;
}
@media (prefers-reduced-motion: reduce) {
  figure[data-parallax] img { height: 100%; will-change: auto; }
  .manifiesto__detail--primary[data-parallax] img { height: 100%; }
}

/* ========================================================
   Reveal
   ======================================================== */

.reveal {
  opacity: 1;
  transition: opacity 0.9s var(--ease-out-quart),
              transform 0.9s var(--ease-out-quart);
}

.reveal--pending {
  opacity: 0;
  transform: translateY(24px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
  .hero__scroll::after { animation: none; }
  .hero__slide { transition: none; }
  .reveal, .reveal--pending { opacity: 1; transform: none; transition: none; }
  .trabajo, .trabajo__media img { transition: none; }
  .lightbox { transition: none; }
}

@media (max-width: 760px) {
  section {
    scroll-snap-stop: normal;
    min-height: auto;
    padding-block: 4.5rem;
  }
  html { scroll-snap-type: none; }
  .hero__scroll { display: none; }
}

/* ========================================================
   HERO COLLAGE (prueba visual — rollback: borrar este bloque
   y descomentar el HERO ORIGINAL en index.html)
   ======================================================== */

.hero-collage {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(5rem, 10vh, 7rem) 0 clamp(3rem, 6vh, 5rem);
  scroll-snap-align: start;
}

.hero-collage__bg {
  position: absolute;
  inset: -18% 0;
  z-index: 0;
}
.hero-collage__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-collage__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    oklch(0.965 0.008 90 / 0.94) 0%,
    oklch(0.965 0.008 90 / 0.86) 45%,
    oklch(0.965 0.008 90 / 0.62) 100%);
}

.hero-collage__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  width: 100%;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
}

.hero-collage__content {
  animation: heroCollageIn 0.9s var(--ease-out-quart) both;
}
@keyframes heroCollageIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-collage__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: var(--tracking-display);
  color: var(--ink-1);
  margin: 0;
  text-wrap: balance;
}
.hero-collage__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--c-azul);
}

.hero-collage__sub {
  margin: 1.5rem 0 0;
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 44ch;
}

.hero-collage__actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-collage__cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  background: var(--ink-1);
  color: oklch(0.97 0.005 80);
  border: 1px solid var(--ink-1);
  transition: background 0.25s var(--ease-out-quart), color 0.25s var(--ease-out-quart), transform 0.25s var(--ease-out-quart);
}
.hero-collage__cta:hover {
  background: oklch(0.36 0.03 232);
  border-color: oklch(0.36 0.03 232);
  transform: translateY(-2px);
}
.hero-collage__cta--ghost {
  background: transparent;
  color: var(--ink-1);
  border-color: var(--border-mid);
}
.hero-collage__cta--ghost:hover {
  background: oklch(0.94 0.008 90 / 0.7);
  color: var(--ink-1);
}

/* ---- Collage de cards ---- */

.hero-collage__stack {
  position: relative;
  height: clamp(420px, 72vh, 640px);
}

.hero-collage__card {
  position: absolute;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 1px 2px oklch(0.3 0.02 232 / 0.10),
    0 12px 32px -8px oklch(0.3 0.02 232 / 0.28);
  outline: 4px solid oklch(0.985 0.004 85);
  will-change: transform;
}
.hero-collage__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Composición desktop */
.hero-collage__card--1 { /* novios bajo el árbol — ancla grande */
  width: 46%;
  aspect-ratio: 4 / 5;
  top: 6%;
  right: 4%;
  z-index: 3;
}
.hero-collage__card--2 { /* mesas al atardecer */
  width: 40%;
  aspect-ratio: 4 / 5;
  top: 24%;
  left: 6%;
  z-index: 2;
}
.hero-collage__card--3 { /* techo de flores */
  width: 27%;
  aspect-ratio: 4 / 5;
  top: -2%;
  left: 18%;
  z-index: 1;
}
.hero-collage__card--4 { /* túnel verde */
  width: 27%;
  aspect-ratio: 4 / 5;
  bottom: 2%;
  right: 32%;
  z-index: 4;
}
.hero-collage__card--5 { /* salón ladrillo */
  width: 24%;
  aspect-ratio: 4 / 5;
  bottom: 8%;
  left: -2%;
  z-index: 3;
}

@media (max-width: 1023px) and (min-width: 761px) {
  .hero-collage__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  /* Stack a ancho completo: el alto escala con el ancho (no con la altura de
     pantalla) → margen consistente para las fotos en cualquier tablet */
  .hero-collage__stack { height: auto; aspect-ratio: 16 / 10; min-height: 420px; }
  /* Composición tablet: 4 fotos, tamaños reducidos para no desbordar el stack */
  .hero-collage__card--5 { display: none; }
  .hero-collage__card--1 { width: 31%; top: 8%; left: 5%; right: auto; bottom: auto; }
  .hero-collage__card--2 { width: 28%; top: 26%; left: 33%; right: auto; bottom: auto; }
  .hero-collage__card--3 { width: 24%; top: 5%; left: 60%; right: auto; bottom: auto; }
  .hero-collage__card--4 { width: 26%; bottom: 6%; right: 4%; left: auto; top: auto; }
}

@media (max-width: 760px) {
  .hero-collage {
    min-height: auto;
    padding-top: 5.5rem;
  }
  .hero-collage__grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .hero-collage__stack { height: 340px; }
  /* Mobile: solo 3 fotos */
  .hero-collage__card--3,
  .hero-collage__card--5 { display: none; }
  .hero-collage__card--1 { width: 54%; top: 0; right: 2%; }
  .hero-collage__card--2 { width: 48%; top: 22%; left: 0; }
  .hero-collage__card--4 { width: 34%; bottom: 0; right: 24%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-collage__content { animation: none; }
}
