/* ─── TOKENS ─────────────────────────────── */
:root {
  --black:   #0a0a0a;
  --dark:    #111111;
  --mid:     #1c1c1c;
  --white:   #ffffff;
  --off:     #f8f8f8;
  --cyan:    #00C8FF;
  --magenta: #FF0096;
  --pink:    #FFA5DA;
  --green:   #3ddf2e;
  --muted:   #888888;
  --border:  rgba(255,255,255,.08);
}

/* ─── RESET ──────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }

/* ─── Tipografía jerárquica ───────────────── */
h1, h2, h3,
.h-title, .tc-name, .n-logo-name,
.ev-hl, .stat-big {
  font-family: 'Outfit', sans-serif;
}
.lbl, .h-eyebrow, .ev-num, .chart-source, .ai-sub {
  font-family: 'Space Mono', monospace;
}

/* ─── KEYFRAMES ──────────────────────────── */
@keyframes pulse {
  0%, 100% { opacity: .5; transform: scale(1); }
  50%       { opacity: .15; transform: scale(1.06); }
}

/* ─── Hero entrance ─────────────────────── */
@keyframes heroUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroReveal {
  from { opacity: 0; transform: scale(.96) translateY(18px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
#hero.ready .h-eyebrow { animation: heroUp  .55s cubic-bezier(.22,1,.36,1) .05s both; }
#hero.ready .h-title   { animation: heroUp  .82s cubic-bezier(.22,1,.36,1) .2s  both; }
#hero.ready .h-sub     { animation: heroUp  .68s cubic-bezier(.22,1,.36,1) .42s both; }
#hero.ready .h-btns    { animation: heroUp  .68s cubic-bezier(.22,1,.36,1) .58s both; }
#hero.ready .h-img     { animation: heroReveal .9s cubic-bezier(.22,1,.36,1) .1s  both; }

/* ─── FADE-IN (scroll) ───────────────────── */
.fi { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fi.on { opacity: 1; transform: translateY(0); }
.fi-d1 { transition-delay: .1s; }
.fi-d2 { transition-delay: .22s; }
.fi-d3 { transition-delay: .34s; }

/* ═══════════════════════════════════════════
   NAV
═══════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  height: 128px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.n-logo {
  display: flex; align-items: center; gap: 1.5rem;
  text-decoration: none;
}
.n-logo img {
  width: 82px;
  display: block;
}
.n-logo-text {
  display: flex; flex-direction: column; line-height: 1.2;
}
.n-logo-name {
  font-size: 1.5rem; font-weight: 900;
  letter-spacing: .04em; color: var(--white);
}
.n-logo-claim {
  font-size: .58rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.38);
}
.n-center {
  display: flex; align-items: center; gap: 1.5rem;
}
.n-center a {
  font-size: .68rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.72);
  transition: color .18s;
  white-space: nowrap;
}
.n-center a:hover,
.n-center a.active { color: var(--white); }
.n-right { display: flex; align-items: center; gap: 1.25rem; }
.btn-nav {
  padding: .5rem 1.25rem;
  background: var(--magenta); color: var(--white);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  border-radius: 2px; white-space: nowrap;
  transition: opacity .18s;
}
.btn-nav:hover { opacity: .82; }

/* ═══════════════════════════════════════════
   SECTION BASE
═══════════════════════════════════════════ */
.sec { padding: 7rem 5vw; }
.sec-sm { padding: 5rem 5vw; }
.lbl {
  display: block;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: .85rem;
}
.lbl.mg { color: var(--magenta); }
.lbl.dk { color: rgba(255,255,255,.35); }
h2.t {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 900; line-height: 1.04;
  margin-bottom: 1.5rem;
}
.p {
  font-size: 1.06rem; line-height: 1.85;
  color: #444; max-width: 64ch;
}
.p.lt { color: rgba(255,255,255,.62); }
.p + .p { margin-top: 1.1rem; }

/* ═══════════════════════════════════════════
   HERO — fondo negro
═══════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; column-gap: 4vw;
  position: relative; overflow: hidden;
  padding: 9rem 5vw 6rem;
  background: var(--black);
}
.h-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 65% 55%, rgba(0,200,255,.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 15% 75%, rgba(255,0,150,.05) 0%, transparent 50%);
}
.h-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg,  transparent, transparent 47px, rgba(0,200,255,.055) 48px),
    repeating-linear-gradient(90deg, transparent, transparent 47px, rgba(0,200,255,.03)  48px);
}
.h-img {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  position: relative;
}
.h-img img {
  width: 100%; height: auto; display: block;
}
.h-content { position: relative; z-index: 2; }
.h-eyebrow {
  font-size: .65rem; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 1.5rem;
}
.h-title {
  font-size: clamp(3rem, 6.5vw, 5.8rem);
  font-weight: 900; line-height: .98;
  color: var(--white); margin-bottom: 1.5rem;
}
.h-title em { font-style: normal; color: var(--magenta); }
.h-sub {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.78; color: rgba(255,255,255,.62);
  max-width: 520px; margin-bottom: 2.5rem;
}
.h-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-p {
  padding: .85rem 2rem;
  background: var(--magenta); color: var(--white);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  border-radius: 2px; transition: opacity .18s, transform .18s;
}
.btn-p:hover { opacity: .84; transform: translateY(-1px); }
.btn-s {
  padding: .85rem 2rem;
  border: 1.5px solid rgba(0,200,255,.4); color: var(--cyan);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  border-radius: 2px; transition: all .18s;
}
.btn-s:hover { border-color: var(--cyan); background: rgba(0,200,255,.07); }

/* data overlays */
.deco { position: absolute; pointer-events: none; z-index: 2; }

/* ═══════════════════════════════════════════
   ABOUT — blanco, split
═══════════════════════════════════════════ */
#about {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 72vh;
  background: var(--white);
  padding: 5rem 5vw;
  gap: 5vw;
  align-items: center;
}
.ab-text {
  padding: 2rem 0;
  display: flex; flex-direction: column; justify-content: center;
}
.ab-text .t  { color: var(--black); }
.ab-text .p  { color: #444; }
.ab-text .p strong { color: var(--cyan); font-weight: 700; }
.ab-vis {
  position: relative; overflow: hidden; min-height: 500px;
  border-radius: 12px;
}
.ab-vis {
  background-image: url('img/about.jpg');
  background-size: cover;
  background-position: center;
}
.ab-vis::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(to left, rgba(10,10,10,.05) 0%, rgba(10,10,10,.45) 100%);
}
.ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.ph span {
  font-size: .52rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.15); text-align: center;
  border: 1px dashed rgba(0,200,255,.15); padding: 1rem 1.5rem;
  max-width: 78%; line-height: 1.9;
}

/* ═══════════════════════════════════════════
   WHY — gris muy claro
═══════════════════════════════════════════ */
#why { background: var(--off); }
.why-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6vw; align-items: center; margin-top: 2rem;
}
.why-text .p { max-width: 100%; }
.chart-wrap {
  display: flex; flex-wrap: wrap; gap: 3.5rem;
  align-items: flex-end;
  padding: 2.5rem; background: var(--white);
  border-top: 2px solid var(--black);
}
.cl-item { display: flex; align-items: center; gap: .6rem; font-size: .8rem; font-weight: 700; }
.cl-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.chart-years { display: flex; gap: 2.5rem; align-items: flex-end; }
.cy-label { font-size: 1.1rem; font-weight: 900; color: var(--black); margin-bottom: .75rem; text-align: center; }
.cy-bars { display: flex; gap: .5rem; align-items: flex-end; height: 150px; }
.bar { width: 52px; border-radius: 2px 2px 0 0; display: flex; align-items: center; justify-content: center; }
.bar span { font-size: .68rem; font-weight: 900; color: var(--white); }
.bar-e  { background: var(--cyan);    height: 30px; }
.bar-t  { background: var(--magenta); height: 120px; }
.bar-e2 { background: var(--cyan);    height: 34px; opacity: .75; }
.bar-t2 { background: var(--magenta); height: 116px; opacity: .75; }
.chart-source { font-size: .62rem; color: #aaa; font-style: italic; line-height: 1.6; padding-top: .5rem; max-width: 190px; }

/* ═══════════════════════════════════════════
   VISION — blanco
═══════════════════════════════════════════ */
#vision { background: var(--white); }
.two-c {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; margin-top: 3rem;
}
.vc {
  padding: 2.25rem 2.25rem 2.25rem 0;
  border-top: 2px solid #eee;
}
.vc.mis { border-top-color: var(--magenta); }
.vc h3 { font-size: 1.5rem; font-weight: 900; color: var(--black); margin-bottom: 1.1rem; }
.vc p { font-size: 1.05rem; line-height: 1.82; color: #444; }
.vc p + p { margin-top: 1rem; }

/* ═══════════════════════════════════════════
   QUÉ HACEMOS — gris muy claro
═══════════════════════════════════════════ */
#what { background: var(--off); }
.wh-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5vw; align-items: center; margin-top: 3rem;
}
.wh-vis {
  height: 460px; position: relative; overflow: hidden;
  border-radius: 6px;
}
.wh-vis {
  background-image: url('img/what.jpg');
  background-size: cover;
  background-position: center;
}
.wh-vis::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(to top, rgba(10,10,10,.55) 0%, rgba(10,10,10,.1) 80%);
}

/* ═══════════════════════════════════════════
   HISTORY — negro
═══════════════════════════════════════════ */
#history { background: var(--black); }
#history .t { color: var(--white); }
.ev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 3.5rem; }
.ev-num {
  font-size: .6rem; font-weight: 700;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--magenta); margin-bottom: .4rem;
}
.ev h3 { font-size: 2rem; font-weight: 900; color: var(--white); line-height: 1.1; margin-bottom: 1.5rem; }
.ev-img {
  width: 100%; height: 320px; position: relative;
  overflow: hidden; margin-bottom: 1.75rem;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
}
.ev-img::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(to top, rgba(10,10,10,.7) 0%, rgba(10,10,10,.15) 70%);
}
.ev-body { font-size: 1rem; line-height: 1.82; color: rgba(255,255,255,.62); }
.ev-body + .ev-body { margin-top: .75rem; }
.ev-quote {
  margin: 1.5rem 0; padding: 1.1rem 1.35rem;
  border-left: 3px solid var(--magenta);
  background: rgba(255,0,150,.07);
}
.ev-quote p { font-size: 1rem; font-style: italic; color: var(--pink); line-height: 1.7; }
.ev-hl {
  display: inline-block; font-size: 2.4rem; font-weight: 900;
  color: var(--white); background: var(--magenta);
  padding: .18rem .85rem; margin: 1rem 0; letter-spacing: -.02em;
}

/* ═══════════════════════════════════════════
   AITANNA — negro
═══════════════════════════════════════════ */
#aitanna { background: var(--black); --green: #5ecb5e; }
#aitanna .t { color: var(--white); }
#aitanna .lbl { color: var(--green); }
#aitanna .btn-p { background: var(--green); }
.ai-top {
  display: flex; gap: 4vw; align-items: flex-start; margin-bottom: 4rem;
}
.ai-top-text {
  flex: 1; min-width: 0;
}
.ai-top-video {
  flex: 1.2; min-width: 0; border-radius: 6px; overflow: hidden;
}
.ai-top-video video {
  width: 100%; height: auto; display: block;
}
.ai-body {
  width: 100%;
}
.ai-sub {
  font-size: .7rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--green); margin: 2rem 0 1.25rem;
}
.ai-sub:first-of-type { margin-top: 0; }
.feat-list { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.feat-list li {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 1.15rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 2px; transition: border-color .18s, background .18s;
}
.feat-list li:hover { border-color: rgba(61,223,46,.28); background: rgba(61,223,46,.04); }
.fi-ico {
  width: 32px; height: 32px; flex-shrink: 0;
  background: rgba(61,223,46,.12); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
}
.fi-ico svg { width: 15px; height: 15px; stroke: currentColor; }
.fi-txt strong { display: block; font-size: .8rem; color: var(--white); margin-bottom: .2rem; }
.fi-txt span   { font-size: .75rem; color: rgba(255,255,255,.42); line-height: 1.5; }
.ai-box {
  margin-top: 4rem; padding: 2.5rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem;
}
.ai-box h3 { font-size: 1.3rem; font-weight: 900; margin-bottom: 1rem; }
.ai-box p  { font-size: 1rem; line-height: 1.82; color: rgba(255,255,255,.62); }

/* ═══════════════════════════════════════════
   TEAM — blanco
═══════════════════════════════════════════ */
#team { background: var(--white); }
.team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; margin-top: 3rem;
  border-top: 1px solid #e8e8e8;
  border-left: 1px solid #e8e8e8;
}
.tc {
  padding: 2rem;
  border-right: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  transition: background .18s;
}
.tc:hover { background: #fafafa; }
.tc-founder-tag {
  display: inline-block;
  font-size: .55rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--magenta); border: 1px solid rgba(255,0,150,.3);
  padding: .18rem .5rem; border-radius: 2px; margin-bottom: .6rem;
}
.tc-role  { font-size: .58rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); margin-bottom: .15rem; }
.tc-title { font-size: .58rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #aaa; margin-bottom: .7rem; }
.tc-name  { font-size: 1.35rem; font-weight: 900; color: var(--black); line-height: 1.1; margin-bottom: .7rem; }
.tc-bio   { font-size: .77rem; line-height: 1.65; color: #666; margin-bottom: 1rem; }
.li-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .62rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #0077B5;
  padding: .32rem .7rem;
  border: 1.5px solid #0077B5; border-radius: 2px;
  transition: all .18s;
}
.li-btn:hover { background: #0077B5; color: var(--white); }
.li-btn svg { width: 11px; height: 11px; }
.team-sec { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid #e8e8e8; }
.team-sec h3 {
  font-size: .62rem; font-weight: 700; letter-spacing: .25em;
  text-transform: uppercase; color: var(--magenta); margin-bottom: 1.5rem;
}
.ts-grid { display: flex; flex-wrap: wrap; gap: 2.5rem; }
.ts-card .tc-name { font-size: 1rem; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 3rem 5vw;
  display: flex; flex-direction: column; gap: 1.5rem;
}

/* ═══════════════════════════════════════════
   HAMBURGER BUTTON & MOBILE NAV
═══════════════════════════════════════════ */
.n-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.n-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform .22s ease, opacity .22s ease;
}
.n-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.n-hamburger.open span:nth-child(2) { opacity: 0; }
.n-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.n-mobile {
  display: none;
  position: fixed;
  top: 128px; left: 0; right: 0; bottom: 0;
  background: var(--black);
  z-index: 299;
  flex-direction: column;
  padding: 1.5rem 6vw 3rem;
  overflow-y: auto;
  border-top: 1px solid rgba(255,255,255,.07);
}
.n-mobile.open { display: flex; }
.n-mobile a {
  padding: 1rem 0;
  font-size: .82rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color .18s;
  text-decoration: none;
}
.n-mobile a:hover { color: var(--white); }
.n-mobile .btn-nav {
  align-self: flex-start;
  border-bottom: none;
  margin-top: 1.5rem;
  padding: .7rem 1.5rem;
  color: var(--white);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 960px) {
  #about { grid-template-columns: 1fr; padding: 4rem 5vw; }
  .ab-vis { min-height: 320px; }
  #hero { grid-template-columns: 1fr; align-items: start; padding-bottom: 5rem; }
  .h-img { border-radius: 8px; margin-top: 2rem; }
  .two-c { grid-template-columns: 1fr; gap: 1.5rem; }
  .why-inner { grid-template-columns: 1fr; }
  .chart-wrap { flex-direction: column; gap: 2rem; }
  .wh-grid  { grid-template-columns: 1fr; }
  .ev-grid  { grid-template-columns: 1fr; }
  .ai-top { flex-direction: column; }
  .ai-top-video { width: 100%; }
  .ai-box   { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .n-center  { display: none; }
  .n-hamburger { display: flex; }
  .ft-copyright { text-align: left; }
  .n-logo-claim { display: none; }
}
@media (max-width: 768px) {
  .h-deco-hide { display: none; }
}
@media (max-width: 600px) {
  .sec { padding: 4.5rem 5vw; }
  .sec-sm { padding: 3.5rem 5vw; }
  .team-grid { grid-template-columns: 1fr; }
  .wh-vis { height: 300px; }
  nav { height: 80px; }
  .n-mobile { top: 80px; }
  .n-logo { gap: .6rem; }
  .n-logo img { width: 46px; }
  .n-logo-name { font-size: .95rem; }
  .sec { padding-top: calc(80px + 2rem); }
  .sec-sm { padding-top: calc(80px + 1.5rem); }
}
@media (max-width: 480px) {
  .n-right .btn-nav { display: none; }
  .bar { width: 44px; }
  .chart-years { gap: 1.5rem; }
}


/* ─── LinkedIn SVG ───────────────────────── */
.li-svg { fill: currentColor; }

/* ─── Legal pages ────────────────────────── */
.legal-hero {
  background: var(--black);
  padding: 9rem 5vw 4.5rem;
}
.legal-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 900; line-height: 1.04;
  color: var(--white);
  margin: .6rem 0 .85rem;
}
.legal-meta {
  font-size: .6rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.28);
}
.legal-body {
  background: var(--white);
  padding: 5rem 5vw 7rem;
}
.legal-content { max-width: 760px; }
.legal-s { padding-top: 2.5rem; margin-top: 2.5rem; border-top: 1px solid #eee; }
.legal-s:first-child { padding-top: 0; margin-top: 0; border-top: none; }
.legal-s > h2 {
  font-size: 1.2rem; font-weight: 900;
  color: var(--black); margin-bottom: .9rem;
  font-family: 'Outfit', sans-serif;
}
.legal-s > h3 {
  font-size: .95rem; font-weight: 700;
  color: var(--black); margin: 1.1rem 0 .55rem;
  font-family: 'Outfit', sans-serif;
}
.legal-s p {
  font-size: .97rem; line-height: 1.82; color: #444;
  margin-bottom: .65rem;
}
.legal-s p:last-child { margin-bottom: 0; }
.legal-s ul {
  list-style: none; padding: 0;
  margin: .5rem 0 .85rem;
  display: flex; flex-direction: column; gap: .4rem;
}
.legal-s ul li {
  font-size: .95rem; line-height: 1.72; color: #444;
  padding-left: 1.25rem; position: relative;
}
.legal-s ul li::before {
  content: '—'; position: absolute; left: 0;
  color: var(--cyan); font-weight: 700;
}
.legal-info {
  padding: 1.25rem 1.5rem;
  background: var(--off);
  border-left: 3px solid var(--cyan);
  margin-bottom: 1.75rem;
}
.legal-info p { margin-bottom: .3rem; font-size: .92rem; color: #444; }
.legal-info p:last-child { margin-bottom: 0; }
.legal-info strong { color: var(--black); }
.legal-table {
  width: 100%; border-collapse: collapse;
  margin: 1rem 0 .5rem; font-size: .88rem;
}
.legal-table th {
  text-align: left; padding: .65rem .85rem;
  background: var(--black); color: var(--white);
  font-weight: 700; font-size: .62rem;
  letter-spacing: .12em; text-transform: uppercase;
}
.legal-table td {
  padding: .7rem .85rem;
  border-bottom: 1px solid #eee;
  color: #444; line-height: 1.55; vertical-align: top;
}
.legal-table tr:last-child td { border-bottom: none; }
.legal-table tr:nth-child(even) td { background: #f9f9f9; }
@media (max-width: 600px) {
  .legal-table { font-size: .8rem; }
  .legal-table th, .legal-table td { padding: .5rem .6rem; }
  .legal-body { padding: 4rem 5vw 5rem; }
}

/* Footer legal links */
.ft-legal {
  display: flex; gap: 1.5rem 2rem; flex-wrap: wrap;
  align-items: flex-start;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.ft-legal > a:first-of-type { margin-left: auto; }
.ft-copyright {
  font-size: .62rem; color: rgba(255,255,255,.28);
  width: 100%; margin-top: .5rem;
  text-align: right;
}
.ft-enisa-wrap {
  display: flex; flex-direction: column; align-items: flex-start; gap: .75rem;
}
.ft-enisa {
  height: 150px; width: auto;
  opacity: .85;
  transition: opacity .18s;
}
.ft-enisa:hover { opacity: 1; }
.ft-eu-logos {
  width: 340px; height: auto;
  opacity: .75;
  transition: opacity .18s;
}
.ft-eu-logos:hover { opacity: 1; }
.ft-legal a {
  font-size: .68rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
  transition: color .18s;
}
.ft-legal a:hover { color: var(--white); }

@media (max-width: 600px) {
  .ft-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: .6rem;
  }
  .ft-legal > a:first-of-type { margin-left: 0; }
  .ft-legal a { font-size: .6rem; letter-spacing: .04em; }
  .ft-enisa-wrap {
    flex-direction: column;
    align-items: left;
    gap: .6rem;
    margin-bottom: .4rem;
  }
  .ft-enisa { height: 100px; }
  .ft-eu-logos { width: 200px; }
  .ft-copyright { text-align: left; margin-top: .25rem; }
}

/* --- Bio EN (equipo) ---- */
.tc-bio-en {
  color: #999;
  font-style: italic;
  border-top: 1px solid #f0f0f0;
  margin-top: .6rem;
  padding-top: .6rem;
}

/* ======================================
   ACCIONISTAS — Login & Portal
====================================== */
.acc-page {
  min-height: 100vh;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  padding: 5rem 5vw;
}
.acc-login {
  width: 100%; max-width: 440px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.1);
  padding: 3rem 2.5rem;
}
.acc-login-logo {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: 2.5rem;
}
.acc-login-logo img { height: 34px; }
.acc-login h2 {
  font-size: 1.4rem; font-weight: 900;
  color: var(--white); margin-bottom: .4rem;
}
.acc-login .sub {
  font-size: .72rem; color: rgba(255,255,255,.38);
  letter-spacing: .06em; margin-bottom: 2rem;
}
.acc-field { margin-bottom: 1.25rem; }
.acc-field label {
  display: block;
  font-size: .6rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.4); margin-bottom: .45rem;
}
.acc-field input {
  width: 100%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: .9rem; padding: .75rem 1rem;
  outline: none; transition: border-color .18s;
}
.acc-field input:focus { border-color: rgba(0,200,255,.5); }
.acc-error {
  font-size: .72rem; color: var(--magenta);
  margin-bottom: 1rem; min-height: 1.1em;
}
.acc-submit {
  width: 100%;
  background: var(--magenta); color: var(--white);
  border: none; cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .9rem; margin-top: .5rem;
  transition: opacity .18s;
}
.acc-submit:hover { opacity: .82; }

/* Portal */
.acc-portal { display: none; }
.acc-portal.visible { display: block; }
.acc-portal-header {
  position: sticky; top: 64px; z-index: 100;
  background: #0d0d0d;
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 1.1rem 5vw;
  display: flex; align-items: center; gap: 1rem;
}
.acc-portal-header .ph-label {
  font-size: .6rem; font-weight: 700;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--cyan);
}
.acc-portal-content {
  min-height: calc(100vh - 64px - 54px);
  background: var(--black);
  padding: 4rem 5vw;
}
.acc-portal-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900; color: var(--white); margin-bottom: .5rem;
}
.acc-portal-content .sub {
  font-size: .78rem; color: rgba(255,255,255,.38);
  letter-spacing: .06em; margin-bottom: 3rem;
}
.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.doc-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  padding: 1.5rem;
  transition: border-color .18s, background .18s;
}
.doc-card:hover { border-color: rgba(0,200,255,.28); background: rgba(0,200,255,.04); }
.doc-icon {
  width: 44px; height: 44px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: .62rem; font-weight: 900; letter-spacing: .04em;
  margin-bottom: 1rem;
}
.doc-icon.pdf  { background: rgba(220,53,69,.18); color: #dc3545; }
.doc-icon.pptx { background: rgba(255,90,31,.18);  color: #ff5a1f; }
.doc-icon.txt  { background: rgba(0,200,255,.18);  color: var(--cyan); }
.doc-icon.xlsx { background: rgba(40,167,69,.18);  color: #28a745; }
.doc-icon.docx { background: rgba(0,123,255,.18);  color: #007bff; }
.doc-name {
  font-size: .88rem; font-weight: 700;
  color: var(--white); margin-bottom: .35rem; line-height: 1.3;
}
.doc-desc {
  font-size: .72rem; color: rgba(255,255,255,.38);
  line-height: 1.5; margin-bottom: 1.25rem;
}
.doc-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.doc-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .6rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: .38rem .75rem;
  border-radius: 2px; transition: all .18s;
  text-decoration: none; cursor: pointer;
}
.doc-btn-view { color: var(--cyan); border: 1.5px solid rgba(0,200,255,.35); }
.doc-btn-view:hover { background: rgba(0,200,255,.1); border-color: var(--cyan); }
.doc-btn-dl { color: rgba(255,255,255,.5); border: 1.5px solid rgba(255,255,255,.15); }
.doc-btn-dl:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.4); color: var(--white); }
.acc-logout {
  background: none; border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.38); cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: .6rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .38rem .85rem; margin-left: auto;
  transition: all .18s;
}
.acc-logout:hover { border-color: var(--magenta); color: var(--magenta); }

@media (max-width: 600px) {
  .acc-login { padding: 2rem 1.5rem; }
  .doc-grid { grid-template-columns: 1fr; }
}
