/* ============================================================
   SECCIÓN: SLIDER DE CITAS (frases con autoplay)
   ============================================================ */


/* CONTENEDOR PRINCIPAL */
/* NOTA: .slider__inner (contenedor en el HTML) no tiene estilos propios a propósito;
   nunca los tuvo (la antigua regla .slider__inner jamás llegó a aplicarse). */
.slider-content {
    width: 100%;
    height: 600px;
    background-color: #fafdfe;
    border-bottom: 1.5px solid transparent;
    position: relative;
}

/* Botón fijo en todos los slides */
.slider-tag {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    padding: 16px 32px;
    background-color: var(--color-primary);
    border-radius: 24px;
    border: none;
    font-family: var(--font-family-outfit);
    font-size: 20px;
    font-weight: var(--font-weight-medium);
    color: #fff;
    cursor: default;
    min-width: 325px;
}

/* Contenedor de slides */
.slides {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Cada slide */
.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    padding:
      140px 32px 64px;  /* 👈 espacio arriba para el botón */
    gap: 48px;
}


/* Frase */
.slider-quote {
    font-family: var(--font-family-simonetta);
    font-size: 28px;
    line-height: 1.4;
    letter-spacing: -0.4px;
    max-height: 70%;
    overflow: hidden;
    text-align: center;
    color: #fff;
    max-width: 900px;
}

/* Autor */
.slider-author {
    font-family: var(--font-family-pangolin);
    font-size: 28px;
    line-height: 1.2;

    color: #fff;
    margin-top: 8px;

    flex-shrink: 0;
}


@media (min-width: 1030px) {

  /* =====================
    SLIDER
  ===================== */
  .slider-content {
    height: 496px;
  }

  .slider-tag {
    border-radius: 32px;
    font-size: 24px;
  }

  .slide-content {
    justify-content: center;
    padding: 0 24px;
    gap: 32px;
  }

  .slider-quote {
    font-size: 36.7px;
    line-height: 55.1px;
    max-height: 100%;
  }

  .slider-author {
    font-size: 40px;
  }
}
