/* ============================================
   PRIME Philippines — Service Page Stylesheet
   Reusable template for all expertise pages
   ============================================ */

/* --- Service Hero --- */
.prime-service-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 48px var(--section-px);
  padding-top: 100px;
  overflow: hidden;
}

.prime-service-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.prime-service-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 12, 14, 0.7) 0%,
    rgba(0, 51, 102, 0.85) 100%
  );
}

.prime-service-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: var(--max-width);
  width: 100%;
  padding: 0 var(--section-px);
}

.prime-service-hero__breadcrumb {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 252, 251, 0.75);
  margin-bottom: 18px;
}

.prime-service-hero__breadcrumb a {
  color: rgba(255, 252, 251, 0.75);
  text-decoration: none;
  transition: color 0.25s ease;
}

.prime-service-hero__breadcrumb a:hover {
  color: var(--prime-gold);
}

.prime-service-hero__breadcrumb span {
  margin: 0 8px;
  color: var(--prime-gold);
}

.prime-service-hero .prime-section-header {
  margin-bottom: 16px;
}

.prime-service-hero .prime-section-header__heading {
  font-size: clamp(32px, 4.5vw, 52px);
}

.prime-service-hero__tagline {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.25;
  color: var(--prime-gold);
  letter-spacing: 0.005em;
  text-align: center;
  margin: 6px auto 18px;
  max-width: 720px;
}

.prime-service-hero__tagline--eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-style: normal;
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.8;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--prime-gold);
  margin: 0 auto 14px;
}

.prime-service-hero__content--hub .prime-section-header__heading {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  max-width: 960px;
  margin: 24px auto 0;
}

.prime-service-hero__content--hub .prime-service-hero__subtitle {
  margin-top: 28px;
  max-width: 640px;
}

.prime-service-hero__content--subpage .prime-section-header__label {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 2;
  letter-spacing: 0.3em;
  font-size: clamp(10px, 0.95vw, 13px);
}

.prime-service-hero__content--subpage .prime-section-header__heading {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  max-width: 960px;
  margin: 24px auto 0;
}

.prime-service-hero__content--subpage .prime-service-hero__subtitle {
  margin-top: 28px;
  max-width: 640px;
}

.prime-service-hero__content--hub,
.prime-service-hero__content--subpage {
  align-self: center;
  margin-top: auto;
  margin-bottom: auto;
}

/* Centre the CTA buttons under the centred hero copy. The base
   `.prime-service-hero__ctas` rule (display: flex) leaves them
   flush-left, which clashes with the centred heading + subtitle.
   Scope to the service hero so we don't disturb other widgets. */
.prime-service-hero .prime-service-hero__ctas {
  justify-content: center;
}

.prime-service-hero__subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.65;
  color: rgba(255, 252, 251, 0.7);
  max-width: 640px;
  margin: 0 auto;
}


/* Service hero animations play on load, not on scroll */
.prime-service-hero .prime-animate {
  animation: primeServiceFadeIn 0.8s ease-out forwards;
}
.prime-service-hero .prime-animate[data-delay="100"] {
  animation-delay: 0.1s;
}
.prime-service-hero .prime-animate[data-delay="200"] {
  animation-delay: 0.2s;
}

@keyframes primeServiceFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* --- Service Introduction --- */
.prime-service-intro {
  background: var(--prime-warm-white);
  padding: var(--section-py) var(--section-px);
  padding-top: 48px;
}

.prime-service-intro__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.prime-service-intro__content .prime-section-header {
  text-align: left;
  margin-bottom: 32px;
}

.prime-service-intro__content .prime-section-header__rule {
  margin: 16px 0;
}

.prime-service-intro__text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: var(--prime-gray);
  margin-bottom: 20px;
}

.prime-service-intro__text:last-of-type {
  margin-bottom: 0;
}

/* Rich-text variant: WYSIWYG output wraps each paragraph in <p>.
   Neutralise the inner margins so the wrapper div's spacing wins,
   and brand inline links with the PRIME gold accent. */
.prime-service-intro__text--rich > p {
  margin: 0 0 12px;
}
.prime-service-intro__text--rich > p:last-child {
  margin-bottom: 0;
}
.prime-service-intro__text--rich a {
  color: var(--prime-blue);
  text-decoration: underline;
  text-decoration-color: var(--prime-gold);
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.prime-service-intro__text--rich a:hover {
  color: var(--prime-gold);
}

.prime-service-intro__text ul {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prime-service-intro__text ul li {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--prime-blue);
  padding-left: 24px;
  position: relative;
}

.prime-service-intro__text ul li::before {
  content: '\00BB';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--prime-gold);
  font-family: var(--font-data, 'Bebas Neue'), sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
}

.prime-service-intro__image-wrap {
  position: relative;
}

.prime-service-intro__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prime-service-intro__image-accent {
  position: absolute;
  bottom: -10px;
  left: -10px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--prime-gold);
  z-index: -1;
}

/* --- Geometry variant (--geo modifier) --- */
.prime-service-intro--geo {
  overflow: hidden;
  position: relative;
}

.prime-service-intro__diagonal {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 52%, rgba(0, 51, 102, 0.025) 52%);
  z-index: 0;
  pointer-events: none;
}

.prime-service-intro--geo .prime-service-intro__inner {
  position: relative;
  z-index: 2;
  align-items: center;
}

.prime-service-intro__image-col {
  position: relative;
  padding: 20px 20px 20px 0;
}

.prime-service-intro--geo .prime-service-intro__image {
  aspect-ratio: 6 / 5;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
}

.prime-service-intro--geo .prime-service-intro__image-accent {
  bottom: -14px;
  left: auto;
  right: -14px;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
  border-width: 2px;
}

/* Dot grid behind image */
.prime-service-intro--geo .prime-service-intro__image-wrap::after {
  content: '';
  position: absolute;
  top: -25px;
  left: 50%;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(circle, rgba(201, 171, 76, 0.2) 1.2px, transparent 1.2px);
  background-size: 14px 14px;
  z-index: 0;
  pointer-events: none;
}

/* Geometric frames */
.prime-service-intro__geo-frame {
  position: absolute;
  border: 2px solid rgba(201, 171, 76, 0.2);
  z-index: 0;
  pointer-events: none;
}

.prime-service-intro__geo-frame--1 {
  width: 160px;
  height: 160px;
  top: -15px;
  right: -10px;
  transform: rotate(45deg);
}

.prime-service-intro__geo-frame--2 {
  width: 100px;
  height: 100px;
  bottom: 30px;
  left: -30px;
  transform: rotate(20deg);
  border-color: rgba(0, 51, 102, 0.08);
}


/* --- Why Choose (Feature Cards) --- */
.prime-service-features {
  background: #F4F1EC;
  padding: var(--section-py) var(--section-px);
}

.prime-service-features__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.prime-service-features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.prime-service-feature-card {
  background: var(--prime-warm-white);
  padding: 40px 36px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border-top: 3px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.prime-service-feature-card:hover {
  border-top-color: var(--prime-gold);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.prime-service-feature-card__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
}

.prime-service-feature-card__icon svg {
  width: 100%;
  height: 100%;
}

.prime-service-feature-card__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  color: var(--prime-gray);
  margin-bottom: 12px;
}

.prime-service-feature-card__desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(27, 29, 30, 0.7);
}


/* --- Comprehensive Services (Dark Section) --- */
.prime-service-offerings {
  background: var(--prime-gray);
  padding: var(--section-py) var(--section-px);
  position: relative;
  overflow: hidden;
}

.prime-service-offerings__watermark {
  position: absolute;
  top: -40px;
  right: -20px;
  font-family: var(--font-data);
  font-size: 28vw;
  color: rgba(255, 252, 251, 0.02);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.prime-service-offerings__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.prime-service-offerings__subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 252, 251, 0.75);
  max-width: 760px;
  margin: 18px auto 0;
  text-align: center;
}

.prime-service-offerings__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.prime-service-offering-card {
  padding: 36px 32px;
  border: 1px solid rgba(201, 171, 76, 0.15);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.prime-service-offering-card:hover {
  border-color: rgba(201, 171, 76, 0.4);
  background: rgba(255, 252, 251, 0.03);
}

.prime-service-offering-card__number {
  font-family: var(--font-data);
  font-size: 36px;
  letter-spacing: 0.08em;
  color: var(--prime-gold);
  margin-bottom: 16px;
  line-height: 1;
}

.prime-service-offering-card__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  color: var(--prime-warm-white);
  margin-bottom: 12px;
}

.prime-service-offering-card__desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 252, 251, 0.6);
}


/* --- Why PRIME Section --- */
.prime-service-why {
  background: var(--prime-warm-white);
  padding: var(--section-py) var(--section-px);
}

.prime-service-why__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.prime-service-why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 60px;
}

.prime-service-why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.prime-service-why-item__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 2px solid var(--prime-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.prime-service-why-item__icon svg {
  width: 24px;
  height: 24px;
}

.prime-service-why-item__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  color: var(--prime-gray);
  margin-bottom: 8px;
}

.prime-service-why-item__desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(27, 29, 30, 0.7);
}


/* --- Who We Advise (Client Types) --- */
.prime-service-clients {
  background: #F4F1EC;
  padding: var(--section-py) var(--section-px);
}

.prime-service-clients__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.prime-service-clients__subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(27, 29, 30, 0.7);
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.prime-service-clients__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.prime-service-client-card {
  background: var(--prime-warm-white);
  padding: 36px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border-top: 3px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.prime-service-client-card:hover {
  border-top-color: var(--prime-gold);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.prime-service-client-card__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  color: var(--prime-blue);
}

.prime-service-client-card__icon svg {
  width: 100%;
  height: 100%;
}

.prime-service-client-card__label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--prime-gray);
  line-height: 1.4;
}


/* --- Service CTA Banner --- */
.prime-service-cta {
  background-color: #0c1b38;
  background-image:
    linear-gradient(rgba(201, 171, 76, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 171, 76, 0.12) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center center;
  padding: var(--section-py) var(--section-px);
  position: relative;
  overflow: hidden;
}

.prime-service-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(12, 27, 56, 0) 0%, rgba(12, 27, 56, 0.50) 75%, rgba(12, 27, 56, 0.80) 100%);
  pointer-events: none;
  z-index: 1;
}

.prime-service-cta > * {
  position: relative;
  z-index: 2;
}

.prime-service-cta__watermark {
  position: absolute;
  top: 50%;
  right: 4%;
  transform: translateY(-50%);
  width: 280px;
  height: 214px;
  max-width: 24vw;
  background-image: url('../images/logo-mark.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
  font-size: 0;
  line-height: 0;
  color: transparent;
  z-index: 2;
}

.prime-service-cta__inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.prime-service-cta__heading {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  color: var(--prime-warm-white);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.prime-service-cta__text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 252, 251, 0.8);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}


/* ============================================
   Service Page — Responsive
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .prime-service-hero {
    min-height: 280px;
    padding: 40px var(--section-px);
    padding-top: 90px;
  }

  .prime-service-intro__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .prime-service-intro__content .prime-section-header {
    text-align: center;
  }

  .prime-service-intro__content .prime-section-header__rule {
    margin: 16px auto;
  }

  .prime-service-intro__text {
    text-align: center;
  }

  .prime-service-intro__image-wrap {
    max-width: 480px;
    margin: 0 auto;
  }

  .prime-service-intro__image-col {
    padding: 0;
    max-width: 480px;
    margin: 0 auto;
  }

  .prime-service-intro__geo-frame {
    display: none;
  }

  .prime-service-features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .prime-service-offerings__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .prime-service-clients__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .prime-service-why__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .prime-service-hero {
    min-height: 240px;
    padding: 32px var(--section-px);
    padding-top: 80px;
  }

  .prime-service-hero .prime-section-header__heading {
    font-size: 32px;
  }

  .prime-service-hero__tagline {
    font-size: 20px;
    margin: 4px auto 14px;
  }

  .prime-service-hero__tagline--eyebrow {
    font-size: 11px;
    margin: 0 auto 10px;
    letter-spacing: 0.3em;
  }

  .prime-service-hero__content--hub .prime-section-header__heading {
    font-size: 30px;
    max-width: 92%;
  }

  .prime-service-hero__content--subpage .prime-section-header__label {
    font-size: 10px;
    letter-spacing: 0.25em;
    max-width: 94%;
  }

  .prime-service-hero__content--subpage .prime-section-header__heading {
    font-size: 28px;
    max-width: 94%;
  }

  .prime-service-hero__breadcrumb {
    font-size: 9px;
    margin-bottom: 20px;
  }

  .prime-service-features__grid {
    grid-template-columns: 1fr;
  }

  .prime-service-feature-card {
    padding: 28px 24px;
  }

  .prime-service-offerings__grid {
    grid-template-columns: 1fr;
  }

  .prime-service-offering-card {
    padding: 28px 24px;
  }

  .prime-service-clients__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .prime-service-client-card {
    padding: 24px 16px;
  }

  .prime-service-why__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .prime-service-cta__heading {
    font-size: 28px;
  }
}

/* Large Mobile */
@media (min-width: 481px) and (max-width: 767px) {
  .prime-service-features__grid {
    grid-template-columns: 1fr;
  }

  .prime-service-offerings__grid {
    grid-template-columns: 1fr;
  }

  .prime-service-clients__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ============================================
   PRIME Journey Steps Widget
   Dedicated end-to-end flow section with
   photographic step cards + gold chevron connectors.
   Isolated from the Numbered Services widget.
   ============================================ */

.prime-journey-steps {
  background: var(--prime-gray);
  padding: var(--section-py) var(--section-px);
  position: relative;
  overflow: hidden;
}

.prime-journey-steps__watermark {
  position: absolute;
  top: -40px;
  right: -20px;
  font-family: var(--font-data);
  font-size: 28vw;
  color: rgba(255, 252, 251, 0.02);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.prime-journey-steps__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.prime-journey-steps__subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 252, 251, 0.75);
  max-width: 760px;
  margin: 18px auto 0;
  text-align: center;
}

.prime-journey-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 88px;
  margin-top: 56px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.prime-journey-step {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255, 252, 251, 0.03);
  border: 1px solid rgba(201, 171, 76, 0.28);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.prime-journey-step:hover {
  border-color: rgba(201, 171, 76, 0.6);
  background: rgba(255, 252, 251, 0.05);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

/* Gold accent bar at top of each card */
.prime-journey-step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 48px;
  height: 2px;
  background: var(--prime-gold);
  z-index: 3;
  transition: width 0.3s ease;
}

.prime-journey-step:hover::before {
  width: 96px;
}

.prime-journey-step__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.4) 0%, rgba(12, 12, 14, 0.7) 100%);
  border-bottom: 1px solid rgba(201, 171, 76, 0.35);
}

.prime-journey-step__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

/* Subtle dark gradient overlay unifies the varied photographs and
   ensures the step badge reads cleanly against any image. */
.prime-journey-step__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 12, 14, 0) 45%,
    rgba(12, 12, 14, 0.35) 80%,
    rgba(12, 12, 14, 0.6) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Gold step badge — chapter marker anchored on the photo */
.prime-journey-step__badge {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 34px;
  padding: 0 14px;
  font-family: var(--font-data) !important;
  font-weight: 400 !important;
  font-size: 20px;
  letter-spacing: 0.14em;
  line-height: 1;
  color: var(--prime-gray);
  background: var(--prime-gold);
  transition: transform 0.35s ease, letter-spacing 0.35s ease;
}

.prime-journey-step:hover .prime-journey-step__badge {
  transform: translateY(-2px);
  letter-spacing: 0.18em;
}

.prime-journey-step:hover .prime-journey-step__image img {
  transform: scale(1.04);
}

.prime-journey-step__image-number {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-data);
  font-size: clamp(56px, 8vw, 96px);
  letter-spacing: 0.08em;
  color: rgba(201, 171, 76, 0.25);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.prime-journey-step__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.prime-journey-step__title {
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-style: normal !important;
  font-size: 16px;
  line-height: 1.35;
  color: var(--prime-warm-white) !important;
  margin-bottom: 10px;
  letter-spacing: 0;
}

.prime-journey-step__desc {
  font-family: var(--font-body) !important;
  font-weight: 400 !important;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 252, 251, 0.78) !important;
  margin: 0;
}

/* Gold chevron connectors between steps (desktop 3-col) */
.prime-journey-step::after {
  content: "\00BB";
  position: absolute;
  font-family: var(--font-data);
  font-weight: 400;
  font-size: 64px;
  color: var(--prime-gold);
  line-height: 1;
  z-index: 4;
  pointer-events: none;
  opacity: 1;
  speak: none;
  text-shadow: 0 0 16px rgba(12, 12, 14, 0.8);
}

.prime-journey-step[data-last="true"]::after {
  content: none;
}

/* Snake/serpentine layout — row 2 visually reversed so flow is
   01→02→03 ↓ 04←05←06 continuous */
.prime-journey-steps__grid > .prime-journey-step:nth-child(4) {
  grid-column: 3;
  grid-row: 2;
}
.prime-journey-steps__grid > .prime-journey-step:nth-child(5) {
  grid-column: 2;
  grid-row: 2;
}
.prime-journey-steps__grid > .prime-journey-step:nth-child(6) {
  grid-column: 1;
  grid-row: 2;
}

/* Row 1 — right chevron between col 1→2 and col 2→3 */
.prime-journey-steps__grid > .prime-journey-step:nth-child(1)::after,
.prime-journey-steps__grid > .prime-journey-step:nth-child(2)::after {
  right: -62px;
  top: 50%;
  transform: translateY(-50%);
}

/* Card 3 — centered down chevron that drops into card 4 sitting below it */
.prime-journey-steps__grid > .prime-journey-step:nth-child(3):not([data-last="true"])::after {
  left: 50%;
  bottom: -48px;
  transform: translateX(-50%) rotate(90deg);
}

/* Row 2 — left-pointing chevron between col 3→2 and col 2→1,
   indicating the right-to-left visual reading order */
.prime-journey-steps__grid > .prime-journey-step:nth-child(4):not([data-last="true"])::after,
.prime-journey-steps__grid > .prime-journey-step:nth-child(5):not([data-last="true"])::after {
  left: -62px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
}

/* Tablet — 2 columns, natural left-to-right flow (no snake) */
@media (max-width: 1024px) {
  .prime-journey-steps__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 48px;
  }

  /* Reset snake-layout grid positions for 4/5/6 */
  .prime-journey-steps__grid > .prime-journey-step:nth-child(4),
  .prime-journey-steps__grid > .prime-journey-step:nth-child(5),
  .prime-journey-steps__grid > .prime-journey-step:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
  }

  /* Clear all desktop arrow positioning */
  .prime-journey-steps__grid > .prime-journey-step::after {
    content: none;
  }

  /* 2-col tablet arrows: right chevron between col1→col2, down at end of row */
  .prime-journey-steps__grid > .prime-journey-step:nth-child(2n+1):not([data-last="true"])::after {
    content: "\00BB";
    right: -30px;
    top: 50%;
    left: auto;
    bottom: auto;
    transform: translateY(-50%);
  }

  .prime-journey-steps__grid > .prime-journey-step:nth-child(2n):not([data-last="true"])::after {
    content: "\00BB";
    left: 50%;
    bottom: -34px;
    right: auto;
    top: auto;
    transform: translateX(-50%) rotate(90deg);
  }
}

/* Mobile — 1 column, no connectors (vertical stack is self-evident) */
@media (max-width: 767px) {
  .prime-journey-steps__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .prime-journey-step::after {
    content: none !important;
  }

  .prime-journey-step__body {
    padding: 22px 24px 26px;
  }
}

/* ================================================================
 * CTA Banner — Experts variant (advisor cards instead of buttons)
 * ================================================================ */
.prime-service-cta--experts .prime-service-cta__inner {
	text-align: left;
	max-width: 1200px;
}
.prime-service-cta--experts .prime-section-header {
	display: flex;
	align-items: center;
	gap: 16px;
	justify-content: flex-start;
	margin-bottom: 18px;
}
.prime-service-cta--experts .prime-section-header__label,
.prime-service-cta--experts .prime-section-header__label--dark {
	padding-left: 40px;
	position: relative;
	margin-bottom: 0 !important;
}
.prime-service-cta--experts .prime-section-header__label::before,
.prime-service-cta--experts .prime-section-header__label--dark::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 28px;
	height: 2px;
	background: var(--prime-gold, #C9AB4C);
}
.prime-service-cta--experts .prime-section-header__rule {
	display: none;
}
.prime-service-cta--experts .prime-service-cta__heading {
	text-align: left !important;
	margin: 0 0 40px !important;
	font-size: clamp(32px, 4vw, 52px) !important;
}
.prime-service-cta--experts .prime-service-cta__text {
	text-align: left;
	max-width: 62ch;
	margin: 0 0 40px;
}
.prime-service-cta__experts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	width: 100%;
	margin: 0;
	text-align: left;
}
.prime-service-cta__expert {
	background: rgba(255, 252, 251, 0.04);
	border: 1px solid rgba(201, 171, 76, 0.35);
	border-top: 3px solid var(--prime-gold, #C9AB4C);
	padding: 28px 24px 26px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.prime-service-cta__expert:hover {
	transform: translateY(-4px);
	background: rgba(255, 252, 251, 0.06);
	border-color: rgba(201, 171, 76, 0.6);
}
.prime-service-cta__expert-avatar {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	overflow: hidden;
	background: rgba(201, 171, 76, 0.12);
	border: 1px solid rgba(201, 171, 76, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 6px;
}
.prime-service-cta__expert-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.prime-service-cta__expert-monogram {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-style: italic;
	font-weight: 300;
	font-size: 24px;
	line-height: 1;
	color: var(--prime-gold, #C9AB4C);
	letter-spacing: -0.01em;
}
.prime-service-cta__expert-name,
.prime-service-cta--experts .prime-service-cta__expert-name {
	font-family: 'Montserrat', sans-serif !important;
	font-weight: 600 !important;
	font-size: 16px !important;
	letter-spacing: 0.02em !important;
	color: var(--prime-warm-white, #FFFCFB) !important;
	line-height: 1.25 !important;
	margin: 4px 0 0 !important;
}
.prime-service-cta__expert-title {
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	font-size: 11.5px;
	letter-spacing: 0.04em;
	color: rgba(255, 252, 251, 0.66);
	line-height: 1.45;
	margin-bottom: 12px;
	display: block;
}
.prime-service-cta__expert-links {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid rgba(201, 171, 76, 0.2);
}
.prime-service-cta__expert-link,
.prime-service-cta__expert a.prime-service-cta__expert-link {
	display: inline-flex !important;
	align-items: center !important;
	gap: 10px !important;
	font-family: 'Montserrat', sans-serif !important;
	font-size: 12px !important;
	color: rgba(255, 252, 251, 0.88) !important;
	text-decoration: none !important;
	letter-spacing: 0.03em !important;
	word-break: break-word !important;
	line-height: 1.3 !important;
	transition: color 0.2s ease !important;
}
.prime-service-cta__expert-link:hover,
.prime-service-cta__expert a.prime-service-cta__expert-link:hover {
	color: var(--prime-gold, #C9AB4C) !important;
}
.prime-service-cta__expert-link svg {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	color: var(--prime-gold, #C9AB4C);
}

@media (max-width: 900px) {
	.prime-service-cta__experts { grid-template-columns: 1fr; gap: 18px; }
}
