/* ===== Weight Loss page ===== */
.rp-wl-page {
    background: #fff;
}

/* ===== Shared: pill badge ===== */
.rp-wl-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 289px;
    padding: 10px;
    border-radius: 39px;
    font-family: 'Proxima Nova', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5625;
    letter-spacing: 0;
    color: #1D283A;
    background: #EEF5F3;
    border: 1px solid rgba(47, 169, 140, 0.22);
}
.rp-wl-pill--on-dark {
    color: #EEF5F3;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* ===== Shared: buttons ===== */
.rp-wl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 30px;
    font-family: 'Proxima Nova', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.218;
    text-decoration: none;
    min-width: 207px;
    box-sizing: border-box;
    transition: background .2s, color .2s;
}
.rp-wl-btn--light {
    background: #fff;
    color: #1D283A;
}
.rp-wl-btn--light:hover {
    background: #EEF5F3;
    color: #1D283A;
}
.rp-wl-btn--dark {
    background: #1D283A;
    color: #EEF5F3;
}
.rp-wl-btn--dark:hover {
    background: #263a4d;
    color: #EEF5F3;
}

/* ===================================================== */
/* 1. Hero                                                */
/* ===================================================== */
.rp-wl-hero {
    position: relative;
    height: 613px;
    overflow: hidden;
    background: #1A1A1A;
}
.rp-wl-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.rp-wl-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.rp-wl-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to right, rgba(41, 41, 41, 0.8) 0%, rgba(22, 22, 22, 0) 100%);
}
.rp-wl-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 108px 80px;
    max-width: 756px; /* 80 padding-left + 676 content width */
}
.rp-wl-hero__content > .rp-wl-pill {
    align-self: flex-start;
}
.rp-wl-hero__title {
    margin: 0;
    color: #fff;
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 600;
    font-size: 52px;
    line-height: 1.08;
    text-transform: uppercase;
    letter-spacing: 0;
    max-width: 676px;
}
.rp-wl-hero__title em {
    font-style: italic;
    font-weight: 400;
}
.rp-wl-hero__desc {
    margin: 0;
    color: #fff;
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.389;
    max-width: 526px;
}
.rp-wl-hero__content > .rp-wl-btn {
    align-self: flex-start;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .rp-wl-hero__content { padding: 80px 40px; }
    .rp-wl-hero__title { font-size: 44px; }
}

@media (max-width: 991px) {
    .rp-wl-hero { height: auto; min-height: 480px; }
    .rp-wl-hero__content { padding: 60px 24px; gap: 18px; }
    .rp-wl-hero__title { font-size: 36px; line-height: 1.1; }
    .rp-wl-hero__desc { font-size: 16px; }
}

@media (max-width: 600px) {
    .rp-wl-hero { min-height: 420px; }
    .rp-wl-hero__content { padding: 40px 16px; gap: 16px; max-width: 100%; }
    .rp-wl-hero__title { font-size: 28px; }
    .rp-wl-hero__desc { font-size: 15px; }
    .rp-wl-pill { width: auto; padding: 8px 16px; font-size: 14px; }
}

/* ===================================================== */
/* 2. Compounding Backbone                                */
/* ===================================================== */
.rp-wl-backbone {
    padding: 68px 60px 0;
}
.rp-wl-backbone__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 22px;
    max-width: 1320px;
    margin: 0 auto;
}
.rp-wl-backbone__col--left {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 562px;
    flex: 0 0 562px;
}
.rp-wl-backbone__col--right {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 624px;
    flex: 0 0 624px;
}
.rp-wl-backbone__title {
    margin: 0;
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 600;
    font-size: 42px;
    line-height: 1.08;
    color: #1D283A;
    text-transform: uppercase;
    letter-spacing: 0;
}
.rp-wl-backbone__title em {
    font-style: italic;
    font-weight: 400;
}
.rp-wl-backbone__col--right p {
    margin: 0;
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4375;
    color: #1D283A;
}

@media (max-width: 1348px) {
    .rp-wl-backbone { padding-left: 24px; padding-right: 24px; }
    .rp-wl-backbone__col--left  { flex: 1 1 562px; width: auto; min-width: 0; }
    .rp-wl-backbone__col--right { flex: 1 1 624px; width: auto; min-width: 0; }
}
@media (max-width: 1200px) {
    .rp-wl-backbone { padding: 60px 40px 0; }
}
@media (max-width: 991px) {
    .rp-wl-backbone { padding: 48px 24px 0; }
    .rp-wl-backbone__inner { flex-direction: column; gap: 28px; }
    .rp-wl-backbone__col--left,
    .rp-wl-backbone__col--right { width: 100%; flex: none; }
    .rp-wl-backbone__title { font-size: 32px; }
}
@media (max-width: 600px) {
    .rp-wl-backbone { padding: 40px 16px 0; }
    .rp-wl-backbone__title { font-size: 26px; }
}

/* ===================================================== */
/* 3. Why Clinics                                         */
/* ===================================================== */
.rp-wl-whyclinics {
    padding: 100px 40px 0;
}
.rp-wl-whyclinics__inner {
    display: flex;
    align-items: center;
    gap: 88px;
    max-width: 1268px;
    margin: 0 auto;
}
.rp-wl-whyclinics__image {
    flex: 0 0 608px;
    width: 608px;
    max-width: 608px;
    aspect-ratio: 608 / 511;
    border-radius: 36px;
    overflow: hidden;
}
.rp-wl-whyclinics__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.rp-wl-whyclinics__content {
    flex: 0 0 572px;
    width: 572px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 48px;
}
.rp-wl-whyclinics__top {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.rp-wl-whyclinics__title {
    margin: 0;
    max-width: 559px;
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 600;
    font-size: 46px;
    line-height: 1.108;
    color: #1D283A;
    text-transform: uppercase;
    letter-spacing: 0;
}
.rp-wl-whyclinics__title em {
    font-style: italic;
    font-weight: 400;
}

/* Stats list */
.rp-wl-stats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-self: flex-start;
    width: 557px;
    max-width: 100%;
}
.rp-wl-stat {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    height: 87px;
    box-sizing: border-box;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 6px 14px -6px rgba(0, 0, 0, 0.06);
    overflow: visible;
}
.rp-wl-stat__icon {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    border-radius: 30px;
    background: #EEF5F3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.rp-wl-stat__icon img {
    width: 40px;
    height: 40px;
    display: block;
}
.rp-wl-stat__text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
}
.rp-wl-stat__value {
    font-family: 'Proxima Nova', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.04;
    color: #1D283A;
}
.rp-wl-stat__desc {
    font-family: 'Proxima Nova', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.286;
    color: #1D283A;
    opacity: 0.7;
}

@media (max-width: 1348px) {
    .rp-wl-whyclinics { padding-left: 24px; padding-right: 24px; }
    .rp-wl-whyclinics__inner { gap: 48px; }
    .rp-wl-whyclinics__image { flex: 1 1 608px; width: auto; max-width: 608px; min-width: 0; }
    .rp-wl-whyclinics__content { flex: 1 1 572px; width: auto; min-width: 0; }
}
@media (max-width: 1200px) {
    .rp-wl-whyclinics { padding: 80px 40px 0; }
    .rp-wl-whyclinics__inner { gap: 48px; }
    .rp-wl-whyclinics__image { flex: 1 1 50%; width: 50%; max-width: 50%; }
    .rp-wl-whyclinics__content { flex: 1 1 50%; width: 50%; }
}
@media (max-width: 991px) {
    .rp-wl-whyclinics { padding: 60px 24px 0; }
    .rp-wl-whyclinics__inner { flex-direction: column; gap: 32px; }
    .rp-wl-whyclinics__image {
        flex: none; width: 100%; max-width: 100%;
    }
    .rp-wl-whyclinics__content { flex: none; width: 100%; gap: 28px; }
    .rp-wl-whyclinics__title { font-size: 32px; }
}
@media (max-width: 600px) {
    .rp-wl-whyclinics { padding: 48px 16px 0; }
    .rp-wl-whyclinics__image { border-radius: 24px; }
    .rp-wl-whyclinics__title { font-size: 26px; }
    .rp-wl-stat { padding: 16px; gap: 14px; border-radius: 20px; }
    .rp-wl-stat__icon { width: 52px; height: 52px; flex-basis: 52px; }
    .rp-wl-stat__icon img { width: 32px; height: 32px; }
}

/* ===================================================== */
/* 4. GLP-1 Medications We Compound                       */
/* ===================================================== */
.rp-wl-meds {
    margin-top: 120px;
    padding: 50px 40px;
    background: #EEF5F3;
}
.rp-wl-meds__inner {
    max-width: 1128px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
}
.rp-wl-meds__top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}
.rp-wl-meds__title {
    margin: 0;
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 600;
    font-size: 46px;
    line-height: 1.108;
    color: #1D283A;
    text-transform: uppercase;
}
.rp-wl-meds__title em {
    font-style: italic;
    font-weight: 400;
}
.rp-wl-meds__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.rp-wl-med-card {
    position: relative;
    background: #fff;
    border-radius: 24px;
    padding: 20px;
    min-height: 404px;
    overflow: hidden;
    box-sizing: border-box;
}
.rp-wl-med-card__body {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 320px;
    position: relative;
    z-index: 2;
}
.rp-wl-med-card__title {
    margin: 0;
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.04;
    color: #1D283A;
}
.rp-wl-med-card__desc {
    margin: 0;
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.286;
    color: #1D283A;
    opacity: 0.7;
}
.rp-wl-med-card__bottle {
    position: absolute;
    left: 80px;
    top: 165px;
    width: 199px;
    height: 299px;
    z-index: 1;
    pointer-events: none;
}
.rp-wl-med-card__bottle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.rp-wl-med-card__link {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #1D283A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: background .2s;
}
.rp-wl-med-card__link:hover {
    background: #263a4d;
}
.rp-wl-med-card__link img {
    width: 20px;
    height: 20px;
    display: block;
}

@media (max-width: 1200px) {
    .rp-wl-meds { padding: 48px 40px; }
    .rp-wl-med-card__bottle { left: auto; right: 0; top: 170px; }
}
@media (max-width: 991px) {
    .rp-wl-meds { padding: 40px 24px; }
    .rp-wl-meds__title { font-size: 32px; }
    .rp-wl-meds__list { grid-template-columns: 1fr; gap: 16px; }
    .rp-wl-med-card { min-height: 260px; }
    .rp-wl-med-card__bottle { left: auto; right: 8px; top: 20px; width: 140px; height: 220px; }
    .rp-wl-med-card__body { max-width: calc(100% - 160px); }
}
@media (max-width: 600px) {
    .rp-wl-meds { padding: 32px 16px; }
    .rp-wl-meds__title { font-size: 26px; }
    .rp-wl-med-card__bottle { width: 110px; height: 180px; }
    .rp-wl-med-card__body { max-width: calc(100% - 130px); }
}

/* ===================================================== */
/* 5. Which Partners                                      */
/* ===================================================== */
.rp-wl-partners {
    padding: 194px 40px 0;
}
.rp-wl-partners__inner {
    max-width: 1128px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 39px;
}
.rp-wl-partners__top {
    display: flex;
    gap: 28px;
    align-items: center;
}
.rp-wl-partners__heading {
    flex: 0 0 475px;
    width: 475px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.rp-wl-partners__title {
    margin: 0;
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 600;
    font-size: 46px;
    line-height: 1.108;
    color: #1D283A;
    text-transform: uppercase;
}
.rp-wl-partners__title em {
    font-style: italic;
    font-weight: 400;
}
.rp-wl-partners__image {
    flex: 1;
    aspect-ratio: 625 / 338;
    border-radius: 24px;
    overflow: hidden;
}
.rp-wl-partners__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.rp-wl-partners__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    gap: 20px 16px;
}
.rp-wl-partner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    min-height: 121px;
    box-sizing: border-box;
    border-radius: 12px;
}
.rp-wl-partner__icon {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #EEF5F3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.rp-wl-partner__icon img {
    width: 32px;
    height: 32px;
    display: block;
}
.rp-wl-partner__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.rp-wl-partner__title {
    margin: 0;
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 1.1364;
    color: #1D283A;
}
.rp-wl-partner__desc {
    margin: 0;
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.125;
    color: #1D283A;
    opacity: 0.7;
}

@media (max-width: 1200px) {
    .rp-wl-partners { padding: 120px 40px 0; }
    .rp-wl-partners__list { gap: 20px 40px; }
}
@media (max-width: 991px) {
    .rp-wl-partners { padding: 80px 24px 0; }
    .rp-wl-partners__top { flex-direction: column; align-items: stretch; gap: 24px; }
    .rp-wl-partners__heading { width: 100%; flex: none; }
    .rp-wl-partners__image { width: 100%; flex: none; }
    .rp-wl-partners__title { font-size: 32px; }
    .rp-wl-partners__list {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-flow: row;
        gap: 16px;
    }
}
@media (max-width: 600px) {
    .rp-wl-partners { padding: 60px 16px 0; }
    .rp-wl-partners__title { font-size: 26px; }
    .rp-wl-partner { padding: 8px 0; gap: 14px; }
    .rp-wl-partner__icon { width: 52px; height: 52px; flex-basis: 52px; }
    .rp-wl-partner__icon img { width: 28px; height: 28px; }
}

/* ===================================================== */
/* 6. How We Fulfill                                      */
/* ===================================================== */
.rp-wl-fulfill {
    background: rgba(238, 245, 243, 0.89);
    padding: 50px 40px 78px;
}
.rp-wl-fulfill__inner {
    max-width: 1300px;
    margin: 0 auto;
}
.rp-wl-fulfill__top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.rp-wl-fulfill__title {
    margin: 0;
    max-width: 858px;
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 600;
    font-size: 46px;
    line-height: 1.108;
    color: #1D283A;
    text-transform: uppercase;
    text-align: center;
}
.rp-wl-fulfill__title em {
    font-style: italic;
    font-weight: 400;
}

/* Timeline (zigzag with 4 steps and horizontal line) */
.rp-wl-timeline {
    position: relative;
    margin: 80px auto 0;
    width: 100%;
    max-width: 1140px;
    height: 211px;
}
.rp-wl-timeline__line {
    position: absolute;
    left: 15px;
    right: 15px;
    top: 100px;
    height: 2px;
    background: rgba(91, 194, 177, 0.17);
}
.rp-wl-step {
    position: absolute;
    top: 0;
    height: 211px;
}
.rp-wl-step__dot {
    position: absolute;
    top: 85px;
    left: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: transparent;
    box-sizing: border-box;
}
.rp-wl-step__dot--active {
    background: #FCFFFF;
}
.rp-wl-step__dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #D5ECE8;
}
.rp-wl-step__dot--active::after {
    background: #5BC2B1;
}
.rp-wl-step__text {
    position: absolute;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.rp-wl-step__label {
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 0.857;
    color: #5BC2B1;
    text-transform: uppercase;
    letter-spacing: 0;
}
.rp-wl-step__desc {
    margin: 0;
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.278;
    color: #19343C;
}
/* Step positions from Figma (timeline inner 1140x211) */
.rp-wl-step--1 { left: 0; width: 254px; }
.rp-wl-step--1 .rp-wl-step__text { top: 133px; width: 254px; }
.rp-wl-step--2 { left: 25.8%; width: 238px; }
.rp-wl-step--2 .rp-wl-step__text { top: 0; width: 238px; }
.rp-wl-step--3 { left: 50.2%; width: 244px; }
.rp-wl-step--3 .rp-wl-step__text { top: 133px; width: 244px; }
.rp-wl-step--4 { left: 75.1%; width: 238px; }
.rp-wl-step--4 .rp-wl-step__text { top: 0; width: 238px; }

/* ===================================================== */
/* 7. Safety Bar                                          */
/* ===================================================== */
.rp-wl-safety {
    background: #1D283A;
    padding: 17px 60px 16px;
    min-height: 102px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
}
.rp-wl-safety__items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 23px;
    width: 100%;
    max-width: 1056px;
    flex-wrap: wrap;
}
.rp-wl-safety__items li {
    display: flex;
    align-items: center;
    gap: 3px;
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.389;
    color: #EEF5F3;
}
.rp-wl-safety__items img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: block;
}
.rp-wl-safety__disclaimer {
    margin: 0;
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 2.083;
    color: rgba(238, 245, 243, 0.6);
    text-align: center;
}

/* ===================================================== */
/* 8. FAQ                                                 */
/* ===================================================== */
.rp-wl-faq {
    background: #fff;
    padding: 122px 40px 119px;
}
.rp-wl-faq__inner {
    max-width: 778px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
.rp-wl-faq__heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}
.rp-wl-faq__title {
    margin: 0;
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 600;
    font-size: 46px;
    line-height: 1.108;
    color: #1D283A;
    text-transform: uppercase;
    text-align: center;
}
.rp-wl-faq__title em {
    font-style: italic;
    font-weight: 400;
}
.rp-wl-faq__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}
.rp-wl-faq__item {
    background: #EEF5F3;
    border-radius: 20px;
    padding: 13px 24px;
    min-height: 78px;
    box-sizing: border-box;
}
.rp-wl-faq__item[open] {
    min-height: 146px;
}
.rp-wl-faq__item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    cursor: pointer;
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.333;
    color: #1D283A;
    gap: 12px;
}
.rp-wl-faq__item summary::-webkit-details-marker { display: none; }
.rp-wl-faq__item[open] summary {
    font-size: 20px;
    line-height: 1.2;
}
.rp-wl-faq__item summary::after {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background: url('/assets/img/richmond/weight-loss/icons/plus.svg') center / contain no-repeat;
    transition: transform .2s;
}
.rp-wl-faq__item[open] summary::after {
    background-image: url('/assets/img/richmond/weight-loss/icons/minus.svg');
}
.rp-wl-faq__answer {
    margin: 0;
    padding-top: 0;
    max-width: 701px;
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: rgba(29, 40, 58, 0.8);
}

/* ===================================================== */
/* 9. Bottom CTA                                          */
/* ===================================================== */
.rp-wl-cta {
    position: relative;
    height: 431px;
    overflow: hidden;
}
.rp-wl-cta__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.rp-wl-cta__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.rp-wl-cta__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.4);
}
.rp-wl-cta__content {
    position: relative;
    z-index: 2;
    max-width: 815px;
    margin: 0 auto;
    padding: 104px 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}
.rp-wl-cta__title {
    margin: 0;
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 600;
    font-size: 52px;
    line-height: 1.08;
    color: #fff;
    text-transform: uppercase;
}
.rp-wl-cta__title em {
    font-style: italic;
    font-weight: 400;
}
.rp-wl-cta__desc {
    margin: 0;
    max-width: 622px;
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.25;
    color: #fff;
}
.rp-wl-btn--glass {
    background: rgba(255, 255, 255, 0.16);
    color: #EEF5F3;
    min-width: 290px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.rp-wl-btn--glass:hover {
    background: rgba(255, 255, 255, 0.26);
    color: #fff;
}

/* ===================================================== */
/* Responsive for sections 6–9                            */
/* ===================================================== */
@media (max-width: 1200px) {
    .rp-wl-fulfill { padding: 50px 20px 70px; }
    .rp-wl-safety { padding: 17px 20px 16px; }
    .rp-wl-safety__items { gap: 16px; }
    .rp-wl-faq { padding: 70px 20px; }
}

@media (max-width: 991px) {
    .rp-wl-fulfill__title { font-size: 36px; }
    .rp-wl-timeline { height: auto; margin-top: 48px; }
    .rp-wl-timeline__line { display: none; }
    .rp-wl-step,
    .rp-wl-step--1,
    .rp-wl-step--2,
    .rp-wl-step--3,
    .rp-wl-step--4 {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        height: auto;
        padding-left: 44px;
        margin-bottom: 24px;
    }
    .rp-wl-step__dot {
        top: 0;
    }
    .rp-wl-step__text,
    .rp-wl-step--1 .rp-wl-step__text,
    .rp-wl-step--2 .rp-wl-step__text,
    .rp-wl-step--3 .rp-wl-step__text,
    .rp-wl-step--4 .rp-wl-step__text {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
    }

    .rp-wl-safety__items { flex-direction: column; align-items: flex-start; gap: 12px; }

    .rp-wl-faq__title { font-size: 32px; }
    .rp-wl-faq__item[open] summary { font-size: 18px; }

    .rp-wl-cta__title { font-size: 36px; }
    .rp-wl-cta__desc { font-size: 18px; }
    .rp-wl-cta__content { padding-top: 80px; }
}

@media (max-width: 600px) {
    .rp-wl-fulfill { padding: 50px 16px 60px; }
    .rp-wl-fulfill__title { font-size: 28px; }

    .rp-wl-safety { padding: 14px 16px 14px; }
    .rp-wl-safety__items li { font-size: 15px; line-height: 1.35; }

    .rp-wl-faq { padding: 50px 16px; }
    .rp-wl-faq__inner { gap: 28px; }
    .rp-wl-faq__title { font-size: 26px; }
    .rp-wl-faq__item { padding: 12px 16px; border-radius: 16px; }
    .rp-wl-faq__item summary { font-size: 16px; gap: 8px; }
    .rp-wl-faq__item[open] summary { font-size: 17px; }

    .rp-wl-cta { height: auto; min-height: 360px; }
    .rp-wl-cta__content { padding: 60px 16px; gap: 14px; }
    .rp-wl-cta__title { font-size: 26px; }
    .rp-wl-cta__desc { font-size: 16px; }
    .rp-wl-btn--glass { min-width: 0; width: 100%; }
}

/* ========================================================= */
/* Mobile match to Figma qG3ngnyXUqK2mnH9UBqS6H node 354:1004 */
/* Applied late so these rules win over earlier 600px rules. */
/* ========================================================= */
@media (max-width: 600px) {
    /* Mobile section order (Figma): Hero → Why → About → Meds → Partners
       → Process → Safety → FAQ → CTA. Blade DOM has About before Why. */
    .rp-wl-page {
        display: flex;
        flex-direction: column;
    }
    .rp-wl-hero       { order: 1; }
    .rp-wl-whyclinics { order: 2; }
    .rp-wl-backbone   { order: 3; }
    .rp-wl-meds       { order: 4; }
    .rp-wl-partners   { order: 5; }
    .rp-wl-fulfill    { order: 6; }
    .rp-wl-safety     { order: 7; }
    .rp-wl-faq        { order: 8; }
    .rp-wl-cta        { order: 9; }

    /* Section rhythm — 46px gap between sections; safety touches fulfill */
    .rp-wl-page > section { margin-top: 46px; }
    .rp-wl-page > .rp-wl-hero,
    .rp-wl-page > .rp-wl-safety { margin-top: 0; }

    /* Shared pill — Figma pad 10 all, font 14/25 w600, radius 39 */
    .rp-wl-pill {
        width: auto;
        padding: 10px;
        min-width: 0;
        font-size: 14px;
        line-height: 1.786;
        font-weight: 600;
        border-radius: 39px;
    }

    /* 1. Hero — Figma 360×768. Mobile bg anchored bottom so feet stay visible
       on viewports wider than 360 (cover scales width, crops top instead of feet). */
    .rp-wl-hero {
        height: 768px;
        min-height: 768px;
        background: url('/assets/img/richmond/weight-loss/hero-m.webp') center bottom / cover no-repeat;
    }
    .rp-wl-hero__bg { display: none; }
    .rp-wl-hero__overlay { background: transparent; }
    .rp-wl-hero__content {
        padding: 29px 16px 0;
        gap: 22px;
        max-width: 100%;
        align-items: center;
        text-align: center;
    }
    .rp-wl-hero__content > .rp-wl-pill { align-self: center; }
    .rp-wl-hero__title {
        font-size: 32px;
        line-height: 1.094;
        max-width: 328px;
        color: #fff;
    }
    .rp-wl-hero__desc {
        font-size: 16px;
        line-height: 1.375;
        max-width: 328px;
    }
    .rp-wl-hero__content > .rp-wl-btn {
        width: 328px;
        max-width: 100%;
        align-self: center;
    }

    /* 2. Backbone — Figma 328×561, vertical gap 20; title center, paragraphs left */
    .rp-wl-backbone {
        padding: 0 16px;
    }
    .rp-wl-backbone__inner {
        gap: 20px;
        max-width: 328px;
        margin: 0 auto;
    }
    .rp-wl-backbone__col--left {
        width: 100%;
        flex: none;
        gap: 16px;
        align-items: center;
        text-align: center;
    }
    .rp-wl-backbone__col--right {
        width: 100%;
        flex: none;
        gap: 22px;
    }
    .rp-wl-backbone__title {
        font-size: 28px;
        line-height: 1.071;
        text-align: center;
    }
    .rp-wl-backbone__col--right p {
        font-size: 16px;
        line-height: 1.4375;
        text-align: left;
    }

    /* 3. WhyClinics — 328×780. Order: header → stats → image. Stat row 60+13+255 */
    .rp-wl-whyclinics {
        padding: 0 16px;
    }
    .rp-wl-whyclinics__inner {
        display: flex;
        flex-direction: column;
        gap: 24px;
        max-width: 328px;
        margin: 0 auto;
        align-items: stretch;
    }
    .rp-wl-whyclinics__image {
        order: 2;
        width: 328px;
        max-width: 100%;
        aspect-ratio: 328 / 275;
        border-radius: 19px;
    }
    .rp-wl-whyclinics__content {
        order: 1;
        width: 100%;
        gap: 24px;
    }
    .rp-wl-whyclinics__top {
        align-items: center;
        text-align: center;
        gap: 16px;
    }
    .rp-wl-whyclinics__title {
        font-size: 28px;
        line-height: 1.286;
    }
    .rp-wl-stats {
        width: 100%;
        gap: 20px;
    }
    .rp-wl-stat {
        width: 100%;
        padding: 0;
        height: auto;
        min-height: 79px;
        gap: 13px;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        align-items: flex-start;
    }
    .rp-wl-stat__icon {
        width: 60px;
        height: 60px;
        flex-basis: 60px;
        border-radius: 30px;
    }
    .rp-wl-stat__icon img { width: 60px; height: 60px; }
    .rp-wl-stat__text {
        width: 255px;
        flex: 1;
        gap: 8px;
    }
    .rp-wl-stat__value { font-size: 22px; line-height: 1.136; }
    .rp-wl-stat__desc { font-size: 14px; line-height: 1.286; }

    /* 4. Meds — horizontal carousel at mobile. Cards 278×356, gap 16 */
    .rp-wl-meds {
        margin-top: 46px;
        padding: 28px 0 31px;
        background: #EEF5F3;
    }
    .rp-wl-meds__inner {
        max-width: 100%;
        padding: 0;
        gap: 26px;
    }
    .rp-wl-meds__top {
        padding: 0 16px;
        gap: 16px;
    }
    .rp-wl-meds__title {
        font-size: 28px;
        line-height: 1.286;
    }
    .rp-wl-meds__list {
        display: flex;
        grid-template-columns: none;
        flex-direction: row;
        gap: 16px;
        padding: 0 41px 0 41px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 41px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .rp-wl-meds__list::-webkit-scrollbar { display: none; }
    .rp-wl-med-card {
        flex: 0 0 278px;
        width: 278px;
        min-height: 378px;
        height: 378px;
        scroll-snap-align: start;
        padding: 20px;
        position: relative;
        overflow: hidden;
    }
    .rp-wl-med-card__body {
        max-width: 100%;
    }
    .rp-wl-med-card__bottle {
        position: absolute;
        left: 57px;
        right: auto;
        top: 180px;
        bottom: auto;
        transform: none;
        margin: 0;
        width: 160px;
        height: 280px;
        pointer-events: none;
    }

    /* 5. Partners — 328×1160, single column, image at bottom */
    .rp-wl-partners {
        padding: 0 16px;
    }
    .rp-wl-partners__inner {
        max-width: 328px;
        margin: 0 auto;
        gap: 24px;
    }
    /* display:contents lifts heading + image as direct children of __inner
       so order works across list (heading → list → image) */
    .rp-wl-partners__top {
        display: contents;
    }
    .rp-wl-partners__heading {
        width: 100%;
        flex: none;
        align-items: center;
        text-align: center;
        gap: 16px;
        order: 1;
    }
    .rp-wl-partners__image {
        width: 328px;
        max-width: 100%;
        aspect-ratio: 328 / 177;
        border-radius: 13px;
        order: 3;
    }
    .rp-wl-partners__title {
        font-size: 28px;
        line-height: 1.393;
    }
    .rp-wl-partners__list {
        order: 2;
        display: flex;
        flex-direction: column;
        grid-template-columns: none;
        grid-template-rows: none;
        grid-auto-flow: row;
        gap: 20px;
    }
    .rp-wl-partner {
        padding: 0;
        min-height: auto;
        gap: 13px;
        align-items: flex-start;
        border-radius: 0;
    }
    .rp-wl-partner__icon {
        width: 60px;
        height: 60px;
        flex-basis: 60px;
        border-radius: 30px;
    }
    .rp-wl-partner__icon img { width: 60px; height: 60px; }
    .rp-wl-partner__text { gap: 8px; }
    .rp-wl-partner__title { font-size: 22px; line-height: 1.136; }
    .rp-wl-partner__desc { font-size: 14px; line-height: 1.286; }

    /* 6. Process — vertical timeline. Inner bg rgba(238,245,243,0.89), pad 28/16 */
    .rp-wl-fulfill {
        padding: 28px 16px 56px;
        background: rgba(238, 245, 243, 0.89);
    }
    .rp-wl-fulfill__inner {
        max-width: 328px;
        margin: 0 auto;
    }
    .rp-wl-fulfill__top {
        gap: 16px;
        align-items: center;
    }
    .rp-wl-fulfill__title {
        font-size: 28px;
        line-height: 1.357;
        max-width: 328px;
    }
    .rp-wl-fulfill__top .rp-wl-btn {
        width: 328px;
        max-width: 100%;
    }
    .rp-wl-timeline {
        position: relative;
        margin-top: 62px;
        width: 100%;
        max-width: 328px;
        height: auto;
        min-height: 332px;
    }
    .rp-wl-timeline__line {
        display: block;
        position: absolute;
        left: 14px;
        right: auto;
        top: 29px;
        width: 2px;
        height: 332px;
        background: rgba(91, 194, 177, 0.17);
        border-radius: 68px;
    }
    .rp-wl-step,
    .rp-wl-step--1,
    .rp-wl-step--2,
    .rp-wl-step--3,
    .rp-wl-step--4 {
        position: absolute;
        left: 0;
        width: 100%;
        height: auto;
        padding-left: 0;
        margin-bottom: 0;
    }
    .rp-wl-step--1 { top: 0; }
    .rp-wl-step--2 { top: 96px; }
    .rp-wl-step--3 { top: 192px; }
    .rp-wl-step--4 { top: 288px; }
    .rp-wl-step__dot {
        position: absolute;
        top: 0;
        left: 0;
    }
    .rp-wl-step__text,
    .rp-wl-step--1 .rp-wl-step__text,
    .rp-wl-step--2 .rp-wl-step__text,
    .rp-wl-step--3 .rp-wl-step__text,
    .rp-wl-step--4 .rp-wl-step__text {
        position: absolute;
        top: 0;
        left: 42px;
        width: calc(100% - 42px);
        gap: 8px;
    }
    .rp-wl-step__label { font-size: 22px; line-height: 1.091; }
    .rp-wl-step__desc { font-size: 16px; line-height: 1.25; color: #19343C; }

    /* 7. Safety — navy bar 204h, pad 17/60/16/60 → mobile 20/16 */
    .rp-wl-safety {
        padding: 20px 16px 16px;
        min-height: 204px;
        gap: 12px;
        margin-top: 0;
    }
    .rp-wl-safety__items {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .rp-wl-safety__items li {
        font-size: 18px;
        line-height: 1.389;
        gap: 3px;
    }
    .rp-wl-safety__disclaimer {
        text-align: left;
        font-size: 14px;
        line-height: 1.357;
    }

    /* 8. FAQ — 328×551, title 28/34 center, 4 items gap 8 */
    .rp-wl-faq {
        padding: 0 16px;
    }
    .rp-wl-faq__inner {
        max-width: 328px;
        margin: 0 auto;
        gap: 20px;
    }
    .rp-wl-faq__heading {
        align-items: center;
        gap: 16px;
    }
    .rp-wl-faq__title {
        font-size: 28px;
        line-height: 1.214;
    }
    .rp-wl-faq__list { gap: 8px; }
    .rp-wl-faq__item {
        padding: 13px 16px;
        border-radius: 20px;
        min-height: 65px;
    }
    .rp-wl-faq__item[open] {
        min-height: 163px;
    }
    .rp-wl-faq__item summary {
        font-size: 14px;
        line-height: 1.5;
        padding: 10px 0;
    }
    .rp-wl-faq__item[open] summary {
        font-size: 14px;
        line-height: 1.5;
    }
    .rp-wl-faq__answer {
        font-size: 14px;
        line-height: 1.5;
    }

    /* 9. CTA — 360×342 full width, content 328×230 at (16,56) */
    .rp-wl-cta {
        height: 342px;
        min-height: 342px;
    }
    .rp-wl-cta__bg img { object-position: center; }
    .rp-wl-cta__overlay { background: rgba(0, 0, 0, 0.2); }
    .rp-wl-cta__content {
        max-width: 328px;
        padding: 56px 16px 0;
        gap: 16px;
        align-items: center;
    }
    .rp-wl-cta__title {
        font-size: 36px;
        line-height: 1.083;
        max-width: 328px;
    }
    .rp-wl-cta__desc {
        font-size: 20px;
        line-height: 1.25;
        max-width: 328px;
    }
    .rp-wl-btn--glass {
        min-width: 290px;
        width: 290px;
        max-width: 100%;
    }
}
