:root {
  --blue: #324F8B;
  --blue-dark: #243a68;
  --olive: #374909;
  --ink: #091600;
  --gray: #f0f0f0;
  --white: #ffffff;
  --muted: #5b6472;
  --line: #e7eaf1;

  --blue-soft: #eaf0fb;
  --olive-soft: #eef3e2;
  --teal-soft: #e6f3ef; --teal: #1f5a4c;
  --honey-soft: #fbf1de; --honey: #8a6416;

  --radius: 16px;
  --shadow: 0 10px 30px rgba(9,22,0,.08);
  --shadow-sm: 0 2px 10px rgba(9,22,0,.05);
  --maxw: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--ink); background: var(--white); line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

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

.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue); background: var(--blue-soft);
  padding: .3rem .7rem; border-radius: 999px; margin-bottom: 1rem;
}
.hl { color: var(--blue); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 700; font-size: .95rem; padding: .7rem 1.2rem; border-radius: 12px;
  border: 1.5px solid transparent; cursor: pointer; transition: all .18s ease; white-space: nowrap;
}
.btn-lg { padding: .95rem 1.7rem; font-size: 1.02rem; border-radius: 14px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(50,79,139,.28); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--blue); border-color: #cfd9ee; }
.btn-ghost:hover { background: var(--blue-soft); }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,.18); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.nav.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.4rem; }
.nav-links > a:not(.btn) { font-weight: 600; color: var(--ink); font-size: .95rem; }
.nav-links > a:not(.btn):hover { color: var(--blue); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4.5rem);
  background:
    radial-gradient(900px 380px at 85% -10%, var(--blue-soft) 0%, transparent 60%),
    radial-gradient(600px 300px at 0% 20%, var(--olive-soft) 0%, transparent 55%),
    #fff;
}
.hero-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 2.4rem; align-items: center; }
.hero-copy h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; margin-bottom: 1.1rem; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 34ch; margin-bottom: 1.8rem; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.hero-note { font-size: .88rem; color: var(--muted); }

/* Mock de app */
.hero-visual { position: relative; }
.mock { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.mock-top { display: flex; align-items: center; gap: 7px; padding: .7rem 1rem; background: #f6f8fc; border-bottom: 1px solid var(--line); }
.mock-top .dot { width: 10px; height: 10px; border-radius: 50%; background: #d7dce6; }
.mock-title { margin-left: .6rem; font-size: .8rem; font-weight: 700; color: var(--muted); }
.mock-img { width: 100%; display: block; }
.mock-badge {
  position: absolute; top: 14%; left: -18px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow); border-radius: 12px; padding: .5rem .8rem; font-weight: 700; font-size: .82rem;
  animation: float 4s ease-in-out infinite;
}
.mock-badge-2 { top: auto; bottom: 10%; left: auto; right: -14px; animation-delay: 1.5s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Value strip (misma banda azul del CTA, con chips glass) ---------- */
.strip {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(700px 300px at 85% 120%, rgba(255,255,255,.14) 0%, transparent 60%),
    radial-gradient(500px 260px at 10% -20%, rgba(255,255,255,.12) 0%, transparent 55%),
    linear-gradient(135deg, var(--blue) 0%, #3f61a8 55%, #2c8f6f 160%);
}
.strip-pulse { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); width: 100%; height: 120px; opacity: .55; pointer-events: none; }
.strip-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; padding: 1.6rem 20px; }
.chip {
  display: flex; align-items: center; gap: .75rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 14px;
  padding: .75rem .9rem; backdrop-filter: blur(4px); transition: transform .18s, background .18s;
}
.chip:hover { transform: translateY(-2px); background: rgba(255,255,255,.18); }
.chip-ic { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; background: rgba(255,255,255,.2) !important; }
.chip b { display: block; font-size: .92rem; letter-spacing: -.01em; color: #fff; }
.chip small { color: rgba(255,255,255,.8); font-size: .76rem; }

/* ---------- Secciones ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: linear-gradient(180deg, #fafbfe 0%, #fff 100%); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head h2, .why-copy h2, .cta-inner h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.section-sub { color: var(--muted); font-size: 1.05rem; margin-top: .7rem; }

/* Features grid */
.features { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.1rem; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; transition: transform .18s, box-shadow .18s; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat-ic { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1rem; }
.ic-blue { background: var(--blue-soft); } .ic-olive { background: var(--olive-soft); }
.ic-teal { background: var(--teal-soft); } .ic-honey { background: var(--honey-soft); }
.feat h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: .4rem; }
.feat p { color: var(--muted); font-size: .93rem; }

/* Por qué */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.why-list { list-style: none; margin: 1.4rem 0 1.8rem; display: grid; gap: .9rem; }
.why-list li { position: relative; padding-left: 2rem; color: var(--muted); }
.why-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.4rem; height: 1.4rem; background: var(--olive-soft); color: var(--olive); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .8rem; }
.why-list li b { color: var(--ink); }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 1.2rem; display: grid; gap: .9rem; }
.wc-row { display: flex; align-items: center; gap: .9rem; padding: .7rem; border-radius: 14px; background: #fafbfe; }
.wc-ic { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex: 0 0 44px; }
.wc-row b { display: block; font-size: .98rem; } .wc-row small { color: var(--muted); }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; color: #fff;
  padding: clamp(3.2rem,6vw,5rem) 0;
  background:
    radial-gradient(700px 300px at 85% 120%, rgba(255,255,255,.14) 0%, transparent 60%),
    radial-gradient(500px 260px at 10% -20%, rgba(255,255,255,.12) 0%, transparent 55%),
    linear-gradient(135deg, var(--blue) 0%, #3f61a8 55%, #2c8f6f 160%);
}
.cta-pulse { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); width: 100%; height: 120px; opacity: .6; pointer-events: none; }
.cta-inner { position: relative; text-align: center; }
.cta-emoji { display: inline-block; font-size: 2.2rem; margin-bottom: .6rem; }
.cta-inner h2 { max-width: 22ch; margin: 0 auto; }
.cta-inner p { opacity: .92; margin: .7rem 0 1.7rem; font-size: 1.05rem; }

/* FAQ */
.faq { display: grid; gap: .8rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 1.2rem; transition: box-shadow .18s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; font-weight: 700; padding: 1.1rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--blue); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 1.1rem; }

/* Footer */
.footer { background: var(--ink); color: #cfd3cb; padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img { height: 54px; margin-bottom: .8rem; }
.footer-brand p { max-width: 26ch; font-size: .92rem; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: .9rem; }
.footer-col a { display: block; padding: .3rem 0; font-size: .92rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.4rem; font-size: .85rem; flex-wrap: wrap; gap: .6rem; }
.footer-legal a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { order: -1; max-width: 440px; margin: 0 auto; }
  .features { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; padding: 1rem 20px 1.4rem; gap: .8rem; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-140%); transition: transform .25s ease; z-index: 49;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links > a:not(.btn) { padding: .5rem 0; }
  .btn { width: 100%; }
  .nav-toggle { display: flex; }
  .strip-grid { grid-template-columns: repeat(2,1fr); gap: .8rem 1rem; }
  .features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .lead { max-width: none; }
}

/* ===== PLANES ===== */
.plans-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.4rem;
  max-width: 1000px;
  margin: 0 auto;
}
/* Cada tarjeta con ancho acotado: 1 plan = card centrada (no estirada);
   2-3 planes = fila centrada. */
.plan-card { flex: 0 1 300px; }
.plans-msg { text-align: center; color: var(--muted); flex-basis: 100%; }
.plan-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow); padding: 1.8rem 1.5rem; position: relative;
  transition: transform .18s, box-shadow .18s;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(50,79,139,.14); }
.plan-card.featured { border-color: var(--blue); box-shadow: 0 16px 44px rgba(50,79,139,.20); }
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: .35rem .85rem; border-radius: 100px;
}
.plan-name { font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.plan-price { margin: .6rem 0 .2rem; font-size: 2rem; font-weight: 800; color: var(--blue); letter-spacing: -.02em; }
.plan-price small { font-size: .95rem; font-weight: 600; color: var(--muted); }
.plan-anual { font-size: .85rem; color: var(--olive); font-weight: 600; margin-bottom: .3rem; }
.plan-trial {
  display: inline-block; background: var(--olive-soft); color: var(--olive);
  font-size: .78rem; font-weight: 700; padding: .3rem .7rem; border-radius: 100px; margin: .4rem 0 1rem;
}
.plan-limits { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.plan-limits span { font-size: .82rem; color: var(--muted); }
.plan-limits b { color: var(--ink); }
.plan-feats { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .55rem; }
.plan-feats li { position: relative; padding-left: 1.6rem; font-size: .9rem; color: var(--ink); }
.plan-feats li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 1.2rem; height: 1.2rem;
  background: var(--blue-soft); color: var(--blue); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .7rem;
}
.plan-card .btn { margin-top: auto; }

/* ===== SOPORTE ===== */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  max-width: 760px;
  margin: 0 auto;
}
.support-card {
  display: flex; align-items: center; gap: .9rem;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 1.1rem 1.2rem; text-decoration: none; color: var(--ink);
  transition: transform .18s, box-shadow .18s;
}
a.support-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.support-card--static { cursor: default; }
.support-ic { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex: 0 0 46px; }
.support-card b { display: block; font-size: .98rem; }
.support-card small { color: var(--muted); }

.plan-ahorro {
  display: inline-block;
  background: var(--olive, #374909);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  padding: .1rem .45rem;
  border-radius: 100px;
  margin-left: .3rem;
  vertical-align: middle;
}

/* ===== Sección de planes: fondo azul suave de marca + onda de pulso (separa de la sección anterior) ===== */
.section-planes {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f7f9fd 0%, #f0f4fb 100%);
}
.section-planes .container { position: relative; z-index: 1; }
.planes-pulse {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  width: 100%; height: 150px; opacity: .35; pointer-events: none; z-index: 0;
}
