/* =====================================================================
   ENERGY GROUP LATAM — "LA MATRIZ"
   Sistema: negro absoluto + oro multitono · Bodoni Moda / Inter / JetBrains Mono
   ===================================================================== */

:root{
  --bg: #030303;
  --bg-2: #080705;
  --bg-3: #0e0c09;
  --ink: #f4efe4;
  --ink-2: #cfc6b2;
  --ink-dim: #968d78;
  --ink-faint: #5a5446;

  --gold-hi: #f6e2a0;
  --gold: #d4af37;
  --gold-lo: #8f6f1f;

  --tone-gold: #d4af37;
  --tone-rose: #e0a996;
  --tone-platinum: #d3dade;
  --tone-bronze: #c97c3f;
  --tone-champagne: #ecdfb4;

  --tone: #d4af37;
  --line: rgba(212,175,55,.13);
  --line-2: rgba(212,175,55,.28);
  --line-3: rgba(212,175,55,.5);

  --serif: 'Bodoni Moda', 'Didot', 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --ease: cubic-bezier(.16,1,.3,1);
  --ease-io: cubic-bezier(.77,0,.18,1);
  --pad: clamp(20px, 5vw, 80px);
  --header-h: 88px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ background: var(--bg); -webkit-text-size-adjust: 100%; }
html:not(.lenis){ scroll-behavior: smooth; }
html.lenis, html.lenis body{ height: auto; }
.lenis.lenis-smooth{ scroll-behavior: auto !important; }
.lenis.lenis-stopped{ overflow: hidden; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection{ background: var(--gold); color: var(--bg); }

h1,h2,h3{ font-family: var(--serif); color: var(--ink); font-weight: 500; margin: 0; line-height: 1; letter-spacing: -.02em; }
h2{ font-size: clamp(2.6rem, 6vw, 5.6rem); }
h2 em, h3 em{ font-style: italic; color: var(--gold); font-weight: 400; }
p{ margin: 0 0 1em; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; }
.mono{ font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 400; }
.wrap{ width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }
.kicker{ color: var(--gold); margin-bottom: 28px; }
main{ position: relative; z-index: 1; }
section{ position: relative; }

.live-dot{
  display:inline-block; width:6px; height:6px; border-radius:50%;
  background: var(--gold); margin-right: 10px; vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(212,175,55,.7);
  animation: livePulse 2s infinite;
}
@keyframes livePulse{ 0%{ box-shadow:0 0 0 0 rgba(212,175,55,.6);} 70%{ box-shadow:0 0 0 8px rgba(212,175,55,0);} 100%{ box-shadow:0 0 0 0 rgba(212,175,55,0);} }

.noise{
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain{
  0%{ transform: translate(0,0);} 20%{ transform: translate(-3%,2%);} 40%{ transform: translate(2%,-3%);}
  60%{ transform: translate(-2%,-1%);} 80%{ transform: translate(3%,3%);} 100%{ transform: translate(0,0);}
}

/* ============ LOADER ============ */
.loader{ position: fixed; inset: 0; z-index: 200; display:flex; align-items:center; justify-content:center; }
html:not(.js) .loader{ display: none; }
.loader{ animation: loaderFailsafe .6s ease 6s forwards; } /* respaldo si el JS falla */
@keyframes loaderFailsafe{ to{ opacity:0; visibility:hidden; } }
.loader.is-done{ animation: none; pointer-events: none; }
.loader-panel{ position:absolute; left:0; right:0; height:50.5%; background: var(--bg); }
.loader-panel--top{ top:0; border-bottom: 1px solid var(--line); }
.loader-panel--bottom{ bottom:0; }
.loader-inner{ position: relative; z-index: 2; display:flex; flex-direction:column; align-items:center; gap: 22px; }
.loader-mark{
  width: 74px; height: 74px; border-radius: 50%; border: 1px solid var(--line-2);
  display:flex; align-items:center; justify-content:center; position: relative;
  font-family: var(--serif); font-size: 1.45rem; color: var(--gold-hi);
}
.loader-mark::before{
  content:''; position:absolute; inset:-1px; border-radius:50%;
  border: 1px solid transparent; border-top-color: var(--gold); animation: spin 1s linear infinite;
}
.loader-count{ font-family: var(--serif); font-size: clamp(4rem, 12vw, 9rem); color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.loader-bar{ width: min(280px, 60vw); height: 1px; background: var(--line); overflow: hidden; }
.loader-bar i{ display:block; height:100%; width:100%; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); transform-origin: left; transform: scaleX(0); }
.loader-text{ font-family: var(--mono); font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-dim); margin: 0; }
@keyframes spin{ to{ transform: rotate(360deg); } }

/* ============ ESCENA 3D ============ */
.matrix-canvas{ position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; display:block; pointer-events: none; }
.core-fallback{ position: fixed; top: 50%; left: 62%; width: 38vmin; height: 38vmin; transform: translate(-50%,-50%); z-index: 0; pointer-events:none; }
html.webgl-ready .core-fallback{ display:none; }
.core-fallback b{ position:absolute; inset: 30%; border-radius:50%; background: radial-gradient(circle at 40% 35%, #fff3cc, var(--gold) 40%, #3a2c0b 75%); box-shadow: 0 0 120px 40px rgba(212,175,55,.25); }
.core-fallback span{ position:absolute; inset:0; border-radius:50%; border: 1px solid var(--line-2); animation: spin 18s linear infinite; }
.core-fallback span:nth-child(2){ inset: 12%; border-style: dashed; animation-duration: 12s; animation-direction: reverse; }
.core-fallback span:nth-child(3){ inset: -18%; border-color: var(--line); animation-duration: 30s; }

.node-labels{ position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease); }
html.webgl-ready .node-labels.is-visible{ opacity: 1; }
.node-label{
  position: absolute; left: 0; top: 0; pointer-events: auto; cursor: pointer;
  display: flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 7px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--tone) 35%, transparent);
  background: rgba(3,3,3,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
  white-space: nowrap; will-change: transform;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.node-labels:not(.is-visible) .node-label{ pointer-events: none; }
.node-label i{
  font-style: normal; width: 26px; height: 26px; border-radius: 50%; display:flex; align-items:center; justify-content:center;
  background: color-mix(in srgb, var(--tone) 18%, transparent); color: var(--tone); font-size: .62rem;
}
.node-label:hover, .node-label:focus-visible{ border-color: var(--tone); background: rgba(3,3,3,.85); box-shadow: 0 0 30px -6px color-mix(in srgb, var(--tone) 70%, transparent); outline: none; }
[data-tone="gold"]{ --tone: var(--tone-gold); }
[data-tone="rose"]{ --tone: var(--tone-rose); }
[data-tone="platinum"]{ --tone: var(--tone-platinum); }
[data-tone="bronze"]{ --tone: var(--tone-bronze); }
[data-tone="champagne"]{ --tone: var(--tone-champagne); }

/* ============ UI GLOBAL ============ */
.scroll-progress{ position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events:none; }
.scroll-progress i{ display:block; height:100%; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); transform-origin: left; transform: scaleX(0); }

.section-indicator{
  position: fixed; right: var(--pad); bottom: 34px; z-index: 60;
  display:flex; align-items: baseline; gap: 10px; color: var(--ink-dim); pointer-events:none;
  mix-blend-mode: difference;
}
.si-num{ font-family: var(--serif); font-size: 1.6rem; color: var(--ink); letter-spacing: 0; }
.si-name{ color: var(--gold); }
.section-indicator{ transition: opacity .5s; }
.section-indicator.is-off{ opacity: 0; }

.cursor{ display:none; }
@media (hover:hover) and (pointer:fine){
  html.has-cursor, html.has-cursor *{ cursor: none !important; }
  html.has-cursor .cursor{ display:block; }
  .cursor-dot, .cursor-ring{ position: fixed; top:0; left:0; z-index: 300; pointer-events:none; border-radius:50%; }
  .cursor-dot{ width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold-hi); }
  .cursor-ring{
    width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid var(--line-3);
    display:flex; align-items:center; justify-content:center;
    transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .35s, border-color .35s;
  }
  .cursor-ring span{ font-family: var(--mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bg); opacity: 0; transition: opacity .25s; }
  .cursor-ring.is-hover{ width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--gold); }
  .cursor-ring.is-label{ width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--gold); border-color: var(--gold); }
  .cursor-ring.is-label span{ opacity: 1; }
}

/* ============ BOTONES ============ */
.btn{
  position: relative; display:inline-flex; align-items:center; gap: 14px;
  padding: 18px 30px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  cursor: pointer; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn span, .btn i{ position: relative; z-index: 1; font-style: normal; }
.btn::before{
  content:''; position:absolute; left: 50%; top: 100%; width: 140%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, 0) scale(0); transition: transform .7s var(--ease); z-index: 0;
}
.btn:hover::before{ transform: translate(-50%, -55%) scale(1); }
.btn-gold{ background: linear-gradient(120deg, var(--gold-hi), var(--gold) 45%, var(--gold-lo)); color: var(--bg); box-shadow: 0 20px 50px -18px rgba(212,175,55,.7); }
.btn-gold::before{ background: var(--ink); }
.btn-line{ border-color: var(--line-2); color: var(--ink); background: rgba(3,3,3,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-line::before{ background: var(--gold); }
.btn-line:hover{ color: var(--bg); border-color: var(--gold); }
.btn-full{ width: 100%; justify-content: center; }
.magnetic{ will-change: transform; }

/* ============ HEADER ============ */
.site-header{
  position: fixed; top: 0; left: 0; right: 0; z-index: 110; height: var(--header-h);
  display:flex; align-items:center; justify-content: space-between; gap: 20px;
  padding: 0 var(--pad);
  transition: background .5s var(--ease), border-color .5s var(--ease), height .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled{ background: rgba(3,3,3,.72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); height: 72px; }
.site-header.is-hidden{ transform: translateY(-100%); }
.site-header{ transition: transform .6s var(--ease), background .5s, border-color .5s, height .5s; }
html.menu-open .site-header{ transform: none; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }

.brand{ display:flex; align-items:center; gap: 14px; }
.brand-mark{ position: relative; width: 44px; height: 44px; color: var(--gold); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.brand-mark svg{ position:absolute; inset:0; width:100%; height:100%; animation: spin 24s linear infinite; }
.brand-mark b{ font-family: var(--serif); font-weight: 600; font-size: 1rem; color: var(--gold-hi); letter-spacing: .02em; }
.brand-name{ font-family: var(--serif); font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.brand-name em{ font-style: normal; color: var(--gold); }

.header-meta{ color: var(--ink-dim); margin: 0; font-variant-numeric: tabular-nums; }
.header-actions{ display:flex; align-items:center; gap: 12px; }
.header-link{ font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); padding: 12px 18px; border-radius: 999px; transition: color .3s; }
.header-link:hover{ color: var(--gold); }
.menu-btn{
  display:flex; align-items:center; gap: 14px; cursor: pointer;
  padding: 12px 14px 12px 20px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(3,3,3,.4);
  font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  transition: border-color .3s, background .3s;
}
.menu-btn:hover{ border-color: var(--gold); }
.menu-btn-lines{ position: relative; width: 22px; height: 10px; display:block; }
.menu-btn-lines i{ position:absolute; left:0; right:0; height:1px; background: var(--ink); transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-btn-lines i:first-child{ top: 1px; }
.menu-btn-lines i:last-child{ top: 8px; }
html.menu-open .menu-btn-lines i:first-child{ top: 5px; transform: rotate(45deg); }
html.menu-open .menu-btn-lines i:last-child{ top: 5px; transform: rotate(-45deg); }

/* ============ MENÚ OVERLAY ============ */
.menu-overlay{
  position: fixed; inset: 0; z-index: 105; background: var(--bg-2);
  clip-path: circle(0% at calc(100% - 70px) 44px);
  transition: clip-path 1s var(--ease-io);
  visibility: hidden;
}
html.menu-open .menu-overlay{ clip-path: circle(150% at calc(100% - 70px) 44px); visibility: visible; }
.menu-overlay{ transition: clip-path 1s var(--ease-io), visibility 0s linear 1s; }
html.menu-open .menu-overlay{ transition: clip-path 1s var(--ease-io), visibility 0s; }
.menu-grid-bg{
  position:absolute; inset:0; opacity:.5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000, transparent);
}
.menu-inner{ position: relative; height: 100%; display:flex; flex-direction:column; justify-content: space-between; padding: calc(var(--header-h) + 4vh) var(--pad) 40px; overflow-y: auto; }
.menu-links{ list-style: none; margin: 0; padding: 0; }
.menu-links li{ overflow: hidden; border-bottom: 1px solid var(--line); }
.menu-links a{
  display:flex; align-items: baseline; gap: 24px; padding: 1.2vh 0;
  font-family: var(--serif); font-size: clamp(2.4rem, 7.2vh, 5.4rem); line-height: 1.05; color: var(--ink);
  transform: translateY(110%); transition: transform .9s var(--ease), color .4s;
}
.menu-links a i{ font-style: normal; color: var(--gold); }
.menu-links a span{ transition: transform .6s var(--ease), font-style .3s; display:inline-block; }
.menu-links a:hover{ color: var(--gold-hi); }
.menu-links a:hover span{ transform: translateX(24px); font-style: italic; }
html.menu-open .menu-links a{ transform: none; }
html.menu-open .menu-links li:nth-child(1) a{ transition-delay: .25s; }
html.menu-open .menu-links li:nth-child(2) a{ transition-delay: .31s; }
html.menu-open .menu-links li:nth-child(3) a{ transition-delay: .37s; }
html.menu-open .menu-links li:nth-child(4) a{ transition-delay: .43s; }
html.menu-open .menu-links li:nth-child(5) a{ transition-delay: .49s; }
html.menu-open .menu-links li:nth-child(6) a{ transition-delay: .55s; }
.menu-foot{ display:grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 24px; padding-top: 30px; opacity: 0; transform: translateY(20px); transition: opacity .6s .6s, transform .8s .6s var(--ease); }
html.menu-open .menu-foot{ opacity: 1; transform: none; }
.menu-foot p{ color: var(--gold); margin-bottom: 6px; }
.menu-foot a, .menu-foot span{ color: var(--ink-2); font-size: .95rem; }
.menu-foot a:hover{ color: var(--gold-hi); }

/* ============ HERO ============ */
.hero{
  min-height: 100vh; min-height: 100svh;
  display:flex; flex-direction:column; justify-content: space-between;
  padding: calc(var(--header-h) + 36px) var(--pad) 48px;
  pointer-events: none;
}
.hero a, .hero button{ pointer-events: auto; }
.hero::after{ content:''; position:absolute; left:0; right:0; bottom:0; height: 40vh; background: linear-gradient(transparent, rgba(3,3,3,.75)); z-index:-1; }
.hero-top{ display:flex; justify-content: space-between; gap: 20px; color: var(--ink-dim); }
.hero-top p{ margin:0; }
.hero-bottom{ display:grid; grid-template-columns: 1fr minmax(280px, 400px); align-items: end; gap: 48px; }
.hero-title{ display:flex; flex-direction:column; line-height: .86; }
.ht-1{ font-style: italic; font-weight: 400; font-size: clamp(2.6rem, 7vw, 7.2rem); color: var(--ink-2); padding-left: .06em; }
.ht-2{
  font-size: clamp(5rem, 19vw, 19.5rem); font-weight: 500; letter-spacing: -.045em; line-height: .8;
  margin: -.02em 0 .12em -.04em;
  background: linear-gradient(100deg, var(--gold-hi) 0%, var(--gold) 30%, #fff4cf 48%, var(--gold) 66%, var(--gold-lo) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .06em;
}
.ht-2.is-split{ background: none; color: inherit; }
.ht-2 .char{
  background-image: linear-gradient(100deg, var(--gold-lo) 0%, var(--gold) 18%, var(--gold-hi) 32%, #fff4cf 40%, var(--gold) 55%, var(--gold-lo) 78%, var(--gold) 90%, var(--gold-lo) 100%);
  background-size: var(--lw, 1000px) 100%;
  background-repeat: repeat-x;
  background-position: calc(var(--shine, 0px) - var(--ox, 0px)) 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@property --shine{ syntax: '<length>'; inherits: true; initial-value: 0px; }
.ht-2.is-split{ animation: shineMove 7s linear infinite; }
@keyframes shineMove{ from{ --shine: 0px; } to{ --shine: var(--lw, 1000px); } }
.ht-sub{ font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.3rem, 2.4vw, 2.2rem); color: var(--ink); letter-spacing: -.01em; line-height: 1.15; max-width: 16em; }
.hero-side{ padding-bottom: 12px; }
.hero-lead{ color: var(--ink-2); font-size: 1.02rem; margin-bottom: 28px; }
.hero-cta{ display:flex; gap: 12px; flex-wrap: wrap; }
.hero-scroll{ position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); display:flex; flex-direction:column; align-items:center; gap: 12px; color: var(--ink-dim); font-size: .62rem; }
.hs-line{ width:1px; height: 54px; background: var(--line); overflow:hidden; order: 2; }
.hs-line i{ display:block; width:100%; height: 50%; background: var(--gold); animation: hsDrop 1.8s var(--ease-io) infinite; }
@keyframes hsDrop{ 0%{ transform: translateY(-100%);} 100%{ transform: translateY(220%);} }

/* utilidades de split */
.word, .char{ display:inline-block; }
.w-mask, .c-mask{ display:inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.ht-2 .c-mask{ padding-bottom: .12em; margin-bottom: -.12em; }

/* ============ MANIFIESTO ============ */
.manifesto{ min-height: 100vh; display:flex; align-items:center; padding: 18vh 0; }
.manifesto::before{ content:''; position:absolute; inset:0; background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(3,3,3,.55), rgba(3,3,3,.2)); z-index:-1; }
.manifesto-text{
  font-family: var(--serif); font-size: clamp(2rem, 4.6vw, 4.6rem); line-height: 1.08; letter-spacing: -.02em;
  color: var(--ink); max-width: 17em; margin-bottom: 9vh;
}
.manifesto-text em{ font-style: italic; color: var(--gold); }
.manifesto-text .word{ will-change: opacity; }
.manifesto-foot{ display:grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: 8vw; align-items: end; border-top: 1px solid var(--line); padding-top: 40px; }
.manifesto-note{ color: var(--ink-dim); margin: 0; }
.stats{ display:flex; justify-content: flex-end; gap: clamp(24px, 5vw, 80px); }
.stat{ display:flex; flex-direction:column; gap: 8px; }
.stat b{ font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 6vw, 5.4rem); line-height: .9; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat span{ color: var(--gold); }

/* ============ DIVISIONES ============ */
.divisions{ background: var(--bg); overflow: hidden; border-top: 1px solid var(--line); }
.h-track{ display:block; }
.panel{
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display:grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 4vw;
  padding: calc(var(--header-h) + 40px) var(--pad) 100px;
  border-bottom: 1px solid var(--line);
}
.panel-intro{ display:flex; flex-direction:column; justify-content:center; align-items:flex-start; background: var(--bg-2); }
.panel-intro-title{ font-size: clamp(3.4rem, 8.4vw, 9rem); line-height: .92; margin-bottom: 36px; }
.panel-intro-lead{ max-width: 30em; color: var(--ink-dim); font-size: 1.05rem; }
.panel-intro-hint{ display:flex; align-items:center; gap: 16px; color: var(--ink-dim); margin-top: 36px; }
.pih-arrow{ width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-2); display:flex; align-items:center; justify-content:center; color: var(--gold); font-size: 1rem; animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge{ 0%,100%{ transform: translateX(0);} 50%{ transform: translateX(10px);} }
html:not(.has-hscroll) .pih-arrow{ transform: rotate(90deg); animation: none; }

.panel-bg{
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(ellipse 55% 60% at 75% 50%, color-mix(in srgb, var(--tone) 16%, transparent), transparent 70%),
    radial-gradient(ellipse 40% 50% at 10% 90%, color-mix(in srgb, var(--tone) 7%, transparent), transparent 70%);
}
.panel-bg::after{
  content:''; position:absolute; inset:0;
  background-image: linear-gradient(color-mix(in srgb, var(--tone) 9%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--tone) 9%, transparent) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 70% at 70% 50%, #000, transparent);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 70% 50%, #000, transparent);
}
.panel-number{
  position:absolute; z-index:0; right: -2vw; bottom: -8vw;
  font-family: var(--serif); font-weight: 500; font-size: 42vw; line-height: .8; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--tone) 22%, transparent);
  pointer-events:none; user-select:none;
}
.panel-content{ position: relative; z-index: 2; max-width: 620px; }
.panel-tag{ color: var(--tone); margin-bottom: 26px; }
.panel-title{ font-size: clamp(3.4rem, 8vw, 8.4rem); line-height: .88; margin-bottom: 30px; }
.panel-title em{ color: var(--tone); }
.panel-desc{ font-size: 1.06rem; color: var(--ink-2); max-width: 32em; }
.panel-meta{ display:flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 34px; }
.panel-meta span{ padding: 8px 14px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--tone) 30%, transparent); color: var(--ink-2); font-size: .62rem; }
.panel-link{
  display:inline-flex; align-items:center; gap: 16px; color: var(--ink);
  font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  padding-bottom: 8px; border-bottom: 1px solid var(--tone);
}
.panel-link i{ font-style: normal; color: var(--tone); transition: transform .5s var(--ease); }
.panel-link:hover i{ transform: translateX(8px) rotate(-10deg); }
.panel-emblem{ position: relative; z-index: 2; display:flex; align-items:center; justify-content:center; }

.h-progress{ display:none; }
html.has-hscroll .h-track{ display:flex; width: max-content; height: 100vh; height: 100svh; }
html.has-hscroll .panel{ width: 100vw; flex: 0 0 100vw; height: 100vh; height: 100svh; min-height: 0; border-bottom: 0; border-right: 1px solid var(--line); }
html.has-hscroll .panel-intro{ width: 72vw; flex-basis: 72vw; }
html.has-hscroll .h-progress{
  display:flex; align-items:center; gap: 16px;
  position: absolute; left: var(--pad); right: var(--pad); bottom: 36px; z-index: 5; color: var(--ink-dim);
  max-width: 420px;
}
.h-bar{ flex: 1; height: 1px; background: var(--line-2); overflow:hidden; }
.h-bar i{ display:block; height:100%; width:100%; background: var(--gold); transform-origin:left; transform: scaleX(0); }
#hCount{ color: var(--gold); }

/* ----- EMBLEMAS ----- */
.emblem{ position: relative; width: min(40vw, 540px); aspect-ratio: 1; color: var(--tone); }
.emblem-caption{ position:absolute; left:50%; bottom: -34px; transform: translateX(-50%); color: var(--ink-dim); white-space: nowrap; font-size: .62rem; }

/* 01 talento: órbitas */
.emblem-talent{ perspective: 900px; }
.orb{ position:absolute; border-radius:50%; border: 1px solid color-mix(in srgb, var(--tone) 45%, transparent); transform-style: preserve-3d; }
.orb i{ position:absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left:-6px; border-radius:50%; background: var(--tone); box-shadow: 0 0 22px 4px color-mix(in srgb, var(--tone) 70%, transparent); }
.orb.r1{ inset: 4%; animation: orbA 16s linear infinite; }
.orb.r2{ inset: 17%; animation: orbB 11s linear infinite; border-style: dashed; }
.orb.r3{ inset: 30%; animation: orbC 7s linear infinite; }
@keyframes orbA{ from{ transform: rotateX(68deg) rotateZ(0);} to{ transform: rotateX(68deg) rotateZ(360deg);} }
@keyframes orbB{ from{ transform: rotateX(62deg) rotateY(28deg) rotateZ(360deg);} to{ transform: rotateX(62deg) rotateY(28deg) rotateZ(0);} }
@keyframes orbC{ from{ transform: rotateX(75deg) rotateY(-30deg) rotateZ(0);} to{ transform: rotateX(75deg) rotateY(-30deg) rotateZ(360deg);} }
.orb-core{
  position:absolute; inset: 38%; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background: radial-gradient(circle at 38% 32%, #fff3cc, var(--tone) 45%, #2a1f06 90%);
  box-shadow: 0 0 80px 10px color-mix(in srgb, var(--tone) 40%, transparent), inset 0 0 30px rgba(0,0,0,.4);
  color: var(--bg); animation: breathe 4s ease-in-out infinite;
}
.orb-core svg{ width: 44%; height: 44%; }
@keyframes breathe{ 0%,100%{ transform: scale(1);} 50%{ transform: scale(1.06);} }

/* 02 música: ecualizador circular + vinilo */
.eq{ position:absolute; inset: 0; }
.eq i{
  position:absolute; left: 50%; top: 50%; width: 4px; height: 22%; margin-left: -2px;
  transform-origin: 50% 0; border-radius: 2px;
  background: linear-gradient(to bottom, var(--tone), transparent);
  transform: rotate(var(--r)) translateY(calc(min(40vw,540px) * .30)) scaleY(var(--s,.4));
  animation: eqBar 1.1s ease-in-out infinite alternate; animation-delay: var(--d);
}
@keyframes eqBar{ from{ --s: .15; } to{ --s: 1; } }
@property --s{ syntax: '<number>'; inherits: false; initial-value: .4; }
.vinyl{
  position:absolute; inset: 27%; border-radius:50%;
  background: repeating-radial-gradient(circle, #111 0 2px, #1b1814 2px 4px);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.8), 0 0 0 1px color-mix(in srgb, var(--tone) 30%, transparent);
  animation: spin 5s linear infinite;
}
.vinyl::before{ content:''; position:absolute; inset:0; border-radius:50%; background: conic-gradient(from 30deg, transparent 0 20%, rgba(255,255,255,.08) 25%, transparent 32% 70%, rgba(255,255,255,.06) 75%, transparent 82%); }
.vinyl span{ position:absolute; inset: 34%; border-radius:50%; background: radial-gradient(circle, var(--bg) 0 8%, var(--tone) 9% 100%); }

/* 03 CANJEZ: red marca ⇄ creador */
.market-svg{ width:100%; height:100%; overflow: visible; }
.mk-grid circle{ fill: color-mix(in srgb, var(--tone) 55%, transparent); animation: twinkle 3s ease-in-out infinite; }
.mk-grid circle:nth-child(2n){ animation-delay: 1s; }
.mk-grid circle:nth-child(3n){ animation-delay: 2s; }
@keyframes twinkle{ 0%,100%{ opacity:.3;} 50%{ opacity:1;} }
.mk-line{ fill:none; stroke: color-mix(in srgb, var(--tone) 40%, transparent); stroke-width: 1.2; stroke-dasharray: 6 8; animation: dashFlow 2.4s linear infinite; }
.mk-line--back{ animation-direction: reverse; stroke-dasharray: 2 10; }
@keyframes dashFlow{ to{ stroke-dashoffset: -56; } }
.mk-packet{ fill: var(--tone); filter: drop-shadow(0 0 6px var(--tone)); }
.mk-packet--back{ fill: var(--gold); filter: drop-shadow(0 0 6px var(--gold)); }
.mk-end-ring{ fill: none; stroke: color-mix(in srgb, var(--tone) 45%, transparent); stroke-dasharray: 3 5; animation: spin 14s linear infinite; transform-box: fill-box; transform-origin: center; }
.mk-end-core{ fill: #0d0d0d; stroke: var(--tone); stroke-width: 1.2; }
.mk-end text{ fill: var(--ink); font-family: var(--mono); font-size: 11px; letter-spacing: 2px; }

/* 04 casting: visor de cámara */
.emblem-casting{ border-radius: 6px; overflow: visible; }
.spot{
  position:absolute; left: 50%; top: -18%; width: 150%; height: 130%; transform-origin: 50% 0; transform: translateX(-50%) rotate(-14deg);
  background: conic-gradient(from 165deg at 50% 0%, transparent 0deg, color-mix(in srgb, var(--tone) 32%, transparent) 12deg, color-mix(in srgb, #fff 22%, transparent) 15deg, color-mix(in srgb, var(--tone) 32%, transparent) 18deg, transparent 30deg);
  filter: blur(8px); animation: sweep 6s ease-in-out infinite alternate; mix-blend-mode: screen;
}
@keyframes sweep{ from{ transform: translateX(-50%) rotate(-16deg);} to{ transform: translateX(-50%) rotate(14deg);} }
.silhouette{ position:absolute; left: 50%; bottom: 8%; width: 44%; transform: translateX(-50%); fill: #0c0b09; stroke: color-mix(in srgb, var(--tone) 55%, transparent); stroke-width: 1; }
.focus-box{ position:absolute; left: 38%; top: 20%; width: 24%; height: 26%; border: 1px solid var(--tone); animation: focus 3.2s var(--ease) infinite; }
@keyframes focus{ 0%{ transform: scale(1.5); opacity: .2;} 40%{ transform: scale(1); opacity: 1;} 55%{ opacity:.4;} 70%{ opacity:1;} 100%{ transform: scale(1); opacity:1;} }
.vf{ position:absolute; width: 14%; height: 14%; border-color: var(--ink-2); border-style: solid; border-width: 0; }
.vf.c1{ top: 4%; left: 4%; border-top-width: 1.5px; border-left-width: 1.5px; }
.vf.c2{ top: 4%; right: 4%; border-top-width: 1.5px; border-right-width: 1.5px; }
.vf.c3{ bottom: 4%; left: 4%; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.vf.c4{ bottom: 4%; right: 4%; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.crosshair{ position:absolute; left:50%; top:50%; width: 26px; height: 26px; transform: translate(-50%,-50%); }
.crosshair::before, .crosshair::after{ content:''; position:absolute; background: color-mix(in srgb, var(--ink) 60%, transparent); }
.crosshair::before{ left: 50%; top:0; bottom:0; width:1px; }
.crosshair::after{ top: 50%; left:0; right:0; height:1px; }
.rec{ position:absolute; top: 8%; left: 9%; display:flex; align-items:center; gap: 8px; color: var(--ink); font-size: .66rem; }
.rec b{ width: 9px; height: 9px; border-radius:50%; background: #e0453a; animation: blink 1s steps(2) infinite; box-shadow: 0 0 12px #e0453a; }
.rec em{ font-style: normal; color: var(--ink-2); font-variant-numeric: tabular-nums; }
@keyframes blink{ 50%{ opacity: 0; } }
.vf-meta{ position:absolute; bottom: 8%; right: 9%; color: var(--ink-dim); font-size: .58rem; }

/* 05 zyntralab: terminal */
.circuit{ position:absolute; inset:-8%; width:116%; height:116%; }
.circuit path{ fill:none; stroke: color-mix(in srgb, var(--tone) 30%, transparent); stroke-width: 1; stroke-dasharray: 4 14; animation: dashFlow 3s linear infinite; }
.circuit path:nth-child(2n){ animation-direction: reverse; animation-duration: 4s; }
.terminal{
  position:absolute; inset: 14% 4%; border-radius: 14px; overflow: hidden;
  background: rgba(10,9,7,.92); border: 1px solid color-mix(in srgb, var(--tone) 35%, transparent);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.9), 0 0 60px -20px color-mix(in srgb, var(--tone) 50%, transparent);
  display:flex; flex-direction:column;
}
.term-head{ display:flex; align-items:center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.term-head i{ width: 10px; height: 10px; border-radius: 50%; background: #3a352b; }
.term-head i:first-child{ background: #c96b52; } .term-head i:nth-child(2){ background: #d4af37; } .term-head i:nth-child(3){ background: #7d9a64; }
.term-head span{ margin-left: auto; color: var(--ink-dim); font-size: .58rem; }
.term-body{ margin: 0; padding: 22px 22px; color: var(--ink-2); font-size: clamp(.62rem, .95vw, .82rem); line-height: 2; letter-spacing: .04em; text-transform: none; white-space: pre-wrap; flex: 1; }
.term-body .t-ok{ color: var(--tone); }
.term-body .t-caret{ display:inline-block; width: .6em; height: 1.1em; background: var(--tone); vertical-align: -3px; animation: blink 1s steps(2) infinite; }

/* ============ ECOSISTEMA ============ */
.ecosystem{ background: var(--bg-2); padding: 18vh 0; border-top: 1px solid var(--line); overflow: hidden; }
.eco-grid{ display:grid; grid-template-columns: minmax(300px, .8fr) 1.2fr; gap: 5vw; align-items: center; }
.eco-copy h2{ margin-bottom: 28px; }
.eco-lead{ color: var(--ink-dim); max-width: 30em; font-size: 1.04rem; }
.eco-info{ margin-top: 44px; padding: 30px 32px; border-radius: 20px; border: 1px solid var(--line-2); background: linear-gradient(160deg, rgba(212,175,55,.06), rgba(212,175,55,0)); min-height: 200px; }
.eco-info-tag{ color: var(--gold); margin-bottom: 14px; }
.eco-info h3{ font-size: clamp(1.8rem, 2.6vw, 2.5rem); margin-bottom: 14px; }
.eco-info p:last-child{ margin: 0; color: var(--ink-2); }
.eco-info.is-swap > *{ animation: infoIn .6s var(--ease); }
@keyframes infoIn{ from{ opacity: 0; transform: translateY(10px); filter: blur(4px);} to{ opacity:1; transform:none; filter: none;} }
.eco-hint{ color: var(--ink-dim); margin-top: 20px; }

.eco-map{ position: relative; }
.eco-svg{ width: 100%; height: auto; overflow: visible; display:block; }
.eco-ring{ fill:none; stroke: var(--line); stroke-width: 1; }
.eco-ring--dash{ stroke-dasharray: 3 7; animation: spin 90s linear infinite; transform-origin: 500px 350px; }
.eco-line{ fill:none; stroke: rgba(212,175,55,.3); stroke-width: 1.3; transition: stroke .4s, stroke-width .4s, opacity .4s; }
.eco-line--cross{ stroke: rgba(212,175,55,.14); stroke-dasharray: 4 6; }
.eco-pulse{ fill: var(--gold-hi); filter: drop-shadow(0 0 5px var(--gold)); transition: opacity .4s; }
.eco-pulse--cross{ fill: var(--gold); opacity: .7; }
.eco-svg.has-active .eco-line{ opacity: .15; }
.eco-svg.has-active .eco-line.is-lit{ opacity: 1; stroke: var(--gold-hi); stroke-width: 2.4; stroke-dasharray: none; filter: drop-shadow(0 0 6px rgba(212,175,55,.8)); }
.eco-svg.has-active .eco-pulse{ opacity: .25; }
.eco-svg.has-active .eco-pulse.is-lit{ opacity: 1; }

.eco-core, .eco-node{ cursor: pointer; outline: none; }
.eco-core-halo{ animation: halo 4s ease-in-out infinite; transform-origin: 500px 350px; }
@keyframes halo{ 0%,100%{ transform: scale(1); opacity:.8;} 50%{ transform: scale(1.18); opacity: 1;} }
.eco-core-ring{ fill: none; stroke: var(--gold); stroke-width: 1; stroke-dasharray: 2 5; animation: spin 20s linear infinite; transform-origin: 500px 350px; }
.eco-core-text{ font-family: var(--serif); font-size: 26px; fill: #1a1304; font-weight: 700; pointer-events: none; }

.eco-node-body{ transform-box: fill-box; transform-origin: center; transition: transform .5s var(--ease); }
.eco-node-ring{ fill: none; stroke: color-mix(in srgb, var(--tone) 50%, transparent); stroke-width: 1; stroke-dasharray: 3 4; }
.eco-node-core{ fill: #0e0c09; stroke: var(--tone); stroke-width: 1.4; transition: fill .4s; }
.eco-node-num{ fill: var(--tone); font-family: var(--mono); font-size: 13px; letter-spacing: 1px; pointer-events:none; transition: fill .4s; }
.eco-node-label{ fill: var(--ink-2); font-family: var(--mono); font-size: 13px; letter-spacing: 2.5px; pointer-events:none; transition: fill .4s; }
.eco-node:hover .eco-node-body, .eco-node:focus-visible .eco-node-body, .eco-node.is-active .eco-node-body{ transform: scale(1.18); }
.eco-node.is-active .eco-node-core, .eco-node:focus-visible .eco-node-core{ fill: var(--tone); }
.eco-node.is-active .eco-node-num, .eco-node:focus-visible .eco-node-num{ fill: var(--bg); }
.eco-node.is-active .eco-node-label{ fill: var(--tone); }
.eco-core:focus-visible .eco-core-ring{ stroke-width: 2.5; }
.eco-legend{ display:flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.eco-legend button{
  display:inline-flex; align-items:center; gap: 10px; cursor: pointer;
  padding: 7px 14px 7px 7px; border-radius: 999px; background: transparent;
  border: 1px solid color-mix(in srgb, var(--tone) 30%, transparent); color: var(--ink-2);
  font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase;
  transition: border-color .3s, background .3s, color .3s;
}
.eco-legend button i{ font-style: normal; width: 24px; height: 24px; border-radius: 50%; display:flex; align-items:center; justify-content:center; background: color-mix(in srgb, var(--tone) 16%, transparent); color: var(--tone); font-size: .6rem; }
.eco-legend button:hover, .eco-legend button.is-active, .eco-legend button:focus-visible{ border-color: var(--tone); color: var(--ink); background: color-mix(in srgb, var(--tone) 10%, transparent); outline: none; }

/* ============ FILOSOFÍA (apiladas) ============ */
.values{ background: var(--bg); padding: 16vh 0 10vh; border-top: 1px solid var(--line); }
.values-head{ display:flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 8vh; }
.values-head .kicker{ margin: 0; order: 2; }
.stack{ position: relative; }
.stack-card{
  position: sticky; top: calc(18vh + var(--i) * 28px);
  min-height: 56vh; margin-bottom: 7vh;
  display:grid; grid-template-columns: auto 1fr auto; gap: 5vw; align-items: start;
  padding: clamp(32px, 5vw, 70px);
  border-radius: 30px; border: 1px solid var(--line-2);
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(212,175,55,.12), transparent 60%),
    linear-gradient(160deg, #13110c, #07060a);
  box-shadow: 0 -30px 80px -40px rgba(0,0,0,.9);
  transform-origin: 50% 0%;
  overflow: hidden;
}
.stack-card::after{
  content:''; position:absolute; inset:0; pointer-events:none; border-radius: inherit;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .35;
  mask-image: linear-gradient(135deg, transparent 40%, #000);
  -webkit-mask-image: linear-gradient(135deg, transparent 40%, #000);
}
.stack-card::before{ content:''; position:absolute; inset:0; z-index: 3; pointer-events:none; border-radius: inherit; background: #030303; opacity: var(--dim, 0); }
.stack-card:last-child{ margin-bottom: 0; }
.stack-num{
  font-family: var(--serif); font-size: clamp(6rem, 14vw, 13rem); line-height: .8; letter-spacing: -.05em;
  background: linear-gradient(160deg, var(--gold-hi), var(--gold) 45%, var(--gold-lo));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stack-body{ position: relative; z-index: 1; max-width: 30em; padding-top: 1.4vw; }
.stack-body h3{ font-size: clamp(2rem, 3.6vw, 3.6rem); margin-bottom: 22px; }
.stack-body p{ color: var(--ink-2); font-size: 1.08rem; }
.stack-tag{ color: var(--gold); padding-top: 1.6vw; }

/* ============ CONTACTO ============ */
.contact{ background: var(--bg); padding: 12vh 0 16vh; border-top: 1px solid var(--line); overflow: hidden; }
.cta-marquee{ overflow: hidden; margin-bottom: 12vh; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2vh 0; }
.cta-track{ display:flex; align-items:center; gap: 3vw; width: max-content; animation: marquee 22s linear infinite; will-change: transform; }
.cta-track.is-reverse{ animation-direction: reverse; }
.cta-track span{
  font-family: var(--serif); font-style: italic; font-size: clamp(4.5rem, 15vw, 15rem); line-height: 1; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.2px rgba(212,175,55,.62);
  transition: color .6s, -webkit-text-stroke-color .6s;
}
.cta-track span:hover{ color: var(--gold); -webkit-text-stroke-color: var(--gold); }
.cta-track i{ font-style: normal; color: var(--gold); font-size: clamp(1.4rem, 3vw, 3rem); }
@keyframes marquee{ to{ transform: translateX(-50%); } }
.cta-skew{ display:block; transition: transform .5s var(--ease); }

.contact-grid{ display:grid; grid-template-columns: 1fr minmax(320px, 560px); gap: 7vw; align-items: start; }
.contact-copy h2{ margin-bottom: 30px; max-width: 10em; }
.contact-copy > p{ color: var(--ink-dim); max-width: 30em; font-size: 1.04rem; }
.contact-list{ list-style: none; padding: 0; margin: 48px 0 0; border-top: 1px solid var(--line); }
.contact-list li{ display:flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.contact-list li > span:first-child{ color: var(--gold); }
.contact-list a, .cl-plain{ font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.7rem); color: var(--ink); transition: color .3s; word-break: break-word; }
.contact-list a:hover{ color: var(--gold-hi); }

.contact-form{
  position: relative; padding: clamp(28px, 3.4vw, 48px); border-radius: 26px;
  border: 1px solid var(--line-2);
  background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(212,175,55,.1), transparent 60%), linear-gradient(170deg, #0f0d0a, #060504);
  display:flex; flex-direction:column; gap: 18px;
}
.form-head{ color: var(--ink-dim); margin-bottom: 10px; }
.field{ position: relative; }
.field input, .field textarea, .field select{
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2);
  padding: 26px 0 12px; color: var(--ink); font-family: var(--sans); font-size: 1.02rem; font-weight: 300;
  border-radius: 0; resize: vertical; outline: none; transition: border-color .4s;
  -webkit-appearance: none; appearance: none;
}
.field select{ cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 12px) 32px, calc(100% - 7px) 32px; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option{ background: #0f0d0a; color: var(--ink); }
.field label{
  position:absolute; left: 0; top: 26px; color: var(--ink-dim); pointer-events: none;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  transform-origin: left top; transition: transform .45s var(--ease), color .3s;
}
.field input:focus, .field textarea:focus, .field select:focus{ border-color: var(--gold); }
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label,
.field .label-static{ transform: translateY(-22px) scale(.85); color: var(--gold); }
.field::after{ content:''; position:absolute; left:0; bottom:0; height:1px; width:100%; background: var(--gold-hi); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.field:focus-within::after{ transform: scaleX(1); }
.contact-form .btn{ margin-top: 14px; }
.form-note{ min-height: 1.3em; margin: 0; color: var(--gold-hi); font-size: .9rem; }

/* ============ FOOTER ============ */
.site-footer{ position: relative; z-index: 1; background: var(--bg); border-top: 1px solid var(--line); padding: 60px 0 30px; overflow: hidden; }
.footer-top{ display:flex; justify-content: space-between; align-items:center; gap: 24px; flex-wrap: wrap; }
.footer-nav{ display:flex; flex-wrap: wrap; gap: 8px 30px; }
.footer-nav a{ font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-dim); transition: color .3s; }
.footer-nav a:hover{ color: var(--gold); }
.to-top{ width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--gold); font-size: 1.1rem; cursor: pointer; transition: background .4s, color .4s, border-color .4s; }
.to-top:hover{ background: var(--gold); color: var(--bg); border-color: var(--gold); }
.footer-word{
  font-family: var(--serif); font-weight: 500; font-size: 9.6vw; line-height: .9; letter-spacing: -.035em;
  white-space: nowrap; text-align: center; margin: 7vh 0 5vh; user-select: none;
  color: transparent; -webkit-text-stroke: 1.2px rgba(212,175,55,.55);
}
.footer-word .char{ transition: color .5s var(--ease), -webkit-text-stroke-color .5s; }
.footer-word .char:hover{ color: var(--gold); -webkit-text-stroke-color: var(--gold); transition-duration: .1s; }
.footer-bottom{ display:flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--ink-faint); border-top: 1px solid var(--line); padding-top: 24px; }
.footer-bottom p{ margin: 0; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px){
  .hero-bottom{ grid-template-columns: 1fr; gap: 28px; }
  .hero-side{ max-width: 520px; }
  .eco-grid{ grid-template-columns: 1fr; }
  .eco-map{ order: -1; }
  .contact-grid{ grid-template-columns: 1fr; }
  .manifesto-foot{ grid-template-columns: 1fr; gap: 36px; }
  .stats{ justify-content: flex-start; }
}
@media (max-width: 1023px){
  .panel{ grid-template-columns: 1fr; gap: 70px; padding-bottom: 110px; }
  .panel-emblem{ order: 2; }
  .emblem{ width: min(78vw, 460px); }
  .eq i{ transform: rotate(var(--r)) translateY(calc(min(78vw,460px) * .30)) scaleY(var(--s,.4)); }
  .panel-number{ font-size: 70vw; bottom: auto; top: 10vh; right: -6vw; }
  .header-meta{ display:none; }
  .section-indicator{ display:none; }
  .stack-card{ grid-template-columns: 1fr; gap: 20px; min-height: 0; top: calc(12vh + var(--i) * 18px); }
  .stack-tag{ order: -1; padding: 0; }
}
@media (max-width: 640px){
  :root{ --header-h: 72px; }
  .brand-name{ display:none; }
  .header-link{ display:none; }
  .hero-top{ flex-direction: column; gap: 6px; }
  .hero-coords{ display:none; }
  .hero-scroll{ display:none; }
  .hero-cta .btn{ padding: 16px 22px; }
  .node-label span{ display:none; }
  .node-label{ padding: 5px; }
  .menu-foot{ grid-template-columns: 1fr; }
  .menu-links a{ font-size: clamp(2rem, 6.4vh, 3rem); gap: 16px; }
  .stats{ gap: 28px; }
  .contact-list li{ flex-direction: column; gap: 6px; }
  .footer-bottom{ flex-direction: column; }
  .eco-node-label{ display: none; }
  .eco-node-num{ font-size: 22px; }
  .eco-core-text{ font-size: 32px; }
  .ht-2{ font-size: 25vw; }
  .eco-info{ padding: 24px; }
}

/* ============ MOVIMIENTO REDUCIDO ============ */
@media (prefers-reduced-motion: reduce){
  html, html:not(.lenis){ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .loader{ display:none; }
  .noise{ animation: none; }
}
