:root {
  --blue: #1e8fd6;
  --blue-700: #1672ad;
  --blue-50: #e8f3fb;
  --magenta: #e8178a;
  --purple: #5b1f6b;
  --green: #2bb673;
  --yellow: #f2b01e;
  --ink: #1d1d3b;
  --text: #2b2a35;
  --text-2: #5d5b6a;
  --muted: #8a8896;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --border: #e4e6ee;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(29, 29, 59, 0.08);
  --shadow-lg: 0 24px 60px rgba(29, 29, 59, 0.16);
  --font: 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --nav-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.small { font-size: 13px; }
.muted { color: var(--muted); }

.ic {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -0.2em;
}

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(30, 143, 214, 0.45); outline-offset: 2px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1.5px solid transparent; border-radius: 999px;
  padding: 10px 20px; font-weight: 600; font-size: 15px;
  cursor: pointer; text-decoration: none !important; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 7px 15px; font-size: 14px; }
.btn-lg { padding: 13px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--magenta); color: #fff; box-shadow: 0 8px 20px rgba(232, 23, 138, 0.28); }
.btn-primary:hover { background: #cc0f78; }
.btn-primary:disabled { opacity: .6; cursor: wait; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-outline { color: var(--blue); border-color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }

/* ---------- Navegación ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.nav.scrolled { border-bottom-color: var(--border); box-shadow: 0 4px 20px rgba(29, 29, 59, 0.05); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none !important; }
.logo { font-size: 23px; font-weight: 800; letter-spacing: -1px; color: var(--ink); line-height: 1; }
.logo em { color: var(--blue); font-style: italic; font-weight: 700; margin-left: 1px; }
.logo-light { color: #fff; }
.logo-light em { color: #8fd0ff; }
.menu { display: flex; align-items: center; gap: 26px; }
.menu a:not(.btn) { color: var(--text-2); font-weight: 500; font-size: 15px; }
.menu a:not(.btn):hover { color: var(--ink); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; font-size: 22px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 96px;
  background:
    radial-gradient(800px 420px at 85% 10%, rgba(30, 143, 214, 0.14), transparent 60%),
    radial-gradient(600px 380px at 10% 90%, rgba(232, 23, 138, 0.10), transparent 60%),
    linear-gradient(180deg, #fff, var(--bg-alt));
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 14px; font-size: 14px; font-weight: 600; color: var(--magenta);
  box-shadow: 0 2px 8px rgba(29, 29, 59, 0.05);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 0 0 rgba(232, 23, 138, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(232, 23, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 23, 138, 0); } }
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; margin: 20px 0 18px; }
.hl { background: linear-gradient(90deg, var(--blue), var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18.5px; color: var(--text-2); max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--text-2); font-size: 14.5px; }
.hero-points .ic { color: var(--green); }

/* Vista ilustrativa del live */
.hero-visual { position: relative; }
.mock {
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); overflow: hidden; transform: rotate(-1.2deg);
}
.mock-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--blue); color: #fff; }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.mock-title { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-dot { background: var(--magenta); border-radius: 999px; padding: 2px 9px; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px 16px 6px; }
.mock-kpis > div { border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; }
.mock-kpis small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.mock-kpis strong { font-size: 17px; color: var(--ink); }
.mock-kpis .up { color: var(--green); }
.bar { display: block; height: 5px; border-radius: 4px; background: var(--blue-50); margin-top: 4px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--blue); border-radius: 4px; }
.mock-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 12px 16px 18px; }
.tile {
  border-radius: 10px; padding: 8px 9px; min-height: 66px; font-size: 12px;
  display: flex; flex-direction: column; gap: 1px; border: 1.5px solid var(--border); background: #fff;
}
.tile b { font-size: 13px; color: var(--ink); display: flex; align-items: center; gap: 4px; }
.tile span { color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile em { font-style: normal; font-weight: 700; }
.tile.sold { background: var(--c); border-color: var(--c); }
.tile.sold b, .tile.sold span, .tile.sold em { color: #fff; }
.tile.sold .new { background: rgba(255, 255, 255, .25); border-radius: 50%; padding: 1px; }
.tile.free span { color: var(--muted); }
.tile.locked { background: #f1f1f4; border-style: dashed; }
.tile.locked b, .tile.locked span { color: var(--muted); }
.tile.editing { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-50); }
.tile.editing span { color: var(--blue); font-weight: 600; }

.float-card {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); padding: 12px 14px; display: flex; gap: 10px; font-size: 13px;
  animation: float 6s ease-in-out infinite;
}
.float-card.wa { left: -34px; bottom: -42px; max-width: 280px; }
.float-card.wa p { color: var(--text-2); font-size: 12.5px; line-height: 1.45; margin-top: 2px; }
.wa-ic { width: 34px; height: 34px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; flex: none; font-size: 18px; }
.float-card.ok { right: -18px; top: -26px; align-items: center; animation-delay: -3s; }
.float-card.ok > .ic { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--green); color: #fff; stroke-width: 3; }
.float-card.ok small { color: var(--muted); }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Secciones ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.section-head p:not(.kicker) { color: var(--text-2); font-size: 17.5px; margin-top: 14px; }
.kicker { color: var(--magenta); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; margin-bottom: 12px; }
.kicker.light { color: #ffd0ea; }

/* Beneficios */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.benefit h3 { font-size: 19px; margin: 16px 0 8px; }
.benefit p { color: var(--text-2); font-size: 15.5px; }
.b-ic, .f-ic {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none;
  color: var(--c); background: color-mix(in srgb, var(--c) 13%, white); font-size: 22px;
}

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 46px; }
.compare-col { border-radius: var(--radius); padding: 28px 30px; }
.compare-col h3 { font-size: 19px; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.compare-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.compare-col li { padding-left: 22px; position: relative; font-size: 15.5px; }
.compare-col li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 50%; }
.before { background: #f6f6f8; color: var(--text-2); }
.before h3 { color: var(--text-2); }
.before h3 .ic { color: #c0392b; }
.before li::before { background: #c9c7d1; }
.after { background: linear-gradient(135deg, var(--blue), #1672ad); color: #fff; box-shadow: var(--shadow); }
.after h3 { color: #fff; }
.after li::before { background: #8fd0ff; }

/* Pasos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: paso; position: relative; }
.steps::before {
  content: ''; position: absolute; top: 24px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--magenta)); opacity: .35;
}
.steps li { position: relative; text-align: center; padding: 0 6px; }
.step-n {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px;
  background: #fff; border: 2px solid var(--blue); color: var(--blue); font-weight: 800; font-size: 20px;
  position: relative; box-shadow: 0 6px 16px rgba(30, 143, 214, .18);
}
.steps li:last-child .step-n { border-color: var(--magenta); color: var(--magenta); }
.steps h3 { font-size: 17px; margin-bottom: 8px; }
.steps p { color: var(--text-2); font-size: 14.5px; }

/* Funcionalidades */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 26px 22px; background: #fff; }
.feature header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.feature h3 { font-size: 19px; }
.feature ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.feature li { position: relative; padding-left: 24px; color: var(--text-2); font-size: 15px; line-height: 1.5; }
.feature li::before {
  content: ''; position: absolute; left: 2px; top: .38em; width: 13px; height: 13px; border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e8fd6' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 9px no-repeat;
}

/* Acceso */
.access { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.access-copy h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; margin-bottom: 14px; }
.access-copy > p { color: var(--text-2); font-size: 17px; }
.roles { display: grid; gap: 18px; margin-top: 30px; }
.role { display: flex; gap: 16px; align-items: flex-start; }
.role h3 { font-size: 17px; margin-bottom: 3px; }
.role p { color: var(--text-2); font-size: 15px; }
.access-card {
  background: #fff; border-radius: 20px; padding: 36px 32px; text-align: center;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border); display: grid; gap: 14px; justify-items: center;
}
.access-badge {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 30px;
  background: linear-gradient(135deg, var(--blue), var(--magenta)); color: #fff;
}
.access-card h3 { font-size: 22px; }
.access-card > p { color: var(--text-2); }

/* Preguntas */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--border); border-radius: 12px; background: #fff; padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 600; color: var(--ink); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 400; color: var(--blue); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--text-2); }

/* Contacto */
.contact-section {
  background:
    radial-gradient(700px 400px at 0% 0%, rgba(232, 23, 138, .35), transparent 60%),
    linear-gradient(135deg, var(--ink), #2d1b52 60%, var(--purple));
  color: #e9e6f5;
}
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-copy h2 { color: #fff; font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; margin-bottom: 16px; }
.contact-copy > p { font-size: 17px; color: #cfcae4; }
.contact-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-points li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; }
.contact-points .ic { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, .1); color: #8fd0ff; }

.contact-form { background: #fff; color: var(--text); border-radius: 20px; padding: 30px; box-shadow: var(--shadow-lg); display: grid; gap: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--border); border-radius: 10px; padding: 11px 13px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); }
.field.invalid input, .field.invalid textarea { border-color: #e0344b; }
.field .err { color: #e0344b; font-size: 13px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: 14.5px; border-radius: 10px; }
.form-msg:empty { display: none; }
.form-msg.ok { background: #e7f8ef; color: #17784a; padding: 12px 14px; }
.form-msg.error { background: #fdecee; color: #b4233a; padding: 12px 14px; }

/* Pie */
.footer { background: #14142b; color: #a9a6c0; padding: 34px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer nav a { color: #cfcae4; font-size: 14px; }

/* ---------- Planes ---------- */
.section.alt-soft { background: linear-gradient(180deg, #fff 0%, var(--blue-50) 100%); }
.period-toggle { display: flex; width: max-content; margin: -28px auto 34px; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.period-toggle[hidden] { display: none; }
.period-toggle button { border: 0; background: none; font: inherit; font-weight: 600; font-size: 14.5px; color: var(--text-2); padding: 8px 20px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.period-toggle button.on { background: var(--blue); color: #fff; }
.period-toggle .save { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; background: #ddf6e9; color: #12784a; padding: 2px 7px; border-radius: 999px; }
.period-toggle button.on .save { background: rgba(255, 255, 255, .22); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plans-msg { grid-column: 1 / -1; text-align: center; padding: 30px 0; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px 24px; box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--magenta); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--magenta); color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 21px; }
.plan-desc { color: var(--text-2); font-size: 14.5px; margin: 8px 0 0; min-height: 44px; }
.plan-price { margin: 18px 0 0; display: flex; align-items: baseline; gap: 4px; }
.plan-price strong { font-size: 34px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.plan-price span { color: var(--muted); font-weight: 600; }
.plan-detail { margin: 2px 0 18px; min-height: 20px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; }
.plan ul li { display: flex; align-items: flex-start; gap: 8px; color: var(--text-2); line-height: 1.4; }
.plan ul .ic { flex: none; margin-top: 1px; }
.plan-limits { padding-bottom: 16px !important; border-bottom: 1px solid var(--border); }
.plan-limits li { color: var(--ink) !important; font-weight: 600; }
.plan-limits .ic { color: var(--blue); }
.plan-feats { padding: 16px 0 22px !important; flex: 1; align-content: start; }
.plan-feats .ic { color: var(--green); }
.plan-feats li:has(use[href="#i-star"]) .ic { color: var(--yellow); }
.plans-note { text-align: center; margin-top: 30px; }

/* Aparición al desplazarse */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1020px) {
  .hero-grid, .access, .contact { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 20px auto 30px; width: 100%; }
  .benefits, .features { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .steps { grid-template-columns: 1fr; gap: 26px; max-width: 560px; margin: 0 auto; }
  .steps::before { top: 0; bottom: 0; left: 24px; right: auto; width: 2px; height: auto; }
  .steps li { text-align: left; padding-left: 74px; min-height: 50px; }
  .step-n { position: absolute; left: 0; top: 0; margin: 0; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .menu {
    position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); padding: 8px 20px 18px;
    display: none;
  }
  .menu.open { display: flex; }
  .menu a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .menu .btn { margin-top: 14px; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero { padding: 48px 0 80px; }
  .benefits, .features, .compare, .grid-2, .plans { grid-template-columns: 1fr; }
  .plan.featured { transform: none; }
  .mock-grid { grid-template-columns: repeat(3, 1fr); }
  .mock-grid .tile:nth-child(n+10) { display: none; }
  .mock-kpis strong { font-size: 14px; }
  .float-card.wa { left: 8px; right: 8px; bottom: -64px; max-width: none; }
  .float-card.ok { display: none; }
  .cta-row .btn { flex: 1 1 100%; }
  .contact-form { padding: 22px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
