/* Mendify Services — listing page */

.public-body--services .public-main {
    padding: 0;
}

.mendify-services {
    --services-max: 1180px;
    color: var(--md-charcoal);
}

/* ── Hero ── */

.mendify-services__hero {
    background:
        radial-gradient(circle at 88% 12%, rgba(228, 165, 198, 0.18) 0%, transparent 34%),
        linear-gradient(165deg, var(--lav100) 0%, #fff 52%, var(--sage50) 100%);
    border-bottom: 1px solid var(--lav200);
    padding: var(--intro-pad-y) var(--intro-pad-x);
}

.mendify-services__hero-row {
    width: min(var(--services-max), 92vw);
    margin: 0 auto;
}

.mendify-services__hero-inner {
    max-width: 520px;
    margin: 0;
}

.mendify-services__eyebrow {
    margin: 0 0 var(--intro-gap);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lav800);
}

.mendify-services__hero h1 {
    margin: 0 0 var(--intro-gap);
    font-family: Georgia, "Times New Roman", serif;
    font-size: var(--intro-title-size);
    font-weight: 400;
    line-height: 1.14;
    color: var(--lav900);
}

.mendify-services__hero h1 span {
    color: var(--lav800);
    font-style: italic;
}

.mendify-services__lead {
    margin: 0;
    font-size: var(--intro-lead-size);
    line-height: 1.5;
    color: rgba(58, 58, 58, 0.82);
}

.mendify-services__trust--inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0.6rem 0 0;
    border-top: 1px solid rgba(226, 217, 240, 0.5);
}

.mendify-services__trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--lav800);
}

.mendify-services__trust-icon {
    color: var(--md-sage);
    font-size: 0.55rem;
    line-height: 1;
}

/* ── Grid ── */

.mendify-services__grid {
    width: min(var(--services-max), 92vw);
    margin: 0 auto;
    padding: clamp(1.15rem, 2.5vw, 1.75rem) 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

/* ── Cards ── */

.mendify-service-card {
    min-width: 0;
}

.mendify-service-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid rgba(226, 217, 240, 0.75);
    border-radius: calc(var(--md-radius) + 4px);
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(61, 47, 82, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mendify-service-card__link:hover {
    transform: translateY(-4px);
    border-color: rgba(138, 111, 168, 0.35);
    box-shadow: 0 16px 40px rgba(61, 47, 82, 0.11);
}

.mendify-service-card__visual {
    position: relative;
    aspect-ratio: 16 / 9;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(145deg, var(--lav100) 0%, #fff 100%);
}

.mendify-service-card__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.mendify-service-card__link:hover .mendify-service-card__visual img {
    transform: scale(1.04);
}

.mendify-service-card__icon {
    display: grid;
    place-items: center;
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--lav800);
    box-shadow: 0 10px 24px rgba(61, 47, 82, 0.1);
}

.mendify-service-card__icon svg {
    width: 2rem;
    height: 2rem;
}

.mendify-service-card--accent-0 .mendify-service-card__visual {
    background: linear-gradient(145deg, #f4f1fa 0%, #ebe3f5 100%);
}

.mendify-service-card--accent-1 .mendify-service-card__visual {
    background: linear-gradient(145deg, #eef5ec 0%, #dce9d8 100%);
}

.mendify-service-card--accent-2 .mendify-service-card__visual {
    background: linear-gradient(145deg, #fdf3f8 0%, #f5dce8 100%);
}

.mendify-service-card--accent-3 .mendify-service-card__visual {
    background: linear-gradient(145deg, #f7f3fb 0%, #ece4f4 100%);
}

.mendify-service-card--accent-4 .mendify-service-card__visual {
    background: linear-gradient(145deg, #f5faf4 0%, #e3efe1 100%);
}

.mendify-service-card--accent-5 .mendify-service-card__visual {
    background: linear-gradient(145deg, #faf7f4 0%, #efe6df 100%);
}

.mendify-service-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 0.65rem;
    padding: 1.35rem 1.35rem 1.5rem;
}

.mendify-service-card__category {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lav800);
}

.mendify-service-card__title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.28rem;
    font-weight: 400;
    line-height: 1.25;
    color: var(--lav900);
}

.mendify-service-card__excerpt {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.65;
    color: rgba(58, 58, 58, 0.78);
}

.mendify-service-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    list-style: none;
    margin: 0.15rem 0 0;
    padding: 0;
}

.mendify-service-card__meta li {
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: var(--lav100);
    border: 1px solid rgba(226, 217, 240, 0.95);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--lav800);
}

.mendify-service-card__cta {
    margin-top: auto;
    padding-top: 0.35rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--lav800);
}

.mendify-service-card__link:hover .mendify-service-card__cta {
    color: var(--lav900);
}

/* ── Empty state ── */

.mendify-services__empty {
    width: min(var(--services-max), 92vw);
    margin: 0 auto;
    padding: 3rem 0;
    text-align: center;
}

.mendify-services__empty h2 {
    margin: 0 0 0.65rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--lav900);
}

.mendify-services__empty p {
    margin: 0 0 1.25rem;
    color: rgba(58, 58, 58, 0.78);
}

/* ── Related ── */

.mendify-services__related {
    border-top: 1px solid rgba(226, 217, 240, 0.85);
    background: linear-gradient(180deg, #fff 0%, var(--lav100) 100%);
}

.mendify-services__related-inner {
    width: min(var(--services-max), 92vw);
    margin: 0 auto;
    padding: 2.25rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.mendify-services__related-eyebrow {
    margin: 0 0 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lav800);
}

.mendify-services__related-copy h2 {
    margin: 0 0 0.55rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 400;
    color: var(--lav900);
}

.mendify-services__related-copy p {
    margin: 0;
    max-width: 34rem;
    line-height: 1.65;
    color: rgba(58, 58, 58, 0.78);
}

/* ── Responsive ── */

@media (max-width: 1024px) {
    .mendify-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ── Service detail page ── */

.public-body--services .public-main {
    padding: 0;
}

.mendify-service-detail {
    --svc-max: 1240px;
    color: var(--md-charcoal);
    background:
        radial-gradient(ellipse 90% 50% at 50% -10%, rgba(226, 217, 240, 0.35) 0%, transparent 60%),
        linear-gradient(180deg, #f8f7ff 0%, #fff 32%, #faf9fc 100%);
}

.mendify-service-detail__hero {
    position: relative;
    overflow: hidden;
    padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 4vw, 2rem) clamp(2rem, 4vw, 3rem);
}

.mendify-service-detail__hero::before {
    content: "";
    position: absolute;
    top: -14%;
    right: -6%;
    width: min(44vw, 440px);
    height: min(44vw, 440px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(202, 196, 210, 0.42) 0%, rgba(244, 241, 250, 0) 72%);
    pointer-events: none;
}

.mendify-service-detail__hero-inner {
    position: relative;
    z-index: 1;
    width: min(var(--svc-max), 92vw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
    gap: clamp(1.5rem, 3.5vw, 3rem);
    align-items: center;
}

.mendify-service-detail__breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    margin: 0 0 1.1rem;
    font-size: 0.82rem;
    color: rgba(91, 66, 117, 0.72);
}

.mendify-service-detail__breadcrumbs a {
    color: var(--lav800);
    text-decoration: none;
    font-weight: 500;
}

.mendify-service-detail__breadcrumbs a:hover {
    text-decoration: underline;
}

.mendify-service-detail__crumb-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(91, 66, 117, 0.62);
}

.mendify-service-detail__crumb-home svg {
    width: 1rem;
    height: 1rem;
}

.mendify-service-detail__crumb-sep {
    color: rgba(91, 66, 117, 0.35);
}

.mendify-service-detail__eyebrow {
    margin: 0 0 0.85rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: rgba(58, 58, 58, 0.62);
}

.mendify-service-detail__title {
    margin: 0 0 0.9rem;
    max-width: 14ch;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4.2vw, 2.85rem);
    font-weight: 400;
    line-height: 1.12;
    color: var(--lav900);
}

.mendify-service-detail__title em {
    display: block;
    font-style: italic;
    color: var(--lav800);
}

.mendify-service-detail__lead {
    margin: 0 0 1.15rem;
    max-width: 34rem;
    font-size: clamp(0.95rem, 1.6vw, 1.05rem);
    line-height: 1.62;
    color: rgba(58, 58, 58, 0.82);
}

.mendify-service-detail__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
}

.mendify-service-detail__pills li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--lav200);
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(58, 58, 58, 0.85);
    box-shadow: 0 4px 14px rgba(97, 70, 125, 0.04);
}

.mendify-service-detail__pill-icon {
    display: inline-flex;
    color: var(--lav800);
}

.mendify-service-detail__pill-icon svg {
    width: 1rem;
    height: 1rem;
}

.mendify-service-detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.mendify-service-detail__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    padding: 0.72rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mendify-service-detail__cta--primary {
    background: var(--md-sage);
    color: #fff;
    border: 1px solid var(--md-sage);
}

.mendify-service-detail__cta--primary:hover {
    background: #4f7350;
    border-color: #4f7350;
    color: #fff;
}

.mendify-service-detail__cta--secondary {
    background: #fff;
    color: var(--lav900);
    border: 1px solid rgba(91, 66, 117, 0.22);
}

.mendify-service-detail__cta--secondary:hover {
    border-color: var(--lav800);
    color: var(--lav800);
}

.mendify-service-detail__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mendify-service-detail__trust li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: rgba(58, 58, 58, 0.78);
}

.mendify-service-detail__trust-icon {
    color: var(--md-sage);
    font-size: 0.9rem;
    line-height: 1;
}

.mendify-service-detail__visual {
    position: relative;
}

.mendify-service-detail__frame {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    max-height: 560px;
    background: linear-gradient(145deg, #f4f1fa 0%, #ebe4f4 100%);
    box-shadow: 0 24px 50px rgba(61, 47, 82, 0.12);
}

.mendify-service-detail__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mendify-service-detail__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(226, 217, 240, 0.9);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--lav900);
    box-shadow: 0 8px 20px rgba(61, 47, 82, 0.08);
}

.mendify-service-detail__badge-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--md-sage);
}

.mendify-service-detail__placeholder {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 320px;
}

.mendify-service-detail__placeholder-ring {
    position: absolute;
    width: 72%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 2px solid rgba(184, 168, 208, 0.45);
}

.mendify-service-detail__placeholder-label {
    position: relative;
    z-index: 1;
    max-width: 70%;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    color: var(--lav800);
}

.mendify-service-detail__section {
    padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 4vw, 2rem);
    border-top: 1px solid rgba(226, 217, 240, 0.55);
}

.mendify-service-detail__wrap {
    width: min(var(--svc-max), 92vw);
    margin: 0 auto;
}

.mendify-service-detail__section-title {
    margin: 0 0 1rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    color: var(--lav900);
}

.mendify-service-detail__body {
    max-width: 46rem;
    line-height: 1.65;
    color: rgba(58, 58, 58, 0.85);
}

.mendify-service-detail__disclaimer {
    margin: 1rem 0 0;
    font-size: 0.84rem;
    color: rgba(58, 58, 58, 0.62);
}

.mendify-service-detail__therapist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.mendify-service-detail__therapist-card {
    padding: 1.1rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(226, 217, 240, 0.8);
}

.mendify-service-detail__therapist-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    color: var(--lav900);
}

.mendify-service-detail__faq-list {
    display: grid;
    gap: 0.75rem;
    max-width: 46rem;
}

.mendify-service-detail__faq {
    padding: 0.9rem 1rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(226, 217, 240, 0.8);
}

.mendify-service-detail__faq summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--lav900);
}

.mendify-service-detail__faq p {
    margin: 0.75rem 0 0;
    line-height: 1.6;
    color: rgba(58, 58, 58, 0.82);
}

/* ── How it works ── */

.mendify-service-detail__hiw {
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem);
    background: linear-gradient(180deg, #f9f7fd 0%, #f4f1fa 48%, #fff 100%);
    border-top: 1px solid rgba(226, 217, 240, 0.55);
}

.mendify-service-detail__hiw-inner {
    width: min(var(--svc-max), 92vw);
    margin: 0 auto;
    text-align: center;
}

.mendify-service-detail__hiw-eyebrow {
    margin: 0 0 0.85rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: rgba(91, 66, 117, 0.72);
}

.mendify-service-detail__hiw-title {
    margin: 0 0 0.9rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.85rem, 3.8vw, 2.65rem);
    font-weight: 400;
    line-height: 1.18;
    color: var(--lav900);
}

.mendify-service-detail__hiw-title em {
    display: block;
    font-style: italic;
    color: var(--lav800);
}

.mendify-service-detail__hiw-intro {
    margin: 0 auto 2rem;
    max-width: 40rem;
    font-size: clamp(0.95rem, 1.6vw, 1.05rem);
    line-height: 1.62;
    color: rgba(58, 58, 58, 0.78);
}

.mendify-service-detail__hiw-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    list-style: none;
    margin: 0 0 2rem;
    padding: 1.5rem 0 0;
}

.mendify-service-detail__hiw-steps::before {
    content: "";
    position: absolute;
    top: 2.35rem;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, rgba(184, 168, 208, 0.15), rgba(184, 168, 208, 0.55), rgba(184, 168, 208, 0.15));
    z-index: 0;
}

.mendify-service-detail__hiw-step {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.mendify-service-detail__hiw-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 2.1rem 1rem 1.35rem;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(226, 217, 240, 0.85);
    box-shadow: 0 14px 34px rgba(61, 47, 82, 0.07);
    text-align: center;
}

.mendify-service-detail__hiw-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--lav900);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.mendify-service-detail__hiw-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    margin: 0.35rem 0 0.9rem;
    border-radius: 50%;
    background: rgba(226, 217, 240, 0.45);
    color: var(--lav800);
}

.mendify-service-detail__hiw-icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

.mendify-service-detail__hiw-card h3 {
    margin: 0 0 0.55rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--lav900);
}

.mendify-service-detail__hiw-card p {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.55;
    color: rgba(58, 58, 58, 0.76);
}

.mendify-service-detail__hiw-actions {
    display: flex;
    justify-content: center;
}

@media (max-width: 1024px) {
    .mendify-service-detail__hiw-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.35rem 1rem;
    }

    .mendify-service-detail__hiw-steps::before {
        display: none;
    }
}

@media (max-width: 900px) {
    .mendify-service-detail__hero-inner {
        grid-template-columns: 1fr;
    }

    .mendify-service-detail__visual {
        order: -1;
        max-width: 420px;
        margin: 0 auto;
        width: 100%;
    }

    .mendify-service-detail__title em {
        display: inline;
    }
}

@media (max-width: 640px) {
    .mendify-services__grid {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }

    .mendify-services__related-inner {
        align-items: flex-start;
    }

    .mendify-service-detail__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .mendify-service-detail__cta {
        width: 100%;
    }

    .mendify-service-detail__hiw-steps {
        grid-template-columns: 1fr;
    }

    .mendify-service-detail__hiw-title em {
        display: inline;
    }
}

/* ── Care team (therapist cards) ── */

.mendify-service-detail__care {
    border-top: 1px solid rgba(226, 217, 240, 0.55);
}

.mendify-service-detail__care .mendify-experts__wrap {
    width: min(var(--svc-max), 92vw);
}

.mendify-service-detail__care-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
    .mendify-service-detail__care-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .mendify-service-detail__care-grid {
        grid-template-columns: 1fr;
    }

    .mendify-service-detail__care .mendify-experts__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .mendify-service-detail__care .mendify-experts__browse-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ── Our approach ── */

.mendify-service-detail__approach {
    padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1rem, 4vw, 2rem);
    background: #fff;
    border-top: 1px solid rgba(226, 217, 240, 0.55);
}

.mendify-service-detail__approach-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
    width: min(var(--svc-max), 92vw);
    margin: 0 auto;
}

.mendify-service-detail__approach-eyebrow {
    margin: 0 0 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--lav800);
}

.mendify-service-detail__approach-title {
    margin: 0 0 1.1rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.85rem, 3.5vw, 2.65rem);
    font-weight: 400;
    line-height: 1.14;
    color: var(--lav900);
    max-width: 16ch;
}

.mendify-service-detail__approach-body {
    margin: 0 0 1rem;
    max-width: 34rem;
    font-size: 1rem;
    line-height: 1.68;
    color: rgba(58, 58, 58, 0.82);
}

.mendify-service-detail__approach-badge {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: 1.5rem;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #f7f3fc 0%, #f1ebfa 100%);
    border: 1px solid rgba(226, 217, 240, 0.75);
    max-width: 22rem;
}

.mendify-service-detail__approach-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    background: #5f7d68;
    color: #fff;
    flex-shrink: 0;
}

.mendify-service-detail__approach-badge-icon svg {
    width: 1.2rem;
    height: 1.2rem;
}

.mendify-service-detail__approach-badge-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.mendify-service-detail__approach-badge-text strong {
    font-size: 0.95rem;
    color: var(--lav900);
}

.mendify-service-detail__approach-badge-text span {
    font-size: 0.82rem;
    color: rgba(58, 58, 58, 0.68);
}

.mendify-service-detail__approach-cards {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    max-height: 42rem;
    overflow-y: auto;
    padding-right: 0.25rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(91, 66, 117, 0.35) transparent;
}

.mendify-service-detail__approach-card {
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(226, 217, 240, 0.85);
    box-shadow: 0 10px 28px rgba(58, 42, 79, 0.06);
    overflow: hidden;
}

.mendify-service-detail__approach-card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #ebe4f4 0%, #ddd2ec 100%);
}

.mendify-service-detail__approach-card-media img,
.mendify-service-detail__approach-card-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mendify-service-detail__approach-card-icon {
    position: absolute;
    left: 1rem;
    bottom: -1.1rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    background: var(--lav800);
    color: #fff;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(58, 42, 79, 0.15);
}

.mendify-service-detail__approach-card-icon svg {
    width: 1.1rem;
    height: 1.1rem;
}

.mendify-service-detail__approach-card-body {
    padding: 1.65rem 1.25rem 1.25rem;
}

.mendify-service-detail__approach-card-body h3 {
    margin: 0 0 0.55rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--lav900);
}

.mendify-service-detail__approach-card-body p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.62;
    color: rgba(58, 58, 58, 0.78);
}

@media (max-width: 960px) {
    .mendify-service-detail__approach-inner {
        grid-template-columns: 1fr;
    }

    .mendify-service-detail__approach-title {
        max-width: none;
    }

    .mendify-service-detail__approach-cards {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }
}

/* ── Who it's for ── */

.mendify-service-detail__wif {
    padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1rem, 4vw, 2rem);
    background: linear-gradient(180deg, #faf8fd 0%, #f6f2fb 100%);
    border-top: 1px solid rgba(226, 217, 240, 0.55);
}

.mendify-service-detail__wif-inner {
    width: min(var(--svc-max), 92vw);
    margin: 0 auto;
}

.mendify-service-detail__wif-head {
    max-width: 42rem;
    margin: 0 auto 2.25rem;
    text-align: center;
}

.mendify-service-detail__wif-eyebrow {
    margin: 0 0 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--lav800);
}

.mendify-service-detail__wif-title {
    margin: 0 0 1rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.85rem, 3.6vw, 2.75rem);
    font-weight: 400;
    line-height: 1.16;
    color: var(--lav900);
}

.mendify-service-detail__wif-title em {
    font-style: italic;
    color: var(--lav800);
}

.mendify-service-detail__wif-intro {
    margin: 0 auto;
    max-width: 36rem;
    font-size: 1rem;
    line-height: 1.68;
    color: rgba(58, 58, 58, 0.78);
}

.mendify-service-detail__wif-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.mendify-service-detail__wif-card {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    background: #f8f5fc;
    border: 1px solid rgba(226, 217, 240, 0.75);
}

.mendify-service-detail__wif-card-media {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #ebe4f4 0%, #ddd2ec 100%);
}

.mendify-service-detail__wif-card-media img,
.mendify-service-detail__wif-card-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mendify-service-detail__wif-card-body {
    flex: 1 1 auto;
    padding: 1.1rem 1.15rem 1.2rem;
}

.mendify-service-detail__wif-card-body h3 {
    margin: 0 0 0.5rem;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--lav900);
}

.mendify-service-detail__wif-card-body p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(58, 58, 58, 0.74);
}

.mendify-service-detail__wif-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.mendify-service-detail__wif-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.72rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(58, 58, 58, 0.18);
    background: #fff;
    color: var(--lav900);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.mendify-service-detail__wif-cta:hover {
    background: var(--lav100);
    border-color: var(--lav800);
}

@media (max-width: 960px) {
    .mendify-service-detail__wif-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .mendify-service-detail__wif-grid {
        grid-template-columns: 1fr;
    }
}

/* ── FAQ ── */

.mendify-service-detail__faq {
    padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1rem, 4vw, 2rem);
    background: #fff;
    border-top: 1px solid rgba(226, 217, 240, 0.55);
}

.mendify-service-detail__faq-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
    width: min(var(--svc-max), 92vw);
    margin: 0 auto;
}

.mendify-service-detail__faq-eyebrow {
    margin: 0 0 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--lav800);
}

.mendify-service-detail__faq-title {
    margin: 0 0 1rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.85rem, 3.4vw, 2.55rem);
    font-weight: 400;
    line-height: 1.14;
    color: var(--lav900);
    max-width: 14ch;
}

.mendify-service-detail__faq-title em {
    font-style: italic;
    color: var(--lav800);
}

.mendify-service-detail__faq-intro {
    margin: 0 0 1.5rem;
    font-size: 0.98rem;
    line-height: 1.65;
    color: rgba(58, 58, 58, 0.76);
    max-width: 28rem;
}

.mendify-service-detail__faq-callout {
    padding: 1.15rem 1.2rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #f7f3fc 0%, #f1ebfa 100%);
    border: 1px solid rgba(226, 217, 240, 0.85);
    max-width: 24rem;
}

.mendify-service-detail__faq-callout strong {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 1rem;
    color: var(--lav900);
}

.mendify-service-detail__faq-callout p {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(58, 58, 58, 0.74);
}

.mendify-service-detail__faq-callout-link {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--lav800);
    text-decoration: none;
}

.mendify-service-detail__faq-callout-link:hover {
    text-decoration: underline;
}

.mendify-service-detail__faq-list {
    display: grid;
    gap: 0;
    border-top: 1px solid rgba(226, 217, 240, 0.85);
}

.mendify-service-detail__faq-item {
    border-bottom: 1px solid rgba(226, 217, 240, 0.85);
}

.mendify-service-detail__faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 0;
    cursor: pointer;
    list-style: none;
}

.mendify-service-detail__faq-item summary::-webkit-details-marker {
    display: none;
}

.mendify-service-detail__faq-question {
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--lav900);
}

.mendify-service-detail__faq-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--lav300);
    color: #fff;
    transition: background 0.2s ease, transform 0.2s ease;
}

.mendify-service-detail__faq-toggle svg {
    width: 0.95rem;
    height: 0.95rem;
}

.mendify-service-detail__faq-item[open] .mendify-service-detail__faq-toggle {
    background: var(--lav800);
    transform: rotate(45deg);
}

.mendify-service-detail__faq-answer {
    padding: 0 0 1.15rem;
    font-size: 0.94rem;
    line-height: 1.65;
    color: rgba(58, 58, 58, 0.78);
    max-width: 38rem;
}

@media (max-width: 960px) {
    .mendify-service-detail__faq-inner {
        grid-template-columns: 1fr;
    }

    .mendify-service-detail__faq-title {
        max-width: none;
    }

    .mendify-service-detail__faq-callout {
        max-width: none;
    }
}
