:root {
    --blue: #1763a6;
    --blue-dark: #155b97;
    --blue-light: #79b2df;
    --ink: #17324d;
    --muted: #64748b;
    --bg: #f6f9fc;
    --white: #fff;
    --border: #dce7f1;
    --shadow: 0 16px 40px rgba(21, 91, 151, .10);
}

/* =========================
   RESET
========================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.65;
}

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

.container {
    width: min(1120px, 92%);
    margin-left: auto;
    margin-right: auto;
}

/*
   Container tambahan sebelumnya menggunakan
   max-width: 850px sehingga beberapa section
   terlihat lebih sempit.

   Sekarang disamakan dengan container utama.
*/
.narrow {
    max-width: 1120px;
    
    text-align: justify;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(21, 91, 151, .04);
}

.nav-wrap {
    min-height: 104px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    height: 104px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand img {
    /*width: 104px;
    height: 104px;*/
    object-fit: contain;
    display: block;
}

/* =========================
   NAVIGATION
========================= */

.main-nav {
    display: flex;
    gap: 34px;
    align-items: center;
    height: 100%;
}

.main-nav a {
    position: relative;
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 0;
    transition: color .2s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--blue);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 28px;
    color: var(--blue);
    cursor: pointer;
    padding: 8px;
}

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

.hero {
    background: linear-gradient(135deg, #f5faff 0%, #fff 62%);
    padding: 90px 0 84px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 70px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.08;
    margin: 0 0 22px;
    letter-spacing: -2px;
}

.hero h1 span {
    color: var(--blue);
}

.hero p {
    font-size: 17px;
    color: var(--muted);
    max-width: 650px;
    margin: 0 0 30px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* =========================
   BUTTON
========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 21px;
    border-radius: 9px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--blue);
    color: #fff;
}

.btn-primary:hover {
    background: var(--blue-dark);
}

.btn-secondary {
    background: #fff;
    color: var(--blue);
    border-color: var(--blue);
}

.btn-white {
    background: #fff;
    color: var(--blue);
}

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

.hero-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 34px;
    box-shadow: var(--shadow);
    text-align: center;
}

.hero-card img {
    width: min(290px, 85%);
    border-radius: 18px;
    display: block;
    margin: auto;
}

.hero-card-text {
    margin-top: 20px;
    display: grid;
    gap: 3px;
}

.hero-card-text strong {
    font-size: 18px;
}

.hero-card-text span {
    color: var(--muted);
    font-size: 13px;
}

/* =========================
   GENERAL SECTION
========================= */

.section {
    padding: 86px 0;
}

.section-light {
    background: var(--bg);
}

.section h2,
.contact-section h2 {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;
    margin: 0 0 18px;
    letter-spacing: -1px;
}

.section p {
    color: var(--muted);
}

/*
   Memastikan semua isi section menggunakan
   posisi horizontal yang sama.
*/
.section > .container {
    width: min(1120px, 92%);
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   TENTANG KAMI
========================= */

/*
   Bagian ini sengaja dibuat menggunakan
   container utama agar rata kiri dengan
   section lainnya.
*/

.about-section {
    padding: 86px 0;
}

.about-section > .container {
    width: min(1120px, 92%);
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

.about-section .about-content {
    margin-left: 0;
    padding-left: 0;
}

.about-section h2 {
    margin-left: 0;
}

.about-section p {
    margin-left: 0;
}

/* Jika HTML menggunakan class section-light */
.section-light.about-section {
    background: var(--bg);
}

/* =========================
   SECTION HEADING
========================= */

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 34px;
}

.section-heading > p {
    max-width: 390px;
    margin: 0;
}

.centered {
    display: block;
    text-align: center;
}

/* =========================
   CATEGORY
========================= */

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

.category-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
    text-decoration: none;
    color: var(--ink);
    transition: .2s;
    box-shadow: 0 8px 24px rgba(21, 91, 151, .05);
}

.category-card:hover {
    transform: translateY(-3px);
    border-color: #9ec7e6;
    box-shadow: var(--shadow);
}

.category-card h3 {
    margin: 0 0 5px;
    font-size: 17px;
}

.category-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}

.category-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eaf4fc;
    display: grid;
    place-items: center;
    font-size: 24px;
}

.arrow {
    font-size: 23px;
    color: var(--blue);
}

/* =========================
   WHY SECTION
========================= */

.why-section {
    background: #fff;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 36px;
}

.feature-grid article {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: left;
}

.feature-grid h3 {
    margin: 15px 0 6px;
}

.feature-grid p {
    margin: 0;
    font-size: 14px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--blue);
    color: #fff;
    font-weight: 800;
    margin: 0 auto;
}

/* =========================
   CONTACT
========================= */

.contact-section {
    padding: 70px 0;
    background: var(--blue);
    color: #fff;
}

.contact-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.contact-section .eyebrow {
    color: #b9daf2;
}

.contact-section h2 {
    margin-bottom: 12px;
}

.contact-section p {
    color: #dcecf9;
    max-width: 680px;
    margin: 0;
}

/* =========================
   FOOTER
========================= */

.footer {
    background: #0f416d;
    color: #d8e9f7;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 42px 0;
}

.footer img {
    width: 155px;
    background: #fff;
    border-radius: 8px;
}

.footer p {
    font-size: 13px;
    margin: 9px 0 0;
}

.footer-contact {
    display: grid;
    align-content: center;
    gap: 5px;
}

.footer-contact a {
    color: #fff;
    text-decoration: none;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 18px 0;
    font-size: 12px;
    color: #b7cee0;
}

/* =========================
   CATALOG
========================= */

.catalog-hero {
    background: var(--bg);
    padding: 65px 0 55px;
    border-bottom: 1px solid var(--border);
}

.catalog-hero h1 {
    font-size: clamp(34px, 5vw, 54px);
    margin: 6px 0 10px;
    line-height: 1.1;
}

.catalog-hero p {
    margin: 0;
    color: var(--muted);
}

.back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: var(--blue);
    font-weight: 700;
    text-decoration: none;
    font-size: 13px;
}

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

.product-card {
    border: 1px solid var(--border);
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 24px rgba(21, 91, 151, .05);
}

.product-image {
    width: 100%;
    /*height: 230px;*/
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    /*object-fit: contain;*/
    display: block;
}

.product-body {
    padding: 18px;
}

.product-body h5 {
    margin: 0 0 6px;
    font-size: 11px;
    text-align: center;
}

.product-body h3 {
    margin: 0 0 6px;
    font-size: 18px;
    text-align: center;
}

.product-body p {
    font-size: 13px;
    margin: 10 0 15px;
}

.product-price {
    display: block;
    text-align: center;
    background: #fff;
    color: #000;
    text-decoration: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
}

.wa-link {
    display: block;
    text-align: center;
    background: var(--blue);
    color: #fff;
    text-decoration: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}


.empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px;
    background: var(--bg);
    border-radius: 16px;
    color: var(--muted);
}

/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .category-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

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

    .section-heading {
        display: block;
    }

    .section-heading > p {
        margin-top: 10px;
    }

    .contact-box {
        display: block;
    }

    .contact-box .btn {
        margin-top: 25px;
    }

    .main-nav {
        display: none;
        position: absolute;
        left: 4%;
        right: 4%;
        height: auto;
        top: 104px;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 15px;
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 12px;
    }

    .menu-toggle {
        display: block;
    }

    .about-section > .container {
        width: 92%;
    }
}

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

@media (max-width: 560px) {

    .hero {
        padding: 65px 0;
    }

    .hero h1 {
        letter-spacing: -1px;
    }

    .hero-card {
        padding: 22px;
    }

    .section {
        padding: 65px 0;
    }

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

    .product-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        display: block;
    }

    .footer-contact {
        margin-top: 25px;
    }

    .brand img {
        width: 160px;
        height: auto;
    }

    .brand {
        height: 104px;
    }
}

/* =========================
   TESTIMONIAL
========================= */
.testimonial-section { background: var(--bg); }
.testimonial-slider { position: relative; display: flex; align-items: center; gap: 14px; }
.testimonial-viewport { width: 100%; overflow: hidden; }
.testimonial-track { display: flex; transition: transform .35s ease; will-change: transform; }
.testimonial-card { flex: 0 0 33.333333%; padding: 28px; border: 1px solid var(--border); border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(21,91,151,.05); text-align: center; margin: 0 8px; }
.testimonial-stars { color: var(--blue); font-size: 18px; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-card p { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.testimonial-card strong { display: block; font-size: 14px; }
.testimonial-arrow { flex: 0 0 40px; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 50%; background: #fff; color: var(--blue); font-size: 20px; cursor: pointer; display: grid; place-items: center; transition: .2s; }
.testimonial-arrow:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.testimonial-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.testimonial-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #c7d8e6; cursor: pointer; }
.testimonial-dot.active { background: var(--blue); transform: scale(1.2); }
.testimonial-more { text-align: center; margin-top: 22px; }
.testimonial-more a { color: var(--blue); text-decoration: none; font-size: 14px; font-weight: 700; }
.testimonial-more a:hover { text-decoration: underline; }
@media (max-width: 560px) {
    .testimonial-slider { gap: 8px; }
    .testimonial-card { flex: 0 0 100%; margin: 0 4px; padding: 24px 20px; }
    .testimonial-arrow { flex: 0 0 34px; width: 34px; height: 34px; font-size: 17px; }
}


