* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
}

.encabezado {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  padding: 30px 50px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.encabezado.encabezado-oculto {
  transform: translateY(-100%);
}

.logo img {
  height: 85px;
  display: block;
}

.menu {
  display: flex;
  gap: 30px;
  list-style: none;
}

.menu a {
  color: #2a225b;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  padding: 10px 18px;
  border-radius: 12px;
  transition: background-color 0.2s, color 0.2s;
}

.portada {
  background: url("img/fondo1.png") center / cover no-repeat;
  min-height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
}

.portada h1 {
  color: #2a225b;
  text-transform: uppercase;
  font-size: 48px;
  max-width: 900px;
}

.botones-circulares {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.boton-circular {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #0a2342;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: transform 0.2s, background-color 0.2s;
}

.boton-circular:hover {
  background-color: #000000;
  transform: scale(1.08);
}

.menu a:hover {
  color: #ffffff;
  background-color: #0a2342;
}

.nosotros {
  background-color: #e3ecf6;
  padding: 60px 40px;
}

.nosotros-caja {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nosotros-texto {
  flex: 1;
}

.nosotros-texto h2 {
  color: #0a2342;
  font-size: 32px;
  margin-bottom: 45px;
}

.nosotros-texto h2::after {
  content: "";
  display: block;
  width: 310px;
  height: 4px;
  background-color: #d62828;
  margin-top: 12px;
}

.nosotros-texto p {
  color: #000000;
  font-size: 18px;
  line-height: 1.6;
}

.nosotros-caja img {
  flex: 1;
  min-width: 0;
  width: 50%;
  border-radius: 16px;
  object-fit: cover;
  transition: transform 0.3s, box-shadow 0.3s;
}

.nosotros-caja img:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.boton-saber {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 28px;
  background-color: #d62828;
  color: #ffffff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  transition: background-color 0.2s;
}

.boton-saber:hover {
  background-color: #a81e1e;
}

.franja-roja {
  background: url("img/FondoFrutas.png") center / cover no-repeat;
  min-height: 300px;
  padding: 60px 40px;
}

.franja-alta {
  min-height: 800px;
  padding: 90px 40px;
}

.carrusel {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 1200px;
  margin: 50px auto 0;
}

.carrusel-ventana {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 15px 0;
}

.productos {
  display: flex;
  transition: transform 0.4s ease;
}

.producto {
  flex: 0 0 33.3333%;
  min-width: 0;
  padding: 0 15px;
}

.productos-fijo {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 50px auto 0;
  padding: 0 63px;
}

.flecha {
  flex: none;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background-color: #0a2342;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.flecha:hover {
  background-color: #000000;
}

@media (max-width: 800px) {
  .producto {
    flex-basis: 100%;
  }
}

.producto img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

.producto-info {
  background-color: #ffffff;
  border-radius: 0 0 16px 16px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}

.producto {
  transition: transform 0.3s;
}

.producto:hover {
  transform: translateY(-10px);
}

.producto:hover .producto-info {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.producto-info h3 {
  color: #0a2342;
  font-size: 22px;
  margin-bottom: 12px;
}

.producto-info p {
  color: #000000;
  font-size: 16px;
  line-height: 1.6;
}

.franja-roja h2 {
  text-align: center;
  color: #0a2342;
  font-size: 32px;
}

.franja-roja h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: #d62828;
  margin: 12px auto 0;
}

.tiempos {
  display: flex;
  gap: 30px;
  max-width: 1100px;
  margin: 40px auto 0;
}

.tiempo {
  flex: 1;
  text-align: center;
}

.tiempo h3 {
  color: #0a2342;
  font-size: 24px;
  margin-bottom: 15px;
}

.tiempo p {
  color: #000000;
  font-size: 18px;
  line-height: 1.6;
}

.contacto-seccion {
  background-color: #e3ecf6;
  padding: 60px 40px;
}

.formulario-caja {
  max-width: 700px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.formulario-caja h2 {
  color: #0a2342;
  font-size: 32px;
  text-align: center;
}

.formulario-caja h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: #d62828;
  margin: 12px auto 0;
}

.formulario {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

.formulario input,
.formulario textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #b8c4d4;
  border-radius: 10px;
  font-family: inherit;
  font-size: 16px;
  resize: vertical;
}

.formulario input:focus,
.formulario textarea:focus {
  outline: none;
  border-color: #0a2342;
}

.formulario .boton-saber {
  align-self: center;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.pie {
  background-color: #ffffff;
  text-align: center;
  padding: 30px 40px;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
}

.pie img {
  height: 50px;
  display: block;
  margin: 0 auto 12px;
}

.pie p {
  color: #0a2342;
  font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
  .encabezado {
    transition: none;
  }
}