/* =====================================================================
   PULSiA · Landing pública — paleta B (azul/cian) + DM Sans / Plus Jakarta
   ===================================================================== */
:root {
  --ink: #061b2d;
  --ink-2: #1c3a54;
  --muted: #6b7685;
  --line: #e3e9ee;
  --line-2: #d9d9d9;
  --bg: #ffffff;
  --soft: #f5fbfd;
  --primary: #3681bf;
  --primary-press: #2a6b9f;
  --primary-soft: #d1f7ff;
  --accent: #d5fbff;
  --success: #25b36b;
  --reward: #f9941f;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(6, 27, 45, .04);
  --shadow-lg: 0 24px 60px -20px rgba(6, 27, 45, .22);
  --font: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  --display: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; letter-spacing: -.03em; line-height: 1.1; color: var(--ink); }
p { margin: 0; }
.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

/* ---------------- Header ---------------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.88); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(6,27,45,.3); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 23px; letter-spacing: -.05em; }
.brand .mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--primary), #6fc7e6); color: #fff; display: grid; place-items: center; font-size: 14px; box-shadow: 0 6px 16px rgba(54,129,191,.28); }
.brand .ia { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--primary); transition: right .2s; }
.nav-links a:hover::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-family: var(--font); font-size: 14px; font-weight: 600; cursor: pointer; transition: transform .15s, background .15s, border-color .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 8px 20px -8px rgba(54,129,191,.6); }
.btn.primary:hover { background: var(--primary-press); border-color: var(--primary-press); }
.btn.ghost:hover { background: var(--soft); border-color: var(--primary-soft); }
.btn.small { height: 38px; padding: 0 16px; font-size: 13px; }
.btn.large { height: 52px; padding: 0 26px; font-size: 15px; border-radius: 12px; }
.menu-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 18px; cursor: pointer; }

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 96px; background:
  radial-gradient(900px 520px at 85% -10%, #e8fbff 0%, rgba(232,251,255,0) 60%),
  radial-gradient(700px 420px at 5% 0%, #f2fbff 0%, rgba(242,251,255,0) 55%), #fff; }
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-press); font-size: 12px; font-weight: 700; letter-spacing: .01em; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgba(54,129,191,.16); }
.hero h1 { font-size: clamp(38px, 5vw, 62px); font-weight: 800; margin: 20px 0 18px; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero .lead { font-size: 18px; color: var(--ink-2); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 13px; }
.hero-proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof svg { width: 15px; height: 15px; color: var(--primary); flex: none; }
.hero-visual { position: relative; display: flex; justify-content: center; min-height: 560px; }
.phone { position: relative; width: 292px; height: 588px; border-radius: 46px; background: #0b1220; padding: 12px; box-shadow: 0 40px 80px -28px rgba(6,27,45,.55), 0 0 0 1px rgba(6,27,45,.08); transform: rotate(2deg); z-index: 2; }
.phone::before { content: ''; position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 96px; height: 22px; border-radius: 999px; background: #0b1220; z-index: 3; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; }
.float-chip { position: absolute; z-index: 4; display: flex; align-items: center; gap: 9px; background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 14px; padding: 11px 14px; box-shadow: 0 16px 36px -16px rgba(6,27,45,.28); font-size: 12px; font-weight: 600; color: var(--ink-2); animation: float 5.5s ease-in-out infinite; }
.float-chip .ico { width: 30px; height: 30px; border-radius: 9px; background: var(--primary-soft); color: var(--primary-press); display: grid; place-items: center; font-size: 14px; }
.float-chip small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; }
.chip-1 { top: 70px; left: -10px; }
.chip-2 { bottom: 96px; right: -18px; animation-delay: -2.4s; }
.chip-3 { bottom: 20px; left: 20px; animation-delay: -1.2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------------- Franja de rubros ---------------- */
.strip { border-bottom: 1px solid var(--line); background: #fff; }
.strip-inner { display: flex; align-items: center; justify-content: center; gap: 14px 34px; flex-wrap: wrap; padding: 20px 0; color: var(--muted); font-size: 13px; font-weight: 500; }
.strip-inner span { display: inline-flex; align-items: center; gap: 8px; }
.strip-inner svg { width: 16px; height: 16px; color: var(--primary); }

/* ---------------- Secciones ---------------- */
.section { padding: 92px 0; }
.section.tight { padding: 72px 0; }
.section.soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { display: block; color: var(--primary); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head.left { margin: 0 0 36px; text-align: left; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.six { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s, border-color .18s; }
.card:hover { transform: translateY(-3px); border-color: #cfe3ee; box-shadow: 0 20px 40px -24px rgba(6,27,45,.25); }
.card .icon { width: 42px; height: 42px; border-radius: 12px; background: var(--primary-soft); color: var(--primary-press); display: grid; place-items: center; margin-bottom: 16px; }
.card .icon svg { width: 20px; height: 20px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.card li { display: flex; gap: 9px; align-items: flex-start; color: var(--ink-2); font-size: 14px; }
.card li svg { width: 16px; height: 16px; margin-top: 3px; flex: none; }
.problem li svg { color: #d15454; }
.solution { background: linear-gradient(160deg, #f2fdff, #fff); border-color: #c8eaf5; }
.solution li svg { color: var(--primary); }

/* ---------------- Cómo funciona ---------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.step .num { width: 38px; height: 38px; border-radius: 11px; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 15px; margin-bottom: 18px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }
.step .tag { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 700; color: var(--primary-press); background: var(--primary-soft); padding: 4px 10px; border-radius: 999px; }
.browser { margin-top: 34px; border-radius: 20px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #f8fbfd; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #dfe8ee; display: block; }
.browser-bar i:nth-child(1) { background: #ffb3b3; }
.browser-bar i:nth-child(2) { background: #ffe0a3; }
.browser-bar i:nth-child(3) { background: #b9ecd1; }
.browser-bar span { margin-left: 10px; font-size: 11px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 3px 12px; }
.browser img { width: 100%; display: block; }

/* ---------------- De un vistazo ---------------- */
.glance { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.glance-row { display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding: 18px 26px; border-top: 1px solid var(--line); align-items: center; }
.glance-row:first-child { border-top: 0; }
.glance-row:nth-child(odd) { background: #fbfdfe; }
.glance-row dt { font-size: 13px; font-weight: 700; color: var(--ink); }
.glance-row dd { margin: 0; color: var(--ink-2); font-size: 14px; }
.glance-note { margin-top: 14px; color: var(--muted); font-size: 12px; }

/* ---------------- Features ---------------- */
.feature { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
.feature .icon { width: 40px; height: 40px; border-radius: 11px; background: var(--soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 14px; }
.feature h3 { font-size: 17px; margin-bottom: 7px; }
.feature p { color: var(--muted); font-size: 14px; }

/* ---------------- Precios ---------------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.price.featured { border-color: var(--primary); box-shadow: 0 24px 50px -28px rgba(54,129,191,.5); }
.price .badge { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--primary-press); background: var(--primary-soft); border-radius: 999px; padding: 5px 10px; margin-bottom: 14px; }
.price.featured .badge { background: var(--primary); color: #fff; }
.price h3 { font-size: 20px; }
.price .desc { color: var(--muted); font-size: 13px; margin: 6px 0 18px; min-height: 38px; }
.price .amount { font-family: var(--display); font-size: 42px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.price .amount small { font-family: var(--font); font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price ul { list-style: none; padding: 0; margin: 22px 0 24px; display: grid; gap: 10px; }
.price li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.price li svg { width: 16px; height: 16px; color: var(--primary); flex: none; margin-top: 3px; }
.price .btn { width: 100%; margin-top: auto; }
.price-note { text-align: center; color: var(--muted); font-size: 12.5px; margin-top: 18px; }

/* ---------------- FAQ ---------------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 0 22px; margin-bottom: 10px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-family: var(--display); font-weight: 700; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; color: var(--primary); font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq .answer { padding: 0 0 20px; color: var(--muted); font-size: 14.5px; max-width: 92%; }

/* ---------------- CTA final ---------------- */
.final { padding: 40px 0 96px; }
.final-card { position: relative; overflow: hidden; border-radius: 28px; padding: 64px 48px; background:
  radial-gradient(600px 300px at 90% 0%, rgba(209,247,255,.22), transparent 70%),
  linear-gradient(135deg, #061b2d, #0d2c46 60%, #124566); color: #fff; text-align: center; }
.final-card h2 { color: #fff; font-size: clamp(30px, 4vw, 46px); max-width: 700px; margin: 0 auto 14px; }
.final-card p { color: #b9d3e4; max-width: 560px; margin: 0 auto 28px; }
.final-card .btn { background: #fff; color: var(--ink); border-color: #fff; }
.final-card .btn:hover { background: var(--primary-soft); border-color: var(--primary-soft); }

/* ---------------- Footer ---------------- */
.site-footer { border-top: 1px solid var(--line); padding: 46px 0 34px; }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand p { color: var(--muted); font-size: 13px; margin-top: 8px; max-width: 300px; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-links h4 { font-family: var(--font); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.footer-links a { display: block; color: var(--ink-2); font-size: 14px; padding: 4px 0; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 34px; padding-top: 20px; color: var(--muted); font-size: 12px; }

/* ---------------- Animaciones ---------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .float-chip { animation: none; } html { scroll-behavior: auto; } }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .site-header.open .nav-links { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 4px; background: #fff; padding: 14px 24px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -22px rgba(6,27,45,.3); }
  .site-header.open .nav-links a { width: 100%; padding: 11px 0; }
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-visual { min-height: 0; order: 2; }
  .phone { width: 250px; height: 505px; }
  .chip-1 { left: 0; } .chip-2 { right: 0; }
  .section { padding: 66px 0; }
  .grid.two, .grid.three, .grid.six, .steps, .pricing { grid-template-columns: 1fr; }
  .glance-row { grid-template-columns: 1fr; gap: 4px; padding: 16px 20px; }
  .final-card { padding: 46px 24px; border-radius: 22px; }
}
@media (max-width: 620px) {
  .container { width: calc(100% - 32px); }
  .brand { font-size: 20px; }
  .btn { height: 42px; padding: 0 16px; }
  .hero h1 { font-size: 34px; }
  .hero .lead { font-size: 16px; }
  .hero-cta .btn { width: 100%; }
  .hero-proof { font-size: 12px; gap: 7px 14px; }
  .phone { width: 230px; height: 464px; border-radius: 38px; }
  .phone img { border-radius: 29px; }
  .float-chip { font-size: 11px; padding: 9px 11px; }
  .float-chip .ico { width: 26px; height: 26px; }
  .chip-1 { top: 28px; left: -6px; }
  .chip-2 { bottom: 70px; right: -6px; }
  .chip-3 { display: none; }
  .section-head h2 { font-size: 28px; }
  .card, .step, .price, .feature { padding: 22px; }
}
