/* Reserchi · sitio público (reserchi.com). Paleta del logo: azul marino, amarillo y acento azul. */
:root {
  --bg: #06122b;
  --bg-2: #0a1a3d;
  --navy: #0a2a66;
  --surface: rgba(255, 255, 255, .04);
  --surface-2: rgba(255, 255, 255, .07);
  --border: rgba(255, 255, 255, .10);
  --border-2: rgba(255, 255, 255, .18);
  --text: #eef3ff;
  --text-2: #b4c2df;
  --muted: #7e8fb3;
  --yellow: #fcd800;
  --yellow-2: #ffe94d;
  --blue: #1464d2;
  --sky: #5aa9ff;
  --green: #34d399;
  --red: #fb7185;
  --amber: #fbbf24;
  --radius: 18px;
  --wrap: 1160px;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", Inter, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.1; margin: 0; }
p { margin: 0; }
strong, b { font-weight: 600; color: var(--text); }
.g { color: var(--green); }
.r { color: var(--red); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.grad {
  background: linear-gradient(100deg, var(--yellow) 0%, #ffe46b 35%, var(--sky) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; border-radius: 999px; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 17px; }
.btn-block { width: 100%; padding: 13px 20px; }
.btn-primary {
  background: var(--yellow); color: #0a1a3d;
  box-shadow: 0 0 0 0 rgba(252, 216, 0, .5), 0 10px 30px -10px rgba(252, 216, 0, .6);
}
.btn-primary:hover { background: var(--yellow-2); transform: translateY(-2px); box-shadow: 0 0 0 6px rgba(252, 216, 0, .12), 0 16px 40px -12px rgba(252, 216, 0, .7); }
.btn-ghost { background: var(--surface); border-color: var(--border-2); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, .3); transform: translateY(-2px); }
.arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(6, 18, 43, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--border); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.brand img { display: block; }   /* el logo ya trae sus esquinas redondeadas */
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 14.5px; color: var(--text-2); }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.link-quiet { font-size: 14.5px; color: var(--text-2); }
.link-quiet:hover { color: var(--text); }

/* Hero */
.hero { position: relative; padding: 140px 0 56px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 78% 18%, rgba(20, 100, 210, .45), transparent 70%),
    radial-gradient(520px 360px at 12% 8%, rgba(252, 216, 0, .14), transparent 70%),
    radial-gradient(900px 500px at 50% 110%, rgba(10, 42, 102, .9), transparent 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border-2); font-size: 13.5px; color: var(--text-2);
  transition: border-color .2s ease;
}
.chip:hover { border-color: rgba(252, 216, 0, .5); color: var(--text); }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgba(252, 216, 0, .7); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(252, 216, 0, .6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(252, 216, 0, 0); } }
.hero h1 { font-size: clamp(42px, 6.2vw, 72px); margin: 22px 0 22px; font-weight: 700; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--text-2); max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.micro { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 22px 0 0; font-size: 14px; color: var(--muted); }
.micro li::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 7px; }

/* Maqueta */
.hero-visual { position: relative; }
.mock {
  position: relative; border-radius: 20px; background: linear-gradient(180deg, rgba(20, 38, 82, .92), rgba(10, 24, 56, .92));
  border: 1px solid var(--border-2); overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .03), 0 0 80px -20px rgba(20, 100, 210, .55);
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg); transition: transform .6s ease;
}
.hero-visual:hover .mock { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--border); background: rgba(0, 0, 0, .18); }
.mock-bar > span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.mock-bar > span:first-child { background: #ff6b6b; } .mock-bar > span:nth-child(2) { background: #ffd166; } .mock-bar > span:nth-child(3) { background: #3ddc97; }
.mock-url { margin-left: 12px; font-size: 12px; color: var(--muted); background: rgba(255, 255, 255, .05); padding: 3px 12px; border-radius: 6px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.mock-body { padding: 18px; display: grid; gap: 14px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; }
.kpi-l { font-size: 11px; color: var(--muted); }
.kpi-v { font-family: var(--display); font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.kpi-d { font-size: 11.5px; font-weight: 600; }
.kpi-d.up { color: var(--green); } .kpi-d.down { color: var(--red); }
.chart { height: 90px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); padding: 8px 0 0; overflow: hidden; }
.chart svg { width: 100%; height: 100%; }
.chart-line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.2s .4s ease forwards; }
.chart-area { opacity: 0; animation: fade 1s 1.6s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.todo { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px; display: grid; gap: 8px; }
.todo-h { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.pill { font-size: 11px; background: var(--yellow); color: #0a1a3d; border-radius: 999px; padding: 0 7px; font-weight: 700; }
.todo-i { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--text-2); line-height: 1.45; opacity: 0; transform: translateY(6px); animation: rise .5s ease forwards; }
.todo-i:nth-child(2) { animation-delay: .9s; } .todo-i:nth-child(3) { animation-delay: 1.15s; } .todo-i:nth-child(4) { animation-delay: 1.4s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.tag { flex: none; font-size: 10.5px; font-weight: 700; letter-spacing: .02em; padding: 2px 8px; border-radius: 6px; line-height: 1.6; }
.tag.red { background: rgba(251, 113, 133, .16); color: #fda4af; }
.tag.amber { background: rgba(251, 191, 36, .16); color: #fcd34d; }
.tag.blue { background: rgba(90, 169, 255, .16); color: #93c5fd; }
.tag.gray { background: rgba(255, 255, 255, .08); color: var(--text-2); }
.toast {
  position: absolute; left: -36px; bottom: -26px; width: min(330px, 85%);
  display: flex; gap: 12px; padding: 14px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, .96); color: #0a1a3d; box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .6);
  animation: float 6s ease-in-out infinite, rise .6s 1.9s ease backwards;
}
.toast b { color: #0a1a3d; } .toast .g { color: #059669; }
.toast-ico { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--yellow); display: grid; place-items: center; font-size: 18px; }
.toast-t { font-size: 12px; font-weight: 700; color: #36507f; }
.toast-b { font-size: 13px; line-height: 1.4; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.mock-note { position: absolute; right: 4px; bottom: -28px; font-size: 11px; color: var(--muted); }

.countries { position: relative; display: flex; align-items: center; gap: 20px; margin-top: 88px; padding-top: 26px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.countries > span { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.country-live { color: var(--text); font-weight: 600; padding: 4px 12px; border-radius: 999px; background: rgba(252, 216, 0, .12); border: 1px solid rgba(252, 216, 0, .4); }
.countries .soon-label { margin-left: 12px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--border-2); font-size: 11.5px; letter-spacing: .08em; }
.countries .soon { opacity: .55; font-size: 14px; }
.countries ul { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 0; margin: 0; color: var(--text-2); font-size: 15px; font-weight: 500; }

/* Secciones */
.section { padding: 110px 0; position: relative; }
.section.alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 16px; }
.head h2, .split-copy h2, .final h2 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 700; }
.sub { color: var(--text-2); font-size: 18px; margin-top: 18px; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { position: relative; padding: 32px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.pillar::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--yellow), var(--sky)); opacity: .7; }
.pillar-n { font-family: var(--display); font-size: 14px; font-weight: 700; color: var(--yellow); margin-bottom: 18px; }
.pillar h3 { font-size: 26px; margin-bottom: 12px; }
.pillar p { color: var(--text-2); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; position: relative; }
.step { position: relative; padding: 30px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); counter-increment: s; }
.step::after { content: "Paso " counter(s); position: absolute; top: 28px; right: 26px; font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.step-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: linear-gradient(135deg, rgba(252, 216, 0, .2), rgba(20, 100, 210, .25)); border: 1px solid var(--border-2); margin-bottom: 20px; }
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { color: var(--text-2); font-size: 15.5px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  position: relative; padding: 26px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  transition: border-color .25s ease, transform .25s ease, background .25s ease; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(252, 216, 0, .10), transparent 50%);
}
.card:hover { border-color: rgba(252, 216, 0, .35); transform: translateY(-3px); background: var(--surface-2); }
.card:hover::after { opacity: 1; }
.c-wide { grid-column: span 2; }
.card-ico { font-size: 26px; margin-bottom: 14px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 15px; }
.mini-list { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 13.5px; color: var(--text-2); padding: 10px 12px; border-radius: 10px; background: rgba(0, 0, 0, .18); border: 1px solid var(--border); }
.title-demo { margin-top: 16px; display: grid; gap: 8px; font-size: 13.5px; }
.title-demo > div { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: rgba(0, 0, 0, .18); }
.title-demo span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.t-old { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(251, 113, 133, .6); }
.t-old span { color: var(--red); text-decoration: none; display: block; }
.t-new { color: var(--text); border-color: rgba(52, 211, 153, .35) !important; }
.t-new span { color: var(--green); }

/* Aplicar precio y Vendedor autónomo en el bento */
.apply-demo { margin-top: 16px; display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.apply-demo > div:not(.apply-arrow):not(.apply-btn) { flex: 1 1 140px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: rgba(0, 0, 0, .18); display: grid; gap: 1px; }
.apply-demo span { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.apply-demo b { font-family: var(--display); font-size: 19px; }
.apply-demo em { font-style: normal; color: var(--text-2); font-size: 12.5px; }
.apply-demo .apply-new { border-color: rgba(52, 211, 153, .35) !important; }
.apply-demo .apply-new span { color: var(--green); }
.apply-arrow { align-self: center; color: var(--yellow); font-size: 20px; }
.apply-btn { align-self: center; padding: 9px 18px; border-radius: 999px; background: var(--yellow); color: #0a1a3d; font-weight: 700; }
.card-auto { background: linear-gradient(135deg, rgba(252, 216, 0, .10), rgba(20, 100, 210, .14)); border-color: rgba(252, 216, 0, .3); }
.card-link { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--yellow); }
.card-link:hover { color: var(--yellow-2); }

/* Vendedor autónomo */
.auto { overflow: hidden; }
.auto-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(640px 380px at 15% 10%, rgba(252, 216, 0, .10), transparent 70%), radial-gradient(700px 420px at 90% 60%, rgba(20, 100, 210, .30), transparent 70%);
}
.auto .wrap { position: relative; }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 72px; }
.mode { position: relative; padding: 28px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; transition: transform .25s ease, border-color .25s ease; }
.mode:hover { transform: translateY(-4px); border-color: rgba(252, 216, 0, .4); }
.mode-mid { border-color: rgba(252, 216, 0, .35); background: linear-gradient(180deg, rgba(252, 216, 0, .07), rgba(20, 100, 210, .07)); }
.mode-ico { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; font-size: 32px; background: linear-gradient(135deg, #fff6c4, #dbe8ff); border: 1px solid rgba(255, 255, 255, .5); margin-bottom: 8px; box-shadow: 0 10px 24px -12px rgba(252, 216, 0, .5); }
.mode h3 { font-size: 24px; }
.mode-tag { color: var(--yellow); font-weight: 600; font-size: 15px; }
.mode p:not(.mode-tag):not(.mode-meta) { color: var(--text-2); font-size: 15px; }
.mode-meta { margin-top: auto; padding-top: 10px; font-size: 13px; color: var(--muted); font-weight: 600; }
.engine { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: -28px 0 72px; }
.engine-i { padding: 22px 20px; border-radius: var(--radius); border: 1px solid var(--border); background: rgba(6, 18, 43, .55); }
.engine-ico { font-size: 24px; margin-bottom: 12px; }
.engine-i h3 { font-size: 17px; margin-bottom: 8px; }
.engine-i p { color: var(--text-2); font-size: 14.5px; }
.auto-split .checks { margin-bottom: 30px; }
.auto-cta { margin-top: 4px; }
.auto-visual .mock { transform: perspective(1400px) rotateY(7deg) rotateX(3deg); }
.auto-visual:hover .mock { transform: perspective(1400px) rotateY(2deg) rotateX(1deg); }
.mission-h { display: flex; align-items: center; gap: 12px; }
.mission-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: linear-gradient(135deg, #fff6c4, #dbe8ff); }
.mission-name { font-family: var(--display); font-weight: 700; font-size: 17px; }
.mission-sub { font-size: 12px; color: var(--muted); }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--green); background: rgba(52, 211, 153, .12); padding: 3px 10px; border-radius: 999px; white-space: nowrap; flex: none; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: ping-g 1.8s infinite; }
@keyframes ping-g { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); } 80%, 100% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } }
.price-chart { position: relative; }
.pc-l { position: absolute; font-size: 10px; color: var(--muted); }
.pc-start { left: 40%; top: 4px; margin-left: 4px; }
.pc-floor { right: 8px; bottom: 18px; color: #fda4af; }
.auto-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 64px; }

/* Cafecito */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-copy .sub { margin-bottom: 26px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: var(--text-2); }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #0a1a3d; background: var(--yellow);
}
.mail { position: relative; background: #fff; color: #1c2b4a; border-radius: 20px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 80px -30px rgba(252, 216, 0, .45); }
.mail-h { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #e6ebf5; }
.mail-h img { border-radius: 7px; }
.mail-from { font-size: 13px; font-weight: 700; color: #0a2a66; }
.mail-subj { font-size: 14px; color: #1c2b4a; }
.mail-time { margin-left: auto; font-size: 12px; color: #7c8aa8; }
.mail-b { padding: 20px; display: grid; gap: 10px; }
.mail-hi { font-weight: 600; color: #0a2a66; }
.mail-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mail-kpis > div { background: #f3f6fc; border-radius: 10px; padding: 10px 12px; }
.mail-kpis span { display: block; font-size: 11px; color: #6b7a99; }
.mail-kpis b { font-family: var(--display); font-size: 17px; color: #0a2a66; }
.mail .g { color: #059669; } .mail .r { color: #e11d48; } .mail b { color: #0a2a66; }
.mail-sec { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #1464d2; margin-top: 6px; }
.mail-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.mail .tag.red { background: #ffe4e8; color: #be123c; }
.mail .tag.amber { background: #fff4cc; color: #a16207; }
.mail .tag.blue { background: #e0edff; color: #1d4ed8; }
.mail .tag.gray { background: #eef1f6; color: #475569; }
.mail .mock-note { bottom: -26px; }

/* Confianza */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-i { padding: 26px 22px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.trust-ico { font-size: 26px; margin-bottom: 14px; }
.trust-i h3 { font-size: 18px; margin-bottom: 8px; }
.trust-i p { color: var(--text-2); font-size: 15px; }

/* Precios */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 360px)); gap: 22px; justify-content: center; }
.plan { position: relative; padding: 34px 30px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border-2); display: flex; flex-direction: column; gap: 18px; }
.plan h3 { font-size: 24px; }
.plan-for { color: var(--muted); font-size: 15px; margin-top: -10px; }
.price { font-family: var(--display); font-size: 52px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.price .cur { font-size: 26px; vertical-align: top; margin-right: 2px; color: var(--text-2); }
.price .per { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.price-alt { color: var(--muted); font-size: 14px; margin-top: -6px; }
.plan .checks { flex: 1; }
.plan-pro { border-color: rgba(252, 216, 0, .55); background: linear-gradient(180deg, rgba(252, 216, 0, .08), rgba(20, 100, 210, .08)); box-shadow: 0 0 60px -20px rgba(252, 216, 0, .35); }
.badge { position: absolute; top: -13px; left: 30px; background: var(--yellow); color: #0a1a3d; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plans-note { text-align: center; color: var(--muted); font-size: 14.5px; margin-top: 30px; }

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); transition: border-color .2s ease, background .2s ease; }
.faq details[open] { border-color: rgba(252, 216, 0, .35); background: var(--surface-2); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 600; font-size: 16.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--yellow); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--text-2); }

/* CTA final */
.final { position: relative; padding: 130px 0; text-align: center; overflow: hidden; border-top: 1px solid var(--border); }
.final-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 360px at 50% 100%, rgba(252, 216, 0, .18), transparent 70%), radial-gradient(800px 420px at 50% 0%, rgba(20, 100, 210, .35), transparent 70%);
}
.final-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.final .sub { margin-bottom: 34px; }
.final-cafe { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -10px 0 34px; }
.final-cafe span { font-size: 14px; color: var(--text-2); padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border-2); }
.micro-c { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* Pie */
.foot { border-top: 1px solid var(--border); padding: 48px 0 32px; background: #040d20; }
.foot-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-brand p { color: var(--muted); font-size: 14px; margin-top: 10px; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14.5px; color: var(--text-2); }
.foot-links a:hover { color: var(--text); }
.foot-legal { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }

/* Aparición al hacer scroll (solo si hay JS: main.js agrega .js al <html>) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 72px; }
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .cta-row, .micro { justify-content: center; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .mock { transform: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: minmax(0, 480px); }
  .pillars, .steps { grid-template-columns: 1fr; }
  .modes { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .engine { grid-template-columns: repeat(2, 1fr); margin-top: -16px; }
  .auto-visual .mock { transform: none; }
  .auto-split .split-copy { max-width: 560px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding-top: 112px; }
  .link-quiet { display: none; }
  .btn-lg { width: 100%; padding: 15px 22px; }
  .cta-row { width: 100%; flex-direction: column; }
  .bento, .trust { grid-template-columns: 1fr; }
  .c-wide { grid-column: auto; }
  .plans { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .toast { position: relative; left: auto; bottom: auto; width: auto; margin: -22px 12px 0; }
  .hero-visual > .mock-note { position: static; text-align: right; margin-top: 8px; }
  .kpi-v { font-size: 18px; }
  .kpi { padding: 8px 9px; }
  .countries { margin-top: 96px; justify-content: center; text-align: center; }
  .countries ul { justify-content: center; }
  .mail-kpis b { font-size: 15px; }
  .final { padding: 96px 0; }
  .modes { margin-bottom: 56px; }
  .engine { grid-template-columns: 1fr; margin: -24px 0 56px; }
  .auto-visual > .mock-note { position: static; text-align: right; margin-top: 8px; }
  .apply-arrow { display: none; }
  .apply-btn { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .chart-line { stroke-dashoffset: 0; } .chart-area, .todo-i { opacity: 1; transform: none; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Páginas legales (terminos.html, privacidad.html) */
.legal { position: relative; padding: 132px 0 96px; }
.legal-bg {
  position: absolute; inset: 0 0 auto 0; height: 420px; pointer-events: none;
  background:
    radial-gradient(520px 300px at 85% 0%, rgba(20, 100, 210, .35), transparent 70%),
    radial-gradient(420px 260px at 8% 0%, rgba(252, 216, 0, .10), transparent 70%);
}
.legal-head { position: relative; max-width: 760px; margin-bottom: 48px; }
.legal-head h1 { font-size: clamp(36px, 5vw, 54px); font-weight: 700; margin-bottom: 16px; }
.legal-head .sub { margin-top: 0; }
.legal-meta { margin-top: 14px; color: var(--muted); font-size: 14px; }
.legal-grid { position: relative; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: 96px; font-size: 14px; }
.legal-toc p { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 12px; }
.legal-toc ol { list-style: none; padding: 0; margin: 0; display: grid; }
.legal-toc a { display: block; padding: 6px 12px; border-left: 2px solid var(--border); color: var(--text-2); line-height: 1.4; }
.legal-toc a:hover { color: var(--text); border-color: var(--yellow); }
.legal-body { max-width: 760px; }
.legal-body section { margin-bottom: 44px; }
.legal-body h2 { font-size: 24px; margin-bottom: 14px; }
.legal-body h3 { font-family: var(--font); font-size: 16.5px; font-weight: 600; letter-spacing: 0; margin: 22px 0 8px; }
.legal-body p, .legal-body li { color: var(--text-2); }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { padding-left: 20px; margin: 12px 0; display: grid; gap: 8px; }
.legal-body li::marker { color: var(--yellow); }
.legal-body a:not(.btn) { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }
.tldr { padding: 26px 26px 24px; border-radius: var(--radius); border: 1px solid rgba(252, 216, 0, .35); background: linear-gradient(180deg, rgba(252, 216, 0, .07), rgba(20, 100, 210, .06)); margin-bottom: 48px; }
.tldr h2 { font-size: 20px; margin-bottom: 16px; }
.tldr .checks { gap: 10px; }
.note-box { margin-top: 16px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border-2); background: var(--surface); font-size: 15px; }
.completar {
  background: rgba(252, 216, 0, .14); color: var(--yellow-2); border: 1px dashed rgba(252, 216, 0, .6);
  border-radius: 6px; padding: 0 6px; font-weight: 600; font-size: .92em; white-space: normal;
}
.table-scroll { overflow-x: auto; margin: 14px 0; border: 1px solid var(--border); border-radius: 12px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--border); }
.legal-table th { color: var(--text); font-weight: 600; background: var(--surface); white-space: nowrap; }
.legal-table td { color: var(--text-2); }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table td:first-child { color: var(--text); font-weight: 500; white-space: nowrap; }
.foot-links a[aria-current="page"] { color: var(--yellow); }

@media (max-width: 1020px) {
  .legal-grid { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; padding: 18px 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
  .legal-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
}
@media (max-width: 640px) {
  .legal { padding: 108px 0 72px; }
  .legal-toc ol { grid-template-columns: 1fr; }
  .tldr { padding: 22px 18px; }
  .legal-table td:first-child { white-space: normal; }
}
.fam-h { font-weight: 800; font-size: 18px; color: var(--text); margin: 0 0 14px; letter-spacing: -.01em; }
.modes-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .modes-2 { grid-template-columns: 1fr; } }
.engine.engine-after { margin-top: 0; }

/* Botón flotante de WhatsApp (todas las páginas) */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35), 0 0 0 0 rgba(37, 211, 102, .5);
  transition: transform .2s ease, box-shadow .2s ease;
  animation: wa-pulse 2.6s ease-out 1.5s 3;
}
.wa-float:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 14px 32px rgba(0, 0, 0, .4); }
.wa-float:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
@keyframes wa-pulse {
  0% { box-shadow: 0 10px 28px rgba(0, 0, 0, .35), 0 0 0 0 rgba(37, 211, 102, .5); }
  70% { box-shadow: 0 10px 28px rgba(0, 0, 0, .35), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 10px 28px rgba(0, 0, 0, .35), 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 640px) { .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; } }
@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; transition: none; } }
