/*
  Ecoparque Tu País · Teleférico de Salento
  Base: lenguaje "radical subtraction" inspirado en el DESIGN.md de Tesla (design-md-library):
  la fotografía carga la emoción, la interfaz casi desaparece. Sin degradados decorativos,
  sin sombras, sin bordes ornamentales.
  Acento único: rojo de la cabina del teleférico. Neutros fríos (no crema).
  Radios: controles interactivos 6px, medios y contenedores 12px.
*/

@font-face {
  font-family: "Geist";
  src: url("fonts/geist-latin-wght.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  src: url("fonts/geist-latin-ext-wght.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #f6f7f5;
  --surface: #fdfdfc;
  --surface-2: #eceeea;
  --text: #16191a;
  --text-2: #43494b;
  --text-3: #636a6d;
  --line: #d9ddd7;
  --accent: #c3382b;
  --accent-hover: #a92e23;
  --on-accent: #fdfdfc;
  --on-photo: #f4f5f3;
  --scrim: 12, 15, 15;

  --font: "Geist", -apple-system, "Segoe UI", sans-serif;
  --r-ctl: 6px;
  --r-box: 12px;
  --gutter: clamp(16px, 4.5vw, 64px);
  --max: 1280px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --t: .33s;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1312;
    --surface: #161b19;
    --surface-2: #1d2321;
    --text: #eceeec;
    --text-2: #b6bdb9;
    --text-3: #8d9592;
    --line: #2b3230;
    --accent: #df4b3b;
    --accent-hover: #ea5f50;
    --on-accent: #fdfdfc;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; font-weight: 400;
  color: var(--text-2); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { color: var(--text); font-weight: 500; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -.03em; max-width: 22ch; }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
figure { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--accent); color: var(--on-accent); padding: .6rem 1rem; border-radius: var(--r-ctl); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

section { padding: clamp(80px, 11vw, 144px) var(--gutter); }
section > h2, section > .lede { margin-inline: auto; max-width: var(--max); }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.lede { margin-top: 1.1rem; max-width: 60ch; font-size: 1.125rem; color: var(--text-2); }
.caption { font-size: .85rem; color: var(--text-3); }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: 0 1.4rem;
  border-radius: var(--r-ctl); font: 500 .95rem var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  border: 1px solid transparent; transition: background-color var(--t), color var(--t), border-color var(--t), transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn i { font-size: 1.15rem; }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--light { background: rgba(244,245,243,.92); color: #16191a; }
.btn--light:hover { background: #fdfdfc; }
.btn--ghost { color: var(--on-photo); border-color: rgba(244,245,243,.4); background: rgba(var(--scrim), .25); }
.btn--ghost:hover { background: var(--on-photo); color: #16191a; border-color: var(--on-photo); }
.btn--block { width: 100%; }

/* Navegación */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 var(--gutter); color: var(--on-photo); transition: background-color var(--t), color var(--t), transform .45s var(--ease);
}
.nav.is-solid { background: color-mix(in srgb, var(--bg) 88%, transparent); color: var(--text); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand { font-weight: 600; font-size: 1rem; letter-spacing: -.01em; text-decoration: none; }
.nav__menu { display: flex; align-items: center; gap: .25rem; font-size: .9rem; font-weight: 500; }
.nav__menu a { text-decoration: none; padding: .45rem .8rem; border-radius: var(--r-ctl); transition: background-color var(--t); }
.nav__menu a:hover { background: rgba(127,127,127,.14); }
.nav__menu .nav__cta { background: var(--accent); color: var(--on-accent); margin-left: .5rem; }
.nav__menu .nav__cta:hover { background: var(--accent-hover); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: none; border-radius: var(--r-ctl); cursor: pointer; font-size: 1.6rem; }
@media (max-width: 960px) {
  .nav__toggle { display: grid; place-items: center; }
  .nav__menu {
    position: fixed; inset: 64px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) 1.5rem;
    background: var(--bg); color: var(--text); border-bottom: 1px solid var(--line); font-size: 1.1rem;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity var(--t), transform var(--t), visibility var(--t);
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__menu a { padding: .85rem 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav__menu a:hover { background: none; }
  .nav__menu .nav__cta { margin: 1rem 0 0; text-align: center; border: 0; border-radius: var(--r-ctl); }
  .nav.menu-open { background: var(--bg); color: var(--text); }
}

/* Hero */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: flex-end; padding: 0 var(--gutter) clamp(48px, 9vh, 96px); color: var(--on-photo); isolation: isolate; background: #1c2421; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(var(--scrim), .72) 0%, rgba(var(--scrim), .25) 40%, rgba(var(--scrim), 0) 60%, rgba(var(--scrim), .3) 100%); }
.hero__content { width: 100%; max-width: var(--max); margin: 0 auto; }
.hero__title { color: inherit; font-size: clamp(2.75rem, 7vw, 6rem); line-height: 1; letter-spacing: -.045em; max-width: 12ch; }
.hero__title span { display: inline-block; }
.hero__lead { margin-top: 1.25rem; max-width: 40ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: rgba(244,245,243,.9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
@media (prefers-reduced-motion: no-preference) {
  .hero__title span, .hero__lead, .hero__actions { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
  .hero__title span:nth-child(2) { animation-delay: .08s; }
  .hero__lead { animation-delay: .2s; }
  .hero__actions { animation-delay: .3s; }
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* Datos clave */
.facts { padding-block: clamp(48px, 7vw, 80px); border-bottom: 1px solid var(--line); }
.facts__list { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.facts__list dt { font-size: .9rem; color: var(--text-3); }
.facts__list dd { margin: .35rem 0 0; font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 500; letter-spacing: -.035em; color: var(--text); line-height: 1.1; font-variant-numeric: tabular-nums; }
.facts__note { max-width: var(--max); margin: 2.5rem auto 0; font-size: .85rem; color: var(--text-3); }
@media (max-width: 760px) { .facts__list { grid-template-columns: 1fr 1fr; row-gap: 1.75rem; } }

/* Problema */
.problem { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.problem__img { border-radius: var(--r-box); overflow: hidden; aspect-ratio: 4/5; background: var(--surface-2); }
.problem__img img { width: 100%; height: 100%; object-fit: cover; }
.bignums { margin-top: 2.5rem; display: grid; gap: 1.75rem; }
.bignum strong { display: block; font-size: clamp(2.4rem, 4.4vw, 3.5rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.bignum p { margin-top: .4rem; }
.bignum a { display: inline-block; margin-top: .3rem; font-size: .85rem; color: var(--text-3); }
.bignum a:hover { color: var(--text); }
@media (max-width: 900px) { .problem { grid-template-columns: 1fr; } .problem__img { aspect-ratio: 16/10; } }

/* Recorrido */
.ride { position: relative; height: 400vh; padding: 0; background: #1c2421; color: var(--on-photo); }
.ride__sticky { position: sticky; top: 0; height: 100dvh; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; padding: 96px var(--gutter) 32px; isolation: isolate; }
.ride__bgs { position: absolute; inset: 0; z-index: -1; }
.ride__bgs::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(var(--scrim), .8) 0%, rgba(var(--scrim), .2) 45%, rgba(var(--scrim), .1) 65%, rgba(var(--scrim), .55) 100%); }
.ride__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1s ease, transform 5s ease-out; }
.ride__bg.is-on { opacity: 1; transform: scale(1); }
.ride__title { color: inherit; font-size: clamp(1.75rem, 3.4vw, 2.75rem); line-height: 1.1; letter-spacing: -.03em; max-width: 18ch; }
.ride__stages { list-style: none; margin: 0; padding: 0; align-self: end; position: relative; max-width: 460px; min-height: 210px; margin-bottom: 1.5rem; }
.ride__stage { position: absolute; inset: auto auto 0 0; opacity: 0; transform: translateY(16px); transition: opacity .2s, transform .2s; }
.ride__stage.is-on { opacity: 1; transform: none; transition: opacity .5s .2s, transform .7s .2s var(--ease); }
.ride__km { font-size: .9rem; font-weight: 500; color: rgba(244,245,243,.75); font-variant-numeric: tabular-nums; }
.ride__stage h3 { color: inherit; font-size: clamp(1.6rem, 2.8vw, 2.25rem); letter-spacing: -.03em; margin: .3rem 0 .6rem; }
.ride__stage p { color: rgba(244,245,243,.88); font-size: 1.05rem; }
.ride__hud { display: grid; grid-template-columns: auto auto 1fr; gap: 2.5rem; align-items: center; padding-top: 1.25rem; border-top: 1px solid rgba(244,245,243,.25); }
.ride__readout span { display: block; font-size: .8rem; color: rgba(244,245,243,.7); }
.ride__readout strong { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 500; letter-spacing: -.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ride__track { height: 2px; position: relative; }
.ride__track i { position: absolute; inset: 0; background: var(--on-photo); transform-origin: 0 50%; transform: scaleX(var(--rp, 0)); }
@media (max-width: 700px) {
  .ride__hud { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .ride__track { grid-column: span 2; }
  .ride__stages { min-height: 240px; }
}

/* Video real */
.film__head { max-width: var(--max); margin: 0 auto 3rem; }
.film__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.7fr 1fr; gap: 1.5rem; }
.yt--main { grid-row: span 2; }
.yt__btn, .yt iframe { position: relative; display: block; width: 100%; aspect-ratio: 16/9; border: 0; padding: 0; border-radius: var(--r-box); overflow: hidden; background: var(--surface-2); cursor: pointer; }
.yt__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.yt__btn:hover img { transform: scale(1.03); }
.yt__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 64px; height: 64px; border-radius: var(--r-ctl); background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 1.6rem; transition: background-color var(--t), transform var(--t); }
.yt:not(.yt--main) .yt__play { width: 52px; height: 52px; font-size: 1.3rem; }
.yt__btn:hover .yt__play { background: var(--accent-hover); transform: scale(1.06); }
.yt figcaption { display: flex; flex-direction: column; margin-top: .85rem; }
.yt figcaption b { color: var(--text); font-weight: 500; }
.yt figcaption span { font-size: .875rem; color: var(--text-3); }
.film__proof { background: var(--surface-2); border-radius: var(--r-box); padding: 1.75rem; display: flex; flex-direction: column; justify-content: flex-end; gap: .5rem; }
.film__proof strong { font-size: 3rem; font-weight: 500; letter-spacing: -.04em; line-height: 1; color: var(--text); }
.film__proof a { margin-top: .4rem; color: var(--accent); font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; }
.film__proof a:hover { text-decoration: underline; }
@media (max-width: 900px) { .film__grid { grid-template-columns: 1fr; } .yt--main { grid-row: auto; } }

/* Antes / después */
.ba { position: relative; max-width: var(--max); margin: 2.5rem auto 0; aspect-ratio: 16/8; border-radius: var(--r-box); overflow: hidden; user-select: none; background: var(--surface-2); }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; translate: -1px 0; background: #fdfdfc; pointer-events: none; }
.ba__handle span { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 48px; height: 48px; border-radius: var(--r-ctl); background: #fdfdfc; color: #16191a; display: grid; place-items: center; font-size: 1.3rem; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__legend { max-width: var(--max); margin: .9rem auto 0; display: flex; justify-content: space-between; font-size: .9rem; color: var(--text-3); }
@media (max-width: 700px) { .ba { aspect-ratio: 4/5; } }

/* Por qué este proyecto (bento: 1 imagen + 4 puntos) */
.edge { padding-top: 0; }
.edge__grid { max-width: var(--max); margin: 2.75rem auto 0; display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: auto auto; gap: 1rem; }
.edge__img { grid-row: span 2; border-radius: var(--r-box); overflow: hidden; min-height: 360px; background: var(--surface-2); }
.edge__img img { width: 100%; height: 100%; object-fit: cover; }
.edge__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-box); padding: 1.75rem; }
.edge__item i { font-size: 1.75rem; color: var(--accent); }
.edge__item h3 { margin: 1rem 0 .5rem; }
.edge__item p { font-size: .97rem; }
@media (max-width: 960px) { .edge__grid { grid-template-columns: 1fr 1fr; } .edge__img { grid-column: span 2; grid-row: auto; aspect-ratio: 16/9; min-height: 0; } }
@media (max-width: 560px) { .edge__grid { grid-template-columns: 1fr; } .edge__img { grid-column: auto; } }

/* Ecoparque */
.park { padding-inline: 0; background: var(--surface-2); }
.park__head, .park__foot { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.park__rail { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2.75rem var(--gutter) .5rem; scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
.park__rail::-webkit-scrollbar { display: none; }
@media (min-width: 1408px) { .park__rail { padding-inline: calc((100vw - var(--max)) / 2); scroll-padding-inline: calc((100vw - var(--max)) / 2); } }
.pcard { flex: 0 0 min(80vw, 340px); scroll-snap-align: start; }
.pcard--wide { flex-basis: min(86vw, 560px); }
.pcard img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r-box); background: var(--line); }
.pcard--wide img { aspect-ratio: auto; height: calc(min(80vw, 340px) * 1.25); }
.pcard h3 { margin: 1rem 0 .3rem; }
.pcard p { font-size: .95rem; }
.park__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.5rem; }
.park__arrows { display: flex; gap: .5rem; }
.park__arrows button { width: 46px; height: 46px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 1.15rem; display: grid; place-items: center; transition: background-color var(--t), color var(--t), border-color var(--t); }
.park__arrows button:hover { background: var(--text); color: var(--bg); border-color: var(--text); }

/* Impacto */
.sim { max-width: var(--max); margin: 2.75rem auto 0; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r-box); overflow: hidden; background: var(--surface); }
.sim__controls { padding: clamp(24px, 3.5vw, 44px); display: grid; gap: 2rem; align-content: start; }
.sim__field > span { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-weight: 500; color: var(--text); }
.sim__field output { font-size: 1.4rem; letter-spacing: -.02em; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sim__field small { display: block; margin-top: .5rem; font-size: .85rem; color: var(--text-3); }
.sim__note { font-size: .82rem; color: var(--text-3); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; margin-top: 1rem; border-radius: 2px; cursor: pointer; background: linear-gradient(to right, var(--accent) var(--fill, 50%), var(--line) var(--fill, 50%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); }
.sim__out { background: var(--surface-2); padding: clamp(24px, 3.5vw, 44px); display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; align-content: center; }
.sim__stat strong { display: block; font-size: clamp(2rem, 3.6vw, 2.75rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.sim__stat span { display: block; margin-top: .4rem; font-size: .92rem; }
.sim__stat--main { grid-column: span 2; }
.sim__stat--main strong { font-size: clamp(3.2rem, 7vw, 5.5rem); color: var(--accent); }
@media (max-width: 900px) { .sim { grid-template-columns: 1fr; } }

.benefits { max-width: var(--max); margin: 4.5rem auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem clamp(2rem, 6vw, 6rem); }
.benefits__group h3 { font-size: 1.1rem; color: var(--text-3); font-weight: 500; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.benefits__group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; margin-top: 1.6rem; }
.benefits__group li { display: grid; grid-template-columns: 32px 1fr; gap: 1rem; }
.benefits__group li i { font-size: 1.6rem; color: var(--accent); }
.benefits__group b { color: var(--text); font-weight: 500; }
.benefits__group li p { margin-top: .2rem; font-size: .97rem; }
@media (max-width: 760px) { .benefits { grid-template-columns: 1fr; } }

/* Historia */
.history { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.history__intro { position: sticky; top: 104px; }
.history__years { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.history__years strong { font-size: clamp(4.5rem, 9vw, 7rem); font-weight: 500; letter-spacing: -.06em; line-height: .9; color: var(--accent); font-variant-numeric: tabular-nums; }
.history__years span { max-width: 15ch; font-weight: 500; color: var(--text); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.tl { position: relative; padding: 0 0 2.75rem 2.25rem; }
.tl::before { content: ""; position: absolute; left: 0; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--text-3); }
.tl time { font-size: .95rem; font-weight: 600; color: var(--text-3); font-variant-numeric: tabular-nums; }
.tl__body h3 { margin: .25rem 0 .5rem; font-size: 1.3rem; }
.tl blockquote { margin: 1rem 0 0; padding-left: 1rem; border-left: 2px solid var(--accent); font-size: 1.15rem; color: var(--text); }
.sources { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin-top: .75rem; }
.sources a { font-size: .875rem; font-weight: 500; color: var(--accent); text-underline-offset: 3px; }
.tl--alert::before { border-color: var(--accent); }
.tl--alert time { color: var(--accent); }
.tl--now { padding-bottom: 0; }
.tl--now::before { background: var(--accent); border-color: var(--accent); }
.tl--now .tl__body { margin-top: .6rem; padding: 1.5rem; border-radius: var(--r-box); background: var(--surface-2); }
@media (max-width: 900px) { .history { grid-template-columns: 1fr; } .history__intro { position: static; } }

/* Prensa */
.press { padding-block: clamp(64px, 8vw, 104px); border-block: 1px solid var(--line); }
.press__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); }
.quote { text-decoration: none; display: flex; flex-direction: column; gap: 1rem; }
.quote p { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 500; line-height: 1.25; letter-spacing: -.02em; color: var(--text); transition: color var(--t); }
.quote span { font-size: .9rem; color: var(--text-3); }
.quote:hover p { color: var(--accent); }
@media (max-width: 760px) { .press__grid { grid-template-columns: 1fr; } }

/* Súmate */
.join { position: relative; color: var(--on-photo); isolation: isolate; background: #141a18; }
.join__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.join::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(var(--scrim), .62); }
.join__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.join h2 { color: inherit; font-size: clamp(2.5rem, 5.5vw, 4.5rem); line-height: 1; letter-spacing: -.045em; }
.join__pitch > p { margin-top: 1.25rem; max-width: 44ch; font-size: 1.1rem; color: rgba(244,245,243,.88); }
.share { margin-top: 2.5rem; }
.share p { font-size: .95rem; color: rgba(244,245,243,.8); }
.share__btns { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.share__btns .btn { min-height: 42px; padding: 0 1rem; font-size: .9rem; }
.form { background: var(--surface); color: var(--text-2); border-radius: var(--r-box); padding: clamp(22px, 3vw, 36px); display: grid; gap: 1.1rem; }
.form h3 { font-size: 1.5rem; letter-spacing: -.02em; }
.field { display: grid; gap: .4rem; }
.field label, .chips legend { font-size: .875rem; font-weight: 500; color: var(--text); }
.opt { font-weight: 400; color: var(--text-3); }
.form input:not([type="radio"]), .form textarea {
  font: 400 1rem var(--font); color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-ctl); padding: .75rem .85rem; width: 100%;
  transition: border-color var(--t), box-shadow var(--t);
}
.form input:focus-visible, .form textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.form [aria-invalid="true"] { border-color: var(--accent); }
.field__err { font-size: .82rem; color: var(--accent); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips legend { margin-bottom: .5rem; padding: 0; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: .5rem .9rem; border-radius: var(--r-ctl); border: 1px solid var(--line); background: var(--bg); font-size: .9rem; color: var(--text); cursor: pointer; transition: background-color var(--t), color var(--t), border-color var(--t); }
.chips input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form__status { font-size: .9rem; font-weight: 500; min-height: 1.4em; color: var(--text); }
.form__status.err { color: var(--accent); }
@media (max-width: 900px) { .join__inner { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }

/* FAQ */
.faq__list { max-width: var(--max); margin: 2.5rem auto 0; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.35rem 0; font-size: 1.15rem; font-weight: 500; color: var(--text); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; font-size: 1.5rem; font-weight: 300; line-height: 1; color: var(--text-3); transition: transform var(--t); }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 1.5rem; max-width: 70ch; }

/* Footer */
.footer { padding: 3.5rem var(--gutter) 2.5rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto auto; gap: 2rem 3rem; align-items: start; font-size: .9rem; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.footer__logo { font-weight: 600; color: var(--text); font-size: 1rem; }
.footer__brand p { margin-top: .4rem; color: var(--text-3); max-width: 36ch; }
.footer__nav { display: grid; grid-template-columns: repeat(2, auto); gap: .4rem 2rem; }
.footer__nav a, .footer__social a { text-decoration: none; color: var(--text-2); }
.footer__nav a:hover, .footer__social a:hover { color: var(--accent); }
.footer__social { display: flex; gap: .75rem; font-size: 1.5rem; }
.footer__legal { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--text-3); }
@media (max-width: 760px) { .footer { grid-template-columns: 1fr; } }

/* Aparición al hacer scroll (solo opacidad y transform) */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
  .js-reveal .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ride__bg, .ride__stage { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav.is-solid { background: var(--bg); backdrop-filter: none; }
}

/* Interacción táctil y áreas seguras */
html { -webkit-tap-highlight-color: transparent; }
a, button, input, summary, label { touch-action: manipulation; }
.nav { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.hero { padding-bottom: max(clamp(48px, 9vh, 96px), env(safe-area-inset-bottom)); }
.hero__pause {
  position: absolute; right: max(var(--gutter), env(safe-area-inset-right)); bottom: max(clamp(48px, 9vh, 96px), env(safe-area-inset-bottom));
  width: 44px; height: 44px; border-radius: var(--r-ctl); border: 1px solid rgba(244,245,243,.35); background: rgba(var(--scrim), .3);
  color: var(--on-photo); display: grid; place-items: center; font-size: 1.2rem; cursor: pointer; transition: background-color var(--t), color var(--t);
}
.hero__pause:hover { background: var(--on-photo); color: #16191a; }
@media (max-width: 600px) { .hero__pause { bottom: auto; top: 76px; } }

/* ============================================================
   Vida: colores del logo original (montañas amarilla, azul y roja,
   pasto verde). Se usan como acentos de marca en datos, íconos y
   línea de tiempo; el rojo sigue siendo el color de acción.
   ============================================================ */
:root { --sun: #e9b512; --sky: #2457a6; --leaf: #3f9a4e; }
@media (prefers-color-scheme: dark) { :root { --sun: #f4c21b; --sky: #5b8fe0; --leaf: #5cbf6c; } }

/* Marca */
.nav__brand { display: inline-flex; align-items: center; gap: .6rem; }
.mark { width: 40px; height: auto; flex: none; overflow: visible; }
.mark__cab { transform-box: view-box; transform-origin: 60px 45px; }
@media (prefers-reduced-motion: no-preference) { .mark__cab { animation: sway 4.5s ease-in-out infinite; } }
@keyframes sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__word small { font-size: .68rem; font-weight: 500; letter-spacing: .02em; opacity: .8; }
.brand__word b { font-size: 1.05rem; font-weight: 700; letter-spacing: -.02em; }
.footer__logo { display: inline-flex; align-items: center; gap: .6rem; }
.footer__logo .mark { width: 52px; }

/* Cable de progreso con la cabina del logo */
.cable { position: fixed; inset: 0 0 auto; height: 2px; z-index: 110; pointer-events: none; background: color-mix(in srgb, var(--text-3) 35%, transparent); }
.cable__cab { position: absolute; top: 0; left: 0; width: 100%; height: 2px; transform: translateX(calc(var(--p, 0) * (100% - 18px))); }
.cable__cab::before { content: ""; position: absolute; left: 8px; top: 0; width: 2px; height: 5px; background: var(--text); }
.cable__cab i { position: absolute; left: 0; top: 5px; width: 18px; height: 16px; background: #fdfdfc; border: 2px solid #8c2236;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.cable__cab i::after { content: ""; position: absolute; inset: 4px 3px; background: #7fcdea; }
.cable::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 0) * 100%); background: var(--accent); }
.nav { top: 2px; }

/* Datos clave con color */
.facts__list > div { padding-top: 1rem; border-top: 3px solid var(--c, var(--line)); }

/* Chips de color en íconos */
.chip { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-ctl); background: color-mix(in srgb, var(--c) 16%, transparent); }
.edge__item .chip i { font-size: 1.5rem; color: var(--c); }
.edge__item { transition: transform var(--t) var(--ease), border-color var(--t); }
.edge__item:hover { transform: translateY(-3px); border-color: var(--c, var(--accent)); }
.edge__item:has(.chip[style*="sun"]):hover { border-color: var(--sun); }
.edge__item:has(.chip[style*="sky"]):hover { border-color: var(--sky); }
.edge__item:has(.chip[style*="leaf"]):hover { border-color: var(--leaf); }
.benefits__group li i { color: var(--c, var(--accent)); }

/* Parallax: la imagen es un poco más alta que su marco */
[data-parallax] { will-change: transform; }
.problem__img, .edge__img, .person__img { position: relative; }
.problem__img img, .edge__img img, .person__img img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }

/* Revelado de imágenes */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .reveal-img { clip-path: inset(12% 0 12% 0 round var(--r-box)); transition: clip-path 1.2s var(--ease); }
  .js-reveal .reveal-img.is-visible { clip-path: inset(0 0 0 0 round var(--r-box)); }
  .js-reveal .split .w { display: inline-block; opacity: 0; transform: translateY(.45em); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i) * 45ms); }
  .js-reveal .split.is-visible .w { opacity: 1; transform: none; }
}

/* Recorrido: cabina sobre la línea */
.ride__track { overflow: visible; }
.ride__cab { position: absolute; top: -7px; left: calc(var(--rp, 0) * 100%); width: 18px; height: 16px; translate: -9px 0; background: #fdfdfc; border: 2px solid #8c2236;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

/* Interludio panorámico */
.vista { position: relative; min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; color: var(--on-photo); isolation: isolate; background: #1c2421; }
.vista__img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; z-index: -2; }
.vista::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(var(--scrim), .7), rgba(var(--scrim), 0) 55%); }
.vista__text { max-width: var(--max); width: 100%; margin: 0 auto; }
.vista h2 { color: inherit; font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1; letter-spacing: -.045em; max-width: 14ch; }
.vista p { margin-top: 1.2rem; max-width: 46ch; font-size: 1.1rem; color: rgba(244,245,243,.88); }

/* La gente */
.people__grid { max-width: var(--max); margin: 3rem auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; align-items: start; }
.person:nth-child(even) { margin-top: 4rem; }
.person__img { border-radius: var(--r-box); overflow: hidden; aspect-ratio: 4/5; background: var(--surface-2); }
.person__img img { width: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.person:hover .person__img img { scale: 1.04; }
.person figcaption { margin-top: .9rem; font-size: .95rem; }
.person figcaption b { display: block; color: var(--text); font-weight: 500; font-size: 1.05rem; margin-bottom: .15rem; }
.people__note { max-width: var(--max); margin: 1.5rem auto 0; }
@media (max-width: 900px) { .people__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .person:nth-child(even) { margin-top: 2.5rem; } }

/* Línea de tiempo con color */
.tl::before { border-color: var(--c, var(--text-3)); background: color-mix(in srgb, var(--c, var(--bg)) 25%, var(--bg)); }
.tl time { color: var(--c, var(--text-3)); }
.tl__logo { display: flex; align-items: center; gap: .9rem; margin-top: 1rem; }
.tl__logo img { width: 72px; height: 72px; border-radius: var(--r-ctl); object-fit: cover; background: #fff; }
.tl__logo figcaption { font-size: .85rem; color: var(--text-3); }

.join__bg { inset: -10% 0; height: 120%; }

/* Logo real de Ecoparque Tu País */
.logo { width: 46px; height: 46px; flex: none; object-fit: contain; background: #fff; border-radius: var(--r-ctl); padding: 2px; }
.footer__logo .logo { width: 64px; height: 64px; }
.nav__brand .brand__word small { opacity: .85; }

/* Créditos */
.edge__credit, .ba__credit { max-width: var(--max); margin: .9rem auto 0; }
.footer__credits { grid-column: 1 / -1; border: 0; font-size: .82rem; color: var(--text-3); }
.footer__credits summary { font-size: .85rem; font-weight: 500; padding: .5rem 0; color: var(--text-2); }
.footer__credits summary::after { font-size: 1.1rem; }
.footer__credits p { padding: 0 0 .5rem; }
.footer__credits ul { margin: 0; padding: 0 0 1rem 1rem; display: grid; gap: .25rem; }
.footer__credits a { color: var(--text-2); }

/* Fotogramas del dron */
.frames { max-width: var(--max); margin: 2.5rem auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.frames img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--r-box); background: var(--surface-2); }
.frames figcaption { margin-top: .6rem; font-size: .875rem; color: var(--text-2); }
.frames__note { max-width: var(--max); margin: 1rem auto 0; }
@media (max-width: 900px) { .frames { grid-template-columns: 1fr 1fr; } }
.tl__photo { margin-top: 1rem; max-width: 360px; }
.tl__photo img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--r-box); }

/* Súmate en móvil: la foto nocturna solo arriba, el formulario sobre fondo sólido */
@media (max-width: 900px) {
  .join { background: #121715; }
  .join__bg { inset: 0 0 auto 0; height: 85vh; }
  .join::before { background: linear-gradient(to bottom, rgba(var(--scrim), .55) 0%, rgba(var(--scrim), .7) 55vh, #121715 85vh); }
}

/* Ecoparque: tres bloques (Estación 1, teleférico, Estación 2) */
.park__group { margin-top: 3.5rem; }
.park__label { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: baseline; gap: .4rem 1.25rem; flex-wrap: wrap; }
.park__label h3 { font-size: 1.5rem; letter-spacing: -.02em; }
.park__label p { color: var(--text-3); }
.park__group .park__rail { padding-top: 1.25rem; }
.park .pcard { flex-basis: min(80vw, 400px); }
.park .pcard img { aspect-ratio: 4 / 3; height: auto; }
.park .pcard--wide { flex-basis: min(86vw, 560px); }
.park .pcard--wide img { aspect-ratio: 4 / 3; height: auto; }
.pcard h4 { margin: .9rem 0 .25rem; font-size: 1.1rem; font-weight: 500; color: var(--text); letter-spacing: -.01em; }
.park__more { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 1rem auto 0; padding: 0 var(--gutter); font-size: .95rem; color: var(--text-2); }
.park__cable { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 1.25rem auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: .8fr 1fr 1fr; gap: 1rem; align-items: start; }
.park__cable figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-box); }
.park__cable figcaption { margin-top: .5rem; font-size: .875rem; color: var(--text-3); }
.park__stats { margin: 0; display: grid; gap: 1.1rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-box); }
.park__stats dt { font-size: .85rem; color: var(--text-3); }
.park__stats dd { margin: .15rem 0 0; font-size: 1.6rem; font-weight: 500; letter-spacing: -.03em; color: var(--text); line-height: 1.15; }
@media (max-width: 900px) { .park__cable { grid-template-columns: 1fr 1fr; } .park__stats { grid-column: span 2; grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .park__cable { grid-template-columns: 1fr; } .park__stats { grid-column: auto; grid-template-columns: 1fr; } }

/* La foto de fondo no debe salirse de su sección */
.join, .vista { overflow: hidden; }

/* Por qué este proyecto: cifras en lugar de íconos */
.edge__grid { grid-template-columns: 1fr 1.15fr; grid-template-rows: auto; gap: clamp(2rem, 5vw, 4.5rem); align-items: stretch; }
.edge__img { grid-row: auto; min-height: 420px; }
.edge__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 2.25rem; align-content: center; }
.edge__fact { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.edge__fact strong { display: block; font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 500; letter-spacing: -.045em; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.edge__fact h3 { margin: .45rem 0 .6rem; font-size: 1.05rem; font-weight: 500; color: var(--accent); letter-spacing: 0; }
.edge__fact p { font-size: .97rem; }
@media (max-width: 960px) { .edge__grid { grid-template-columns: 1fr; } .edge__img { grid-column: auto; aspect-ratio: 16 / 10; min-height: 0; } }
@media (max-width: 520px) { .edge__facts { grid-template-columns: 1fr; gap: 1.75rem; } }

/* Hero elegido: variante C (Bricolage Grotesque) con "sin trancones" */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-latin-opsz.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-display: swap;
}
.hero__kicker { font-size: .95rem; font-weight: 500; color: rgba(244,245,243,.85); margin-bottom: 1rem; }
.hero__title { font-family: "Bricolage Grotesque", var(--font); font-weight: 700; font-size: clamp(2.4rem, 5.6vw, 5.2rem); line-height: .95; letter-spacing: -.04em; max-width: none; font-variation-settings: "opsz" 96; }
.hero__title span { display: block; }

.hero__lead { max-width: 44ch; }
@media (prefers-reduced-motion: no-preference) {
  .hero__kicker { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
  .hero__title span:nth-child(3) { animation-delay: .16s; }
}
@media (max-width: 600px) { .hero__title { letter-spacing: -.025em; line-height: 1; } }

/* Guía */
.guide__grid { max-width: var(--max); margin: 3rem auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem clamp(2rem, 6vw, 5rem); }
.guide__item { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.guide__item h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.guide__item p { font-size: .98rem; }
@media (max-width: 760px) { .guide__grid { grid-template-columns: 1fr; } }

/* Estación 2: rejilla (hotel destacado arriba, plazoletas abajo) */
.park__grid { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 1.25rem auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 1.25rem; }
.park__grid .pcard { flex: none; }
.park__grid .pcard img { aspect-ratio: 4 / 3; height: auto; }
.park__grid .pcard--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.5rem 2.5rem; align-items: end; }
.park__grid .pcard--wide img { aspect-ratio: 16 / 9; }
.park__grid .pcard--wide h4 { font-size: 1.5rem; margin-top: 0; }
.park__grid .pcard--wide p { font-size: 1.05rem; }
@media (max-width: 900px) { .park__grid { grid-template-columns: 1fr 1fr; } .park__grid .pcard--wide { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .park__grid { grid-template-columns: 1fr; } }

/* Trayectoria del Ecoparque TuPaís */
.eco__hero { max-width: var(--max); margin: 3rem auto 0; display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.eco__hero img { width: 100%; border-radius: var(--r-box); }
.eco__hero h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.03em; margin-bottom: 1rem; }
.eco__hero p { font-size: 1.1rem; max-width: 46ch; }
.eco__hero p + p { margin-top: .8rem; color: var(--text); font-weight: 500; }
.eco__group { max-width: var(--max); margin: 4rem auto 0; }
.eco__label { font-size: 1.1rem; font-weight: 500; color: var(--text-3); padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.eco__grid { margin-top: 1.75rem; columns: 3; column-gap: 1.25rem; }
.eco-card { break-inside: avoid; margin: 0 0 2rem; }
.eco-card img { width: 100%; border-radius: var(--r-box); background: var(--surface-2); }
.eco-card figcaption { margin-top: .8rem; font-size: .95rem; }
.eco-card figcaption b { display: block; color: var(--text); font-weight: 500; font-size: 1.05rem; margin-bottom: .15rem; }
.eco__note { max-width: var(--max); margin: 1rem auto 0; }
@media (max-width: 900px) { .eco__grid { columns: 2; } .eco__hero { grid-template-columns: 1fr; } .eco__hero img { max-width: 420px; } }
@media (max-width: 560px) { .eco__grid { column-gap: .85rem; } .eco-card figcaption { font-size: .85rem; } .eco-card figcaption b { font-size: .95rem; } }
@media (max-width: 380px) { .eco__grid { columns: 1; } }
.park__grid .pcard--wide { grid-template-rows: auto auto; row-gap: .5rem; }
.park__grid .pcard--wide img { grid-column: 1; grid-row: 1 / 3; }
.park__grid .pcard--wide h4 { grid-column: 2; align-self: end; margin: 0; }
.park__grid .pcard--wide p { grid-column: 2; align-self: start; }
@media (max-width: 900px) { .park__grid .pcard--wide img, .park__grid .pcard--wide h4, .park__grid .pcard--wide p { grid-column: 1; grid-row: auto; } .park__grid .pcard--wide h4 { margin-top: .5rem; } }
.eco-card img { max-height: 640px; object-fit: cover; }

/* Prensa: todas las notas */
.news__grid { max-width: var(--max); margin: 2.5rem auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2rem; }
.news { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.news__meta { font-size: .85rem; color: var(--text-3); }
.news h3 { margin: .5rem 0 .6rem; font-size: 1.2rem; line-height: 1.3; }
.news h3 a { text-decoration: none; }
.news h3 a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.news p:last-child { font-size: .95rem; }
@media (max-width: 960px) { .news__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .news__grid { grid-template-columns: 1fr; } }

/* Portada: imagen fija debajo y video encima, visible cuando empieza a reproducir */
video.hero__video { opacity: 0; transition: opacity .8s ease; }
video.hero__video.is-playing { opacity: 1; }

/* Contraste AA del texto blanco sobre rojo también en modo oscuro */
@media (prefers-color-scheme: dark) {
  .btn--accent, .nav__menu .nav__cta, .yt__play, .skip { background: #c3382b; }
  .btn--accent:hover, .nav__menu .nav__cta:hover, .yt__btn:hover .yt__play { background: #a92e23; }
}
