/* ===========================================================================
   app/pages/public/tour.css — the public "Cómo funciona" walkthrough (/tour).

   Requires landing-kit.css to be linked FIRST (see tour.html head_extra):
   the page hero, phone, story board, steps and CTA band all come from the
   kit. This file adds only what is specific to /tour — the roles grid, the
   step detail lists, three extra phone screens and the hand-off band to the
   full manual.

   Mobile-first: default rules are the phone.
   =========================================================================== */

/* ——— Light sections ——— */
.tour-sec {
  background: var(--color-bg);
  padding: 3.5rem 0;
}
.tour-sec--alt { background: var(--color-surface-alt); }

/* ——— Los tres roles ——— */
.tour-roles {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
.tour-role {
  padding: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--land-line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.tour-role__icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  margin-bottom: 0.75rem;
  border-radius: 12px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
}
.tour-role__icon .fas { font-size: 1.05rem; }
.tour-role h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}
.tour-role p {
  margin: 0;
  color: var(--land-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ——— Step detail lists (inside the dark story board) ——— */
.tour-list {
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}
.tour-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--land-dark-dim);
  font-size: 0.9rem;
  line-height: 1.5;
}
.tour-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px; height: 5px;
  border-radius: 999px;
  background: var(--color-accent);
}
.tour-list strong { color: #cbd5e1; font-weight: 650; }

/* ——— Extra phone screens used only on /tour ——— */
.mock-amount {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--land-ink);
}
.mock-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.mock-chips span {
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--land-muted);
}
.mock-chips span.on {
  background: var(--color-primary);
  border-color: transparent;
  color: #fff;
}
.mock-denom {
  display: grid;
  gap: 5px;
}
.mock-denom span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 7px 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.68rem;
  color: var(--land-muted);
  min-width: 0;
}
.mock-denom strong { color: var(--land-ink); }
.mock-denom em {
  font-style: normal;
  font-weight: 700;
  color: var(--land-muted);
}

/* The hand-off band to the full in-app manual uses the kit's .land-band. */

/* ===========================================================================
   TABLET / DESKTOP
   =========================================================================== */
@media (min-width: 600px) {
  .tour-roles { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}

@media (min-width: 900px) {
  .tour-sec { padding: 4.5rem 0; }
  .tour-role { padding: 1.5rem; }
}

/* ===========================================================================
   MOBILE POLISH (< 768px)
   =========================================================================== */
@media (max-width: 767px) {
  .tour-sec { padding: 2.5rem 0; }
  .tour-roles { padding-inline: 1rem; }

  .tour-list li { font-size: 0.86rem; }
}
