:root {
  --primary: #0E3A66;
  --secondary: #2D7BD6;
  --text: #1f2b3d;
  --muted: #6b7a90;
  --surface: #f6f9fc;
  --light: #ffffff;
  --border: rgba(14, 58, 102, 0.12);
  --shadow: 0 18px 45px rgba(15, 34, 63, 0.13);
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Poppins', sans-serif; color: var(--text); line-height: 1.7; background: var(--light); }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
.container { width: min(1200px, calc(100% - 2rem)); margin: 0 auto; }
.section { padding: 3.2rem 0; }
.reveal { opacity: 0; transform: translateY(28px); transition: all 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.92); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,0.15); box-shadow: 0 8px 30px rgba(10, 24, 45, 0.08); }
.site-header.scrolled { box-shadow: 0 10px 30px rgba(10,24,45,0.12); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 0.8rem; font-weight: 700; color: var(--primary); }
.brand img { width: 46px; height: 46px; object-fit: cover; border-radius: 50%; }
.nav-menu { display: flex; gap: 1.4rem; align-items: center; }
.nav-link { padding: 0.55rem 0.9rem; border-radius: 999px; color: var(--text); transition: 0.25s ease; position: relative; }
.nav-link:hover, .nav-link.active { color: var(--secondary); background: rgba(45,123,214,0.1); }
.menu-toggle { display: none; background: transparent; border: 0; cursor: pointer; padding: 0.2rem; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--primary); margin: 5px 0; transition: 0.3s ease; }
.hero-section { position: relative; min-height: 88vh; display: grid; align-items: center; color: white; background: linear-gradient(120deg, rgba(14,58,102,0.85), rgba(45,123,214,0.75)), url('../images/hero.png') center/cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.28), transparent); }
.hero-content { position: relative; z-index: 1; max-width: 700px; padding: 4rem 0; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.86rem; font-weight: 600; color: var(--secondary); margin-bottom: 0.9rem; }
.hero-section .eyebrow { color: #cfe3ff; }
.hero-content h1 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.15; margin: 0 0 1rem; }
.hero-content p { font-size: 1.05rem; color: rgba(255,255,255,0.9); max-width: 650px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.8rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.9rem 1.35rem; border-radius: 999px; font-weight: 600; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--light); color: var(--primary); box-shadow: var(--shadow); }
.btn-secondary { background: transparent; color: var(--primary); border: 1px solid rgba(14, 58, 102, 0.2); }
.hero-section .btn-secondary { color: white; border-color: rgba(255,255,255,0.4); }
.products-section .btn-secondary { background: var(--primary); color: white; border-color: var(--primary); box-shadow: var(--shadow); }
.grid.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem; align-items: center; }
.about-image img, .profile-image img { width: 100%; height: auto; max-width: 100%; border-radius: 22px; box-shadow: var(--shadow); display: block; object-fit: contain; }
.about-copy h2, .section-heading h2, .profile-copy h2, .contact-card h2, .page-hero-content h1 { font-size: clamp(1.7rem, 2.8vw, 2.25rem); margin: 0 0 0.8rem; color: var(--primary); }
.about-copy p, .profile-copy p, .section-heading p, .feature-card p, .contact-card li, .page-hero-content p, .card-body p, .vision-mission p, .site-footer p, .site-footer li { color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.35rem; }
.card { background: var(--light); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.card:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 22px 55px rgba(15,34,63,0.16); }
.card img { height: 200px; object-fit: cover; transition: transform 0.35s ease; }
.card:hover img { transform: scale(1.06); }
.card-body { padding: 1.2rem 1.2rem 1.4rem; }
.card-body h3, .feature-card h3 { margin: 0 0 0.4rem; color: var(--primary); }
.cta-center { display: flex; justify-content: center; margin-top: 1.8rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery-item { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); cursor: pointer; }
.gallery-item img { width: 100%; height: auto; object-fit: cover; transition: transform 0.35s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.site-footer { background: linear-gradient(135deg, var(--primary), #12304f); color: white; padding: 4rem 0 1rem; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.footer-brand { color: white; }
.site-footer h3 { margin-top: 0; margin-bottom: 0.8rem; color: #dcefff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.site-footer a { color: #e8f3ff; }
.site-footer iframe { width: 100%; min-height: 180px; border: 0; border-radius: 12px; }
.footer-bottom { text-align: center; padding: 1.2rem 0 0; margin-top: 2rem; border-top: 1px solid rgba(255,255,255,0.15); }
.footer-bottom p { color: rgba(255,255,255,0.75); }
.page-hero { padding: 4rem 0 3rem; background: linear-gradient(120deg, rgba(14,58,102,0.95), rgba(45,123,214,0.82)); color: white; }
.page-hero-content { max-width: 760px; }
.page-hero-content .eyebrow { color: #cfe3ff; }
.page-hero-content h1, .page-hero-content p { color: white; }
.vision-mission { display: grid; gap: 1rem; margin-top: 1.2rem; }
.vision-mission article, .feature-card, .contact-card, .map-card { background: var(--light); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.feature-icon { font-size: 1.6rem; margin-bottom: 0.5rem; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.map-card iframe { min-height: 280px; width: 100%; border: 0; border-radius: 15px; }
.compro-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.compro-item img { border-radius: 5px; height: 100%; object-fit: cover; }
.wa-float { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 1200; width: 58px; height: 58px; border: 0; border-radius: 50%; background: linear-gradient(135deg, var(--secondary), #000000); color: white; font-size: 1.5rem; cursor: pointer; box-shadow: 0 16px 35px rgba(19,201,107,0.3); transition: transform 0.25s ease; display: grid; place-items: center; overflow: hidden; padding: 0; }
.wa-float img { width: 70%; height: 70%; object-fit: contain; }
.wa-float:hover { transform: scale(1.04); }
.wa-overlay { position: fixed; inset: 0; background: rgba(8, 18, 30, 0.45); opacity: 0; pointer-events: none; transition: 0.25s ease; z-index: 1100; }
.wa-overlay.is-active { opacity: 1; pointer-events: auto; }
.wa-popup { position: fixed; right: 1.2rem; bottom: 5.2rem; z-index: 1200; transform: translateY(20px); opacity: 0; pointer-events: none; transition: 0.25s ease; }
.wa-popup.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.wa-popup-card { width: min(280px, calc(100vw - 2rem)); padding: 1rem; background: white; border-radius: 20px; box-shadow: var(--shadow); position: relative; }
.wa-close { position: absolute; top: 0.6rem; right: 0.7rem; background: transparent; border: 0; font-size: 1.2rem; cursor: pointer; color: var(--muted); }
.wa-option { display: flex; align-items: center; gap: 0.75rem; padding: 0.8rem 0.9rem; margin-top: 0.6rem; border-radius: 12px; background: #f4f8fd; color: var(--primary); text-decoration: none; font-weight: 600; }
.wa-option img { width: 34px; height: 34px; object-fit: contain; }
.wa-option div { display: grid; line-height: 1.2; }
.wa-option div strong { display: block; font-size: 1rem; color: var(--text); }
.wa-option div span { font-size: 0.95rem; color: var(--muted); font-weight: 500; }
.lightbox { position: fixed; inset: 0; background: rgba(5, 12, 24, 0.9); display: flex; align-items: center; justify-content: center; padding: 2rem; z-index: 1400; opacity: 0; pointer-events: none; transition: 0.25s ease; }
.lightbox.is-active { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 85vh; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.25); }
.lightbox-close { position: absolute; top: 1.2rem; right: 1.2rem; background: white; border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 1.35rem; cursor: pointer; }

/* ===========================
   COMPANY PROFILE
=========================== */
.compro-section {
    padding: 0.5rem 0;
}
.compro-section .container {
    width: calc(100% - 2rem);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
.compro-grid {
    display: flex;
    flex-direction: column;
    gap: 0.3rem; /* Jarak antar gambar */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.compro-item {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    line-height: 0; /* Menghilangkan celah bawaan img */
}
.compro-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: contain;
}

/* ===========================
   TABLET
=========================== */
@media (max-width: 960px) {

    .compro-section {
        padding: 0.3rem 0;
    }
    .compro-grid {
        gap: 0.2rem;
    }
    .compro-item img {
        width: 100%;
        height: auto;
    }
}

/* ===========================
   MOBILE
=========================== */
@media (max-width: 480px) {
    .compro-section {
        padding: 0.2rem 0;
    }
    .compro-section .container {
        width: calc(100% - 1rem);
        padding: 0 .5rem;
    }
    .compro-grid {
        gap: 0.15rem;
    }
    .compro-item {
        margin: 0;
        padding: 0;
    }
    .compro-item img {
        width: 100%;
        height: auto;
        border-radius: 6px;
    }
}
