/* === HERO SECTION === */

.hero {
  width: 100%;
  height: calc(var(--real-vh, 1vh) * 100);
  background-image: url("/img/index/hero/b.png"); /* Cambiar luego la ruta */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  color: #fff;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 0;
}

.hero_content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero_title {
  font-size: 2.4rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.hero_subtitle {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero_cta {
  display: inline-block;
  padding: 10px 24px;
  border: 2px solid #fff;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s ease, color 0.3s ease;
}

.hero_cta:hover {
  background: #fff;
  color: #000;
}

.ver_mas_wrapper {
  text-align: center;
  margin-top: 30px;
}

.ver_mas_btn {
  display: inline-block;
  padding: 10px 24px;
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid #fff;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  transition: all 0.2s ease;
}

.ver_mas_btn:hover {
  background-color: #eee;
  color: #000;
}
/* PEDIDOS */
.pedido_section {
  background: #fff; /* ✅ fondo blanco */
  color: #000;
  /* padding: 60px 5vw; */
  text-align: center;
  width: 100%;
  margin-bottom: 4.5rem;
}

.pedido_tipos {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.pedido_card {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 20px;
  width: 100%;
  background-color: #fff;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.pedido_card_content {
  flex-grow: 1; /* 👈 fuerza que ambos bloques ocupen mismo espacio */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
}

.pedido_card h3 {
  font-size: 1.3rem;
  margin: 0;
}

.pedido_card .sub {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.pedido_card .condicion {
  font-size: 1.05rem;
  font-weight: 500;
  margin-top: 20px;
}
.pedido_card h3,
.pedido_card .sub,
.pedido_card .condicion {
  margin-top: 0;
  margin-bottom: 10px;
}
.benefits_section {
  background: #efefef;
  padding: 2rem 1rem;
  text-align: center;
  position: relative;
  width: 100%;
  margin-top: 5vh;
}

.benefits_slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; /* para iOS */
  scrollbar-width: none;
}

.benefit_card {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1rem;
  box-sizing: border-box;
}

.benefit_card img {
  width: 40px;
  height: 50px;
}
.benefit_card p {
  font-weight: bold;
}
.pagination_dots {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid black;
  background: transparent;
  cursor: pointer;
}

.dot.active {
  background: black;
}
.contact_section {
  width: 100%;
}

.section_title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.contact_content {
  display: flex;
  flex-direction: column-reverse;
  gap: 2rem;
  padding: 2rem;
}

.contact_form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form_group {
  display: flex;
  flex-direction: column;
}

.contact_form label {
  margin-bottom: 0.3rem;
  font-weight: 500;
}

.contact_form input,
.contact_form textarea {
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.submit_button {
  padding: 0.75rem 1.5rem;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit_button:hover {
  background-color: #555;
}

.contact_info {
  flex: 1;
  font-size: 1rem;
  line-height: 1.6;
  font-size: 1rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}
.pedido_section .section_title,
.contact_section .section_title {
  margin-bottom: 0;
  padding-bottom: 0;
}
@media (min-width: 768px) {
  .hero_title {
    font-size: 3.2rem;
  }

  .hero_subtitle {
    font-size: 1.4rem;
  }

  .category_grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .pedido_tipos {
    flex-direction: row;
    justify-content: center;
    align-items: stretch; /* ✅ fuerza que todas las tarjetas se estiren */
  }

  .pedido_card {
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* ✅ centra el contenido verticalmente si es necesario */
  }
  .benefits_slider {
    flex-wrap: nowrap;
    overflow: visible;
    justify-content: space-around;
    scroll-snap-type: none;
  }

  .benefit_card {
    flex: 1;
    scroll-snap-align: none;
    border-right: 1px solid white;
  }

  .benefit_card:last-child {
    border-right: none;
  }

  .pagination_dots {
    display: none;
  }
  .contact_content {
    flex-direction: row;
    align-items: flex-start;
    padding: 2rem 10rem;
  }

  .contact_form,
  .contact_info {
    flex: 1;
  }
  .category_grid_wrapper {
    padding: 60px 7rem;
  }
}
