/* DEKK services page styles */
.dekk-services-hero {
  position: relative;
  min-height: clamp(600px, 82vh, 780px);
  display: grid;
  align-items: end;
  isolation: isolate;
  color: var(--dekk-white);
}

.dekk-services-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--dekk-ink);
}

.dekk-services-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.04);
}

.dekk-services-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 16, 13, 0.9), rgba(17, 16, 13, 0.62) 48%, rgba(17, 16, 13, 0.2)),
    linear-gradient(0deg, rgba(17, 16, 13, 0.72), transparent 44%);
}

.dekk-services-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.5fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: end;
  padding: clamp(86px, 12vw, 136px) 0 clamp(42px, 7vw, 78px);
}

.dekk-services-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--dekk-white);
  font-size: clamp(3.15rem, 7.6vw, 7.2rem);
  line-height: 0.9;
  font-weight: 950;
  letter-spacing: 0;
}

.dekk-services-hero .dekk-kicker {
  color: var(--dekk-gold);
}

.dekk-services-hero p:not(.dekk-kicker) {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--dekk-text-lg);
  line-height: 1.58;
}

.dekk-services-panel {
  display: grid;
  gap: 12px;
}

.dekk-services-panel-card {
  min-height: 124px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--dekk-radius);
  background: rgba(248, 246, 239, 0.12);
  backdrop-filter: blur(16px);
}

.dekk-services-panel-card b {
  color: var(--dekk-white);
  font-size: clamp(1.35rem, 2.3vw, 2.1rem);
  line-height: 1.06;
  font-weight: 900;
}

.dekk-services-panel-card span {
  color: rgba(255, 255, 255, 0.74);
  font-size: var(--dekk-text-sm);
  line-height: 1.42;
}

.dekk-services-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.dekk-services-intro-copy {
  position: sticky;
  top: 112px;
}

.dekk-services-bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.dekk-service-card {
  min-height: 230px;
  display: grid;
  align-content: space-between;
  gap: 26px;
  grid-column: span 3;
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid rgba(43, 37, 38, 0.1);
  border-radius: var(--dekk-radius);
  background: var(--dekk-white);
  box-shadow: 0 1px 0 rgba(17, 16, 13, 0.06);
}

.dekk-service-card.is-large {
  grid-column: span 4;
  min-height: 292px;
  color: var(--dekk-white);
  background: var(--dekk-ink);
}

.dekk-service-card.is-small {
  grid-column: span 2;
  background: var(--dekk-ivory);
}

.dekk-service-card.is-burgundy {
  color: var(--dekk-white);
  background: var(--dekk-burgundy);
}

.dekk-service-card.is-olive {
  color: var(--dekk-white);
  background: var(--dekk-olive);
}

.dekk-service-card h2,
.dekk-service-card h3 {
  margin: 0 0 12px;
  color: inherit;
  font-size: clamp(1.3rem, 2.1vw, 2.05rem);
  line-height: 1.08;
  font-weight: 900;
}

.dekk-service-card p {
  margin: 0;
  color: inherit;
  opacity: 0.76;
  line-height: 1.58;
}

.dekk-service-tag {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  color: inherit;
  background: rgba(255, 255, 255, 0.18);
  font-size: var(--dekk-text-xs);
  font-weight: 900;
}

.dekk-service-card:not(.is-large):not(.is-burgundy):not(.is-olive) .dekk-service-tag {
  color: var(--dekk-burgundy);
  background: rgba(142, 22, 56, 0.09);
}

.dekk-support-band {
  background: var(--dekk-ink);
  color: var(--dekk-white);
}

.dekk-support-band .dekk-section-title,
.dekk-support-band .dekk-kicker {
  color: var(--dekk-white);
}

.dekk-support-band .dekk-lead {
  color: rgba(255, 255, 255, 0.76);
}

.dekk-support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.dekk-support-item {
  min-height: 170px;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--dekk-radius);
  background: rgba(255, 255, 255, 0.06);
}

.dekk-support-item b {
  color: var(--dekk-white);
  font-size: var(--dekk-text-lg);
  line-height: 1.15;
}

.dekk-support-item span {
  color: rgba(255, 255, 255, 0.68);
  font-size: var(--dekk-text-sm);
  line-height: 1.45;
}

.dekk-process {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: start;
}

.dekk-process-steps {
  display: grid;
  gap: 12px;
}

.dekk-process-step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(43, 37, 38, 0.1);
  border-radius: var(--dekk-radius);
  background: var(--dekk-white);
}

.dekk-process-step b {
  color: var(--dekk-burgundy);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1;
  font-weight: 950;
}

.dekk-process-step h3 {
  margin: 0 0 8px;
  color: var(--dekk-ink);
  font-size: var(--dekk-text-lg);
  line-height: 1.18;
  font-weight: 900;
}

.dekk-process-step p {
  margin: 0;
  color: rgba(43, 37, 38, 0.72);
  line-height: 1.55;
}

.dekk-services-cta {
  background: var(--dekk-ivory);
}

.dekk-services-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.dekk-services-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

@media (max-width: 980px) {
  .dekk-services-hero-inner,
  .dekk-services-intro,
  .dekk-process,
  .dekk-services-cta-grid {
    grid-template-columns: 1fr;
  }

  .dekk-services-intro-copy {
    position: static;
  }

  .dekk-services-bento,
  .dekk-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dekk-service-card,
  .dekk-service-card.is-large,
  .dekk-service-card.is-small {
    grid-column: auto;
  }

  .dekk-services-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .dekk-services-hero {
    min-height: 720px;
  }

  .dekk-services-bento,
  .dekk-support-grid {
    grid-template-columns: 1fr;
  }

  .dekk-process-step {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
