/* Calicanto · subpágina de Aisa Group
   HTML/CSS/JS estáticos, sin dependencias ni fuentes remotas. */

:root {
  --forest: #0d1712;
  --forest-2: #14231b;
  --forest-3: #1c3025;
  --black: #070b09;
  --ivory: #f1ede3;
  --ivory-2: #e4ddcd;
  --ink: #121914;
  --ink-muted: #4a524c;
  --green: #2f5b40;
  --sage: #9db8a4;
  --lime: #c9e26b;
  --on-dark: #f1ede3;
  --on-dark-muted: rgba(241, 237, 227, 0.74);
  --line-dark: rgba(241, 237, 227, 0.16);
  --line-light: rgba(18, 25, 20, 0.16);

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;

  --header-h: 64px;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1360px;
  --focus: var(--green);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--forest);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--lime);
  color: var(--forest);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Superficies */
.section--ivory { background: var(--ivory); color: var(--ink); --focus: var(--green); }
.section--forest { background: var(--forest); color: var(--on-dark); --focus: var(--lime); }
.section--black { background: var(--black); color: var(--on-dark); --focus: var(--lime); }
.section--lime { background: var(--lime); color: var(--forest); --focus: var(--forest); }

/* Tipografía */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.25rem;
}
.eyebrow--light { color: var(--on-dark); }
.eyebrow--lime { color: var(--lime); }

.display {
  font-size: clamp(2.4rem, 6.2vw, 5.75rem);
  line-height: 0.98;
  font-weight: 300;
  letter-spacing: -0.035em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.display--light { color: var(--on-dark); }
.display em, .hero__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.lead {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.5;
  color: var(--ink-muted);
  max-width: 38ch;
}
.lead--light { color: var(--on-dark-muted); }
.lead strong { color: inherit; font-weight: 600; }
.lead--light strong { color: var(--on-dark); }

/* Botones y enlaces */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn--lime { background: var(--lime); color: var(--forest); }
.btn--lime:hover { background: #dcef8f; }
.btn--ghost { border-color: rgba(241, 237, 227, 0.55); color: var(--on-dark); background: transparent; }
.btn--ghost:hover { border-color: var(--on-dark); background: rgba(241, 237, 227, 0.08); }
.btn--forest { background: var(--forest); color: var(--ivory); }
.btn--forest:hover { background: var(--forest-3); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.link-arrow::after { content: "→"; transition: transform .2s ease; }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--light { color: var(--on-dark); }

/* Cabecera */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(13, 23, 18, 0.9);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--on-dark);
  --focus: var(--lime);
}
.site-header__inner {
  height: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--on-dark);
  white-space: nowrap;
}
.wordmark__name {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  margin-right: -0.34em;
}
.wordmark__sep { width: 1px; height: 18px; background: var(--sage); opacity: .6; }
.wordmark__by {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
}

.site-nav ul { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 28px); }
.site-nav a {
  font-size: 0.875rem;
  text-decoration: none;
  color: var(--on-dark-muted);
  padding: 6px 0;
  transition: color .2s ease;
}
.site-nav a:hover, .site-nav a[aria-current="true"] { color: var(--on-dark); }
.site-nav a[aria-current="true"] { box-shadow: inset 0 -1px 0 var(--lime); }
.site-nav__cta a {
  color: var(--forest);
  background: var(--lime);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
}
.site-nav__cta a:hover { color: var(--forest); background: #dcef8f; }
.site-nav__back a { color: var(--sage); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 4px 0 12px;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block;
  width: 22px; height: 1.5px;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    background: var(--forest);
    border-bottom: 1px solid var(--line-dark);
    padding: 12px var(--gutter) 28px;
    display: none;
  }
  .js .site-header.is-open .site-nav { display: block; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .js .site-nav li { border-bottom: 1px solid var(--line-dark); }
  .js .site-nav a { display: block; padding: 16px 0; font-size: 1.25rem; color: var(--on-dark); }
  .js .site-nav__cta { border-bottom: 0 !important; padding-top: 20px; }
  .js .site-nav__cta a { display: inline-block; padding: 12px 22px; font-size: 1rem; }
  .js .site-nav__back { border-bottom: 0 !important; }
  .js .site-nav__back a { font-size: 1rem; color: var(--sage); }
  html:not(.js) .site-header { height: auto; position: static; }
  html:not(.js) .site-header__inner { flex-wrap: wrap; padding-block: 14px; }
  html:not(.js) .site-nav ul { flex-wrap: wrap; }
}
@media (max-width: 420px) {
  .wordmark { gap: 10px; }
  .wordmark__name { letter-spacing: 0.26em; margin-right: -0.26em; }
  .wordmark__by { letter-spacing: 0.16em; }
}

/* 1 · Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--on-dark);
  overflow: hidden;
  --focus: var(--lime);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  animation: heroDrift 24s ease-out both;
}
@keyframes heroDrift { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13, 23, 18, 0.35) 0%, rgba(13, 23, 18, 0.1) 30%, rgba(13, 23, 18, 0.72) 68%, rgba(13, 23, 18, 0.97) 100%),
    linear-gradient(90deg, rgba(13, 23, 18, 0.55) 0%, rgba(13, 23, 18, 0) 60%);
}
.hero__content { padding-top: clamp(80px, 14vh, 160px); padding-bottom: clamp(28px, 5vh, 56px); }
.hero__title {
  font-size: clamp(3rem, 9.4vw, 9.75rem);
  line-height: 0.92;
  font-weight: 300;
  letter-spacing: -0.045em;
  max-width: 12.5ch;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.hero__foot {
  margin-top: clamp(28px, 5vh, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}
.hero__lead { max-width: 52ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--on-dark-muted); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__credit {
  padding-bottom: 18px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(241, 237, 227, 0.7);
}
@media (max-width: 760px) {
  .hero__foot { grid-template-columns: 1fr; }
}

/* 2 · Visión */
.vision { padding-block: clamp(88px, 13vw, 180px); }
.vision__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.vision__head { position: sticky; top: calc(var(--header-h) + 40px); }
.vision__body .lead { margin-bottom: clamp(40px, 5vw, 64px); }
.principles li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding-block: 28px;
  border-top: 1px solid var(--line-light);
}
.principles li:last-child { border-bottom: 1px solid var(--line-light); }
.principles__n {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--green);
  line-height: 1.4;
}
.principles h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px; }
.principles p { color: var(--ink-muted); max-width: 46ch; }
@media (max-width: 900px) {
  .vision__grid { grid-template-columns: 1fr; }
  .vision__head { position: static; }
}

/* 3 · Proyecto */
.project { padding-block: clamp(88px, 12vw, 170px); overflow: hidden; }
.project__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.project__text .display { font-size: clamp(2.8rem, 7.5vw, 7rem); }
.project__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 32px;
  padding: 8px 16px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--on-dark);
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(201, 226, 107, 0.18);
  flex: none;
}
.project__text .lead { margin-bottom: 36px; }
.project__text .link-arrow { color: var(--lime); }
.project__media { margin-right: calc(-1 * var(--gutter)); }
.project__media img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.project__media figcaption, .place__media figcaption {
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--on-dark-muted);
}
@media (max-width: 900px) {
  .project__grid { grid-template-columns: 1fr; }
  .project__media { margin-inline: calc(-1 * var(--gutter)); }
  .project__media figcaption { padding-inline: var(--gutter); }
}

/* 4 · Avance */
.progress { padding-block: clamp(88px, 12vw, 170px); }
.section-head { margin-bottom: clamp(48px, 7vw, 96px); max-width: 980px; }
.section-head__date {
  margin-top: 20px;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}
.section-head__date time { color: var(--ink); font-weight: 600; }
.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: end;
}
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } }

.progress__hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  padding-bottom: clamp(48px, 6vw, 80px);
}
.progress__big {
  display: flex;
  align-items: flex-start;
  font-size: clamp(7rem, 26vw, 21rem);
  line-height: 0.78;
  font-weight: 200;
  letter-spacing: -0.06em;
  color: var(--green);
}
.progress__big small {
  font-size: 0.3em;
  font-weight: 300;
  letter-spacing: 0;
  margin-left: 0.08em;
  margin-top: 0.08em;
}
.progress__label { font-size: 1rem; font-weight: 600; margin-bottom: 16px; }
.meter {
  position: relative;
  height: 14px;
  background: var(--ivory-2);
  border-radius: 999px;
  overflow: hidden;
}
.meter__fill {
  position: absolute; inset: 0 auto 0 0;
  width: var(--value);
  background: linear-gradient(90deg, var(--green) 0%, #5f8f53 70%, var(--lime) 100%);
  border-radius: inherit;
  transition: width 1.6s cubic-bezier(.2, .7, .1, 1);
}
.js .meter:not(.is-in) .meter__fill { width: 0; }
.meter__scale {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}
@media (max-width: 640px) {
  .progress__hero { grid-template-columns: 1fr; }
  .meter__scale span:nth-child(2) { text-align: center; }
}

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts__item {
  padding: 28px 28px 32px 0;
  border-top: 1px solid var(--line-light);
}
.facts__item + .facts__item { padding-left: 28px; border-left: 1px solid var(--line-light); }
.facts dt {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 14px;
}
.facts__num {
  display: block;
  font-size: clamp(2.1rem, 4.4vw, 4.25rem);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.035em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.facts__note { display: block; margin-top: 10px; font-size: 0.9375rem; color: var(--ink-muted); }
.facts--now .facts__num { color: var(--green); }

.design {
  margin-top: clamp(64px, 9vw, 120px);
  padding: clamp(28px, 4vw, 56px);
  background: var(--forest);
  color: var(--on-dark);
  --focus: var(--lime);
}
.design__title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 28px;
}
.facts--design .facts__item { border-color: var(--line-dark); }
.facts--design dt, .facts--design .facts__note { color: var(--on-dark-muted); }
.facts--design .facts__num { color: var(--on-dark); }
.facts--design .facts__item--wide { grid-column: span 2; }
.facts--design .facts__item--wide .facts__num { font-size: clamp(2.6rem, 6.4vw, 6.25rem); color: var(--lime); }
.facts--design .facts__item:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
.facts--design .facts__item:nth-child(2) { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.facts--design .facts__item:nth-child(3) { padding-left: 0; border-left: 0; }
.facts--design .facts__item:nth-child(4) { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.facts--design .facts__item:nth-child(5) { padding-left: 28px; border-left: 1px solid var(--line-dark); }

@media (max-width: 860px) {
  .facts, .facts--design { grid-template-columns: 1fr 1fr; }
  .facts--now .facts__item:nth-child(3) { grid-column: span 2; padding-left: 0; border-left: 0; }
  .facts--design .facts__item--wide { grid-column: span 2; }
  .facts--design .facts__item:nth-child(2),
  .facts--design .facts__item:nth-child(4) { padding-left: 0; border-left: 0; }
  .facts--design .facts__item:nth-child(3),
  .facts--design .facts__item:nth-child(5) { padding-left: 20px; border-left: 1px solid var(--line-dark); }
  .facts__item + .facts__item { padding-left: 20px; }
  .facts__item { padding-right: 12px; }
}
@media (max-width: 480px) {
  .facts, .facts--design { grid-template-columns: 1fr; }
  .facts .facts__item,
  .facts--design .facts__item { grid-column: auto !important; padding-left: 0 !important; border-left: 0 !important; }
}

/* 5 · Panorama 360 */
.pano {
  position: relative;
  isolation: isolate;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-block: clamp(96px, 12vw, 170px);
  background: var(--forest);
  color: var(--on-dark);
  overflow: hidden;
  --focus: var(--lime);
}
.pano__bg { position: absolute; inset: 0; z-index: -1; }
.pano__bg img { width: 100%; height: 100%; object-fit: cover; }
.pano__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13, 23, 18, 0.86) 0%, rgba(13, 23, 18, 0.66) 45%, rgba(13, 23, 18, 0.94) 100%);
}
.pano__inner { width: 100%; }
.pano__head { max-width: 860px; }
.pano__head .display { font-size: clamp(2.6rem, 7vw, 6.5rem); margin-bottom: 28px; }
.pano__head .lead { margin-bottom: 36px; }
.pano__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.pano__viewer {
  margin-top: clamp(40px, 5vw, 64px);
  border: 1px solid var(--line-dark);
  background: var(--black);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
}
.pano__viewer[hidden] { display: none; }
.pano__viewer iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 420px;
  max-height: 82vh;
  border: 0;
}
@media (max-width: 640px) {
  .pano__viewer { margin-inline: calc(-1 * var(--gutter)); border-inline: 0; }
  .pano__viewer iframe { aspect-ratio: 4 / 5; min-height: 0; }
}

/* 6 · Video */
.film { padding-block: clamp(88px, 11vw, 160px) clamp(56px, 7vw, 96px); }
.film__head { margin-bottom: clamp(36px, 5vw, 64px); }
.film__head .display { max-width: 16ch; }
.film__frame { max-width: 1720px; margin-inline: auto; }
.film__frame video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: cover;
}
.film__frame figcaption {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--on-dark-muted);
}

/* 7 · Galería */
.gallery { padding-block: clamp(88px, 11vw, 160px); }
.mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 17vw, 250px);
  grid-auto-flow: dense;
  gap: clamp(8px, 1vw, 14px);
}
.mosaic__item { position: relative; grid-column: span 4; overflow: hidden; background: var(--forest-2); }
.mosaic__item[hidden] { display: none; }
.mosaic__item--a { grid-column: span 7; grid-row: span 2; }
.mosaic__item--b, .mosaic__item--c { grid-column: span 5; }
.mosaic__item--e { grid-row: span 2; }
.mosaic__item--i, .mosaic__item--j { grid-column: span 6; grid-row: span 2; }
.mosaic__btn {
  display: block;
  width: 100%; height: 100%;
  padding: 0; border: 0;
  background: none;
  cursor: zoom-in;
}
.mosaic__btn:focus-visible { outline-offset: -3px; }
.mosaic__btn img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2, .7, .1, 1), filter .4s ease;
}
.mosaic__btn:hover img { transform: scale(1.04); }
.mosaic__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 36px 16px 12px;
  font-size: 0.8125rem;
  color: var(--on-dark);
  background: linear-gradient(180deg, rgba(7, 11, 9, 0) 0%, rgba(7, 11, 9, 0.85) 100%);
  pointer-events: none;
}
@media (max-width: 760px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 46vw; }
  .mosaic__item, .mosaic__item--b, .mosaic__item--c { grid-column: span 1; grid-row: span 1; }
  .mosaic__item--a, .mosaic__item--i, .mosaic__item--j { grid-column: span 2; grid-row: span 1; }
  .mosaic__item--a { grid-row: span 2; }
  .mosaic__item--e { grid-row: span 2; }
  .mosaic__cap { padding: 28px 10px 8px; font-size: 0.75rem; }
}

/* Lightbox */
.lightbox {
  width: 100vw; height: 100dvh;
  max-width: none; max-height: none;
  margin: 0; padding: 0;
  border: 0;
  background: rgba(5, 9, 7, 0.96);
  color: var(--on-dark);
  --focus: var(--lime);
}
.lightbox::backdrop { background: rgba(5, 9, 7, 0.9); }
.lightbox__inner {
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  padding: clamp(16px, 3vw, 40px);
  gap: 16px;
}
.lightbox__figure {
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.lightbox__img {
  max-width: 100%;
  max-height: calc(100dvh - 170px);
  width: auto; height: auto;
  object-fit: contain;
}
.lightbox__caption { font-size: 0.9375rem; color: var(--on-dark-muted); text-align: center; max-width: 70ch; }
.lightbox__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.lightbox__count { min-width: 72px; text-align: center; font-size: 0.875rem; font-variant-numeric: tabular-nums; color: var(--on-dark-muted); }
.lightbox__btn {
  width: 48px; height: 48px;
  display: inline-grid; place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: transparent;
  font-size: 1.1rem;
  cursor: pointer;
}
.lightbox__btn:hover { background: rgba(241, 237, 227, 0.1); }
.lightbox__close { margin-left: 16px; background: var(--lime); color: var(--forest); border-color: var(--lime); }
.lightbox__close:hover { background: #dcef8f; }

/* 8 · Cronología */
.timeline { padding-block: clamp(88px, 11vw, 160px); }
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  position: relative;
}
.steps__item {
  position: relative;
  padding: 44px 28px 0 0;
  border-top: 2px solid var(--green);
}
.steps__item::before {
  content: "";
  position: absolute;
  top: -8px; left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--green);
}
.steps__item--current::before {
  background: var(--lime);
  box-shadow: 0 0 0 2px var(--green), 0 0 0 8px rgba(201, 226, 107, 0.35);
}
.steps__item--next { border-top-style: dashed; border-top-color: rgba(47, 91, 64, 0.5); }
.steps__item--next::before { background: var(--ivory); box-shadow: inset 0 0 0 2px var(--green); }
.steps__date {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.steps__value {
  margin: 14px 0 10px;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.steps__item--current .steps__value { color: var(--green); }
.steps__item--next .steps__value { font-size: clamp(1.6rem, 2.6vw, 2.25rem); letter-spacing: -0.02em; margin-top: 22px; }
.steps__text { color: var(--ink-muted); max-width: 30ch; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; padding-left: 8px; }
  .steps__item { border-top: 0; border-left: 2px solid var(--green); padding: 0 0 40px 32px; }
  .steps__item--next { border-left-style: dashed; border-left-color: rgba(47, 91, 64, 0.5); padding-bottom: 0; }
  .steps__item::before { top: 2px; left: -8px; }
  .steps__value { margin-top: 10px; }
}

/* 9 · Ubicación */
.place { overflow: hidden; }
.place__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: stretch;
  min-height: 80vh;
}
.place__media { position: relative; }
.place__media img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.place__media figcaption {
  position: absolute;
  left: var(--gutter); bottom: 18px;
  margin: 0;
  padding: 6px 10px;
  background: rgba(13, 23, 18, 0.78);
  color: var(--on-dark);
}
.place__text {
  padding: clamp(56px, 8vw, 120px) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.place__text .display { font-size: clamp(2.6rem, 6vw, 5.5rem); margin-bottom: clamp(36px, 5vw, 56px); }
.place__list div {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 12px;
  padding-block: 16px;
  border-top: 1px solid var(--line-dark);
}
.place__list div:last-child { border-bottom: 1px solid var(--line-dark); }
.place__list dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  padding-top: 4px;
}
.place__list dd { font-size: 1.125rem; color: var(--on-dark); }
@media (max-width: 900px) {
  .place__grid { grid-template-columns: 1fr; min-height: 0; }
  .place__media img { aspect-ratio: 4 / 3; min-height: 0; }
}
@media (max-width: 420px) {
  .place__list div { grid-template-columns: 1fr; gap: 2px; }
}

/* 10 · Contacto */
.contact { padding-block: clamp(80px, 10vw, 150px); }
.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}
.contact .display { color: var(--forest); font-size: clamp(2.6rem, 6.6vw, 6.25rem); }
.contact .lead { color: #24352a; margin-bottom: 28px; }
@media (max-width: 860px) { .contact__inner { grid-template-columns: 1fr; } }

/* Fuentes */
.sources { padding-block: 28px; border-top: 1px solid var(--line-light); }
.sources__details summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-muted);
  list-style: none;
}
.sources__details summary::-webkit-details-marker { display: none; }
.sources__details summary::before {
  content: "+";
  display: inline-grid; place-items: center;
  width: 22px; height: 22px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  font-weight: 400;
}
.sources__details[open] summary::before { content: "−"; }
.sources__body {
  max-width: 72ch;
  padding: 8px 0 20px 32px;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}
.sources__body p + p, .sources__body ul, .sources__body ul + p { margin-top: 10px; }
.sources__body ul { list-style: disc; padding-left: 1.2em; }
.sources__body a { color: var(--green); font-weight: 600; }

/* Pie */
.site-footer {
  background: var(--black);
  color: var(--on-dark-muted);
  padding-block: clamp(56px, 7vw, 96px) 32px;
  --focus: var(--lime);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.wordmark--footer { display: block; margin-bottom: 12px; }
.wordmark--footer .wordmark__name { font-size: 1.375rem; }
.site-footer__tag { font-size: 0.9375rem; max-width: 30ch; }
.site-footer__aisa img { width: 190px; height: auto; opacity: 0.92; }
.site-footer__aisa:hover img { opacity: 1; }
.site-footer__nav ul { display: grid; gap: 10px; justify-items: end; }
.site-footer__nav a { text-decoration: none; font-size: 0.9375rem; }
.site-footer__nav a:hover { color: var(--on-dark); text-decoration: underline; }
.site-footer__legal {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.8125rem;
}
@media (max-width: 860px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__nav ul { justify-items: start; }
}

/* Movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__media img { animation: none; }
  .mosaic__btn:hover img { transform: none; }
}

/* Contraste del acceso de contacto en el menú móvil. */
@media(max-width:1080px){.js .site-nav__cta a,.js .site-nav__cta a:hover{color:var(--forest);}}

/* ==========================================================
   Pulido y movimiento (capa sobre el diseño original).
   El movimiento solo existe con html.motion (JS activo y sin
   «reducir movimiento»); sin esa clase todo se ve en su sitio.
   ========================================================== */
:root { --ease-out: cubic-bezier(.2, .7, .1, 1); --ease-io: cubic-bezier(.65, 0, .35, 1); }

/* Cabecera: se oculta al bajar, vuelve al subir */
.site-header {
  transition: transform .45s var(--ease-out), background-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled { background: rgba(13, 23, 18, 0.94); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); }
.site-header.is-hidden { transform: translateY(-100%); box-shadow: none; }
.site-header__progress {
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 2px;
  background: var(--lime);
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
  pointer-events: none;
}

/* Indicador de sección que se desliza entre enlaces (escritorio) */
.site-nav { position: relative; }
.site-nav__ink {
  position: absolute;
  left: 0; bottom: 14px;
  height: 1px;
  width: 1px;
  background: var(--lime);
  transform-origin: 0 50%;
  opacity: 0;
  pointer-events: none;
  transition: transform .45s var(--ease-out), width .45s var(--ease-out), opacity .25s ease;
}
.site-nav__ink.is-on { opacity: 1; }
.has-ink .site-nav a[aria-current="true"] { box-shadow: none; }
@media (min-width: 1081px) {
  .site-nav li:not(.site-nav__cta):not(.site-nav__back) a { position: relative; }
  .site-nav li:not(.site-nav__cta):not(.site-nav__back) a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 2px;
    height: 1px;
    background: rgba(241, 237, 227, 0.45);
    transform: scaleX(0);
    transform-origin: 100% 50%;
    transition: transform .35s var(--ease-out);
  }
  .site-nav li:not(.site-nav__cta):not(.site-nav__back) a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
  .site-nav a[aria-current="true"]::after { opacity: 0; }
}
@media (max-width: 1080px) { .site-nav__ink { display: none; } }
.site-nav__cta a { display: inline-block; transition: background-color .2s ease, transform .25s var(--ease-out), box-shadow .25s ease; }
.site-nav__cta a:hover { box-shadow: 0 6px 18px rgba(201, 226, 107, 0.22); }
.site-nav__back a { transition: color .2s ease; }
.site-nav__back a:hover { color: var(--on-dark); }
.site-nav__back a span { display: inline-block; transition: transform .25s var(--ease-out); }
.site-nav__back a:hover span { transform: translate(2px, -2px); }
.wordmark { transition: opacity .2s ease; }
.wordmark:hover { opacity: .85; }

/* Menú móvil: hoja a pantalla completa con apertura suave */
@media (max-width: 1080px) {
  .js .site-nav {
    display: block;
    inset: var(--header-h) 0 auto 0;
    height: calc(100dvh - var(--header-h));
    max-height: none;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .3s ease, transform .45s var(--ease-out), visibility 0s linear .45s;
  }
  .js .site-header.is-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: opacity .3s ease, transform .45s var(--ease-out), visibility 0s;
  }
  .js .site-nav li {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .35s ease, transform .5s var(--ease-out);
  }
  .js .site-header.is-open .site-nav li {
    opacity: 1;
    transform: none;
    transition-delay: calc(80ms + var(--i, 0) * 40ms);
  }
  .js .site-nav li:not(.site-nav__cta):not(.site-nav__back) a { position: relative; transition: color .2s ease, padding-left .3s var(--ease-out); }
  .js .site-nav li:not(.site-nav__cta):not(.site-nav__back) a[aria-current="true"] { color: var(--lime); box-shadow: none; padding-left: 14px; }
  .js .site-nav li:not(.site-nav__cta):not(.site-nav__back) a[aria-current="true"]::before {
    content: ""; position: absolute; left: 0; top: 50%;
    width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--lime);
  }
  .js .site-header.is-open { transform: none; }
}
html.is-locked { overflow: hidden; }
html.is-locked body { overflow: visible; } /* evita que el body se vuelva contenedor de scroll y rompa la cabecera fija */

/* Botones: microinteracción magnética */
.btn {
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .35s var(--ease-out), box-shadow .3s ease;
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
}
.btn--lime:hover { box-shadow: 0 10px 28px rgba(201, 226, 107, 0.25); }
.btn:active { transform: translate3d(var(--mx, 0px), var(--my, 0px), 0) scale(.97); }
.link-arrow { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease-out); }
.link-arrow:hover { background-size: 100% 1px; }

/* Hero: palabras que suben, imagen con parallax */
.hero__media { will-change: transform; transform: translate3d(0, var(--py, 0px), 0); }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .08em .1em; margin: 0 -.08em -.1em; }
.hero__title .w__i { display: inline-block; }
.motion .hero__title:not(.is-split) { opacity: 0; animation: showNow 0s linear 1.2s forwards; }
.motion .hero__title .w__i { transform: translateY(108%); animation: wordUp .95s var(--ease-out) forwards; animation-delay: calc(120ms + var(--d, 0) * 70ms); }
.motion .hero .eyebrow,
.motion .hero__foot,
.motion .hero__credit { opacity: 0; animation: fadeUp .9s var(--ease-out) forwards; }
.motion .hero .eyebrow { animation-delay: .05s; }
.motion .hero__foot { animation-delay: .65s; }
.motion .hero__credit { animation-delay: .9s; }
@keyframes wordUp { to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes showNow { to { opacity: 1; } }

/* Apariciones al hacer scroll */
.motion [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .9s var(--ease-out);
  transition-delay: calc(var(--rd, 0) * 90ms);
}
.motion [data-reveal].is-in { opacity: 1; transform: none; }
.motion .principles li[data-reveal] { transition-property: opacity, transform; }
.motion .principles li { border-top-color: transparent; background: linear-gradient(var(--line-light), var(--line-light)) 0 0 / 0 1px no-repeat; transition: opacity .8s ease, transform .9s var(--ease-out), background-size 1.1s var(--ease-out); }
.motion .principles li.is-in { background-size: 100% 1px; }
.principles__n { transition: color .3s ease, transform .4s var(--ease-out); display: inline-block; }
.principles li:hover .principles__n { transform: translateX(4px); color: var(--forest-3); }

/* Imágenes: zoom suave al pasar y al aparecer */
.project__img, .place__media { overflow: hidden; }
.project__img img, .place__media img { transition: transform 1.2s var(--ease-out); }
.project__media:hover .project__img img, .place__media:hover img { transform: scale(1.035); }
.motion .project__media[data-reveal] .project__img img { transform: scale(1.08); }
.motion .project__media[data-reveal].is-in .project__img img { transform: scale(1); transition-duration: 1.6s; }
.motion .project__media[data-reveal].is-in:hover .project__img img { transform: scale(1.035); transition-duration: 1.2s; }
.mosaic__btn img { transition: transform .9s var(--ease-out), filter .4s ease; }
.mosaic__btn:hover img, .mosaic__btn:focus-visible img { transform: scale(1.05); }
.mosaic__cap { transition: padding-bottom .35s var(--ease-out); }
.mosaic__item:hover .mosaic__cap { padding-bottom: 16px; }
.mosaic__btn::after {
  content: "";
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(13, 23, 18, 0.62) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f1ede3' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M9 4H4v5M15 4h5v5M9 20H4v-5M15 20h5v-5'/%3E%3C/svg%3E") center / 16px no-repeat;
  opacity: 0;
  transform: scale(.85);
  transition: opacity .25s ease, transform .35s var(--ease-out);
  pointer-events: none;
}
.mosaic__btn:hover::after, .mosaic__btn:focus-visible::after { opacity: 1; transform: none; }

/* Estado «en construcción»: pulso suave */
.motion .status-dot { animation: pulse 2.4s ease-out infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 226, 107, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(201, 226, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 226, 107, 0); }
}

/* Cifras y barras */
.facts__num { transition: color .3s ease; }
.facts__bar {
  display: block;
  margin-top: 14px;
  height: 3px;
  max-width: 220px;
  background: var(--ivory-2);
  border-radius: 999px;
  overflow: hidden;
}
.facts__bar span {
  display: block;
  height: 100%;
  width: var(--value);
  background: var(--green);
  border-radius: inherit;
  transition: width 1.6s var(--ease-out) .2s;
}
.js .facts__item:not(.is-counted) .facts__bar span { width: 0; }
.meter__fill::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
  transform: translateX(-100%);
}
.motion .meter.is-in .meter__fill::after { animation: sheen 1.4s ease-out 1.5s 1 both; }
@keyframes sheen { to { transform: translateX(100%); } }

/* Ayudas (i) con detalle */
.tip {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 18px; height: 18px;
  margin-left: 6px;
  padding: 0;
  vertical-align: 1px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  opacity: .7;
  font: italic 600 11px/1 var(--serif);
  letter-spacing: 0;
  text-transform: none;
  cursor: help;
  transition: opacity .2s ease, background-color .2s ease, color .2s ease;
}
.tip::before { content: ""; position: absolute; inset: -13px; }
.tip:hover, .tip:focus-visible, .tip.is-open { opacity: 1; }
.tip__bubble {
  position: absolute;
  left: 50%; bottom: calc(100% + 10px);
  z-index: 20;
  width: max-content;
  max-width: min(260px, calc(100vw - 32px));
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--forest);
  color: var(--on-dark);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  font: 400 0.8125rem/1.45 var(--sans);
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  transform: translate(calc(-50% + var(--tx, 0px)), 6px);
  transition: opacity .2s ease, transform .3s var(--ease-out), visibility 0s linear .3s;
  pointer-events: none;
}
.design .tip__bubble { background: var(--ivory); color: var(--ink); }
.tip:hover .tip__bubble, .tip:focus-visible .tip__bubble, .tip.is-open .tip__bubble {
  opacity: 1; visibility: visible; transform: translate(calc(-50% + var(--tx, 0px)), 0);
  transition: opacity .2s ease, transform .3s var(--ease-out), visibility 0s;
}

/* Cronología: la línea se dibuja con el scroll */
.steps__item::after {
  content: "";
  position: absolute;
  left: 0; top: -2px;
  width: 100%; height: 2px;
  background: var(--green);
  transform-origin: 0 50%;
  transform: scaleX(var(--f, 1));
}
.steps__item--next::after { display: none; }
.motion .steps__item--next { transition: border-color .6s ease; }
.motion .steps__item--next:not(.is-reached) { border-top-color: transparent; }
.motion .steps__item:not(.steps__item--next) { border-top-color: rgba(47, 91, 64, 0.16); }
.motion .steps__item::before { transform: scale(var(--dot, 1)); transition: transform .45s var(--ease-out), box-shadow .3s ease; }
.steps__item--current::before { animation: none; }
.motion .steps__item--current.is-reached::before { animation: currentPulse 2.4s ease-out .3s infinite; }
@keyframes currentPulse {
  0%, 100% { box-shadow: 0 0 0 2px var(--green), 0 0 0 8px rgba(201, 226, 107, 0.35); }
  50% { box-shadow: 0 0 0 2px var(--green), 0 0 0 13px rgba(201, 226, 107, 0.08); }
}
@media (max-width: 860px) {
  .steps__item::after { left: -2px; top: 0; width: 2px; height: 100%; transform-origin: 50% 0; transform: scaleY(var(--f, 1)); }
  .motion .steps__item:not(.steps__item--next) { border-left-color: rgba(47, 91, 64, 0.16); }
  .motion .steps__item--next:not(.is-reached) { border-left-color: transparent; }
}

/* 360°: visor que se carga al pedirlo */
.pano__bg img { transform: translate3d(0, var(--py, 0px), 0) scale(1.12); will-change: transform; }
.pano__viewer { position: relative; }
.motion .pano__viewer:not([hidden]) { animation: viewerIn .6s var(--ease-out) both; }
@keyframes viewerIn { from { opacity: 0; transform: translateY(20px) scale(.985); } to { opacity: 1; transform: none; } }
.pano__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px 10px 16px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.8125rem;
  color: var(--on-dark-muted);
}
.pano__status::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--lime);
  vertical-align: 1px;
}
.motion .pano__viewer:not(.is-loaded) .pano__status::before { animation: blink 1s ease-in-out infinite alternate; }
@keyframes blink { to { opacity: .25; } }
.pano__fs {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: transparent;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.pano__fs:hover { background: rgba(241, 237, 227, 0.08); border-color: rgba(241, 237, 227, 0.4); }
.pano__viewer:fullscreen { display: flex; flex-direction: column; width: 100%; height: 100%; }
.pano__viewer:fullscreen iframe { flex: 1; max-height: none; aspect-ratio: auto; }
.pano__viewer iframe { background: var(--black) radial-gradient(circle at 50% 50%, rgba(201, 226, 107, 0.08), transparent 60%); }

/* Video: botón de reproducción sobre el póster */
.film__frame { position: relative; }
.film__play {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  padding: 0;
  border: 0;
  background: linear-gradient(180deg, rgba(7, 11, 9, 0) 40%, rgba(7, 11, 9, 0.45) 100%);
  color: var(--on-dark);
  cursor: pointer;
  transition: opacity .4s ease, visibility 0s linear 0s;
}
.film__play-icon {
  position: relative;
  width: clamp(72px, 8vw, 104px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  transition: transform .45s var(--ease-out), background-color .2s ease;
}
.film__play-icon::after {
  content: "";
  position: absolute;
  left: 54%; top: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--forest);
}
.film__play-icon::before {
  content: "";
  position: absolute; inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(201, 226, 107, 0.5);
  transition: transform .5s var(--ease-out), opacity .4s ease;
}
.film__play:hover .film__play-icon { transform: scale(1.06); background: #dcef8f; }
.film__play:hover .film__play-icon::before { transform: scale(1.12); opacity: .6; }
.film__play-label { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.04em; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5); }
.film__play.is-gone { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .4s ease, visibility 0s linear .4s; }
.motion .film__frame[data-reveal] video { transform: scale(.97); transition: transform 1.2s var(--ease-out); }
.motion .film__frame[data-reveal].is-in video { transform: none; }

/* Visor de la galería */
.motion .lightbox[open] .lightbox__inner { animation: lbIn .4s var(--ease-out) both; }
.motion .lightbox[open]::backdrop { animation: lbFade .3s ease both; }
@keyframes lbIn { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
.lightbox__img { transition: opacity .25s ease, transform .35s var(--ease-out); touch-action: pan-y; user-select: none; -webkit-user-drag: none; }
.lightbox__img.is-swapping { opacity: 0; transform: translateX(calc(var(--dir, 1) * 24px)); }
.lightbox__btn { transition: background-color .2s ease, transform .25s var(--ease-out); }
.lightbox__btn:hover { transform: scale(1.06); }

/* Sin movimiento: todo visible y quieto */
@media (prefers-reduced-motion: reduce) {
  .site-header.is-hidden { transform: none; }
  .hero__media, .pano__bg img { transform: none !important; }
  .btn { transform: none !important; }
  .steps__item::after { transform: none !important; }
}
