/* Plataforma de Negocio — hoja de estilos
   --brand y --accent llegan de /theme.css (colores de cada empresa). */
:root {
  --brand: #17324D; --accent: #1E7A78;
  --ink: #1F2B33; --muted: #5F6B73; --line: #DCE3E8; --surface: #F5F7F8; --card: #FFFFFF;
  --ok: #1E7A78; --ok-bg: #E8F4F2; --warn: #8A5A00; --warn-bg: #FFF5DD; --err: #B42318; --err-bg: #FDECEA;
  --radius: 10px; --radius-sm: 6px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.55 var(--font); color: var(--ink); background: var(--surface); }
a { color: var(--accent); text-underline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 650; letter-spacing: -.01em; }
h1 { font-size: 1.65rem; } h2 { font-size: 1.25rem; } h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; max-width: 75ch; }
small, .muted { color: var(--muted); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 60%, white); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
img { max-width: 100%; height: auto; }

/* ---------- Botones y formularios ---------- */
.btn { display: inline-flex; align-items: center; gap: .4em; padding: .55em 1.05em; border-radius: var(--radius-sm);
  border: 1px solid var(--brand); background: var(--brand); color: #fff; font: inherit; font-weight: 600;
  text-decoration: none; cursor: pointer; line-height: 1.3; }
.btn:hover { filter: brightness(1.12); }
.btn.secondary { background: #fff; color: var(--brand); }
.btn.accent { background: var(--accent); border-color: var(--accent); }
.btn.danger { background: #fff; color: var(--err); border-color: color-mix(in srgb, var(--err) 45%, white); }
.btn.small { padding: .3em .7em; font-size: .88rem; }
.btn.link { background: none; border: none; color: var(--accent); padding: 0; font-weight: 500; text-decoration: underline; }
form.inline { display: inline; }
label { display: block; font-weight: 600; margin-bottom: .3em; }
.field { margin-bottom: 1.05rem; }
.field .help { display: block; color: var(--muted); font-size: .86rem; font-weight: 400; margin-top: .25em; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date],
input[type=datetime-local], input[type=search], input[type=url], select, textarea {
  width: 100%; padding: .55em .7em; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit;
  background: #fff; color: var(--ink); }
input[type=color] { width: 4rem; height: 2.4rem; padding: 2px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
textarea { min-height: 7rem; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.check { display: flex; gap: .55em; align-items: flex-start; font-weight: 500; }
.check input { margin-top: .3em; width: 1.05rem; height: 1.05rem; accent-color: var(--accent); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 1.25rem; }
.actions { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin-top: 1rem; }
.hp { position: absolute; left: -9999px; }

/* ---------- Mensajes ---------- */
.flash { padding: .7em 1em; border-radius: var(--radius-sm); margin-bottom: 1rem; border-left: 4px solid; }
.flash.ok { background: var(--ok-bg); border-color: var(--ok); }
.flash.warn { background: var(--warn-bg); border-color: #C89B3C; }
.flash.error { background: var(--err-bg); border-color: var(--err); }
.notice { background: var(--warn-bg); padding: .8em 1em; border-radius: var(--radius-sm); }
.secret { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.05rem; background: #fff; border: 1px dashed var(--accent);
  padding: .6em .9em; border-radius: var(--radius-sm); word-break: break-all; user-select: all; }

/* ---------- Panel: estructura ---------- */
.shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.side { background: var(--brand); color: #fff; padding: 1.1rem .8rem; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.side .brand { display: flex; gap: .6rem; align-items: center; padding: .2rem .5rem 1rem; color: #fff; text-decoration: none; }
.side .brand img { width: 34px; height: 34px; object-fit: contain; background: #fff; border-radius: 6px; padding: 2px; }
.side .brand strong { font-size: 1.02rem; line-height: 1.2; }
.side nav p { margin: 1.1rem .5rem .35rem; font-size: .8rem; color: rgba(255,255,255,.62); }
.side nav a { display: block; color: rgba(255,255,255,.9); text-decoration: none; padding: .42rem .6rem; border-radius: var(--radius-sm); }
.side nav a:hover { background: rgba(255,255,255,.1); }
.side nav a.on { background: #fff; color: var(--brand); font-weight: 650; }
.side .who { margin-top: 1.4rem; padding: .8rem .6rem 0; border-top: 1px solid rgba(255,255,255,.18); font-size: .88rem; }
.side .who a, .side .who button { color: #fff; }
.side .who .role { display: block; color: rgba(255,255,255,.65); }
.main { padding: 1.6rem 2rem 3rem; min-width: 0; }
.main > header { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.main > header h1 { margin: 0; }
.menu-toggle { display: none; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; margin-bottom: 1.2rem; }
.card > h2:first-child { margin-top: 0; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.2rem; align-items: start; }
.narrow { max-width: 760px; }

/* Indicadores: número grande con etiqueta a la izquierda, en una sola banda */
.kpis { display: flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 1.2rem; }
.kpis div { flex: 1 1 160px; padding: .9rem 1.2rem; border-right: 1px solid var(--line); }
.kpis div:last-child { border-right: none; }
.kpis b { display: block; font-size: 1.7rem; font-weight: 700; color: var(--brand); line-height: 1.1; }
.kpis span { color: var(--muted); font-size: .9rem; }

/* ---------- Tablas ---------- */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .86rem; color: var(--muted); font-weight: 600; background: #FAFBFC; white-space: nowrap; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: #FAFCFC; }
td a.rowlink { font-weight: 600; text-decoration: none; color: var(--ink); }
td a.rowlink:hover { color: var(--accent); text-decoration: underline; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.empty { padding: 2rem; text-align: center; color: var(--muted); }
.filters { display: flex; gap: .6rem; flex-wrap: wrap; align-items: end; margin-bottom: 1rem; }
.filters input[type=search] { width: 260px; }
.filters select { width: auto; }
.pager { display: flex; gap: .5rem; align-items: center; margin-top: 1rem; }

/* Estado: punto de color + texto */
.st { display: inline-flex; align-items: center; gap: .4em; white-space: nowrap; font-size: .9rem; }
.st::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: #9AA7B0; }
.st-confirmada::before, .st-en_proceso::before, .st-en_curso::before { background: #2B6CB0; }
.st-completada::before, .st-entregado::before, .st-resuelta::before, .st-cerrada::before, .st-listo::before { background: var(--ok); }
.st-pendiente::before, .st-nuevo::before, .st-abierta::before, .st-en_espera::before { background: #C89B3C; }
.st-cancelada::before, .st-cancelado::before, .st-no_presentado::before { background: var(--err); }
.prio-urgente { color: var(--err); font-weight: 700; } .prio-alta { color: #B7591F; font-weight: 600; }

/* Agenda semanal */
.week { display: grid; grid-template-columns: repeat(7, minmax(130px, 1fr)); gap: .5rem; overflow-x: auto; }
.day { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); min-height: 180px; }
.day h3 { font-size: .9rem; padding: .5rem .6rem; margin: 0; border-bottom: 1px solid var(--line); }
.day.today h3 { background: var(--brand); color: #fff; border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.day a { display: block; margin: .4rem; padding: .4rem .5rem; border-left: 3px solid var(--accent); background: var(--surface);
  text-decoration: none; color: var(--ink); font-size: .86rem; border-radius: 0 4px 4px 0; }
.day a.pendiente { border-left-color: #C89B3C; }
.day a time { font-weight: 700; display: block; }

/* Barras de informes */
.bars { display: grid; grid-template-columns: max-content 1fr max-content; gap: .45rem .8rem; align-items: center; }
progress { width: 100%; height: .8rem; appearance: none; border: none; border-radius: 99px; background: var(--surface); overflow: hidden; }
progress::-webkit-progress-bar { background: var(--surface); border-radius: 99px; }
progress::-webkit-progress-value { background: var(--accent); border-radius: 99px; }
progress::-moz-progress-bar { background: var(--accent); border-radius: 99px; }

/* Matriz de permisos */
.matrix td, .matrix th { text-align: center; }
.matrix td:first-child, .matrix th:first-child { text-align: left; }
.matrix select { width: auto; min-width: 9rem; }
.switch-row { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.switch-row:last-child { border-bottom: none; }
.switch-row .check { margin: 0; }

/* Chat */
.chat-log { display: flex; flex-direction: column; gap: .6rem; max-height: 55vh; overflow-y: auto; padding: .4rem; }
.msg { max-width: 85%; padding: .6rem .85rem; border-radius: 12px; white-space: pre-wrap; }
.msg.user { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 3px; }
.msg.bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 3px; }
.msg .src { display: block; font-size: .8rem; color: var(--muted); margin-top: .35rem; }
.chat-form { display: flex; gap: .5rem; margin-top: .8rem; }
.chat-form input { flex: 1; }

/* ---------- Acceso ---------- */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem; background: var(--brand); }
.auth .card { width: 100%; max-width: 400px; padding: 2rem; }
.auth .logo { display: block; max-height: 56px; margin-bottom: 1rem; }

/* ---------- Web pública ---------- */
.pub { background: #fff; }
.pub-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 5vw; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.pub-top .name { display: flex; align-items: center; gap: .7rem; font-weight: 700; font-size: 1.15rem; color: var(--brand); text-decoration: none; }
.pub-top .name img { height: 44px; width: auto; }
.pub-top nav { display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: center; }
.pub-top nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.pub-top nav a.btn { color: #fff; }
.hero { background: var(--brand); color: #fff; padding: 4.5rem 5vw 4rem; }
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 750; letter-spacing: -.025em; max-width: 18ch; margin-bottom: .4em; }
.hero p { font-size: 1.2rem; max-width: 52ch; opacity: .92; }
.hero .actions .btn { background: #fff; color: var(--brand); border-color: #fff; font-size: 1.05rem; padding: .75em 1.4em; }
.hero .actions .btn.secondary { background: transparent; color: #fff; }
.pub section { padding: 3.2rem 5vw; }
.pub section.alt { background: var(--surface); }
.pub section h2 { font-size: 1.7rem; margin-bottom: 1.2rem; }
.wrap { max-width: 1040px; }
/* Lista de servicios como carta de precios con línea de puntos */
.price-list { list-style: none; padding: 0; margin: 0; max-width: 760px; }
.price-list li { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.price-list .row { display: flex; align-items: baseline; gap: .6rem; }
.price-list .row strong { font-size: 1.08rem; }
.price-list .row .dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.price-list .row .price { font-weight: 700; color: var(--brand); white-space: nowrap; }
.price-list p { margin: .25rem 0 0; color: var(--muted); }
.price-list .meta { font-size: .88rem; color: var(--muted); }
details { border-bottom: 1px solid var(--line); padding: .9rem 0; max-width: 760px; }
details summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; }
details p { margin: .6rem 0 0; white-space: pre-line; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.contact-grid dl { margin: 0; } .contact-grid dt { color: var(--muted); font-size: .9rem; } .contact-grid dd { margin: 0 0 .8rem; font-weight: 600; }
.pub-footer { padding: 2rem 5vw; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: space-between; }
.pub-page { padding: 2.5rem 5vw 4rem; max-width: 820px; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps > li { counter-increment: s; position: relative; padding-left: 2.6rem; margin-bottom: 1.6rem; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: -.1rem; width: 1.8rem; height: 1.8rem; border-radius: 50%;
  background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .95rem; }
.slots { display: flex; flex-wrap: wrap; gap: .5rem; }
.slots label { margin: 0; font-weight: 600; }
.slots input { position: absolute; opacity: 0; }
.slots span { display: inline-block; padding: .45em .85em; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; background: #fff; font-variant-numeric: tabular-nums; }
.slots input:checked + span { background: var(--accent); color: #fff; border-color: var(--accent); }
.slots input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--accent) 50%, white); }
.summary { background: var(--surface); border-radius: var(--radius); padding: 1rem 1.2rem; }
.summary dl { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1rem; margin: 0; }
.summary dt { color: var(--muted); }
.wa { position: fixed; left: 1.2rem; bottom: 1.2rem; background: #1F8F4E; color: #fff; padding: .7em 1em; border-radius: 99px; text-decoration: none; font-weight: 600; box-shadow: 0 4px 14px rgba(0,0,0,.18); z-index: 20; }
.chatw { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 30; }
.chatw > button { border-radius: 99px; box-shadow: 0 4px 14px rgba(0,0,0,.2); padding: .75em 1.2em; }
.chatw .panel { display: none; position: absolute; right: 0; bottom: 3.6rem; width: min(380px, calc(100vw - 2.4rem)); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 34px rgba(0,0,0,.18); padding: 1rem; }
.chatw.open .panel { display: block; }
.chatw .panel header { display: flex; justify-content: space-between; align-items: center; margin-bottom: .4rem; }
.chatw .chat-log { max-height: 340px; }

@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: static; height: auto; }
  .side nav { display: none; }
  .side.open nav { display: block; }
  .menu-toggle { display: inline-flex; float: right; background: rgba(255,255,255,.14); border-color: transparent; }
  .main { padding: 1.2rem 1rem 2.5rem; }
  .hero { padding: 3rem 6vw; }
  .filters input[type=search] { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media print { .side, .filters, .actions, .pager { display: none !important; } .shell { display: block; } }
.gap-top { margin-top: 1.2rem; }
fieldset.plain { border: none; padding: 0; margin: 0; min-width: 0; }
.qr svg { width: 200px; height: 200px; background: #fff; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); margin: .6rem 0; }
.code-input { max-width: 10rem; font-size: 1.2rem; letter-spacing: .15em; }
.logo-preview { max-height: 80px; background: var(--surface); padding: 6px; border-radius: var(--radius-sm); }
.pre { white-space: pre-line; }
.catalog-group { padding: 1rem 1.3rem; }
.catalog-group summary { cursor: pointer; list-style-position: outside; }
.catalog-group[open] summary { margin-bottom: 1rem; }
.inline-h { display: inline; margin: 0; }

/* ======================= Catálogo de servicios (portada comercial) ======================= */
.cat { --gold: #C89B3C; --gold-soft: #FFF8EA; }
.c-wrap { max-width: 1120px; margin: 0 auto; padding: 0 5vw; box-sizing: content-box; }
.c-narrow { max-width: 820px; }
.c-hero { background: var(--brand); color: #fff; padding: 4.5rem 0 2.5rem; }
.c-kicker { color: var(--gold); font-weight: 650; margin: 0 0 .8rem; letter-spacing: .02em; }
.c-hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 780; letter-spacing: -.035em; line-height: 1.02; margin: 0 0 .9rem; max-width: 14ch; }
.c-sub { font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: #fff; opacity: .95; max-width: 40ch; margin-bottom: 1rem; }
.c-intro { font-size: 1.08rem; opacity: .82; max-width: 60ch; }
.c-btn-main { background: var(--gold); border-color: var(--gold); color: #1d1606; font-size: 1.02rem; padding: .7em 1.3em; }
.c-btn-ghost { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; padding: .7em 1.3em; }
.c-pilares { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 3rem; padding-top: 0; padding-bottom: 0; }
.c-pilares li { padding: 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .2rem; }
.c-pilares strong { font-size: 1.25rem; font-weight: 750; }
.c-pilares span { opacity: .9; }
.c-pilares .p1 { background: rgba(255,255,255,.08); border-radius: var(--radius) 0 0 var(--radius); }
.c-pilares .p2 { background: var(--accent); }
.c-pilares .p3 { background: var(--gold); color: #1d1606; border-radius: 0 var(--radius) var(--radius) 0; }
.c-nota { margin-top: 1.5rem; opacity: .75; font-style: italic; }
.c-sec { padding: 4.2rem 0; }
.c-sec h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -.02em; margin-bottom: .6rem; color: var(--brand); }
.c-lead { font-size: 1.1rem; color: var(--muted); max-width: 66ch; margin-bottom: 2rem; }
.c-alt { background: var(--surface); }
.c-dark { background: var(--brand); color: #fff; }
.c-dark h2, .c-dark h3 { color: #fff; }
.c-dark .c-lead { color: rgba(255,255,255,.82); }
.c-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: start; }
.c-frase, .c-regla { border-left: 5px solid var(--gold); background: var(--gold-soft); padding: 1.2rem 1.4rem; border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink); }
.c-frase span, .c-regla span { display: block; font-weight: 700; color: #8a6418; margin-bottom: .3rem; }
.c-frase p { font-size: 1.25rem; font-weight: 600; line-height: 1.4; margin: 0; color: var(--brand); }
.c-regla p { margin: 0; }
.c-filo { margin-top: 2.2rem; max-width: 760px; }
.c-h3 { font-size: 1.2rem; margin: 2.4rem 0 1rem; }
/* ¿Te suena? */
.c-prob { border-top: 2px solid var(--brand); }
.c-prob-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.c-prob-head { font-size: .88rem; color: var(--muted); font-weight: 600; padding: .6rem 0; }
.c-prob q { font-size: 1.12rem; font-style: italic; color: var(--brand); quotes: "«" "»"; }
.c-prob b { color: var(--accent); }
/* Tarjetas */
.c-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.2rem; }
.c-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.2rem; display: flex; flex-direction: column; gap: .5rem; position: relative; }
.c-card h3 { font-size: 1.15rem; margin: 0; color: var(--brand); }
.c-card p { margin: 0; color: var(--muted); }
.c-ico { font-size: 1.9rem; line-height: 1; }
.c-benef { color: var(--accent) !important; font-weight: 650; padding-left: 1.3em; position: relative; }
.c-benef::before { content: "➜"; position: absolute; left: 0; color: var(--gold); }
.c-more { margin-top: auto; padding-top: .4rem; font-weight: 600; }
.c-pack .btn { margin-top: auto; align-self: flex-start; }
.c-dest { border-top-color: var(--gold); box-shadow: 0 6px 24px rgba(23,50,77,.10); }
.c-badge { position: absolute; top: -.75rem; right: 1rem; background: var(--gold); color: #1d1606; font-size: .78rem; font-weight: 700; padding: .2em .7em; border-radius: 99px; }
.c-incl { list-style: none; padding: 0; margin: .2rem 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.c-incl li { background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: .15em .7em; font-size: .86rem; }
.c-precio { color: var(--ink) !important; }
/* IA */
.c-ia { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: .9rem 2rem; margin: 0; }
.c-ia div { border-top: 1px solid rgba(255,255,255,.18); padding: 1rem 0 .4rem; }
.c-ia dt { font-weight: 700; color: var(--gold); margin-bottom: .25rem; }
.c-ia dd { margin: 0; color: rgba(255,255,255,.88); }
.c-chatgpt { background: var(--accent); border-radius: var(--radius); padding: 1.6rem 1.8rem; margin-top: 2.4rem; }
.c-chatgpt h3 { margin-top: 0; font-size: 1.35rem; }
.c-chatgpt p { max-width: 70ch; }
.c-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.c-checks li { padding-left: 1.7em; position: relative; }
.c-checks li::before { content: "✔"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.c-dots { padding-left: 1.2em; }
.c-dots li { margin-bottom: .4rem; }
/* Sectores */
.c-sector { border-top-color: var(--gold); }
.c-sector h3 { display: flex; gap: .55rem; align-items: center; }
.c-ico-sm { font-size: 1.4rem; }
/* Método */
.c-pasos { list-style: none; counter-reset: paso; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin: 0; }
.c-pasos li { counter-increment: paso; border-top: 3px solid var(--accent); padding-top: 1rem; }
.c-pasos li::before { content: counter(paso); display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 750; margin-bottom: .7rem; }
.c-pasos h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.c-pasos p { color: var(--muted); font-size: .95rem; margin: 0; }
.c-table th[scope=row] { color: var(--brand); white-space: normal; background: transparent; font-size: .95rem; }
/* Experiencia */
.c-casos { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.4rem 2rem; margin: 0; }
.c-casos div { border-left: 3px solid var(--gold); padding-left: 1rem; }
.c-casos dt { font-weight: 700; color: var(--brand); }
.c-casos dd { margin: .2rem 0 0; color: var(--muted); }
/* Contacto */
.c-contact { margin-top: 1rem; }
.c-form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 1.6rem; }
.c-form h3 { color: var(--brand) !important; margin-top: 0; }
.c-form .c-btn-ghost { color: var(--brand); border-color: var(--line); }
.c-datos { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.2); }
.c-datos a, .c-datos span { color: #fff; text-decoration: none; font-weight: 600; }
.c-datos a:hover { text-decoration: underline; }
.c-legal { margin-top: 1.4rem; font-size: .85rem; opacity: .7; }
.cat .pub-top nav { gap: .9rem 1.2rem; }
@media (max-width: 900px) {
  .c-split { grid-template-columns: 1fr; gap: 1.5rem; }
  .c-pilares { grid-template-columns: 1fr; }
  .c-pilares .p1 { border-radius: var(--radius) var(--radius) 0 0; }
  .c-pilares .p3 { border-radius: 0 0 var(--radius) var(--radius); }
  .c-prob-row { grid-template-columns: 1fr; gap: .2rem; }
  .c-prob-head { display: none; }
  .c-pasos { grid-template-columns: 1fr; }
  .cat .pub-top nav a:not(.btn) { display: none; }
}
/* Packs */
.pk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1rem; }
.pk-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .5rem; }
.pk-card.pk-on { border-color: var(--accent); box-shadow: inset 4px 0 0 var(--accent); }
.pk-card p { margin: 0; color: var(--muted); }
.pk-card .actions { margin-top: auto; padding-top: .4rem; }
.pk-head { display: flex; gap: .8rem; align-items: flex-start; }
.pk-head h2 { font-size: 1.08rem; margin: 0; }
.pk-head h2 a { color: var(--ink); text-decoration: none; }
.pk-ico { font-size: 1.8rem; line-height: 1; }
.pk-estado { font-size: .85rem; color: var(--muted); }
.pk-on .pk-estado { color: var(--accent); font-weight: 600; }
.pk-prog { display: flex; align-items: center; gap: .6rem; font-size: .88rem; color: var(--muted); }
.pk-mini { margin: 0; padding-left: 1.1rem; font-size: .9rem; color: var(--muted); }
.pk-bar { margin-bottom: .6rem; }
.pk-list { list-style: none; padding: 0; margin: 0; }
.pk-list li { display: flex; gap: .7rem; align-items: center; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.pk-list li:last-child { border-bottom: none; }
.pk-list li > span:nth-child(2) { flex: 1; }
.pk-mark { width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 700; border: 2px solid var(--line); color: var(--muted); }
.pk-list li.ok .pk-mark { background: var(--ok); border-color: var(--ok); color: #fff; }
.pk-list li.ok > span:nth-child(2) { color: var(--muted); text-decoration: line-through; }
.pk-list li.pend .pk-mark { border-color: #C89B3C; color: #C89B3C; }
.pk-tag { display: inline-block; padding: .15em .65em; margin: 0 .3rem .35rem 0; border-radius: 99px; font-size: .86rem; background: var(--surface); border: 1px solid var(--line); }
.pk-tag.on { background: var(--ok-bg); border-color: var(--ok); color: var(--ok); font-weight: 600; }
.pk-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .1rem 1rem; margin-top: .5rem; }
.pk-incl { margin-bottom: .5rem; }
.pk-incl li::before { color: var(--accent); }
.an-chart { width: 100%; height: auto; display: block; }
.an-v { fill: color-mix(in srgb, var(--accent) 35%, white); }
.an-u { fill: var(--accent); }
.an-t { font-size: 13px; fill: var(--muted); }
.an-key { display: inline-block; width: .8em; height: .8em; border-radius: 2px; vertical-align: -1px; }
.an-v-k { background: color-mix(in srgb, var(--accent) 35%, white); } .an-u-k { background: var(--accent); }
pre.code { background: var(--brand); color: #fff; padding: 1rem; border-radius: var(--radius-sm); overflow-x: auto; font-size: .85rem; }
.wa-log .msg.bot { background: #fff; }
