/* ════════════════════════════════════════════════════════════════
   Recopila — sistema de diseño
   Paleta: verde tinta + neutros cálidos. Tipos: Fraunces / Manrope.
   ════════════════════════════════════════════════════════════════ */

:root {
  --paper: #f6f5f1;
  --surface: #ffffff;
  --ink: #161a1d;
  --ink2: #3f4a54;
  --muted: #7c8794;
  --line: #e7e5dd;
  --line2: #d9d6cc;

  --brand: #0f5c49;
  --brand-h: #0b4a3a;
  --brand-soft: #e9f2ee;
  --brand-ink: #0a3d31;

  --ok: #1f7a4d;     --ok-bg: #e8f4ed;
  --warn: #9a6210;   --warn-bg: #fbf3e4;
  --bad: #b3361e;    --bad-bg: #fbece8;
  --neutral-bg: #efeee9;
  --amber: #b87c21;  --amber-soft: #f6ecd9;

  --side: #11201b;
  --side-text: #a7b5ae;
  --side-dim: #5f7068;
  --side-active: #1d3429;

  --shadow-sm: 0 1px 2px rgba(22, 26, 29, .05);
  --shadow-md: 0 10px 30px -12px rgba(22, 26, 29, .16);
  --shadow-lg: 0 24px 60px -24px rgba(22, 26, 29, .28);

  --r: 14px;
  --r-sm: 10px;

  --font-ui: "Manrope", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--font-ui); font-size: 15px; line-height: 1.55; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { letter-spacing: -0.015em; line-height: 1.2; }
::selection { background: #cfe5dc; }
.muted { color: var(--muted); font-size: 13px; }
.ico { width: 18px; height: 18px; flex-shrink: 0; vertical-align: -3.5px; }

/* cifras tabulares: alinean columnas de números y fechas como un libro de cuentas */
.stat-n, .price, .ring span, .shot-stats em, .table td, .badge, .kpi-n, .bill-amount { font-variant-numeric: tabular-nums lining-nums; }

/* scrollbar discreta y de marca */
* { scrollbar-width: thin; scrollbar-color: var(--line2) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #d7d4c9; border-radius: 8px; border: 2px solid var(--paper); }
::-webkit-scrollbar-thumb:hover { background: #c2bfb2; }

/* enlace para saltar al contenido (accesibilidad) */
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 200; font-weight: 700; }
.skip-link:focus { left: 8px; text-decoration: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ───────────── logo ───────────── */
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: #fff; }
.logo-dark { color: var(--ink); }
.logo svg { width: 26px; height: 26px; }

/* ───────────── botones ───────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: var(--r-sm);
  padding: 9px 18px; font-size: 14px; font-weight: 700; font-family: var(--font-ui);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .12s cubic-bezier(.16,1,.3,1), box-shadow .2s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-h); box-shadow: 0 9px 22px -9px rgba(15,92,73,.55), inset 0 1px 0 rgba(255,255,255,.14); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line2); }
.btn-ghost:hover { border-color: #b9b5a8; background: #fcfcfa; }
.btn-danger { background: var(--surface); color: var(--bad); border-color: #ecc8bf; }
.btn-danger:hover { background: var(--bad-bg); }
.btn-sm { padding: 5px 12px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 13px 26px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-link { background: none; border: none; color: var(--brand); cursor: pointer; font-size: 13px; font-weight: 600; font-family: var(--font-ui); padding: 0; }
.btn-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.btn-link-dim { color: var(--side-dim); }
.btn-link-dim:hover { color: var(--side-text); }

/* ───────────── badges ───────────── */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.b-green { background: var(--ok-bg); color: var(--ok); }
.b-amber { background: var(--warn-bg); color: var(--warn); }
.b-red { background: var(--bad-bg); color: var(--bad); }
.b-gray { background: var(--neutral-bg); color: var(--muted); }

/* ───────────── avatares ───────────── */
.av { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex-shrink: 0; letter-spacing: .02em; }
.av-0 { background: #e3edf6; color: #2c5a82; }
.av-1 { background: #efe7f4; color: #6b3d85; }
.av-2 { background: #e9f2ee; color: #0f5c49; }
.av-3 { background: #fbf3e4; color: #9a6210; }
.av-4 { background: #fbece8; color: #b3361e; }
.av-5 { background: #ebeaf6; color: #45459c; }

/* ───────────── tarjetas / tablas ───────────── */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.card-title { font-size: 15px; font-weight: 800; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.card-flush { padding: 0; overflow-x: auto; }
.card-flush .table { min-width: 620px; }
.card-flush .table td:first-child, .card-flush .table th:first-child { padding-left: 22px; }
.card-flush .table td:last-child, .card-flush .table th:last-child { padding-right: 22px; }

.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 12px 10px; border-bottom: 1px solid var(--line); background: #fbfaf7; }
.table td { padding: 14px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tbody tr { transition: background .12s; }
.table tbody tr:hover { background: #fbfaf7; }
.table tr:last-child td { border-bottom: none; }
.row-dim { opacity: .55; }
.td-actions { white-space: nowrap; text-align: right; }
.td-actions form { display: inline; }
.cell-person { display: flex; align-items: center; gap: 12px; }
.cell-person b { display: block; line-height: 1.25; }

/* ───────────── stats ───────────── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 6px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.stat-n { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.stat-n.stat-warn { color: var(--warn); }
.stat-l { color: var(--muted); font-size: 13px; font-weight: 600; margin-top: 2px; }

/* ───────────── progreso ───────────── */
.progress { height: 7px; background: var(--neutral-bg); border-radius: 99px; overflow: hidden; margin-bottom: 5px; }
.progress i { display: block; height: 100%; background: var(--brand); border-radius: 99px; transition: width .4s ease; }
.progress.p-done i { background: var(--ok); }
.w-prog { min-width: 170px; }

.ring { --p: 0; width: 84px; height: 84px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(var(--brand) calc(var(--p) * 1%), var(--neutral-bg) 0);
  display: flex; align-items: center; justify-content: center; position: relative; }
.ring::before { content: ""; position: absolute; inset: 9px; background: var(--surface); border-radius: 50%; }
.ring span { position: relative; font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }

/* ───────────── formularios ───────────── */
.field { margin-bottom: 15px; }
.field label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 6px; color: var(--ink2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 13px; border: 1px solid var(--line2); border-radius: var(--r-sm);
  font-size: 14px; font-family: var(--font-ui); background: #fff; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b9b5a8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15, 92, 73, .12); }
.field .muted { display: block; margin-top: 5px; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 16px; }
.check { display: block; padding: 7px 0; cursor: pointer; font-size: 14px; }
.check input { accent-color: var(--brand); margin-right: 6px; }
.check-all { border-bottom: 1px solid var(--line); margin-bottom: 8px; padding-bottom: 11px; }
.checks { max-height: 270px; overflow-y: auto; }
.sep { border: none; border-top: 1px solid var(--line); margin: 18px 0; }

.search { position: relative; }
.search input { width: 240px; padding: 8px 12px 8px 36px; border: 1px solid var(--line2); border-radius: var(--r-sm); font-size: 14px; font-family: var(--font-ui); background: var(--surface); }
.search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15, 92, 73, .12); }
.search .ico { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted); }

/* ───────────── toasts / avisos ───────────── */
.toasts { position: fixed; top: 18px; right: 18px; z-index: 60; display: flex; flex-direction: column; gap: 10px; max-width: 420px; }
.toast { display: flex; gap: 10px; align-items: flex-start; background: var(--ink); color: #f4f4f2; padding: 13px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg); animation: toast-in .25s ease; }
.toast .ico { margin-top: 1px; }
.toast-ok .ico { color: #6fcf9b; }
.toast-err { background: #3c1710; }
.toast-err .ico { color: #f1937c; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.toast.bye { opacity: 0; transform: translateY(-8px); transition: opacity .3s, transform .3s; }

.note { display: flex; gap: 10px; padding: 13px 16px; border-radius: var(--r-sm); margin-bottom: 16px; font-size: 14px; }
.note .ico { margin-top: 2px; }
.note-warn { background: var(--warn-bg); color: var(--warn); border: 1px solid #efd9ad; }
.note-ok { background: var(--ok-bg); color: var(--ok); border: 1px solid #bfe0cd; }

/* ───────────── layout app ───────────── */
.appbody { min-height: 100vh; }
.app { display: flex; min-height: 100vh; }
.sidebar { width: 244px; flex-shrink: 0; background: var(--side); color: var(--side-text); padding: 22px 14px 18px; display: flex; flex-direction: column; gap: 26px; position: sticky; top: 0; height: 100vh; }
.sidebar nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.nav-item { display: flex; align-items: center; gap: 11px; color: var(--side-text); padding: 9px 12px; border-radius: 9px; font-weight: 700; font-size: 14px; transition: background .12s, color .12s; }
.nav-item .ico { opacity: .75; }
.nav-item:hover { color: #fff; text-decoration: none; background: rgba(255, 255, 255, .05); }
.nav-item.active { color: #fff; background: var(--side-active); }
.nav-item.active .ico { opacity: 1; color: #7fcfae; }
.side-trial { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; padding: 13px 14px; font-size: 13px; margin-bottom: 14px; }
.side-trial b { color: #fff; }
.side-trial a { color: #8fd8b8; font-weight: 700; }
.side-trial.side-pro { display: flex; align-items: center; gap: 7px; color: #b9efd3; flex-wrap: wrap; }
.side-trial.side-pro .ico { width: 16px; height: 16px; color: #7fcfae; }
.side-trial.side-end { background: rgba(214, 158, 74, .12); border-color: rgba(214, 158, 74, .3); }
.sidebar-foot { font-size: 13px; }
.sidebar-user { color: #dee5e1; font-weight: 700; margin-bottom: 4px; word-break: break-word; }

main { flex: 1; min-width: 0; padding: 30px 40px 70px; max-width: 1140px; }
.topline { font-size: 13px; color: var(--muted); font-weight: 600; }
.page-title { font-size: 25px; font-weight: 800; margin: 4px 0 24px; }
.section-title { font-size: 16px; font-weight: 800; margin: 30px 0 12px; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 30px 0 12px; flex-wrap: wrap; }
.section-head .section-title { margin: 0; }
.head-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* ───────────── vacíos / onboarding ───────────── */
.empty { text-align: center; padding: 46px 24px; }
.empty svg { width: 64px; height: 64px; color: var(--line2); margin-bottom: 12px; }
.empty h3 { font-size: 16px; margin-bottom: 4px; }
.empty p { color: var(--muted); font-size: 14px; max-width: 380px; margin: 0 auto 16px; }

.onb { border: 1px solid #cfe2da; background: linear-gradient(180deg, #f2f8f5, #fff); }
.onb-step { display: flex; align-items: center; gap: 13px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.onb-step:last-child { border-bottom: none; }
.onb-dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line2); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; font-weight: 800; }
.onb-step.done .onb-dot { background: var(--ok); border-color: var(--ok); }
.onb-step.done .onb-t { text-decoration: line-through; color: var(--muted); }
.onb-t { font-weight: 700; font-size: 14px; flex: 1; }

/* ───────────── actividad ───────────── */
.feed { list-style: none; }
.feed li { display: flex; gap: 13px; padding: 11px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.feed li:last-child { border-bottom: none; }
.feed-ico { width: 32px; height: 32px; border-radius: 9px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feed-ico.f-mail { background: #eef0f7; color: #45459c; }
.feed b { font-weight: 700; }
.feed .muted { display: block; }

/* ───────────── detalle campaña ───────────── */
.camp-head { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.camp-head-info { flex: 1; min-width: 240px; }
.camp-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.camp-actions form { display: inline; }
.item-line { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; flex-wrap: wrap; }
.item-line:last-child { border-bottom: none; }
.item-files { width: 100%; padding-left: 4px; display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: #fbfaf7; border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; font-size: 13px; font-weight: 600; color: var(--ink2); }
.chip:hover { text-decoration: none; border-color: var(--line2); background: #f5f4ef; }
.chip .ico { width: 14px; height: 14px; color: var(--muted); }
details.fold summary { cursor: pointer; color: var(--brand); font-size: 13px; font-weight: 700; list-style: none; }
details.fold summary::before { content: "▸ "; }
details.fold[open] summary::before { content: "▾ "; }
.mail-body { white-space: pre-wrap; font-family: "Consolas", "SF Mono", monospace; font-size: 12.5px; color: var(--ink2); background: #fbfaf7; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px; margin-top: 10px; line-height: 1.6; }

/* ───────────── auth ───────────── */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: radial-gradient(1100px 500px at 50% -10%, #ebf1ee, var(--paper)); }
.auth-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 38px; width: 100%; max-width: 410px; box-shadow: var(--shadow-md); }
.auth-card h2 { text-align: center; margin: 18px 0 22px; font-size: 21px; }
.auth-alt { text-align: center; margin-top: 18px; font-size: 14px; color: var(--muted); }

/* ───────────── portal cliente ───────────── */
.portalbody { background: var(--paper); }
.portal { max-width: 660px; margin: 0 auto; padding: 34px 18px 70px; }
.portal-head { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 28px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.portal-firm { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.portal-firm .av { width: 40px; height: 40px; font-size: 13px; background: var(--brand-soft); color: var(--brand-ink); }
.portal-firm b { font-size: 15px; }
.portal-firm .muted { display: block; }
.portal-head h1 { font-family: var(--font-display); font-weight: 600; font-size: 27px; margin-bottom: 6px; }
.portal-item { padding: 20px 22px; }
.portal-item-head { display: flex; gap: 11px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.portal-item-head h3 { font-size: 15.5px; font-weight: 800; }
.portal-files { list-style: none; margin: 2px 0 12px; display: flex; flex-direction: column; gap: 6px; }
.drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1.5px dashed var(--line2); border-radius: var(--r-sm); padding: 22px 16px; cursor: pointer; text-align: center; color: var(--muted); font-size: 13.5px; font-weight: 600; transition: border-color .15s, background .15s, color .15s; }
.drop:hover, .drop.over { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); }
.drop .ico { width: 22px; height: 22px; }
.drop input { display: none; }
.drop-sub { font-weight: 500; font-size: 12px; }
.portal-actions { margin-top: 10px; display: flex; gap: 14px; align-items: center; }
.portal-done { text-align: center; padding: 34px 20px 26px; }
.done-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; animation: pop .35s cubic-bezier(.34,1.56,.64,1); }
.done-ico .ico { width: 30px; height: 30px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.portal-foot { text-align: center; color: var(--muted); font-size: 12px; margin-top: 30px; line-height: 1.8; }
.portal-foot a { color: var(--muted); font-weight: 700; }

/* ───────────── landing ───────────── */
.land { max-width: 1020px; margin: 0 auto; padding: 0 24px; }
.land-nav { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; gap: 14px; }
.land-links { display: flex; gap: 26px; align-items: center; }
.land-links a { color: var(--ink2); font-weight: 700; font-size: 14px; }
.land-links a:hover { color: var(--ink); text-decoration: none; }
.land-cta { display: flex; gap: 10px; align-items: center; }

.hero { text-align: center; padding: 72px 0 30px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font-size: 13px; font-weight: 700; color: var(--ink2); margin-bottom: 26px; box-shadow: var(--shadow-sm); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.hero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 5.6vw, 58px); line-height: 1.08; letter-spacing: -0.01em; margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--brand); }
.hero-sub { font-size: 18px; color: var(--ink2); max-width: 600px; margin: 0 auto 32px; line-height: 1.6; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { font-size: 13px; color: var(--muted); margin-top: 14px; font-weight: 600; }

/* mockup de producto */
.shot-wrap { padding: 36px 0 26px; perspective: 1400px; }
.shot { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); max-width: 880px; margin: 0 auto; }
.shot-bar { display: flex; align-items: center; gap: 7px; background: #f1f0ea; border-bottom: 1px solid var(--line); padding: 11px 16px; }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ddd9cd; }
.shot-bar span { flex: 1; text-align: center; font-size: 11.5px; color: var(--muted); font-weight: 600; background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 3px 0; max-width: 280px; margin: 0 auto; }
.shot-body { display: flex; min-height: 360px; }
.shot-side { width: 168px; flex-shrink: 0; background: var(--side); padding: 16px 12px; display: none; }
.shot-logo { display: flex; align-items: center; gap: 7px; color: #fff; font-weight: 800; font-size: 13px; margin-bottom: 18px; }
.shot-logo i { width: 14px; height: 14px; border-radius: 4.5px; background: #2f9d78; }
.shot-nav b { display: block; color: var(--side-dim); font-size: 12px; font-weight: 700; padding: 7px 9px; border-radius: 7px; }
.shot-nav b.on { color: #fff; background: var(--side-active); }
.shot-main { flex: 1; padding: 22px 24px; }
.shot-title { font-weight: 800; font-size: 16px; margin-bottom: 4px; }
.shot-sub { font-size: 12px; color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.shot-stats { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.shot-stats div { background: #fbfaf7; border: 1px solid var(--line); border-radius: 10px; padding: 9px 14px; font-size: 11.5px; color: var(--muted); font-weight: 700; }
.shot-stats em { display: block; font-style: normal; font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.shot-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.shot-row:last-child { border-bottom: none; }
.shot-row > div { flex: 1; min-width: 0; }
.shot-row b { font-size: 13px; display: block; margin-bottom: 4px; }
.shot-row .av { width: 28px; height: 28px; font-size: 10px; }
.shot-row .progress { margin: 0; max-width: 190px; }
.shot-row .badge { font-size: 11px; padding: 2px 9px; }

@media (min-width: 760px) { .shot-side { display: block; } }

/* secciones landing */
.land section { padding: 54px 0; }
.land h2 { font-family: var(--font-display); font-weight: 600; text-align: center; font-size: clamp(26px, 3.6vw, 36px); margin-bottom: 10px; }
.sec-sub { text-align: center; color: var(--ink2); max-width: 560px; margin: 0 auto 36px; font-size: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow-sm); }
.quote p { font-family: var(--font-display); font-style: italic; font-size: 19px; line-height: 1.4; margin-bottom: 10px; }
.quote span { color: var(--muted); font-size: 13px; font-weight: 600; }

.step-card h3, .feat-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.step-card p, .feat-card p { color: var(--ink2); font-size: 14px; line-height: 1.6; }
.step-n { width: 36px; height: 36px; border-radius: 11px; background: var(--brand); color: #fff; font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.feat-ico { width: 38px; height: 38px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.feat-ico .ico { width: 19px; height: 19px; }

.pricing-grid { display: flex; justify-content: center; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 38px; max-width: 400px; width: 100%; text-align: center; box-shadow: var(--shadow-md); position: relative; }
.price-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--brand); border-radius: 20px 20px 0 0; }
.price { font-size: 52px; font-weight: 800; letter-spacing: -0.04em; font-family: var(--font-ui); }
.price span { font-size: 16px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.price-per { color: var(--muted); font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.price-card ul { list-style: none; text-align: left; margin: 0 0 24px; }
.price-card li { padding: 8px 0; color: var(--ink2); font-size: 14px; font-weight: 600; display: flex; gap: 10px; align-items: flex-start; }
.price-card li .ico { color: var(--ok); width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; }
.price-flag { display: inline-block; background: var(--warn-bg); color: var(--warn); border: 1px solid #efd9ad; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.price s { color: var(--muted); font-size: 28px; font-weight: 600; margin-right: 6px; text-decoration-thickness: 2px; }
.guarantee { display: flex; gap: 12px; align-items: flex-start; text-align: left; margin-top: 18px; padding: 16px; background: var(--brand-soft); border: 1px solid #cfe2da; border-radius: var(--r); }
.guarantee .ico { color: var(--brand); width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; }
.guarantee div { font-size: 13.5px; color: var(--brand-ink); line-height: 1.55; }

.faq { max-width: 660px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 15px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink2); margin-top: 10px; font-size: 14px; line-height: 1.65; }

.cta-band { background: var(--side); border-radius: 22px; padding: 56px 36px; text-align: center; color: #fff; margin: 30px 0 10px; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: var(--side-text); margin-bottom: 26px; font-size: 16px; }

.land-foot { border-top: 1px solid var(--line); margin-top: 50px; padding: 40px 0 50px; display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.land-foot .muted { line-height: 1.9; }
.foot-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.foot-col a { display: block; color: var(--ink2); font-size: 14px; font-weight: 600; padding: 3px 0; }

/* ── landing v2: refinamientos absorbidos del sistema de diseño ── */
.hero { position: relative; }
.hero-blob { position: absolute; top: -40px; right: -60px; width: 520px; height: 460px; z-index: -1;
  background: radial-gradient(closest-side, rgba(15,92,73,.14), rgba(15,92,73,0)); filter: blur(8px);
  border-bottom-left-radius: 120px; pointer-events: none; }
.hero-blob.left { left: -80px; right: auto; top: 120px; width: 420px; height: 380px;
  background: radial-gradient(closest-side, rgba(184,124,33,.10), rgba(184,124,33,0)); }

/* progreso ámbar para "a medias" */
.progress.p-amber i { background: var(--amber); }

/* mockup: cabecera con título + píldoras de stats */
.shot-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.shot-head .shot-title, .shot-head .shot-sub { margin-bottom: 2px; }
.shot-kpis { display: flex; gap: 8px; }
.shot-kpi { text-align: center; border: 1px solid var(--line); border-radius: 9px; padding: 6px 14px; background: #fbfaf7; }
.shot-kpi em { display: block; font-style: normal; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.shot-kpi-ok em { color: var(--ok); } .shot-kpi-mid em { color: var(--amber); } .shot-kpi-no em { color: var(--bad); }
.shot-kpi span { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* pasos con línea conectora */
.steps-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; position: relative; margin-top: 14px; }
.steps-flow::before { content: ""; position: absolute; top: 26px; left: 16%; right: 16%; height: 1px; background: var(--line2); z-index: 0; }
.step-col { text-align: center; position: relative; z-index: 1; }
.step-bubble { width: 52px; height: 52px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line2); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--brand); margin: 0 auto 16px; box-shadow: var(--shadow-sm); }
.step-col:last-child .step-bubble { background: var(--brand); border-color: var(--brand); color: #fff; }
.step-col h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.step-col p { color: var(--ink2); font-size: 14px; line-height: 1.6; max-width: 280px; margin: 0 auto; }

/* rejilla bento de features */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 188px; gap: 14px; }
.bento .card { margin: 0; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.bento .card h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.bento .card p { color: var(--ink2); font-size: 14px; line-height: 1.55; }
.bento .feat-ico { margin-bottom: auto; }
.b-hero { grid-column: span 2; grid-row: span 2; background: linear-gradient(180deg, #f2f8f5, #fff); }
.b-hero p { max-width: 30ch; }
.b-wide { grid-column: span 2; }
.bento-deco { position: absolute; right: -28px; bottom: -34px; color: var(--brand-soft); opacity: .9; pointer-events: none; }
.bento-deco svg { width: 168px; height: 168px; }

@media (max-width: 760px) {
  .steps-flow { grid-template-columns: 1fr; gap: 22px; }
  .steps-flow::before { display: none; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .b-hero, .b-wide { grid-column: span 1; grid-row: auto; }
  .bento .card { min-height: 150px; }
}

/* páginas legales */
.legal { max-width: 700px; margin: 0 auto; padding: 40px 24px 80px; }
.legal h1 { font-family: var(--font-display); font-weight: 600; font-size: 32px; margin: 24px 0 18px; }
.legal h2 { font-size: 18px; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--ink2); font-size: 15px; line-height: 1.7; margin-bottom: 10px; }
.legal ul { padding-left: 22px; }

/* ───────────── panel de administración ───────────── */
.nav-admin { margin-top: 6px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 12px !important; }
.table td.num, .table th.num { text-align: center; font-variant-numeric: tabular-nums; }
.dot-on, .dot-off { display: inline-block; width: 8px; height: 8px; border-radius: 50%; vertical-align: middle; margin-right: 4px; }
.dot-on { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-bg); }
.dot-off { background: var(--line2); }

/* ───────────── topbar con búsqueda ───────────── */
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; position: sticky; top: 0; z-index: 30; margin: -30px -40px 22px; padding: 16px 40px; background: rgba(246, 245, 241, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s ease, box-shadow .3s ease; }
.topsearch input { width: 280px; }
.search-page { margin-bottom: 18px; }
.search-page input { width: 100%; max-width: 480px; height: 44px; }

/* ───────────── cuenta / facturación ───────────── */
.grid-2col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; align-items: start; }
.grid-2col .card { margin: 0; }
.plan-badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; color: var(--brand); background: var(--brand-soft); border: 1px solid #cfe2da; padding: 8px 14px; border-radius: 999px; margin-bottom: 12px; }
.plan-badge.plan-pro { color: var(--ok); background: var(--ok-bg); border-color: #bfe0cd; }
.plan-badge.plan-end { color: var(--warn); background: var(--warn-bg); border-color: #efd9ad; }
.danger-zone { border-color: #ecc8bf; background: linear-gradient(180deg, #fdf6f4, #fff); }

/* suscripción / facturación */
.plan-state { background: linear-gradient(180deg, var(--brand-soft), var(--surface)); border-color: #cfe2da; }
.plan-state-pro { background: linear-gradient(180deg, var(--ok-bg), var(--surface)); border-color: #bfe0cd; }
.plan-state-end { background: linear-gradient(180deg, var(--warn-bg), var(--surface)); border-color: #efd9ad; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 18px; }
.plan-price b { font-family: var(--font-display); font-size: 38px; font-weight: 600; line-height: 1; color: var(--ink); }
.plan-price span { color: var(--muted); font-size: 13.5px; }
.plan-list { list-style: none; display: grid; gap: 10px; }
.plan-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--ink); }
.plan-list li .ico { color: var(--ok); width: 17px; height: 17px; margin-top: 2px; flex-shrink: 0; }
.plan-banner { display: flex; align-items: center; gap: 12px; background: var(--warn-bg); border: 1px solid #efd9ad; border-radius: var(--r); padding: 13px 16px; margin-bottom: 20px; font-size: 14px; color: #7a531a; }
.plan-banner .ico { color: var(--warn); width: 20px; height: 20px; flex-shrink: 0; }
.plan-banner span { flex: 1; }

/* enlace de cancelar: letra pequeña, sin resaltar */
.cancel-row { text-align: center; margin: 22px 0 4px; }
.cancel-link { font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.cancel-link:hover { color: var(--ink); }

/* pantalla de retención */
.retain { max-width: 660px; margin: 0 auto; }
.retain-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.retain-title { font-family: var(--font-display); font-weight: 600; font-size: 30px; line-height: 1.12; margin: 8px 0 14px; letter-spacing: -.3px; }
.retain-lead { font-size: 15.5px; color: var(--ink); line-height: 1.6; margin-bottom: 26px; }
.retain-sub { font-size: 13px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.lose-list { display: grid; gap: 12px; }
.lose-item { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.lose-ico { width: 34px; height: 34px; border-radius: 9px; background: var(--bad-bg); color: var(--bad); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lose-ico .ico { width: 18px; height: 18px; }
.lose-item b { font-size: 15px; }
.lose-item p { font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.55; }
.retain-offramp { display: flex; gap: 12px; align-items: flex-start; background: var(--brand-soft); border: 1px solid #cfe2da; border-radius: 14px; padding: 16px 18px; margin: 22px 0 26px; font-size: 13.5px; color: #2c3b35; line-height: 1.55; }
.retain-offramp .ico { color: var(--brand); width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.retain-keep { margin-top: 4px; box-shadow: 0 10px 26px rgba(15, 92, 73, .28); }
.retain-cancel-form { text-align: center; margin-top: 16px; }
.retain-cancel { background: none; border: none; cursor: pointer; font-family: inherit; font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; padding: 6px; }
.retain-cancel:hover { color: var(--bad); }

/* etiquetas / grupos de clientes */
.tag-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; border: 1px solid; font-size: 12px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.tag-chip.tag-sm { padding: 2px 8px; font-size: 11px; }
.tag-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.tag-list { display: inline-flex; flex-wrap: wrap; gap: 5px; }

.tagpick-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 10px; }
.tagpick { cursor: pointer; }
.tagpick input { position: absolute; opacity: 0; width: 0; height: 0; }
.tagpick .tag-chip { opacity: .5; transition: opacity .12s, box-shadow .12s; }
.tagpick input:checked + .tag-chip { opacity: 1; box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px rgba(15, 92, 73, .25); }
.tag-new-input { border-style: dashed !important; }

.tagfilter-bar, .target-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.tagfilter { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--ink); cursor: pointer; font-family: inherit; transition: border-color .12s, background .12s; }
.tagfilter b { color: var(--muted); font-weight: 700; }
.tagfilter:hover { border-color: var(--brand); }
.tagfilter.active { border-color: var(--brand); background: var(--brand-soft); }
.tagfilter.active b { color: var(--brand-ink); }
.target-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.target-sub { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.target-sub b { color: var(--ink); }
.check.tgt { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tgt-name { flex-shrink: 0; }

.bulk-bar { display: none; }
.bulk-bar.on { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--brand-soft); border: 1px solid #cfe2da; border-radius: 12px; padding: 10px 14px; margin-bottom: 12px; position: sticky; top: 8px; z-index: 5; }
.bulk-info { font-size: 13px; color: var(--brand-ink); }
.bulk-info b { font-size: 15px; }
.bulk-select { width: auto; min-width: 160px; padding: 7px 10px; }
.th-check, .td-check { width: 38px; text-align: center; }
.th-check input, .td-check input { width: 16px; height: 16px; accent-color: var(--brand); cursor: pointer; }

.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { cursor: pointer; }
.swatch input { position: absolute; opacity: 0; width: 0; height: 0; }
.swatch span { display: block; width: 26px; height: 26px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); transition: outline .1s; }
.swatch input:checked + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.tag-edit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 10px; }
.tag-edit input[name=nombre] { width: auto; min-width: 160px; }

/* ════════════════════════════════════════════════════════════════
   Movimiento y refinamiento — "Emerald Precision" (notable y elegante)
   ════════════════════════════════════════════════════════════════ */

/* Tarjetas físicas: se elevan suavemente al pasar el ratón */
.card, .stat { transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s cubic-bezier(.16,1,.3,1), border-color .2s ease; }
.card:hover, .stat:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -18px rgba(20,40,33,.32); border-color: #dde6e0; }
.card.empty:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--line); }

/* Barra superior pegajosa: el borde y la sombra aparecen al hacer scroll */
.topbar.scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 26px -18px rgba(22,26,29,.32); }

/* Navegación lateral: barra del elemento activo + pulsación táctil */
.nav-item { position: relative; }
.nav-item:active { transform: scale(.98); }
.nav-item.active::before { content: ""; position: absolute; left: 1px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: #7fcfae; }

/* Entrada escalonada del contenido al cargar (panel) */
@keyframes riseIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.appbody main > *:not(.topbar) { animation: riseIn .42s cubic-bezier(.16,1,.3,1) both; }
.appbody main > *:nth-child(2) { animation-delay: .03s; }
.appbody main > *:nth-child(3) { animation-delay: .07s; }
.appbody main > *:nth-child(4) { animation-delay: .11s; }
.appbody main > *:nth-child(5) { animation-delay: .15s; }
.appbody main > *:nth-child(6) { animation-delay: .19s; }
.appbody main > *:nth-child(n+7) { animation-delay: .22s; }

/* Barras de progreso que crecen al entrar (toque tipo fintech) */
@keyframes growBar { from { width: 0 !important; } }
.progress i { animation: growBar .85s cubic-bezier(.16,1,.3,1); }

/* Reveal al hacer scroll en la landing. Solo se oculta si hay JS (clase .js en <html>),
   así sin JavaScript todo el contenido es visible igualmente. */
html.js .land > section, html.js .land > .shot-wrap, html.js .land > .cta-band, html.js .land > .land-foot {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
html.js .land > section.is-in, html.js .land > .shot-wrap.is-in, html.js .land > .cta-band.is-in, html.js .land > .land-foot.is-in {
  opacity: 1; transform: none;
}

/* Destello sutil en el widget de prueba: atrae la mirada al CTA "Activar plan" */
.side-trial { position: relative; overflow: hidden; }
.side-trial:not(.side-pro)::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 65%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.16), transparent);
  transform: skewX(-18deg); animation: trialSweep 6.5s ease-in-out infinite; pointer-events: none;
}
@keyframes trialSweep { 0%, 100% { left: -130%; } 16% { left: 170%; } }

/* Accesibilidad: respeta a quien prefiere menos movimiento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .appbody main > *:not(.topbar) { animation: none !important; }
  .progress i { animation: none !important; }
  html.js .land > section, html.js .land > .shot-wrap, html.js .land > .cta-band, html.js .land > .land-foot { opacity: 1 !important; transform: none !important; }
  .card:hover, .stat:hover { transform: none; }
}

/* ───────────── logo de marca / mensaje portal ───────────── */
.firm-logo { max-height: 44px; max-width: 160px; object-fit: contain; display: block; }
.portal-firm .firm-logo { max-height: 40px; }
.portal-msg { display: flex; gap: 12px; background: var(--brand-soft); border: 1px solid #cfe2da; border-radius: var(--r); padding: 16px 18px; margin-bottom: 16px; }
.portal-msg .ico { color: var(--brand); margin-top: 2px; flex-shrink: 0; }
.portal-msg p { font-size: 14px; color: var(--brand-ink); line-height: 1.55; }
.logo-row { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.logo-preview { width: 120px; height: 72px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fbfaf7; display: flex; align-items: center; justify-content: center; padding: 10px; flex-shrink: 0; }
.logo-preview img, .logo-preview.logo-empty { max-height: 100%; max-width: 100%; }
.logo-empty .av { width: 44px; height: 44px; }
.logo-actions { display: flex; flex-direction: column; gap: 8px; }
.logo-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.logo-form input[type=file] { font-size: 13px; max-width: 220px; }

/* ───────────── color de marca / rechazo ───────────── */
.color-field { display: flex; align-items: center; gap: 12px; }
.color-field input[type=color] { width: 48px; height: 38px; padding: 2px; border: 1px solid var(--line2); border-radius: var(--r-sm); background: #fff; cursor: pointer; flex-shrink: 0; }
.color-field .muted { margin-top: 0; }
.reject-form { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; align-items: center; }
.reject-form input { flex: 1; min-width: 200px; padding: 7px 11px; border: 1px solid var(--line2); border-radius: 8px; font-size: 13px; font-family: var(--font-ui); }
.reject-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15, 92, 73, .12); }

/* ───────────── responsive ───────────── */
@media (max-width: 860px) {
  .app { flex-direction: column; }
  .sidebar { width: 100%; height: auto; position: sticky; top: 0; z-index: 40; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 11px 16px; }
  .sidebar .logo { flex: 1; font-size: 18px; }
  .sidebar nav { order: 1; flex: 0 0 100%; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 4px; padding-bottom: 2px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .sidebar nav::-webkit-scrollbar { display: none; }
  .nav-item { white-space: nowrap; padding: 7px 13px; font-size: 13px; }
  .nav-item .ico { display: none; }
  .side-trial { display: none; }
  .sidebar-foot { margin-left: auto; }
  .sidebar-user { display: none; }
  main { padding: 20px 16px 56px; }
  /* en móvil la barra superior no es pegajosa (la nav ya lo es) y ajusta sus márgenes */
  .topbar { position: static; margin: -20px -16px 14px; padding: 12px 16px; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-item.active::before { display: none; }
  .camp-head { flex-direction: column; align-items: flex-start; }
  .search input { width: 100%; }
  .land-links { display: none; }
}


/* ════════════════════════════════════════════════════════════════
   LANDING v5 · bloques de color a sangre completa
   Sans tipográfico (Manrope), hero oscuro, secciones diferenciadas.
   Solo afecta a .mk (la landing). La app no se toca.
   ════════════════════════════════════════════════════════════════ */

.mk {
  --mk-paper: #f4f1ea;
  --mk-card: #ffffff;
  --mk-ink: #14140f;
  --mk-ink2: #56524a;
  --mk-muted: #8b8678;
  --mk-line: #e7e2d6;
  --mk-line2: #d9d3c5;
  --mk-green: #0f5c49;
  --mk-green2: #0a3d31;
  --mk-green-soft: #e9f1ed;
  --mk-mint: #43d39a;
  --mk-gold: #a9772a;
  --mk-gold-soft: #f3ebd9;
  --mk-dark: #0c1a15;
  max-width: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-ui);
  color: var(--mk-ink);
}
body:has(.mk) { background: var(--mk-paper); overflow-x: clip; }
.mk a { text-decoration: none; }
.mk a:hover { text-decoration: none; }
.mk ::selection { background: #cfe6dc; }
.mk-wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.mk-sec { padding: 96px 0; }

/* tonos de seccion (a sangre completa) */
.mk-paper { background: #f4f1ea; }
.mk-cream { background: #efe7d8; }
.mk-white { background: #ffffff; }
.mk-soft  { background: #e7f0ec; }
.mk-green { background: #0f5c49; }
.mk-hero  { background: radial-gradient(115% 130% at 80% 4%, #16463a 0%, #0c1a15 56%); }
.mk-cta   { background: linear-gradient(165deg, #11402f, #0a1712); }

/* costuras finas entre secciones claras contiguas */
.mk-cream, .mk-white, .mk-soft, .mk-paper { box-shadow: inset 0 1px 0 rgba(20,20,15,.04); }

/* nav */
.mk-nav { position: sticky; top: 0; z-index: 100; background: rgba(244,241,234,.82); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid var(--mk-line); }
.mk-nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 13px; padding-bottom: 13px; }
.mk-logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; color: var(--mk-ink); }
.mk-logo svg { width: 26px; height: 26px; }
.mk-nav-links { display: flex; gap: 26px; align-items: center; }
.mk-nav-links a { color: var(--mk-ink2); font-weight: 600; font-size: 14.5px; }
.mk-nav-links a:hover { color: var(--mk-ink); }
.mk-nav-cta { display: flex; gap: 10px; align-items: center; }

/* botones en la landing */
.mk .btn-lg { padding: 14px 26px; font-size: 15px; border-radius: 12px; }
.mk .btn-primary { background: var(--mk-green); color: #fff; box-shadow: 0 1px 2px rgba(15,92,73,.2); }
.mk .btn-primary:hover { background: var(--mk-green2); box-shadow: 0 12px 28px -12px rgba(15,92,73,.6); }
.mk .btn-ghost { background: #fff; border-color: var(--mk-line2); color: var(--mk-ink); }
.mk .btn-ghost:hover { background: #fff; border-color: #c4bdac; }
.mk-btn-glass { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); color: #fff; }
.mk-btn-glass:hover { background: rgba(255,255,255,.15); color: #fff; }
.mk-btn-glass .ico { width: 16px; height: 16px; opacity: .8; }

/* kicker + titulos */
.mk-kicker { display: flex; align-items: center; justify-content: center; gap: 11px; margin-bottom: 18px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mk-muted); }
.mk-kicker span { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 24px; padding: 0 7px; border: 1px solid var(--mk-line2); border-radius: 7px; background: #fff; color: var(--mk-green); font-weight: 800; letter-spacing: 0; }
.mk-kicker-left { justify-content: flex-start; }
.mk-h2 { font-family: var(--font-ui); font-weight: 800; letter-spacing: -.032em; font-size: clamp(28px, 3.7vw, 44px); line-height: 1.08; text-align: center; color: var(--mk-ink); margin-bottom: 14px; }
.mk-h2 em { font-style: normal; color: var(--mk-green); }
.mk-h2-left { text-align: left; }
.mk-sub { text-align: center; max-width: 600px; margin: 0 auto 48px; color: var(--mk-ink2); font-size: 17px; line-height: 1.6; }

/* HERO */
.mk-hero { overflow: hidden; }
.mk-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 84px; padding-bottom: 92px; }
.mk-hero-copy { max-width: 560px; }
.mk-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); color: #c8d4cc; border-radius: 999px; padding: 7px 14px 7px 12px; font-size: 13px; font-weight: 600; margin-bottom: 24px; }
.mk-eyebrow .ico { width: 15px; height: 15px; color: var(--mk-mint); }
.mk-hero h1 { font-family: var(--font-ui); font-weight: 800; font-size: clamp(38px, 5vw, 60px); line-height: 1.04; letter-spacing: -.035em; color: #fff; margin-bottom: 22px; }
.mk-hero h1 em { font-style: normal; color: var(--mk-mint); }
.mk-hero-sub { font-size: 18.5px; line-height: 1.6; color: #b1bcb5; margin-bottom: 32px; }
.mk-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.mk-hero-ctas .btn-lg .ico { width: 16px; height: 16px; }
.mk-hero-trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; }
.mk-hero-trust span { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: #9fb1a7; }
.mk-hero-trust .ico { width: 16px; height: 16px; color: var(--mk-mint); }

/* mockup panel */
.mk-hero-art { perspective: 1800px; }
.mk-art { position: relative; transform: rotateY(-13deg) rotateX(5deg) rotate(.6deg); transform-style: preserve-3d; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.mk-hero-art:hover .mk-art { transform: rotateY(-7deg) rotateX(3deg); }
.mk-win { background: var(--mk-card); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; overflow: hidden; text-align: left; box-shadow: 0 50px 90px -36px rgba(0,0,0,.6), 0 18px 40px -22px rgba(0,0,0,.4); }
.mk-winbar { display: flex; align-items: center; gap: 7px; padding: 12px 15px; background: #faf8f4; border-bottom: 1px solid var(--mk-line); }
.mk-winbar i { width: 11px; height: 11px; border-radius: 50%; }
.mk-winbar i:nth-child(1) { background: #ff5f57; } .mk-winbar i:nth-child(2) { background: #febc2e; } .mk-winbar i:nth-child(3) { background: #28c840; }
.mk-winbar span { flex: 1; text-align: center; font-size: 11.5px; color: var(--mk-muted); font-weight: 600; background: #fff; border: 1px solid var(--mk-line); border-radius: 7px; padding: 3px 0; max-width: 220px; margin: 0 auto; }
.mk-winbody { display: flex; min-height: 380px; }
.mk-aside { width: 158px; flex-shrink: 0; background: var(--side); padding: 16px 12px; }
.mk-aside-logo { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; font-size: 14px; margin-bottom: 20px; padding: 0 4px; }
.mk-aside-logo svg { width: 20px; height: 20px; }
.mk-aside-nav b { display: flex; align-items: center; gap: 9px; color: var(--side-dim); font-size: 12.5px; font-weight: 700; padding: 9px 10px; border-radius: 8px; margin-bottom: 2px; }
.mk-aside-nav b .ico { width: 15px; height: 15px; }
.mk-aside-nav b.on { color: #fff; background: var(--side-active); }
.mk-screen { flex: 1; padding: 22px 24px; background: var(--mk-card); }
.mk-screen-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.mk-eyebrow-sm { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--mk-green); margin-bottom: 5px; }
.mk-screen-title { font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.mk-screen-sub { font-size: 12px; color: var(--mk-muted); font-weight: 600; margin-top: 3px; }
.mk-ring { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mk-ring-box { position: relative; width: 66px; height: 66px; }
.mk-ring-svg { width: 66px; height: 66px; display: block; }
.mk-ring-box em { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 800; font-size: 18px; color: var(--mk-ink); }
.mk-ring-box em small { font-size: 10px; margin-left: 1px; color: var(--mk-muted); }
.mk-ring > span { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--mk-muted); }
.mk-rows { display: flex; flex-direction: column; }
.mk-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--mk-line); }
.mk-row:last-child { border-bottom: none; }
.mk-row .av { width: 30px; height: 30px; font-size: 10.5px; }
.mk-row-main { flex: 1; min-width: 0; }
.mk-row-main b { font-size: 13px; display: block; margin-bottom: 6px; font-weight: 700; }
.mk-prog { height: 6px; background: #efe9df; border-radius: 99px; overflow: hidden; max-width: 200px; }
.mk-prog i { display: block; height: 100%; background: var(--mk-gold); border-radius: 99px; }
.mk-prog-done i { background: var(--mk-green); }
.mk-prog-zero { background: #efe9df; }
.mk-tag { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.mk-tag-ok { background: var(--mk-green-soft); color: var(--mk-green); }
.mk-tag-mid { background: var(--mk-gold-soft); color: var(--mk-gold); }
.mk-tag-no { background: #fbece8; color: #b3361e; }
.mk-chip { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--mk-line); border-radius: 13px; padding: 10px 14px; box-shadow: 0 22px 44px -18px rgba(0,0,0,.55); transform: translateZ(60px); }
.mk-chip .ico { width: 18px; height: 18px; flex-shrink: 0; }
.mk-chip b { display: block; font-size: 12.5px; font-weight: 800; line-height: 1.2; color: var(--mk-ink); }
.mk-chip span { display: block; font-size: 11px; color: var(--mk-muted); font-weight: 600; }
.mk-chip-a { top: 22px; left: -32px; animation: mkFloat 5s ease-in-out infinite; }
.mk-chip-a .ico { color: var(--mk-gold); }
.mk-chip-b { bottom: 28px; right: -26px; animation: mkFloat 5.6s ease-in-out infinite .8s; }
.mk-chip-b .ico { color: var(--mk-green); }
@keyframes mkFloat { 0%,100% { transform: translateZ(60px) translateY(0); } 50% { transform: translateZ(60px) translateY(-9px); } }

/* movil (lado cliente) */
.mk-phone { width: 290px; background: #111; border-radius: 40px; padding: 12px; box-shadow: 0 40px 80px -34px rgba(20,20,15,.5); position: relative; }
.mk-phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 120px; height: 26px; background: #111; border-radius: 0 0 16px 16px; z-index: 2; }
.mk-phone-screen { background: #f4f1ea; border-radius: 30px; padding: 40px 20px 24px; min-height: 460px; }
.mk-phone-firm { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--mk-line); margin-bottom: 18px; }
.mk-phone-firm .av { width: 38px; height: 38px; font-size: 12px; }
.mk-phone-firm b { display: block; font-size: 14px; font-weight: 800; }
.mk-phone-firm span { display: block; font-size: 12px; color: var(--mk-muted); }
.mk-phone-title { font-weight: 800; font-size: 19px; letter-spacing: -.02em; margin-bottom: 16px; }
.mk-phone-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.mk-pl { display: flex; align-items: center; gap: 11px; background: #fff; border: 1px solid var(--mk-line); border-radius: 12px; padding: 13px 14px; font-size: 14px; font-weight: 600; color: var(--mk-ink); }
.mk-pl .ico { width: 18px; height: 18px; color: var(--mk-muted); }
.mk-pl-done { color: var(--mk-ink2); }
.mk-pl-done .ico { color: #fff; background: var(--mk-green); border-radius: 50%; padding: 3px; }
.mk-phone-btn { background: var(--mk-green); color: #fff; text-align: center; font-weight: 700; font-size: 15px; padding: 14px; border-radius: 12px; box-shadow: 0 10px 24px -12px rgba(15,92,73,.6); }
.mk-phone-foot { text-align: center; font-size: 12px; color: var(--mk-muted); font-weight: 600; margin-top: 14px; }

/* tira de confianza */
.mk-strip { background: #0a1712; border-bottom: 1px solid rgba(255,255,255,.06); }
.mk-strip-in { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.mk-strip-lead { font-size: 12.5px; font-weight: 700; letter-spacing: .02em; color: #7f928a; }
.mk-strip-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-strip-pills b { font-size: 12.5px; font-weight: 700; color: #c8d4cc; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 999px; padding: 6px 13px; }

/* citas (problema) */
.mk-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1000px; margin: 0 auto; }
.mk-quote { position: relative; background: #fff; border: 1.5px solid #d7cfbc; border-radius: 18px; padding: 28px 26px 24px; box-shadow: 0 10px 28px -22px rgba(20,20,15,.3); }
.mk-quote-mark { font-family: Georgia, serif; font-size: 60px; line-height: .5; color: var(--mk-green); opacity: .18; height: 28px; }
.mk-quote p { font-weight: 700; font-size: 18px; line-height: 1.35; color: var(--mk-ink); margin-bottom: 14px; letter-spacing: -.01em; }
.mk-quote span { font-size: 13px; font-weight: 600; color: var(--mk-muted); }

/* banda verde (momento) */
.mk-green-in { text-align: center; }
.mk-green .mk-h2 { color: #fff; max-width: 880px; margin: 0 auto 16px; }
.mk-green-sub { color: #bfe0d4; font-size: 17px; max-width: 580px; margin: 0 auto 44px; line-height: 1.6; }
.mk-green-stats { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.mk-green-stats div { flex: 1; min-width: 160px; max-width: 230px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 26px 18px; }
.mk-green-stats em { display: block; font-style: normal; font-weight: 800; font-size: 38px; letter-spacing: -.03em; color: #fff; margin-bottom: 6px; }
.mk-green-stats span { font-size: 13.5px; color: #a9d2c4; font-weight: 600; line-height: 1.4; }

/* pasos (como funciona) */
.mk-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1000px; margin: 0 auto; }
.mk-step { background: #fff; border: 1.5px solid #d7cfbc; border-radius: 18px; padding: 28px 26px; box-shadow: 0 10px 28px -22px rgba(20,20,15,.3); }
.mk-step-n { width: 42px; height: 42px; border-radius: 12px; background: #14140f; color: #fff; font-weight: 800; font-size: 17px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.mk-step-n-on { background: var(--mk-green); }
.mk-step h3 { font-size: 17px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 7px; color: var(--mk-ink); }
.mk-step p { color: var(--mk-ink2); font-size: 14.5px; line-height: 1.6; }

/* split (lado cliente) */
.mk-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.mk-split-copy { max-width: 480px; }
.mk-split-p { color: var(--mk-ink2); font-size: 17px; line-height: 1.65; margin: 0 0 22px; }
.mk-checks { list-style: none; display: flex; flex-direction: column; gap: 13px; margin: 0; }
.mk-checks li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; font-weight: 600; color: var(--mk-ink); }
.mk-checks .ico { width: 20px; height: 20px; color: #fff; background: var(--mk-green); border-radius: 50%; padding: 3px; flex-shrink: 0; margin-top: 1px; }
.mk-split-art { display: flex; justify-content: center; }

/* bento (lo que hace) */
.mk-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 14px; max-width: 1040px; margin: 0 auto; }
.mk-cell { background: #fff; border: 1.5px solid #d7cfbc; border-radius: 20px; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; box-shadow: 0 10px 28px -22px rgba(20,20,15,.3); transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s, border-color .25s; }
.mk-cell:hover { transform: translateY(-3px); border-color: #c3bba6; box-shadow: 0 24px 50px -28px rgba(20,20,15,.32); }
.mk-cell-hero { grid-column: span 2; grid-row: span 2; background: linear-gradient(165deg, #eef6f2, #fff 62%); border-color: #c2ddd1; }
.mk-cell-wide { grid-column: span 2; }
.mk-cell h3 { position: relative; z-index: 1; font-size: 17px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 6px; color: var(--mk-ink); }
.mk-cell-hero h3 { font-size: 21px; }
.mk-cell p { position: relative; z-index: 1; color: var(--mk-ink2); font-size: 14px; line-height: 1.55; }
.mk-feat-ico { position: relative; z-index: 1; width: 42px; height: 42px; border-radius: 13px; background: var(--mk-green-soft); color: var(--mk-green); display: flex; align-items: center; justify-content: center; margin-bottom: auto; }
.mk-cell-deco { position: absolute; right: -22px; bottom: -28px; color: #d8eae2; opacity: .45; pointer-events: none; z-index: 0; }
.mk-cell-deco svg { width: 124px; height: 124px; }

/* precio */
.mk-price { max-width: 420px; margin: 0 auto; background: #fff; border: 1px solid var(--mk-line2); border-radius: 26px; padding: 40px; text-align: center; box-shadow: 0 30px 70px -42px rgba(20,20,15,.4); position: relative; }
.mk-price::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--mk-green); border-radius: 26px 26px 0 0; }
.mk-price-flag { display: inline-block; background: var(--mk-gold-soft); border: 1px solid #ebdcbd; color: var(--mk-gold); font-size: 12px; font-weight: 800; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.mk-price-n { display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.mk-price-n s { color: var(--mk-muted); font-size: 28px; font-weight: 600; text-decoration-thickness: 2px; }
.mk-price-n b { font-weight: 800; font-size: 58px; letter-spacing: -.04em; color: var(--mk-ink); }
.mk-price-n span { color: var(--mk-muted); font-size: 16px; font-weight: 600; }
.mk-price-per { color: var(--mk-muted); font-size: 13px; font-weight: 600; margin: 4px 0 22px; }
.mk-price-list { list-style: none; text-align: left; margin: 0 0 24px; }
.mk-price-list li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; color: var(--mk-ink2); font-size: 14.5px; font-weight: 600; }
.mk-price-list .ico { width: 18px; height: 18px; color: var(--mk-green); flex-shrink: 0; margin-top: 2px; }
.mk-price-note { font-size: 13px; color: var(--mk-muted); font-weight: 600; margin-top: 14px; }
.mk-guarantee { display: flex; gap: 12px; align-items: flex-start; text-align: left; margin-top: 18px; padding: 16px; background: var(--mk-green-soft); border: 1px solid #cfe2da; border-radius: 14px; }
.mk-guarantee .ico { color: var(--mk-green); flex-shrink: 0; margin-top: 2px; }
.mk-guarantee div { font-size: 13.5px; color: var(--mk-ink2); line-height: 1.55; }
.mk-guarantee b { color: var(--mk-green2); }

/* faq */
.mk-faq { max-width: 720px; margin: 0 auto; }
.mk-faq details { background: #fff; border: 1.5px solid #d7cfbc; border-radius: 14px; padding: 20px 24px; margin-bottom: 10px; transition: border-color .2s; }
.mk-faq details[open] { border-color: #c3bba6; }
.mk-faq summary { cursor: pointer; font-weight: 700; color: var(--mk-ink); font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.mk-faq summary::after { content: "+"; font-size: 22px; color: var(--mk-muted); font-weight: 400; }
.mk-faq details[open] summary::after { content: "\2013"; }
.mk-faq details p { color: var(--mk-ink2); margin-top: 11px; font-size: 14.5px; line-height: 1.65; }

/* cta final */
.mk-cta { overflow: hidden; position: relative; }
.mk-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 100% at 50% -10%, rgba(67,211,154,.16), transparent 60%); pointer-events: none; }
.mk-cta-in { text-align: center; position: relative; }
.mk-cta h2 { font-family: var(--font-ui); font-weight: 800; letter-spacing: -.03em; font-size: clamp(28px, 4vw, 46px); line-height: 1.08; color: #fff; margin-bottom: 14px; }
.mk-cta p { color: #aebbb3; font-size: 17px; margin-bottom: 28px; }
.mk-cta-note { display: block; margin-top: 16px; font-size: 13px; color: #82958c; font-weight: 600; }

/* footer */
.mk-foot { background: #0a1410; padding: 56px 0 60px; }
.mk-foot-in { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.mk-logo-light { color: #fff; }
.mk-foot-brand p { color: #7f928a; font-size: 13px; line-height: 1.8; margin-top: 12px; }
.mk-foot-col h4 { font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: #6e827a; margin-bottom: 12px; }
.mk-foot-col a { display: block; color: #aebbb3; font-size: 14px; margin-bottom: 8px; }
.mk-foot-col a:hover { color: #fff; }

/* responsive */
@media (max-width: 940px) {
  .mk-hero-grid { grid-template-columns: 1fr; gap: 46px; padding-top: 56px; padding-bottom: 64px; text-align: center; }
  .mk-hero-copy { max-width: 620px; margin: 0 auto; }
  .mk-hero-ctas { justify-content: center; }
  .mk-hero-trust { justify-content: center; }
  .mk-art { transform: none; }
  .mk-hero-art:hover .mk-art { transform: none; }
  .mk-chip-a { left: 0; } .mk-chip-b { right: 0; }
  .mk-quotes, .mk-steps { grid-template-columns: 1fr; max-width: 480px; }
  .mk-split { grid-template-columns: 1fr; gap: 40px; }
  .mk-split-copy { max-width: none; text-align: center; }
  .mk-h2-left, .mk-kicker-left { text-align: center; justify-content: center; }
  .mk-checks { max-width: 420px; margin: 0 auto; }
  .mk-checks li { text-align: left; }
  .mk-bento { grid-template-columns: 1fr; grid-auto-rows: auto; max-width: 460px; }
  .mk-cell, .mk-cell-hero, .mk-cell-wide { grid-column: span 1; grid-row: auto; min-height: 168px; }
}
@media (max-width: 700px) {
  .mk-wrap { padding: 0 18px; }
  .mk-sec { padding: 64px 0; }
  .mk-nav-links { display: none; }
  .mk-chip { display: none; }
  .mk-winbody { min-height: 0; }
  .mk-aside { display: none; }
  .mk-strip-in { flex-direction: column; align-items: flex-start; }
}

/* ════════════════════════════════════════════════════════════════
   LANDING v5.1 · vida + sustancia
   Aparicion al scroll, animacion de anillo/barras, comparativa.
   ════════════════════════════════════════════════════════════════ */

/* aparicion al hacer scroll (solo si hay JS; degrada visible sin JS) */
html.js .mk-sec:not(.mk-hero) > .mk-wrap,
html.js .mk-strip-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s cubic-bezier(.16,1,.3,1), transform .75s cubic-bezier(.16,1,.3,1);
}
html.js .mk-sec:not(.mk-hero) > .mk-wrap.in,
html.js .mk-strip-in.in { opacity: 1; transform: none; }

/* escalonado de hijos dentro de una seccion revelada */
.mk-quotes > *, .mk-steps > *, .mk-bento > *, .mk-green-stats > *, .mk-compare > * { transition: opacity .6s ease, transform .6s cubic-bezier(.16,1,.3,1); }
html.js .mk-sec:not(.mk-hero) > .mk-wrap .mk-quotes > *,
html.js .mk-sec:not(.mk-hero) > .mk-wrap .mk-steps > *,
html.js .mk-sec:not(.mk-hero) > .mk-wrap .mk-bento > *,
html.js .mk-sec:not(.mk-hero) > .mk-wrap .mk-compare > *,
html.js .mk-green-in.in .mk-green-stats > * { opacity: 0; transform: translateY(16px); }
html.js .mk-sec:not(.mk-hero) > .mk-wrap.in .mk-quotes > *,
html.js .mk-sec:not(.mk-hero) > .mk-wrap.in .mk-steps > *,
html.js .mk-sec:not(.mk-hero) > .mk-wrap.in .mk-bento > *,
html.js .mk-sec:not(.mk-hero) > .mk-wrap.in .mk-compare > *,
html.js .mk-green-in.in .mk-green-stats > * { opacity: 1; transform: none; }
.mk-quotes > *:nth-child(2), .mk-steps > *:nth-child(2), .mk-compare > *:nth-child(2), .mk-green-stats > *:nth-child(2) { transition-delay: .08s; }
.mk-quotes > *:nth-child(3), .mk-steps > *:nth-child(3), .mk-green-stats > *:nth-child(3) { transition-delay: .16s; }
.mk-bento > *:nth-child(2) { transition-delay: .06s; }
.mk-bento > *:nth-child(3) { transition-delay: .12s; }
.mk-bento > *:nth-child(4) { transition-delay: .18s; }
.mk-bento > *:nth-child(5) { transition-delay: .24s; }
.mk-bento > *:nth-child(6) { transition-delay: .30s; }

/* anillo de progreso: se dibuja al cargar */
.mk-ring-svg circle:nth-child(2) { animation: mkRing 1.2s cubic-bezier(.16,1,.3,1) .25s both; }
@keyframes mkRing { from { stroke-dasharray: 0 327; } to { stroke-dasharray: 235 327; } }

/* barras del panel: crecen al cargar */
.mk-prog i { animation: mkGrow 1.1s cubic-bezier(.16,1,.3,1) .3s both; }
@keyframes mkGrow { from { width: 0 !important; } }

/* nav: sombra fina al hacer scroll */
.mk-nav.up { box-shadow: 0 1px 0 rgba(20,20,15,.04), 0 6px 20px -16px rgba(20,20,15,.4); }

/* ───────── comparativa (antes / con Recopila) ───────── */
.mk-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin: 0 auto; }
.mk-comp { border-radius: 22px; padding: 32px 30px; border: 1.5px solid #d7cfbc; background: #fff; }
.mk-comp h3 { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid rgba(20,20,15,.08); }
.mk-comp h3 svg { width: 22px; height: 22px; }
.mk-comp ul { list-style: none; display: flex; flex-direction: column; gap: 15px; margin: 0; }
.mk-comp li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; font-weight: 600; line-height: 1.45; }
.mk-comp-bad { background: #fbf5f2; border-color: #ecd7cd; }
.mk-comp-bad h3 { color: #a23a22; border-color: rgba(162,58,34,.14); }
.mk-comp-bad li { color: #7c544a; }
.mk-comp-good { background: linear-gradient(168deg, #eef6f2, #fff 72%); border-color: #c2ddd1; }
.mk-comp-good h3 { color: var(--mk-green2); border-color: rgba(15,92,73,.14); }
.mk-comp-good li { color: var(--mk-ink); }
.mk-xb, .mk-cb { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.mk-xb { background: #f4d8cd; color: #b3361e; }
.mk-cb { background: var(--mk-green); color: #fff; }
.mk-xico { width: 12px; height: 12px; }
.mk-cb .ico { width: 13px; height: 13px; }

@media (max-width: 760px) {
  .mk-compare { grid-template-columns: 1fr; max-width: 460px; }
}

/* respeta a quien prefiere menos movimiento */
@media (prefers-reduced-motion: reduce) {
  html.js .mk-sec:not(.mk-hero) > .mk-wrap,
  html.js .mk-strip-in,
  html.js .mk-sec > .mk-wrap .mk-quotes > *,
  html.js .mk-sec > .mk-wrap .mk-steps > *,
  html.js .mk-sec > .mk-wrap .mk-bento > *,
  html.js .mk-sec > .mk-wrap .mk-compare > *,
  html.js .mk-green-stats > * { opacity: 1 !important; transform: none !important; }
  .mk-ring-svg circle:nth-child(2), .mk-prog i { animation: none !important; }
}

/* ════════════════════════════════════════════════════════════════
   LANDING v6 · edicion premium (grain, aurora, chat, timeline, lujo)
   ════════════════════════════════════════════════════════════════ */

/* textura de grano sutil sobre toda la pagina */
.mk-grain { position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* fondos con aurora / orbes / rejilla */
.mk-hero, .mk-green, .mk-cta { position: relative; isolation: isolate; overflow: hidden; }
.mk-hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.mk-orb { position: absolute; border-radius: 50%; filter: blur(72px); }
.mk-orb-1 { width: 540px; height: 540px; right: -120px; top: -180px; background: radial-gradient(circle, rgba(38,140,108,.85), transparent 68%); }
.mk-orb-2 { width: 460px; height: 460px; left: -160px; bottom: -200px; background: radial-gradient(circle, rgba(14,70,55,.9), transparent 70%); }
.mk-orb-3 { width: 560px; height: 360px; left: 50%; top: -120px; transform: translateX(-50%); background: radial-gradient(circle, rgba(67,211,154,.28), transparent 65%); filter: blur(60px); }
.mk-grid { position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 95% at 72% 0%, #000 28%, transparent 74%);
  mask-image: radial-gradient(120% 95% at 72% 0%, #000 28%, transparent 74%); }
.mk-cta-glow .mk-orb-1 { width: 620px; height: 480px; left: 50%; top: -200px; right: auto; transform: translateX(-50%); background: radial-gradient(circle, rgba(67,211,154,.3), transparent 65%); }

/* acento del titular en degradado */
.mk-hero h1 em { background: linear-gradient(92deg, #44d69b, #a7ebcf); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* botón primario con destello */
.mk .btn-primary { position: relative; overflow: hidden; }
.mk .btn-primary::after { content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent); transform: skewX(-18deg); transition: left .6s cubic-bezier(.16,1,.3,1); pointer-events: none; }
.mk .btn-primary:hover::after { left: 140%; }

/* ───────── ribbon de anuncio ───────── */
.mk-ribbon { background: #09140f; border-bottom: 1px solid rgba(255,255,255,.06); }
.mk-ribbon-in { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px 24px; font-size: 13px; color: #c4d6cd; text-align: center; flex-wrap: wrap; }
.mk-ribbon .ico { width: 14px; height: 14px; color: #d4ad57; flex-shrink: 0; }
.mk-ribbon b { color: #fff; font-weight: 800; }
.mk-ribbon a { color: #6fd6ab; font-weight: 700; white-space: nowrap; }
.mk-ribbon a:hover { color: #93e6c5; }

/* ───────── problema: chat estilo WhatsApp ───────── */
.mk-split-chat { align-items: center; }
.mk-split-chat .mk-split-copy { max-width: 440px; }
.mk-pull { margin-top: 24px; padding: 16px 20px; background: #fff; border-left: 3px solid var(--mk-green); border-radius: 0 12px 12px 0; font-weight: 700; font-size: 16px; color: var(--mk-ink); box-shadow: 0 12px 30px -22px rgba(20,20,15,.34); }
.mk-pull span { display: block; font-weight: 600; font-size: 13px; color: var(--mk-muted); margin-top: 6px; }
.mk-chat { width: 332px; max-width: 100%; margin: 0 auto; background: #0b1411; border-radius: 28px; padding: 9px; box-shadow: 0 46px 90px -38px rgba(20,20,15,.55); }
.mk-chat-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--mk-green); border-radius: 20px 20px 6px 6px; }
.mk-chat-top .av { width: 38px; height: 38px; font-size: 12px; }
.mk-chat-id b { display: block; font-size: 14px; font-weight: 700; color: #fff; }
.mk-chat-id span { display: block; font-size: 11.5px; color: #bfe6d8; }
.mk-chat-top .ico { width: 18px; height: 18px; margin-left: auto; color: #bfe6d8; }
.mk-chat-body { background: #e9e1d6; padding: 16px 13px 18px; border-radius: 6px 6px 20px 20px; display: flex; flex-direction: column; gap: 7px; }
.mk-chat-day { text-align: center; margin: 4px 0; }
.mk-chat-day span { display: inline-block; background: #f3edd8; color: #7c724f; font-size: 11px; font-weight: 600; padding: 4px 11px; border-radius: 9px; }
.mk-bub { max-width: 82%; padding: 8px 11px 5px; border-radius: 13px; font-size: 13.5px; line-height: 1.36; color: #14140f; box-shadow: 0 1px 1px rgba(0,0,0,.1); }
.mk-bub time { display: block; text-align: right; font-size: 9.5px; color: rgba(0,0,0,.38); margin-top: 1px; }
.mk-in { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.mk-out { align-self: flex-end; background: #d8fdd1; border-top-right-radius: 4px; }
.mk-out time { color: #3f9159; }
.mk-typing { align-self: flex-start; background: #fff; border-radius: 13px; border-top-left-radius: 4px; padding: 11px 14px; display: inline-flex; gap: 4px; box-shadow: 0 1px 1px rgba(0,0,0,.1); }
.mk-typing i { width: 6px; height: 6px; border-radius: 50%; background: #b6b6b6; animation: mkType 1.3s infinite ease-in-out; }
.mk-typing i:nth-child(2) { animation-delay: .2s; }
.mk-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes mkType { 0%,60%,100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-3px); opacity: 1; } }

/* ───────── kicker sobre fondo verde ───────── */
.mk-kicker-on { color: #c4e6d9; }
.mk-kicker-on span { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.24); color: #fff; }

/* ───────── linea de tiempo de recordatorios ───────── */
.mk-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 840px; margin: 4px auto 50px; position: relative; }
.mk-timeline::before { content: ""; position: absolute; top: 22px; left: 12%; right: 12%; height: 2px; background: rgba(255,255,255,.18); }
.mk-tl { text-align: center; position: relative; }
.mk-tl-dot { width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(8,30,24,.55); border: 1px solid rgba(255,255,255,.24); color: #eafff6; margin-bottom: 13px; backdrop-filter: blur(4px); }
.mk-tl-dot .ico { width: 19px; height: 19px; }
.mk-tl b { display: block; color: #fff; font-size: 14px; font-weight: 800; }
.mk-tl i { display: block; font-style: normal; font-size: 12.5px; color: #a9d2c4; margin-top: 2px; }
.mk-tl-done .mk-tl-dot { background: var(--mk-mint); border-color: var(--mk-mint); color: #06231a; }

/* ───────── comparativa: insignia VS ───────── */
.mk-compare { position: relative; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; }
.mk-vs { display: flex; align-items: center; justify-content: center; align-self: center; }
.mk-vs span { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: #14140f; color: #fff; font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; border: 3px solid #fff; box-shadow: 0 12px 30px -10px rgba(0,0,0,.45); }

/* ───────── pasos con ilustracion ───────── */
.mk-step-ill { width: 64px; height: 64px; margin-bottom: 18px; }
.mk-ill { width: 64px; height: 64px; display: block; }
.mk-step-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.mk-step .mk-step-n { width: 30px; height: 30px; border-radius: 9px; font-size: 14px; margin-bottom: 0; flex-shrink: 0; }
.mk-step-row h3 { margin: 0; }
.mk-step-pro { background: linear-gradient(168deg, #eef6f2, #fff 72%); border-color: #c2ddd1; }

/* ───────── precio: ribbon dorado + sello ───────── */
.mk-price-ribbon { display: inline-flex; align-items: center; gap: 7px; background: linear-gradient(180deg, #fbf1d6, #f2e3bd); border: 1px solid #e6d199; color: #8a6516; font-size: 12.5px; font-weight: 800; padding: 7px 16px; border-radius: 999px; margin-bottom: 18px; box-shadow: 0 3px 10px -4px rgba(138,101,22,.35); }
.mk-price-ribbon .ico { width: 14px; height: 14px; color: #b8860b; }
.mk-price { box-shadow: 0 40px 80px -44px rgba(20,20,15,.45), 0 2px 0 rgba(201,161,74,.15); }
.mk-seal { flex-shrink: 0; }
.mk-seal svg { width: 46px; height: 46px; display: block; }
.mk-guarantee { align-items: center; }

/* ───────── responsive premium ───────── */
@media (max-width: 940px) {
  .mk-split-chat { text-align: center; }
  .mk-split-chat .mk-split-copy { max-width: 560px; margin: 0 auto; }
  .mk-pull { text-align: left; max-width: 460px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 760px) {
  .mk-timeline { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
  .mk-timeline::before { display: none; }
  .mk-vs { display: none; }
  .mk-compare { grid-template-columns: 1fr; gap: 16px; }
  .mk-ribbon-in { font-size: 12px; }
}

/* reduce movimiento */
@media (prefers-reduced-motion: reduce) {
  .mk-typing i { animation: none !important; }
}
