/* ======================================================
   DESIGN UPGRADE v4 — Citranet2024
   Font   : Source Sans 3 (300 / 400 / 600 / 700 / 900)
   Fixes  : typography · price · card-height · image crop
            bw-check icon-only red · logolay · quiz text
            footer white text · ot-heading center · pro layout
   ====================================================== */


/* ── 1. TYPOGRAPHY — Source Sans 3 ──────────────────── */

*,
body,
h1, h2, h3, h4, h5, h6,
p, li, span, a, td, th,
label, input, textarea,
select, button, blockquote {
    font-family: 'Source Sans 3', 'Inter', sans-serif;
}

body {
    font-weight: 400;
    font-size: 17px;
    line-height: 1.65;
    color: #1b1d21;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Source Sans 3', sans-serif !important;
    font-weight: 700;
    color: #1b1d21;
    line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.2rem);  font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.5rem;  font-weight: 700; }
h4 { font-size: 1.25rem; font-weight: 700; }
h5 { font-size: 1.05rem; font-weight: 700; }
h6 { font-size: 0.95rem; font-weight: 600; }

p  { font-weight: 400; font-size: 1.05rem; line-height: 1.75; color: #444; }
strong, b { font-weight: 700; }


/* ── 2. SECTION HEADINGS ─────────────────────────────── */

.main-heading,
.ot-heading h2.main-heading {
    font-family: 'Source Sans 3', sans-serif !important;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.2;
    color: #1b1d21;
    letter-spacing: -0.2px;
}

.ot-heading h2.main-heading b,
.ot-heading h2.main-heading strong,
.service-pricing h2 b,
.service-pricing h2 strong {
    font-weight: 900;
    color: #ED312B;
}

.service-pricing h2 {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 700;
    font-size: clamp(1.3rem, 2.5vw, 1.9rem);
    line-height: 1.25;
}

/* Red underline accent — only when NOT inside .cta or .footer-v1 */
.ot-heading.text-center:not(.cta .ot-heading):not(.footer-v1 .ot-heading)::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: #ED312B;
    border-radius: 2px;
    margin: 12px auto 0;
}

/* ── 3. FIX: ot-heading text-center tidak center ─────── */
/*
 * Root cause: .service-pricing .row > [class*="col-"] punya display:flex,
 * sehingga .ot-heading sebagai flex-item menyusut ke lebar kontennya saja.
 * text-align:center tidak terlihat karena kotak sudah selebar teks.
 * Fix: paksa width:100% agar punya ruang untuk center.
 */

.ot-heading.text-center {
    width: 100% !important;
    text-align: center !important;
}

.ot-heading.text-center h2,
.ot-heading.text-center h2.main-heading,
.ot-heading.text-center h6,
.ot-heading.text-center span {
    text-align: center !important;
    display: block;
    width: 100%;
}

/* Pastikan kolom yang jadi flex container men-stretch isinya */
.service-pricing .row > [class*="col-"] > .ot-heading {
    width: 100%;
    flex: 1;
}


/* ── 4. HARGA — Focal Point Dominan ─────────────────── */

.ot-pricing-table .inner-table h2,
.col-lg-3 .ot-pricing-table .inner-table h2,
.col-lg-4 .ot-pricing-table .inner-table h2 {
    font-family: 'Source Sans 3', sans-serif !important;
    font-weight: 900;
    font-size: clamp(2.4rem, 5vw, 3.2rem) !important;
    letter-spacing: -1px;
    line-height: 1;
    color: #1b1d21;
    position: relative;
    padding-left: 42px !important;
    margin-bottom: 2px;
}

.ot-pricing-table .inner-table h2 sup {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    top: 10px;
    left: 0;
    color: #888;
    letter-spacing: 0;
}

.ot-pricing-table .inner-table .title-table {
    font-family: 'Source Sans 3', sans-serif !important;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.25;
    color: #1b1d21;
    margin-bottom: 8px;
    letter-spacing: -0.1px;
}

.ot-pricing-table .inner-table > span {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #888;
    display: block;
    margin-bottom: 6px;
}

/* Harga coret */
.hargacoret h3 {
    font-family: 'Source Sans 3', sans-serif !important;
    font-weight: 400;
    font-size: 1.1rem;
    color: #aaa;
    text-decoration: line-through;
    margin-bottom: 0;
}


/* ── 5. KARTU PRODUK — Fix Grey Sampai Bawah ────────── */
/*
 * Berlaku di halaman home & layanan detail.
 * Tanpa syarat class .noborder — target semua .ot-pricing-table.
 */

/* Kolom produk di service-pricing harus flex agar equal height */
.service-pricing .row > [class*="col-"] {
    display: flex;
}

/* Kolom di layanan detail juga */
.row.justify-content-center > [class*="col-lg-"],
.row.justify-content-center > [class*="col-md-"] {
    display: flex;
}

/* Card wrapper */
.shadow.borderpull {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 20px !important;
    /* overflow:hidden dihapus — agar modal tidak terclip & bisa muncul bebas */
    box-shadow: 0 2px 16px rgba(0,0,0,0.09) !important;
    transition: box-shadow 0.28s ease, transform 0.28s ease;
    background: #fff;
}

.shadow.borderpull:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 52px rgba(0,0,0,0.14) !important;
}

/* ── FIX 6: Gambar produk di kartu — tidak gepeng, tidak terpotong ── */
.shadow.borderpull img.topradius,
.shadow.borderpull > img.topradius {
    width: 100%;
    height: auto !important;
    max-height: 240px;
    object-fit: cover !important;
    object-position: center top;
    flex-shrink: 0;
    align-self: stretch;
    /* radius atas saja — menggantikan overflow:hidden pada card */
    border-radius: 20px 20px 0 0 !important;
    display: block;
}


/* Gambar dalam .shadow.borderpull p-4 (landscape/single) */
.shadow.borderpull.p-4 img.img-fluid {
    width: 100%;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 12px !important;
}

/* Pricing table mengisi sisa ruang (grey background sampai bawah) */
.shadow.borderpull .ot-pricing-table {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 !important;
    margin-bottom: 0 !important;
    border: 0 !important;
    background: #f8f9fa;
}

.shadow.borderpull .ot-pricing-table .inner-table {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 22px 22px 24px;
}

/* Details mengisi ruang tengah → tombol terdorong ke bawah */
.shadow.borderpull .ot-pricing-table .inner-table .details,
.shadow.borderpull .ot-pricing-table .inner-table .details2 {
    flex: 1;
    height: auto !important;
    padding-top: 14px;
    padding-bottom: 12px;
    border-top: 1px solid #e4e4e4;
    overflow: visible;
}

/* Tombol selalu di paling bawah */
.shadow.borderpull .ot-pricing-table .inner-table .octf-btn,
.shadow.borderpull .ot-pricing-table .inner-table > .mt-3:last-child,
.shadow.borderpull .ot-pricing-table .inner-table > div:last-child {
    margin-top: auto;
    padding-top: 16px;
}

/* Tombol 100% lebar di dalam kartu */
.shadow.borderpull .octf-btn {
    width: 100%;
    display: block;
    text-align: center;
    box-sizing: border-box;
}

/* Override height bawaan yang memotong isi */
.ot-pricing-table .inner-table .details  { height: auto !important; }
.ot-pricing-table .inner-table .details2 { height: auto !important; }


/* ── SPACER DIVS — dihapus, ganti margin yang rapi ──────── */

.space-5  { height: 0 !important; display: none !important; }
.space-20 { height: 0 !important; display: none !important; }

/* Ganti ruang space-5/20 dengan margin pada row logo+deskripsi */
.service-pricing > .container > .row:first-child {
    margin-bottom: 40px;
}
.service-pricing .col-md-8 .text-centerx p:last-child {
    margin-bottom: 0;
}


/* ── FIX 1: LOGOLAY — proporsional, mengisi kolom, tidak gepeng ─ */
/*
 * Original style.css: .logolay { width: 300px; } — no height:auto → gepeng
 * Fix: isi penuh lebar kolom col-md-4, tinggi ikut proporsional
 */

.logolay {
    display: block;
    width: 100% !important;           /* isi penuh col-md-4 */
    max-width: 100% !important;
    height: auto !important;          /* tinggi proporsional, tidak gepeng */
    object-fit: contain !important;
    border-radius: 12px;
    margin-bottom: 16px;
}



/* ── 6. LIST FASILITAS BIASA (di pricing home) ───────── */
/*
 * <ul class="details"> <li><i class="fas ..."> teks</li> </ul>
 */

.ot-pricing-table .inner-table .details ul:not(.bw-check) {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ot-pricing-table .inner-table .details ul:not(.bw-check) li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    margin-bottom: 6px;
    background: #fff;
    border-radius: 8px;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    font-size: 0.88rem;
    color: #333;
    line-height: 1.4;
    border: 1px solid #eee;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ot-pricing-table .inner-table .details ul:not(.bw-check) li:hover {
    border-color: rgba(237,49,43,0.2);
    box-shadow: 0 2px 8px rgba(237,49,43,0.07);
}

.ot-pricing-table .inner-table .details ul:not(.bw-check) li i {
    color: #ED312B;
    font-size: 0.9rem;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.ot-pricing-table .inner-table .details ul:not(.bw-check) li:before {
    display: none !important;
}


/* ── FIX 2: LIST BW-CHECK — Icon Merah Bulat, Teks Putih di Background Putih ── */
/*
 * SEBELUM : seluruh li background merah
 * SESUDAH : hanya icon (::before) yang punya badge merah bulat,
 *           li itu sendiri putih + border, mirip fasilitas home
 */

.bw-check {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.bw-check li {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 8px 12px !important;
    margin-bottom: 6px !important;
    background: #fff !important;
    color: #333 !important;
    border-radius: 8px !important;
    font-family: 'Source Sans 3', sans-serif !important;
    font-weight: 500 !important;
    font-size: 0.88rem !important;
    line-height: 1.4 !important;
    border: 1px solid #eee !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bw-check li:hover {
    border-color: rgba(237,49,43,0.25) !important;
    box-shadow: 0 2px 8px rgba(237,49,43,0.07) !important;
}

/* Badge merah bulat dengan centang — hanya icon, bukan seluruh baris */
.bw-check li::before {
    content: '\f00c' !important;
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', 'FontAwesome' !important;
    font-weight: 900 !important;
    font-style: normal !important;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    background: #ED312B;
    color: #fff !important;
    font-size: 0.65rem;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-block;
    line-height: 22px;
    text-align: center;
}

/* Teks dalam li tetap gelap */
.bw-check li,
.bw-check li span,
.bw-check li strong,
.bw-check li em {
    color: #333 !important;
}

/* Sembunyikan icon duplikat dari DB jika ada */
.bw-check li > i:first-child {
    display: none;
}


/* ── 7. TOMBOL CTA ───────────────────────────────────── */

.octf-btn {
    display: inline-block;
    font-family: 'Source Sans 3', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 13px 32px !important;
    border-radius: 50px !important;
    border: 2px solid #ED312B !important;
    background: #ED312B !important;
    color: #fff !important;
    box-shadow: 0 4px 18px rgba(237,49,43,0.3);
    transition: background 0.22s ease,
                border-color 0.22s ease,
                box-shadow 0.22s ease,
                transform 0.22s ease !important;
    cursor: pointer;
    text-decoration: none !important;
    line-height: 1.4;
}

.octf-btn:hover,
.octf-btn:focus {
    background: #c42020 !important;
    border-color: #c42020 !important;
    color: #fff !important;
    box-shadow: 0 8px 28px rgba(237,49,43,0.42) !important;
    transform: translateY(-2px);
    text-decoration: none !important;
}

.octf-btn.octf-btn-light {
    background: transparent !important;
    color: #1b1d21 !important;
    border-color: #ddd !important;
    box-shadow: none;
}

.octf-btn.octf-btn-light:hover {
    background: #1b1d21 !important;
    color: #fff !important;
    border-color: #1b1d21 !important;
}

.btn-slider.octf-btn {
    font-size: 0.85rem !important;
    padding: 12px 28px !important;
}

/* Tombol border (quiz) */
.octf-btn.btn-border {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.85) !important;
    box-shadow: none;
}

.octf-btn.btn-border:hover {
    background: #fff !important;
    color: #ED312B !important;
    border-color: #fff !important;
}


/* ── FIX 4: QUIZ SECTION (.cta) — teks putih di atas background gelap ── */
/*
 * Background .cta diset via JS sebagai background-image (gambar gelap).
 * Original style.css sudah color:#fff tapi di-override oleh h2/p global kita.
 */

.cta {
    position: relative;
}

.cta h2,
.cta h3,
.cta h4,
.cta h5,
.cta h6,
.cta .main-heading,
.cta .ot-heading h2,
.cta .ot-heading h2.main-heading {
    color: #fff !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.cta .ot-heading span,
.cta span:not(.octf-btn *) {
    color: rgba(255,255,255,0.92) !important;
}

.cta p {
    color: rgba(255,255,255,0.88) !important;
}

.cta .ot-heading.text-center::after {
    background: rgba(255,255,255,0.5);
}


/* ── FIX 5: FOOTER — teks putih di background merah ─── */
/*
 * .footer-v1 background: #ED312B (merah) dari style.css.
 * Override global p/h kita mengubah warna jadi gelap → fix di sini.
 */

.footer-v1,
.footer-v1 .footer-section,
.footer-v1 .footer-content {
    color: #fff !important;
}

.footer-v1 p,
.footer-v1 li,
.footer-v1 address {
    color: rgba(255,255,255,0.88) !important;
}

.footer-v1 h1,
.footer-v1 h2,
.footer-v1 h3,
.footer-v1 h4,
.footer-v1 h5,
.footer-v1 h6 {
    color: #fff !important;
}

.footer-v1 a {
    color: rgba(255,255,255,0.88) !important;
    text-decoration: none;
}

.footer-v1 a:hover {
    color: #fff !important;
    text-decoration: underline;
}

.footer-v1 .copyright-section p {
    color: rgba(255,255,255,0.7) !important;
    font-size: 0.85rem;
    margin-bottom: 0;
}

.footer-v1 .social-list li a {
    color: #fff !important;
}

/* List menu footer */
.footer-v1 .list-items li a,
.footer-v1 .footer-menu li a {
    color: rgba(255,255,255,0.82) !important;
}

.footer-v1 .list-items li a:hover,
.footer-v1 .footer-menu li a:hover {
    color: #fff !important;
}


/* ── 8. KEUNGGULAN (Why Choose) ─────────────────────── */

.features-item {
    background: #fff;
    border-radius: 16px;
    padding: 28px 22px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    height: 100%;
}

.features-item:hover {
    box-shadow: 0 8px 32px rgba(237,49,43,0.09);
    transform: translateY(-4px);
}

.features-title {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.3;
    color: #1b1d21;
}

.features-desc {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #555;
}

.feature-heading > div {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    color: #1b1d21;
    line-height: 1.2;
    letter-spacing: -0.2px;
}

.feature-heading > div::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: #ED312B;
    border-radius: 2px;
    margin: 12px auto 0;
}


/* ── 9. REVIEW / TESTIMONIAL ────────────────────────── */

.starx { color: #F59E0B !important; font-size: 0.9rem; margin-right: 1px; }

.testi-item .card {
    border: 0 !important;
    border-radius: 16px !important;
    box-shadow: 0 3px 16px rgba(0,0,0,0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.testi-item .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 36px rgba(0,0,0,0.11);
}
.testi-item .card-header {
    background: #f8f8f8 !important;
    border-bottom: 1px solid #efefef !important;
    border-radius: 16px 16px 0 0 !important;
    padding: 14px 18px !important;
}
.testi-item .card-body    { padding: 14px 18px 20px !important; }
.testi-item .ttext        { font-weight: 400; font-size: 0.88rem; line-height: 1.7; color: #444; margin-top: 8px; }
.testi-item .fw-semibold  { font-weight: 700; font-size: 0.875rem; color: #1b1d21; }
.testi-item small,
.testi-item .text-muted   { font-weight: 300; font-size: 0.78rem; }

.htesti img,
.testi-item .card-header img:not(.w50p) {
    width: 40px !important; height: 40px !important;
    object-fit: cover; border-radius: 50%;
}
.w50p { width: 26px !important; height: 26px !important; object-fit: contain; }

.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 18px;
    padding: 8px 4px 24px;
}
@media (max-width: 575px) { .testi-grid { grid-template-columns: 1fr; } }


/* ── 10. HEADER & NAVBAR ─────────────────────────────── */

.main-navigation ul.menu > li > a {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.2px;
}

.cinfo-header span       { font-family: 'Source Sans 3', sans-serif; font-size: 0.8rem; }
.cinfo-header .main-text,
.cinfo-header .main-text a { font-family: 'Source Sans 3', sans-serif; font-weight: 700; font-size: 0.95rem; }

.nav-pills .nav-link {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}


/* ── 11. GENERAL IMAGE POLISH ────────────────────────── */
/*
 * Cegah gambar gepeng di mana saja
 */

img {
    max-width: 100%;
}

/* Gambar ISO, badge, logo kecil — jangan stretch */
.iso9001,
.widgetkuaple,
.widgetku {
    height: auto !important;
    object-fit: contain !important;
}

/* Gambar di icon-box (layanan features section) */
.icon-box-s2 img {
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    object-fit: contain !important;
}


/* ── 12. MOBILE ──────────────────────────────────────── */

@media (max-width: 767px) {

    /* Harga kartu */
    .ot-pricing-table .inner-table h2 { font-size: 2.2rem; }

    /* Nonaktifkan hover transform di touch */
    .shadow.borderpull:hover { transform: none; }
    .features-item:hover     { transform: none; }

    /* Logo carousel: tampilkan normal di mobile (tidak ada hover di touch) */
    .partners-slide img,
    .hotspot-logo img {
        filter: none !important;
        -webkit-filter: none !important;
        opacity: 1 !important;
    }

    /* Kolom tidak perlu flex di mobile → block normal */
    .service-pricing .row > [class*="col-"],
    .row.justify-content-center > [class*="col-lg-"],
    .row.justify-content-center > [class*="col-md-"] {
        display: block;
    }

    /* ── FIX: logolay tengah di mobile ──────────────── */
    .logolay {
        max-width: 260px !important;
        width: auto !important;
        display: block;
        margin: 0 auto 24px auto !important;
    }

    /* ── FIX: ot-heading teks lebih besar di mobile ── */
    .ot-heading h2,
    .ot-heading h2.main-heading,
    .main-heading {
        font-size: clamp(1.5rem, 6vw, 2rem) !important;
        line-height: 1.3 !important;
    }

    .ot-heading.text-center h2,
    .ot-heading.text-center h2.main-heading {
        font-size: clamp(1.45rem, 6vw, 1.9rem) !important;
        text-align: center !important;
    }

    /* ── FIX: owl carousel — gambar penuh & presisi ── */
    /*
     * style.css: .owl-carousel .owl-item img { width: auto }
     * → gambar kecil di mobile karena item width tidak terisi.
     * Fix: paksa stage & gambar mengisi lebar — JANGAN paksa .owl-item
     * karena itu merusak carousel multi-item (2+) di mobile.
     */
    .owl-stage-outer {
        width: 100% !important;
        overflow: hidden !important;
    }

    .owl-carousel .owl-item {
        box-sizing: border-box;
    }

    .owl-carousel .owl-item img:not(.gambarorang):not(.rounded-circle):not(.w50p) {
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    /* Slide testi: grid 1 kolom, full-width dalam owl item */
    .testi-slide {
        width: 100%;
    }

    .testi-slide .testi-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 4px 2px 16px;
    }

    .cta {
        padding: 36px 24px 60px !important;
    }

    /* Margin bawah section logo+desc */
    .service-pricing > .container > .row:first-child {
        margin-bottom: 24px;
    }
}

/* Khusus layar sangat kecil */
@media (max-width: 480px) {
    .ot-heading h2,
    .ot-heading h2.main-heading,
    .main-heading {
        font-size: clamp(1.35rem, 7vw, 1.7rem) !important;
    }

    .logolay {
        max-width: 200px !important;
    }
}
.initial{object-fit: initial !important;}