/* ==========================================================
   services.css — Colony Creative
   Pure monochrome bento grid
   ========================================================== */

.services {
  position: relative;
  width: 100%;
  padding-top: clamp(100px, 16vh, 200px);
  padding-bottom: clamp(100px, 16vh, 200px);
  background: var(--bg-elevated);
  overflow: hidden;
}

.services__container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}

.services__header {
  text-align: center;
  margin-bottom: clamp(3.5rem, 7vw, 5rem);
  will-change: transform, opacity;
}

.services__headline {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin: 1.5rem auto;
  max-width: 700px;
}

.services__intro {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Bento grid */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
}

.services__card {
  position: relative;
  background: var(--bg-surface);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background 0.4s ease;
  will-change: opacity, transform;
}

.services__card:hover {
  background: var(--bg-surface-hover);
}

.services__card-num {
  font-family: 'DM Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  opacity: 0.6;
}

.services__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.services__card:hover .services__card-icon {
  border-color: var(--border-medium);
  color: var(--text-primary);
}

.services__card-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  line-height: 1.3;
  color: var(--text-primary);
  margin: 0;
}

.services__card-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(0.8125rem, 0.95vw, 0.875rem);
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}

.services__card-line {
  margin-top: auto;
  padding-top: 1rem;
  width: 24px;
  height: 1px;
  background: var(--text-primary);
  opacity: 0.1;
  transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              opacity 0.4s ease;
}

.services__card:hover .services__card-line {
  width: 40px;
  opacity: 0.25;
}

/* ── Responsive ── */

@media (max-width: 960px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .services__grid { grid-template-columns: 1fr; border-radius: 12px; }
  .services__headline { font-size: clamp(2rem, 9vw, 2.5rem); }
  .services__card { padding: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .services__card { transition: none; }
}
