/* ============================================================
   NOVO HAIR — TESTIMONIOS.CSS
   Estilos específicos de la página Testimonios.
   ============================================================ */


/* ============================================================
   PAGE HERO
   ============================================================ */

.page-hero-testimonios {
  padding-top: calc(40px + var(--space-xl));
  padding-bottom: var(--space-lg);
}

.page-hero-testimonios__container {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.page-hero-testimonios__contenido {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.page-hero-testimonios__titulo {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-line-height);
  color: var(--color-brown);
}

.page-hero-testimonios__descripcion {
  color: var(--color-gray);
}

.page-hero-testimonios__container .eyebrow {
  color: var(--color-gold-light);
}


/* ============================================================
   PAGE HERO — DESKTOP
   ============================================================ */

@media (min-width: 1024px) {
  .page-hero-testimonios {
    padding-top: calc(40px + var(--space-2xl));
    padding-bottom: var(--space-xl);
  }

  .page-hero-testimonios__contenido {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-xl);
  }

  .page-hero-testimonios__titulo {
    max-width: 620px;
  }

  .page-hero-testimonios__descripcion {
    max-width: 380px;
    flex-shrink: 0;
  }
}


/* ============================================================
   ANTES Y DESPUÉS
   ============================================================ */

.casos-page {
  background-color: var(--color-off-white);
  padding-block: var(--space-xl);
}

.casos-page__container {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.casos-page__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.casos-page__header .eyebrow {
  color: var(--color-gold-light);
}

.casos-page__header .section-title {
  color: var(--color-brown);
}

.casos-page__carousel {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.casos-page__carousel::-webkit-scrollbar {
  display: none;
}

.casos-page__nav {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
}

/* --- Card de caso (antes/después) ---
   Altura de .caso-card__comparacion: 300px mobile / 360px
   desktop (valor por defecto — avisame si vos habías puesto
   otro número en Home y lo actualizo acá también) */
.caso-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.caso-card__comparacion {
  display: flex;
  height: 300px;
}

.caso-card__antes,
.caso-card__despues {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.caso-card__antes img,
.caso-card__despues img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.caso-card__label {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  padding: 7px 12px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-label-button-size);
}

.caso-card__label--antes {
  background-color: rgba(247, 247, 247, 0.8);
  color: var(--color-gold);
}

.caso-card__label--despues {
  background-color: rgba(204, 146, 41, 0.8);
  color: var(--color-off-white);
}

.caso-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background-color: var(--color-white);
}

.caso-card__detalle {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-body-large-size);
  color: var(--color-brown);
}

.caso-card__arrow {
  font-size: 24px;
  color: var(--color-brown);
}


/* ============================================================
   ANTES Y DESPUÉS — DESKTOP
   ============================================================ */

@media (min-width: 1024px) {
  .casos-page {
    padding-block: var(--space-2xl);
  }

  .caso-card__comparacion {
    height: 360px;
  }
}


/* ============================================================
   TESTIMONIOS EN VIDEO (fondo marrón)
   ============================================================ */

.videos {
  background-color: var(--color-brown);
  padding-block: var(--space-xl);
}

.videos__container {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.videos__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.videos__carousel {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.videos__carousel::-webkit-scrollbar {
  display: none;
}

.videos__nav {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
}

.video-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.video-card__imagen img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.video-card__footer {
  padding: var(--space-sm) var(--space-md);
  background-color: var(--color-white);
}

.video-card__titulo {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-body-large-size);
  color: var(--color-brown);
}

.video-card__detalle {
  font-family: var(--font-body);
  font-size: var(--text-body-large-size);
  color: var(--color-gold-light);
}


/* ============================================================
   TESTIMONIOS EN VIDEO — DESKTOP
   ============================================================ */

@media (min-width: 1024px) {
  .videos {
    padding-block: var(--space-2xl);
  }

  .video-card {
    flex: 0 0 calc(33.333% - 16px);
  }

  .video-card__imagen img {
    height: 360px;
  }
}


/* ============================================================
   LO QUE DICEN NUESTROS CLIENTES (stack de testimonios)
   ============================================================ */

.testimonios-stack {
  background-color: var(--color-white);
  padding-block: var(--space-xl);
}

.testimonios-stack__container {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.testimonios-stack__carousel {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--radius-lg);
}

.testimonios-stack__carousel::-webkit-scrollbar {
  display: none;
}

.testimonio-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background-color: var(--color-off-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
}

.testimonio-card__comilla {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 100px;
  line-height: 1;
  color: rgba(155, 154, 151, 0.5);
}

.testimonio-card__texto {
  font-family: var(--font-body);
  font-size: var(--text-body-large-size);
  color: var(--color-black);
}

.testimonio-card__autor {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-body-large-size);
  color: var(--color-gold);
}

.testimonio-card__autor span {
  font-weight: 400;
}

.testimonio-card--principal {
  background-color: var(--color-off-white);
}

.testimonios-stack__nav {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
}


/* ============================================================
   STACK DE TESTIMONIOS — DESKTOP
   ============================================================ */

@media (min-width: 1024px) {
  .testimonios-stack {
    padding-block: var(--space-2xl);
  }

  .testimonios-stack__nav {
    display: none;
  }

  .testimonios-stack__carousel {
    position: relative;
    height: 340px;
    overflow: visible;
  }

  .testimonio-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 560px;
    height: 300px;
    flex: none;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }

  .testimonio-card--left {
    transform: translate(-50%, -50%) translateX(-260px) translateY(-10px) rotate(-3deg);
    z-index: 1;
  }

  .testimonio-card--right {
    transform: translate(-50%, -50%) translateX(260px) translateY(-5px) rotate(3deg);
    z-index: 1;
  }

  .testimonio-card--principal {
    width: 620px;
    transform: translate(-50%, -50%);
    z-index: 3;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  }

    .testimonio-card--principal {
    background-color: var(--color-white);
  }
}


/* ============================================================
   CIERRE
   ============================================================ */

.testimonios-cierre {
  background-color: var(--color-brown);
  padding-block: var(--space-xl);
}

.testimonios-cierre__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
}

.testimonios-cierre__container .btn-primary {
  border: 1px solid transparent;
}

.testimonios-cierre__container .btn-primary:hover {
  border-color: var(--color-gold-light);
}

.testimonios-cierre__container .section-title {
  color: var(--color-off-white);
}

.testimonios-cierre__container .body-large {
  color: var(--color-off-white);
}


/* ============================================================
   CIERRE — DESKTOP
   ============================================================ */

@media (min-width: 1024px) {
  .testimonios-cierre {
    padding-block: var(--space-2xl);
  }

  .testimonios-cierre__container {
    max-width: 650px;
    margin-inline: auto;
  }
}

.testimonios-stack__container > .section-title {
  color: var(--color-brown) !important;
}