/* Enhancements confined to the two RCM sections; retain the site's palette. */
.journey {
  padding: 60px 0 56px;
  background: radial-gradient(ellipse at 50% 0, #f9edaa55, transparent 65%), #fffef9;
  border-top: 1px solid #eee8d2;
  border-bottom: 1px solid #eee8d2;
}
.journey .eyebrow, #services .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: .12em;
  margin-bottom: 14px;
}
.journey .eyebrow::before, #services .eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px #e9d03620;
}
.journey h2 { font-size: clamp(25px, 2.6vw, 36px); line-height: 1.25; letter-spacing: -.035em; max-width: 750px; margin: 0 auto; }
.journey .journey-intro { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 15px auto 0; max-width: 570px; }
.journey .journey-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.journey .journey-item {
  position: relative;
  padding: 19px 8px 21px;
  background: #fff;
  border: 1px solid #ece6cd;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
  box-shadow: 0 6px 18px #64551305;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.journey .journey-item::before {
  content: attr(data-step);
  display: block;
  margin-bottom: 15px;
  color: #9e8e50;
  font-size: 10px;
  letter-spacing: .14em;
}
.journey .journey-item .round { position: relative; width: 54px; height: 54px; margin: 0 auto 15px; border-radius: 17px; background: linear-gradient(140deg, #fffbee, #f9edaa); border: 1px solid #efe2a0; color: #685b2a; }
.journey .journey-item .round .icon { width: 26px; height: 26px; }
.journey .journey-item:not(:last-child)::after {
  content: '→';
  display: grid;
  place-items: center;
  position: absolute;
  z-index: 1;
  top: 79px;
  right: -17px;
  width: 20px;
  height: 20px;
  font-size: 14px;
  line-height: 1;
  border: 1px solid #eee5be;
  border-radius: 50%;
  background: #fffdf4;
  color: #a08b34;
}
.journey .journey-item:hover { transform: translateY(-4px); border-color: #dcc65c; box-shadow: 0 12px 25px #6455130d; }
#services { padding: 64px 0; background: linear-gradient(140deg, #f8f8f2, #fcfbf5); }
#services .heading-row { align-items: center; gap: 28px; margin-bottom: 30px; }
#services h2 { max-width: 680px; font-size: clamp(26px, 2.7vw, 36px); line-height: 1.25; letter-spacing: -.035em; }
#services .heading-row > .text-link { display: inline-flex; align-items: center; justify-content: center; gap: 15px; max-width: none; margin: 0; flex-shrink: 0; padding: 13px 19px; border: 1px solid #e6d88c; background: #fffdf4; border-radius: 30px; font-size: 12px; transition: background .2s; }
#services .heading-row > .text-link:hover { background: #fff4b9; }
#services .services-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 17px; }
#services .service-card { display: flex; flex-direction: column; position: relative; overflow: hidden; min-height: 224px; padding: 25px 21px 20px; border: 1px solid #e9e6d7; border-radius: 17px; background: #fff; box-shadow: 0 5px 16px #64551304; }
#services .service-card::before { content: ''; position: absolute; top: 0; left: 22px; right: 22px; height: 3px; border-radius: 0 0 5px 5px; background: var(--yellow); opacity: .65; transition: opacity .25s; }
#services .service-card svg.icon { width: 49px; height: 49px; padding: 11px; margin: 0 0 20px; border: 1px solid #f0e5af; border-radius: 14px; background: linear-gradient(135deg, #fffbed, #faf0c0); color: #7b6a2d; }
#services .service-card h3 { font-size: 15px; line-height: 1.4; margin-bottom: 9px; }
#services .service-card p { font-size: 12px; line-height: 1.7; padding: 0; margin: 0 0 19px; color: var(--muted); }
#services .service-card .arrow { position: static; display: grid; place-items: center; width: 29px; height: 29px; margin: auto 0 0 auto; border: 1px solid #efe6c2; border-radius: 50%; background: #fffdf4; color: #7a6828; transition: background .25s, transform .25s; }
#services .service-card:hover, #services .service-card:focus-visible { transform: translateY(-5px); border-color: #dcc65c; box-shadow: 0 14px 28px #64551310; }
#services .service-card:hover::before { opacity: 1; }
#services .service-card:hover .arrow, #services .service-card:focus-visible .arrow { background: var(--yellow); transform: rotate(-35deg); }
#services a:focus-visible { outline: 2px solid #9a7f1a; outline-offset: 4px; }
@media (max-width: 1100px) {
  .journey .journey-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .journey .journey-item:nth-child(4)::after { display: none; }
  #services .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .journey { padding: 40px 0; }
  .journey .journey-intro { font-size: 13px; }
  .journey .journey-grid { margin-top: 26px; gap: 12px; }
  .journey .journey-item { padding: 17px 7px; font-size: 11px; }
  .journey .journey-item .round { width: 44px; height: 44px; border-radius: 13px; }
  .journey .journey-item:not(:last-child)::after { top: 71px; right: -16px; }
  #services { padding: 42px 0; }
  #services .heading-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px 8px; }
  #services .heading-row > div { display: contents; }
  #services .heading-row .eyebrow { grid-column: 1; grid-row: 1; margin: 0; white-space: nowrap; }
  #services .heading-row h2 { grid-column: 1 / -1; grid-row: 2; }
  #services .heading-row > .text-link { grid-column: 2; grid-row: 1; gap: 6px; padding: 10px; font-size: 11px; white-space: nowrap; }
  #services .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  #services .service-card { padding: 22px 16px 17px; min-height: 216px; }
}
@media (max-width: 480px) {
  .journey .journey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey .journey-item { font-size: 12px; }
  .journey .journey-item:nth-child(even)::after { display: none; }
  #services .service-card h3 { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .journey .journey-item, #services .service-card, #services .service-card::before, #services .service-card .arrow, #services .heading-row > .text-link { transition: none; }
  .journey .journey-item:hover, #services .service-card:hover, #services .service-card:focus-visible, #services .service-card:hover .arrow, #services .service-card:focus-visible .arrow { transform: none; }
}

/* Alternate layout: an open timeline and an editorial service list. */
.journey { background: #fffdf5; }
.journey .journey-grid { gap: 0; position: relative; padding-top: 8px; }
.journey .journey-item { background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 20px 10px 0; }
.journey .journey-item::before { position: relative; z-index: 1; width: 27px; height: 27px; display: grid; place-items: center; margin: 0 auto 22px; border: 1px solid #e3d68e; background: #fffdf5; border-radius: 50%; color: #807030; font-size: 10px; letter-spacing: 0; }
.journey .journey-item:not(:last-child)::after { content: ''; display: block; width: calc(100% - 27px); height: 1px; top: 33px; left: calc(50% + 14px); right: auto; border: 0; border-radius: 0; background: #dfd294; }
.journey .journey-item .round { width: 65px; height: 65px; border-radius: 50%; background: #fff; border: 1px solid #e9dfb0; box-shadow: 0 7px 0 #f6efcf; margin-bottom: 21px; transition: background .25s; }
.journey .journey-item:hover { transform: none; box-shadow: none; }
.journey .journey-item:hover .round { background: #f9eb9f; }
#services { background: #fff; }
#services .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 34px; counter-reset: service; border-top: 1px solid #e7e1ce; }
#services .service-card { counter-increment: service; display: grid; grid-template-columns: 62px minmax(0,1fr) 32px; grid-template-rows: auto auto; column-gap: 20px; row-gap: 7px; align-content: center; align-items: center; min-height: 145px; padding: 27px 12px; border: 0; border-bottom: 1px solid #e7e1ce; border-radius: 0; background: #fff; box-shadow: none; overflow: visible; }
#services .service-card::before { content: counter(service, decimal-leading-zero); position: static; grid-column: 3; grid-row: 1; height: auto; background: transparent; color: #a99c67; font-size: 10px; letter-spacing: .1em; opacity: 1; text-align: center; }
#services .service-card svg.icon { grid-column: 1; grid-row: 1 / 3; width: 59px; height: 59px; padding: 15px; margin: 0; border-radius: 18px; background: #fff9df; }
#services .service-card h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: 17px; }
#services .service-card p { grid-column: 2; grid-row: 2; margin: 0; font-size: 13px; }
#services .service-card .arrow { grid-column: 3; grid-row: 2; margin: 0; border: 0; background: transparent; }
#services .service-card:hover, #services .service-card:focus-visible { transform: none; box-shadow: none; background: #fffcf0; border-color: #dec964; }
@media(max-width:1100px) {
 .journey .journey-grid { gap: 27px 0; }
 .journey .journey-item:nth-child(4)::after { display: none; }
}
@media(max-width:760px) {
 #services .services-grid { grid-template-columns: 1fr; }
 #services .service-card { min-height: 130px; padding: 23px 8px; gap: 7px 17px; }
 .journey .journey-item:not(:last-child)::after { top: 33px; right: auto; }
 .journey .journey-item .round { width: 54px; height: 54px; }
}
@media(max-width:480px) {
 .journey .journey-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .journey .journey-item:nth-child(even)::after { display: none; }
 #services .service-card h3 { font-size: 15px; }
 #services .service-card { grid-template-columns: 49px minmax(0,1fr) 27px; column-gap: 12px; }
 #services .service-card svg.icon { width: 48px; height: 48px; padding: 12px; border-radius: 14px; }
}
@media(prefers-reduced-motion:reduce) { .journey .journey-item .round { transition: none; } }

/* Journey: a service overview instead of a numbered stepper. */
.journey {
  padding: 62px 0;
  background: radial-gradient(ellipse at 0 100%, #f6e8a14a, transparent 48%), linear-gradient(120deg, #fffefb, #fcf8e8);
}
.journey > .wrap { text-align: left; }
.journey h2 { max-width: 660px; margin: 0; font-size: clamp(27px, 3vw, 38px); }
.journey .journey-intro { margin: 16px 0 0; max-width: 580px; }
.journey .journey-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding: 0; margin-top: 34px; }
.journey .journey-item {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 112px;
  padding: 23px 19px;
  text-align: left;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  background: #ffffffd9;
  border: 1px solid #eae2c1;
  border-radius: 18px;
  box-shadow: 0 5px 18px #75621b05;
  transition: border-color .25s, box-shadow .25s, transform .25s, background .25s;
}
.journey .journey-item::before,
.journey .journey-item:not(:last-child)::after { content: none; display: none; }
.journey .journey-item .round {
  flex: 0 0 51px;
  width: 51px;
  height: 51px;
  margin: 0;
  border-radius: 15px;
  border: 1px solid #ede0a1;
  background: linear-gradient(145deg, #fff9df, #f7ebad);
  color: #79662c;
  box-shadow: none;
  transform: rotate(-5deg);
  transition: transform .25s, background .25s;
}
.journey .journey-item .round svg { transform: rotate(5deg); }
.journey .journey-item:hover { background: #fff; border-color: #d8bd4e; box-shadow: 0 12px 26px #75621b10; transform: translateY(-4px); }
.journey .journey-item:hover .round { background: #f7e68e; transform: rotate(0); }
@media(max-width:1100px) { .journey .journey-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; } }
@media(max-width:600px) {
  .journey { padding: 42px 0; }
  .journey .journey-grid { gap: 12px; margin-top: 26px; }
  .journey .journey-item { flex-direction: column; align-items: flex-start; gap: 15px; padding: 20px 16px; font-size: 13px; }
  .journey .journey-item .round { flex-basis: 46px; width: 46px; height: 46px; border-radius: 13px; }
}
@media(prefers-reduced-motion:reduce) {
  .journey .journey-item, .journey .journey-item .round { transition: none; }
  .journey .journey-item:hover { transform: none; }
}

/* End the first row of the eight-part journey at its fourth item. */
.revenue-journey .step:nth-child(4)::after { display: none; }

#services .service-card { grid-template-columns: 72px minmax(0, 1fr) 32px; }
#services .service-card > i {
  grid-column: 1;
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  font-size: 30px;
  color: #7b6a2d;
  background: linear-gradient(135deg, #fff5c2, #f4e39a);
  border: 1px solid #e8d580;
  border-radius: 18px;
}
@media (max-width: 480px) {
  #services .service-card { grid-template-columns: 60px minmax(0, 1fr) 27px; }
  #services .service-card > i { width: 56px; height: 56px; font-size: 26px; border-radius: 14px; }
}
