/* Ecosistema: portada, índice, secciones editoriales, galería y cierre. */
:root {
  --eco-ink: #0a0a0a;
  --eco-white: #fff;
  --eco-paper: #f3f3f1;
  --eco-gray: #c9c9c5;
  --eco-muted: #686866;
  --eco-blue: #00249c;
  --eco-display: "Archivo Black", sans-serif;
  --eco-cond: "Barlow Condensed", sans-serif;
  --eco-body: "DM Sans", sans-serif;
  --eco-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --eco-wrap: min(1440px, calc(100vw - 72px));
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: var(--eco-white);
}
body {
  margin: 0;
  background: var(--eco-white);
  color: var(--eco-ink);
  font-family: var(--eco-body);
  overflow-x: clip;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  width: 100%;
}
.eco-wrap {
  width: var(--eco-wrap);
  margin-inline: auto;
}
.eco-skip {
  position: fixed;
  left: 16px;
  top: 8px;
  z-index: 90;
  transform: translateY(-160%);
  padding: 12px 18px;
  background: var(--eco-ink);
  color: #fff;
}
.eco-skip:focus {
  transform: none;
}
.eco-kicker {
  font-family: var(--eco-cond);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.eco-reveal {
  opacity: 0;
  transform: translate3d(0, 56px, 0);
  clip-path: inset(0 0 22% 0);
  transition:
    opacity 0.9s var(--eco-ease),
    transform 1.05s var(--eco-ease),
    clip-path 1.05s var(--eco-ease);
}
.eco-reveal.is-visible {
  opacity: 1;
  transform: none;
  clip-path: inset(0);
}
.eco-hero {
  position: relative;
  min-height: 100dvh;
  padding: clamp(120px, 12vw, 170px) 0 54px;
  overflow: hidden;
  background: #dadad7;
}
.eco-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.06) 48%, rgba(0, 0, 0, 0.42));
  pointer-events: none;
}
.eco-hero-media {
  position: absolute;
  inset: 0;
}
.eco-hero-shot {
  position: absolute;
  margin: 0;
  overflow: hidden;
}
.eco-hero-shot img {
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transform: scale(1.1);
  animation: ecoHeroSettle 1.8s var(--eco-ease) forwards;
}
.eco-hero-shot-a {
  inset: 0 56% 0 0;
}
.eco-hero-shot-b {
  inset: 0 20% 0 44%;
  border-left: 1px solid rgba(255, 255, 255, 0.5);
}
.eco-hero-shot-c {
  inset: 0 0 0 80%;
  border-left: 1px solid rgba(255, 255, 255, 0.5);
}
.eco-hero-shot-b img {
  object-position: 57% center;
}
.eco-hero-shot-c img {
  object-position: 70% center;
}
@keyframes ecoHeroSettle {
  to {
    transform: scale(1.02);
  }
}
.eco-hero-copy {
  position: relative;
  z-index: 2;
  min-height: calc(100dvh - clamp(174px, 16vw, 224px));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}
.eco-hero-meta {
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  font-family: var(--eco-cond);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eco-hero-title {
  margin: clamp(60px, 10vh, 110px) 0;
  font-family: var(--eco-display);
  font-size: clamp(4.1rem, 10.6vw, 10.4rem);
  line-height: 0.79;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}
.eco-wipe {
  display: block;
  width: max-content;
  max-width: 100%;
  opacity: 0;
  transform: translateX(-70px);
  clip-path: inset(0 100% 0 0);
  animation: ecoWipe 1.2s 0.15s var(--eco-ease) forwards;
}
.eco-wipe-right {
  margin-left: auto;
  transform: translateX(70px);
  clip-path: inset(0 0 0 100%);
  animation-delay: 0.34s;
}
@keyframes ecoWipe {
  to {
    opacity: 1;
    transform: none;
    clip-path: inset(0);
  }
}
.eco-hero-bottom {
  display: grid;
  grid-template-columns: minmax(280px, 480px) 1fr;
  gap: 64px;
  align-items: end;
}
.eco-hero-bottom p {
  margin: 0;
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  line-height: 1.55;
}
.eco-index {
  display: flex;
  justify-content: flex-end;
  gap: clamp(16px, 2.3vw, 38px);
  font-family: var(--eco-cond);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.eco-index a {
  padding-bottom: 8px;
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.45s var(--eco-ease),
    transform 0.45s var(--eco-ease);
}
.eco-index a:hover {
  border-color: #fff;
  transform: translateY(-3px);
}
.eco-section {
  padding: clamp(100px, 11vw, 170px) 0;
}
.eco-section-head {
  display: grid;
  grid-template-columns: 1fr minmax(250px, 420px);
  align-items: end;
  column-gap: 48px;
  margin-bottom: clamp(64px, 8vw, 118px);
}
.eco-section-head > .eco-kicker {
  grid-column: 1/-1;
  margin-bottom: 26px;
}
.eco-section-head h2 {
  margin: 0;
  font-family: var(--eco-display);
  font-size: clamp(4rem, 10vw, 9.2rem);
  line-height: 0.73;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}
.eco-section-head h2 em {
  display: block;
  margin-left: 13%;
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 2px var(--eco-ink);
}
.eco-section-head p {
  margin: 0 0 0.2em;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.62;
  color: var(--eco-muted);
}
.eco-feature-events {
  display: grid;
  gap: clamp(100px, 12vw, 180px);
}
.eco-feature-event {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(380px, 0.75fr);
  align-items: center;
}
.eco-feature-event-reverse {
  grid-template-columns: minmax(380px, 0.75fr) minmax(0, 1.25fr);
}
.eco-feature-event-reverse .eco-event-image {
  grid-column: 2;
}
.eco-feature-event-reverse .eco-event-copy {
  grid-column: 1;
  grid-row: 1;
  margin: 0 -5vw 0 0;
}
.eco-event-image {
  position: relative;
  height: min(70vw, 780px);
  margin: 0;
  overflow: hidden;
  background: #ddd;
}
.eco-event-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 68%, rgba(0, 0, 0, 0.38));
}
.eco-event-image img {
  height: 118%;
  object-fit: cover;
  filter: grayscale(1);
  transform: translate3d(0, var(--eco-parallax, -8%), 0);
  will-change: transform;
}
.eco-event-count {
  position: absolute;
  left: 24px;
  bottom: 20px;
  z-index: 1;
  color: #fff;
  font-family: var(--eco-display);
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.8;
}
.eco-event-copy {
  position: relative;
  z-index: 2;
  margin-left: -5vw;
  padding: clamp(38px, 5vw, 74px);
  background: rgba(255, 255, 255, 0.94);
  display: grid;
  gap: 44px;
}
.eco-date {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--eco-ink);
}
.eco-date strong {
  font-family: var(--eco-display);
  font-size: clamp(3rem, 5vw, 5.2rem);
  line-height: 0.75;
  letter-spacing: -0.06em;
}
.eco-date span {
  font-family: var(--eco-cond);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
}
.eco-event-copy h3 {
  margin: 18px 0 20px;
  font-family: var(--eco-display);
  font-size: clamp(3rem, 5vw, 5.5rem);
  line-height: 0.82;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}
.eco-event-copy p {
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.65;
  color: var(--eco-muted);
}
.eco-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.eco-actions a {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 14px 16px 14px 20px;
  border: 1px solid var(--eco-ink);
  border-radius: 999px;
  font-family: var(--eco-cond);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    background 0.45s var(--eco-ease),
    color 0.45s var(--eco-ease),
    transform 0.45s var(--eco-ease);
}
.eco-actions a span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--eco-ink);
  color: #fff;
}
.eco-actions a:hover {
  background: var(--eco-ink);
  color: #fff;
  transform: translateY(-3px);
}
.eco-actions a:hover span {
  background: #fff;
  color: #000;
}
.eco-past {
  background: var(--eco-paper);
}
.eco-past-list {
  border-top: 2px solid var(--eco-ink);
}
.eco-past-item {
  display: grid;
  grid-template-columns: 54px 150px minmax(220px, 0.82fr) minmax(280px, 1.18fr) auto;
  gap: 28px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid rgba(10, 10, 10, 0.22);
  transition:
    padding 0.5s var(--eco-ease),
    background 0.5s var(--eco-ease);
}
.eco-past-item:hover {
  padding-left: 18px;
  padding-right: 18px;
  background: #fff;
}
.eco-past-number,
.eco-past-date,
.eco-past-item > a {
  font-family: var(--eco-cond);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eco-past-item h3 {
  margin: 0;
  font-family: var(--eco-cond);
  font-size: clamp(1.55rem, 2.4vw, 2.4rem);
  line-height: 0.95;
  text-transform: uppercase;
}
.eco-past-item p {
  margin: 0;
  color: var(--eco-muted);
  line-height: 1.6;
}
.eco-past-item > a {
  border-bottom: 1px solid;
  padding-bottom: 4px;
  white-space: nowrap;
}
.eco-collabs {
  background: var(--eco-ink);
  color: #fff;
}
.eco-collabs .eco-section-head h2 em {
  color: transparent;
  -webkit-text-stroke-color: #fff;
}
.eco-collabs .eco-section-head p {
  color: #aaa;
}
.eco-collab-stage {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: start;
}
.eco-collab-stage > figure {
  position: sticky;
  top: 120px;
  margin: 0;
  height: 68vh;
  overflow: hidden;
}
.eco-collab-stage > figure img {
  height: 112%;
  object-fit: cover;
  filter: grayscale(1);
  transform: translate3d(0, var(--eco-parallax, -6%), 0);
}
.eco-collab-intro {
  grid-column: 2;
}
.eco-collab-intro h3 {
  margin: 22px 0;
  font-family: var(--eco-display);
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  line-height: 0.82;
  letter-spacing: -0.055em;
}
.eco-collab-intro p {
  max-width: 48ch;
  color: #aaa;
  line-height: 1.65;
}
.eco-collab-list {
  grid-column: 2;
  display: grid;
  border-top: 1px solid #555;
}
.eco-collab-list a {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid #444;
  transition:
    padding 0.45s var(--eco-ease),
    color 0.45s var(--eco-ease);
}
.eco-collab-list a:nth-child(n + 9) {
  display: none;
}
.eco-collab-list.is-open a {
  display: grid;
}
.eco-collab-list span {
  color: #8e8e8e;
  font-family: var(--eco-cond);
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.eco-collab-list strong {
  font-family: var(--eco-cond);
  font-size: clamp(1.2rem, 2vw, 1.85rem);
  text-transform: uppercase;
}
.eco-collab-list i {
  font-style: normal;
}
.eco-collab-list a:hover {
  padding-left: 18px;
  color: #bbb;
}
.eco-expand {
  grid-column: 2;
  width: 100%;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid #777;
  background: transparent;
  color: #fff;
  font: 700 0.95rem var(--eco-cond);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  transition:
    background 0.45s var(--eco-ease),
    color 0.45s var(--eco-ease);
}
.eco-expand:hover {
  background: #fff;
  color: #000;
}
.eco-news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(40px, 6vw, 90px);
}
.eco-news-lead figure {
  height: 720px;
  margin: 0;
  overflow: hidden;
}
.eco-news-lead figure img {
  height: 114%;
  object-fit: cover;
  filter: grayscale(1);
  transform: translate3d(0, var(--eco-parallax, -7%), 0);
}
.eco-news-lead > div {
  position: relative;
  width: 84%;
  margin: -120px 0 0 auto;
  padding: 40px;
  background: #fff;
}
.eco-news-lead h3 {
  margin: 18px 0;
  font-family: var(--eco-display);
  font-size: clamp(2.8rem, 4.8vw, 5rem);
  line-height: 0.82;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}
.eco-news-lead p {
  color: var(--eco-muted);
  line-height: 1.65;
}
.eco-news-lead b {
  display: inline-block;
  margin-top: 24px;
  font: 700 0.92rem var(--eco-cond);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eco-news-list {
  border-top: 2px solid var(--eco-ink);
}
.eco-news-list a {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid #bbb;
  align-items: start;
  transition: padding 0.45s var(--eco-ease);
}
.eco-news-list a:hover {
  padding-left: 16px;
}
.eco-news-list span {
  font: 700 0.82rem var(--eco-cond);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--eco-muted);
}
.eco-news-list strong {
  font: 700 clamp(1.25rem, 1.7vw, 1.7rem) var(--eco-cond);
  line-height: 1.05;
  text-transform: uppercase;
}
.eco-news-list i {
  font-style: normal;
}
.eco-gallery {
  padding-bottom: 70px;
  background: var(--eco-paper);
}
.eco-gallery-track {
  display: flex;
  gap: 18px;
  padding: 0 max(36px, calc((100vw - 1440px) / 2));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.eco-gallery-track::-webkit-scrollbar {
  display: none;
}
.eco-gallery-track button {
  position: relative;
  flex: 0 0 clamp(300px, 34vw, 560px);
  height: clamp(430px, 57vw, 720px);
  padding: 0;
  border: 0;
  background: #111;
  overflow: hidden;
  scroll-snap-align: center;
  cursor: pointer;
}
.eco-gallery-track button:nth-child(even) {
  height: clamp(340px, 44vw, 580px);
  margin-top: 90px;
}
.eco-gallery-track img {
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition:
    transform 1s var(--eco-ease),
    filter 1s var(--eco-ease);
}
.eco-gallery-track button:hover img {
  transform: scale(1.035);
  filter: grayscale(0.15);
}
.eco-gallery-track span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  padding: 8px 12px;
  background: #fff;
  color: #000;
  font: 700 0.84rem var(--eco-cond);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eco-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  align-items: center;
  padding: 28px;
  background: rgba(10, 10, 10, 0.94);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.98);
  transition:
    opacity 0.45s var(--eco-ease),
    transform 0.45s var(--eco-ease);
}
.eco-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.eco-lightbox figure {
  margin: 0;
  height: 86dvh;
  display: grid;
  grid-template-rows: 1fr auto;
}
.eco-lightbox figure img {
  height: 100%;
  object-fit: contain;
}
.eco-lightbox figcaption {
  padding-top: 14px;
  color: #fff;
  text-align: center;
  font: 700 0.9rem var(--eco-cond);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eco-lightbox button {
  border: 0;
  background: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}
.eco-lightbox-close {
  position: absolute;
  right: 28px;
  top: 22px;
}
.eco-end {
  padding: clamp(110px, 14vw, 220px) 0;
  background: #fff;
}
.eco-end-grid {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 50px;
  align-items: end;
}
.eco-end-grid > .eco-kicker {
  grid-column: 1/-1;
}
.eco-end h2 {
  margin: 0;
  font-family: var(--eco-display);
  font-size: clamp(4rem, 11vw, 10.5rem);
  line-height: 0.75;
  letter-spacing: -0.075em;
}
.eco-end p {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--eco-muted);
}
.eco-end .eco-actions {
  grid-column: 2;
}
@media (max-width: 1000px) {
  :root {
    --eco-wrap: min(100% - 36px, 900px);
  }
  .eco-feature-event,
  .eco-feature-event-reverse {
    grid-template-columns: 1fr;
  }
  .eco-feature-event-reverse .eco-event-image,
  .eco-feature-event-reverse .eco-event-copy {
    grid-column: 1;
    grid-row: auto;
  }
  .eco-event-image {
    height: 72vw;
    min-height: 520px;
  }
  .eco-event-copy,
  .eco-feature-event-reverse .eco-event-copy {
    margin: -70px 20px 0;
  }
  .eco-past-item {
    grid-template-columns: 44px 110px 1fr;
  }
  .eco-past-item p {
    grid-column: 3;
  }
  .eco-past-item > a {
    grid-column: 3;
  }
  .eco-news-grid {
    grid-template-columns: 1fr;
  }
  .eco-news-lead figure {
    height: 70vw;
  }
  .eco-collab-stage {
    grid-template-columns: 0.72fr 1.28fr;
  }
  .eco-end-grid {
    grid-template-columns: 1fr;
  }
  .eco-end .eco-actions {
    grid-column: 1;
  }
}
@media (max-width: 767px) {
  :root {
    --eco-wrap: calc(100% - 30px);
  }
  .eco-reveal {
    transform: translate3d(0, 34px, 0);
  }
  .eco-hero {
    padding-top: 106px;
  }
  .eco-hero-shot-a {
    inset: 0 20% 0 0;
  }
  .eco-hero-shot-b {
    inset: 0 0 0 56%;
  }
  .eco-hero-shot-c {
    display: none;
  }
  .eco-hero-title {
    font-size: clamp(3.55rem, 17.4vw, 6rem);
    line-height: 0.8;
    margin: 16vh 0 12vh;
  }
  .eco-wipe-right {
    margin-left: 0;
  }
  .eco-hero-meta span:nth-child(2) {
    display: none;
  }
  .eco-hero-bottom {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .eco-index {
    justify-content: flex-start;
    gap: 10px 18px;
    flex-wrap: wrap;
  }
  .eco-section {
    padding: 84px 0;
  }
  .eco-section-head {
    grid-template-columns: 1fr;
    margin-bottom: 58px;
  }
  .eco-section-head h2 {
    font-size: clamp(3.7rem, 18vw, 6.8rem);
  }
  .eco-section-head p {
    margin-top: 32px;
  }
  .eco-section-head h2 em {
    margin-left: 7%;
    -webkit-text-stroke-width: 1px;
  }
  .eco-event-image {
    min-height: 460px;
  }
  .eco-event-copy,
  .eco-feature-event-reverse .eco-event-copy {
    margin: -48px 10px 0;
    padding: 28px;
    gap: 28px;
  }
  .eco-event-copy h3 {
    font-size: 3.2rem;
  }
  .eco-date {
    display: grid;
  }
  .eco-past-item {
    grid-template-columns: 40px 1fr;
    gap: 12px 18px;
  }
  .eco-past-date {
    grid-column: 2;
  }
  .eco-past-item h3,
  .eco-past-item p,
  .eco-past-item > a {
    grid-column: 2;
  }
  .eco-collab-stage {
    display: block;
  }
  .eco-collab-stage > figure {
    position: relative;
    top: auto;
    height: 58vh;
    margin-bottom: 38px;
  }
  .eco-collab-intro {
    margin-bottom: 36px;
  }
  .eco-collab-list a {
    grid-template-columns: 95px 1fr auto;
    gap: 12px;
  }
  .eco-expand {
    margin-bottom: 0;
  }
  .eco-news-lead figure {
    height: 120vw;
  }
  .eco-news-lead > div {
    width: 94%;
    margin-top: -60px;
    padding: 25px;
  }
  .eco-news-lead h3 {
    font-size: 2.8rem;
  }
  .eco-news-list a {
    grid-template-columns: 90px 1fr auto;
    gap: 12px;
  }
  .eco-gallery-track {
    padding-inline: 15px;
  }
  .eco-gallery-track button {
    flex-basis: 82vw;
  }
  .eco-gallery-track button:nth-child(even) {
    margin-top: 45px;
  }
  .eco-lightbox {
    grid-template-columns: 48px 1fr 48px;
    padding: 14px;
  }
  .eco-end-grid {
    gap: 24px;
  }
  .eco-end h2 {
    font-size: 17vw;
  }
  .eco-end .eco-actions {
    margin-top: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .eco-reveal,
  .eco-wipe,
  .eco-hero-shot img {
    opacity: 1;
    transform: none;
    clip-path: none;
    animation: none;
    transition: none;
  }
  .eco-event-image img,
  .eco-news-lead figure img,
  .eco-collab-stage > figure img {
    transform: none !important;
  }
}

/* Los títulos de sección usan palabras sólidas, sin cortes. */
.eco-section-head h2 {
  line-height: 0.76;
}
.eco-section-head h2 em {
  display: inline;
  margin: 0;
  color: inherit;
  -webkit-text-stroke: 0;
  font-style: normal;
}
.eco-collabs .eco-section-head h2 em {
  color: inherit;
  -webkit-text-stroke: 0;
}
.eco-section-head h2.eco-title-single {
  font-size: clamp(4rem, 9vw, 8.5rem);
  line-height: 0.84;
  white-space: nowrap;
}
.eco-section-head h2.eco-title-collabs {
  font-size: clamp(3.4rem, 7.7vw, 7.35rem);
}
@media (max-width: 767px) {
  .eco-section-head h2.eco-title-single {
    font-size: clamp(3.2rem, 15vw, 5.6rem);
  }
  .eco-section-head h2.eco-title-collabs {
    font-size: clamp(2.45rem, 11.9vw, 4.5rem);
    letter-spacing: -0.08em;
  }
}

/* Tipografía de titulares coherente con el resto del sitio */
.eco-hero-title,
.eco-section-head h2,
.eco-event-copy h3,
.eco-date strong,
.eco-event-count,
.eco-collab-intro h3,
.eco-news-lead h3,
.eco-end h2 {
  font-family: "Bebas Neue", "Barlow Condensed", sans-serif !important;
  font-weight: 400;
  letter-spacing: -0.018em;
}
.eco-hero-title {
  font-size: clamp(4.5rem, 10vw, 9.8rem);
  line-height: 0.88;
}
.eco-section-head h2 {
  font-size: clamp(4.4rem, 9vw, 8.4rem);
  line-height: 0.86;
}
.eco-section-head h2.eco-title-single {
  font-size: clamp(4.2rem, 8.2vw, 7.8rem);
  line-height: 0.9;
  letter-spacing: -0.012em;
}
.eco-section-head h2.eco-title-collabs {
  font-size: clamp(3.8rem, 7.2vw, 6.9rem);
}
.eco-event-copy h3 {
  font-size: clamp(3.2rem, 4.7vw, 5rem);
  line-height: 0.9;
}
.eco-date strong {
  letter-spacing: -0.015em;
  line-height: 0.85;
}
.eco-collab-intro h3,
.eco-news-lead h3 {
  line-height: 0.9;
  letter-spacing: -0.014em;
}
.eco-end h2 {
  font-size: clamp(4.5rem, 10vw, 9.4rem);
  line-height: 0.86;
}
@media (max-width: 767px) {
  .eco-hero-title {
    font-size: clamp(4rem, 16vw, 6rem);
    line-height: 0.9;
  }
  .eco-section-head h2 {
    font-size: clamp(4rem, 16vw, 6.4rem);
    line-height: 0.88;
  }
  .eco-section-head h2.eco-title-single {
    font-size: clamp(3.8rem, 14vw, 5.4rem);
    white-space: normal;
  }
  .eco-section-head h2.eco-title-collabs {
    font-size: clamp(3.2rem, 12vw, 4.7rem);
    letter-spacing: -0.012em;
  }
  .eco-event-copy h3 {
    font-size: 3rem;
    line-height: 0.92;
  }
  .eco-end h2 {
    font-size: 16vw;
    line-height: 0.88;
  }
}

/* Barrido alterno del hero: abajo / arriba / abajo */
.eco-hero-curtain {
  position: absolute;
  inset: -1px;
  z-index: 3;
  display: block;
  background: #0a0a0a;
  transform: translate3d(0, 0, 0);
  transition: transform 1.15s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}
.eco-hero-shot-a .eco-hero-curtain {
  transition-delay: 0.08s;
}
.eco-hero-shot-b .eco-hero-curtain {
  transition-delay: 0.2s;
}
.eco-hero-shot-c .eco-hero-curtain {
  transition-delay: 0.32s;
}
.eco-hero.is-ready .eco-hero-shot-a .eco-hero-curtain,
.eco-hero.is-ready .eco-hero-shot-c .eco-hero-curtain {
  transform: translate3d(0, 101%, 0);
}
.eco-hero.is-ready .eco-hero-shot-b .eco-hero-curtain {
  transform: translate3d(0, -101%, 0);
}
@media (prefers-reduced-motion: reduce) {
  .eco-hero-curtain {
    display: none;
  }
}

/* Galería sobre blanco y cierre editorial con composición tipográfica. */
.eco-gallery {
  background: #fff !important;
}
.eco-gallery-guide {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin: -28px 0 28px;
  color: #111;
}
.eco-gallery-guide-label {
  font:
    700 0.72rem/1 "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eco-gallery-guide-label::before {
  content: "";
  display: inline-block;
  width: 46px;
  height: 1px;
  margin: 0 13px 3px 0;
  background: #111;
  transform-origin: right center;
}
.eco-gallery-guide-next {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #111;
  border-radius: 50%;
  background: #111;
  color: #fff;
  cursor: pointer;
  transition:
    background 0.35s ease,
    color 0.35s ease,
    opacity 0.35s ease,
    transform 0.35s ease;
}
.eco-gallery-guide-next span {
  display: block;
  font-size: 1.6rem;
  line-height: 1;
  animation: eco-gallery-arrow 1.5s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.eco-gallery-guide-next:hover {
  background: #fff;
  color: #111;
  transform: translateX(4px);
}
.eco-gallery-guide.is-end .eco-gallery-guide-label {
  color: #777;
}
.eco-gallery-guide.is-end .eco-gallery-guide-label::before {
  background: #aaa;
}
.eco-gallery-guide-next:disabled {
  opacity: 0.32;
  cursor: default;
  transform: none;
}
@keyframes eco-gallery-arrow {
  0%,
  100% {
    transform: translateX(-3px);
  }
  50% {
    transform: translateX(4px);
  }
}
@media (max-width: 767px) {
  .eco-gallery-guide {
    justify-content: space-between;
    margin: -30px 0 22px;
  }
  .eco-gallery-guide-label {
    font-size: 0.68rem;
  }
  .eco-gallery-guide-label::before {
    width: 28px;
    margin-right: 9px;
  }
  .eco-gallery-guide-next {
    width: 50px;
    height: 50px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .eco-gallery-guide-next span {
    animation: none;
  }
}
.eco-end {
  padding: clamp(90px, 10vw, 150px) 0;
  background: linear-gradient(180deg, #fff 0%, #f6f6f4 100%);
}
.eco-end-editorial {
  display: grid;
  gap: clamp(70px, 9vw, 130px);
}
.eco-end-type {
  display: grid;
  grid-template-columns: 1fr minmax(250px, 0.52fr);
  grid-template-rows: auto auto;
  column-gap: clamp(40px, 8vw, 130px);
  align-items: end;
}
.eco-end-type h2 {
  grid-column: 1/3;
  margin: 0;
  font-family: "Bebas Neue", "Barlow Condensed", sans-serif !important;
  font-size: clamp(4.5rem, 10vw, 9.4rem);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: -0.018em;
  text-transform: uppercase;
}
.eco-end-type h2 span {
  display: block;
}
.eco-end-type h2 span + span {
  margin-left: 18%;
}
.eco-end-code {
  margin: 48px 0 0;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(3.6rem, 7vw, 7.2rem);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.07em;
}
.eco-end-copy {
  align-self: end;
  max-width: 440px;
  margin-top: 50px;
}
.eco-end-copy > span,
.eco-end-copy small {
  font:
    700 13px "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eco-end-copy p {
  margin: 18px 0 28px;
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 1.45;
  color: #444;
}
.eco-end-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1.55fr 0.62fr;
  width: calc(100% + (100vw - 100%) / 2);
  margin-left: calc((100% - 100vw) / 2);
  min-height: 300px;
  overflow: hidden;
  border-radius: 0 46px 46px 0;
  background: #fff;
}
.eco-end-banner figure {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 0 46px 46px 0;
}
.eco-end-banner figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% center;
}
.eco-end-banner-action {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  padding: clamp(24px, 4vw, 54px);
}
.eco-end-banner-action > span {
  margin-bottom: 18px;
  font:
    700 10px "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
}
.eco-end-banner-action a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid #111;
  border-radius: 999px;
  font:
    700 11px "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}
.eco-end-banner-action a:hover {
  background: #111;
  color: #fff;
}
.eco-end-banner-action b {
  font-size: 18px;
  font-weight: 400;
}
.eco-end-type h2 span {
  opacity: 0;
  transform: translate3d(-7vw, 0, 0);
  transition:
    opacity 0.8s ease,
    transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}
.eco-end-type h2 span + span {
  transform: translate3d(7vw, 0, 0);
  transition-delay: 0.12s;
}
.eco-end-banner figure {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.35s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: clip-path;
}
.eco-end-banner-action {
  clip-path: inset(0 0 0 100%);
  transition: clip-path 1.35s 0.22s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: clip-path;
}
.eco-end-editorial.is-entered .eco-end-type h2 span {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.eco-end-editorial.is-entered .eco-end-banner figure,
.eco-end-editorial.is-entered .eco-end-banner-action {
  clip-path: inset(0);
}
@media (prefers-reduced-motion: reduce) {
  .eco-end-type h2 span {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .eco-end-banner figure,
  .eco-end-banner-action {
    clip-path: none;
    transition: none;
  }
}
@media (max-width: 767px) {
  .eco-end-type {
    grid-template-columns: 1fr;
  }
  .eco-end-type h2 {
    grid-column: 1;
  }
  .eco-end-type h2 span + span {
    margin-left: 0;
  }
  .eco-end-code {
    margin-top: 36px;
  }
  .eco-end-copy {
    margin-top: 36px;
  }
  .eco-end-banner {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 0 30px 30px 0;
  }
  .eco-end-banner figure {
    height: 260px;
    border-radius: 0 30px 30px 0;
  }
  .eco-end-banner-action {
    min-height: 240px;
  }
}
