/* ============================================================
   UCIP — Sitio renovado · Sistema visual
   ============================================================ */

:root {
  /* Brand color tokens (renewable via Tweaks) */
  --navy:      oklch(0.27 0.055 256);
  --navy-800:  oklch(0.32 0.07 255);
  --navy-700:  oklch(0.38 0.085 254);
  --azure:     oklch(0.55 0.16 252);
  --azure-600: oklch(0.50 0.16 254);
  --sea:       oklch(0.68 0.10 214);
  --accent:    oklch(0.72 0.165 58);   /* warm amber — energy / CTA */
  --accent-700:oklch(0.64 0.16 52);

  /* Neutrals — warm whites, low saturation */
  --paper:     oklch(0.985 0.004 95);
  --cloud:     oklch(0.962 0.006 250);
  --cloud-2:   oklch(0.93 0.008 250);
  --line:      oklch(0.89 0.01 250);
  --ink:       oklch(0.25 0.03 258);
  --muted:     oklch(0.50 0.02 258);

  /* Type */
  --display: "Archivo", system-ui, sans-serif;
  --body: "Public Sans", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;

  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 64px);
  --r: 14px;
  --r-lg: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

/* ---------- Typography helpers ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--azure-600);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
  display: inline-block;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); line-height: 1.5; max-width: 60ch; text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 100px;
  font-weight: 700; font-size: 0.96rem; border: none;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: oklch(0.22 0.04 60); box-shadow: 0 8px 22px -8px var(--accent); }
.btn-accent:hover { box-shadow: 0 14px 30px -10px var(--accent); }
.btn-navy { background: var(--navy); color: var(--paper); }
.btn-navy:hover { background: var(--navy-700); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--navy); background: var(--cloud); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.28); }
.btn-light:hover { background: rgba(255,255,255,.2); }
.btn .arw { transition: transform .2s ease; }
.btn:hover .arw { transform: translateX(3px); }

/* ============================================================
   TOP BAR + NAV
   ============================================================ */
.topbar {
  background: var(--navy);
  color: oklch(0.85 0.02 255);
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 42px; gap: 20px; }
.topbar .affil { display: flex; align-items: center; gap: 18px; font-family: var(--mono); letter-spacing: .04em; }
.topbar .affil span { opacity: .65; }
.topbar .util { display: flex; align-items: center; gap: 20px; }
.topbar .util a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar .util a:hover { color: #fff; }
.topbar .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

header.nav {
  position: sticky; top: 0; z-index: 60;
  background: oklch(0.985 0.004 95 / 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
header.nav.scrolled { border-color: var(--line); box-shadow: 0 8px 30px -18px oklch(0.27 0.055 256 / .5); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 76px; }

/* Real logo image — white logo, needs a dark plate to read */
.nav .logo { background: var(--navy); padding: 9px 15px; border-radius: 12px; transition: background .2s; }
.nav .logo:hover { background: var(--navy-700); }
.logo-img { height: 34px; width: auto; display: block; }
.ft .logo-pill { display: inline-flex; background: oklch(0.3 0.05 257); border: 1px solid rgba(255,255,255,.1); padding: 12px 16px; border-radius: 12px; }
.ft .logo-pill img { height: 40px; width: auto; display: block; }
.media-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Logo lockup (typographic) */
.logo { display: flex; align-items: center; gap: 12px; }
.logo .mark {
  width: 44px; height: 44px; border-radius: 11px;
  background: var(--navy);
  display: grid; place-items: center;
  position: relative; overflow: hidden;
  flex: none;
}
.logo .mark::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 55%, var(--azure) 55%, var(--azure) 64%, transparent 64%, transparent 78%, var(--accent) 78%);
  opacity: .9;
}
.logo .mark b { color: #fff; font-family: var(--display); font-weight: 900; font-size: 1.05rem; letter-spacing: -.04em; position: relative; z-index: 1; }
.logo .lk { line-height: 1; }
.logo .lk b { font-family: var(--display); font-weight: 800; font-size: 1.18rem; letter-spacing: -.03em; color: var(--navy); display: block; }
.logo .lk small { font-family: var(--mono); font-size: 0.56rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 9px 14px; border-radius: 9px; font-weight: 600; font-size: 0.93rem; color: var(--navy-800);
  position: relative; transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--cloud); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .login { font-weight: 600; font-size: .93rem; padding: 9px 6px; }

.burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--paper); flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.burger span { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: .25s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.drawer { position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); background: var(--paper); z-index: 80; transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.1,1); box-shadow: -20px 0 60px -30px var(--navy); display: flex; flex-direction: column; padding: 90px 28px 28px; gap: 4px; }
.drawer.open { transform: translateX(0); }
.drawer a { padding: 14px 12px; border-radius: 10px; font-weight: 600; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
.drawer a:hover { background: var(--cloud); }
.drawer .btn { margin-top: 18px; justify-content: center; }
.scrim { position: fixed; inset: 0; background: oklch(0.27 0.05 256 / .4); z-index: 70; opacity: 0; pointer-events: none; transition: opacity .3s; backdrop-filter: blur(2px); }
.scrim.open { opacity: 1; pointer-events: auto; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 88% -10%, oklch(0.5 0.16 252 / .55), transparent 55%),
    radial-gradient(80% 70% at -5% 110%, oklch(0.5 0.1 214 / .35), transparent 60%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero .eyebrow { color: oklch(0.82 0.09 230); }
.hero .eyebrow::before { background: var(--accent); }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); font-weight: 800; color: #fff; margin: 22px 0 0; }
.hero h1 .hl { color: oklch(0.86 0.11 75); position: relative; white-space: nowrap; }
.hero p.lead { color: oklch(0.86 0.02 250); margin: 24px 0 0; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero .since { margin-top: 40px; display: flex; align-items: center; gap: 16px; font-family: var(--mono); font-size: .82rem; color: oklch(0.78 0.03 250); letter-spacing: .04em; }
.hero .since .ln { flex: 1; height: 1px; background: rgba(255,255,255,.18); max-width: 120px; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-figure { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 40px 80px -40px #000; border: 1px solid rgba(255,255,255,.12); }
.hero-badge {
  position: absolute; left: -22px; bottom: 28px; z-index: 3;
  background: var(--paper); color: var(--ink); border-radius: 16px; padding: 18px 22px;
  box-shadow: 0 30px 60px -30px #000; display: flex; align-items: center; gap: 16px;
  max-width: 280px;
}
.hero-badge .big { font-family: var(--display); font-weight: 900; font-size: 2.1rem; color: var(--navy); letter-spacing: -.03em; line-height: 1; }
.hero-badge .lab { font-size: .82rem; color: var(--muted); line-height: 1.3; }
.hero-badge .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent); display: grid; place-items: center; flex: none; }

/* Placeholder visual (striped) */
.ph {
  position: relative; background: repeating-linear-gradient(135deg, var(--cloud), var(--cloud) 14px, var(--cloud-2) 14px, var(--cloud-2) 28px);
  display: grid; place-items: center; color: var(--muted); width: 100%; height: 100%;
}
.ph.dark { background: repeating-linear-gradient(135deg, oklch(0.3 0.05 256), oklch(0.3 0.05 256) 14px, oklch(0.33 0.06 256) 14px, oklch(0.33 0.06 256) 28px); color: oklch(0.78 0.03 250); }
.ph .tag { font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; padding: 8px 14px; border: 1px solid currentColor; border-radius: 100px; background: oklch(0.985 0.004 95 / .55); text-align: center; max-width: 80%; }
.ph.dark .tag { background: oklch(0.27 0.05 256 / .55); }

/* ticker strip under hero */
.ticker { background: oklch(0.32 0.07 255); color: oklch(0.85 0.03 250); border-top: 1px solid rgba(255,255,255,.08); overflow: hidden; }
.ticker .row { display: flex; align-items: center; gap: 0; white-space: nowrap; animation: marquee 38s linear infinite; }
.ticker .row span { padding: 14px 30px; font-family: var(--mono); font-size: .82rem; letter-spacing: .06em; display: inline-flex; align-items: center; gap: 30px; }
.ticker .row span::after { content: "◆"; color: var(--accent); font-size: .6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   SECTIONS GENERIC
   ============================================================ */
section.block { padding-block: clamp(64px, 9vw, 128px); }
.sec-head { max-width: 760px; }
.sec-head h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); margin: 16px 0 0; color: var(--navy); }
.sec-head p { margin-top: 18px; }
.center { text-align: center; margin-inline: auto; }
.center .eyebrow { justify-content: center; }

/* ---------- Sectores (3 pillars) ---------- */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.sector {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 380px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 30px;
  color: #fff; isolation: isolate; transition: transform .3s ease;
}
.sector:hover { transform: translateY(-6px); }
.sector .media-img { position: absolute; inset: 0; z-index: -2; }
.sector.solid { background: var(--navy); }
.sector.solid::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: radial-gradient(oklch(1 0 0 / .08) 1px, transparent 1px); background-size: 18px 18px; opacity: .5; }
.sector.s-ind { background: linear-gradient(150deg, var(--azure-600), oklch(0.4 0.13 256)); }
.sector.s-prod { background: linear-gradient(150deg, oklch(0.5 0.09 214), oklch(0.34 0.08 240)); }
.sector::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 28%, oklch(0.2 0.05 256 / .78)); }
.sector.solid::after { background: linear-gradient(180deg, transparent 45%, oklch(0.18 0.05 256 / .35)); }
.sector .si { position: absolute; top: 76px; left: 30px; width: 54px; height: 54px; border-radius: 14px; background: oklch(1 0 0 / .14); border: 1px solid oklch(1 0 0 / .25); display: grid; place-items: center; backdrop-filter: blur(6px); }
.sector .num { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; opacity: .8; }
.sector h3 { font-size: 1.7rem; margin: 10px 0 8px; }
.sector p { font-size: .94rem; color: oklch(0.9 0.01 250); margin: 0; }
.sector .chip { position: absolute; top: 24px; left: 24px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); padding: 6px 12px; border-radius: 100px; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(6px); }

/* ---------- Stats band ---------- */
.stats { background: var(--cloud); border-block: 1px solid var(--line); }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat { text-align: center; }
.stat .n { font-family: var(--display); font-weight: 900; font-size: clamp(2.4rem, 4.5vw, 3.6rem); color: var(--navy); letter-spacing: -.03em; line-height: 1; }
.stat .n .suf { color: var(--accent-700); }
.stat .l { margin-top: 10px; font-size: .9rem; color: var(--muted); font-weight: 500; }
.stat + .stat { border-left: 1px solid var(--line); }

/* ---------- Qué hacemos (representatividad) ---------- */
.split { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.do-list { display: grid; gap: 2px; margin-top: 38px; }
.do-item { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 22px 4px; border-top: 1px solid var(--line); align-items: start; }
.do-item:last-child { border-bottom: 1px solid var(--line); }
.do-item .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--cloud); display: grid; place-items: center; color: var(--azure-600); flex: none; transition: background .25s, color .25s; }
.do-item:hover .ico { background: var(--navy); color: #fff; }
.do-item h4 { font-size: 1.18rem; color: var(--navy); }
.do-item p { margin: 6px 0 0; font-size: .94rem; color: var(--muted); }
.do-figure { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5/6; box-shadow: 0 30px 70px -40px var(--navy); }

/* ---------- Beneficios grid ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.benefit { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; transition: border-color .25s, transform .25s, box-shadow .25s; position: relative; overflow: hidden; }
.benefit:hover { transform: translateY(-5px); border-color: transparent; box-shadow: 0 24px 50px -28px var(--navy); }
.benefit .bi { width: 50px; height: 50px; border-radius: 13px; background: var(--navy); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.benefit:nth-child(3n+2) .bi { background: var(--azure); }
.benefit:nth-child(3n) .bi { background: var(--accent); color: oklch(0.25 0.05 60); }
.benefit h4 { font-size: 1.16rem; color: var(--navy); }
.benefit p { margin: 8px 0 0; font-size: .92rem; color: var(--muted); }

/* ---------- Noticias ---------- */
.news-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { padding: 8px 16px; border-radius: 100px; border: 1.5px solid var(--line); background: transparent; font-weight: 600; font-size: .85rem; color: var(--muted); transition: .2s; }
.filters button.active, .filters button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 38px; }
.card { border-radius: var(--r-lg); overflow: hidden; background: var(--paper); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-5px); box-shadow: 0 26px 54px -30px var(--navy); }
.card .thumb { aspect-ratio: 16/10; position: relative; overflow: hidden; }
.card .cat { position: absolute; top: 14px; left: 14px; background: var(--paper); color: var(--navy); font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 11px; border-radius: 100px; font-weight: 700; z-index: 2; }
.card .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card .date { font-family: var(--mono); font-size: .74rem; color: var(--muted); letter-spacing: .04em; }
.card h4 { font-size: 1.12rem; line-height: 1.18; color: var(--navy); }
.card .more { margin-top: auto; font-weight: 700; font-size: .86rem; color: var(--azure-600); display: inline-flex; align-items: center; gap: 7px; }
.card:hover .more .arw { transform: translateX(3px); }
.news-grid .card { transition: transform .25s, box-shadow .25s, opacity .3s; }
.card.hide { display: none; }

/* ---------- Capacitaciones (events) ---------- */
.events { background: var(--navy); color: #fff; }
.events .sec-head h2 { color: #fff; }
.events .sec-head p { color: oklch(0.82 0.02 250); }
.events .eyebrow { color: oklch(0.82 0.09 230); }
.ev-list { margin-top: 48px; display: grid; gap: 0; }
.ev { display: grid; grid-template-columns: 130px 1fr auto; gap: 28px; align-items: center; padding: 26px 8px; border-top: 1px solid rgba(255,255,255,.12); transition: padding .25s, background .25s; }
.ev:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.ev:hover { background: rgba(255,255,255,.04); padding-inline: 22px; }
.ev .day { text-align: center; }
.ev .day .d { font-family: var(--display); font-weight: 900; font-size: 2.4rem; line-height: 1; color: #fff; }
.ev .day .m { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: oklch(0.82 0.09 230); margin-top: 4px; }
.ev .meta h4 { font-size: 1.3rem; color: #fff; }
.ev .meta p { margin: 6px 0 0; color: oklch(0.8 0.02 250); font-size: .92rem; display: flex; gap: 18px; flex-wrap: wrap; }
.ev .meta p span { display: inline-flex; align-items: center; gap: 7px; }
.ev .go { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); display: grid; place-items: center; transition: .25s; flex: none; }
.ev:hover .go { background: var(--accent); border-color: var(--accent); color: oklch(0.25 0.05 60); transform: rotate(-45deg); }

/* ---------- Afiliaciones ---------- */
.affil-band { padding-block: clamp(48px, 6vw, 80px); }
.affil-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.affil-card { border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px; text-align: center; transition: .25s; background: var(--paper); }
.affil-card:hover { border-color: var(--azure); box-shadow: 0 18px 40px -26px var(--navy); }
.affil-card .am { height: 52px; display: grid; place-items: center; margin-bottom: 14px; }
.affil-card .am b { font-family: var(--display); font-weight: 900; font-size: 1.7rem; color: var(--navy); letter-spacing: -.02em; }
.affil-card small { font-size: .82rem; color: var(--muted); line-height: 1.3; display: block; }

/* ---------- Asociate CTA ---------- */
.join { position: relative; overflow: hidden; }
.join .panel { background: var(--navy); border-radius: clamp(20px, 3vw, 32px); padding: clamp(40px, 6vw, 80px); position: relative; overflow: hidden; color: #fff; }
.join .panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 120% at 100% 0%, oklch(0.5 0.16 252 / .6), transparent 55%), radial-gradient(70% 90% at 0% 100%, oklch(0.55 0.14 60 / .35), transparent 55%); }
.join .inner { position: relative; display: grid; grid-template-columns: 1.2fr auto; gap: 40px; align-items: center; }
.join h2 { font-size: clamp(2rem, 4vw, 3.2rem); color: #fff; }
.join p { color: oklch(0.86 0.02 250); margin: 18px 0 0; max-width: 52ch; }
.join .actions { display: flex; flex-direction: column; gap: 14px; }
.join .actions .btn { justify-content: center; }
.join .note { font-family: var(--mono); font-size: .76rem; color: oklch(0.78 0.03 250); text-align: center; letter-spacing: .04em; }

/* ============================================================
   FOOTER
   ============================================================ */
footer.ft { background: oklch(0.22 0.045 257); color: oklch(0.8 0.02 250); padding-top: clamp(56px, 7vw, 90px); }
.ft .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1); }
.ft .logo .lk b { color: #fff; }
.ft .logo .lk small { color: oklch(0.7 0.02 250); }
.ft .blurb { margin-top: 20px; font-size: .92rem; max-width: 34ch; line-height: 1.6; }
.ft .socials { display: flex; gap: 10px; margin-top: 22px; }
.ft .socials a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,.15); display: grid; place-items: center; transition: .2s; }
.ft .socials a:hover { background: var(--accent); border-color: var(--accent); color: oklch(0.25 0.05 60); }
.ft h5 { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: oklch(0.68 0.03 250); margin: 0 0 18px; font-weight: 700; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ft ul a { font-size: .92rem; transition: color .2s; }
.ft ul a:hover { color: #fff; }
.ft .contact-row { display: flex; align-items: flex-start; gap: 12px; font-size: .9rem; line-height: 1.5; }
.ft .contact-row .ci { color: var(--azure); margin-top: 2px; flex: none; }
.ft .bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 26px; font-size: .82rem; color: oklch(0.66 0.02 250); }
.ft .bottom .links { display: flex; gap: 22px; flex-wrap: wrap; }

/* Hero compacto (agenda primero visible) */
.hero-compact .wrap { padding-top: clamp(36px, 4.5vw, 60px); padding-bottom: clamp(36px, 4.5vw, 60px); }
.hero-compact h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
.hero-compact .hero-figure { aspect-ratio: 5/4; }
.hero-compact .since { margin-top: 28px; }

/* ============================================================
   TWEAK VARIANTS
   ============================================================ */
/* Hero centered layout */
body.hero-center .hero .wrap { grid-template-columns: 1fr; max-width: 920px; text-align: center; }
body.hero-center .hero .eyebrow, body.hero-center .center .eyebrow { justify-content: center; }
body.hero-center .hero .cta-row, body.hero-center .hero .since { justify-content: center; }
body.hero-center .hero .lead { margin-inline: auto; }
body.hero-center .hero-visual { display: none; }

/* Hero light tone */
body.hero-light .hero { background: var(--cloud); color: var(--ink); }
body.hero-light .hero::before { background: radial-gradient(120% 90% at 88% -10%, oklch(0.55 0.16 252 / .12), transparent 55%); }
body.hero-light .hero h1 { color: var(--navy); }
body.hero-light .hero h1 .hl { color: var(--accent-700); }
body.hero-light .hero p.lead { color: var(--muted); }
body.hero-light .hero .eyebrow { color: var(--azure-600); }
body.hero-light .hero .since { color: var(--muted); }
body.hero-light .hero .since .ln { background: var(--line); }
body.hero-light .hero .btn-light { background: var(--navy); color: #fff; border-color: var(--navy); }
body.hero-light .hero .ph.dark { background: repeating-linear-gradient(135deg, var(--cloud-2), var(--cloud-2) 14px, var(--line) 14px, var(--line) 28px); color: var(--muted); }
body.hero-light .hero-figure { border-color: var(--line); box-shadow: 0 40px 80px -50px var(--navy); }

/* ============================================================
   Reveal animation
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-actions .btn:not(.burger), .nav-actions .login { display: none; }
  .burger { display: flex; }
  .nav-actions { margin-left: auto; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; }
  .split { grid-template-columns: 1fr; }
  .sectors, .benefits, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .affil-grid { grid-template-columns: repeat(2, 1fr); }
  .stats .grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .stat:nth-child(3) { border-left: none; }
  .join .inner { grid-template-columns: 1fr; }
  .ft .top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .topbar .affil { display: none; }
}
@media (max-width: 620px) {
  .sectors, .benefits, .news-grid, .affil-grid { grid-template-columns: 1fr; }
  .stats .grid { grid-template-columns: 1fr 1fr; }
  .ev { grid-template-columns: 64px 1fr; }
  .ev .go { display: none; }
  .ev .day .d { font-size: 1.8rem; }
  .ft .top { grid-template-columns: 1fr; }
  .topbar .util .hide-sm { display: none; }
  .hero-badge { left: 0; }
}
