/* iPrint — sitio de presentación. Misma marca que la app: Poppins, negro
   #111113 y la franja CMYK (cian, magenta, amarillo) del isotipo. */
:root {
  --c: #0191fc;
  --m: #ec206f;
  --y: #fdcf34;
  --ink: #111113;
  --ink-2: #1c1c1f;
  --ink-line: #2e2e33;
  --bg: #ffffff;
  --bg-alt: #f4f4f5;
  --line: #e4e4e7;
  --text: #0a0a0a;
  --text-2: #52525b;
  --text-3: #71717a;
  --on-dark: #f5f5f7;
  --on-dark-2: #a1a1aa;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 12px 32px -8px rgba(0,0,0,.18);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.08), 0 30px 60px -12px rgba(0,0,0,.35);
  --cmyk: linear-gradient(90deg, var(--c) 0 33.33%, var(--m) 33.33% 66.66%, var(--y) 66.66% 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
figure { margin: 0; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }

.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 15px; line-height: 1;
  padding: 12px 18px; border-radius: 10px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, .nav-toggle:focus-visible, summary:focus-visible { outline: 3px solid var(--c); outline-offset: 2px; }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn-lg { padding: 15px 22px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-brand { background: var(--c); color: #fff; box-shadow: 0 8px 24px -8px rgba(1,145,252,.7); }
.btn-brand:hover { background: #0a84e6; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #ececef; }
.btn-ghost-light { background: rgba(255,255,255,.04); color: var(--on-dark); border-color: var(--ink-line); }
.btn-ghost-light:hover { border-color: #55555c; background: rgba(255,255,255,.08); }

/* ---------- Navegación ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(17,17,19,.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: var(--on-dark);
}
.nav::before { content: ""; display: block; height: 3px; background: var(--cmyk); }
.nav-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; text-decoration: none; color: var(--on-dark); letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 4px; margin-left: 16px; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--on-dark-2); padding: 8px 12px; border-radius: 8px; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--ink-line); background: transparent; cursor: pointer; padding: 0; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--on-dark); border-radius: 2px; transition: transform .2s ease, top .2s ease; }
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(800px 420px at 85% 10%, rgba(1,145,252,.20), transparent 60%),
    radial-gradient(600px 380px at 100% 90%, rgba(236,32,111,.14), transparent 60%),
    var(--ink);
  color: var(--on-dark);
  padding: 72px 0 0;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; padding-bottom: 88px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--on-dark-2); padding: 6px 14px 6px 10px; border: 1px solid var(--ink-line); border-radius: 999px; background: rgba(255,255,255,.03); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 10px 0 0 var(--m), 20px 0 0 var(--y); margin-right: 20px; }
.hero h1 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 800; margin: 22px 0 20px; }
.hl { background: linear-gradient(90deg, var(--c), #7cc6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--on-dark-2); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-actions.center { justify-content: center; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--on-dark-2); }
.hero-points li { display: flex; align-items: center; gap: 6px; }
.hero-points .ic { width: 16px; height: 16px; color: #34d399; }

.hero-shot { position: relative; padding-bottom: 40px; }
.hero-shot .browser { transform: perspective(1800px) rotateY(-8deg) rotateX(2deg); transform-origin: left center; }
.phone-hero { position: absolute; width: 27%; left: -7%; bottom: 0; }

/* ---------- Marcos de capturas ---------- */
.browser { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #1c1c1f; border-bottom: 1px solid #2e2e33; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a40; }
.browser-bar i:nth-child(1) { background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span { flex: 1; text-align: center; font-size: 12px; color: #8a8a95; margin-right: 46px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phone { border-radius: 30px; padding: 7px; background: #0a0a0c; box-shadow: var(--shadow-lg), inset 0 0 0 1px #2e2e33; }
.phone img { border-radius: 24px; }

/* ---------- Franja CMYK ---------- */
.cmyk { height: 6px; background: var(--cmyk); }

/* ---------- Secciones ---------- */
.section { padding: 104px 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--ink); color: var(--on-dark); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c); margin-bottom: 12px; }
.h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; max-width: 760px; }
.h2.center { margin: 0 auto; }

/* Dolores */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.pain { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; display: flex; flex-direction: column; }
.pain h3 { font-size: 19px; margin: 18px 0 10px; }
.pain p { color: var(--text-2); font-size: 15px; }
.pain .fix { margin-top: auto; padding-top: 18px; color: var(--text); font-weight: 600; display: flex; gap: 8px; }
.pain .fix .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--c); }
.pain-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; }
.pain-ic .ic { width: 22px; height: 22px; }
.pain-ic.c { background: rgba(1,145,252,.1); color: var(--c); }
.pain-ic.m { background: rgba(236,32,111,.1); color: var(--m); }
.pain-ic.y { background: rgba(253,207,52,.22); color: #a57800; }

/* Funciones */
.feature { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); gap: 64px; align-items: center; }
.feature + .feature { margin-top: 120px; }
.feature.reverse { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); }
.feature.reverse .feature-copy { order: 2; }
.feature-copy > p:not(.kicker) { color: var(--text-2); font-size: 17px; margin-top: 18px; }
.section.dark .feature-copy > p:not(.kicker) { color: var(--on-dark-2); }
.feature-shot { box-shadow: var(--shadow); border-color: var(--line); }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; font-size: 15px; color: var(--text); }
.checks .ic { width: 18px; height: 18px; margin-top: 3px; color: #fff; background: var(--c); border-radius: 50%; padding: 3px; stroke-width: 3; }

/* Módulos */
.mod-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 48px; }
.mod { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform .15s ease, box-shadow .15s ease; }
.mod:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.mod > .ic { width: 38px; height: 38px; padding: 8px; border-radius: 10px; background: var(--ink); color: #fff; }
.mod:nth-child(3n+1) > .ic { color: #6ec0ff; }
.mod:nth-child(3n+2) > .ic { color: #ff6fa4; }
.mod:nth-child(3n) > .ic { color: var(--y); }
.mod h3 { font-size: 16px; margin: 16px 0 6px; }
.mod p { font-size: 14px; color: var(--text-2); line-height: 1.5; }

/* Móvil */
.mobile-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.phones { display: flex; justify-content: center; align-items: flex-start; gap: 24px; }
.phones .phone { width: min(260px, 44%); }
.phones .offset { margin-top: 64px; }

/* Pasos */
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 28px 24px; border: 1px solid var(--ink-line); border-radius: var(--radius); background: var(--ink-2); }
.steps li > .ic { width: 26px; height: 26px; color: var(--c); }
.steps li:nth-child(2) > .ic { color: var(--m); }
.steps li:nth-child(3) > .ic { color: var(--y); }
.steps li:nth-child(4) > .ic { color: #fff; }
.step-n { position: absolute; top: 20px; right: 22px; font-size: 44px; font-weight: 800; line-height: 1; color: #2a2a2f; }
.steps h3 { font-size: 18px; margin: 18px 0 8px; }
.steps p { font-size: 14.5px; color: var(--on-dark-2); }
.steps b { color: var(--on-dark); font-weight: 600; word-break: break-word; }

/* Precio */
.price-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 64px; align-items: center; }
.trust { display: grid; gap: 16px; margin-top: 32px; }
.trust > div { display: flex; gap: 14px; font-size: 15px; color: var(--text-2); }
.trust .ic { width: 22px; height: 22px; color: var(--c); margin-top: 2px; }
.trust b { color: var(--text); }
.plan { position: relative; border-radius: 20px; padding: 36px; background: var(--ink); color: var(--on-dark); box-shadow: var(--shadow-lg); overflow: hidden; }
.plan::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--cmyk); }
.plan-name { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2); }
.plan-price { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; margin-top: 8px; line-height: 1.1; }
.plan-price small { font-size: 16px; font-weight: 500; color: var(--on-dark-2); letter-spacing: 0; }
.plan-price.ask { font-size: 30px; }
.plan-note { font-size: 14px; color: var(--on-dark-2); margin-top: 6px; min-height: 1em; }
.plan .checks { margin: 26px 0 30px; padding-top: 26px; border-top: 1px solid var(--ink-line); }
.plan .checks li { color: var(--on-dark); }
.plan-demo { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; font-size: 14px; color: var(--on-dark-2); text-decoration: none; }
.plan-demo:hover { color: #fff; }
.plan-demo .ic { width: 16px; height: 16px; }

/* Preguntas */
.faq { margin-top: 44px; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 600; font-size: 16px; position: relative; border-radius: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 22px 22px; color: var(--text-2); font-size: 15px; }

/* CTA final */
.final { position: relative; background: radial-gradient(700px 360px at 50% 0%, rgba(1,145,252,.22), transparent 70%), var(--ink); color: var(--on-dark); }
.final-inner { text-align: center; padding: 104px 24px; display: flex; flex-direction: column; align-items: center; }
.final h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; margin-top: 26px; max-width: 720px; }
.final p { color: var(--on-dark-2); font-size: 18px; margin-top: 16px; max-width: 560px; }

/* Pie */
.footer { background: #0a0a0c; color: var(--on-dark-2); font-size: 14px; }
.footer-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; }
.footer .brand { font-size: 17px; }
.footer .muted { margin-left: auto; color: #6b6b73; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .mod-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; margin: 0; padding: 8px 16px 16px;
    background: rgba(17,17,19,.98); border-bottom: 1px solid var(--ink-line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 8px; font-size: 16px; border-bottom: 1px solid #1f1f23; border-radius: 0; }
  .hero { padding-top: 48px; }
  .feature.reverse,
  .hero-grid, .feature, .mobile-grid, .price-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-grid { padding-bottom: 56px; }
  .hero-shot .browser { transform: none; }
  .phone-hero { width: 30%; left: auto; right: -2%; }
  .feature.reverse .feature-copy { order: 0; }
  .feature + .feature { margin-top: 88px; }
  .mobile-grid .phones { order: 2; }
  .pain-grid { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 80px 0; }
}
@media (max-width: 600px) {
  /* Solo los lados: .final-inner y .footer-row también son .wrap y
     tienen su propio relleno arriba y abajo. */
  .wrap { padding-left: 16px; padding-right: 16px; }
  .final-inner { padding-top: 80px; padding-bottom: 80px; }
  .footer-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .nav-row { gap: 12px; }
  .hide-sm { display: none; }
  .lead { font-size: 16.5px; }
  .hero-actions .btn { width: 100%; }
  .mod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .mod { padding: 16px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .plan { padding: 28px 22px; }
  .browser-bar { height: 26px; }
  .browser-bar i { width: 8px; height: 8px; }
  .browser-bar span { font-size: 11px; }
  .phone { border-radius: 22px; padding: 5px; }
  .phone img { border-radius: 18px; }
  .footer .muted { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .mod, .nav-toggle span { transition: none; }
}
