/* ==========================================================================
   Rengganis Group — Company Profile
   Stylesheet mandiri (tidak bergantung pada build Tailwind / Vite)
   ========================================================================== */

:root {
    --navy: #1A3557;
    --navy-deep: #0E2038;
    --navy-darker: #0A1729;
    --gold: #C8960C;
    --gold-soft: #E3B93F;
    --gold-light: #F3D77A;
    --ivory: #FAF7F0;
    --text: #1E293B;
    --muted: #5B6474;
    --line: rgba(26, 53, 87, .10);
    --radius: 20px;
    --shadow: 0 30px 60px -25px rgba(14, 32, 56, .45);
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--ivory);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1024px) { .container { padding: 0 40px; } }

/* ---------- Typography helpers ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--gold);
}
.eyebrow::before { content: ''; width: 36px; height: 1px; background: currentColor; flex-shrink: 0; }
.eyebrow--center::after { content: ''; width: 36px; height: 1px; background: currentColor; flex-shrink: 0; }
.eyebrow--light { color: var(--gold-soft); }

.text-gold {
    background: linear-gradient(120deg, var(--gold-soft) 0%, var(--gold) 50%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section { position: relative; padding: 96px 0; overflow: hidden; }
@media (min-width: 1024px) { .section { padding: 128px 0; } }

.section-head { max-width: 640px; margin: 0 auto 64px; text-align: center; }
.section-title {
    margin-top: 18px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(34px, 4.4vw, 52px);
    line-height: 1.12;
    color: var(--navy);
}
.section-title--light { color: #fff; }
.section-lead { margin-top: 18px; font-size: 17px; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .02em;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .3s var(--ease), box-shadow .3s, background .3s, border-color .3s, color .3s;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--gold { background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: var(--navy-deep); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(200, 150, 12, .65); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, .10); border-color: #fff; transform: translateY(-2px); }
.btn--sm { padding: 11px 22px; font-size: 13px; }
.btn--sm svg { width: 16px; height: 16px; }

/* ---------- Icon box ---------- */
.icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: var(--navy);
    color: var(--gold-soft);
    transition: background .4s, color .4s;
}
.icon-box svg { width: 26px; height: 26px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    padding: 22px 0;
    transition: background .35s, padding .35s, box-shadow .35s;
}
.site-header.is-scrolled,
.site-header.is-open {
    padding: 14px 0;
    background: rgba(14, 32, 56, .94);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo-img {
    height: 58px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(200, 150, 12, .35));
    transition: transform .3s var(--ease);
}
.brand:hover .brand-logo-img { transform: scale(1.04); }
@media (max-width: 640px) {
    .brand-logo-img { height: 46px; }
}

.nav { display: none; align-items: center; gap: 36px; }
.nav a { position: relative; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .78); transition: color .25s; }
.nav a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -8px;
    width: 0; height: 2px;
    background: var(--gold-soft);
    transition: width .3s var(--ease);
}
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a:hover::after, .nav a.is-active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-cta { display: none; }

.nav-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 12px;
    background: transparent;
    color: #fff;
    cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.site-header.is-open .nav-toggle .icon-open { display: none; }
.site-header.is-open .nav-toggle .icon-close { display: block; }

.mobile-menu { display: none; padding-top: 14px; }
.site-header.is-open .mobile-menu { display: block; }
.menu-link {
    display: block;
    padding: 14px 2px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    font-weight: 500;
    color: rgba(255, 255, 255, .88);
}
.menu-link:hover { color: var(--gold-soft); }
.mobile-menu .btn { width: 100%; margin-top: 20px; margin-bottom: 6px; }

@media (min-width: 640px) { .header-cta { display: inline-flex; } }
@media (min-width: 1024px) {
    .nav { display: flex; }
    .nav-toggle { display: none; }
    .site-header.is-open .mobile-menu { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    display: flex;
    min-height: 100vh;
    min-height: 100svh;
    color: #fff;
    background: var(--navy-deep);
    overflow: hidden;
    isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s ease-in-out infinite alternate; }
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(10, 23, 41, .95) 0%, rgba(10, 23, 41, .80) 42%, rgba(10, 23, 41, .35) 100%),
        linear-gradient(180deg, rgba(10, 23, 41, .60) 0%, rgba(10, 23, 41, 0) 28%, rgba(10, 23, 41, 0) 60%, rgba(10, 23, 41, .92) 100%);
}
.hero-inner { flex: 1; display: flex; flex-direction: column; padding-top: 128px; padding-bottom: 36px; }
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 680px;
    padding-bottom: 56px;
}
.hero-title {
    margin-top: 24px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(44px, 6.2vw, 80px);
    line-height: 1.04;
}
.hero-title span { display: block; }
.hero-lead {
    margin-top: 28px;
    max-width: 580px;
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.8;
    color: rgba(255, 255, 255, .82);
}
.hero-lead strong { color: #fff; font-weight: 600; }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero-units {
    display: grid;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    background: rgba(10, 23, 41, .50);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    overflow: hidden;
}
.hero-unit { display: flex; align-items: center; gap: 14px; padding: 16px 20px; transition: background .3s; }
.hero-unit + .hero-unit { border-top: 1px solid rgba(255, 255, 255, .12); }
.hero-unit:hover { background: rgba(255, 255, 255, .06); }
.hero-unit .icon-box { width: 42px; height: 42px; border-radius: 12px; background: rgba(200, 150, 12, .18); }
.hero-unit .icon-box svg { width: 22px; height: 22px; }
.hero-unit-text { min-width: 0; }
.hero-unit-text strong { display: block; font-size: 15px; font-weight: 700; color: #fff; }
.hero-unit-text span { display: block; margin-top: 2px; font-size: 13px; color: rgba(255, 255, 255, .62); }
.hero-unit-arrow { margin-left: auto; width: 18px; height: 18px; flex-shrink: 0; color: rgba(255, 255, 255, .4); transition: transform .3s, color .3s; }
.hero-unit:hover .hero-unit-arrow { color: var(--gold-soft); transform: translateX(4px); }

@media (min-width: 768px) {
    .hero-units { grid-template-columns: repeat(3, 1fr); }
    .hero-unit { padding: 22px 24px; }
    .hero-unit + .hero-unit { border-top: 0; border-left: 1px solid rgba(255, 255, 255, .12); }
}

/* ==========================================================================
   About
   ========================================================================== */
.about-glow {
    position: absolute;
    top: -120px; right: -120px;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: rgba(200, 150, 12, .10);
    filter: blur(70px);
    pointer-events: none;
}
.about-grid { position: relative; display: grid; gap: 48px; }
.about-intro .section-title { margin-top: 18px; }
.gold-bar { width: 80px; height: 4px; margin-top: 32px; border-radius: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); }
.about-body > p { font-size: 17px; line-height: 1.85; color: var(--muted); }
.about-body > p + p { margin-top: 18px; }

.vm-grid { margin-top: 40px; display: grid; gap: 20px; }
.card {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(200, 150, 12, .4); box-shadow: 0 25px 45px -22px rgba(26, 53, 87, .35); }
.card h3 { margin-top: 20px; font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--navy); }
.card p { margin-top: 8px; font-size: 15px; line-height: 1.7; color: var(--muted); }

@media (min-width: 640px) { .vm-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
    .about-grid { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
}

/* ==========================================================================
   Business Units
   ========================================================================== */
.units { background: #fff; }
.unit { display: grid; gap: 48px; align-items: center; }
.unit + .unit { margin-top: 96px; }

.unit-media { position: relative; padding: 0 18px 18px 0; }
.unit-media::before {
    content: '';
    position: absolute;
    top: 18px; left: 18px; right: 0; bottom: 0;
    border: 1px solid var(--gold);
    border-radius: var(--radius);
    transition: transform .5s var(--ease);
}
.unit-media-img {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.unit-media-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.unit:hover .unit-media-img img { transform: scale(1.05); }
.unit:hover .unit-media::before { transform: translate(-6px, -6px); }
.unit-chip {
    position: absolute;
    left: 18px; bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(14, 32, 56, .78);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.unit-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.unit-head .icon-box {
    width: 56px; height: 56px; border-radius: 16px;
    background: linear-gradient(135deg, var(--navy), var(--navy-deep));
    box-shadow: 0 12px 24px -12px rgba(14, 32, 56, .6);
}
.unit-head .icon-box svg { width: 28px; height: 28px; }
.unit-num { font-size: 52px; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: rgba(200, 150, 12, .22); }
.unit-label { font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.unit-title {
    margin-top: 10px;
    font-family: var(--font-display);
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--navy);
}
.unit-desc { margin-top: 20px; font-size: 16.5px; line-height: 1.85; color: var(--muted); }
.unit-features { margin-top: 28px; display: grid; gap: 14px; }
.unit-features li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; font-weight: 500; color: #334155; }
.check {
    width: 22px; height: 22px;
    margin-top: 1px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(200, 150, 12, .14);
    color: var(--gold);
}
.check svg { width: 12px; height: 12px; }

@media (min-width: 1024px) {
    .unit { grid-template-columns: 1fr 1fr; gap: 88px; }
    .unit + .unit { margin-top: 128px; }
    .unit--reverse .unit-media { order: 2; }
}

/* ==========================================================================
   Values
   ========================================================================== */
.values { background: var(--navy-deep); isolation: isolate; }
.values::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .10) 1px, transparent 0);
    background-size: 28px 28px;
}
.values::after {
    content: '';
    position: absolute;
    top: -260px; left: 50%;
    width: 640px; height: 640px;
    transform: translateX(-50%);
    z-index: -1;
    border-radius: 50%;
    background: rgba(200, 150, 12, .12);
    filter: blur(90px);
}
.values-grid { display: grid; gap: 22px; }
.value-card {
    padding: 34px 28px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .04);
    transition: transform .4s var(--ease), background .4s, border-color .4s;
}
.value-card:hover { transform: translateY(-8px); background: rgba(255, 255, 255, .07); border-color: rgba(227, 185, 63, .55); }
.value-card .icon-box { background: rgba(200, 150, 12, .16); }
.value-card:hover .icon-box { background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: var(--navy-deep); }
.value-card h3 { margin-top: 24px; font-family: var(--font-display); font-size: 28px; font-weight: 700; color: #fff; }
.value-card p { margin-top: 10px; font-size: 15px; line-height: 1.75; color: rgba(255, 255, 255, .66); }

@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-card {
    position: relative;
    padding: 44px 24px;
    border-radius: 32px;
    background: linear-gradient(135deg, var(--navy), var(--navy-deep));
    box-shadow: 0 40px 80px -30px rgba(14, 32, 56, .55);
    overflow: hidden;
    isolation: isolate;
}
.contact-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .09) 1px, transparent 0);
    background-size: 28px 28px;
}
.contact-card::after {
    content: '';
    position: absolute;
    right: -140px; bottom: -140px;
    width: 420px; height: 420px;
    z-index: -1;
    border-radius: 50%;
    background: rgba(200, 150, 12, .22);
    filter: blur(80px);
}
.contact-grid { display: grid; gap: 48px; }
.contact-lead { margin-top: 22px; font-size: 17px; line-height: 1.8; color: rgba(255, 255, 255, .74); }
.contact-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.contact-list { display: grid; gap: 14px; }
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 18px;
    background: rgba(255, 255, 255, .05);
    transition: background .3s, border-color .3s;
}
.contact-item:hover { background: rgba(255, 255, 255, .09); border-color: rgba(227, 185, 63, .35); }
.contact-item .icon-box { width: 48px; height: 48px; border-radius: 13px; background: rgba(200, 150, 12, .18); }
.contact-item .icon-box svg { width: 24px; height: 24px; }
.contact-item small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-soft); }
.contact-item p { margin-top: 4px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .92); }

@media (min-width: 640px) { .contact-card { padding: 56px 48px; } }
@media (min-width: 1024px) {
    .contact-card { padding: 72px 64px; }
    .contact-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding: 56px 0 28px; background: var(--navy-darker); color: rgba(255, 255, 255, .6); }
.footer-top { display: flex; flex-direction: column; gap: 32px; }
.footer-tagline { margin-top: 6px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 14px; }
.footer-nav a { transition: color .25s; }
.footer-nav a:hover { color: var(--gold-soft); }
.footer-bottom {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .10);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    text-align: center;
}
.footer-bottom a:hover { color: var(--gold-soft); }

@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
@media (min-width: 900px) { .footer-top { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.rise { opacity: 0; animation: rise .9s var(--ease) forwards; }
.d1 { animation-delay: .10s; }
.d2 { animation-delay: .25s; }
.d3 { animation-delay: .40s; }
.d4 { animation-delay: .55s; }
.d5 { animation-delay: .70s; }

/* Reveal hanya aktif bila JS berjalan (kelas .js di <html>) */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s ease, transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-bg img, .rise { animation: none; opacity: 1; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
}
