/* Product Performs Style: Dark Fintech Premium (Estilo NeroTrade) - 100% Responsive */
:root {
  --bg-slate: #100e0b;
  --bg-surface: #161311;
  --bg-subtle: #1f1a16;

  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;

  --ria-orange: #ea580c;
  --ria-orange-hover: #c2410c;
  --ria-orange-light: rgba(234, 88, 12, 0.15);

  --emerald: #10b981;
  --emerald-light: rgba(16, 185, 129, 0.15);

  --card-bg: #161311;
  --card-border: #27221d;
  --card-shadow: none;

  --font-sans: 'Switzer', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Switzer', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 3.8rem);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* Universal box-sizing & zero overflow reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  background-color: #100e0b;
}

body {
  font-family: var(--font-sans);
  background-color: #100e0b;
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100svh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  padding-bottom: 70px;
}

/* Aura Background: Constellation (Atmospheric Deep Backdrop) */
.aura-fixed-wrap {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  min-height: 100svh;
}

/* Layer 1 - normal lattice */
.aura-layer-1 {
  position: absolute;
  inset: 0;
  background: linear-gradient(28deg, transparent 48%, rgba(129,140,248,0.08) 49%, transparent 50%), linear-gradient(142deg, transparent 48%, rgba(96,165,250,0.08) 49%, transparent 50%); /* taste-skill-ignore */
  background-size: 90px 90px;
  mix-blend-mode: normal;
  opacity: 0.8;
  transform: translateZ(0);
  will-change: transform;
  pointer-events: none;
}

/* Layer 2 - screen stars */
.aura-layer-2 {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.85) 1px, transparent 3px), radial-gradient(circle at 65% 22%, rgba(191,219,254,0.8) 1.5px, transparent 4px), radial-gradient(circle at 80% 70%, rgba(255,255,255,0.75) 1px, transparent 3px), radial-gradient(circle at 35% 78%, rgba(165,180,252,0.8) 1.5px, transparent 4px); /* taste-skill-ignore */
  mix-blend-mode: screen;
  transform: translateZ(0);
  will-change: transform;
  pointer-events: none;
}

/* Layer 3 - screen nebula glow */
.aura-layer-3 {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 50% at 50% 50%, rgba(99,102,241,0.22) 0%, transparent 75%); /* taste-skill-ignore */
  mix-blend-mode: screen;
  filter: blur(252px);
  transform: translateZ(0);
  will-change: transform;
  pointer-events: none;
}

@media (max-width: 768px) {
  .aura-layer-3 {
    filter: blur(175px);
  }
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header */
.ria-header {
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem clamp(1.25rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Brand Badge & SVG */
.brand-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--ria-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.brand-svg-logo {
  display: block;
  color: #ffffff;
}

.brand-text-block {
  flex-shrink: 0;
}

.brand-title {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-subtitle {
  display: block;
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1.1vw, 1.1rem);
  flex-shrink: 0;
}

.nav-link {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.35rem 0.2rem;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--ria-orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-alumnos-login {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #161311;
  border: 1.5px solid #2e2720;
  color: #f8fafc;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}

.btn-alumnos-login:hover {
  border-color: #ea580c;
  background: #231d18;
}

.header-rate-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #161311;
  border: 1.5px solid #27221d;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: #34d399;
  text-decoration: none;
  font-feature-settings: 'tnum' 1;
  white-space: nowrap;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.header-rate-pill:hover {
  border-color: #10b981;
  background: #1f1a16;
}

.rate-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
  animation: ratePulse 2s infinite ease-out;
}

@keyframes ratePulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.85);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.svg-flag {
  display: inline-block;
  vertical-align: middle;
  border-radius: 2px;
  flex-shrink: 0;
}

.svg-arrow-mini {
  color: var(--text-dim);
  flex-shrink: 0;
}

.btn-arrow-svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.hero-cta-btn:hover .btn-arrow-svg,
.calc-primary-btn:hover .btn-arrow-svg,
.sticky-btn:hover .btn-arrow-svg {
  transform: translateX(3px);
}

.badge-svg {
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.promo-tag-svg {
  flex-shrink: 0;
}

.chevron-mini-svg {
  color: var(--text-dim);
  margin-left: 2px;
  flex-shrink: 0;
}

.savings-svg-wrap {
  width: 28px;
  height: 28px;
  background: rgba(234, 88, 12, 0.2);
  color: #fb923c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lock-svg {
  display: inline-block;
  vertical-align: -2px;
  margin-right: 4px;
}

.btn-black-pill {
  background: #ffffff;
  color: #100e0b;
  text-decoration: none;
  font-size: clamp(0.78rem, 1.8vw, 0.88rem);
  font-weight: 800;
  padding: 0.55rem clamp(0.85rem, 2vw, 1.35rem);
  border-radius: var(--radius-full);
  transition: background-color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}

.btn-black-pill:hover {
  background: var(--ria-orange);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-text-short {
  display: none;
}

.btn-text-full {
  display: inline;
}

/* Hero Section (2 Columns: Copy on Left, Calculator on Right) */
.hero-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 1rem auto 3rem auto;
  padding: 0 clamp(1rem, 3.5vw, 1.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.98fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: flex-start;
}

/* Left Column: Copy & Social Proof */
.hero-copy-col {
  min-width: 0;
}

.rating-badges-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #161311;
  border: 1.5px solid #27221d;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: #f8fafc;
}

.rating-pill-success {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
}

.hero-main-title {
  font-size: clamp(2.2rem, 4.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 1.1rem;
  overflow-wrap: break-word;
}

.hero-main-desc {
  font-size: clamp(0.92rem, 1.7vw, 1.02rem);
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.35rem;
  max-width: 540px;
}

.hero-main-desc strong {
  color: var(--text-main);
}

/* Live Comparison Matrix (Product Performs Engine) */
.hero-live-matrix {
  background: #161311;
  border: 1.5px solid #27221d;
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  margin-bottom: 1.35rem;
  transition: border-color 0.15s ease;
}

.hero-live-matrix:hover {
  border-color: #3d352e;
}

.matrix-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.85rem;
  border-bottom: 1.5px solid #27221d;
}

.matrix-header-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.matrix-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}

.matrix-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: #f8fafc;
  background: #1f1a16;
  border: 1.5px solid #2e2720;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  font-feature-settings: "tnum" 1;
}

.matrix-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.matrix-col {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.matrix-col-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 600;
}

.matrix-amount {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: #ffffff;
  font-feature-settings: "tnum" 1;
  line-height: 1.1;
}

.matrix-amount.highlight-gain {
  color: #34d399;
}

.matrix-detail {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.matrix-divider-arrow {
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.matrix-footer {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-xs);
  padding: 0.55rem 0.85rem;
}

.matrix-gain-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: #34d399;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(16, 185, 129, 0.25);
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  white-space: nowrap;
}

.matrix-gain-text {
  font-size: 0.82rem;
  color: #a7f3d0;
  line-height: 1.35;
}

.matrix-gain-text strong {
  color: #34d399;
  font-weight: 800;
}

/* Micro Guarantees Row */
.hero-trust-pills-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-mini-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #161311;
  border: 1.5px solid #27221d;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-mini-pill.highlight-pill {
  border-color: rgba(234, 88, 12, 0.35);
  background: rgba(234, 88, 12, 0.14);
  color: #fb923c;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: var(--ria-orange);
  color: #ffffff;
  text-decoration: none;
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  font-weight: 700;
  padding: 0.95rem clamp(1.35rem, 3vw, 2.25rem);
  border-radius: var(--radius-full);
  transition: background-color 0.15s ease, transform 0.15s ease;
  max-width: 100%;
}

.hero-cta-btn:hover {
  background: var(--ria-orange-hover);
  transform: translateY(-2px);
}

/* Right Column: Floating Calculator */
.hero-calc-col {
  position: relative;
  width: 100%;
  min-width: 0;
}

.ria-calc-card {
  background: #161311;
  border-radius: clamp(16px, 3vw, 22px);
  border: 1.5px solid #27221d;
  padding: clamp(1.15rem, 3vw, 1.75rem) clamp(1rem, 3.5vw, 1.85rem);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

/* Promo Banner Top of Card */
.calc-promo-banner {
  background: rgba(16, 185, 129, 0.12);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  min-width: 0;
}

.promo-tag-icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.promo-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.promo-title {
  font-size: 0.74rem;
  font-weight: 800;
  color: #34d399;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.promo-rate {
  font-family: var(--font-sans);
  font-feature-settings: "tnum" 1;
  font-size: clamp(0.8rem, 2.2vw, 0.92rem);
  font-weight: 700;
  color: #34d399;
  overflow-wrap: anywhere;
}

.promo-rate s {
  color: #94a3b8;
  font-weight: 600;
  margin-right: 0.25rem;
}

.promo-disclaimer {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  line-height: 1.35;
  color: #94a3b8;
}

.promo-disclaimer.is-stale {
  color: #fbbf24;
  font-weight: 700;
}

/* Input Fields (Envías & Reciben) */
.calc-currency-row {
  background: #1f1a16;
  border: 1.5px solid #27221d;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  margin-bottom: 0.85rem;
  transition: border-color 0.2s, background-color 0.2s;
  min-width: 0;
}

.calc-currency-row:focus-within {
  border-color: #ea580c;
  background: #231d18;
  outline: 2px solid #ea580c;
}

.row-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.row-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  min-width: 0;
}

.currency-selector-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #161311;
  border: 1.5px solid #332a22;
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.88rem;
  color: #ffffff;
  flex-shrink: 0;
}

.currency-flag {
  font-size: 1.15rem;
  line-height: 1;
}

.amount-input-control {
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-sans);
  font-feature-settings: "tnum" 1;
  font-size: clamp(1.4rem, 5vw, 1.85rem);
  font-weight: 700;
  color: #ffffff;
  text-align: right;
  width: 100%;
  min-width: 0;
}

/* Quick Chips */
.quick-chips-row {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.ria-chip {
  background: #1f1a16;
  border: 1.5px solid #27221d;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-feature-settings: "tnum" 1;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  flex: 1 1 auto;
  text-align: center;
  min-height: 34px;
}

.ria-chip:hover {
  background: #27221d;
  color: #ffffff;
  border-color: #ea580c;
}

.ria-chip.active {
  background: #ea580c;
  color: #ffffff;
  border-color: #ea580c;
}

/* Bank Selection Route */
.bank-route-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1f1a16;
  border: 1.5px solid #27221d;
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.8rem;
  font-size: 0.78rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  gap: 0.35rem;
  flex-wrap: wrap;
  min-width: 0;
}

.bank-route-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  min-width: 0;
  flex: 1 1 120px;
}

.bank-route-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-dim);
  flex-shrink: 0;
}

.bank-select {
  background: transparent;
  border: none;
  font-weight: 800;
  font-family: inherit;
  color: #ffffff;
  outline: none;
  cursor: pointer;
  font-size: 0.78rem;
  width: 100%;
  min-width: 0;
  text-overflow: ellipsis;
}

.bank-select option {
  background: #161311;
  color: #ffffff;
}

.bank-route-sep {
  color: #ea580c;
  font-weight: bold;
  padding: 0 0.15rem;
  flex-shrink: 0;
}

/* Output display */
#receiveAmountOutput {
  font-family: var(--font-sans);
  font-feature-settings: "tnum" 1;
  font-size: clamp(1.4rem, 5vw, 1.85rem);
  font-weight: 700;
  color: #34d399;
  text-align: right;
  width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Savings Box inside card */
.calc-savings-box {
  background: rgba(234, 88, 12, 0.12);
  border: 1.5px solid rgba(234, 88, 12, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.95rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.savings-svg-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  color: #fb923c;
}

.savings-copy {
  font-size: 0.84rem;
  color: #fed7aa;
  line-height: 1.4;
  overflow-wrap: break-word;
}

.savings-copy strong {
  color: #fb923c;
  font-weight: 700;
}

/* Card CTA Button */
.calc-primary-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  background: var(--ria-orange);
  color: #ffffff;
  text-decoration: none;
  font-size: clamp(0.95rem, 2.5vw, 1.08rem);
  font-weight: 700;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-full);
  transition: transform 0.15s ease, background-color 0.15s ease;
  text-align: center;
  min-height: 48px;
}

.calc-primary-btn:hover {
  background: var(--ria-orange-hover);
  transform: translateY(-2px);
}

.calc-guarantee-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.65rem;
  line-height: 1.35;
}

.calc-guarantee-note strong {
  color: #34d399;
}

/* Partner Banks Section & Infinite Carousels */
.partner-banks-strip {
  width: 100%;
  max-width: 1240px;
  margin: 3rem auto 4.5rem auto;
  padding: 0 clamp(1rem, 3.5vw, 1.5rem);
  text-align: center;
  position: relative;
  z-index: 2;
}

.partner-heading {
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-align: center;
}

.partner-sub {
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2.25rem auto;
  text-align: center;
  line-height: 1.5;
}

/* Performing Banks Carousel Card */
.banks-carousel-card {
  background: #161311;
  border: 1.5px solid #27221d;
  border-radius: var(--radius-md);
  padding: 1.35rem 0 1.5rem 0;
  text-align: left;
  overflow: hidden;
  position: relative;
}

.banks-group-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  padding: 0 clamp(1rem, 3vw, 1.75rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.banks-group-title .svg-flag {
  border-radius: 2px;
}

/* Infinite Marquee Wrapper with soft edge fades */
.marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0.4rem 0;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%); /* taste-skill-ignore */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%); /* taste-skill-ignore */
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

/* Continuous moving track */
.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 0.85rem;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

/* Chile carousel: scrolls smoothly to the left */
.marquee-chile {
  animation: marqueeLeft 32s linear infinite;
}

/* Bolivia carousel: scrolls smoothly to the right (opposite flow for visual contrast) */
.marquee-bolivia {
  animation: marqueeRight 38s linear infinite;
}

@keyframes marqueeLeft {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes marqueeRight {
  0% {
    transform: translate3d(-50%, 0, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

/* Bank Logo Badge Item */
.partner-logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, border-color 0.15s ease;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1.5px solid #3d352e;
  flex-shrink: 0;
  height: 52px;
  min-width: 110px;
  user-select: none;
  cursor: pointer;
}

.partner-logo-item:hover {
  border-color: #ea580c;
  transform: translateY(-1px);
  background: #ffffff;
}

.bank-logo-img {
  height: clamp(24px, 3vw, 30px);
  width: auto;
  max-width: 110px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.partner-svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.partner-svg-rut {
  color: #dc2626;
}

.partner-svg-union {
  color: #0284c7;
}

.partner-svg-bcp {
  color: #ea580c;
}

.partner-svg-bnb {
  color: #059669;
}

.partner-svg-sol {
  color: #d97706;
}

.partner-svg-qr {
  color: #ea580c;
}

.partner-logo-icon {
  font-size: 1.25rem;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: #161311;
  border: 1.5px solid #27221d;
  border-radius: var(--radius-md);
  transition: border-color 0.15s ease;
  overflow: hidden;
}

.faq-item[open] {
  border-color: #3d352e;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  font-size: 1.2rem;
  color: #ea580c;
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.35rem 1.25rem 1.35rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-answer strong {
  color: #ffffff;
}

/* Below-the-fold Content Sections */
.info-section {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 4.5rem auto;
  padding: 0 clamp(1rem, 3.5vw, 1.5rem);
}

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-head h3 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 0.45rem;
}

.section-head p {
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  color: var(--text-muted);
}

/* Product Performs: Interface Fragments Grid */
.fragments-performing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ui-performing-card {
  background: #161311;
  border: 1.5px solid #27221d;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.ui-performing-card:hover {
  border-color: #3d352e;
  transform: translateY(-2px);
}

.ui-frag-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
  border-bottom: 1.5px solid #231d18;
}

.ui-frag-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ui-frag-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

.status-verified {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1.5px solid rgba(16, 185, 129, 0.35);
}

.status-escrow {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1.5px solid rgba(59, 130, 246, 0.35);
}

.status-credited {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1.5px solid rgba(16, 185, 129, 0.35);
}

.ui-frag-receipt-body {
  background: #1f1a16;
  border: 1.5px solid #27221d;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ui-receipt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.82rem;
}

.ui-receipt-k {
  color: var(--text-dim);
  font-weight: 500;
}

.ui-receipt-v {
  color: #ffffff;
  font-weight: 600;
  text-align: right;
  font-feature-settings: "tnum" 1;
}

.font-bold {
  font-weight: 700;
}

.highlight-safe {
  color: #34d399;
  font-weight: 700;
}

.highlight-rate {
  color: #fb923c;
  font-weight: 700;
}

.highlight-amount {
  color: #34d399;
  font-size: 0.95rem;
  font-weight: 800;
}

.ui-frag-caption h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
  line-height: 1.25;
}

.ui-frag-caption p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Guarantee Performing Panel */
.guarantee-performing-panel {
  background: #161311;
  border: 1.5px solid #27221d;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.5rem);
  text-align: center;
}

.guarantee-shield-wrap {
  width: 60px;
  height: 60px;
  background: rgba(16, 185, 129, 0.12);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.guarantee-panel-title {
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.guarantee-panel-desc {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 1.75rem auto;
  line-height: 1.6;
}

.guarantee-performing-panel .hero-cta-btn {
  background: #ffffff;
  color: #100e0b;
  font-weight: 800;
}

.guarantee-performing-panel .hero-cta-btn:hover {
  background: var(--ria-orange);
  color: #ffffff;
}

/* Footer */
.ria-footer {
  position: relative;
  z-index: 2;
  background: #12100d;
  border-top: 1.5px solid #231d18;
  padding: 3rem 1rem 2.5rem 1rem;
  text-align: center;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
}

.footer-brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-top: 1.5rem;
}

.footer-disclaimer {
  max-width: 680px;
  margin: 0 auto 0.75rem auto;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #94a3b8;
}

/* Sticky Mobile Bar (Real overlay) */
.sticky-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(22, 19, 17, 0.95);
  border-top: 1.5px solid #27221d;
  padding: 0.75rem clamp(1.15rem, 4vw, 1.5rem);
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  z-index: 99;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.35); /* taste-skill-ignore */
}

.sticky-metric {
  display: flex;
  flex-direction: column;
}

.sticky-sub {
  font-size: 0.8125rem;
  color: var(--text-dim);
  font-weight: 600;
}

.sticky-val {
  font-feature-settings: "tnum" 1;
  font-size: 1.2rem;
  font-weight: 800;
  color: #34d399;
  line-height: 1.1;
}

.sticky-btn {
  background: var(--ria-orange);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 800;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

.sticky-btn:hover {
  background: var(--ria-orange-hover);
}

/* ========================================================
   RESPONSIVE BREAKPOINTS (Tablets, Mobiles, Small Phones)
======================================================== */

/* Tablet & Smaller Desktops (<= 960px) */
@media (max-width: 960px) {
  .ria-header {
    padding: 0.85rem clamp(1.25rem, 3.5vw, 1.75rem);
    gap: 0.75rem;
  }
  .header-actions {
    gap: 0.5rem;
  }
  .header-rate-pill {
    padding: 0.4rem 0.65rem;
    font-size: 0.78rem;
  }
  .btn-alumnos-login {
    padding: 0.4rem 0.65rem;
    font-size: 0.78rem;
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  .hero-copy-col {
    display: contents;
  }
  .hero-main-title {
    order: 1;
    text-align: center;
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
  }
  .hero-main-desc {
    order: 2;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.25rem;
    max-width: 480px;
  }
  .hero-calc-col {
    order: 3;
    width: 100%;
    margin-bottom: 1.35rem;
  }
  .hero-live-matrix {
    order: 4;
    margin-bottom: 1.25rem;
  }
  .features-check-list,
  .hero-mini-pills,
  .hero-trust-pills-row {
    order: 5;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.25rem;
    justify-content: center;
  }
  .check-item {
    text-align: left;
    justify-content: flex-start;
  }
  .hero-cta-btn {
    order: 6;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 380px;
  }
  .header-nav {
    display: none;
  }
  .fragments-performing-grid {
    grid-template-columns: 1fr;
  }
  .sticky-mobile-bar {
    display: flex;
  }
  body {
    padding-bottom: 120px;
  }
}

@media (max-width: 860px) {
  .btn-text-full {
    display: none;
  }
  .btn-text-short {
    display: inline;
  }
}

/* Standard Mobile Screens (<= 640px) */
@media (max-width: 640px) {
  .ria-header {
    padding: 0.75rem 1rem;
    gap: 0.5rem;
  }
  .brand-area {
    gap: 0.5rem;
  }
  .brand-badge {
    width: 36px;
    height: 36px;
  }
  .brand-subtitle {
    display: none;
  }
  .brand-title {
    font-size: 0.95rem;
  }
  .header-rate-pill {
    padding: 0.35rem 0.65rem;
    font-size: 0.76rem;
  }
  .btn-text-full {
    display: none;
  }
  .btn-text-short {
    display: inline;
  }
  .btn-alumnos-login {
    padding: 0.4rem 0.65rem;
    font-size: 0.76rem;
  }
  .btn-black-pill {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
  }
  .marquee-track {
    gap: 0.65rem;
  }
  .partner-logo-item {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 0.45rem 0.85rem;
    height: 44px;
    min-width: 90px;
    flex-shrink: 0;
  }
  .bank-logo-img {
    height: 22px;
    max-width: 85px;
  }
}

/* Compact Small Mobile Screens (<= 440px) */
@media (max-width: 440px) {
  .header-rate-pill {
    display: none;
  }
  .btn-alumnos-login span {
    display: none;
  }
  .btn-alumnos-login {
    padding: 0.42rem 0.55rem;
  }
}

/* Compact Small Mobile Screens (<= 380px: iPhone SE, etc.) */
@media (max-width: 380px) {
  .ria-header {
    padding: 0.65rem 0.75rem;
    gap: 0.35rem;
  }
  .brand-area {
    gap: 0.45rem;
  }
  .brand-badge {
    width: 32px;
    height: 32px;
  }
  .brand-title {
    font-size: 0.85rem;
  }
  .btn-black-pill {
    padding: 0.4rem 0.7rem;
    font-size: 0.74rem;
  }
  .hero-wrapper {
    padding: 0 0.75rem;
  }
  .ria-calc-card {
    padding: 1rem 0.85rem;
    border-radius: 16px;
  }
  .calc-currency-row {
    padding: 0.65rem 0.75rem;
  }
  .bank-route-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  .bank-route-sep {
    display: none;
  }
  .bank-route-item {
    width: 100%;
  }
  .sticky-mobile-bar {
    padding: 0.55rem 0.75rem;
  }
  .sticky-val {
    font-size: 1.05rem;
  }
  .sticky-btn {
    padding: 0.5rem 0.85rem;
    font-size: 0.78rem;
  }
}

/* ========================================================
   Mejoras de Conversión, Modo Bidireccional y Comerciantes P2P
   ======================================================== */

/* Promo Rate Header & Live Sync Tag */
.promo-rate-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}

.live-sync-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  color: #047857;
  background: rgba(16, 185, 129, 0.16);
  border: 1.5px solid rgba(5, 150, 105, 0.25);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.live-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
}

.live-pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid #10b981;
  animation: livePulseAnim 1.8s infinite ease-out;
}

@keyframes livePulseAnim {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Mode Switcher Tabs */
.calc-mode-switch-wrap {
  display: flex;
  background: #1f1a16;
  border: 1.5px solid #27221d;
  padding: 4px;
  border-radius: var(--radius-sm);
  gap: 4px;
  margin-bottom: 0.95rem;
}

.calc-mode-btn {
  flex: 1 1 50%;
  padding: 0.55rem 0.65rem;
  border: 1.5px solid transparent;
  background: transparent;
  border-radius: var(--radius-xs);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dim);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.calc-mode-btn:hover {
  color: #ffffff;
}

.calc-mode-btn.active {
  background: #161311;
  color: #ea580c;
  border: 1.5px solid #332a22;
}

.mode-btn-flag {
  font-size: 0.85rem;
  line-height: 1;
}

/* Row Active Driver Highlight */
.row-active-driver {
  border-color: #ea580c !important;
  background: rgba(234, 88, 12, 0.12) !important;
  outline: 2px solid #ea580c !important;
}

.amount-highlight {
  color: #34d399 !important;
}

/* Live Verified P2P Merchants Card */
.merchants-live-card {
  background: #161311;
  border-radius: clamp(14px, 2.5vw, 20px);
  border: 1.5px solid #27221d;
  padding: clamp(1rem, 2.5vw, 1.35rem);
  margin-top: 1.15rem;
}

.merchants-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  flex-wrap: wrap;
}

.merchants-header-left {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.merchants-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.merchants-source-pill {
  font-size: 0.68rem;
  font-weight: 700;
  color: #fb923c;
  background: rgba(234, 88, 12, 0.15);
  border: 1.5px solid rgba(234, 88, 12, 0.35);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
}

.merchants-intro {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.merchants-scroll-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 230px;
  overflow-y: auto;
  padding-right: 2px;
}

.merchants-scroll-list::-webkit-scrollbar {
  width: 4px;
}

.merchants-scroll-list::-webkit-scrollbar-thumb {
  background: #332a22;
  border-radius: 4px;
}

.merchant-badge-card {
  background: #1f1a16;
  border: 1.5px solid #27221d;
  border-radius: var(--radius-xs);
  padding: 0.55rem 0.75rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.merchant-badge-card:hover {
  background: #231d18;
  border-color: #3d352e;
  transform: translateY(-1px);
}

.merchant-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.merchant-name-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.82rem;
  color: #ffffff;
  min-width: 0;
}

.merchant-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.merchant-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ria-orange);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.verified-svg {
  flex-shrink: 0;
}

.merchant-price-tag {
  font-family: var(--font-sans);
  font-feature-settings: "tnum" 1;
  font-size: 0.82rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  padding: 0.12rem 0.45rem;
  border-radius: var(--radius-xs);
  white-space: nowrap;
  flex-shrink: 0;
}

.merchant-card-stats {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
}

.merchant-stat strong {
  color: var(--text-main);
  font-weight: 700;
}

.stat-success strong {
  color: #34d399;
}

.stat-sep {
  color: #332a22;
}

.merchant-methods-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.method-tag {
  font-size: 0.66rem;
  font-weight: 600;
  background: #27221d;
  color: #cbd5e1;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

.merchants-footer-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  font-size: 0.71rem;
  color: #34d399;
  font-weight: 600;
  line-height: 1.35;
}

.merchant-skeleton {
  font-size: 0.76rem;
  color: var(--text-dim);
  text-align: center;
  padding: 1.5rem 0;
}

/* Accessibility & Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation-play-state: paused !important;
  }
  .live-pulse-dot::after {
    animation: none !important;
  }
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

/* ========================================================
   Dark Authority Trust Metrics Bar (Inspirado en Fintech Enterprise)
   ======================================================== */
.trust-metrics-section {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0.5rem auto 3.5rem auto;
  padding: 0 clamp(1rem, 3.5vw, 1.5rem);
}

.trust-metrics-card {
  background: #161311;
  border: 1.5px solid #27221d;
  border-radius: clamp(14px, 2.5vw, 20px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
  position: relative;
}

.metric-col {
  padding: clamp(1.2rem, 2.2vw, 1.85rem) clamp(0.85rem, 1.8vw, 1.4rem);
  border-right: 1.5px solid #27221d;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background-color 0.15s ease;
  position: relative;
}

.metric-col:last-child {
  border-right: none;
}

.metric-col:hover {
  background: rgba(255, 255, 255, 0.03);
}

.metric-label {
  font-family: var(--font-sans);
  font-size: clamp(0.72rem, 1.3vw, 0.8rem);
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
  display: block;
}

.metric-number {
  font-family: var(--font-sans);
  font-feature-settings: "tnum" 1;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
  display: block;
}

.metric-sub {
  font-size: clamp(0.76rem, 1.5vw, 0.85rem);
  color: #cbd5e1;
  font-weight: 500;
  line-height: 1.35;
  display: block;
}

.metric-sub.highlight-positive {
  color: #34d399;
  font-weight: 600;
}

/* Responsive para Tablets y Móviles */
@media (max-width: 1080px) {
  .trust-metrics-card {
    grid-template-columns: repeat(3, 1fr);
  }
  .metric-col {
    border-right: 1.5px solid #27221d;
    border-bottom: 1.5px solid #27221d;
  }
  .metric-col:nth-child(3n),
  .metric-col:last-child {
    border-right: none;
  }
}

@media (max-width: 720px) {
  .trust-metrics-card {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric-col {
    border-right: 1.5px solid #27221d !important;
    border-bottom: 1.5px solid #27221d !important;
  }
  .metric-col:nth-child(2n) {
    border-right: none !important;
  }
  .metric-col:last-child {
    grid-column: span 2;
    border-right: none !important;
    border-bottom: none !important;
  }
}

@media (max-width: 480px) {
  .trust-metrics-section {
    margin-bottom: 2.5rem;
  }
  .trust-metrics-card {
    grid-template-columns: 1fr;
  }
  .metric-col {
    border-right: none !important;
    border-bottom: 1.5px solid #1e293b !important;
    padding: 1.15rem 1.25rem;
    grid-column: auto !important;
  }
  .metric-col:last-child {
    border-bottom: none !important;
  }
}

/* ========================================================
   Taste-Skill 5 Propuestas: Botones, Drawer & Modal Interactivo
   ======================================================== */
.btn-taste-proposals {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  color: var(--text-main);
  padding: 0.48rem 0.95rem;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}

.btn-taste-proposals:hover {
  background: #f8fafc;
  border-color: #ea580c;
}

.taste-sparkle-icon {
  font-size: 1rem;
  line-height: 1;
}

/* Floating Dock Quick Button (Real overlay dock) */
.floating-taste-dock {
  position: fixed;
  bottom: 85px;
  right: 20px;
  z-index: 990;
  background: #0f172a;
  color: #ffffff;
  border: 1.5px solid #334155;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25); /* taste-skill-ignore */
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.floating-taste-dock:hover {
  transform: translateY(-2px);
  border-color: #ea580c;
}

.taste-dock-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.taste-dock-text {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.taste-dock-pill {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  background: #ea580c;
  color: #ffffff;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .floating-taste-dock {
    bottom: 78px;
    right: 12px;
    padding: 0.55rem 0.85rem;
  }
  .taste-dock-text {
    display: none;
  }
}

/* Modal Overlay & Card (Real overlay dialog) */
.proposals-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.82);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 2vw, 1.5rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.proposals-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.proposals-modal-card {
  background: #ffffff;
  border-radius: clamp(16px, 2.5vw, 24px);
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.45); /* taste-skill-ignore */
  overflow: hidden;
  border: 1.5px solid #e2e8f0;
  transform: scale(0.96) translateY(12px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.proposals-modal-overlay.open .proposals-modal-card {
  transform: scale(1) translateY(0);
}

.proposals-modal-header {
  padding: 1.25rem 1.75rem 1rem 1.75rem;
  border-bottom: 1.5px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: #ffffff;
  gap: 1rem;
}

.modal-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  color: #ea580c;
  background: #fff7ed;
  border: 1.5px solid #fed7aa;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modal-badge-tag .sparkle-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ea580c;
}

.modal-header-info h2 {
  font-size: clamp(1.2rem, 2.3vw, 1.6rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}

.modal-header-sub {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.4;
}

.modal-close-btn {
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Tabs Navigation Bar */
.proposals-tabs-nav {
  display: flex;
  background: #f8fafc;
  border-bottom: 1.5px solid #e2e8f0;
  overflow-x: auto;
  padding: 0.5rem 1rem;
  gap: 0.45rem;
  scrollbar-width: thin;
}

.proposal-tab-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.95rem;
  border: 1.5px solid transparent;
  background: transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
  text-align: left;
  white-space: nowrap;
  flex-shrink: 0;
}

.proposal-tab-item:hover {
  background: #ffffff;
  border-color: #cbd5e1;
}

.proposal-tab-item.active {
  background: #ffffff;
  border-color: #ea580c;
}

.tab-badge {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  background: #e2e8f0;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.proposal-tab-item.active .tab-badge {
  background: #ea580c;
  color: #ffffff;
}

.tab-badge-active {
  background: #059669 !important;
  color: #ffffff !important;
}

.tab-text-wrap {
  display: flex;
  flex-direction: column;
}

.tab-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #0f172a;
}

.tab-archetype {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  color: #64748b;
}

.proposal-tab-item.active .tab-title {
  color: #ea580c;
}

/* Detail Body */
.proposal-detail-body {
  padding: 1.5rem 1.75rem;
  overflow-y: auto;
  flex: 1;
}

.detail-lead-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}

.detail-pill-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
  flex-wrap: wrap;
}

.archetype-pill {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  background: #0f172a;
  color: #ffffff;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.concept-pill {
  font-size: 0.74rem;
  font-weight: 700;
  color: #047857;
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.detail-quote {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.45;
  margin-bottom: 0.5rem;
}

.detail-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.55;
}

/* Specs Grid */
.proposal-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin-bottom: 1.25rem;
}

.spec-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
}

.spec-card-title {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Palette Swatches */
.palette-swatches-row {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.swatch-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1 1 70px;
}

.swatch-box {
  height: 38px;
  border-radius: 8px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-feature-settings: "tnum" 1;
  font-size: 0.68rem;
  font-weight: 700;
}

.swatch-name {
  font-size: 0.7rem;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Wireframe Box (Literal preformatted diagram) */
.wireframe-box {
  background: #090d16;
  color: #94a3b8;
  font-family: monospace; /* taste-skill-ignore */
  font-size: 0.74rem;
  padding: 0.95rem;
  border-radius: var(--radius-sm);
  line-height: 1.45;
  overflow-x: auto;
  white-space: pre;
  border: 1.5px solid #1e293b;
}

/* Spec list */
.spec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.spec-list li {
  font-size: 0.82rem;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  line-height: 1.4;
}

.spec-list li::before {
  content: '\2022';
  color: #059669;
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
}

/* Modal Footer */
.proposals-modal-footer {
  padding: 1rem 1.75rem;
  border-top: 1.5px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  gap: 1rem;
  flex-wrap: wrap;
}

.modal-footer-hint {
  font-size: 0.8rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-choose-proposal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #0f172a;
  color: #ffffff;
  border: none;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.btn-choose-proposal:hover {
  background: #ea580c;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .proposal-specs-grid {
    grid-template-columns: 1fr;
  }
  .proposals-modal-card {
    max-height: 95vh;
  }
  .proposals-modal-header,
  .proposal-detail-body,
  .proposals-modal-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ========================================================
   MODAL DE ACCESO A ALUMNOS (NEROTRADE)
======================================================== */

.login-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 14, 11, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.login-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.login-modal-card {
  width: 100%;
  max-width: 460px;
  background: #161311;
  border: 1.5px solid #27221d;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transform: translateY(12px);
  transition: transform 0.2s ease;
}

.login-modal-overlay.open .login-modal-card {
  transform: translateY(0);
}

.login-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: #1f1a16;
  border-bottom: 1.5px solid #27221d;
}

.login-brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.04em;
}

.login-close-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  border-radius: 4px;
  transition: color 0.15s ease;
}

.login-close-btn:hover {
  color: #ffffff;
}

.login-modal-body {
  padding: 2rem 1.75rem 1.5rem 1.75rem;
  text-align: center;
}

.login-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: rgba(234, 88, 12, 0.15);
  border: 1.5px solid rgba(234, 88, 12, 0.35);
  color: #ea580c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.login-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.login-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.login-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #cbd5e1;
}

.form-input {
  width: 100%;
  padding: 0.75rem 0.95rem;
  background: #1f1a16;
  border: 1.5px solid #332a22;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.92rem;
  color: #ffffff;
  transition: border-color 0.15s ease;
}

.form-input:focus {
  outline: none;
  border-color: #ea580c;
}

.btn-login-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #ffffff;
  color: #100e0b;
  border: none;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
  margin-top: 0.25rem;
}

.btn-login-submit:hover {
  background: #ea580c;
  color: #ffffff;
}

.btn-direct-terminal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: none;
  text-align: center;
  padding: 0.35rem 0;
  transition: color 0.15s ease;
}

.btn-direct-terminal:hover {
  color: #ffffff;
}

.login-feedback {
  background: rgba(16, 185, 129, 0.15);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  color: #34d399;
}

.login-modal-footer {
  background: #1f1a16;
  border-top: 1.5px solid #27221d;
  padding: 1.15rem 1.75rem;
  text-align: center;
}

.login-footer-copy {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.login-footer-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: #ea580c;
  text-decoration: none;
  display: inline-block;
  transition: color 0.15s ease;
}

.login-footer-link:hover {
  color: #c2410c;
}

/* ========================================================
   ACCESIBILIDAD: skip link, foco visible, legibilidad, nav móvil
   (bloque final: sobrescribe reglas anteriores)
======================================================== */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  padding: 0.85rem 1.25rem;
  background: var(--ria-orange);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid #fb923c;
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #fb923c;
  outline-offset: 3px;
  border-radius: 4px;
}

/* Piso tipográfico para etiquetas y metadatos (>= 12.8px) */
.method-tag,
.live-sync-tag,
.merchants-source-pill,
.merchant-avatar,
.merchants-footer-note,
.matrix-gain-badge,
.promo-disclaimer,
.row-top,
.ui-frag-tag,
.ui-frag-status,
.merchant-card-stats,
.promo-title,
.bank-route-label,
.matrix-col-label,
.matrix-detail,
.calc-guarantee-note,
.login-brand-tag,
.header-rate-pill,
.btn-alumnos-login,
.merchant-skeleton,
.brand-subtitle,
.matrix-header-title,
.matrix-tag,
.bank-select,
.footer-disclaimer,
.btn-direct-terminal,
.sticky-btn,
.modal-footer-hint,
.login-footer-copy {
  font-size: 0.8rem;
}

/* Texto de lectura: mínimo 14.4px y mejor interlineado */
.savings-copy,
.faq-answer,
.faq-answer p,
.merchants-intro,
.footer-desc,
.login-sub,
.matrix-detail,
.bank-route-strip,
.metric-sub,
.hero-main-desc {
  font-size: 0.9rem;
  line-height: 1.55;
}

.faq-answer p {
  font-size: 0.95rem;
}

/* Contraste del texto secundario sobre fondos oscuros */
.footer-copy,
.footer-desc,
.footer-disclaimer,
.metric-sub,
.merchant-skeleton {
  color: #a8b6c7;
}

/* Nav móvil con botón hamburguesa */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 38px;
  padding: 0 10px;
  background: #161311;
  border: 1.5px solid #2e2720;
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: #e2e8f0;
  border-radius: 2px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 960px) {
  .ria-header {
    position: relative;
    flex-wrap: nowrap;
  }

  .nav-toggle {
    display: inline-flex;
    order: 2;
  }

  .header-actions {
    order: 3;
    margin-left: auto;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: calc(100% - 0.35rem);
    left: 0.75rem;
    right: 0.75rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.5rem;
    background: #161311;
    border: 1.5px solid #2e2720;
    border-radius: 14px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
    z-index: 80;
  }

  .header-nav.is-open {
    display: flex;
  }

  .header-nav .nav-link {
    padding: 0.8rem 0.9rem;
    font-size: 0.95rem;
    border-radius: 8px;
  }

  .header-nav .nav-link:hover,
  .header-nav .nav-link:focus-visible {
    background: rgba(234, 88, 12, 0.14);
  }

  body {
    padding-bottom: calc(120px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  .nav-toggle {
    width: 36px;
    height: 34px;
    padding: 0 8px;
  }
}

/* Respeta la preferencia de menos movimiento */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .marquee-track {
    animation: none !important;
  }
}

/* Ajustes m?viles del banner de cotizaci?n */
@media (max-width: 640px) {
  .promo-rate-header {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .promo-title {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.3;
  }
}

/* Acceso a alumnos dentro del men? m?vil */
.nav-login-link {
  display: none;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-top: 1px solid #2e2720;
  margin-top: 0.3rem;
  padding-top: 0.75rem;
  cursor: pointer;
  font-family: inherit;
}

@media (max-width: 960px) {
  .nav-login-link {
    display: block;
  }
}

/* Header compacto en pantallas peque?as */
@media (max-width: 480px) {
  .header-actions .btn-alumnos-login {
    display: none;
  }
}

@media (max-width: 380px) {
  .ria-header {
    padding: 0.6rem 0.65rem;
    gap: 0.35rem;
  }

  .brand-title {
    font-size: 0.84rem;
  }

  .brand-badge {
    width: 30px;
    height: 30px;
  }

  .btn-black-pill {
    padding: 0.4rem 0.65rem;
    font-size: 0.74rem;
  }

  .calc-mode-btn {
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.5rem 0.35rem;
    font-size: 0.76rem;
  }

  .mode-btn-flag {
    font-size: 0.78rem;
  }
}

/* Tasa oficial + P2P en el banner (sin tachado enga?oso) */
.promo-official {
  color: var(--text-dim);
  font-weight: 600;
}

.promo-sep {
  color: #64748b;
  margin: 0 0.35rem;
  font-weight: 700;
}

/* ========================================================
   CARRUSELES DE BANCOS DENTRO DEL HERO (pantallas anchas)
======================================================== */
@media (min-width: 1281px) {
  .hero-grid {
    grid-template-rows: auto 1fr;
    align-items: start;
  }

  .hero-copy-col {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-calc-col {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .hero-grid > .partner-banks-strip {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    max-width: none;
    width: 100%;
    overflow: hidden;
    margin: 1.75rem 0 0 0;
    padding: 0;
  }

  .hero-grid > .partner-banks-strip .partner-heading {
    font-size: 1.05rem;
    text-align: left;
    margin-bottom: 0.3rem;
  }

  .hero-grid > .partner-banks-strip .partner-sub {
    font-size: 0.85rem;
    text-align: left;
    margin: 0 0 1rem 0;
    max-width: none;
  }

  .hero-grid > .partner-banks-strip .banks-carousel-card {
    padding: 0.7rem 0 0.8rem 0;
  }

  .hero-grid > .partner-banks-strip .banks-group-title {
    padding-left: 0.9rem;
  }

  .hero-grid > .partner-banks-strip .partner-logo-item {
    height: 46px;
  }
}

@media (max-width: 1280px) {
  .hero-grid > .partner-banks-strip {
    grid-column: 1 / -1;
    min-width: 0;
  }
}

@media (max-width: 960px) {
  .hero-grid > .partner-banks-strip {
    order: 7;
  }
}

/* Cabecera de la comparativa en pantallas angostas */
.matrix-tag {
  white-space: nowrap;
}

@media (max-width: 480px) {
  .matrix-header {
    flex-wrap: wrap;
    row-gap: 0.5rem;
    align-items: flex-start;
  }

  .matrix-header-title {
    flex: 1 1 100%;
    min-width: 0;
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .matrix-tag {
    margin-left: auto;
    font-size: 0.72rem;
  }
}

/* Comparativa: apilar columnas en pantallas muy angostas */
@media (max-width: 360px) {
  .matrix-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    align-items: stretch;
  }

  .matrix-divider-arrow {
    display: none;
  }

  .matrix-col + .matrix-col {
    border-top: 1px dashed #2e2720;
    padding-top: 0.6rem;
  }

  .matrix-amount {
    font-size: 1.5rem;
  }

  .matrix-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
}

/* ========================================================
   OPINIONES DE CLIENTES
======================================================== */
.reviews-section {
  margin-bottom: 3rem;
}

.reviews-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  background: #161311;
  border: 1.5px solid #27221d;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}

.reviews-score {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.reviews-average {
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  font-feature-settings: "tnum" 1;
}

.reviews-count {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.stars {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

.stars-base,
.stars-fill {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 2px;
}

.stars-base {
  color: #3a332c;
}

.stars-fill {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  color: #fbbf24;
}

.star {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

.stars-average .star {
  width: 18px;
  height: 18px;
}

.reviews-distribution {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 180px;
}

.dist-row {
  display: grid;
  grid-template-columns: 34px 120px 22px;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.dist-bar {
  height: 6px;
  background: #27221d;
  border-radius: 999px;
  overflow: hidden;
}

.dist-bar > span {
  display: block;
  height: 100%;
  background: #fbbf24;
  border-radius: 999px;
}

.dist-count {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.reviews-summary-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.reviews-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--ria-orange);
  color: #ffffff;
  border: 0;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.reviews-cta-link:hover {
  background: var(--ria-orange-hover);
}

.reviews-summary-note {
  font-size: 0.7rem;
  color: var(--text-dim);
}

.reviews-demo-note {
  margin: 0 0 1rem;
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.08);
  color: #fcd34d;
  font-size: 0.78rem;
  line-height: 1.45;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: #161311;
  border: 1.5px solid #27221d;
  border-radius: var(--radius-md);
  padding: 1.1rem 1.15rem;
  text-align: left;
  min-width: 0;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.review-card:hover {
  border-color: #3d352e;
  transform: translateY(-2px);
}

.review-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: #1f1a16;
  border: 1.5px solid #2e2720;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fb923c;
  flex-shrink: 0;
}

.review-id {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.review-id strong {
  font-size: 0.88rem;
  color: #ffffff;
}

.review-id span {
  font-size: 0.7rem;
  color: var(--text-dim);
  overflow-wrap: anywhere;
}

.review-badge {
  margin-left: auto;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.review-stars {
  display: flex;
  gap: 2px;
  color: #fbbf24;
}

.review-stars .star {
  width: 15px;
  height: 15px;
}

.review-stars .is-empty {
  color: #3a332c;
}

.review-text {
  margin: 0;
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.review-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: var(--text-dim);
}

.review-example {
  color: #fcd34d;
  border: 1px solid rgba(251, 191, 36, 0.4);
  background: rgba(251, 191, 36, 0.08);
  border-radius: 4px;
  padding: 0.05rem 0.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

@media (max-width: 1000px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .reviews-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .reviews-distribution {
    width: 100%;
  }

  .dist-row {
    grid-template-columns: 34px 1fr 22px;
  }
}

/* ========================================================
   PRODUCTO / CAPTURAS DE LA TERMINAL
======================================================== */
.product-showcase {
  display: grid;
  grid-template-columns: 1.6fr 0.85fr;
  gap: 1rem;
  align-items: stretch;
}

.product-main {
  margin: 0;
  background: #161311;
  border: 1.5px solid #27221d;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-main img {
  width: 100%;
  height: 100%;
  flex: 1;
  min-height: 0;
  object-fit: contain;
  display: block;
}

.product-main figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1rem 1.15rem;
  text-align: left;
}

.product-main figcaption strong {
  font-size: 0.9rem;
  color: #ffffff;
}

.product-main figcaption span {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.product-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-phone {
  margin: 0;
  flex: 1;
  background: #1f1a16;
  border: 1.5px solid #27221d;
  border-radius: 18px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-phone img {
  height: 340px;
  width: auto;
  max-width: 100%;
  border-radius: 16px;
  display: block;
}

.product-points {
  background: #161311;
  border: 1.5px solid #27221d;
  border-radius: 18px;
  padding: 1.25rem 1.35rem;
  text-align: left;
}

.product-points h4 {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.product-points ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.product-points li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.product-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ria-orange);
}

.product-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fb923c;
  text-decoration: none;
}

.product-link:hover {
  color: #ffffff;
}

@media (max-width: 900px) {
  .product-showcase {
    grid-template-columns: 1fr;
  }

  .product-main img {
    height: auto;
    flex: none;
    object-fit: contain;
  }

  .product-phone {
    flex: none;
    padding: 1rem;
  }

  .product-phone img {
    height: auto;
    width: auto;
    max-height: 420px;
  }
}

/* Cabecera de los pasos: que el estado no se monte sobre el t?tulo */
.ui-frag-meta-bar {
  flex-wrap: wrap;
  row-gap: 0.35rem;
}

.ui-frag-tag {
  min-width: 0;
}

.ui-frag-status {
  white-space: nowrap;
}

/* Separador del paso (se conserva en el tema actual) */
.ui-frag-step::after {
  content: " · ";
}

/* ========================================================
   FORMULARIO DE OPINIONES
======================================================== */
.review-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.55);
}

.review-modal-overlay.open {
  display: flex;
}

.review-modal-card {
  position: relative;
  width: 100%;
  max-width: 540px;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  background: var(--bg-surface);
  border: 1.5px solid #2e2720;
  border-radius: 18px;
  padding: 1.5rem;
  text-align: left;
}

.review-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  background: none;
  border: 0;
  border-radius: 50%;
  color: var(--text-dim);
  cursor: pointer;
}

.review-close:hover {
  color: var(--text-main);
}

.review-modal-title {
  font-size: 1.3rem;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.review-modal-sub {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--text-dim);
  margin-bottom: 1.1rem;
  padding-right: 1.5rem;
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.review-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.review-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.review-input {
  width: 100%;
  background: var(--bg-subtle);
  border: 1.5px solid #2e2720;
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.9rem;
}

.review-input:focus {
  outline: none;
  border-color: var(--ria-orange);
}

textarea.review-input {
  resize: vertical;
  min-height: 96px;
}

.review-rating {
  border: 0;
  padding: 0;
  margin: 0;
}

.review-rating legend {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 0.3rem;
}

.stars-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.15rem;
}

.stars-input input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.stars-input label {
  font-size: 1.7rem;
  line-height: 1;
  color: #3a332c;
  cursor: pointer;
  transition: color 0.12s ease;
}

.stars-input input:checked ~ label,
.stars-input label:hover,
.stars-input label:hover ~ label {
  color: var(--ria-orange);
}

.stars-input input:focus-visible + label {
  outline: 2px solid var(--ria-orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.review-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.review-consent input {
  margin-top: 0.15rem;
  accent-color: var(--ria-orange);
}

.review-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.review-form-status {
  min-height: 1.2em;
  margin: 0;
  font-size: 0.8rem;
}

.review-form-status.is-error {
  color: #f87171;
}

.review-form-status.is-ok {
  color: #34d399;
}

.review-submit {
  background: var(--ria-orange);
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
}

.review-submit:hover {
  background: var(--ria-orange-hover);
}

.review-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

@media (max-width: 520px) {
  .review-row {
    grid-template-columns: 1fr;
  }

  .review-modal-card {
    padding: 1.25rem;
  }
}

/* El punto "en vivo" va a la derecha del t?tulo de comerciantes */
.merchants-header-left .live-pulse-dot {
  order: 2;
}

/* Enlace a la mesa p?blica desde la tarjeta de comerciantes */
.merchants-mesa-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ria-orange);
  text-decoration: none;
}

.merchants-mesa-link:hover {
  text-decoration: underline;
}
