/* ============================================================
   PT SAWIT NUSANTARA JAYA — Stylesheet
   Tema: Hijau perkebunan sawit + aksen emas (buah sawit matang)
   ============================================================ */

/* ---------- Variabel & Reset ---------- */
:root {
    --green-dark: #1b3a1f;
    --green-primary: #2e7d32;
    --green-light: #66bb6a;
    --green-pale: #e8f5e9;
    --gold: #d4a017;
    --gold-light: #f0c419;
    --orange: #e65100;
    --cream: #fdfbf5;
    --white: #ffffff;
    --text-dark: #223322;
    --text-muted: #5f6f5f;
    --shadow-sm: 0 4px 14px rgba(27, 58, 31, 0.08);
    --shadow-md: 0 10px 30px rgba(27, 58, 31, 0.14);
    --radius: 16px;
    --font-body: 'Poppins', sans-serif;
    --font-display: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
    width: min(1180px, 92%);
    margin-inline: auto;
}

.section { padding: 96px 0; }
.section-alt { background: var(--green-pale); }

/* ---------- Tipografi Section ---------- */
.section-tag {
    display: inline-block;
    background: var(--green-pale);
    color: var(--green-primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 100px;
    border: 1px solid var(--green-light);
    margin-bottom: 16px;
}

.section-alt .section-tag { background: var(--white); }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.5vw, 2.6rem);
    color: var(--green-dark);
    line-height: 1.25;
    margin-bottom: 18px;
}

.section-desc {
    color: var(--text-muted);
    max-width: 640px;
}

.section-head {
    text-align: center;
    margin-bottom: 56px;
}

.section-head .section-desc { margin-inline: auto; }

/* ---------- Tombol ---------- */
.btn {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    color: var(--white);
    box-shadow: 0 8px 22px rgba(46, 125, 50, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(46, 125, 50, 0.45);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--white);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--green-dark);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--green-dark);
    box-shadow: 0 8px 22px rgba(212, 160, 23, 0.4);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 160, 23, 0.55);
}

.btn-full { width: 100%; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    padding: 0;
    background: #ffffff;
    border-bottom: 1px solid rgba(27, 58, 31, 0.08);
    box-shadow: none;
    transition: box-shadow 0.25s ease;
}

.navbar.scrolled,
.navbar.solid {
    background: #ffffff;
    backdrop-filter: none;
    box-shadow: 0 1px 0 rgba(27, 58, 31, 0.08);
    padding: 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 72px;
}

.navbar .container.nav-container {
    width: min(1320px, 96%);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    font-size: 1.05rem;
    color: var(--green-dark);
    transition: color 0.25s ease;
}

.navbar.scrolled .logo,
.navbar.solid .logo { color: var(--green-dark); }

.logo-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    border-radius: 12px;
    color: var(--gold-light);
    padding: 7px;
    overflow: hidden;
}

.logo-icon-img {
    background: none;
    padding: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(27, 58, 31, 0.08);
}

.logo-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.logo-icon svg { width: 100%; height: 100%; }

.logo-text { font-weight: 300; letter-spacing: 0.2px; color: var(--text-dark); }
.logo-text strong { font-weight: 700; color: var(--green-dark); }

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    gap: 2px;
    flex-wrap: nowrap;
}

.nav-link {
    padding: 10px 11px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #2f3a2f;
    border-radius: 0;
    white-space: nowrap;
    transition: color 0.2s ease;
    position: relative;
}

.navbar.scrolled .nav-link,
.navbar.solid .nav-link { color: #2f3a2f; }

.nav-link:hover,
.nav-link.active {
    color: var(--green-primary);
    background: transparent;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active,
.navbar.solid .nav-link:hover,
.navbar.solid .nav-link.active {
    color: var(--green-primary);
    background: transparent;
}

.nav-link::after,
.drop-toggle::after {
    content: '';
    position: absolute;
    left: 11px;
    right: 11px;
    bottom: 4px;
    height: 2px;
    background: var(--green-primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.nav-link:hover::after,
.nav-link.active::after,
.nav-item:hover > .drop-toggle::after,
.nav-item.open > .drop-toggle::after {
    transform: scaleX(1);
}

.btn-nav,
.nav-link-contact {
    background: transparent !important;
    color: #2f3a2f !important;
    font-weight: 500;
    margin-left: 0;
}

.btn-nav:hover,
.nav-link-contact:hover {
    background: transparent !important;
    color: var(--green-primary) !important;
    transform: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav-search-btn {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--green-primary);
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-search-btn svg {
    width: 20px;
    height: 20px;
}

.nav-search-btn:hover {
    background: transparent;
    border-color: transparent;
    color: var(--green-dark);
    transform: scale(1.06);
}

.navbar.scrolled .nav-search-btn,
.navbar.solid .nav-search-btn {
    border-color: transparent;
    background: transparent;
    color: var(--green-primary);
}

.navbar.scrolled .nav-search-btn:hover,
.navbar.solid .nav-search-btn:hover {
    background: transparent;
    border-color: transparent;
    color: var(--green-dark);
}

/* ---------- Search overlay ---------- */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: start center;
    padding: 100px 20px 40px;
    background: rgba(16, 40, 20, 0.55);
    backdrop-filter: blur(6px);
}

.search-overlay[hidden] {
    display: none !important;
}

.search-panel {
    width: min(640px, 100%);
    background: var(--white);
    border-radius: 18px;
    padding: 22px 24px 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    animation: searchIn 0.22s ease;
}

@keyframes searchIn {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

.search-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.search-panel-head h2 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--green-dark);
    margin: 0;
}

.search-close {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: var(--green-pale);
    color: var(--green-dark);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.search-close:hover {
    background: #dcefdc;
}

.search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.search-form-ico {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    pointer-events: none;
}

.search-form input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: 1.5px solid #dde5dd;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--cream);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-form input:focus {
    border-color: var(--green-primary);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

.search-results {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    max-height: 320px;
    overflow-y: auto;
}

.search-results li a {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 14px;
    border-radius: 10px;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.2s ease;
}

.search-results li a:hover,
.search-results li a.is-active {
    background: var(--green-pale);
}

.search-results strong {
    color: var(--green-dark);
    font-size: 0.95rem;
}

.search-results span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.search-empty {
    padding: 16px 8px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ---------- Toggle Bahasa ID/EN (dropdown style) ---------- */
.lang-switch {
    position: relative;
    display: flex;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    backdrop-filter: none;
}

.navbar.scrolled .lang-switch,
.navbar.solid .lang-switch {
    background: transparent;
    border-color: transparent;
}

.lang-current {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    color: #2f3a2f;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 6px;
    cursor: pointer;
}

.lang-current .drop-caret {
    font-size: 0.5rem;
    opacity: 0.7;
}

.lang-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 72px;
    background: #fff;
    border: 1px solid rgba(27, 58, 31, 0.1);
    box-shadow: 0 10px 28px rgba(20, 42, 23, 0.12);
    padding: 6px;
    z-index: 1300;
}

.lang-menu[hidden] {
    display: none !important;
}

.lang-btn {
    display: block;
    width: 100%;
    border: none;
    background: transparent;
    color: #2f3a2f;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 0;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease, color 0.2s ease;
}

.navbar.scrolled .lang-btn,
.navbar.solid .lang-btn { color: #2f3a2f; }

.lang-btn:hover,
.lang-btn.active {
    background: var(--green-pale);
    color: var(--green-primary);
}

.navbar.scrolled .lang-btn.active,
.navbar.solid .lang-btn.active {
    background: var(--green-pale);
    color: var(--green-primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1100;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: var(--green-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.navbar.scrolled .hamburger span,
.navbar.solid .hamburger span { background: var(--green-dark); }

.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--green-dark);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg .hero-video,
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg .hero-video {
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 70% 20%, rgba(240, 196, 25, 0.14), transparent 50%),
        linear-gradient(160deg, rgba(16, 40, 20, 0.9) 0%, rgba(27, 58, 31, 0.82) 45%, rgba(20, 48, 26, 0.88) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    animation: fadeUp 1s ease both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(36px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(240, 196, 25, 0.4);
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 22px;
    border-radius: 100px;
    margin-bottom: 26px;
    backdrop-filter: blur(6px);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 22px;
}

.text-gold {
    background: linear-gradient(120deg, var(--gold-light), #ffe082);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    max-width: 680px;
    margin: 0 auto 38px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.hero-scroll span {
    width: 4px;
    height: 9px;
    background: var(--gold-light);
    border-radius: 4px;
    animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
    0% { transform: translateY(0); opacity: 1; }
    70% { transform: translateY(14px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* ============================================================
   STATISTIK
   ============================================================ */
.stats {
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    padding: 56px 0;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--gold-light);
}

.stat-number::after {
    content: '+';
    font-size: 0.7em;
    color: rgba(255, 255, 255, 0.6);
}

.stat-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
    margin-top: 4px;
}

/* ============================================================
   TENTANG KAMI
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 64px;
    align-items: center;
}

.about-visual { position: relative; }

.about-img-main {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 6px solid var(--white);
}

.about-img-main img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-img-main:hover img { transform: scale(1.05); }

.about-card-float {
    position: absolute;
    bottom: -26px;
    right: -14px;
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-left: 5px solid var(--gold);
    animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-icon { font-size: 1.8rem; }
.about-card-float strong { color: var(--green-dark); font-size: 0.95rem; }
.about-card-float p { color: var(--text-muted); font-size: 0.8rem; }

.about-text p { color: var(--text-muted); margin-bottom: 22px; }
.about-text strong { color: var(--green-dark); }

.about-list {
    list-style: none;
    margin-bottom: 30px;
    display: grid;
    gap: 12px;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
}

.check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    background: var(--green-pale);
    color: var(--green-primary);
    font-weight: 700;
    border-radius: 50%;
    font-size: 0.8rem;
    margin-top: 2px;
}

.about-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.vision-box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--green-primary);
}

.vision-box:last-child { border-top-color: var(--gold); }

.vision-box h4 { color: var(--green-dark); margin-bottom: 8px; }
.vision-box p { font-size: 0.87rem; margin: 0; }

/* ============================================================
   ABOUT PANELS (horizontal tabs + dual images)
   ============================================================ */
.about-panels {
    margin-top: 0;
    padding: 0;
    border-top: none;
}

.about-panels-head { margin-bottom: 36px; }

.about-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 28px;
    overflow: visible;
    padding-bottom: 0;
}

.about-tab {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 18px 20px;
    border: 1.5px solid rgba(46, 125, 50, 0.18);
    border-radius: 16px;
    background: var(--white);
    color: var(--green-dark);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    box-shadow: 0 2px 10px rgba(27, 58, 31, 0.04);
}

.about-tab .tab-year {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--gold);
}

.about-tab:hover {
    border-color: var(--green-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.about-tab.active {
    background: linear-gradient(145deg, var(--green-primary), var(--green-dark));
    border-color: transparent;
    color: var(--white);
    box-shadow: 0 12px 28px rgba(46, 125, 50, 0.32);
    transform: translateY(-2px);
}

.about-tab.active .tab-year { color: var(--gold-light); }

.about-panel-stage {
    position: relative;
    min-height: 0;
}

.about-panel {
    display: none;
    grid-template-columns: 1.05fr 1fr;
    gap: 40px;
    align-items: center;
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 16px 40px rgba(27, 58, 31, 0.1);
    border: 1px solid rgba(46, 125, 50, 0.08);
    animation: panelIn 0.4s ease;
    overflow: visible;
    position: relative;
}

.about-panel::before {
    content: '';
    position: absolute;
    left: 0;
    top: 24px;
    bottom: 24px;
    width: 5px;
    border-radius: 0 6px 6px 0;
    background: linear-gradient(180deg, var(--gold-light), var(--green-primary));
}

.about-panel.active { display: grid; }

@keyframes panelIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.panel-copy h3 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    color: var(--green-dark);
    line-height: 1.3;
    margin-bottom: 14px;
}

.panel-copy > p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.75;
}

.panel-points {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
}

.panel-points li {
    position: relative;
    padding-left: 24px;
    color: var(--text-dark);
    font-size: 0.92rem;
    line-height: 1.5;
}

.panel-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.2);
}

.panel-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: stretch;
    padding: 24px 0;
}

.panel-photo {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    box-shadow: var(--shadow-sm);
    margin: 0 !important;
}

.panel-photo:first-child {
    transform: translateY(20px);
}

.panel-photo:last-child {
    transform: translateY(-20px);
}

.panel-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.panel-photo:hover img { transform: scale(1.06); }

.panel-photo figcaption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 32px 14px 14px;
    background: linear-gradient(transparent, rgba(20, 42, 23, 0.88));
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Timeline horizontal — redesigned */
.about-milestones {
    margin-top: 64px;
    padding: 40px 28px 32px;
    background: var(--white);
    border-radius: 24px;
    border: 1px solid rgba(46, 125, 50, 0.1);
    box-shadow: 0 12px 36px rgba(27, 58, 31, 0.06);
    overflow: visible;
}

.milestones-head {
    text-align: center;
    margin-bottom: 44px;
}

.milestones-title {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    color: var(--green-dark);
    margin: 10px 0 8px;
}

.milestones-desc {
    max-width: 560px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.milestone-track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    position: relative;
    padding-top: 28px;
    min-width: 0;
}

.milestone-track::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 8%;
    right: 8%;
    height: 3px;
    background: linear-gradient(90deg, var(--green-light), var(--gold-light), var(--green-primary));
    border-radius: 4px;
    z-index: 0;
}

.milestone-card {
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, #f7fbf7 0%, var(--white) 55%);
    border: 1px solid rgba(46, 125, 50, 0.12);
    border-radius: 18px;
    padding: 36px 16px 22px;
    text-align: center;
    transition: all 0.35s ease;
    box-shadow: 0 6px 18px rgba(27, 58, 31, 0.05);
}

.milestone-dot {
    position: absolute;
    top: -24px;
    left: 50%;
    width: 18px;
    height: 18px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: var(--white);
    border: 4px solid var(--green-primary);
    box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.15);
    z-index: 2;
}

.milestone-card:nth-child(even) .milestone-dot {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.18);
}

.milestone-ico {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    border-radius: 14px;
    background: var(--green-pale);
    font-size: 1.35rem;
    border: 1px solid rgba(46, 125, 50, 0.12);
    transition: all 0.3s ease;
}

.milestone-year {
    display: inline-block;
    background: var(--green-dark);
    color: var(--gold-light);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    padding: 5px 16px;
    border-radius: 100px;
    margin-bottom: 10px;
}

.milestone-card h4 {
    color: var(--green-dark);
    font-size: 0.98rem;
    margin-bottom: 6px;
    font-weight: 700;
}

.milestone-card p {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin: 0;
    line-height: 1.5;
}

.milestone-card:hover {
    transform: translateY(-8px);
    border-color: var(--green-light);
    box-shadow: 0 16px 32px rgba(46, 125, 50, 0.14);
}

.milestone-card:hover .milestone-ico {
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    transform: scale(1.06);
}

.milestone-card:hover .milestone-dot {
    background: var(--gold-light);
    border-color: var(--green-dark);
}

/* Halaman tentang-kami khusus */
body[data-page="about"] {
    background: var(--cream);
}

body[data-page="about"] .page-hero {
    min-height: 300px;
    padding: 130px 0 48px;
}

body[data-page="about"] .about-intro {
    padding-top: 72px;
    padding-bottom: 40px;
}

body[data-page="about"] .about-foundations {
    background: linear-gradient(180deg, #eef6ee 0%, var(--cream) 100%);
    padding: 64px 0 80px;
    border-top: 1px solid rgba(46, 125, 50, 0.1);
}

body[data-page="about"] .page-footer-simple {
    background: #142a17;
    padding: 26px 0;
    text-align: center;
}

body[data-page="about"] .page-footer-simple p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
}

/* ============================================================
   LAYANAN
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 34px 28px;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--green-light), var(--green-primary));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--green-pale);
}

.service-card:hover::before { transform: scaleY(1); }

.service-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    font-size: 1.9rem;
    background: linear-gradient(135deg, var(--green-pale), #f1f8e9);
    border-radius: 18px;
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--green-dark);
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================================
   PRODUK
   ============================================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.product-img {
    position: relative;
    height: 170px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.product-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.product-card:hover .product-img img { transform: scale(1.08); }

.product-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 42, 23, 0.15), rgba(20, 42, 23, 0.55));
}

.product-img span {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.product-body { padding: 24px 22px; }

.product-body h3 {
    color: var(--green-dark);
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.product-body p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 14px;
}

.product-tag {
    display: inline-block;
    background: var(--green-pale);
    color: var(--green-primary);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 100px;
}

a.product-card {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

a.product-card .product-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

a.product-card .pd-card-more {
    margin-top: 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--green-primary);
}

a.product-card:hover .pd-card-more {
    color: var(--gold);
}

.btn-outline-green {
    border: 2px solid var(--green-primary);
    color: var(--green-primary);
    background: transparent;
}

.btn-outline-green:hover {
    background: var(--green-primary);
    color: var(--white);
}

/* ============================================================
   PROSES
   ============================================================ */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 62px;
    left: 8%;
    right: 8%;
    height: 3px;
    background: repeating-linear-gradient(90deg, var(--green-light) 0 10px, transparent 10px 20px);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-visual {
    position: relative;
    width: 124px;
    height: 124px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 4px solid var(--white);
    outline: 3px solid var(--green-primary);
    overflow: visible;
    box-shadow: var(--shadow-md);
    transition: all 0.35s ease;
}

.step-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.4s ease;
}

.step-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--green-dark);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.process-step:hover .step-visual {
    outline-color: var(--gold);
    transform: translateY(-6px);
}

.process-step:hover .step-visual img { transform: scale(1.12); }

.process-step h3 {
    color: var(--green-dark);
    font-size: 1rem;
    margin-bottom: 8px;
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ============================================================
   GALERI
   ============================================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
    transition: transform 0.35s ease;
}

.gallery-item:hover { transform: scale(1.025); }

.gallery-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.g-1 { grid-row: span 2; }
.g-6 { grid-column: span 2; }

.gallery-item figcaption {
    width: 100%;
    padding: 16px 20px;
    background: linear-gradient(transparent, rgba(20, 40, 22, 0.85));
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.gallery-page {
    background:
        radial-gradient(ellipse 50% 40% at 100% 0%, rgba(46, 125, 50, 0.05), transparent 55%),
        var(--cream);
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 0 0 32px;
}

.gallery-filter {
    border: 1.5px solid rgba(46, 125, 50, 0.2);
    background: var(--white);
    color: var(--green-dark);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.22s ease;
}

.gallery-filter:hover {
    border-color: var(--green-primary);
    color: var(--green-primary);
}

.gallery-filter.active {
    background: var(--green-primary);
    border-color: var(--green-primary);
    color: var(--white);
}

.gallery-page-grid .gallery-item.is-hidden {
    display: none;
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(240, 196, 25, 0.15), transparent 55%),
        linear-gradient(135deg, var(--green-dark), var(--green-primary));
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    color: var(--white);
    margin-bottom: 14px;
}

.cta p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 560px;
    margin: 0 auto 32px;
}

/* ============================================================
   KONTAK
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.contact-list {
    list-style: none;
    display: grid;
    gap: 24px;
    margin-top: 32px;
}

.contact-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    background: var(--green-pale);
    border-radius: 14px;
    font-size: 1.3rem;
}

.contact-list strong { color: var(--green-dark); display: block; }
.contact-list p { color: var(--text-muted); font-size: 0.9rem; }

.contact-form {
    background: var(--white);
    border-radius: var(--radius);
    padding: 38px;
    box-shadow: var(--shadow-md);
    border-top: 5px solid var(--green-primary);
}

.contact-form h3 {
    font-family: var(--font-display);
    color: var(--green-dark);
    font-size: 1.4rem;
    margin-bottom: 24px;
}

/* Video profil di kontak */
.contact-video {
    margin-top: 72px;
    max-width: 920px;
}

.contact-video-head {
    text-align: center;
    margin-bottom: 28px;
}

.contact-video-head .section-desc {
    margin-left: auto;
    margin-right: auto;
}

.video-profile {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    background: #0f1a12;
    box-shadow: var(--shadow-md);
}

.video-profile.is-playing .video-profile-poster {
    display: none;
}

.video-profile-poster {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    display: grid;
    place-items: center;
    background: #111;
}

.video-profile-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-profile-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 26, 18, 0.35) 0%, rgba(15, 26, 18, 0.55) 45%, rgba(15, 26, 18, 0.72) 100%);
}

.video-profile-brand {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 10px;
    text-align: center;
    color: var(--white);
    padding: 0 24px;
    transform: translateY(-8px);
}

.video-profile-logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--green-primary);
    display: grid;
    place-items: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.video-profile-logo svg {
    width: 34px;
    height: 34px;
}

.video-profile-name {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    letter-spacing: 0.02em;
}

.video-profile-name strong {
    color: var(--gold);
    font-weight: 700;
}

.video-profile-tagline {
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.88);
    max-width: 360px;
}

.video-play-btn {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 58%;
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease, filter 0.25s ease;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
}

.video-profile-poster:hover .video-play-btn,
.video-profile-poster:focus-visible .video-play-btn {
    transform: translate(-50%, -50%) scale(1.08);
}

.video-profile-frame {
    position: absolute;
    inset: 0;
}

.video-profile-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.video-youtube-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    padding: 8px 16px;
    border-radius: 999px;
    background: #f3f3f3;
    color: #222;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.contact-video {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-youtube-link::before {
    content: '';
    width: 18px;
    height: 14px;
    background: #f00;
    border-radius: 4px;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M23.5 6.2a3 3 0 0 0-2.1-2.1C19.5 3.5 12 3.5 12 3.5s-7.5 0-9.4.6A3 3 0 0 0 .5 6.2 31.5 31.5 0 0 0 0 12a31.5 31.5 0 0 0 .5 5.8 3 3 0 0 0 2.1 2.1c1.9.6 9.4.6 9.4.6s7.5 0 9.4-.6a3 3 0 0 0 2.1-2.1A31.5 31.5 0 0 0 24 12a31.5 31.5 0 0 0-.5-5.8zM9.8 15.5v-7l6.3 3.5-6.3 3.5z'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M23.5 6.2a3 3 0 0 0-2.1-2.1C19.5 3.5 12 3.5 12 3.5s-7.5 0-9.4.6A3 3 0 0 0 .5 6.2 31.5 31.5 0 0 0 0 12a31.5 31.5 0 0 0 .5 5.8 3 3 0 0 0 2.1 2.1c1.9.6 9.4.6 9.4.6s7.5 0 9.4-.6a3 3 0 0 0 2.1-2.1A31.5 31.5 0 0 0 24 12a31.5 31.5 0 0 0-.5-5.8zM9.8 15.5v-7l6.3 3.5-6.3 3.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.video-youtube-link:hover {
    background: #e8e8e8;
    color: #111;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--green-dark);
    margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #dde5dd;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text-dark);
    background: var(--cream);
    transition: all 0.25s ease;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.12);
}

.form-success {
    display: none;
    margin-top: 16px;
    padding: 12px 18px;
    background: var(--green-pale);
    color: var(--green-primary);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 10px;
    text-align: center;
}

.form-success.show { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: #142a17;
    color: rgba(255, 255, 255, 0.75);
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 44px;
    padding-bottom: 50px;
}

.logo-footer { color: var(--white); margin-bottom: 18px; }

.footer-brand p {
    font-size: 0.88rem;
    margin-bottom: 22px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.25s ease;
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--green-dark);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--gold-light);
    font-size: 1rem;
    margin-bottom: 18px;
}

.footer-col a {
    display: block;
    font-size: 0.88rem;
    padding: 5px 0;
    transition: all 0.2s ease;
}

.footer-col a:hover {
    color: var(--gold-light);
    padding-left: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 22px 0;
    text-align: center;
    font-size: 0.83rem;
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--green-dark);
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all 0.3s ease;
    z-index: 900;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover { transform: translateY(-4px); }

/* ---------- Animasi Reveal on Scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .process-timeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
    .process-timeline::before { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1180px) {
    .hamburger { display: flex; }
    .logo-text { display: none; }

    .nav-menu {
        position: fixed;
        inset: 0;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        padding: 88px 24px 40px;
        background: #ffffff;
        backdrop-filter: none;
        transform: translateX(100%);
        transition: transform 0.35s ease;
        overflow-y: auto;
        z-index: 999;
        flex: none;
    }

    .nav-menu.open { transform: translateX(0); }

    .nav-menu .nav-link,
    .nav-menu .drop-toggle {
        color: #2f3a2f !important;
        font-size: 1rem;
        width: 100%;
        justify-content: space-between;
        padding: 14px 4px;
        border-bottom: 1px solid rgba(27, 58, 31, 0.08);
    }

    .nav-menu .nav-link::after,
    .nav-menu .drop-toggle::after {
        display: none;
    }

    .mega-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        border: none;
        padding: 4px 0 4px 8px;
        display: none;
        min-width: 0;
        max-width: none;
        width: 100%;
    }

    .mega-menu::before { display: none; }
    .nav-item.open .mega-menu { display: grid; }
    .mega-menu-col { border: none; padding: 0; }
    .mega-label { color: var(--green-primary); }
    .mega-link { color: #2f3a2f; white-space: normal; }
    .mega-link:hover,
    .mega-link.active {
        background: var(--green-pale);
        color: var(--green-primary);
    }
    .mega-ico {
        background: var(--green-pale);
        border-color: rgba(46, 125, 50, 0.2);
        color: var(--green-primary);
    }
    .hamburger { position: relative; z-index: 1001; }
}

@media (max-width: 860px) {
    .section { padding: 70px 0; }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-video {
        margin-top: 48px;
    }

    .video-profile-logo {
        width: 52px;
        height: 52px;
    }

    .video-profile-logo svg {
        width: 28px;
        height: 28px;
    }

    .video-play-btn {
        top: 62%;
    }

    .video-play-btn svg {
        width: 56px;
        height: 40px;
    }

    .about-card-float { right: 8px; }

    .about-panel {
        grid-template-columns: 1fr;
        padding: 24px;
    }

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

    .milestone-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 16px;
        padding-top: 12px;
    }

    .milestone-track::before { display: none; }

    .milestone-dot { display: none; }

    .panel-photo:first-child,
    .panel-photo:last-child {
        transform: none !important;
        margin: 0 !important;
    }

    .panel-photos {
        grid-template-columns: 1fr 1fr;
    }

    .panel-photo { aspect-ratio: 4 / 3; }

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

    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .g-6 { grid-column: span 1; }
}

@media (max-width: 560px) {
    .services-grid,
    .products-grid,
    .gallery-grid { grid-template-columns: 1fr; }

    .g-1 { grid-row: span 1; }

    .process-timeline { grid-template-columns: 1fr; }

    .about-vision { grid-template-columns: 1fr; }

    .about-tabs { grid-template-columns: 1fr; }

    .milestone-track { grid-template-columns: 1fr; }

    .about-milestones { padding: 28px 18px; }

    .panel-photos { grid-template-columns: 1fr; }

    .form-row { grid-template-columns: 1fr; }

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

    .contact-form { padding: 26px 20px; }

    .hero-buttons .btn { width: 100%; }

    .drop-toggle { color: #2f3a2f; }
    .navbar.scrolled .drop-toggle,
    .navbar.solid .drop-toggle { color: #2f3a2f; }
}

/* ============================================================
   MEGA DROPDOWN MENU
   ============================================================ */
.nav-item {
    position: relative;
}

.drop-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    padding: 10px 11px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #2f3a2f;
    border-radius: 0;
    transition: color 0.2s ease;
    position: relative;
    white-space: nowrap;
}

.navbar.scrolled .drop-toggle,
.navbar.solid .drop-toggle { color: #2f3a2f; }

.drop-toggle:hover,
.nav-item.open .drop-toggle,
.nav-item:hover .drop-toggle {
    color: var(--green-primary);
}

.navbar.scrolled .drop-toggle:hover,
.navbar.scrolled .nav-item.open .drop-toggle,
.navbar.scrolled .nav-item:hover .drop-toggle,
.navbar.solid .drop-toggle:hover,
.navbar.solid .nav-item.open .drop-toggle,
.navbar.solid .nav-item:hover .drop-toggle {
    color: var(--green-primary);
    background: transparent;
}

.drop-toggle.active {
    color: var(--green-primary);
    background: transparent;
}

.navbar:not(.scrolled):not(.solid) .drop-toggle.active {
    color: var(--green-primary);
    background: transparent;
}

.drop-caret {
    display: inline-block;
    font-size: 0.55rem;
    line-height: 1;
    transition: transform 0.25s ease;
    opacity: 0.75;
    margin-left: 2px;
    transform-origin: center;
}

.nav-item.open .drop-caret,
.nav-item:hover .drop-caret { transform: rotate(180deg); }

.mega-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 260px;
    width: max-content;
    max-width: min(340px, 90vw);
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(46, 125, 50, 0.12);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(20, 42, 23, 0.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1200;
}

/* Jembatan hover agar dropdown tidak hilang saat mouse turun */
.mega-menu::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
}

.navbar:not(.scrolled):not(.solid) .mega-menu {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(46, 125, 50, 0.12);
}

.nav-item.open .mega-menu,
.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.mega-menu-col {
    display: grid;
    gap: 2px;
}

.mega-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--gold);
    margin: 2px 0 8px;
    padding: 0 10px;
}

.mega-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.mega-link:hover,
.mega-link.active {
    background: var(--green-pale);
    color: var(--green-primary);
}

.mega-ico {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1.5px solid var(--green-light);
    background: var(--green-pale);
    font-size: 0.9rem;
    color: var(--green-primary);
}

.mega-link:hover .mega-ico,
.mega-link.active .mega-ico {
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    border-color: transparent;
    color: var(--gold-light);
}

/* Navbar solid (halaman dalam) — flat corporate white */
.navbar.solid {
    background: #ffffff;
    backdrop-filter: none;
    box-shadow: 0 1px 0 rgba(27, 58, 31, 0.08);
    padding: 0;
}

.navbar.solid .logo { color: var(--green-dark); }
.navbar.solid .nav-link { color: #2f3a2f; }
.navbar.solid .hamburger span { background: var(--green-dark); }
.navbar.solid .lang-switch {
    background: transparent;
    border-color: transparent;
}
.navbar.solid .lang-btn { color: #2f3a2f; }
.navbar.solid .lang-btn.active {
    background: var(--green-pale);
    color: var(--green-primary);
}

/* ============================================================
   INNER PAGE LAYOUTS
   ============================================================ */
.page-hero {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
    padding: 140px 0 56px;
    overflow: hidden;
    background: var(--green-dark);
}

.page-hero-bg {
    position: absolute;
    inset: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(16, 40, 20, 0.92), rgba(27, 58, 31, 0.75));
}

.page-hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.breadcrumb a { color: var(--gold-light); }
.breadcrumb a:hover { text-decoration: underline; }

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 1.2;
}

.page-hero p {
    max-width: 640px;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.82);
}

/* Profil perusahaan */
.profile-hero .profile-hero-eyebrow {
    display: inline-block;
    margin: 0 0 10px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--gold-light);
}

.profile-page {
    background:
        radial-gradient(ellipse 70% 50% at 0% 0%, rgba(46, 125, 50, 0.06), transparent 60%),
        radial-gradient(ellipse 50% 40% at 100% 20%, rgba(212, 160, 23, 0.07), transparent 55%),
        var(--cream);
}

.profile-intro {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 72px;
    max-width: none;
    color: var(--text-muted);
}

.profile-intro-copy p {
    margin-bottom: 16px;
    line-height: 1.75;
}

.profile-intro-copy p:last-child {
    margin-bottom: 0;
}

.profile-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(46, 125, 50, 0.12);
    border: 1px solid rgba(46, 125, 50, 0.12);
    border-radius: 4px;
    overflow: hidden;
}

.profile-fact {
    background: var(--white);
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.profile-fact-num {
    font-family: var(--font-display);
    font-size: 1.85rem;
    line-height: 1;
    color: var(--green-dark);
}

.profile-fact-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.profile-split {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 56px;
    align-items: start;
}

.profile-block-title {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    color: var(--green-dark);
    margin: 8px 0 28px;
    line-height: 1.25;
}

.strategy-rail {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
    border-left: 2px solid rgba(212, 160, 23, 0.45);
}

.strategy-rail li {
    position: relative;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    padding: 0 0 28px 22px;
}

.strategy-rail li:last-child {
    padding-bottom: 0;
}

.strategy-rail li::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px var(--cream);
}

.strategy-num {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1.3;
}

.strategy-rail p {
    margin: 0;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.65;
}

.why-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
}

.why-grid li {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid rgba(27, 58, 31, 0.1);
}

.why-grid li:last-child {
    border-bottom: 1px solid rgba(27, 58, 31, 0.1);
}

.why-index {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--green-primary);
    padding-top: 2px;
}

.why-grid strong {
    display: block;
    color: var(--green-dark);
    font-size: 1.02rem;
    margin-bottom: 6px;
}

.why-grid p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.profile-cta-band {
    position: relative;
    overflow: hidden;
    padding: 72px 0;
    color: var(--white);
}

.profile-cta-band-bg {
    position: absolute;
    inset: 0;
}

.profile-cta-band-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-cta-band-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(16, 40, 20, 0.92) 0%, rgba(27, 58, 31, 0.78) 55%, rgba(27, 58, 31, 0.65) 100%);
}

.profile-cta-band-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

.profile-cta-band h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    margin: 0 0 10px;
    max-width: 520px;
}

.profile-cta-band p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    max-width: 480px;
}

/* Legacy profile hooks (kept for safety) */
.profile-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: start;
}

.profile-list {
    list-style: none;
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.profile-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.profile-list .arrow {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--green-primary);
    color: var(--white);
    font-size: 0.75rem;
    margin-top: 2px;
}

.invest-list {
    list-style: none;
    display: grid;
    gap: 18px;
}

.invest-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid rgba(27, 58, 31, 0.1);
}

.invest-ico {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    color: var(--gold-light);
    font-size: 1.3rem;
}

.invest-item strong {
    display: block;
    color: var(--green-dark);
    margin-bottom: 4px;
}

.invest-item p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.profile-cta {
    margin-top: 48px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.profile-cta .cta-arrow {
    font-size: 1.8rem;
    color: var(--green-dark);
}

/* Bioenergi */
.bio-lead {
    font-size: 1.35rem;
    color: var(--green-dark);
    max-width: 760px;
    margin-bottom: 18px;
    line-height: 1.45;
}

.bio-lead span { color: var(--gold); font-weight: 700; }

.bio-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

.bio-stat-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 18px;
    align-items: center;
    background: var(--white);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--green-primary);
}

.bio-stat-card:last-child { border-top-color: var(--gold); }

.bio-stat-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 14px;
}

.bio-stat-card .num {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--green-primary);
    line-height: 1.1;
}

.bio-stat-card p {
    margin: 6px 0 0;
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Sertifikasi */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.cert-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(46, 125, 50, 0.1);
    transition: all 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.cert-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.cert-card-body { padding: 22px; }

.cert-badge {
    display: inline-block;
    background: var(--green-pale);
    color: var(--green-primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 10px;
}

.cert-card h3 {
    color: var(--green-dark);
    margin-bottom: 8px;
}

.cert-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Berita & Media */
.news-page {
    background:
        radial-gradient(ellipse 50% 40% at 0% 0%, rgba(46, 125, 50, 0.05), transparent 55%),
        var(--cream);
}

.news-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.news-main .section-head {
    margin-bottom: 28px;
}

.news-featured {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 0;
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 28px;
    min-height: 320px;
}

.news-featured-media {
    display: block;
    position: relative;
    min-height: 280px;
    overflow: hidden;
}

.news-featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.news-featured:hover .news-featured-media img {
    transform: scale(1.04);
}

.news-featured-body {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-featured-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.news-featured-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--green-dark);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    padding: 5px 12px;
    border-radius: 100px;
}

.news-featured h3 {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    color: var(--green-dark);
    line-height: 1.3;
    margin: 0 0 12px;
}

.news-featured h3 a {
    color: inherit;
    text-decoration: none;
}

.news-featured h3 a:hover {
    color: var(--green-primary);
}

.news-featured p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0 0 22px;
}

.news-featured .btn {
    align-self: flex-start;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.news-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.news-card-media {
    position: relative;
    display: block;
    overflow: hidden;
}

.news-card-media img,
.news-card > img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.news-card:hover .news-card-media img {
    transform: scale(1.05);
}

.news-cat {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--green-primary);
    background: var(--green-pale);
    padding: 4px 10px;
    border-radius: 100px;
}

.news-card-media .news-cat {
    position: absolute;
    left: 14px;
    top: 14px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--green-dark);
}

.news-cat-on-dark {
    background: rgba(240, 196, 25, 0.18);
    color: var(--gold-light);
    margin-bottom: 12px;
}

.news-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.news-date {
    font-size: 0.78rem;
    color: var(--gold);
    font-weight: 600;
}

.news-views {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.news-meta-on-dark {
    color: rgba(255, 255, 255, 0.8);
}

.news-meta-on-dark .news-date,
.news-meta-on-dark span {
    color: rgba(255, 255, 255, 0.82);
}

.news-card h3 {
    color: var(--green-dark);
    font-size: 1.05rem;
    margin-bottom: 10px;
    line-height: 1.35;
}

.news-card h3 a {
    color: inherit;
    text-decoration: none;
}

.news-card h3 a:hover {
    color: var(--green-primary);
}

.news-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    flex: 1;
}

.news-read-more {
    margin-top: 16px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--green-primary);
    text-decoration: none;
}

.news-read-more:hover {
    color: var(--gold);
}

.news-card .btn {
    margin-top: 16px;
    align-self: flex-start;
    padding: 10px 22px;
    font-size: 0.85rem;
}

.news-sidebar {
    display: grid;
    gap: 20px;
    position: sticky;
    top: 100px;
}

.news-side-block {
    background: var(--white);
    border: 1px solid rgba(46, 125, 50, 0.1);
    border-radius: 16px;
    padding: 22px;
}

.news-side-block h3 {
    font-family: var(--font-display);
    color: var(--green-dark);
    font-size: 1.15rem;
    margin: 0 0 16px;
}

.news-side-list {
    display: grid;
    gap: 14px;
}

.news-side-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    align-items: start;
}

.news-side-item img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
}

.news-side-item .news-cat {
    margin-bottom: 4px;
}

.news-side-item strong {
    display: block;
    font-size: 0.84rem;
    color: var(--green-dark);
    line-height: 1.35;
    margin-bottom: 4px;
}

.news-side-item:hover strong {
    color: var(--green-primary);
}

.news-side-item em {
    font-style: normal;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.news-trending {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.news-trending li {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 10px;
    align-items: start;
}

.news-trend-rank {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--gold);
    font-size: 1.05rem;
    line-height: 1.2;
}

.news-trending a {
    text-decoration: none;
    color: inherit;
}

.news-trending strong {
    display: block;
    font-size: 0.88rem;
    color: var(--green-dark);
    line-height: 1.35;
    margin-bottom: 4px;
}

.news-trending a:hover strong {
    color: var(--green-primary);
}

.news-trending em {
    font-style: normal;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.news-cat-list {
    display: grid;
    gap: 8px;
}

.news-cat-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--cream);
    color: var(--green-dark);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.news-cat-list a span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--green-primary);
    background: var(--green-pale);
    padding: 2px 8px;
    border-radius: 100px;
}

.news-cat-list a:hover {
    background: var(--green-pale);
    color: var(--green-primary);
}

/* Detail berita */
.news-detail-section {
    background: var(--cream);
}

.news-detail-layout {
    display: grid;
    grid-template-columns: 1.35fr 0.75fr;
    gap: 40px;
    align-items: start;
}

.news-article {
    background: var(--white);
    border-radius: 18px;
    padding: 36px;
    box-shadow: var(--shadow-sm);
}

.news-article-cover {
    margin: -36px -36px 28px;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #1b3a1f;
}

.news-article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-lead {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0 0 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(27, 58, 31, 0.1);
}

.news-article > p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.8;
    margin: 0 0 18px;
}

.news-article-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(27, 58, 31, 0.1);
}

/* Produk page */
.product-detail-grid {
    display: grid;
    gap: 36px;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 36px;
    align-items: center;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.product-detail:nth-child(even) .product-detail-img { order: 2; }

.product-detail-img {
    min-height: 280px;
    height: 100%;
}

.product-detail-img img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.product-detail-body { padding: 32px; }

.product-detail-body h3 {
    font-family: var(--font-display);
    color: var(--green-dark);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.product-detail-body p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* Halaman detail produk tunggal */
.pd-hero .pd-hero-code {
    display: inline-block;
    margin: 0 0 8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-light);
}

.pd-hero-tag {
    margin-top: 18px;
    background: rgba(255, 255, 255, 0.14);
    color: var(--gold-light);
}

.pd-section {
    background:
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(46, 125, 50, 0.06), transparent 55%),
        var(--cream);
}

.pd-layout {
    display: grid;
    grid-template-columns: 1.35fr 0.75fr;
    gap: 48px;
    align-items: start;
}

.pd-lead {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
    margin: 0 0 28px;
}

.pd-visual {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 36px;
    aspect-ratio: 16 / 9;
}

.pd-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-subtitle {
    font-family: var(--font-display);
    color: var(--green-dark);
    font-size: 1.35rem;
    margin: 0 0 18px;
}

.pd-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(46, 125, 50, 0.12);
    border: 1px solid rgba(46, 125, 50, 0.12);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 40px;
}

.pd-spec {
    background: var(--white);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pd-spec span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.pd-spec strong {
    color: var(--green-dark);
    font-size: 0.98rem;
}

.pd-process {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: grid;
    gap: 14px;
}

.pd-process li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.pd-step-num {
    flex-shrink: 0;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--gold);
    font-size: 1rem;
    min-width: 28px;
}

.pd-aside {
    display: grid;
    gap: 20px;
    position: sticky;
    top: 100px;
}

.pd-aside-block {
    background: var(--white);
    border: 1px solid rgba(46, 125, 50, 0.1);
    border-radius: 16px;
    padding: 24px;
}

.pd-aside-block h3 {
    font-family: var(--font-display);
    color: var(--green-dark);
    font-size: 1.15rem;
    margin: 0 0 14px;
}

.pd-apps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.pd-apps li {
    position: relative;
    padding-left: 18px;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

.pd-apps li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green-primary);
}

.pd-aside-cta p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0 0 18px;
    line-height: 1.55;
}

.pd-related {
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid rgba(27, 58, 31, 0.1);
}

.pd-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.pd-related-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    background: var(--white);
    border: 1px solid rgba(46, 125, 50, 0.12);
    border-radius: 12px;
    color: var(--green-dark);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.pd-related-card:hover {
    border-color: var(--green-primary);
    background: var(--green-pale);
    transform: translateY(-2px);
}

.pd-related-arrow {
    color: var(--gold);
    font-size: 1.1rem;
}

@media (max-width: 1024px) {
    .pd-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .pd-aside {
        position: static;
    }

    .pd-related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .pd-specs {
        grid-template-columns: 1fr;
    }

    .news-article {
        padding: 22px;
    }

    .news-article-cover {
        margin: -22px -22px 20px;
        border-radius: 18px 18px 0 0;
    }
}

/* About teaser di homepage */
.about-teaser-cta {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .profile-grid,
    .bio-stats,
    .cert-grid,
    .product-detail { grid-template-columns: 1fr; }

    .profile-intro,
    .profile-split {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .profile-cta-band {
        padding: 56px 0;
    }

    .profile-cta-band-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .product-detail:nth-child(even) .product-detail-img { order: 0; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }

    .news-layout,
    .news-detail-layout {
        grid-template-columns: 1fr;
    }

    .news-featured {
        grid-template-columns: 1fr;
    }

    .news-featured-media {
        min-height: 220px;
        aspect-ratio: 16 / 9;
    }

    .news-sidebar {
        position: static;
    }
}

@media (max-width: 560px) {
    .news-grid { grid-template-columns: 1fr; }
    .bio-stat-card { grid-template-columns: 1fr; }
}

/* ---------- Karir / Work with Us ---------- */
.career-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 36px;
}

.career-card {
    background: var(--white);
    border: 1px solid rgba(27, 58, 31, 0.08);
    padding: 28px 24px;
}

.career-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--green-dark);
    margin-bottom: 10px;
}

.career-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 16px;
}

.career-loc {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--green-primary);
    background: var(--green-pale);
    padding: 6px 12px;
}

.career-apply-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.career-points {
    list-style: none;
    margin: 24px 0 18px;
    padding: 0;
}

.career-points li {
    position: relative;
    padding: 10px 0 10px 28px;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(27, 58, 31, 0.08);
}

.career-points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green-primary);
    font-weight: 700;
}

.career-hr-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.career-crosslink {
    margin-top: 22px;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.career-crosslink a {
    color: var(--green-primary);
    font-weight: 600;
    text-decoration: underline;
}

@media (max-width: 860px) {
    .career-grid,
    .career-apply-layout {
        grid-template-columns: 1fr;
    }
}

/* ---------- Presence map (About Us) ---------- */
.presence {
    background: #fff;
    padding-top: 88px;
    padding-bottom: 96px;
}

.presence-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.presence-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--green-dark);
    margin-bottom: 14px;
}

.presence-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.presence-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.presence-stat {
    text-align: left;
}

.presence-stat strong {
    display: block;
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--green-dark);
    line-height: 1.1;
}

.presence-stat span {
    display: block;
    margin-top: 4px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.presence-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 36px;
    align-items: start;
}

.presence-cats {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 12px;
}

.presence-cat {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
    padding: 11px 8px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 500;
    color: #8a9a8c;
    cursor: pointer;
    transition: color 0.2s ease;
}

.presence-cat-arrow {
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid #c2d0c4;
    flex-shrink: 0;
}

.presence-cat:hover {
    color: var(--green-primary);
}

.presence-cat:hover .presence-cat-arrow {
    border-left-color: var(--green-primary);
}

.presence-cat.active {
    color: var(--green-primary);
    font-weight: 700;
}

.presence-cat.active .presence-cat-arrow {
    border-left-color: var(--green-primary);
}

.presence-map-wrap {
    min-width: 0;
}

.presence-map {
    position: relative;
    width: 100%;
    aspect-ratio: 1000 / 420;
    background: #f4f7f4;
    border: 1px solid rgba(27, 58, 31, 0.08);
    overflow: hidden;
}

.presence-map-img {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    pointer-events: none;
}

.presence-map-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.presence-map-svg .indo-land {
    fill: #d7ead9;
    stroke: #6fa878;
    stroke-width: 1.5;
}

.presence-markers {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.presence-pin {
    position: absolute;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    border: 2px solid #fff;
    padding: 0;
    border-radius: 50%;
    background: var(--green-primary);
    box-shadow: 0 6px 16px rgba(27, 58, 31, 0.25);
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 0.68rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    z-index: 2;
    animation: pinIn 0.35s ease both;
}

.presence-pin:hover,
.presence-pin:focus-visible,
.presence-pin.is-active {
    transform: translate(-50%, -50%) scale(1.14);
    background: var(--green-dark);
    box-shadow: 0 10px 22px rgba(27, 58, 31, 0.3);
    outline: none;
    z-index: 4;
}

.presence-pin.is-pulse::after {
    content: '';
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 2px solid rgba(46, 125, 50, 0.4);
    animation: pinPulse 1.6s ease-out infinite;
}

@keyframes pinIn {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes pinPulse {
    to { transform: scale(1.55); opacity: 0; }
}

.presence-tooltip {
    position: absolute;
    z-index: 6;
    min-width: 190px;
    max-width: 260px;
    background: #fff;
    border: 1px solid rgba(27, 58, 31, 0.12);
    box-shadow: 0 14px 36px rgba(20, 42, 23, 0.16);
    padding: 12px 14px;
    pointer-events: none;
    transform: translate(-50%, calc(-100% - 16px));
}

.presence-tooltip[hidden] {
    display: none !important;
}

.presence-tooltip strong {
    display: block;
    font-size: 0.88rem;
    color: var(--green-dark);
    margin-bottom: 4px;
}

.presence-tooltip span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.presence-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.presence-list-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid rgba(27, 58, 31, 0.08);
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.presence-list-item:hover,
.presence-list-item.is-active {
    border-color: var(--green-primary);
    background: var(--green-pale);
}

.presence-list-code {
    flex-shrink: 0;
    min-width: 40px;
    height: 28px;
    display: grid;
    place-items: center;
    background: var(--green-primary);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    border-radius: 999px;
}

.presence-list-item strong {
    display: block;
    font-size: 0.86rem;
    color: var(--green-dark);
    margin-bottom: 2px;
}

.presence-list-item span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.presence-map-note {
    margin-top: 14px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .presence-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .presence-cats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        padding-top: 0;
    }

    .presence-cat {
        width: auto;
        border: 1px solid rgba(27, 58, 31, 0.1);
        padding: 8px 12px;
        background: #fff;
    }

    .presence-cat.active {
        border-color: var(--green-primary);
        background: var(--green-pale);
    }
}

/* ---------- Page transition: pohon sawit tumbuh ---------- */
.page-transition {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    background:
        radial-gradient(ellipse at 50% 70%, rgba(46, 125, 50, 0.35), transparent 55%),
        linear-gradient(160deg, #1b3a1f 0%, #143018 55%, #0f2412 100%);
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.page-transition.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.page-transition-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}

.page-transition-mark {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    background: #1b3a1f;
    transform-origin: 50% 100%;
    transform: scaleY(0.15) scaleX(0.55);
    opacity: 0;
}

.page-transition.is-growing .page-transition-mark {
    animation: palmGrowUp 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.page-transition-mark img,
.page-transition-mark svg {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.page-transition-label {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(240, 196, 25, 0.92);
    opacity: 0;
    transform: translateY(10px);
}

.page-transition.is-growing .page-transition-label {
    animation: palmLabelIn 0.5s ease 0.45s forwards;
}

@keyframes palmGrowUp {
    0% {
        transform: scaleY(0.12) scaleX(0.5);
        opacity: 0;
        filter: blur(2px);
    }
    55% {
        transform: scaleY(1.08) scaleX(0.96);
        opacity: 1;
        filter: blur(0);
    }
    78% {
        transform: scaleY(0.96) scaleX(1.02);
    }
    100% {
        transform: scaleY(1) scaleX(1);
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes palmLabelIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-transition-mark,
    .page-transition-label {
        animation: none !important;
        opacity: 1;
        transform: none;
        filter: none;
    }
}
