/* Componentes reutilizables (generado en la migración; fuente de verdad a partir de ahora). */
.row{display:flex;flex-wrap:wrap}
.stack{display:flex;flex-direction:column}
.container{width:100%;max-width:1200px}
.band{box-sizing:border-box;display:flex;justify-content:center}
.btn-mini{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;padding:3px 10px;border-radius:999px;border:1px solid #0e0f0c;background:transparent;font-size:12px;line-height:16px;font-weight:600;margin-top:10px}
.btn-outline{display:inline-flex;align-items:center;min-height:48px;padding:0 20px;border-radius:24px;border:1px solid #0e0f0c;background:#ffffff;font-size:15px;font-weight:600;color:#0e0f0c}
.btn-dark{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;height:52px;padding:0 28px;border-radius:24px;background:#163300;color:#9fe870;border:none;font-size:16px;font-weight:600}
.copy-l{margin:0;max-width:700px;font-size:17px;line-height:26px;color:#454745}
.t-h2{margin:0;font-family:'Manrope','Manrope Fallback',system-ui,sans-serif;font-weight:800;font-size:44px;line-height:1;letter-spacing:-0.035em}
.copy-s{margin:0;font-size:14px;line-height:20px;color:#454745}
.t-h5{margin:0;font-family:'Manrope','Manrope Fallback',system-ui,sans-serif;font-weight:800;font-size:20px;line-height:26px;letter-spacing:-0.02em}
.display-f{font-family:'Manrope','Manrope Fallback',system-ui,sans-serif;font-weight:800}
.t-num{font-family:'Manrope','Manrope Fallback',system-ui,sans-serif;font-weight:800;font-size:28px;line-height:32px;letter-spacing:-0.03em}
.lede{margin:0;max-width:760px;font-size:18px;line-height:28px;color:#454745}
.t-h1{margin:0;font-family:'Manrope','Manrope Fallback',system-ui,sans-serif;font-weight:800;font-size:clamp(44px,4.3vw,60px);line-height:0.96;letter-spacing:-0.035em}
.copy{margin:0;max-width:720px;font-size:16px;line-height:26px;color:#454745}
.t-h3{margin:0;font-family:'Manrope','Manrope Fallback',system-ui,sans-serif;font-weight:800;font-size:30px;line-height:36px;letter-spacing:-0.03em}
.panel{list-style:none;background:#e8ebe6;border-radius:24px;padding:24px 28px;display:flex;flex-direction:column;gap:14px}
.note{max-width:720px;background:#e2f6d5;border-radius:24px;padding:24px 28px;display:flex;flex-direction:column;gap:8px}
.badge{background:#e8ebe6;font-size:12px;line-height:16px;font-weight:600;padding:3px 10px;border-radius:999px}
.lede-s{margin:0;max-width:640px;font-size:18px;line-height:28px;color:#454745}
.btn-lime{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;height:48px;padding:0 24px;border-radius:24px;background:#9fe870;color:#0e0f0c;font-size:15px;font-weight:600;margin-top:auto}
.card-mint{display:flex;flex-direction:column;gap:14px;padding:32px;border-radius:28px;background:#e2f6d5;color:#163300}
.t-h4{margin:0;font-family:'Manrope','Manrope Fallback',system-ui,sans-serif;font-weight:800;font-size:22px;line-height:28px;letter-spacing:-0.02em}
.badge-dark{background:#163300;color:#e2f6d5;font-size:12px;line-height:16px;font-weight:600;padding:3px 10px;border-radius:999px}
.card-white{display:flex;flex-direction:column;gap:10px;padding:28px;border-radius:24px;background:#ffffff}
.card-paper{display:flex;flex-direction:column;gap:14px;padding:26px 24px 28px;border-radius:24px;background:#f1f3ee;border:1px solid #dfe3da}
.x-bedb00{min-height:150px;padding-top:14px;resize:vertical;box-sizing:border-box;padding:0 16px;border:1px solid #0e0f0c;border-radius:12px;background:#ffffff;color:#0e0f0c;font-size:17px;width:100%;line-height:24px}

/* ---- Ajustes de pulido ---- */
:root{--c-hero:#f6faf1}
.hero{background:var(--c-hero)}
.u-ov-hidden.hero{overflow:clip}
.eyebrow{margin:0;align-self:flex-start;background:#ffffff;font-family:inherit;font-size:13px;line-height:18px;font-weight:600;letter-spacing:normal;padding:5px 12px;border-radius:999px}
#simulador{scroll-margin-top:96px}
@media (max-width:480px){
  .note-datos{display:none}
  #simulador .sim-amt{font-size:32px}
  .qcard .qv{font-size:18px}
  #sim-res .empty-more{display:none}
}
@media (max-width:820px){#tu-caso .caso-img{display:none}}

/* ---- Variantes por estado (antes estilos en línea) ---- */
.fchip{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 18px;border-radius:12px;border:1px solid #0e0f0c;font-size:14px;font-weight:600;cursor:pointer;background:#ffffff;color:#0e0f0c}
.fchip-s{padding:0 16px}
.fchip[aria-pressed=true]{background:#0e0f0c;color:#ffffff}
.chip.fchip[aria-pressed=true]:hover{background:#0e0f0c!important;color:#ffffff!important}
.ocard{box-sizing:border-box;background:#e8ebe6;border:2px solid transparent;border-radius:24px;padding:24px;display:flex;flex-direction:column;gap:18px}
.ocard.is-best{background:#e2f6d5;border-color:#163300}
.btn-req{display:inline-flex;align-items:center;justify-content:center;height:48px;padding:0 24px;border-radius:24px;border:1px solid #0e0f0c;font-size:16px;font-weight:600;color:#0e0f0c;background:#ffffff}
.btn-req.is-best{background:#9fe870}
.tile{box-sizing:border-box;min-height:200px;border-radius:24px;padding:24px;display:flex;flex-direction:column;justify-content:space-between;gap:16px}
.tile-h{margin:0;font-family:'Manrope','Manrope Fallback',system-ui,sans-serif;font-weight:800;font-size:22px;line-height:26px;letter-spacing:-0.02em}
.tile-a{flex:none;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.tile-mist{background:#e8ebe6;color:#0e0f0c}.tile-mist .tile-h{color:#0e0f0c}.tile-mist .tile-a{background:#0e0f0c;color:#9fe870}
.tile-dark{background:#163300;color:#e2f6d5}.tile-dark .tile-h{color:#9fe870}.tile-dark .tile-a{background:#9fe870;color:#0e0f0c}
.tile-mint{background:#e2f6d5;color:#163300}.tile-mint .tile-h{color:#0e0f0c}.tile-mint .tile-a{background:#ffffff;color:#0e0f0c}
.apr-badge{font-size:13px;line-height:18px;font-weight:600;padding:4px 12px;border-radius:999px}
.oc3{display:flex;flex-direction:column;gap:2px}
.oc4{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.oc5{display:flex;flex-direction:column;gap:6px;align-items:flex-end}
.oc4.off,.oc5.off{display:none}
.qdot{background:#9aa096}.qdot.on{background:#0e0f0c}
.qlb{font-weight:500;color:#454745}.qlb.on{font-weight:700;color:#0e0f0c}
.ecard{background:#ffffff;border-radius:24px;padding:24px;display:flex;flex-direction:column;gap:16px;min-width:0;scroll-margin-top:120px}
.ehead{grid-column:1/-1;padding-top:16px;scroll-margin-top:120px}
.abc-l{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;border:1px solid #c5cac1;font-size:14px;font-weight:600;background:#ffffff;color:#0e0f0c}
.abc-l.abc-off{background:transparent;color:#8b8d89;pointer-events:none}
.rchip{display:inline-flex;align-items:center;height:44px;padding:0 18px;border-radius:12px;border:1px solid #e8ebe6;font-size:14px;font-weight:600;cursor:pointer;background:transparent;color:#e8ebe6}
.rchip[aria-current=true]{background:#9fe870;color:#0e0f0c;border-color:#9fe870}
.paper{width:100%;max-width:470px;box-sizing:border-box;background:#f4f6ef;color:#0e0f0c;font-family:'Geist Mono',ui-monospace,monospace;font-size:14px;line-height:20px;padding:28px 24px 44px 24px}
.rline{display:flex;justify-content:space-between;gap:16px;width:100%;box-sizing:border-box;padding:6px 8px;border:none;border-radius:6px;font-family:inherit;font-size:14px;line-height:20px;text-align:left;cursor:pointer;color:#0e0f0c;background:transparent;transition:background .2s ease}
.rline[aria-expanded=true]{background:#9fe870}
.nota-t{font-family:'Manrope','Manrope Fallback',system-ui,sans-serif;font-weight:800;font-size:22px;line-height:28px;letter-spacing:-0.02em;color:#ffffff}
a[aria-expanded=true] .nota-t{color:#9fe870}
.marker{position:absolute;top:0;width:4px;height:30px;margin-left:-2px;border-radius:2px;background:#0e0f0c}
.rng.rng-sim{margin-top:14px}
@media (max-width:400px){.fchip-s{padding:0 4px;font-size:13px;white-space:nowrap}}

/* ---- Ajustes de baja resolución ---- */
@media (max-width:820px){.eyebrow{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}}
@media (max-width:480px){#simform{padding:20px}}
@media (max-width:360px){
  #simform{padding:16px;gap:18px}
  #simform h2{font-size:17px;white-space:nowrap}
  #simulador .sim-amt{font-size:28px}
  #simform label[for=importe],#plazoLbl{font-size:13px;white-space:nowrap}
}

/* Guía destacada */
@media (max-width:820px){.gc .gf-body{padding:32px 28px}}
@media (max-width:480px){.gc .gf-body{padding:24px 20px;gap:16px}.gc .gf-t{font-size:clamp(26px,8vw,32px)}}
@media (max-width:700px){.gc.u-d-grid{grid-template-columns:minmax(0,1fr)}}

/* Final de la ficha de guía */
.gshare{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 24px;margin-top:56px;padding-top:28px;border-top:1px solid #d3d8cf}
.gback{display:inline-flex;align-items:center;gap:10px;height:48px;padding:0 22px;border-radius:24px;border:1px solid #0e0f0c;font-size:15px;font-weight:600;color:#0e0f0c;background:transparent}
.gshare-r{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.gshare-t{font-size:14px;font-weight:600;color:#454745;margin-right:2px}
.sh{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;border:1px solid #0e0f0c;color:#0e0f0c;background:#ffffff;transition:background-color .2s ease}
.sh:hover{background:#9fe870}
.gshare-s{flex-basis:100%;font-size:13px;color:#163300;min-height:0}
.gshare-s:empty{display:none}
@media (max-width:480px){.gshare{margin-top:40px}.gback{width:100%;justify-content:center}}
@media (max-width:360px){#simform .fchip-s{padding:0;font-size:12.5px}}

.gshare a{text-decoration:none}

/* Hamburguesa animada: tres barras que pasan a aspa según aria-expanded */
.burger{transition:background-color .2s,border-color .2s}
.burger[aria-expanded=true]{background:#e2f6d5}
.bg-i{transition:transform .3s cubic-bezier(.16,1,.3,1)}
.bg-1,.bg-2,.bg-3{transform-box:view-box;transition:transform .3s cubic-bezier(.16,1,.3,1),opacity .2s}
.bg-1{transform-origin:12px 7px}.bg-2{transform-origin:12px 12px}.bg-3{transform-origin:12px 17px}
.burger[aria-expanded=true] .bg-1{transform:translateY(5px) rotate(45deg)}
.burger[aria-expanded=true] .bg-2{opacity:0;transform:scaleX(.2)}
.burger[aria-expanded=true] .bg-3{transform:translateY(-5px) rotate(-45deg)}
@media (prefers-reduced-motion:reduce){.bg-i,.bg-1,.bg-2,.bg-3,.burger{transition:none}}
/* Pie: textos legales en columna a baja resolución */
@media (max-width:480px){footer nav.row[aria-label="Legal"]{flex-direction:column!important;flex-wrap:nowrap!important;gap:0!important}footer nav.row[aria-label="Legal"] a{display:block}}

/* Móvil: el botón «Ver las N ofertas» debe verse sin desplazarse (360×640 como mínimo) */
@media (max-width:480px){
  #simulador .t-hero{font-size:clamp(24px,7.2vw,30px)!important;line-height:1.02!important}
  #sim-res .sim-count{display:none}
  #simulador .sim-tot{font-size:32px;line-height:1}
  #sim-res{padding:14px 16px;gap:4px}
}
@media (max-width:360px){
  #simulador .sim-tot{font-size:28px}
}
.titular-img{display:block;max-width:100%;height:auto;-webkit-user-drag:none;user-select:none;pointer-events:none}
