.hero {
  height: 100vh;
  background: url("../img/ollas-3.png") center / cover no-repeat;
  background-attachment: scroll;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    repeating-linear-gradient(transparent 2px, transparent 6px);
  z-index: 1;
}

.hero-carousel {
  width: 100%;
  max-width: 1400px;
  margin: auto;
  padding: 0 80px;
  position: relative;
  z-index: 2;
}

.hero-slide {
  width: 100%;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
}

.hero-slide-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-img {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-img img {
  max-width: 520px;
  width: 100%;
  object-fit: contain;
}

.hero-text {
  flex: 1;
  color: #fff;
}

.hero-subtitle {
  font-size: 18px;
  letter-spacing: 1px;
  color: #e0e0e0;
  display: block;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 40px;
}

.hero-btn {
  display: inline-block;
  background: #020071;
  color: #fff;
  padding: 16px 42px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero-btn:hover {
  background: #afb2e6;
  transform: translateX(6px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: none;
  border: none;
  color: #fff;
  font-size: 42px;
  cursor: pointer;
  opacity: 0.7;
}

.hero-arrow.left {
  left: 30px;
}

.hero-arrow.right {
  right: 30px;
}

.hero-arrow:hover {
  opacity: 1;
}



.info-section {
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 50px 0;
  gap: 40px;
  background: #f1f5ff;
}

.info-image,
.info-text {
  flex: 1;
  align-items: center;
}

.info-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-text h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 10px;
  color: #1e293b;
}

.info-text p {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.5;
  margin-bottom: 18px;
  color: #334155;
}

.text-box {
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.btn-info {
  padding: 14px 32px;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 8px;
  background-color: #2563eb;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-info:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

/* ===== RESPONSIVE ===== */

/* Tablets */
@media (max-width: 1024px) {
  .hero-carousel {
    padding: 0 40px;
  }

  .hero-text h1 {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 16px;
  }
}

/* Celulares */
@media (max-width: 768px) {
  .hero {
    height: auto;
    padding: 80px 0;
  }

  .hero-carousel {
    padding: 0 20px;
  }

  .hero-slide-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .hero-text h1 {
    font-size: 36px;
    line-height: 1.2;
  }

  .hero-btn {
    padding: 14px 28px;
    font-size: 14px;
  }

  .hero-arrow {
    display: none;
  }
}

/* Info section responsive */
@media (max-width: 900px) {
  .info-section {
    flex-direction: column;
    text-align: center;
  }

  .info-image img {
    width: 80%;
    margin: auto;
  }

  .text-box {
    padding: 20px;
  }
}

/* Celulares pequeños */
@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .hero-btn {
    width: 100%;
    text-align: center;
  }
}
