/* (c) 2026 Cuotora (cuotora.com). Todos los derechos reservados. Obra protegida por la Ley 11.723. Prohibida su reproduccion total o parcial sin autorizacion escrita. Huella SHA-256: 8d976b41a7eb59191955d33e */
/* fonts autoalojadas (Plus Jakarta Sans variable woff2) */
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:400 800;font-display:swap;src:url('../fonts/plus-jakarta-sans-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:400 800;font-display:swap;src:url('../fonts/plus-jakarta-sans-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* =====================================================================
   Tasora – Estilo Lendo Escandinavo (Claro, azul profundo y verde banco)
   ===================================================================== */
:root {
  --bg: #f4f6f9;
  --bg-2: #ffffff;
  --card: #ffffff;
  --surface-subtle: #eef2f6;
  --border: #dce3ec;
  --border-strong: #b8c4d4;
  --text: #0f172a;
  --muted: #475569;
  --primary: #00664f;         /* Verde banco escandinavo sólido */
  --primary-hover: #004f3d;
  --primary-fg: #ffffff;
  --accent: #0f172a;
  --gold: #00664f;
  --ok: #057a55;
  --warn-bg: #fffbeb;
  --warn-border: #f59e0b;
  --warn-text: #92400e;
  --radius: 10px;
  --shadow: 0 2px 6px rgba(15, 23, 42, 0.05), 0 12px 28px -6px rgba(15, 23, 42, 0.07);
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-title: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --nav-bg: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.18; letter-spacing: -0.02em; color: var(--text); }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
.container { width: min(1160px, 92%); margin: 0 auto; min-width: 0; }
.hero .container > *, .lendo-feature .container > *, .foot > *, .offer > * { min-width: 0; }
.table-wrap { display: block; width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.muted { color: var(--muted); }
/* Sin degradado de IA: color sólido con subrayado orgánico sutil */
.grad-text {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: rgba(0, 102, 79, 0.25);
  text-underline-offset: 6px;
  text-decoration-thickness: 3px;
}
[data-theme="grafito"] .grad-text {
  text-decoration-color: rgba(16, 185, 129, 0.35);
}
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 44px; }
.section-head p { color: var(--muted); margin-top: 10px; font-size: 1.05rem; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 10px;
}

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 82px; }
.logo { display: flex; align-items: center; gap: 13px; font-family: var(--font-title); font-weight: 800; font-size: 1.72rem; color: var(--text); letter-spacing: -0.03em; }
.logo-mark {
  width: 52px; height: 52px; border-radius: 50%; background: #baf2d4; color: var(--primary);
  display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; flex-shrink: 0;
}
.logo span b { color: var(--primary); font-weight: 800; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 1.02rem; transition: color .15s; padding: 6px 4px; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.menu-btn { display: none; background: none; border: 0; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* ===== Buttons (Sólidos, sin brillos de neón) ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer;
  font: 600 1rem var(--font); transition: background .15s, border-color .15s, transform .1s;
}
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-subtle); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-block { width: 100%; }

/* ===== Cards ===== */
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ===== Hero ===== */
.hero { padding: 50px 0 64px; }
.hero .container { display: grid; grid-template-columns: 0.8fr 1.35fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.hero p.lead { font-size: 1.06rem; color: var(--muted); margin: 16px 0 24px; max-width: 440px; }
.badges { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 20px; }
.badges div { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .95rem; font-weight: 500; }
.badges i { color: var(--primary); font-style: normal; font-weight: 800; }

.hero-hornero-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 220px;
  margin-bottom: 8px;
  position: relative;
  padding-right: 15px;
}
.hero-hornero-img {
  height: 220px !important;
  max-height: 220px !important;
  width: auto !important;
  max-width: 260px !important;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 102, 79, 0.16));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: bottom center;
}
.hero-hornero-img:hover {
  transform: translateY(-6px) scale(1.05);
}

/* Quick form (Simulador principal) */
.mode-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.mode-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 24px;
  border-radius: var(--radius);
  font-family: var(--font-title);
  font-size: 1.14rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
  background: var(--card);
  color: var(--text);
  border: 2px solid var(--border-strong);
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.05);
}
.mode-btn:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 6px 16px rgba(0, 102, 79, 0.12);
}
.mode-btn.active {
  background: var(--primary);
  color: var(--primary-fg);
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(0, 102, 79, 0.24);
}
.quick { padding: 38px 42px; border: 1px solid var(--border-strong); }
.quick h3 { font-size: 1.45rem; margin-bottom: 4px; }
.tabs {
  display: flex; gap: 6px; background: var(--surface-subtle); padding: 5px;
  border-radius: var(--radius); border: 1px solid var(--border); margin: 18px 0 26px;
}
.tab {
  flex: 1; padding: 11px 10px; border-radius: calc(var(--radius) - 3px); border: 0; background: none; color: var(--muted);
  font: 600 1rem var(--font); cursor: pointer; transition: all .15s;
}
.tab.active {
  background: var(--card); color: var(--text);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border);
}
[data-theme="grafito"] .tab.active {
  background: var(--primary); color: var(--primary-fg); border-color: transparent;
}
.field { margin-bottom: 24px; }
.field-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.field label { font-weight: 600; color: var(--text); font-size: 1.02rem; }
.field .value { font-family: var(--font-title); font-weight: 700; font-size: 1.6rem; color: var(--primary); }

input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px;
  background: linear-gradient(90deg, var(--primary) var(--p, 50%), var(--border) var(--p, 50%));
  outline: none; cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--card); cursor: pointer;
  border: 5px solid var(--primary); box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
input[type=range]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%; background: var(--card); border: 5px solid var(--primary);
}

.estimate {
  display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; margin-bottom: 22px;
  border-radius: var(--radius); background: var(--surface-subtle); border: 1px solid var(--border);
}
.estimate strong { font-family: var(--font-title); font-size: 1.75rem; color: var(--text); }
.small { font-size: .88rem; color: var(--muted); }

/* ===== Stats ===== */
.stats { padding: 28px 0; border-block: 1px solid var(--border); background: var(--bg-2); }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; gap: 20px; }
.stat b { font-family: var(--font-title); font-size: 1.9rem; display: block; color: var(--text); text-decoration: none; }
.stat span { color: var(--muted); font-size: .92rem; }

/* ===== Steps ===== */
.step { position: relative; }
.step-num {
  width: 40px; height: 40px; border-radius: var(--radius); display: grid; place-items: center; margin-bottom: 16px;
  font-family: var(--font-title); font-weight: 700; font-size: 1.1rem;
  background: var(--surface-subtle); color: var(--primary); border: 1px solid var(--border-strong);
}
.step p { color: var(--muted); margin-top: 8px; }

/* ===== FAQ ===== */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
details { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; }
details summary { cursor: pointer; font-weight: 600; font-size: 1.04rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details summary::after { content: "+"; color: var(--primary); font-size: 1.3rem; font-weight: 700; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin-top: 10px; }

/* ===== Table (comparador) ===== */
.page-head { padding: 48px 0 24px; text-align: center; }
.page-head p { color: var(--muted); margin-top: 10px; }
.filters { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; margin-bottom: 24px; }
.filters .field { margin: 0; flex: 1; min-width: 160px; }
select, input[type=number], input[type=text], input[type=email], input[type=tel] {
  width: 100%; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--border-strong);
  background: var(--bg-2); color: var(--text); font: 500 1rem var(--font); outline: none;
}
select:focus, input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0, 102, 79, 0.12); }
.offers { display: flex; flex-direction: column; gap: 12px; }
.offer {
  display: grid; grid-template-columns: 1.35fr repeat(4, 1fr) 1.25fr; gap: 16px; align-items: center;
  padding: 22px 24px;
}
.offer:hover { border-color: var(--border-strong); }
.offer .bank { display: flex; align-items: center; gap: 14px; }
.bank-logo {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  font-weight: 800; font-size: .85rem; color: #fff; flex-shrink: 0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.45); letter-spacing: .02em;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.offer .k { font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; margin-bottom: 2px; }
.offer .v { font-family: var(--font-title); font-weight: 700; font-size: 1.15rem; color: var(--text); }
.offer .v.hl { color: var(--primary); font-size: 1.25rem; }

/* Fila de acción con botón centrado en el medio */
.offer-action {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 16px;
  margin-top: 6px;
  border-top: 1px solid var(--border);
}

/* Caja destacada de Total a Devolver */
.total-box {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 10px;
  padding: 9px 12px;
  text-align: left;
  box-shadow: 0 1px 3px rgba(0, 102, 79, 0.06);
}
.total-box.disabled {
  background: var(--surface-subtle);
  border-color: var(--border);
}
.total-box .hl-total {
  color: #00664f !important;
  font-size: 1.22rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  margin: 1px 0;
}

/* Botón Ver si califico centrado */
.btn-calif {
  min-width: 260px;
  white-space: nowrap !important;
  padding: 13px 28px !important;
  font-size: .98rem !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  box-shadow: 0 3px 10px rgba(0, 102, 79, 0.18) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease !important;
}
.btn-calif:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 102, 79, 0.28) !important;
}
.tag {
  display: inline-block; font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 6px;
  background: var(--surface-subtle); color: var(--primary); border: 1px solid var(--border-strong); margin-top: 4px;
}
.disclaimer { margin-top: 24px; font-size: .84rem; color: var(--muted); text-align: center; }

/* ===== Modal Evaluador + Letra Chica ===== */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200; background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 20px; overflow-y: auto;
}
.modal-backdrop.open { display: flex; }
.modal-box {
  background: var(--card); border: 1px solid var(--border-strong); border-radius: var(--radius);
  width: min(760px, 100%); max-height: 92vh; overflow-y: auto; padding: 30px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
}
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.modal-close {
  background: var(--surface-subtle); border: 1px solid var(--border); color: var(--text);
  width: 38px; height: 38px; border-radius: 50%; font-size: 1.1rem; cursor: pointer; flex-shrink: 0;
}
.modal-close:hover { background: var(--border); }
.letra-box {
  background: var(--warn-bg); border: 1px solid var(--warn-border);
  border-radius: var(--radius); padding: 18px 20px; margin: 18px 0;
}
.letra-box h4 { color: var(--warn-text); font-size: 1.05rem; margin-bottom: 8px; font-weight: 700; }
.letra-box ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.letra-box li { color: var(--text); font-size: .97rem; line-height: 1.5; }
.verdict-box {
  border-radius: var(--radius); padding: 20px; margin-top: 20px; border: 1.5px solid var(--border-strong);
  background: var(--surface-subtle);
}
.verdict-box.ok { border-color: var(--ok); }
.verdict-box.bad { border-color: var(--warn-border); }
.verdict-title { font-family: var(--font-title); font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.verdict-list { padding-left: 20px; margin: 10px 0; display: flex; flex-direction: column; gap: 7px; font-size: .98rem; }

/* ===== Form multipaso & Legal ===== */
.wizard { max-width: 640px; margin: 0 auto; }
.progress { height: 6px; border-radius: 99px; background: var(--surface-subtle); margin-bottom: 26px; overflow: hidden; }
.progress div { height: 100%; background: var(--primary); width: 33%; transition: width .3s; }
.step-pane { display: none; }
.step-pane.active { display: block; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); margin: 14px 0; }
.check input { margin-top: 4px; accent-color: var(--primary); width: 18px; height: 18px; flex-shrink: 0; }
.actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.error { color: #dc2626; font-size: .88rem; margin-top: 6px; min-height: 1em; }
.success { text-align: center; padding: 30px 0; }
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 1.45rem; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 10px; }
.legal ul { padding-left: 22px; }

/* ===== Footer ===== */
footer { border-top: 1px solid var(--border); padding: 54px 0 28px; margin-top: 40px; background: var(--bg-2); }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.foot h4 { margin-bottom: 12px; font-family: var(--font-title); font-size: 1rem; }
.foot ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.foot a { color: var(--muted); font-size: .92rem; }
.foot a:hover { color: var(--text); }
.copy { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); font-size: .8rem; color: var(--muted); text-align: center; }

/* ===== Directorio de Bancos y Entidades (SEO interno) ===== */
.bank-dir {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.bank-dir h4 {
  font-family: var(--font-title);
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 14px;
}
.bank-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bank-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 7px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  transition: border-color .15s, background .15s;
}
.bank-pill:hover {
  border-color: var(--primary);
  background: var(--surface-subtle);
  color: var(--primary);
}
.bank-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}



/* ===== Globo de diálogo estilo cómic para el Hornero ===== */
.hornero-comic-section {
  padding: 36px 0 20px;
}
.hornero-comic-wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}
.hornero-comic-char {
  flex-shrink: 0;
  width: 130px !important;
  max-width: 130px !important;
  height: 130px !important;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible !important;
}
.hornero-comic-char img {
  width: 130px !important;
  max-width: 130px !important;
  height: 130px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 6px 14px rgba(0, 102, 79, 0.12));
  transition: transform 0.2s ease;
}
.hornero-comic-char img:hover {
  transform: scale(1.05) rotate(-2deg);
}

.comic-bubble {
  position: relative;
  flex: 1;
  background: #ffffff;
  border: 2.5px solid #0f172a;
  border-radius: 24px;
  padding: 24px 28px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.comic-bubble-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  font-size: 1.28rem;
  font-weight: 800;
  color: #00664f;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.comic-bubble p {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.6;
  margin: 0;
}

.verdict-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}

@media (max-width: 680px) {
  .verdict-actions {
    grid-template-columns: 1fr !important;
  }
  .hornero-comic-wrap {
    flex-direction: column !important;
    align-items: center !important;
    gap: 18px !important;
  }
  .hornero-comic-char {
    width: 110px !important;
    height: 110px !important;
  }
  .hornero-comic-char img {
    width: 110px !important;
    height: 110px !important;
  }
  .comic-tail-arrow {
    top: -16px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-left: 12px solid transparent !important;
    border-right: 12px solid transparent !important;
    border-bottom: 16px solid #0f172a !important;
    border-top: 0 !important;
  }
  .comic-tail-fill {
    top: -12px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-left: 9px solid transparent !important;
    border-right: 9px solid transparent !important;
    border-bottom: 13px solid #ffffff !important;
    border-top: 0 !important;
  }
  .comic-bubble {
    padding: 20px 20px;
  }
}

/* ===== Bloques con el Hornero interactuando con la página ===== */
.lendo-feature {
  background: #f5f3ee;
  border-block: 1px solid var(--border);
  padding: 44px 0 0;
}
.lendo-feature .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: end;
}
.lendo-feature .reveal:first-child {
  padding-bottom: 48px;
}
.lendo-feature h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin-bottom: 16px;
  color: var(--text);
}
.lendo-feature p {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.65;
}
.hornero-circle,
.hornero-circle.md {
  height: 230px !important;
  width: auto !important;
  background: transparent;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-shrink: 0;
}
.hornero-circle img,
.hornero-circle.md img {
  height: 230px !important;
  max-height: 230px !important;
  width: auto !important;
  max-width: 270px !important;
  display: block;
  object-fit: contain;
}

/* Hornero en la sección Lendo de la Home (bien grande y protagónico) */
.lendo-feature .hornero-circle {
  height: 340px !important;
  margin: 0 0 -2px auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.lendo-feature .hornero-circle img {
  height: 340px !important;
  max-height: 340px !important;
  width: auto !important;
  max-width: 400px !important;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(0, 102, 79, 0.15));
}

.hornero-circle.sm {
  height: 170px !important;
  width: auto !important;
  margin: 0 auto;
}
.hornero-circle.sm img {
  height: 170px !important;
  max-height: 170px !important;
  max-width: 200px !important;
  object-fit: contain;
}
.logo-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.comp-head-grid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 36px 0 0;
}
.comp-head-grid > div:first-child {
  padding-bottom: 22px;
}

/* ===== Selector flotante de opciones de Logo con Hornero ===== */
.logo-switcher {
  position: fixed; bottom: 18px; right: 18px; z-index: 300;
  background: #0f172a; color: #fff; padding: 10px 14px; border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; gap: 8px; font-size: .84rem; flex-wrap: wrap;
}
.logo-switcher span { font-weight: 600; margin-right: 4px; color: #cbd5e1; }
.logo-opt-btn {
  border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); color: #fff;
  padding: 6px 11px; border-radius: 6px; cursor: pointer; font: 600 .8rem var(--font);
}
.logo-opt-btn:hover { background: rgba(255,255,255,0.18); }
.logo-opt-btn.active { background: #baf2d4; color: #052e16; border-color: #baf2d4; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero .container, .lendo-feature .container { grid-template-columns: 1fr; }
  .comp-head-grid { flex-direction: column-reverse; text-align: center; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .stats .container { grid-template-columns: 1fr 1fr; }
  .offer { grid-template-columns: 1fr 1fr !important; gap: 14px; }
  .offer .bank { grid-column: 1 / -1; }
  .offer .total-box { grid-column: 1 / -1; }
  .offer-action { grid-column: 1 / -1; width: 100%; }
  .offer > button, .offer .btn, .offer .btn-calif { grid-column: 1 / -1; width: 100%; min-width: 0; white-space: normal !important; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 15px 5%; }
  .menu-btn { display: block; }
  .nav .btn { display: none; }
  .grid-3, .grid-4, .grid-2, .row { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr !important; }
  .foot { grid-template-columns: 1fr !important; gap: 28px; }
  #ask-form { flex-wrap: wrap; }
  #ask-form button { width: 100%; }
  main table { display: block; width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  section { padding: 52px 0; }
  .quick { padding: 24px; }
  .hero-hornero-wrap { margin-left: 0; justify-content: center; height: auto; margin-bottom: 12px; }
  .hero-hornero-img { height: 175px !important; max-height: 175px !important; max-width: 210px !important; }
  .lendo-feature .hornero-circle { height: 240px !important; margin: 16px auto 0 !important; }
  .lendo-feature .hornero-circle img { height: 240px !important; max-height: 240px !important; max-width: 280px !important; }
  .hornero-circle, .hornero-circle.md { height: 160px !important; }
  .hornero-circle img, .hornero-circle.md img { height: 160px !important; max-height: 160px !important; }
  table { font-size: .88rem; }
  th, td { padding: 12px 10px !important; }
}


/* --- Botones y badges auxiliares --- */
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-outline:hover {
  background: var(--surface-subtle);
  border-color: var(--primary);
  color: var(--primary);
}
.badge-green {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
}
.ask-chip {
  cursor: pointer;
  transition: all .15s ease;
}
.ask-chip:hover {
  background: var(--primary) !important;
  color: #ffffff !important;
  border-color: var(--primary) !important;
  transform: translateY(-1px);
}

/* a11y-links: enlaces dentro de texto distinguibles sin depender solo del color */
main p a:not(.btn), main li a:not(.btn):not(.bank-pill) { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 560px) {
  .tabs { flex-wrap: wrap; }
  .tabs .tab {
    flex: 1 1 calc(50% - 6px);
    font-size: .9rem !important;
    padding: 10px 6px !important;
    text-align: center;
  }
}

/* ===== Solicitar: Flujo Unificado + Resultados Diseño Imagen 1 ===== */
.wizard.results-wide {
  max-width: 1120px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.offer-extra {
  grid-column: 1 / -1;
  min-width: 0;
}
.offer-letra-details {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
}
.offer-letra-details summary {
  font-size: .88rem;
  font-weight: 700;
  color: var(--primary);
}
.offer-letra-details ul {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: .86rem;
  color: var(--muted);
  line-height: 1.55;
}
.summary-pill-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  margin-bottom: 20px;
}
.results-section-title {
  font-size: 1.28rem;
  margin: 24px 0 6px;
  color: var(--text);
}
.results-section-sub {
  font-size: .92rem;
  color: var(--muted);
  margin: 0 0 14px;
}

/* ===== Diagnóstico BCRA Visible + Planilla Inteligente de Deudas ===== */
.bcra-hero-box {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.bcra-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.bcra-input-row input {
  flex: 1;
  min-width: 170px;
  background: #ffffff;
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: .95rem;
}
.bcra-entity-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.bcra-entity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--border);
  min-width: 0;
}
.bcra-entity-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.bcra-entity-right {
  text-align: right;
  flex-shrink: 0;
}
.bcra-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.bcra-pill-ok,
.bcra-pill-warn,
.bcra-pill-bad {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
}
.bcra-pill-ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #166534; }
.bcra-pill-warn { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.bcra-pill-bad { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }

.debt-planilla-card {
  margin-bottom: 22px;
  padding: 18px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1.5px solid var(--border-strong);
}
.debt-planilla-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0;
}
.debt-planilla-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(175px, 215px) auto;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--border);
  min-width: 0;
}
.debt-planilla-row.unchecked {
  opacity: .55;
  background: #f1f5f9;
}
.debt-vs-banner {
  padding: 18px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border: 1.5px solid #86efac;
  margin-bottom: 20px;
}
.debt-vs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.debt-vs-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  min-width: 0;
}
@media (max-width: 680px) {
  .bcra-input-row input,
  .bcra-input-row button {
    width: 100%;
    min-width: 0;
  }
  .debt-planilla-row {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .debt-planilla-row select {
    grid-column: 1 / -1;
    width: 100%;
  }
  .debt-planilla-row .debt-row-amt {
    grid-column: 1 / -1;
    text-align: left !important;
  }
  .debt-vs-grid {
    grid-template-columns: 1fr;
  }
  .card.quick,
  .hero .container > * {
    min-width: 0;
    max-width: 100%;
  }
  .estimate > div {
    flex-wrap: wrap;
    gap: 6px;
  }
  .table-wrap {
    max-width: 100%;
    overflow-x: auto;
  }
}

/* ===== Hornero Guardián (Modal Privacidad) + Hornero Cartero + Pulso Mail ===== */
.pg-privacy-flex {
  display: flex;
  align-items: center;
  gap: 16px;
}
.pg-hornero-guard {
  width: 96px;
  height: auto;
  max-height: 112px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.mail-hornero-img {
  width: 92px;
  height: 96px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
@keyframes emailCardPulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 102, 79, 0.45); }
  50% { box-shadow: 0 0 0 10px rgba(0, 102, 79, 0.14); }
  100% { box-shadow: 0 0 0 0 rgba(0, 102, 79, 0); }
}
.email-card-pulse {
  animation: emailCardPulse 1.1s ease-out;
}
@media (max-width: 480px) {
  .pg-privacy-flex {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .pg-hornero-guard {
    width: 82px;
    max-height: 92px;
  }
}

/* ===== Logos oficiales en .bank-logo + Botón flotante envío por mail ===== */
.bank-logo.has-img {
  background: #ffffff !important;
  border: 1px solid var(--border);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
  text-shadow: none;
}
.bank-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
@keyframes fabBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}
.floating-mail-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  border: 2px solid #ffffff;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 102, 79, 0.34);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .24s ease, transform .24s ease, background .18s ease;
}
.floating-mail-fab:hover {
  background: var(--primary-dark, #004d3b);
}
.floating-mail-fab.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.floating-mail-fab .fab-arrow {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  font-size: 1rem;
  line-height: 1;
  animation: fabBounce 1.8s ease-in-out infinite;
}
@media (max-width: 560px) {
  .floating-mail-fab {
    right: 12px;
    bottom: 14px;
    padding: 10px 15px;
    font-size: .85rem;
    max-width: calc(100vw - 24px);
  }
}
