/*     .slider {
      position: relative;
      overflow: hidden;
      width: 100%;
      max-width: 1200px;
      margin: 40px auto;
      aspect-ratio: 16/9;
    } */

    .slider {
        position: relative;
        overflow: hidden;
        width: 100vw;
        height: 80vh;
    }


    .slides {
      display: flex;
      transition: transform 0.6s ease-in-out;
      width: 100%;
      height: 100%;
    }

    .slide {
      min-width: 100%;
      position: relative;
    }

    /* Tinta oscura */
    .slide::before {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0, 0, 0, 0.4); /* ← ajusta el nivel de oscuridad aquí */
      z-index: 1;
    }

    .slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .caption {
      position: absolute;
      color: white;
      padding: 20px;
      background: rgba(0,0,0,0.5);
      border-radius: 10px;
    }

    /* Posiciones personalizadas */
    .top-left    { top: 20px; left: 20px; }
    .top-right   { top: 20px; right: 20px; }
    .bottom-left { bottom: 20px; left: 20px; }
    .bottom-right{ bottom: 20px; right: 20px; }
    .center      { top: 50%; left: 50%; transform: translate(-50%, -50%); }

    /* Título y subtítulo */
    .caption h2 {
      font-size: 2em;
      margin-bottom: 0.5em;
    }

    .caption p {
      font-size: 1em;
    }

    /* Botones */
    .controls {
      position: absolute;
      width: 100%;
      top: 50%;
      transform: translateY(-50%);
      display: flex;
      justify-content: space-between;
      padding: 0 20px;
    }

    .controls button {
      background: rgba(0, 0, 0, 0.5);
      color: white;
      border: none;
      padding: 10px 15px;
      font-size: 1.2em;
      cursor: pointer;
      border-radius: 5px;
    }

    .controls button:hover {
      background: rgba(0, 0, 0, 0.8);
    }

    @media (max-width: 768px) {
      .caption h2 {
        font-size: 1.5em;
      }

      .caption p {
        font-size: 0.9em;
      }
    }

    .logo-responsive {
  max-height: 60px;
  width: auto;
  height: auto;
}

@media (max-width: 768px) {
  .logo-responsive {
    max-height: 45px;
  }
}



