:root {
  --blue: #2A5BBF;
  --blue-dark: #1e4494;
  --blue-light: #4f8be8;
  --wa: #25D366;
  --wa-dark: #1da851;
  --ink: #16233a;
  --muted: #5b6b7d;
  --bg: #ffffff;
  --bg-alt: #f4f7fc;
  --border: #e4eaf3;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(42, 91, 191, .10);
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ===== Botones ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px;
  padding: 12px 20px; border-radius: 12px;
  cursor: pointer; border: none; transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, .30); }
.btn--wa:hover { background: var(--wa-dark); }
.btn--ghost { background: transparent; color: var(--blue); border: 2px solid var(--border); }
.btn--ghost:hover { border-color: var(--blue); background: var(--bg-alt); }
.wa-icon { width: 20px; height: 20px; fill: currentColor; flex: none; }

.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--blue);
  background: rgba(42, 91, 191, .08); padding: 6px 12px; border-radius: 999px;
}

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__logo { width: 34px; height: 34px; object-fit: contain; }
.brand__name { font-weight: 800; font-size: 20px; color: var(--blue); letter-spacing: .2px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { font-weight: 500; color: var(--muted); font-size: 15px; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { margin-left: 8px; }

/* ===== Hero ===== */
.hero { padding: 72px 0 80px; background: linear-gradient(180deg, #f4f7fc 0%, #ffffff 100%); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; margin: 18px 0; }
.hero .hl { color: var(--blue); }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 540px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 24px; }
.hero__points { display: flex; gap: 22px; flex-wrap: wrap; list-style: none; }
.hero__points li { font-size: 14px; color: var(--muted); font-weight: 500; position: relative; padding-left: 22px; }
.hero__points li::before { content: "✓"; position: absolute; left: 0; color: var(--wa); font-weight: 800; }

.hero__art { position: relative; display: grid; place-items: center; min-height: 320px; }
.hero__logo { width: min(340px, 80%); filter: drop-shadow(0 20px 40px rgba(42,91,191,.25)); position: relative; z-index: 1; }
.glow { position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,139,232,.35), transparent 65%); filter: blur(20px); }

/* ===== Secciones ===== */
.section { padding: 84px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section__head h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; letter-spacing: -.02em; margin: 14px 0 12px; }
.section__sub { color: var(--muted); font-size: 17px; }

/* ===== Cards verticales ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__ico { font-size: 40px; margin-bottom: 14px; }
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* ===== Features ===== */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; }
.feature__ico { font-size: 30px; margin-bottom: 12px; }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* ===== Capturas (marco de navegador) ===== */
.frame {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(22, 35, 58, .14); background: #fff;
}
.frame--lg { max-width: 940px; margin: 0 auto; }
.frame__bar {
  display: flex; align-items: center; gap: 7px; padding: 11px 14px;
  background: #eef2f8; border-bottom: 1px solid var(--border);
}
.frame__bar span { width: 11px; height: 11px; border-radius: 50%; background: #cdd6e6; }
.frame__bar span:nth-child(1) { background: #ff5f57; }
.frame__bar span:nth-child(2) { background: #febc2e; }
.frame__bar span:nth-child(3) { background: #28c840; }
.frame img { width: 100%; display: block; }
.frame__cap { text-align: center; color: var(--muted); font-size: 14px; font-weight: 600; margin: 14px 0 0; }
.frame-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px; }

/* ===== CTA ===== */
.cta { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff; padding: 80px 0; text-align: center; }
.cta__inner { max-width: 620px; margin: 0 auto; }
.cta h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; margin-bottom: 14px; }
.cta p { color: rgba(255,255,255,.9); font-size: 18px; margin-bottom: 28px; }
.cta__phone { font-size: 15px; margin-top: 18px; color: rgba(255,255,255,.85); }

/* ===== Footer ===== */
.footer { background: #0f1a2e; color: #cdd6e6; padding: 48px 0; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.footer .brand__name { color: #fff; }
.footer__tag { font-size: 15px; color: #9aa8c2; }
.footer__legal { font-size: 13px; color: #6b7a97; margin-top: 6px; }

/* ===== FAB WhatsApp ===== */
.fab-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.45); transition: transform .15s ease;
}
.fab-wa:hover { transform: scale(1.06); }
.fab-wa .wa-icon { width: 30px; height: 30px; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { order: 2; }
  .hero__art { order: 1; min-height: 220px; }
  .hero__logo { width: min(220px, 60%); }
  .lead, .hero__cta, .hero__points { margin-left: auto; margin-right: auto; justify-content: center; }
  .cards, .features, .frame-row { grid-template-columns: 1fr; }
  .nav__links { display: none; }
}

@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .hero { padding: 48px 0 56px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
}
