/* Colores corporativos */
:root {
  --verde-coop: #367c41;
  --verde-claro: #5aa465;
  --blanco: #ffffff;
  --gris: #f4f4f4;
}

/* Hero */
.hero-ahorros {
  background: url("../imgs/Ahorro.jpg") no-repeat right center; /* Imagen a la derecha */
  background-size: cover; /* Que ocupe todo el hero */
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Texto a la izquierda */
  text-align: left;
  color: var(--blanco);
  position: relative;
  padding-left: 30px; /* Separación del texto del borde */
}

.hero-ahorros::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.35); /* Oscurece ligeramente el fondo para mejor contraste */
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  color: var(--blanco);
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--blanco);
}

.btn-hero {
  background: var(--blanco);
  color: var(--verde-coop);
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}



/* Contenedor de productos */
.productos-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 50px 20px;
  background: var(--gris);
}

/* Tarjetas de producto */
.producto-card {
  background: var(--blanco);
  border-radius: 35px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  overflow: hidden;
  max-width: 330px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.producto-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.producto-card img {
  width: 110%;
  height: 200px;
  object-fit: cover;
}

.producto-info {
  padding: 20px;
  text-align: center;
}

.producto-info h2 {
  color: var(--verde-coop);
  margin-bottom: 10px;
}

.producto-info p {
  color: #555;
  margin-bottom: 15px;
  line-height: 1.5;
}

.btn {
  display: inline-block;
  background: var(--verde-coop);
  color: var(--blanco);
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: var(--verde-claro);
}
