/* ==========================================================================
   Infovesta — design system (Bootstrap 5.3 + komponen situs)
   Semua halaman memuat file ini lewat fragments/layout :: head.
   ========================================================================== */

:root {
    --iv-navy: #12264b;
    --iv-navy-2: #1b3768;
    --iv-blue: #1f63d1;
    --iv-blue-soft: #e8f0fd;
    --iv-sky: #3fa3e8;
    --iv-ink: #1c2434;
    --iv-muted: #5b6577;
    --iv-line: #e3e8f0;
    --iv-surface: #f5f7fb;
    --iv-white: #ffffff;
    --iv-up: #128a4d;
    --iv-down: #d0342c;
    --iv-radius: 14px;
    --iv-radius-sm: 10px;
    --iv-shadow-sm: 0 1px 2px rgba(18, 38, 75, .06), 0 2px 8px rgba(18, 38, 75, .05);
    --iv-shadow: 0 8px 28px rgba(18, 38, 75, .10);
    --iv-header-h: 76px;

    --bs-primary: var(--iv-blue);
    --bs-primary-rgb: 31, 99, 209;
    --bs-body-font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --bs-body-color: var(--iv-ink);
    --bs-body-bg: var(--iv-white);
    --bs-link-color: var(--iv-blue);
    --bs-link-color-rgb: 31, 99, 209;
    --bs-link-hover-color: var(--iv-navy-2);
    --bs-border-color: var(--iv-line);
    --bs-border-radius: var(--iv-radius-sm);
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--iv-header-h) + 16px); }
body {
    font-family: var(--bs-body-font-family);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--iv-ink);
    background: var(--iv-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { color: var(--iv-navy); font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
.btn:hover, .nav-link:hover, .dropdown-item:hover, .card a:hover, .subnav a:hover, .site-footer a:hover { text-decoration: none; }
::selection { background: var(--iv-blue); color: #fff; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 999px; padding: .6rem 1.35rem; }
.btn-sm { padding: .4rem .95rem; }
.btn-primary { --bs-btn-bg: var(--iv-blue); --bs-btn-border-color: var(--iv-blue); --bs-btn-hover-bg: var(--iv-navy-2); --bs-btn-hover-border-color: var(--iv-navy-2); --bs-btn-active-bg: var(--iv-navy); }
.btn-outline-primary { --bs-btn-color: var(--iv-blue); --bs-btn-border-color: var(--iv-blue); --bs-btn-hover-bg: var(--iv-blue); --bs-btn-hover-border-color: var(--iv-blue); }
.btn-light { --bs-btn-bg: #fff; --bs-btn-color: var(--iv-navy); }

/* ---------- Header ---------- */
.site-topbar { background: var(--iv-navy); color: rgba(255,255,255,.75); font-size: .8125rem; }
.site-topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 1rem; }
.site-topbar a { color: rgba(255,255,255,.85); }
.site-topbar a:hover, .site-topbar a.active { color: #fff; text-decoration: none; }
.lang-switch { display: flex; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.lang-switch a { display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .6rem; border-radius: 999px; transition: background-color .2s ease, color .2s ease; }
.lang-switch a.active { background: rgba(255,255,255,.12); }
.lang-switch img { width: 18px; height: auto; border-radius: 2px; }

.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease, background-color .25s ease; }
.site-header.is-scrolled { border-color: var(--iv-line); box-shadow: var(--iv-shadow-sm); }
.site-header .navbar { min-height: var(--iv-header-h); padding: 0; transition: min-height .3s cubic-bezier(.22, .61, .36, 1); }
.site-header .navbar-brand img { height: 42px; width: auto; transition: height .3s cubic-bezier(.22, .61, .36, 1); }
.site-header .nav-link { color: var(--iv-ink); font-weight: 600; font-size: .95rem; padding: .5rem .9rem !important; border-radius: 999px; transition: color .18s ease, background-color .18s ease, transform .18s ease; }
.site-header .nav-link:hover, .site-header .nav-link:focus, .site-header .nav-item.show > .nav-link, .site-header .nav-item:hover > .nav-link { color: var(--iv-blue); background: var(--iv-blue-soft); transform: translateY(-2px); }
.site-header .nav-item.active > .nav-link { color: var(--iv-blue); }
.site-header .dropdown-menu { border: 1px solid var(--iv-line); border-radius: var(--iv-radius); box-shadow: var(--iv-shadow); padding: .5rem; margin-top: .35rem; min-width: 18rem; }
.site-header .dropdown-item { border-radius: 8px; padding: .55rem .8rem; white-space: normal; font-size: .925rem; color: var(--iv-ink); transition: background-color .16s ease, color .16s ease; }
.site-header .dropdown-item strong { color: var(--iv-blue); font-weight: 700; margin-right: .35rem; font-size: .8rem; }
.site-header .dropdown-item:hover, .site-header .dropdown-item:focus { background: var(--iv-blue-soft); color: var(--iv-navy); }
.dropdown-header-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--iv-muted); padding: .5rem .8rem .25rem; display: block; }
.mega-menu { min-width: 40rem !important; }
@media (min-width: 992px) { .border-start-lg { border-left: 1px solid var(--iv-line); padding-left: .5rem; } }
.navbar-toggler { border: 0; padding: .5rem; border-radius: 10px; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px var(--iv-blue-soft); }

/* Item di dalam panel menu masuk bertahap saat panel terbuka */
@keyframes ivMenuItemIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (min-width: 992px) {
    /* Header memadat saat digulir */
    .site-header.is-scrolled .navbar { min-height: 62px; }
    .site-header.is-scrolled .navbar-brand img { height: 32px; }

    /* Panel menu desktop: meluncur turun + membesar sedikit, lebih terasa */
    .site-header .dropdown > .dropdown-menu {
        top: 100%;
        display: block;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(18px) scale(.97);
        transform-origin: top center;
        transition: opacity .24s ease, transform .26s cubic-bezier(.22, .61, .36, 1), visibility 0s linear .26s;
    }
    .site-header .dropdown:hover > .dropdown-menu,
    .site-header .dropdown.show > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
        transition: opacity .24s ease, transform .26s cubic-bezier(.22, .61, .36, 1), visibility 0s;
    }

    /* Isi panel menyusul masuk satu per satu (menu biasa) */
    .site-header .dropdown:hover > .dropdown-menu > li,
    .site-header .dropdown.show > .dropdown-menu > li { animation: ivMenuItemIn .3s cubic-bezier(.22, .61, .36, 1) both; }
    .site-header .dropdown:hover > .dropdown-menu > li:nth-child(1),
    .site-header .dropdown.show > .dropdown-menu > li:nth-child(1) { animation-delay: .05s; }
    .site-header .dropdown:hover > .dropdown-menu > li:nth-child(2),
    .site-header .dropdown.show > .dropdown-menu > li:nth-child(2) { animation-delay: .085s; }
    .site-header .dropdown:hover > .dropdown-menu > li:nth-child(3),
    .site-header .dropdown.show > .dropdown-menu > li:nth-child(3) { animation-delay: .12s; }
    .site-header .dropdown:hover > .dropdown-menu > li:nth-child(4),
    .site-header .dropdown.show > .dropdown-menu > li:nth-child(4) { animation-delay: .155s; }
    .site-header .dropdown:hover > .dropdown-menu > li:nth-child(5),
    .site-header .dropdown.show > .dropdown-menu > li:nth-child(5) { animation-delay: .19s; }
    .site-header .dropdown:hover > .dropdown-menu > li:nth-child(6),
    .site-header .dropdown.show > .dropdown-menu > li:nth-child(6) { animation-delay: .225s; }
    .site-header .dropdown:hover > .dropdown-menu > li:nth-child(7),
    .site-header .dropdown.show > .dropdown-menu > li:nth-child(7) { animation-delay: .26s; }
    .site-header .dropdown:hover > .dropdown-menu > li:nth-child(8),
    .site-header .dropdown.show > .dropdown-menu > li:nth-child(8) { animation-delay: .295s; }
    .site-header .dropdown:hover > .dropdown-menu > li:nth-child(9),
    .site-header .dropdown.show > .dropdown-menu > li:nth-child(9) { animation-delay: .33s; }

    /* Mega menu: dua kolom masuk bergantian */
    .site-header .dropdown:hover > .dropdown-menu.mega-menu .col-lg-6,
    .site-header .dropdown.show > .dropdown-menu.mega-menu .col-lg-6 { animation: ivMenuItemIn .3s cubic-bezier(.22, .61, .36, 1) both; }
    .site-header .dropdown:hover > .dropdown-menu.mega-menu .col-lg-6:nth-child(1),
    .site-header .dropdown.show > .dropdown-menu.mega-menu .col-lg-6:nth-child(1) { animation-delay: .08s; }
    .site-header .dropdown:hover > .dropdown-menu.mega-menu .col-lg-6:nth-child(2),
    .site-header .dropdown.show > .dropdown-menu.mega-menu .col-lg-6:nth-child(2) { animation-delay: .16s; }

    .site-header .dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: .5rem; }
    .site-header .offcanvas-lg .offcanvas-body { align-items: center; }

    /* Chevron berputar mengikuti keadaan menu */
    .site-header .dropdown-toggle::after { transition: transform .24s ease; }
    .site-header .dropdown:hover > .dropdown-toggle::after,
    .site-header .dropdown.show > .dropdown-toggle::after { transform: rotate(180deg); }
}
@media (max-width: 991.98px) {
    :root { --iv-header-h: 64px; }
    .site-header .navbar-brand img { height: 34px; }
    .site-header .offcanvas { width: min(88vw, 360px); }
    .site-header .offcanvas-body { display: flex; flex-direction: column; gap: 1rem; }
    .site-header .nav-link { padding: .75rem .9rem !important; font-size: 1rem; }
    .site-header .dropdown-menu { border: 0; box-shadow: none; padding: 0 0 .5rem 1rem; margin: 0; min-width: 0 !important; background: transparent; }
    .site-header .mega-menu .row > * { width: 100%; }
    .offcanvas-lang .lang-switch a { color: var(--iv-ink); border: 1px solid var(--iv-line); }
    .offcanvas-lang .lang-switch a.active { background: var(--iv-blue-soft); border-color: var(--iv-blue); }
}

/* Panel menu mobile: item masuk bertahap saat offcanvas dibuka */
@keyframes ivNavIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 991.98px) {
    .site-header .offcanvas-lg.show .navbar-nav > .nav-item { animation: ivNavIn .35s cubic-bezier(.22, .61, .36, 1) both; }
    .site-header .offcanvas-lg.show .navbar-nav > .nav-item:nth-child(1) { animation-delay: .07s; }
    .site-header .offcanvas-lg.show .navbar-nav > .nav-item:nth-child(2) { animation-delay: .13s; }
    .site-header .offcanvas-lg.show .navbar-nav > .nav-item:nth-child(3) { animation-delay: .19s; }
    .site-header .offcanvas-lg.show .navbar-nav > .nav-item:nth-child(4) { animation-delay: .25s; }
    .site-header .offcanvas-lg.show .navbar-nav > .nav-item:nth-child(5) { animation-delay: .31s; }
}

/* Hormati preferensi pengguna yang membatasi gerakan */
@media (prefers-reduced-motion: reduce) {
    .site-header,
    .site-header .nav-link,
    .site-header .dropdown-item,
    .lang-switch a { transition: none !important; }
    .site-header .nav-link:hover,
    .site-header .nav-link:focus,
    .site-header .nav-item.show > .nav-link,
    .site-header .nav-item:hover > .nav-link { transform: none !important; }
    .site-header .navbar,
    .site-header .navbar-brand img { transition: none !important; }
    .site-header .dropdown > .dropdown-menu { transition: none !important; transform: none !important; }
    .site-header .dropdown-toggle::after { transition: none !important; }
    .site-header .dropdown:hover > .dropdown-menu > li,
    .site-header .dropdown.show > .dropdown-menu > li,
    .site-header .dropdown:hover > .dropdown-menu.mega-menu .col-lg-6,
    .site-header .dropdown.show > .dropdown-menu.mega-menu .col-lg-6 { animation: none !important; }
    .site-header .offcanvas.show .navbar-nav > .nav-item { animation: none !important; }
    .site-header .offcanvas-lg.show .navbar-nav > .nav-item { animation: none !important; }
}

/* ---------- Page hero / banner ---------- */
.page-hero { position: relative; color: #fff; background: var(--iv-navy) center/cover no-repeat; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(18,38,75,.94) 0%, rgba(18,38,75,.78) 45%, rgba(31,99,209,.45) 100%); }
.page-hero .container { padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.page-hero h1 { color: #fff; font-size: clamp(1.75rem, 3.6vw, 2.75rem); margin-bottom: .5rem; }
.page-hero .lead { color: rgba(255,255,255,.85); max-width: 46rem; font-size: clamp(1rem, 1.6vw, 1.15rem); }
.page-hero .eyebrow { color: #9cc6ff; }
.hero-breadcrumb { --bs-breadcrumb-divider-color: rgba(255,255,255,.5); --bs-breadcrumb-item-active-color: #fff; margin-bottom: 1rem; font-size: .875rem; }
.hero-breadcrumb a { color: rgba(255,255,255,.75); }
.hero-tabs { display: flex; gap: .5rem; flex-wrap: nowrap; overflow-x: auto; margin-top: 1.5rem; padding-bottom: 2px; scrollbar-width: none; }
.hero-tabs::-webkit-scrollbar { display: none; }
.hero-tabs a { flex: 0 0 auto; padding: .5rem 1.1rem; border-radius: 999px; color: #fff; border: 1px solid rgba(255,255,255,.35); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.hero-tabs a:hover { background: rgba(255,255,255,.12); text-decoration: none; }
.hero-tabs a.active { background: #fff; color: var(--iv-navy); border-color: #fff; }

/* ---------- Sections & typography helpers ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-sm { padding: clamp(2rem, 4vw, 3rem) 0; }
.section-alt { background: var(--iv-surface); }
.section-dark { background: var(--iv-navy); color: rgba(255,255,255,.85); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 46rem; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section-head.text-start { margin-left: 0; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: .75rem; }
.section-head p { color: var(--iv-muted); font-size: 1.05rem; margin: 0; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--iv-blue); margin-bottom: .6rem; }
.text-muted-iv { color: var(--iv-muted) !important; }
.prose { color: var(--iv-ink); }
.prose p, .prose li { color: #3a4456; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin: 2rem 0 1rem; }
.prose h3 { font-size: 1.25rem; margin: 1.75rem 0 .75rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .35rem; }
.prose li p { margin: 0; }
.prose img { border-radius: var(--iv-radius-sm); }

/* ---------- Cards ---------- */
.card { border: 1px solid var(--iv-line); border-radius: var(--iv-radius); box-shadow: var(--iv-shadow-sm); }
.card-hover { transition: transform .2s ease, box-shadow .2s ease; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--iv-shadow); }
.card-img-top { border-top-left-radius: calc(var(--iv-radius) - 1px); border-top-right-radius: calc(var(--iv-radius) - 1px); aspect-ratio: 16/9; object-fit: cover; }
.card-title { color: var(--iv-navy); font-weight: 700; }
.feature-card { height: 100%; padding: 1.75rem; }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; display: inline-grid; place-items: center; background: var(--iv-blue-soft); color: var(--iv-blue); font-size: 1.5rem; margin-bottom: 1rem; }
.stat { text-align: center; }
.stat-value { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; color: var(--iv-navy); line-height: 1.1; }
.stat-label { color: var(--iv-muted); font-size: .9rem; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 1.9rem; margin-bottom: .6rem; }
.check-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .05rem; color: var(--iv-blue); font-size: 1.15rem; }
.check-list li p { margin: 0; }

/* ---------- Data pages ---------- */
.data-layout { padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 4.5rem); background: var(--iv-surface); }
.subnav { position: sticky; top: calc(var(--iv-header-h) + 1rem); }
.subnav-title { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--iv-muted); margin: 0 0 .75rem .25rem; }
.subnav ul { list-style: none; margin: 0; padding: .5rem; background: #fff; border: 1px solid var(--iv-line); border-radius: var(--iv-radius); box-shadow: var(--iv-shadow-sm); }
.subnav a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .65rem .85rem; border-radius: 9px; color: var(--iv-ink); font-weight: 500; font-size: .925rem; }
.subnav a::after { content: "\F285"; font-family: "bootstrap-icons"; font-size: .75rem; opacity: 0; transition: opacity .15s; }
.subnav a:hover { background: var(--iv-surface); color: var(--iv-blue); }
.subnav a:hover::after { opacity: .6; }
.subnav a.active { background: var(--iv-blue); color: #fff; font-weight: 600; }
.subnav a.active::after { opacity: 1; }
@media (max-width: 991.98px) {
    .subnav { position: static; }
    .subnav-title { display: none; }
    .subnav ul { display: flex; gap: .4rem; overflow-x: auto; padding: .4rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .subnav ul::-webkit-scrollbar { display: none; }
    .subnav li { flex: 0 0 auto; }
    .subnav a { white-space: nowrap; padding: .5rem .9rem; font-size: .875rem; }
    .subnav a::after { display: none; }
}
.data-card { background: #fff; border: 1px solid var(--iv-line); border-radius: var(--iv-radius); box-shadow: var(--iv-shadow-sm); padding: clamp(1.1rem, 3vw, 1.75rem); }
.data-card + .data-card { margin-top: 1.5rem; }
.data-card-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.data-card-head h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin: 0; }
.data-card-head p { margin: .35rem 0 0; color: var(--iv-muted); font-size: .925rem; max-width: 40rem; }
.data-card h3 { font-size: 1.1rem; margin: 0 0 1rem; }
.date-picker { display: flex; align-items: center; gap: .5rem; }
.date-picker label { font-size: .85rem; font-weight: 600; color: var(--iv-muted); white-space: nowrap; }
.date-picker .form-select { min-width: 10rem; border-radius: 999px; font-weight: 600; }
.data-note { font-size: .85rem; color: var(--iv-muted); background: var(--iv-surface); border-radius: var(--iv-radius-sm); padding: 1rem 1.15rem; margin-top: 1.25rem; }
.data-note p:last-child { margin-bottom: 0; }
.grid-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.chart-box { width: 100%; min-height: 320px; }
.up { color: var(--iv-up) !important; }
.down { color: var(--iv-down) !important; }
.scoring-accordion .accordion-button { font-weight: 700; color: var(--iv-navy); }
.scoring-accordion .accordion-button:not(.collapsed) { background: var(--iv-blue-soft); color: var(--iv-navy); box-shadow: none; }
.scoring-accordion .accordion-button:focus { box-shadow: 0 0 0 3px var(--iv-blue-soft); }

/* ---------- Kendo UI grid refresh ---------- */
.k-grid { border: 1px solid var(--iv-line) !important; border-radius: var(--iv-radius-sm); overflow: hidden; font-family: inherit; font-size: .875rem; max-width: 100%; }
.k-grid-header, .k-grid-header-wrap, .k-grid .k-header, .k-grid th.k-header { background: #f1f4f9 !important; border-color: var(--iv-line) !important; }
.k-grid th.k-header, .k-grid th.k-header .k-link { color: var(--iv-navy) !important; font-weight: 700 !important; font-size: .75rem; text-transform: uppercase; letter-spacing: .03em; white-space: normal; vertical-align: middle; text-align: center; padding: .7rem .6rem !important; line-height: 1.3; }
.k-grid td { border-color: #eef1f6 !important; padding: .55rem .6rem !important; line-height: 1.4; }
.k-grid tr.k-alt { background: #fafbfd; }
.k-grid tbody tr:hover { background: var(--iv-blue-soft) !important; }
.k-grid .k-pager-wrap { background: #fff; border-color: var(--iv-line); padding: .5rem; }
.k-pager-wrap .k-link, .k-pager-numbers .k-state-selected { border-radius: 8px !important; }
.k-pager-numbers .k-state-selected { background: var(--iv-blue) !important; border-color: var(--iv-blue) !important; color: #fff !important; }
.k-grid-content { overflow-x: auto; }
@media (max-width: 575.98px) { .k-grid { font-size: .8125rem; } .k-pager-info { display: none; } }

/* ---------- Highcharts container ---------- */
.highcharts-container, .highcharts-root { font-family: var(--bs-body-font-family) !important; }

/* ---------- Home ---------- */
.home-hero { position: relative; background: var(--iv-navy); }
.home-hero { --hero-h: min(78vh, 620px, 46.58vw); }
.home-hero .carousel-item img, .home-hero .carousel-item video { display: block; width: 100%; height: var(--hero-h); object-fit: cover; background: var(--iv-navy); }
.home-hero .carousel-indicators { margin-bottom: .75rem; }
.home-hero .carousel-indicators [data-bs-target] { width: 26px; height: 4px; border-radius: 4px; }
.home-hero .carousel-control-prev, .home-hero .carousel-control-next { width: 56px; opacity: 0; transition: opacity .2s; }
.home-hero:hover .carousel-control-prev, .home-hero:hover .carousel-control-next { opacity: .9; }
.home-hero .carousel-control-prev-icon, .home-hero .carousel-control-next-icon { background-color: rgba(18,38,75,.55); border-radius: 50%; background-size: 50%; width: 2.6rem; height: 2.6rem; }
@media (hover: none) { .home-hero .carousel-control-prev, .home-hero .carousel-control-next { opacity: .85; } }
.slide-intro { position: relative; height: var(--hero-h); min-height: 280px; display: grid; place-items: center; text-align: center; color: #fff; background: center/cover no-repeat; isolation: isolate; padding: 3rem 1rem; }
.slide-intro::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(18,38,75,.9), rgba(31,99,209,.55)); }
.slide-intro img { max-width: min(300px, 70vw); margin-bottom: 1.25rem; }
.home-hero .carousel-item .slide-intro img { background: transparent; height: auto; object-fit: contain; margin-left: auto; margin-right: auto; }
.slide-intro h1 { color: #fff; font-size: clamp(1.6rem, 4vw, 3rem); }
.hero-slide { position: relative; display: block; color: #fff; }
.hero-slide:hover { text-decoration: none; }
.hero-slide-caption {
    position: absolute; inset: auto 0 0 0;
    display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    padding: clamp(1.25rem, 4vw, 2.75rem);
    background: linear-gradient(to top, rgba(18, 38, 75, .82) 0%, rgba(18, 38, 75, .35) 55%, rgba(18, 38, 75, 0) 100%);
}
.hero-slide-title { font-weight: 700; color: #fff; font-size: clamp(1.05rem, 2.2vw, 1.6rem); max-width: 30ch; text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }

.intro-cards { margin-top: clamp(-4rem, -6vw, -2rem); position: relative; z-index: 2; }
.intro-card { overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.intro-card .card-body { padding: 1.5rem 1.6rem 1.75rem; display: flex; flex-direction: column; }
.intro-card .card-body p { color: var(--iv-muted); flex: 1; }

.idx-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.idx-head h2 { margin: 0; font-size: clamp(1.4rem, 2.8vw, 2rem); }

/* ---------- Footer ---------- */
.site-footer { background: var(--iv-navy); color: rgba(255,255,255,.72); font-size: .925rem; }
.site-footer .footer-main { padding: clamp(2.5rem, 6vw, 4rem) 0 2rem; }
.site-footer h3 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: #fff; }
.footer-logo { max-width: 220px; margin-bottom: 1rem; }
.footer-social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.footer-social a { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: 1.05rem; transition: background .15s; }
.footer-social a:hover { background: var(--iv-blue); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.25rem 0; font-size: .85rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 1rem; bottom: 1rem; z-index: 1020; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--iv-blue); color: #fff; display: grid; place-items: center; box-shadow: var(--iv-shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--iv-navy-2); }

/* ---------- Ads slot (infovesta adsapp) ---------- */
.ads-sticky { position: fixed; left: 50%; transform: translateX(-50%); bottom: 10px; width: min(100% - 2rem, 980px); z-index: 1010; text-align: center; }
.ads-sticky:empty { display: none; }

/* ---------- Utilities ---------- */
.rounded-iv { border-radius: var(--iv-radius) !important; }
.shadow-iv { box-shadow: var(--iv-shadow) !important; }
.ratio-video { border-radius: var(--iv-radius); overflow: hidden; }
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 1rem; align-items: center; }
.logo-wall img { max-height: 64px; width: auto; margin: 0 auto; display: block; filter: grayscale(.2); }
.table-responsive > .table { margin-bottom: 0; }
.table thead th { background: #f1f4f9; color: var(--iv-navy); font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Panel menu mobile yang tersembunyi di kanan tidak boleh memperlebar halaman. */
@media (max-width: 991.98px) {
    .site-header .offcanvas-lg:not(.show):not(.showing):not(.hiding) { display: none; }
}
.clamp-4 { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 767.98px) {
    .intro-cards { margin-top: 1.5rem; }
    .intro-card .card-img-top { aspect-ratio: 21/9; }
    .home-hero .carousel-indicators { margin-bottom: .35rem; }
}
/* backdrop-filter membuat panel offcanvas (fixed) terkurung di header; nonaktifkan di mobile. */
@media (max-width: 991.98px) {
    .site-header { backdrop-filter: none; background: #fff; }
}

/* ---------- Kartu produk (homepage) ---------- */
.product-card { height: 100%; overflow: hidden; display: flex; flex-direction: column; }
.product-card-media { aspect-ratio: 16/10; display: grid; place-items: center; padding: 1.25rem 1.25rem .5rem; background: radial-gradient(120% 90% at 50% 0%, #ffffff 0%, var(--iv-blue-soft) 100%); border-bottom: 1px solid var(--iv-line); }
.product-card-media picture { display: contents; }
.product-card-media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(18, 38, 75, .16)); transition: transform .3s ease; }
.product-card:hover .product-card-media img { transform: translateY(-4px) scale(1.03); }
.product-card .card-body { display: flex; flex-direction: column; gap: .5rem; padding: 1.25rem 1.35rem 1.4rem; }
.product-card .card-body p { flex: 1; }
.product-card-link { color: var(--iv-blue); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: .35rem; margin-top: .25rem; }
.product-card:hover .product-card-link i { transform: translateX(3px); }
.product-card-link i { transition: transform .2s; }
.product-card-media { overflow: hidden; }
.product-card-media img { min-height: 0; min-width: 0; }
.product-card-link:hover { color: var(--iv-navy-2); text-decoration: none; }
.product-card:hover .product-card-link i { transform: none; }
.product-card-link:hover i { transform: translateX(3px); }
.product-card:hover .product-card-media img { transform: none; }
