:root {
  --navy: #0F2A5C; --navy-d: #0A1E44; --navy-dd: #071533; --gold: #C9A227; --gold-l: #E9D48A;
  --soft: #F4F6FA; --ink: #1B2333; --muted: #5B6578; --line: #E3E7EF; --white: #fff;
  --r: 22px; --r-sm: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.65 Roboto, system-ui, sans-serif; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .brand, .btn, .pill { font-family: Poppins, system-ui, sans-serif; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; color: var(--navy-d); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
a { color: var(--navy); }
img { max-width: 100%; display: block; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.muted { color: var(--muted); }

/* tombol & label */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .8em 1.5em; border-radius: 999px; border: 2px solid transparent; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; min-height: 44px; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .45em 1.1em; font-size: .85rem; min-height: 38px; }
.btn-gold { background: var(--gold); color: var(--navy-dd); }
.btn-gold:hover { background: var(--gold-l); }
.btn-navy { background: var(--navy-d); color: #fff; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-navy { color: var(--navy-d); border-color: var(--navy-d); background: transparent; }
.btn-danger { background: #fde8e8; color: #9b1c1c; }
.pill { display: inline-block; padding: .3em 1em; border-radius: 999px; background: var(--gold); color: var(--navy-dd); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1rem; }
.pill-line { background: transparent; border: 1px solid var(--line); color: var(--navy); }
.pill-dark { background: var(--navy-d); color: var(--gold-l); }

/* header */
.topbar { background: var(--navy-dd); color: #fff; position: sticky; top: 0; z-index: 20; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none; font-weight: 600; }
.logo-mark { width: 40px; height: 40px; display: grid; place-items: center; background: var(--gold); color: var(--navy-dd); font-size: .78rem; font-weight: 700; clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); }
.logo-img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { color: #dfe5f1; text-decoration: none; font-size: .93rem; }
.nav a:not(.btn):hover { color: var(--gold-l); }
.nav-toggle, .burger { display: none; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #163a7a 0, transparent 60%), var(--navy-dd); color: #fff; padding: 28px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1fr 260px; gap: 20px; }
.hero-card { background: #fff; border-radius: var(--r); display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; overflow: hidden; min-height: 380px; }
.hero-copy { padding: 40px; }
.hero h1 { font-size: clamp(2rem, 4.3vw, 3.3rem); color: var(--navy-d); margin: 0; }
.hero mark { background: none; color: var(--navy); -webkit-text-stroke: 0; box-shadow: inset 0 -.38em 0 var(--gold-l); }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-side { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.badge-ring { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--gold) 0 78%, rgba(255,255,255,.15) 0); }
.badge-ring span { width: 92px; height: 92px; border-radius: 50%; background: var(--navy-dd); display: grid; place-items: center; font: 700 1.6rem Poppins, sans-serif; color: var(--gold); }
.side-label { margin: 0; font-size: .85rem; color: #c7d0e3; }
.side-stat { background: var(--navy-d); border-radius: var(--r-sm); padding: 18px; width: 100%; display: grid; gap: 2px; margin-top: auto; }
.side-stat strong { color: var(--gold-l); font: 500 .8rem Poppins, sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.side-stat span { font: 700 1.35rem Poppins, sans-serif; }
.side-stat small { color: #b8c2d8; }
.hero-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 32px; }
.hero-foot p { max-width: 560px; margin: 0; color: #c7d0e3; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* section umum */
.section { padding: 88px 0; }
.section-soft { background: var(--soft); }
.sec-head { margin-bottom: 36px; }
.sec-head.row { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.h-sm { font-size: 1.05rem; margin: 1.4em 0 .3em; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.ticks li { padding-left: 2rem; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: .1em; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--gold); color: var(--navy-dd); display: grid; place-items: center; font-size: .75rem; font-weight: 700; }

/* tentang */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.about-visual { position: relative; max-width: 470px; }
.about-circle { aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 10px solid var(--soft); }
.about-circle img { width: 100%; height: 100%; object-fit: cover; }
.about-badge { position: absolute; right: 0; bottom: 8%; background: #fff; border-radius: 50%; width: 140px; height: 140px; display: grid; place-content: center; text-align: center; box-shadow: 0 18px 40px rgba(10,30,68,.15); border: 6px solid var(--gold); }
.about-badge strong { font: 700 1.9rem Poppins, sans-serif; color: var(--navy-d); line-height: 1; }
.about-badge span { font-size: .78rem; color: var(--muted); }
.about-tag { position: absolute; left: -6px; top: 18%; background: #fff; padding: .5em 1em; border-radius: 10px; font: 600 .85rem Poppins, sans-serif; color: var(--navy); box-shadow: 0 10px 30px rgba(10,30,68,.12); border-left: 4px solid var(--gold); }

/* layanan */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.svc { border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.svc h3 { font-size: 1.3rem; }
.svc p { margin: 0 0 1rem; }
.svc-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--r-sm); margin-bottom: 20px; }
.tone-gold { background: var(--gold-l); }
.tone-navy { background: var(--navy-d); color: #dfe5f1; }
.tone-navy h3 { color: #fff; }
.tone-grad { background: linear-gradient(135deg, var(--navy) 0%, #2c5394 100%); color: #e8edf7; }
.tone-grad h3 { color: #fff; }
.tone-light { background: #fff; border: 1px solid var(--line); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 1.2rem; }
.chip { font-size: .75rem; padding: .25em .8em; border-radius: 999px; background: rgba(10,30,68,.08); }
.tone-navy .chip, .tone-grad .chip { background: rgba(255,255,255,.12); }
.svc-link { margin-top: auto; display: inline-flex; align-items: center; gap: .6rem; font: 600 .92rem Poppins, sans-serif; text-decoration: none; color: inherit; }
.tone-navy .svc-link, .tone-grad .svc-link { color: var(--gold-l); }
.arrow { width: 38px; height: 38px; border-radius: 50%; background: var(--navy-dd); color: var(--gold-l); display: grid; place-items: center; }
.tone-navy .arrow, .tone-grad .arrow { background: var(--gold); color: var(--navy-dd); }

/* nilai */
.values { background: var(--navy-dd); color: #c7d0e3; padding: 88px 0; }
.values h2 { color: #fff; }
.values-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.values-kicker { color: var(--gold); font: 500 .9rem Poppins, sans-serif; display: block; margin-bottom: .8rem; }
.values-card { background: var(--gold-l); border-radius: var(--r); padding: 28px; display: grid; gap: 18px; color: var(--ink); }
.value { display: flex; gap: 16px; align-items: flex-start; }
.value img { width: 56px; height: 56px; border-radius: 50%; background: #fff; object-fit: contain; padding: 6px; flex: none; }
.value h3 { font-size: 1.05rem; margin: 0 0 .2em; }
.value p { margin: 0; font-size: .93rem; }

/* legalitas */
.legal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.legal { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 22px; border-top: 4px solid var(--gold); display: grid; gap: 6px; }
.legal small { color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; }
.legal strong { font: 600 1.05rem Poppins, sans-serif; color: var(--navy-d); }

/* galeri & testimoni: scroll horizontal (efek DNA default) */
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: min(80%, 340px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; overscroll-behavior-x: contain; }
.hscroll > * { scroll-snap-align: start; }
.shot { margin: 0; border-radius: var(--r-sm); overflow: hidden; background: #fff; }
.shot img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.shot figcaption { padding: 10px 14px; font-size: .88rem; color: var(--muted); }
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; }
.quote footer { display: flex; gap: 12px; align-items: center; margin-top: 1rem; }
.quote footer span:last-child { display: grid; }
.quote small { color: var(--muted); }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy-d); color: var(--gold-l); display: grid; place-items: center; font: 600 .8rem Poppins, sans-serif; }

/* artikel */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.post { text-decoration: none; color: inherit; background: #fff; border-radius: var(--r-sm); padding: 14px 14px 22px; border: 1px solid var(--line); transition: transform .15s; }
.post:hover { transform: translateY(-4px); }
.post-img { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16/10; background: var(--navy-d); margin-bottom: 16px; }
.post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-img .pill { position: absolute; left: 10px; top: 10px; margin: 0; }
.post h3 { font-size: 1.12rem; margin: 0 6px .4em; }
.post p { margin: 0 6px; color: var(--muted); font-size: .93rem; }
.prose { font-size: 1.06rem; }
.prose-img { border-radius: var(--r-sm); margin-bottom: 2rem; }

/* halaman dalam */
.page-head { background: var(--navy-dd); color: #c7d0e3; padding: 64px 0; }
.page-head h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.page-head p { margin: 0; max-width: 640px; }

/* kontak & form */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: start; }
.contact-info img { border-radius: var(--r-sm); margin-bottom: 1rem; max-width: 280px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; margin-bottom: 20px; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font: 500 .9rem Poppins, sans-serif; color: var(--navy-d); }
input, select, textarea { font: inherit; padding: .75em .9em; border: 1px solid #cdd3df; border-radius: 10px; background: #fff; width: 100%; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.has-error input, .has-error select, .has-error textarea { border-color: #c62828; }
.err { color: #c62828; }
.alert { background: #fdecea; color: #8a1c1c; padding: 12px 16px; border-radius: 10px; }
.hp { position: absolute; left: -9999px; }
.success { border-top: 5px solid var(--gold); }
.check { display: flex; gap: .6rem; align-items: center; }
.check input { width: auto; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* CTA + footer */
.cta-band { background: var(--gold); padding: 56px 0; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { margin: 0; color: var(--navy-d); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer { background: var(--navy-dd); color: #dfe5f1; padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 32px; }
.footer h4 { color: var(--gold); margin: 0 0 1rem; font-size: .95rem; }
.footer a:not(.brand) { display: block; color: #dfe5f1; text-decoration: none; margin-bottom: .45rem; font-size: .93rem; overflow-wrap: anywhere; }
.footer a:hover { color: var(--gold-l); }
.footer .muted { color: #9aa6bf; font-size: .93rem; }
.copy { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; font-size: .85rem; color: #9aa6bf; }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(0,0,0,.25); z-index: 30; }

/* responsif (mobile-first diperlakukan di sini via breakpoint turun) */
@media (max-width: 960px) {
  .hero-grid, .about, .values-grid, .contact-grid, .hero-card { grid-template-columns: minmax(0, 1fr); }
  .hero h1, h2 { overflow-wrap: anywhere; }
  .hero-copy { padding: 28px 24px 8px; }
  .hero-img { aspect-ratio: 16/10; }
  .hero-side { flex-direction: row; text-align: left; }
  .badge-ring { width: 84px; height: 84px; flex: none; }
  .badge-ring span { width: 64px; height: 64px; font-size: 1.2rem; }
  .side-label { display: none; }
  .side-stat { margin: 0; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .about-visual { margin-inline: auto; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section, .values { padding: 64px 0; }
}
@media (max-width: 760px) {
  .burger { display: grid; width: 44px; height: 44px; place-items: center; cursor: pointer; }
  .burger span, .burger span::before, .burger span::after { content: ""; display: block; width: 22px; height: 2px; background: #fff; position: relative; }
  .burger span::before { position: absolute; top: -7px; } .burger span::after { position: absolute; top: 7px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 70px; background: var(--navy-dd); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav .btn { margin-top: 12px; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .hero-side { flex-direction: column; text-align: center; }
  .about-badge { width: 110px; height: 110px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; }
}

/* ---------- dashboard ---------- */
.admin { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; background: var(--soft); }
.side { background: var(--navy-dd); color: #fff; padding: 22px 16px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.side nav { display: grid; gap: 2px; margin-top: 28px; }
.side nav a, .linkish { color: #c7d0e3; text-decoration: none; padding: 10px 12px; border-radius: 10px; font: 500 .93rem Poppins, sans-serif; text-align: left; background: none; border: 0; cursor: pointer; width: 100%; }
.side nav a.on, .side nav a:hover { background: rgba(255,255,255,.08); color: var(--gold-l); }
.count { background: var(--gold); color: var(--navy-dd); border-radius: 999px; padding: 0 .55em; font-size: .75rem; }
.admin-main { padding: 32px; min-width: 0; }
.admin-main h1 { font-size: 1.7rem; }
.admin-main h2 { font-size: 1.2rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 32px; }
.stat { background: #fff; border-radius: var(--r-sm); padding: 20px; border-left: 4px solid var(--gold); display: grid; }
.stat small { color: var(--muted); }
.stat strong { font: 700 2rem Poppins, sans-serif; color: var(--navy-d); }
.table-wrap { overflow-x: auto; background: #fff; border-radius: var(--r-sm); border: 1px solid var(--line); margin-bottom: 1rem; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { background: var(--soft); font: 600 .8rem Poppins, sans-serif; color: var(--muted); text-transform: uppercase; }
.table tr.unread td { background: #fffbea; }
.table select { width: auto; padding: .4em; }
.need { display: block; max-width: 420px; white-space: normal; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; }
.actions form { margin: 0; }
.tag { font-size: .75rem; padding: .2em .7em; border-radius: 999px; background: #eceff4; white-space: nowrap; }
.tag-ok { background: #e3f4e8; color: #1e6b35; }
.flash { padding: 12px 16px; border-radius: 10px; margin-bottom: 20px; background: #e3f4e8; color: #1e6b35; }
.flash.err { background: #fdecea; color: #8a1c1c; }
.thumb { max-width: 220px; border-radius: 10px; border: 1px solid var(--line); }
.row-gap { display: flex; gap: 10px; }
.gal-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-bottom: 16px; }
.gal-item { background: #fff; border-radius: var(--r-sm); padding: 10px; display: grid; gap: 8px; border: 1px solid var(--line); }
.gal-item img { aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }
.gal-item label { display: flex; gap: 8px; align-items: center; font-size: .85rem; }
.gal-item input { padding: .4em .6em; }
.login-page { min-height: 100vh; display: grid; place-items: center; background: var(--navy-dd); padding: 16px; }
.login { width: min(400px, 100%); display: grid; gap: 16px; }
.login h1 { font-size: 1.4rem; margin: 0; }
@media (max-width: 760px) {
  .admin { grid-template-columns: 1fr; }
  .side { position: static; height: auto; }
  .side nav { grid-template-columns: repeat(2, 1fr); margin-top: 16px; }
  .admin-main { padding: 20px 16px; }
}

/* ---------- efek elegan ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* hero: masuk bertahap + kilau emas di teks sorotan */
.hero-card, .hero-side, .hero-foot { animation: rise 1s cubic-bezier(.2,.7,.2,1) both; }
.hero-side { animation-delay: .15s; } .hero-foot { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.hero mark { background: linear-gradient(100deg, var(--navy) 40%, var(--gold) 50%, var(--navy) 60%) 0 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s ease-in-out infinite; }
@keyframes shine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.hero-img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.hero-card:hover .hero-img { transform: scale(1.04); }
.badge-ring { animation: spin-in 1.6s cubic-bezier(.2,.7,.2,1) both .3s; }
@keyframes spin-in { from { transform: rotate(-120deg); opacity: 0; } }

/* header kaca saat scroll */
.topbar { transition: background .4s, box-shadow .4s; }
.scrolled .topbar { background: rgba(7,21,51,.86); backdrop-filter: blur(12px); box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.nav a:not(.btn) { position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--gold); transition: right .35s; }
.nav a:not(.btn):hover::after { right: 0; }

/* kartu: angkat halus + garis emas */
.svc, .legal, .post, .quote, .value { transition: opacity .9s, transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s; }
.svc:hover, .legal:hover, .quote:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(10,30,68,.16); }
.svc-img, .post-img img, .shot img, .about-circle img { transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.svc:hover .svc-img, .post:hover .post-img img, .shot:hover img, .about-visual:hover img { transform: scale(1.06); }
.svc .arrow { transition: transform .35s; }
.svc:hover .arrow { transform: rotate(45deg); }
.value:hover { transform: translateX(6px); }
.legal { background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 3px no-repeat; }
.legal:hover { background-size: 100% 3px; transition: background-size .5s, transform .45s, box-shadow .45s; }

/* tombol: kilau menyapu */
.btn-gold { position: relative; overflow: hidden; }
.btn-gold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s; }
.btn-gold:hover::after { transform: translateX(120%); }

/* badge & WA mengambang pelan */
.about-badge { animation: float 5s ease-in-out infinite; }
.wa-float { animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero mark { color: var(--navy); background: none; }
}
