/* ============================================================
   TREATMENT PAGE — Shared Styles
   Requires shared.css to be loaded first.
   ============================================================ */

/* ========= HERO / BANNER ========= */
.treatment-hero {
    height: 45vh;
    min-height: 340px;
    background-image: none !important;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    border-bottom: 3px solid var(--accent-gold);
    position: relative;
}

.treatment-hero::after {
    content: none;
}

.treatment-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.treatment-hero-content h1 {
    font-size: 40px;
    color: #FFCFAE;
    line-height: 1.1;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.treatment-hero-content p {
    font-size: clamp(0.85rem, 2vw, 1.1rem);
    text-transform: uppercase;
    letter-spacing: 4px;
    opacity: 0.9;
}

/* ========= PAGE LAYOUT ========= */
.page-content {
    padding: 50px 0;
}

/* ========= PROFILE SECTION ========= */
.profile-section {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 70px;
    background: rgba(40, 33, 29, 0.04);
    padding: 55px;
    border-radius: 40px;
    border: 1px solid rgba(212, 175, 55, 0.12);
}

.overview-content h2 {
    font-size: clamp(2.2rem, 5vw, 3rem);
    color: var(--primary-dark);
    margin-bottom: 22px;
    line-height: 1.1;
}

.overview-content p {
    font-size: 1rem;
    color: var(--primary-dark);
    line-height: 1.8;
    border-left: 3px solid var(--accent-gold);
    padding-left: 26px;
}

.img-container-lux {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 24px;
    overflow: hidden;
    border: none;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
}

.img-container-lux img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========= GALLERY SECTION ========= */
.gallery-section {
    margin-bottom: 70px;
}

.gallery-bg-inner {
    background: var(--primary-dark);
    padding: 70px 40px;
    border-radius: 40px;
    color: white;
}

.gallery-head {
    text-align: center;
    margin-bottom: 45px;
}

.gallery-head .badge {
    color: #FFCFAE;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 16px;
    margin-bottom: 8px;
    display: block;
}

.gallery-head h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: white;
}

.gallery-container-outer {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.gallery-slider {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-slide {
    min-width: 100%;
    aspect-ratio: 16/9;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-section--captioned .gallery-container-outer {
    max-width: 980px;
    background: rgba(255, 255, 255, 0.035);
}

.gallery-section--captioned .gallery-slider {
    align-items: flex-start;
}

.gallery-section--captioned .gallery-slide {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    margin: 0;
    background: rgba(255, 255, 255, 0.03);
}

.gallery-section--captioned .gallery-image-frame {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.18);
}

.gallery-section--captioned .gallery-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.case-slide-caption {
    min-height: auto;
    padding: 20px 34px 0;
    text-align: left;
}

.case-slide-caption h3 {
    max-width: 760px;
    margin: 0;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.98rem, 2vw, 1.18rem);
    font-weight: 700;
    line-height: 1.45;
}

/* .gallery-section--captioned .slider-controls-wrap {
    margin-top: 10px;
} */

/* Slider Controls */
.slider-controls-wrap {
    background: rgba(40, 33, 29, 0.9);
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.slider-btn {
    background: none;
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--accent-gold);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

/* IMAGE COUNTER */
.slider-img-counter,
.gallery-img-counter {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    padding: 5px 18px;
    border-radius: 50px;
    min-width: 70px;
    text-align: center;
    user-select: none;
}

/* DIVIDER */
.details-divider {
    width: 100%;
    height: 1px;
    background: rgba(212, 175, 55, 0.2);
    margin: 55px 0 50px;
}

/* DETAILS HEADER */
.treatment-details-header {
    text-align: center;
    margin-bottom: 50px;
}

.details-badge {
    display: inline-block;
    color: #FFCFAE;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.treatment-details-header h2 {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    color: white;
}

/* STEPS LIST */
.treatment-steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.treatment-steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 18px;
    padding: 22px 28px;
    transition: all 0.32s ease;
}

.treatment-steps-list li:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateX(6px);
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(212, 175, 55, 0.12);
    border: 1.5px solid rgba(212, 175, 55, 0.4);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.step-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: #FFCFAE;
    line-height: 1.3;
}

.step-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
    margin: 0;
}

/* ========= CTA BOX ========= */
.cta-box {
    background: var(--primary-dark);
    padding: 70px 40px;
    border-radius: 40px;
    text-align: center;
    color: white;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.cta-box h2 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    color: #FFCFAE;
    margin-bottom: 25px;
}

.cta-box p {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 35px;
}

.cta-box .btn-gold {
    padding: 16px 40px;
    font-size: 0.9rem;
}

.cta-box .btn-schedule {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 48px;
    background: #FFCFAE !important;
    color: var(--primary-dark) !important;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.cta-box .btn-schedule:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ========= RESPONSIVE ========= */
@media (max-width: 992px) {
    .profile-section {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .page-content {
        padding: 55px 0;
    }

    .gallery-bg-inner {
        padding: 45px 20px;
    }

    .case-slide-caption {
        padding: 18px 24px 0;
    }

    .treatment-steps-list li {
        gap: 16px;
        padding: 18px 22px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .profile-section {
        padding: 24px;
    }

    .benefits-luxury-row {
        padding: 30px 22px;
    }

    .cta-box {
        padding: 50px 22px;
    }
}

@media (max-width: 480px) {
    .gallery-section--captioned .gallery-container-outer {
        border-radius: 18px;
    }

    .case-slide-caption {
        padding: 16px 18px 0;
    }

    .case-slide-caption h3 {
        font-size: 0.94rem;
        line-height: 1.45;
    }

    .slider-controls-wrap {
        gap: 15px;
        padding: 12px 15px;
    }

    .slider-btn {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }

    .slider-img-counter {
        font-size: 0.72rem;
        padding: 4px 12px;
        min-width: 60px;
        letter-spacing: 1px;
    }
}
