:root {
  /* Marca TeraFE: azul eléctrico (acción), turquesa (acento), azul noche (texto y bloques oscuros) */
  --primary: #2f6bf0;
  --primary-focus: #2458d0;
  /* Color de los enlaces y del texto de acción: 5,6:1 o más sobre los fondos claros de la web. */
  --link: #2458d0;
  --primary-on-dark: #8db0ff;
  --accent: #00c2a8;
  --accent-soft: #e6faf7;
  --accent-text: #00766a;
  --ink: #0b1f44;
  --body: #374151;
  --muted: #64707f;
  --hairline: #d5dee8;
  --canvas: #ffffff;
  --parchment: #f7f9fc;
  --tile: #0b1f44;
  --navy: #0b2d5b;
  --brand-gradient: linear-gradient(110deg, #0b1f44 0%, #2f6bf0 55%, #00c2a8 100%);
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-md: 0 4px 12px rgba(11,45,91,.08), 0 2px 4px rgba(11,45,91,.04);
  --shadow-lg: 0 12px 32px rgba(11,45,91,.12), 0 4px 8px rgba(11,45,91,.05);
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-num: "Poppins", var(--font);
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; font-family: var(--font); color: var(--body); background: var(--canvas); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--hairline); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; color: var(--navy); font: 700 23px/1 var(--font-num); letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; display: block; }
/* Sobre fondo claro el turquesa de la marca llega a 3,7:1 (texto grande, mínimo 3:1); en el pie oscuro se usa el turquesa original. */
.brand b { color: #00927d; font-weight: 700; }
.nav-in > nav { display: flex; gap: 22px; }
.nav-in > nav a { color: var(--ink); font-size: 14px; font-weight: 600; opacity: .75; }
.nav-in > nav a:hover { opacity: 1; text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-in > nav a.activo { opacity: 1; color: var(--primary); font-weight: 600; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 30; background: #fff; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* Menú del celular */
.menu-btn { display: none; width: 40px; height: 40px; margin-right: -8px; border: 0; background: none; border-radius: 10px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-btn:hover { background: var(--parchment); }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu-movil { position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--hairline); box-shadow: 0 12px 24px rgba(11,45,91,.1); padding: 8px 20px 16px; max-height: calc(100dvh - 64px); overflow-y: auto; }
.menu-movil[hidden], .menu-fondo[hidden], .accion-movil[hidden] { display: none; }
.menu-movil a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--parchment); color: var(--ink); font-size: 18px; }
.menu-movil a.activo { color: var(--primary); font-weight: 600; }
.menu-movil a:hover { text-decoration: none; }
.menu-movil .menu-ingresar { margin-top: 12px; border: 1px solid var(--hairline); border-radius: 12px; text-align: center; color: var(--primary); font-weight: 600; }
.menu-fondo { position: fixed; inset: 64px 0 0 0; z-index: 8; background: rgba(6,26,55,.45); }

/* Barra de acción fija del celular */
.accion-movil { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; display: none; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(16px); border-top: 1px solid var(--hairline); }
.accion-movil .btn { flex: 1; padding: 13px 10px; font-size: 16px; }
.accion-movil .btn-outline { flex: 0 0 auto; padding: 13px 16px; background: #fff; }
.link { font-size: 14px; font-weight: 600; color: var(--ink); }

/* Buttons */
.btn { display: inline-block; background: var(--primary); color: #fff; border: 0; border-radius: var(--radius); padding: 12px 22px; font: 700 16px/1 var(--font); cursor: pointer; text-align: center; transition: background .15s, transform .1s; }
.btn:hover { background: var(--primary-focus); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 17px; }
.btn-outline { background: transparent; color: var(--link); box-shadow: inset 0 0 0 1.5px var(--link); }
.btn-outline:hover { background: var(--link); color: #fff; }
.link-lg { font-size: 18px; font-weight: 700; }

/* Sections */
section { padding: 88px 0; }
.hero { padding: 72px 0 80px; background: linear-gradient(180deg, #eef3ff 0%, #ffffff 72%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-texto { text-align: left; }
.eyebrow { color: var(--accent-text); font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; margin: 0 0 16px; }
.hero h1 { font-size: clamp(38px, 7vw, 62px); font-weight: 800; letter-spacing: -0.025em; }
.acento { color: var(--accent-text); }
.lead { max-width: 640px; margin: 22px 0 0; font-size: clamp(18px, 2.2vw, 21px); line-height: 1.5; color: var(--body); }
.hero-cta { margin-top: 32px; display: flex; gap: 28px; justify-content: flex-start; align-items: center; flex-wrap: wrap; }
.hero-points { list-style: none; padding: 0; margin: 36px 0 0; display: flex; gap: 10px 24px; justify-content: flex-start; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.hero-points li::before { content: "✓ "; color: var(--accent); font-weight: 800; }

h2 { font-size: clamp(30px, 4.5vw, 42px); font-weight: 800; letter-spacing: -0.02em; text-align: center; }
.sub { text-align: center; color: var(--muted); font-size: 19px; line-height: 1.5; max-width: 640px; margin: 16px auto 0; }
.sub.left { text-align: left; margin-left: 0; font-size: 19px; }
.sub.light { color: #ffffff; }

.band { background: var(--canvas); }
.parchment { background: var(--parchment); }
.dark { background: var(--tile); color: #fff; }
.dark h2, .dark h3 { color: #fff; }
.dark.cta { background: var(--brand-gradient); }

/* Features */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.card { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: 28px; box-shadow: 0 1px 2px rgba(11,45,91,.05); }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { margin: 0; color: var(--body); font-size: 16px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps span { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--ink); font: 700 17px var(--font-num); align-items: center; justify-content: center; margin-bottom: 16px; }
.steps h3 { font-size: 21px; margin-bottom: 8px; }
.steps p { margin: 0; color: #b3c6df; font-size: 16px; }

/* API */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.two h2 { text-align: left; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; }
.checks li { padding: 6px 0 6px 26px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-text); font-weight: 800; }
.code { margin: 0; background: var(--ink); color: #e6eef5; border-radius: var(--radius-lg); padding: 24px; font: 13px/1.65 var(--font-mono); overflow-x: auto; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: 32px 28px; display: flex; flex-direction: column; position: relative; box-shadow: 0 1px 2px rgba(11,45,91,.05); }
.plan.featured { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary), var(--shadow-lg); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); margin: 0; background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 800; padding: 5px 14px; border-radius: 999px; letter-spacing: .02em; }
.plan h3 { font-size: 26px; }
.desc { color: var(--muted); margin: 6px 0 0; font-size: 15px; }
.price { margin: 22px 0 6px; font: 600 36px/1.1 var(--font-num); letter-spacing: -0.02em; color: var(--ink); }
.price small { display: block; font: 500 13px var(--font); color: var(--muted); margin: 6px 0 0; letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 18px 0; flex: 1; }
.plan li { padding: 8px 0; border-top: 1px solid var(--hairline); font-size: 15px; }
.extra { color: var(--muted); font-size: 13px; margin: 0 0 18px; }
.fine { text-align: center; color: var(--muted); font-size: 14px; margin-top: 32px; }

/* FAQ */
details { border-bottom: 1px solid var(--hairline); padding: 18px 0; }
details:first-of-type { margin-top: 40px; border-top: 1px solid var(--hairline); }
summary { cursor: pointer; font-size: 18px; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent-text); font-weight: 600; font-size: 24px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; color: var(--body); font-size: 16px; }

/* Contact */
.cta .two { align-items: start; }
.cta .alt { color: #ffffff; margin-top: 24px; }
.cta .alt a { color: #ffffff; font-weight: 700; }
.form { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 14px; box-shadow: var(--shadow-lg); }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--body); }
.form input, .form select { font: 400 16px var(--font); padding: 11px 12px; border: 1px solid #b8c4d2; border-radius: var(--radius); color: var(--ink); background: #fff; }
.form input:focus, .form select:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: transparent; }
.status { margin: 0; font-size: 14px; color: var(--muted); min-height: 1.4em; }

/* Demo KuDE */
.demo { display: grid; grid-template-columns: 420px 1fr; gap: 24px; margin-top: 40px; align-items: start; }
.form small { color: var(--muted); }
.items-head { font-size: 14px; color: var(--muted); margin-bottom: -6px; }
.item-row { display: grid; grid-template-columns: 64px 1fr 92px 28px; gap: 6px; margin-bottom: 12px; align-items: center; }
.item-row input[name=desc] { grid-column: 1 / -1; }
.item-row input, .item-row select { padding: 9px 8px; font-size: 14px; min-width: 0; }
.item-row button { border: 0; background: none; color: var(--muted); font-size: 20px; cursor: pointer; line-height: 1; }
.total { margin: 0; text-align: right; font-size: 15px; color: var(--muted); }
.total strong { color: var(--ink); font-size: 19px; }
.preview { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-lg); min-height: 560px; display: flex; flex-direction: column; overflow: hidden; }
.preview-empty { margin: auto; color: var(--muted); padding: 24px; text-align: center; }
.preview iframe { border: 0; width: 100%; flex: 1; min-height: 520px; }
.preview .open { padding: 12px 18px; font-size: 14px; border-top: 1px solid var(--hairline); display: flex; justify-content: space-between; }

.form textarea { font: 400 16px var(--font); padding: 11px 12px; border: 1px solid #b8c4d2; border-radius: var(--radius); color: var(--ink); background: #fff; resize: vertical; }
.form textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: transparent; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .consent { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); font-size: 14px; line-height: 1.4; }
.form .consent input { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; }
.status.error { color: #b3261e; }

/* Maqueta del producto (portada): réplica del panel real (colores y estructura del mini-ERP) */
.mock { --m-azul: #2f6bf0; --m-azul-claro: #eef3ff; --m-borde: #e6eef5; --m-gris: #64707f; position: relative; margin: 0; padding: 0 0 196px; font-family: var(--font); }
.mock .ico { width: 13px; height: 13px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mock-ventana { background: #fff; border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.28), 0 0 0 1px rgba(0,0,0,.1); overflow: hidden; font-size: 11px; color: #171717; }
.mock-barra { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #f5f5f7; border-bottom: 1px solid #e0e0e0; }
.mock-barra i { width: 9px; height: 9px; border-radius: 50%; background: #d2d2d7; }
.mock-barra span { margin-left: 8px; padding: 3px 10px; background: #fff; border-radius: 6px; color: var(--muted); font-size: 10.5px; }
.mock-app { display: grid; grid-template-columns: 124px minmax(0, 1fr); background: #f7f7f8; }
/* Barra lateral */
.mock-lateral { background: #fafafa; border-right: 1px solid var(--m-borde); display: flex; flex-direction: column; }
.m-marca { display: flex; align-items: center; gap: 8px; padding: 12px 12px; border-bottom: 1px solid var(--m-borde); }
.m-logo { width: 26px; height: 26px; border-radius: 7px; background: var(--ink); color: #fff; font-weight: 700; font-size: 10px; display: grid; place-items: center; flex: none; }
.m-marca b { display: block; font-size: 11.5px; line-height: 1.1; }
.m-marca em { display: inline-block; margin-top: 3px; font-style: normal; font-size: 8.5px; font-weight: 700; letter-spacing: .03em; padding: 1px 6px; border-radius: 99px; background: rgba(245,158,11,.16); color: #92400e; }
.mock-lateral nav { display: flex; flex-direction: column; gap: 1px; padding: 10px 8px; }
.m-item { display: flex; align-items: center; gap: 6px; padding: 6px 7px; font-size: 10.5px; border-radius: 8px; color: #404040; font-weight: 500; white-space: nowrap; }
.m-item.on { background: rgba(47,107,240,.1); color: #2458d0; }
.m-grupo { display: flex; align-items: center; justify-content: space-between; margin-top: 7px; padding: 4px 8px; font-size: 8.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #64707f; }
/* Cabecera y contenido */
.m-cab { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 14px; background: #fff; border-bottom: 1px solid var(--m-borde); }
.m-hamb { display: none; }
.m-saludo b { display: block; font-size: 12px; line-height: 1.15; }
.m-saludo em, .m-quien em { display: block; font-style: normal; font-size: 9.5px; color: var(--m-gris); }
.m-user { display: flex; align-items: center; gap: 8px; }
.m-user .campana { width: 14px; height: 14px; color: #525252; }
.m-avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--m-azul); color: #fff; font-size: 9px; font-weight: 600; display: grid; place-items: center; }
.m-quien b { display: block; font-size: 10.5px; line-height: 1.15; }
.mock-principal { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.mock-titulo { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mock-titulo > b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.m-botones { display: flex; gap: 6px; }
.m-btn, .m-btn-sec, .m-ver { text-decoration: none; display: inline-flex; align-items: center; gap: 4px; border-radius: 99px; font-weight: 500; font-size: 10px; padding: 4px 10px; white-space: nowrap; }
.m-btn { background: var(--m-azul); color: #fff; }
.m-btn-sec, .m-ver { background: #fff; border: 1px solid #d4d4d4; color: #262626; }
.m-ver { padding: 2px 7px; font-size: 9px; justify-self: end; }
.m-filtros { display: flex; align-items: flex-end; gap: 8px; background: #fff; border-radius: 10px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); padding: 8px 10px; }
.m-filtros span { display: flex; flex-direction: column; gap: 3px; font-size: 9px; font-weight: 500; flex: 1; min-width: 0; }
.m-filtros i { font-style: normal; font-weight: 400; color: #64707f; border: 1px solid #e0e0e0; border-radius: 99px; padding: 4px 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-filtros .m-btn-sec { flex: none; background: #f0f0f1; border: 0; }
/* Tabla */
.m-tabla { background: #fff; border-radius: 10px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); overflow: hidden; }
.m-th, .m-tr { display: grid; grid-template-columns: 88px minmax(0, 1fr) 52px 72px 28px; gap: 6px; align-items: center; padding: 0 10px; }
.m-th { height: 28px; font-weight: 500; font-size: 10px; border-bottom: 1px solid var(--m-borde); }
.m-tr { height: 36px; border-bottom: 1px solid #f0f0f0; }
.m-tr:last-child { border-bottom: 0; }
.m-th span, .m-tr span, .m-tr strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-num { font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.m-der, .m-tr strong { text-align: right; }
.m-tr strong { font-weight: 500; }
.m-tr u[class^="b-"] { text-decoration: none; justify-self: start; font-size: 8.5px; font-weight: 500; padding: 2px 6px; border-radius: 99px; white-space: nowrap; }
.b-ok { background: #d1fae5; color: #065f46; }
.b-env { background: #e0f2fe; color: #075985; }
/* KuDE */
.mock-kude { position: absolute; right: -14px; bottom: 0; width: 236px; background: #fff; border-radius: 8px; padding: 11px 12px; box-shadow: 0 24px 48px -12px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.12); font-size: 8.5px; line-height: 1.35; color: #1d1d1f; transform: rotate(1.5deg); }
.k-top { display: grid; grid-template-columns: 30px 1fr auto; gap: 8px; align-items: start; padding-bottom: 7px; border-bottom: 1.5px solid #1d1d1f; }
.k-logo { width: 30px; height: 30px; border: 1.5px solid #1d1d1f; display: grid; place-items: center; font-weight: 700; font-size: 10px; }
.k-emi b { display: block; font-size: 9px; }
.k-emi span, .k-tipo span { display: block; color: #555; }
.k-tipo { text-align: right; }
.k-tipo b { display: block; font-size: 8.5px; letter-spacing: .02em; }
.k-cli { display: flex; justify-content: space-between; gap: 6px; padding: 6px 0; border-bottom: 1px solid #ddd; }
.k-tabla { margin-top: 5px; }
.k-th, .k-tr { display: grid; grid-template-columns: 26px 1fr 52px; gap: 6px; padding: 3px 0; }
.k-th { font-weight: 700; border-bottom: 1px solid #1d1d1f; }
.k-th span:last-child, .k-tr span:last-child { text-align: right; }
.k-linea, .k-total { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; }
.k-linea { color: #555; border-top: 1px solid #ddd; margin-top: 4px; }
.k-total { border-top: 1.5px solid #1d1d1f; font-weight: 700; font-size: 10px; }
.k-pie { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.k-pie p { margin: 0; color: #666; font-size: 7.5px; line-height: 1.3; }
.k-qr { width: 40px; height: 40px; flex: none; background: conic-gradient(from 90deg at 50% 50%, #1d1d1f 25%, #fff 0 50%, #1d1d1f 0 75%, #fff 0) 0 0 / 10px 10px; border: 3px solid #1d1d1f; }
.mock-nota { position: absolute; left: 4px; bottom: 8px; width: 120px; color: var(--muted); font-size: 11.5px; line-height: 1.25; }

/* Para quién es */
.perfiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.perfil { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: 30px 26px; box-shadow: 0 1px 2px rgba(11,45,91,.05); }
.perfil h3 { font-size: 22px; line-height: 1.15; }
.perfil-sub { color: var(--muted); margin: 8px 0 18px; font-size: 15px; }
.perfil ul { list-style: none; margin: 0; padding: 0; }
.perfil li { position: relative; padding: 9px 0 9px 26px; border-top: 1px solid var(--parchment); font-size: 15px; }
.perfil li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-text); font-weight: 800; }

/* Confianza */
.confianza .card { background: var(--parchment); }

/* Diálogo "Ingresar" */
.dlg { border: 0; border-radius: var(--radius-lg); padding: 28px; width: min(420px, calc(100vw - 32px)); box-shadow: 0 30px 80px rgba(6,26,55,.4); }
.dlg::backdrop { background: rgba(0,0,0,.45); }
.dlg h2 { text-align: left; font-size: 24px; }
.dlg p { color: var(--muted); font-size: 15px; margin: 10px 0 18px; }
.dlg label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.sufijo { display: flex; align-items: center; border: 1px solid #b8c4d2; border-radius: var(--radius); overflow: hidden; }
.sufijo:focus-within { outline: 2px solid var(--primary); outline-offset: 1px; border-color: transparent; }
.sufijo input { flex: 1; min-width: 0; border: 0; padding: 12px; font: 400 16px var(--font); outline: none; }
.sufijo em { font-style: normal; padding: 0 12px; color: var(--muted); background: var(--parchment); align-self: stretch; display: flex; align-items: center; font-size: 14px; }
.dlg .status { margin: 8px 0 0; }
.dlg-acciones { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }

/* Páginas legales (privacidad y términos) */
.legal-doc { max-width: 760px; padding-top: 40px; padding-bottom: 80px; }
.legal-doc h1 { font-size: clamp(32px, 6vw, 44px); margin-bottom: 8px; }
.legal-doc h2 { text-align: left; font-size: 22px; margin: 36px 0 10px; letter-spacing: -0.01em; }
.legal-doc h3 { font-size: 17px; margin: 22px 0 6px; }
.legal-doc p, .legal-doc li { color: #2c2c2e; font-size: 16px; line-height: 1.6; }
.legal-doc ul { padding-left: 22px; margin: 8px 0 12px; }
.legal-doc li { margin: 6px 0; }
.legal-doc .meta { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.legal-doc .borrador { background: #fff4d6; border: 1px solid #f0d58a; border-radius: 12px; padding: 14px 16px; font-size: 15px; color: #5a4300; }
.legal-doc .pendiente { background: #fff0a8; border-radius: 4px; padding: 0 3px; }
.legal-doc .legal-enlaces { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--hairline); }
.pagina-legal .footer { padding-bottom: 28px; }

/* Footer */
.footer { background: var(--ink); padding: 40px 0 32px; font-size: 14px; color: #b3c6df; }
.foot-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot-in p { margin: 0; }
.footer a { color: #d9e3f0; }
.footer .foot-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font: 700 20px/1 var(--font-num); }
.footer .foot-brand img { width: 26px; height: 26px; }
.footer .foot-brand b { color: var(--accent); font-weight: 700; }

@media (max-width: 900px) {
  .hero { padding: 40px 0 48px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-texto { text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-points { justify-content: center; }
  .mock { max-width: 520px; width: 100%; margin: 0 auto; }
  .mock-kude { right: -4px; width: 218px; }
  .perfiles { grid-template-columns: 1fr; }
  .grid, .steps, .plans, .two, .demo { grid-template-columns: 1fr; }
  .nav-in > nav { display: none; }
  .menu-btn { display: flex; }
  .link-ingresar { display: none; }
  .nav-cta { gap: 8px; }
  .accion-movil:not([hidden]) { display: flex; }
  .footer { padding-bottom: calc(28px + 76px); }
  .mock-app { grid-template-columns: minmax(0, 1fr); }
  .mock-lateral { display: none; }
  .m-hamb { display: grid; place-items: center; width: 22px; height: 22px; margin-left: -4px; }
  .m-hamb .ico { width: 16px; height: 16px; }
  .m-saludo { margin-right: auto; }
  .m-quien, .m-filtros { display: none; }
  .m-th, .m-tr { grid-template-columns: 1.5fr .9fr 1fr 30px; }
  .m-cli { display: none; }
  .m-tr:last-child { display: none; }
  .mock { padding-bottom: 196px; }
  section { padding: 64px 0; }
  .two h2 { text-align: center; }
  .sub.left { text-align: center; margin: 16px auto 0; }
  .plans { gap: 28px; }
}

/* Página de error (404.html) */
.pagina-error { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-block: 64px; }
.pagina-error h1 { margin: 0 0 12px; font-size: clamp(28px, 5vw, 40px); line-height: 1.1; }
.pagina-error p { max-width: 460px; margin: 0 0 16px; color: var(--muted); }
.pagina-error .error-codigo { font: 700 clamp(72px, 18vw, 140px)/1 var(--font-num); color: var(--primary); letter-spacing: -0.04em; margin-bottom: 8px !important; }
.error-acciones { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Accesibilidad: un enlace dentro de un texto no puede distinguirse solo por el color. */
p a:not(.btn), li a:not(.btn), details a, .fine a, .alt a { text-decoration: underline; text-underline-offset: .18em; }
p a:not(.btn):hover, li a:not(.btn):hover, details a:hover, .fine a:hover, .alt a:hover { text-decoration-thickness: 2px; }

/* Páginas de contenido (guías, planes, rubros) */
.guia { padding-top: 28px; }
.guia h1 { font-size: clamp(30px, 5.5vw, 44px); margin-bottom: 12px; }
.guia .bajada { font-size: 19px; line-height: 1.55; color: var(--muted); margin: 0 0 8px; }
.aviso-guia { background: var(--accent-soft); border: 1px solid #b6ece4; border-radius: var(--radius); padding: 12px 16px; font-size: 15px; color: #064e45; }
.guia code { font: 500 13.5px var(--font-mono); background: var(--parchment); border: 1px solid var(--hairline); border-radius: 6px; padding: 2px 6px; word-break: break-all; }
.guia details { margin: 0; }
.guia details:first-of-type { margin-top: 12px; }
.tabla-envoltorio { overflow-x: auto; margin: 14px 0 6px; border: 1px solid var(--hairline); border-radius: var(--radius-lg); }
.tabla { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.tabla th, .tabla td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.tabla thead th { background: var(--parchment); color: var(--ink); font-weight: 700; }
.tabla tbody tr:last-child th, .tabla tbody tr:last-child td { border-bottom: 0; }
.tabla-planes th[scope="row"] { font-weight: 600; color: var(--ink); background: #fff; }
.tabla-planes td strong { color: var(--ink); font-family: var(--font-num); }
.nota-tabla { font-size: 14px; color: var(--muted); margin: 8px 0 0; }
.guias-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 28px 0 0; }
.guia-card { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: 22px; color: var(--body); text-decoration: none; transition: box-shadow .15s, border-color .15s; }
.guia-card:hover { text-decoration: none; border-color: var(--primary); box-shadow: var(--shadow-md); }
.guia-card h2, .guia-card h3 { text-align: left; font-size: 21px; margin: 0; letter-spacing: -0.01em; }
.guia-card p { margin: 0; font-size: 15px; }
.guia-grupo { color: var(--accent-text); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.guia-leer { margin-top: auto; padding-top: 8px; color: var(--link); font-weight: 700; font-size: 15px; }
.cta-guia { padding: 64px 0; }
.cta-guia .wrap { text-align: center; }
.cta-guia .sub { max-width: 560px; }
.cta-botones { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 28px 0 0; }
.btn-claro { background: #fff; color: var(--ink); }
.btn-claro:hover { background: #eef3ff; }
.btn-borde { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.85); }
.btn-borde:hover { background: rgba(255,255,255,.14); }
.guias-home { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 40px 0 0; }
.guias-home .guia-card { padding: 20px; }
.guias-home .guia-card h3 { font-size: 18px; letter-spacing: -0.01em; }
@media (max-width: 900px) { .guias-grid { grid-template-columns: 1fr; } .guias-home { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .guias-home { grid-template-columns: 1fr; } }
.seguir { list-style: none; padding: 0; margin: 10px 0 0; }
.seguir li { margin: 0; padding: 9px 0; border-top: 1px solid var(--hairline); }
.seguir li:last-child { border-bottom: 1px solid var(--hairline); }
.dark.cta-guia { background: linear-gradient(110deg, #0b1f44 0%, #1c46a8 100%); }

/* Migas de pan */
.guia .migas { margin: 0 0 22px; font-size: 14px; }
.guia .migas ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 2px; list-style: none; margin: 0; padding: 0; }
.guia .migas li { display: flex; align-items: center; margin: 0; padding: 0; font-size: 14px; line-height: 1.2; }
.guia .migas li + li::before { content: "›"; color: var(--muted); font-size: 20px; line-height: 1; margin: 0 8px 2px 6px; }
.guia .migas a, .guia .migas [aria-current] { display: inline-block; padding: 6px 13px; border-radius: 999px; }
.guia .migas a { background: var(--parchment); border: 1px solid var(--hairline); color: var(--link); font-weight: 600; text-decoration: none; }
.guia .migas a:hover { background: #eef3ff; border-color: var(--link); }
.guia .migas [aria-current] { color: var(--ink); font-weight: 700; background: #eef3ff; }

/* Planes en la página de precios: tarjetas (una columna en el celular) */
.guia-ancho { max-width: 1080px; }
.guia-ancho > :not(.plans):not(.migas) { max-width: 760px; }
.plans-pagina { margin-top: 28px; margin-bottom: 8px; }
.plan li.no { color: var(--muted); }
.plan li.no::before { content: "✕ "; font-weight: 700; }
.plan > .btn { margin-top: auto; }

/* Pie */
.footer { background: var(--ink); padding: 52px 0 28px; font-size: 14px; color: #b3c6df; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.4fr 1.4fr 1.3fr; gap: 32px 32px; }
.footer .foot-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font: 700 21px/1 var(--font-num); text-decoration: none; }
.footer .foot-brand img { width: 28px; height: 28px; }
.footer .foot-brand b { color: var(--accent); font-weight: 700; }
.foot-desc { margin: 14px 0 0; max-width: 290px; line-height: 1.6; color: #b3c6df; }
.foot-tit { margin: 0 0 14px; color: #fff; font-weight: 700; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0 0 10px; }
.footer a { color: #d9e3f0; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.foot-base { margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); color: #8c99aa; font-size: 13px; }
.foot-base p { margin: 0; }
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-marca { grid-column: 1 / -1; }
  .footer { padding-bottom: calc(28px + 76px); }
}
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; gap: 26px; } }

/* Las tarjetas de planes dentro de una página de contenido recuperan su tamaño (el estilo de texto de las guías es más chico) */
.guia .plan h3 { font-size: 26px; margin: 0; }
.guia .plan .desc { color: var(--muted); font-size: 15px; margin: 6px 0 0; }
.guia .plan .price { font: 600 34px/1.1 var(--font-num); color: var(--ink); margin: 22px 0 6px; }
.guia .plan .price small { display: block; font: 500 13px var(--font); color: var(--muted); margin: 6px 0 0; }
.guia .plan ul { padding: 0; margin: 18px 0; }
.guia .plan li { margin: 0; padding: 9px 0; font-size: 15px; color: var(--body); border-top: 1px solid var(--hairline); }
.guia .plan li.no { color: var(--muted); }
.guia .plan .extra { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.guia .plan .badge { font-size: 12px; color: var(--ink); margin: 0; }
.footer li a:not(.btn) { text-decoration: none; }
.footer li a:not(.btn):hover { text-decoration: underline; }

/* Comparación de dos opciones (guía e-Kuatia'i) */
.comparar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 14px 0 6px; }
.comparar-caja { border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: 18px 20px; background: #fff; }
.comparar-destacada { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.guia .comparar-caja h3 { margin: 0 0 6px; font-size: 18px; }
.guia .comparar-caja ul { padding-left: 20px; margin: 6px 0 0; }
.guia .comparar-caja li { margin: 7px 0; font-size: 15px; }
.guias-grid + h2 { margin-top: 44px; }
@media (max-width: 900px) { .comparar { grid-template-columns: 1fr; } .foot-grid { grid-template-columns: 1fr 1fr; } }
