/* Yachay: home · Franco, recorrido. Espejo de la banda Proceso: texto a la izquierda, foto a sangre a la derecha. */
.recorrido {
  --band-bg: #1f1b19;
  --band-fg: #f1eee6;
  --band-muted: #bdb8ad;
  background: var(--band-bg);
  color: var(--band-fg);
  display: grid;
  grid-template-columns: minmax(var(--gutter), 1fr) minmax(0, calc(var(--container) / 2)) minmax(0, calc(var(--container) / 2)) minmax(var(--gutter), 1fr);
}
:root[data-theme="dark"] .recorrido { --band-bg: #e7e4dc; --band-fg: #242321; --band-muted: #4d4b45; }

.recorrido__text {
  grid-column: 2 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  padding: var(--section-y) clamp(2rem, 5vw, 5rem) var(--section-y) 0;
}
.recorrido .recorrido__eyebrow { margin: 0; color: var(--band-muted); }
.recorrido__title {
  margin: 0;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.2rem + 2.2vw, 2.75rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.01em;
  text-wrap: balance;
  color: var(--band-fg);
}
.recorrido__text p:not(.eyebrow) {
  margin: 0;
  max-width: 30rem;
  color: var(--band-muted);
  font-size: .9375rem;
  font-weight: 300;
  line-height: var(--lh-body);
}
.recorrido__text .recorrido__more { margin-top: .5rem; }
.recorrido .cta-link { color: var(--band-fg); }

.recorrido__media { grid-column: 3 / 5; position: relative; margin: 0; min-height: 0; aspect-ratio: 4 / 3; max-height: 50rem; }
.recorrido__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 60%;
}

@media (max-width: 56rem) {
  .recorrido { grid-template-columns: 1fr; }
  .recorrido__media { grid-column: 1; order: -1; min-height: 0; aspect-ratio: 4 / 3; }
  .recorrido__text { grid-column: 1; padding: 3rem var(--gutter); }
}

@media (max-width: 40rem) {
  /* Foto mas alta en movil (5:4): recorte solo lateral, cielo y picos intactos. */
  .recorrido__media { aspect-ratio: 5 / 4; }
  /* Cada seccion ocupa al menos una pantalla; el texto absorbe el sobrante. */
  .recorrido { min-height: calc(100svh - var(--header-h, 73px) + 1px); grid-template-rows: auto 1fr; }
  .recorrido__text { justify-content: flex-start; padding: 2.25rem var(--gutter) 5rem; }
}
