/* ===== Wireframe Section Backgrounds ===== */
:root {
  --wf-ink: #1f2d3d;
  --wf-grid: rgba(43, 121, 182, 0.08);
}

.wf-overview,
.wf-capabilities,
.wf-case-studies,
.wf-grinder,
.wf-cta {
  position: relative;
  padding: clamp(56px, 8vh, 96px) 0;
  overflow: hidden;
  color: var(--wf-ink);
}

.wf-overview {
  background:
    radial-gradient(1200px 500px at 85% -20%, rgba(43, 121, 182, 0.16), transparent 60%),
    linear-gradient(180deg, #f9fbfe 0%, #e8f0f8 100%);
}
.wf-overview::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -40%;
  height: 220px;
  background: linear-gradient(90deg, rgba(43, 121, 182, 0.14), rgba(43, 121, 182, 0));
  opacity: 0.3;
  pointer-events: none;
}

.wf-capabilities {
  background-color: #eef4fb;
  background-image:
    linear-gradient(90deg, var(--wf-grid) 1px, transparent 1px),
    linear-gradient(0deg, var(--wf-grid) 1px, transparent 1px);
  background-size: 56px 56px;
}

.wf-case-studies {
  background:
    radial-gradient(800px 300px at 10% 0%, rgba(43, 121, 182, 0.14), transparent 60%),
    linear-gradient(180deg, #f7fafc 0%, #edf2f8 100%);
}

.wf-grinder {
  background: linear-gradient(120deg, #ffffff 0%, #e9f1fb 100%);
}
.wf-grinder::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(43, 121, 182, 0.22) 0%, rgba(43, 121, 182, 0) 70%);
  pointer-events: none;
}

.wf-overview .container,
.wf-capabilities .container,
.wf-case-studies .container,
.wf-grinder .container,
.wf-cta .container {
  position: relative;
  z-index: 1;
}

.wf-cta {
  text-align: center;
  color: #fff;
  background:
    radial-gradient(600px 240px at 15% -20%, rgba(255, 255, 255, 0.22), transparent 70%),
    linear-gradient(135deg, #2b79b6 0%, #1d4e7a 100%);
}
.wf-cta .wf-cta__actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.wf-cta .btn {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  background: transparent;
}
.wf-cta .btn.primary {
  border-color: transparent;
}

@media (max-width: 640px) {
  .wf-cta .wf-cta__actions {
    display: grid;
    gap: 12px;
    justify-content: center;
  }
}

/* ===== Wireframe Internal Layout ===== */
.wf-capability-list,
.wf-case-list {
  display: grid;
  gap: clamp(16px, 2.4vw, 24px);
  margin-top: clamp(16px, 2.4vw, 24px);
}

.wf-capability-list {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.wf-case-list {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.wf-capability,
.wf-case {
  display: grid;
  gap: 10px;
}

.wf-capability__media,
.wf-case__media {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: #e6edf5;
}

.wf-capability__media img,
.wf-case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wf-case-more {
  display: inline-flex;
  margin-top: 16px;
  font-weight: 600;
}

@media (max-width: 960px) {
  .wf-capability-list {
    grid-template-columns: 1fr;
  }

  .wf-case-list {
    grid-template-columns: 1fr;
  }
}
