/* Halaman depan (landing) — mengutamakan foto, teks singkat, tanpa JavaScript. Warna sama dengan aplikasi. */
:root { --brand: #2b4a8b; --brand-600: #213b72; --navy: #17264a; --accent: #e3a23b; --ok: #1d8350; --bg: #f4f6fb; --line: #e1e6ef;
  --text: #1a2233; --muted: #5b6678; --radius: 16px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text); background: #fff; line-height: 1.5; }
a { color: var(--brand); }
img { max-width: 100%; display: block; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.top { position: sticky; top: 0; z-index: 10; background: var(--navy); color: #fff; }
.bar { display: flex; align-items: center; gap: 18px; height: 62px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: .02em; min-width: 0; }
.logo img { border-radius: 9px; background: #fff; flex: none; }
.logo span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.links { display: flex; gap: 18px; margin-left: auto; }
.links a { color: #dbe5f6; text-decoration: none; font-weight: 600; font-size: .95rem; }
.links a:hover { color: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 12px;
  background: var(--accent); color: #1a1405; font-weight: 800; text-decoration: none; border: 2px solid var(--accent); }
.btn:hover { filter: brightness(1.05); }
.btn.small { padding: 8px 16px; font-size: .9rem; white-space: nowrap; }
.btn.ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn.ghost-light:hover { background: rgba(255,255,255,.1); }

/* ---- Foto utama ---- */
.hero { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(circle at 85% 15%, #2b4a8b 0, transparent 55%), linear-gradient(160deg, #17264a, #213b72); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero.has-photo::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(15,26,52,.9) 0%, rgba(15,26,52,.62) 48%, rgba(15,26,52,.12) 100%); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center;
  min-height: min(78vh, 620px); padding-top: 48px; padding-bottom: 48px; }
.hero.has-photo .hero-inner { grid-template-columns: minmax(0, 600px); }
.eyebrow { color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin: 0 0 10px; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.12; margin: 0 0 16px; }
h1 span { color: var(--accent); }
.lead { font-size: 1.1rem; color: #d5def0; margin: 0 0 26px; max-width: 540px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art svg { width: 100%; height: auto; display: block; }

/* ---- Bagian umum ---- */
.sec { padding: 60px 0; }
.sec.alt { background: var(--bg); }
h2 { font-size: 1.75rem; color: var(--navy); margin: 0 0 22px; }

/* ---- Layanan (kartu bergambar) ---- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 20px rgba(23,38,74,.06); }
.svc-img { aspect-ratio: 4 / 3; background: var(--bg); overflow: hidden; }
.svc-img img, .svc-img svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc h3 { margin: 14px 16px 4px; font-size: 1.02rem; color: var(--navy); }
.svc p { margin: 0 16px 16px; color: var(--muted); font-size: .92rem; }

/* ---- Galeri hasil kerja ---- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery a { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }

/* ---- Cara pesan (ikon + teks singkat) ---- */
.flow { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.flow li { counter-increment: s; text-align: center; }
.ic { display: grid; place-items: center; color: var(--brand); }
.ic svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.flow .ic { position: relative; width: 68px; height: 68px; margin: 0 auto 10px; border-radius: 50%; background: #fff; border: 2px solid var(--line); }
.flow .ic::after { content: counter(s); position: absolute; top: -4px; right: -4px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); color: #1a1405; font-size: .78rem; font-weight: 800; display: grid; place-items: center; }
.flow b { display: block; color: var(--navy); }
.flow span:not(.ic) { color: var(--muted); font-size: .9rem; }

/* ---- Kenapa kami ---- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why > div { display: flex; gap: 14px; align-items: center; background: var(--bg); border-radius: var(--radius); padding: 18px; }
.why .ic { flex: none; width: 52px; height: 52px; border-radius: 14px; background: #fff; }
.why p { margin: 0; }
.why b { display: block; color: var(--navy); }
.why span:not(.ic) { color: var(--muted); font-size: .92rem; }

/* ---- Kontak ---- */
.contact-sec { background: var(--navy); color: #dbe5f6; }
.contact-sec h2 { color: #fff; margin-bottom: 8px; }
.contact { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.contact p { margin: 4px 0; }
.company { font-weight: 800; color: #fff; }

/* ---- Halaman Kebijakan Privasi / Syarat Penggunaan ---- */
.legal .wrap { max-width: 760px; }
.legal h1 { color: var(--navy); font-size: clamp(1.7rem, 4vw, 2.3rem); margin: 0 0 18px; }
.legal h2 { font-size: 1.15rem; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--text); font-size: 1rem; }
.legal p { margin: 0 0 10px; }
.legal ul { margin: 0 0 12px; padding-left: 1.3rem; }
.legal li { margin-bottom: 4px; }
.links a[aria-current="page"] { color: #fff; text-decoration: underline; }

.foot { background: #0f1a34; color: #c9d4ea; padding: 22px 0; font-size: .92rem; }
.foot-grid { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot a { color: #fff; font-weight: 700; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-art { max-width: 420px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .why { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .links { display: none; }
  .bar { gap: 10px; }
  .bar .btn { margin-left: auto; }
  .hero-inner { padding-top: 34px; padding-bottom: 34px; gap: 18px; }
  .hero.has-photo .hero-inner { min-height: 72vh; align-items: end; }
  .hero.has-photo::after { background: linear-gradient(180deg, rgba(15,26,52,.2) 0%, rgba(15,26,52,.9) 62%); }
  .hero-art { max-width: 300px; margin: 0 auto; }
  .lead { font-size: 1rem; }
  .sec { padding: 42px 0; }
  h2 { font-size: 1.45rem; margin-bottom: 16px; }
  .svc-grid { gap: 12px; }
  .svc h3 { margin: 10px 12px 2px; font-size: .95rem; }
  .svc p { margin: 0 12px 12px; font-size: .84rem; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .flow { grid-template-columns: 1fr; row-gap: 12px; }
  .flow li { display: grid; grid-template-columns: 60px 1fr; column-gap: 14px; align-items: center; text-align: left; }
  .flow .ic { grid-row: span 2; width: 56px; height: 56px; margin: 0; }
  .btn { width: 100%; }
  .bar .btn { width: auto; }
}
