﻿
/* =========================================
   TREATMENTS SECTION
========================================= */

.treatments-section {
    min-height: auto;
    padding: 1px 5% 10px;
    display: block;
    background: #f8f9fb;
    scroll-margin-top: 100px;
}

.treatments-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

/* SECTION HEADING */

.treatments-heading {
    max-width: 850px;
    margin: 0 auto 48px;
    text-align: center;
}

.treatments-eyebrow {
    display: inline-block;
    margin-bottom: 15px;
    color: #b89558;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.treatments-heading h2 {
    margin: 0 0 20px;
    color: #102b4b;
    font-family: var(--font-heading, inherit);
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.2;
}

    .treatments-heading h2 span {
        color: #b89558;
    }

.treatments-intro {
    max-width: 780px;
    margin: 0 auto;
    color: #637083;
    font-size: 18px;
    line-height: 1.85;
}

/* DIAGNOSTIC OVERVIEW */

.treatments-overview {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 27px 32px;
    background: #102b4b;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(16, 43, 75, 0.10);
}

.treatments-overview-icon {
    display: flex;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(223, 193, 139, 0.15);
    color: #dfc18b;
    font-size: 23px;
}

.treatments-overview-content h3 {
    margin: 0 0 9px;
    color: #dfc18b;
    font-size: 19px;
    font-weight: 700;
}

.treatments-overview-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.8;
}

/* TWO-COLUMN TREATMENT GRID
   Three cards in each desktop column
*/

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 35px;
    row-gap: 25px;
}

/* TREATMENT CARD */

.treatment-card {
    display: flex;
    align-items: stretch;
    min-width: 0;
    min-height: 175px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e9edf2;
    border-radius: 10px;
    transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
    
    border-color: rgba(184, 149, 88, 0.45);
    box-shadow: 0 13px 30px rgba(16, 43, 75, 0.09);
}

    .treatment-card:hover {
        transform: translateY(-4px);
        border-color: darkgoldenrod;
    }

/* IMAGE */

.treatment-image {
    position: relative;
    flex: 0 0 39%;
    min-width: 0;
    overflow: hidden;
    background: #e8edf2;
}

    .treatment-image img {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 175px;
        object-fit: cover;
        transition: transform 400ms ease;
    }

.treatment-card:hover .treatment-image img {
    transform: scale(1.04);
}

.treatment-number {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dfc18b;
    color: #102b4b;
    font-size: 10px;
    font-weight: 800;
}

/* TEXT */

.treatment-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 20px 18px;
}

    .treatment-content h3 {
        margin: 0 0 10px;
        color: #102b4b;
        font-size: 17px;
        font-weight: 750;
        line-height: 1.35;
    }

    .treatment-content p {
        margin: 0;
        color: #6c7889;
        font-size: 14px;
        line-height: 1.75;
    }

.treatment-card-accent {
    display: block;
    width: 35px;
    height: 2px;
    margin-top: 15px;
    background: #c5a46b;
}

/* PERSONAL CARE NOTE */

.treatments-care-note {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 55px;
    padding: 30px 32px;
    background: #ffffff;
    border: 1px solid #e9edf2;
    border-left: 4px solid #b89558;
    border-radius: 8px;
}

.treatments-care-icon {
    display: flex;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #102b4b;
    color: #dfc18b;
    font-size: 21px;
}

.treatments-care-note h3 {
    margin: 0 0 12px;
    color: #102b4b;
    font-size: 19px;
}

.treatments-care-note p {
    margin: 0 0 10px;
    color: #687588;
    font-size: 15px;
    line-height: 1.85;
}

    .treatments-care-note p:last-child {
        margin-bottom: 0;
    }

/* WHEN TO SEE A SPECIALIST */

.treatments-warning {
    margin-top: 35px;
    padding: 35px 38px;
    background: #f0f3f7;
    border: 1px solid #e1e7ef;
    border-radius: 10px;
}

.treatments-warning-heading {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-bottom: 20px;
}

.treatments-warning-icon {
    display: flex;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #102b4b;
    color: #dfc18b;
    font-size: 20px;
}

.treatments-warning-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #b89558;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.treatments-warning-heading h3 {
    margin: 0;
    color: #102b4b;
    font-size: 23px;
    line-height: 1.3;
}

.treatments-warning > p {
    margin: 0 0 13px;
    color: #59687b;
    font-size: 15px;
    line-height: 1.85;
}

.treatments-warning-footer {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #dce3eb;
    color: #43536a;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.7;
}

    .treatments-warning-footer i {
        flex: 0 0 auto;
        margin-top: 3px;
        color: #b89558;
    }

/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {
    .treatments-section {
        padding: 35px 4% 80px;
    }

    .treatments-grid {
        column-gap: 20px;
        row-gap: 20px;
    }

    .treatment-card {
        min-height: 160px;
    }

    .treatment-image img {
        min-height: 160px;
    }

    .treatment-content {
        padding: 16px 13px;
    }

        .treatment-content h3 {
            font-size: 15px;
        }

        .treatment-content p {
            font-size: 14px;
        }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {
    .treatments-section {
        padding: 30px 18px;
    }

    .treatments-heading {
        margin-bottom: 32px;
    }

        .treatments-heading h2 {
            font-size: 32px;
        }

    .treatments-intro {
        font-size: 16px;
        line-height: 1.8;
    }

    .treatments-overview {
        gap: 14px;
        margin-bottom: 32px;
        padding: 21px 18px;
    }

    .treatments-overview-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        font-size: 19px;
    }

    .treatments-overview-content h3 {
        font-size: 16px;
    }

    .treatments-overview-content p {
        font-size: 15px;
    }

    /* Single-column treatment list */
    .treatments-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .treatment-card {
        min-height: 145px;
    }

    .treatment-image {
        flex-basis: 36%;
    }

        .treatment-image img {
            min-height: 145px;
        }

    .treatment-content {
        padding: 16px 14px;
    }

        .treatment-content h3 {
            font-size: 15px;
        }

        .treatment-content p {
            font-size: 14px;
            line-height: 1.65;
        }

    .treatment-number {
        top: 8px;
        left: 8px;
        width: 25px;
        height: 25px;
        font-size: 9px;
    }

    .treatments-care-note {
        gap: 13px;
        margin-top: 35px;
        padding: 22px 18px;
    }

    .treatments-care-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .treatments-care-note h3 {
        font-size: 17px;
    }

    .treatments-care-note p {
        font-size: 15px;
    }

    .treatments-warning {
        margin-top: 22px;
        padding: 24px 19px;
    }

    .treatments-warning-heading {
        gap: 12px;
    }

    .treatments-warning-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        font-size: 17px;
    }

    .treatments-warning-heading h3 {
        font-size: 19px;
    }

    .treatments-warning > p {
        font-size: 15px;
    }
}

/* Small mobile screens */

@media (max-width: 380px) {
    .treatments-section {
        padding-left: 12px;
        padding-right: 12px;
    }

    .treatment-card {
        min-height: 135px;
    }

    .treatment-image img {
        min-height: 135px;
    }

    .treatment-content {
        padding: 12px 10px;
    }

        .treatment-content h3 {
            font-size: 14px;
        }
}
