/* ================= BREADCRUMB ================= */
.layanan-breadcrumb{
    display:flex;
    align-items:center;
    gap:8px;
    margin-top:20px;
    margin-bottom:0;
    margin-left:-37px;
    transform:translateY(-45px);
    color:#ffffff;
    font-size:14px;
    font-weight:500;
}

.layanan-breadcrumb i{
    font-size:9px;
    opacity:.8;
}

.layanan-breadcrumb a{
    color:#fff;
    text-decoration:none;
    font-weight:600;
}

.layanan-breadcrumb a:hover{
    color:#98d733;
    text-decoration:none;
}

.layanan-breadcrumb span{
    font-weight:750;
    color:#caf5f2;
    text-decoration:none;   
}

/* ================= HERO ================= */
.layanan-hero{
    height:400px;
    position:relative;
    overflow:hidden;
    background-image:url("/static/img/profil/hero.jpg");
    background-size:cover;
    background-position:right center;
    display:flex;
    align-items:center;
    z-index: 1;
}

.layanan-hero .container {
    padding-left:80px;
}

/* RED GRADIENT */
.layanan-hero-overlay{
    position:absolute;
    inset:0;
    background:
    linear-gradient(
        90deg,
        rgba(190,0,0,0.95) 0%,
        rgba(205,0,0,0.75) 35%,
        rgba(205,0,0,0.25) 70%,
        rgba(252, 251, 251, 0.05)
    );
}

/* DOT */
.layanan-hero::before{
    content:"";
    position:absolute;
    top:25px;
    left:35px;
    width:120px;
    height:120px;
    background-image:
    radial-gradient(
        rgba(255,255,255,.8) 2px,
        transparent 2px
    );
    background-size:16px 16px;
    opacity:.5;
    z-index:3;
}

/* CONTENT */
.layanan-hero-container{
    position:relative;
    z-index:2;
    width:100%;
}

.layanan-hero-content{
    max-width:800px;
    color:white;
    transform:none;
    padding-left:100px;
    padding-bottom: 110px;
}

.layanan-label{
    color:white;
    font-size:52px;
    font-weight:700;
    margin:0 0 16px;
    line-height:1.15;
}

.layanan-hero p{
    font-size:18px;
    line-height:1.6;
    color:white;
    max-width: 620px;
    margin-bottom: 0;
}

/* =========================================================
   SOFT FADE BAGIAN BAWAH HERO
========================================================= */
.layanan-hero::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:120px;
    z-index:5;
    background:
        linear-gradient(
            to bottom,
            rgba(255,255,255,0) 0%,
            rgba(255,255,255,.35) 35%,
            rgba(255,255,255,.75) 65%,
            #ffffff 100%
        );
    pointer-events:none;
}

/* ==========================================================
   PELAYANAN MEDIS
========================================================== */
.layanan-section{
    padding:70px 0;
}

.layanan-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

/* ===========================
   CARD
=========================== */
.layanan-card{
    display:block;
    background:#fff;
    border-radius:22px;
    overflow:hidden;
    text-decoration:none;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.35s;
}

.layanan-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,.12);
    text-decoration: none;
}

.layanan-card h3 a{
    text-decoration:none;
    color:#d00000;
}

.layanan-image{
    height:200px;
    overflow:hidden;
}

.layanan-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.5s;
}

.layanan-card:hover img{
    transform:scale(1.08);
}

.layanan-content{
    padding:25px;
}

.layanan-content h3{
    color:#d00000;
    margin-bottom:15px;
}

.layanan-content p{
    color:#666;
    line-height:1.7;
    margin-bottom:20px;
}

.layanan-link{
    color:#d00000;
    font-weight:600;
    display:inline-flex;
    align-items:center;
    gap:8px;
}

.layanan-link i{
    transition:.3s;
}

.layanan-card:hover .layanan-link i{
    transform:translateX(6px);
}

/* =====================================================
   DETAIL PELAYANAN
===================================================== */
.pelayanan-detail{
    padding:70px 0;
}

.breadcrumb{
    display:flex;
    gap:10px;
    align-items:center;
    font-size:14px;
    margin-bottom:40px;
    color:#64748b;
}

.breadcrumb a{
    color:#64748b;
    text-decoration:none;
}

.breadcrumb a:hover{
    color:#d00000;
}

.detail-hero{
    display:grid;
    grid-template-columns:460px 1fr;
    gap:60px;
    align-items:center;
    margin-bottom:60px;
}

.detail-image{
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 20px 40px rgba(0,0,0,.10);
}

.detail-image img{
    width:100%;
    display:block;
}

.detail-badge{
    display:inline-block;
    background:#d00000;
    color:#fff;
    padding:8px 18px;
    border-radius:40px;
    margin-bottom:20px;
    font-weight:600;
}

.detail-info h1{
    font-size:42px;
    margin-bottom:20px;
    color:#1e293b;
}

.detail-info p{
    font-size:18px;
    line-height:1.8;
    color:#64748b;
}

.detail-content{
    display:grid;
    gap:30px;
}

.detail-card{
    background:#fff;
    border-radius:20px;
    padding:35px;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.detail-card h2{
    margin-bottom:15px;
    color:#d00000;
}

.detail-card p{
    color:#64748b;
    line-height:1.8;
}

/* ======================================
   KATEGORI LAYANAN
====================================== */

.kategori-layanan{

    margin-top:80px;

}

.kategori-layanan:first-child{

    margin-top:50px;

}

.kategori-title{

    display:flex;

    align-items:center;

    gap:14px;

    margin-bottom:35px;

}

.kategori-title i{

    font-size:28px;

    color:#E60012;

}

.kategori-title h2{

    margin:0;

    font-size:34px;

    font-weight:700;

    color:#1f2937;

}

.kategori-title::after{

    content:"";

    flex:1;

    height:2px;

    background:#ececec;

    margin-left:20px;

}

/* =========================================================
   LAYANAN UNGGULAN - DESKTOP
========================================================= */

.layanan-unggulan-pc{
    margin-top:90px;
    padding:55px 0 10px;
}


/* ================= HEADER ================= */

.unggulan-header-pc{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:30px;

    margin-bottom:35px;
}

.unggulan-header-pc span{
    display:block;

    color:#d00000;

    font-size:12px;
    font-weight:800;

    letter-spacing:2px;

    margin-bottom:8px;
}

.unggulan-header-pc h2{
    margin:0 0 10px;

    color:#1f2937;

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

.unggulan-header-pc p{
    max-width:650px;

    margin:0;

    color:#64748b;

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

.unggulan-header-pc > a{
    display:inline-flex;

    align-items:center;

    gap:8px;

    flex-shrink:0;

    color:#d00000;

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

    text-decoration:none;

    padding-bottom:5px;
}

.unggulan-header-pc > a:hover{
    color:#b00000;
    text-decoration:none;
}

.unggulan-header-pc > a i{
    transition:.3s;
}

.unggulan-header-pc > a:hover i{
    transform:translateX(5px);
}


/* ================= GRID ================= */

.unggulan-grid-pc{
    display:grid;

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

    gap:25px;
}


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

.unggulan-card-pc{
    display:block;

    background:#fff;

    border-radius:22px;

    overflow:hidden;

    text-decoration:none;

    border:1px solid #eeeeee;

    box-shadow:
        0 10px 30px rgba(0,0,0,.07);

    transition:.35s ease;
}

.unggulan-card-pc:hover{
    transform:translateY(-7px);

    box-shadow:
        0 18px 40px rgba(0,0,0,.12);

    text-decoration:none;
}


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

.unggulan-image-pc{
    width:100%;
    height:210px;

    overflow:hidden;
}

.unggulan-image-pc img{
    width:100%;
    height:100%;

    display:block;

    object-fit:cover;

    transition:.5s ease;
}

.unggulan-card-pc:hover
.unggulan-image-pc img{
    transform:scale(1.06);
}


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

.unggulan-content-pc{
    display:flex;

    align-items:center;
    justify-content:space-between;

    gap:20px;

    padding:22px 24px;
}

.unggulan-content-pc h3{
    margin:8px 0 7px;

    color:#10233f;

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

.unggulan-content-pc p{
    margin:0;

    color:#64748b;

    font-size:14px;

    line-height:1.6;
}


/* ================= BADGE ================= */

.unggulan-badge-pc{
    display:inline-flex !important;

    align-items:center;

    gap:6px;

    color:#d00000 !important;

    font-size:11px !important;

    font-weight:800 !important;

    letter-spacing:.5px !important;

    margin:0 !important;
}

.unggulan-badge-pc i{
    font-size:11px;
}


/* ================= ARROW ================= */

.unggulan-arrow-pc{
    width:40px;
    height:40px;

    display:flex;

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

    flex-shrink:0;

    border-radius:50%;

    background:#fff0f1;

    color:#d00000;

    font-size:14px;

    transition:.3s;
}

.unggulan-card-pc:hover
.unggulan-arrow-pc{
    background:#d00000;

    color:#fff;

    transform:translateX(3px);
}

/* =========================================================
   MOBILE LAYANAN - BLUEPRINT
   MAX 600PX
========================================================= */

.layanan-mobile{
    display:none;
}


/* =========================================================
   MOBILE - MAX 600PX
========================================================= */

@media (max-width:600px){

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

    .layanan-hero{
        height:300px;
        position:relative;
        overflow:hidden;
        align-items:flex-start;
        background-position:68% center;
    }

    /* -----------------------------------------------------
       OVERLAY MOBILE
    ----------------------------------------------------- */
    .layanan-hero-overlay{
        background:
        linear-gradient(
            90deg,
            rgba(190,0,0,.94) 0%,
            rgba(205,0,0,.72) 42%,
            rgba(205,0,0,.25) 75%,
            rgba(255,255,255,.05) 100%
        );
    }

    /* -----------------------------------------------------
       DOT PATTERN
    ----------------------------------------------------- */
    .layanan-hero::before{
        top:22px;
        left:18px;
        width:90px;
        height:90px;
        background-size:13px 13px;
        opacity:.45;
    }

    /* -----------------------------------------------------
       CONTENT
    ----------------------------------------------------- */
    .layanan-hero-container{
        width:100%;
    }

    .layanan-hero-content{
        max-width:none;
        padding-left:20px;
        padding-right:20px;
        padding-top:-10px;
        padding-bottom:0;
        transform:none;
    }
    
    /* -----------------------------------------------------
       BREADCRUMB
    ----------------------------------------------------- */
    .layanan-breadcrumb{
        display:none;

    }

    /* -----------------------------------------------------
       JUDUL
    ----------------------------------------------------- */
    .layanan-label{
        font-size:30px;
        line-height:1.15;
        font-weight:800;
        margin:0 0 12px;
        color:#fff;
   }

    /* -----------------------------------------------------
       DESKRIPSI
    ----------------------------------------------------- */
    .layanan-hero p{
        font-size:14px;
        line-height:1.55;
        max-width:330px;
        margin:0;
        color:#fff;
    }

    /* =====================================================
       SOFT FADE BAWAH HERO
    ===================================================== */
    .layanan-hero::after{
        height:100px;
        background:
        linear-gradient(
            to bottom,
            rgba(255,255,255,0) 0%,
            rgba(255,255,255,.18) 25%,
            rgba(255,255,255,.65) 65%,
            #fff 100%
        );
        z-index:5;
        pointer-events:none;
    }

    /* ================= SECTION ================= */
    .layanan-section{
        display:none;
    }

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

    .layanan-mobile{
        display:block;
        background:#fff;
        padding:0 20px 60px;
    }

    /* =====================================================
       SEARCH
    ===================================================== */

    .layanan-mobile-search{
        position:relative;
        z-index:10;
        margin-top:-20px;
        padding-bottom:0 !important;
    }

    .layanan-search-box{
        height:52px;

        display:flex;
        align-items:center;

        background:#fff;

        border:1px solid #dfe3e8;

        border-radius:30px;

        padding:0 16px;

        box-shadow:
            0 8px 24px rgba(0,0,0,.08);
    }

    .layanan-search-box > i{
        color:#64748b;
        font-size:17px;
        flex-shrink:0;
    }

    .layanan-search-box input{
        flex:1;

        min-width:0;

        border:0;
        outline:0;

        background:transparent;

        padding:0 12px;

        font-size:14px;

        color:#1f2937;
    }

    .layanan-search-box input::placeholder{
        color:#9ca3af;
    }

    .layanan-search-submit{
        cursor:pointer;
    }


    /* =====================================================
       SECTION TITLE
    ===================================================== */

    .mobile-section-title,
    .mobile-section-heading{
        margin-bottom:22px;
    }

    .mobile-section-title span,
    .mobile-section-heading span{
        display:block;

        color:#d00000;

        font-size:11px;

        font-weight:800;

        letter-spacing:2px;

        margin-bottom:5px;
    }

    .mobile-section-title h2,
    .mobile-section-heading h2{
        margin:0;

        color:#10233f;

        font-size:24px;

        line-height:1.2;

        font-weight:800;
    }

    /* =====================================================
       KATEGORI
    ===================================================== */

    .layanan-mobile-category{
        margin-bottom:0;
    }

    .mobile-category-grid{
        display:grid;

        grid-template-columns:repeat(2, minmax(0,1fr));

        gap:14px;
    }

    .mobile-category-card{
        display:flex;

        flex-direction:column;

        min-width:0;

        padding:18px;

        background:#fff;

        border:1px solid #f0f0f0;

        border-radius:18px;

        text-decoration:none;

        box-shadow:
            0 6px 20px rgba(0,0,0,.06);

        transition:.25s;
    }

    .mobile-category-card:hover{
        transform:translateY(-3px);
        text-decoration:none;
    }

    .mobile-category-icon{
        width:58px;
        height:58px;

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

        border-radius:50%;

        margin-bottom:18px;

        font-size:25px;
    }

    .mobile-category-card.medical
    .mobile-category-icon{
        background:#ffe8e8;
        color:#d00000;
    }

    .mobile-category-card.supporting
    .mobile-category-icon{
        background:#eef0ff;
        color:#243fc4;
    }

    .mobile-category-card h3{
        margin:0 0 9px;

        color:#10233f;

        font-size:18px;

        line-height:1.25;

        font-weight:800;
    }

    .mobile-category-card p{
        margin:0 0 18px;

        color:#64748b;

        font-size:13px;

        line-height:1.55;
    }

    .mobile-category-card > span{
        margin-top:auto;

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

        color:#d00000;

        font-size:13px;

        font-weight:700;
    }

    .mobile-category-card > span i{
        font-size:11px;
    }

    /* =====================================================
       LAYANAN UNGGULAN
    ===================================================== */

    .layanan-mobile-featured{
        margin-bottom:0;
        padding-bottom: 20px !important;
    }

    .mobile-section-heading{
        display:flex;

        align-items:flex-end;

        justify-content:space-between;

        gap:15px;
    }

    .mobile-section-heading > a{
        display:flex;

        align-items:center;

        gap:5px;

        flex-shrink:0;

        color:#d00000;

        font-size:13px;

        font-weight:700;

        text-decoration:none;
    }

    .mobile-section-heading > a:hover{
        text-decoration:none;
    }

    .mobile-section-heading > a i{
        font-size:10px;
    }


    /* =====================================================
       FEATURED CARD
    ===================================================== */

    .mobile-featured-list{
        display:flex;

        flex-direction:column;

        gap:14px;
    }

    .mobile-featured-card{
        display:block;

        background:#fff;

        border-radius:18px;

        overflow:hidden;

        text-decoration:none;

        border:1px solid #f0f0f0;

        box-shadow:
            0 6px 20px rgba(0,0,0,.06);
    }

    .mobile-featured-card:hover{
        text-decoration:none;
    }

    .mobile-featured-image{
        width:100%;
        height:155px;

        overflow:hidden;
    }

    .mobile-featured-image img{
        width:100%;
        height:100%;

        display:block;

        object-fit:cover;

        transition:.4s;
    }

    .mobile-featured-card:hover
    .mobile-featured-image img{
        transform:scale(1.04);
    }

    .mobile-featured-content{
        display:flex;

        align-items:center;

        justify-content:space-between;

        gap:15px;

        padding:16px 18px;
    }

    .mobile-featured-content h3{
        margin:0 0 6px;

        color:#10233f;

        font-size:17px;

        font-weight:800;
    }

    .mobile-featured-content p{
        margin:0;

        color:#64748b;

        font-size:13px;

        line-height:1.5;
    }

    .mobile-featured-content > i{
        width:34px;
        height:34px;

        display:flex;

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

        flex-shrink:0;

        border-radius:50%;

        background:#fff0f1;

        color:#d00000;

        font-size:13px;
    }


    /* =====================================================
       DAFTAR LAYANAN
    ===================================================== */

    .layanan-mobile-list{
        margin-top:10px;
    }

    .mobile-service-group{
        margin-bottom:40px;
    }

    .mobile-service-group-title{
        display:flex;

        align-items:center;

        gap:9px;

        margin-bottom:18px;

        padding-bottom:10px;

        border-bottom:2px solid #f0f0f0;
    }

    .mobile-service-group-title i{
        color:#d00000;

        font-size:20px;
    }

    .mobile-service-group-title h3{
        margin:0;

        color:#10233f;

        font-size:19px;

        font-weight:800;
    }


    /* =====================================================
       SERVICE CARD
    ===================================================== */

    .mobile-service-card{
        display:flex;

        align-items:center;

        gap:14px;

        padding:10px;

        margin-bottom:12px;

        background:#fff;

        border:1px solid #eeeeee;

        border-radius:16px;

        text-decoration:none;

        box-shadow:
            0 4px 14px rgba(0,0,0,.045);
    }

    .mobile-service-card:hover{
        text-decoration:none;
    }

    .mobile-service-image{
        width:92px;
        height:82px;

        flex-shrink:0;

        overflow:hidden;

        border-radius:12px;
    }

    .mobile-service-image img{
        width:100%;
        height:100%;

        display:block;

        object-fit:cover;
    }

    .mobile-service-content{
        flex:1;
        min-width:0;
    }

    .mobile-service-content h3{
        margin:0 0 5px;

        color:#10233f;

        font-size:16px;

        font-weight:800;
    }

    .mobile-service-content p{
        margin:0 0 8px;

        color:#64748b;

        font-size:12px;

        line-height:1.45;
    }

    .mobile-service-content span{
        display:inline-flex;

        align-items:center;

        gap:6px;

        color:#d00000;

        font-size:12px;

        font-weight:700;
    }

    .mobile-service-content span i{
        font-size:10px;
    }
}