/* =====================================================
   SAMMARIE HEALTHCARE GROUP
   ===================================================== */

.smg-page {

    --smg-primary: #91298d;
    --smg-primary-dark: #721b70;
    --smg-secondary: #c03192;
    --smg-pink: #f3c9e5;
    --smg-pink-light: #fff4fa;

    --smg-text: #292329;
    --smg-muted: #716971;
    --smg-border: #eadfea;

    color: var(--smg-text);
    background: #fff;
}


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

.smg-page *,
.smg-page *::before,
.smg-page *::after {
    box-sizing: border-box;
}

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

.smg-section {
    padding: 100px 0;
}

.smg-eyebrow {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--smg-primary);

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

.smg-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 24px;

    margin-bottom: 55px;
}

.smg-section-heading-center {
    justify-content: center;
    text-align: center;
}

.smg-section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    border-radius: 50%;

    background: var(--smg-pink-light);
    color: var(--smg-primary);

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

.smg-page h1,
.smg-page h2,
.smg-page h3,
.smg-page p {
    margin-top: 0;
}

.smg-page h2 {
    margin-bottom: 0;

    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.1;
    letter-spacing: -.025em;
}

.smg-page p {
    color: var(--smg-muted);
    line-height: 1.8;
}


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

.smg-hero {
    position: relative;

    padding: 110px 0 100px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(192, 49, 146, .12),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #fff,
            #fff7fc
        );
}

.smg-hero .smg-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
    align-items: center;
    gap: 70px;
}

.smg-hero-title {
    max-width: 700px;

    margin-bottom: 24px;

    font-size: clamp(48px, 6vw, 78px);
    line-height: .98;
    letter-spacing: -.045em;
}

.smg-hero-title span {
    display: block;
    color: var(--smg-primary);
}

.smg-hero-text {
    max-width: 560px;

    margin-bottom: 35px;

    font-size: 18px;
}

.smg-hero-meta {
    display: flex;
    gap: 14px;
}

.smg-hero-meta-item {
    min-width: 130px;

    padding: 18px 20px;

    border: 1px solid var(--smg-border);
    border-radius: 16px;

    background: rgba(255,255,255,.8);
}

.smg-hero-meta-item strong {
    display: block;

    margin-bottom: 4px;

    color: var(--smg-primary);

    font-size: 20px;
}

.smg-hero-meta-item span {
    color: var(--smg-muted);

    font-size: 12px;
}

.smg-hero-image img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 24px;
}


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

.smg-about {
    background: #fff;
}

.smg-about-grid {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 80px;
}

.smg-about-content {
    max-width: 760px;
}

.smg-about-content .smg-lead {
    margin-bottom: 24px;

    color: var(--smg-text);

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


/* =====================================================
   PRIME
   ===================================================== */

.smg-prime {
    background: var(--smg-pink-light);
}

.smg-prime-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.smg-prime-card {
    padding: 28px 20px;

    text-align: center;

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

    background: #fff;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.smg-prime-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 16px 35px rgba(143, 22, 139, .10);
}

.smg-prime-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    margin: 0 auto 16px;

    border-radius: 14px;

    background: var(--smg-primary);
    color: #fff;

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

.smg-prime-card h3 {
    margin-bottom: 0;

    font-size: 17px;
}


/* =====================================================
   WIDE IMAGE
   ===================================================== */

.smg-wide-image {
    margin-top: 45px;
}

.smg-wide-image img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 20px;
}


/* =====================================================
   PRE-MARITAL / FEATURE
   ===================================================== */

.smg-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 70px;
}

.smg-feature-content h2 {
    margin-bottom: 24px;
}

.smg-feature-content p {
    max-width: 600px;
}

.smg-feature-image img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 22px;
}


/* =====================================================
   SPECIALTIES
   ===================================================== */

.smg-specialties {
    background: #fff;
}

.smg-specialties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.smg-specialty-card {
    position: relative;

    min-height: 190px;

    padding: 28px;

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

    background: #fff;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.smg-specialty-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 14px 32px rgba(143, 22, 139, .08);
}

.smg-specialty-card > span {
    display: block;

    margin-bottom: 18px;

    color: var(--smg-primary);

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

.smg-specialty-card h3 {
    margin-bottom: 12px;

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

.smg-specialty-card p {
    margin-bottom: 0;

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

/* =====================================================
   ACCREDITATION
   ===================================================== */

.smg-accreditation {
    background: var(--smg-pink-light);
}

.smg-accreditation-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.smg-accreditation-card {
    overflow: hidden;

    border: 1px solid var(--smg-border);
    border-radius: 20px;

    background: #fff;

    box-shadow:
        0 8px 25px rgba(143, 22, 139, .05);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.smg-accreditation-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 16px 35px rgba(143, 22, 139, .10);
}

.smg-accreditation-image {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 260px;

    padding: 25px;

    background: #fff;
}

.smg-accreditation-image img {
    display: block;

    width: 100%;
    max-width: 240px;
    height: 220px;

    object-fit: contain;
}

.smg-accreditation-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 210px;

    border: 1px dashed var(--smg-border);
    border-radius: 14px;

    color: var(--smg-muted);

    font-size: 13px;
    text-align: center;
}

.smg-accreditation-content {
    padding: 20px 22px 24px;

    border-top: 1px solid var(--smg-border);
}

.smg-accreditation-label {
    display: block;

    margin-bottom: 7px;

    color: var(--smg-primary);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.smg-accreditation-content h3 {
    margin: 0;

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


/* =====================================================
   SPECIAL CLINICS
   ===================================================== */

.smg-special-clinics {
    background: var(--smg-pink-light);
}

.smg-clinic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.smg-clinic-card {
    display: flex;
    align-items: flex-end;

    min-height: 170px;

    padding: 25px;

    border-radius: 18px;

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

    color: #fff;
}

.smg-clinic-card h3 {
    margin-bottom: 0;

    color: #fff;

    font-size: 20px;
}


/* =====================================================
   INPATIENT
   ===================================================== */

.smg-inpatient {
    background: #fff;
}

.smg-inpatient-group {
    margin-top: 55px;
}

.smg-inpatient-heading {
    margin-bottom: 24px;
}

.smg-inpatient-heading h3 {
    margin: 5px 0 0;
    font-size: 26px;
    line-height: 1.25;
}

.smg-inpatient-grid {
    display: grid;
    gap: 18px;
}

.smg-inpatient-grid-basra {
    grid-template-columns: repeat(4, 1fr);
}

.smg-inpatient-grid-wijaya {
    grid-template-columns: repeat(3, 1fr);
}

.smg-inpatient-card {
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--smg-border);
    box-shadow: 0 8px 25px rgba(143, 22, 139, .06);
}

.smg-inpatient-card img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

.smg-inpatient-card:hover img {
    transform: scale(1.04);
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}


/* =====================================================
   ACHIEVEMENT
   ===================================================== */

.smg-achievement {
    background: var(--smg-pink-light);
}

.smg-achievement-image {
    max-width: 1000px;

    margin: 0 auto;
}

.smg-achievement-image img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 22px;
}


/* =====================================================
   EVENTS
   ===================================================== */

.smg-events {
    background: var(--smg-pink-light);
}

.smg-events-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.smg-event-card {
    overflow: hidden;
    border: 1px solid var(--smg-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(143, 22, 139, .05);
    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.smg-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(143, 22, 139, .10);
}

.smg-event-image {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
}

.smg-event-image img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

.smg-event-card:hover .smg-event-image img {
    transform: scale(1.05);
}

.smg-event-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 220px;
    border: 1px dashed var(--smg-border);
    color: var(--smg-muted);
    font-size: 13px;
}

.smg-event-content {
    padding: 20px 22px 24px;
    border-top: 1px solid var(--smg-border);
}

.smg-event-label {
    display: block;
    margin-bottom: 7px;
    color: var(--smg-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.smg-event-content h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
}


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

.smg-cta {
    padding: 90px 0;

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

    color: #fff;
}

.smg-cta .smg-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.smg-cta .smg-eyebrow {
    color: rgba(255,255,255,.75);
}

.smg-cta h2 {
    margin-bottom: 18px;

    color: #fff;
}

.smg-cta p {
    margin-bottom: 0;

    color: rgba(255,255,255,.8);
}

.smg-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    padding: 15px 22px;

    border-radius: 999px;

    background: #fff;
    color: var(--smg-primary);

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

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.smg-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(0,0,0,.15);

    color: var(--smg-primary);
}

.smg-button span {
    font-size: 20px;
}


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

@media (max-width: 991px) {

    .smg-section {
        padding: 80px 0;
    }

    .smg-hero .smg-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .smg-hero-image {
        max-width: 700px;
    }

    .smg-about-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .smg-prime-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

    .smg-feature-grid {
        gap: 45px;
    }

}


@media (max-width: 767px) {

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

    .smg-section {
        padding: 65px 0;
    }

    .smg-section-heading {
        gap: 16px;
        margin-bottom: 35px;
    }

    .smg-section-number {
        flex-basis: 40px;

        width: 40px;
        height: 40px;
    }

    .smg-page h2 {
        font-size: 34px;
    }

    .smg-hero {
        padding: 75px 0 65px;
    }

    .smg-hero-title {
        font-size: 48px;
    }

    .smg-hero-meta {
        flex-wrap: wrap;
    }

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

    .smg-feature-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .smg-specialties-grid {
        grid-template-columns: 1fr;
    }

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

    .smg-clinic-card {
        min-height: 140px;
        padding: 20px;
    }

    .smg-cta {
        padding: 70px 0;
    }

    .smg-cta .smg-container {
        flex-direction: column;
        align-items: flex-start;
    }

}


@media (max-width: 480px) {

    .smg-hero-title {
        font-size: 42px;
    }

    .smg-prime-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .smg-prime-card {
        padding: 22px 12px;
    }

    .smg-prime-card h3 {
        font-size: 15px;
    }

    .smg-clinic-grid {
        grid-template-columns: 1fr;
    }

}

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

@media (max-width: 991px) {

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

}


@media (max-width: 767px) {

    .smg-accreditation-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .smg-accreditation-image {
        min-height: 240px;
    }

    .smg-accreditation-image img {
        height: 200px;
    }

}

@media (max-width: 991px) {

    .smg-inpatient-grid-basra {
        grid-template-columns: repeat(2, 1fr);
    }

    .smg-inpatient-grid-wijaya {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 767px) {

    .smg-inpatient-grid-basra,
    .smg-inpatient-grid-wijaya {
        grid-template-columns: 1fr;
        gap: 14px;
    }

}

@media (max-width: 991px) {

    .smg-events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 767px) {

    .smg-events-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .smg-event-content {
        padding: 18px 20px 22px;
    }

}