/* Toko Jhofan's — REDESIGN 2026-12-01: modern, putih bersih + hijau pekat.
   frontend-design: dunia presisi jam — hijau pekat (seperti jam lapangan
   klasik) + putih lega + Plus Jakarta Sans. Satu momen kaya: foto toko
   asli besar di hero. unslop: tanpa gradien/emoji/label ALL-CAPS,
   sentence case. impeccable: mode Persuade, quality floor (fokus
   terlihat, prefers-reduced-motion). better-ui: radius luar = dalam +
   padding (20 = 12 + 8); hover hanya @media (hover: hover); bayangan
   berlapis; gambar outline oklch; tekan scale .96/150ms.
   POLISH 2026-12-01: hero-stats (fakta terverifikasi), ikon strip,
   chip ikon servis, garis aksen stat + bar judul seksi, panel kontak
   hijau, tombol WA mengambang (HP saja), entrance hero bertahap
   ~100ms (satu momen gerak), scroll-padding untuk anchor. */
:root {
  --bg: #ffffff;
  --surface: #f6f7f8;
  --surface-2: #eef0f2;
  --ink: #101828;
  --muted: #475467;
  --faint: #667085;
  --line: #e4e7ec;
  --accent: #0b5d3b;
  --accent-dark: #084a2f;
  --accent-tint: #e6f2ec;
  --wa: #157347;
  --wa-dark: #0f5c38;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.65 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.15; }
h1 { font-size: 44px; font-weight: 800; margin: 0 0 16px; }
h2 { font-size: 30px; font-weight: 800; margin: 0 0 8px; }
h3 { font-size: 18px; font-weight: 700; margin: 0 0 6px; }
p { margin: 0 0 12px; }
a { color: var(--accent); }
img { display: block; max-width: 100%; height: auto; outline: 1px solid oklch(0 0 0 / .1); outline-offset: -1px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.fine { color: var(--faint); font-size: 14px; }
.fine a { display: inline-block; padding: 4px 0; }

/* Header */
.site-head {
  background: rgb(255 255 255 / .88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
}
.head-in { display: flex; align-items: center; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand b { display: block; font-size: 18px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.brand small { display: block; color: var(--faint); font-size: 12.5px; font-weight: 500; }
.brand-mark {
  width: 40px; height: 40px; flex: none; border-radius: 12px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
}
.brand-mark svg { width: 22px; height: 22px; }
nav { display: flex; gap: 4px; }
nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
nav a:hover { color: var(--ink); background: var(--surface); }

/* Tombol */
.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 15px; padding: 13px 24px; border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.96); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-wa { background: var(--wa); }
.btn-small { padding: 10px 18px; font-size: 14px; }
.btn-big { padding: 15px 28px; font-size: 16px; }

/* Hero */
.hero { padding: 72px 0 64px; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.open-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-tint); color: var(--accent);
  font-weight: 700; font-size: 13.5px;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.open-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #12a150; flex: none; }
.lede { font-size: 18px; color: var(--muted); max-width: 54ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 16px; }
.hero-note { color: var(--faint); font-size: 14px; margin: 0; }
.hero-note a { color: var(--wa); font-weight: 700; display: inline-block; padding: 4px 0; }
.hero-stats {
  display: flex; gap: 32px; flex-wrap: wrap; list-style: none;
  margin: 28px 0 0; padding: 20px 0 0;
  border-top: 1px solid var(--line);
}
.hero-stats b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--accent); line-height: 1.2; }
.hero-stats span { color: var(--faint); font-size: 13.5px; }
.hero-fig { margin: 0; }
.hero-fig img { border-radius: 24px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: 0 1px 2px rgb(0 0 0 / .06), 0 16px 40px rgb(0 0 0 / .12); }
.hero-fig figcaption, .about-fig figcaption { color: var(--faint); font-size: 13px; margin-top: 10px; }

/* Strip keunggulan */
.strip { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 28px; padding-bottom: 28px; }
.strip-icon { width: 22px; height: 22px; color: var(--accent); margin-bottom: 10px; }
.strip-in b { display: block; font-size: 16px; font-weight: 700; margin-bottom: 4px; letter-spacing: -.01em; }
.strip-in span { color: var(--muted); font-size: 14.5px; }

/* Seksi */
.section { padding: 72px 0; }
.section.tint { background: var(--surface); }
.sec-head { max-width: 640px; margin-bottom: 32px; }
.sec-head::before { content: ""; display: block; width: 32px; height: 4px; border-radius: 2px; background: var(--accent); margin-bottom: 14px; }
.sec-head p { color: var(--muted); }

/* Katalog */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: #fff; border-radius: 20px; overflow: hidden;
  border: 1px solid transparent;
  box-shadow: 0 1px 2px rgb(0 0 0 / .06), 0 8px 24px rgb(0 0 0 / .08);
  display: flex; flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; outline: none; transition: transform .4s ease; }
.card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); font-size: 14.5px; flex: 1; }
.card-link {
  display: inline-block; align-self: flex-start; margin-top: 12px;
  color: var(--accent); font-weight: 700; font-size: 14.5px; text-decoration: none;
  border-bottom: 2px solid var(--accent-tint); padding: 6px 0 2px;
}
.card-link:hover { border-bottom-color: var(--accent); }
.sample {
  display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 700;
  color: var(--muted); background: var(--surface-2); border-radius: 999px;
  padding: 3px 10px; margin-bottom: 10px;
}

/* Servis */
.serv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.serv {
  background: #fff; border-radius: 20px; padding: 24px;
  border: 1px solid transparent;
  box-shadow: 0 1px 2px rgb(0 0 0 / .06), 0 8px 24px rgb(0 0 0 / .08);
  transition: box-shadow .2s ease, transform .2s ease;
}
.serv-icon-wrap {
  display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 14px; background: var(--accent-tint); margin-bottom: 14px;
}
.serv-icon { width: 26px; height: 26px; color: var(--accent); }
.serv p { color: var(--muted); font-size: 14.5px; margin: 0; }
.serv-note { background: var(--accent); color: #fff; }
.serv-note p { color: #d7e9de; }
.serv-note h3 { color: #fff; }
.serv-note a { color: #fff; font-weight: 700; display: inline-block; padding: 3px 0; }
.serv-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.serv-steps div { display: flex; align-items: center; gap: 14px; }
.serv-steps b {
  display: grid; place-items: center; width: 36px; height: 36px; flex: none;
  background: var(--accent); color: #fff; border-radius: 50%;
  font-size: 15px; font-weight: 800;
}
.serv-steps span { font-weight: 600; font-size: 15px; }

/* Kata pelanggan */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { background: var(--surface); border-radius: 20px; padding: 24px; position: relative; overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.stat::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--accent); }
.stat b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: var(--accent); margin-bottom: 6px; }
.stat span { color: var(--muted); font-size: 14.5px; }

/* Tentang */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about-fig { margin: 0; }
.about-fig img { border-radius: 24px; }
.about p { color: var(--muted); }

/* Peta */
.map-wrap { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; }

/* Kontak — panel hijau pekat, satu momen kaya di penutup */
.kontak { max-width: 720px; text-align: center; margin: 0 auto; background: var(--accent); color: #fff; border-radius: 24px; padding: 48px 32px; box-shadow: 0 1px 2px rgb(0 0 0 / .06), 0 16px 40px rgb(0 0 0 / .12); }
.kontak h2 { color: #fff; }
.kontak p { color: #d7e9de; }
.kontak-wa { margin: 20px 0 8px; }
.kontak-wa .btn-wa { background: #fff; color: var(--accent-dark); }
.kontak-addr { font-size: 16px; margin: 16px 0 20px; color: #fff; }
.kontak .btn-ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / .4); }

/* Footer */
footer { border-top: 1px solid var(--line); }
.foot-in { padding-top: 32px; padding-bottom: 32px; }
.foot-in p { margin: 0 0 6px; }
.foot-in .fine { color: var(--faint); }

/* Satu momen gerak: masuknya hero saja, bertahap ~100ms. Seksi lain diam. */
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero-text > * { animation: rise .5s ease both; }
.hero-text > *:nth-child(2) { animation-delay: .08s; }
.hero-text > *:nth-child(3) { animation-delay: .16s; }
.hero-text > *:nth-child(4) { animation-delay: .24s; }
.hero-text > *:nth-child(5) { animation-delay: .32s; }
.hero-text > *:nth-child(6) { animation-delay: .4s; }
.hero-fig { animation: rise .6s ease .15s both; }

/* Tombol WhatsApp mengambang — hanya HP, sopan dan tidak menutupi konten desktop */
.wa-float { display: none; }

a:focus-visible, .btn:focus-visible, .wa-float:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) {
  .btn:hover { background: var(--accent-dark); }
  .btn-wa:hover { background: var(--wa-dark); }
  .kontak-wa .btn-wa:hover { background: var(--accent-tint); color: var(--accent-dark); }
  .btn-ghost:hover { background: var(--surface); border-color: var(--ink); color: var(--ink); }
  .kontak .btn-ghost:hover { background: rgb(255 255 255 / .12); border-color: #fff; color: #fff; }
  .card:hover { box-shadow: 0 1px 2px rgb(0 0 0 / .06), 0 16px 40px rgb(0 0 0 / .12); transform: translateY(-2px); }
  .card:hover img { transform: scale(1.04); }
  .serv:hover { box-shadow: 0 1px 2px rgb(0 0 0 / .06), 0 16px 40px rgb(0 0 0 / .12); transform: translateY(-2px); }
  .stat:hover { box-shadow: 0 1px 2px rgb(0 0 0 / .06), 0 12px 32px rgb(0 0 0 / .1); transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .serv-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-in, .about { grid-template-columns: 1fr; gap: 32px; }
  .hero-fig img { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .hero { padding: 48px 0 40px; }
  .section { padding: 48px 0; }
  .strip-in { grid-template-columns: 1fr; gap: 20px; }
  .serv-grid, .serv-steps { grid-template-columns: 1fr; }
  nav { display: none; }
  .head-in { gap: 12px; }
  .map-wrap iframe { height: 300px; }
  .hero-stats { gap: 20px; }
  .hero-stats b { font-size: 18px; }
  .kontak { padding: 40px 20px; }
  .wa-float {
    display: grid; place-items: center; position: fixed; right: 16px; bottom: 16px; z-index: 20;
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--wa); color: #fff;
    box-shadow: 0 4px 12px rgb(0 0 0 / .25), 0 1px 2px rgb(0 0 0 / .06);
    -webkit-tap-highlight-color: transparent;
  }
  .wa-float svg { width: 28px; height: 28px; }
  .wa-float:active { transform: scale(.96); }
}
@media (max-width: 480px) {
  .grid, .stats-grid { grid-template-columns: 1fr; }
}
