/* ════════════════════════════════════════════════════════════════
   SECTIONS — KBPPAY Landing
   Contiene: section-shared, how-it-works, rates, why-kbppay,
             trust-regulation, comparison, faq, cta-final, footer
   ════════════════════════════════════════════════════════════════ */

/* ── Shared section utilities ─────────────────────────────────── */
.section {
  position: relative;
  padding: clamp(64px, 9vw, 120px) 0;
  overflow: hidden;
}
.section--white  { background: #FFFFFF; }
.section--soft   { background: #F7F8FC; }
.section--blue   { background: #EEF2FF; }
.section--navy   { background: var(--bg); }

.section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--brand-green);
  margin-bottom: 18px;
  padding: 6px 14px 6px 12px;
  background: rgba(82, 174, 50, 0.06);
  border: 1px solid rgba(82, 174, 50, 0.18);
  border-radius: 999px;
  position: relative;
}
.section__eyebrow .eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(82, 174, 50, 0.18);
  flex-shrink: 0;
  animation: dotBreathe 2.4s ease-in-out infinite;
}
@keyframes dotBreathe {
  0%, 100% { box-shadow: 0 0 0 3px rgba(82, 174, 50, 0.18); }
  50%      { box-shadow: 0 0 0 5px rgba(82, 174, 50, 0.10); }
}

/* Title accent · gradient text para énfasis */
.title-accent {
  background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.section__title {
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #0D1B2A;
  max-width: 18ch;
  margin-inline: auto;
}
.section__title--light { color: var(--text); max-width: 22ch; margin-inline: auto; }

.section__sub {
  font-size: clamp(15px, 1.3vw, 18px);
  color: #4A5568;
  line-height: 1.6;
  max-width: 52ch;
  margin-top: 12px;
}
.section__sub--light { color: var(--text-secondary); }

/* ── Scroll-reveal — CSS scroll-driven (2025, zero JS) ──────────
   animation-timeline: view() triggers as element enters viewport.
   Fallback: opacity:1 visible immediately (older browsers / Safari).
   ────────────────────────────────────────────────────────────── */
@keyframes revealUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  /* Fallback: always visible */
  opacity: 1;
  transform: none;
}

/* Progressive enhancement — only apply animation when supported */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: revealUp linear both;
      animation-timeline: view();
      animation-range: entry 5% entry 35%;
    }
    .reveal-delay-1 { animation-range: entry 5% entry 35%; }
    .reveal-delay-2 { animation-range: entry 10% entry 40%; }
    .reveal-delay-3 { animation-range: entry 15% entry 45%; }
    .reveal-delay-4 { animation-range: entry 20% entry 50%; }
    .reveal-delay-5 { animation-range: entry 25% entry 55%; }
  }
}

/* Legacy JS-observer fallback (kept for browsers without scroll-timeline) */
@supports not (animation-timeline: view()) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .55s cubic-bezier(.2,.7,.2,1), transform .55s cubic-bezier(.2,.7,.2,1);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-delay-1.is-visible { transition-delay: .08s; }
  .reveal-delay-2.is-visible { transition-delay: .18s; }
  .reveal-delay-3.is-visible { transition-delay: .28s; }
  .reveal-delay-4.is-visible { transition-delay: .38s; }
  .reveal-delay-5.is-visible { transition-delay: .48s; }
}


/* ════════════════════════════════════════════════════════════════
   §4 — CÓMO FUNCIONA
   ════════════════════════════════════════════════════════════════ */
.how {
  background: #FFFFFF;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
/* Atmósfera ambiente · radiales suaves verde/azul casi imperceptibles */
.how::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 20% 30%, rgba(82, 174, 50, 0.045) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 70%, rgba(50, 89, 253, 0.045) 0%, transparent 60%);
  pointer-events: none;
}
/* Grid sutil de fondo (tipo dot pattern · fintech tech-feel) */
.how::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(15, 27, 60, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: 0 0;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, #000 30%, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
}

.how__header {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.how__header .section__sub {
  margin: 12px auto 0;
}

/* Steps grid */
.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

/* Connector entre pasos · centrado con icono (icon=64px → top:32) */
.how__connector {
  position: absolute;
  top: 32px;
  left: calc(16.666% + 56px);
  right: calc(16.666% + 56px);
  height: 1px;
  pointer-events: none;
  z-index: 0;
}

/* Step card · sutil container con padding generoso */
.how__step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px clamp(16px, 3vw, 36px) 24px;
  gap: 22px;
  border-radius: 20px;
  transition: background 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.how__step:hover {
  background: linear-gradient(180deg,
    rgba(82, 174, 50, 0.025) 0%,
    rgba(50, 89, 253, 0.025) 100%);
}

/* Step top: icon + number */
.how__step-top {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.how__step-num {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 92px;
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 1;
  background: linear-gradient(180deg, rgba(82,174,50,0.10) 0%, rgba(50,89,253,0.06) 60%, rgba(50,89,253,0) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  user-select: none;
  pointer-events: none;
  z-index: -1;
  white-space: nowrap;
}

/* Halo gradient ring (revelado en hover) */
.how__step-icon::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 26px;
  background: radial-gradient(
    circle at center,
    rgba(82, 174, 50, 0.25) 0%,
    rgba(50, 89, 253, 0.18) 40%,
    transparent 70%
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  filter: blur(8px);
}

/* ── Custom props animables (@property) · componen transforms sin pisarse ── */
@property --float-y  { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --hover-y  { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --reveal-y { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --tilt-x   { syntax: '<angle>';  inherits: false; initial-value: 0deg; }

/* ── Step icon · 3D depth + float continuo ── */
.how__step-icon {
  position: relative;
  width: 68px; height: 68px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  /* Background con highlight superior izquierda (luz desde arriba) + base */
  background:
    radial-gradient(circle at 28% 22%, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 55%),
    linear-gradient(160deg, #FFFFFF 0%, #F2F4FA 100%);
  border: 1px solid rgba(15, 27, 60, 0.07);
  /* Multi-layered shadow para sensación de elevación 3D */
  box-shadow:
    /* Inner top highlight */
    inset 0 1px 0 rgba(255, 255, 255, 1),
    /* Inner bottom recessed edge */
    inset 0 -1px 0 rgba(15, 27, 60, 0.04),
    /* Sombra de contacto cercana */
    0 2px 4px -2px rgba(15, 27, 60, 0.06),
    /* Sombra media · elevación */
    0 6px 14px -4px rgba(15, 27, 60, 0.12),
    /* Sombra ambient lejana · depth perception */
    0 18px 32px -12px rgba(15, 27, 60, 0.18);
  z-index: 1;
  /* Transform compuesta · cada animación opera su propia custom prop sin pisar otras */
  transform:
    perspective(600px)
    translateY(calc(var(--float-y) + var(--hover-y) + var(--reveal-y)))
    rotateX(var(--tilt-x));
  transform-style: preserve-3d;
  transition:
    --hover-y 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
    --tilt-x  0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 0.4s ease,
    box-shadow 0.5s ease,
    background 0.4s ease;
}

/* Ground shadow flotante · usa ::after (libre tras eliminar el badge) */
.how__step-icon::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 12%;
  right: 12%;
  height: 10px;
  background: radial-gradient(
    ellipse at center,
    rgba(15, 27, 60, 0.20) 0%,
    rgba(15, 27, 60, 0.05) 50%,
    transparent 75%
  );
  filter: blur(5px);
  z-index: -1;
  animation: shadowBreath 5s ease-in-out infinite;
  pointer-events: none;
}

/* Float continuo · stagger entre los 3 iconos para que no estén en sync */
@keyframes iconFloat {
  0%, 100% { --float-y: 0px; }
  50%      { --float-y: -7px; }
}

/* Reveal suave (scroll-driven) · prop dedicada --reveal-y */
@keyframes iconReveal {
  0%   { opacity: 0; --reveal-y: 16px; }
  100% { opacity: 1; --reveal-y: 0px;  }
}

/* Ground shadow · se contrae cuando el icono sube (refuerza percepción 3D) */
@keyframes shadowBreath {
  0%, 100% { opacity: 0.85; transform: scaleX(1)    scaleY(1); }
  50%      { opacity: 0.55; transform: scaleX(0.78) scaleY(0.7); }
}

/* Aplicación de animaciones · float siempre, reveal por scroll-timeline */
.how__step-icon {
  animation: iconFloat 4.5s ease-in-out infinite;
}

/* Stagger entre los 3 iconos · usando nth-of-type (ignora el .how__connector como sibling) */
.how__step:nth-of-type(1) .how__step-icon         { animation-delay:  0s; }
.how__step:nth-of-type(1) .how__step-icon::after  { animation-delay:  0s; }
.how__step:nth-of-type(2) .how__step-icon         { animation-delay: -1.5s; }
.how__step:nth-of-type(2) .how__step-icon::after  { animation-delay: -1.5s; }
.how__step:nth-of-type(3) .how__step-icon         { animation-delay: -3s; }
.how__step:nth-of-type(3) .how__step-icon::after  { animation-delay: -3s; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .how__step-icon {
      animation:
        iconFloat 4.5s ease-in-out infinite,
        iconReveal 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both;
      animation-timeline: auto, view();
      animation-range: auto, entry 5% entry 40%;
    }
    /* Re-aplicar el stagger respetando ambas animaciones */
    .how__step:nth-of-type(1) .how__step-icon { animation-delay:  0s,   0s; }
    .how__step:nth-of-type(2) .how__step-icon { animation-delay: -1.5s, 0s; }
    .how__step:nth-of-type(3) .how__step-icon { animation-delay: -3s,   0s; }
  }
}

/* ── Hover · 3D tilt + elevación + halo (sin tocar el float) ── */
.how__step:hover .how__step-icon {
  --hover-y: -4px;
  --tilt-x: -6deg;
  border-color: rgba(50, 89, 253, 0.25);
  background:
    radial-gradient(circle at 28% 22%, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 55%),
    linear-gradient(160deg, #FFFFFF 0%, #F5F7FF 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(50, 89, 253, 0.05),
    0 4px 8px -4px rgba(50, 89, 253, 0.15),
    0 14px 26px -8px rgba(50, 89, 253, 0.22),
    0 28px 48px -16px rgba(82, 174, 50, 0.16);
}
.how__step:hover .how__step-icon::before { opacity: 1; }

/* Icon SVG: cambio sutil de color, sin scale */
.how__step-icon svg {
  color: var(--brand-blue);
  transition: color 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  width: 26px; height: 26px;
}
.how__step:hover .how__step-icon svg {
  color: var(--brand-green);
}

/* (Badge ::after eliminado · evitamos redundancia con el watermark 01/02/03) */

@media (prefers-reduced-motion: reduce) {
  .how__step-icon { animation: none !important; transition: none !important; }
}

/* Step tag · micro-pill refinado con dot indicator */
.how__step-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px 5px 9px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  background: #F4F6FB;
  border: 1px solid #E2E6EE;
  color: #4A5568;
  width: fit-content;
  align-self: center;
  transition: all 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.how__step-tag svg {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.45s;
}
.how__step:hover .how__step-tag {
  background: linear-gradient(135deg,
    rgba(82, 174, 50, 0.10),
    rgba(50, 89, 253, 0.10));
  border-color: rgba(82, 174, 50, 0.24);
  color: var(--brand-green);
}
.how__step:hover .how__step-tag svg { opacity: 1; }

.how__step-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.how__step-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #0D1B2A;
  line-height: 1.25;
}
.how__step-body {
  font-size: 15px;
  color: #5A6478;
  line-height: 1.65;
  max-width: 28ch;
  margin: 0 auto;
  letter-spacing: -0.005em;
}

/* ══════════════════════════════════════════════════════════════
   CONNECTOR · flujo direccional puro · → derecha
   - conn-line     → línea base estática (gris muy sutil)
   - conn-pulse    → gradient verde→azul fluyendo en loop hacia →
   - conn-chevron  → 2 chevrons fade-in/fade-out, indican dirección
   ══════════════════════════════════════════════════════════════ */

/* 1. Línea base estática · neutral */
.conn-line {
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #DDE2EC 12%,
    #DDE2EC 88%,
    transparent 100%
  );
}

/* 2. Pulse · gradient verde→azul viajando hacia la derecha
      Repite el patrón con background-size > 100% y desplaza posición */
.conn-pulse {
  position: absolute;
  top: -0.5px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 30%,
    rgba(82, 174, 50, 0.0)  35%,
    rgba(82, 174, 50, 0.85) 48%,
    rgba(56, 164, 194, 1)   50%,
    rgba(50, 89, 253, 0.85) 52%,
    rgba(50, 89, 253, 0.0)  65%,
    transparent 70%,
    transparent 100%
  );
  background-size: 280% 100%;
  background-repeat: no-repeat;
  background-position: 180% 0;      /* arranca con el peak fuera, lado izquierdo */
  filter: blur(0.4px);
  animation: pulseFlow 2.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  border-radius: 1px;
}

/* Position DECREASING → el peak del gradient APARECE moviéndose hacia la → derecha
   (al disminuir bg-position, el bg image se desplaza a la derecha visualmente). */
@keyframes pulseFlow {
  0%   { background-position:  180% 0; }   /* peak fuera, lado izquierdo */
  100% { background-position: -180% 0; }   /* peak fuera, lado derecho */
}

/* 3. Chevrons · indicadores de dirección, sutiles */
.conn-chevron {
  position: absolute;
  top: 50%;
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
  font-family: -apple-system, 'SF Pro Display', system-ui, sans-serif;
  color: var(--brand-blue);
  opacity: 0;
  transform: translateY(-50%) translateX(-50%);
  animation: chevronPulse 2.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  text-shadow: 0 0 8px rgba(50, 89, 253, 0.4);
  user-select: none;
  pointer-events: none;
}
.conn-chevron--1 { left: 33.33%; }
.conn-chevron--2 { left: 66.66%; animation-delay: 0.4s; }

@keyframes chevronPulse {
  0%, 100% { opacity: 0; transform: translateY(-50%) translateX(-50%) scale(0.85); }
  40%      { opacity: 0.85; transform: translateY(-50%) translateX(-50%) scale(1); }
  70%      { opacity: 0.85; transform: translateY(-50%) translateX(-50%) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .conn-pulse, .conn-chevron { animation: none; }
  .conn-pulse { background-position: 0 0; opacity: 0.5; }
  .conn-chevron { opacity: 0.6; }
}

/* Section CTA · botón + trust microcopy */
.how__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: clamp(48px, 5vw, 72px);
}
.how__cta-trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #6B7280;
  letter-spacing: 0.1px;
  margin: 0;
}
.how__cta-trust svg {
  color: var(--brand-green);
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .how__steps { grid-template-columns: 1fr; gap: 48px; }
  .how__connector { display: none; }
  .how__step { align-items: flex-start; text-align: left; flex-direction: row; gap: 20px; padding: 0; }
  .how__step-top { flex-direction: row; align-items: center; gap: 16px; }
  .how__step-num { display: none; }
  .how__step-body,
  .how__step-title { max-width: none; }
  .how__step-body { font-size: 14px; }
  .how__step-content { display: flex; flex-direction: column; gap: 8px; }
  /* left accent line */
  .how__steps::before {
    content: '';
    position: absolute;
    left: 32px;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--brand-green), var(--brand-blue));
    opacity: 0.25;
    border-radius: 1px;
  }
}
@media (max-width: 480px) {
  .how__step { flex-direction: column; }
  .how__step-top { flex-direction: column; }
}


/* ════════════════════════════════════════════════════════════════
   §5 — TASAS EN VIVO · navy + glass cards + sparklines + compare
   SEO + UX: datos financieros premium, jerarquía clara, trust-first.
   ════════════════════════════════════════════════════════════════ */

.rates {
  background: var(--bg);
  color: var(--text);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* Atmósfera ambiente · radiales sutiles + grid pattern */
.rates__atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 40% at 15% 20%, rgba(82, 174, 50, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 85% 80%, rgba(50, 89, 253, 0.10) 0%, transparent 60%);
  pointer-events: none;
}
.rates::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
  opacity: 0.6;
  pointer-events: none;
}

/* ── Header ── */
.rates__header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.rates__header .section__sub {
  margin: 14px auto 0;
}

/* Eyebrow LIVE con dot pulsante coral/rojo */
.rates__eyebrow {
  background: rgba(255, 107, 107, 0.08);
  border-color: rgba(255, 107, 107, 0.25);
  color: #FF8585;
}
.rates__live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FF6B6B;
  box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.5);
  animation: liveDot 1.6s ease-out infinite;
  flex-shrink: 0;
}
@keyframes liveDot {
  0%   { box-shadow: 0 0 0 0    rgba(255, 107, 107, 0.55); }
  70%  { box-shadow: 0 0 0 8px  rgba(255, 107, 107, 0); }
  100% { box-shadow: 0 0 0 0    rgba(255, 107, 107, 0); }
}

/* ── Grid de rate-cards ── */
.rates__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.5vw, 22px);
  margin-bottom: clamp(48px, 6vw, 80px);
}

/* ── Rate card individual ── */
.rate-card {
  position: relative;
  padding: 22px 24px 18px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.025) 100%);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  isolation: isolate;
  transition: border-color 0.4s ease, transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.5s ease;
}
.rate-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(82,174,50,0.25), rgba(50,89,253,0.25));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: -1;
}
.rate-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -12px rgba(0,0,0,0.4),
              0 0 0 1px rgba(82, 174, 50, 0.1);
  border-color: rgba(82, 174, 50, 0.3);
}
.rate-card:hover::before { opacity: 1; }

/* Primary card highlight · gradient border más fuerte */
.rate-card--primary {
  background:
    linear-gradient(180deg, rgba(82, 174, 50, 0.10) 0%, rgba(50, 89, 253, 0.06) 100%);
  border-color: rgba(82, 174, 50, 0.22);
}

/* Head: pair label + LIVE badge */
.rate-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.rate-card__pair {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.rate-card__flag {
  font-size: 18px;
  line-height: 1;
}
.rate-card__pair-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.rate-card__live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #FF8585;
  padding: 3px 7px;
  background: rgba(255, 107, 107, 0.10);
  border: 1px solid rgba(255, 107, 107, 0.25);
  border-radius: 999px;
}
.rate-card__live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #FF6B6B;
  box-shadow: 0 0 6px rgba(255, 107, 107, 0.8);
  animation: liveDot 1.6s ease-out infinite;
}

/* Big value · tabular nums para alineación financiera */
.rate-card__value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 6px;
}
.rate-card__num {
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.rate-card__unit {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: -0.005em;
}

/* Change indicator · up/down arrow + % */
.rate-card__change {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  font-variant-numeric: tabular-nums;
  padding: 4px 9px;
  border-radius: 999px;
}
.rate-card__change--up {
  color: #6CE26C;
  background: rgba(82, 174, 50, 0.14);
  border: 1px solid rgba(82, 174, 50, 0.30);
}
.rate-card__change--down {
  color: #FF8585;
  background: rgba(255, 107, 107, 0.10);
  border: 1px solid rgba(255, 107, 107, 0.28);
}
.rate-card__change-period {
  font-weight: 500;
  opacity: 0.75;
  margin-left: 2px;
}

/* Sparkline · mini chart */
.rate-card__spark {
  width: 100%;
  height: 36px;
  margin-top: 4px;
  display: block;
}

/* Timestamp · meta */
.rate-card__updated {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.1px;
}
.rate-card__updated svg { opacity: 0.7; flex-shrink: 0; }
.rate-card__updated time {
  color: var(--text-secondary);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* ── COMPARE LIST ───────────────────────────────────────────────
   Bar chart-like list visualizando "lo que recibe tu familia"
   ─────────────────────────────────────────────────────────────── */
.rates__compare {
  position: relative;
  padding: clamp(28px, 3.5vw, 40px) clamp(24px, 3vw, 40px);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  margin-bottom: clamp(40px, 5vw, 64px);
}

.rates__compare-head {
  margin-bottom: clamp(20px, 2.5vw, 28px);
}
.rates__compare-title {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 6px;
  line-height: 1.3;
}
.rates__compare-title strong {
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.rates__compare-sub {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
  letter-spacing: -0.005em;
}

/* Compare list */
.compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.compare-row {
  display: grid;
  grid-template-columns: minmax(140px, 0.7fr) minmax(0, 2fr) minmax(110px, auto);
  gap: 16px;
  align-items: center;
}
.compare-row__label {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.compare-row__brand {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.compare-row--winner .compare-row__brand {
  color: var(--text);
  font-weight: 700;
}
.compare-row__sublabel {
  font-size: 11.5px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0;
  line-height: 1.35;
}
.compare-row__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-blue));
  color: #fff;
  box-shadow: 0 2px 10px -2px rgba(50,89,253,0.4);
}

/* Bar */
.compare-row__bar-wrap {
  position: relative;
  height: 8px;
  background: rgba(255,255,255,0.05);
  border-radius: 999px;
  overflow: hidden;
}
.compare-row__bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 0%);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0.20), rgba(255,255,255,0.30));
  transform-origin: left center;
  animation: barGrow 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
@keyframes barGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Bar del ganador · brand gradient + glow */
.compare-row--winner .compare-row__bar {
  background: linear-gradient(90deg, var(--brand-green) 0%, var(--brand-blue) 100%);
  box-shadow: 0 0 16px rgba(82,174,50,0.4), 0 0 30px rgba(50,89,253,0.25);
}
.compare-row--winner .compare-row__bar-wrap {
  background: rgba(82, 174, 50, 0.08);
}

/* Valores · alineados a la derecha */
.compare-row__value {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 5px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.compare-row__amount {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-secondary);
}
.compare-row--winner .compare-row__amount {
  color: var(--text);
  font-weight: 800;
  font-size: clamp(20px, 2vw, 25px);
}
.compare-row__currency {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}
.compare-row__diff {
  margin-left: 8px;
  font-size: 11px;
  font-weight: 600;
  color: #FF8585;
  background: rgba(255,107,107,0.08);
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.2px;
}

.rates__compare-footnote {
  margin: 20px 0 0;
  font-size: 11.5px;
  color: var(--text-muted);
  letter-spacing: 0.1px;
  line-height: 1.5;
}

/* ── CTA + trust microcopy ── */
.rates__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.rates__cta-trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.1px;
  margin: 0;
}
.rates__cta-trust svg {
  color: var(--brand-green);
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 880px) {
  .rates__grid { grid-template-columns: 1fr 1fr; }
  .rate-card--primary { grid-column: span 2; }
  .compare-row {
    grid-template-columns: minmax(110px, 1fr) auto;
    gap: 8px 14px;
  }
  .compare-row__bar-wrap {
    grid-column: 1 / -1;
    order: 3;
  }
}
@media (max-width: 560px) {
  .rates__grid { grid-template-columns: 1fr; }
  .rate-card--primary { grid-column: auto; }
  .compare-row__amount { font-size: 17px; }
  .compare-row--winner .compare-row__amount { font-size: 19px; }
}


/* ════════════════════════════════════════════════════════════════
   §6 — SEGURIDAD & REGULACIÓN
   YMYL · trust-first · banca-grade visual language
   ════════════════════════════════════════════════════════════════ */

.security {
  background:
    linear-gradient(180deg, #F4F7FC 0%, #EDF1F8 100%);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #0D1B2A;
}

/* Atmósfera ambiente · azul muy sutil + grid pattern */
.security__atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 50% at 10% 20%, rgba(50, 89, 253, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 90%, rgba(82, 174, 50, 0.05) 0%, transparent 60%);
  pointer-events: none;
}
.security::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(50, 89, 253, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, #000 30%, transparent 80%);
  opacity: 0.6;
  pointer-events: none;
}

/* ── Header ── */
.security__header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 56px);
}
.security__header .section__sub {
  margin: 14px auto 0;
}

/* Eyebrow azul · trust color */
.security__eyebrow {
  background: rgba(50, 89, 253, 0.06);
  border-color: rgba(50, 89, 253, 0.20);
  color: var(--brand-blue);
}
.security__eyebrow-icon {
  flex-shrink: 0;
  color: var(--brand-blue);
}

/* ── HIGHLIGHT BANNER · "100% fondos en custodia" ── */
.security__highlight {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
  padding: clamp(28px, 4vw, 44px) clamp(28px, 4vw, 48px);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0) 55%),
    linear-gradient(135deg, rgba(50,89,253,0.10) 0%, rgba(82,174,50,0.08) 100%),
    #FFFFFF;
  border: 1px solid rgba(50, 89, 253, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 4px 12px -2px rgba(15, 27, 60, 0.04),
    0 18px 40px -16px rgba(50, 89, 253, 0.20);
  margin-bottom: clamp(40px, 5vw, 64px);
}

.security__highlight-mark {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-blue) 100%);
  color: #FFFFFF;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    0 8px 22px -8px rgba(50, 89, 253, 0.50);
  flex-shrink: 0;
}

.security__highlight-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.security__highlight-stat {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.security__highlight-num {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.security__highlight-percent {
  font-size: 0.5em;
  font-weight: 700;
  margin-left: -2px;
}
.security__highlight-label {
  font-size: clamp(14px, 1.3vw, 17px);
  font-weight: 600;
  color: #0D1B2A;
  letter-spacing: -0.015em;
  max-width: 24ch;
  line-height: 1.3;
}
.security__highlight-text {
  font-size: 14px;
  line-height: 1.55;
  color: #4A5568;
  margin: 0;
  letter-spacing: -0.005em;
  max-width: 60ch;
}
.security__highlight-text strong {
  color: #0D1B2A;
  font-weight: 700;
}

/* ── GRID 3×2 · pilares de seguridad ── */
.security__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.8vw, 24px);
  margin-bottom: clamp(56px, 6vw, 80px);
}

.security-card {
  position: relative;
  padding: 26px 26px 24px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, #FFFFFF 0%, #FAFBFE 100%);
  border: 1px solid rgba(15, 27, 60, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 1px 2px rgba(15, 27, 60, 0.03),
    0 8px 24px -12px rgba(15, 27, 60, 0.10);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition:
    transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 0.4s ease,
    box-shadow 0.5s ease;
}
.security-card:hover {
  transform: translateY(-3px);
  border-color: rgba(50, 89, 253, 0.20);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 2px 4px rgba(15, 27, 60, 0.04),
    0 18px 38px -14px rgba(50, 89, 253, 0.18);
}

/* Icon badge · gradiente blue or green según variante */
.security-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.security-card__icon--blue {
  background: linear-gradient(135deg, rgba(50, 89, 253, 0.12) 0%, rgba(50, 89, 253, 0.04) 100%);
  border: 1px solid rgba(50, 89, 253, 0.18);
  color: var(--brand-blue);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
.security-card__icon--green {
  background: linear-gradient(135deg, rgba(82, 174, 50, 0.12) 0%, rgba(82, 174, 50, 0.04) 100%);
  border: 1px solid rgba(82, 174, 50, 0.22);
  color: var(--brand-green);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.security-card__title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0D1B2A;
  line-height: 1.25;
  margin: 0;
}
.security-card__body {
  font-size: 14px;
  line-height: 1.55;
  color: #4A5568;
  margin: 0;
  letter-spacing: -0.003em;
}
.security-card__meta {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding-top: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #8B95A8;
  font-variant-numeric: tabular-nums;
}

/* ── QUOTE · reaffirmation pre-CTA ── */
.security__quote {
  position: relative;
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  padding: clamp(28px, 3.5vw, 40px) clamp(28px, 4vw, 48px);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.4) 100%);
  border: 1px solid rgba(15, 27, 60, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: center;
}
.security__quote-mark {
  display: block;
  margin: 0 auto 12px;
  color: rgba(50, 89, 253, 0.20);
}
.security__quote p {
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: #0D1B2A;
  margin: 0;
}
.security__quote p strong {
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.security__quote-source {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #6B7280;
}
.security__quote-line {
  width: 32px;
  height: 1.5px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-blue));
}

/* ── CTA + trust ── */
.security__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.security__cta-btn.btn--glass {
  background: #FFFFFF;
  border-color: rgba(50, 89, 253, 0.25);
  color: var(--brand-blue);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 4px 12px -2px rgba(50, 89, 253, 0.10);
}
.security__cta-btn.btn--glass:hover {
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F7FF 100%);
  border-color: rgba(50, 89, 253, 0.40);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 8px 22px -6px rgba(50, 89, 253, 0.25);
}
.security__cta-trust {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #6B7280;
  letter-spacing: 0.05px;
  margin: 0;
  text-align: center;
}
.security__cta-trust svg {
  color: var(--brand-green);
  flex-shrink: 0;
  margin-right: 4px;
}
.security__cta-link {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(50, 89, 253, 0.25);
  transition: border-color 0.3s ease;
}
.security__cta-link:hover {
  border-bottom-color: rgba(50, 89, 253, 0.7);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .security__grid { grid-template-columns: repeat(2, 1fr); }
  .security__highlight {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 26px;
  }
  .security__highlight-mark { margin: 0 auto; }
  .security__highlight-stat { justify-content: center; }
  .security__highlight-text { margin-inline: auto; }
}
@media (max-width: 560px) {
  .security__grid { grid-template-columns: 1fr; }
  .security__highlight-num { font-size: 52px; }
  .security__highlight-stat { flex-direction: column; gap: 4px; align-items: center; }
  .security__highlight-label { text-align: center; }
}


/* ════════════════════════════════════════════════════════════════
   §7 — PREGUNTAS FRECUENTES (FAQ)
   Accordion <details> nativo · animación smooth · FAQPage schema
   ════════════════════════════════════════════════════════════════ */

.faq {
  background: #FFFFFF;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #0D1B2A;
}

/* Atmósfera ambiente · gradient muy sutil + grid pattern */
.faq__atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 40% at 50% 100%, rgba(82, 174, 50, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(50, 89, 253, 0.035) 0%, transparent 70%);
  pointer-events: none;
}
.faq::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(15, 27, 60, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, #000 20%, transparent 80%);
  opacity: 0.4;
  pointer-events: none;
}

/* ── Header ── */
.faq__header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 56px);
}
.faq__header .section__sub {
  margin: 14px auto 0;
  max-width: 56ch;
}

/* Eyebrow azul (consulta/pregunta · tono trust) */
.faq__eyebrow {
  background: rgba(50, 89, 253, 0.06);
  border-color: rgba(50, 89, 253, 0.20);
  color: var(--brand-blue);
}
.faq__eyebrow-icon {
  flex-shrink: 0;
  color: var(--brand-blue);
}

/* ── FAQ LIST · accordion ─────────────────────────────────────── */
.faq__list {
  max-width: 760px;
  margin: 0 auto clamp(48px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Cada item · <details> nativo */
.faq-item {
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(15, 27, 60, 0.08);
  border-radius: 14px;
  overflow: hidden;
  transition:
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    background 0.4s ease;
}
.faq-item:hover {
  border-color: rgba(50, 89, 253, 0.20);
  box-shadow: 0 4px 14px -4px rgba(15, 27, 60, 0.08);
}
.faq-item[open] {
  border-color: rgba(50, 89, 253, 0.30);
  background: linear-gradient(180deg, #FAFBFE 0%, #FFFFFF 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 6px 20px -8px rgba(50, 89, 253, 0.18);
}

/* Question · clickable summary */
.faq-item__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #0D1B2A;
  line-height: 1.4;
  user-select: none;
  transition: color 0.3s ease;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::marker { display: none; content: ''; }
.faq-item__q:hover { color: var(--brand-blue); }

.faq-item__q-text {
  flex: 1;
  min-width: 0;
}

/* Icon chevron · rotate 180° cuando está open */
.faq-item__icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(50, 89, 253, 0.06);
  border: 1px solid rgba(50, 89, 253, 0.18);
  color: var(--brand-blue);
  display: grid;
  place-items: center;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
              background 0.3s ease,
              border-color 0.3s ease;
}
.faq-item[open] .faq-item__icon {
  transform: rotate(180deg);
  background: linear-gradient(135deg, var(--brand-green), var(--brand-blue));
  border-color: transparent;
  color: #FFFFFF;
}

/* Answer container · animación de altura suave */
.faq-item__a {
  padding: 0 22px 22px;
  font-size: 15px;
  line-height: 1.65;
  color: #4A5568;
  letter-spacing: -0.003em;
}
.faq-item__a p { margin: 0 0 12px; }
.faq-item__a p:last-child { margin-bottom: 0; }
.faq-item__a strong { color: #0D1B2A; font-weight: 700; }
.faq-item__a a {
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(50, 89, 253, 0.25);
  transition: border-color 0.3s ease;
}
.faq-item__a a:hover { border-bottom-color: rgba(50, 89, 253, 0.7); }

.faq-item__list {
  margin: 8px 0 12px;
  padding: 0 0 0 1.2em;
}
.faq-item__list li {
  margin-bottom: 6px;
  line-height: 1.55;
}
.faq-item__list li::marker {
  color: var(--brand-blue);
  font-size: 1.1em;
}

/* Smooth open/close animation usando interpolate-size · CSS 2025
   Fallback: open/close instant for older browsers */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq-item::details-content {
    transition: block-size 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
                content-visibility 0.45s allow-discrete;
  }
}

/* ── BOTTOM CTA · "¿Aún tienes preguntas?" ── */
.faq__cta {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(28px, 4vw, 40px) clamp(24px, 3vw, 36px);
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 20%, rgba(82, 174, 50, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(50, 89, 253, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, #FAFBFE 0%, #F4F6FB 100%);
  border: 1px solid rgba(15, 27, 60, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 12px 30px -16px rgba(15, 27, 60, 0.10);
}

.faq__cta-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 600;
  color: #0D1B2A;
  margin: 0 0 18px;
  letter-spacing: -0.015em;
}
.faq__cta-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(82, 174, 50, 0.12), rgba(50, 89, 253, 0.12));
  border: 1px solid rgba(50, 89, 253, 0.18);
  color: var(--brand-blue);
  flex-shrink: 0;
}

.faq__cta-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
}
.faq__cta-actions .btn--glass {
  background: #FFFFFF;
  border-color: rgba(15, 27, 60, 0.12);
  color: #0D1B2A;
}
.faq__cta-actions .btn--glass:hover {
  border-color: rgba(50, 89, 253, 0.30);
  color: var(--brand-blue);
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F7FF 100%);
}

.faq__cta-trust {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  color: #6B7280;
  margin: 0;
  letter-spacing: 0.05px;
}
.faq__cta-trust svg {
  color: var(--brand-green);
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .faq-item__q { padding: 16px 18px; font-size: 15px; }
  .faq-item__a { padding: 0 18px 18px; font-size: 14px; }
  .faq-item__icon { width: 26px; height: 26px; }
  .faq__cta-actions { flex-direction: column; align-items: stretch; }
}


/* ════════════════════════════════════════════════════════════════
   §8 — CTA FINAL · cierre conversión · navy + mesh + orbs
   ════════════════════════════════════════════════════════════════ */

.cta-final {
  background: var(--bg);
  color: var(--text);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(80px, 12vw, 140px) 0;
}

/* Capa mesh · gradient ambiente */
.cta-final__mesh {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse 60% 50% at 25% 30%, rgba(82, 174, 50, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 75% 70%, rgba(50, 89, 253, 0.14) 0%, transparent 60%);
  pointer-events: none;
}

/* Orbs decorativos · gradiente brand · flotantes */
.cta-final__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -2;
  pointer-events: none;
  animation: orbFloat 14s ease-in-out infinite;
}
.cta-final__orb--left {
  width: 380px; height: 380px;
  top: -10%; left: -8%;
  background: radial-gradient(circle, rgba(82, 174, 50, 0.45) 0%, rgba(82, 174, 50, 0) 70%);
}
.cta-final__orb--right {
  width: 420px; height: 420px;
  bottom: -15%; right: -10%;
  background: radial-gradient(circle, rgba(50, 89, 253, 0.40) 0%, rgba(50, 89, 253, 0) 70%);
  animation-delay: -7s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1);    opacity: 0.85; }
  50%      { transform: translate(20px, -25px) scale(1.08); opacity: 1; }
}

/* Grid pattern overlay · tech-feel sutil */
.cta-final__grid-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
  opacity: 0.55;
  pointer-events: none;
}

/* ── Content centered ── */
.cta-final__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

/* Eyebrow más sutil sobre navy */
.cta-final__eyebrow {
  background: rgba(82, 174, 50, 0.10);
  border-color: rgba(82, 174, 50, 0.25);
  color: #8BE068;
}
.cta-final__eyebrow .eyebrow-dot {
  background: #8BE068;
  box-shadow: 0 0 0 3px rgba(139, 224, 104, 0.20);
}

/* Title XXL · más grande que h2 normales para "momentum" */
.cta-final__title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--text);
  margin: 0 0 18px;
  max-width: 18ch;
}
.cta-final__title-accent {
  display: block;
  background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.cta-final__sub {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0 0 36px;
  max-width: 56ch;
  letter-spacing: -0.005em;
}
.cta-final__sub strong {
  color: var(--text);
  font-weight: 700;
}

/* Action buttons row */
.cta-final__actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 32px;
}

/* Primary btn · más impactante con glow */
.cta-final__btn-primary {
  position: relative;
  box-shadow:
    0 8px 24px -8px rgba(82, 174, 50, 0.55),
    0 18px 38px -14px rgba(50, 89, 253, 0.45);
}
.cta-final__btn-primary::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(82, 174, 50, 0.45), rgba(50, 89, 253, 0.45));
  z-index: -1;
  filter: blur(14px);
  opacity: 0.6;
  transition: opacity 0.4s ease;
}
.cta-final__btn-primary:hover::before { opacity: 1; }

/* Secondary glass btn */
.cta-final__btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text);
}
.cta-final__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.30);
}

/* Trust pills row */
.cta-final__trust {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cta-final__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  letter-spacing: 0.1px;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.cta-final__trust-item svg {
  color: var(--brand-green);
  flex-shrink: 0;
}
.cta-final__trust-item:hover {
  background: rgba(82, 174, 50, 0.10);
  border-color: rgba(82, 174, 50, 0.30);
  color: var(--text);
}

/* Responsive */
@media (max-width: 600px) {
  .cta-final__title { font-size: clamp(30px, 8vw, 42px); }
  .cta-final__actions { flex-direction: column; align-items: stretch; width: 100%; }
  .cta-final__actions .btn { justify-content: center; }
}


/* ════════════════════════════════════════════════════════════════
   FOOTER · compliance + nav + legal · navy oscuro
   ════════════════════════════════════════════════════════════════ */

.footer {
  background: #050810;
  color: var(--text-secondary);
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: clamp(56px, 6vw, 84px) 0 24px;
  font-size: 14px;
  line-height: 1.55;
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ── Top grid · 4 columns ── */
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Brand column */
.footer__col--brand {
  max-width: 320px;
}
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  margin-bottom: 14px;
}
.footer__logo-mark { width: 32px; height: 32px; }
.footer__logo-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
/* Imagen oficial del logo en el footer (assets/img/kbppay-logo.svg). */
.footer__logo-img {
  height: 32px;
  width: auto;
  display: block;
}
.footer__tagline {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 22px;
  letter-spacing: -0.005em;
}
.footer__tagline strong {
  color: var(--text-secondary);
  font-weight: 600;
}

/* Social icons · explicit row para override del .footer__col ul global */
.footer__social {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__social li { display: block; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.footer__social a:hover {
  color: var(--brand-green);
  background: rgba(82, 174, 50, 0.10);
  border-color: rgba(82, 174, 50, 0.25);
  transform: translateY(-2px);
}

/* App store badges */
.footer__apps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.footer__app-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.footer__app-badge:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.20);
}
.footer__app-badge svg { flex-shrink: 0; color: var(--text); }
.footer__app-badge > span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}
.footer__app-badge > span > span {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer__app-badge strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.005em;
}

/* Nav columns */
.footer__heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 16px;
}
.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col ul a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
  position: relative;
}
.footer__col ul a:hover {
  color: var(--brand-green);
}

/* ── Compliance row · 3 badges fintech regulación ── */
.footer__compliance {
  padding: clamp(24px, 3vw, 32px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer__compliance-badges {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 36px);
  justify-content: center;
  align-items: center;
}
.footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  min-width: 0;
}
.footer__badge svg {
  flex-shrink: 0;
  color: var(--brand-green);
}
.footer__badge div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}
.footer__badge strong {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.005em;
}
.footer__badge span {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.1px;
}

/* ── Bottom legal row ── */
.footer__legal {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.footer__copyright {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 0;
  letter-spacing: 0.1px;
}
.footer__legal-mini {
  font-size: 11.5px;
  color: var(--text-muted);
  margin: 0;
  letter-spacing: 0.1px;
  opacity: 0.8;
  max-width: 60ch;
  line-height: 1.5;
}
.footer__legal-love {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-muted);
  margin: 8px 0 0;
  letter-spacing: 0.1px;
}
.footer__heart {
  color: #FF6B6B;
  animation: heartBeat 1.8s ease-in-out infinite;
}
@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  15%, 35% { transform: scale(1.15); }
  25%, 45% { transform: scale(1); }
}

/* Responsive footer */
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__col--brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__compliance-badges { gap: 12px; }
  .footer__badge { width: 100%; }
}

/* ════════════════════════════════════════════════════════════════
   §5.5 — DIÁSPORA VENEZOLANA EN EUROPA
   Sección emocional · dark con acento ámbar (sutil referencia bandera).
   Bridge narrativo entre Tasas (cálculo) y Seguridad (confianza).
   ════════════════════════════════════════════════════════════════ */
.diaspora {
  background: var(--bg);
  color: var(--text);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.diaspora__atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 50% at 12% 18%, rgba(251, 191, 36, 0.10) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 88% 82%, rgba(82, 174, 50, 0.08) 0%, transparent 65%),
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(50, 89, 253, 0.05) 0%, transparent 70%);
  pointer-events: none;
}
.diaspora::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}

.diaspora__header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto clamp(40px, 5vw, 64px);
}
.diaspora__header .section__eyebrow,
.diaspora__eyebrow {
  /* Override del verde estándar: ámbar cálido para esta sección emocional */
  color: #FBBF24;
  background: rgba(251, 191, 36, 0.08);
  border-color: rgba(251, 191, 36, 0.22);
}
.diaspora__eyebrow .eyebrow-dot {
  background: #FBBF24;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.18);
}
@keyframes dotBreatheAmber {
  0%, 100% { box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.18); }
  50%      { box-shadow: 0 0 0 5px rgba(251, 191, 36, 0.10); }
}
.diaspora__eyebrow .eyebrow-dot { animation: dotBreatheAmber 2.4s ease-in-out infinite; }

.diaspora__sub {
  margin-inline: auto;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
}
.diaspora__sub strong { color: var(--text); font-weight: 600; }

/* ── 4 BIG NUMBERS ── */
.diaspora-stats {
  list-style: none;
  margin: 0 0 clamp(40px, 5vw, 64px);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}
.diaspora-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(20px, 2.2vw, 28px);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  isolation: isolate;
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.45s var(--ease);
}
.diaspora-stat:hover {
  border-color: rgba(251, 191, 36, 0.30);
  transform: translateY(-2px);
}
.diaspora-stat::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(251, 191, 36, 0.14) 0%, transparent 65%);
  filter: blur(28px);
  opacity: 0;
  z-index: -1;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.diaspora-stat:hover::after { opacity: 1; }

.diaspora-stat__num {
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, #FBBF24 0%, #52ae32 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.diaspora-stat__unit {
  font-size: 0.55em;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-left: 2px;
}
.diaspora-stat__label {
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.diaspora-stat__note {
  font-size: 11.5px;
  color: var(--text-muted);
  letter-spacing: 0.2px;
  margin-top: auto;
}

/* ── Top 5 países ── */
.diaspora-map {
  margin-bottom: clamp(40px, 5vw, 64px);
}
.diaspora-map__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 18px;
}
.diaspora-map__label::before,
.diaspora-map__label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}
.diaspora-map__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(10px, 1.2vw, 16px);
}
.diaspora-country {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px 12px;
  padding: 14px 16px 16px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: border-color 0.35s ease, background 0.35s ease;
}
.diaspora-country:hover {
  border-color: rgba(251, 191, 36, 0.28);
  background: var(--glass-hover);
}
.diaspora-country--lead {
  border-color: rgba(251, 191, 36, 0.32);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.06) 0%, rgba(255,255,255,0.02) 100%);
}
.diaspora-country__flag {
  font-size: 20px;
  line-height: 1;
  filter: saturate(1.15);
}
.diaspora-country__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.diaspora-country__num {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1px;
}
.diaspora-country__bar {
  grid-column: 1 / -1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}
.diaspora-country__bar::after {
  content: '';
  position: absolute;
  inset: 0;
  width: var(--w, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, #FBBF24 0%, #52ae32 100%);
  transition: width 0.6s var(--ease);
}

/* ── Puente narrativo a /noticias/ ── */
.diaspora-bridge {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 3.5vw, 48px);
  align-items: center;
  padding: clamp(28px, 3.5vw, 44px);
  border-radius: 24px;
  background:
    radial-gradient(ellipse 70% 90% at 85% 10%, rgba(50,89,253,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 70% 90% at 15% 90%, rgba(82,174,50,0.10) 0%, transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.diaspora-bridge__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--brand-green);
  margin: 0 0 14px;
}
.diaspora-bridge__title {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--text);
  margin: 0 0 14px;
  max-width: 22ch;
}
.diaspora-bridge__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 22px;
  max-width: 52ch;
}
.diaspora-bridge__cta {
  /* hereda .btn .btn--primary .btn--lg */
}

.diaspora-bridge__chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.diaspora-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.2s var(--ease);
  white-space: nowrap;
}
.diaspora-chip svg {
  width: 13px;
  height: 13px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.diaspora-chip:hover {
  color: var(--text);
  background: var(--glass-hover);
  border-color: var(--glass-border-strong);
  transform: translateY(-1px);
}
.diaspora-chip:hover svg { opacity: 1; }
.diaspora-chip:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .diaspora-stats { grid-template-columns: repeat(2, 1fr); }
  .diaspora-map__list { grid-template-columns: repeat(3, 1fr); }
  .diaspora-bridge { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .diaspora-stats { grid-template-columns: 1fr 1fr; }
  .diaspora-map__list { grid-template-columns: repeat(2, 1fr); }
  .diaspora-bridge { padding: 24px; border-radius: 18px; }
  .diaspora-bridge__chips { gap: 6px; }
  .diaspora-chip { padding: 7px 11px; font-size: 12px; }
}
