* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

/*
.slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
} */

.slider {
  position: relative;
  width: 100%;
  min-height: 550px;
  height: 70vh;
  max-height: 750px;
  overflow: hidden;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.slider-content {
  position: relative;
  max-width: 700px;
  padding: 100px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  z-index: 2;
}

.badge {
  background: #f5b400;
  color: #000;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  display: inline-block;
  margin-bottom: 15px;
}

h1 {
  font-size: 48px;
  margin-bottom: 15px;
}

h1 span {
  color: #f5b400;
}

p {
  font-size: 18px;
  line-height: 1.6;
}

/* Botones */
.slider-buttons {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 5;
}

.btn {
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
}

.btn.whatsapp {
  background: #25d366;
  color: #fff;
}

.btn.outline {
  border: 2px solid #fff;
  color: #fff;
}

/* Flechas */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  font-size: 32px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 6;
}

.arrow.left {
  left: 15px;
}

.arrow.right {
  right: 15px;
}

.arrow:hover {
  background: rgba(245, 180, 0, 0.9);
}

/* Indicadores */
.controls {
  position: absolute;
  bottom: 30px;
  width: 100%;
  text-align: center;
}

.dot {
  width: 12px;
  height: 12px;
  background: #ccc;
  border-radius: 50%;
  display: inline-block;
  margin: 0 5px;
  cursor: pointer;
}

.dot.active {
  background: #f5b400;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 32px;
  }

  p {
    font-size: 16px;
  }

  .slider-buttons {
    top: 72%;
    flex-direction: column;
    align-items: center;
  }
}

/* Mejorando responsive del slider para móviles pequeños */
@media (max-width: 600px) {
  .slider {
    min-height: 400px;
    height: 60vh;
  }

  .slider-content {
    padding: 40px 20px;
  }

  h1 {
    font-size: 24px;
  }

  p {
    font-size: 14px;
  }

  .badge {
    font-size: 12px;
    padding: 4px 12px;
  }

  .arrow {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .btn {
    padding: 10px 18px;
    font-size: 14px;
  }

  .slider-buttons {
    gap: 12px;
  }
}
