.hero {
  position: relative;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  overflow: hidden;
  background: url("../img/nosotros.png") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,76,129,0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
}

.hero-text {
  flex: 1 1 500px;
  animation: fadeInUp 1s ease forwards;
}

.hero-text h2 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-text .accent {
  color: #25d366;
}

.hero-text .lead {
  font-size: 18px;
  color: #e0e0e0;
  max-width: 500px;
  margin-bottom: 24px;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  background: #25d366;
  color: white;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.btn.ghost {
  background: transparent;
  border: 2px solid #25d366;
  color: #25d366;
}

.btn.ghost:hover {
  background: #25d366;
  color: white;
}

.hero-card {
  background: white;
  color: #1f2937;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  min-width: 250px;
  animation: fadeIn 1.2s ease forwards;


}

.hero-card .hero-note {
  color: #1e3a8a; /* azul oscuro */
}

.hero-card .hero-note {
  color: #1e3a8a;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}


.hero-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  color: #0f4c81;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stat .number {
  font-size: 24px;
  font-weight: 700;
  color: #25d366;
}

.stat .label {
  font-size: 14px;
  color: #555;
}

.hero-note {
  margin-top: 12px;
  font-size: 14px;
  color:#777;


}

@keyframes fadeInUp {
  0% {opacity:0; transform: translateY(30px);}
  100% {opacity:1; transform: translateY(0);}
}

@keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@media(max-width:900px){
  .hero-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-card {
    margin-top: 20px;
  }
}
