/* ============================================================
   em.pren.do — Landing pages (web)
   Homepage + 8 product pages. Reutiliza tokens de
   colors_and_type.css. Self-contained: incluye el chrome
   de mockup de la app.
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-sans);
  color: var(--fg-1); background: var(--neutro-0);
  -webkit-font-smoothing: antialiased; line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0,34,34,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.nav .logo { height: 22px; }
.nav .links { display: flex; gap: 26px; margin-left: auto; }
.nav .links a { color: rgba(255,255,255,0.74); font-size: 14px; font-weight: 600; }
.nav .links a:hover { color: #fff; }
.nav .navcta {
  background: var(--sol-500); color: var(--tinta-900); font-weight: 800; font-size: 14px;
  padding: 10px 18px; border-radius: 10px; white-space: nowrap;
}
.nav .navcta:hover { background: var(--sol-400); }
.nav .menubtn { display: none; margin-left: auto; background: none; border: 0; color: #fff; cursor: pointer; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-weight: 800; font-size: 15px; padding: 14px 24px; border-radius: 12px;
  border: 0; transition: transform .12s ease, background .15s ease; font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; stroke-width: 2.5; }
.btn--sol { background: var(--sol-500); color: var(--tinta-900); }
.btn--sol:hover { background: var(--sol-400); }
.btn--ink { background: var(--tinta-900); color: #fff; }
.btn--ink:hover { background: var(--tinta-800); }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.28); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.6); }
.btn--ghost-ink { background: transparent; color: var(--tinta-900); box-shadow: inset 0 0 0 1.5px var(--linea); }
.btn--ghost-ink:hover { box-shadow: inset 0 0 0 1.5px var(--tinta-400); }

/* ============================================================
   TYPO HELPERS
   ============================================================ */
.eyebrow { font-weight: 800; font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sol-600); }
.eyebrow--onink { color: var(--sol-500); }
.amber { color: var(--sol-500); }
.h-sec { font-weight: 900; font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.025em; line-height: 1.02; margin: 14px 0 0; color: var(--tinta-900); }
.sec-lead { font-size: 18px; line-height: 1.6; color: var(--fg-2); margin: 16px 0 0; max-width: 62ch; }
.dotgrid { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(currentColor 1.1px, transparent 1.1px); background-size: 24px 24px; opacity: 0.06; }

/* ============================================================
   HERO (tinta full-bleed)
   ============================================================ */
.hero { position: relative; background: var(--tinta-900); color: #fff; overflow: hidden; }
.hero .ring { position: absolute; border-radius: 50%; border: 2px solid rgba(246,177,52,0.16); }
.hero .wrap { position: relative; padding: 86px 28px 92px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center; }
.hero h1 { font-weight: 900; letter-spacing: -0.03em; line-height: 0.99; margin: 18px 0 0; color: #fff; font-size: clamp(40px, 5.4vw, 68px); }
.hero h1 .amber { color: var(--sol-500); }
.hero .sub { margin: 22px 0 0; font-size: 19px; line-height: 1.55; color: rgba(255,255,255,0.8); max-width: 54ch; }
.hero .actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero .micro { margin-top: 18px; font-size: 13.5px; color: rgba(255,255,255,0.55); font-weight: 600; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; }
.hero-badge .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--sol-500); color: var(--tinta-900); display: grid; place-items: center; }
.hero-badge .ic svg { width: 25px; height: 25px; }

/* hero visual (mockup flotante) */
.hero-visual { position: relative; }
.hero-visual .float { box-shadow: 0 30px 70px rgba(0,0,0,0.42); border-radius: 14px; transform: rotate(-1deg); }
.hero-visual .chip-float {
  position: absolute; background: #fff; border-radius: 12px; box-shadow: 0 14px 30px rgba(0,0,0,0.22);
  padding: 12px 15px; display: flex; align-items: center; gap: 11px;
}
.hero-visual .chip-float .ci { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: 0 0 auto; }
.hero-visual .chip-float .ct { font-weight: 900; font-size: 16px; color: var(--tinta-900); line-height: 1; }
.hero-visual .chip-float .cl { font-size: 11px; color: var(--fg-3); font-weight: 700; margin-top: 2px; }

/* hero stats */
.hero-stats { display: flex; gap: 40px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.14); }
.hero-stats .v { font-weight: 900; font-size: 34px; letter-spacing: -0.02em; line-height: 1; }
.hero-stats .v.amber { color: var(--sol-500); }
.hero-stats .l { font-size: 13px; color: rgba(255,255,255,0.6); font-weight: 700; margin-top: 6px; }

/* ============================================================
   STAT / LOGOS STRIP
   ============================================================ */
.strip { background: var(--tinta-950); color: #fff; }
.strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 28px; flex-wrap: wrap; }
.strip .item { display: flex; align-items: center; gap: 12px; }
.strip .item svg { width: 22px; height: 22px; color: var(--sol-500); stroke-width: 2; }
.strip .item b { font-weight: 800; font-size: 15px; }
.strip .item span { color: rgba(255,255,255,0.6); font-size: 13.5px; font-weight: 600; }

/* ============================================================
   PROBLEM
   ============================================================ */
.prob-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 44px; }
.prob-card { border-top: 3px solid var(--alerta-500); padding-top: 18px; }
.prob-card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--alerta-100); color: var(--alerta-700); display: grid; place-items: center; margin-bottom: 16px; }
.prob-card h3 { font-weight: 900; font-size: 22px; color: var(--tinta-900); margin: 0 0 8px; letter-spacing: -0.01em; }
.prob-card p { font-size: 15px; line-height: 1.55; color: var(--fg-2); margin: 0; }

/* ============================================================
   MODULE GRID (homepage)
   ============================================================ */
.mod-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 46px; }
.mod-card {
  position: relative; display: flex; flex-direction: column; background: var(--neutro-0);
  border: 1px solid var(--linea-suave); border-radius: 18px; padding: 24px; overflow: hidden;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.mod-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--tinta-200); }
.mod-card .num { position: absolute; right: 18px; top: 14px; font-weight: 900; font-size: 13px; color: var(--neutro-300); font-variant-numeric: tabular-nums; }
.mod-card .ic { width: 50px; height: 50px; border-radius: 13px; background: var(--tinta-900); color: var(--sol-500); display: grid; place-items: center; margin-bottom: 16px; }
.mod-card .ic svg { width: 26px; height: 26px; stroke-width: 2; }
.mod-card .cat { font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--sol-700); }
.mod-card h3 { font-weight: 900; font-size: 21px; color: var(--tinta-900); margin: 5px 0 8px; letter-spacing: -0.015em; }
.mod-card p { font-size: 14px; line-height: 1.5; color: var(--fg-2); margin: 0 0 18px; flex: 1; }
.mod-card .go { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: 14px; color: var(--tinta-900); }
.mod-card .go svg { width: 16px; height: 16px; transition: transform .14s ease; }
.mod-card:hover .go svg { transform: translateX(3px); }

/* ============================================================
   PILLARS (el beneficio)
   ============================================================ */
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; margin-top: 44px; }
.pillar { border-top: 3px solid var(--sol-500); padding-top: 18px; }
.pillar .pv { font-weight: 900; font-size: 40px; letter-spacing: -0.03em; color: var(--tinta-900); line-height: 1; }
.pillar .ph { font-weight: 800; font-size: 17px; color: var(--tinta-900); margin: 12px 0 6px; letter-spacing: -0.01em; }
.pillar .pp { font-size: 14.5px; line-height: 1.55; color: var(--fg-2); margin: 0; }

/* ============================================================
   FEATURE ROWS
   ============================================================ */
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feat + .feat { margin-top: 96px; }
.feat.rev .feat-media { order: 2; }
.feat--swap .feat-copy { order: 2; }
.feat .eyebrow { margin-bottom: 14px; }
.feat h3 { font-weight: 900; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.02em; line-height: 1.06; color: var(--tinta-900); margin: 0 0 14px; }
.feat p { font-size: 16.5px; line-height: 1.6; color: var(--fg-2); margin: 0 0 18px; }
.feat ul { margin: 0; padding: 0; list-style: none; }
.feat li { display: flex; gap: 11px; padding: 8px 0; font-size: 15.5px; line-height: 1.4; color: var(--tinta-800); border-bottom: 1px solid var(--linea-suave); }
.feat li:last-child { border-bottom: 0; }
.feat li svg { width: 19px; height: 19px; color: var(--exito-500); flex: 0 0 auto; margin-top: 1px; stroke-width: 2.5; }
.feat-media .shadowed { box-shadow: var(--shadow-lg); border-radius: 14px; }
.feat-cap { display: flex; align-items: center; gap: 9px; margin-top: 14px; font-size: 13px; color: var(--fg-3); font-weight: 600; }
.feat-cap .nub { width: 20px; height: 1px; background: var(--linea); }

/* banda destacada */
.band {
  position: relative; overflow: hidden; margin-top: 40px;
  background: var(--tinta-900); border-radius: 20px; padding: 30px 34px;
  display: flex; align-items: center; gap: 22px; color: #fff;
}
.band .bic { position: relative; flex: 0 0 auto; width: 52px; height: 52px; border-radius: 13px; background: var(--sol-500); color: var(--tinta-900); display: grid; place-items: center; }
.band .bt { position: relative; }
.band .bt h4 { font-weight: 900; font-size: 21px; margin: 0 0 5px; letter-spacing: -0.01em; }
.band .bt p { font-size: 15px; line-height: 1.5; color: rgba(255,255,255,0.74); margin: 0; }

/* ============================================================
   INTEGRACIÓN (complementarios)
   ============================================================ */
.integ-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 40px; }
.integ-card { display: flex; gap: 14px; align-items: flex-start; background: var(--neutro-0); border: 1px solid var(--linea-suave); border-radius: 16px; padding: 20px; transition: border-color .14s, box-shadow .14s; }
.integ-card:hover { border-color: var(--tinta-200); box-shadow: var(--shadow-md); }
.integ-card .ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 11px; background: var(--tinta-900); color: var(--sol-500); display: grid; place-items: center; }
.integ-card .ic svg { width: 22px; height: 22px; }
.integ-card h4 { font-weight: 800; font-size: 16px; color: var(--tinta-900); margin: 0 0 4px; }
.integ-card p { font-size: 13.5px; line-height: 1.45; color: var(--fg-2); margin: 0 0 8px; }
.integ-card .go { font-weight: 800; font-size: 13px; color: var(--tinta-700); display: inline-flex; align-items: center; gap: 5px; }
.integ-card .go svg { width: 14px; height: 14px; }

/* ============================================================
   CTA + FORM
   ============================================================ */
.cta-sec { position: relative; overflow: hidden; background: var(--tinta-900); color: #fff; }
.cta-sec .ring { position: absolute; border-radius: 50%; border: 2px solid rgba(246,177,52,0.14); }
.cta-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cta-copy h2 { font-weight: 900; font-size: clamp(32px, 4vw, 50px); letter-spacing: -0.025em; line-height: 1.02; margin: 16px 0 0; color: #fff; }
.cta-copy h2 .amber { color: var(--sol-500); }
.cta-copy .lead { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.8); margin: 20px 0 0; }
.cta-steps { display: flex; flex-direction: column; gap: 4px; margin-top: 28px; }
.cta-step { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid rgba(255,255,255,0.12); }
.cta-step .n { font-weight: 900; font-size: 13px; color: var(--sol-500); width: 26px; flex: 0 0 auto; padding-top: 2px; }
.cta-step .h { font-weight: 800; font-size: 16px; color: #fff; }
.cta-step .p { font-size: 14px; color: rgba(255,255,255,0.68); margin-top: 2px; }

/* form card */
.form-card { background: #fff; color: var(--fg-1); border-radius: 22px; padding: 32px; box-shadow: 0 30px 70px rgba(0,0,0,0.34); }
.form-card .fh { font-weight: 900; font-size: 22px; letter-spacing: -0.015em; color: var(--tinta-900); }
.form-card .fsub { font-size: 14px; color: var(--fg-2); margin: 6px 0 22px; }
.field { margin-bottom: 15px; }
.field label { display: block; font-weight: 700; font-size: 13px; color: var(--tinta-800); margin-bottom: 6px; }
.field label .req { color: var(--sol-700); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--fg-1);
  padding: 12px 14px; border: 1.5px solid var(--linea); border-radius: 11px; background: var(--neutro-25);
  transition: border-color .14s, background .14s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sol-500); background: #fff; }
.field textarea { resize: vertical; min-height: 70px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-foot { margin-top: 14px; font-size: 12.5px; color: var(--fg-3); text-align: center; line-height: 1.45; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success .ic { width: 64px; height: 64px; border-radius: 50%; background: var(--exito-100); color: var(--exito-700); display: grid; place-items: center; margin: 0 auto 18px; }
.form-success .ic svg { width: 34px; height: 34px; stroke-width: 2.5; }
.form-success h3 { font-weight: 900; font-size: 24px; color: var(--tinta-900); margin: 0 0 8px; }
.form-success p { font-size: 15px; color: var(--fg-2); margin: 0; line-height: 1.5; }
.is-sent .form-body { display: none; }
.is-sent .form-success { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--tinta-950); color: rgba(255,255,255,0.7); }
.footer .wrap { padding: 64px 28px 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer .logo { height: 24px; margin-bottom: 16px; }
.footer .blurb { font-size: 14.5px; line-height: 1.6; max-width: 34ch; color: rgba(255,255,255,0.6); }
.footer h5 { font-weight: 800; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin: 0 0 14px; }
.footer .fcol a { display: block; font-size: 14.5px; padding: 5px 0; color: rgba(255,255,255,0.72); }
.footer .fcol a:hover { color: var(--sol-400); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); flex-wrap: wrap; }
.footer-bottom .wm { font-weight: 800; color: #fff; }
.footer-bottom .contact { display: flex; gap: 22px; font-size: 13.5px; font-weight: 600; }
.footer-bottom .contact a { display: inline-flex; align-items: center; gap: 7px; }
.footer-bottom .contact svg { width: 15px; height: 15px; color: var(--sol-500); }

/* ============================================================
   MOCKUP — chrome de la app (copiado de propuesta.css)
   ============================================================ */
.app { border: 1px solid var(--app-divider); border-radius: 12px; overflow: hidden; background: var(--app-page-bg); box-shadow: var(--shadow-md); display: grid; grid-template-columns: 168px 1fr; font-size: 12px; }
.app--sm { grid-template-columns: 56px 1fr; }
.app-side { background: var(--app-nav-bg); color: #fff; padding: 12px 0; }
.app-side .brand { display: flex; align-items: center; gap: 8px; padding: 0 14px 14px; }
.app-side .brand .dot { width: 22px; height: 22px; border-radius: 6px; background: var(--sol-500); flex: 0 0 auto; }
.app-side .brand b { font-size: 12px; font-weight: 800; letter-spacing: -0.01em; }
.app-nav-i { display: flex; align-items: center; gap: 9px; padding: 7px 14px; color: rgba(255,255,255,0.7); font-weight: 600; }
.app-nav-i svg { width: 15px; height: 15px; stroke-width: 2; }
.app-nav-i.active { background: rgba(255,255,255,0.10); color: #fff; box-shadow: inset 3px 0 0 var(--sol-500); }
.app-main { background: #fff; min-height: 100%; }
.app-top { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--app-divider); background: #fff; }
.app-top .title { font-weight: 800; font-size: 14px; color: var(--app-text); letter-spacing: -0.01em; }
.app-top .crumb { font-size: 10.5px; color: var(--app-text-3); font-weight: 600; }
.app-top .btn { font-size: 11px; font-weight: 700; color: #fff; background: var(--tinta-900); padding: 6px 12px; border-radius: 8px; }
.app-content { padding: 14px 16px; }
.mk-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mk-kpi { border: 1px solid var(--app-divider); border-radius: 9px; padding: 10px 11px; background: #fff; }
.mk-kpi .l { font-size: 10px; color: var(--app-text-3); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.mk-kpi .v { font-weight: 900; font-size: 19px; color: var(--tinta-900); letter-spacing: -0.02em; margin-top: 3px; font-variant-numeric: tabular-nums; }
.mk-kpi .d { font-size: 10.5px; font-weight: 700; margin-top: 2px; }
.mk-kpi .d.up { color: var(--exito-500); }
.mk-kpi .d.down { color: var(--error-500); }
.mk-bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; padding-top: 8px; }
.mk-bars .bar { flex: 1; background: var(--tinta-200); border-radius: 4px 4px 0 0; position: relative; }
.mk-bars .bar.hi { background: var(--sol-500); }
.mk-bars .bar.ink { background: var(--tinta-700); }
.mk-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.mk-table th { text-align: left; font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--app-text-3); font-weight: 700; padding: 7px 8px; border-bottom: 1px solid var(--app-divider); }
.mk-table td { padding: 8px; border-bottom: 1px solid var(--app-divider); color: var(--app-text); }
.mk-table td.r, .mk-table th.r { text-align: right; font-variant-numeric: tabular-nums; }
.mk-table tr:last-child td { border-bottom: none; }
.pill { display: inline-block; font-size: 9.5px; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.pill.paid { background: var(--exito-100); color: var(--exito-700); }
.pill.pend { background: var(--alerta-100); color: var(--alerta-700); }
.pill.late { background: var(--error-100); color: var(--error-700); }
.pill.info { background: var(--info-100); color: var(--info-700); }
.shot-cap { display: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .section { padding: 64px 0; }
  .hero-grid, .feat, .cta-grid { grid-template-columns: 1fr; gap: 36px; }
  .feat.rev .feat-media { order: 0; }
  .feat--swap .feat-copy { order: 0; }
  .hero-visual { max-width: 520px; }
  .prob-grid, .mod-grid, .pillars, .integ-grid { grid-template-columns: 1fr 1fr; }
  .nav .links { display: none; }
  .nav .menubtn { display: block; }
  .nav .navcta { margin-left: 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .prob-grid, .mod-grid, .pillars, .integ-grid, .field-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; flex-wrap: wrap; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .band { flex-direction: column; align-items: flex-start; }
  .app { grid-template-columns: 52px 1fr; }
  .app-side .brand b { display: none; }
  .mk-kpis { grid-template-columns: 1fr 1fr; }
}
