/* Preguntas frecuentes · siete respuestas en un carrusel guiado por scroll.
   El bloque .hs / .hs-slide es el mismo patrón que Descubrimiento (assets/js/hscroll.js);
   está duplicado aquí porque vive en descubrimiento.css. Candidato a pasar a web.css. */

.faq-hero { padding-top: 80px; }
.faq-hero__title { max-width: 16em; }

/* ---- Carrusel horizontal ---------------------------------------------- */
/* Modo animado (hscroll.js añade .hs--live): la sección mide 640vh (siete preguntas + cierre) y el
   escenario se queda fijo mientras la pista se desplaza en horizontal. */
.hs { position: relative; margin-top: 56px; }
.hs--live { height: 640vh; margin-top: -64px; }
.hs__stage {
  display: flex; flex-direction: column; gap: clamp(16px, 3.5vh, 36px);
  padding: 48px 0 32px;
}
.hs--live .hs__stage {
  position: sticky; top: 0; height: 100vh; padding: 91px 0 0; overflow: hidden;
}
.hs__head { width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hs__title { margin-top: 12px; font-size: clamp(26px, 3.2vw, 42px); line-height: 1.04; letter-spacing: -.03em; font-weight: 700; }
.hs__progress { display: none; align-items: center; gap: 14px; }
.hs--live .hs__progress { display: flex; }
.hs__count { font-size: 13px; color: var(--ink); }
.hs__bar { width: 120px; height: 2px; background: var(--line); display: block; position: relative; overflow: hidden; }
.hs__bar span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--orange); display: block; }

.hs__track {
  display: flex; flex-direction: column; gap: 20px;
  max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 24px;
}
.hs--live .hs__track {
  flex-direction: row; align-items: center; gap: 32px; max-width: none; margin: 0; padding: 0;
  will-change: transform;
}

/* ---- Diapositiva ------------------------------------------------------ */
.hs-slide {
  background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  box-shadow: 0 30px 60px -48px rgba(0, 0, 0, .45);
}
.hs--live .hs-slide {
  flex: 0 0 auto; width: min(1080px, 86vw); height: min(460px, 58vh);
  transform-origin: center center; will-change: transform, opacity;
}
.hs-slide__text {
  padding: clamp(22px, 4vh, 44px) clamp(22px, 3vw, 40px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 0;
}
.hs-slide__step { display: flex; align-items: baseline; gap: 12px; }
.hs-slide__num {
  font-size: clamp(30px, 4vh, 44px); font-weight: 700; line-height: .9; letter-spacing: -.03em; color: var(--orange);
}
.hs-slide__title {
  margin-top: clamp(14px, 3vh, 26px); font-size: clamp(22px, 2.5vw, 32px); line-height: 1.14;
  letter-spacing: -.024em; font-weight: 600; color: var(--ink);
}
.hs-slide__body { margin-top: 14px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.hs-slide__meta { border-top: 1px solid var(--line); padding-top: 14px; }
.hs-slide__visual {
  background: var(--paper); border-left: 1px solid var(--line);
  padding: clamp(18px, 4vh, 40px) clamp(18px, 2.6vw, 36px);
  display: flex; align-items: center; justify-content: center; min-height: 0; overflow: hidden;
}
.hs-slide__visual .mock { transform-origin: center center; }

.hs-slide--dark {
  background: var(--ink); color: var(--white); border-color: var(--ink);
  padding: clamp(24px, 5vh, 56px) clamp(24px, 4vw, 56px);
  display: flex; flex-direction: column; justify-content: center; gap: 24px;
}
.hs--live .hs-slide--dark { width: min(760px, 86vw); }
.hs-slide__closing {
  font-size: clamp(26px, 3.4vw, 44px); line-height: 1.06; letter-spacing: -.03em; font-weight: 700; text-wrap: balance;
}
.hs-slide__cta { align-self: flex-start; }

@media (max-width: 760px) {
  .hs-slide { grid-template-columns: 1fr; }
  .hs-slide__visual { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---- Ajustes propios de las tarjetas de pregunta ---------------------- */
.faq-slide__q {
  font-size: clamp(22px, 2.6vw, 34px); line-height: 1.14; letter-spacing: -.026em; font-weight: 700;
  color: var(--ink); text-wrap: balance;
}
.faq-slide__answer {
  flex-direction: column; align-items: stretch; justify-content: center; gap: 16px;
  padding: clamp(22px, 4vh, 44px) clamp(22px, 3vw, 40px);
}
.faq-slide__answer p { font-size: clamp(15px, 1.35vw, 18px); line-height: 1.62; color: var(--ink); text-wrap: pretty; }
.faq-slide--dark { border: 0; }

/* Espacio entre el carrusel y el pie, como en el diseño. */
.hs { margin-bottom: 24px; }
