/* ==========================================================================
   Andikarya — website publik
   ========================================================================== */
:root {
    --ink: #13161b;
    --ink-2: #1b1f26;
    --ink-3: #252a33;
    --paper: #f6f3ed;
    --paper-2: #ece6db;
    --white: #ffffff;
    --brass: #b08d57;
    --brass-2: #cfb07b;
    --brass-ink: #8a6a37;
    --muted: #6d7078;
    --muted-dark: #9a9ea6;
    --line: rgba(19, 22, 27, .12);
    --line-dark: rgba(255, 255, 255, .12);
    --serif: "Cormorant Garamond", "Times New Roman", serif;
    --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
    --wrap: 1240px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; background: var(--paper); color: var(--ink);
    font: 400 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--brass); color: var(--white); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.serif { font-family: var(--serif); }
.eyebrow {
    display: inline-flex; align-items: center; gap: 14px;
    font: 600 11.5px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--brass-ink);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.dark .eyebrow, .eyebrow.light { color: var(--brass-2); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.06; margin: 0; letter-spacing: -.01em; }
h2.title { font-size: clamp(38px, 5.2vw, 64px); margin-top: 22px; }
h2.title em, h1 em { font-style: italic; color: var(--brass); }
.dark h2.title em { color: var(--brass-2); }
.lead { font-size: 18px; color: var(--muted); max-width: 560px; }
.dark .lead { color: var(--muted-dark); }

/* ---------- Tombol ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    height: 54px; padding: 0 30px; border: 1px solid transparent; border-radius: 0;
    font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
    cursor: pointer; transition: all .35s var(--ease); white-space: nowrap;
}
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn.brass { background: var(--brass); color: var(--white); }
.btn.brass:hover { background: var(--brass-ink); }
.btn.ghost { border-color: rgba(255, 255, 255, .4); color: var(--white); }
.btn.ghost:hover { background: var(--white); color: var(--ink); }
.btn.dark { background: var(--ink); color: var(--white); }
.btn.dark:hover { background: var(--brass); }
.btn.line { border-color: var(--ink); color: var(--ink); }
.btn.line:hover { background: var(--ink); color: var(--white); }
.btn.sm { height: 44px; padding: 0 22px; font-size: 11.5px; }

/* ---------- Navigasi ---------- */
.nav {
    position: fixed; inset: 0 0 auto; z-index: 50; color: var(--white);
    transition: background .4s var(--ease), color .4s, box-shadow .4s, transform .4s;
}
.nav .bar { display: flex; align-items: center; gap: 40px; height: 92px; transition: height .4s var(--ease); }
.nav.solid, .nav.light { background: rgba(246, 243, 237, .94); color: var(--ink); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.solid .bar { height: 74px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand svg { width: 38px; height: 38px; color: var(--brass); }
.nav:not(.solid):not(.light) .brand svg { color: var(--brass-2); }
.brand-name { font: 600 21px/1 var(--serif); letter-spacing: .2em; text-transform: uppercase; }
.brand-sub { font: 500 9.5px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; opacity: .6; margin-top: 6px; }
.nav .links { display: flex; gap: 34px; margin-left: auto; }
.nav .links a { font: 500 13px/1 var(--sans); letter-spacing: .08em; position: relative; padding: 8px 0; opacity: .85; transition: opacity .3s; }
.nav .links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav .links a:hover, .nav .links a.on { opacity: 1; }
.nav .links a:hover::after, .nav .links a.on::after { transform: scaleX(1); transform-origin: left; }
.nav .cta { margin-left: 8px; }
.nav:not(.solid):not(.light) .cta { background: transparent; border-color: rgba(255, 255, 255, .45); }
.nav:not(.solid):not(.light) .cta:hover { background: var(--brass); border-color: var(--brass); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .35s var(--ease), opacity .3s; }
.nav.open .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; color: var(--white); background: var(--ink); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 14s var(--ease) forwards; }
.hero-media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(13, 15, 19, .92) 0%, rgba(13, 15, 19, .62) 48%, rgba(13, 15, 19, .25) 100%),
                linear-gradient(0deg, rgba(13, 15, 19, .85) 0%, transparent 40%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-grid { position: absolute; inset: 0; pointer-events: none; }
.hero-grid span { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, .06); }
.hero-body { position: relative; flex: 1; display: flex; align-items: center; padding: 124px 0 44px; }
.hero h1 { font-size: clamp(48px, 7vw, 96px); line-height: .98; max-width: 900px; margin: 24px 0 26px; }
.hero h1 em { color: var(--brass-2); }
.hero p.sub { font-size: 18px; color: rgba(255, 255, 255, .72); max-width: 540px; margin: 0 0 36px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-foot { position: relative; border-top: 1px solid var(--line-dark); }
.hero-foot .wrap { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr) 1.3fr; }
.hero-stat { padding: 30px 0 34px; border-right: 1px solid var(--line-dark); padding-left: 28px; }
.hero-stat:first-child { padding-left: 0; }
.hero-stat b { display: block; font: 500 44px/1 var(--serif); color: var(--white); }
.hero-stat span { display: block; margin-top: 10px; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.hero-loc { padding: 30px 0 34px 28px; display: flex; flex-direction: column; justify-content: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.hero-loc strong { font: 500 15px/1.3 var(--sans); color: var(--white); letter-spacing: .04em; }
.scroll-cue { position: absolute; right: 28px; bottom: 150px; writing-mode: vertical-rl; font-size: 10.5px; letter-spacing: .4em; text-transform: uppercase; color: rgba(255, 255, 255, .5); display: flex; align-items: center; gap: 16px; }
.scroll-cue::after { content: ""; width: 1px; height: 70px; background: linear-gradient(var(--brass-2), transparent); animation: cue 2.4s infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Section umum ---------- */
section { position: relative; }
.sec { padding: 140px 0; }
.sec.dark { background: var(--ink); color: var(--white); }
.sec.sand { background: var(--paper-2); }
.sec-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: end; margin-bottom: 76px; }
.sec-head .lead { margin: 0; justify-self: end; }
.num { font: 500 13px/1 var(--sans); letter-spacing: .2em; color: var(--brass); }

/* ---------- Tentang ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.about-media { position: relative; padding: 0 0 60px 60px; }
.about-media::before { content: ""; position: absolute; left: 0; bottom: 0; width: 72%; height: 78%; border: 1px solid var(--brass); }
.about-media .main { position: relative; aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about-media .badge {
    position: absolute; left: 0; bottom: 0; background: var(--ink); color: var(--white); padding: 30px 34px; max-width: 260px;
}
.about-media .badge b { display: block; font: 500 54px/1 var(--serif); color: var(--brass-2); }
.about-media .badge span { font-size: 13px; color: rgba(255, 255, 255, .7); line-height: 1.5; display: block; margin-top: 8px; }
.about-copy p { color: var(--muted); font-size: 16.5px; }
.about-copy .quote { font: italic 500 27px/1.35 var(--serif); color: var(--ink); margin: 30px 0; padding-left: 26px; border-left: 2px solid var(--brass); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 34px; margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--line); }
.values div b { display: block; font: 600 15px/1.3 var(--sans); margin-bottom: 6px; }
.values div span { font-size: 14px; color: var(--muted); line-height: 1.6; display: block; }
.values svg { width: 26px; height: 26px; color: var(--brass); margin-bottom: 14px; }

/* ---------- Layanan ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.service {
    position: relative; padding: 48px 40px 44px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
    overflow: hidden; min-height: 360px; display: flex; flex-direction: column; isolation: isolate;
}
.service .bg { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .6s var(--ease); }
.service .bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 1.2s var(--ease); }
.service .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 22, 27, .55), rgba(19, 22, 27, .92)); }
.service:hover .bg { opacity: 1; }
.service:hover .bg img { transform: scale(1); }
.service .n { font: 500 14px/1 var(--sans); letter-spacing: .2em; color: var(--brass-2); }
.service h3 { font-size: 32px; margin: 70px 0 16px; }
.service p { color: var(--muted-dark); font-size: 15px; margin: 0; transition: color .4s; }
.service:hover p { color: rgba(255, 255, 255, .85); }
.service ul { list-style: none; padding: 0; margin: auto 0 0; padding-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.service li { font-size: 11.5px; letter-spacing: .06em; padding: 6px 12px; border: 1px solid var(--line-dark); color: rgba(255, 255, 255, .7); }

/* ---------- Proyek ---------- */
.projects { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px; }
.project-card { grid-column: span 4; display: block; }
.projects .project-card:nth-child(1) { grid-column: span 7; }
.projects .project-card:nth-child(2) { grid-column: span 5; }
.projects .project-card:nth-child(1) .pc-img, .projects .project-card:nth-child(2) .pc-img { aspect-ratio: 4/3.2; }
/* Jumlah proyek unggulan bervariasi: hindari baris yang menyisakan ruang kosong */
.projects:has(> :nth-child(4):last-child) .project-card:nth-child(n+3) { grid-column: span 6; }
.projects:has(> :nth-child(3):last-child) .project-card:nth-child(3) { grid-column: span 12; }
.projects:has(> :nth-child(3):last-child) .project-card:nth-child(3) .pc-img { aspect-ratio: 21/8; }
.projects > .project-card:only-child { grid-column: span 12; }
.pc-img { position: relative; overflow: hidden; aspect-ratio: 4/3.4; background: var(--paper-2); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.project-card:hover .pc-img img { transform: scale(1.06); }
.pc-img .tag {
    position: absolute; left: 18px; top: 18px; background: rgba(246, 243, 237, .95); color: var(--ink);
    font: 600 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 9px 13px;
}
.pc-img .tag.live { background: var(--brass); color: var(--white); }
.pc-img .tag.live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #fff; margin-right: 8px; vertical-align: 1px; animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.pc-body { padding: 22px 0 0; display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.pc-body h3 { font-size: 27px; line-height: 1.15; transition: color .3s; }
.project-card:hover h3 { color: var(--brass-ink); }
.pc-meta { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 9px; }
.pc-arrow { flex: none; width: 46px; height: 46px; border: 1px solid var(--line); display: grid; place-items: center; transition: all .4s var(--ease); }
.project-card:hover .pc-arrow { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pc-progress { margin-top: 14px; display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); }
.pc-progress i { flex: 1; height: 2px; background: var(--line); position: relative; max-width: 180px; }
.pc-progress i b { position: absolute; inset: 0 auto 0 0; background: var(--brass); }
.center-cta { text-align: center; margin-top: 70px; }

/* ---------- Transparansi ---------- */
.monitor { display: grid; grid-template-columns: 1fr 1.05fr; gap: 90px; align-items: center; }
.monitor-points { margin: 40px 0 44px; display: grid; gap: 0; }
.monitor-points div { display: grid; grid-template-columns: 54px 1fr; gap: 6px 18px; padding: 22px 0; border-top: 1px solid var(--line-dark); }
.monitor-points div:last-child { border-bottom: 1px solid var(--line-dark); }
.monitor-points .n { grid-row: span 2; font: 500 30px/1 var(--serif); color: var(--brass-2); }
.monitor-points b { font-weight: 600; font-size: 16px; }
.monitor-points span { color: var(--muted-dark); font-size: 14.5px; }
.track-form { display: flex; max-width: 470px; border: 1px solid rgba(255, 255, 255, .25); }
.track-form input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 0 20px; height: 56px; color: var(--white); outline: none; letter-spacing: .12em; font-size: 14px; }
.track-form input::placeholder { color: rgba(255, 255, 255, .4); letter-spacing: .04em; }
.track-form .btn { height: 56px; }
.field-error { color: #f0a58f; font-size: 13px; margin-top: 10px; }

.device { position: relative; background: var(--ink-2); border: 1px solid var(--line-dark); padding: 26px; box-shadow: 0 40px 80px rgba(0, 0, 0, .35); }
.device::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid rgba(207, 176, 123, .35); z-index: -1; }
.device-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line-dark); }
.device-head small { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-2); }
.device-head h4 { margin: 8px 0 0; font: 500 24px/1.15 var(--serif); }
.device-pct { font: 500 52px/1 var(--serif); color: var(--brass-2); }
.device-bar { height: 4px; background: rgba(255, 255, 255, .08); margin: 20px 0 6px; position: relative; overflow: hidden; }
.device-bar b { position: absolute; inset: 0 auto 0 0; width: 64%; background: linear-gradient(90deg, var(--brass), var(--brass-2)); }
.device-bar s { position: absolute; top: -3px; bottom: -3px; width: 2px; left: 58%; background: rgba(255, 255, 255, .6); }
.device-legend { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted-dark); }
.device-feed { margin-top: 22px; display: grid; gap: 14px; }
.device-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; align-items: center; padding: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line-dark); }
.device-item img { width: 76px; height: 58px; object-fit: cover; }
.device-item b { display: block; font-size: 14px; font-weight: 600; }
.device-item span { font-size: 12px; color: var(--muted-dark); }
.device-item em { font: normal 600 13px/1 var(--sans); color: var(--brass-2); }

/* ---------- Proses ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 31px; height: 1px; background: var(--line); }
.step { position: relative; padding-right: 30px; }
.step .dot { width: 62px; height: 62px; border: 1px solid var(--brass); border-radius: 50%; display: grid; place-items: center; background: var(--paper); font: 500 22px/1 var(--serif); color: var(--brass-ink); transition: all .4s var(--ease); }
.step:hover .dot { background: var(--ink); color: var(--brass-2); border-color: var(--ink); }
.step h3 { font-size: 26px; margin: 30px 0 12px; }
.step p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------- Wilayah ---------- */
.regions { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.region-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.region-list li { display: flex; align-items: baseline; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); font: 500 30px/1.1 var(--serif); transition: padding .4s var(--ease), color .3s; }
.region-list li:hover { padding-left: 14px; color: var(--brass-ink); }
.region-list li small { font: 500 12px/1 var(--sans); letter-spacing: .2em; color: var(--brass); }
.region-list li span { margin-left: auto; font: 500 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.map-card { position: relative; aspect-ratio: 4/3; background: var(--ink); color: var(--white); overflow: hidden; }
.map-card svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-card .label { position: absolute; right: 30px; bottom: 26px; text-align: right; }
.map-card .label b { display: block; font: 500 40px/1 var(--serif); }
.map-card .label span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-2); }

/* ---------- Konsultasi / kontak ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; background: var(--white); box-shadow: 0 30px 80px rgba(19, 22, 27, .08); }
.contact-info { background: var(--ink); color: var(--white); padding: 64px 54px; position: relative; overflow: hidden; }
.contact-info::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 320px; height: 320px; border: 1px solid rgba(207, 176, 123, .25); border-radius: 50%; }
.contact-info h2 { font-size: 46px; margin: 22px 0 18px; }
.contact-info p { color: var(--muted-dark); margin: 0 0 40px; }
.info-row { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line-dark); }
.info-row svg { width: 20px; height: 20px; color: var(--brass-2); margin-top: 3px; }
.info-row small { display: block; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .45); margin-bottom: 4px; }
.info-row span { font-size: 15px; }
.info-row .soon { color: rgba(255, 255, 255, .45); font-style: italic; }
.contact-form { padding: 64px 58px; }
.contact-form h3 { font-size: 34px; margin-bottom: 8px; }
.contact-form > p { color: var(--muted); margin: 0 0 34px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.form-grid .full { grid-column: 1 / -1; }
.fld label { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.fld input, .fld select, .fld textarea {
    width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 10px 0 12px; outline: none;
    font-size: 16px; transition: border-color .3s; border-radius: 0; appearance: none;
}
.fld select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23b08d57' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") right 4px center no-repeat; }
.fld textarea { resize: vertical; min-height: 110px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--brass); }
.fld .err { color: #b4532a; font-size: 12.5px; margin-top: 6px; }
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 36px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); font-size: 13px; max-width: 300px; }
.notice { padding: 18px 22px; background: #eef3ea; border-left: 3px solid #5b7f4a; color: #33502a; margin-bottom: 28px; font-size: 14.5px; }

/* ---------- CTA band ---------- */
.band { position: relative; padding: 120px 0; color: var(--white); background: var(--ink); overflow: hidden; text-align: center; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.band .wrap { position: relative; }
.band h2 { font-size: clamp(38px, 5.5vw, 72px); max-width: 900px; margin: 22px auto 40px; }
.band h2 em { font-style: italic; color: var(--brass-2); }

/* ---------- Footer ---------- */
.foot { background: #0e1014; color: rgba(255, 255, 255, .62); padding: 90px 0 0; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 60px; padding-bottom: 70px; }
.foot .brand { color: var(--white); margin-bottom: 24px; }
.foot h5 { margin: 0 0 22px; font: 600 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--brass-2); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.foot a:hover { color: var(--white); }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 26px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12.5px; letter-spacing: .04em; }

/* ---------- Halaman dalam ---------- */
.page-hero { position: relative; padding: 190px 0 90px; background: var(--ink); color: var(--white); overflow: hidden; }
.page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(44px, 6.4vw, 86px); margin-top: 22px; max-width: 900px; }
.page-hero h1 em, .detail-hero h1 em { color: var(--brass-2); }
.page-hero p { color: rgba(255, 255, 255, .7); max-width: 580px; font-size: 17px; margin: 24px 0 0; }
.crumbs { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.crumbs a:hover { color: var(--brass-2); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 56px; }
.filters a { padding: 11px 20px; border: 1px solid var(--line); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; transition: all .3s; }
.filters a:hover { border-color: var(--ink); }
.filters a.on { background: var(--ink); color: var(--white); border-color: var(--ink); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 28px; }
.grid-3 .project-card { grid-column: auto; }
.empty { text-align: center; padding: 80px 20px; color: var(--muted); border: 1px dashed var(--line); }

.pager { display: flex; justify-content: center; gap: 8px; margin-top: 64px; }
.pager a, .pager span { min-width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); font-size: 14px; padding: 0 14px; }
.pager .on { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pager .off { opacity: .35; }

.detail-hero { position: relative; height: 82vh; min-height: 560px; color: var(--white); background: var(--ink); display: flex; align-items: flex-end; }
.detail-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13, 15, 19, .92), rgba(13, 15, 19, .2) 60%, rgba(13, 15, 19, .45)); }
.detail-hero .wrap { position: relative; z-index: 1; padding-bottom: 70px; }
.detail-hero h1 { font-size: clamp(42px, 6vw, 84px); max-width: 980px; margin-top: 20px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 90px; }
.facts div { padding: 32px 28px; border-right: 1px solid var(--line); }
.facts div:first-child { padding-left: 0; }
.facts div:last-child { border-right: 0; }
.facts small { display: block; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.facts b { font: 500 25px/1.2 var(--serif); }
.detail-body { display: grid; grid-template-columns: 1fr 1.6fr; gap: 90px; }
.detail-body p { color: var(--muted); font-size: 17px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.gallery a { display: block; overflow: hidden; aspect-ratio: 1; background: var(--paper-2); }
.gallery a:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery a:hover img { transform: scale(1.05); }

/* ---------- Pantau progres (klien) ---------- */
.track-wrap { max-width: 980px; }
.track-summary { background: var(--white); padding: 44px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; margin-top: -70px; position: relative; box-shadow: 0 30px 70px rgba(19, 22, 27, .1); }
.track-summary .pct { font: 500 84px/1 var(--serif); color: var(--brass-ink); text-align: right; }
.track-summary .pct small { display: block; font: 600 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.tbar { height: 6px; background: var(--paper-2); position: relative; margin-top: 22px; }
.tbar b { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--brass-ink), var(--brass-2)); }
.tbar s { position: absolute; top: -5px; bottom: -5px; width: 2px; background: var(--ink); }
.kv { display: flex; flex-wrap: wrap; gap: 10px 34px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.kv b { color: var(--ink); font-weight: 600; }
.timeline { margin-top: 80px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 0; width: 1px; background: var(--line); }
.tl-item { position: relative; padding-left: 50px; padding-bottom: 56px; }
.tl-item::before { content: ""; position: absolute; left: 0; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: 2px solid var(--brass); }
.tl-item:first-child::before { background: var(--brass); box-shadow: 0 0 0 6px rgba(176, 141, 87, .18); }
.tl-date { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-ink); font-weight: 600; }
.tl-item h3 { font-size: 30px; margin: 10px 0 8px; display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap; }
.tl-item h3 span { font: 600 13px/1 var(--sans); padding: 6px 10px; background: var(--ink); color: var(--brass-2); letter-spacing: .06em; }
.tl-item p { color: var(--muted); margin: 0 0 18px; max-width: 700px; }
.tl-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.tl-photos a { aspect-ratio: 4/3; overflow: hidden; display: block; background: var(--paper-2); }
.tl-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tl-photos a:hover img { transform: scale(1.06); }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(10, 11, 14, .95); display: none; align-items: center; justify-content: center; padding: 40px; }
.lb.open { display: flex; }
.lb img { max-width: 100%; max-height: 86vh; object-fit: contain; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 24px; text-align: center; color: rgba(255, 255, 255, .75); font-size: 14px; padding: 0 20px; }
.lb button { position: absolute; background: none; border: 1px solid rgba(255, 255, 255, .25); color: #fff; width: 52px; height: 52px; cursor: pointer; font-size: 22px; transition: background .3s; }
.lb button:hover { background: var(--brass); border-color: var(--brass); }
.lb .x { top: 24px; right: 24px; }
.lb .prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb .next { right: 24px; top: 50%; transform: translateY(-50%); }

/* Animasi muncul */
.rv { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; } .rv.d2 { transition-delay: .2s; } .rv.d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
    .rv { opacity: 1; transform: none; }
    .hero-media img { animation: none; transform: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Responsif ---------- */
@media (max-width: 1100px) {
    .nav .links { gap: 24px; }
    .hero-foot .wrap { grid-template-columns: repeat(var(--n, 4), 1fr); }
    .hero-loc { display: none; }
    .about, .monitor, .regions { gap: 60px; }
    .services { grid-template-columns: 1fr 1fr; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
    .nav .links, .nav .cta { display: none; }
    .burger { display: block; }
    .nav.open { background: var(--ink); color: var(--white); }
    .nav.open .links {
        display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 100%;
        background: var(--ink); padding: 10px 28px 30px; margin: 0;
    }
    .nav.open .links a { font: 500 30px/1 var(--serif); padding: 18px 0; border-bottom: 1px solid var(--line-dark); letter-spacing: 0; color: #fff; }
    .nav.open .links a::after { display: none; }
    .sec { padding: 100px 0; }
    .sec-head, .about, .monitor, .regions, .contact, .detail-body { grid-template-columns: 1fr; }
    .sec-head { gap: 24px; margin-bottom: 54px; }
    .sec-head .lead { justify-self: start; }
    .about-media { max-width: 520px; }
    .projects { grid-template-columns: 1fr 1fr; }
    .projects .project-card { grid-column: auto !important; }
    .projects .project-card .pc-img { aspect-ratio: 4/3.2 !important; }
    .projects .project-card:nth-child(1) { grid-column: 1 / -1 !important; }
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .process { grid-template-columns: 1fr; gap: 0; }
    .process::before { left: 31px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
    .step { display: grid; grid-template-columns: 62px 1fr; gap: 0 24px; padding: 0 0 34px; }
    .step .dot { grid-row: span 2; }
    .step h3 { margin: 14px 0 8px; }
    .facts { grid-template-columns: 1fr 1fr; }
    .facts div { padding: 24px 20px; border-bottom: 1px solid var(--line); }
    .facts div:nth-child(odd) { padding-left: 0; }
    .facts div:nth-child(2) { border-right: 0; }
    .map-card { aspect-ratio: 16/11; }
    .scroll-cue { display: none; }
}
@media (max-width: 640px) {
    .wrap { padding: 0 20px; }
    body { font-size: 15.5px; }
    .nav .bar { height: 74px; }
    .brand-name { font-size: 18px; }
    .hero-body { padding: 120px 0 40px; }
    .hero p.sub { font-size: 16px; }
    .hero .btn { flex: 1; }
    .hero-foot .wrap { grid-template-columns: 1fr 1fr; }
    .hero-stat { padding: 20px 0 22px 18px; border-bottom: 1px solid var(--line-dark); }
    .hero-stat:nth-child(odd) { padding-left: 0; }
    .hero-stat:nth-child(2n) { border-right: 0; }
    .hero-stat b { font-size: 34px; }
    .sec { padding: 80px 0; }
    .services, .projects, .grid-3 { grid-template-columns: 1fr; }
    .service { padding: 36px 26px; min-height: 0; }
    .service h3 { margin-top: 40px; }
    .values, .form-grid { grid-template-columns: 1fr; }
    .about-media { padding: 0 0 36px 36px; }
    .contact-info, .contact-form { padding: 44px 24px; }
    .device { padding: 18px; }
    .device-item { grid-template-columns: 60px 1fr; }
    .device-item img { width: 60px; height: 48px; }
    .device-item em { display: none; }
    .region-list li { font-size: 24px; }
    .foot-grid { grid-template-columns: 1fr; gap: 40px; }
    .track-summary { grid-template-columns: 1fr; padding: 28px 22px; }
    .track-summary .pct { text-align: left; font-size: 64px; }
    .track-form { flex-direction: column; }
    .track-form input { height: 54px; }
    .gallery { grid-template-columns: 1fr 1fr; }
    .tl-item { padding-left: 34px; }
    .tl-item h3 { font-size: 25px; }
    .lb { padding: 14px; }
    .lb .prev, .lb .next { top: auto; bottom: 70px; transform: none; }
}

/* ---------- Asisten AI ---------- */
.ai-launch {
    position: fixed; right: 22px; bottom: 22px; z-index: 61; display: flex; align-items: center; gap: 10px;
    height: 54px; padding: 0 22px 0 18px; border: 0; border-radius: 30px; cursor: pointer;
    background: var(--ink); color: var(--white); font: 600 13px/1 var(--sans); letter-spacing: .06em;
    box-shadow: 0 14px 34px rgba(13, 15, 19, .35); transition: transform .3s var(--ease), background .3s;
}
.ai-launch svg { width: 22px; height: 22px; color: var(--brass-2); }
.ai-launch:hover { transform: translateY(-2px); background: var(--ink-3); }
.ai-open .ai-launch, .ai-open .wa-float { opacity: 0; pointer-events: none; }
.ai-panel {
    position: fixed; right: 22px; bottom: 22px; z-index: 70; width: min(410px, calc(100vw - 28px)); height: min(640px, calc(100dvh - 44px));
    display: flex; flex-direction: column; background: var(--paper); box-shadow: 0 30px 80px rgba(13, 15, 19, .4); overflow: hidden;
    border: 1px solid rgba(176, 141, 87, .35); animation: aiIn .35s var(--ease);
}
.ai-panel[hidden] { display: none; }
@keyframes aiIn { from { opacity: 0; transform: translateY(14px); } }
.ai-panel header { display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 20px; background: var(--ink); color: var(--white); }
.ai-panel header > div { flex: 1; min-width: 0; }
.ai-panel header b { display: block; font: 600 20px/1.1 var(--serif); }
.ai-panel header small { display: block; font-size: 11.5px; color: rgba(255, 255, 255, .6); margin-top: 3px; }
.ai-mark { width: 34px; height: 34px; color: var(--brass-2); flex: none; }
.ai-panel header button { width: 36px; height: 36px; border: 0; background: transparent; color: rgba(255, 255, 255, .7); cursor: pointer; font-size: 24px; line-height: 1; display: grid; place-items: center; }
.ai-panel header button:hover { color: var(--white); background: rgba(255, 255, 255, .08); }
.ai-panel header button svg { width: 17px; height: 17px; }
.ai-body { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; }
.ai-msg { max-width: 88%; padding: 12px 15px; font-size: 14px; line-height: 1.6; background: var(--white); border: 1px solid var(--line); }
.ai-msg p { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.ai-msg.me { align-self: flex-end; background: var(--ink); color: var(--white); border-color: var(--ink); }
.ai-msg.bot { align-self: flex-start; border-left: 2px solid var(--brass); }
.ai-cards { display: flex; gap: 8px; overflow-x: auto; margin: 12px -4px 2px; padding: 0 4px 4px; }
.ai-cards a { flex: none; width: 150px; background: var(--paper); border: 1px solid var(--line); transition: border-color .3s; }
.ai-cards a:hover { border-color: var(--brass); }
.ai-cards img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.ai-cards b { display: block; font-size: 12.5px; line-height: 1.3; padding: 7px 8px 2px; }
.ai-cards small { display: block; font-size: 10.5px; color: var(--muted); padding: 0 8px 8px; }
.ai-action { display: inline-block; margin-top: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--brass-ink); border-bottom: 1px solid var(--brass); padding-bottom: 2px; }
.ai-typing { display: flex; gap: 5px; padding: 15px; }
.ai-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); animation: aiDot 1s infinite; }
.ai-typing i:nth-child(2) { animation-delay: .15s; } .ai-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes aiDot { 50% { opacity: .25; transform: translateY(-3px); } }
.ai-suggest { display: flex; flex-wrap: wrap; gap: 7px; }
.ai-suggest[hidden] { display: none; }
.ai-suggest button { border: 1px solid var(--line); background: var(--white); padding: 7px 12px; font-size: 12.5px; cursor: pointer; text-align: left; transition: border-color .3s, color .3s; }
.ai-suggest button:hover { border-color: var(--brass); color: var(--brass-ink); }
.ai-form { display: flex; gap: 8px; align-items: flex-end; padding: 12px; background: var(--white); border-top: 1px solid var(--line); }
.ai-form textarea { flex: 1; resize: none; border: 1px solid var(--line); background: var(--paper); padding: 11px 13px; font-size: 14.5px; line-height: 1.4; outline: none; max-height: 110px; border-radius: 0; }
.ai-form textarea:focus { border-color: var(--brass); }
.ai-form button { width: 46px; height: 46px; flex: none; border: 0; background: var(--brass); color: var(--white); cursor: pointer; display: grid; place-items: center; }
.ai-form button:hover { background: var(--brass-ink); }
.ai-form button svg { width: 20px; height: 20px; }
.ai-note { margin: 0; padding: 0 12px 10px; background: var(--white); font-size: 10.5px; color: var(--muted); text-align: center; }
@media (max-width: 640px) {
    .ai-launch { right: 14px; bottom: 14px; height: 50px; padding: 0 18px 0 15px; }
    .wa-float { right: 16px !important; bottom: 76px !important; }
    .ai-panel { right: 0; bottom: 0; width: 100vw; height: 100dvh; border: 0; }
}
@media print { .ai-launch, .ai-panel, .wa-float { display: none !important; } }

/* Badan usaha di bawah grup */
.entities { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 6px; }
.entities div { padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-left: 2px solid var(--brass); }
.entities small { display: block; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.entities b { font: 600 21px/1.15 var(--serif); }
@media (max-width: 640px) { .entities { grid-template-columns: 1fr; } }
.brand-name { white-space: nowrap; }
@media (max-width: 640px) { .nav .brand-name { font-size: 16px; letter-spacing: .12em; } }

/* Angka tegak (bukan oldstyle) agar 1 tidak terbaca I */
h1, h2, h3, .hero-stat b, .about-media .badge b, .device-pct, .track-summary .pct, .step .dot, .facts b, .monitor-points .n { font-variant-numeric: lining-nums; }
