/**
 * Services Overview, Client Perspectives and Who We Help templates.
 * Loaded after inner.css, only on template-services-overview.php,
 * template-client-perspectives.php and template-who-we-help.php.
 * Everything is scoped to .atd-simple-page so it cannot affect the
 * What We Do catalogue cards (.service) or any other page.
 */

/* ---------- Page hero ---------- */
.atd-simple-page .page-hero {
  position: relative;
  padding: 176px 0 90px;
  overflow: hidden;
  background: var(--forest);
  color: #fff;
}
.atd-simple-page .page-hero:after {
  position: absolute;
  right: 4vw;
  bottom: -2rem;
  color: rgba(163, 212, 95, 0.08);
  font: 900 clamp(11rem, 30vw, 27rem) / 0.8 var(--display);
  content: attr(data-mark);
  pointer-events: none;
}
.atd-simple-page .page-hero .wrap {
  position: relative;
  z-index: 1;
}
.atd-simple-page .page-hero h1 {
  color: #fff;
  margin: 24px 0 0;
  max-width: 980px;
}
.atd-simple-page .page-hero .eyebrow {
  color: #d4ddca;
  margin: 0;
}
.atd-simple-page .page-hero .lead {
  max-width: 760px;
  margin-top: 24px;
  color: #c3cdc2;
  font-size: 1.02rem;
}

/* ---------- Light content band (the design's ".dark" section) ---------- */
.atd-simple-page .dark {
  padding: 90px 0;
  background: var(--paper);
  color: var(--ink);
}
.atd-simple-page .dark .eyebrow {
  color: #7fb23c;
  margin: 0;
}
.atd-simple-page .dark h2 {
  margin: 16px 0 14px;
  color: var(--ink);
}
.atd-simple-page .dark p {
  max-width: 72ch;
  color: var(--muted);
  font-size: 1.02rem;
}

/* ---------- Services Overview: numbered list ---------- */
.atd-simple-page .service-list {
  border-top: 1px solid var(--line);
}
.atd-simple-page .service-list .service {
  display: grid;
  grid-template-columns: 55px 0.85fr 1.2fr;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
}
.atd-simple-page .service-list .service:hover {
  border-color: var(--line);
  box-shadow: none;
}
.atd-simple-page .service-list .service .num {
  color: #7fb23c;
  font: 700 0.74rem var(--display);
  padding-top: 6px;
}
.atd-simple-page .service-list .service h3 {
  max-width: none;
  margin: 0;
  color: var(--ink);
}
.atd-simple-page .service-list .service p {
  margin: 0;
  max-width: none;
}

/* ---------- Client Perspectives: heading + quotes ---------- */
.atd-simple-page .split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 85px;
}
.atd-simple-page .quote {
  padding: 35px 0;
  border-top: 1px solid var(--line);
}
.atd-simple-page .quote:first-child {
  border-top: 0;
  padding-top: 0;
}
.atd-simple-page .quote blockquote {
  margin: 0 0 15px;
  color: var(--ink);
  font: 600 clamp(1.2rem, 2vw, 1.65rem) / 1.4 var(--display);
}
.atd-simple-page .quote cite {
  color: var(--muted);
  font-style: normal;
}

/* ---------- Who We Help: audience grid ---------- */
.atd-simple-page .audiences {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.atd-simple-page .audience {
  min-height: 220px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.atd-simple-page .audience .num {
  display: block;
  margin-bottom: 45px;
  color: #7fb23c;
  font: 700 0.74rem var(--display);
}
.atd-simple-page .audience h3 {
  margin: 0;
}
.atd-simple-page .audience p {
  margin-top: 12px;
  color: var(--muted);
}
.atd-simple-page main > section:not(.page-hero):not(.dark):not(.cta) {
  padding: 90px 0;
}

/* ---------- Closing banner ---------- */
.atd-simple-page .cta {
  position: relative;
  padding: 104px 0;
  background: var(--forest);
  color: #fff;
  text-align: center;
}
.atd-simple-page .cta:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(180deg, rgba(10, 15, 12, 0.9) 0%, rgba(10, 15, 12, 0.78) 50%, rgba(10, 15, 12, 0.92) 100%), url(../images/cta-lens.webp);
  background-size: cover;
  background-position: center;
}
.atd-simple-page .cta:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(90% 120% at 50% 120%, rgba(163, 212, 95, 0.16), transparent 60%);
}
.atd-simple-page .cta .wrap {
  position: relative;
  z-index: 2;
}
.atd-simple-page .cta h2 {
  max-width: 74%;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(1.28rem, 2.2vw, 1.83rem);
  line-height: 1.03;
}
.atd-simple-page .cta .actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}
.atd-simple-page .cta .button {
  padding: 16px 30px;
  font-size: 1rem;
}
.atd-simple-page .cta .button:hover {
  background: #fff;
  color: var(--ink);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .atd-simple-page .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .atd-simple-page .service-list .service {
    grid-template-columns: 45px 1fr;
  }
  .atd-simple-page .service-list .service p {
    grid-column: 2;
  }
  .atd-simple-page .audiences {
    grid-template-columns: 1fr;
  }
  .atd-simple-page .cta h2 {
    max-width: 100%;
  }
}
@media (max-width: 767px) {
  .atd-simple-page .page-hero {
    padding: 145px 0 74px;
  }
  .atd-simple-page .dark,
  .atd-simple-page main > section:not(.page-hero):not(.dark):not(.cta) {
    padding: 60px 0;
  }
  .atd-simple-page .cta {
    padding: 70px 0;
  }
}
