.services-section {
  background-color: white; /* cambiamos el fondo usando otro color del root */
  padding: 5rem 2rem; /* mismo padding que la sección anterior */
  text-align: center;
}

.services-container {
  max-width: 1000px; /* límite de ancho */
  margin: 0 auto;    /* centrado */
}

.services-title {
  font-size: 2.4rem;
  color: var(--color1);
  margin-bottom: 1rem;
}

.services-intro {
  font-size: 1.1rem;
  color: var(--color1);
  margin-bottom: 3rem;
 
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.972);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.202);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.service-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.service-card h3 {
  font-size: 1.2rem;
  color: var(--color1);
  margin: 1rem 1rem 0.5rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--color1);
  margin: 0 1rem 1rem;
}

/* Botón */
.services-button {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  background-color: var(--color1);
  color: var(--color5);
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.services-button:hover {
  background-color: var(--color2);
  transform: translateY(-2px);
}

@media (max-width: 768px) {


  .services-title {
    font-size: 2rem;
    color: var(--color1);
    margin-bottom: 1rem;
  }

  .services-intro {
    font-size: 1.1rem;
    color: var(--color1);
    margin-bottom: 3rem;
    width: 100%;
  
  }

}