/* ═══════════════════════════════════════════════════════════
   RUTH · PALETA DE COLORES OFICIAL - HOME-MARKETPLACE (v4.1)
   Cambios acumulados:
   - Subrayado grueso dorado en el título de la sección de beneficios
   - Sección "CÓMO FUNCIONA": número, título y párrafo CENTRADOS
     dentro de su columna (izquierda en móvil ≤560px)
═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════
   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-2-rgb: 23,25,28;
  --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;
  --f-display: 'Abril Fatface', Georgia, serif;
  --f-body: 'Brother 1816', system-ui, -apple-system, sans-serif;
  --gold-rgb: 255,237,168;

  /* Magenta para el botón principal del hero */
  --magenta: #E6007A;
  --magenta-bright: #FF2E9A;
  --magenta-rgb: 230,0,122;
}

/* ═══════════════════════════════════════
   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-2-rgb: 247,245,239;
  --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;
}

*, *::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; }

/* ═══════════════════════════════════════
   CANVAS DE FONDO DE RED / ESTRELLAS
═══════════════════════════════════════ */
#network-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Permitir que el contenido flote sobre el canvas */
main, section, footer, header {
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════
   HEADER Y NAVBAR
═══════════════════════════════════════ */
nav.main-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; position: relative; }
.nav-logo { display: block; 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; }

.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); }

/* ═══════════════════════════════════════
   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); }

/* Botón principal del hero en MAGENTA */
.btn-primary.btn-shine {
  background: var(--magenta);
  color: #FFFFFF !important;
  border-color: transparent;
}
.btn-primary.btn-shine:hover {
  background: var(--magenta-bright);
}
:root[data-theme="light"] .btn-primary.btn-shine {
  border-color: transparent;
  box-shadow: 0 10px 24px -14px rgba(var(--magenta-rgb), .6);
}

.btn-ghost {
  background: rgba(var(--text-1-rgb),.06); color: var(--text-1); padding: 15px 28px; border-radius: 12px;
  border: 1px solid var(--border-strong); font-weight: 600; font-size: 14.5px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 9px; transition: .2s; backdrop-filter: blur(6px); cursor: pointer;
}
.btn-ghost:hover { background: rgba(var(--text-1-rgb),.12); }

/* Botones de demostración en AMARILLO DORADO */
.btn-ghost.btn-demo {
  background: rgba(var(--gold-rgb), .12);
  border-color: var(--gold);
  color: var(--gold-ink);
}
.btn-ghost.btn-demo i {
  color: var(--gold-ink);
  font-size: 18px;
}
.btn-ghost.btn-demo:hover {
  background: rgba(var(--gold-rgb), .22);
  border-color: var(--gold-bright);
}
:root[data-theme="light"] .btn-ghost.btn-demo {
  border-color: var(--gold-border);
  color: var(--dark-text);
}
:root[data-theme="light"] .btn-ghost.btn-demo i {
  color: var(--gold-ink);
}

.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%; } }

/* ═══════════════════════════════════════
   HERO
   Fondo translúcido suave y SIN backdrop-filter: el canvas se ve
   detrás con claridad, solo teñido por la capa de color.
═══════════════════════════════════════ */
section { padding: 90px 0; position: relative; }

.hero-c {
  position: relative;
  padding: 30px 0 60px;
  background: rgba(var(--bg-rgb), 0.35);
}

.hero-c > .wrap {
  max-width: none;
  padding: 0 24px;
}

.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: rgba(var(--bg-2-rgb), 0.85);
  backdrop-filter: blur(8px);
}
.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%, rgba(var(--bg-2-rgb), 0.9) 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; }

/* ═══════════════════════════════════════
   CÓMO FUNCIONA (Sección 1.5)
   Fondo translúcido suave y SIN backdrop-filter: el canvas se ve
   detrás, con los bordes finos marcando el ritmo entre secciones.

   El número, el título y el párrafo van CENTRADOS dentro de su
   columna (en móvil ≤560px vuelven a la izquierda para mejor
   lectura de párrafos largos).
═══════════════════════════════════════ */
.how-it-works {
  position: relative;
  background: rgba(var(--bg-2-rgb), 0.45);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 90px 0 80px;
}

.hiw-eyebrow {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
}

.hiw-title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  color: var(--text-1);
  max-width: 780px;
  margin: 0 0 40px;
  border: none;
  text-decoration: none;
  background: none;
}

.hiw-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--text-1);
  background: none;
  border: none;
  padding: 0;
  text-decoration: none;
}

.hiw-divider {
  height: 1px;
  width: 100%;
  background: var(--border-strong);
  margin-bottom: 48px;
}

.hiw-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 32px;
}

/* Cada paso: número, título y párrafo, todo CENTRADO en su columna. */
.hiw-step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

.hiw-num {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--magenta);
  letter-spacing: .04em;
  margin-bottom: 6px;
  text-align: center;
}

.hiw-step h3 {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-1);
  margin: 0;
  text-align: center;
}

.hiw-step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
  margin: 0;
  text-align: center;
}

/* ═══════════════════════════════════════
   BENEFICIOS - TARJETAS (Sección 2)
   Fondo translúcido suave y SIN backdrop-filter: el canvas se ve
   detrás. Las tarjetas internas conservan su fondo translúcido para
   dar contraste al contenido.
═══════════════════════════════════════ */
.audience-band {
  position: relative;
  overflow: hidden;
  background: rgba(var(--bg-rgb), 0.45);
  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; }

/* Subrayado grueso dorado para el <em> del título de la sección. */
.section-head h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--text-1);
  padding-bottom: 4px;
  border-bottom: 4px solid var(--gold);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
:root[data-theme="light"] .section-head h2 em {
  color: var(--dark-text);
  border-bottom: 4px solid var(--gold);
  background: none;
  font-weight: 500;
}

.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; }

.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; background: rgba(var(--bg-2-rgb), 0.9); border: 1px solid var(--border-strong);
}
.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; }
.audience-card .card-bg-overlay { position: absolute; inset: 0; background: radial-gradient(circle, transparent 20%, rgba(var(--bg-2-rgb),0.9) 90%); }
.audience-card canvas.card-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.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-body);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--text-1);
}

.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); 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; 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; }

.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 / SUSCRIPCIÓN (Sección 3)
   Fondo translúcido suave y SIN backdrop-filter: el canvas se ve
   detrás. La tarjeta interna conserva su fondo translúcido para dar
   contraste al contenido.
═══════════════════════════════════════ */
.cta-final {
  position: relative;
  overflow: hidden;
  background: rgba(var(--bg-2-rgb), 0.45);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  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: rgba(var(--bg-3), 0.9);
  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,
.cta-v1-card strong {
  font-family: var(--f-body);
  font-weight: 700;
  color: var(--text-1);
}

.cta-v1-card h2 {
  font-size: 1.5rem;
  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-body);
  font-weight: 700;
  font-size: 1.1rem;
  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); }

/* ═══════════════════════════════════════
   BURBUJA FLOTANTE
═══════════════════════════════════════ */
.wa-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 1200;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: block;
  background-color: #FFEDA8;
  background-image: url('../../assets/img/logos/Chatbot.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 110% 110%;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow:
    0 0 0 3px rgba(255,237,168,.10),
    0 0 12px 3px rgba(255,237,168,.20),
    0 0 22px 8px rgba(255,237,168,.10),
    0 10px 22px -8px rgba(0,0,0,.55);
}

.wa-float::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255,237,168,.20) 0%,
    rgba(255,237,168,.10) 45%,
    rgba(255,237,168,0) 72%
  );
  filter: blur(7px);
  z-index: -1;
  pointer-events: none;
  animation: waPulse 3.2s ease-in-out infinite;
}

.wa-float img {
  display: none;
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 0 0 4px rgba(255,237,168,.16),
    0 0 16px 5px rgba(255,237,168,.30),
    0 0 30px 12px rgba(255,237,168,.16),
    0 14px 28px -8px rgba(0,0,0,.65);
}

@keyframes waPulse {
  0%, 100% {
    opacity: .85;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer { position: relative; overflow: hidden; background: linear-gradient(180deg, rgba(var(--bg-2-rgb), 0.9) 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 QUERIES - RESPONSIVE GLOBAL
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .wrap { padding: 0 24px; }
  .footer-top { gap: 30px; }
}

@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; }
  .section { padding: 60px 0; }
  .hero-c { padding: 20px 0 40px; }
  .hiw-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .wrap { padding: 0 16px; }

  /* Hero */
  .hero-c-frame { border-radius: 16px; padding: 40px 16px 30px; }
  .hero-title { font-size: clamp(1.8rem, 6vw, 2.6rem); }
  .hero-subtitle { font-size: 0.95rem; margin-bottom: 24px; }
  .hero-actions { gap: 12px; margin-bottom: 40px; flex-direction: column; align-items: center; }
  .hero-actions .btn-primary, .hero-actions .btn-ghost { width: 100%; justify-content: center; }

  /* Cómo funciona */
  .how-it-works { padding: 60px 0 50px; }
  .hiw-steps { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .hiw-divider { margin-bottom: 32px; }

  /* Grid 2 Columnas para Beneficios (.audience-grid) */
  .audience-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .audience-card { padding: 18px 12px; border-radius: 14px; }
  .audience-card .ac-icon { width: 40px; height: 40px; font-size: 1.2rem; margin-bottom: 12px; }
  .audience-card h3 { font-size: 1rem; margin-bottom: 14px; }

  .audience-feats {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .audience-feats li {
    padding: 10px 4px;
    gap: 6px;
    border-radius: 10px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  .audience-feats .feat-ic {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
    margin: 0 auto;
  }
  .audience-feats p strong {
    font-size: 10.5px;
    line-height: 1.2;
  }
  .audience-feats li:hover p {
    font-size: 10px;
  }
  .audience-feats li:hover p strong {
    font-size: 11px;
  }
  .audience-card:nth-child(3):last-child { grid-column: span 2; }

  /* Grid 2 Columnas para Registro (.join-cta) */
  .cta-v1-card { padding: 40px 20px; }
  .join-cta { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .join-cta-btn { padding: 16px 12px; flex-direction: column; text-align: center; justify-content: center; gap: 10px; }
  .jcb-icon { margin: 0 auto; width: 40px; height: 40px; font-size: 1.2rem; }
  .join-cta-btn strong { font-size: 0.95rem; margin-bottom: 4px; }
  .join-cta-btn span { font-size: 11px; }
  .jcb-arrow { display: none; }
  .join-cta-btn:nth-child(3):last-child { grid-column: span 2; flex-direction: row; text-align: left; }
  .join-cta-btn:nth-child(3):last-child .jcb-icon { margin: 0; }
  .join-cta-btn:nth-child(3):last-child .jcb-arrow { display: block; margin-left: auto; }

  /* Footer */
  footer { padding: 40px 0 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; padding-bottom: 24px; }
  .footer-col-brand { order: 1; }
  .footer-col-nav { order: 2; }
  .footer-col-contact { grid-column: 1; order: 3; align-items: flex-start; }
  .footer-copy { padding-top: 20px; font-size: 11px; text-align: center; }

  .wa-float { right: 18px; bottom: 18px; width: 62px; height: 62px; }
}

@media (max-width: 480px) {
  .audience-grid, .join-cta { grid-template-columns: 1fr; }
  .audience-feats { grid-template-columns: repeat(2, 1fr); }
  .join-cta-btn { flex-direction: row; text-align: left; }
  .jcb-icon { margin: 0; }
  .jcb-arrow { display: block; }
  .hiw-steps { grid-template-columns: 1fr; }
}

/* En móvil pequeño (≤560px) devolvemos la alineación a la izquierda
   para los pasos de "Cómo funciona": en pantallas estrechas los
   párrafos centrados se leen peor. */
@media (max-width: 560px) {
  .hiw-step,
  .hiw-step h3,
  .hiw-step p,
  .hiw-num {
    text-align: left;
  }
}