/* WebAndes — style.css — mobile-first */
@import url('./tokens.css');

/* ═══════════════════════════════════════════════════════════════
   RESET + BASE
═══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-weight: var(--weight-light);
  line-height: 1.55;
  color: var(--color-ink);
  background: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }
address { font-style: normal; }

::selection { background: var(--color-dusk); color: var(--color-ink); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-cream); }
::-webkit-scrollbar-thumb { background: var(--color-navy); border-radius: 4px; }

/* ─── Helpers ──────────────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.mono {
  font-family: var(--font-mono);
  font-size: var(--text-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  font-weight: var(--weight-medium);
}

/* ─── Reveal animations ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s cubic-bezier(.2,.6,.2,1), transform .9s cubic-bezier(.2,.6,.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.2,.6,.2,1), transform .8s cubic-bezier(.2,.6,.2,1);
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .10s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .15s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .20s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .25s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .30s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: .35s; }

/* ─── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 28px; border-radius: var(--radius-pill);
  font-size: 13px; letter-spacing: .06em; font-weight: var(--weight-medium);
  transition: all .35s; border: 1px solid transparent; white-space: nowrap;
}
.btn-primary { background: var(--color-bone); color: var(--color-ink); }
.btn-primary:hover { background: var(--color-dusk); color: var(--color-bone); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(244,235,221,.3); color: var(--color-bone); }
.btn-ghost:hover { border-color: var(--color-bone); background: rgba(244,235,221,.08); }
.btn-ghost-dark { border-color: rgba(27,45,77,.22); color: var(--color-navy); }
.btn-ghost-dark:hover { border-color: var(--color-navy); background: rgba(27,45,77,.04); }
.btn-arrow {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--color-ink); color: var(--color-bone);
  display: grid; place-items: center;
  transition: transform .35s; flex-shrink: 0;
}
.btn:hover .btn-arrow { transform: translateX(4px) rotate(-45deg); }
.btn-ghost .btn-arrow { background: var(--color-bone); color: var(--color-ink); }
.btn-ghost-dark .btn-arrow { background: var(--color-navy); color: var(--color-bone); }

/* ═══════════════════════════════════════════════════════════════
   SECTION FRAMEWORK
═══════════════════════════════════════════════════════════════ */
section { position: relative; }
.section-pad { padding: 140px 56px; }
@media (max-width: 800px) { .section-pad { padding: 80px 24px; } }

.section-head {
  display: flex; justify-content: space-between;
  align-items: flex-end; gap: 48px; margin-bottom: 80px; flex-wrap: wrap;
}
@media (max-width: 800px) { .section-head { margin-bottom: 48px; gap: 24px; } }

.section-tag {
  display: flex; align-items: center; gap: 12px;
  color: var(--color-dusk); margin-bottom: 0;
}
.section-tag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-dusk); box-shadow: 0 0 10px var(--color-dusk);
}
.section-title {
  font-family: var(--font-display);
  font-weight: var(--weight-medium);
  font-size: clamp(36px, 5.2vw, 76px);
  letter-spacing: -0.03em; line-height: 1;
  color: var(--color-navy); max-width: 920px; margin-top: 18px;
}
.section-title em { font-style: italic; font-weight: 400; color: var(--color-dusk); }
.section-lede { max-width: 380px; color: #5a6477; font-size: 15px; line-height: 1.65; }

/* ═══════════════════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav);
  padding: 18px 36px;
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(to bottom, rgba(10,20,40,.5), rgba(10,20,40,0));
  transition: background .4s ease, backdrop-filter .4s ease, padding .4s ease, color .4s;
  pointer-events: none; color: var(--color-bone);
}
.nav > * { pointer-events: auto; }

.nav.solid {
  background: rgba(250,246,239,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 36px;
  border-bottom: 1px solid rgba(27,45,77,.14);
  color: var(--color-navy);
}
.nav.solid .nav-brand-text .name { color: var(--color-navy); }
.nav.solid .nav-brand-text .tag  { color: var(--color-dusk); }
.nav.solid .nav-links a           { color: rgba(27,45,77,.7); }
.nav.solid .nav-links a:hover     { color: var(--color-navy); }
.nav.solid .nav-cta {
  border-color: rgba(27,45,77,.25); color: var(--color-navy); background: transparent;
}
.nav.solid .nav-cta:hover {
  background: var(--color-navy); color: var(--color-bone); border-color: var(--color-navy);
}

.nav-brand { display: flex; align-items: center; }
.nav-logo {
  height: 46px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter var(--duration-base) var(--ease-in-out);
}
.nav.solid .nav-logo {
  filter: none;
}

.nav-brand-text { display: flex; flex-direction: column; line-height: 1; }
.nav-brand-text .name {
  font-family: var(--font-display); font-weight: var(--weight-semibold);
  letter-spacing: .04em; font-size: 15px; color: var(--color-bone);
}
.nav-brand-text .tag {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--color-sand); margin-top: 3px;
}

.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 13px; letter-spacing: .02em;
  color: rgba(244,235,221,.7); transition: color .3s;
  position: relative; padding: 6px 0;
}
.nav-links a:hover { color: var(--color-bone); }
.nav-links a::before {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--color-dusk); transition: right .35s;
}
.nav-links a:hover::before { right: 0; }

.nav-cta {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid rgba(244,235,221,.25);
  padding: 10px 16px; border-radius: var(--radius-pill);
  font-size: 12px; letter-spacing: .06em;
  transition: all .3s; background: rgba(244,235,221,.04);
}
.nav-cta:hover { background: var(--color-bone); color: var(--color-ink); border-color: var(--color-bone); }
.nav-cta .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-dusk); box-shadow: 0 0 8px var(--color-dusk);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

.nav-burger { display: none; }

@media (max-width: 900px) {
  .nav { padding: 14px 20px; }
  .nav.solid { padding: 10px 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger {
    display: grid; place-items: center;
    width: 42px; height: 42px;
    border: 1px solid rgba(244,235,221,.2);
    border-radius: 10px; background: rgba(3,10,21,.5);
  }
  .nav-burger span {
    display: block; width: 18px; height: 1.5px;
    background: var(--color-bone); position: relative; transition: all .3s;
  }
  .nav-burger span::before, .nav-burger span::after {
    content: ''; position: absolute; left: 0; right: 0;
    height: 1.5px; background: var(--color-bone); transition: all .3s;
  }
  .nav-burger span::before { top: -6px; }
  .nav-burger span::after  { top:  6px; }
  .nav-burger.open span { background: transparent; }
  .nav-burger.open span::before { top: 0; transform: rotate(45deg); }
  .nav-burger.open span::after  { top: 0; transform: rotate(-45deg); }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--color-ink); z-index: calc(var(--z-nav) - 1);
  display: flex; flex-direction: column; justify-content: center;
  align-items: center; gap: 28px; padding: 40px;
  opacity: 0; visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display); font-size: 32px; font-weight: var(--weight-medium);
  color: var(--color-bone); letter-spacing: -.02em;
}
.mobile-menu a:hover { color: var(--color-dusk); }
.mobile-menu .nav-cta { margin-top: 24px; display: inline-flex; }

/* ═══════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════ */

/* Track: altura extra para el scroll-scrub del video */
.hero-scroll-track {
  position: relative;
  height: 350vh;
}

.hero {
  position: sticky; top: 0;
  height: 100vh; min-height: 640px; overflow: hidden;
  background: #0a1222;
}

/* Canvas scroll-scrub */
.hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; display: block;
}

/* Ocultar capas SVG que ya no se usan */
.hero-mtn, .hero-ground, .hero-clouds,
.hero-stars, .hero-sun, .hero-sun-core { display: none; }

/* Paneles de montaña que se abren en parallax */
.hero-panel {
  position: absolute; top: 0; bottom: 0;
  width: 62%; z-index: 3;
  pointer-events: none; will-change: transform;
  display: none;
}
.hero-panel-l {
  left: 0;
  background: linear-gradient(to right, #060c18 50%, rgba(6,12,24,.75) 75%, rgba(6,12,24,.2) 100%);
  clip-path: polygon(
    0% 100%, 0% 0%,
    72% 0%, 76% 3%, 80% 1%, 85% 5%, 88% 2%,
    92% 8%, 89% 15%, 93% 22%, 96% 18%,
    99% 25%, 95% 33%, 91% 40%, 94% 46%,
    89% 54%, 85% 62%, 81% 70%,
    76% 78%, 71% 86%, 67% 93%, 63% 100%
  );
}
.hero-panel-r {
  right: 0;
  background: linear-gradient(to left, #060c18 50%, rgba(6,12,24,.75) 75%, rgba(6,12,24,.2) 100%);
  clip-path: polygon(
    100% 100%, 100% 0%,
    28% 0%, 24% 3%, 20% 1%, 15% 5%, 12% 2%,
    8% 8%, 11% 15%, 7% 22%, 4% 18%,
    1% 25%, 5% 33%, 9% 40%, 6% 46%,
    11% 54%, 15% 62%, 19% 70%,
    24% 78%, 29% 86%, 33% 93%, 37% 100%
  );
}

/* Stars */
.hero-stars {
  position: absolute; inset: 0 0 50% 0;
  background:
    radial-gradient(1px 1px at 8% 18%,#fff,transparent 60%),
    radial-gradient(1px 1px at 19% 8%,#fff,transparent 60%),
    radial-gradient(1.5px 1.5px at 34% 22%,#fff,transparent 60%),
    radial-gradient(1px 1px at 48% 12%,#fff,transparent 60%),
    radial-gradient(1px 1px at 62% 24%,#fff,transparent 60%),
    radial-gradient(1.5px 1.5px at 76% 10%,#fff,transparent 60%),
    radial-gradient(1px 1px at 88% 28%,#fff,transparent 60%),
    radial-gradient(1px 1px at 28% 36%,#fff,transparent 60%),
    radial-gradient(1px 1px at 58% 40%,#fff,transparent 60%),
    radial-gradient(1px 1px at 84% 44%,#fff,transparent 60%);
  opacity: .85; animation: twinkle 4s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes twinkle { from { opacity: .55; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-stars { animation: none; } }

/* Sun glow */
.hero-sun {
  position: absolute; left: 50%; bottom: 18%;
  width: min(560px, 72vw); aspect-ratio: 1;
  margin-left: calc(min(560px,72vw) / -2);
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255,220,180,.55) 0%, rgba(217,122,91,.35) 30%,
    rgba(217,122,91,.12) 55%, transparent 75%);
  filter: blur(3px); will-change: transform, opacity;
  opacity: .65; pointer-events: none; transform: translateY(35%);
}
.hero-sun-core {
  position: absolute; left: 50%; bottom: 18%;
  width: min(180px, 28vw); aspect-ratio: 1;
  margin-left: calc(min(180px,28vw) / -2);
  border-radius: 50%;
  background: radial-gradient(circle,
    #ffe5c6 0%, #ffb583 45%, #d97a5b 75%, rgba(217,122,91,0) 100%);
  will-change: transform, opacity; opacity: 0; pointer-events: none;
  transform: translateY(80%) scale(.6);
  box-shadow: 0 0 80px 20px rgba(255,200,150,.35);
}

/* Mountains — base */
.hero-mtn {
  position: absolute;
  will-change: transform; pointer-events: none;
}
.hero-mtn svg { width: 100%; height: 100%; display: block; }

/* FAR — horizonte lejano, muy atmosférico */
.mtn-far-l, .mtn-far-r {
  bottom: 10%; width: 68%; height: 44%; z-index: 1;
}
.mtn-far-l {
  left: 0;
  -webkit-mask-image: linear-gradient(to right, black 48%, transparent 98%);
  mask-image: linear-gradient(to right, black 48%, transparent 98%);
}
.mtn-far-r {
  right: 0;
  -webkit-mask-image: linear-gradient(to left, black 48%, transparent 98%);
  mask-image: linear-gradient(to left, black 48%, transparent 98%);
}

/* MID — cordillera principal nevada */
.mtn-left, .mtn-right {
  bottom: 7%; width: 88%; height: 76%; z-index: 2;
}
.mtn-left {
  left: -28%;
  -webkit-mask-image: linear-gradient(to right, black 48%, transparent 90%);
  mask-image: linear-gradient(to right, black 48%, transparent 90%);
}
.mtn-right {
  right: -28%;
  -webkit-mask-image: linear-gradient(to left, black 48%, transparent 90%);
  mask-image: linear-gradient(to left, black 48%, transparent 90%);
}

/* NEAR — paredes rocosas prominentes de primer plano */
.mtn-near-l, .mtn-near-r {
  bottom: 5%; width: 52%; height: 64%; z-index: 4;
}
.mtn-near-l {
  left: 0;
  -webkit-mask-image: linear-gradient(to right, black 44%, transparent 86%);
  mask-image: linear-gradient(to right, black 44%, transparent 86%);
}
.mtn-near-r {
  right: 0;
  -webkit-mask-image: linear-gradient(to left, black 44%, transparent 86%);
  mask-image: linear-gradient(to left, black 44%, transparent 86%);
}

@media (max-width: 800px) {
  .mtn-left, .mtn-right { width: 96%; height: 52%; bottom: 10%; }
  .mtn-left  { left: -30%; }
  .mtn-right { right: -30%; }
  .mtn-far-l, .mtn-far-r { width: 75%; height: 36%; }
  .mtn-near-l, .mtn-near-r { width: 60%; height: 48%; }
}

/* Ground strip — never moves */
.hero-ground {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 14%; pointer-events: none; z-index: 8;
}
.hero-ground svg { width: 100%; height: 100%; display: block; }
@media (max-width: 800px) { .hero-ground { height: 16%; } }

/* Clouds */
.hero-clouds {
  position: absolute; left: 0; right: 0; top: 18%; height: 38%;
  pointer-events: none; z-index: 3; overflow: hidden;
}
.hero-cloud {
  position: absolute; opacity: .7; filter: blur(.5px); will-change: transform;
}
.hero-cloud svg { display: block; width: 100%; height: auto; }
.cloud-1 { top: 12%; left: -10%; width: 280px; animation: cloud-drift 60s linear infinite; }
.cloud-2 { top: 32%; left: -15%; width: 220px; animation: cloud-drift 80s linear infinite; animation-delay: -20s; opacity: .55; }
.cloud-3 { top: 55%; left: -12%; width: 340px; animation: cloud-drift 90s linear infinite; animation-delay: -45s; opacity: .6; }
.cloud-4 { top:  5%; left: -18%; width: 200px; animation: cloud-drift 100s linear infinite; animation-delay: -70s; opacity: .45; }
@keyframes cloud-drift { from { transform: translateX(0); } to { transform: translateX(135vw); } }
@media (prefers-reduced-motion: reduce) { .hero-cloud { animation: none; } }

/* Birds */
.hero-bird {
  position: absolute; left: 50%; bottom: 35%;
  width: clamp(34px, 4vw, 58px); height: auto;
  image-rendering: pixelated; will-change: transform, opacity;
  opacity: 0; pointer-events: none; z-index: 5;
  filter: drop-shadow(0 4px 10px rgba(3,10,21,.35));
  transform: translate(-50%, 0);
}
.hero-bird.flap { animation: bird-flap 1.4s steps(2,end) infinite; }
@keyframes bird-flap {
  0%,100% { filter: drop-shadow(0 4px 10px rgba(3,10,21,.35)); }
  50%      { filter: drop-shadow(0 2px 6px rgba(3,10,21,.5)) brightness(1.05); }
}
@media (prefers-reduced-motion: reduce) { .hero-bird { animation: none; } }

/* Hero content */
.hero-content {
  position: absolute; left: 0; right: 0; bottom: 0; top: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 56px clamp(5vh, calc(100vh - 650px), 20vh); z-index: 20; will-change: transform;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 14px;
  color: var(--color-ink); margin-bottom: 8px;
  text-shadow: 0 0 2px rgba(244,235,221,.95), 0 0 6px rgba(244,235,221,.85), 0 2px 18px rgba(244,235,221,.5);
}
.hero-eyebrow .line { width: 48px; height: 1px; background: var(--color-ink); }

.hero h1 {
  font-family: var(--font-display); font-weight: var(--weight-medium);
  font-size: var(--text-display); line-height: var(--lh-display);
  letter-spacing: var(--ls-display); color: var(--color-ink); max-width: 1400px;
  text-shadow: 0 0 3px rgba(244,235,221,.95), 0 0 10px rgba(244,235,221,.85), 0 4px 34px rgba(244,235,221,.5);
}
.hero h1 .accent { font-style: italic; font-weight: 400; color: var(--color-dusk); }
.hero h1 .underline { position: relative; display: inline-block; }
.hero h1 .underline svg { position: absolute; left: 0; right: 0; bottom: -8px; width: 100%; height: 18px; }

.hero-meta {
  margin-top: 16px; display: flex; align-items: flex-end;
  justify-content: space-between; gap: 48px; flex-wrap: wrap;
}
.hero-lede { max-width: 480px; font-size: 16px; line-height: 1.65; color: var(--color-bone); }
.hero-cta-row { display: flex; gap: 14px; align-items: center; }

.hero-bottom {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-top: 8px;
}

.hero-scroll {
  color: var(--color-ink); display: flex; align-items: center; gap: 12px;
}
.hero-scroll .bar {
  width: 1px; height: 46px; background: var(--color-ink);
  position: relative; overflow: hidden;
}
.hero-scroll .bar::after {
  content: ''; position: absolute; left: 0; right: 0; top: -100%;
  height: 60%; background: var(--color-dusk); animation: scrollbar 2.2s ease-in-out infinite;
}
@keyframes scrollbar { 0% { top: -60%; } 100% { top: 100%; } }
@media (prefers-reduced-motion: reduce) { .hero-scroll .bar::after { animation: none; } }

.hero-counter {
  display: flex; align-items: flex-end; gap: 12px; color: var(--color-ink);
}
.hero-counter .big {
  font-family: var(--font-display); font-size: 48px;
  line-height: 1; font-weight: var(--weight-medium);
}
.hero-counter .lbl {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--color-ink); max-width: 130px; line-height: 1.4;
  opacity: .65;
}

@media (max-width: 800px) {
  .hero-content { padding: 0 20px 12vh; }
  .hero-eyebrow { margin-bottom: 18px; }
  .hero h1 { font-size: clamp(38px, 11vw, 64px); }
  .hero-meta { margin-top: 32px; gap: 24px; }
  .hero-cta-row { width: 100%; }
  .hero-cta-row .btn { flex: 1; justify-content: center; padding: 14px 18px; font-size: 12px; }
  .hero-scroll, .hero-counter { display: none; }
  .hero-mtn { height: 48vh; min-height: 300px; width: 68%; }
}

/* ═══════════════════════════════════════════════════════════════
   MARQUEE
═══════════════════════════════════════════════════════════════ */
.marquee {
  background: var(--color-navy);
  border-top: 1px solid rgba(244,235,221,.08);
  border-bottom: 1px solid rgba(244,235,221,.08);
  overflow: hidden; padding: 22px 0; position: relative; z-index: 30;
}
.marquee-track {
  display: flex; gap: 64px; white-space: nowrap;
  animation: marquee 40s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display); font-size: 18px; font-weight: 400;
  color: var(--color-bone); display: flex; align-items: center; gap: 24px;
}
.marquee-track span::before {
  content: ''; width: 8px; height: 8px;
  background: var(--color-dusk); border-radius: 50%; flex-shrink: 0;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ═══════════════════════════════════════════════════════════════
   MANIFIESTO
═══════════════════════════════════════════════════════════════ */
.manifesto { background: var(--color-cream); color: #1b2233; position: relative; overflow: hidden; }
.manifesto-bg {
  position: absolute; inset: 0; opacity: .06; will-change: transform;
  background:
    repeating-linear-gradient(90deg, var(--color-navy) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg,  var(--color-navy) 0 1px, transparent 1px 80px);
}
.manifesto-inner {
  position: relative; display: grid;
  grid-template-columns: 1fr 1fr; gap: 80px;
}
@media (max-width: 900px) { .manifesto-inner { grid-template-columns: 1fr; gap: 40px; } }
.manifesto h2 {
  font-family: var(--font-display); font-size: clamp(38px,5vw,72px);
  font-weight: var(--weight-medium); letter-spacing: -.03em;
  line-height: 1; color: var(--color-navy);
}
.manifesto h2 em { font-style: italic; color: var(--color-dusk); font-weight: 400; }
.manifesto-body { color: #3d4759; font-size: 18px; line-height: 1.7; font-weight: 300; }
.manifesto-body p + p { margin-top: 24px; }
.manifesto-body strong { color: var(--color-navy); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════════════════ */
.services { background: var(--color-paper); color: #1b2233; position: relative; overflow: hidden; }

.svc-grid {
  display: grid; grid-template-columns: repeat(6,1fr);
  gap: 0; border-top: 1px solid rgba(27,45,77,.14); border-left: 1px solid rgba(27,45,77,.14);
}
@media (max-width: 900px) {
  .svc-grid { border-left: none; border-top: none; }
  .svc { padding: 32px 22px; min-height: auto; }
}

.svc {
  grid-column: span 2; padding: 48px 36px;
  border-right: 1px solid rgba(27,45,77,.14);
  border-bottom: 1px solid rgba(27,45,77,.14);
  min-height: 340px; display: flex; flex-direction: column;
  justify-content: space-between; gap: 28px;
  position: relative; overflow: hidden; cursor: pointer;
  transition: background .5s; background: var(--color-cream);
}
.svc:hover { background: #fff; }
.svc:hover .svc-arrow { transform: translate(6px,-6px); }

.svc-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; color: var(--color-dusk); }
.svc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.svc-arrow {
  width: 36px; height: 36px; border: 1px solid var(--color-navy); border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  transition: transform .4s, background .4s, color .4s; color: var(--color-navy);
}
.svc:hover .svc-arrow { background: var(--color-dusk); border-color: var(--color-dusk); color: #fff; }
.svc h3 {
  font-family: var(--font-display); font-size: 28px;
  font-weight: var(--weight-medium); letter-spacing: -.02em;
  color: var(--color-navy); line-height: 1.05;
}
.svc p { font-size: 14px; color: #5a6477; line-height: 1.6; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.svc-tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; padding: 5px 10px;
  border: 1px solid rgba(27,45,77,.2); border-radius: var(--radius-pill);
  color: var(--color-navy);
}

.svc.featured {
  grid-column: span 4; background: var(--color-navy);
  color: var(--color-bone); position: relative;
}
.svc.featured::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(217,122,91,.45), transparent 55%);
  pointer-events: none;
}
.svc.featured .svc-num { color: var(--color-sand); }
.svc.featured h3 { font-size: 42px; color: var(--color-bone); }
.svc.featured p { color: rgba(244,235,221,.7); }
.svc.featured .svc-arrow { border-color: rgba(244,235,221,.4); color: var(--color-bone); }
.svc.featured .svc-tag { border-color: rgba(244,235,221,.25); color: rgba(244,235,221,.85); }
.svc.featured:hover { background: var(--color-navy); }

@media (max-width: 1200px) { .svc.featured { grid-column: span 6; } }
@media (min-width: 901px) and (max-width: 1200px) { .svc { grid-column: span 3; } }
@media (max-width: 900px) {
  .svc { grid-column: span 6; }
  .svc.featured h3 { font-size: 30px; }
}

/* ═══════════════════════════════════════════════════════════════
   PROCESS / ASCENT
═══════════════════════════════════════════════════════════════ */
.ascent {
  background: linear-gradient(180deg, #1b2d4d 0%, #243a63 50%, #3a4b6b 100%);
  position: relative;
}
.ascent .section-title { color: var(--color-bone); }
.ascent .section-title em { color: var(--color-sand); }
.ascent .section-lede { color: rgba(244,235,221,.7); }
.ascent .section-tag { color: var(--color-sand); }
.ascent-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ascent-bg svg { position: absolute; bottom: 0; left: 0; width: 100%; height: auto; opacity: .4; }

.ascent-grid {
  position: relative; display: grid;
  grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: flex-start;
}
@media (max-width: 900px) { .ascent-grid { grid-template-columns: 1fr; } }

/* Encabezado apilado sobre los pasos: la montaña queda visible
   a la derecha desde el inicio de la sección */
.ascent-head { flex-direction: column; align-items: flex-start; margin-bottom: 48px; }
.ascent-head .section-lede { max-width: 460px; }

/* El respiro inferior vive dentro de la columna izquierda para que la
   montaña siga fija (y completa en pantalla) hasta el final de la sección */
.ascent.section-pad { padding-bottom: 56px; }
.ascent-left { padding-bottom: 84px; }

.steps { position: relative; padding-left: 48px; }
.steps::before {
  content: ''; position: absolute; left: 18px; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(244,235,221,.3) 12%, rgba(244,235,221,.3) 88%, transparent);
}
.step {
  position: relative; padding: 32px 0 32px 36px;
  border-bottom: 1px solid rgba(244,235,221,.08);
  cursor: pointer; transition: all .4s;
}
.step:last-child { border-bottom: none; }
.step::before {
  content: ''; position: absolute; left: -37px; top: 42px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--color-ink); border: 1px solid rgba(244,235,221,.35);
  transition: all .4s; z-index: 2;
}
.step.active::before {
  background: var(--color-dusk); border-color: var(--color-dusk);
  box-shadow: 0 0 0 5px rgba(217,122,91,.18);
}
.step-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; color: var(--color-sand); margin-bottom: 8px; }
.step-title {
  font-family: var(--font-display); font-size: 28px;
  font-weight: var(--weight-medium); letter-spacing: -.02em; color: var(--color-bone);
}
.step-desc {
  font-size: 14px; color: rgba(244,235,221,.6); line-height: 1.6;
  margin-top: 10px; max-height: 0; overflow: hidden;
  transition: max-height .5s ease, opacity .4s, margin-top .4s; opacity: 0;
}
.step.active .step-desc { max-height: 140px; opacity: 1; margin-top: 14px; }

.ascent-illus {
  /* height acotada a la ventana y width acotado a la proporción de la
     foto (1170×1345): así el recorte "cover" nunca corta la cumbre */
  position: sticky; top: 100px;
  height: min(calc(100vh - 160px), 620px);
  width: 100%;
  max-width: calc(min(100vh - 160px, 620px) * .95);
  justify-self: center;
  border-radius: 24px; overflow: hidden;
  background: #0a1428;
  border: 1px solid rgba(244,235,221,.08);
}
.ascent-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.ascent-trail { pointer-events: none; }
.condor-climb {
  position: absolute; width: 42px; height: 42px;
  left: 50%; transform: translate(-50%,-50%);
  transition: top 1s cubic-bezier(.55,0,.25,1), left 1s cubic-bezier(.55,0,.25,1);
  z-index: 5; image-rendering: pixelated;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.6));
}
.condor-climb img { width: 100%; height: 100%; display: block; animation: condor-bob 1.4s ease-in-out infinite; }
@keyframes condor-bob {
  0%,100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-3px) rotate(3deg); }
}
@media (prefers-reduced-motion: reduce) { .condor-climb img { animation: none; } }
.ascent-illus svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ascent-flag {
  position: absolute; left: 50%; transform: translate(-50%, calc(-100% - 16px));
  color: var(--color-bone); font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .2em; text-align: center; white-space: nowrap;
  background: rgba(10,20,40,.65); padding: 5px 12px; border-radius: 999px;
  border: 1px solid rgba(244,235,221,.15);
  transition: opacity .4s, top 1s cubic-bezier(.55,0,.25,1), left 1s cubic-bezier(.55,0,.25,1);
}

/* ═══════════════════════════════════════════════════════════════
   DIFERENCIADORES
═══════════════════════════════════════════════════════════════ */
.diferenciadores {
  background: var(--color-ink); color: var(--color-bone);
  position: relative; overflow: hidden;
}
.diferenciadores .section-tag { color: var(--color-gold); }
.diferenciadores .section-title { color: var(--color-bone); }
.diferenciadores .section-title em { color: var(--color-gold); font-style: italic; }
.diferenciadores .section-lede { color: rgba(244,235,221,.6); }

.diff-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0;
  border-top: 1px solid rgba(244,235,221,.1);
  border-left: 1px solid rgba(244,235,221,.1);
}
@media (max-width: 900px) { .diff-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .diff-grid { grid-template-columns: 1fr; } }

.diff-item {
  padding: 48px 36px;
  border-right: 1px solid rgba(244,235,221,.1);
  border-bottom: 1px solid rgba(244,235,221,.1);
  position: relative; overflow: hidden;
  transition: background .4s;
}
.diff-item:hover { background: rgba(244,235,221,.04); }
.diff-num {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em;
  color: var(--color-dusk); margin-bottom: 28px; display: block;
}
.diff-title {
  font-family: var(--font-display); font-size: 22px;
  font-weight: var(--weight-medium); letter-spacing: -.02em;
  color: var(--color-bone); line-height: 1.1; margin-bottom: 14px;
}
.diff-desc { font-size: 14px; color: rgba(244,235,221,.55); line-height: 1.65; }

@media (max-width: 900px) { .diff-item { padding: 32px 24px; } }

/* ═══════════════════════════════════════════════════════════════
   PROYECTOS
═══════════════════════════════════════════════════════════════ */
.work { background: var(--color-paper); color: var(--color-ink); position: relative; overflow: hidden; }
.work .section-title { color: var(--color-ink); }
.work .section-title em { color: var(--color-navy); }
.work .section-lede { color: var(--color-slate); }
.work .section-tag { color: var(--color-navy); }

.work-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 32px; }
.work-card { grid-column: span 6; display: flex; flex-direction: column; gap: 18px; cursor: pointer; }
.work-card.wide  { grid-column: span 12; }
.work-card.third { grid-column: span 4; }
@media (max-width: 900px) {
  .work-card, .work-card.wide, .work-card.third { grid-column: span 12; }
}

.work-thumb {
  position: relative; border-radius: 18px; overflow: hidden;
  background: var(--color-navy); aspect-ratio: 16/10; will-change: transform;
}
.work-card.wide  .work-thumb { aspect-ratio: 21/9; }
.work-card.third .work-thumb { aspect-ratio: 1/1; }
.work-thumb .parallax-img {
  position: absolute; inset: -8% -2%;
  will-change: transform; transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.work-card:hover .work-thumb .parallax-img { transform: scale(1.05); }
.work-thumb svg { width: 100%; height: 100%; }

.work-meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.work-meta h3 {
  font-family: var(--font-display); font-size: 24px;
  font-weight: var(--weight-medium); letter-spacing: -.01em; color: var(--color-ink);
}
.work-meta .cat {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .18em; color: var(--color-slate);
  text-transform: uppercase; margin-bottom: 4px;
}
.work-year { font-family: var(--font-mono); font-size: 12px; color: var(--color-slate); }

.work-thumb .photo { background-size: cover; background-position: top center; }

/* ═══════════════════════════════════════════════════════════════
   IMPACT / STATS
═══════════════════════════════════════════════════════════════ */
.impact {
  background: var(--color-navy); color: var(--color-bone);
  position: relative; overflow: hidden; padding: 160px 56px;
}
.impact .section-title, .impact h2 { color: var(--color-bone); }
.impact h2 em { color: var(--color-sand); }
@media (max-width: 800px) {
  .impact { padding: 80px 20px; }
  .impact-headline { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .stat { padding: 32px 16px 0; }
}
.impact-bg { position: absolute; inset: 0; pointer-events: none; opacity: .5; will-change: transform; }
.impact-bg svg { width: 100%; height: 100%; position: absolute; bottom: 0; }

.impact-headline {
  position: relative; display: grid;
  grid-template-columns: auto 1fr; gap: 48px;
  align-items: end; margin-bottom: 96px;
}
.impact-headline h2 {
  font-family: var(--font-display); font-size: clamp(48px,7vw,108px);
  font-weight: var(--weight-medium); letter-spacing: -.035em; line-height: .9; color: var(--color-bone);
}
.impact-headline h2 em { font-style: italic; color: var(--color-sand); font-weight: 400; }

.impact-grid {
  position: relative; display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0; border-top: 1px solid rgba(244,235,221,.15);
}
@media (max-width: 900px) { .impact-grid { grid-template-columns: repeat(2,1fr); } }

.stat { padding: 48px 24px 0; border-right: 1px solid rgba(244,235,221,.15); position: relative; }
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display); font-size: clamp(56px,8vw,120px);
  font-weight: var(--weight-medium); letter-spacing: -.04em;
  color: var(--color-bone); line-height: 1; white-space: nowrap;
}
.stat-num sub { font-size: .5em; color: var(--color-sand); font-weight: 400; vertical-align: super; }
.stat-lbl {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--color-sand); margin-top: 18px;
}
.stat-desc { font-size: 13px; color: rgba(244,235,221,.55); margin-top: 8px; line-height: 1.5; max-width: 200px; }

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIAL
═══════════════════════════════════════════════════════════════ */
.voice {
  background: var(--color-sand); color: #1b2233;
  padding: 140px 56px; position: relative; overflow: hidden;
}
@media (max-width: 800px) { .voice { padding: 80px 20px; } }
.voice-bg { position: absolute; inset: 0; pointer-events: none; will-change: transform; opacity: .5; }
.voice-bg svg { width: 100%; }
.voice-quote {
  position: relative; max-width: 1100px;
  font-family: var(--font-display); font-size: clamp(26px,3.4vw,48px);
  line-height: 1.2; letter-spacing: -.02em; color: #1b2233;
  font-weight: 400; padding-left: 32px;
}
.voice-quote em { font-style: italic; color: var(--color-navy); }
.voice-mark {
  font-family: var(--font-display); font-size: 160px; line-height: .6;
  color: var(--color-dusk); position: absolute; top: -10px; left: -8px;
  font-weight: 700; opacity: .45; pointer-events: none;
}
@media (max-width: 800px) {
  .voice-quote { padding-left: 0; padding-top: 50px; }
  .voice-mark { font-size: 110px; top: -20px; left: -5px; }
}
.voice-foot { margin-top: 56px; display: flex; align-items: center; gap: 18px; }
.voice-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-navy), var(--color-dusk));
  display: grid; place-items: center; color: var(--color-bone);
  font-family: var(--font-display); font-weight: 600; font-size: 18px;
}
.voice-who { font-family: var(--font-display); font-weight: 500; color: var(--color-ink); }
.voice-who span {
  display: block; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .15em; color: var(--color-slate);
  margin-top: 4px; text-transform: uppercase; font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════════════ */
.contact {
  background: var(--color-ink); color: var(--color-bone);
  position: relative; overflow: hidden; padding: 160px 56px 120px;
}
.contact h2 {
  font-family: var(--font-display); font-size: clamp(48px,7vw,108px);
  font-weight: var(--weight-medium); letter-spacing: -.035em;
  line-height: .9; color: var(--color-bone);
}
.contact h2 em { font-style: italic; color: var(--color-sand); font-weight: 400; }
.contact-lede { margin-top: 32px; color: rgba(244,235,221,.7); font-size: 17px; line-height: 1.65; max-width: 480px; }
.contact .section-tag { color: var(--color-dusk); }
@media (max-width: 800px) {
  .contact { padding: 80px 20px 80px; }
  .form { padding: 28px 22px; }
  .form .form-grid { grid-template-columns: 1fr; }
}
.contact-bg { position: absolute; inset: 0; pointer-events: none; }
.contact-bg .mountain { position: absolute; left: -5%; right: -5%; will-change: transform; opacity: .15; }
.contact-grid {
  position: relative; display: grid;
  grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: flex-start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info { margin-top: 56px; display: flex; flex-direction: column; gap: 28px; }
.ci-row {
  display: grid; grid-template-columns: auto 1fr;
  gap: 18px; align-items: center;
  border-top: 1px solid rgba(244,235,221,.1); padding-top: 24px;
}
.ci-row:last-child { border-bottom: 1px solid rgba(244,235,221,.1); padding-bottom: 24px; }
.ci-tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--color-dusk); min-width: 96px; font-weight: 500;
}
.ci-val { font-family: var(--font-display); font-size: 20px; color: var(--color-bone); font-weight: 500; }
.ci-val small { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 300; color: rgba(244,235,221,.45); margin-top: 4px; }

/* Form */
.form {
  background: var(--color-navy);
  border: 1px solid rgba(244,235,221,.1);
  border-radius: 24px; padding: 40px;
  box-shadow: 0 20px 60px -30px rgba(10,20,40,.5);
}
.form h3 {
  font-family: var(--font-display); font-weight: var(--weight-medium);
  font-size: 24px; color: var(--color-bone); margin-bottom: 8px; letter-spacing: -.01em;
}
.form p.helper { font-size: 13px; color: rgba(244,235,221,.45); margin-bottom: 28px; }

/* Honeypot antispam: fuera de pantalla en vez de display:none, para que
   siga "visible" al DOM de bots simples pero invisible/inalcanzable para
   personas (mouse, teclado y lectores de pantalla). */
.hp-field {
  position: absolute; left: -9999px; top: -9999px;
  width: 1px; height: 1px; opacity: 0; pointer-events: none;
}

.field { margin-bottom: 18px; }
.field label {
  display: block; font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--color-dusk); margin-bottom: 8px; font-weight: 500;
}
.field input, .field textarea, .field select {
  width: 100%; background: transparent;
  border: none; border-bottom: 1px solid rgba(244,235,221,.18);
  padding: 10px 0 14px; color: var(--color-bone);
  font-family: var(--font-body); font-size: 16px;
  outline: none; transition: border-color .3s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(244,235,221,.25); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--color-dusk); }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23ddccb9' stroke-width='1.5' fill='none'/></svg>");
  background-repeat: no-repeat; background-position: right center;
}
.field select option { background: #1b2d4d; color: var(--color-bone); }
.field textarea { resize: vertical; min-height: 90px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .btn { width: 100%; justify-content: space-between; margin-top: 8px; background: var(--color-dusk); color: #fff; border-color: transparent; }
.form .btn:hover { background: var(--color-bone); color: var(--color-ink); }
.form .btn .btn-arrow { background: rgba(255,255,255,.25); color: #fff; }
.form .btn:hover .btn-arrow { background: var(--color-ink); color: var(--color-bone); }

.tags-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.svc-pick {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; padding: 7px 12px;
  border: 1px solid rgba(244,235,221,.2); border-radius: var(--radius-pill);
  color: rgba(244,235,221,.7); cursor: pointer; transition: all .3s;
  background: transparent;
}
.svc-pick:hover { border-color: rgba(244,235,221,.5); color: var(--color-bone); }
.svc-pick.on { background: var(--color-dusk); border-color: var(--color-dusk); color: #fff; }

.form-status {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--color-dusk);
  margin-top: 12px; min-height: 1.4em;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
footer {
  background: var(--color-navy);
  border-top: 1px solid rgba(244,235,221,.08);
  padding: 80px 56px 32px; position: relative;
}
@media (max-width: 800px) { footer { padding: 60px 20px 24px; } }

.foot-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 64px;
}
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }

.foot-brand { display: flex; flex-direction: column; gap: 24px; }
.foot-logo {
  height: 64px;
  width: auto;
  align-self: flex-start;
  display: block;
  filter: brightness(0) invert(1);
  opacity: .9;
}
.foot-brand p { font-size: 14px; color: rgba(244,235,221,.55); max-width: 320px; line-height: 1.6; }

.foot-col h4 {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--color-sand); margin-bottom: 20px; font-weight: 500;
}
.foot-col ul { display: flex; flex-direction: column; gap: 12px; }
.foot-col a { font-size: 14px; color: rgba(244,235,221,.75); transition: color .3s; }
.foot-col a:hover { color: var(--color-dusk); }

.foot-meta {
  border-top: 1px solid rgba(244,235,221,.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.foot-meta p {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .18em; text-transform: uppercase; color: rgba(244,235,221,.4);
}

.foot-big {
  font-family: var(--font-display);
  font-size: clamp(70px,16vw,220px); font-weight: var(--weight-semibold);
  letter-spacing: -.05em; line-height: .9;
  text-align: center; padding: 50px 0 10px;
  color: rgba(244,235,221,0.07);
  border-top: 1px solid rgba(244,235,221,.08);
  margin-top: 40px; overflow: hidden;
  user-select: none;
}
