/* 3 ========================= Home Responsive / User Friendly =========================
   Override tampilan halaman home: tipografi lebih kecil & rapi, spacing konsisten,
   card dengan shadow halus, grid responsif penuh (360px - 1440px+).
   Load SETELAH main.css. */

:root {
    --home-ink: #14181d;
    --home-muted: #6b7280;
    --home-line: #e8eaee;
    --home-soft: #f6f7f9;
    --home-dark: #14181d;
    --home-accent: #b58b4a;
    --home-radius: 16px;
    --home-shadow: 0 10px 30px rgba(17, 24, 39, .07);
    --home-shadow-lg: 0 24px 60px rgba(17, 24, 39, .14);
}

body {
    color: var(--home-ink);
    font-size: 15.5px;
    line-height: 1.75;
}

#home h1,
#home h2,
#home h3,
#home h4,
#home h5,
#home h6 {
    font-weight: 700;
    letter-spacing: -.015em;
}

/* ---------- section shell ---------- */
#home .hp {
    padding: 96px 0;
}

#home .hp--tight {
    padding: 64px 0;
}

#home .hp--soft {
    background: var(--home-soft);
}

#home .hp--dark {
    background: var(--home-dark);
    color: #fff;
}

#home .hp-head {
    max-width: 760px;
    margin-bottom: 48px;
}

#home .hp-head--row {
    max-width: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

#home .hp-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--home-accent);
}

#home .hp-title {
    margin: 0 0 14px;
    font-size: clamp(1.65rem, 1.1rem + 1.8vw, 2.6rem);
    line-height: 1.2;
}

#home .hp-lead {
    margin: 0;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--home-muted);
}

#home .hp--dark .hp-lead,
#home .hp--dark p {
    color: rgba(255, 255, 255, .72);
}

#home .hp-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--home-ink);
    white-space: nowrap;
}

#home .hp-link i {
    transition: transform .25s ease;
}

#home .hp-link:hover i {
    transform: translateX(4px);
}

#home .hp--dark .hp-link {
    color: #fff;
}

/* ---------- hero ---------- */
#home .hp-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: min(72vh, 620px);
    padding: 150px 0 90px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}

#home .hp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 15, 19, .82) 0%, rgba(12, 15, 19, .55) 45%, rgba(12, 15, 19, .25) 100%);
}

#home .hp-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

#home .hp-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(1.85rem, 1.1rem + 2.6vw, 3.4rem);
    line-height: 1.12;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}

#home .hp-hero p {
    max-width: 520px;
    margin: 0 0 30px;
    font-size: clamp(.95rem, .9rem + .3vw, 1.1rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, .84);
}

#home .hp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

#home .hp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1;
    border: 1px solid transparent;
    transition: all .25s ease;
}

#home .hp-btn--solid {
    background: var(--home-accent);
    color: #fff;
    box-shadow: 0 12px 26px rgba(181, 139, 74, .34);
}

#home .hp-btn--solid:hover {
    background: #a37b3f;
    color: #fff;
    transform: translateY(-2px);
}

#home .hp-btn--ghost {
    border-color: rgba(255, 255, 255, .55);
    color: #fff;
}

#home .hp-btn--ghost:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

#home .hp-btn--dark {
    background: var(--home-dark);
    color: #fff;
}

#home .hp-btn--dark:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
}

/* ---------- trust strip ---------- */
#home .hp-strip {
    background: var(--home-soft);
    border-bottom: 1px solid var(--home-line);
    padding: 36px 0;
}

#home .hp-strip-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

#home .hp-strip-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

#home .hp-strip-item i {
    flex: 0 0 auto;
    font-size: 20px;
    color: var(--home-accent);
    margin-top: 2px;
}

#home .hp-strip-item span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--home-muted);
}

#home .hp-strip-item strong,
#home .hp-strip-item a {
    font-size: .95rem;
    font-weight: 600;
    color: var(--home-ink);
    line-height: 1.5;
}

/* ---------- grids & cards ---------- */
#home .hp-grid {
    display: grid;
    gap: 24px;
}

#home .hp-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

#home .hp-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

#home .hp-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--home-line);
    border-radius: var(--home-radius);
    overflow: hidden;
    height: 100%;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

#home .hp-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--home-shadow-lg);
    border-color: transparent;
}

#home .hp-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--home-soft);
}

#home .hp-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

#home .hp-card:hover .hp-card-media img {
    transform: scale(1.05);
}

#home .hp-card-body {
    padding: 20px 22px 24px;
}

#home .hp-card-body h3 {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.45;
}

#home .hp-card-body a {
    color: var(--home-ink);
}

#home .hp-card--feature .hp-card-media {
    aspect-ratio: 4 / 3;
}

#home .hp-icon-card {
    padding: 26px 22px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--home-line);
    border-radius: var(--home-radius);
    height: 100%;
    transition: transform .3s ease, box-shadow .3s ease;
}

#home .hp-icon-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--home-shadow-lg);
}

#home .hp-icon-card img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin: 0 auto 16px;
    display: block;
}

#home .hp-icon-card h3 {
    margin: 0;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.45;
}

/* ---------- about split ---------- */
#home .hp-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

#home .hp-split-media {
    min-height: 420px;
    background-size: cover;
    background-position: center;
}

#home .hp-split-body {
    display: flex;
    align-items: center;
    padding: clamp(32px, 4vw, 72px);
}

#home .hp-split-body p {
    margin: 0 0 16px;
    color: var(--home-muted);
    line-height: 1.85;
}

#home .hp-split-body p:last-of-type {
    margin-bottom: 0;
}

/* ---------- service list ---------- */
#home .hp-list {
    columns: 2;
    column-gap: 32px;
}

#home .hp-list li {
    break-inside: avoid;
    display: flex;
    gap: 10px;
    padding: 7px 0;
    font-size: .94rem;
    color: var(--home-muted);
    border-bottom: 1px dashed var(--home-line);
}

#home .hp-list li i {
    flex: 0 0 auto;
    margin-top: 6px;
    font-size: 11px;
    color: var(--home-accent);
}

#home .hp--dark .hp-list li {
    color: rgba(255, 255, 255, .78);
    border-bottom-color: rgba(255, 255, 255, .12);
}

/* ---------- members ---------- */
#home .hp-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

#home .hp-member {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 84px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--home-line);
    border-radius: 12px;
    transition: transform .25s ease, box-shadow .25s ease;
}

#home .hp-member:hover {
    transform: translateY(-4px);
    box-shadow: var(--home-shadow);
}

#home .hp-member img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ---------- testimonials ---------- */
#home .hp-quotes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

#home .hp-quote {
    display: flex;
    flex-direction: column;
    padding: 28px 26px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--home-radius);
    height: 100%;
}

#home .hp-quote-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

#home .hp-quote-top img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
}

#home .hp-quote-top h4 {
    margin: 0;
    font-size: .98rem;
    color: #fff;
}

#home .hp-quote-top p {
    margin: 0;
    font-size: .8rem;
    color: rgba(255, 255, 255, .55);
}

#home .hp-quote .hp-stars {
    margin-left: auto;
    color: var(--home-accent);
    font-size: 12px;
    letter-spacing: 2px;
}

#home .hp-quote-text {
    font-size: .95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, .78);
}

#home .hp-quote-text p {
    margin: 0 0 10px;
}

/* ---------- blog ---------- */
#home .hp-post-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--home-muted);
}

#home .hp-post-meta span::before {
    content: "\2022";
    margin-right: 10px;
}

#home .hp-post-meta span:first-child::before {
    content: none;
    margin: 0;
}

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
    #home .hp-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #home .hp-quotes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    #home .hp {
        padding: 72px 0;
    }

    #home .hp-hero {
        min-height: 0;
        padding: 130px 0 70px;
    }

    #home .hp-split {
        grid-template-columns: 1fr;
    }

    #home .hp-split-media {
        min-height: 300px;
    }

    #home .hp-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #home .hp-strip-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 15px;
    }

    #home .hp {
        padding: 56px 0;
    }

    #home .hp--tight {
        padding: 40px 0;
    }

    #home .hp-head {
        margin-bottom: 32px;
    }

    #home .hp-hero {
        padding: 116px 0 56px;
        text-align: left;
    }

    #home .hp-hero-actions .hp-btn {
        flex: 1 1 auto;
        justify-content: center;
    }

    #home .hp-grid--3,
    #home .hp-grid--4,
    #home .hp-quotes {
        grid-template-columns: 1fr;
    }

    #home .hp-list {
        columns: 1;
    }

    #home .hp-member {
        width: calc(50% - 8px);
        max-width: 190px;
    }

    #home .hp-split-body {
        padding: 32px 20px;
    }
}

@media (max-width: 420px) {
    #home .hp-btn {
        padding: 13px 20px;
        font-size: .85rem;
    }
}

/* ---------- header / nav (mobile usability) ---------- */
@media (max-width: 991px) {
    .burger-icon {
        display: block;
        margin-left: auto;
    }

    #header .navbar {
        padding: 10px 0;
    }

    #header .navbar-brand img {
        max-height: 38px;
    }

    #header .navbar-collapse {
        display: none;
        border-top: 1px solid var(--home-line);
        margin-top: 10px;
        padding-bottom: 12px;
        text-align: left;
    }

    #header .navbar-nav>li,
    #header .navbar-nav>li>a {
        width: 100%;
    }

    #header .navbar-default .navbar-nav>li>a,
    #header .nav>li>a {
        margin: 0;
        padding: 12px 4px;
        font-size: 15px;
    }

    #header .sub-menu {
        position: static;
        display: block;
        box-shadow: none;
        padding-left: 14px;
        background: transparent;
    }

    #header .header-cta {
        margin-top: 12px;
    }

    .topheader.hidemobile {
        display: none;
    }
}
