/* ================================
   ESTILOS PARA PÁGINA DE SERVICIOS
================================= */

.servicios-container {
  padding: 60px 5%;
  background-color: #ffffff;
  min-height: calc(100vh - 120px); /* Ajusta según tu header + footer */
}

.titulo-real {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  justify-items: center;
}

.servicio {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 320px;
  width: 100%;
}

.servicio:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.servicio img {
  width: 100%;
  max-width: 160px;
  margin-bottom: 15px;
  object-fit: contain;
}

.servicio h2 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.servicio p {
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  line-height: 1.4;
}

.leer-mas {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.leer-mas:hover {
  background-color: #c0392b;
}