/* Base producción (reset que en la maqueta aportaba el lienzo) */
html { scroll-behavior: smooth; }
body { margin: 0; background: #f8fafc; }
img { max-width: 100%; }

/* ================= EL SITIO — tokens (paleta derivada del logo) ================= */
.site {
  --bg: #f8fafc; --bg-deep: #eef2f7; --panel: #ffffff; --panel-2: #f1f5f9;
  --line: #dde4ee; --line-2: #c3cedd;
  --navy: #0a1e4e; --txt: #0a1e4e; --body: #334155; --dim: #64748b;
  --blue: #1d5bd8; --sky: #2fa8e0; --teal: #17c3b2;
  --grad: linear-gradient(135deg, #0a1e4e 0%, #1d5bd8 55%, #17c3b2 100%);
  --grad-soft: linear-gradient(135deg, #e8f0fe 0%, #e0f7f4 100%);
  --btn-shadow: 0 12px 28px -10px rgba(29,91,216,.45);
  --card-shadow: 0 24px 48px -28px rgba(10,30,78,.25);
  --r-lg: 20px; --r-md: 14px; --r-sm: 10px;
  background: var(--bg); color: var(--body);
  font-size: 16.5px; line-height: 1.65; position: relative;
}
.site > * { position: relative; }
.site a { text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }

/* Header */
.site-header { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header-in { display: flex; align-items: center; gap: 26px; padding: 12px 22px; max-width: 1120px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo img { height: 52px; width: auto; display: block; }
.logo .logo-tag { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-weight: 700; line-height: 1.3; }
.logo .logo-tag b { color: var(--navy); display: block; font-size: 13px; letter-spacing: .02em; text-transform: none; }
.site-nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.site-nav a { padding: 8px 13px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--txt); }
.site-nav a:hover, .site-nav a.on { background: var(--bg-deep); }
.header-cta { flex: none; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--grad); color: #fff !important; font-weight: 700; font-size: 15.5px; padding: 12px 22px; border-radius: 999px; border: 0; box-shadow: var(--btn-shadow); transition: transform .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--navy) !important; border: 1.5px solid var(--line-2); box-shadow: none; }
.btn-ghost:hover { border-color: var(--blue); }
.btn-sm { padding: 9px 17px; font-size: 14.5px; }
.burger { display: none; margin-left: auto; background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 12px; font-weight: 700; color: var(--navy); }

/* Hero */
.hero { padding: 64px 0 52px; background: var(--grad-soft); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.hero-logo { width: 150px; height: auto; display: block; margin-bottom: 18px; filter: drop-shadow(0 14px 24px rgba(10,30,78,.18)); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: .13em; text-transform: uppercase; font-weight: 800; color: var(--blue); margin: 0 0 14px; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--grad); }
h1, h2, h3 { color: var(--txt); line-height: 1.15; margin: 0; }
h1 { font-size: clamp(38px, 5.4vw, 60px); letter-spacing: -.02em; }
h1 .grad-text, h2 .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 20px; color: var(--body); margin: 18px 0 8px; }
.hero p.sub { margin: 0 0 26px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 8px 0 22px; }
.mini-guarantees { display: flex; gap: 18px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; font-size: 14.5px; font-weight: 600; color: var(--txt); }
.mini-guarantees li::before { content: "✓ "; color: var(--teal); font-weight: 800; }
.hero-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--card-shadow); padding: 26px 26px 22px; }
.hero-card h3 { font-size: 19px; margin-bottom: 6px; }
.hero-card p { margin: 0 0 14px; font-size: 15.5px; }
.hero-card .big { font-size: 34px; font-weight: 800; color: var(--txt); letter-spacing: -.01em; }
.hero-card .big small { font-size: 15px; color: var(--dim); font-weight: 600; }
.hero-card .note { font-size: 13.5px; color: var(--dim); }

/* Secciones */
.section { padding: 56px 0; }
.section.alt { background: var(--bg-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin: 0 0 30px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.015em; margin: 0 0 10px; }
.section-head p { margin: 0; font-size: 17.5px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: 0 10px 30px -22px rgba(10,30,78,.25); display: flex; flex-direction: column; }
.card .kicker { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--blue); margin-bottom: 8px; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { margin: 0 0 14px; font-size: 15.5px; flex: 1; }
.card .price { font-size: 22px; font-weight: 800; color: var(--txt); margin: 4px 0 2px; }
.card .price small { font-size: 13px; color: var(--dim); font-weight: 600; }
.card .cta { margin-top: 12px; }
.card .btn { font-size: 14.5px; padding: 10px 18px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.step .num { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { margin: 0; font-size: 15.5px; }
.metric-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.metric { background: var(--navy); color: #dbeafe; border-radius: var(--r-lg); padding: 26px; }
.metric b { display: block; font-size: 40px; color: #fff; line-height: 1.1; letter-spacing: -.02em; }
.metric span { font-size: 15px; line-height: 1.5; display: block; margin-top: 6px; }
.callout { background: #fffbeb; border: 1.5px solid #f59e0b; border-radius: var(--r-md); padding: 20px 22px; font-size: 15.5px; color: #713f12; }
.callout b { color: #92400e; }
.disclaimer { background: #fef2f2; border: 1.5px solid #fca5a5; border-radius: var(--r-md); padding: 22px; font-size: 15.5px; color: #7f1d1d; }
.disclaimer b { color: #991b1b; }
.ptable-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--panel); margin: 20px 0 8px; }
table.ptable { width: 100%; border-collapse: collapse; font-size: 15px; }
.ptable th { text-align: left; padding: 14px 18px; background: var(--navy); color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.ptable td { padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable tr:last-child td { border-bottom: 0; }
.ptable .eq { color: var(--txt); font-weight: 700; }
.ptable .eq small { display: block; font-weight: 400; color: var(--dim); font-size: 13px; margin-top: 2px; }
.ptable .price { font-weight: 800; font-size: 17px; color: var(--txt); white-space: nowrap; }
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; }
.faq summary { font-weight: 700; color: var(--txt); cursor: pointer; font-size: 17px; }
.faq p { margin: 10px 0 0; font-size: 15.5px; }
.cta-final { background: var(--navy); color: #dbeafe; border-radius: var(--r-lg); padding: 44px; text-align: center; }
.cta-final h2 { color: #fff; font-size: clamp(28px, 3.6vw, 38px); margin-bottom: 10px; }
.cta-final p { margin: 0 auto 22px; max-width: 640px; }
.cta-final .btn { background: linear-gradient(135deg, #2fa8e0, #17c3b2); }
.related { display: flex; flex-wrap: wrap; gap: 10px; }
.related a { background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 16px; font-size: 14.5px; font-weight: 600; color: var(--txt); }
.related a:hover { border-color: var(--blue); color: var(--blue); }
.footnote { font-size: 13.5px; color: var(--dim); }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; box-shadow: 0 16px 30px -10px rgba(37,211,102,.7); text-decoration: none; }
.site.no-chrome .site-header, .site.no-chrome .site-footer, .site.no-chrome .wa-float { display: none; }
.site-footer { background: var(--navy); color: #cbd5e1; padding: 44px 0 30px; font-size: 14.5px; }
.site-footer .foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; margin: 0 0 10px; font-size: 15px; }
.site-footer a { display: block; margin-bottom: 6px; color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.site-footer .foot-logo img { height: 64px; width: auto; margin-bottom: 10px; background: #fff; border-radius: 12px; padding: 6px; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 30px; padding-top: 16px; font-size: 13px; color: #94a3b8; }
/* Landing demo */
.landing { max-width: 720px; margin: 0 auto; padding: 56px 22px 64px; text-align: center; }
.landing .logo-big { width: 130px; height: auto; margin: 0 auto 20px; }
.landing h1 { font-size: clamp(32px, 5vw, 46px); }
.landing .lead { font-size: 18.5px; margin: 16px 0 26px; }
.chat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--card-shadow); text-align: left; overflow: hidden; margin: 0 0 26px; }
.chat-head { background: var(--navy); color: #fff; padding: 14px 18px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.chat-head img { height: 34px; width: auto; background: #fff; border-radius: 8px; padding: 2px; }
.chat-body { padding: 18px; display: grid; gap: 12px; }
.msg { max-width: 82%; padding: 11px 14px; border-radius: 14px; font-size: 15.5px; line-height: 1.5; }
.msg.in { background: var(--bg-deep); border-bottom-left-radius: 4px; }
.msg.out { background: #dcf8e8; margin-left: auto; border-bottom-right-radius: 4px; }
.msg small { display: block; font-size: 12px; color: var(--dim); margin-top: 4px; }
.chat-note { padding: 0 18px 18px; font-size: 13.5px; color: var(--dim); }


@media (max-width: 820px) {
  .site-nav { display: none; }
  .site-header.open .site-nav { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 22px 16px; margin: 0; }
  .burger { display: block; }
  .header-cta { display: none; }
  .hero-grid, .cards, .cards.two, .steps, .metric-band, .site-footer .foot-grid { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 36px; }
  .section { padding: 40px 0; }
  .cta-final { padding: 32px 22px; }
  .ptable thead { display: none; }
  .ptable, .ptable tbody, .ptable tr, .ptable td { display: block; width: 100%; }
  .ptable tr { padding: 13px 16px; border-bottom: 1px solid var(--line); }
  .ptable tr:last-child td { border-bottom: 0; }
  .ptable td { border: 0; padding: 3px 0; }
  .wa-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
