
:root{
  --primario: #1a4e8a;  /* azul médico */
  --acento: #d94c5c;    /* rojo cardiología */
  --texto: #1f2937;
  --muted: #6b7280;
  --borde: #e5e7eb;
  --fondo: #f9fafb;
  --ok: #10b981;
  --off: #ef4444;
}


.horarios{
  background: linear-gradient(to bottom, #eef5ff, #ffffff);
}

.horarios__contenedor{
  max-width: 1100px;
  margin: auto;
}

.horarios__titulo{
  text-align: center;
  font-size: 2rem;
  color: #0074a6;
  font-weight: bold;
    margin-top: 60px; /* ajusta según necesites */

}

.horarios__subtitulo{
  text-align: center;
  color: var(--muted);
  margin-bottom: 30px;
}

.categoria-servicio{
  margin-top: 20px;
  margin-bottom: 10px;
  color: var(--acento);
  font-weight: bold;
  font-size: 1.2rem;
}

.horarios__grid{
  display: grid;
  gap: 20px;
}

.horario-card{
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--borde);
  padding: 16px;
  align-items: start;
}

.horario-card__icono{
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primario), var(--acento));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.horario-card__cuerpo h4{
  margin: 0 0 8px;
  color: var(--texto);
}

.horario-card__cuerpo ul{
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
}

.horario-card__cuerpo li{
  display: flex;
  justify-content: space-between;
}

.estado{
  font-size: .9rem;
  font-weight: bold;
}

.estado.abierto{
  color: var(--ok);
}

.estado.cerrado{
  color: var(--off);
}


@media (max-width: 480px) {
  .horarios__contenedor {
    padding: 0 15px; /* un poco menos para móviles chicos */
  }
}

