/* ===========================================================
   NexPay Capital — Hoja de estilos de marca
   Paleta extraída del logo: navy profundo + azul eléctrico
   =========================================================== */
:root {
  --navy-900: #0C1730;
  --navy-800: #16244A;
  --navy-700: #1E3260;
  --blue-600: #1E50C8;
  --blue-500: #2A63E6;
  --blue-400: #4F82FF;
  --cyan: #38BDF8;
  --gold: #E6B450;          /* acento "Oro" / nivel premium */
  --ink: #0C1730;
  --muted: #5B6B86;
  --line: #E4E9F2;
  --bg: #F4F6FB;
  --white: #FFFFFF;
  --green: #16A34A;
  --red: #DC2626;
  --shadow-sm: 0 4px 16px rgba(12, 23, 48, .06);
  --shadow-md: 0 16px 40px rgba(12, 23, 48, .12);
  --shadow-lg: 0 30px 70px rgba(12, 23, 48, .22);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { position: relative; }

/* ---------- Tipografía ---------- */
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; color: var(--navy-800); font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; max-width: 100%;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-600); background: rgba(30, 80, 200, .08);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.section-head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-top: 12px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 1rem; padding: 14px 26px; border-radius: 999px;
  border: 0; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s;
  font-family: inherit; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: #fff; box-shadow: 0 12px 28px rgba(30, 80, 200, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(30, 80, 200, .45); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-light { background: #fff; color: var(--navy-800); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { width: 38px; height: 38px; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand .brand-text b { font-weight: 800; font-size: 1.18rem; letter-spacing: -.01em; color: var(--navy-800); }
.brand .brand-text span { font-size: .62rem; letter-spacing: .34em; color: var(--blue-600); font-weight: 700; }
.on-dark .brand-text b { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(12px);
  background: rgba(255, 255, 255, .82);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { font-weight: 600; color: var(--navy-700); font-size: .96rem; transition: color .15s; }
.nav-links a:hover { color: var(--blue-600); }
/* Enlaces de menú con subrayado indicador (activo / hover) */
.nav-item { position: relative; padding: 8px 2px; }
.nav-item::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2.5px; border-radius: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan));
  transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.nav-item:hover::after, .nav-item.active::after { transform: scaleX(1); }
.nav-item.active { color: var(--navy-900); font-weight: 700; }
/* Separador entre el menú y el grupo de sesión */
.nav-sep { width: 1px; height: 24px; background: var(--line); margin: 0 4px; }
/* Grupo de sesión: "Iniciar sesión" como texto + "Crear cuenta" como botón */
.nav-login { font-weight: 700; color: var(--navy-800); }
.nav-login:hover { color: var(--blue-600); }
.nav-cta {
  position: relative; overflow: hidden; border-radius: 11px;
  padding: 9px 24px; font-weight: 800; font-size: 1.02rem; color: #fff; letter-spacing: .015em;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  box-shadow: 0 10px 24px rgba(42, 99, 230, .5);
  text-shadow: 0 1px 2px rgba(8, 20, 50, .3);
}
.nav-cta .cta-arrow { display: inline-block; font-weight: 900; transition: transform .22s ease; }
/* Brillo que recorre el botón para hacerlo más llamativo */
.nav-cta::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); animation: ctaShine 3.6s ease-in-out infinite;
}
.nav-cta:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  box-shadow: 0 16px 34px rgba(42, 99, 230, .62);
}
.nav-cta:hover .cta-arrow { transform: translateX(4px); }
@keyframes ctaShine {
  0% { left: -60%; } 55% { left: 130%; } 100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce) { .nav-cta::after { animation: none; } }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy-800); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; padding: 70px 0 110px;
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(79,130,255,.45), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(56,189,248,.22), transparent 55%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800) 55%, var(--navy-700));
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px; mask-image: linear-gradient(to bottom, #000, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; z-index: 2; }
.hero h1 { color: #fff; }
.hero h1 .accent { background: linear-gradient(120deg, var(--cyan), var(--blue-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: #C7D2E8; font-size: 1.17rem; margin: 20px 0 30px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 26px; margin-top: 38px; flex-wrap: wrap; }
.hero-badges .b b { display: block; font-size: 1.55rem; color: #fff; font-weight: 800; }
.hero-badges .b span { color: #9FB0CE; font-size: .85rem; }

/* Ilustración andina (Machu Picchu + llamas) al pie del hero */
.hero-andes {
  position: absolute; left: 0; right: 0; bottom: -1px; width: 100%;
  height: auto; z-index: 1; pointer-events: none; user-select: none;
}
/* Cielo andino (sol Inti + cóndores + grecas) en la esquina superior */
.hero-sky {
  position: absolute; top: 0; left: 0; width: min(640px, 50%);
  height: auto; z-index: 1; pointer-events: none; user-select: none;
}

/* ---------- Páginas legales / cumplimiento ---------- */
.legal-hero {
  background:
    radial-gradient(800px 380px at 90% -20%, rgba(79,130,255,.4), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800) 60%, var(--navy-700));
  color: #fff; padding: 46px 0 70px;
}
.legal-hero h1 { color: #fff; margin-top: 6px; }
.legal-hero .lead { color: #C7D2E8; font-size: 1.08rem; margin-top: 12px; max-width: 720px; }
.crumbs { font-size: .85rem; color: #9FB0CE; margin-bottom: 14px; }
.crumbs a { color: #BFD3FF; }
.crumbs a:hover { text-decoration: underline; }

.doc {
  max-width: 880px; margin: -40px auto 18px; background: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 46px 56px; position: relative; z-index: 2;
}
.doc > p:first-child { margin-top: 0; }
.doc h2 {
  font-size: 1.45rem; margin: 36px 0 14px; padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
}
.doc h3 { font-size: 1.12rem; margin: 22px 0 8px; color: var(--blue-600); }
.doc h4 { font-size: 1rem; margin: 16px 0 6px; color: var(--navy-700); }
.doc p { color: var(--ink); margin: 10px 0; }
.doc ul, .doc ol { margin: 10px 0 16px 22px; }
.doc li { margin: 6px 0; }
.doc ol ol, .doc ul ul { margin: 6px 0 6px 18px; }
.doc table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .94rem; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { background: var(--bg); color: var(--navy-800); }
.doc .lead-in { background: var(--bg); border-left: 4px solid var(--blue-500); padding: 14px 18px; border-radius: 8px; color: var(--navy-700); }
.doc .sign { margin-top: 40px; padding-top: 18px; border-top: 1px dashed var(--line); color: var(--muted); font-size: .95rem; }
.doc .badge-norma { display: inline-block; background: rgba(30,80,200,.08); color: var(--blue-600); font-weight: 700; font-size: .8rem; padding: 4px 12px; border-radius: 999px; margin: 2px 4px 2px 0; }

.doc-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 8px 0; }
.doc-card {
  display: block; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 24px; background: #fff; transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.doc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.doc-card .ico { font-size: 1.9rem; }
.doc-card h3 { margin: 10px 0 6px; color: var(--navy-800); }
.doc-card p { color: var(--muted); font-size: .92rem; margin: 0; }

.back-link {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue-600);
  max-width: 880px; margin: 0 auto 56px; padding: 0 4px; width: 100%;
}
.back-link:hover { color: var(--blue-500); }

@media (max-width: 640px) {
  .doc { padding: 30px 22px; margin-top: -28px; }
  .doc-cards { grid-template-columns: 1fr; }
  .doc table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* ---------- Noticias ---------- */
.news-head { text-align: left; max-width: none; margin: 0 0 30px; }
.news-row {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: 4px 2px 12px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.news-row::-webkit-scrollbar { display: none; }
.news-card {
  flex: 0 0 calc((100% - 66px) / 4); scroll-snap-align: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-cover { position: relative; height: 150px; display: flex; align-items: center; justify-content: center; }
.news-cover img:not(.news-photo) { width: 56px; height: 56px; filter: drop-shadow(0 8px 16px rgba(0,0,0,.28)); }
.news-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-cover .emoji { font-size: 3rem; line-height: 1; filter: drop-shadow(0 8px 16px rgba(0,0,0,.28)); }
.news-cover.btc { background: linear-gradient(135deg, #F7931A, #9c5a04); }
.news-cover.usdt { background: linear-gradient(135deg, #26A17B, #0f5640); }
.news-cover.remesa { background: linear-gradient(135deg, var(--blue-500), var(--navy-800)); }
.news-cover.finanzas { background: linear-gradient(135deg, var(--blue-600), var(--navy-900)); }
.news-cover.fintech { background: linear-gradient(135deg, var(--cyan), var(--blue-600)); }
.news-cover.cripto { background: linear-gradient(135deg, #F7931A, #9c5a04); }
.news-cover .tag {
  position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.93); color: var(--navy-800);
  font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.news-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-meta { font-size: .76rem; font-weight: 700; color: var(--muted); letter-spacing: .03em; text-transform: uppercase; }
.news-meta .src { color: var(--blue-600); }
.news-card h3 { font-size: 1.04rem; line-height: 1.32; color: var(--navy-800); }
.news-more { margin-top: auto; font-weight: 800; font-size: .82rem; letter-spacing: .04em; color: var(--green); display: inline-flex; gap: 6px; transition: gap .18s ease; }
.news-card:hover .news-more { gap: 11px; }
.news-dots { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.news-dot { width: 11px; height: 11px; border-radius: 999px; border: 0; background: #CBD5E6; cursor: pointer; transition: .2s; padding: 0; }
.news-dot.active { background: var(--blue-500); width: 28px; }
@media (max-width: 960px) { .news-card { flex-basis: calc((100% - 44px) / 2); } }
@media (max-width: 600px) { .news-card { flex-basis: 84%; } }

.eyebrow.on-dark { color: #Bcd; color: #BFD3FF; background: rgba(255,255,255,.1); }

/* ---------- Cotizador (tarjeta hero) ---------- */
.quote-card {
  background: #fff; color: var(--ink); border-radius: 22px; padding: 26px;
  box-shadow: var(--shadow-lg); position: relative; z-index: 2;
}
.quote-card h3 { font-size: 1.22rem; margin-bottom: 4px; }
.quote-card .sub { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.quote-tabs { display: flex; background: var(--bg); border-radius: 12px; padding: 5px; margin-bottom: 18px; }
.quote-tabs button {
  flex: 1; border: 0; background: transparent; padding: 10px; border-radius: 9px;
  font-weight: 700; color: var(--muted); cursor: pointer; font-family: inherit; transition: .2s;
}
.quote-tabs button.active { background: #fff; color: var(--navy-800); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.field-row { display: flex; gap: 10px; }
.input, .select {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font-size: 1rem; font-family: inherit; color: var(--ink); background: #fff; transition: border .15s, box-shadow .15s;
}
.input:focus, .select:focus { outline: 0; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(42,99,230,.12); }
.select { max-width: 130px; cursor: pointer; font-weight: 700; }
.quote-result {
  background: linear-gradient(135deg, rgba(30,80,200,.06), rgba(56,189,248,.08));
  border: 1px solid rgba(30,80,200,.14); border-radius: 14px; padding: 16px; margin: 16px 0;
  display: flex; justify-content: space-between; align-items: center;
}
.quote-result .you-get span { color: var(--muted); font-size: .82rem; }
.quote-result .you-get b { font-size: 1.5rem; color: var(--navy-800); display: block; }
.quote-result .rate { text-align: right; font-size: .8rem; color: var(--muted); }
.quote-foot { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 12px; }

/* ---------- Marquee de confianza ---------- */
.trustbar { background: var(--white); border-bottom: 1px solid var(--line); padding: 22px 0; }
.trustbar .row { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trustbar .chip {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: var(--navy-700);
  font-size: .98rem;
}
.trustbar .chip .gold { color: var(--gold); }
.trustbar .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--line); }
/* Móvil: sellos en cuadrícula 2×2 (tipo tarjeta, no carrusel) */
@media (max-width: 640px) {
  .trustbar { padding: 18px 0; }
  .trustbar .row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch;
  }
  .trustbar .dot { display: none; }
  .trustbar .chip {
    justify-content: center; text-align: center; gap: 7px; font-size: .82rem; line-height: 1.25;
    background: #f3f6fc; border: 1px solid var(--line); border-radius: 14px; padding: 13px 10px;
  }
}

/* ---------- Tarjetas / Features ---------- */
.section-pad { padding: 92px 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(30,80,200,.25); }
.card .ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(42,99,230,.12), rgba(56,189,248,.16)); color: var(--blue-600);
}
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .97rem; }

/* ---------- Por qué NexPay: showcase de confianza ---------- */
.trust-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: stretch; }
.trust-hero {
  position: relative; overflow: hidden; border-radius: 22px; padding: 40px 38px; color: #fff;
  background:
    radial-gradient(600px 280px at 100% 0%, rgba(56,189,248,.28), transparent 60%),
    linear-gradient(150deg, var(--navy-900), var(--navy-800) 55%, var(--blue-600));
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column;
}
.trust-tag {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: #fff;
  padding: 7px 14px; border-radius: 999px; font-size: .8rem; font-weight: 800; letter-spacing: .03em;
}
.trust-hero h3 { color: #fff; font-size: 1.72rem; margin: 18px 0 10px; }
.trust-hero p { color: #C7D2E8; font-size: 1.02rem; line-height: 1.55; max-width: 470px; }
.trust-coinline {
  display: flex; align-items: center; margin-top: auto; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.14); font-size: .92rem; color: #DCE5F5;
}
.trust-coinline img { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.trust-coinline img + img { margin-left: -12px; }
.trust-coinline span { margin-left: 12px; }
.trust-coinline b { color: #fff; }
/* Monedas decorativas flotando */
.trust-coins { position: absolute; inset: 0; pointer-events: none; }
.trust-coins .tc { position: absolute; opacity: .16; filter: drop-shadow(0 12px 26px rgba(0,0,0,.45)); }
.tc-usdt { width: 160px; right: -34px; top: -30px; animation: tcFloatA 6s ease-in-out infinite; }
.tc-usdc { width: 120px; right: 120px; bottom: -34px; animation: tcFloatB 7.5s ease-in-out infinite; }
@keyframes tcFloatA { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(7deg); } }
@keyframes tcFloatB { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(12px) rotate(-6deg); } }

.trust-side { display: grid; grid-template-rows: 1fr 1fr; gap: 24px; }
.trust-mini {
  display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.trust-mini:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(30,80,200,.25); }
.trust-mini .ico {
  width: 52px; height: 52px; flex: 0 0 auto; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.45rem; background: linear-gradient(135deg, rgba(42,99,230,.12), rgba(56,189,248,.18)); color: var(--blue-600);
}
.trust-mini h3 { font-size: 1.14rem; margin-bottom: 6px; }
.trust-mini p { color: var(--muted); font-size: .95rem; line-height: 1.5; }
@media (max-width: 880px) { .trust-grid { grid-template-columns: 1fr; } .trust-side { grid-template-rows: none; } }
@media (prefers-reduced-motion: reduce) { .trust-coins .tc { animation: none; } }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 14px; }
.step .num {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600)); color: #fff; font-weight: 800;
  box-shadow: 0 10px 22px rgba(30,80,200,.3); margin-bottom: 16px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { color: var(--muted); }

/* ---------- Mercado (tabla de precios en vivo) ---------- */
.market { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.market table { width: 100%; border-collapse: collapse; }
.market th, .market td { padding: 16px 22px; text-align: left; font-size: .96rem; }
.market thead th { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); border-bottom: 1px solid var(--line); }
.market tbody tr { border-bottom: 1px solid var(--line); transition: background .15s; }
.market tbody tr:last-child { border-bottom: 0; }
.market tbody tr:hover { background: var(--bg); }
.coin { display: flex; align-items: center; gap: 12px; }
.coin .badge { width: 34px; height: 34px; border-radius: 50%; object-fit: contain; }
.coin b { font-weight: 700; }
.coin small { display: block; color: var(--muted); font-weight: 500; }
.price { font-weight: 700; }
.chg { font-weight: 700; }
.chg.up { color: var(--green); }
.chg.down { color: var(--red); }
.rate-line { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; font-size: .88rem; color: var(--muted); font-weight: 600; }
.tag-live { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-weight: 700; font-size: .85rem; }
.tag-live .pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(22,163,74,.5); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.5); } 70% { box-shadow: 0 0 0 10px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }

/* ---------- CTA final ---------- */
.cta-final {
  border-radius: 28px; padding: 60px 48px; text-align: center; color: #fff; overflow: hidden; position: relative;
  background:
    radial-gradient(680px 300px at 82% -10%, rgba(56,189,248,.4), transparent 60%),
    radial-gradient(560px 280px at 12% 110%, rgba(42,99,230,.45), transparent 55%),
    linear-gradient(135deg, var(--navy-900), var(--navy-800) 55%, var(--blue-600));
  box-shadow: var(--shadow-lg);
}
/* Patrón de puntos sutil */
.cta-final::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 24px 24px;
  mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%);
}
.cta-final > * { position: relative; z-index: 2; }
.cta-eyebrow {
  display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  color: #fff; padding: 7px 16px; border-radius: 999px; font-size: .82rem; font-weight: 800; letter-spacing: .04em; margin-bottom: 16px;
}
.cta-final h2 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.cta-final p { color: #C7D2E8; max-width: 580px; margin: 14px auto 26px; font-size: 1.08rem; line-height: 1.55; }
.cta-final p b { color: #fff; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-actions .btn-light { box-shadow: 0 14px 32px rgba(0,0,0,.28); }
.cta-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.cta-chips span {
  display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; color: #DCE5F5;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); padding: 7px 13px; border-radius: 999px;
}
/* Monedas decorativas flotando */
.cta-coins { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.cta-coins .cc { position: absolute; filter: drop-shadow(0 12px 26px rgba(0,0,0,.4)); }
.cta-coins .cc-usdt { width: 96px; left: 5%; top: 14%; opacity: .22; animation: ccFloatA 7s ease-in-out infinite; }
.cta-coins .cc-usdc { width: 64px; left: 13%; bottom: 12%; opacity: .18; animation: ccFloatB 8s ease-in-out infinite; }
.cta-coins .cc-btc { width: 110px; right: 5%; bottom: 8%; opacity: .2; animation: ccFloatB 6.5s ease-in-out infinite; }
@keyframes ccFloatA { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(8deg); } }
@keyframes ccFloatB { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(14px) rotate(-7deg); } }
@media (prefers-reduced-motion: reduce) { .cta-coins .cc { animation: none; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #AEBCD6; padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; letter-spacing: .02em; }
.site-footer a { display: block; color: #AEBCD6; padding: 6px 0; font-size: .93rem; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.site-footer .desc { font-size: .92rem; margin: 16px 0; max-width: 280px; }
.legal {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: #8294B5;
}
.legal .reg { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); padding: 4px 12px; border-radius: 8px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.show { opacity: 1; transform: none; }

/* ---------- Modal de cookies ---------- */
.nx-cookies {
  position: fixed; inset: 0; z-index: 200; display: flex; justify-content: center; align-items: flex-end;
  padding: 0 16px 5vh; background: rgba(8, 18, 42, .55); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.nx-cookies.show { opacity: 1; pointer-events: auto; }
.nx-ck-card {
  background: #fff; border-radius: 20px; padding: 26px 44px 24px; width: 100%; max-width: 780px;
  box-shadow: var(--shadow-lg); text-align: center; position: relative;
  transform: translateY(22px); transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.nx-cookies.show .nx-ck-card { transform: none; }
.nx-ck-head { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 12px; }
.nx-ck-ico {
  width: 46px; height: 46px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(42,99,230,.14), rgba(56,189,248,.2)); color: var(--blue-600);
}
.nx-ck-ico svg { width: 26px; height: 26px; }
.nx-ck-head h3 { font-size: 1.4rem; color: var(--navy-800); }
.nx-ck-desc { color: var(--muted); font-size: .95rem; line-height: 1.6; max-width: 680px; margin: 0 auto; }
.nx-ck-desc a { color: var(--blue-600); font-weight: 700; }
.nx-ck-prefs[hidden], .nx-ck-save[hidden], .nx-ck-custom[hidden] { display: none; }
.nx-ck-prefs { display: flex; flex-direction: column; gap: 2px; margin: 16px auto 2px; max-width: 480px; text-align: left; border-top: 1px solid var(--line); padding-top: 12px; }
.nx-ck-opt { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 0; cursor: pointer; }
.nx-ck-opt span { display: flex; flex-direction: column; }
.nx-ck-opt b { font-size: .92rem; color: var(--navy-800); }
.nx-ck-opt small { font-size: .8rem; color: var(--muted); }
.nx-ck-opt input { width: 19px; height: 19px; accent-color: var(--blue-600); flex: 0 0 auto; cursor: pointer; }
.nx-ck-actions { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.nx-ck-accept, .nx-ck-save {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600)); color: #fff; padding: 13px 28px; font-size: .98rem;
  box-shadow: 0 10px 24px rgba(30,80,200,.32);
}
.nx-ck-accept:hover, .nx-ck-save:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(30,80,200,.42); }
.nx-ck-custom { background: #fff; color: var(--navy-800); border: 1.5px solid var(--line); padding: 13px 28px; font-size: .98rem; }
.nx-ck-custom:hover { border-color: var(--blue-500); color: var(--blue-600); }
@media (max-width: 560px) {
  /* En móvil: hoja inferior a todo el ancho (evita desbordes) */
  .nx-cookies { padding: 0; align-items: flex-end; }
  .nx-ck-card {
    max-width: none; width: 100%; border-radius: 20px 20px 0 0;
    padding: 22px 18px calc(18px + env(safe-area-inset-bottom));
  }
  .nx-ck-head { gap: 10px; }
  .nx-ck-head h3 { font-size: 1.12rem; }
  .nx-ck-desc { font-size: .9rem; }
  .nx-ck-prefs { max-width: none; }
  .nx-ck-actions { flex-direction: column-reverse; gap: 10px; }
  .nx-ck-actions .btn { width: 100%; }
}

/* ---------- Auth pages ---------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side {
  color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(700px 400px at 20% 10%, rgba(79,130,255,.4), transparent 60%), linear-gradient(160deg, var(--navy-900), var(--navy-700));
}
.auth-side h2 { color: #fff; margin-top: 22px; }
.auth-side p { color: #C7D2E8; margin-top: 12px; }
.auth-side .pts { margin-top: 28px; display: grid; gap: 14px; }
.auth-side .pt { display: flex; align-items: center; gap: 12px; color: #DCE5F5; }
.auth-side .pt .tick { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; }
.auth-main { display: grid; place-items: center; padding: 40px 24px; }
.auth-card { width: 100%; max-width: 410px; }
.auth-card h1 { font-size: 1.8rem; }
.auth-card .muted { color: var(--muted); margin: 8px 0 26px; }
.auth-card .switch { text-align: center; margin-top: 20px; color: var(--muted); font-size: .95rem; }
.auth-card .switch a { color: var(--blue-600); font-weight: 700; }
.alert { padding: 12px 14px; border-radius: 10px; font-size: .9rem; margin-bottom: 16px; display: none; }
.alert.error { display: block; background: #FEF2F2; color: var(--red); border: 1px solid #FECACA; }
.alert.ok { display: block; background: #F0FDF4; color: var(--green); border: 1px solid #BBF7D0; }

/* ---------- Dashboard ---------- */
.dash { padding: 36px 0 80px; }
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; flex-wrap: wrap; gap: 16px; }
.dash-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.panel h3 { font-size: 1.15rem; margin-bottom: 16px; }
.ops-list { display: grid; gap: 10px; }
.op {
  display: flex; justify-content: space-between; align-items: center; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px;
}
.op .pill { font-size: .72rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; text-transform: uppercase; }
.op .pill.compra { background: #ECFDF3; color: var(--green); }
.op .pill.venta { background: #FEF2F2; color: var(--red); }
.empty { color: var(--muted); text-align: center; padding: 24px; }

/* ---------- Cotizador USDT/USDC (estilo tarjeta) ---------- */
.stable-picker { display: flex; justify-content: center; gap: 14px; margin: 6px 0 18px; }
.stable-opt {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  background: none; border: 0; cursor: pointer; font-family: inherit; padding: 6px 4px;
  font-weight: 700; font-size: .82rem; color: var(--muted); transition: color .15s;
}
.stable-opt .coin-logo {
  width: 50px; height: 50px; border-radius: 50%; transition: .18s;
  box-shadow: var(--shadow-sm); border: 3px solid transparent; object-fit: contain;
}
.stable-opt.active { color: var(--navy-800); }
.stable-opt.active .coin-logo { border-color: var(--blue-500); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(30,80,200,.3); }
.chip-coin { width: 24px; height: 24px; border-radius: 50%; vertical-align: middle; object-fit: contain; }
.flag-chip { width: 24px; height: 16px; border-radius: 3px; vertical-align: middle; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.flag-inline { display: inline-block; width: 20px; height: 14px; border-radius: 3px; vertical-align: -2px; margin: 0 1px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }

.buysell { display: flex; background: var(--bg); border-radius: 12px; padding: 5px; margin-bottom: 18px; }
.buysell .bs {
  flex: 1; border: 0; background: transparent; padding: 11px; border-radius: 9px;
  font-weight: 700; color: var(--muted); cursor: pointer; font-family: inherit; transition: .2s; font-size: .92rem;
}
.buysell .bs b { color: inherit; }
.buysell .bs.active { background: linear-gradient(135deg, var(--blue-500), var(--blue-600)); color: #fff; box-shadow: 0 8px 18px rgba(30,80,200,.3); }

.amount-box {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 16px; background: #fff;
}
.amount-box.result { background: var(--bg); border-style: solid; }
/* Selector de destino (remesas): una sola tarjeta de Bolivia a todo el ancho */
.dest-label { display: block; font-size: .76rem; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
#panelRemesa .country-grid { grid-template-columns: 1fr; margin-bottom: 0; }
#panelRemesa .country-opt { display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 16px; }
#panelRemesa .country-opt .flag { width: 40px; height: 27px; margin: 0; }
#panelRemesa .country-opt .name { margin-top: 0; font-size: 1rem; flex: 1; }
#panelRemesa .country-opt .cur { font-size: .85rem; font-weight: 700; color: var(--blue-600); }
.amount-box .ab-label { display: block; font-size: .76rem; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.amount-box .ab-input {
  border: 0; outline: 0; font-size: 1.5rem; font-weight: 800; color: var(--navy-800);
  width: 100%; background: transparent; font-family: inherit; padding: 0;
}
.amount-box .ab-out { font-size: 1.5rem; font-weight: 800; color: var(--navy-800); }
.cur-chip {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-weight: 800; color: var(--navy-800); font-size: 1rem;
}
/* Precio preferencial por volumen (estilo "ganaste mejor TC") */
.pref-msg[hidden] { display: none; }
.pref-msg {
  text-align: center; font-size: .9rem; font-weight: 700; color: var(--navy-800);
  line-height: 1.35; margin: 2px 2px 12px; animation: prefIn .3s ease;
}
.pref-msg b { background: linear-gradient(120deg, #06B6D4, var(--blue-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Precio original tachado dentro de los botones Comprar/Vender */
.buysell .bs s { margin-left: 6px; font-size: .82em; font-weight: 600; opacity: .55; text-decoration: line-through; }
.buysell .bs.active s { color: rgba(255,255,255,.8); opacity: .85; }
@keyframes prefIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.swap-btn {
  display: block; margin: -10px auto; position: relative; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; border: 4px solid #fff;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600)); color: #fff;
  font-size: 1.1rem; cursor: pointer; box-shadow: 0 6px 16px rgba(30,80,200,.35); transition: transform .2s;
}
.swap-btn:hover { transform: rotate(180deg); }

.sbs-badge {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; text-align: center;
}
.sbs-badge .lbl { font-size: .8rem; color: var(--muted); font-weight: 600; }
.sbs-badge .sbs-oficial { height: 38px; width: auto; }
.sbs-badge .sbs-logo { display: inline-flex; align-items: center; gap: 9px; color: #111; }
.sbs-badge .sbs-text { display: flex; flex-direction: column; text-align: left; line-height: 1.1; font-family: Georgia, 'Times New Roman', serif; }
.sbs-badge .sbs-text b { font-size: .9rem; font-weight: 700; letter-spacing: .04em; color: #111; }
.sbs-badge .sbs-text > span { font-size: .62rem; font-weight: 700; letter-spacing: .05em; color: #111; }
.sbs-badge .sbs-text small { font-size: .6rem; font-weight: 400; color: #444; }

/* Variante del sello sobre fondo oscuro (footer) */
.sbs-badge.on-dark { border-top-color: rgba(255,255,255,.12); }
.sbs-badge.on-dark .lbl { color: #9FB0CE; }
.sbs-badge.on-dark .sbs-logo { color: #fff; }
.sbs-badge.on-dark .sbs-text b, .sbs-badge.on-dark .sbs-text > span { color: #fff; }
.sbs-badge.on-dark .sbs-text small { color: #9FB0CE; }

/* ---------- Cómo funciona: flujo ilustrado ---------- */
/* ---------- Cómo funciona: tarjetas de pasos ---------- */
.steps-flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
/* Línea conectora que une los 4 pasos (solo escritorio) */
.steps-flow::before {
  content: ""; position: absolute; top: 64px; left: 12%; right: 12%; height: 3px;
  background: repeating-linear-gradient(90deg, #cdd7ea 0 10px, transparent 10px 20px);
  z-index: 0;
}
.step-card {
  position: relative; z-index: 1; border-radius: 22px;
  display: flex; flex-direction: column;
  padding: 30px 24px 26px; overflow: hidden;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--c1) 9%, #fff), #fff 62%);
  border: 1px solid color-mix(in srgb, var(--c1) 22%, var(--line));
  box-shadow: 0 8px 22px rgba(12,23,48,.06);
  transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s, border-color .28s;
}
.step-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--c1), var(--c2));
}
/* Resplandor decorativo en la esquina */
.step-card::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px;
  border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c1) 30%, transparent), transparent 70%);
  opacity: .5; transition: transform .4s ease, opacity .4s ease;
}
.step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 40px color-mix(in srgb, var(--c2) 26%, transparent);
  border-color: color-mix(in srgb, var(--c1) 45%, transparent);
}
.step-card:hover::after { transform: scale(1.4); opacity: .75; }
.step-n {
  position: absolute; top: 14px; right: 20px; font-size: 4rem; font-weight: 900;
  line-height: 1; color: var(--c2); opacity: .12; user-select: none;
  transition: opacity .28s, transform .28s;
}
.step-card:hover .step-n { opacity: .22; transform: scale(1.08); }
.step-ico {
  width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center;
  font-size: 1.8rem; color: #fff; margin-bottom: 18px; position: relative;
  background: linear-gradient(140deg, var(--c1), var(--c2));
  box-shadow: 0 14px 26px color-mix(in srgb, var(--c2) 40%, transparent);
  animation: stepFloat 4s ease-in-out infinite;
}
.step-card:nth-child(2) .step-ico { animation-delay: .6s; }
.step-card:nth-child(3) .step-ico { animation-delay: 1.2s; }
.step-card:nth-child(4) .step-ico { animation-delay: 1.8s; }
/* Anillo pulsante alrededor del icono al pasar el cursor */
.step-ico::before {
  content: ""; position: absolute; inset: -6px; border-radius: 22px;
  border: 2px solid color-mix(in srgb, var(--c1) 55%, transparent);
  opacity: 0; transform: scale(.85); transition: opacity .3s, transform .3s;
}
.step-card:hover .step-ico { transform: rotate(-6deg) scale(1.08); animation-play-state: paused; }
.step-card:hover .step-ico::before { opacity: 1; transform: scale(1); }
.step-card h3 { font-size: 1.2rem; margin-bottom: 7px; }
.step-card p { color: var(--muted); font-size: .94rem; }
.step-chip {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 5px; margin-top: auto;
  padding: 6px 13px; border-radius: 999px; font-size: .78rem; font-weight: 700;
  color: var(--c2); background: color-mix(in srgb, var(--c1) 14%, #fff);
  border: 1px solid color-mix(in srgb, var(--c1) 30%, transparent);
}
@keyframes stepFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .step-ico { animation: none; } }
@media (max-width: 900px) { .steps-flow { grid-template-columns: repeat(2, 1fr); } .steps-flow::before { display: none; } }
@media (max-width: 520px) { .steps-flow { grid-template-columns: 1fr; } }

/* ---------- Cómo funciona: pasos en flujo libre (con flechas) ---------- */
.steps-free { display: flex; align-items: flex-start; justify-content: center; gap: 6px; }
.step-f { flex: 1 1 0; max-width: 250px; text-align: center; padding: 0 6px; }
.step-emoji {
  position: relative; height: 96px; display: grid; place-items: center; margin-bottom: 14px;
  font-size: 3.4rem; filter: drop-shadow(0 12px 20px rgba(12,23,48,.2));
  animation: stepFloat 4.5s ease-in-out infinite;
}
.step-emoji::before {
  content: ""; position: absolute; z-index: -1; width: 96px; height: 96px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c1) 34%, transparent), transparent 70%);
}
.steps-free .step-f:nth-child(3) .step-emoji { animation-delay: .6s; }
.steps-free .step-f:nth-child(5) .step-emoji { animation-delay: 1.2s; }
.steps-free .step-f:nth-child(7) .step-emoji { animation-delay: 1.8s; }
.step-f h3 { font-size: 1.2rem; margin-bottom: 6px; color: var(--navy-800); }
.step-f p { color: var(--muted); font-size: .92rem; line-height: 1.5; }
.step-arrow { flex: 0 0 auto; align-self: center; margin-top: 22px; color: #B6C4DE; }
.step-arrow svg { width: 84px; height: 40px; display: block; }
.step-arrow.down svg { transform: scaleY(-1); }
@keyframes stepFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (prefers-reduced-motion: reduce) { .step-emoji { animation: none; } }
@media (max-width: 860px) {
  .steps-free { flex-wrap: wrap; gap: 28px 16px; }
  .step-arrow { display: none; }
  .step-f { flex: 1 1 40%; max-width: none; }
}
@media (max-width: 520px) { .step-f { flex: 1 1 100%; } }

/* ---------- Contáctanos ---------- */
.contact-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.contact-card {
  flex: 0 1 340px; display: block; text-align: center; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 32px 24px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s; color: inherit;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.contact-ico {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  margin: 0 auto 16px; color: #fff; box-shadow: 0 12px 24px rgba(12,23,48,.16);
}
.contact-card.wa .contact-ico { background: linear-gradient(140deg, #25D366, #128C7E); }
.contact-card.mail .contact-ico { background: linear-gradient(140deg, var(--blue-500), var(--blue-600)); }
.contact-card.libro .contact-ico { background: linear-gradient(140deg, var(--navy-800), var(--blue-600)); }
.contact-card h3 { font-size: 1.12rem; margin-bottom: 4px; }
.contact-card .contact-val { color: var(--ink); font-weight: 600; word-break: break-word; }
.contact-card .contact-link { display: inline-block; margin-top: 12px; color: var(--blue-600); font-weight: 700; font-size: .9rem; }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Libro de Reclamaciones (formulario) ---------- */
.lr-form h3 { font-size: 1.05rem; color: var(--blue-600); margin: 22px 0 12px; }
.lr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lr-form textarea.input { resize: vertical; min-height: 90px; line-height: 1.5; }
.lr-tipo { display: flex; gap: 12px; flex-wrap: wrap; }
.lr-opt {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 18px; color: var(--navy-700);
}
.lr-opt:has(input:checked) { border-color: var(--blue-500); background: rgba(42,99,230,.06); color: var(--blue-600); }
.lr-check { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: .9rem; margin: 8px 0; cursor: pointer; }
.lr-check input { margin-top: 3px; }
.lr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lr-captcha { display: flex; align-items: center; gap: 10px; }
.lr-cap-img { height: 64px; width: 210px; border: 1px solid var(--line); border-radius: 10px; background: #e7ebf2; user-select: none; }
.lr-cap-reload {
  width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  color: var(--blue-600); font-size: 1.3rem; cursor: pointer; transition: .15s; flex: 0 0 auto;
}
.lr-cap-reload:hover { border-color: var(--blue-500); background: rgba(42,99,230,.06); transform: rotate(90deg); }
@media (max-width: 560px) { .lr-grid { grid-template-columns: 1fr; } }

/* ---------- Chatbot Nexi ---------- */
.nx-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600)); color: #fff;
  box-shadow: 0 12px 30px rgba(30,80,200,.45); display: grid; place-items: center;
  transition: transform .2s, box-shadow .2s;
}
.nx-fab:hover { transform: scale(1.07); box-shadow: 0 16px 38px rgba(30,80,200,.55); }
.nx-fab svg { width: 28px; height: 28px; }
.nx-fab .dot { position: absolute; top: 5px; right: 5px; width: 14px; height: 14px; background: #16A34A; border: 2px solid #fff; border-radius: 50%; }
.nx-fab.hide { transform: scale(0); opacity: 0; pointer-events: none; }

.nx-chat {
  position: fixed; right: 22px; bottom: 22px; z-index: 95;
  width: 372px; max-width: calc(100vw - 32px); height: 564px; max-height: calc(100vh - 90px);
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(20px) scale(.96); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.nx-chat.open { opacity: 1; transform: none; pointer-events: auto; }
.nx-chat-head {
  background: linear-gradient(135deg, var(--navy-800), var(--blue-600)); color: #fff;
  padding: 15px 16px; display: flex; align-items: center; gap: 12px;
}
.nx-chat-head .ava { width: 42px; height: 42px; background: #fff; border-radius: 50%; padding: 6px; }
.nx-chat-head .ht b { font-size: 1rem; display: block; line-height: 1.2; }
.nx-chat-head .ht span { font-size: .78rem; color: #C7D9FF; display: inline-flex; align-items: center; gap: 6px; }
.nx-chat-head .ht span i { width: 8px; height: 8px; border-radius: 50%; background: #34D399; display: inline-block; }
.nx-chat-head .x { margin-left: auto; background: rgba(255,255,255,.16); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; line-height: 1; }
.nx-chat-head .x:hover { background: rgba(255,255,255,.28); }

.nx-body { flex: 1; overflow-y: auto; padding: 18px; background: var(--bg); display: flex; flex-direction: column; gap: 11px; }
.nx-msg { max-width: 82%; padding: 11px 14px; border-radius: 15px; font-size: .92rem; line-height: 1.45; word-wrap: break-word; }
.nx-msg.bot { background: #fff; color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; box-shadow: var(--shadow-sm); }
.nx-msg.user { background: linear-gradient(135deg, var(--blue-500), var(--blue-600)); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.nx-msg a { color: var(--blue-600); font-weight: 700; }
.nx-msg.user a { color: #fff; }
.nx-msg b { font-weight: 700; }
.nx-typing { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 15px; border-bottom-left-radius: 4px; padding: 12px 15px; }
.nx-typing i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #AEB8CC; margin: 0 1.5px; animation: nxblink 1.3s infinite both; }
.nx-typing i:nth-child(2) { animation-delay: .2s; }
.nx-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes nxblink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }

/* Opciones rápidas en vertical (apiladas) */
.nx-quick { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); background: #fff; max-height: 184px; overflow-y: auto; }
.nx-quick::-webkit-scrollbar { width: 0; }
.nx-quick button {
  width: 100%; text-align: left; border: 1.5px solid var(--line); background: #fff; color: var(--navy-700);
  border-radius: 12px; padding: 10px 14px; font-size: .86rem; font-weight: 700; cursor: pointer;
  font-family: inherit; transition: .15s;
}
.nx-quick button:hover { border-color: var(--blue-500); color: var(--blue-600); background: rgba(42,99,230,.06); }

/* ---- Vistas del chat (Inicio / Chat / Mensajes) + navegación inferior ---- */
.nx-view { display: none; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.nx-chat[data-view="home"] .nx-home,
.nx-chat[data-view="chat"] .nx-chat-view,
.nx-chat[data-view="messages"] .nx-msgs { display: flex; }
.nx-chat[data-view="chat"] .nx-nav { display: none; }

/* Vista Inicio */
.nx-home-hero { background: linear-gradient(135deg, var(--navy-800), var(--blue-600)); color: #fff; padding: 18px 18px 28px; }
.nx-home-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.nx-home-bar .ava { width: 34px; height: 34px; background: #fff; border-radius: 50%; padding: 5px; }
.nx-home-bar b { font-size: .98rem; }
.nx-home-bar .x { margin-left: auto; background: rgba(255,255,255,.16); border: 0; color: #fff; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 1.15rem; line-height: 1; }
.nx-home-bar .x:hover { background: rgba(255,255,255,.28); }
.nx-home-hero h2 { font-size: 1.75rem; margin: 6px 0 8px; color: #fff; }
.nx-home-hero p { color: #C7D9FF; font-size: .95rem; line-height: 1.45; }
.nx-home-body { padding: 16px; background: var(--bg); flex: 1; overflow-y: auto; }

/* Tarjeta "Nueva conversación" */
.nx-card { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; cursor: pointer; font-family: inherit; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s; }
.nx-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.nx-card > div { flex: 1; }
.nx-card b { display: block; color: var(--navy-800); font-size: .98rem; }
.nx-card span { color: var(--muted); font-size: .82rem; }
.nx-card svg { width: 22px; height: 22px; color: var(--blue-600); flex: 0 0 auto; }

/* Vista Mensajes */
.nx-msgs-body { flex: 1; overflow-y: auto; padding: 16px; background: var(--bg); }
.nx-recientes-tit { margin: 20px 4px 6px; font-size: 1rem; color: var(--navy-800); }
.nx-recientes { display: flex; flex-direction: column; }
.nx-reciente { display: flex; align-items: center; gap: 11px; width: 100%; text-align: left; background: none; border: 0; border-top: 1px solid var(--line); padding: 12px 4px; cursor: pointer; font-family: inherit; }
.nx-reciente:hover { background: rgba(42,99,230,.05); }
.nx-reciente .ava { width: 34px; height: 34px; background: var(--navy-800); border-radius: 50%; padding: 5px; flex: 0 0 auto; }
.nx-rc-tx { flex: 1; min-width: 0; }
.nx-rc-top { display: flex; justify-content: space-between; gap: 8px; }
.nx-rc-top b { font-size: .9rem; color: var(--navy-800); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-rc-top span { font-size: .74rem; color: var(--muted); flex: 0 0 auto; }
.nx-rc-tx p { font-size: .82rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 2px 0 0; }
.nx-vacio { color: var(--muted); font-size: .9rem; text-align: center; padding: 24px 10px; }

/* Navegación inferior */
.nx-nav { display: flex; border-top: 1px solid var(--line); background: #fff; flex: 0 0 auto; }
.nx-tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 0 8px; background: none; border: 0; cursor: pointer; color: var(--muted); font-family: inherit; font-size: .72rem; font-weight: 700; }
.nx-tab svg { width: 22px; height: 22px; }
.nx-tab.active { color: var(--blue-600); }

/* Botón volver (vista chat) */
.nx-chat-head .nx-back { background: rgba(255,255,255,.16); border: 0; color: #fff; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 1.4rem; line-height: 1; flex: 0 0 auto; padding: 0; }
.nx-chat-head .nx-back:hover { background: rgba(255,255,255,.28); }
.nx-foot { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); background: #fff; }
.nx-foot input { flex: 1; border: 1.5px solid var(--line); border-radius: 999px; padding: 11px 16px; font-family: inherit; font-size: .92rem; outline: none; transition: border .15s; }
.nx-foot input:focus { border-color: var(--blue-500); }
.nx-foot button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: linear-gradient(135deg, var(--blue-500), var(--blue-600)); color: #fff; cursor: pointer; display: grid; place-items: center; flex: 0 0 auto; }
.nx-foot button:hover { filter: brightness(1.08); }
.nx-foot button svg { width: 20px; height: 20px; }

/* Badge de notificación en el botón del chat */
.nx-badge {
  position: absolute; top: -3px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px;
  background: #EF4444; color: #fff; border-radius: 999px; font-size: .72rem; font-weight: 800;
  display: none; align-items: center; justify-content: center; border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.nx-badge.show { display: flex; }

/* Mensaje emergente (teaser) junto al botón del chat */
.nx-teaser {
  position: fixed; right: 24px; bottom: 92px; width: min(262px, calc(100vw - 48px));
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 15px;
  box-shadow: var(--shadow-md); padding: 13px 14px 12px; z-index: 60;
  opacity: 0; transform: translateY(12px) scale(.96); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.nx-teaser.show { opacity: 1; transform: none; pointer-events: auto; }
.nx-teaser::after {
  content: ""; position: absolute; bottom: -7px; right: 28px; width: 14px; height: 14px;
  background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}
.nx-teaser-x {
  position: absolute; top: 6px; right: 9px; background: none; border: 0; color: var(--muted);
  font-size: 1.15rem; line-height: 1; cursor: pointer;
}
.nx-teaser-msg { font-size: .86rem; line-height: 1.38; color: var(--navy-800); cursor: pointer; padding-right: 14px; transition: opacity .28s ease, transform .28s ease; }
.nx-teaser-msg.fade { opacity: 0; transform: translateY(-5px); }
.nx-teaser-msg b { color: var(--blue-600); }
.nx-teaser-quick { display: flex; flex-direction: column; gap: 7px; margin-top: 12px; }
.nx-teaser-quick button {
  text-align: left; border: 1.5px solid var(--line); background: #fff; color: var(--navy-700);
  border-radius: 10px; padding: 8px 11px; font-size: .82rem; font-weight: 700; cursor: pointer;
  font-family: inherit; transition: .15s;
}
.nx-teaser-quick button:hover { border-color: var(--blue-500); color: var(--blue-600); background: rgba(42,99,230,.06); }

@media (max-width: 480px) {
  .nx-chat { right: 8px; bottom: 8px; height: calc(100vh - 70px); }
  .nx-fab { right: 16px; bottom: 16px; }
}
/* Móvil: teaser compacto pegado a la esquina, sin tapar botones ni el cotizador */
@media (max-width: 560px) {
  .nx-teaser {
    width: min(204px, calc(100vw - 96px)); right: 14px; bottom: 78px;
    padding: 10px 12px; border-radius: 13px;
  }
  .nx-teaser-msg { font-size: .78rem; line-height: 1.32; padding-right: 12px; }
  .nx-teaser-quick { display: none; } /* en móvil solo el mensaje; al tocarlo abre el chat completo */
  .nx-teaser::after { right: 22px; }
}

/* ---------- Remesas: selector de país ---------- */
.country-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 6px; }
.country-opt {
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 8px; text-align: center;
  cursor: pointer; transition: .18s; background: #fff;
}
.country-opt:hover { border-color: var(--blue-400); }
.country-opt.active { border-color: var(--blue-500); background: rgba(42,99,230,.06); box-shadow: 0 0 0 3px rgba(42,99,230,.1); }
.country-opt .flag { width: 36px; height: 24px; border-radius: 4px; margin: 0 auto; box-shadow: 0 0 0 1px rgba(0,0,0,.08); display: block; }
.country-opt .name { display: block; font-weight: 700; font-size: .82rem; margin-top: 7px; color: var(--navy-800); }
.country-opt .cur { display: block; font-size: .68rem; color: var(--muted); }

/* ---------- Destinos (sección remesas) ---------- */
.dest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dest-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; text-align: center;
}
.dest-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.dest-card .flag { width: 64px; height: 43px; border-radius: 6px; margin: 0 auto; box-shadow: var(--shadow-sm); display: block; }
.dest-card h3 { margin: 12px 0 4px; }
.dest-card .rate { color: var(--blue-600); font-weight: 800; font-size: 1.15rem; }
.dest-card .cur { color: var(--muted); font-size: .9rem; }
.dest-card .eta { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: .85rem; color: var(--green); font-weight: 700; }

/* ---------- Bloque de dos servicios ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split-3 { grid-template-columns: repeat(3, 1fr); }
.split.split-3 .feature { padding: 30px 28px; }
@media (max-width: 980px) { .split-3 { grid-template-columns: 1fr; } }
.split .feature {
  border-radius: var(--radius); padding: 36px; color: #fff; position: relative; overflow: hidden;
}
.split .feature.remesas { background: linear-gradient(150deg, var(--navy-800), var(--blue-600)); }
.split .feature.cripto { background: linear-gradient(150deg, #11213f, #243b6b); }
.split .feature.seguridad { background: linear-gradient(150deg, var(--navy-900), var(--blue-500)); }
.split .feature h3 { color: #fff; font-size: 1.4rem; }
.split .feature p { color: #C7D2E8; margin: 10px 0 18px; }
.split .feature .mini-ico { font-size: 2rem; margin-bottom: 8px; }
.split .feature ul { list-style: none; display: grid; gap: 8px; margin-bottom: 22px; }
.split .feature li { color: #DCE5F5; font-size: .95rem; display: flex; gap: 9px; }
.split .feature li::before { content: "✓"; color: var(--cyan); font-weight: 800; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .dash-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 32px; }
  /* Evita el desbordamiento horizontal (grid blowout) en móvil */
  .hero-grid > * { min-width: 0; }
  .quote-card { max-width: 100%; overflow: hidden; }
  /* En móvil el cotizador va primero (es lo accionable); el texto del hero, debajo */
  .hero-grid .quote-card { order: -1; }
  .hero-sky { display: none; }
  .cards, .steps, .dest-grid, .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .nav-links, .nav-actions .btn-show-desktop { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; padding: 18px 24px; gap: 14px; box-shadow: var(--shadow-md); border-bottom: 1px solid var(--line);
  }
  .nav-links.open .nav-sep { display: none; }
  .nav-links.open .nav-item { padding: 6px 0; }
  .nav-links.open .nav-item::after { display: none; } /* sin subrayado en el menú apilado */
  .nav-links.open .nav-cta { text-align: center; margin-top: 4px; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .section-pad { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-final { padding: 44px 24px; }
  /* Hero: indicadores en fila de 3, compactos, sin huecos enormes */
  .hero-badges { gap: 14px 20px; margin-top: 20px; }
  .hero-badges .b b { font-size: 1.22rem; }
  .hero-badges .b span { font-size: .78rem; }
  /* Eyebrow más compacto para que no desborde en pantallas chicas */
  .eyebrow { font-size: .7rem; letter-spacing: .05em; padding: 6px 12px; }
  .section-head { margin-bottom: 30px; }
  .section-head h2 { font-size: 1.7rem; }
  /* Pasos: tarjetas menos voluminosas y más juntas */
  .steps-flow { gap: 16px; }
  .step-card { padding: 24px 20px 22px; }
  .step-n { font-size: 3.2rem; top: 12px; right: 16px; }
  .step-ico { width: 54px; height: 54px; margin-bottom: 14px; }
  /* Tabla de mercado: compacta para que entre completa en móvil */
  .market { overflow-x: hidden; }
  .market th, .market td { padding: 11px 6px; font-size: .8rem; }
  .market th:first-child, .market td:first-child { padding-left: 14px; }
  .market th:last-child, .market td:last-child { padding-right: 14px; }
  .market thead th { font-size: .62rem; letter-spacing: .03em; }
  .market .coin { gap: 8px; }
  .market .coin .badge { width: 26px; height: 26px; }
  .market .coin b { font-size: .82rem; }
  .market .coin small { font-size: .66rem; }
  .market .price { white-space: nowrap; font-size: .8rem; }
  .market .chg { white-space: nowrap; font-size: .78rem; }
  /* Botón "Operar" como flecha compacta */
  .market td:last-child .btn { padding: 7px 10px !important; font-size: 0 !important; border-radius: 10px; }
  .market td:last-child .btn::after { content: "→"; font-size: 1rem; font-weight: 800; }
  /* Confianza / CTA: ocultar monedas decorativas flotantes (estorban en móvil) */
  .trust-coins, .cta-coins { display: none; }
  .trust-hero { padding: 28px 22px; }
  .trust-hero h3 { font-size: 1.45rem; }
  .trust-coinline img { width: 30px; height: 30px; }
  .cta-final { padding: 40px 22px; }
  /* Seguridad: que las imágenes/monedas nunca se desborden */
  .trust-coinline img, .flag-inline { max-width: 40px; }
}

/* ===== Compactación del hero + cotizador (para que entre completo en ~1080p) ===== */
/* Franja azul más corta (menos relleno arriba/abajo) pero con texto más grande. */
.hero { padding: 30px 0 50px; }
.hero h1 { font-size: clamp(2.15rem, 3.6vw, 3.2rem); }
.hero p.lead { font-size: 1.12rem; margin: 16px 0 24px; }
.hero-cta .btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.hero-badges { margin-top: 24px; gap: 32px; }
.hero-badges .b b { font-size: 1.5rem; }
/* La ilustración andina queda como franja inferior (no tapa el título).
   Mantener ~188px para que la llama se vea completa (es un SVG 1440×320). */
.hero-andes { height: 188px; object-fit: cover; object-position: bottom; }

.quote-card { padding: 22px 24px; border-radius: 20px; }
.quote-card .sub { margin-bottom: 12px; }
.stable-picker { margin: 2px 0 12px; }
.stable-opt .coin-logo { width: 48px; height: 48px; }
.buysell { margin-bottom: 14px; }
.buysell .bs { padding: 11px; }
.amount-box { padding: 15px 18px; }
.amount-box .ab-input, .amount-box .ab-out { font-size: 1.5rem; }
.swap-btn { margin: -8px auto; }
.quote-result { padding: 12px 14px; margin: 12px 0; }
.quote-result .you-get b { font-size: 1.45rem; }
.quote-foot { margin-top: 8px; }
.sbs-badge { margin-top: 12px; padding-top: 12px; }
.sbs-badge .sbs-oficial { height: 34px; }

/* ===== Apariencia base (vista de escritorio) =====
   El resto de la página va a 0.9; solo el CONTENIDO del hero se compacta un poco
   más (0.9 × 0.9 ≈ 0.81) para que el cotizador entre como se quiere, sin encoger
   el resto. Se aplica el zoom al .container del hero (no a la sección) para no
   afectar el fondo a todo el ancho. Solo en pantallas grandes (no en móvil). */
@media (min-width: 961px) {
  body { zoom: 1; }
  .hero .container { zoom: 0.81; } /* solo el cotizador/hero queda compacto (~0.81); el resto a tamaño completo */
}
