/* Kapi — landings por vertical. Marca: azul #226BFA, verde #29D4A6, Hammersmith One + Inter. */
:root {
  --azul: #226BFA;
  --azul-oscuro: #0D2B6B;
  --azul-tinta: #0A1F4D;
  --verde: #29D4A6;
  --verde-oscuro: #0E9A75;
  --papel: #F7F9FE;
  --blanco: #ffffff;
  --tinta: #16213A;
  --tinta-suave: #51607F;
  --linea: #DDE5F5;
  --sombra: 0 14px 40px rgba(13, 43, 107, 0.14);
  --radio: 14px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--tinta);
  background: var(--papel);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .display { font-family: "Hammersmith One", sans-serif; font-weight: 400; line-height: 1.12; letter-spacing: -0.01em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ── Header ── */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linea); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.topbar img { height: 30px; }
.topbar nav { display: flex; gap: 18px; align-items: center; font-size: 14.5px; }
.topbar nav a { color: var(--tinta-suave); text-decoration: none; font-weight: 500; }
.topbar nav a:hover { color: var(--azul); }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--verde); color: #06342a !important; text-decoration: none;
  font-weight: 700; font-size: 15.5px; padding: 12px 22px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(41, 212, 166, .35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(41, 212, 166, .45); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn.azul { background: var(--azul); color: #fff !important; box-shadow: 0 6px 18px rgba(34,107,250,.35); }
.topbar .btn { padding: 9px 16px; font-size: 14px; }

/* ── Hero ── */
.hero { background: linear-gradient(160deg, var(--azul-tinta) 0%, var(--azul-oscuro) 55%, #1A50C8 100%); color: #fff; position: relative; overflow: hidden; }
.hero::before { /* trama de puntos sutil */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1.6px);
  background-size: 26px 26px; pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; padding-top: 68px; padding-bottom: 96px; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--verde);
  border: 1px solid rgba(41,212,166,.4); border-radius: 999px; padding: 6px 14px; margin-bottom: 18px;
  background: rgba(41,212,166,.08);
}
.hero h1 { font-size: clamp(34px, 5vw, 52px); color: #fff; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--verde); }
.hero p.sub { font-size: 18px; color: #C9D6F2; max-width: 46ch; margin-bottom: 28px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .cta-note { font-size: 13px; color: #9FB2DC; }
.hero .shot { border-radius: var(--radio); box-shadow: 0 24px 60px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.15); transform: rotate(1.2deg); }

/* borde de ticket (perforado) al fondo del hero */
.ticket-edge { height: 22px; background: var(--papel); position: relative; margin-top: -22px; }
.ticket-edge::before {
  content: ""; position: absolute; left: 0; right: 0; top: -11px; height: 12px;
  background: radial-gradient(circle at 12px 0, transparent 8px, var(--papel) 8.5px);
  background-size: 26px 12px; background-position: 0 0;
}

/* ── Secciones ── */
section { padding: 72px 0; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--azul); margin-bottom: 10px; }
h2 { font-size: clamp(26px, 3.6vw, 36px); margin-bottom: 14px; }
.lead { color: var(--tinta-suave); font-size: 17px; max-width: 62ch; }

/* dolores: tarjetas tipo nota */
.dolores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.dolor {
  background: var(--blanco); border: 1px solid var(--linea); border-left: 5px solid #F59E0B;
  border-radius: 10px; padding: 22px; font-size: 15.5px; color: var(--tinta);
  box-shadow: 0 4px 14px rgba(13,43,107,.06);
}
.dolor strong { display: block; margin-bottom: 6px; font-size: 16.5px; }

/* features: precio-tag chips + grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.feature { background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--radio); padding: 24px; box-shadow: 0 4px 14px rgba(13,43,107,.05); transition: transform .15s ease, box-shadow .15s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--sombra); }
.feature .tag {
  display: inline-block; background: rgba(34,107,250,.1); color: var(--azul);
  font-family: "Hammersmith One", sans-serif; font-size: 12.5px; letter-spacing: .06em;
  padding: 4px 12px 4px 10px; border-radius: 4px 999px 999px 4px; position: relative; margin-bottom: 12px;
}
.feature .tag::before { content: "•"; margin-right: 7px; color: var(--verde-oscuro); }
.feature h3 { font-size: 18.5px; margin-bottom: 8px; }
.feature p { font-size: 14.8px; color: var(--tinta-suave); }

/* screenshots */
.pantallas { background: var(--azul-tinta); color: #fff; }
.pantallas h2 { color: #fff; }
.pantallas .lead { color: #C9D6F2; }
.shots { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; margin-top: 36px; align-items: start; }
.shot-card { background: #0F2A5E; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radio); overflow: hidden; box-shadow: 0 16px 44px rgba(0,0,0,.35); }
.shot-card figcaption { padding: 12px 16px; font-size: 13.5px; color: #AFC2E8; }
.shot-stack { display: grid; gap: 20px; }

/* números reales */
.numeros { text-align: center; }
.numeros-grid { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; margin-top: 30px; }
.numero .cifra { font-family: "Hammersmith One", sans-serif; font-size: 44px; color: var(--azul); }
.numero .que { font-size: 14px; color: var(--tinta-suave); letter-spacing: .04em; }

/* FAQ */
.faq details { background: var(--blanco); border: 1px solid var(--linea); border-radius: 10px; padding: 16px 20px; margin-top: 12px; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 16px; }
.faq details[open] summary { color: var(--azul); }
.faq details p { margin-top: 10px; color: var(--tinta-suave); font-size: 15px; }

/* CTA final estilo ticket */
.cierre { padding: 0 0 90px; }
.ticket {
  max-width: 640px; margin: 0 auto; background: var(--blanco); border-radius: 6px;
  box-shadow: var(--sombra); padding: 40px 36px 34px; text-align: center; position: relative;
}
.ticket::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -11px; height: 12px;
  background: radial-gradient(circle at 12px 12px, transparent 8px, var(--blanco) 8.5px);
  background-size: 26px 12px;
}
.ticket .mono { font-family: "SF Mono", ui-monospace, Menlo, monospace; font-size: 12px; color: var(--tinta-suave); letter-spacing: .08em; text-transform: uppercase; }
.ticket h2 { margin: 10px 0 8px; }
.ticket p { color: var(--tinta-suave); margin-bottom: 22px; }
.ticket hr { border: none; border-top: 2px dashed var(--linea); margin: 18px 0; }

/* footer */
footer { background: var(--azul-tinta); color: #AFC2E8; padding: 40px 0 60px; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer a { color: #D7E2F8; text-decoration: none; }
footer a:hover { color: var(--verde); }
footer .cols { display: flex; gap: 46px; flex-wrap: wrap; }
footer h4 { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
footer li { list-style: none; margin-bottom: 7px; }

/* FAB WhatsApp */
.wa-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  background: #25D366; color: #fff; border-radius: 999px; width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(0,0,0,.3);
  transition: transform .15s ease;
}
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 30px; height: 30px; }

/* reveal on load */
.hero .kicker, .hero h1, .hero .sub, .hero .cta-row { animation: up .6s ease both; }
.hero h1 { animation-delay: .08s; } .hero .sub { animation-delay: .16s; } .hero .cta-row { animation-delay: .24s; }
@keyframes up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* móvil */
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 46px; padding-bottom: 72px; }
  .hero .shot { transform: none; }
  .dolores, .features { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; }
  .topbar nav .solo-desktop { display: none; }
  section { padding: 54px 0; }
  .numeros-grid { gap: 30px; }
}
