:root {
  --bg: #08090c;
  --surface: #121419;
  --line: #1e2127;
  --line-2: #2a2e35;
  --ink: #e1e5e5;
  --ink-2: #c0c4c6;
  --ink-3: #838a8f;
  /* oro de la marca: plano para texto y filetes, metálico para piezas grandes */
  --gold: #d2a24c;
  --gold-hi: #f1d595;
  --gold-lo: #9a7130;
  --gold-line: rgba(210, 162, 76, 0.38);
  --gold-metal: linear-gradient(180deg, #f6e2ac 0%, #e2b866 38%, #c08f3e 64%, #e8c67e 100%);
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Chivo Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(20px, 4vw, 48px);
  --nav-h: 72px;
  --h2: clamp(1.9rem, 1rem + 2.6vw, 3.25rem);
  --h3: 1.25rem;
  --body: 1rem;
  --lead: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--body)/1.5 var(--sans); -webkit-font-smoothing: antialiased; letter-spacing: -0.003em; }
body.menu-open { overflow: hidden; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
::selection { background: rgba(210, 162, 76, 0.3); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 3px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }

/* tipografía */
.h2, .h3 { font-weight: 500; text-wrap: balance; }
.h2 { font-size: var(--h2); line-height: 1.02; letter-spacing: -0.008em; text-transform: uppercase; }
.h3 { font-size: var(--h3); line-height: 1.25; }
.lead { font-size: var(--lead); line-height: 1.45; color: var(--ink-2); max-width: 46ch; text-wrap: pretty; }
.muted { color: var(--ink-3); text-wrap: pretty; }
.small { font-size: 0.875rem; color: var(--ink-3); }
.tiny { font-size: 0.8125rem; color: var(--ink-3); }
.gold { color: var(--gold); }
.gold-text { background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.kicker { display: flex; align-items: center; gap: 12px; color: var(--gold); font-size: 0.9375rem; margin-bottom: 20px; }
.kicker .num { font-size: 0.8125rem; color: var(--gold-hi); padding: 3px 8px; border: 1px solid var(--gold-line); border-radius: 999px; }
.kicker::after { content: ""; flex: 1; max-width: 120px; height: 1px; background: linear-gradient(90deg, var(--gold-line), transparent); }
.fineprint { margin-top: 32px; font-size: 0.875rem; color: var(--ink-3); max-width: 70ch; padding-left: 14px; border-left: 2px solid var(--gold-line); }

/* botones: pill */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 28px; border-radius: 999px; background: var(--ink); color: var(--bg); border: 0; cursor: pointer;
  font-size: 1rem; font-weight: 500; line-height: 1; letter-spacing: -0.003em; transition: background-color 200ms var(--ease), color 200ms var(--ease), transform 140ms var(--ease), box-shadow 200ms var(--ease), filter 200ms var(--ease); }
.btn svg { flex: none; transition: transform 250ms var(--ease-out); }
@media (hover: hover) { .btn:hover svg[width="16"] { transform: translateX(3px); } }
.btn-gold { background: var(--gold-metal); color: #1a1206; box-shadow: inset 0 1px 0 rgba(255, 244, 214, 0.55), 0 8px 28px rgba(210, 162, 76, 0.18); }
@media (hover: hover) { .btn-gold:hover { filter: brightness(1.08) saturate(1.05); box-shadow: inset 0 1px 0 rgba(255, 244, 214, 0.6), 0 10px 34px rgba(210, 162, 76, 0.28); } }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
@media (hover: hover) { .btn-line:hover { background: var(--surface); box-shadow: inset 0 0 0 1px var(--gold-line); } }
.btn-sm { padding: 12px 18px; font-size: 0.9375rem; }
.btn:active { transform: scale(0.98); }

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 30; }
.nav::before { content: ""; position: absolute; inset: 0; background: rgba(8, 9, 12, 0.94); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--line); pointer-events: none; }
.nav-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--nav-h); padding: 0 var(--gutter); max-width: 1320px; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 36px; height: 36px; }
.brand-name { font-weight: 500; font-size: 1rem; white-space: nowrap; }
.menu-list { display: flex; align-items: center; gap: 4px; }
.has-sub { position: relative; }
.menu-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 999px; background: none; border: 0; cursor: pointer; font-size: 0.9375rem; color: var(--ink-2); white-space: nowrap; transition: color 200ms var(--ease), background-color 200ms var(--ease); }
.menu-link svg { transition: transform 250ms var(--ease-out); color: var(--ink-3); }
@media (hover: hover) { .menu-link:hover { color: var(--ink); background: var(--surface); } }
.has-sub.is-open .menu-link { color: var(--ink); background: var(--surface); }
.has-sub.is-open .menu-link svg { transform: rotate(180deg); color: var(--gold); }
.submenu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; padding: 8px; display: grid; background: #111318; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  opacity: 0; transform: translateY(-4px) scale(0.97); transform-origin: top left; pointer-events: none; visibility: hidden; transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out), visibility 0s linear 150ms; }
.submenu::before { content: ""; position: absolute; top: 0; left: 18px; right: 18px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-line), transparent); }
.has-sub.is-open .submenu { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out), visibility 0s; }
.submenu a { padding: 11px 14px; border-radius: 10px; color: var(--ink-2); font-size: 0.9375rem; transition: background-color 150ms var(--ease), color 150ms var(--ease); }
@media (hover: hover) { .submenu a:hover { background: #1a1d23; color: var(--ink); } }
.nav-end { display: flex; align-items: center; gap: 14px; flex: none; }
.lang { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 0.8125rem; color: var(--ink-3); }
.lang-on { color: var(--gold); }
.lang a { padding: 6px 2px; transition: color 200ms var(--ease); }
@media (hover: hover) { .lang a:hover { color: var(--ink); } }
.lang-sep { color: var(--line-2); }
.menu-toggle { display: none; width: 44px; height: 44px; place-items: center; border-radius: 999px; border: 0; background: none; box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
.mnav { position: relative; max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain; border-bottom: 1px solid var(--line); background: rgba(8, 9, 12, 0.98); }
.mnav[hidden] { display: none; }
.mnav-in { display: grid; gap: 4px; padding: 12px var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px)); animation: drop 250ms var(--ease-out); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mnav-top { padding: 14px 0; font-size: 1.125rem; border-bottom: 1px solid var(--line); }
.mnav-group { display: grid; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mnav-group p { font-size: 0.8125rem; color: var(--gold); padding-bottom: 4px; }
.mnav-group a { padding: 10px 0; color: var(--ink-2); font-size: 1.0625rem; }
.mnav-lang { display: flex; gap: 20px; padding-top: 16px; font-size: 0.9375rem; color: var(--ink-3); }

/* hero: el lanzamiento como pieza tipográfica */
.hero { position: relative; min-height: min(100svh, 1040px); display: grid; align-items: center; padding: calc(var(--nav-h) + 32px) 0 clamp(56px, 8vw, 96px); text-align: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: auto 0 -30% 0; height: 80%; background: radial-gradient(60% 55% at 50% 100%, rgba(210, 162, 76, 0.14), transparent 70%); pointer-events: none; }
.hero-in { position: relative; display: grid; justify-items: center; gap: 22px; }
.hero-emblem { width: clamp(120px, 12vw, 168px); height: auto; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 30px rgba(210, 162, 76, 0.18)); }
.eyebrow { font-size: 0.9375rem; color: var(--ink-3); }
.eyebrow.gold { color: var(--gold); letter-spacing: 0.02em; }
.display { font-size: clamp(3.2rem, 1rem + 9.4vw, 9.5rem); font-weight: 500; line-height: 0.92; letter-spacing: -0.025em; text-transform: uppercase; text-wrap: balance; }
.display .gold-text { display: inline-block; padding-bottom: 0.04em; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.35)); }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(100%, 640px); margin-top: 8px; border-top: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line); }
.cd-unit { display: grid; gap: 4px; padding: 18px 8px; }
.cd-unit + .cd-unit { border-left: 1px solid var(--line); }
.cd-num { font-family: var(--mono); font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); line-height: 1.1; min-height: 1.1em; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; display: inline-flex; justify-content: center; }
.cd-num .d { display: inline-block; }
.cd-num .d.pop { animation: pop 380ms var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: translateY(-0.35em); filter: blur(2px); } to { opacity: 1; transform: none; filter: none; } }
.cd-label { font-size: 0.8125rem; color: var(--ink-3); }
.hero .lead { max-width: 42ch; }
.hero-note { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); font-size: 0.9375rem; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 5px; }
.doc .doc-kicker { margin-bottom: 12px; }
.doc .doc-sign { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 4px; }
.hero-cta.start { justify-content: flex-start; }
.hero-tally, .apply-tally { display: inline-flex; align-items: baseline; gap: 10px; color: var(--ink-2); font-size: 0.9375rem; }
.tally-num { font-family: var(--mono); font-size: 1.25rem; color: var(--gold-hi); --reel-cell: 1.2em; }
.tally-alt { color: var(--ink-2); }
.t-reel { display: inline-flex; align-items: center; height: var(--reel-cell, 1.2em); }
.t-reel-col { position: relative; height: var(--reel-cell, 1.2em); overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%); }
.t-reel-strip { display: flex; flex-direction: column; will-change: transform, filter; }
.t-reel-digit { height: var(--reel-cell, 1.2em); display: flex; align-items: center; justify-content: center; }

/* secciones */
.section { padding: clamp(80px, 11vw, 144px) 0 0; }
.cols2, .cols3 { display: grid; gap: 40px 32px; margin-top: 48px; }
.cols2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.col { position: relative; border-top: 1px solid var(--line); padding-top: 22px; display: grid; gap: 12px; align-content: start; }
.col::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 1px; background: var(--gold); }
.col .muted { max-width: 38ch; }

/* quiénes somos: texto a la izquierda, globo a la derecha */
.about-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-copy { display: grid; gap: 20px; align-content: center; }
.about-copy .h2 { max-width: 18ch; font-size: clamp(1.9rem, 1rem + 2.2vw, 2.9rem); }
.about-copy .lead { max-width: 48ch; }
.about-copy .muted { max-width: 54ch; }
.creed { margin-top: 8px; padding: 18px 0 0; border-top: 1px solid var(--gold-line); color: var(--gold-hi); font-size: var(--lead); line-height: 1.45; max-width: 46ch; text-wrap: pretty; }
.globe-stage { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; margin: 0 auto; }
.globe { position: absolute; inset: 0; }
.globe canvas { display: block; width: 100% !important; height: 100% !important; }

/* qué hacemos */
.h2.statement { text-transform: none; letter-spacing: -0.014em; line-height: 1.1; font-size: clamp(1.7rem, 0.9rem + 2.4vw, 3rem); max-width: 26ch; }
.what-cols .muted { font-size: var(--lead); line-height: 1.5; max-width: 52ch; }

/* cómo trabajamos */
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; margin-top: 48px; }
.steps4 li { position: relative; display: grid; gap: 12px; align-content: start; padding-top: 22px; border-top: 1px solid var(--line); }
.steps4 li::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, var(--gold), transparent 70%); }
.step-num { font-family: var(--mono); font-size: 0.875rem; color: var(--gold-hi); display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gold-line); background: radial-gradient(circle at 30% 25%, rgba(241, 213, 149, 0.16), transparent 70%); }

/* sectores */
.list2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin-top: 40px; }
.list2 li { border-top: 1px solid var(--line); padding: 20px 0 24px; display: grid; gap: 8px; }
.list2 .muted { max-width: 46ch; }
.sub-h2 { margin-top: clamp(64px, 9vw, 112px); }

/* pilar ancho con las tres modalidades */
.pillar-wide { margin-top: 40px; padding: clamp(24px, 3vw, 36px); border-radius: 20px; border: 1px solid var(--gold-line); background: linear-gradient(180deg, rgba(210, 162, 76, 0.07), rgba(210, 162, 76, 0.01) 60%); }
.pillar-wide-head { display: grid; gap: 8px; max-width: 60ch; }
.pillar-wide-head .h3 { color: var(--gold-hi); }
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.modes li { display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 1px solid var(--line-2); }
.modes h4 { font-size: 1.0625rem; font-weight: 500; line-height: 1.3; }
.pillar-wide .fineprint { margin-top: 24px; }

/* ecosistema */
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.badge { display: inline-flex; align-items: center; gap: 6px; width: max-content; padding: 4px 10px; border-radius: 999px; font-size: 0.75rem; color: var(--gold-hi); border: 1px solid var(--gold-line); background: rgba(210, 162, 76, 0.08); }
.badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.badge-soft { color: var(--ink-3); border-color: var(--line-2); background: transparent; }
.badge-soft::before { background: var(--ink-3); }
.eco-h { margin-top: 56px; font-size: 0.9375rem; font-weight: 500; color: var(--gold); }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 16px; }
.person { display: grid; grid-template-columns: clamp(140px, 14vw, 200px) minmax(0, 1fr); gap: 24px; align-items: end; padding: 24px 0; border-top: 1px solid var(--line); }
.person-photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; box-shadow: 0 0 0 1px var(--gold-line), 0 18px 40px rgba(0, 0, 0, 0.45); background: var(--surface); }
.person-body { display: grid; gap: 6px; justify-items: start; }
.person-name { display: flex; align-items: center; gap: 12px; margin-top: 6px; font-size: clamp(1.35rem, 1rem + 1vw, 1.85rem); font-weight: 500; letter-spacing: -0.012em; line-height: 1.1; }
.person-seal { width: 44px; height: 44px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 8px 20px rgba(0, 0, 0, 0.45); }
.person-role { color: var(--ink-2); }
.person-org { font-size: 0.875rem; color: var(--gold); }
.person-body .muted { margin-top: 4px; max-width: 46ch; font-size: 0.9375rem; }
.partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 16px; }
.partner { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 24px; align-items: center; padding: 24px 0; border-top: 1px solid var(--line); }
.partner > div { display: grid; gap: 6px; justify-items: start; }
.partner-logo { width: 112px; height: 112px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 14px 32px rgba(0, 0, 0, 0.5); }
.partner-logo.tile { border-radius: 20px; background: #fff; }
.partner-logo.round { border-radius: 50%; }
.partner .muted { font-size: 0.9375rem; max-width: 46ch; }
.eco-areas { margin-top: 40px; }
.eco-areas .col { gap: 10px; }

/* franja dorada */
.band { margin-top: clamp(80px, 11vw, 144px); padding: clamp(56px, 8vw, 96px) 0; position: relative; overflow: hidden; border-top: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line);
  background: radial-gradient(70% 120% at 50% 0%, rgba(210, 162, 76, 0.16), transparent 70%), linear-gradient(180deg, #0d0c09, #08090c); }
.band-in { display: grid; justify-items: center; text-align: center; gap: 18px; }
.band-seal { width: 64px; height: 64px; filter: drop-shadow(0 8px 24px rgba(210, 162, 76, 0.25)); }
.band-title { font-size: clamp(2rem, 1.1rem + 3.2vw, 3.75rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.018em; padding-bottom: 0.06em; }
.band p { max-width: 60ch; color: var(--ink-2); font-size: var(--lead); line-height: 1.5; text-wrap: pretty; }

/* preguntas frecuentes (acordeón) */
.faq { margin-top: 40px; border-bottom: 1px solid var(--line); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item h3 { font-size: inherit; font-weight: inherit; }
.faq-item button { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem); font-weight: 500; color: var(--ink); }
.faq-item button:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 4px; border-radius: 6px; }
.faq-item button svg { flex: none; color: var(--gold); transition: transform 350ms var(--ease-out); }
.faq-item button[aria-expanded="true"] svg { transform: rotate(45deg); }
@media (hover: hover) { .faq-item button:hover { color: var(--gold-hi); } }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 400ms var(--ease-out); }
.faq-a > div { min-height: 0; overflow: hidden; }
.faq-a p { padding: 0 0 24px; color: var(--ink-3); max-width: 64ch; opacity: 0; transform: translateY(-4px); transition: opacity 250ms var(--ease-out), transform 300ms var(--ease-out); }
.faq-a a { color: var(--gold-hi); border-bottom: 1px solid var(--gold-line); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-item.is-open .faq-a p { opacity: 1; transform: none; transition-delay: 80ms; }

/* postular y contacto */
.apply { padding-bottom: clamp(80px, 11vw, 144px); }
.apply-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.apply-main { display: grid; gap: 22px; justify-items: start; }
.apply-main .muted { max-width: 54ch; font-size: var(--lead); line-height: 1.5; }
.contact-card { display: grid; gap: 14px; padding: 28px; border-radius: 20px; border: 1px solid var(--gold-line); background: linear-gradient(180deg, rgba(210, 162, 76, 0.06), transparent 70%); }
.contact-card .h3 { color: var(--gold-hi); }
.contact-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink); transition: color 200ms var(--ease); overflow-wrap: anywhere; }
.contact-row svg { color: var(--gold); flex: none; }
@media (hover: hover) { .contact-row:hover { color: var(--gold-hi); } }

/* footer */
.footer { border-top: 1px solid var(--gold-line); padding: 48px 0 40px; background: linear-gradient(180deg, rgba(210, 162, 76, 0.04), transparent 40%); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.footer-brand { display: grid; gap: 10px; justify-items: start; }
.footer-brand img { width: 84px; height: auto; }
.footer-name { font-weight: 500; }
.footer-brand .tiny { max-width: 40ch; }
.footer-col { display: grid; gap: 10px; align-content: start; color: var(--ink-2); font-size: 0.9375rem; }
.footer-col a { width: max-content; max-width: 100%; transition: color 200ms var(--ease); }
@media (hover: hover) { .footer-col a:hover { color: var(--gold-hi); } }
.footer-copy { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }

/* páginas legales */
.doc { padding: calc(var(--nav-h) + clamp(40px, 7vw, 88px)) 0 clamp(72px, 10vw, 120px); }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.012em; margin-bottom: 12px; text-wrap: balance; }
.doc .doc-meta { color: var(--ink-3); font-size: 0.875rem; margin-bottom: 40px; }
.doc h2 { font-size: 1.25rem; font-weight: 500; margin: 40px 0 12px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--gold-hi); }
.doc p, .doc li { color: var(--ink-2); line-height: 1.65; max-width: 68ch; }
.doc p + p { margin-top: 12px; }
.doc ul { display: grid; gap: 8px; margin-top: 12px; }
.doc li { position: relative; padding-left: 18px; }
.doc li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.doc a { color: var(--gold-hi); border-bottom: 1px solid var(--gold-line); }
.doc .note-box { margin-top: 24px; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--gold-line); background: rgba(210, 162, 76, 0.06); color: var(--ink-2); }

/* motion: entrada del hero y un fade-up por sección */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-in > * { opacity: 0; transform: translateY(12px); filter: blur(3px); animation: up 700ms var(--ease-out) forwards; }
  .js .hero-in > :nth-child(1) { animation-delay: 120ms; }
  .js .hero-in > :nth-child(2) { animation-delay: 220ms; }
  .js .hero-in > :nth-child(3) { animation-delay: 300ms; }
  .js .hero-in > :nth-child(4) { animation-delay: 400ms; }
  .js .hero-in > :nth-child(5) { animation-delay: 480ms; }
  .js .hero-in > :nth-child(6) { animation-delay: 560ms; }
  .js .hero-in > :nth-child(7) { animation-delay: 640ms; }
  .js .nav-in { opacity: 0; animation: fade 600ms var(--ease-out) 150ms forwards; }
  .js .globe { opacity: 0; transition: opacity 900ms var(--ease-out); }
  .js .globe.is-ready { opacity: 1; }
  .js [data-rv] { opacity: 0; transform: translateY(12px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
  .js [data-rv].in { opacity: 1; transform: none; }
}
@keyframes up { to { opacity: 1; transform: none; filter: none; } }
@keyframes fade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* responsive */
@media (max-width: 1180px) {
  .menu { display: none; }
  .menu-toggle { display: inline-grid; }
}
@media (max-width: 900px) {
  .about-in { grid-template-columns: 1fr; }
  .about-copy .h2 { max-width: 20ch; }
  .globe-stage { max-width: 460px; }
  .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modes { grid-template-columns: 1fr; }
  .people, .partners { grid-template-columns: 1fr; }
  .apply-in { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .brand-name { display: none; }
  .nav-end { gap: 10px; }
  .nav-end .lang { display: none; }
  .hero { min-height: 0; padding-top: calc(var(--nav-h) + 32px); }
  .hero-in { gap: 18px; }
  .cd-unit { padding: 14px 4px; }
  .hero-cta { width: 100%; flex-direction: column; align-items: center; }
  .hero-cta.start { align-items: stretch; }
  .cols2, .cols3, .steps4 { grid-template-columns: 1fr; gap: 28px; }
  .list2 { grid-template-columns: 1fr; }
  .person { grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: start; }
  .person-name { font-size: 1.3rem; }
  .person-seal { width: 36px; height: 36px; }
  .partner { grid-template-columns: 80px minmax(0, 1fr); gap: 18px; align-items: start; }
  .partner-logo { width: 80px; height: 80px; }
  .partner-logo.tile { border-radius: 16px; }
  .apply-main { justify-items: stretch; }
  .btn { width: 100%; max-width: 380px; }
  .btn-sm { width: auto; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* encabezado simple (formulario y páginas legales) */
.nav-back { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 0.9375rem; transition: color 200ms var(--ease); }
@media (hover: hover) { .nav-back:hover { color: var(--gold-hi); } }
.nav-simple .nav-end .lang { display: inline-flex; }
@media (max-width: 640px) { .nav-back span { display: none; } .nav-back { width: 44px; height: 44px; justify-content: center; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); } }
.doc ul + p { margin-top: 16px; }
.hero-logo { width: clamp(190px, 19vw, 280px); height: auto; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 34px rgba(210, 162, 76, 0.16)); }
.hero .display { font-size: clamp(3rem, 1rem + 7.6vw, 8rem); }
@media (max-width: 640px) { .hero-logo { width: 190px; } }

/* ============================================================
   v3 (22/10/26): menos oro, grilla de tarjetas estilo Apple,
   tags de vidrio de la casa y un solo sistema de espaciado.
   El oro queda en el logo, «Diciembre 2026» y el botón principal.
   ============================================================ */
:root {
  --card: #111317;
  --card-2: #15181d;
  --card-line: rgba(255, 255, 255, 0.07);
  --card-r: clamp(20px, 2vw, 28px);
  --card-pad: clamp(22px, 2.6vw, 34px);
  --grid-gap: clamp(12px, 1.4vw, 18px);
  --head-gap: clamp(32px, 4vw, 48px);
}

/* encabezado de sección: número y nombre, sin pastilla ni filete */
.kicker { color: var(--ink-3); gap: 10px; margin-bottom: 16px; font-size: 0.9375rem; }
.kicker::after { display: none; }
.kicker .num { padding: 0; border: 0; border-radius: 0; color: var(--ink-3); font-size: 0.875rem; }
.section .h2 + .cols2, .section .h2 + .cols3, .section .h2 + .steps4, .section .h2 + .list2, .section .h2 + .faq { margin-top: var(--head-gap); }
.fineprint { border-left-color: var(--line-2); }

/* tarjeta base */
.card, .steps4 li, .cols3 > .col, .list2 li, .eco-areas > .col, .people > .person, .partners > .partner, .contact-card, .pillar-wide {
  position: relative; background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--card-line); border-radius: var(--card-r); padding: var(--card-pad);
}
.col::before, .steps4 li::before { display: none; }
.col, .steps4 li, .list2 li { border-top: 1px solid var(--card-line); }

/* cómo trabajamos: cuatro tarjetas iguales */
.steps4 { gap: var(--grid-gap); margin-top: var(--head-gap); }
.steps4 li { gap: 14px; align-content: start; min-height: 260px; }
.steps4 .h3 { margin-top: auto; }
.step-num { width: auto; height: auto; border: 0; border-radius: 0; background: none; place-items: start; color: var(--ink-3); font-size: 0.875rem; }
.steps4 li { display: grid; grid-template-rows: auto 1fr auto auto; }

/* regiones y pilares: tres tarjetas */
.cols3 { gap: var(--grid-gap); }
.cols3 > .col { gap: 12px; min-height: 220px; align-content: end; }
.cols3 > .col .h3 .gold { color: var(--ink-3); }

/* sectores: grilla bento de 3 columnas */
.list2 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--grid-gap); margin-top: var(--head-gap); }
.list2 li { display: grid; align-content: end; gap: 10px; min-height: 190px; }
.list2 li:nth-child(4), .list2 li:nth-child(7) { grid-column: span 2; }
.list2 .muted { max-width: 52ch; }
.sub-h2 { margin-top: clamp(80px, 9vw, 120px); }

/* financiación: tarjeta ancha con tres mosaicos adentro */
.pillar-wide { margin-top: var(--grid-gap); border-color: var(--card-line); background: linear-gradient(180deg, var(--card-2), var(--card)); }
.pillar-wide-head .h3 { color: var(--ink); }
.modes { gap: var(--grid-gap); margin-top: 24px; }
.modes li { padding: 22px; border: 1px solid var(--card-line); border-radius: calc(var(--card-r) - 8px); background: rgba(255, 255, 255, 0.025); }
.modes .step-num { color: var(--ink-3); }

/* tags de vidrio (los de la casa) */
.tag { position: relative; isolation: isolate; display: inline-flex; align-items: center; width: max-content; height: 28px; padding: 0 12px; border-radius: 14px;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1; color: var(--ink);
  background: linear-gradient(135deg, rgba(244, 239, 230, 0.12), rgba(244, 239, 230, 0.04)); border: 1px solid rgba(244, 239, 230, 0.2);
  -webkit-backdrop-filter: blur(20px) saturate(165%); backdrop-filter: blur(20px) saturate(165%);
  box-shadow: inset 0 1px 0 rgba(244, 239, 230, 0.36), inset 0 -1px 0 rgba(6, 11, 18, 0.06); }
.tag::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(125deg, rgba(244, 239, 230, 0.42) 0%, transparent 34%, transparent 66%, rgba(244, 239, 230, 0.22) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.tag-soft { color: var(--ink-3); }
.legend { gap: 8px; margin-top: 20px; }

/* ecosistema: tarjetas con el texto adentro */
.eco-h { margin-top: clamp(48px, 6vw, 72px); color: var(--ink-2); font-size: 0.9375rem; }
.people, .partners { gap: var(--grid-gap); margin-top: 16px; }
.people > .person { grid-template-columns: clamp(130px, 13vw, 180px) minmax(0, 1fr); gap: clamp(18px, 2vw, 28px); align-items: stretch; border-top: 1px solid var(--card-line); }
.person-photo { height: 100%; aspect-ratio: auto; min-height: 220px; box-shadow: none; border-radius: calc(var(--card-r) - 8px); }
.person-body { align-content: start; gap: 8px; }
.person-body .tag { margin-bottom: 6px; }
.person-name { margin-top: 0; }
.person-org { color: var(--ink-3); }
.partners > .partner { align-items: start; border-top: 1px solid var(--card-line); }
.partner > div { gap: 8px; }
.partner > div .tag { margin-bottom: 6px; }
.eco-areas { gap: var(--grid-gap); margin-top: var(--grid-gap); }
.eco-areas > .col { min-height: 0; align-content: start; }
.eco-areas > .col .tag { margin-bottom: 4px; }

/* quiénes somos y qué hacemos */
.creed { color: var(--ink); border-top-color: var(--line); }
.what-cols { gap: var(--grid-gap); }
.what-cols > p { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--card-line); border-radius: var(--card-r); padding: var(--card-pad); max-width: none; }

/* franja: sin bordes dorados, solo el título en oro */
.band { border-color: var(--line); background: radial-gradient(70% 120% at 50% 0%, rgba(210, 162, 76, 0.07), transparent 70%), var(--bg); }
.band-seal { filter: none; }

/* preguntas, contacto y pie en neutro */
.faq-item button svg { color: var(--ink-3); }
@media (hover: hover) { .faq-item button:hover { color: var(--ink); } }
.faq-a a { color: var(--ink); border-bottom-color: var(--line-2); }
.contact-card { border-color: var(--card-line); }
.contact-card .h3 { color: var(--ink); }
.contact-row svg { color: var(--ink-3); }
@media (hover: hover) { .contact-row:hover { color: var(--ink); } .footer-col a:hover { color: var(--ink); } .submenu a:hover { color: var(--ink); } }
.footer { border-top-color: var(--line); background: none; }
.countdown { border-color: var(--line); }
.tally-num { color: var(--ink); }
.hero::before { background: radial-gradient(60% 55% at 50% 100%, rgba(210, 162, 76, 0.07), transparent 70%); }
.eyebrow.gold { color: var(--ink-3); letter-spacing: 0; }
.has-sub.is-open .menu-link svg { color: var(--ink); }
.submenu::before { background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.lang-on { color: var(--ink); }
:focus-visible { outline-color: var(--ink); }
.doc h2 { color: var(--ink); }
.doc li::before { background: var(--ink-3); }
.doc a { color: var(--ink); border-bottom-color: var(--line-2); }
.doc .note-box { border-color: var(--line-2); background: var(--card); }

@media (max-width: 900px) {
  .list2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .list2 li:nth-child(4), .list2 li:nth-child(7) { grid-column: auto; }
  .list2 li:nth-child(7) { grid-column: span 2; }
  .steps4 li { min-height: 220px; }
}
@media (max-width: 640px) {
  .list2 { grid-template-columns: 1fr; }
  .list2 li:nth-child(7) { grid-column: auto; }
  .list2 li, .cols3 > .col, .steps4 li { min-height: 0; }
  .people > .person { grid-template-columns: 104px minmax(0, 1fr); align-items: start; }
  .person-photo { min-height: 0; height: auto; aspect-ratio: 4 / 5; }
  .partners > .partner { grid-template-columns: 72px minmax(0, 1fr); }
  .partner-logo { width: 72px; height: 72px; }
}

/* v3: contenido de tarjetas alineado arriba, títulos a la misma altura en cada fila */
.list2 li, .cols3 > .col { align-content: start; }
.steps4 li { grid-template-rows: none; align-content: start; }
.steps4 .h3 { margin-top: 28px; }
.list2 li, .cols3 > .col, .steps4 li { min-height: 0; }
.faq { max-width: 860px; }
.tag { font-weight: 600; letter-spacing: 0.04em; font-size: 10.5px; }

/* ecosistema v4: Torino con su equipo adentro */
.org-card { margin-top: 16px; padding: var(--card-pad); border: 1px solid var(--card-line); border-radius: var(--card-r); background: linear-gradient(180deg, var(--card-2), var(--card)); }
.org-card > .partner { padding: 0; border: 0; background: none; border-radius: 0; }
.org-sub { margin: clamp(24px, 3vw, 32px) 0 12px; padding-top: clamp(20px, 2.4vw, 28px); border-top: 1px solid var(--card-line); font-size: 0.9375rem; color: var(--ink-2); }
.org-card .people { margin-top: 0; }
.org-card .people > .person { background: rgba(255, 255, 255, 0.025); border-radius: calc(var(--card-r) - 6px); }
.brand-mark { width: 38px; height: 38px; object-fit: contain; }
.footer-brand .footer-seal { width: 64px; height: 64px; }
.band-seal { width: 72px; height: 72px; }

.partner-logo.plain { background: none; box-shadow: none; border-radius: 0; object-fit: contain; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.5)); }

/* tags normales: relleno sólido suave y borde de 1 px, sin vidrio ni reflejo en el canto */
.tag { background: rgba(244, 239, 230, 0.07); border: 1px solid rgba(244, 239, 230, 0.12); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--ink-2); height: 26px; padding: 0 11px; border-radius: 13px; }
.tag::after { display: none; }
.tag-soft { background: transparent; border-color: rgba(244, 239, 230, 0.1); color: var(--ink-3); }

/* ===== Variante verde inglés (rama feat/verde): solo detalles =====
   El verde del logo aparece en pocos lugares y siempre chico: numeración,
   íconos, un filete y un resplandor apenas visible. El oro no cambia. */
:root { --green: #0a4a29; --green-mid: #0a4a29; --green-hi: #35853e; --green-line: rgba(53, 133, 62, 0.35); }
.kicker .num { color: var(--green-hi); }
.step-num, .modes .step-num { color: var(--green-hi); }
.faq-item button svg, .contact-row svg { color: var(--green-hi); }
.org-sub { color: var(--green-hi); }
.creed { border-top-color: var(--green-line); }
.band { background: var(--bg); }
.footer { border-top: 1px solid var(--green-line); }
.lang-on { color: var(--green-hi); }

.hero-brand { margin: 0; font-size: inherit; line-height: 0; }

/* accesos de la portada y páginas temáticas */
.access { padding-top: clamp(8px, 2vw, 24px); }
.access-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--grid-gap); }
.access-card { position: relative; display: grid; gap: 8px; align-content: start; min-height: 132px; padding: 22px 48px 22px 22px; border: 1px solid var(--card-line); border-radius: var(--card-r); background: linear-gradient(180deg, var(--card-2), var(--card)); transition: border-color 200ms var(--ease), transform 200ms var(--ease); }
.access-card svg { position: absolute; right: 20px; top: 24px; color: var(--ink-3); transition: transform 250ms var(--ease-out), color 200ms var(--ease); }
.access-t { font-size: 1.0625rem; font-weight: 500; color: var(--ink); }
.access-d { font-size: 0.9375rem; color: var(--ink-3); text-wrap: pretty; }
@media (hover: hover) { .access-card:hover { border-color: rgba(255, 255, 255, 0.16); } .access-card:hover svg { transform: translateX(3px); color: var(--ink); } }
.doc-topic .kicker { margin-bottom: 14px; }
.doc .doc-lead { font-size: var(--lead); color: var(--ink); line-height: 1.5; margin: 8px 0 8px; max-width: 62ch; }
.doc-cta { margin-top: 40px; }
@media (max-width: 900px) { .access-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .access-grid { grid-template-columns: 1fr; } .access-card { min-height: 0; } }
