/* =========================================================
   Kanopi Renovasi
   Tata letak mengikuti versi Framer: kolom tengah 550px (hero 600px)
   di desktop/tablet, lebar penuh dengan tepi 10px di HP.
   Ukuran teks & jarak memakai clamp() supaya mengecil mulus
   dari desktop (810px+) ke HP (360px), tanpa lompatan.

   Daftar isi
   1. Token        5. Hero            9.  Keunggulan & Tiles
   2. Dasar        6. Layanan Kami    10. FAQ, Banner, Footer
   3. Layout       7. Accordion       11. WhatsApp & Lightbox
   4. Komponen     8. Proses, Galeri  12. Animasi & Responsif (HP)
                                      13. Desktop (>= 1024px)
                                      14. Area layanan & link footer
   ========================================================= */

/* ---------- 1. Token ---------- */
:root {
  --white: #ffffff;
  --soft: #f6f6f6;
  --dark: #171717;
  --primary: #4eabd2;        /* biru muda — warna utama */
  --primary-dark: #3590b8;   /* hover tombol */
  --accent: #f0b429;         /* aksen amber (dekorasi) */
  --green: #9ef34a;
  --wa: #25d366;
  --line: #e3e3e3;
  --gray: #c2c2c2;
  --muted: rgba(23, 23, 23, 0.6);

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --col: 550px;
  --gutter: 10px;

  /* Ukuran fluid: nilai HP (360px) -> nilai desktop (810px) */
  --fs-hero: clamp(42px, 18px + 6.667vw, 72px);
  --fs-h2: clamp(34px, 21.2px + 3.556vw, 50px);
  --fs-big: clamp(42px, 23.6px + 5.111vw, 65px);
  --fs-step: clamp(76px, 53.6px + 6.222vw, 104px);
  --fs-title: clamp(19px, 16.6px + 0.667vw, 22px);
  --fs-lead: clamp(15px, 13.4px + 0.444vw, 17px);
  --fs-body: clamp(14px, 13.2px + 0.222vw, 16px);

  --space-section: clamp(64px, 32px + 8.889vw, 100px);
  --pad-card: clamp(22px, 6.222vw, 50px);
  --r-xl: clamp(30px, 17.2px + 3.556vw, 46px);
  --r-lg: clamp(26px, 14.6px + 3.111vw, 40px);
  --r-md: clamp(24px, 16px + 2.222vw, 36px);
}

/* ---------- 2. Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--dark);
  font-family: var(--font);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.04em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure { margin: 0; font: inherit; }
::selection { background: var(--primary); color: var(--white); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 8px; }

.i { width: 1em; height: 1em; fill: currentColor; flex-shrink: 0; }
.nowrap { white-space: nowrap; }
.muted { color: var(--muted); }

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  padding: 10px 16px; border-radius: 50px;
  background: var(--dark); color: var(--white); font-size: 14px;
  transform: translateY(-150%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

/* ---------- 3. Layout ---------- */
.col, .hero, .contact {
  width: var(--col);
  max-width: calc(100% - var(--gutter) * 2);
  margin-left: auto; margin-right: auto;
}
.hero { width: 600px; }
.section { margin-top: var(--space-section); }

.heading { text-align: center; margin: 0 auto clamp(34px, 21px + 3.6vw, 50px); }
.heading h2 { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.05em; text-wrap: balance; }
.heading h3 {
  max-width: 290px; margin: clamp(14px, 8px + 1.8vw, 22px) auto 0;
  font-size: var(--fs-lead); line-height: 1.4; color: var(--muted);
  text-wrap: balance;
}

/* ---------- 4. Komponen ---------- */
/* Nav pill melayang */
.nav {
  position: fixed; top: 16px; left: 50%; z-index: 100;
  display: flex; align-items: center; gap: 10px;
  padding: 4px 4px 4px 10px;
  border-radius: 50px;
  background: rgba(28, 28, 28, 0.62);
  backdrop-filter: blur(11px); -webkit-backdrop-filter: blur(11px);
  box-shadow: 0 9px 26px rgba(0, 0, 0, 0.14);
  transform: translate(-50%, -100px);
  transition: transform .5s var(--ease);
}
.nav.is-shown { transform: translate(-50%, 0); }
.nav-home {
  display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 50%; color: var(--white); font-size: 18px;
  transition: background .25s;
}
.nav-home:hover { background: rgba(255, 255, 255, 0.12); }
.nav-brand, .nav-links { display: none; }
.nav-cta {
  padding: 14px 20px; border-radius: 50px;
  background: var(--white); color: var(--dark);
  font-size: 14px; line-height: 1; white-space: nowrap;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.09);
  transition: background .25s, color .25s;
}
.nav-cta:hover { background: var(--primary); color: var(--white); }

/* Tombol */
.btn-primary {
  display: inline-flex; align-items: center; gap: 16px;
  height: 58px; padding: 3px 3px 3px 26px;
  border-radius: 100px;
  background: var(--primary); color: var(--white);
  font-size: 17px;
  box-shadow: 0 10px 30px rgba(78, 171, 210, 0.35);
  transition: background .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(78, 171, 210, 0.45); }
.btn-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--white); color: var(--dark); font-size: 15px;
  transition: transform .35s var(--ease);
}
.btn-primary:hover .btn-icon { transform: rotate(45deg); }

.btn-glass {
  display: inline-flex; align-items: center; justify-content: center;
  height: 58px; padding: 0 28px; border-radius: 100px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white); font-size: 17px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .25s, color .25s;
}
.btn-glass:hover { background: var(--white); color: var(--dark); }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; transition: color .25s; }
.text-link .i { color: var(--primary); font-size: 13px; transition: transform .3s var(--ease); }
.text-link:hover { color: var(--primary); }
.text-link:hover .i { transform: translate(2px, -2px); }

/* ---------- 5. Hero ---------- */
.hero { padding-top: 10px; }
.hero-card { background: var(--soft); border-radius: var(--r-xl); padding: clamp(7px, 1.4vw, 12px) clamp(6px, 1.1vw, 9px) clamp(16px, 2.7vw, 22px); }
.hero-main {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(600px, 404px + 54.4vw, 845px);
  border-radius: var(--r-md);
  padding: clamp(20px, 3.7vw, 30px) var(--pad-card) clamp(32px, 6.2vw, 50px);
  background: #000; color: var(--white);
  display: flex; flex-direction: column; gap: clamp(28px, 6.2vw, 50px);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 30%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.8) 100%);
}

.hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.profile { display: flex; align-items: center; gap: clamp(12px, 2.2vw, 18px); }
.avatar { width: clamp(48px, 7.4vw, 60px); height: auto; aspect-ratio: 1; border-radius: 50%; flex-shrink: 0; }
.profile-name { font-size: var(--fs-title); line-height: 1.2; }
.profile-role { max-width: 245px; margin-top: 4px; font-size: 14px; opacity: .72; }

.available {
  display: flex; gap: 7px; flex-shrink: 0;
  font-size: 13px; line-height: 1.2; letter-spacing: -0.05em;
}
.dot { position: relative; width: 8px; height: 8px; margin-top: 4px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--green); animation: ping 2s ease-out infinite;
}
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(2.6); opacity: 0; } }
.slot-mobile { display: none; }

.hero-title { font-size: var(--fs-hero); line-height: .9; letter-spacing: -0.05em; text-wrap: balance; }
.hero-sub { display: flex; flex-direction: column; gap: clamp(14px, 2.7vw, 22px); }
.stars-badge {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 8px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 12px; letter-spacing: -0.03em;
}
.stars { color: #ffd23f; font-size: 11px; letter-spacing: 1px; }
.hero-lead { font-size: var(--fs-lead); line-height: 1.45; opacity: .92; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }

.hero-bottom {
  display: flex; align-items: center; gap: 6px;
  padding: 12px var(--pad-card) 0;
  font-size: 13px; letter-spacing: -0.04em; color: var(--muted);
}
.hero-bottom .i { font-size: 15px; color: var(--primary); }

/* ---------- 6. Layanan Kami (kartu bertumpuk) ---------- */
.stack { display: flex; flex-direction: column; gap: 10px; }
.stack-card {
  --s: 1;
  position: sticky; top: clamp(84px, 60px + 6.2vw, 110px);
  display: block;
  height: clamp(260px, 148px + 31.1vw, 400px);
  border-radius: clamp(30px, 4.6vw, 42px); overflow: hidden;
  background: var(--soft);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.08);
  transform: scale(var(--s)); transform-origin: 50% 0;
  will-change: transform;
}
.stack-card > img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.stack-card:hover > img { transform: scale(1.05); }
.stack-bar {
  position: absolute; left: 6px; right: 6px; bottom: 6px;
  display: flex; align-items: center; gap: clamp(10px, 1.7vw, 14px);
  padding: clamp(6px, 1vw, 8px); border-radius: 50px;
  background: var(--white);
}
.stack-logo, .stack-arrow {
  display: grid; place-items: center; flex-shrink: 0;
  width: clamp(44px, 6.7vw, 54px); height: auto; aspect-ratio: 1; border-radius: 50%;
}
.stack-logo { background: var(--primary); }
.stack-logo img { width: 22px; height: 22px; object-fit: contain; }
.stack-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.stack-text strong { font-size: clamp(16px, 15.2px + .222vw, 17px); line-height: 1.2; font-weight: 600; }
.stack-text span { font-size: clamp(13px, 12.2px + .222vw, 14px); color: var(--muted); }
.stack-arrow { background: var(--soft); font-size: 14px; transition: background .3s, color .3s, transform .3s var(--ease); }
.stack-card:hover .stack-arrow { background: var(--primary); color: var(--white); transform: rotate(45deg); }

/* ---------- 7. Accordion (Layanan lain & FAQ) ---------- */
.services { padding: 0 clamp(14px, 6.2vw, 50px); }
.acc summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 16px;
  -webkit-tap-highlight-color: transparent;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:focus-visible { outline-offset: 6px; }
.acc-ico { font-size: 24px; transition: color .25s; }
.acc-q { flex: 1; font-size: var(--fs-title); line-height: 1.2; transition: color .25s; }
.acc summary:hover .acc-q, .acc summary:hover .acc-ico, .acc[open] .acc-ico { color: var(--primary); }
.acc-toggle { position: relative; width: 18px; height: 18px; flex-shrink: 0; transition: background .3s, transform .3s var(--ease); }
.acc-toggle::before, .acc-toggle::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 14px; height: 1.6px; border-radius: 2px; background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease);
}
.acc-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc[open] .acc-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc > p { max-width: 430px; font-size: var(--fs-body); line-height: 1.4; color: var(--muted); overflow: hidden; }

.list-acc .acc { padding: 26px 0; }
.list-acc .acc + .acc { border-top: 1px solid var(--line); }
.list-acc .acc > p { padding: 16px 0 0 40px; }

.faq-acc { display: flex; flex-direction: column; gap: 10px; }
.acc.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(14px, 2.3vw, 19px) clamp(14px, 2.3vw, 19px) clamp(14px, 2.3vw, 19px) clamp(20px, 3.7vw, 30px);
  transition: border-color .3s, box-shadow .3s;
}
.acc.card:hover { border-color: #d0d0d0; }
.acc.card[open] { box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06); }
.acc.card .acc-q { font-size: clamp(15px, 14.2px + .222vw, 16px); line-height: 1.35; }
.acc.card .acc-toggle {
  width: 42px; height: 42px; border-radius: 50%; background: var(--soft);
}
.acc.card[open] .acc-toggle { background: var(--primary); color: var(--white); }
.acc.card .acc-toggle::before, .acc.card .acc-toggle::after { width: 12px; }
.acc.card > p { padding: 6px 50px 12px 0; font-size: var(--fs-lead); max-width: none; }
.faq-more { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.faq-more p { font-size: 13px; color: var(--muted); }

/* ---------- 8. Proses ---------- */
.process { display: flex; flex-direction: column; gap: 6px; padding: 9px; border-radius: var(--r-xl); background: var(--soft); }
.process-head {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: clamp(12px, 2.7vw, 22px);
  min-height: clamp(130px, 6.2vw + 118px, 168px);
  padding: clamp(24px, 4vw, 32px) clamp(22px, 5.4vw, 44px);
  border-radius: var(--r-lg); background: var(--primary); color: var(--white);
}
.process-num { font-size: var(--fs-step); line-height: 1; letter-spacing: -0.06em; }
.process-text { position: relative; z-index: 1; max-width: 210px; display: flex; flex-direction: column; gap: 8px; }
.process-title { font-size: var(--fs-title); line-height: 1.2; }
.process-desc { font-size: clamp(13px, 12.2px + .222vw, 14px); color: rgba(255, 255, 255, 0.72); }
.process-desc strong { color: var(--white); font-weight: 600; }
.ladder { position: absolute; right: clamp(0px, 5.9vw, 48px); top: 2px; width: clamp(90px, 15.3vw, 124px); height: auto; }

.step {
  display: grid; grid-template-columns: 1fr 24px 1fr; gap: clamp(14px, 2.7vw, 22px);
  padding: clamp(28px, 5.4vw, 44px) clamp(18px, 3.7vw, 30px);
  border-radius: var(--r-lg); background: var(--white);
}
.step > :first-child { text-align: right; }
.step-title { font-size: var(--fs-title); line-height: 1.2; }
.step-desc { font-size: clamp(14px, 13.2px + .222vw, 15px); line-height: 1.4; color: var(--muted); }
.step-num { display: flex; flex-direction: column; align-items: center; gap: 18px; color: var(--primary); font-size: 20px; font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.oval { width: 24px; height: 24px; border-radius: 50%; border: 7px solid var(--primary); background: var(--white); }
.process > .text-link { align-self: center; padding: 24px 0 22px; }

/* ---------- 8b. Galeri ---------- */
/* Grid rapi: 2 kolom di HP/tablet, 3 kolom di desktop, maks 1120px.
   .gallery-col dibuat "contents" agar semua foto masuk satu grid. */
.gallery { padding: 20px var(--gutter); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: clamp(120px, 31vw, 230px);
  gap: clamp(8px, 1.2vw, 14px);
  max-width: 1120px; margin: 0 auto;
}
.gallery-col { display: contents; }
.gallery-col img, .gallery-single img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: clamp(12px, 1.6vw, 18px);
  background: var(--soft);
  cursor: zoom-in;
  transition: transform .5s var(--ease), filter .3s, box-shadow .3s;
}
.gallery-col img:hover, .gallery-single img:hover {
  transform: translateY(-3px); filter: brightness(1.05);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}
.gallery-col img.wide { grid-column: span 2; }
.gallery-single { max-width: 640px; margin: 0 auto; }
.gallery-single img { aspect-ratio: 4 / 3; }

@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; }
}
/* HP/tablet 2 kolom: foto "wide" kembali normal agar baris tetap genap */
@media (max-width: 1023px) {
  .gallery-col img.wide { grid-column: auto; }
}

/* ---------- 9. Keunggulan ---------- */
.compare { display: flex; flex-direction: column; gap: 10px; }
.bar {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; gap: clamp(12px, 2.2vw, 18px);
  min-height: clamp(72px, 9.9vw, 80px);
  padding: 12px clamp(14px, 3.2vw, 26px) 12px clamp(14px, 2.2vw, 18px);
  border-radius: 18px; background: var(--gray); color: var(--white);
}
.bar-fill {
  position: absolute; inset: 0 auto 0 0; z-index: -1; width: 0;
  background: var(--primary);
  transition: width 1.4s var(--ease) .15s;
}
.bar.is-visible .bar-fill { width: var(--p); }
.bar-icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: clamp(40px, 5.4vw, 44px); height: auto; aspect-ratio: 1; border-radius: 10px;
  background: var(--white); color: var(--dark); font-size: 22px;
}
.bar-icon img { width: 26px; }
.bar-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bar-text strong { font-size: clamp(15px, 14.2px + .222vw, 16px); font-weight: 600; }
.bar-text span { font-size: clamp(12px, 10.4px + .444vw, 14px); opacity: .7; }
.bar-pct { padding: 6px 10px; border-radius: 50px; background: rgba(0, 0, 0, 0.55); font-size: 14px; line-height: 1; }

/* ---------- 9b. Tiles ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r-md); }
.tile p { font-size: clamp(13px, 12.2px + .222vw, 14px); line-height: 1.35; }
.tile-years {
  grid-column: 1 / -1;
  display: flex; align-items: flex-end; gap: 20px;
  padding: clamp(36px, 7.4vw, 60px) var(--pad-card);
  border: 1px solid var(--line); background: var(--white);
}
.num { display: flex; align-items: flex-start; font-size: var(--fs-big); line-height: .8; letter-spacing: -0.06em; }
.num .plus { margin-left: 2px; color: var(--primary); font-size: .52em; line-height: .5; }
.num .pct { margin: .34em 0 0 3px; font-size: .34em; line-height: 1; }
.tile-img { aspect-ratio: 1; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tile-img:hover img { transform: scale(1.05); }
.tile-check {
  position: absolute; right: 16px; bottom: 16px;
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0, 0, 0, 0.4); color: var(--white); font-size: 18px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.tile-rate {
  aspect-ratio: 1;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(22px, 4.9vw, 40px);
  background: var(--primary); color: var(--white);
}
.tile-rate .muted { color: rgba(255, 255, 255, 0.65); }
.tile-rate .num { margin-bottom: 12px; }
.dots {
  display: block; width: 100%; height: clamp(22px, 4.9vw, 40px);
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.75) 1.3px, transparent 1.6px);
  background-size: 9px 9px;
}

/* ---------- 10. Banner ---------- */
.banner {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(420px, 224px + 48.9vw, 620px);
  padding: clamp(140px, 36px + 28.9vw, 270px) clamp(20px, 3.7vw, 30px) clamp(48px, 8.6vw, 70px);
  border-radius: var(--r-md); background: var(--dark); color: var(--white);
  text-align: center;
}
.banner-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.banner-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23,23,23,.25) 0%, rgba(23,23,23,.8) 70%); }
.banner-content { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.banner h2 { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.05em; text-wrap: balance; }
.banner p { max-width: 425px; font-size: var(--fs-lead); line-height: 1.45; opacity: .9; }
.banner .btn-primary { margin-top: 12px; }

/* ---------- 10b. Footer ---------- */
.footer { margin-top: clamp(60px, 4.4vw + 44px, 80px); padding-bottom: 40px; }
.footer-person { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-person img { width: 70px; height: 70px; border-radius: 50%; margin-bottom: 14px; }
.footer-name { font-size: var(--fs-title); line-height: 1.2; }
.footer-area { margin-top: 4px; font-size: 14px; color: var(--muted); }
.footer-about { max-width: 320px; margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--muted); }

.contact {
  margin-top: 36px; padding: 9px 9px 24px;
  border-radius: var(--r-xl); background: var(--soft);
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.contact-card {
  width: 100%;
  padding: clamp(40px, 7.4vw, 60px) clamp(22px, 7.4vw, 60px);
  border-radius: var(--r-lg); background: var(--white); text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.contact-card h2 { max-width: 412px; font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.05em; text-wrap: balance; }
.contact-desc { max-width: 290px; margin-top: 20px; font-size: var(--fs-lead); line-height: 1.4; color: var(--muted); }
.btn-wa {
  width: 100%; max-width: 360px; height: 58px; margin-top: 36px;
  display: grid; place-items: center;
  border-radius: 50px; background: var(--primary); color: var(--white);
  font-size: 17px;
  box-shadow: 0 10px 30px rgba(78, 171, 210, 0.3);
  transition: background .25s, transform .25s var(--ease);
}
.btn-wa:hover { background: var(--primary-dark); transform: translateY(-2px); }
.contact-wa { margin-top: 20px; font-size: 13px; color: var(--muted); }
.credit { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; padding: 0 12px; font-size: 13px; color: var(--muted); }
.credit img { width: 22px; height: 22px; border-radius: 50%; }
.credit strong { color: var(--dark); font-weight: 600; }

/* ---------- 11. Tombol WhatsApp melayang ---------- */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90;
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: var(--white); font-size: 30px;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transform: scale(0); transition: transform .4s var(--ease);
}
.wa-float.is-shown { transform: scale(1); }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa); animation: ring 2.4s ease-out infinite;
}
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- 11b. Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(10, 10, 10, 0.92); color: var(--white);
  overscroll-behavior: contain;
}
.lightbox[open] { display: grid; place-items: center; animation: fade .25s ease; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.6); }
@keyframes fade { from { opacity: 0; } }
.lb-figure { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 70px 70px 50px; max-width: 100%; max-height: 100%; }
.lb-img {
  max-width: min(1100px, 100%); max-height: calc(100vh - 160px); max-height: calc(100dvh - 160px);
  width: auto; border-radius: 14px; object-fit: contain;
  touch-action: pan-y; user-select: none;
}
.lb-caption { font-size: 15px; opacity: .8; text-transform: capitalize; text-align: center; }
.lb-btn {
  position: absolute; display: grid; place-items: center;
  width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12); color: var(--white); font-size: 22px;
  cursor: pointer; transition: background .2s;
}
.lb-btn:hover { background: rgba(255, 255, 255, 0.25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 28px; left: 24px; font-size: 14px; opacity: .7; }
body.lb-open { overflow: hidden; }

/* ---------- 12. Animasi muncul ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s ease, transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .stack-card { transform: none; }
}

/* ---------- 12b. Responsif ---------- */
/* HP (< 810px) — kebanyakan ukuran sudah fluid, di sini hanya perubahan susunan */
@media (max-width: 809px) {
  .hero-top { flex-direction: column-reverse; gap: 20px; }
  .slot-desktop { display: none; }
  .slot-mobile { display: inline; }
  .profile-role { max-width: none; }
  .btn-glass { display: none; }
  .hero-bottom { font-size: 12px; }

  .lb-figure { padding: 70px 12px 80px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .lb-prev { left: calc(50% - 58px); }
  .lb-next { right: calc(50% - 58px); }
}

/* HP kecil: langkah proses ditumpuk agar tidak sempit */
@media (max-width: 480px) {
  .step { grid-template-columns: 1fr; gap: 10px; padding: 26px 24px; }
  .step > :first-child { text-align: left; }
  .step-num { flex-direction: row; justify-content: flex-start; gap: 10px; order: -1; }
  .step-desc { order: 1; }
  .ladder { opacity: .55; }
  .list-acc .acc > p { padding-left: 0; }
  .nav-cta { padding: 13px 16px; }
}

/* Tombol navy di atas foto gelap (hero & banner): beri garis tipis agar tetap menonjol */
.hero .btn-primary, .banner .btn-primary { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), 0 10px 30px rgba(0, 0, 0, 0.35); }

/* ---------- 14. Area layanan & link footer ---------- */

/* Kartu area */
.area-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.area-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: clamp(24px, 4vw, 32px);
  border-radius: var(--r-lg); background: var(--soft);
  scroll-margin-top: 100px;
}
.area-card h3 { font-size: var(--fs-title); line-height: 1.2; }
.area-card p { font-size: var(--fs-body); line-height: 1.5; color: var(--muted); }
.area-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.area-links a {
  padding: 8px 14px; border-radius: 50px;
  background: var(--white); border: 1px solid var(--line);
  font-size: 13px; transition: border-color .2s, color .2s;
}
.area-links a:hover { border-color: var(--primary); color: var(--primary-dark); }

/* Link layanan di footer */
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-top: 14px; font-size: 14px; }
.footer-links a { color: var(--dark); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; transition: text-decoration-color .2s; }
.footer-links a:hover { text-decoration-color: var(--primary); }

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

/* =========================================================
   13. DESKTOP (>= 1024px)
   Lebar konten 1200px, bar navigasi di atas, dan susunan
   multi-kolom. Tampilan HP di atas tidak terpengaruh.
   ========================================================= */
@media (min-width: 1024px) {
  :root { --wide: 1200px; }

  .col, .hero { width: min(var(--wide), 100% - 64px); max-width: none; }
  .section { margin-top: 120px; }

  /* Bar navigasi atas */
  .nav, .nav.is-shown {
    top: 0; left: 0; right: 0; transform: none;
    justify-content: space-between; gap: 32px;
    padding: 12px max(32px, calc((100% - var(--wide)) / 2));
    border-radius: 0;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: none;
    transition: box-shadow .3s;
  }
  .nav.is-shown { box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(0, 0, 0, 0.05); }
  .nav-home { display: none; }
  .nav-brand { display: flex; align-items: center; gap: 10px; font-size: 18px; }
  .nav-brand img { width: 36px; height: 36px; border-radius: 50%; }
  .nav-links { display: flex; gap: 32px; margin-left: auto; font-size: 15px; color: var(--muted); }
  .nav-links a { position: relative; transition: color .2s; }
  .nav-links a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
    background: var(--primary); transform: scaleX(0); transition: transform .25s var(--ease);
  }
  .nav-links a:hover { color: var(--dark); }
  .nav-links a:hover::after { transform: scaleX(1); }
  .nav-cta { background: var(--primary); color: var(--white); box-shadow: none; }
  .nav-cta:hover { background: var(--primary-dark); }

  /* Hero: teks kiri, foto kanan */
  .hero { padding-top: 84px; }
  .hero-card { padding: 12px 12px 22px; }
  .hero-main {
    min-height: 620px;
    padding: 48px calc(50% + 24px) 52px 56px;
    background: #141414;
    gap: 36px;
  }
  .hero-bg {
    inset: 12px 12px 12px auto;
    width: calc(50% - 12px); height: calc(100% - 24px);
    border-radius: 28px;
  }
  .hero-overlay { display: none; }
  .hero-title { font-size: 60px; }
  .hero-lead { font-size: 16px; }
  .hero-bottom { padding: 14px 56px 0; }

  /* Layanan Kami: grid 4 kolom (tanpa efek tumpuk) */
  .stack { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .stack-card { position: relative; top: auto; height: 340px; border-radius: 28px; box-shadow: none; transform: none; transition: transform .35s var(--ease), box-shadow .35s; }
  .stack-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12); }
  .stack-bar { gap: 10px; }
  .stack-logo, .stack-arrow { width: 44px; }
  .stack-text strong { font-size: 16px; }
  .stack-text span { font-size: 13px; }

  /* Bagian dua kolom: judul kiri (menempel saat scroll), isi kanan */
  .split {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px; align-items: start;
  }
  .split-side { position: sticky; top: 110px; margin: 0; text-align: left; }
  .split-side h3 { max-width: 360px; margin-left: 0; }
  .services { padding: 0; }
  .list-acc .acc:first-child { padding-top: 6px; }

  .faq { grid-template-rows: auto 1fr; row-gap: 32px; }
  .faq .faq-acc { grid-column: 2; grid-row: 1 / span 2; }
  .faq .split-side { position: static; }
  .faq .faq-more { grid-column: 1; grid-row: 2; align-self: start; align-items: flex-start; text-align: left; margin-top: 0; }

  /* Proses: 5 langkah berjajar */
  .process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 12px; }
  .process-head { grid-column: 1 / -1; min-height: 180px; padding: 36px 56px; }
  .process-text { max-width: 320px; }
  .ladder { right: 72px; top: 8px; width: 140px; }
  .step { grid-template-columns: 1fr; align-content: start; gap: 12px; padding: 30px 24px; }
  .step > :first-child { text-align: left; }
  .step-num { flex-direction: row; justify-content: flex-start; gap: 10px; order: -1; }
  .step-desc { order: 1; }
  .step-title { font-size: 19px; }
  .process > .text-link { grid-column: 1 / -1; justify-self: center; }

  /* Tiles: 3 kotak sejajar */
  .tiles { grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; }
  .tile-years { grid-column: auto; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 40px; }
  .tile-years .num, .tile-rate .num { font-size: 80px; }
  .tile p { font-size: 15px; }

  /* Banner: teks kiri, foto kanan */
  .banner {
    display: flex; align-items: center;
    min-height: 460px; padding: 64px;
    background: #141414; text-align: left;
  }
  .banner-bg { inset: 12px 12px 12px auto; width: calc(46% - 12px); height: calc(100% - 24px); border-radius: 28px; }
  .banner-overlay { display: none; }
  .banner-content { max-width: 48%; align-items: flex-start; }
  .banner p { max-width: 440px; }

  /* Footer: info kiri, kartu kontak kanan */
  .footer { margin-top: 120px; }
  .footer-inner {
    width: min(var(--wide), 100% - 64px); margin: 0 auto;
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px; align-items: center;
  }
  .footer-person { align-items: flex-start; text-align: left; }
  .footer-name { font-size: 28px; }
  .footer-about { max-width: 380px; font-size: 15px; }
  .footer .contact { width: auto; max-width: none; margin: 0; }
}

/* Logo berlatar putih: beri garis tipis agar bentuk bulatnya tetap terlihat di halaman putih */
.avatar, .nav-brand img, .footer-person img, .credit img { background: var(--white); box-shadow: 0 0 0 1px var(--line); }

@media (min-width: 1024px) {
  .footer-links { justify-content: flex-start; }
}

/* Saat klik menu, bagian tujuan tidak tertutup bar navigasi di atas */
section[id], footer[id] { scroll-margin-top: 90px; }
