/* =========================================
   TREATMENT DETAIL PAGE
========================================= */

.treatment-hero {
    position: relative;
    overflow: hidden;
    padding: 70px 0;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(0, 108, 99, 0.10),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #f5fcfb 0%,
            #ffffff 60%,
            #e9f8f4 100%
        );
}

.treatment-hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    top: -220px;
    right: -160px;
    border-radius: 50%;
    background: rgba(0, 108, 99, 0.06);
    pointer-events: none;
}

.treatment-hero-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 70px;
}

.treatment-hero-content {
    max-width: 700px;
}


/* =========================================
   BREADCRUMBS
========================================= */

.treatment-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;

    margin-bottom: 24px;

    color: var(--muted);
    font-size: 13px;
}

.treatment-breadcrumbs a {
    color: var(--primary);
    font-weight: 600;
}

.treatment-breadcrumbs span {
    color: #91a6a5;
}

.treatment-breadcrumbs strong {
    color: var(--text);
    font-weight: 600;
}


/* =========================================
   HERO HEADING
========================================= */

.treatment-hero h1 {
    margin: 0;

    color: var(--dark);

    font-size: clamp(44px, 5vw, 68px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
}

.treatment-hero h2 {
    margin: 18px 0 0;

    color: var(--primary);

    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 700;
    line-height: 1.3;
}

.treatment-hero-description {
    max-width: 620px;
    margin-top: 20px;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.75;
}

.treatment-hero-description p {
    margin: 0 0 12px;
}

.treatment-hero-description p:last-child {
    margin-bottom: 0;
}


/* =========================================
   HERO ACTIONS
========================================= */

.treatment-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-top: 30px;
}

.treatment-hero-actions .btn {
    min-height: 52px;
    padding: 0 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    border-radius: 9px;
}


/* =========================================
   HERO IMAGE
========================================= */

.treatment-hero-image {
    position: relative;

    min-height: 470px;

    overflow: hidden;

    border-radius: 28px;

    background: var(--light);

    box-shadow:
        0 25px 65px rgba(0, 64, 61, 0.14);
}

.treatment-hero-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0, 64, 61, 0.18),
        transparent 45%
    );

    pointer-events: none;
}

.treatment-hero-image img {
    width: 100%;
    height: 100%;

    min-height: 470px;

    display: block;

    object-fit: cover;
}


/* =========================================
   MAIN DETAIL AREA
========================================= */

.treatment-detail {
    position: relative;

    /*padding: 70px 0 110px;*/

    background: var(--white);
}


/* =========================================
   TABS
========================================= */

.treatment-tabs {
    position: sticky;
    top: 0;
    z-index: 20;

    display: flex;
    align-items: center;

    gap: 5px;

    margin-bottom: 55px;
    padding: 8px;

    overflow-x: auto;

    background: rgba(255, 255, 255, 0.94);

    border: 1px solid var(--border);
    border-radius: 13px;

    box-shadow: 0 8px 25px rgba(0, 64, 61, 0.07);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    scrollbar-width: none;
}

.treatment-tabs::-webkit-scrollbar {
    display: none;
}

.treatment-tabs a {
    flex: 0 0 auto;

    padding: 11px 18px;

    border-radius: 8px;

    color: var(--muted);

    font-size: 13px;
    font-weight: 650;

    white-space: nowrap;

    transition:
        color 0.25s ease,
        background 0.25s ease;
}

.treatment-tabs a:hover {
    color: var(--primary);
    background: var(--light-2);
}

.treatment-tabs a.active {
    color: var(--white);
    background: var(--primary);
}


/* =========================================
   MAIN LAYOUT
========================================= */

.treatment-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        340px;

    gap: 65px;

    align-items: start;
}


/* =========================================
   MAIN CONTENT
========================================= */

.treatment-main {
    min-width: 0;
}

.treatment-content-section {
    scroll-margin-top: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.treatment-content-section:last-child {
    margin-bottom: 0;
    border-bottom: 0;
}


/* =========================================
   SECTION LABEL
========================================= */

.content-section-label {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 13px;

    color: var(--primary);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.content-section-label::before {
    content: "";

    width: 28px;
    height: 2px;

    border-radius: 5px;

    background: var(--primary);
}


/* =========================================
   CONTENT HEADINGS
========================================= */

.treatment-content-section h2 {
    margin: 0 0 22px;

    color: var(--dark);

    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;

    line-height: 1.15;
    letter-spacing: -1px;
}


/* =========================================
   RICH CONTENT
========================================= */

.treatment-rich-content {
    color: var(--text);

    font-size: 16px;
    line-height: 1.85;
}

.treatment-rich-content p {
    margin: 0 0 18px;
}

.treatment-rich-content p:last-child {
    margin-bottom: 0;
}

.treatment-rich-content h3 {
    margin: 30px 0 12px;

    color: var(--dark);

    font-size: 23px;
    line-height: 1.3;
}

.treatment-rich-content h4 {
    margin: 24px 0 10px;

    color: var(--dark);

    font-size: 18px;
}

.treatment-rich-content strong {
    color: var(--dark);
}

.treatment-rich-content ul,
.treatment-rich-content ol {
    margin: 18px 0 22px;
    /*padding-left: 25px;*/
}

.treatment-rich-content li {
    margin-bottom: 9px;
    padding-left: 4px;
}

.treatment-rich-content ul li::marker {
    color: var(--primary);
}

.treatment-rich-content a {
    color: var(--primary);
    font-weight: 650;
    text-decoration: underline;
}

.treatment-rich-content img {
    max-width: 100%;
    height: auto;

    margin: 20px 0;

    border-radius: 14px;
}


/* =========================================
   SIDEBAR
========================================= */

.treatment-sidebar {
    position: sticky;
    top: 85px;

    display: flex;
    flex-direction: column;

    gap: 20px;
}


/* =========================================
   SIDEBAR CARD
========================================= */

.treatment-sidebar-card {
    padding: 27px;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: 18px;

    box-shadow: 0 8px 28px rgba(0, 64, 61, 0.06);
}

.treatment-sidebar-card h3 {
    margin: 0 0 12px;

    color: var(--dark);

    font-size: 20px;
    font-weight: 750;
    line-height: 1.3;
}

.treatment-sidebar-card > p {
    margin: 0 0 20px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.65;
}


/* =========================================
   BOOKING CARD
========================================= */

.booking-card {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            var(--primary-dark),
            var(--primary)
        );

    border: 0;
}

.booking-card::before {
    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    top: -70px;
    right: -60px;

    border-radius: 50%;

    background: rgba(255,255,255,0.08);
}

.booking-card h3,
.booking-card p {
    position: relative;
    z-index: 2;

    color: var(--white);
}


/* =========================================
   WHY CHOOSE US
========================================= */

.why-choose-list {
    margin: 0;
    padding: 0;

    list-style: none;
}

.why-choose-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    padding: 11px 0;

    color: var(--text);

    font-size: 13px;
    line-height: 1.45;

    border-bottom: 1px solid var(--border);
}

.why-choose-list li:last-child {
    border-bottom: 0;
}

.why-choose-list span {
    flex: 0 0 auto;

    width: 21px;
    height: 21px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--light);

    color: var(--primary);

    font-size: 11px;
    font-weight: 800;
}


/* =========================================
   EXPERT CARD
========================================= */

.expert-card {
    text-align: center;
}

.expert-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 15px;

    border-radius: 50%;

    background: var(--light);

    color: var(--primary);

    font-size: 20px;
}

.expert-card .btn {
    width: 100%;
}


/* =========================================
   FORM INSIDE BOOKING CARD
========================================= */

.booking-card input,
.booking-card select,
.booking-card textarea {
    width: 100%;

    padding: 12px 13px;

    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 8px;

    background: rgba(255,255,255,0.10);

    color: var(--white);

    font-size: 13px;

    outline: none;
}

.booking-card input::placeholder,
.booking-card textarea::placeholder {
    color: rgba(255,255,255,0.75);
}

.booking-card input:focus,
.booking-card select:focus,
.booking-card textarea:focus {
    border-color: rgba(255,255,255,0.7);
}

.booking-card label {
    color: var(--white);
}

.booking-card .btn {
    width: 100%;
    margin-top: 10px;
}
.treatment-content-section {
    display: none;
}

.treatment-content-section.active {
    display: block;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {

    .treatment-hero-grid {
        grid-template-columns: 1fr 0.9fr;
        gap: 40px;
    }

    .treatment-layout {
        grid-template-columns:
            minmax(0, 1fr)
            300px;

        gap: 40px;
    }

    .treatment-hero-image,
    .treatment-hero-image img {
        min-height: 420px;
    }
}


/* =========================================
   TABLET / MOBILE
========================================= */

@media (max-width: 850px) {

    .treatment-hero {
        padding: 55px 0;
    }

    .treatment-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .treatment-hero-content {
        max-width: 750px;
    }

    .treatment-hero-image {
        min-height: 450px;
    }

    .treatment-hero-image img {
        min-height: 450px;
    }

    .treatment-layout {
        grid-template-columns: 1fr;
    }

    .treatment-sidebar {
        position: static;

        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .booking-card {
        grid-column: span 2;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .treatment-hero {
        padding: 40px 0 55px;
    }

    .treatment-breadcrumbs {
        font-size: 11px;
        margin-bottom: 18px;
    }

    .treatment-hero h1 {
        font-size: 40px;
        letter-spacing: -1.2px;
    }

    .treatment-hero h2 {
        font-size: 21px;
    }

    .treatment-hero-description {
        font-size: 15px;
        line-height: 1.7;
    }

    .treatment-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .treatment-hero-actions .btn {
        width: 100%;
    }

    .treatment-hero-image {
        min-height: 350px;
        border-radius: 20px;
    }

    .treatment-hero-image img {
        min-height: 350px;
    }

    /*.treatment-detail {*/
    /*    padding: 45px 0 75px;*/
    /*}*/

    .treatment-tabs {
        margin-bottom: 40px;
        border-radius: 10px;
    }

    .treatment-tabs a {
        padding: 10px 14px;
        font-size: 12px;
    }

    .treatment-layout {
        gap: 40px;
    }

    .treatment-content-section {
        padding-bottom: 40px;
    }

    .treatment-content-section h2 {
        font-size: 30px;
    }

    .treatment-rich-content {
        font-size: 15px;
        line-height: 1.75;
    }

    .treatment-sidebar {
        display: flex;
    }

    .booking-card {
        grid-column: auto;
    }

    .treatment-sidebar-card {
        padding: 22px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 400px) {

    .treatment-hero h1 {
        font-size: 34px;
    }

    .treatment-hero-image,
    .treatment-hero-image img {
        min-height: 300px;
    }

    .treatment-content-section h2 {
        font-size: 27px;
    }
}