/* Estilos del sitio CI360 Web Demo. Los colores de cada industria se aplican en JS
   (variables --primary, --secondary, --container, --on-container), igual que los temas de la app. */
:root {
  --primary: #0E3B5C;
  --secondary: #F2A93B;
  --container: #DCE6EF;
  --on-container: #0E3B5C;
  --bg: #F4F6F9;
  --surface: #FFFFFF;
  --text: #1B2430;
  --muted: #677486;
  --line: #E4E8EE;
  --positive: #1B8A5A;
  --negative: #B3261E;
  --radius: 14px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { max-width: 100%; }
button, input, select { font: inherit; }

/* ---------- Contenido ---------- */
.view { max-width: 1120px; margin: 0 auto; padding: 24px 16px 56px; min-height: 60vh; }
.narrow { max-width: 460px; margin: 0 auto; }
h1 { font-size: 24px; margin: 0 0 6px; }
h2 { font-size: 18px; margin: 0 0 10px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.stack > * + * { margin-top: 12px; }

.card {
  background: var(--surface); border-radius: var(--radius);
  padding: 16px; box-shadow: 0 1px 2px rgba(16,24,40,.06);
}
.list-card { padding: 4px 16px; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row-main { flex: 1; min-width: 0; }
.row-title { font-size: 15px; }
.row-sub { font-size: 13px; color: var(--muted); }
.row-value { font-weight: 600; text-align: right; }
.pos { color: var(--positive); }
.neg { color: var(--negative); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--primary); background: var(--primary); color: #fff;
  font-weight: 600; text-decoration: none;
}
.btn:hover { filter: brightness(1.08); }
.btn.block { width: 100%; }
.btn.outline { background: transparent; color: var(--primary); }
.btn.tonal { background: var(--container); color: var(--on-container); border-color: transparent; }
.btn.text { background: transparent; color: var(--primary); border-color: transparent; min-height: 40px; padding: 0 12px; }
.btn.small { min-height: 36px; padding: 0 16px; font-size: 14px; }

/* ---------- Formularios ---------- */
.field { display: block; }
.field span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid #9AA5B4; border-radius: 8px; background: #fff; color: var(--text);
}
.field input:focus { outline: 2px solid var(--primary); border-color: transparent; }
.error { color: var(--negative); font-size: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--primary); }

/* ---------- Inicio ---------- */
.home-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .home-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.summary { background: var(--primary); color: #fff; }
.summary .seg { color: var(--secondary); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.summary .label { opacity: .82; font-size: 14px; margin-top: 6px; }
.summary .value { font-size: 28px; font-weight: 700; margin: 2px 0 10px; }
.summary .btn { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; min-height: 38px; }
.quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.quick .btn { min-height: 44px; padding: 0 8px; font-size: 14px; }

/* ---------- Spots (simulados) ---------- */
.spot {
  border-radius: 16px; color: #fff; padding: 18px; min-height: 170px;
  display: flex; flex-direction: column; justify-content: center; position: relative;
}
.spot .tag { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.spot .title { font-size: 20px; font-weight: 700; margin: 2px 0 4px; }
.spot .body { font-size: 14px; opacity: .95; }
.spot .btn { align-self: flex-start; margin-top: 10px; background: #fff; border-color: #fff; min-height: 38px; }
.spot .sim { position: absolute; top: 10px; right: 12px; font-size: 10px; opacity: .7; }

/* ---------- Catálogo ---------- */
.catalog { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.product { display: flex; align-items: center; gap: 12px; }
.product .name { font-weight: 600; }

/* ---------- Configuración ---------- */
.options label { display: flex; align-items: center; gap: 10px; min-height: 48px; cursor: pointer; }
.options input { width: 20px; height: 20px; accent-color: var(--primary); }
.status { padding: 10px 12px; border-radius: 10px; background: var(--container); color: var(--on-container); font-size: 14px; }
.status.bad { background: #FDECEA; color: var(--negative); }
.codes { font-family: ui-monospace, Consolas, monospace; font-size: 13px; }

/* ---------- Modal, toast y bitácora ---------- */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(15,20,30,.45); display: grid; place-items: center; padding: 16px; }
.modal-card { width: 100%; max-width: 460px; max-height: 85vh; overflow: auto; background: var(--surface); border-radius: 20px; padding: 22px; }
.modal-body { color: var(--text); }
.modal-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.log-entry { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; word-break: break-word; }
.log-entry b { font-weight: 600; }
.log-kind { display: inline-block; padding: 0 6px; border-radius: 6px; background: var(--container); color: var(--on-container); font-size: 11px; margin-right: 4px; }
.log-kind.err { background: #FDECEA; color: var(--negative); }
.log-kind.ok { background: #E3F4EC; color: var(--positive); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; background: #1B2430; color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; max-width: calc(100% - 32px); }
footer.disclaimer { margin-top: 28px; text-align: center; font-size: 12px; color: var(--muted); }

/* ---------- Detalle de producto y espacios de CI 360 (tag web) ---------- */
.product-detail { display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: center; }
.product-hero { aspect-ratio: 1; border-radius: 16px; display: grid; place-items: center; color: #fff; font-size: 64px; font-weight: 700; }
.product-detail h1 { margin: 0; }
.product-detail code { font-size: 12px; background: var(--container); color: var(--on-container); padding: 2px 6px; border-radius: 6px; }
@media (max-width: 560px) { .product-detail { grid-template-columns: 1fr; } .product-hero { max-width: 120px; font-size: 48px; } }
.rec h2 { margin: 8px 0; }
.ci360-slot { min-height: 64px; }
.ci360-slot:empty { border: 1.5px dashed color-mix(in srgb, var(--primary) 40%, transparent); border-radius: 14px; padding: 16px; display: flex; align-items: center; }
.ci360-slot:empty::before { content: attr(data-empty); font-size: 13px; opacity: .65; }

/* ---------- Encabezado del sitio ---------- */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--surface); box-shadow: 0 1px 0 var(--line); }
.strip { background: var(--primary); color: #fff; }
.strip-in { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 12px; }
.seg-tabs { display: flex; gap: 2px; align-self: stretch; }
.seg-tabs button { border: 0; background: transparent; color: rgba(255,255,255,.78); padding: 0 12px; font-size: 13px; font-weight: 600; cursor: pointer; border-bottom: 3px solid transparent; }
.seg-tabs button.on { color: #fff; border-bottom-color: var(--secondary); }
.seg-tabs button:hover { color: #fff; }
.lang-pick select { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: 6px; padding: 2px 6px; font-size: 13px; cursor: pointer; }
.lang-pick option { color: var(--text); }
.head-in { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; display: block; }
.main-nav { display: flex; gap: 4px; flex: 1; }
.nav-link { border: 0; background: transparent; font-size: 15px; font-weight: 600; color: var(--text); text-decoration: none; padding: 8px 12px; border-radius: 8px; cursor: pointer; }
.nav-link:hover, .nav-link.on { color: var(--primary); background: var(--container); }
.head-actions { display: flex; align-items: center; gap: 8px; }
.head-actions .btn { min-height: 40px; }
.sas-badge {
  display: grid; place-items: center; flex: none;
  width: 36px; height: 36px; padding: 6px;
  border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer;
}
.sas-badge img { width: 100%; height: 100%; object-fit: contain; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; }
.icon-btn:hover { background: var(--container); }
.menu-btn { display: none; }
.account { position: relative; }
.account-btn { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 12px 4px 4px; cursor: pointer; font-weight: 600; color: var(--text); }
.avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 14px; }
.dropdown { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(16,24,40,.16); padding: 6px; z-index: 30; }
.dropdown a, .dropdown button, .mobile-menu a, .mobile-menu button {
  display: block; width: 100%; text-align: left; padding: 10px 12px; border: 0; background: transparent; border-radius: 8px;
  color: var(--text); text-decoration: none; font-size: 15px; cursor: pointer;
}
.dropdown a:hover, .dropdown button:hover, .mobile-menu a:hover, .mobile-menu button:hover { background: var(--container); color: var(--on-container); }
.dropdown hr, .mobile-menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.mobile-menu { border-top: 1px solid var(--line); padding: 8px 0 12px; background: #fff; }
@media (max-width: 760px) {
  .main-nav, .hide-sm, .account-name { display: none; }
  .menu-btn { display: grid; }
  .head-in { gap: 10px; }
  .head-actions { margin-left: auto; }
  .brand img { height: 34px; }
}
@media (min-width: 761px) { .mobile-menu { display: none !important; } }

/* ---------- Home público ---------- */
.hero-wrap { margin: 0 0 8px; }
.hero {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: 24px;
  border-radius: 24px; padding: 48px; color: #fff; overflow: hidden;
  background: linear-gradient(120deg, var(--primary) 0%, color-mix(in srgb, var(--primary) 70%, #000) 100%);
}
.hero-tag { display: inline-block; background: var(--secondary); color: #1b1b1f; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.hero h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.1; margin: 14px 0 12px; }
.hero p { font-size: 18px; opacity: .9; margin: 0 0 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn.on-dark { background: #fff; color: var(--primary); border-color: #fff; }
.btn.ghost-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.hero-art { position: relative; aspect-ratio: 1; max-width: 300px; justify-self: center; width: 100%; }
.hero-art span { position: absolute; border-radius: 50%; }
.hero-art span:nth-child(1) { inset: 0; background: color-mix(in srgb, var(--secondary) 30%, transparent); }
.hero-art span:nth-child(2) { inset: 14%; background: color-mix(in srgb, var(--secondary) 55%, transparent); }
.hero-art span:nth-child(3) { inset: 28%; background: var(--secondary); }
.hero-art b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 84px; color: var(--primary); }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding: 28px 22px; border-radius: 18px; }
  .hero-art { display: none; }
  .hero p { font-size: 16px; }
}
.block { margin-top: 40px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.section-head a { color: var(--primary); font-weight: 600; text-decoration: none; }
h2 { font-size: 22px; }
.prod-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-top: 6px; }
.prod-card {
  display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--surface); border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(16,24,40,.06); text-decoration: none; color: var(--text); border: 1px solid transparent;
  transition: border-color .15s, transform .15s;
}
.prod-card:hover { border-color: var(--primary); transform: translateY(-1px); }
.prod-ico { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--container); color: var(--on-container); font-weight: 700; font-size: 20px; }
.prod-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.prod-name { font-weight: 650; }
.prod-desc { font-size: 13px; color: var(--muted); }
.prod-go { font-size: 24px; color: var(--primary); }
.benefits { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.benefit { background: var(--surface); border-radius: var(--radius); padding: 20px; }
.benefit h3 { margin: 10px 0 4px; font-size: 17px; }
.benefit p { margin: 0; font-size: 14px; }
.benefit-n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--secondary); color: #1b1b1f; font-weight: 700; }
.cta-band {
  margin-top: 40px; border-radius: 20px; padding: 28px 32px; color: #fff; background: var(--primary);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.cta-band h2 { margin: 0 0 4px; }
.cta-band p { margin: 0; opacity: .88; }

/* ---------- Páginas internas ---------- */
.page-head { margin-bottom: 18px; }
.page-head h1 { font-size: 28px; margin: 4px 0 2px; }
.page-head p { margin: 0; }
.back { color: var(--primary); text-decoration: none; font-weight: 600; font-size: 14px; }
.auth { max-width: 440px; margin: 8px auto 0; padding: 28px; }
.auth h1 { margin-bottom: 0; }
.auth a { color: var(--primary); }
.auth-logo { height: 44px; width: auto; display: block; }
.narrow-wide { max-width: 720px; }
.quick .btn { text-decoration: none; }

/* ---------- Pie de página ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 24px 0 32px; }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.footer-logo { height: 30px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 18px; flex: 1; }
.footer-links a, .linkish { color: var(--text); text-decoration: none; font-size: 14px; background: none; border: 0; padding: 0; cursor: pointer; }
.footer-links a:hover, .linkish:hover { color: var(--primary); }
.site-footer p { margin: 0; width: 100%; }

/* ---------- Portal B2B (SAS Pharma) ---------- */
.prod-card.rich { align-items: flex-start; }
.prod-sku { font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.prod-price { display: block; margin-top: 6px; font-size: 14px; }
.prod-price b { color: var(--primary); font-size: 16px; }
.badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.badge { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #EEF1F5; color: #475467; }
.badge.rx { background: #FDECEA; color: #A4262C; }
.badge.new { background: #FEF3C7; color: #92400E; }
.badge.season { background: #E0F2FE; color: #075985; }
.badge.cold { background: #DBEAFE; color: #1E40AF; }
.cat-tools { display: flex; flex-direction: column; gap: 10px; }
.search { width: 100%; min-height: 48px; padding: 0 16px; border: 1px solid #C5CCD6; border-radius: 999px; background: #fff; font-size: 15px; }
.search:focus { outline: 2px solid var(--primary); border-color: transparent; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.chip { flex: none; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); text-decoration: none; font-size: 14px; white-space: nowrap; }
.chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px 18px; margin: 4px 0; }
.specs dt { font-size: 12px; color: var(--muted); }
.specs dd { margin: 0; font-size: 14px; }
.specs a { color: var(--primary); }
.price-box { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: flex-end; background: var(--container); color: var(--on-container); border-radius: 12px; padding: 14px 16px; }
.price-box .muted { color: inherit; opacity: .75; }
.price-box.locked { justify-content: space-between; align-items: center; }
.big-price { font-size: 26px; font-weight: 700; }
.add-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.qty { display: flex; flex-direction: column; gap: 4px; }
.qty-ctl { display: inline-flex; align-items: center; border: 1px solid #C5CCD6; border-radius: 999px; overflow: hidden; background: #fff; }
.qty-ctl button { width: 40px; height: 44px; border: 0; background: transparent; font-size: 20px; cursor: pointer; color: var(--primary); }
.qty-ctl input { width: 56px; height: 44px; border: 0; text-align: center; font-size: 16px; }
.qty-ctl.small button { width: 32px; height: 34px; font-size: 18px; }
.qty-ctl.small span { min-width: 32px; text-align: center; font-weight: 600; }
.cart-btn { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--primary); text-decoration: none; }
.cart-btn:hover { background: var(--container); }
.cart-n { position: absolute; top: -2px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--secondary); color: #1b1b1f; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.cart-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .cart-grid { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } }
.cart-row { flex-wrap: wrap; }
.cart-row .row-title { color: var(--text); text-decoration: none; font-weight: 600; }
.cart-row .row-value { min-width: 100px; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.total-row b { font-size: 22px; color: var(--primary); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.prod-grid.rich-grid { grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); }
@media (max-width: 400px) { .prod-grid.rich-grid { grid-template-columns: minmax(0, 1fr); } }
.select { width: 100%; min-height: 48px; padding: 0 12px; border: 1px solid #9AA5B4; border-radius: 8px; background: #fff; font-size: 15px; }

/* ---------- SAS Crédito: simulador y solicitud ---------- */
.sim-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); margin-top: 12px; }
@media (min-width: 900px) { .sim-grid { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.sim-amount { font-size: 44px; font-weight: 800; color: var(--primary); line-height: 1.1; }
.sim-grid input[type=range] { width: 100%; accent-color: var(--primary); height: 32px; }
.sim-range { display: flex; justify-content: space-between; }
.sim-result { background: var(--container); color: var(--on-container); }
.sim-result .muted { color: inherit; opacity: .75; }
button.chip { cursor: pointer; font: inherit; }
.loan-card { border-left: 6px solid var(--secondary); }
.loan-card.ok { border-left-color: #16A34A; }
.loan-card h3 { margin: 4px 0; }
.done-badge { width: 72px; height: 72px; border-radius: 50%; background: #DCFCE7; color: #15803D; font-size: 40px; display: grid; place-items: center; margin: 8px auto; }

/* ---------- SAS Crédito · consola del asesor (call center) ---------- */
.agent-search { display: flex; gap: 12px; align-items: flex-end; }
.agent-search .field { flex: 1; margin: 0; }
.agent-who { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; }
.agent-who h2 { margin: 0; }
.avatar.big { width: 56px; height: 56px; font-size: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: #fff; flex: none; }
.agent-facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; }
.agent-facts dt { color: var(--muted, #6b7280); }
.agent-facts dd { margin: 0; font-weight: 600; }
.state-pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; }
.state-pill.abandonada { background: #FEF3C7; color: #92400E; }
.state-pill.iniciada { background: #E0E7FF; color: #3730A3; }
.state-pill.completada { background: #DCFCE7; color: #15803D; }
.nba { border-left: 6px solid var(--primary); }
.nba.wait { border-left-color: #D97706; }
.nba.stop { border-left-color: #16A34A; }
.nba h3 { margin: 6px 0; }
.nba-tag { font-weight: 700; letter-spacing: .06em; color: var(--primary); }
.script { margin: 6px 0 0; padding-left: 20px; }
.script li { margin: 4px 0; }
.agent-slot:empty { display: none; }
.dialer-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dialer-head h3 { margin: 0; }
.dial-btn { margin: 12px 0 8px; font-size: 17px; }
.dial-status { min-height: 1.4em; margin-bottom: 12px; }
.dial-status.busy { color: #92400E; }
.dial-status.ok { color: #15803D; font-weight: 600; }
.dial-status.err { color: #B91C1C; }
.dial-label { margin-bottom: 6px; }
.disp { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.disp .btn.on { background: var(--primary); color: #fff; }
@media (max-width: 600px) { .agent-search { flex-direction: column; align-items: stretch; } }
.dial-to { margin: 12px 0 0; }

/* ---------- SAS Crédito · anuncio simulado (etapa 1 · atracción) ---------- */
.ad-wrap { max-width: 520px; margin: 0 auto 48px; display: grid; gap: 16px; }
.ad-post { background: #fff; border: 1px solid #E5E7EB; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(30,27,75,.10); }
.ad-head { display: flex; gap: 12px; align-items: center; padding: 14px 16px; }
.ad-head img { height: 40px; width: auto; }
.ad-copy { margin: 0; padding: 0 16px 12px; font-size: 15px; line-height: 1.45; }
.ad-visual { display: flex; gap: 18px; align-items: center; padding: 36px 24px; background: linear-gradient(120deg, var(--primary), #1E1B4B); color: #fff; }
.ad-glyph { flex: none; width: 72px; height: 72px; border-radius: 18px; background: #FBBF24; color: #1E1B4B; font-size: 44px; font-weight: 800; display: grid; place-items: center; }
.ad-big { font-size: 24px; font-weight: 800; line-height: 1.15; margin-bottom: 4px; }
.ad-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: #F9FAFB; }

/* ---------- SAS Crédito · verificación de identidad (etapa 2) ---------- */
.kyc-wrap { max-width: 640px; margin: 0 auto 48px; display: grid; gap: 14px; }
.kyc-bar { height: 8px; border-radius: 999px; background: #E5E7EB; overflow: hidden; margin: 8px 0 12px; }
.kyc-bar.big { height: 10px; margin: 0; }
.kyc-bar span { display: block; height: 100%; background: var(--primary); border-radius: 999px; transition: width .4s; }
.kyc-steps { display: grid; gap: 10px; }
.kyc-step { display: flex; align-items: center; gap: 14px; }
.kyc-step.done { background: #F0FDF4; }
.kyc-num { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--container); color: var(--on-container); }
.kyc-step.done .kyc-num { background: #DCFCE7; color: #15803D; }
.kyc-txt { flex: 1; }
.kyc-card.ok { display: flex; gap: 10px; align-items: baseline; color: #15803D; }
.done-card { max-width: 520px; margin: 24px auto 48px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .grid2 { grid-template-columns: 1fr; } }
