/* ===== SECCIÓN SERVICIOS ===== */
.services-section {
  background: #f8f9fa;
  padding: 80px 20px;
}

.services-container {
  max-width: 1100px;
  margin: auto;
}

/* Encabezado */
.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header h2 {
  font-size: 32px;
  color: #222;
  margin-bottom: 10px;
}

.services-header p {
  color: #555;
  font-size: 16px;
}

/* Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* Tarjeta */
.services-small-item {
  background: #fff;
  padding: 40px 25px;
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.services-small-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ffc107, #ff9800);
  opacity: 0;
  transition: 0.3s;
  z-index: 0;
}

.services-small-item:hover::before,
.services-small-item.active::before {
  opacity: 1;
}

.services-small-item:hover {
  transform: translateY(-10px);
}

/* Contenido */
.services-small-item * {
  position: relative;
  z-index: 1;
}

/* Icono */
.services-small-item .icon {
  font-size: 40px;
  margin-bottom: 20px;
  color: #ffc107;
  transition: 0.3s;
}

.services-small-item:hover .icon {
  color: #fff;
}

/* Título */
.services-title {
  font-size: 18px;
  color: #222;
  margin-bottom: 15px;
  transition: 0.3s;
}

.services-small-item:hover .services-title {
  color: #fff;
}

/* Texto */
.services-small-item p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 25px;
  transition: 0.3s;
}

.services-small-item:hover p {
  color: #fff;
}

/* Botón */
.services-small-item .button i {
  width: 42px;
  height: 42px;
  background: #fff;
  color: #ffc107;
  border-radius: 50%;
  line-height: 42px;
  transition: 0.3s;
}

.services-small-item:hover .button i {
  background: #fff;
  color: #ff9800;
}

/* Responsive */
@media (max-width: 768px) {
  .services-section {
    padding: 60px 15px;
  }

  .services-header h2 {
    font-size: 26px;
  }
}
