/* =========================================================
   RSIA SAMMARIE BASRA
   ========================================================= */

.smb-page {
    --smb-primary: #91298d;
    --smb-secondary: #c03192;
    --smb-dark: #272027;
    --smb-text: #5f5860;
    --smb-light: #faf5fa;
    --smb-soft: #f8edf7;
    --smb-white: #ffffff;

    color: var(--smb-text);
    font-family: inherit;
}


/* =========================================================
   GLOBAL
   ========================================================= */

.smb-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.smb-page img {
    display: block;
    width: 100%;
    height: auto;
}

.smb-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 14px;

    color: var(--smb-primary);

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.smb-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;

    background: linear-gradient(
        90deg,
        var(--smb-primary),
        var(--smb-secondary)
    );
}

.smb-section-heading {
    max-width: 720px;
    margin-bottom: 50px;
}

.smb-section-heading h2 {
    margin: 0;

    color: var(--smb-dark);

    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    font-weight: 750;
}

.smb-section-heading p {
    margin-top: 18px;

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

.smb-section-heading-center {
    margin-inline: auto;
    text-align: center;
}

.smb-section-heading-center .smb-eyebrow {
    justify-content: center;
}


/* =========================================================
   BUTTON
   ========================================================= */

.smb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 0 25px;

    border-radius: 999px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.smb-btn:hover {
    transform: translateY(-2px);
}

.smb-btn-primary {
    color: #ffffff;

    background: linear-gradient(
        135deg,
        var(--smb-primary),
        var(--smb-secondary)
    );

    box-shadow: 0 12px 30px rgba(145, 41, 141, 0.22);
}

.smb-btn-primary:hover {
    color: #ffffff;
    box-shadow: 0 16px 35px rgba(145, 41, 141, 0.3);
}

.smb-btn-outline {
    color: var(--smb-primary);

    border: 1px solid rgba(145, 41, 141, 0.35);

    background: #ffffff;
}

.smb-btn-outline:hover {
    color: var(--smb-primary);
    border-color: var(--smb-primary);
}


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

.smb-hero {
    position: relative;

    overflow: hidden;

    padding: 90px 0 100px;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(192, 49, 146, 0.12),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #fff7fc 100%
        );
}

.smb-hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.05fr);

    align-items: center;

    gap: 70px;
}

.smb-hero-content {
    position: relative;
    z-index: 2;
}

.smb-hero-title {
    max-width: 680px;

    margin: 0;

    color: var(--smb-dark);

    font-size: clamp(20px, 5vw, 48px);
    line-height: 1.05;
    letter-spacing: -0.035em;
    font-weight: 800;
}

.smb-hero-title::first-line {
    color: var(--smb-primary);
}

.smb-hero-description {
    max-width: 600px;

    margin: 28px 0 0;

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

.smb-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 34px;
}

.smb-hero-image {
    position: relative;
}

.smb-hero-image img {
    aspect-ratio: 4 / 3;

    object-fit: cover;

    border-radius: 28px;

    box-shadow:
        0 30px 80px rgba(70, 30, 70, 0.16);
}

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

    position: absolute;

    right: -18px;
    bottom: -18px;

    width: 130px;
    height: 130px;

    border-radius: 28px;

    background: linear-gradient(
        135deg,
        var(--smb-primary),
        var(--smb-secondary)
    );

    z-index: -1;
}

.smb-hero-badge {
    position: absolute;

    left: -25px;
    bottom: 35px;

    display: flex;
    flex-direction: column;

    min-width: 180px;

    padding: 17px 20px;

    color: #ffffff;

    border-radius: 16px;

    background: linear-gradient(
        135deg,
        var(--smb-primary),
        var(--smb-secondary)
    );

    box-shadow: 0 15px 35px rgba(145, 41, 141, 0.3);
}

.smb-hero-badge strong {
    font-size: 20px;
}

.smb-hero-badge span {
    margin-top: 2px;

    font-size: 13px;
    opacity: 0.9;
}

/* ========================================
   QUICK CTA
======================================== */

.smb-quick-cta {
    padding: 30px 0;
    background: #ffffff;
}

.smb-quick-cta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.smb-quick-cta-item {
    position: relative;

    display: flex;
    align-items: center;
    gap: 14px;

    min-height: 100px;
    padding: 20px;

    background: #ffffff;
    border: 1px solid rgba(145, 41, 141, 0.12);
    border-radius: 16px;

    text-decoration: none;

    box-shadow: 0 6px 20px rgba(40, 20, 40, 0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.smb-quick-cta-item:hover {
    transform: translateY(-4px);

    border-color: rgba(145, 41, 141, 0.3);

    box-shadow: 0 12px 30px rgba(145, 41, 141, 0.12);
}


/* Icon */

.smb-quick-cta-icon {
    flex: 0 0 46px;

    width: 46px;
    height: 46px;

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

    border-radius: 12px;

    background: rgba(145, 41, 141, 0.09);
    color: var(--smb-primary);
}

.smb-quick-cta-icon .dashicons {
    font-size: 22px;
    width: 22px;
    height: 22px;
}


/* Content */

.smb-quick-cta-content {
    min-width: 0;

    display: flex;
    flex-direction: column;
    gap: 4px;
}

.smb-quick-cta-content strong {
    color: #292229;
    font-size: 15px;
    line-height: 1.3;
}

.smb-quick-cta-content small {
    color: #777077;
    font-size: 12px;
    line-height: 1.4;
}


/* Arrow */

.smb-quick-cta-arrow {
    margin-left: auto;

    color: var(--smb-primary);
    font-size: 20px;

    transition: transform 0.25s ease;
}

.smb-quick-cta-item:hover .smb-quick-cta-arrow {
    transform: translateX(4px);
}


/* =========================================================
   ABOUT
   ========================================================= */

.smb-about {
    padding: 110px 0;
    background: #ffffff;
}

.smb-about-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(0, 1.15fr);

    align-items: center;

    gap: 70px;
}

.smb-about-image {
    position: relative;
}

.smb-about-image::before {
    content: "";

    position: absolute;

    top: -18px;
    left: -18px;

    width: 110px;
    height: 110px;

    border-radius: 20px;

    background: var(--smb-soft);

    z-index: 0;
}

.smb-about-image img {
    position: relative;
    z-index: 1;

    aspect-ratio: 4 / 4.5;

    object-fit: cover;

    border-radius: 24px;
}

.smb-about-content p {
    margin: 0 0 18px;

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

.smb-about-content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   VISION
   ========================================================= */

.smb-vision {
    padding: 90px 0;

    background: var(--smb-soft);
}

.smb-vision-card {
    display: grid;

    grid-template-columns: 90px 1fr;

    gap: 30px;

    align-items: start;

    padding: 50px;

    border-radius: 28px;

    background: #ffffff;

    box-shadow: 0 20px 60px rgba(80, 30, 80, 0.08);
}

.smb-vision-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 75px;
    height: 75px;

    border-radius: 22px;

    color: #ffffff;

    background: linear-gradient(
        135deg,
        var(--smb-primary),
        var(--smb-secondary)
    );
}

.smb-vision-icon span {
    font-size: 17px;
    font-weight: 800;
}

.smb-vision-card h2 {
    max-width: 900px;

    margin: 0;

    color: var(--smb-dark);

    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.35;
}


/* =========================================================
   MISSION
   ========================================================= */

.smb-mission {
    padding: 110px 0;
    background: #ffffff;
}

.smb-mission-grid {
    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 16px;
}

.smb-mission-card {
    position: relative;

    min-height: 240px;

    padding: 28px;

    border: 1px solid rgba(145, 41, 141, 0.12);

    border-radius: 22px;

    background: #ffffff;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.smb-mission-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 18px 40px rgba(80, 30, 80, 0.1);
}

.smb-number {
    display: block;

    margin-bottom: 30px;

    color: var(--smb-secondary);

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

.smb-mission-card p {
    margin: 0;

    color: var(--smb-dark);

    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   OBJECTIVES
   ========================================================= */

.smb-objectives {
    display: grid;

    grid-template-columns: 0.7fr 1.3fr;

    gap: 70px;

    margin-top: 80px;
    padding: 50px;

    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            var(--smb-primary),
            var(--smb-secondary)
        );

    color: #ffffff;
}

.smb-objectives .smb-eyebrow {
    color: #ffffff;
}

.smb-objectives .smb-eyebrow::before {
    background: #ffffff;
}

.smb-objectives h3 {
    margin: 0;

    font-size: 32px;
    line-height: 1.2;
}

.smb-objectives-list {
    display: flex;
    flex-direction: column;

    gap: 20px;
}

.smb-objectives-list > div {
    display: grid;

    grid-template-columns: 40px 1fr;

    gap: 15px;

    align-items: start;
}

.smb-objectives-list span {
    font-size: 13px;
    font-weight: 800;
}

.smb-objectives-list p {
    margin: 0;

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


/* =========================================================
   SERVICES
   ========================================================= */

.smb-services {
    padding: 110px 0;

    background: var(--smb-light);
}

.smb-service-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.smb-service-card {
    position: relative;

    padding: 32px;

    border-radius: 24px;

    background: #ffffff;

    text-decoration: none;

    box-shadow: 0 12px 35px rgba(80, 30, 80, 0.06);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.smb-service-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 20px 45px rgba(80, 30, 80, 0.12);
}

.smb-service-number {
    color: var(--smb-secondary);

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

.smb-service-card h3 {
    margin: 25px 0 12px;

    color: var(--smb-dark);

    font-size: 22px;
}

.smb-service-card p {
    margin: 0;

    color: var(--smb-text);

    font-size: 14px;
    line-height: 1.7;
}

.smb-service-link {
    display: inline-block;

    margin-top: 25px;

    color: var(--smb-primary);

    font-size: 13px;
    font-weight: 700;
}

/* ========================================
   RAWAT INAP PREVIEW
======================================== */

.smb-inpatient-preview {
    padding: 90px 0;
    background: #ffffff;
}

.smb-inpatient-slider {
    position: relative;
    overflow: hidden;
    margin-top: 45px;
}

.smb-inpatient-track {
    display: flex;
    gap: 24px;
    transition: transform 0.4s ease;
}

.smb-inpatient-card {
    flex: 0 0 calc((100% - 48px) / 3);
    background: #f5f5f5;
    border-radius: 18px;
    overflow: hidden;
}

.smb-inpatient-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}


/* Tombol slider */

.smb-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 46px;
    height: 46px;

    border: none;
    border-radius: 50%;

    background: var(--smb-primary);
    color: #ffffff;

    font-size: 30px;
    line-height: 1;

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

    cursor: pointer;

    z-index: 5;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.smb-slider-btn:hover {
    background: var(--smb-secondary);
    transform: translateY(-50%) scale(1.05);
}

.smb-slider-prev {
    left: 15px;
}

.smb-slider-next {
    right: 15px;
}


/* Tombol bawah */

.smb-inpatient-action {
    margin-top: 40px;
    text-align: center;
}

.smb-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 13px 28px;

    border-radius: 999px;

    background: var(--smb-primary);
    color: #ffffff;

    text-decoration: none;
    font-weight: 600;

    transition: background 0.2s ease;
}

.smb-button:hover {
    background: var(--smb-secondary);
    color: #ffffff;
}

/* ========================================
   MEET OUR DOCTOR CTA
======================================== */

.smb-doctor-cta {
    position: relative;
    padding: 100px 0;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            var(--smb-primary),
            var(--smb-secondary)
        );
}

.smb-doctor-cta::before {
    content: "";
    position: absolute;

    width: 420px;
    height: 420px;

    top: -220px;
    right: -120px;

    border-radius: 50%;

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

.smb-doctor-cta::after {
    content: "";
    position: absolute;

    width: 300px;
    height: 300px;

    bottom: -180px;
    left: -100px;

    border-radius: 50%;

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

.smb-doctor-cta-content {
    position: relative;
    z-index: 2;

    max-width: 760px;
    margin: 0 auto;

    text-align: center;
}

.smb-doctor-cta .smb-section-label {
    color: rgba(255, 255, 255, 0.85);
}

.smb-doctor-cta-title {
    margin: 15px 0 18px;

    color: #ffffff;

    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
}

.smb-doctor-cta-description {
    max-width: 620px;
    margin: 0 auto 32px;

    color: rgba(255, 255, 255, 0.88);

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

.smb-doctor-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 14px 26px;

    border-radius: 999px;

    background: #ffffff;
    color: var(--smb-primary);

    font-weight: 600;
    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.smb-doctor-cta-button:hover {
    color: var(--smb-primary);

    transform: translateY(-3px);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.smb-doctor-cta-button span {
    font-size: 20px;

    transition: transform 0.25s ease;
}

.smb-doctor-cta-button:hover span {
    transform: translateX(4px);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .smb-hero-grid {
        gap: 40px;
    }

    .smb-mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .smb-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 800px) {

    .smb-container {
        width: min(100% - 30px, 600px);
    }

    .smb-hero {
        padding: 60px 0 70px;
    }

    .smb-hero-grid,
    .smb-about-grid,
    .smb-objectives {
        grid-template-columns: 1fr;
    }

    .smb-hero-grid {
        gap: 45px;
    }

    .smb-hero-title {
        font-size: clamp(38px, 10vw, 55px);
    }

    .smb-hero-description {
        font-size: 16px;
    }

    .smb-hero-badge {
        left: 15px;
        bottom: 15px;
    }

    .smb-about,
    .smb-mission,
    .smb-services {
        padding: 75px 0;
    }

    .smb-vision {
        padding: 70px 0;
    }

    .smb-vision-card {
        grid-template-columns: 1fr;

        padding: 35px;
    }

    .smb-mission-grid {
        grid-template-columns: 1fr;
    }

    .smb-service-grid {
        grid-template-columns: 1fr;
    }

    .smb-objectives {
        gap: 35px;

        padding: 35px;
    }

}


@media (max-width: 500px) {

    .smb-container {
        width: calc(100% - 24px);
    }

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

    .smb-btn {
        width: 100%;
    }

    .smb-hero-title {
        font-size: 37px;
    }

    .smb-hero-image img {
        border-radius: 20px;
    }

    .smb-section-heading {
        margin-bottom: 35px;
    }

    .smb-section-heading h2 {
        font-size: 32px;
    }

    .smb-vision-card {
        padding: 28px;
        border-radius: 22px;
    }

    .smb-objectives {
        border-radius: 22px;
    }

}

/* ========================================
   RESPONSIVE CARD RAWAT INAP
======================================== */

@media (max-width: 767px) {

    .smb-inpatient-preview {
        padding: 70px 0;
    }

    .smb-inpatient-card {
        flex: 0 0 100%;
    }

    .smb-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 25px;
    }

}

/* ========================================
   MOBILE QUICK CTA
======================================== */

@media (max-width: 767px) {

    .smb-quick-cta {
        padding: 20px 0;
    }

    .smb-quick-cta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .smb-quick-cta-item {
        min-height: 100px;
        padding: 15px;

        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .smb-quick-cta-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .smb-quick-cta-content strong {
        font-size: 14px;
    }

    .smb-quick-cta-content small {
        font-size: 11px;
    }

    .smb-quick-cta-arrow {
        position: absolute;
        right: 14px;
        bottom: 14px;
    }

}

/* ========================================
   MOBILE Meet Our Doctor
======================================== */

@media (max-width: 767px) {

    .smb-doctor-cta {
        padding: 75px 0;
    }

    .smb-doctor-cta-title {
        font-size: 30px;
    }

    .smb-doctor-cta-description {
        font-size: 14px;
    }

}