/* r22 Consulting section (#consulting). Everything is scoped to .cx so it can't leak.
   Loads after buttons.css + brand.css. Brand: ink #0F0F0F, paper #FAF8F2, green #6CBF5B, red #A73632. */
.cx { --cx-muted: #55554f; --cx-line: rgba(15, 15, 15, .14); color: var(--ink, #0F0F0F); }
.cx > * { max-width: 1120px; margin-left: auto; margin-right: auto; }

/* Header: same pattern as the Services head (.cf8-head) */
.cx .cx-head { max-width: 760px; text-align: center; }
.cx .cx-head .eyebrow { justify-content: center; margin-bottom: 1.6rem; }
.cx .cx-head h2 { font-family: "Archivo", "Work Sans", system-ui, sans-serif; font-size: clamp(2.3rem, 4.8vw, 4rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; margin: 0; }
.cx .cx-head > p:last-child { color: var(--cx-muted); font-size: 1.08rem; line-height: 1.6; margin: 1.1rem auto 0; max-width: 560px; }

/* Reset the site's very large global h3 inside this section */
.cx h3 { font-family: "Work Sans", Arial, sans-serif; font-size: 1.05rem; font-weight: 700; letter-spacing: -.005em; line-height: 1.3; margin: 0 0 1rem; max-width: none; }

/* Offer card */
.cx .cx-offer {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap;
  margin-top: clamp(2.4rem, 5vw, 3.6rem); padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.4rem, 3.5vw, 2.6rem);
  background: #fff; border: 1px solid var(--cx-line); border-radius: 18px;
}
.cx .cx-offer h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); letter-spacing: -.02em; margin: 0 0 .35rem; }
.cx .cx-meta { color: var(--cx-muted); display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; font-size: .98rem; }
.cx .cx-offer-action { display: flex; align-items: center; gap: 1.1rem 1.6rem; flex-wrap: wrap; }
.cx .cx-price { margin: 0; display: flex; align-items: baseline; gap: .45rem; }
.cx .cx-price strong { font-family: "Archivo", "Work Sans", system-ui, sans-serif; font-size: clamp(2.2rem, 4vw, 2.9rem); font-weight: 600; line-height: 1; letter-spacing: -.03em; }
.cx .cx-price span { color: var(--cx-muted); font-size: .9rem; font-weight: 600; }
html body .cx .cx-book { display: inline-flex; width: auto; }
.cx .cx-book .icon { margin-left: .1rem; }

/* Three columns */
.cx .cx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.6rem, 3.5vw, 3rem); margin-top: clamp(2.6rem, 5vw, 4rem); }
.cx .cx-col h3 { padding-bottom: .8rem; border-bottom: 2px solid var(--green, #6CBF5B); display: inline-block; }
.cx .cx-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.cx .cx-list li { display: grid; grid-template-columns: 18px 1fr; gap: .7rem; color: #2b2b28; font-size: 1rem; line-height: 1.55; }
.cx .cx-list .icon { color: var(--deep-green, #245b36); stroke-width: 2.2; margin-top: .25rem; }
.cx .cx-list b { color: var(--ink, #0F0F0F); font-weight: 700; }

/* Handover band: light, subtle green tint */
.cx .cx-handover {
  margin-top: clamp(2.8rem, 5.5vw, 4.4rem); padding: clamp(1.6rem, 3.5vw, 2.6rem);
  background: rgba(108, 191, 91, .09); border: 1px solid rgba(108, 191, 91, .35); border-radius: 18px;
}
.cx .cx-handover-head { max-width: 640px; }
.cx .cx-handover-head h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); letter-spacing: -.02em; margin-bottom: .5rem; }
.cx .cx-handover-head p { color: var(--cx-muted); line-height: 1.6; margin: 0; }
.cx .cx-handover-list { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.cx .cx-handover-list li { background: #fff; border-radius: 12px; padding: 1.1rem 1.15rem; display: flex; flex-direction: column; gap: .35rem; }
.cx .cx-handover-list b { font-size: .98rem; }
.cx .cx-handover-list span { color: var(--cx-muted); font-size: .92rem; line-height: 1.5; }

/* Secondary link: same pattern as .cf8-foot */
.cx .cx-foot { color: var(--cx-muted); font-size: 1rem; margin-top: clamp(2rem, 4vw, 2.8rem); text-align: center; }
.cx .cx-foot a { align-items: center; color: var(--deep-green, #245b36); display: inline-flex; font-weight: 600; gap: .35rem; text-underline-offset: 3px; }
.cx .cx-foot a .icon { transition: transform 200ms ease; }
.cx .cx-foot a:hover .icon { transform: translateX(3px); }

/* Focus */
.cx a:focus-visible { outline: 2px solid var(--ink, #0F0F0F); outline-offset: 3px; }

@media (max-width: 980px) {
  .cx .cx-grid { grid-template-columns: 1fr 1fr; }
  .cx .cx-grid .cx-col:last-child { grid-column: 1 / -1; }
  .cx .cx-handover-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cx .cx-head { text-align: left; }
  .cx .cx-head .eyebrow { justify-content: flex-start; }
  .cx .cx-head > p:last-child { margin-left: 0; }
  .cx .cx-offer { flex-direction: column; align-items: stretch; }
  .cx .cx-offer-action { flex-direction: column; align-items: stretch; }
  html body .cx .cx-book { width: 100%; }
  .cx .cx-grid, .cx .cx-handover-list { grid-template-columns: 1fr; }
  .cx .cx-foot { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .cx .cx-foot a .icon { transition: none; }
  .cx .cx-foot a:hover .icon { transform: none; }
}
