/* ============================================================================
 * Services Grid — Premium Interactive Layout
 * ========================================================================== */

.wb-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--wb-space-6);
  margin-top: var(--wb-space-8);
}

@media (min-width: 768px) {
  .wb-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .wb-services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Base Card Style */
.wb-service-card {
  background-color: var(--wb-color-bg-muted); /* slightly lighter than dark background */
  border: 1px solid var(--wb-color-border);
  border-radius: var(--wb-radius-lg);
  padding: var(--wb-space-6);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Icon */
.wb-service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--wb-color-bg-soft);
  border-radius: var(--wb-radius-md);
  margin-bottom: var(--wb-space-5);
  color: var(--wb-color-ink);
  transition: transform 0.3s ease;
}

.wb-service-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Typography */
.wb-service-title {
  font-size: var(--wb-font-size-lg);
  font-weight: 700;
  color: var(--wb-color-ink);
  margin-bottom: var(--wb-space-3);
}

.wb-service-desc {
  font-size: var(--wb-font-size-base);
  color: var(--wb-color-text-muted); /* light gray */
  line-height: 1.6;
  margin-bottom: var(--wb-space-5);
  flex-grow: 1;
}

.wb-service-link {
  font-size: var(--wb-font-size-sm);
  font-weight: 600;
  color: #3b82f6; /* brand color */
  display: flex;
  align-items: center;
  gap: var(--wb-space-2);
}

/* Hover State */
.wb-service-card:hover {
  transform: translateY(-8px);
  border-color: var(--wb-color-brand);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(37, 99, 235, 0.25);
}

.wb-service-card:hover .wb-service-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--wb-color-danger), var(--wb-color-brand));
  color: #ffffff;
}
