/* ============================================================
   services-grid.css — rebuilt "Every service" section
   Balanced dark bento grid, brand-aligned (DF Media tokens):
     • desktop : 3 columns, 7 uniform cards + a wide CTA (9 units → 3 clean rows)
     • tablet  : 2 columns, CTA drops to 1 unit (8 → 4 clean rows)
     • mobile  : 1 column
   ============================================================ */

.services {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 56px);
}

/* ── header ─────────────────────────────────────────────── */
.services-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: clamp(34px, 5vw, 56px);
}
.services-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .7rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}
.services-kicker::before { content: ""; width: 26px; height: 1px; background: var(--accent-grad); }
.services-title {
  font-family: var(--font-d); font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1; letter-spacing: -.03em;
  color: var(--fg); text-wrap: balance;
}
.services-title em {
  font-style: italic;
  background: var(--accent-grad-text, linear-gradient(135deg,#f5c8d4,#c4808c 42%,#964060));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.services-all {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 500; letter-spacing: .04em;
  color: var(--muted); text-decoration: none; white-space: nowrap;
  transition: color .35s var(--expo, cubic-bezier(.16,1,.3,1));
}
.services-all svg { transition: transform .35s var(--expo, cubic-bezier(.16,1,.3,1)); }
.services-all:hover { color: var(--fg); }
.services-all:hover svg { transform: translate(3px,-3px); }

/* ── grid ───────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ── card ───────────────────────────────────────────────── */
.svc2 {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column;
  min-height: 232px; padding: 30px;
  border-radius: 20px;
  background: #0e0b0c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--fg); text-decoration: none;
  overflow: hidden;
  transition: transform .45s var(--expo, cubic-bezier(.16,1,.3,1)),
              border-color .45s var(--expo, cubic-bezier(.16,1,.3,1)),
              background .45s var(--expo, cubic-bezier(.16,1,.3,1)),
              box-shadow .45s var(--expo, cubic-bezier(.16,1,.3,1));
}
/* hover tint glow */
.svc2::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(120% 85% at 12% 0%, rgba(196,128,140,.14), transparent 60%);
  opacity: 0; transition: opacity .45s var(--expo, cubic-bezier(.16,1,.3,1));
}
.svc2:hover {
  transform: translateY(-6px);
  background: #14100f;
  border-color: rgba(196, 128, 140, 0.42);
  box-shadow: 0 22px 46px rgba(0,0,0,.5), 0 0 40px rgba(196,128,140,.13);
}
.svc2:hover::before { opacity: 1; }

.svc2-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: auto;
}
.svc2-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 14px;
  color: var(--accent);
  background: rgba(196,128,140,.08);
  border: 1px solid rgba(196,128,140,.20);
  box-shadow: 0 0 22px rgba(196,128,140,.12);
  transition: background .45s var(--expo, cubic-bezier(.16,1,.3,1)), box-shadow .45s var(--expo, cubic-bezier(.16,1,.3,1));
}
.svc2-icon svg { width: 26px; height: 26px; }
.svc2:hover .svc2-icon { background: rgba(196,128,140,.15); box-shadow: 0 0 30px rgba(196,128,140,.26); }

.svc2-arrow {
  width: 22px; height: 22px; color: var(--muted);
  transition: transform .4s var(--expo, cubic-bezier(.16,1,.3,1)), color .4s var(--expo, cubic-bezier(.16,1,.3,1));
}
.svc2:hover .svc2-arrow { transform: translate(4px, -4px); color: var(--fg); }

.svc2-name {
  font-family: var(--font-d); font-weight: 700;
  font-size: clamp(1.3rem, 1.9vw, 1.65rem); line-height: 1.08; letter-spacing: -.01em;
  color: var(--fg); margin-top: 30px;
}
.svc2-tag {
  margin-top: 12px;
  font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(240, 236, 228, 0.5); line-height: 1.7;
}

/* ── CTA card — vibrant amber block that closes the grid ──── */
.svc2-cta {
  grid-column: span 2;
  background: linear-gradient(135deg, #f2bd6c 0%, #e8a84a 55%, #cf9038 100%);
  border: none; color: #201304;
  justify-content: space-between;
}
.svc2-cta::before { display: none; }
.svc2-cta:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 52px rgba(232,168,74,.34);
  border: none;
}
.svc2-cta .svc2-icon {
  color: #201304;
  background: rgba(32,19,4,.10);
  border-color: rgba(32,19,4,.22);
  box-shadow: none;
}
.svc2-cta:hover .svc2-icon { background: rgba(32,19,4,.16); box-shadow: none; }
.svc2-cta .svc2-name { color: #201304; font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.svc2-cta-btn {
  align-self: flex-start; margin-top: 26px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 28px; border-radius: 100px;
  background: #201304; color: #f0ece4;
  font-family: var(--font-b); font-weight: 600; font-size: .9rem;
  transition: gap .35s var(--expo, cubic-bezier(.16,1,.3,1)), transform .35s var(--expo, cubic-bezier(.16,1,.3,1));
}
.svc2-cta-btn svg { width: 16px; height: 16px; }
.svc2-cta:hover .svc2-cta-btn { gap: 15px; }

/* ── responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .svc2-cta { grid-column: span 1; flex-direction: column; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .svc2 { min-height: 180px; padding: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .svc2, .svc2-icon, .svc2-arrow, .svc2-cta-btn, .services-all, .services-all svg { transition: none; }
}
