/* ── Tour del portal (/guia) ───────────────────────────────────────── */
.tour-page {
  max-width: 860px;
  margin: 0 auto 4rem;
  padding: 0 1rem;
}

/* Hero */
.tour-hero {
  text-align: center;
  padding: 3rem 1rem 2.5rem;
  border-bottom: 2px solid var(--gray-light);
  margin-bottom: 3rem;
}
.tour-hero__eyebrow {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--aqua);
  margin: 0 0 .75rem;
}
.tour-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--blue-deep);
  margin: 0 0 1rem;
  line-height: 1.1;
}
.tour-hero__lead {
  color: var(--gray);
  font-size: 1.07rem;
  max-width: 580px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

/* Stats row */
.tour-hero__stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.tour-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
}
.tour-stat__num {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--blue-deep);
  line-height: 1;
}
.tour-stat__label {
  font-size: .78rem;
  color: var(--gray);
  font-weight: 500;
}

/* ToC */
.tour-toc {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .6rem;
  justify-content: center;
  align-items: center;
  font-size: .82rem;
}
.tour-toc__label {
  font-weight: 700;
  color: var(--blue-deep);
  margin-right: .2rem;
}
.tour-toc a {
  color: var(--aqua);
  text-decoration: none;
  font-weight: 500;
  transition: color .15s;
}
.tour-toc a:hover { color: var(--coral); }
.tour-toc a::after { content: '·'; margin-left: .6rem; color: var(--gray-light); }
.tour-toc a:last-child::after { content: ''; }

/* Sections */
.tour-sections {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.tour-section {
  display: grid;
  grid-template-columns: 2.5rem 4rem 1fr;
  gap: 0 1.25rem;
  align-items: start;
  padding: 2.5rem 1.5rem;
  border-radius: 16px;
  margin-bottom: .5rem;
}
.tour-section--alt {
  background: var(--off-white, #f8fafc);
}
.tour-section__num {
  font-size: 2.5rem;
  font-weight: 900;
  color: #e2e8f0;
  line-height: 1;
  padding-top: .1rem;
  font-variant-numeric: tabular-nums;
}
.tour-section__icon-wrap {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tour-section__icon-wrap svg {
  width: 26px;
  height: 26px;
  color: var(--blue-deep);
}
.tour-section__body {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.tour-section__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--blue-deep);
  margin: 0;
  line-height: 1.25;
}
.tour-section__text {
  color: var(--gray);
  font-size: .95rem;
  margin: 0;
  line-height: 1.65;
}
.tour-section__text strong { color: var(--blue-deep); }
.tour-section__text em { font-style: italic; }
.tour-section__text code {
  font-family: monospace;
  font-size: .85em;
  background: #f1f5f9;
  padding: .1rem .35rem;
  border-radius: 4px;
}

/* Chips */
.tour-section__chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .2rem;
}
.tour-chip {
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem .7rem;
  background: #fff;
  border: 1.5px solid #cbd5e1;
  border-radius: 999px;
  color: var(--blue-deep);
  line-height: 1.3;
}
.tour-section--alt .tour-chip { background: #fff; }

/* CTAs inside sections */
.tour-section__cta {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--coral);
  text-decoration: none;
  transition: gap .15s;
  margin-top: .25rem;
}
.tour-section__cta:hover { gap: .55rem; }

/* Final CTA block */
.tour-final {
  margin-top: 3rem;
  text-align: center;
  background: linear-gradient(135deg, var(--blue-deep) 0%, #1e4d8c 100%);
  border-radius: 20px;
  padding: 3rem 2rem;
  color: #fff;
}
.tour-final__title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin: 0 0 .75rem;
  color: #fff;
}
.tour-final__text {
  font-size: 1rem;
  opacity: .85;
  max-width: 480px;
  margin: 0 auto 1.75rem;
  line-height: 1.6;
}
.tour-final__btns {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.tour-final__btns .btn {
  border-color: rgba(255,255,255,.4);
  color: #fff;
}
.tour-final__btns .btn:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
}
.tour-final__btns .btn-primary {
  background: var(--coral);
  border-color: var(--coral);
}

/* Responsive */
@media (max-width: 640px) {
  .tour-section {
    grid-template-columns: 2rem 1fr;
    grid-template-rows: auto auto;
    gap: .75rem 1rem;
    padding: 1.75rem 1rem;
  }
  .tour-section__num {
    font-size: 1.6rem;
    grid-row: 1;
    grid-column: 1;
    align-self: center;
  }
  .tour-section__icon-wrap {
    grid-row: 1;
    grid-column: 2;
    width: 44px;
    height: 44px;
    justify-self: start;
  }
  .tour-section__body {
    grid-row: 2;
    grid-column: 1 / 3;
  }
  .tour-hero__stats { gap: 1.25rem; }
  .tour-stat__num { font-size: 1.5rem; }
}
