/* Garantía y métodos de pago. From the Garantia design.
   Reuses .reveal / .js-reveal from how-it-works.css and js/reveal.js. */

.guarantee {
  background: var(--surface);
  color: var(--on-surface);
  padding-block: 48px 44px;
  scroll-margin-top: calc(var(--header-h) + var(--space-4));
}

.guarantee__intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.guarantee__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-lime);
}
.guarantee__eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: currentColor;
}

.guarantee__title {
  font-size: var(--text-display);
  font-weight: var(--fw-bold);
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

.guarantee__lead {
  font-size: var(--text-body);
  line-height: 1.55;
  color: var(--on-surface-muted);
}

/* Part 1 — La garantía. The focal card, the 100% is the biggest figure in the
   section. Sky-tinted background with a lime left-edge accent — the same
   "featured" treatment as .benefits__card--featured and .compare__cell--ours
   elsewhere on the page. Was lime at 10% opacity, which reads as a muddy
   olive over the dark forest instead of a clean glow (Andrés's feedback,
   2026-09-24) — lime stays only in the small, focal elements (the "100%"
   figure, the eyebrow, the divider line), never as a large diluted fill. */
.guarantee__card {
  margin-top: 30px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgb(157 196 213 / 0.12);
  border: 1px solid rgb(157 196 213 / 0.32);
  border-left: 3px solid var(--color-lime);
  border-radius: var(--radius-lg);
}

.guarantee__card-eyebrow {
  font-size: 0.8125rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-lime);
}

.guarantee__figure {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.guarantee__figure-num {
  font-size: 4.75rem;
  line-height: 0.86;
  font-weight: var(--fw-extralight);
  letter-spacing: -0.04em;
  color: var(--color-lime);
}
.guarantee__figure-label {
  font-size: 1.375rem;
  font-weight: var(--fw-light);
  color: var(--color-white);
}

.guarantee__card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid rgb(224 222 44 / 0.3);
}
.guarantee__card-line {
  font-size: 1.125rem;
  line-height: 1.45;
  font-weight: var(--fw-medium);
  color: var(--color-white);
}
.guarantee__card-note {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--on-surface-muted);
}

/* Part 2 — Cómo pagas. A simple list, not styled like the pricing cards. */
.guarantee__pay {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.guarantee__pay-eyebrow {
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.72);
}

.guarantee__pay-list {
  display: flex;
  flex-direction: column;
}

.guarantee__pay-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-top: 18px;
  border-top: 1px solid rgb(255 255 255 / 0.18);
}
.guarantee__pay-item + .guarantee__pay-item { margin-top: 18px; }
/* Stagger the reveal; timing math lives in the shared rule in how-it-works.css. */
.guarantee__pay-item:nth-child(2) { --reveal-i: 1; }
.guarantee__pay-item:nth-child(3) { --reveal-i: 2; }
.guarantee__pay-item:nth-child(4) { --reveal-i: 3; }

.guarantee__pay-num {
  flex: none;
  width: 32px;
  font-size: 1.625rem;
  line-height: 1.1;
  font-weight: var(--fw-extralight);
  color: rgb(255 255 255 / 0.62);
}
/* The last method (Binance Pay / USDT) keeps the same visual weight as the others —
   it is genuinely accepted, just not the preferred one, so nothing marks it as special. */

.guarantee__pay-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.guarantee__pay-name {
  font-size: 1.1875rem;
  font-weight: var(--fw-bold);
  color: var(--color-white);
}
.guarantee__pay-desc {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--on-surface-muted);
}

.guarantee__close {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 0.18);
  font-size: 1.3125rem;
  font-weight: var(--fw-light);
  line-height: 1.35;
}

/* DESKTOP: guarantee as a wide banner, payment methods in a 2-column grid below
   (2×2 for four methods — the export's own 1fr/1fr grid, which wraps naturally). */
@media (min-width: 900px) {
  .guarantee { padding-block: 88px; }

  .guarantee__intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: end;
  }
  .guarantee__title { line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
  .guarantee__lead { max-width: 50ch; margin-bottom: 6px; font-size: 1.1875rem; line-height: 1.6; }

  .guarantee__card {
    margin-top: 56px;
    padding: 48px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px 56px;
    align-items: center;
  }
  /* Without an explicit column span, grid auto-placement put the eyebrow in
     row 1 col 1, the figure in row 1 col 2, and the card body alone in row 2
     col 1 — three unrelated corners instead of "label on top, number and
     text side by side below" (Andrés's feedback, 2026-09-24: no shared
     axis). Spanning both columns puts the eyebrow on its own row, and the
     figure + card body fall into a clean row below it. */
  .guarantee__card-eyebrow { grid-column: 1 / -1; margin-bottom: 2px; }
  .guarantee__figure-num { font-size: 8.5rem; line-height: 0.84; letter-spacing: -0.045em; }
  .guarantee__figure-label { font-size: 1.75rem; }
  .guarantee__card-body {
    padding-top: 0;
    padding-left: 56px;
    border-top: none;
    border-left: 1px solid rgb(224 222 44 / 0.3);
  }
  .guarantee__card-line { font-size: 1.625rem; line-height: 1.3; max-width: 30ch; }
  .guarantee__card-note { font-size: 1.0625rem; line-height: 1.55; max-width: 42ch; }

  .guarantee__pay { margin-top: 48px; gap: 20px; }
  .guarantee__pay-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .guarantee__pay-item { padding-top: 24px; }
  .guarantee__pay-item + .guarantee__pay-item { margin-top: 0; }
  .guarantee__pay-num { width: 46px; font-size: 2.125rem; }
  .guarantee__pay-name { font-size: 1.5rem; }
  .guarantee__pay-desc { font-size: 1.0625rem; line-height: 1.55; max-width: 40ch; }

  .guarantee__close { margin-top: var(--space-16); padding-top: 32px; font-size: 1.875rem; }
}
