body, html {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  text-align: center;
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: var(--azul-oscuro);
  color: white;
  padding: 15px 0;
}

.header nav a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
  transition: 0.3s;
}
.header nav a:hover { color: var(--azul); }

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70vh;
  background-size: cover;
  background-position: center;
  padding: 2rem;
}

.hero-content {
  background: rgba(0,0,0,0.5);
  padding: 2rem;
  border-radius: 15px;
  color: white;
}

.btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 25px;
  border-radius: 25px;
  background: var(--azul);
  color: white;
  text-decoration: none;
  transition: 0.3s;
}
.btn:hover { background: var(--azul-oscuro); }

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 3rem 2rem;
}

.service-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}
.service-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-card h3 {
  margin: 1rem 0;
  color: var(--azul-oscuro);
}

.service-card p {
  margin: 0 1rem 1rem 1rem;
  color: #333;
}

/* ----- Animaciones ----- */
.animate-fade {
  opacity: 0;
  animation: fadeIn 1s forwards;
}
.animate-slide {
  opacity: 0;
  transform: translateY(30px);
  animation: slideIn 1s forwards;
}
.animate-zoom {
  opacity: 0;
  transform: scale(0.8);
  animation: zoomIn 1s forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes slideIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes zoomIn {
  to { opacity: 1; transform: scale(1); }
}
