/* Wellness landing page
 * Hand-linked from wellness.php via mc_stylesheet_css_href() — not in css/main.css,
 * so every rule is scoped under .page-wellness to keep it off other pages.
 */

/* Hero */
.page-wellness .wellness-hero {
    padding-block: 56px;
}

.page-wellness .wellness-hero-content {
    padding-right: 2rem;
}

.page-wellness .wellness-hero-content p {
    color: var(--color-text);
    line-height: 1.8;
}

/* No fixed height here: the hero art is portrait (534x667), so the image's own
 * aspect ratio drives the box. A fixed height would letterbox or crop it.
 * Capped below the art's natural height so the tall portrait doesn't stretch
 * the row and strand the copy in dead space. */
.page-wellness .wellness-hero-visual {
    position: relative;
    max-width: 370px;
    margin-inline: auto;
}

.page-wellness .wellness-hero-media img {
    width: 100%;
    height: auto;
    display: block;
}

/* The icons are charcoal line art on transparent PNGs; without a light chip
 * behind them they disappear against the subject's hair and shirt. */
.page-wellness .wellness-hero-icon {
    position: absolute;
    z-index: 2;
    width: clamp(72px, 21%, 98px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    background: var(--color-white);
    border-radius: var(--border-radius-circle);
    box-shadow: 0 6px 20px rgba(20, 20, 20, 0.12);
}

.page-wellness .wellness-hero-icon img {
    width: 62%;
    height: 62%;
    object-fit: contain;
}

/* Placed over the gradient backdrop, clear of the face and torso. */
.page-wellness .wellness-hero-icon-1 {
    top: 8%;
    left: -4%;
}

.page-wellness .wellness-hero-icon-2 {
    top: 44%;
    right: -5%;
}

.page-wellness .wellness-hero-icon-3 {
    bottom: 10%;
    left: -2%;
}

/* Services list */
.page-wellness .wellness-service-items {
    display: flex;
    flex-direction: column;
    border-radius: var(--border-radius-xxlarge);
    overflow: hidden;
}

.page-wellness .wellness-service-item {
    padding: 24px 20px;
    border-bottom: 1px solid var(--color-border-light-5);
    background: linear-gradient(to bottom left, #ffffff, rgba(232, 243, 255, 0.25));
    transition: background 0.2s ease;
}

.page-wellness .wellness-service-item:last-child {
    border-bottom: 0;
}

.page-wellness .wellness-service-item:hover {
    background: linear-gradient(to bottom left, #ffffff, rgba(232, 243, 255, 0.55));
}

.page-wellness .wellness-service-item h4 {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-primary);
}

.page-wellness .wellness-service-item p {
    margin-bottom: 0;
    color: var(--color-text);
    line-height: 1.6;
}

/* Keyboard focus */
.page-wellness a.btn:focus-visible {
    outline: 3px solid var(--color-primary-dark);
    outline-offset: 2px;
}

@media (max-width: 991px) {
    .page-wellness .wellness-hero-content {
        padding-right: 0;
        text-align: center;
        margin-bottom: 3rem;
    }

    .page-wellness .wellness-hero-visual {
        max-width: 340px;
    }
}

@media (max-width: 767px) {
    .page-wellness .wellness-service-item {
        padding: 20px 16px;
    }

    /* Pull the chips inside the image: the negative offsets used on desktop
     * overflow the viewport once the visual fills the column. */
    .page-wellness .wellness-hero-icon {
        width: clamp(60px, 19%, 76px);
    }

    .page-wellness .wellness-hero-icon-1 {
        top: 4%;
        left: 2%;
    }

    .page-wellness .wellness-hero-icon-2 {
        top: 44%;
        right: 2%;
    }

    .page-wellness .wellness-hero-icon-3 {
        bottom: 6%;
        left: 4%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-wellness .wellness-service-item {
        transition: none;
    }
}
