/* Services — Your Wellbeing, My Commitment */
.services-wellbeing-section {
    padding: 0 120px;
}

.services-wellbeing-container {
    max-width: 1200px;
    margin: 0 auto;
}

.wellbeing-panel {
    background: #fff;
    border-radius: 40px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: stretch;
    width: 100%;
}

.wellbeing-top {
    .card-head {
        display: flex;
        flex-direction: column;
        gap: 16px;
        /* Figma: 16px gap between icon and title */
        align-items: flex-start;
    }

    display: flex;
    gap: 24px;
    align-items: flex-end;
    margin-bottom: 32px;
}

.wellbeing-top {
    display: flex;
    gap: 24px;
    align-items: flex-end;
    margin-bottom: 32px;
}

.wellbeing-copy {
    flex: 1 1 60%;
    min-width: 360px;
    /* reduced minimum to avoid forcing CTA wrap */
    text-align: left;
}

.wellbeing-title {
    color: #ed6a59;
    font-family: 'IvyOra Display', serif;
    /* D - ID - H2 - Medium (desktop) */
    font-weight: 700;
    font-style: normal;
    font-size: 32px;
    line-height: normal;
    margin: 0 0 12px 0;
}

.wellbeing-title em,
.wellbeing-title-italic {
    font-weight: 500;
    font-style: italic;
}

.wellbeing-intro {
    color: #403936;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    line-height: normal;
}

.wellbeing-intro p {
    margin: 0 0 12px 0;
}

.wellbeing-list {
    margin: 0 0 12px 20px;
    padding: 0;
}

.wellbeing-list li {
    margin: 0;
}

.wellbeing-list li strong {
    font-weight: 700;
}

.wellbeing-illustration {
    flex: 0 0 302px;
}

.wellbeing-illustration-img {
    width: 302px;
    height: auto;
    display: block;
}

.wellbeing-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 0;
    width: 100%;
}

.wellbeing-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 0;
    flex: 1 1 calc(20% - 24px);
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.card-icon img {
    width: 48px;
    height: 48px;
    display: block;
}

.card-head {
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* Figma: 16px gap between icon and title */
    align-items: flex-start;
}

.card-toggle {
    display: none;
}

.card-title {
    color: #005b68;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: normal;
    margin-bottom: 0;
}

.card-copy {
    color: #403936;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    margin: 0;
    line-height: normal;
}

.wellbeing-cta {
    display: flex;
    gap: 40px;
    align-items: center;
    background: #fff;
    border: 1px solid #ed6a59;
    padding: 24px 40px;
    border-radius: 24px;
}

.cta-copy {
    /* left column: text */
    flex: 1 1 60%;
    min-width: 0;
}

.cta-content {
    display: flex;
    flex: 1 1 auto;
    gap: 24px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.cta-icon img {
    width: 65px;
    height: 65px;
    display: block;
}

.cta-title {
    color: #005b68;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 700;
    margin: 0 0 8px 0;
    font-size: 16px;
    line-height: normal;
}

.cta-text {
    margin: 0;
    color: #403936;
    font-size: 16px;
    line-height: normal;
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* Wellbeing section buttons now use centralized component (primary and secondary types) */

@media (max-width: 1200px) {
    .services-wellbeing-section {
        padding: 0 60px;
    }
}

@media (max-width: 800px) {
    .services-wellbeing-section {
        padding: 0 24px;
    }

    .wellbeing-copy {
        flex: 1 1 100%;
        min-width: 0;
    }

    .cta-icon {
        align-self: center;
    }

    .wellbeing-top {
        flex-direction: column;
        align-items: center;
    }

    .wellbeing-illustration,
    .wellbeing-illustration-img {
        width: 100%;
        max-width: 420px;
    }

    .wellbeing-card {
        flex: 1 1 100%;
        gap: 16px;
    }

    .wellbeing-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .wellbeing-cta {
        padding: 20px 16px;
        gap: 24px;
    }

    .wellbeing-title {
        /* M - ID - H2 - Medium (mobile) */
        font-size: 24px;
        font-weight: 700;
        font-style: normal;
        line-height: normal;
    }

    .cta-copy {
        width: 100%;
    }

    .card-icon img {
        width: 32px;
        height: 32px;
    }

    .cta-actions {
        width: 100%;
        display: flex;
        gap: 12px;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .card-head {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        width: 100%;
    }

    .card-title {
        flex: 1 1 auto;
        margin: 0;
    }

    .card-toggle {
        background: transparent;
        border: 0;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        cursor: pointer;
    }

    .card-toggle img {
        display: block;
        transition: transform 200ms ease;
    }

    /* hide copy by default on mobile, show when expanded */
    .wellbeing-card .card-copy {
        display: none;
    }

    .wellbeing-card.is-open .card-copy {
        margin-top: 0;
        display: block;
    }

    .wellbeing-card.is-open .card-toggle img {
        transform: rotate(180deg);
    }
}
