/* ==========================================================================
   Quimex USA - estilos de la página de pagos internacionales.
   Reutiliza las variables, la navegación y el pie de styles.css.
   ========================================================================== */

.intl {
  background:
    radial-gradient(44% 48% at 12% 10%, rgba(76, 149, 220, 0.22), transparent 70%),
    radial-gradient(42% 48% at 88% 92%, rgba(41, 98, 165, 0.26), transparent 72%),
    linear-gradient(170deg, #0e2842 0%, #122f4c 45%, #0c1d33 100%);
  color: #e9f1f9;
}

.intl__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.intl__inner--angosto { max-width: 760px; }

.intl h2 {
  color: #f4f8fc;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 0.9rem;
}

.intl h3 { color: #f4f8fc; }

/* ---------- Encabezado ---------- */

.intl__head { padding: 4rem 0 2.5rem; }

.intl__head h1 {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  font-weight: 800;
  color: #f4f8fc;
  max-width: 20ch;
}

.intl__lead {
  margin-top: 1.1rem;
  max-width: 56ch;
  font-size: 1.05rem;
  color: #b9cde0;
}

/* ---------- Banner de pruebas ---------- */

.demo {
  margin-top: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  background: rgba(232, 160, 12, 0.12);
  border: 1px dashed rgba(240, 180, 60, 0.6);
}

.demo__tag {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #0e2842;
  background: #f0b43c;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
}

.demo p {
  font-size: 0.88rem;
  color: #f2dcae;
}

/* ---------- Secciones ---------- */

.intl__section { padding: 3.5rem 0; }

.intl__section--alt { background: rgba(6, 19, 34, 0.42); }

.intl__nota {
  margin-bottom: 1.8rem;
  max-width: 62ch;
  color: #b9cde0;
  font-size: 0.95rem;
}

.intl__pie-tabla {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: #8ea7c0;
}

/* ---------- Tarjetas de método ---------- */

.metodos {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.metodo {
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  border-radius: 14px;
  background: rgba(12, 32, 54, 0.66);
  border: 1px solid rgba(140, 182, 224, 0.26);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.metodo:hover {
  transform: translateY(-3px);
  border-color: rgba(140, 182, 224, 0.5);
}

.metodo__icono,
.metodo__logo {
  width: 46px;
  height: 46px;
  margin-bottom: 0.9rem;
}

.metodo__icono {
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(140, 182, 224, 0.14);
  color: #bcd6ef;
}

.metodo__logo {
  padding: 9px;
  border-radius: 12px;
  background: #ffffff;
  object-fit: contain;
}

.metodo h3 { font-size: 1.02rem; }

.metodo > p {
  margin-top: 0.4rem;
  font-size: 0.89rem;
  color: #a9c1d8;
}

.metodo__datos {
  margin: 1.1rem 0 1.2rem;
  display: grid;
  gap: 0.45rem;
  font-size: 0.84rem;
  border-top: 1px solid rgba(140, 182, 224, 0.18);
  padding-top: 0.9rem;
}

.metodo__datos > div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.metodo__datos dt {
  color: #8ea7c0;
  white-space: nowrap;
}

.metodo__datos dd {
  margin: 0;
  color: #dbe8f4;
  font-weight: 600;
  text-align: right;
}

.metodo__link {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.86rem;
  font-weight: 600;
  color: #ff9d97;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 157, 151, 0.4);
  padding-bottom: 1px;
}

.metodo__link:hover { color: #ffffff; border-color: #ffffff; }

/* ---------- Pasos ---------- */

.pasos {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.paso {
  padding: 1.3rem;
  border-radius: 14px;
  background: rgba(12, 32, 54, 0.5);
  border: 1px solid rgba(140, 182, 224, 0.2);
}

.paso__num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.02rem;
}

.paso h3 { font-size: 0.98rem; }

.paso p {
  margin-top: 0.35rem;
  font-size: 0.86rem;
  color: #a9c1d8;
}

/* ---------- Fichas de datos ---------- */

.ficha {
  border-radius: 14px;
  background: rgba(9, 26, 44, 0.72);
  border: 1px solid rgba(140, 182, 224, 0.28);
  overflow: hidden;
}

.ficha__cabecera {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.3rem;
  background: rgba(140, 182, 224, 0.1);
  border-bottom: 1px solid rgba(140, 182, 224, 0.22);
}

.ficha__cabecera img {
  background: #ffffff;
  border-radius: 7px;
  padding: 4px;
  box-sizing: content-box;
}

.ficha__titulo {
  font-weight: 700;
  color: #f4f8fc;
}

.ficha__demo {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #0e2842;
  background: #f0b43c;
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
}

.ficha__datos { margin: 0; padding: 0.4rem 1.3rem 1.1rem; }

.fila {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(140, 182, 224, 0.14);
}

.fila:last-child { border-bottom: none; }

.fila dt {
  font-size: 0.8rem;
  color: #8ea7c0;
}

.fila dd {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  font-weight: 600;
  color: #f4f8fc;
  font-size: 0.95rem;
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.mono--larga {
  font-size: 0.82rem;
  word-break: break-all;
}

.copiar {
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  color: #dbe8f4;
  background: rgba(140, 182, 224, 0.16);
  border: 1px solid rgba(140, 182, 224, 0.35);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.copiar:hover { background: rgba(140, 182, 224, 0.32); }

.copiar.ok {
  background: rgba(35, 160, 92, 0.26);
  border-color: rgba(74, 200, 133, 0.5);
  color: #8fe3b3;
}

.cripto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

/* ---------- Tabla comparativa ---------- */

.tabla-caja {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid rgba(140, 182, 224, 0.26);
}

.tabla {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 680px;
}

.tabla th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #8ea7c0;
  font-weight: 500;
  padding: 0.9rem 1.1rem;
  background: rgba(140, 182, 224, 0.1);
  white-space: nowrap;
}

.tabla td {
  padding: 0.9rem 1.1rem;
  color: #dbe8f4;
  border-top: 1px solid rgba(140, 182, 224, 0.14);
}

.tabla tbody tr:hover { background: rgba(140, 182, 224, 0.06); }

.tabla td:first-child { font-weight: 600; color: #f4f8fc; }

/* ---------- Preguntas ---------- */

.faq { display: grid; gap: 0.7rem; }

.faq__item {
  border-radius: 12px;
  background: rgba(12, 32, 54, 0.56);
  border: 1px solid rgba(140, 182, 224, 0.22);
  padding: 0 1.2rem;
}

.faq__item summary {
  cursor: pointer;
  padding: 1rem 0;
  font-weight: 600;
  color: #f4f8fc;
  font-size: 0.96rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: #8ea7c0;
  line-height: 1;
}

.faq__item[open] summary::after { content: "–"; }

.faq__item p {
  padding: 0 0 1.1rem;
  font-size: 0.9rem;
  color: #a9c1d8;
  max-width: 62ch;
}

/* ---------- Cierre ---------- */

.intl__cta {
  padding: 3.5rem 0 4.5rem;
  text-align: center;
  border-top: 1px solid rgba(140, 182, 224, 0.2);
}

.intl__cta p {
  margin-top: 0.6rem;
  color: #b9cde0;
}

.intl__botones {
  margin-top: 1.8rem;
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

.intl__cta .btn--ghost { color: #dbe8f4; border-color: rgba(140, 182, 224, 0.4); }
.intl__cta .btn--ghost:hover { border-color: #dbe8f4; }

/* ---------- Enlace activo en la navegación ---------- */

.nav__links a.is-current { color: var(--accent); font-weight: 600; }

/* ---------- Adaptación a pantallas pequeñas ---------- */

@media (max-width: 960px) {
  .metodos { grid-template-columns: repeat(2, 1fr); }
  .pasos { grid-template-columns: repeat(2, 1fr); }
  .cripto { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .intl__head { padding-top: 2.5rem; }
  .metodos,
  .pasos { grid-template-columns: 1fr; }
  .fila { grid-template-columns: 1fr; gap: 0.3rem; }
  .ficha__datos { padding-inline: 1.1rem; }
  .demo { flex-direction: column; gap: 0.6rem; }
}

/* ---------- Número para pagos desde el exterior ---------- */

.numero-pago {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding: 1.4rem 1.6rem;
  border-radius: 14px;
  background: rgba(210, 31, 40, 0.12);
  border: 1px solid rgba(242, 67, 76, 0.42);
  border-left: 4px solid var(--accent);
}

.numero-pago__texto { flex: 1 1 320px; }

.numero-pago__etiqueta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffb3ad;
}

.numero-pago__valor {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.numero-pago__valor .mono {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.03em;
}

.numero-pago__nota {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: #d7c0bf;
  max-width: 52ch;
}

.numero-pago__wa {
  flex-shrink: 0;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
  background: #25d366;
  border-radius: 999px;
  padding: 0.7rem 1.3rem;
  transition: background 0.18s ease, transform 0.18s ease;
}

.numero-pago__wa:hover { background: #1fbe5b; transform: translateY(-1px); }

@media (max-width: 620px) {
  .numero-pago { padding: 1.2rem; }
  .numero-pago__wa { width: 100%; text-align: center; }
}

/* Enlace para solicitar la dirección de la billetera. */
.pedir-wallet {
  font-size: 0.88rem;
  font-weight: 600;
  color: #25d366;
  text-decoration: none;
  border-bottom: 1px solid rgba(37, 211, 102, 0.45);
  padding-bottom: 1px;
}

.pedir-wallet:hover { color: #ffffff; border-color: #ffffff; }
