/* =========================================================
   SERVICE DETAIL PAGE — OVERVIEW / INTRO SECTION
   ========================================================= */

.wdi-section {
  position: relative;
  overflow: hidden;
  background: rgb(254, 254, 255);
  padding: clamp(48px, 6vw, 80px) 0;
}

/* Fade the section in from the colour the hero banner ends on,
   so there is no hard seam between the two. */

.wdi-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 150px;
  z-index: 0;

  background: linear-gradient(
    180deg,
    #f7f9fd 0%,
    rgba(247, 249, 253, 0.75) 40%,
    rgba(254, 254, 255, 0) 100%
  );

  pointer-events: none;
}

.wdi-inner {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);

  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

.wdi-content {
  max-width: 720px;
}

.wdi-title {
  margin: 0 0 22px;
  font-family: "Geist", "Inter", sans-serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #17173a;
}

.wdi-text {
  margin: 0 0 18px;
  font-family: "Inter", sans-serif;
  font-size: 16.5px;
  line-height: 1.8;
  color: #4b4b5c;
}

.wdi-meta {
  display: inline-block;
  margin-bottom: 16px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #6b6b7a;
}

.wdi-media {
  margin: 0;
}

.wdi-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 24px 48px rgba(40, 80, 200, 0.16);
}

/* ---------- "Let's Discuss" button ---------- */
/* Solid navy pill rather than the gradient used on the About hero,
   so it reads as a quiet inline action inside body copy and does
   not compete with the Connect band further down the page. */

.wdi-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-top: 30px;

  padding: 14px 28px;

  border-radius: 999px;

  background: #17173a;
  color: #ffffff;

  font-family: "Inter", sans-serif;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;

  text-decoration: none;

  box-shadow: 0 10px 24px rgba(23, 23, 58, 0.22);

  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.wdi-cta-arrow {
  font-size: 17px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.wdi-cta:hover {
  background: #1b1464;

  transform: translateY(-2px);

  box-shadow: 0 14px 30px rgba(23, 23, 58, 0.3);
}

.wdi-cta:hover .wdi-cta-arrow {
  transform: translate(2px, -2px);
}

.wdi-cta:focus-visible {
  outline: 2px solid #1b1464;
  outline-offset: 3px;
}

.wdi-cta:active {
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .wdi-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .wdi-media img {
    aspect-ratio: 16 / 10;
  }

  .wdi-cta {
    margin-top: 24px;

    padding: 13px 24px;

    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wdi-cta,
  .wdi-cta-arrow {
    transition: none;
  }
}