/* ==========================================================================
   MY TOUR EC — Página TESTIMONIALS (/testimonials/)
   Prefijo de clases: .tst-
   Reutiliza el sistema de diseño global (app.css): variables, .section,
   .wrap, .band--*, .eyebrow, .hairline, .btn, .reveal, .lmq (marquee logos).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1) Barra de navegación interna, justo debajo del hero
   -------------------------------------------------------------------------- */
.tst-jump {
  background: var(--slate-ink);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.tst-jump__inner {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .4rem clamp(1.2rem, 3.4vw, 3.2rem);
  max-width: 1180px; margin: 0 auto;
  padding: 1.05rem clamp(1rem,4vw,3rem);
}
.tst-jump a {
  font-family: "Montserrat", sans-serif;
  font-size: .72rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase;
  color: rgba(255,255,255,.72); text-decoration: none;
  padding: .3rem 0; border-bottom: 1px solid transparent;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.tst-jump a:hover, .tst-jump a:focus-visible { color: var(--gold); border-bottom-color: var(--gold); }

/* --------------------------------------------------------------------------
   2) Bloque editorial: foto grande a un lado, texto + cita destacada al otro
   -------------------------------------------------------------------------- */
.tst-split {
  display: grid; grid-template-columns: 1fr 1.04fr;
  gap: clamp(1.9rem, 4.6vw, 3.8rem);
  align-items: stretch;
}
.tst-split--alt .tst-split__media { order: 2; }

/* la foto acompaña la altura completa de la columna de texto */
.tst-split__media { position: relative; margin: 0; display: flex; }
.tst-split__media img {
  display: block; width: 100%; height: 100%;
  min-height: clamp(320px, 30vw, 520px);
  object-fit: cover;
  border-radius: 4px; position: relative; z-index: 1;
  box-shadow: 0 26px 58px rgba(28,40,47,.26);
}
/* marco dorado desplazado (recurso editorial) */
.tst-split__media::after {
  content: ""; position: absolute; z-index: 0;
  left: 16px; right: -16px; top: 16px; bottom: -16px;
  border: 1px solid rgba(224,169,28,.55); border-radius: 4px;
  pointer-events: none;
}
.tst-split--alt .tst-split__media::after { left: -16px; right: 16px; }

.tst-split__text .section__title { margin: 0; }
.tst-split__text .hairline { margin: 1rem 0 1.35rem; }
.tst-split__text .tst-lead {
  font-family: "Montserrat", sans-serif;
  color: #4f5b62; line-height: 1.75; margin: 0 0 1.9rem; max-width: 46ch;
}

/* --------------------------------------------------------------------------
   3) Cita destacada (hero quote)
   -------------------------------------------------------------------------- */
.tst-feature { position: relative; margin: 0; padding-left: clamp(2.5rem, 3.6vw, 3.4rem); }
.tst-feature__mark {
  position: absolute; left: 0; top: -.4rem;
  font-family: "Bon Vivant", serif; font-weight: 400;
  font-size: clamp(3.2rem, 2.2rem + 3vw, 5rem); line-height: .8;
  color: var(--gold); opacity: .9;
}
.tst-feature__text {
  font-family: "Bon Vivant", serif; font-style: italic; font-weight: 400;
  font-size: clamp(1.1rem, .98rem + .62vw, 1.52rem); line-height: 1.5;
  color: var(--slate-ink); margin: 0;
}
.tst-feature__by {
  display: flex; align-items: center; gap: .75rem;
  margin: 1.35rem 0 0;
  font-family: "Montserrat", sans-serif; font-size: .71rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep);
}
.tst-feature__by::before { content: ""; flex: none; width: 34px; height: 1px; background: var(--gold); }

/* Variante sobre fondo oscuro / tarjeta de vidrio */
.tst-glass {
  max-width: 900px; margin: 0 auto;
  background: rgba(21,33,40,.55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.14); border-top: 3px solid var(--gold);
  border-radius: 18px;
  padding: clamp(1.8rem, 3.6vw, 3rem);
  box-shadow: 0 28px 64px rgba(0,0,0,.42);
  text-align: center;
}
.tst-glass .tst-feature { padding-left: 0; }
.tst-glass .tst-feature__mark { position: static; display: block; margin-bottom: .35rem; opacity: 1; }
.tst-glass .tst-feature__text { color: #fff; font-size: clamp(1.16rem, 1rem + .8vw, 1.68rem); max-width: 46ch; margin-inline: auto; }
.tst-glass .tst-feature__by { justify-content: center; color: var(--gold); }

/* --------------------------------------------------------------------------
   4) Tarjetas de reseña (las que acompañan a la destacada)
   -------------------------------------------------------------------------- */
.tst-more { margin-top: clamp(2.4rem, 5vw, 3.6rem); }
.tst-more__label {
  text-align: center; margin: 0 0 .5rem;
}
.tst-more__rule { margin: 0 auto clamp(1.6rem, 3vw, 2.2rem); }

.tst-cards {
  display: grid; align-items: stretch;
  gap: clamp(1.2rem, 2.4vw, 1.9rem);
  grid-template-columns: repeat(3, 1fr);
}
.tst-cards--1 { grid-template-columns: 1fr; max-width: 840px; margin-inline: auto; }
.tst-cards--2 { grid-template-columns: repeat(2, 1fr); max-width: 1020px; margin-inline: auto; }

.tst-card {
  display: flex; flex-direction: column;
  margin: 0;
  background: #fff;
  border: 1px solid rgba(58,83,95,.09); border-top: 3px solid var(--gold);
  border-radius: 16px;
  padding: clamp(1.55rem, 2.6vw, 2.1rem);
  box-shadow: 0 14px 34px rgba(44,63,73,.10);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tst-card:hover { transform: translateY(-5px); box-shadow: 0 22px 46px rgba(44,63,73,.18); }
.tst-card__mark {
  font-family: "Bon Vivant", serif; color: var(--gold);
  font-size: 2.6rem; line-height: .5; height: 1rem; margin: 0 0 1.05rem;
}
.tst-card__text {
  font-family: "Bon Vivant", serif; font-style: italic;
  color: #43505a; font-size: 1.01rem; line-height: 1.62;
  margin: 0; flex: 1 1 auto;
}
.tst-card__by {
  display: flex; align-items: center; gap: .7rem;
  margin: 1.45rem 0 0;
  font-family: "Montserrat", sans-serif; font-size: .68rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--gold-deep);
}
.tst-card__by::before { content: ""; flex: none; width: 26px; height: 1px; background: var(--gold); }

/* Tarjetas sobre banda oscura */
.tst-card--dark {
  background: rgba(255,255,255,.075);
  border-color: rgba(255,255,255,.13); border-top-color: var(--gold);
  box-shadow: 0 18px 42px rgba(0,0,0,.30);
}
.tst-card--dark:hover { box-shadow: 0 26px 54px rgba(0,0,0,.42); }
.tst-card--dark .tst-card__text { color: rgba(255,255,255,.90); }
.tst-card--dark .tst-card__by { color: var(--gold); }

/* --------------------------------------------------------------------------
   5) Banda con foto a pantalla completa (Corporate)
   -------------------------------------------------------------------------- */
.tst-photo-band {
  position: relative; overflow: hidden; color: #fff;
  background-color: var(--slate-ink);
  background-size: cover; background-position: center;
  background-attachment: fixed;
  padding-block: clamp(3.6rem, 8vw, 6.4rem);
}
.tst-photo-band__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(9,15,19,.60), rgba(9,15,19,.84));
}
.tst-photo-band > .wrap { position: relative; z-index: 1; }
.tst-photo-band .section__title { color: #fff; }
.tst-photo-band .tst-lead { color: rgba(255,255,255,.86); }

/* --------------------------------------------------------------------------
   6) Partners & memberships
   -------------------------------------------------------------------------- */
.tst-partners .section__title { color: #fff; }
.tst-partners .tst-lead { color: rgba(255,255,255,.85); margin-inline: auto; text-align: center; }

.tst-partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); align-items: stretch; gap: clamp(1.1rem, 2.2vw, 1.7rem); }
.tst-partner {
  display: flex; flex-direction: column; text-align: left;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12); border-top: 3px solid var(--gold);
  border-radius: 14px;
  padding: clamp(1.4rem, 2.2vw, 1.85rem);
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.tst-partner:hover { transform: translateY(-5px); background: rgba(255,255,255,.10); }
.tst-partner__k {
  font-family: "Montserrat", sans-serif; font-size: .66rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 .5rem;
}
.tst-partner__n {
  font-family: "Bon Vivant", serif; font-weight: 400; color: #fff;
  font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); line-height: 1.22;
  margin: 0 0 .85rem; min-height: 2.44em;
}
.tst-partner p { color: rgba(255,255,255,.80); font-size: .89rem; line-height: 1.62; margin: 0; }

.tst-logos {
  margin-top: clamp(2.6rem, 5vw, 3.6rem);
  padding-top: clamp(1.9rem, 3.2vw, 2.5rem);
  border-top: 1px solid rgba(255,255,255,.13);
}
.tst-logos__label { text-align: center; margin: 0; }
.tst-logos .lmq-rows { margin-top: 1.6rem; }

/* --------------------------------------------------------------------------
   7) Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .tst-partner-grid { grid-template-columns: repeat(2, 1fr); }
  .tst-partner__n { min-height: 0; }
}
@media (max-width: 900px) {
  .tst-cards, .tst-cards--2 { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
}
@media (max-width: 820px) {
  .tst-split { grid-template-columns: 1fr; }
  .tst-split--alt .tst-split__media { order: 0; }
  .tst-split__media::after { display: none; }
  .tst-split__media img { height: auto; min-height: 0; aspect-ratio: 4/3; }
  .tst-photo-band { background-attachment: scroll; }
}
@media (max-width: 560px) {
  .tst-partner-grid { grid-template-columns: 1fr; }
  .tst-feature { padding-left: 0; }
  .tst-feature__mark { position: static; display: block; margin-bottom: .2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tst-card, .tst-partner { transition: none; }
}
