body {
  font-family: 'Montserrat', Arial;
  margin: 0;
  background-color: #ecf0f1;
  text-align: center;
}

/* Encabezado con fondo azul claro y forma curvada */
.header {
  position: relative;
  background-color: #d3ebfa;
  padding: 100px 20px 150px; /* más espacio abajo para que se vea la curva */
  overflow: hidden;
}

.header h1 {
  font-size: 4em;
  color: #0a3d62;
  margin: 0;
  font-weight: 700;
  position: relative;
  z-index: 2;
  font-family: "Roboto", "Arial";
}
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Curva del fondo */
.header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background-color: #ecf0f1;
  border-top-left-radius: 100% 60px;
  border-top-right-radius: 100% 60px;
  z-index: 1;
}

/* Contenedor de los botones */
.productos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 60px 20px;
}

/* Botones grandes estilo tarjetas */
.boton-producto {
  position: relative;
  background-color: #ffffff;
  color: #0a3d62;
  width: 300px;
  height: 250px;
  border: none;
  border-radius: 20px;
  font-size: 1.3em;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.2s, background-color 0.3s;
  overflow: hidden;
  text-align: center;
  text-decoration: none; 

}

.boton-producto:hover {
  background-color: #cfd4da;
  transform: scale(1.05);
}

/* Círculo azul en esquina superior izquierda */
.icono-circulo {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100px;
  height: 100px;
  background-color: #b8e1fa;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.icono-circulo img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

/* Mantiene la disposición 3 arriba y 2 abajo */
.productos > *:nth-child(1),
.productos > *:nth-child(2),
.productos > *:nth-child(3) {
  order: 1;
}

.productos > *:nth-child(4),
.productos > *:nth-child(5) {
  order: 2;
}
