/* =========================================================================
   <WhyValocity /> — Website Design & Development §3
   Navy. Two-column intro, then the 5-step "comprehensive approach" stepper.
   ========================================================================= */

.cwd-why {
  position: relative;
  isolation: isolate;        /* host the .vh-geo side accents behind content */
  overflow: hidden;          /* clip the gutter shapes to the section */
  background: var(--color-primary);
  color: #fff;
}

.cwd-why__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 112px var(--container-pad);
}

/* ---- two-column intro --------------------------------------------------- */
.cwd-why__intro {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 24px 56px;
  align-items: start;
  padding-bottom: 64px;
  margin-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.cwd-why__eyebrow {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.cwd-why__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}
.cwd-why__intro-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cwd-why__intro-body p {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
  color: rgba(255,255,255,0.74);
  text-wrap: pretty;
}

/* ---- approach (5 steps) ------------------------------------------------- */
#cwd-process { scroll-margin-top: 96px; }   /* clear the fixed nav on jump */
.cwd-why__approach-title {
  margin: 0 0 32px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.015em;
  color: #fff;
}

.cwd-why__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  counter-reset: cwd-step;
}

.cwd-step {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #122348;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 26px 22px 24px;
  overflow: hidden;
  transition:
    transform 280ms var(--ease-out-soft),
    border-color 280ms var(--ease-out-soft),
    background 280ms var(--ease-out-soft),
    box-shadow 280ms var(--ease-out-soft);
}
.cwd-step::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 340ms var(--ease-out-soft);
}
.cwd-step:hover {
  transform: translateY(-6px);
  background: #16294F;
  border-color: rgba(232,180,0,0.42);
  box-shadow: 0 22px 48px -24px rgba(0,0,0,0.7);
}
.cwd-step:hover::before { transform: scaleX(1); }

.cwd-step__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-accent);
  margin-bottom: 16px;
}
.cwd-step__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #fff;
  text-wrap: balance;
}
.cwd-step__desc {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.66);
}

/* ---- responsive --------------------------------------------------------- */
@media (max-width: 1024px) {
  .cwd-why__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .cwd-why__intro {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 48px;
    margin-bottom: 48px;
  }
}
@media (max-width: 720px) {
  .cwd-why__inner { padding: 88px var(--container-pad); }
  .cwd-why__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .cwd-why__inner { padding: 72px 18px; }
  .cwd-why__steps { grid-template-columns: 1fr; gap: 12px; }
  .cwd-step { padding: 22px 20px; }
  .cwd-step__num { margin-bottom: 12px; }
}
