/* ═══════════════════════════════════════════════════
   Section: Procedure Detail
   ═══════════════════════════════════════════════════ */

/* ─── Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@400;600;700&display=swap');

/* ─── Hide GP default header on front page ─── */
body.home .site-header {
    display: none !important;
}

/* ─── Homepage Wrapper Reset ─── */
html.home,
body.home {
    overflow-x: hidden !important;
    background-color: #fffefc !important;
}

body.home #page,
body.home .site-content {
    max-width: 100% !important;
    padding: 0 !important;
    overflow: visible !important;
}

.sw-homepage {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
}

/* ─── Full-width section breakout ───
   Every homepage section breaks out of the GP container
   so backgrounds go edge-to-edge, while inner content
   stays at 1240px centered. */
.sw-announcement-bar,
.sw-hero,
.sw-real-results,
.sw-why-bali,
.sw-procedure-hero,
.sw-procedure-detail,
.sw-comparison-table,
.sw-package,
.sw-recovery,
.sw-clinical-evidence,
.sw-faq,
.sw-cta-form {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
}

/* ─── Shared Typography ─── */
.sw-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 10px;
    line-height: 15px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #a59680;
    margin: 0;
}

.sw-subtitle--light {
    color: #e4e1d8;
    letter-spacing: 2px;
}

.sw-heading-lg {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 0.81;
    letter-spacing: -0.72px;
    color: #2b2722;
    margin: 0;
}

.sw-heading-lg em {
    font-style: italic;
    color: #a59680;
}

.sw-heading-md {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-size: 34px;
    line-height: 1.1;
    color: #fffefc;
    margin: 0;
}

.sw-heading-md--light em {
    font-style: italic;
}

.sw-heading-sm {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.15;
    color: #2b2722;
    margin: 0;
}

.sw-heading-sm em {
    font-style: italic;
    color: #a59680;
}

/* ─── Section Container ─── */
.sw-procedure-detail {
    background-color: #fffefc;
    display: flex;
    justify-content: center;
}

.sw-procedure-detail__inner {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 70px 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    box-sizing: border-box;
}

/* ═══ CONTOURING OVERVIEW ═══ */
.sw-procedure-detail__overview {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

.sw-procedure-detail__overview-content {
    flex: 1;
    padding-right: 90px;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.sw-procedure-detail__header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sw-procedure-detail__body,
.sw-procedure-detail__body p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.6;
    color: #63594c;
}

.sw-procedure-detail__body p {
    margin: 0 0 16px;
}

.sw-procedure-detail__body p:last-child {
    margin-bottom: 0;
}

.sw-procedure-detail__body strong {
    font-weight: 700;
    color: #2b2722;
}

/* ─── Highlights List ─── */
.sw-procedure-detail__highlights {
    width: 552px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.sw-procedure-detail__highlights-header {
    border-bottom: 1px solid #e9e7de;
    padding-bottom: 14px;
}

.sw-procedure-detail__highlights-header .sw-subtitle {
    letter-spacing: 1.4px;
}

.sw-procedure-detail__highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0 13px;
    border-bottom: 1px solid #e9e7de;
}

.sw-procedure-detail__highlight-number {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 33px;
    color: #e8ddce;
    flex-shrink: 0;
}

.sw-procedure-detail__highlight-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.34;
    color: #63594c;
    margin: 0;
    flex: 1;
}

/* ═══ FACILITY ═══ */
.sw-procedure-detail__facility {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

/* ─── Facility Hero ─── */
.sw-procedure-detail__facility-hero {
    width: 100%;
    height: 320px;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px 38px;
    overflow: hidden;
}

.sw-procedure-detail__facility-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(43, 39, 34, 0) 0%, rgba(43, 39, 34, 0.85) 100%);
    pointer-events: none;
}

.sw-procedure-detail__facility-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ─── Feature Cards ─── */
.sw-procedure-detail__features {
    display: flex;
    width: 100%;
}

.sw-procedure-detail__feature-card {
    flex: 1;
    border: 1px solid #ebe8e2;
    padding: 24px 25px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sw-procedure-detail__feature-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sw-procedure-detail__feature-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.sw-procedure-detail__feature-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.3;
    color: #2b2722;
    margin: 0;
}

.sw-procedure-detail__feature-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.55;
    color: #63594c;
    margin: 0;
}

/* ─── Facility Detail ─── */
.sw-procedure-detail__facility-detail {
    display: flex;
    align-items: center;
    width: 100%;
    padding-top: 40px;
}

.sw-procedure-detail__gallery {
    display: flex;
    gap: 18px;
    width: 720px;
    height: 300px;
    flex-shrink: 0;
}

.sw-procedure-detail__gallery-left {
    flex: 1;
    overflow: hidden;
}

.sw-procedure-detail__gallery-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sw-procedure-detail__gallery-right {
    width: 203px;
    flex-shrink: 0;
    overflow: hidden;
}

.sw-procedure-detail__gallery-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sw-procedure-detail__facility-content {
    flex: 1;
    padding-left: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sw-procedure-detail__detail-body,
.sw-procedure-detail__detail-body p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.6;
    color: #917e64;
    margin: 0;
}

.sw-procedure-detail__detail-body p + p {
    margin-top: 16px;
}

/* ─── Quote Block ─── */
.sw-procedure-detail__quote {
    background-color: rgba(165, 150, 128, 0.07);
    border-left: 2px solid #a59680;
    padding: 14px 18px 14px 20px;
    margin: 0;
}

.sw-procedure-detail__quote p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: 12px;
    line-height: 1.55;
    color: #6b6155;
    margin: 0;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1200px) {
    .sw-procedure-detail__inner {
        padding: 50px 40px;
    }

    .sw-procedure-detail__overview {
        flex-direction: column;
        gap: 40px;
    }

    .sw-procedure-detail__overview-content {
        padding-right: 0;
    }

    .sw-procedure-detail__highlights {
        width: 100%;
    }

    .sw-procedure-detail__facility-detail {
        flex-direction: column;
        gap: 30px;
    }

    .sw-procedure-detail__gallery {
        width: 100%;
    }

    .sw-procedure-detail__facility-content {
        padding-left: 0;
    }
}

@media (max-width: 960px) {
    .sw-procedure-detail__inner {
        padding: 48px 20px;
        gap: 32px;
    }

    /* ─── Overview ─── */
    .sw-procedure-detail__overview {
        gap: 32px;
    }

    .sw-procedure-detail__overview-content {
        gap: 28px;
    }

    .sw-heading-lg {
        font-size: 34px;
        line-height: 34px;
        letter-spacing: -0.5px;
    }

    /* ─── Facility Hero ─── */
    .sw-procedure-detail__facility-hero {
        height: 200px;
    }

    .sw-heading-md {
        font-size: 26px;
        line-height: 30px;
    }

    /* ─── Feature Cards ─── */
    .sw-procedure-detail__features {
        flex-direction: column;
    }

    .sw-procedure-detail__feature-card {
        padding: 20px;
    }

    /* ─── Facility Detail ─── */
    .sw-procedure-detail__facility-detail {
        padding-top: 28px;
        gap: 24px;
    }

    .sw-procedure-detail__gallery {
        height: 200px;
        gap: 12px;
    }

    .sw-procedure-detail__gallery-right {
        width: 140px;
    }

    .sw-procedure-detail__facility-content {
        gap: 16px;
    }

    .sw-heading-sm {
        font-size: 22px;
        line-height: 26px;
    }

    .sw-procedure-detail__detail-body,
    .sw-procedure-detail__detail-body p {
        font-size: 13px;
        line-height: 20.8px;
    }

    .sw-procedure-detail__quote {
        padding: 14px 16px;
    }

    .sw-procedure-detail__quote p {
        font-size: 12px;
        line-height: 18.6px;
    }
}
