:root {
  --bg: #F6F7F9;
  --surface: #FFFFFF;
  --ink: #0F172A;
  --muted: #475569;
  --sub: #64748B;
  --accent: #1D4ED8;
  --accent-soft: #2563EB;
  --accent-tint: #EFF4FF;
  --wa: #0F7B46;
  --wa-dark: #0B6137;
  --border: #E5E7EB;
  --ring: rgba(29, 78, 216, 0.35);
  --radius: 18px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; }

:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: 6px;
}

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

main { display: block; }

/* ---------- Type ---------- */
h1, h2, h3 { line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }

h1 {
  font-size: clamp(2.5rem, 5.2vw, 3.75rem);
  letter-spacing: -0.03em;
}

h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; }

h3 { font-size: 1.05rem; letter-spacing: -0.01em; }

.lead { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }

.sub { color: var(--sub); max-width: 62ch; }

.section { padding: 92px 0; scroll-margin-top: 76px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 999px;
  padding: 13px 24px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
}

.btn svg { width: 20px; height: 20px; flex: 0 0 auto; }

.btn:active { transform: translateY(1px); }

.btn-lg { padding: 16px 28px; font-size: 1.05rem; }

.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -14px rgba(15, 123, 70, 0.7); }
.btn-wa:hover { background: var(--wa-dark); transform: translateY(-1px); }

.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -14px rgba(29, 78, 216, 0.7); }
.btn-primary:hover { background: var(--accent-soft); transform: translateY(-1px); }

.btn-call,
.btn-outline {
  background: var(--surface);
  color: var(--accent);
  border: 1.5px solid #C7D6F5;
}
.btn-call:hover,
.btn-outline:hover { border-color: var(--accent); background: var(--accent-tint); transform: translateY(-1px); }

.btn-phone {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  padding: 10px 18px;
  font-size: 0.9rem;
}
.btn-phone:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
}

.brand-mark svg { width: 18px; height: 18px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-links > li > a:not(.btn) {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-links > li > a:not(.btn):hover { color: var(--accent); border-color: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 80px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy h1 { margin-bottom: 18px; }

.hero-copy .lead { margin-bottom: 26px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }

.chip {
  background: var(--accent-tint);
  color: #1E3A8A;
  font-weight: 600;
  font-size: 0.86rem;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid #D7E2FC;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }

.proof {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sub);
  font-size: 0.92rem;
  font-weight: 500;
}

.proof svg { width: 18px; height: 18px; color: var(--accent); }

.hero-photo { position: relative; }

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 24px 48px -20px rgba(15, 23, 42, 0.35);
}

.photo-tag {
  position: absolute;
  bottom: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 24px -12px rgba(15, 23, 42, 0.3);
}

.photo-tag svg { width: 17px; height: 17px; color: var(--accent); }

/* ---------- Trust band ---------- */
.trust-band { background: var(--surface); border-block: 1px solid var(--border); }

.trust-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 22px 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.trust-item svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--accent); }

/* ---------- Tentang ---------- */
.tentang-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.tentang-copy p { color: var(--muted); font-size: 1.03rem; max-width: 70ch; }
.tentang-copy p + p { margin-top: 18px; }

.tentang-list {
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
  display: grid;
}

.tentang-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.98rem;
}

.tentang-list li + li { border-top: 1px solid var(--border); }

.tentang-list svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--accent); }

/* ---------- Galeri ---------- */
.galeri { background: var(--surface); border-block: 1px solid var(--border); }

.galeri h2, .galeri .sub { margin-bottom: 0; }

.galeri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
  margin-top: 34px;
}

.galeri-item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
  background: #E8ECF3;
}

.galeri-wide { grid-column: span 2; }

.galeri-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.galeri-item:hover img { transform: scale(1.04); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(6, 12, 22, 0.94);
  padding: 40px;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 94vw;
  max-height: 88vh;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 26px;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease;
}

.lightbox-close:hover { background: rgba(255, 255, 255, 0.24); }

/* ---------- Fasilitas ---------- */
.fasilitas-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 34px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 34px;
  margin-top: 34px;
}

.fasilitas-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
}

.fasilitas-item + .fasilitas-item { border-top: 1px solid var(--border); }

.fasilitas-item:nth-child(odd) + .fasilitas-item:nth-child(even) { border-top: none; }

.fasilitas-item--wide { grid-column: 1 / -1; }

.fasilitas-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-tint);
  color: var(--accent);
  display: grid;
  place-items: center;
}

.fasilitas-icon svg { width: 22px; height: 22px; }

.fasilitas-item h3 { margin-bottom: 2px; }

.fasilitas-item p { color: var(--sub); font-size: 0.93rem; }

/* ---------- Lokasi ---------- */
.lokasi-list {
  display: grid;
  gap: 28px;
  margin-top: 34px;
}

.lokasi-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 40px -28px rgba(15, 23, 42, 0.4);
}

.lokasi-info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.lokasi-area {
  align-self: flex-start;
  background: var(--accent-tint);
  color: #1E3A8A;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #D7E2FC;
}

.alamat {
  display: flex;
  gap: 14px;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.8;
}

.alamat svg { width: 24px; height: 24px; flex: 0 0 auto; color: var(--accent); }

.lokasi-info .btn { align-self: flex-start; margin-top: auto; }

.map-wrap {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- Kontak ---------- */
.kontak-card {
  background: var(--accent-tint);
  border: 1px solid #D7E2FC;
  border-radius: 28px;
  padding: 52px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.kontak-copy p:not(.pemilik) { color: var(--muted); max-width: 62ch; }

.pemilik { margin-top: 18px; font-weight: 700; color: var(--ink); font-size: 1.05rem; }

.kontak-actions { display: grid; gap: 14px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-brand { font-weight: 800; font-size: 1.1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.footer-brand p { width: 100%; color: var(--sub); font-weight: 400; font-size: 0.95rem; }

.footer-col h3 { font-size: 0.95rem; margin-bottom: 14px; color: var(--ink); }

.footer-col p, .footer-col li, .footer-col a { color: var(--sub); font-size: 0.95rem; list-style: none; }
.footer-col p + p { margin-top: 8px; }
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col a:hover { color: var(--accent); }

.copyright {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  text-align: center;
  color: var(--sub);
  font-size: 0.88rem;
}

/* ---------- Reveal motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .galeri-item img { transition: none; }
  .btn { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid,
  .tentang-grid,
  .kontak-card { grid-template-columns: 1fr; gap: 32px; }

  .lokasi-card { grid-template-columns: 1fr; }

  .map-wrap { min-height: 260px; }

  .trust-list { grid-template-columns: repeat(2, 1fr); gap: 14px 20px; }

  .fasilitas-panel { grid-template-columns: 1fr 1fr; }
  .fasilitas-item:nth-child(odd) + .fasilitas-item:nth-child(even) { border-top: 1px solid var(--border); }
  .fasilitas-item + .fasilitas-item { border-top: none; }

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

@media (max-width: 680px) {
  .section { padding: 68px 0; }
  .hero { padding: 44px 0 60px; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 6%;
    border-bottom: 1px solid var(--border);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links > li > a { display: block; padding: 15px 2px; font-size: 1rem; }
  .nav-links .btn-phone { margin: 12px 0; width: max-content; }

  .hero-photo { max-width: 460px; margin-inline: auto; }

  .trust-list { grid-template-columns: 1fr; }

  .galeri-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .galeri-wide { grid-column: span 2; }

  .fasilitas-panel { grid-template-columns: 1fr; padding: 24px; }
  .fasilitas-item + .fasilitas-item { border-top: 1px solid var(--border); }
  .fasilitas-item:nth-child(odd) + .fasilitas-item:nth-child(even) { border-top: 1px solid var(--border); }

  .kontak-card { padding: 34px 24px; }
  .kontak-actions .btn { width: 100%; }

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

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}