/* =========================================
   PAIN MANAGEMENT PAGE
========================================= */

.pain-management-page {
    width: 100%;
    overflow: hidden;
    font-family: inherit;
}

.pain-management-page * {
    box-sizing: border-box;
}


/* =========================================
   HERO SECTION
========================================= */

.pm-hero {
    width: 100%;
    height: 640px;
    min-height: 640px;

    background: #f7fbfd;

    display: flex;
    align-items: center;
}

.pm-hero-container {
    width: 100%;
    max-width: 1280px;

    height: 100%;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 50% 50%;

    align-items: center;
    gap: 20px;

    padding: 40px 40px;
}


/* HERO CONTENT */

.pm-hero-content {
    padding-right: 20px;
    z-index: 2;
}

.pm-eyebrow {
    display: block;

    font-size: 15px;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;

    color: #087eac;

    margin-bottom: 22px;
}

.pm-hero h1 {
    font-size: clamp(38px, 4vw, 68px);

    line-height: 1.14;
    font-weight: 700;

    letter-spacing: -2px;

    color: #111b30;

    margin: 0 0 24px;
}

.pm-hero p {
    font-size: 18px;
    line-height: 1.7;

    color: #526174;

    max-width: 520px;

    margin-bottom: 30px;
}


/* =========================================
   HERO IMAGE BACKGROUND
========================================= */

.pm-hero-image {

    width: 100%;
    height: 480px;

    background-image: url("../images/pain-management-hero.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border-radius: 28px;

    position: relative;
}


/* =========================================
   BUTTONS
========================================= */

.pm-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.pm-btn-primary,
.pm-btn-secondary {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 15px 28px;

    border-radius: 8px;

    font-size: 15px;
    font-weight: 600;

    text-decoration: none;

    transition: all 0.3s ease;
}

.pm-btn-primary {
    background: #ff9d24;
    color: #ffffff;
}

.pm-btn-primary:hover {
    background: #e8870d;
    color: #ffffff;
}

.pm-btn-secondary {
    background: transparent;

    color: #087eac;

    border: 1px solid #087eac;
}

.pm-btn-secondary:hover {
    background: #087eac;
    color: #ffffff;
}


/* =========================================
   INTRODUCTION
========================================= */

.pm-introduction {
    padding: 100px 20px;
    background: #ffffff;

    text-align: center;
}

.pm-section-container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
}

.pm-introduction h2,
.pm-solutions h2 {

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.2;

    color: #111b30;

    margin: 0 0 25px;
}

.pm-introduction p {

    max-width: 760px;

    margin: 0 auto;

    font-size: 17px;
    line-height: 1.8;

    color: #526174;
}


/* =========================================
   SOLUTIONS
========================================= */

.pm-solutions {
    padding: 100px 20px;

    background: #f7fbfd;

    text-align: center;
}

.pm-solutions-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;

    margin-top: 55px;
}

.pm-solution-card {

    background: #ffffff;

    border-radius: 18px;

    padding: 25px;

    text-align: left;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04);

    transition: transform 0.3s ease;
}

.pm-solution-card:hover {
    transform: translateY(-6px);
}

.pm-solution-card img {

    width: 100%;
    height: 180px;

    object-fit: cover;

    border-radius: 12px;

    margin-bottom: 20px;
}

.pm-solution-card h3 {

    font-size: 21px;

    color: #111b30;

    margin-bottom: 12px;
}

.pm-solution-card p {

    font-size: 15px;

    line-height: 1.7;

    color: #647184;

    margin: 0;
}


/* =========================================
   CTA
========================================= */

.pm-cta {
    padding: 80px 20px;

    background: #ffffff;
}

.pm-cta-container {

    max-width: 1200px;

    min-height: 380px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 50% 50%;

    align-items: center;

    background: #f4edf6;

    border-radius: 28px;

    overflow: hidden;
}

.pm-cta-content {
    padding: 50px;
}

.pm-cta h2 {

    font-size: clamp(30px, 3vw, 44px);

    line-height: 1.2;

    color: #111b30;

    margin-bottom: 20px;
}

.pm-cta p {

    font-size: 17px;

    line-height: 1.7;

    color: #526174;

    margin-bottom: 30px;
}

.pm-cta-image {

    height: 100%;
    min-height: 380px;

    background-image: url("../images/pain-management-cta.png");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1024px) {

    .pm-hero {
        height: auto;
        min-height: 640px;
    }

    .pm-hero-container {
        grid-template-columns: 1fr 1fr;
        padding: 35px 25px;
    }

    .pm-hero h1 {
        font-size: 46px;
    }

    .pm-solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .pm-hero {
        height: auto;
        min-height: auto;
    }

    .pm-hero-container {

        grid-template-columns: 1fr;

        padding: 55px 20px;

        gap: 35px;
    }

    .pm-hero-content {
        padding-right: 0;
    }

    .pm-hero h1 {

        font-size: 40px;

        line-height: 1.15;

        letter-spacing: -1px;
    }

    .pm-hero p {
        font-size: 16px;
    }

    .pm-hero-image {

        height: 350px;

        border-radius: 20px;

        background-position: center;
    }

    .pm-hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .pm-btn-primary,
    .pm-btn-secondary {
        width: 100%;
    }

    .pm-introduction,
    .pm-solutions {
        padding: 65px 20px;
    }

    .pm-solutions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pm-cta-container {
        grid-template-columns: 1fr;
    }

    .pm-cta-content {
        padding: 40px 25px;
    }

    .pm-cta-image {
        min-height: 300px;
    }

}