/* ============================================================
   My Financial Liberty — sistema de diseño del hub
   Estático, sin build. Paleta clara (limpieza/calma) con verde y celeste.
   ADN heredado de BeMo F: Plus Jakarta Sans, Lucide, radios y sombras suaves.
   ============================================================ */

:root {
  /* Superficies y texto */
  --bg: #F4FAF8;
  --surface: #FFFFFF;
  --surface-2: #EFF7F6;
  --ink: #14302B;
  --muted: #6B8B86;
  --line: #E2EEEC;

  /* Marca del hub */
  --celeste: #3F9FE8;
  --green: #2FAE7E;
  --grad-hub: linear-gradient(135deg, #3F9FE8 0%, #2FAE7E 100%);

  /* Acento del producto activo (lo reasigna js/app.js por producto) */
  --accent: #2FAE7E;
  --accent-soft: #DCF3EA;

  /* Forma y elevación */
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --shadow-card: 0 10px 30px rgba(20, 48, 43, .07);
  --shadow-pop: 0 18px 48px rgba(20, 48, 43, .14);

  --maxw: 1120px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; }

/* ---------- Decoración de fondo ---------- */
.bg-decor { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.blob-a { width: 460px; height: 460px; top: -140px; right: -120px; background: #BFE7D6; }
.blob-b { width: 520px; height: 520px; bottom: -200px; left: -160px; background: #C7E6F8; }
.blob-c { width: 360px; height: 360px; top: 40%; left: 55%; background: #E3F3EC; opacity: .35; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(18px, 4vw, 40px);
  background: rgba(244, 250, 248, .78);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-badge {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--grad-hub);
  box-shadow: 0 6px 16px rgba(47, 174, 126, .35);
}
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: -.02em; white-space: nowrap; }
.brand-name.small { font-size: 16px; }
.grad {
  background: var(--grad-hub);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Pestañas (control segmentado con thumb deslizante) */
.seg {
  position: relative;
  display: inline-flex;
  padding: 5px;
  gap: 2px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}
.seg-thumb {
  position: absolute;
  top: 5px; left: 0; bottom: 5px;
  width: 0;
  background: var(--surface);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
  transition: transform .32s var(--ease), width .32s var(--ease);
  z-index: 0;
}
.tab {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  transition: color .2s var(--ease);
  white-space: nowrap;
}
.tab em { font-weight: 800; }
.tab:hover { color: var(--ink); }
.tab.active { color: var(--ink); }

/* ---------- Intro del hub ---------- */
.hub-intro {
  text-align: center;
  padding: 30px 20px 6px;
}
.hub-intro p {
  margin: 0 auto;
  max-width: 640px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
}
.hub-intro strong { color: var(--ink); font-weight: 700; }

/* ---------- Showcase ---------- */
.showcase {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 26px clamp(18px, 4vw, 40px) 40px;
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.showcase.show { opacity: 1; }

/* Animación reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Hero (centrado, estilo Kawa) ---------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(28px, 6vw, 72px) 0 18px;
}
.hero-copy { max-width: 760px; display: flex; flex-direction: column; align-items: center; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 7px 16px 7px 13px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
  margin-bottom: 22px;
}
.kicker::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); flex: none;
}
.wordmark {
  font-size: clamp(38px, 5.6vw, 56px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 14px;
}
.wordmark em {
  background: var(--accent);
  color: #fff;
  border-radius: 14px;
  padding: 0 .18em;
  margin-left: .06em;
}
.tagline { font-size: clamp(19px, 2.4vw, 24px); font-weight: 700; color: var(--ink); max-width: 24ch; margin: 0 auto 16px; }
.purpose { font-size: clamp(15px, 2vw, 18px); color: var(--muted); max-width: 54ch; margin: 0 auto 28px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; }
/* CTA del hero: oscuro y elegante (estilo Kawa), no el relleno de acento */
.hero-actions .btn.primary {
  background: var(--ink);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--ink) 24%, transparent);
}
.hero-actions .btn.primary:hover { box-shadow: 0 16px 32px color-mix(in srgb, var(--ink) 32%, transparent); }

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-pill);
  padding: 13px 24px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.btn i { width: 18px; height: 18px; }
.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 38%, transparent);
}
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px color-mix(in srgb, var(--accent) 46%, transparent); }
.btn.primary.is-soon {
  background: var(--surface-2);
  color: var(--muted);
  box-shadow: none;
  cursor: not-allowed;
  border-color: var(--line);
}
.btn.ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-card);
}
.btn.ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow-pop); }

/* ---------- Visual del hero ---------- */
.hero-visual { display: flex; justify-content: center; width: 100%; margin-top: clamp(36px, 6vw, 64px); }

.preview-mock { position: relative; width: 100%; max-width: 500px; animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.pm-glow {
  position: absolute; inset: 8% -6% -10% -6%;
  background: radial-gradient(60% 60% at 50% 40%, color-mix(in srgb, var(--accent) 40%, transparent), transparent 70%);
  filter: blur(30px);
  z-index: 0;
}
.pm-card {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
  padding: 22px 22px 26px;
  overflow: hidden;
}
.pm-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.pm-logo { font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: var(--ink); }
.pm-logo em { background: var(--accent); color: #fff; border-radius: 8px; padding: 0 .2em; }
.pm-live { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); background: var(--accent-soft); padding: 4px 9px; border-radius: var(--radius-pill); }
.pm-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.pm-kpi { background: var(--surface-2); border-radius: 12px; padding: 12px 13px; }
.pm-kpi i { display: block; width: 22px; height: 22px; border-radius: 7px; background: var(--accent-soft); margin-bottom: 10px; }
.pm-kpi b { display: block; height: 13px; border-radius: 6px; width: 72%; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 25%, transparent)); }
.pm-kpi:nth-child(2) b { width: 52%; }
.pm-chart { display: flex; align-items: flex-end; gap: 10px; height: 92px; }
.pm-chart span {
  flex: 1; height: var(--h); border-radius: 7px 7px 0 0; transform-origin: bottom;
  background: linear-gradient(var(--accent), var(--accent-soft));
  animation: growbar 1s var(--ease) both;
}
.pm-chart span:nth-child(odd) { background: linear-gradient(color-mix(in srgb, var(--accent) 70%, #fff), var(--accent-soft)); }
.pm-chart span:nth-child(1) { animation-delay: .05s; }
.pm-chart span:nth-child(2) { animation-delay: .13s; }
.pm-chart span:nth-child(3) { animation-delay: .21s; }
.pm-chart span:nth-child(4) { animation-delay: .29s; }
.pm-chart span:nth-child(5) { animation-delay: .37s; }
@keyframes growbar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.pm-ring {
  position: absolute;
  right: 18px; bottom: 16px;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 26px color-mix(in srgb, var(--accent) 44%, transparent);
}
.pm-ring i { width: 26px; height: 26px; }

/* Marco de navegador para capturas reales */
.browser-frame, .shot {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
  width: 100%;
  max-width: 460px;
}
.browser-bar { display: flex; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.browser-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--surface-2); }
.browser-bar span:first-child { background: #FBC7C7; }
.browser-bar span:nth-child(2) { background: #FBE7C0; }
.browser-bar span:nth-child(3) { background: #C8EBD7; }
.browser-frame img, .shot img { display: block; width: 100%; height: auto; }

/* ---------- Features ---------- */
.features { padding: 46px 0 8px; }
.section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 26px;
  text-align: center;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 16px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 22px 20px;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); }
.feature-ic {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 15px;
}
.feature-ic i { width: 23px; height: 23px; }
.feature h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.feature p { font-size: 13.5px; color: var(--muted); }

/* ---------- Capturas extra ---------- */
.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  padding: 40px 0 0;
  justify-items: center;
}
.shots .shot { max-width: none; }

/* ---------- Por qué ---------- */
.why { padding: 52px 0 8px; }
.benefits {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 620px;
  display: grid;
  gap: 14px;
}
.benefits li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 500;
}
.benefits i {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 4px;
}

/* ---------- Banda CTA ---------- */
.cta-band {
  margin-top: 56px;
  text-align: center;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #14302B));
  border-radius: var(--radius-lg);
  padding: 48px 28px;
  box-shadow: var(--shadow-pop);
}
.cta-band h3 { color: #fff; font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin-bottom: 22px; }
.cta-band .btn.primary {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}
.cta-band .btn.primary:hover { transform: translateY(-2px); }
.cta-band .btn.primary.is-soon { background: rgba(255, 255, 255, .25); color: #fff; border-color: rgba(255,255,255,.4); }

/* ---------- Footer ---------- */
.site-footer {
  max-width: var(--maxw);
  margin: 36px auto 0;
  padding: 26px clamp(18px, 4vw, 40px) 40px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.foot-copy { color: var(--muted); font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .site-header {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .brand { justify-content: center; }
  .seg { align-self: center; }
  .hero { padding-top: 14px; }
  .preview-mock { max-width: 360px; }
}

@media (max-width: 480px) {
  .brand-name { font-size: 17px; }
  .tab { padding: 9px 16px; font-size: 13.5px; }
  .wordmark { font-size: 38px; }
  .feature-grid { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .showcase { transition: none; }
  .preview-mock { animation: none; }
  .pm-chart span { animation: none; }
}

/* ===========================================================
   Componentes añadidos (Parte 1.1): aviso de acceso, módulos
   detallados, highlights, roadmap, P arcoíris, tema cósmico
   (PRISMA) y footer enriquecido.
   =========================================================== */

.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin: -16px auto 26px;
  max-width: 540px;
}

/* "P" arcoíris — PRISMA descompone y reúne todas las operaciones (como un prisma)
   y abarca toda clase de emprendimientos. */
.rainbow-p {
  background: linear-gradient(135deg, #ff5f6d, #ffc371 28%, #4be3a3 52%, #3f9fe8 74%, #9b6cf0);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Aviso de acceso (p. ej. PRISMA libre y gratuito) — sin precios ni planes */
.access-badge {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 20px; padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
}
.access-badge i { width: 22px; height: 22px; color: var(--accent); flex: none; }
.access-badge strong { display: block; font-size: 14px; color: var(--ink); }
.access-badge em { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; font-style: normal; }

/* Módulos en detalle (tarjetas expandibles) */
.modules { padding: 50px 0 8px; }
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px; align-items: start;
}
.module {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow .18s var(--ease);
}
.module:hover { box-shadow: var(--shadow-pop); }
.module-head {
  width: 100%; border: 0; background: transparent; cursor: pointer;
  display: flex; align-items: center; gap: 14px;
  padding: 18px; font-family: inherit; text-align: left;
}
.module-ic {
  flex: none; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
}
.module-ic i { width: 22px; height: 22px; }
.module-tt { flex: 1 1 auto; min-width: 0; }
.module-tt strong { display: block; font-size: 15.5px; font-weight: 700; color: var(--ink); }
.module-tt em { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; font-style: normal; }
.module-chev { width: 18px; height: 18px; color: var(--muted); flex: none; transition: transform .25s var(--ease); }
.module.open .module-chev { transform: rotate(180deg); color: var(--accent); }
.module-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s var(--ease); }
.module.open .module-body { grid-template-rows: 1fr; }
.module-body-in { overflow: hidden; }
.module-body p { padding: 0 18px; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.module-body p:first-child { padding-top: 2px; }
.module-body p:last-child { padding-bottom: 18px; margin-top: 8px; }
.module .ml {
  display: inline-block; margin-right: 7px;
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: var(--accent);
}

/* Highlights — lo que lo hace diferente / problemas que resuelve */
.highlights { padding: 54px 0 8px; }
.hl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
  gap: 16px;
}
.hl {
  background: linear-gradient(180deg, var(--accent-soft), var(--surface) 78%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
}
.hl-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent); color: #fff; margin-bottom: 14px; }
.hl-ic i { width: 21px; height: 21px; }
.hl h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.hl p { font-size: 13px; color: var(--muted); }

/* Roadmap — en camino */
.roadmap {
  margin-top: 54px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 26px clamp(20px, 4vw, 34px);
}
.roadmap-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.road-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700;
  color: var(--accent); background: var(--accent-soft);
  padding: 7px 13px; border-radius: var(--radius-pill);
}
.road-pill i { width: 15px; height: 15px; }
.roadmap-head p { color: var(--muted); font-size: 14px; }
.road-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.road-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--ink); }
.road-list i { width: 17px; height: 17px; color: var(--accent); flex: none; }

/* ---- Tema cósmico (PRISMA): hero oscuro carmesí, eco de su app real ---- */
.showcase[data-theme="cosmic"] .pm-card {
  background: radial-gradient(120% 120% at 80% 0%, #2a1116, #120a10 72%);
  border-color: rgba(224, 65, 62, .28);
}
.showcase[data-theme="cosmic"] .pm-logo { color: #fff; }
.showcase[data-theme="cosmic"] .pm-kpi { background: rgba(255, 255, 255, .05); }
.showcase[data-theme="cosmic"] .pm-live { background: rgba(224, 65, 62, .2); }
.showcase[data-theme="cosmic"] .pm-glow { background: radial-gradient(60% 60% at 50% 35%, rgba(224, 65, 62, .5), transparent 70%); }
.showcase[data-theme="cosmic"] .cta-band { background: linear-gradient(135deg, var(--accent), #2a0e12); }

/* ---- Footer enriquecido ---- */
.foot-top {
  max-width: var(--maxw);
  margin: 56px auto 0;
  padding: 36px clamp(18px, 4vw, 40px) 8px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 28px;
}
.foot-col h5 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 14px; }
.foot-brand p { color: var(--muted); font-size: 13.5px; margin-top: 12px; max-width: 34ch; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col a { color: var(--ink); font-size: 14px; font-weight: 500; }
.foot-col a:hover { color: var(--celeste); }
.foot-muted { color: var(--muted); font-size: 14px; }

@media (max-width: 760px) {
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .foot-top { grid-template-columns: 1fr; text-align: center; }
  .foot-brand p { margin-left: auto; margin-right: auto; }
  .foot-col ul { justify-items: center; }
  .foot-social { justify-content: center; }
}

/* ===========================================================
   Vida y movimiento (Parte 1.2): ambiente en el fondo, mock
   con pulso, resplandor del botón de acción, planes (BeMo F)
   y redes en el footer.
   =========================================================== */

/* Fondo con deriva lenta (ambiente continuo) + parallax suave */
.bg-decor { transition: transform .35s ease-out; will-change: transform; }
@keyframes drift-a { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(26px, -22px) scale(1.06); } }
@keyframes drift-b { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-30px, 18px) scale(1.1); } }
@keyframes drift-c { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(22px, 26px) scale(1.05); } }
.blob-a { animation: drift-a 19s ease-in-out infinite; }
.blob-b { animation: drift-b 24s ease-in-out infinite; }
.blob-c { animation: drift-c 28s ease-in-out infinite; }

/* Mock del hero: pulsos sutiles para que no se vea estático */
.pm-card { transition: transform .25s ease-out; }
.pm-ring { animation: ringPulse 2.6s ease-in-out infinite; }
@keyframes ringPulse {
  0%, 100% { box-shadow: 0 12px 26px color-mix(in srgb, var(--accent) 40%, transparent); }
  50% { box-shadow: 0 12px 34px color-mix(in srgb, var(--accent) 66%, transparent); }
}
.pm-live { animation: livePulse 2s ease-in-out infinite; }
@keyframes livePulse { 0%, 100% { opacity: .65; } 50% { opacity: 1; } }
.pm-glow { animation: glowBreathe 5s ease-in-out infinite; }
@keyframes glowBreathe { 0%, 100% { opacity: .85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }

/* Botón de acción: resplandor en reposo, intenso al hover y "destello" al pulsar */
.btn.primary { position: relative; }
.btn.primary:not(.is-soon) { animation: ctaGlow 3.2s ease-in-out infinite; }
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 30%, transparent); }
  50% { box-shadow: 0 12px 30px color-mix(in srgb, var(--accent) 50%, transparent); }
}
.btn.primary:not(.is-soon):hover {
  animation: none;
  transform: translateY(-2px);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent),
              0 16px 42px color-mix(in srgb, var(--accent) 58%, transparent);
}
.btn.primary:not(.is-soon):active {
  transform: translateY(0) scale(.98);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 26%, transparent),
              0 0 52px 12px color-mix(in srgb, var(--accent) 62%, transparent);
}
/* En la banda CTA el botón es blanco sobre acento: el resplandor va en blanco */
.cta-band .btn.primary { animation: none; }
.cta-band .btn.primary:hover {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .35), 0 18px 42px rgba(0, 0, 0, .28);
}
.cta-band .btn.primary:active {
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .5), 0 0 50px 12px rgba(255, 255, 255, .55);
}

/* Planes (BeMo F) */
.plans { padding: 54px 0 8px; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(244px, 1fr)); gap: 18px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  padding: 26px 22px; transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.plan.popular {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: 0 16px 40px color-mix(in srgb, var(--accent) 22%, transparent);
}
.plan-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 700;
  padding: 5px 12px; border-radius: var(--radius-pill); white-space: nowrap;
}
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price b { font-size: 34px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan-price span { font-size: 13px; color: var(--muted); }
.plan-alt { font-size: 12.5px; color: var(--accent); font-weight: 600; margin-top: 4px; min-height: 16px; }
.plan h4 { font-size: 18px; font-weight: 800; margin: 12px 0 4px; color: var(--ink); }
.plan-desc { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.plan-feats { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.plan-feats li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--ink); }
.plan-feats i { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 1px; }
.plan-cta { margin-top: auto; justify-content: center; width: 100%; }
.redeem {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 18px; padding: 16px 20px;
  border-radius: var(--radius-md); background: var(--surface-2);
  border: 1px dashed color-mix(in srgb, var(--accent) 30%, var(--line));
}
.redeem > i { width: 24px; height: 24px; color: var(--accent); flex: none; }
.redeem-tt { flex: 1 1 auto; min-width: 180px; }
.redeem-tt strong { display: block; font-size: 14px; color: var(--ink); }
.redeem-tt span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.btn.sm { padding: 9px 16px; font-size: 13.5px; }

/* Redes y contacto en el footer */
.foot-contact .foot-line { display: block; color: var(--muted); font-size: 13.5px; margin-bottom: 8px; }
.foot-contact a { color: var(--ink); font-weight: 500; }
.foot-contact a:hover { color: var(--celeste); }
.foot-social { display: flex; gap: 10px; margin-top: 6px; }
.foot-social a, .foot-social .soc {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line);
  color: var(--ink); transition: transform .15s var(--ease), background .15s, color .15s;
}
.foot-social .soc { cursor: default; }
.foot-social a:hover { transform: translateY(-2px); background: var(--celeste); color: #fff; }
.foot-social svg { width: 18px; height: 18px; }

@media (prefers-reduced-motion: reduce) {
  .blob-a, .blob-b, .blob-c { animation: none; }
  .btn.primary, .btn.primary:not(.is-soon) { animation: none; }
  .pm-ring, .pm-live, .pm-glow { animation: none; }
  .bg-decor { transition: none; }
}
