.services-hub,
.services-focus,
.service-detail-page {
    --service-ink: #33273e;
    --service-muted: #6f6577;
    --service-purple: #7454a6;
    --service-purple-dark: #563d7c;
    --service-lilac: #eee7f6;
    --service-cream: #fbf8f2;
    --service-line: rgba(75, 54, 94, .13);
    color: var(--service-ink);
    background: #fff;
}

.services-hero,
.services-focus-hero,
.service-detail-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 18%, rgba(202, 183, 223, .48), transparent 32%),
        linear-gradient(135deg, #fbf8f2 0%, #f4eef8 100%);
}

.services-hero::after,
.services-focus-hero::after,
.service-detail-hero::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: -130px;
    bottom: -210px;
    border: 1px solid rgba(116, 84, 166, .16);
    border-radius: 50%;
    box-shadow: 0 0 0 42px rgba(116, 84, 166, .04), 0 0 0 84px rgba(116, 84, 166, .025);
    pointer-events: none;
}

.services-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 920px;
    padding-top: 3rem;
    padding-bottom: 5.3rem;
    text-align: center;
}

.services-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    align-items: center;
    margin-bottom: 2.3rem;
    color: var(--service-muted);
    font-size: .86rem;
}

.services-hero .services-breadcrumb { justify-content: center; }
.services-breadcrumb a { color: var(--service-purple-dark); text-decoration: none; }
.services-breadcrumb a:hover { text-decoration: underline; }

.services-eyebrow {
    margin: 0 0 .75rem;
    color: var(--service-purple);
    font-size: .78rem;
    font-weight: 750;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.services-hero h1,
.services-focus-hero h1,
.service-detail-copy h1 {
    max-width: 850px;
    margin: 0 auto 1.2rem;
    color: var(--service-ink);
    font-family: var(--font-serif);
    font-size: var(--type-display-1);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -.035em;
}

.services-lead {
    max-width: 720px;
    margin: 0 auto;
    color: var(--service-muted);
    font-size: var(--type-lead);
    line-height: 1.75;
}

.services-hero__actions,
.service-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    justify-content: center;
    margin-top: 2rem;
}

.services-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 48px;
    padding: .8rem 1.35rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.services-button:hover { transform: translateY(-2px); }
.services-button--primary { color: #fff; background: var(--service-purple); box-shadow: 0 10px 24px rgba(84, 57, 121, .2); }
.services-button--primary:hover { color: #fff; background: var(--service-purple-dark); }
.services-button--ghost { color: var(--service-purple-dark); background: rgba(255, 255, 255, .76); border-color: rgba(116, 84, 166, .32); }
.services-button--ghost:hover { color: var(--service-purple-dark); background: #fff; }

.services-journeys,
.services-results,
.service-detail-content,
.service-reviews { padding: 5.2rem 0; }

.services-section-heading { max-width: 700px; margin: 0 auto 2.4rem; text-align: center; }
.services-section-heading--left { max-width: none; margin-left: 0; text-align: left; }
.services-section-heading h2,
.services-closing h2,
.service-detail-article h2,
.service-contact-card h2 {
    margin: 0 0 .75rem;
    font-family: var(--font-serif);
    font-weight: 500;
    color: var(--service-ink);
}
.services-section-heading h2 { font-size: var(--type-display-2); }
.services-section-heading > p:last-child { color: var(--service-muted); line-height: 1.7; }

.services-journey-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.services-journey-card {
    position: relative;
    display: grid;
    min-height: 320px;
    padding: 2rem;
    overflow: hidden;
    color: var(--service-ink);
    background: #fff;
    border: 1px solid var(--service-line);
    border-radius: 26px;
    box-shadow: 0 18px 45px rgba(50, 36, 63, .07);
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.services-journey-card:hover { color: var(--service-ink); transform: translateY(-5px); border-color: rgba(116, 84, 166, .34); box-shadow: 0 24px 55px rgba(50, 36, 63, .12); }
.services-journey-card__icon,
.services-focus-icon {
    display: inline-grid;
    width: 54px;
    height: 54px;
    place-items: center;
    color: var(--service-purple);
    background: var(--service-lilac);
    border-radius: 18px;
    font-size: 1.25rem;
}
.services-journey-card__count { position: absolute; top: 2rem; right: 2rem; color: var(--service-muted); font-size: .8rem; }
.services-journey-card h3 { align-self: end; margin: 2rem 0 .65rem; font-family: var(--font-serif); font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 600; }
.services-journey-card p { margin: 0 0 1.35rem; color: var(--service-muted); line-height: 1.65; }
.services-card-link { color: var(--service-purple-dark); font-weight: 750; text-decoration: none; }
.services-card-link i { margin-left: .35rem; transition: transform .2s ease; }
.services-journey-card:hover .services-card-link i,
.services-card-link:hover i { transform: translateX(4px); }

.services-closing { padding: 3.4rem 0; background: var(--service-cream); border-top: 1px solid var(--service-line); }
.services-closing__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.services-closing__inner > div { max-width: 670px; }
.services-closing h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
.services-closing p:last-child { margin: 0; color: var(--service-muted); }

.services-focus-hero { padding: 2.6rem 0 4.4rem; text-align: center; }
.services-focus-hero .services-breadcrumb { justify-content: center; margin-bottom: 1.2rem; }
.services-back-link { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: 2rem; color: var(--service-purple-dark); font-weight: 700; text-decoration: none; }
.services-focus-icon { display: grid; margin: 0 auto 1.2rem; }
.services-focus-hero h1 { max-width: 760px; }
.services-results { background: #fff; }

.service-list-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.35rem; }
.service-list-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--service-line); border-radius: 24px; box-shadow: 0 14px 38px rgba(50, 36, 63, .07); }
.service-list-card__image-link { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--service-lilac); }
.service-list-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.service-list-card:hover .service-list-card__image { transform: scale(1.035); }
.service-list-card__fallback { display: grid; width: 100%; height: 100%; place-items: center; color: var(--service-purple); font-size: 2rem; }
.service-list-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.45rem; }
.service-list-card__meta { margin-bottom: .8rem; color: var(--service-purple); font-size: .82rem; font-weight: 700; }
.service-list-card h3 { margin: 0 0 .75rem; font-family: var(--font-serif); font-size: 1.45rem; font-weight: 600; line-height: 1.2; }
.service-list-card h3 a { color: var(--service-ink); text-decoration: none; }
.service-list-card p { color: var(--service-muted); line-height: 1.62; }
.service-list-card .services-card-link { margin-top: auto; }
.services-empty { padding: 2rem; color: var(--service-muted); background: var(--service-cream); border-radius: 20px; text-align: center; }

.service-detail-hero { padding: 2.6rem 0 4.2rem; }
.service-detail-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(380px, 1.05fr); gap: 4rem; align-items: center; }
.service-detail-copy h1 { margin-left: 0; }
.service-detail-duration { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .85rem; color: var(--service-purple-dark); background: rgba(255, 255, 255, .78); border-radius: 999px; font-size: .88rem; font-weight: 700; }
.service-detail-intro { max-width: 600px; color: var(--service-muted); font-size: 1.08rem; line-height: 1.72; }
.service-detail-actions { justify-content: flex-start; }
.service-detail-media { overflow: hidden; aspect-ratio: 4 / 3; border: 9px solid rgba(255, 255, 255, .75); border-radius: 30px; box-shadow: 0 24px 55px rgba(50, 36, 63, .15); }
.service-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.service-detail-media__fallback { display: grid; width: 100%; height: 100%; place-items: center; color: var(--service-purple); background: var(--service-lilac); font-size: 3rem; }

.service-detail-content__layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(290px, .75fr); gap: 4rem; align-items: start; }
.service-detail-article h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.service-rich-text { color: var(--service-muted); font-size: 1.05rem; line-height: 1.82; }
.service-rich-text [style*="background"] { background: transparent !important; color: inherit !important; }
.service-rich-text p { margin-left: 0 !important; text-align: left !important; }
.service-care-note { display: flex; gap: .7rem; margin-top: 2rem; padding: 1rem 1.1rem; color: var(--service-muted); background: var(--service-cream); border-left: 3px solid #b79ac9; border-radius: 0 12px 12px 0; font-size: .9rem; line-height: 1.55; }
.service-contact-card { position: sticky; top: 100px; padding: 1.7rem; background: var(--service-cream); border: 1px solid var(--service-line); border-radius: 24px; }
.service-contact-card h2 { font-size: 1.65rem; }
.service-contact-card ul { display: grid; gap: 1rem; margin: 1.3rem 0 1.6rem; padding: 0; list-style: none; }
.service-contact-card li { display: flex; gap: .75rem; color: var(--service-muted); }
.service-contact-card li > i { width: 20px; margin-top: .2rem; color: var(--service-purple); text-align: center; }
.service-contact-card li span { display: grid; gap: .15rem; }
.service-contact-card strong { color: var(--service-ink); }
.service-contact-card .services-button { width: 100%; }

.service-reviews { background: #faf8fb; border-top: 1px solid var(--service-line); }
.service-reviews__inner { max-width: 980px; }
.service-review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.service-review-card { padding: 1.5rem; background: #fff; border: 1px solid var(--service-line); border-radius: 18px; }
.service-review-card p { color: var(--service-muted); line-height: 1.65; }
.service-review-stars span { color: #d9d2de; }
.service-review-stars .is-filled { color: #c6983d; }
.service-review-action { margin-top: 1.6rem; text-align: center; }
.service-review-modal { --service-purple: #7454a6; --service-lilac: #eee7f6; --service-line: rgba(75, 54, 94, .13); overflow: hidden; border: 0; border-radius: 22px; }
.service-review-modal .modal-header { background: var(--service-lilac); }
.service-rating-options { display: flex; flex-wrap: wrap; gap: .45rem; }
.service-rating-options input { position: absolute; opacity: 0; pointer-events: none; }
.service-rating-options label { padding: .45rem .65rem; border: 1px solid var(--service-line); border-radius: 10px; cursor: pointer; }
.service-rating-options input:checked + label { color: #fff; background: var(--service-purple); }

@media (max-width: 991.98px) {
    .service-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-detail-layout { grid-template-columns: 1fr; gap: 2.4rem; }
    .service-detail-content__layout { grid-template-columns: 1fr; gap: 2rem; }
    .service-contact-card { position: static; }
}

@media (max-width: 767.98px) {
    .services-hero__inner { padding-top: 2rem; padding-bottom: 3.8rem; }
    .services-breadcrumb { margin-bottom: 1.5rem; }
    .services-journeys, .services-results, .service-detail-content, .service-reviews { padding: 3.5rem 0; }
    .services-journey-grid, .service-list-grid, .service-review-grid { grid-template-columns: 1fr; }
    .services-journey-card { min-height: 285px; padding: 1.5rem; }
    .services-journey-card__count { top: 1.5rem; right: 1.5rem; }
    .services-closing__inner { align-items: stretch; flex-direction: column; }
    .services-closing .services-button { width: 100%; }
    .service-detail-hero { padding-top: 1.7rem; }
    .service-detail-media { border-width: 6px; border-radius: 22px; }
    .service-detail-actions { flex-direction: column; }
    .service-detail-actions .services-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .services-button, .services-journey-card, .service-list-card__image, .services-card-link i { transition: none; }
}
