/* EngageMinty services, solutions, industries and pricing pages.
 * Readable development source. Minification belongs in the release build.
 */
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans.woff2") format("woff2");
  font-display: swap;
}

.services-page {
  --paper: #f2efe8;
  --ink: #211d1d;
  --deep: #096735;
  --green: #28b34b;
  --line: #b9b2a8;
  --soft: #d7d2c9;
  background: var(--paper);
  color: var(--ink);
}

.services-page h1,
.services-page h2,
.services-page h3 {
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.service-eyebrow {
  margin: 0 0 18px;
  color: var(--deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.services-hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.services-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(520px, 1.15fr);
  gap: 48px;
  align-items: center;
}

.services-hero-grid > div {
  padding: 90px 0;
}

.services-hero h1 {
  max-width: 690px;
  margin: 0 0 28px;
  font-size: clamp(4.6rem, 8vw, 8.4rem);
}

.services-hero .service-eyebrow {
  color: #78df91;
}

.services-lede {
  max-width: 650px;
  color: var(--soft);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.45;
}

.service-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.service-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  text-decoration: none;
  font-weight: 800;
}

.service-actions .secondary {
  border: 1px solid var(--soft);
  color: #fff;
}

.service-system {
  position: relative;
  height: 620px;
  margin: 0;
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.service-system::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ink) 0%, transparent 32%);
  pointer-events: none;
}

.service-system img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.journey-story {
  padding: clamp(80px, 10vw, 150px) 0;
}

.journey-story-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  grid-template-areas:
    "eyebrow heading"
    "copy heading";
  gap: 20px 70px;
  align-items: end;
  margin-bottom: 54px;
}

.journey-story-copy .service-eyebrow {
  grid-area: eyebrow;
  align-self: end;
}

.journey-story-copy h2 {
  grid-area: heading;
  max-width: 850px;
  margin: 0;
  font-size: clamp(3rem, 6vw, 6.4rem);
}

.journey-story-copy > p:last-child {
  grid-area: copy;
  margin: 0;
  color: #625d59;
  font-size: 1.15rem;
  line-height: 1.65;
}

.journey-scenes {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: 16px;
}

.journey-scenes figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.journey-scenes figure:nth-child(2) {
  transform: translateY(34px);
}

.journey-scenes img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.04);
}

.journey-scenes figcaption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 26px;
  color: #fff;
  background: linear-gradient(transparent, rgba(19, 17, 17, 0.94));
}

.journey-scenes figcaption strong {
  color: #78df91;
}

.journey-scenes figcaption span {
  line-height: 1.4;
}

.services-index {
  padding: clamp(80px, 10vw, 145px) 0;
  border-top: 1px solid var(--line);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 64px;
}

.section-intro h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3rem, 5.5vw, 5.8rem);
}

.section-intro > p {
  margin: 0;
  color: #625d59;
  font-size: 1.1rem;
  line-height: 1.65;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(72px, 0.22fr) minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.service-number {
  color: var(--deep);
  font-size: 1.05rem;
  font-weight: 800;
}

.service-row h3 {
  margin: 0 0 9px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.service-row p {
  max-width: 720px;
  margin: 0;
  color: #625d59;
  line-height: 1.55;
}

.service-row > a,
.text-link {
  color: var(--deep);
  font-weight: 800;
  text-decoration: none;
}

.service-row:hover h3 {
  color: var(--deep);
}

.services-index[aria-labelledby="price-anchors-title"] {
  background: var(--ink);
  color: #fff;
  padding-right: max(24px, calc((100vw - 1240px) / 2));
  padding-left: max(24px, calc((100vw - 1240px) / 2));
  max-width: none;
}

.services-index[aria-labelledby="price-anchors-title"] .service-eyebrow,
.services-index[aria-labelledby="price-anchors-title"] .service-number,
.services-index[aria-labelledby="price-anchors-title"] .service-row > a {
  color: #78df91;
}

.services-index[aria-labelledby="price-anchors-title"] .section-intro > p,
.services-index[aria-labelledby="price-anchors-title"] .service-row p {
  color: var(--soft);
}

.services-index[aria-labelledby="price-anchors-title"] .service-list,
.services-index[aria-labelledby="price-anchors-title"] .service-row {
  border-color: #4a4542;
}

.services-index[aria-labelledby="price-anchors-title"] .service-number {
  font-size: clamp(1.3rem, 2vw, 2.2rem);
}

.services-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 110px 0;
}

.services-editorial aside {
  padding: 52px;
  background: var(--deep);
  color: #fff;
}

.services-editorial aside .service-eyebrow,
.services-editorial aside .text-link {
  color: #b9f0c7;
}

.services-editorial h2 {
  font-size: clamp(2.5rem, 4.5vw, 4.8rem);
}

.editorial-content {
  font-size: 1.12rem;
  line-height: 1.75;
}

.category-hero {
  min-height: 610px;
}

.category-hero .wrap {
  width: min(1180px, calc(100% - 48px));
}

.category-hero h1 {
  max-width: 1050px;
}

.service-back {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--soft);
  text-decoration: none;
}

.category-start {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 80px;
  padding: 110px 0;
}

.category-start h2,
.category-proof h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.5rem);
}

.industry-visual {
  padding-top: 90px;
}

.industry-visual img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.category-action {
  display: inline-flex;
  margin-top: 26px;
  text-decoration: none;
}

.category-proof {
  padding: 110px 0;
  background: var(--deep);
  color: #fff;
}

.category-proof .service-eyebrow,
.category-proof .text-link {
  color: #b9f0c7;
}

.category-proof h2 {
  max-width: 1000px;
}

/* Plumbers industry page: a field-to-follow-up editorial journey. */
.plumber-page {
  overflow: clip;
  background: #f7f4ee;
  color: var(--ink);
}

.plumber-hero {
  padding: clamp(84px, 9vw, 132px) 0 clamp(70px, 8vw, 112px);
  background: var(--deep);
  color: #fff;
}

.plumber-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(400px, .88fr);
  gap: clamp(52px, 6vw, 88px);
  align-items: center;
}

.plumber-hero-copy h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3.45rem, 5.3vw, 5.25rem);
  line-height: .98;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.plumber-lede {
  max-width: 650px;
  margin: 32px 0 0;
  color: #e4e0da;
  font-size: clamp(1.08rem, 1.45vw, 1.3rem);
  line-height: 1.65;
}

.plumber-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 28px;
  align-items: center;
  margin-top: 38px;
}

.plumber-text-link {
  color: #b9f0c7;
  text-underline-offset: 5px;
}

.plumber-page a:focus-visible,
.plumber-page summary:focus-visible {
  outline: 3px solid #78df91;
  outline-offset: 4px;
}

.plumber-hero-media {
  position: relative;
  margin: 0;
}

.plumber-hero-media::before {
  position: absolute;
  inset: -18px 18px 18px -18px;
  border: 1px solid rgba(185, 240, 199, .55);
  content: "";
}

.plumber-hero-media img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center 45%;
}

.plumber-hero-media figcaption {
  position: absolute;
  right: -22px;
  bottom: 32px;
  width: min(310px, 72%);
  padding: 20px 24px;
  background: #f7f4ee;
  color: var(--deep);
  font-weight: 700;
  line-height: 1.4;
}

.plumber-journey {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.plumber-journey .wrap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.plumber-journey span {
  position: relative;
  min-height: 78px;
  padding: 28px 46px 24px 0;
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.35;
}

.plumber-journey span:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 38px;
  border-top: 1px solid var(--green);
  content: "";
}

.plumber-reality,
.plumber-capabilities,
.plumber-faq {
  padding: clamp(88px, 10vw, 150px) 0;
}

.plumber-reality {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: clamp(60px, 8vw, 130px);
}

.plumber-reality h2,
.plumber-workflow h2,
.plumber-capabilities h2,
.plumber-fit h2,
.plumber-faq h2,
.plumber-close h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5.25rem);
  line-height: 1;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.plumber-reality-copy {
  align-self: end;
  max-width: 680px;
  color: #554f4b;
  font-size: 1.12rem;
  line-height: 1.72;
}

.plumber-reality-copy p:first-child { margin-top: 0; }
.plumber-reality-copy p:last-child { margin-bottom: 0; }

.plumber-workflow {
  padding: clamp(86px, 9vw, 132px) 0;
  background: #0a6b37;
  color: #fff;
}

.plumber-workflow-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .7fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 72px;
}

.plumber-workflow-intro p {
  margin: 0;
  color: #d9f3df;
  font-size: 1.12rem;
  line-height: 1.68;
}

.plumber-workflow-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .35);
}

.plumber-workflow-list article {
  padding: 40px 48px 42px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
}

.plumber-workflow-list article:nth-child(even) {
  padding-right: 0;
  padding-left: 48px;
  border-left: 1px solid rgba(255, 255, 255, .35);
}

.plumber-workflow-list h3 {
  margin: 0 0 14px;
  font-size: 1.55rem;
}

.plumber-workflow-list p {
  max-width: 620px;
  margin: 0;
  color: #d9f3df;
  line-height: 1.68;
}

.plumber-capabilities-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .65fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 70px;
}

.plumber-capabilities-heading p {
  margin: 0;
  color: #554f4b;
  font-size: 1.08rem;
  line-height: 1.65;
}

.plumber-capability-list {
  border-top: 1px solid var(--line);
}

.plumber-capability-list a {
  display: grid;
  grid-template-columns: minmax(180px, .45fr) minmax(300px, 1fr) minmax(220px, .55fr);
  gap: 38px;
  align-items: center;
  padding: 31px 0;
  border-bottom: 1px solid var(--line);
  color: var(--deep);
  text-decoration: none;
  transition: color .2s ease, transform .25s ease;
}

.plumber-capability-list a:hover {
  color: #0a6b37;
  transform: translateX(14px);
}

.plumber-capability-list span,
.plumber-capability-list small { color: #655f5a; }
.plumber-capability-list strong { font-size: 1.3rem; }
.plumber-capability-list small { line-height: 1.5; }

.plumber-fit {
  padding: clamp(88px, 10vw, 146px) 0;
  background: #fff;
}

.plumber-fit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .75fr);
  gap: clamp(70px, 9vw, 140px);
}

.plumber-fit-grid > div > p {
  max-width: 650px;
  color: #554f4b;
  font-size: 1.12rem;
  line-height: 1.7;
}

.plumber-fit-facts { border-top: 1px solid var(--line); }
.plumber-fit-facts p {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.plumber-fit-facts span { color: #554f4b; line-height: 1.5; }

.plumber-faq {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(440px, 1fr);
  gap: clamp(70px, 9vw, 140px);
}

.plumber-faq-list { border-top: 1px solid var(--line); }
.plumber-faq details { border-bottom: 1px solid var(--line); }
.plumber-faq summary {
  padding: 25px 42px 25px 0;
  font-size: 1.12rem;
  font-weight: 750;
  cursor: pointer;
}
.plumber-faq details p {
  max-width: 70ch;
  margin: 0;
  padding: 0 38px 26px 0;
  color: #554f4b;
  line-height: 1.7;
}

.plumber-close {
  padding: clamp(90px, 10vw, 150px) 0;
  background: var(--deep);
  color: #fff;
}
.plumber-close h2 { max-width: 1040px; }
.plumber-close p {
  max-width: 680px;
  margin: 28px 0 36px;
  color: #e4e0da;
  font-size: 1.15rem;
  line-height: 1.68;
}

@media (max-width: 900px) {
  .plumber-hero-grid,
  .plumber-reality,
  .plumber-workflow-intro,
  .plumber-capabilities-heading,
  .plumber-fit-grid,
  .plumber-faq { grid-template-columns: 1fr; }
  .plumber-hero-media { max-width: 680px; }
  .plumber-hero-media img { aspect-ratio: 4 / 3; }
  .plumber-journey .wrap { grid-template-columns: 1fr; padding: 16px 24px; }
  .plumber-journey span { min-height: 0; padding: 9px 0 9px 22px; }
  .plumber-journey span::before { position: absolute; left: 0; color: #0a6b37; content: "—"; }
  .plumber-journey span:not(:last-child)::after { display: none; }
  .plumber-capability-list a { grid-template-columns: 1fr; gap: 8px; }
  .plumber-faq { gap: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  .plumber-capability-list a {
    transition: none;
  }

  .plumber-capability-list a:hover {
    transform: none;
  }
}

.industry-kicker,
.industry-section-label {
  margin: 0 0 .65rem;
  color: #0a6b37;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.industry-page .plumber-hero-media img { object-position: center; }
.industry-dentists .plumber-hero-media img,
.industry-aesthetic-clinics .plumber-hero-media img,
.industry-salons .plumber-hero-media img { object-position: center 30%; }

@media (max-width: 680px) {
  .plumber-hero { padding-top: 64px; }
  .plumber-hero-grid { gap: 58px; }
  .plumber-hero-copy h1 { font-size: clamp(3rem, 14vw, 4.4rem); }
  .plumber-actions { align-items: flex-start; flex-direction: column; }
  .plumber-hero-media::before { inset: -10px 10px 10px -10px; }
  .plumber-hero-media figcaption { right: -8px; bottom: 18px; }
  .plumber-workflow-list { grid-template-columns: 1fr; }
  .plumber-workflow-list article,
  .plumber-workflow-list article:nth-child(even) { padding: 30px 0; border-left: 0; }
}

/* Services overview: detailed editorial dossiers. */
.services-overview .service-actions .button.primary {
  border: 1px solid var(--green);
  background: var(--green);
  color: var(--ink);
}

.services-overview .service-actions .button.primary:hover {
  border-color: #78df91;
  background: #78df91;
}

.services-overview .button:focus-visible,
.services-overview .service-route:focus-visible,
.services-overview a:focus-visible {
  outline: 3px solid #78df91;
  outline-offset: 4px;
}

.services-overview .services-hero {
  min-height: 700px;
}

.services-overview .services-hero h1 {
  max-width: 660px;
  font-size: clamp(3.5rem, 6.4vw, 6rem);
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.services-hero-copy {
  padding: 90px 0;
}

.service-premise {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 90px;
  padding: clamp(90px, 11vw, 150px) 0;
}

.service-premise h2,
.service-dossiers-intro h2,
.service-decision h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.service-premise > div {
  align-self: end;
  max-width: 610px;
  color: #554f4b;
  font-size: 1.14rem;
  line-height: 1.7;
}

.service-introduction {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-introduction-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  gap: clamp(56px, 7vw, 100px);
  align-items: center;
  padding: clamp(76px, 8vw, 112px) 0;
}

.service-introduction h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.7rem, 4.7vw, 5rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
}

.service-introduction-copy {
  max-width: 660px;
  color: #554f4b;
  font-size: 1.12rem;
  line-height: 1.7;
}

.service-introduction-copy p:first-child {
  margin-top: 0;
}

.service-introduction-copy .service-route {
  margin-top: 10px;
}

.service-dossiers {
  border-top: 0;
}

.service-dossiers-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
  gap: 80px;
  align-items: end;
  padding: 100px 0 72px;
}

.service-dossiers-intro > p {
  margin: 0;
  color: #554f4b;
  font-size: 1.1rem;
  line-height: 1.65;
}

.service-chapter {
  border-top: 1px solid var(--line);
}

.service-overview-index {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.service-overview-index .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.service-overview-index a {
  padding: 20px 24px 20px 0;
  color: var(--deep);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.service-overview-index a:not(:nth-child(3n + 1)) {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.service-chapter-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: clamp(56px, 8vw, 110px);
  align-items: center;
  padding: clamp(80px, 10vw, 140px) 0;
}

.service-chapter-reverse .service-chapter-image {
  order: 2;
}

.service-chapter-image {
  margin: 0;
  min-height: 620px;
  background: var(--ink);
  overflow: hidden;
}

.service-chapter-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.03);
}

.service-chapter-body h3 {
  max-width: 760px;
  margin: 0 0 28px;
  font-size: clamp(2.8rem, 5vw, 5rem);
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.service-chapter-summary {
  max-width: 720px;
  margin: 0 0 48px;
  color: #4f4945;
  font-size: clamp(1.18rem, 1.8vw, 1.45rem);
  line-height: 1.55;
}

.service-detail-block {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.service-detail-block h4,
.service-start h4 {
  margin: 0;
  font-size: 0.94rem;
  letter-spacing: 0;
}

.service-detail-block p,
.service-detail-block ul,
.service-start p {
  margin: 0;
  line-height: 1.65;
}

.service-detail-block ul {
  display: grid;
  gap: 8px;
  padding-left: 1.2em;
}

.service-start {
  margin: 12px 0 30px;
  padding: 26px 28px;
  background: var(--ink);
  color: #fff;
}

.service-start h4 {
  margin-bottom: 10px;
  color: #9aeba9;
}

.service-start p {
  color: #f2efe8;
}

.service-route {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--deep);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.service-decision {
  padding: clamp(90px, 11vw, 150px) 0;
  background: var(--deep);
  color: #fff;
}

.service-decision-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.6fr);
  gap: 100px;
  align-items: end;
}

.service-decision p {
  max-width: 760px;
  color: #d7f1dd;
  font-size: 1.14rem;
  line-height: 1.65;
}

.service-decision-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.service-decision .button.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  background: #fff;
  color: var(--deep);
  font-weight: 800;
  text-decoration: none;
}

.service-decision .service-route {
  color: #fff;
}

.services-overview .services-editorial {
  display: block;
  padding-top: 72px;
  padding-bottom: 72px;
}

/* Compact Services overview layout correction. */
.services-overview .services-hero {
  min-height: 620px;
}

.services-overview .services-hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 1.05fr);
  gap: 56px;
}

.services-overview .services-hero h1 {
  max-width: 700px;
  font-size: clamp(3.3rem, 5.4vw, 5.35rem);
  line-height: 0.94;
}

.services-overview .services-hero-copy {
  padding: 72px 0 64px;
}

.services-overview .service-system {
  height: 500px;
}

.service-premise {
  gap: 64px;
  padding: 88px 0;
}

.service-premise h2,
.service-dossiers-intro h2,
.service-decision h2 {
  font-size: clamp(2.4rem, 4vw, 4.2rem);
}

.service-dossiers-intro {
  gap: 64px;
  padding: 76px 0 56px;
}

.service-chapter-grid {
  grid-template-columns: minmax(400px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(42px, 5vw, 72px);
  padding: 60px 0;
  align-items: stretch;
}

.service-chapter-image {
  align-self: stretch;
  min-height: 560px;
  height: auto;
  aspect-ratio: auto;
}

.service-chapter-image img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  aspect-ratio: auto;
  object-fit: cover;
}

.service-chapter-body {
  align-self: center;
}

.service-chapter-body h3 {
  margin-bottom: 20px;
  font-size: clamp(2.45rem, 4vw, 4.1rem);
  line-height: 0.98;
}

.service-chapter-summary {
  margin-bottom: 30px;
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
}

.service-detail-block {
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  padding: 21px 0;
}

.service-start {
  margin: 8px 0 20px;
  padding: 22px 24px;
}

.service-decision {
  padding: 84px 0;
}

.services-overview .services-editorial {
  padding-top: 54px;
  padding-bottom: 54px;
}

/* CRM product page. */
.crm-page {
  background: var(--paper);
}

.crm-hero {
  min-height: 720px;
  display: grid;
  align-items: center;
  padding: 145px 0 90px;
  background: var(--ink);
  color: #fff;
}

.crm-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.55fr);
  gap: clamp(64px, 9vw, 130px);
  align-items: end;
}

.crm-hero-copy h1 {
  max-width: 930px;
  margin: 26px 0 30px;
  font-size: clamp(3.7rem, 6.8vw, 6rem);
  letter-spacing: -0.04em;
  line-height: 0.94;
  text-wrap: balance;
}

.crm-hero-copy > p {
  max-width: 730px;
  color: #d7d2c9;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.5;
}

.crm-hero .service-actions .button.primary {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  padding: 0 24px;
  background: #28b34b;
  color: #07180c;
  font-weight: 800;
  text-decoration: none;
}

.crm-hero .service-actions .button.primary:hover {
  background: #7de493;
}

.crm-price-panel {
  padding: 34px;
  border-top: 1px solid #6f6965;
  border-bottom: 1px solid #6f6965;
}

.crm-price-panel > span,
.crm-price-panel > p:first-child {
  color: #9aeba9;
  font-weight: 800;
}

.crm-price-panel > strong {
  display: block;
  margin: 18px 0 8px;
  font-size: clamp(5.5rem, 9vw, 8rem);
  letter-spacing: -0.07em;
  line-height: 0.8;
}

.crm-price-panel > strong span {
  vertical-align: top;
  font-size: 0.35em;
}

.crm-price-panel.quote-panel > strong {
  font-size: clamp(4.2rem, 6.8vw, 6rem);
  letter-spacing: -0.045em;
}

.crm-price-panel > strong.price-from {
  display: flex;
  align-items: baseline;
  gap: 0.16em;
  font-size: clamp(4.2rem, 6.3vw, 5.6rem);
  letter-spacing: -0.065em;
  white-space: nowrap;
}

.crm-price-panel > strong.price-from small {
  display: inline;
  margin: 0;
  color: #fff;
  font-size: 0.2em;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.crm-price-panel p,
.crm-price-panel li {
  color: #e5e0db;
}

.crm-price-panel ul {
  padding: 22px 0 0 1.2em;
  border-top: 1px solid #4d4845;
  line-height: 1.7;
}

.crm-anchor-nav {
  position: sticky;
  z-index: 5;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(242, 239, 232, 0.96);
}

.crm-anchor-nav .wrap {
  display: flex;
  gap: 30px;
  overflow-x: auto;
}

.crm-anchor-nav a {
  flex: 0 0 auto;
  padding: 19px 0;
  color: var(--deep);
  font-weight: 800;
  text-decoration: none;
}

.partner-page .crm-anchor-nav {
  overflow: hidden;
}

.crm-problem,
.crm-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.7fr);
  gap: clamp(56px, 8vw, 110px);
}

.crm-problem {
  align-items: start;
  padding: 52px 0;
}

.crm-section-heading {
  align-items: start;
}

.crm-problem h2,
.crm-section-heading h2,
.crm-faq h2,
.crm-final-cta h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
}

.crm-problem > div,
.crm-section-heading > p {
  color: #554f4b;
  font-size: 1.12rem;
  line-height: 1.7;
}

.crm-included,
.crm-faq {
  padding: 110px 0;
  background: #e6e1d8;
}

.crm-section-heading {
  margin-bottom: 66px;
}

.crm-feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.crm-feature-list article {
  padding: 32px 30px 36px 0;
  border-bottom: 1px solid var(--line);
}

.crm-feature-list article:not(:nth-child(3n + 1)) {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.crm-feature-list h3,
.crm-boundaries h3,
.crm-addon-feature h3,
.crm-usage h3 {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 2.3vw, 2.4rem);
  line-height: 1.05;
}

.crm-feature-list p,
.crm-boundaries li,
.crm-addon-feature p,
.crm-addon-feature li,
.crm-usage p {
  color: #554f4b;
  line-height: 1.65;
}

.crm-boundaries-band {
  background: var(--ink);
  color: #fff;
}

.crm-boundaries {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.crm-boundaries > div {
  padding: 52px 54px 52px 0;
}

.crm-boundaries > div + div {
  padding-right: 0;
  padding-left: 54px;
  border-left: 1px solid #4e4946;
}

.crm-boundaries li {
  color: #e5e0db;
}

.crm-setup,
.crm-add-ons {
  padding: 110px 0;
}

.crm-option-list {
  border-top: 1px solid var(--line);
}

.crm-option-list article {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  gap: 60px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.crm-option-list h3,
.crm-managed-list h3 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
}

.crm-option-list strong,
.crm-managed-list strong,
.crm-addon-feature strong {
  color: var(--deep);
  font-size: clamp(1.6rem, 2.5vw, 2.6rem);
}

.crm-option-list small,
.crm-managed-list small {
  font-size: 0.45em;
}

.crm-option-list p,
.crm-option-list li {
  line-height: 1.65;
}

.crm-managed {
  padding: 52px 0;
  background: var(--ink);
  color: #fff;
}

.crm-managed .crm-section-heading > p,
.crm-managed-note,
.crm-managed-list p {
  color: #d7d2c9;
}

.crm-managed-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #5d5753;
  border-bottom: 1px solid #5d5753;
}

.crm-managed-list article {
  padding: 38px 34px;
}

.crm-managed-list article + article {
  border-left: 1px solid #5d5753;
}

.crm-managed-list strong {
  color: #9aeba9;
}

.crm-managed-note {
  max-width: 900px;
  margin: 34px 0 0;
  line-height: 1.65;
}

.technology-discovery-note {
  color: #554f4b;
}

.technology-discovery .crm-option-list p {
  margin-top: 24px;
}

.technology-discovery-action {
  margin-top: 28px;
}

/* CRM commercial sequence: monthly managed support uses the light setup surface;
   one-time setup uses the dark managed surface. */
.crm-managed-light .crm-managed-list {
  grid-template-columns: repeat(4, 1fr);
  border-color: var(--line);
}

.crm-managed-light .crm-managed-list article + article {
  border-color: var(--line);
}

.crm-managed-light .crm-managed-list strong {
  color: var(--deep);
}

.crm-managed-light .crm-section-heading > p,
.crm-managed-light .crm-managed-note,
.crm-managed-light .crm-managed-list p {
  color: #554f4b;
}

.crm-setup-dark .crm-option-list {
  border-color: #5d5753;
}

.crm-setup-dark .crm-option-list article {
  border-color: #5d5753;
}

.crm-setup-dark .crm-option-list strong {
  color: #9aeba9;
}

.crm-setup-dark .crm-option-list p,
.crm-setup-dark .crm-option-list li,
.crm-setup-dark .crm-section-heading > p {
  color: #d7d2c9;
}

.crm-addon-feature {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  padding: 54px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.crm-usage {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr) auto;
  gap: 44px;
  align-items: center;
  padding: 42px 0 0;
}

.crm-faq {
  background: #e6e1d8;
}

.crm-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: 100px;
}

.crm-faq details {
  border-top: 1px solid var(--line);
}

.crm-faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.crm-faq summary {
  padding: 24px 38px 24px 0;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
}

.crm-faq details p {
  max-width: 70ch;
  margin: 0 0 28px;
  color: #554f4b;
  line-height: 1.7;
}

.crm-final-cta {
  padding: 100px 0;
  background: var(--deep);
  color: #fff;
}

.crm-final-cta .wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: end;
}

.crm-final-cta p {
  max-width: 760px;
  color: #d7f1dd;
  font-size: 1.12rem;
}

.crm-final-cta .button.primary {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  padding: 0 24px;
  background: #fff;
  color: var(--deep);
  font-weight: 800;
  text-decoration: none;
}

.crm-editor-content {
  padding: 64px 0;
}

.crm-page a:focus-visible,
.crm-page summary:focus-visible {
  outline: 3px solid #78df91;
  outline-offset: 4px;
}

/* Shared product hero correction: content-driven height, compact return link, aligned price panel. */
.crm-hero,
.websites-hero {
  min-height: auto;
  padding: clamp(64px, 7vw, 96px) 0;
}
.crm-hero-grid,
.websites-hero-grid { align-items: center; }
.crm-hero .service-back,
.websites-hero .service-back {
  margin-bottom: 18px;
  color: var(--soft);
  font-size: .92rem;
  line-height: 1.2;
}
.crm-hero-copy h1,
.websites-hero h1 { margin-top: 0; }
.crm-price-panel,
.websites-hero-price {
  align-self: stretch;
}
.crm-price-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}
.crm-price-panel ul {
  margin-bottom: 0;
}
@media (max-width: 960px) {
  .crm-hero,
  .websites-hero { padding: 64px 0; }
}
@media (max-width: 620px) {
  .crm-hero,
  .websites-hero { padding: 48px 0; }
  .crm-hero-copy h1,
  .websites-hero h1 { margin-top: 0; }
}

/* Paid Advertising product page: shared CRM components with only route-specific behavior. */
.ads-page .crm-managed-list p,
.ads-page .crm-managed-list li { color: #d7d2c9; line-height: 1.65; }
.ads-page .crm-managed-list ul { padding-left: 1.2em; }
.ads-boundaries-band { background: var(--ink); color: #fff; }
.ads-page .crm-anchor-nav .wrap { justify-content: space-between; }
@media (max-width: 620px) {
  .ads-page .crm-anchor-nav .wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0 20px;
    overflow: visible;
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .ads-page .crm-anchor-nav a { flex: 0 0 auto; padding: 10px 0; }
}

/* SEO and AI Search product page. */
.seo-audit-list p { margin: 0 0 12px; color: #554f4b; font-size: 1.05rem; }
.seo-audit-type { color: var(--deep) !important; font-size: .88rem !important; font-weight: 800; letter-spacing: .01em; }
.seo-audit-credit { max-width: 920px; margin: 32px 0 0; padding-left: 22px; border-left: 4px solid var(--mint, #28b34b); color: #554f4b; }
.seo-plan-list { border-top: 1px solid var(--line); }
.seo-plan-list article { display: grid; grid-template-columns: minmax(300px,.8fr) minmax(0,1.2fr); gap: 58px; padding: 42px 0; border-bottom: 1px solid var(--line); }
.seo-plan-list h3 { margin: 0 0 12px; font-size: clamp(2.3rem,4vw,4rem); line-height: .98; letter-spacing: -.035em; }
.seo-plan-list strong { color: var(--deep); font-size: clamp(1.8rem,2.7vw,2.8rem); }
.seo-plan-list p, .seo-plan-list li { color: #554f4b; line-height: 1.65; }
.seo-page .crm-managed .seo-plan-list { border-color: #5d5753; }
.seo-page .crm-managed .seo-plan-list article { border-color: #5d5753; }
.seo-page .crm-managed .seo-plan-list strong { color: #9aeba9; }
.seo-page .crm-managed .seo-plan-list p, .seo-page .crm-managed .seo-plan-list li { color: #d7d2c9; }
.seo-combined { padding: 100px 0; background: #0a6b37; color: #fff; }
.seo-combined .crm-section-heading > p, .seo-combined .seo-plan-list p, .seo-combined .seo-plan-list li { color: #d7f1dd; }
.seo-combined .seo-plan-list { border-color: #6aac7f; }
.seo-combined .seo-plan-list article { border-color: #6aac7f; }
.seo-combined .seo-plan-list strong { color: #fff; }
.seo-boundaries-band { background: var(--ink); color: #fff; }
.seo-page .crm-anchor-nav .wrap { justify-content: space-between; }

@media (max-width: 620px) {
  .seo-plan-list article { grid-template-columns: 1fr; gap: 18px; padding: 34px 0; }
  .seo-combined { padding: 64px 0; }
  .seo-page .crm-anchor-nav .wrap { display: flex; gap: 20px; overflow-x: auto; }
  .seo-page .crm-anchor-nav a { flex: 0 0 auto; }
}

/* Websites product page. */
.websites-page { background: var(--paper); }
.websites-hero { min-height: 720px; display: grid; align-items: center; padding: 145px 0 90px; background: var(--ink); color: #fff; }
.websites-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .55fr); gap: clamp(64px, 9vw, 130px); align-items: end; }
.websites-hero h1 { max-width: 930px; margin: 26px 0 30px; font-size: clamp(3.7rem, 6.8vw, 6rem); line-height: .94; letter-spacing: -.04em; text-wrap: balance; }
.websites-hero-grid > div > p { max-width: 730px; color: #d7d2c9; font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.5; }
.websites-hero .button.primary { display: inline-flex; min-height: 54px; align-items: center; padding: 0 24px; background: #28b34b; color: #07180c; font-weight: 800; text-decoration: none; }
.websites-hero-price { padding: 34px; border-top: 1px solid #6f6965; border-bottom: 1px solid #6f6965; }
.websites-hero-price > span { color: #9aeba9; font-weight: 800; }
.websites-hero-price strong { display: flex; flex-wrap: wrap; gap: 0 .18em; margin: 18px 0 12px; font-size: clamp(3.8rem, 6vw, 6rem); line-height: .9; letter-spacing: -.06em; }
.websites-hero-price strong span { color: inherit; }
.websites-hero-price p { color: #e5e0db; line-height: 1.6; }
.website-packages, .focused-builds, .website-hosting { padding: 110px 0; }
.website-packages { background: #e6e1d8; }
.website-package-list { border-top: 1px solid var(--line); }
.website-package-list article { display: grid; grid-template-columns: minmax(320px, .85fr) minmax(0, 1.15fr); gap: 60px; align-items: start; padding: 40px 0; border-bottom: 1px solid var(--line); }
.website-package-heading h3, .focused-build-list h3, .hosting-options h3 { margin: 0 0 12px; font-size: clamp(2.3rem, 4vw, 4.2rem); line-height: .98; letter-spacing: -.035em; }
.website-package-heading strong, .focused-build-list strong, .hosting-options strong { color: var(--deep); font-size: clamp(1.8rem, 2.7vw, 2.8rem); }
.website-package-heading small, .focused-build-list small { font-size: .42em; }
.website-package-heading p, .website-package-list li, .focused-build-list p, .focused-build-list li, .hosting-options p, .hosting-options li { color: #554f4b; line-height: 1.65; }
.website-package-list .service-route { grid-column: 2; justify-self: start; }
.website-scope { padding: 105px 0; background: var(--ink); color: #fff; }
.website-scope-grid { display: grid; grid-template-columns: 1fr 1fr; }
.website-scope-grid > div { padding-right: 54px; }
.website-scope-grid > div + div { padding-right: 0; padding-left: 54px; border-left: 1px solid #5d5753; }
.website-scope h2 { margin-top: 0; font-size: clamp(2.4rem, 4vw, 4rem); line-height: 1; letter-spacing: -.035em; }
.website-scope li { color: #e2ddd6; line-height: 1.75; }
.focused-builds { background: var(--paper); }
.focused-build-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.focused-build-list article { display: grid; grid-template-columns: .8fr 1fr; gap: 38px; padding: 44px; }
.focused-build-list article:first-child { padding-left: 0; }
.focused-build-list article + article { border-left: 1px solid var(--line); }
.website-process { padding: 105px 0; }
.website-process ol { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; counter-reset: website-step; }
.website-process li { counter-increment: website-step; display: grid; grid-template-columns: 70px minmax(180px,.5fr) minmax(0,1fr); gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.website-process li::before { content: counter(website-step, decimal-leading-zero); color: var(--deep); font-weight: 800; }
.website-process li strong { font-size: 1.35rem; }
.website-process li span { color: #554f4b; line-height: 1.6; }
.custom-website-project { padding: 100px 0; background: #0a6b37; color: #fff; }
.custom-website-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .75fr); gap: clamp(64px, 9vw, 120px); align-items: start; }
.custom-website-grid h2 { max-width: 720px; margin: 0 0 24px; font-size: clamp(3rem, 5vw, 5.2rem); line-height: .97; letter-spacing: -.04em; }
.custom-website-grid h3 { margin: 0 0 18px; font-size: clamp(1.8rem, 2.8vw, 2.7rem); }
.custom-website-grid p, .custom-website-grid li { color: #d7f1dd; line-height: 1.7; }
.custom-website-grid .button.primary { display: inline-flex; min-height: 54px; align-items: center; margin-top: 18px; padding: 0 24px; background: #fff; color: #0a4f2a; font-weight: 800; text-decoration: none; }
.custom-website-grid ul { margin: 0 0 24px; padding-left: 1.2em; }

.website-hosting { background: var(--ink); color: #fff; }
.website-hosting .service-route { color: #7de493; }
.website-hosting .crm-section-heading > p, .hosting-options p, .hosting-options li, .hosting-note { color: #d7d2c9; }
.hosting-options { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #5d5753; border-bottom: 1px solid #5d5753; }
.hosting-options article { padding: 42px; }
.hosting-options article:first-child { padding-left: 0; }
.hosting-options article + article { border-left: 1px solid #5d5753; }
.hosting-options strong { color: #9aeba9; }
.hosting-note { max-width: 900px; margin: 32px 0 0; line-height: 1.65; }
.website-connected { display: grid; grid-template-columns: 1fr minmax(340px,.65fr); gap: 90px; padding: 100px 0; align-items: end; }
.website-connected h2 { margin: 0; font-size: clamp(2.8rem, 5vw, 5.2rem); line-height: .98; letter-spacing: -.04em; }
.website-connected p { color: #554f4b; font-size: 1.1rem; line-height: 1.7; }

@media (max-width: 960px) {
  .websites-hero { min-height: auto; padding: 120px 0 74px; }
  .websites-hero-grid, .website-connected, .custom-website-grid { grid-template-columns: 1fr; gap: 48px; }
  .websites-hero-price { max-width: 620px; }
  .website-packages, .focused-builds, .website-hosting, .website-process { padding-top: 82px; padding-bottom: 82px; }
  .website-package-list article { grid-template-columns: minmax(280px,.8fr) minmax(0,1.2fr); gap: 36px; }
  .website-package-list .service-route { grid-column: 2; }
  .focused-build-list { grid-template-columns: 1fr; }
  .focused-build-list article { padding: 38px 0; }
  .focused-build-list article + article { border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 620px) {
  .websites-hero { padding: 104px 0 56px; }
  .websites-hero h1 { margin: 22px 0 20px; font-size: clamp(2.4rem, 10.6vw, 3.15rem); line-height: .98; }
  .websites-hero-grid > div > p { font-size: 1rem; }
  .websites-hero-price strong { font-size: 3.7rem; }
  .website-packages, .focused-builds, .website-hosting, .website-process { padding-top: 62px; padding-bottom: 62px; }
  .website-package-list article, .focused-build-list article { grid-template-columns: 1fr; gap: 18px; padding: 34px 0; }
  .website-package-list .service-route { grid-column: 1; }
  .website-package-heading h3, .focused-build-list h3, .hosting-options h3 { font-size: 2.35rem; }
  .website-scope-grid, .hosting-options { grid-template-columns: 1fr; }
  .website-scope { padding: 64px 0; }
  .website-scope-grid > div { padding: 0; }
  .website-scope-grid > div + div { margin-top: 38px; padding-top: 38px; border-top: 1px solid #5d5753; border-left: 0; }
  .website-process li { grid-template-columns: 42px 1fr; gap: 12px; }
  .website-process li span { grid-column: 2; }
  .hosting-options article { padding: 34px 0; }
  .hosting-options article + article { border-top: 1px solid #5d5753; border-left: 0; }
  .websites-page .crm-anchor-nav .wrap {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .websites-page .crm-anchor-nav a {
    flex: 0 0 auto;
    padding: 12px 0;
  }

  .custom-website-project { padding: 64px 0; }
  .custom-website-grid { gap: 34px; }
  .custom-website-grid h2 { font-size: clamp(2.5rem, 11vw, 3.2rem); }
  .custom-website-grid .button.primary { width: 100%; justify-content: center; }
  .website-connected { padding: 64px 0; gap: 28px; }
}

/* AI & Automation product catalogue */
.automation-catalogue,
.automation-custom {
  padding: 94px 0;
}

.automation-product-list {
  border-top: 1px solid var(--line);
}

.automation-product-list article {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(180px, .42fr) minmax(280px, .8fr);
  gap: 42px;
  align-items: start;
  padding: 38px 0 42px;
  border-bottom: 1px solid var(--line);
}

.automation-product-heading {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
}

.automation-product-heading > span {
  padding-top: 7px;
  color: var(--deep);
  font-weight: 800;
}

.automation-product-heading h3,
.automation-project-routes h3 {
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.automation-product-heading p,
.automation-project-routes p {
  margin: 0;
  color: #554f4b;
  line-height: 1.62;
}

.automation-product-price strong,
.automation-project-routes > article > strong {
  display: block;
  color: var(--deep);
  font-size: clamp(1.55rem, 2.4vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.automation-product-price small {
  display: block;
  margin-top: 8px;
  color: #68615d;
  font-size: .87rem;
  line-height: 1.4;
}

.automation-product-list ul,
.automation-project-routes ul {
  margin: 0;
  padding-left: 1.15em;
  line-height: 1.62;
}

.automation-product-list li + li,
.automation-project-routes li + li {
  margin-top: 7px;
}

.automation-crm-note {
  max-width: 940px;
  margin: 32px 0 0;
  color: #554f4b;
  line-height: 1.65;
}

.automation-advanced .automation-product-list {
  border-color: #5d5753;
}

.automation-advanced .automation-product-list article {
  border-color: #5d5753;
}

.automation-advanced .automation-product-heading > span,
.automation-advanced .automation-product-price strong {
  color: #9aeba9;
}

.automation-advanced .automation-product-heading p,
.automation-advanced .automation-product-price small,
.automation-advanced .automation-product-list li {
  color: #d7d2c9;
}

.automation-project-routes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.automation-project-routes article {
  padding: 42px 48px 46px 0;
}

.automation-project-routes article + article {
  padding-right: 0;
  padding-left: 48px;
  border-left: 1px solid var(--line);
}

.automation-project-routes article > span {
  display: block;
  margin-bottom: 18px;
  color: var(--deep);
  font-weight: 800;
}

.automation-project-routes > article > strong {
  margin: 22px 0 14px;
}

.automation-project-routes ul {
  margin-top: 24px;
}

/* Conversion page: the process has four equal steps, while the two
   managed plans share the available width without oversized prices. */
#conversion-process .crm-managed-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#conversion-plans .crm-managed-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#conversion-plans .crm-managed-list strong {
  color: var(--deep);
}

#conversion-plans .crm-managed-list p {
  color: var(--ink);
}

@media (max-width: 960px) {
  .crm-hero {
    min-height: auto;
    padding: 120px 0 72px;
  }

  .crm-hero-grid,
  .crm-problem,
  .crm-section-heading,
  .crm-faq-grid,
  .crm-final-cta .wrap {
    grid-template-columns: 1fr;
  }

  .crm-hero-grid {
    gap: 54px;
  }

  .crm-price-panel {
    max-width: 620px;
    padding-left: 0;
    padding-right: 0;
  }

  .crm-included,
  .crm-setup,
  .crm-add-ons,
  .crm-faq {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .crm-problem,
  .crm-section-heading,
  .crm-faq-grid {
    gap: 34px;
  }

  .crm-feature-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .crm-feature-list article:nth-child(3n + 1) {
    padding-left: 30px;
    border-left: 1px solid var(--line);
  }

  .crm-feature-list article:nth-child(2n + 1) {
    padding-left: 0;
    border-left: 0;
  }

  .crm-managed-list,
  .crm-managed-light .crm-managed-list,
  #conversion-process .crm-managed-list,
  #conversion-plans .crm-managed-list {
    grid-template-columns: 1fr;
  }

  .automation-product-list article {
    grid-template-columns: minmax(0, 1fr) minmax(180px, .45fr);
    gap: 28px 38px;
  }

  .automation-product-list article > ul {
    grid-column: 1 / -1;
    margin-left: 60px;
  }

  .crm-managed-list article + article {
    border-top: 1px solid #5d5753;
    border-left: 0;
  }

  .crm-managed-light .crm-managed-list article + article {
    border-top-color: var(--line);
  }

  .crm-addon-feature,
  .crm-usage {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .crm-final-cta .wrap {
    gap: 38px;
  }

  .crm-final-cta .button {
    justify-self: start;
  }

  .services-hero {
    min-height: auto;
  }

  .services-hero-grid,
  .services-overview .services-hero-grid,
  .journey-story-copy,
  .section-intro,
  .services-editorial,
  .category-start,
  .service-premise,
  .service-introduction-grid,
  .service-dossiers-intro,
  .service-chapter-grid,
  .service-decision-grid {
    grid-template-columns: 1fr;
  }

  .service-chapter-reverse .service-chapter-image {
    order: 0;
  }

  .service-chapter-image,
  .service-chapter-image img {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .journey-story-copy {
    grid-template-areas:
      "eyebrow"
      "heading"
      "copy";
  }

  .services-hero-grid {
    gap: 0;
  }

  .services-hero-grid > div {
    padding: 72px 0 46px;
  }

  .service-system {
    width: 100vw;
    height: min(64vw, 560px);
    margin-left: calc(50% - 50vw);
    border-left: 0;
  }

  .service-system::after {
    background: linear-gradient(180deg, var(--ink) 0%, transparent 26%);
  }

  .journey-story-copy,
  .section-intro,
  .services-editorial,
  .category-start {
    gap: 36px;
  }

  .journey-scenes {
    grid-template-columns: 1fr 1fr;
  }

  .journey-scenes figure:last-child {
    grid-column: 1 / -1;
  }

  .journey-scenes figure:nth-child(2) {
    transform: translateY(22px);
  }

  .service-row {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .service-row > a {
    grid-column: 2;
  }
}

@media (max-width: 620px) {
  .crm-hero {
    padding: 104px 0 54px;
  }

  .crm-hero-copy h1 {
    margin: 22px 0 20px;
    font-size: clamp(2.45rem, 11vw, 3.2rem);
    line-height: 0.98;
  }

  .crm-hero-copy > p {
    font-size: 1rem;
  }

  .crm-price-panel > strong {
    font-size: 6rem;
  }

  .crm-anchor-nav {
    position: static;
  }

  .crm-anchor-nav .wrap {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    gap: 0 22px;
    padding-top: 4px;
    padding-bottom: 4px;
    overflow: visible;
  }

  .crm-anchor-nav a {
    padding: 10px 0;
    font-size: 0.86rem;
  }

  .crm-included,
  .crm-setup,
  .crm-add-ons,
  .crm-faq {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .crm-problem,
  .crm-managed {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .crm-problem h2,
  .crm-section-heading h2,
  .crm-faq h2,
  .crm-final-cta h2 {
    font-size: clamp(2.25rem, 10vw, 3rem);
  }

  .crm-section-heading {
    margin-bottom: 38px;
  }

  .crm-feature-list,
  .crm-boundaries {
    grid-template-columns: 1fr;
  }

  .crm-feature-list article,
  .crm-feature-list article:not(:nth-child(3n + 1)),
  .crm-feature-list article:nth-child(3n + 1),
  .crm-feature-list article:nth-child(2n + 1) {
    padding: 26px 0;
    border-left: 0;
    border-right: 0;
  }

  .crm-boundaries > div {
    padding: 32px 0;
  }

  .crm-boundaries > div + div {
    padding-left: 0;
    border-top: 1px solid #4e4946;
    border-left: 0;
  }

  .crm-option-list article {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 32px 0;
  }

  .crm-option-list h3,
  .crm-managed-list h3 {
    font-size: 2.25rem;
  }

  .crm-managed-list article {
    padding: 30px 0;
  }

  .automation-catalogue,
  .automation-custom {
    padding: 62px 0;
  }

  .automation-product-list article {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 0 34px;
  }

  .automation-product-list article > ul {
    grid-column: auto;
    margin-left: 60px;
  }

  .automation-product-price {
    margin-left: 60px;
  }

  .automation-project-routes {
    grid-template-columns: 1fr;
  }

  .automation-project-routes article,
  .automation-project-routes article + article {
    padding: 34px 0;
    border-left: 0;
  }

  .automation-project-routes article + article {
    border-top: 1px solid var(--line);
  }

  .crm-addon-feature {
    padding: 38px 0;
  }

  .crm-final-cta {
    padding: 66px 0;
  }

  .crm-final-cta .button,
  .crm-page .service-actions .button {
    width: 100%;
    justify-content: center;
  }

  .crm-editor-content {
    padding: 40px 0;
  }

  .services-hero h1 {
    font-size: clamp(3.6rem, 18vw, 5rem);
  }

  .services-lede {
    font-size: 1.08rem;
  }

  .service-actions {
    flex-direction: column;
  }

  .service-actions .button {
    width: 100%;
  }

  .service-system {
    height: 78vw;
  }

  .service-system img {
    object-position: 67% center;
  }

  .journey-story {
    padding: 72px 0 92px;
  }

  .journey-scenes {
    display: block;
  }

  .journey-scenes figure,
  .journey-scenes figure:nth-child(2) {
    margin-bottom: 16px;
    transform: none;
  }

  .journey-scenes img {
    aspect-ratio: 4 / 3;
  }

  .services-index {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px 0;
  }

  .service-row > a {
    grid-column: 1;
  }

  .services-editorial aside {
    padding: 30px;
  }

  .category-hero {
    min-height: 540px;
  }
  /* Final shared product hero authority: keep all current and future product pages aligned. */
  .crm-hero,
  .websites-hero {
    min-height: auto !important;
    padding: 64px 0 !important;
  }
  .crm-hero-grid,
  .websites-hero-grid {
    align-items: center !important;
  }
  .crm-hero .service-back,
  .websites-hero .service-back {
    margin: 0 0 18px !important;
    font-size: .92rem;
    line-height: 1.2;
  }
  .crm-hero-copy h1,
  .websites-hero h1 {
    margin-top: 0 !important;
  }
  .crm-price-panel,
  .websites-hero-price {
    align-self: center !important;
  }
  @media (max-width: 960px) {
    .crm-hero,
    .websites-hero { padding: 52px 0 !important; }
    .crm-hero-grid,
    .websites-hero-grid { gap: 34px !important; }
  }
  @media (max-width: 620px) {
    .crm-hero,
    .websites-hero { padding: 38px 0 !important; }
    .crm-hero-copy .service-actions,
    .websites-hero-grid > div > .service-actions { margin-top: 22px; }
    .crm-price-panel,
    .websites-hero-price { padding-top: 24px; padding-bottom: 24px; }
    .crm-price-panel > strong { font-size: 4.8rem; }
  }

  .category-start,
  .category-proof {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .service-premise,
  .service-introduction-grid,
  .service-dossiers-intro,
  .service-chapter-grid,
  .service-decision-grid {
    gap: 34px;
  }

  .service-chapter-grid {
    padding: 72px 0;
  }

  .service-chapter-image,
  .service-chapter-image img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .service-detail-block {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-chapter-body h3 {
    font-size: clamp(2.6rem, 13vw, 4.2rem);
  }

  .service-decision-actions,
  .service-decision .button.primary {
    width: 100%;
  }
}

/* Product pages clear the absolute global header without reintroducing a utility strip. */
.page-template-page-crm .crm-hero-grid,
.page-template-page-seo-ai-search .crm-hero-grid,
.page-template-page-paid-advertising .crm-hero-grid,
.page-template-page-ai-automation .crm-hero-grid,
.page-template-page-bespoke-technology .crm-hero-grid,
.page-template-page-websites .websites-hero-grid {
  padding-top: 34px;
}
@media (max-width: 960px) {
  .page-template-page-crm .crm-hero-grid,
  .page-template-page-seo-ai-search .crm-hero-grid,
  .page-template-page-paid-advertising .crm-hero-grid,
  .page-template-page-ai-automation .crm-hero-grid,
  .page-template-page-bespoke-technology .crm-hero-grid,
  .page-template-page-websites .websites-hero-grid {
    padding-top: 50px;
  }
}

@media (min-width: 961px) {
  .page-template-page-ai-automation .crm-hero-copy {
    min-height: 575px;
  }
}

/* Gutenberg compatibility: legacy Group wrappers must not break product grids. */
.services-page .wp-block-group__inner-container {
  display: contents;
}

/* Native Gutenberg product layout corrections. */
.services-page .crm-anchor-nav .wrap .wp-block-paragraph {
  width: 100%;
  min-width: 0;
  display: flex;
  gap: 30px;
  align-items: center;
  margin: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}
.services-page .crm-boundaries > .wp-block-group__inner-container > .wp-block-group {
  padding-block: 52px;
}
.services-page .crm-boundaries > .wp-block-group__inner-container > .wp-block-group:first-child {
  padding-right: 54px;
}
.services-page .crm-boundaries > .wp-block-group__inner-container > .wp-block-group + .wp-block-group {
  padding-left: 54px;
  border-left: 1px solid #4e4946;
}
@media (max-width: 620px) {
  .services-page .crm-anchor-nav .wrap .wp-block-paragraph { gap: 22px; }
  .services-page .crm-anchor-nav,
  .services-page .crm-anchor-nav .wrap { max-width: 100%; }
  .services-page { overflow-x: clip; }
  .services-page .crm-boundaries > .wp-block-group__inner-container > .wp-block-group,
  .services-page .crm-boundaries > .wp-block-group__inner-container > .wp-block-group:first-child {
    padding: 32px 0;
  }
  .services-page .crm-boundaries > .wp-block-group__inner-container > .wp-block-group + .wp-block-group {
    padding-left: 0;
    border-top: 1px solid #4e4946;
    border-left: 0;
  }
}

/* The editor-owned section bar is normal flow; the branded copy takes over after it passes. */
.services-page .crm-anchor-nav {
  position: static;
}

/* Shared sticky product sub-header. Hidden until the section navigation leaves the viewport. */
.product-subheader {
  position: fixed;
  z-index: 40;
  top: 0;
  right: 0;
  left: 0;
  height: 66px;
  border-bottom: 1px solid #b9b2a8;
  background: #f2efe8;
  box-shadow: 0 8px 20px rgba(33, 29, 29, .08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: transform 180ms cubic-bezier(.2,.8,.2,1), opacity 120ms ease-out;
}
.product-subheader.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.product-subheader-inner {
  height: 66px;
  display: flex;
  gap: 0;
  align-items: center;
}
.product-subheader-back,
.product-subheader-links a {
  color: var(--deep);
  font-size: clamp(.82rem, 1.15vw, 1rem);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.product-subheader-back {
  flex: 0 0 auto;
  padding-right: 22px;
}
.product-subheader-brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0 26px 0 22px;
  border-left: 1px solid #d1cbc1;
}
.product-subheader-brand img {
  display: block;
  width: 132px;
  height: auto;
}
.product-subheader-links {
  min-width: 0;
  display: flex;
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.product-subheader-links::-webkit-scrollbar { display: none; }
.product-subheader-back:hover,
.product-subheader-links a:hover { color: #064b27; }
.product-subheader a:focus-visible { outline: 3px solid #28b34b; outline-offset: 4px; }
.crm-anchor-nav[hidden] { display: none !important; }
@media (max-width: 760px) {
	.service-overview-index .wrap { grid-template-columns: 1fr; }
	.service-overview-index a,
	.service-overview-index a:not(:nth-child(3n + 1)) { padding: 16px 0; border-left: 0; }
  .product-subheader,
  .product-subheader-inner { height: 58px; }
  .product-subheader-inner { padding-right: 0; }
  .product-subheader-back { padding-right: 12px; font-size: .76rem; }
  .product-subheader-brand { padding: 0 16px 0 12px; }
  .product-subheader-brand img { width: 98px; }
  .product-subheader-links { gap: 22px; padding-right: 18px; }
  .product-subheader-links a { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .product-subheader { transition: none; }
}

/* Final shared product hero authority: this sits after every page-specific rule. */
.crm-hero,
.websites-hero {
  min-height: auto !important;
  padding: 64px 0 !important;
}
.crm-hero-grid,
.websites-hero-grid { align-items: center !important; }
.crm-hero .service-back,
.websites-hero .service-back {
  margin: 0 0 18px !important;
  font-size: .92rem;
  line-height: 1.2;
}
.crm-hero-copy h1,
.websites-hero h1 { margin-top: 0 !important; }
.crm-price-panel,
.websites-hero-price { align-self: center !important; }
@media (max-width: 960px) {
  .crm-hero,
  .websites-hero { padding: 52px 0 !important; }
  .crm-hero-grid,
  .websites-hero-grid { gap: 34px !important; }
}
@media (max-width: 620px) {
  .crm-hero,
  .websites-hero { padding: 38px 0 !important; }
  .crm-hero-copy .service-actions,
  .websites-hero-grid > div > .service-actions { margin-top: 22px; }
  .crm-price-panel,
  .websites-hero-price { padding-top: 24px; padding-bottom: 24px; }
  .crm-price-panel > strong { font-size: 4.8rem; }
}

/* Gutenberg button compatibility: style the anchor once, never the wrapper and anchor. */
.services-page .wp-block-button.button,
.services-page .service-actions .wp-block-button.button,
.services-page .crm-final-cta .wp-block-button.button,
.services-page .custom-website-grid .wp-block-button.button {
  min-height: 0 !important;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: inherit;
}
.services-page .wp-block-button.button > .wp-block-button__link {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 0;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
}
.crm-hero .wp-block-button.button.primary > .wp-block-button__link,
.websites-hero .wp-block-button.button.primary > .wp-block-button__link {
  border-color: #28b34b;
  background: #28b34b;
  color: #07180c;
}
.crm-hero .wp-block-button.button.primary > .wp-block-button__link:hover,
.websites-hero .wp-block-button.button.primary > .wp-block-button__link:hover {
  border-color: #7de493;
  background: #7de493;
}
.services-page .wp-block-button.button.secondary > .wp-block-button__link {
  border-color: var(--soft);
  background: transparent;
  color: #fff;
}
.crm-final-cta .wp-block-button.button.primary > .wp-block-button__link,
.custom-website-grid .wp-block-button.button.primary > .wp-block-button__link {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
@media (max-width: 620px) {
  .crm-page .service-actions .wp-block-button.button,
  .crm-page .service-actions .wp-block-button.button > .wp-block-button__link,
  .websites-page .service-actions .wp-block-button.button,
  .websites-page .service-actions .wp-block-button.button > .wp-block-button__link,
  .crm-final-cta .wp-block-button.button,
  .crm-final-cta .wp-block-button.button > .wp-block-button__link {
    width: 100%;
  }
}

/* Native Gutenberg prices preserve the approved green commercial hierarchy. */
.services-page .product-price {
  margin: 0;
  color: var(--deep);
  font-size: clamp(1.6rem, 2.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1;
}
.services-page .product-price small {
  font-size: .45em;
  font-weight: 700;
  letter-spacing: 0;
}
.crm-managed .product-price,
.website-hosting .product-price,
.seo-combined .product-price {
  color: #9aeba9;
}

/* Native Gutenberg product patterns use core headings rather than presentational strong elements. */
.crm-price-panel .wp-block-heading {
  display: block;
  margin: 18px 0 8px;
  font-size: clamp(5.5rem, 9vw, 8rem);
  letter-spacing: -0.07em;
  line-height: 0.8;
}
.crm-price-panel .wp-block-heading span {
  vertical-align: top;
  font-size: 0.35em;
}
.websites-hero-price > .wp-block-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 0 .18em;
  margin: 18px 0 12px;
  font-size: clamp(3.8rem, 6vw, 6rem);
  line-height: .9;
  letter-spacing: -.06em;
}
.websites-hero-price > .wp-block-heading span { color: inherit; }
@media (max-width: 620px) {
  .crm-price-panel .wp-block-heading { font-size: 4.8rem; }
  .websites-hero-price > .wp-block-heading { font-size: 3.7rem; }
}
