/* =====================================================================
   NHIDALGO — Página de lanzamiento
   Estilos principales. Sin dependencias externas.
   ===================================================================== */

/* ---------- Fuentes locales ---------- */
@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/montserrat-variable.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gelasio";
  src: url("../assets/fonts/gelasio-variable.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gelasio";
  src: url("../assets/fonts/gelasio-italic-variable.woff") format("woff");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../assets/fonts/dmsans-variable.woff") format("woff");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

/* ---------- Variables de marca ---------- */
:root {
  --green: #087A45;
  --green-2: #00A86B;
  --green-dark: #092C22;
  --green-deep: #061f18;
  --white: #FFFFFF;
  --gray: #F3F6F3;
  --ink: #12261f;
  --muted: #4f6158;
  --line: rgba(9, 44, 34, .12);

  --font-brand: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Gelasio", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: clamp(1.25rem, 4.5vw, 3.5rem);
  --maxw: 1320px;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 30px 60px -30px rgba(6, 31, 24, .45), 0 12px 24px -12px rgba(6, 31, 24, .25);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--gray);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--green-2); color: #fff; }
:focus-visible { outline: 3px solid var(--green-2); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: #fff; color: var(--green-dark); padding: .7rem 1rem; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---------- Tipografía editorial ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--font-brand); font-weight: 600;
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--green);
}
.eyebrow__num { font-weight: 800; color: var(--green-dark); }
.eyebrow__line { width: 2.5rem; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--light { color: #b9f0d4; }
.eyebrow--light .eyebrow__num { color: #fff; }

.display {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.6rem);
  line-height: 1.02; letter-spacing: -.02em;
  color: var(--green-dark);
  text-wrap: balance;
}
.display em { font-style: italic; color: var(--green); }
.display--light { color: #fff; }
.display--light em { color: #8fe3b9; }

.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); line-height: 1.7; color: var(--muted); max-width: 34em; text-wrap: pretty; }

/* =====================================================================
   ENCABEZADO
   ===================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  padding-top: env(safe-area-inset-top);
  color: #fff;
  transition: background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease), height .4s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(6, 31, 24, .55), rgba(6, 31, 24, 0));
  transition: opacity .5s var(--ease);
}
.site-header__inner {
  height: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 2rem;
}
.site-header.is-scrolled {
  --header-h: 64px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  color: var(--green-dark);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(6, 31, 24, .35);
}
.site-header.is-scrolled::before { opacity: 0; }

.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; margin-right: auto; }
.brand__mark { width: 34px; height: 34px; flex: none; border-radius: 9px; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45); }
.brand__name { font-family: var(--font-brand); font-weight: 800; font-size: 1.12rem; letter-spacing: .16em; }

.site-nav__list { display: flex; gap: 2rem; }
.site-nav__list a {
  position: relative; text-decoration: none;
  font-family: var(--font-brand); font-weight: 500; font-size: .86rem; letter-spacing: .04em;
  padding-block: .4rem; opacity: .92;
}
.site-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--green-2); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.site-nav__list a:hover::after { transform: scaleX(1); transform-origin: left; }

.status-pill {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-brand); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  padding: .55rem .95rem; border-radius: 999px;
  border: 1px solid currentColor; opacity: .95;
  white-space: nowrap; user-select: none; cursor: default;
}
.status-pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 0 0 rgba(0, 168, 107, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 168, 107, .55); } 70% { box-shadow: 0 0 0 9px rgba(0, 168, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 168, 107, 0); } }

.menu-toggle { display: none; }

/* =====================================================================
   1. PORTADA (HERO)
   ===================================================================== */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto;
  color: #fff; overflow: hidden;
  background: var(--green-dark);
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media picture, .hero__img { width: 100%; height: 100%; }
.hero__img { object-fit: cover; object-position: 60% 50%; transform: scale(1.12); transform-origin: 62% 55%; will-change: transform; }
.is-loaded .hero__img { animation: heroZoom 2.8s var(--ease-out) forwards, heroDrift 28s 2.8s ease-in-out infinite alternate; }
@keyframes heroZoom { from { transform: scale(1.12); filter: brightness(.7) saturate(.8); } to { transform: scale(1.02); filter: none; } }
@keyframes heroDrift { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.07) translate3d(-1%, -.5%, 0); } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 31, 24, .78) 0%, rgba(6, 31, 24, .38) 42%, rgba(6, 31, 24, 0) 70%),
    linear-gradient(0deg, rgba(6, 31, 24, .92) 0%, rgba(6, 31, 24, .25) 38%, rgba(6, 31, 24, 0) 60%);
}
.hero__mist {
  position: absolute; inset: auto -10% -6% -10%; height: 30%;
  background: radial-gradient(ellipse at 50% 100%, rgba(0, 168, 107, .28), transparent 70%);
  mix-blend-mode: screen; pointer-events: none;
}
.hero__content {
  align-self: end;
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: clamp(2rem, 6vh, 4.5rem);
}
.hero__label { margin-bottom: clamp(1rem, 2.5vh, 1.75rem); }
.hero__title {
  font-family: var(--font-brand); font-weight: 800;
  font-size: clamp(3.3rem, 1rem + 12.5vw, 12.5rem);
  line-height: .86; letter-spacing: -.035em;
  margin-left: -.04em;
}
.hero__letters { display: inline-flex; overflow: hidden; padding-bottom: .06em; }
.hero__letters > span {
  display: inline-block;
  background: linear-gradient(180deg, #ffffff 30%, #c9f3dd 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__letters > span:nth-child(1) { background: linear-gradient(180deg, #5ff0a8, var(--green-2)); -webkit-background-clip: text; background-clip: text; }
.hero__tagline {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.35rem, 1rem + 1.6vw, 2.35rem); line-height: 1.2;
  margin-top: clamp(.9rem, 2.2vh, 1.6rem); max-width: 22em; text-wrap: balance;
}
.hero__desc {
  margin-top: 1.1rem; max-width: 37rem;
  font-size: clamp(.98rem, .93rem + .25vw, 1.1rem); line-height: 1.7;
  color: rgba(255, 255, 255, .84); text-wrap: pretty;
}
.hero__soon {
  display: inline-flex; align-items: center; gap: 1rem;
  margin-top: clamp(1.4rem, 3.5vh, 2.4rem);
  font-family: var(--font-brand); font-weight: 700; font-size: .9rem; letter-spacing: .42em; text-transform: uppercase;
  color: #9ff0c7;
}
.hero__soon-line { width: 4rem; height: 2px; background: linear-gradient(90deg, var(--green-2), #9ff0c7); transform-origin: left; }
.hero__meta {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-top: 1.1rem; padding-bottom: calc(1.4rem + env(safe-area-inset-bottom));
  font-family: var(--font-brand); font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  position: relative;
}
.hero__meta::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(255, 255, 255, .2); }
.scroll-cue { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.scroll-cue__track { width: 22px; height: 36px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 12px; position: relative; }
.scroll-cue__dot { position: absolute; left: 50%; top: 7px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* Animación de entrada de la portada (solo con JS activo) */
.js .hero__letters > span { transform: translateY(105%); }
.js .is-loaded .hero__letters > span { animation: letterUp 1.1s var(--ease-out) forwards; }
.js .is-loaded .hero__letters > span:nth-child(1) { animation-delay: .15s; }
.js .is-loaded .hero__letters > span:nth-child(2) { animation-delay: .22s; }
.js .is-loaded .hero__letters > span:nth-child(3) { animation-delay: .29s; }
.js .is-loaded .hero__letters > span:nth-child(4) { animation-delay: .36s; }
.js .is-loaded .hero__letters > span:nth-child(5) { animation-delay: .43s; }
.js .is-loaded .hero__letters > span:nth-child(6) { animation-delay: .50s; }
.js .is-loaded .hero__letters > span:nth-child(7) { animation-delay: .57s; }
.js .is-loaded .hero__letters > span:nth-child(8) { animation-delay: .64s; }
@keyframes letterUp { to { transform: translateY(0); } }
.js [data-hero-step] { opacity: 0; transform: translateY(18px); }
.js .is-loaded [data-hero-step] { animation: fadeUp 1s var(--ease-out) forwards; }
.js .is-loaded [data-hero-step="1"] { animation-delay: .05s; }
.js .is-loaded [data-hero-step="2"] { animation-delay: .85s; }
.js .is-loaded [data-hero-step="3"] { animation-delay: 1.05s; }
.js .is-loaded [data-hero-step="4"] { animation-delay: 1.25s; }
.js .is-loaded [data-hero-step="5"] { animation-delay: 1.5s; }
.js .is-loaded .hero__soon-line { animation: grow 1.4s 1.5s var(--ease-out) both; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* =====================================================================
   2. EL PROYECTO
   ===================================================================== */
.intro { position: relative; background: var(--gray); padding-top: clamp(5rem, 12vw, 10rem); overflow: hidden; }
.intro::before {
  content: ""; position: absolute; width: 60vw; height: 60vw; right: -20vw; top: -10vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 168, 107, .09), transparent 65%); pointer-events: none;
}
.intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.intro__text .display { margin-top: 1.4rem; }
.intro__text .lead { margin-top: 1.6rem; }
.pillars { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2.2rem; }
.pillars li {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .6rem 1rem .6rem .8rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-family: var(--font-brand); font-size: .8rem; font-weight: 600; color: var(--green-dark);
}
.pillars svg, .card__icon svg { width: 18px; height: 18px; fill: none; stroke: var(--green); stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }

.collage { position: relative; aspect-ratio: 1 / 1.02; }
.collage__frame { width: 100%; height: 100%; overflow: hidden; border-radius: var(--radius); will-change: transform; }
.collage__frame img { width: 100%; height: 115%; object-fit: cover; margin-top: -7.5%; }
.collage__main { position: absolute; top: 0; right: 0; width: 82%; height: 78%; box-shadow: var(--shadow); border-radius: var(--radius); }
.collage__main img { object-position: 40% 50%; }
.collage__small {
  position: absolute; left: 0; bottom: 0; width: 50%; height: 44%;
  border-radius: var(--radius); box-shadow: var(--shadow);
  border: 8px solid var(--gray);
}
.collage__small .collage__frame { border-radius: calc(var(--radius) - 6px); }
.badge {
  position: absolute; right: 6%; bottom: 3%; width: clamp(110px, 12vw, 150px); aspect-ratio: 1;
  border-radius: 50%; background: var(--green-dark); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow);
}
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.badge__ring text { font-family: var(--font-brand); font-weight: 700; font-size: 15.5px; letter-spacing: .22em; fill: #b9f0d4; }
.badge__mark { width: 34%; height: 34%; color: var(--green-2); }
@keyframes spin { to { transform: rotate(360deg); } }

.marquee {
  margin-top: clamp(4.5rem, 10vw, 8rem);
  background: var(--green-dark); color: #e8f6ee;
  overflow: hidden; padding-block: 1.25rem;
  border-block: 1px solid rgba(255, 255, 255, .06);
}
.marquee__track { display: flex; width: max-content; align-items: center; gap: 2rem; animation: marquee 40s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem, 1rem + 1vw, 1.9rem); white-space: nowrap; }
.marquee__track i { font-style: normal; color: var(--green-2); font-size: .9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =====================================================================
   3. LO QUE PODRÁS DESCUBRIR
   ===================================================================== */
.discover {
  position: relative;
  padding-block: clamp(5rem, 11vw, 9rem) clamp(7rem, 14vw, 12rem);
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 78%, #dbe9e1 90%, var(--green-dark) 100%);
}
.section-head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head .display { margin-top: 1.2rem; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.card {
  position: relative; background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out), border-color .5s;
}
.cards .card:nth-child(even) { margin-top: clamp(0rem, 6vw, 5rem); }
.card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease-out), filter .8s; }
.card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(6, 31, 24, .55), rgba(6, 31, 24, 0) 55%);
  transition: opacity .6s;
}
.card__num {
  position: absolute; left: 1.4rem; bottom: 1rem; z-index: 1;
  font-family: var(--font-brand); font-weight: 800; font-size: clamp(2.4rem, 2rem + 2vw, 3.6rem); line-height: 1;
  color: #fff; letter-spacing: -.03em; text-shadow: 0 6px 30px rgba(0, 0, 0, .3);
}
.card__body { position: relative; padding: clamp(1.4rem, 2.5vw, 2.1rem) clamp(1.4rem, 2.5vw, 2.2rem) clamp(1.6rem, 2.8vw, 2.4rem); }
.card__body::before {
  content: ""; position: absolute; left: clamp(1.4rem, 2.5vw, 2.2rem); right: clamp(1.4rem, 2.5vw, 2.2rem); top: 0; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-2)); transform: scaleX(.18); transform-origin: left; transition: transform .8s var(--ease-out);
}
.card__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--gray); margin-bottom: 1rem; transition: background .5s; }
.card__icon svg { width: 21px; height: 21px; }
.card__title { font-family: var(--font-brand); font-weight: 700; font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); letter-spacing: .06em; text-transform: uppercase; color: var(--green-dark); }
.card p { margin-top: .6rem; color: var(--muted); max-width: 30em; }

@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
  .card:hover .card__media img { transform: scale(1.09); }
  .card:hover .card__body::before { transform: scaleX(1); }
  .card:hover .card__icon { background: rgba(0, 168, 107, .14); }
}

/* =====================================================================
   GALERÍA: RINCONES
   ===================================================================== */
.places { background: var(--green-dark); color: #fff; padding-block: clamp(3rem, 7vw, 5rem) clamp(5rem, 11vw, 9rem); }
.places__intro { max-width: 22rem; color: rgba(255, 255, 255, .72); font-size: 1.05rem; }
.mosaic {
  display: grid; gap: clamp(.6rem, 1.2vw, 1rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 16vw, 230px);
  grid-template-areas:
    "a a b c"
    "a a d d"
    "e f f g"
    "h h i g";
}
.tile--a { grid-area: a; } .tile--b { grid-area: b; } .tile--c { grid-area: c; }
.tile--d { grid-area: d; } .tile--e { grid-area: e; } .tile--f { grid-area: f; }
.tile--g { grid-area: g; } .tile--h { grid-area: h; } .tile--i { grid-area: i; }
.tile { position: relative; overflow: hidden; border-radius: 14px; background: #0e3a2d; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out), filter .8s; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 31, 24, .75) 0%, rgba(6, 31, 24, 0) 50%); pointer-events: none; }
.tile__cap {
  position: absolute; left: 1rem; right: 1rem; bottom: .9rem; z-index: 1;
  display: flex; flex-direction: column; line-height: 1.25;
}
.tile__cap strong { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.05rem, .95rem + .45vw, 1.45rem); }
.tile__cap span { font-family: var(--font-brand); font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #9ff0c7; margin-top: .3rem; }
.tile--a .tile__cap strong { font-size: clamp(1.4rem, 1rem + 1.4vw, 2.4rem); }
@media (hover: hover) and (pointer: fine) {
  .tile:hover img { transform: scale(1.07); }
}

/* =====================================================================
   4. CIERRE
   ===================================================================== */
.closing {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(560px, 92vh, 900px);
  display: grid; place-items: center; text-align: center; color: #fff;
  background: var(--green-dark);
}
.closing__media { position: absolute; inset: -12% 0; z-index: -2; }
.closing__media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.closing::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, var(--green-dark) 0%, rgba(9, 44, 34, .55) 22%, rgba(9, 44, 34, .45) 60%, var(--green-deep) 100%),
    radial-gradient(ellipse at center, rgba(9, 44, 34, .1), rgba(9, 44, 34, .55));
}
.closing__content { padding-block: clamp(5rem, 12vw, 9rem); max-width: 60rem; }
.closing__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.5rem, 1.2rem + 5.4vw, 6rem); line-height: 1; letter-spacing: -.025em; text-wrap: balance;
}
.closing__phrase { margin-top: 1.4rem; font-family: var(--font-display); font-style: italic; font-size: clamp(1.25rem, 1rem + 1.2vw, 2rem); color: #b9f0d4; }
.closing__small { margin-top: 2.2rem; font-size: 1rem; color: rgba(255, 255, 255, .78); }
.closing__sign {
  margin-top: 2.8rem; display: inline-flex; align-items: center; gap: .9rem; flex-wrap: wrap; justify-content: center;
  font-family: var(--font-brand); font-weight: 800; font-size: .95rem; letter-spacing: .28em; text-transform: uppercase;
}
.closing__sign .sep { color: var(--green-2); font-weight: 400; }
.closing__sign-line { width: 2.6rem; height: 2px; background: var(--green-2); }

/* =====================================================================
   PIE DE PÁGINA
   ===================================================================== */
.site-footer { background: var(--green-deep); color: rgba(255, 255, 255, .7); padding-block: 2.2rem calc(2.2rem + env(safe-area-inset-bottom)); font-size: .88rem; }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.site-footer__brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff; font-family: var(--font-brand); font-weight: 800; letter-spacing: .16em; }
.site-footer__brand .brand__mark { width: 28px; height: 28px; box-shadow: none; }
.site-footer__tag { font-family: var(--font-display); font-style: italic; color: #b9f0d4; }

/* =====================================================================
   APARICIÓN AL DESPLAZARSE (solo con JS activo)
   ===================================================================== */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .card[data-reveal].is-visible { transition: opacity 1.1s var(--ease-out), transform .7s var(--ease-out), box-shadow .7s var(--ease-out), border-color .5s; }
.js .collage__main[data-reveal] { clip-path: inset(12% 0 0 12% round var(--radius)); transition: clip-path 1.4s var(--ease-out), opacity 1s, transform 1.2s var(--ease-out); }
.js .collage__main[data-reveal].is-visible { clip-path: inset(0 0 0 0 round var(--radius)); }

/* =====================================================================
   TABLET
   ===================================================================== */
@media (max-width: 1080px) {
  .site-nav__list { gap: 1.4rem; }
  .intro__grid { grid-template-columns: 1fr; }
  .collage { max-width: 680px; width: 100%; margin-inline: auto; aspect-ratio: 1 / .85; }
  .mosaic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: clamp(150px, 24vw, 240px);
    grid-template-areas:
      "a a b"
      "a a c"
      "d d e"
      "f g g"
      "h h i";
  }
}

/* =====================================================================
   CELULAR (diseño vertical dedicado)
   ===================================================================== */
@media (max-width: 820px) {
  :root { --header-h: 64px; }
  .site-nav, .status-pill { display: none; }
  .js .menu-toggle {
    display: inline-flex; align-items: center; gap: .7rem;
    min-height: 44px; padding: 0 .4rem 0 .9rem; border-radius: 999px;
    border: 1px solid currentColor; background: transparent; color: inherit;
    font-family: var(--font-brand); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  .menu-toggle__bars { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--green-2); }
  .menu-toggle__bars span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; border-radius: 2px; transition: transform .45s var(--ease), top .45s var(--ease); }
  .menu-toggle__bars span:nth-child(1) { top: 13px; }
  .menu-toggle__bars span:nth-child(2) { top: 19px; }
  .menu-open .menu-toggle__bars span:nth-child(1) { top: 16px; transform: rotate(45deg); }
  .menu-open .menu-toggle__bars span:nth-child(2) { top: 16px; transform: rotate(-45deg); }
  .menu-open .site-header { background: transparent; box-shadow: none; color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu-open .site-header::before { opacity: 0; }

  .mobile-menu {
    position: fixed; inset: 0; z-index: 90;
    display: flex; flex-direction: column; justify-content: center;
    padding: calc(var(--header-h) + 2rem) var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    background: radial-gradient(ellipse at 80% 0%, #0d5a3a 0%, var(--green-dark) 55%, var(--green-deep) 100%);
    color: #fff;
    opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s;
  }
  .mobile-menu[hidden] { display: flex; }
  .menu-open .mobile-menu { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
  .mobile-menu__list li { border-bottom: 1px solid rgba(255, 255, 255, .12); transform: translateY(20px); opacity: 0; transition: transform .6s var(--ease-out), opacity .6s; }
  .menu-open .mobile-menu__list li { transform: none; opacity: 1; }
  .menu-open .mobile-menu__list li:nth-child(2) { transition-delay: .06s; }
  .menu-open .mobile-menu__list li:nth-child(3) { transition-delay: .12s; }
  .mobile-menu__list a {
    display: flex; align-items: baseline; gap: 1rem; padding: 1.15rem 0; text-decoration: none;
    font-family: var(--font-display); font-size: clamp(1.8rem, 7.5vw, 2.6rem); line-height: 1.1;
  }
  .mobile-menu__list a span { font-family: var(--font-brand); font-size: .75rem; font-weight: 700; letter-spacing: .15em; color: var(--green-2); }
  .mobile-menu__foot { margin-top: 2.5rem; font-family: var(--font-brand); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: #9ff0c7; }
  body.menu-open { overflow: hidden; }

  .brand__mark { width: 30px; height: 30px; }
  .brand__name { font-size: 1rem; letter-spacing: .14em; }

  .hero__img { object-position: 55% 50%; }
  .hero__shade {
    background:
      linear-gradient(0deg, rgba(6, 31, 24, .95) 0%, rgba(6, 31, 24, .55) 45%, rgba(6, 31, 24, .1) 75%, rgba(6, 31, 24, .35) 100%);
  }
  .hero__content { padding-top: calc(var(--header-h) + 3rem); }
  .hero__title { letter-spacing: -.03em; }
  .hero__desc { font-size: 1rem; color: rgba(255, 255, 255, .86); }
  .hero__soon { letter-spacing: .34em; font-size: .82rem; }
  .hero__meta { font-size: .62rem; letter-spacing: .16em; }
  .hero__meta-mid { display: none; }

  .intro { padding-top: 4.5rem; }
  .pillars { gap: .5rem; }
  .collage { aspect-ratio: 1 / 1.05; margin-top: .5rem; }
  .collage__main { width: 88%; height: 74%; }
  .collage__small { width: 56%; height: 42%; border-width: 6px; }
  .badge { width: 104px; right: 2%; bottom: 4%; }
  .badge__ring text { font-size: 16.5px; }
  .marquee { margin-top: 4rem; padding-block: 1rem; }

  .section-head--split { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .cards { grid-template-columns: 1fr; gap: 1.25rem; }
  .cards .card:nth-child(even) { margin-top: 0; }
  .card__media { aspect-ratio: 16 / 10; }
  .card__num { left: 1.1rem; bottom: .8rem; }

  .mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    grid-template-areas: none;
  }
  .mosaic .tile { grid-area: auto; aspect-ratio: 1 / 1; border-radius: 12px; }
  .mosaic .tile--a { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .tile__cap { left: .8rem; right: .8rem; bottom: .7rem; }
  .tile__cap strong { font-size: 1rem; }
  .tile__cap span { font-size: .58rem; letter-spacing: .12em; }

  .closing { min-height: 0; }
  .closing__content { padding-block: 6rem; }
  .closing__sign { font-size: .8rem; letter-spacing: .2em; gap: .6rem; }

  .site-footer__inner { flex-direction: column; align-items: flex-start; gap: .6rem; }
}

@media (max-width: 380px) {
  .hero__soon { letter-spacing: .26em; }
  .tile__cap span { display: none; }
  .menu-toggle__label { display: none; }
}

/* Pantallas horizontales bajas (celular acostado) */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: 560px; }
  .hero__content { padding-top: calc(var(--header-h) + 1.5rem); }
  .hero__title { font-size: clamp(3rem, 9vw, 6rem); }
  .hero__desc { display: none; }
}

/* =====================================================================
   MOVIMIENTO REDUCIDO
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .hero__img { transform: none !important; animation: none !important; }
  .js .hero__letters > span, .js [data-hero-step], .js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .marquee__track, .badge__ring, .status-pill__dot, .scroll-cue__dot { animation: none !important; }
  [data-parallax] { transform: none !important; }
}

@media print {
  .site-header, .mobile-menu, .marquee, .scroll-cue { display: none !important; }
  .js [data-reveal], .js [data-hero-step], .js .hero__letters > span { opacity: 1 !important; transform: none !important; }
}
