/* ═══════════════════════════════════════════════════════════
   RUTH · PALETA DE COLORES OFICIAL - HOME-MARKETPLACE (v3.2)
   Modificación: hover por ítem de beneficio (no por tarjeta)
   + Fondo con imagen en tarjetas (igual que hero)
═══════════════════════════════════════════════════════════ */

@font-face { font-family:'Brother 1816'; src:url('../assets/fonts/Brother-1816-Regular.woff2') format('woff2'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Brother 1816'; src:url('../assets/fonts/Brother-1816-Medium.woff2') format('woff2'); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:'Brother 1816'; src:url('../assets/fonts/Brother-1816-Bold.woff2') format('woff2'); font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:'Abril Fatface'; src:url('../assets/fonts/AbrilFatface-Regular.ttf') format('truetype'); font-weight:400; font-style:normal; font-display:swap; }

/* ═══════════════════════════════════════
   01 · TOKENS DE PALETA OFICIAL (MODO OSCURO BY DEFAULT)
═══════════════════════════════════════ */
:root {
  --gold: #FFEDA8;
  --gold-bright: #FFF6D9;
  --gold-ink: #FFF6D9;
  --gold-border: transparent;
  --dark-text: #0C0E0F;
  --bg: #0C0E0F;
  --bg-rgb: 12,14,15;
  --bg-2: #17191C;
  --bg-3: #22262A;
  --footer-bg: #07080A;
  --text-1: #FFFFFF;
  --text-1-rgb: 255,255,255;
  --text-2: rgba(255,255,255,.80);
  --text-3: rgba(255,255,255,.56);
  --border: rgba(255,255,255,.09);
  --border-strong: rgba(255,255,255,.16);
  --cat-persona: #FF5C5C;
  --cat-persona-rgb: 255,92,92;
  --cat-abogado: #A9F5C8;
  --cat-abogado-rgb: 169,245,200;
  --cat-notaria: #CFC0FF;
  --cat-notaria-rgb: 207,192,255;
  --ig-color: #E1306C;
  --li-color: #0A66C2;
  --wa-color: #25D366;
  --f-display: 'Abril Fatface', Georgia, serif;
  --f-body: 'Brother 1816', system-ui, -apple-system, sans-serif;
  --gold-rgb: 255,237,168;
  --ambient-rgb: 255,237,168;
}

/* ═══════════════════════════════════════
   02 · TOKENS DE PALETA OFICIAL (MODO CLARO)
═══════════════════════════════════════ */
:root[data-theme="light"] {
  --gold: #FFEDA8;
  --gold-bright: #FFF6D9;
  --gold-ink: #8A6B1F;
  --gold-border: #B8860B;
  --dark-text: #0C0E0F;
  --bg: #FFFFFF;
  --bg-rgb: 255,255,255;
  --bg-2: #F7F5EF;
  --bg-3: #EFEBE1;
  --footer-bg: #EFEAE0;
  --text-1: #14171A;
  --text-1-rgb: 20,23,26;
  --text-2: rgba(20,23,26,.80);
  --text-3: rgba(20,23,26,.58);
  --border: rgba(20,23,26,.10);
  --border-strong: rgba(20,23,26,.18);
  --cat-persona: #D62F2F;
  --cat-persona-rgb: 214,47,47;
  --cat-abogado: #178C4E;
  --cat-abogado-rgb: 23,140,78;
  --cat-notaria: #6B46E8;
  --cat-notaria-rgb: 107,70,232;
  --ambient-rgb: 138,107,31;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--f-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1220px; margin: 0 auto; padding: 0 40px; }
::selection { background: var(--gold); color: var(--dark-text); }
h1,h2,h3 { font-family: var(--f-display); font-weight: 600; margin: 0; }
p { margin: 0; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: .02s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: .1s; }

/* ═══════════════════════════════════════
   TOPBAR & HEADER
═══════════════════════════════════════ */
.topbar { 
  background: var(--footer-bg); 
  border-bottom: 1px solid var(--border); 
  padding: 9px 0; 
  font-size: 12.5px; 
  color: var(--text-3); 
}
.topbar .wrap { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 20px; 
  flex-wrap: wrap; 
}
.topbar-left { 
  display: flex; 
  align-items: center; 
  gap: 22px; 
  flex-wrap: wrap; 
}
.topbar-left span { 
  display: inline-flex; 
  align-items: center; 
  gap: 7px; 
}
.topbar-left i { 
  color: var(--gold-ink); 
  font-size: 14px; 
}
.topbar-social { 
  display: flex; 
  align-items: center; 
  gap: 14px; 
}
.topbar-social a {
  width: 28px; 
  height: 28px; 
  border-radius: 50%; 
  border: 1px solid var(--border-strong);
  display: flex; 
  align-items: center; 
  justify-content: center; 
  transition: .2s; 
  color: var(--text-2);
}
.topbar-social a:hover { border-color: var(--gold-ink); background: rgba(var(--gold-rgb),.1); }
.topbar-social a.ig { border-color: rgba(225,48,108,.4); } .topbar-social a.ig i { color: #E1306C; }
.topbar-social a.ig:hover { border-color: #E1306C; background: rgba(225,48,108,.14); }
.topbar-social a.li { border-color: rgba(10,102,194,.4); } .topbar-social a.li i { color: #0A66C2; }
.topbar-social a.li:hover { border-color: #0A66C2; background: rgba(10,102,194,.14); }
.topbar-social a.wa { border-color: rgba(37,211,102,.4); } .topbar-social a.wa i { color: #25D366; }
.topbar-social a.wa:hover { border-color: #25D366; background: rgba(37,211,102,.14); }

@media (max-width:760px){ .topbar-left span:nth-child(2){ display: none; } }

header.site-header { 
  position: sticky; 
  top: 0; 
  z-index: 1000; 
  background: rgba(var(--bg-rgb),.86); 
  backdrop-filter: blur(14px); 
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border); 
}
nav.main-nav { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 24px; 
  padding: 16px 0; 
}
.nav-logo { 
  display: block; 
  height: 47px; 
  flex-shrink: 0; 
}
.nav-logo img { 
  height: 100%; 
  width: auto; 
}
.logo-light { display: none; }
:root[data-theme="light"] .logo-dark { display: none; }
:root[data-theme="light"] .logo-light { display: block; }

.nav-links { 
  display: flex; 
  align-items: center; 
  gap: 30px; 
}
.nav-links a { 
  font-size: 14px; 
  font-weight: 600; 
  color: var(--text-2); 
  text-decoration: none; 
  transition: .2s; 
}
.nav-links a:hover { 
  color: var(--text-1); 
}
.nav-right { 
  display: flex; 
  align-items: center; 
  gap: 16px; 
}
.nav-signin {
  display: inline-flex; 
  align-items: center; 
  gap: 7px; 
  font-size: 13.5px; 
  font-weight: 600; 
  color: var(--text-1);
  padding: 9px 16px 9px 10px; 
  border-radius: 100px; 
  border: 1px solid rgba(var(--gold-rgb),.35);
  background: rgba(var(--gold-rgb),.08); 
  text-decoration: none; 
  white-space: nowrap; 
  transition: .2s;
}
.nav-signin:hover { 
  border-color: var(--gold-ink); 
  background: rgba(var(--gold-rgb),.16); 
}
.nav-signin .avatar {
  width: 22px; 
  height: 22px; 
  border-radius: 50%; 
  display: flex; 
  align-items: center; 
  justify-content: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright)); 
  flex-shrink: 0;
}
.nav-signin .avatar i { 
  color: var(--dark-text); 
  font-size: 12px; 
}
:root[data-theme="light"] .nav-signin { 
  border-color: var(--gold-border); 
  background: rgba(184,134,11,.10); 
}
:root[data-theme="light"] .nav-signin:hover { 
  background: rgba(184,134,11,.16); 
}
:root[data-theme="light"] .nav-signin .avatar { 
  border: 1.5px solid var(--gold-border); 
}

.theme-toggle {
  position: relative; 
  width: 52px; 
  height: 28px; 
  border-radius: 100px; 
  border: 1px solid var(--border-strong);
  background: var(--bg-3); 
  cursor: pointer; 
  display: inline-flex; 
  align-items: center; 
  justify-content: space-between;
  padding: 0 6px; 
  flex-shrink: 0; 
  transition: .2s;
}
.theme-toggle:hover { border-color: var(--gold-ink); }
.theme-toggle i { font-size: 13px; position: relative; z-index: 1; transition: .2s; }
.theme-toggle .tt-sun { color: var(--text-3); }
.theme-toggle .tt-moon { color: var(--gold-ink); }
.theme-toggle .tt-thumb {
  position: absolute; 
  top: 2px; 
  left: 2px; 
  width: 22px; 
  height: 22px; 
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright)); 
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.theme-toggle.is-light .tt-thumb { transform: translateX(24px); }
.theme-toggle.is-light .tt-sun { color: var(--gold-ink); }
.theme-toggle.is-light .tt-moon { color: var(--text-3); }

@media (max-width:980px){ .nav-links { display: none; } }

/* ═══════════════════════════════════════
   BOTONES
═══════════════════════════════════════ */
.btn-primary {
  background: var(--gold); color: var(--dark-text); padding: 15px 28px; border-radius: 12px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 14.5px; text-decoration: none; display: inline-flex; align-items: center; gap: 9px;
  transition: .2s; cursor: pointer;
}
.btn-primary:hover { background: var(--gold-bright); transform: translateY(-2px); }
.btn-primary i { font-size: 18px; }
:root[data-theme="light"] .btn-primary { border-color: var(--gold-border); box-shadow: 0 10px 24px -14px rgba(184,134,11,.5); }

.btn-shine { position: relative; overflow: hidden; }
.btn-shine::before {
  content: ""; position: absolute; top: 0; left: -60%; width: 35%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.65), transparent);
  transform: skewX(-20deg);
}
.btn-shine:hover::before { animation: btnShine .9s ease-in-out; }
@keyframes btnShine { from { left: -60%; } to { left: 130%; } }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-row.center { justify-content: center; }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
section { padding: 90px 0; position: relative; }

/* ═══════════════════════════════════════
   HERO CENTRADO Y METRICAS (igual que home-people)
═══════════════════════════════════════ */
.hero-c { position: relative; padding: 30px 0 60px; }
.hero-c-frame {
  position: relative; border-radius: 28px; overflow: hidden; padding: 100px 30px 60px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  border: 1px solid var(--border-strong); background: var(--bg-2);
}
.hero-c-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-c-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.hero-c-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle, transparent 20%, var(--bg-2) 90%);
}
.hero-c-inner { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.hero-title {
  font-family: var(--f-display); font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 600; line-height: 1.1; margin-bottom: 20px; color: var(--text-1);
}
.hero-title em { font-style: italic; font-weight: 500; color: var(--gold); }
:root[data-theme="light"] .hero-title em {
  color: var(--text-1);
  background: linear-gradient(180deg, transparent 65%, var(--gold) 65%);
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--text-2);
  max-width: 620px; margin: 0 auto 36px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }

/* ═══════════════════════════════════════
   BENEFICIOS - CON FONDO DE IMAGEN (igual que hero)
═══════════════════════════════════════ */
.audience-band { position: relative; overflow: hidden; background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.audience-band > .wrap { position: relative; z-index: 1; }
.section-head { max-width: 640px; margin: 0 0 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.4rem,2.6vw,2rem); line-height: 1.22; margin: 0; }
.section-head h2 em { font-style: italic; color: var(--gold-ink); padding-bottom: 4px; border-bottom: 2px solid var(--gold); }
:root[data-theme="light"] .section-head h2 em {
  font-weight: 500; color: var(--dark-text); border-bottom: none;
  background: linear-gradient(180deg, transparent 62%, var(--gold) 62%);
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.section-head p { font-size: 15.5px; color: var(--text-2); margin-top: 16px; }

.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* TARJETAS CON FONDO DE IMAGEN */
.audience-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 38px 34px;
  box-shadow: 0 24px 50px -32px rgba(0,0,0,.7);
  text-align: center;
  /* Fondo por defecto (se verá si la imagen no carga) */
  background: var(--bg-3);
  border: 1px solid var(--border-strong);
}

/* Contenedor de la imagen de fondo (absoluto) */
.audience-card .card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.audience-card .card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22; /* misma opacidad que el hero */
}
.audience-card .card-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent 20%, var(--bg-2) 90%);
  /* Usamos el mismo color de fondo que el hero para que se funda */
}

/* El canvas de partículas (si lo usas) también debe estar encima del fondo */
.audience-card canvas.card-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Contenido de la tarjeta (por encima de todo) */
.audience-card > *:not(.card-bg):not(canvas.card-fx) {
  position: relative;
  z-index: 2;
}

.audience-card .ac-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px; font-size: 1.4rem;
}
.audience-card h3 {
  font-family: var(--f-display);
  font-size: 1.6rem;
  margin-bottom: 20px;
}

/* Lista de beneficios (hover por ítem) */
.audience-feats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  text-align: left;
}
.audience-feats li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(var(--bg-rgb), 0.6); /* semi-transparente para ver el fondo */
  backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  transition: background 0.2s;
}
.audience-feats li:hover {
  background: rgba(var(--bg-rgb), 0.8);
  border-color: var(--border-strong);
}
.audience-feats .feat-ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.audience-feats p {
  margin: 0;
  font-size: 0; /* oculta todo el texto por defecto */
  color: var(--text-2);
  line-height: 1.45;
  transition: font-size 0.25s ease;
}
.audience-feats p strong {
  display: block;
  font-size: 13.5px;
  color: var(--text-1);
  margin-bottom: 2px;
}
.audience-feats li:hover p {
  font-size: 12.5px;
}
.audience-feats li:hover p strong {
  font-size: 13.5px;
}

@media (max-width:860px){ .audience-grid { grid-template-columns: 1fr; } }
@media (max-width:560px){ .audience-feats { grid-template-columns: 1fr; } }

/* Colores específicos para cada tarjeta */
.audience-card.card-abogado { border-color: rgba(var(--cat-abogado-rgb),.55); }
.audience-card.card-abogado .ac-icon { background: rgba(var(--cat-abogado-rgb),.16); border: 1px solid rgba(var(--cat-abogado-rgb),.4); color: var(--cat-abogado); }
.audience-card.card-abogado h3 { color: var(--cat-abogado); }
.audience-card.card-abogado .audience-feats i { color: var(--cat-abogado); }
.audience-card.card-abogado .feat-ic { background: rgba(var(--cat-abogado-rgb),.16); }

.audience-card.card-notaria { border-color: rgba(var(--cat-notaria-rgb),.55); }
.audience-card.card-notaria .ac-icon { background: rgba(var(--cat-notaria-rgb),.2); border: 1px solid rgba(var(--cat-notaria-rgb),.5); color: var(--cat-notaria); }
.audience-card.card-notaria .feat-ic { background: rgba(var(--cat-notaria-rgb),.2); }
.audience-card.card-notaria h3 { color: var(--cat-notaria); }
.audience-card.card-notaria .audience-feats i { color: var(--cat-notaria); }

/* ═══════════════════════════════════════
   REGÍSTRATE
═══════════════════════════════════════ */
.cta-final { position: relative; overflow: hidden; background: transparent; padding: 100px 0; }
.cta-final > .wrap { position: relative; z-index: 1; }
.cta-v1-card {
  position: relative; overflow: hidden; max-width: 860px; margin: 0 auto; text-align: center;
  background: var(--bg-3); border: 1px solid var(--border-strong); border-radius: 28px; padding: 64px 48px;
  box-shadow: 0 50px 90px -45px rgba(0,0,0,.7);
}
.cta-v1-card canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.cta-v1-card > *:not(canvas) { position: relative; z-index: 1; }
.cta-v1-card h2 { font-family: var(--f-display); font-size: clamp(2rem,3.8vw,2.8rem); line-height: 1.14; margin-bottom: 18px; }
.cta-v1-card p.lead { font-size: 16px; color: var(--text-2); margin: 0 auto 34px; max-width: 520px; }

.join-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 760px; margin: 0 auto; }
.join-cta-btn {
  display: flex; align-items: center; gap: 16px; padding: 28px 24px; border-radius: 16px; text-decoration: none;
  transition: .2s; text-align: left;
}
.join-cta-btn:hover { transform: translateY(-4px); }
.jcb-icon { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.4rem; }
.join-cta-btn strong { display: block; font-family: var(--f-display); font-size: 1.1rem; font-weight: 400; margin-bottom: 5px; }
.join-cta-btn span { font-size: 12.5px; line-height: 1.5; display: block; color: var(--text-2); }
.jcb-arrow { font-size: 18px; margin-left: auto; flex-shrink: 0; transition: .2s; }
.join-cta-btn:hover .jcb-arrow { transform: translateX(4px); }

.join-cta-abogado { background: rgba(var(--cat-abogado-rgb),.14); border: 1.5px solid rgba(var(--cat-abogado-rgb),.5); }
.join-cta-abogado .jcb-icon { background: rgba(var(--cat-abogado-rgb),.22); border: 1px solid rgba(var(--cat-abogado-rgb),.5); }
.join-cta-abogado .jcb-icon i, .join-cta-abogado .jcb-arrow { color: var(--cat-abogado); }
.join-cta-abogado strong { color: var(--cat-abogado); }

.join-cta-notaria { background: rgba(var(--cat-notaria-rgb),.14); border: 1.5px solid rgba(var(--cat-notaria-rgb),.5); }
.join-cta-notaria .jcb-icon { background: rgba(var(--cat-notaria-rgb),.22); border: 1px solid rgba(var(--cat-notaria-rgb),.5); }
.join-cta-notaria .jcb-icon i, .join-cta-notaria .jcb-arrow { color: var(--cat-notaria); }
.join-cta-notaria strong { color: var(--cat-notaria); }

@media (max-width:700px){ .join-cta { grid-template-columns: 1fr; } .join-cta-btn { padding: 22px 20px; } }

/* ═══════════════════════════════════════
   WHATSAPP FLOTANTE
═══════════════════════════════════════ */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 1200; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.6); transition: .2s; font-size: 28px;
}
.wa-float:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 18px 36px -8px rgba(0,0,0,.7); }
@media (max-width:600px){ .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; font-size: 24px; } }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--bg-2) 0%, var(--footer-bg) 90px, var(--footer-bg) 100%); padding: 70px 0 28px; }
footer::before {
  content: ""; position: absolute; top: -140px; right: -120px; width: 440px; height: 440px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--gold-rgb),.09), transparent 70%); pointer-events: none;
}
.footer-top { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--border); }
.footer-logo-wrap { display: block; height: 57px; margin-bottom: 14px; }
.footer-logo-img { height: 100%; width: auto; }
.footer-desc { font-size: 13.5px; color: var(--text-3); line-height: 1.6; max-width: 280px; margin-bottom: 0; }
.footer-social-circle { display: flex; gap: 10px; margin-top: 20px; }
.footer-social-circle a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center; transition: .2s; color: var(--text-2);
}
.footer-social-circle a:hover { border-color: var(--gold-ink); background: rgba(var(--gold-rgb),.1); }
.footer-social-circle a.ig { border-color: rgba(225,48,108,.4); } .footer-social-circle a.ig i { color: #E1306C; }
.footer-social-circle a.ig:hover { border-color: #E1306C; background: rgba(225,48,108,.14); }
.footer-social-circle a.li { border-color: rgba(10,102,194,.4); } .footer-social-circle a.li i { color: #0A66C2; }
.footer-social-circle a.li:hover { border-color: #0A66C2; background: rgba(10,102,194,.14); }
.footer-social-circle a.wa { border-color: rgba(37,211,102,.4); } .footer-social-circle a.wa i { color: #25D366; }
.footer-social-circle a.wa:hover { border-color: #25D366; background: rgba(37,211,102,.14); }

.footer-col-nav { display: flex; flex-direction: column; }
.footer-title { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { display: block; font-size: 14px; color: var(--text-2); text-decoration: none; transition: .2s; }
.footer-links a:hover { color: var(--gold-ink); }

.footer-col-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
.footer-slogan { text-align: right; }
.footer-slogan span { font-size: 14px; color: var(--text-1); display: block; }
.footer-slogan em { font-family: var(--f-display); font-style: italic; font-weight: 700; font-size: 1.5rem; color: var(--text-1); line-height: 1.3; display: block; }
.footer-contact-info { display: flex; flex-direction: column; gap: 9px; align-items: flex-end; }
.footer-contact-info p { margin: 0; }
.footer-contact-info a { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); text-decoration: none; transition: .2s; }
.footer-contact-info a:hover { color: var(--gold-ink); }
.footer-contact-info i { font-size: 14px; color: var(--text-3); }

.footer-copy { position: relative; z-index: 1; padding-top: 32px; font-size: 12.5px; color: var(--text-3); text-align: left; }

@media (max-width:900px){ 
  .footer-top { grid-template-columns: 1fr 1fr; } 
  .footer-col-contact { grid-column: 1 / -1; align-items: flex-start; } 
  .footer-slogan { text-align: left; } 
  .footer-contact-info { align-items: flex-start; } 
}
@media (max-width:560px){ .footer-top { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════
   CANVAS GLOBAL DE ESTRELLAS (FONDO) - ¡CORREGIDO!
   Debe estar fijo para no ocupar espacio
═══════════════════════════════════════ */
#network-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ═══════════════════════════════════════
   MENÚ HAMBURGUESA MÓVIL
   (Copiado de home-people.css)
═══════════════════════════════════════ */
.nav-burger {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--bg-3);
  cursor: pointer;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.nav-burger span {
  position: absolute;
  left: 10px;
  width: 20px;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.nav-burger span:nth-child(1) { top: 13px; }
.nav-burger span:nth-child(2) { top: 19px; }
.nav-burger span:nth-child(3) { top: 25px; }
.nav-burger.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .3s ease, opacity .25s ease;
  border-top: 1px solid var(--border);
}
.mobile-menu.is-open {
  max-height: 420px;
  opacity: 1;
  padding: 18px 0 22px;
}
.mobile-menu a {
  padding: 12px 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.mobile-menu a:last-child,
.mobile-menu a.btn-primary {
  border-bottom: none;
}
.mobile-menu-signin {
  display: flex !important;
  align-items: center;
  gap: 8px;
}
.mobile-menu-signin .avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  flex-shrink: 0;
}
.mobile-menu-signin .avatar i {
  color: var(--dark-text);
  font-size: 12px;
}
.mobile-menu a.btn-primary {
  margin-top: 8px;
}
body.menu-open { overflow: hidden; }

@media (max-width: 768px) {
  .nav-burger { display: flex; }
  .mobile-menu { display: flex; }
  .nav-right .btn-primary { display: none; }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
}