/* ==========================================================================
   Kambia — Hoja de estilos principal
   Paleta inspirada en la bandera de Venezuela y el logo Kambia:
   azul marino, rojo, amarillo y blanco.
   ========================================================================== */

:root {
  /* Marca — sistema oficial de Kambia */
  --navy: #00247D;        /* Azul */
  --navy-700: #0A3FB0;    /* hover / variante clara */
  --navy-900: #0B1A40;    /* Azul noche */
  --red: #D81E34;         /* Rojo */
  --red-600: #B81020;
  --yellow: #FFCC00;      /* Amarillo */
  --yellow-600: #E6B800;

  /* Neutros */
  --white: #FFFFFF;
  --paper: #F5F6F8;       /* Blanco hueso */
  --paper-2: #EBEEF5;
  --line: #E0E5EF;
  --ink: #0B1A40;
  --ink-soft: #46536B;
  --ink-mute: #7A8699;

  /* Sistema */
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(11, 61, 145, .06);
  --shadow: 0 18px 40px rgba(11, 61, 145, .12);
  --shadow-lg: 0 30px 70px rgba(11, 61, 145, .18);
  --container: 1160px;
  --gutter: clamp(24px, 6vw, 48px);
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .4em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(46px, 9vw, 110px) 0; }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: #fff; }
.section--tight { padding-block: clamp(40px, 6vw, 68px); }
.center { text-align: center; }
.stack-sm > * + * { margin-top: .6rem; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--yellow); }

.h-display {
  font-size: clamp(2.1rem, 5.4vw, 3.7rem);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: -.02em;
}
.h-section {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  text-transform: uppercase;
  font-weight: 800;
}
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 56ch; }
.section--navy .lead { color: rgba(255, 255, 255, .82); }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, color .18s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 12px 24px rgba(11, 61, 145, .28); }
.btn--primary:hover { background: var(--navy-700); transform: translateY(-2px); box-shadow: 0 18px 34px rgba(11, 61, 145, .34); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 12px 24px rgba(228, 0, 43, .26); }
.btn--red:hover { background: var(--red-600); transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: currentColor; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.section--navy .btn--ghost { color: #fff; }
.section--navy .btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--yellow { background: var(--yellow); color: var(--navy-900); }
.btn--yellow:hover { background: var(--yellow-600); transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn--lg { padding: 18px 36px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 74px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand__mark { width: 40px; height: 40px; flex: none; object-fit: contain; }
.brand__name { font-size: 1.5rem; color: var(--navy); letter-spacing: -.02em; }

.audience-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--paper-2);
  border-radius: var(--radius-pill);
  margin-left: 4px;
}
.audience-toggle a {
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-mute);
}
.audience-toggle a[aria-current="true"] { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 6px; }
.main-nav a.nav-link,
.main-nav button.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .96rem;
  color: var(--ink);
  background: transparent;
  border: 0;
}
.main-nav a.nav-link:hover,
.main-nav button.nav-link:hover { background: var(--paper); color: var(--navy); }
.nav-link .chev { width: 16px; height: 16px; transition: transform .2s; }

.has-mega { position: relative; }
.mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(760px, 90vw);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 34px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.has-mega:hover .mega,
.has-mega:focus-within .mega,
.mega.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.has-mega:hover .nav-link .chev { transform: rotate(180deg); }
.mega h4 {
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.mega__list li + li { margin-top: 4px; }
.mega__item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
}
.mega__item:hover { background: var(--paper); }
.mega__item .flag { width: 30px; height: 30px; flex: none; }
.mega__item strong { display: block; font-size: .98rem; }
.mega__item span { font-size: .82rem; color: var(--ink-mute); }
.tag {
  font-size: .66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: #FDE7EC;
  color: var(--red-600);
  margin-left: 6px;
}
.tag--yellow { background: #FEF4CF; color: var(--yellow-600); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang { font-weight: 600; font-size: .9rem; color: var(--ink-soft); padding: 8px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--navy);
  position: relative;
  transition: transform .2s, opacity .2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: clip; }
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  z-index: 0;
}
.hero__blob--yellow { width: 260px; height: 260px; background: rgba(245, 197, 24, .22); top: -80px; right: 6%; }
.hero__blob--red { width: 180px; height: 180px; background: rgba(228, 0, 43, .12); bottom: -40px; left: -40px; }
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  padding-block: clamp(40px, 7vw, 86px);
}
.hero__trust {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--paper);
  border-radius: var(--radius-pill);
  padding: 8px 16px 8px 10px;
  margin-bottom: 22px;
}
.hero__trust .dot-count {
  background: var(--red);
  color: #fff;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-size: .82rem;
}
.hero h1 { margin-bottom: 18px; }
.hero .lead { margin-bottom: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; }
.hero__badges li { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--ink-soft); }
.hero__badges svg { color: var(--navy); }

/* ---------- Calculator card ---------- */
.calc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 26px;
}
.calc__title { font-size: 1.3rem; font-weight: 800; margin-bottom: 4px; }
.calc__sub { font-size: .9rem; color: var(--ink-mute); margin-bottom: 18px; }

.calc__field {
  position: relative;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: border-color .15s;
}
.calc__field:focus-within { border-color: var(--navy); }
.calc__field + .calc__field { margin-top: 10px; }
.calc__field label { display: block; font-size: .82rem; color: var(--ink-mute); margin-bottom: 2px; }
.calc__row { display: flex; align-items: center; gap: 12px; }
.calc__amount {
  flex: 1;
  border: 0;
  outline: 0;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--ink);
  width: 100%;
  background: transparent;
  letter-spacing: -.01em;
}
.calc__amount:read-only { color: var(--navy); }

.ccy-select {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 8px 12px;
  flex: none;
}
.ccy-select .flag { width: 22px; height: 22px; }

/* Botón que abre el menú (reemplaza al <select> nativo, que en móvil no
   puede mostrar banderas dentro de sus opciones). */
.ccy-select__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  font-size: .92rem;
  color: var(--ink);
  padding: 0;
  cursor: pointer;
}
.ccy-select__btn .chev-sm {
  width: 7px; height: 7px;
  border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  transform: rotate(45deg);
  flex: none;
  transition: transform .15s;
}
.ccy-select__btn[aria-expanded="true"] .chev-sm { transform: rotate(-135deg); }

/* Menú desplegable con banderas */
.ccy-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 168px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 6px;
  z-index: 30;
}
.ccy-menu[hidden] { display: none; }
.ccy-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 9px 10px;
  border-radius: 11px;
  font: inherit;
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.ccy-option .flag { width: 22px; height: 22px; }
.ccy-option:hover { background: var(--paper); }
.ccy-option[aria-selected="true"] { background: #EAF1FF; color: var(--navy-700); font-weight: 700; }

.calc__swap {
  display: flex;
  justify-content: center;
  margin: -6px 0;
  position: relative;
  z-index: 2;
}
.calc__swap button {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  transition: transform .2s;
}
.calc__swap button:hover { transform: rotate(180deg); }

.calc__rate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: max-content;
  max-width: 100%;
  margin: 12px auto 4px;
  padding: 6px 15px;
  font-size: .9rem;
  font-weight: 600;
  color: #15803D;
  background: #E7F6EC;
  border: 1px solid #BBE6C7;
  border-radius: var(--radius-pill);
  cursor: help;
}
.calc__rate strong { font-weight: 800; }
.calc__rate svg { flex: none; opacity: .8; }

.calc__breakdown { margin: 8px 0 18px; font-size: .88rem; }
.calc__breakdown div { display: flex; justify-content: space-between; padding: 5px 2px; color: var(--ink-soft); }
.calc__breakdown div strong { color: var(--ink); }
.calc__breakdown div + div { border-top: 1px dashed var(--line); }

.calc__method {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  color: var(--ink-soft);
  margin-top: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.chip {
  font-weight: 700;
  font-size: .78rem;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--paper-2);
  color: var(--navy-700);
}

/* ---------- Store badges ---------- */
.stores { margin-top: 22px; text-align: center; }
.stores p { font-size: .8rem; color: var(--ink-mute); margin-bottom: 10px; letter-spacing: .04em; }
.stores__row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.store-badge {
  width: 150px;
  height: 48px;
  border: 1.5px dashed var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink-mute);
  background: var(--paper);
}
.store-badge svg { width: 20px; height: 20px; opacity: .5; }

/* ---------- Feature strip ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.feature__icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: #EAF1FF;
  color: var(--navy);
  margin-bottom: 14px;
}
.feature h3 { font-size: 1.02rem; text-transform: none; margin-bottom: 2px; }
.feature p { font-size: .88rem; color: var(--ink-mute); margin: 0; }

/* ---------- Country / corridor cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.country-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.country-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.country-card__flags { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.country-card__flags .flag { width: 34px; height: 34px; }
.country-card__flags .arrow { color: var(--ink-mute); }
.country-card h3 { font-size: 1.15rem; text-transform: none; }
.country-card p { font-size: .92rem; color: var(--ink-soft); }
.country-card .rate-line {
  font-size: .86rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--paper);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  display: inline-block;
  margin-bottom: 12px;
}
.country-card a.link-arrow { font-weight: 700; color: var(--red); display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Rate cards (estilo fichas) ---------- */
.rate-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.rate-fiche {
  background: linear-gradient(160deg, #0A337B, #071F4D);
  border: 2px solid var(--yellow);
  border-radius: var(--radius-lg);
  padding: 26px;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}
.rate-fiche .flag { width: 58px; height: 58px; margin: 0 auto 14px; border: 3px solid rgba(255,255,255,.15); }
.rate-fiche h3 { text-transform: uppercase; font-size: 1.05rem; margin-bottom: 2px; }
.rate-fiche .ccy { color: var(--yellow); font-weight: 700; letter-spacing: .05em; }
.rate-fiche .big { font-size: 2.6rem; font-weight: 800; line-height: 1; margin-top: 6px; }
.rate-fiche .eq { font-size: .8rem; color: rgba(255,255,255,.72); margin-top: 10px; line-height: 1.4; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px 24px;
  box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -18px; left: 24px;
  width: 40px; height: 40px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  border-radius: 12px;
  display: grid; place-items: center;
  box-shadow: 0 8px 18px rgba(228,0,43,.28);
}
.step h3 { font-size: 1.05rem; text-transform: none; margin-top: 8px; }
.step p { font-size: .9rem; color: var(--ink-soft); margin: 0; }

/* ---------- Security ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.trust-item { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 26px; }
.trust-item .feature__icon { background: rgba(245,197,24,.16); color: var(--yellow); }
.trust-item h3 { font-size: 1.05rem; text-transform: none; color: #fff; }
.trust-item p { font-size: .9rem; color: rgba(255,255,255,.75); margin: 0; }

/* ---------- Chat illustration ---------- */
.chat-demo { display: flex; flex-direction: column; gap: 12px; max-width: 420px; }
.bubble {
  padding: 13px 17px;
  border-radius: 18px;
  font-size: .95rem;
  max-width: 85%;
  box-shadow: var(--shadow-sm);
}
.bubble--in { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.bubble--out { background: var(--navy); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.bubble small { display: block; font-weight: 700; font-size: .72rem; opacity: .7; margin-bottom: 2px; }

/* ---------- Reviews ---------- */
.reviews-viewport { overflow: hidden; }
.reviews-track {
  display: flex;
  gap: 22px;
  transition: transform .5s var(--ease);
}
.review {
  flex: 0 0 clamp(280px, 32%, 380px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.review .stars { color: var(--yellow); font-size: 1rem; letter-spacing: 2px; margin-bottom: 10px; }
.review p { font-size: .96rem; color: var(--ink-soft); flex: 1; }
.review__author { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.review__avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  overflow: hidden;
  flex: none;
}
.review__avatar img { width: 100%; height: 100%; object-fit: cover; }
.review__author strong { display: block; font-size: .92rem; }
.review__author span { font-size: .8rem; color: var(--ink-mute); }
.reviews-nav { display: flex; gap: 10px; justify-content: center; margin-top: 28px; }
.reviews-nav button {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--navy);
  display: grid; place-items: center;
  transition: background .15s, color .15s;
}
.reviews-nav button:hover { background: var(--navy); color: #fff; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__cats { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.faq__cats button {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line);
  background: #fff;
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink-soft);
}
.faq__cats button[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 22px 44px 22px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  position: relative;
}
.faq__q::after {
  content: "+";
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--red);
  transition: transform .2s;
}
.faq__item.is-open .faq__q::after { transform: translateY(-50%) rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq__a-inner { padding: 0 0 22px; color: var(--ink-soft); font-size: .98rem; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .btn { margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); font-size: .92rem; }
.site-footer a:hover { color: #fff; }
.footer-top { padding: clamp(48px, 7vw, 80px) 0 40px; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
.footer-brand .brand__name { color: #fff; }
.footer-brand p { margin-top: 14px; max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col li + li { margin-top: 9px; }
.footer-countries { border-top: 1px solid rgba(255,255,255,.1); padding: 26px 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-countries a { font-size: .86rem; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); padding: 26px 0 44px; font-size: .8rem; color: rgba(255,255,255,.5); }
.footer-legal .row { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; }
.footer-social a:hover { background: rgba(255,255,255,.1); }

/* ---------- Flags (SVG genéricos redondos) ---------- */
.flag { border-radius: 50%; overflow: hidden; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }

/* ---------- Página "Enviar dinero": rutas + calculadora ---------- */
.send-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
}
.send-layout__calc { position: sticky; top: 96px; }

@media (max-width: 900px) {
  .send-layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  /* En móvil la calculadora va primero, luego las rutas */
  .send-layout__calc { position: static; order: 1; }
  .send-layout__routes { order: 2; }
}

/* ---------- Checkout (enviar dinero, pasos) ---------- */
.checkout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}
.checkout__aside { position: sticky; top: 96px; }

.step-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 26px;
}
.step-panel + .step-panel { margin-top: 18px; }
.step-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.step-badge {
  width: 34px; height: 34px; flex: none;
  border-radius: 11px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  display: grid; place-items: center;
}
.step-head h2 { font-size: 1.15rem; text-transform: none; margin: 2px 0 2px; }
.step-head p { font-size: .9rem; color: var(--ink-mute); margin: 0; }
.step-actions { display: flex; gap: 10px; margin-top: 20px; }
.step-actions .btn { flex: 1; }

/* la calculadora dentro del checkout no necesita su propio botón ni borde */
.checkout .calc { border: 0; box-shadow: none; padding: 0; }
.checkout .calc [data-calc-cta],
.checkout .calc [data-role="method"] { display: none; }

.ruta-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.ruta-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line);
  background: #fff;
  font: inherit;
  font-weight: 600;
  font-size: .88rem;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
}
.ruta-chip img { width: 20px; height: 20px; border-radius: 50%; flex: none; }
.ruta-chip span { color: var(--ink-mute); }
.ruta-chip:hover { border-color: var(--navy); }
.ruta-chip.is-active { background: #EAF1FF; border-color: var(--navy); color: var(--navy-700); }

.pay-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.pay-method {
  position: relative;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .12s;
  background: #fff;
}
.pay-method__flag { position: absolute; top: 9px; right: 9px; line-height: 0; }
.pay-method__flag img { width: 20px !important; height: 20px !important; border-radius: 50%; box-shadow: 0 0 0 2px #fff; }
.pay-method:hover { transform: translateY(-2px); }
.pay-method.is-active { border-color: var(--navy); background: #EAF1FF; }
.pay-method__logo {
  height: 52px; width: 100%;
  object-fit: contain;
  margin-bottom: 10px;
}
.pay-method__logo[src*="nequi"] { height: 62px; }
.pay-method__name { font-weight: 700; font-size: .95rem; }

.pay-box {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}
.pay-box__method { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.pay-box__method img { height: 30px; }
.pay-box__method strong { font-size: 1.05rem; }
.pay-box__row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: .92rem; border-top: 1px dashed var(--line); }
.pay-box__row:first-of-type { border-top: 0; }
.pay-box__row span { color: var(--ink-soft); }
.pay-box__row strong { text-align: right; word-break: break-word; }
.pay-box__amount {
  margin-top: 14px;
  border: 2px dashed var(--red);
  border-radius: var(--radius);
  background: #FCEBED;
  text-align: center;
  padding: 14px;
}
.pay-box__amount small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red-600); }
.pay-box__amount b { display: block; font-size: 1.9rem; color: var(--red-600); line-height: 1.1; }
.pay-box__amount i { font-style: normal; font-size: .82rem; color: var(--ink-soft); }
.pay-box__note {
  margin-top: 12px;
  background: #FEF7CC;
  border: 1px solid var(--yellow);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: .85rem;
  color: #6b5600;
}

.pay-form label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink-soft); margin: 14px 0 5px; }
.pay-form input, .pay-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font: inherit;
  font-size: 1rem;
  outline: 0;
  background: #fff;
}
.pay-form input:focus, .pay-form textarea:focus { border-color: var(--navy); }
.pay-form .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-drop {
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 26px 16px;
  text-align: center;
  color: var(--ink-mute);
  font-size: .9rem;
  cursor: pointer;
  background: var(--paper);
}
.pay-drop.has-file { border-color: #16A34A; color: #15803D; background: #ECFDF3; font-weight: 600; }
.pay-drop input { display: none; }
.pay-form__msg { margin-top: 12px; font-size: .88rem; font-weight: 600; }
.pay-form__msg.err { color: var(--red-600); }

.checkout-done { text-align: center; padding: 20px 0; }
.checkout-done__check {
  width: 66px; height: 66px; margin: 0 auto 16px;
  border-radius: 50%;
  background: #16A34A;
  color: #fff;
  display: grid; place-items: center;
}
.checkout-done h2 { text-transform: none; font-size: 1.4rem; }
.checkout-done .ref {
  display: inline-block;
  margin: 8px 0 6px;
  font-weight: 800;
  letter-spacing: .06em;
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 8px 16px;
}

/* Resumen lateral */
.summary {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 22px;
}
.summary h3 { font-size: 1rem; text-transform: none; margin-bottom: 14px; }
.summary__row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: .92rem; color: var(--ink-soft); }
.summary__row strong { color: var(--ink); text-align: right; }
.summary__total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-size: 1.05rem; }
.summary__total strong { color: var(--navy); font-size: 1.15rem; }
.summary__pill {
  margin-top: 14px;
  background: #EAF1FF;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: .82rem;
  color: var(--navy-700);
  font-weight: 600;
}

@media (max-width: 900px) {
  .checkout { grid-template-columns: 1fr; gap: 22px; }
  .checkout__aside { position: static; order: -1; }
  .pay-form .grid2 { grid-template-columns: 1fr; }
}

/* ---------- Page hero (interiores) ---------- */
.page-hero { background: var(--paper); padding: clamp(48px, 7vw, 88px) 0; text-align: center; }
.page-hero .lead { margin-inline: auto; }
.breadcrumb { font-size: .82rem; color: var(--ink-mute); margin-bottom: 12px; }
.breadcrumb a:hover { color: var(--navy); }

/* ---------- Utilidades ---------- */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { margin-top: 1.6em; font-size: 1.4rem; text-transform: none; }
.prose h3 { margin-top: 1.4em; font-size: 1.1rem; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.note {
  background: #FEF4CF;
  border: 1px solid var(--yellow);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: .9rem;
  color: #6b5600;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 940px) {
  .main-nav {
    position: fixed;
    inset: 74px 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 16px var(--gutter) 28px;
    transform: translateY(-120%);
    transition: transform .28s var(--ease);
    box-shadow: var(--shadow);
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }
  body.nav-open .main-nav { transform: translateY(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a.nav-link, .main-nav button.nav-link { width: 100%; justify-content: space-between; font-size: 1.05rem; padding: 14px 12px; }
  .mega {
    position: static;
    transform: none;
    width: 100%;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 4px 0 12px 12px;
    grid-template-columns: 1fr;
    gap: 14px;
    display: none;
  }
  .has-mega.is-open .mega { display: grid; }
  .audience-toggle { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }
  .header-actions .btn--mobile-keep { display: inline-flex; padding: 10px 18px; font-size: .9rem; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .features { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .reviews-nav { margin-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
