:root {
  --magenta: #e5179b;
  --violeta: #7a2ff6;
  --azul: #2e8be6;
  --indigo: #14143c;
  --indigo-900: #0c0c28;
  --indigo-700: #1e1e54;
  --nube: #f7f7fb;
  --txt: #eceaff;
  --txt-soft: rgba(236, 234, 255, 0.62);
  --marca: linear-gradient(100deg, #e5179b 0%, #7a2ff6 52%, #2e8be6 100%);
  --maxw: 1140px;
  --r: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Manrope", system-ui, sans-serif;
  background: var(--indigo-900);
  color: var(--txt);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Sora", system-ui, sans-serif; font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.grad { background: var(--marca); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Orbes de fondo */
.orbes { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orbe { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.32; }
.orbe.m { width: 36rem; height: 36rem; background: var(--magenta); top: -10rem; left: -8rem; }
.orbe.v { width: 32rem; height: 32rem; background: var(--violeta); top: 30%; right: -10rem; }
.orbe.a { width: 30rem; height: 30rem; background: var(--azul); bottom: -12rem; left: 30%; }

/* Header */
header.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(12, 12, 40, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: "Sora", sans-serif; font-weight: 700; font-size: 19px; }
.logo .mark { width: 38px; height: 38px; border-radius: 11px; background: var(--marca); display: grid; place-items: center; font-weight: 800; box-shadow: 0 12px 36px -12px rgba(122, 47, 246, 0.7); }
.logo .sol { font-size: 10px; letter-spacing: 0.34em; color: var(--txt-soft); font-weight: 500; margin-left: 2px; }
.links { display: flex; align-items: center; gap: 30px; }
.links a.lk { font-size: 15px; font-weight: 500; color: var(--txt-soft); transition: color 0.2s; }
.links a.lk:hover { color: var(--txt); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; cursor: pointer; border: 0;
  background: var(--marca); color: #fff;
  box-shadow: 0 14px 40px -14px rgba(122, 47, 246, 0.75);
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 48px -14px rgba(122, 47, 246, 0.85); }
.btn.ghost { background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.22); box-shadow: none; }
.btn.ghost:hover { border-color: var(--magenta); background: rgba(255, 255, 255, 0.04); }
.btn.lg { padding: 16px 30px; font-size: 16px; }

/* Menú móvil con <details> */
.menu { display: none; }
@media (max-width: 860px) {
  .links { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.18); }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] .panel { display: flex; }
  .panel {
    display: none; flex-direction: column; gap: 6px; position: absolute; right: 0; top: 52px;
    background: var(--indigo-700); border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px; padding: 10px; min-width: 200px; box-shadow: 0 24px 60px -20px rgba(0,0,0,0.6);
  }
  .panel a { padding: 10px 12px; border-radius: 9px; font-weight: 500; color: var(--txt); }
  .panel a:hover { background: rgba(255,255,255,0.07); }
}

/* Hero */
.hero { padding: 92px 0 80px; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  padding: 7px 14px; border-radius: 999px; color: var(--txt);
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 24px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--magenta); }
.hero h1 { font-size: clamp(38px, 7vw, 70px); font-weight: 800; max-width: 14ch; }
.hero p.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--txt-soft); max-width: 56ch; margin: 24px 0 36px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Animación de entrada */
.reveal { opacity: 0; transform: translateY(18px); animation: up 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.d1 { animation-delay: 0.08s; } .d2 { animation-delay: 0.16s; } .d3 { animation-delay: 0.24s; } .d4 { animation-delay: 0.32s; }
@keyframes up { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; opacity: 1; transform: none; } }

/* Secciones */
section.bloque { padding: 72px 0; }
.sec-head { max-width: 60ch; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(28px, 4.5vw, 44px); }
.sec-head p { color: var(--txt-soft); margin-top: 14px; font-size: 17px; }

/* Tarjetas */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r); padding: 28px; transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(229, 23, 155, 0.5); background: rgba(255, 255, 255, 0.06); }
.card .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--marca); display: grid; place-items: center; margin-bottom: 18px; font-size: 22px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--txt-soft); font-size: 15px; }

/* Métricas */
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.metric .n { font-family: "Sora", sans-serif; font-weight: 800; font-size: clamp(32px, 5vw, 48px); }
.metric .l { color: var(--txt-soft); font-size: 15px; }

/* Banda CTA */
.cta-band {
  margin: 40px 0; border-radius: 26px; padding: 56px 40px; text-align: center;
  background: var(--marca); position: relative; overflow: hidden;
}
.cta-band h2 { font-size: clamp(26px, 4.5vw, 40px); color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin: 14px auto 28px; max-width: 50ch; }
.cta-band .btn { background: #0c0c28; box-shadow: 0 14px 40px -10px rgba(0, 0, 0, 0.5); }
.cta-band .btn:hover { background: #1e1e54; }

/* Lista de valores */
.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--txt-soft); }
.checklist .ck { flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(122, 47, 246, 0.25); color: #fff; display: grid; place-items: center; font-size: 13px; margin-top: 2px; }

/* Contacto */
.contact-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Footer */
footer.ft { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 48px 0 36px; margin-top: 40px; }
.ft-in { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start; }
.ft-links { display: flex; flex-wrap: wrap; gap: 22px; }
.ft-links a { color: var(--txt-soft); font-size: 15px; }
.ft-links a:hover { color: var(--txt); }
.ft-legal { color: rgba(236, 234, 255, 0.4); font-size: 13px; margin-top: 26px; }

/* Utilidades header derecha */
.right { display: flex; align-items: center; gap: 12px; }
.cta-head { display: inline-flex; }
@media (max-width: 860px) { .cta-head { display: none; } }

.logo-img { height: 40px; width: auto; display: block; }
.ft .logo-img { height: 32px; }
@media (max-width: 860px) { .logo-img { height: 34px; } }
