/* ==========================================================
   Sonora Cash — estilos del sitio
   Colores del logotipo: azul, verde, amarillo y blanco.
   ========================================================== */
:root {
  --blue: #25369a;
  --blue-600: #1c2b80;
  --navy: #0d2350;
  --navy-2: #081a3d;
  --green: #00a651;
  --green-600: #008a43;
  --green-dark: #0a5a33;
  --yellow: #ffb400;
  --yellow-600: #e9a300;
  --ink: #0f1b33;
  --text: #33405a;
  --muted: #5d6a84;
  --line: #e2e8f1;
  --soft: #f3f6fb;
  --white: #fff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(13, 35, 80, .06), 0 8px 24px rgba(13, 35, 80, .08);
  --shadow-lg: 0 20px 50px rgba(13, 35, 80, .18);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Poppins", "Inter", system-ui, sans-serif;
  --font-script: "Caveat", "Segoe Script", cursive;
  --header-h: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; }
.ic { width: 1.2em; height: 1.2em; flex: none; vertical-align: -.2em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 46px; padding: .7em 1.35em; border-radius: 12px; border: 2px solid transparent; font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.1; cursor: pointer; text-decoration: none !important; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .ic { width: 1.25em; height: 1.25em; }
.btn-lg { min-height: 56px; font-size: 1.08rem; padding: .8em 1.6em; border-radius: 14px; }
.btn-sm { min-height: 38px; padding: .45em 1em; font-size: .9rem; border-radius: 10px; }
.btn-block { display: flex; width: 100%; }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(0, 166, 81, .28); }
.btn-green:hover { background: var(--green-600); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-600); }
.btn-yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 6px 18px rgba(255, 180, 0, .3); }
.btn-yellow:hover { background: var(--yellow-600); }
.btn-white { background: #fff; color: var(--navy); }
.btn-outline { background: #fff; color: var(--blue); border-color: #cfd8ea; }
.btn-outline:hover { border-color: var(--blue); }
.btn-ghost { background: rgba(255,255,255,.7); color: var(--navy); border-color: #d5ddeb; backdrop-filter: blur(4px); }
.btn-ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost-light:hover { background: rgba(255,255,255,.16); }
.btn-wa-outline { background: #fff; color: var(--green); border-color: var(--green); padding: .6em; min-width: 52px; }
.btn-disabled { background: #eef1f6; color: #8a95ab; cursor: default; }
.btn-disabled:hover { transform: none; }
.btn.loading { opacity: .7; pointer-events: none; }
.btn.loading::after { content: ""; width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Encabezado ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 18px rgba(13,35,80,.06); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none !important; flex: none; }
.brand img { width: 210px; height: auto; }
.brand-tag { font-size: .58rem; letter-spacing: .28em; text-transform: uppercase; color: var(--navy); font-weight: 600; }
.brand-tag.light { color: rgba(255,255,255,.75); margin: 6px 0 0; font-size: .62rem; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a { position: relative; white-space: nowrap; color: var(--navy); font-weight: 500; font-size: .92rem; padding: 8px 10px; border-radius: 8px; text-decoration: none; }
.main-nav a:hover { background: var(--soft); }
.main-nav a.active { font-weight: 700; }
.main-nav a.active::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: -2px; height: 3px; border-radius: 3px; background: var(--green); }
.nav-phone { display: none !important; }
.btn-cta-header { flex: none; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--soft); color: var(--navy); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle .ic { width: 24px; height: 24px; }
.menu-toggle .ic-close, .nav-open .menu-toggle .ic-open { display: none; }
.nav-open .menu-toggle .ic-close { display: block; }

/* ---------- Hero de inicio ---------- */
.hero { position: relative; overflow: hidden; background: #fff; }
.hero-bg { position: absolute; inset: 0 0 0 38%; background-size: cover; background-position: center right; }
.hero-bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.85) 18%, rgba(255,255,255,0) 48%); }
.hero-inner { position: relative; display: flex; align-items: center; min-height: 560px; padding-top: 48px; padding-bottom: 48px; }
.hero-text { max-width: 620px; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
.hero h1 { color: var(--navy); margin-bottom: .35em; }
.hl { color: var(--green); display: block; }
.lead { font-size: 1.13rem; color: var(--text); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 28px; }
.badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.badges li { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--navy); }
.badges .ic { color: var(--navy); width: 22px; height: 22px; }
.badges-light li, .badges-light .ic { color: #fff; }
.script-note { font-family: var(--font-script); font-size: 2.1rem; font-weight: 700; color: var(--navy); line-height: 1; margin: 0; }
.hero-script { position: absolute; right: 40px; top: 44px; transform: rotate(-8deg); text-align: right; max-width: 230px; }
.hero-script::after { content: ""; display: block; width: 130px; height: 5px; margin: 10px 0 0 auto; background: var(--green); border-radius: 6px; transform: rotate(-4deg); }

/* ---------- Secciones ---------- */
.section { padding: 64px 0; }
.section-soft { background: var(--soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head h2 { margin-bottom: .2em; }
.section-head p { margin: 0; }
.kicker { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; font-weight: 600; margin: 0 0 .6em; color: var(--green); }

/* ---------- Tarjetas de préstamo (protagonistas) ---------- */
.section-products { padding-top: 28px; }
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.loan-card { position: relative; overflow: hidden; border-radius: 22px; color: #fff; min-height: 440px; display: flex; box-shadow: var(--shadow-lg); isolation: isolate; }
.loan-card--navy { background: linear-gradient(135deg, var(--navy) 0%, #13357a 100%); }
.loan-card--green { background: linear-gradient(135deg, var(--green-dark) 0%, #0c7a42 100%); }
.loan-card-img { position: absolute; inset: 0 0 0 46%; background-size: cover; background-position: center; z-index: -1; }
.loan-card-img::before { content: ""; position: absolute; inset: 0; }
.loan-card--navy .loan-card-img::before { background: linear-gradient(90deg, #102c69 0%, rgba(16,44,105,.55) 30%, rgba(16,44,105,0) 60%); }
.loan-card--green .loan-card-img::before { background: linear-gradient(90deg, #0b6a3a 0%, rgba(11,106,58,.55) 30%, rgba(11,106,58,0) 60%); }
.loan-card-body { padding: 34px 32px; max-width: 62%; display: flex; flex-direction: column; }
.loan-card .kicker { color: var(--yellow); }
.loan-card h2 { color: #fff; text-transform: uppercase; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.02; margin-bottom: .4em; }
.loan-card-text { color: rgba(255,255,255,.92); font-size: 1.02rem; }
.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--green); color: #fff; stroke-width: 3; flex: none; margin-top: 1px; }
.loan-card--green .checks .ic { background: #fff; color: var(--green-dark); }
.checks-dark li { color: var(--text); }
.loan-card-actions { margin-top: auto; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.link-light { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.secondary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.mini-card { display: flex; align-items: stretch; background: var(--soft); border-radius: var(--radius); overflow: hidden; text-decoration: none !important; color: var(--text); transition: box-shadow .2s, transform .2s; border: 1px solid var(--line); }
.mini-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.mini-card img { width: 40%; max-width: 210px; object-fit: cover; }
.mini-card > div { padding: 20px 24px; }
.mini-card h3 { color: var(--navy); font-size: 1.25rem; margin-bottom: .3em; }
.mini-card p { margin-bottom: .7em; font-size: .95rem; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); font-family: var(--font-head); font-size: .95rem; }

.value-strip { list-style: none; margin: 24px 0 0; padding: 22px 28px; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--soft); border-radius: var(--radius); border: 1px solid var(--line); }
.value-strip li { display: flex; align-items: center; gap: 16px; justify-content: center; padding: 6px 12px; }
.value-strip li + li { border-left: 1px solid #d4dbe8; }
.value-strip .ic { width: 42px; height: 42px; color: var(--navy); stroke-width: 1.6; }
.value-strip strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 1.05rem; }
.value-strip span { color: var(--muted); font-size: .92rem; }

/* ---------- Catálogo / tarjetas de producto ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-img { position: relative; display: block; aspect-ratio: 4 / 3; background: #f5f7fa; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.product-card:hover .product-img img { transform: scale(1.04); }
.product-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 .2em; font-weight: 600; }
.product-body h3 { font-size: 1.02rem; margin: 0 0 .3em; }
.product-body h3 a { color: var(--ink); }
.price { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--green); margin: 0 0 .1em; line-height: 1.2; }
.price s { font-size: .6em; color: var(--muted); font-weight: 600; margin-left: 6px; }
.price-lg { font-size: 2.3rem; }
.product-cond { font-size: .88rem; color: var(--muted); margin-bottom: 12px; }
.product-body .btn { margin-top: auto; min-height: 44px; }
.tag { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .05em; }
.tag-sold { background: var(--ink); color: #fff; }
.tag-hold { background: var(--yellow); color: var(--navy); }
.tag-sale { background: #e5372b; color: #fff; }
.tag-lg { top: 16px; left: 16px; font-size: .9rem; padding: 6px 14px; }
.photo-count { position: absolute; right: 10px; bottom: 10px; background: rgba(8,26,61,.72); color: #fff; font-size: .72rem; padding: 3px 8px; border-radius: 999px; }
.is-sold .product-img img { filter: grayscale(.8); opacity: .7; }

/* ---------- Banda CTA ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%); color: #fff; padding: 52px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .2em; }
.cta-band p { margin: 0; color: rgba(255,255,255,.85); font-size: 1.08rem; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Pie ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.85); padding-top: 56px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1em; }
.site-footer a { color: rgba(255,255,255,.88); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer-brand img { width: 250px; }
.footer-brand .script-note { color: #fff; font-size: 1.9rem; margin: 18px 0 22px; transform: rotate(-4deg); transform-origin: left; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ic { color: var(--green); margin-top: 3px; }
.footer-contact .hours { font-size: .92rem; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); }
.social a:hover { background: var(--green); }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0 22px; font-size: .88rem; }
.footer-legal-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-legal-inner p { margin: 0; }
.footer-legal nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-disclaimer { font-size: .78rem; color: rgba(255,255,255,.55); margin: 10px auto 0; }

/* ---------- WhatsApp flotante y barra fija ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 10px; background: #25d366; color: #fff; border-radius: 999px; padding: 14px; box-shadow: 0 10px 30px rgba(37, 211, 102, .45); text-decoration: none !important; transition: transform .2s; }
.wa-float:hover { transform: scale(1.05); }
.wa-float .ic { width: 32px; height: 32px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.wa-float-label { display: none; font-family: var(--font-head); font-weight: 700; padding-right: 6px; }
@media (min-width: 900px) { .wa-float:hover .wa-float-label { display: inline; } }
.sticky-cta { display: none; }

/* ---------- Modal de solicitud ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 26, 61, .6); opacity: 0; transition: opacity .2s; }
.modal-card { position: relative; width: 100%; max-width: 470px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 22px; padding: 30px 28px 24px; box-shadow: var(--shadow-lg); transform: translateY(16px) scale(.98); opacity: 0; transition: transform .22s ease, opacity .22s ease; }
.modal.open .modal-backdrop { opacity: 1; }
.modal.open .modal-card { transform: none; opacity: 1; }
.modal-card h2 { font-size: 1.7rem; margin-bottom: .25em; }
.modal-close { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--soft); color: var(--navy); cursor: pointer; display: grid; place-items: center; }
body.modal-open { overflow: hidden; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 6px; }
.field input, .field select { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #cfd8e6; border-radius: 12px; background: #fff; color: var(--ink); font-size: 16px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d2350' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,54,154,.12); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin: 4px 0 16px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); }
.form-error { background: #fdecea; color: #a52a1f; border-radius: 10px; padding: 10px 12px; font-size: .92rem; }
.modal-alt { text-align: center; font-size: .9rem; margin: 16px 0 0; color: var(--muted); }
.modal-alt a { font-weight: 600; color: var(--green-600); }
.ok-icon { width: 72px; height: 72px; margin: 4px auto 12px; color: var(--green); }
.ok-icon .ic { width: 72px; height: 72px; }
[data-step="ok"] { text-align: center; }

/* ---------- Aviso de cookies ---------- */
.cookie-note { position: fixed; left: 16px; bottom: 16px; z-index: 55; max-width: 360px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); font-size: .85rem; display: flex; gap: 12px; align-items: center; }
.cookie-note[hidden] { display: none; }
.cookie-note p { margin: 0; }

/* ---------- Encabezado de páginas internas ---------- */
.page-hero { color: #fff; position: relative; overflow: hidden; }
.page-hero--navy { background: linear-gradient(120deg, var(--navy) 0%, #163a86 100%); }
.page-hero--green { background: linear-gradient(120deg, var(--green-dark) 0%, #0f8047 100%); }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.08), transparent 70%); pointer-events: none; }
.page-hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
.page-hero-inner:not(:has(.page-hero-img)) { grid-template-columns: 1fr; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); }
.page-hero .lead { color: rgba(255,255,255,.9); }
.page-hero .kicker { color: var(--yellow); }
.page-hero-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.page-hero .hero-actions { margin-bottom: 0; }

.narrow-intro { max-width: 860px; }
.intro-text { font-size: 1.18rem; text-align: center; color: var(--text); margin-bottom: 40px; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.benefit-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #e8f7ef; color: var(--green-600); margin-bottom: 14px; }
.benefit-ic .ic { width: 26px; height: 26px; }
.benefit h3 { color: var(--navy); margin-bottom: .3em; }
.benefit p { margin: 0; font-size: .95rem; color: var(--muted); }

.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; background: #fff; border-radius: var(--radius); padding: 26px 22px; border: 1px solid var(--line); }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; margin-bottom: 14px; }
.steps li:nth-child(even) .step-n { background: var(--green); }
.steps h3 { color: var(--navy); margin-bottom: .3em; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }

.req-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.req-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 34px; box-shadow: var(--shadow); }
.req-card .checks { gap: 14px; }
.apply-card { border-radius: 22px; padding: 32px; color: #fff; position: sticky; top: calc(var(--header-h) + 20px); }
.apply-card--navy { background: linear-gradient(140deg, var(--navy), #173e8e); }
.apply-card--green { background: linear-gradient(140deg, var(--green-dark), #0f8047); }
.apply-card h2 { color: #fff; font-size: 1.7rem; }
.apply-card p { color: rgba(255,255,255,.88); }
.apply-card .btn { margin-top: 10px; }
.apply-phone { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; color: #fff; font-weight: 700; font-family: var(--font-head); font-size: 1.15rem; }

.faq { display: grid; gap: 12px; margin-top: 28px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; font-weight: 700; color: var(--navy); font-family: var(--font-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .2s; color: var(--green); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { margin: 0 0 18px; color: var(--text); }
.legal-note { display: flex; gap: 8px; font-size: .85rem; color: var(--muted); margin: 24px 0 0; }
.legal-note .ic { margin-top: 3px; color: var(--blue); }

.cross-sell { display: flex; align-items: center; gap: 28px; background: var(--soft); border: 1px solid var(--line); border-radius: 22px; padding: 18px 28px 18px 18px; }
.cross-sell img { width: 180px; height: 130px; object-fit: cover; border-radius: 14px; }
.cross-sell > div { flex: 1; }
.cross-sell h2 { font-size: 1.5rem; margin-bottom: .2em; }
.cross-sell p { margin: 0; }
.cross-actions { flex: none !important; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Empeño ---------- */
.pawn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pawn-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.pawn-card > img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.pawn-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.pawn-body h2 { display: flex; align-items: center; gap: 10px; color: var(--navy); font-size: 1.55rem; }
.pawn-body h2 .ic { color: var(--green); }
.pawn-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.req-inline { margin: 32px auto 0; max-width: 700px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 28px; }
.req-inline .checks { margin: 0; }

/* ---------- Catálogo ---------- */
.catalog-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.catalog-hero-bg { position: absolute; inset: 0 0 0 42%; background-size: cover; background-position: center; }
.catalog-hero-bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(13,35,80,.6) 25%, rgba(13,35,80,0) 60%); }
.catalog-hero-inner { position: relative; padding-top: 52px; padding-bottom: 52px; }
.catalog-hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: .2em; }
.catalog-hero .hl { display: inline; }
.catalog-hero .lead { color: rgba(255,255,255,.88); margin-bottom: 24px; }
.catalog { padding-top: 28px; }
.cat-chips { display: grid; grid-template-columns: repeat(9, 1fr); gap: 10px; margin-bottom: 20px; }
.cat-chips a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 76px; padding: 10px 6px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); color: var(--navy); font-size: .82rem; font-weight: 600; text-decoration: none; text-align: center; transition: background .15s, border-color .15s; }
.cat-chips a .ic { width: 24px; height: 24px; }
.cat-chips a:hover { border-color: var(--blue); }
.cat-chips a.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.catalog-tools { display: flex; gap: 12px; justify-content: space-between; margin-bottom: 20px; }
.search-box { flex: 1; max-width: 480px; display: flex; align-items: center; gap: 10px; background: var(--soft); border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; }
.search-box:focus-within { border-color: var(--blue); background: #fff; }
.search-box .ic { color: var(--muted); }
.search-box input { flex: 1; border: 0; background: transparent; min-height: 46px; font-size: 16px; outline: none; color: var(--ink); }
.select-box select { min-height: 48px; padding: 0 42px 0 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d2350' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; appearance: none; color: var(--navy); font-weight: 600; font-size: .95rem; cursor: pointer; }
.results-note { color: var(--muted); font-size: .92rem; }
.pager { display: flex; justify-content: center; gap: 8px; margin: 32px 0 8px; }
.pager a { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); color: var(--navy); font-weight: 700; text-decoration: none; }
.pager a.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.pager a.disabled { opacity: .4; pointer-events: none; }
.empty { text-align: center; padding: 56px 20px; }
.empty > .ic { width: 56px; height: 56px; color: var(--blue); margin: 0 auto 14px; }
.empty-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.ask-band { display: flex; align-items: center; gap: 22px; background: var(--soft); border: 1px solid var(--line); border-radius: 18px; padding: 22px 28px; margin-top: 36px; }
.ask-ic { width: 60px; height: 60px; border-radius: 16px; background: #fff; display: grid; place-items: center; color: var(--blue); flex: none; }
.ask-ic .ic { width: 32px; height: 32px; }
.ask-band > div { flex: 1; }
.ask-band h2 { font-size: 1.3rem; margin-bottom: .15em; }
.ask-band p { margin: 0; }

/* ---------- Detalle de artículo ---------- */
.product-page { padding-top: 28px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .88rem; color: var(--muted); margin-bottom: 22px; }
.crumbs .ic { width: 14px; height: 14px; }
.crumbs span { color: var(--ink); font-weight: 600; }
.product-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: start; margin-bottom: 56px; }
.gallery { position: relative; }
.gallery-main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 20px; background: #f5f7fa; border: 1px solid var(--line); scrollbar-width: none; }
.gallery-main::-webkit-scrollbar { display: none; }
.gallery-main figure { margin: 0; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-nav { position: absolute; top: calc(50% - 60px); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); box-shadow: var(--shadow); color: var(--navy); cursor: pointer; display: grid; place-items: center; }
.gallery-nav.prev { left: 12px; }
.gallery-nav.next { right: 12px; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumbs button { flex: none; width: 76px; height: 76px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: #f5f7fa; cursor: pointer; opacity: .7; }
.gallery-thumbs button.active { border-color: var(--blue); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: .25em; }
.code { color: var(--muted); letter-spacing: .04em; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.specs div { background: var(--soft); border-radius: 12px; padding: 12px 14px; }
.specs dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.specs dd { margin: 2px 0 0; font-weight: 700; color: var(--ink); }
.status { display: inline-flex; align-items: center; gap: 6px; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.status-disponible { color: var(--green-600); }
.status-apartado { color: #c68600; }
.status-vendido { color: #9aa3b5; }
.product-desc { margin-bottom: 22px; color: var(--text); }
.product-info .btn + .btn { margin-top: 10px; }
.info-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; font-size: .92rem; color: var(--muted); }
.info-list li { display: flex; gap: 10px; align-items: center; }
.info-list .ic { color: var(--blue); }
.sold-note { background: var(--soft); padding: 14px 16px; border-radius: 12px; }
.related-head { margin-top: 8px; }

/* ---------- Contacto ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; text-decoration: none !important; color: var(--text); transition: box-shadow .2s, transform .2s; }
a.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.contact-card h2, .map-head h2 { font-size: 1.1rem; margin-bottom: .1em; }
.contact-card p, .map-head p { margin: 0 0 .3em; font-size: 1.05rem; color: var(--ink); font-weight: 600; word-break: break-word; }
.cc-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: #e9edf8; color: var(--blue); flex: none; }
.cc-ic .ic { width: 24px; height: 24px; }
.contact-card--wa .cc-ic { background: #e3f8ec; color: var(--green-600); }
.hours-table { border-collapse: collapse; font-size: .95rem; }
.hours-table th { text-align: left; font-weight: 500; color: var(--muted); padding: 2px 18px 2px 0; }
.hours-table td { font-weight: 600; color: var(--ink); }
.map-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.map-head { display: flex; align-items: center; gap: 16px; padding: 18px 20px; }
.map-head > div { flex: 1; }
.map-card iframe { width: 100%; flex: 1; min-height: 380px; border: 0; }

/* ---------- Textos legales ---------- */
.legal-text h2 { font-size: 1.35rem; margin-top: 1.6em; color: var(--navy); }
.legal-text ul { padding-left: 1.3em; }
.legal-text li { margin-bottom: .4em; }

/* ==========================================================
   Responsivo
   ========================================================== */
@media (max-width: 1240px) {
  .main-nav a { padding: 8px 7px; font-size: .86rem; }
  .brand img { width: 185px; }
  .header-inner { gap: 14px; }
}
@media (max-width: 1100px) {
  .brand img { width: 180px; }
  .cat-chips { grid-template-columns: repeat(5, 1fr); }
  .benefit-grid, .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1060px) {
  .menu-toggle { display: inline-flex; }
  .btn-cta-header { display: none; }
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 28px; background: #fff; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; overflow-y: auto; }
  .nav-open .main-nav { opacity: 1; transform: none; visibility: visible; }
  .nav-open { overflow: hidden; }
  .main-nav a { font-size: 1.1rem; padding: 16px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav a.active::after { left: 0; right: auto; width: 4px; top: 14px; bottom: 14px; height: auto; }
  .main-nav a.active { padding-left: 16px; }
  .nav-phone { display: flex !important; align-items: center; gap: 8px; color: var(--green-600) !important; font-weight: 700 !important; border-bottom: 0 !important; }
}
@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .menu-toggle { display: inline-flex; }
  .btn-cta-header { display: none; }
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 28px; background: #fff; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; overflow-y: auto; }
  .nav-open .main-nav { opacity: 1; transform: none; visibility: visible; }
  .nav-open { overflow: hidden; }
  .main-nav a { font-size: 1.1rem; padding: 16px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav a.active::after { left: 0; right: auto; width: 4px; top: 14px; bottom: 14px; height: auto; }
  .main-nav a.active { padding-left: 16px; }
  .nav-phone { display: flex !important; align-items: center; gap: 8px; color: var(--green-600) !important; font-weight: 700 !important; border-bottom: 0 !important; }
  .brand img { width: 170px; }
  .brand-tag { font-size: .5rem; }
  .hero-bg { inset: 0; opacity: .22; }
  .hero-bg::before { background: linear-gradient(180deg, rgba(255,255,255,.4), #fff 95%); }
  .hero-inner { min-height: 0; padding-top: 40px; }
  .hero-script { display: none; }
  .products-grid, .secondary-grid, .pawn-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .page-hero-inner { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; padding-bottom: 40px; }
  .page-hero-img { max-width: 520px; }
  .req-layout, .contact-layout, .product-layout { grid-template-columns: 1fr; }
  .product-layout { gap: 24px; }
  .apply-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .catalog-hero-bg { inset: 0; opacity: .35; }
  .catalog-hero-bg::before { background: linear-gradient(90deg, var(--navy) 10%, rgba(13,35,80,.5)); }
}
@media (max-width: 700px) {
  body { font-size: 15.5px; }
  .container { padding-left: 16px; padding-right: 16px; }
  .section { padding: 44px 0; }
  .section-products { padding-top: 12px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .badges { gap: 10px 16px; }
  .badges li { font-size: .85rem; }
  .loan-card { min-height: 0; flex-direction: column; }
  .loan-card-img { position: relative; inset: auto; height: 190px; order: -1; }
  .loan-card--navy .loan-card-img::before { background: linear-gradient(0deg, #102c69 0%, rgba(16,44,105,0) 55%); }
  .loan-card--green .loan-card-img::before { background: linear-gradient(0deg, #0b6a3a 0%, rgba(11,106,58,0) 55%); }
  .loan-card-body { max-width: none; padding: 8px 22px 26px; }
  .loan-card-actions .btn { flex: 1 1 100%; }
  .loan-card-actions .link-light { margin: 0 auto; }
  .mini-card img { width: 34%; }
  .mini-card > div { padding: 14px 16px; }
  .mini-card h3 { font-size: 1.08rem; }
  .mini-card p { font-size: .88rem; }
  .value-strip { grid-template-columns: 1fr; padding: 10px 18px; }
  .value-strip li { justify-content: flex-start; padding: 12px 0; }
  .value-strip li + li { border-left: 0; border-top: 1px solid #d4dbe8; }
  .value-strip .ic { width: 34px; height: 34px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-body { padding: 10px 12px 12px; }
  .product-body h3 { font-size: .92rem; }
  .price { font-size: 1.18rem; }
  .product-cond { font-size: .8rem; margin-bottom: 10px; }
  .product-body .btn { font-size: .9rem; padding: .5em .6em; min-height: 42px; }
  .price-lg { font-size: 2rem; }
  .cta-band-actions, .cta-band-actions .btn { width: 100%; }
  .benefit-grid, .steps { grid-template-columns: 1fr; }
  .benefit { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 18px; }
  .benefit-ic { grid-row: span 2; margin: 0; }
  .steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 18px; }
  .step-n { grid-row: span 2; margin: 0; }
  .req-card, .apply-card { padding: 24px 20px; }
  .cross-sell { flex-direction: column; align-items: stretch; text-align: center; padding: 16px; }
  .cross-sell img { width: 100%; height: 150px; }
  .cross-actions { justify-content: center; }
  .cat-chips { display: flex; overflow-x: auto; margin: 0 -16px 16px; padding: 0 16px 4px; scrollbar-width: none; }
  .cat-chips::-webkit-scrollbar { display: none; }
  .cat-chips a { flex: 0 0 84px; min-height: 70px; font-size: .75rem; }
  .catalog-tools { flex-direction: column; }
  .search-box { max-width: none; }
  .ask-band { flex-direction: column; text-align: center; padding: 22px 18px; }
  .ask-band .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-legal-inner { flex-direction: column; }
  .map-head { flex-wrap: wrap; }
  .map-card iframe { min-height: 300px; }
  .modal { padding: 0; align-items: flex-end; }
  .modal-card { border-radius: 22px 22px 0 0; max-height: 94vh; padding: 26px 20px calc(20px + env(safe-area-inset-bottom)); transform: translateY(40px); }
  .cookie-note { left: 12px; right: 12px; max-width: none; bottom: 84px; }
  .has-sticky .cookie-note { bottom: 92px; }
  /* Barra fija inferior en páginas de préstamo */
  .sticky-cta { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(13,35,80,.08); }
  .sticky-cta .btn-green { flex: 1; }
  .wa-float.has-sticky { display: none; }
  .has-sticky .site-footer { padding-bottom: 76px; }
  .wa-float { right: 14px; bottom: 14px; padding: 12px; }
  .wa-float .ic { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
