/* ============================================================
   Arunika Teknik — tampilan publik
   Palet diambil dari objek kerjanya: nyala api biru (deep/flame),
   ujung api (ember), enamel kompor (porcelain), besi (ink).
   ============================================================ */

:root {
  --ink: #151e1c;
  --ink-soft: #3d4b48;
  --steel: #6f7d79;
  --deep: #1a3fa0;
  --flame: #2e6be6;
  --ember: #e8a33d;
  --porcelain: #f0f2ef;
  --paper: #ffffff;
  --line: #d6dcd8;
  --line-strong: #b9c2be;

  --shell: 1180px;
  --gap: clamp(1rem, 2.4vw, 2rem);
  --section-y: clamp(3.5rem, 7vw, 6rem);

  --font-display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(21, 30, 28, 0.06);
  --shadow-md: 0 14px 32px -12px rgba(21, 30, 28, 0.22);
  --shadow-lg: 0 28px 60px -20px rgba(21, 30, 28, 0.32);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--deep); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1rem; max-width: 68ch; }

:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 2px;
}

.shell {
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
}

.section { padding-block: var(--section-y); position: relative; }
.section--tint {
  background:
    radial-gradient(640px 320px at 8% 0%, rgba(232, 163, 61, 0.1), transparent 60%),
    radial-gradient(520px 280px at 100% 100%, rgba(26, 63, 160, 0.06), transparent 65%),
    var(--porcelain);
}
.section--ink {
  background:
    radial-gradient(600px 320px at 85% 0%, rgba(232, 163, 61, 0.16), transparent 60%),
    radial-gradient(520px 320px at 0% 100%, rgba(46, 107, 230, 0.18), transparent 60%),
    var(--ink);
  color: #e7ebe9;
}
.section--ink h2, .section--ink h3 { color: #fff; }

.section > .shell { position: relative; z-index: 1; }

/* gerak pelan cahaya "nyala api" pada elemen dekoratif */
@keyframes emberDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-18px, 22px) scale(1.08); }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 999;
}
.skip-link:focus { left: 0; }

/* ---------- heading blok ---------- */
.headline { margin-bottom: clamp(1.75rem, 3vw, 2.75rem); max-width: 60ch; }
.headline p { color: var(--ink-soft); margin-bottom: 0; }
.headline h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ember), var(--flame));
  margin-top: 0.9rem;
  margin-bottom: 1.1rem;
}
.headline--center { margin-inline: auto; text-align: center; }
.headline--center h2::after { margin-inline: auto; }
.headline--light p { color: #b8c3c0; }

/* ---------- tombol ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  padding: 0.85rem 1.6rem;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--deep); color: #fff; border-color: var(--deep); box-shadow: 0 10px 24px -10px rgba(26, 63, 160, 0.55); }
.btn--primary:hover { background: #14338a; border-color: #14338a; box-shadow: 0 16px 30px -10px rgba(26, 63, 160, 0.6); }
.btn--ember { background: var(--ember); color: var(--ink); border-color: var(--ember); box-shadow: 0 10px 24px -10px rgba(232, 163, 61, 0.65); }
.btn--ember:hover { background: #d8922c; border-color: #d8922c; box-shadow: 0 16px 30px -10px rgba(232, 163, 61, 0.7); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--on-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn--on-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--block { width: 100%; justify-content: center; }

.textlink {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--deep);
  border-bottom: 2px solid rgba(26, 63, 160, 0.25);
  padding-bottom: 2px;
}
.textlink:hover { border-color: var(--deep); text-decoration: none; }

/* ---------- topbar + header ---------- */
.topbar {
  background: var(--ink);
  color: #c4cecb;
  font-size: 0.85rem;
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.75rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.6rem;
}
.topbar a { color: #e8edeb; }
.topbar ul { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.topbar li { display: flex; align-items: center; gap: 0.45rem; }
.topbar svg { width: 15px; height: 15px; fill: var(--ember); flex: none; }

.masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.masthead.is-stuck { box-shadow: 0 10px 30px -12px rgba(21, 30, 28, 0.18); }
.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.9rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__logo { height: 44px; width: auto; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.24rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
  display: block;
}
.brand__tag {
  display: block;
  font-size: 0.74rem;
  color: var(--steel);
  letter-spacing: 0.01em;
}

.nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--ink);
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--deep); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--deep); border-color: var(--deep); }

.nav a { position: relative; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.7rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  clip-path: ellipse(140% 100% at 50% 0%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: -140px;
  bottom: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 163, 61, 0.42), rgba(46, 107, 230, 0.18) 45%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  animation: emberDrift 12s var(--ease) infinite alternate;
}
.hero__stage { position: absolute; inset: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.hero__slide.is-active img { transform: scale(1); }
.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11, 18, 17, 0.92) 8%, rgba(11, 18, 17, 0.55) 52%, rgba(11, 18, 17, 0.2) 100%);
}
.hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: clamp(440px, 66vh, 640px);
  padding-block: clamp(2.5rem, 6vw, 4rem) clamp(4rem, 8vw, 6rem);
}
.hero__copy-inner { max-width: 38rem; color: #fff; }
.hero__copy-inner > * { animation: riseIn 0.9s var(--ease) both; }
.hero__copy-inner > *:nth-child(2) { animation-delay: 0.12s; }
.hero__copy-inner > *:nth-child(3) { animation-delay: 0.24s; }
.hero__copy-inner > *:nth-child(4) { animation-delay: 0.36s; }
.hero h1 { color: #fff; margin-bottom: 1rem; text-wrap: balance; }
.hero__lead { color: #ccd5d2; font-size: 1.08rem; margin-bottom: 1.8rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero__dots { display: flex; gap: 0.45rem; margin-top: 2rem; }
.hero__dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: width 0.35s var(--ease), background-color 0.35s var(--ease);
}
.hero__dots button[aria-selected="true"] { width: 34px; background: var(--ember); }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

/* panel permintaan servis yang menumpuk di bawah hero */
.request {
  position: relative;
  z-index: 3;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--ember);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  margin-top: -4rem;
  margin-bottom: 1rem;
}
.request h2 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.request p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 1.1rem; }
.request__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.85rem;
  align-items: end;
}

/* ---------- form ---------- */
.field { display: block; }
.field > span {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.84rem;
  margin-bottom: 0.35rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.95rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--deep); outline: none; box-shadow: 0 0 0 4px rgba(46, 107, 230, 0.18); }
.field__error { display: block; color: #a8261b; font-size: 0.83rem; margin-top: 0.3rem; }
.field--hp { position: absolute; left: -9999px; }

.alert {
  border: 1px solid var(--line);
  border-left: 4px solid var(--deep);
  border-radius: var(--radius-sm);
  background: var(--porcelain);
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}
.alert--ok { border-left-color: #1f7a4c; }
.alert--error { border-left-color: #a8261b; }
.alert ul { margin: 0.4rem 0 0; padding-left: 1.1rem; }

/* ---------- kartu layanan ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap);
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ember), var(--flame));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--porcelain); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 1.3rem 1.35rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: 0.5rem; }
.card__body p { color: var(--ink-soft); font-size: 0.95rem; }
.card__foot { margin-top: auto; padding-top: 0.9rem; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.card__price { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.card__price small { display: block; font-weight: 400; font-size: 0.74rem; color: var(--steel); }

/* ---------- alasan memilih ---------- */
.reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--gap); }
.reason {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.4rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.reason:hover { transform: translateY(-5px) rotate(-0.4deg); box-shadow: var(--shadow-md); }
.reason:nth-child(even):hover { transform: translateY(-5px) rotate(0.4deg); }
.reason svg {
  width: 52px;
  height: 52px;
  padding: 12px;
  border-radius: 14px;
  fill: var(--deep);
  background: rgba(26, 63, 160, 0.09);
  margin-bottom: 1rem;
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease), fill 0.35s var(--ease);
}
.reason:nth-child(even) svg { fill: #b9741b; background: rgba(232, 163, 61, 0.16); }
.reason:hover svg { transform: scale(1.08) rotate(-6deg); background: var(--deep); fill: #fff; }
.reason:nth-child(even):hover svg { background: var(--ember); fill: var(--ink); }
.reason h3 { font-size: 1.08rem; margin-bottom: 0.35rem; }
.reason p { font-size: 0.93rem; color: var(--ink-soft); margin: 0; }

/* ---------- alur pemesanan (urutan, jadi penomoran memang bermakna) ---------- */
.flow { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--gap); }
.flow__item {
  position: relative;
  padding: 4.4rem 1.3rem 1.4rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(26, 63, 160, 0.05), transparent 70%);
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease);
}
.flow__item:hover { transform: translateY(-4px); }
.flow__item::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1.3rem;
  top: 1.2rem;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  background: linear-gradient(135deg, var(--flame), var(--deep));
  box-shadow: 0 8px 18px -6px rgba(26, 63, 160, 0.6);
}
/* garis penghubung antar langkah */
.flow__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 2.5rem;
  left: 4.6rem;
  right: -1rem;
  border-top: 2px dashed rgba(26, 63, 160, 0.25);
}
.flow__item h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.flow__item p { font-size: 0.93rem; color: var(--ink-soft); margin: 0; }
.section--ink .flow__item p { color: #b8c3c0; }
.section--ink .flow__item::before { background: var(--ember); color: var(--ink); }
.section--ink .flow__item { background: rgba(255, 255, 255, 0.04); }

/* ---------- statistik ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--gap); }
.stat {
  position: relative;
  padding: 1.4rem 1.3rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease);
}
.stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.4rem;
  bottom: 1.4rem;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--ember), var(--flame));
}
.stat:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.08); }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.4vw, 3.1rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
  color: var(--deep);
}
.section--ink .stat strong {
  background: linear-gradient(120deg, #fff 30%, var(--ember));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section:not(.section--ink) .stat { background: var(--paper); border-color: var(--line); box-shadow: var(--shadow-sm); }
.stat span { font-size: 0.9rem; color: var(--ink-soft); }
.section--ink .stat span { color: #b8c3c0; }

/* ---------- tentang ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}
.split__media { position: relative; }
.split__media img {
  width: 100%;
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 80px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-lg);
  transition: transform 0.6s var(--ease);
}
.split__media:hover img { transform: rotate(-1deg) scale(1.01); }
.split__media::before {
  content: "";
  position: absolute;
  z-index: 1;
  right: -2.2rem;
  bottom: -2.2rem;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 163, 61, 0.55), rgba(232, 163, 61, 0) 70%);
  filter: blur(6px);
  animation: emberDrift 10s var(--ease) infinite alternate;
}
.split__media::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: -1.4rem;
  top: -1.4rem;
  width: 110px;
  height: 110px;
  border-radius: 24px;
  background-image: radial-gradient(rgba(26, 63, 160, 0.35) 2px, transparent 2.5px);
  background-size: 14px 14px;
}
.checklist { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: 0.75rem; }
.checklist li { position: relative; padding-left: 2.1rem; font-size: 0.96rem; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(26, 63, 160, 0.12);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 0.45rem;
  width: 6px;
  height: 11px;
  border: solid var(--deep);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

/* ---------- galeri ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; grid-auto-flow: dense; }
.gallery__item {
  position: relative;
  margin: 0;
  border: 0;
  padding: 0;
  background: var(--porcelain);
  cursor: zoom-in;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
/* variasi ukuran supaya grid tidak seragam kaku: tiap 6 foto = 1 besar + 5 kecil,
   pas mengisi grid 3 kolom tanpa sisa sel kosong */
@media (min-width: 760px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery__item:nth-child(6n + 1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}
.gallery__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(11, 18, 17, 0.86));
  color: #fff;
  font-size: 0.86rem;
  text-align: left;
  padding: 1.8rem 1rem 0.85rem;
  transform: translateY(6px);
  opacity: 0.92;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.gallery__item:hover figcaption { transform: none; opacity: 1; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(11, 18, 17, 0.93);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1000px, 92vw); max-height: 82vh; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox__close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  background: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
}
.lightbox__caption { position: absolute; bottom: 1.4rem; left: 0; right: 0; text-align: center; color: #cfd8d5; font-size: 0.9rem; }

/* ---------- testimoni ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: var(--gap); }
.quote {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 4px;
  padding: 1.7rem 1.6rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.quote::before {
  content: "\201C";
  position: absolute;
  top: -0.6rem;
  right: 1.2rem;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--ember);
  opacity: 0.35;
}
.quote:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.quote:nth-child(3n + 2) { transform: translateY(1.2rem); }
.quote:nth-child(3n + 2):hover { transform: translateY(calc(1.2rem - 5px)); }
.quote blockquote { margin: 0 0 1.2rem; font-size: 1rem; color: var(--ink-soft); }
.quote__stars { color: var(--ember); letter-spacing: 0.12em; font-size: 0.95rem; margin-bottom: 0.75rem; }
.quote__who { display: flex; align-items: center; gap: 0.75rem; }
.quote__who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px rgba(232, 163, 61, 0.5); }
.quote__who strong { font-family: var(--font-display); font-size: 0.98rem; display: block; }
.quote__who span { font-size: 0.83rem; color: var(--steel); }

/* ---------- berita ---------- */
.post-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--porcelain); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__body { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.14rem; margin-bottom: 0.45rem; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--deep); text-decoration: none; }
.post-card p { font-size: 0.93rem; color: var(--ink-soft); }
.meta { font-size: 0.82rem; color: var(--steel); display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 0.6rem; }
.meta time { white-space: nowrap; }

.layout-with-side { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: clamp(1.75rem, 4vw, 3rem); align-items: start; }
.side-block { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.35rem; margin-bottom: 1.5rem; box-shadow: var(--shadow-sm); }
.side-block h3 { font-size: 1.02rem; margin-bottom: 0.9rem; }
.side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.side-list a { color: var(--ink); font-size: 0.93rem; line-height: 1.45; display: block; }
.side-list a:hover { color: var(--deep); text-decoration: none; }
.side-list li + li { border-top: 1px solid var(--line); padding-top: 0.85rem; }

.article-body { font-size: 1.04rem; }
.article-body p { max-width: 72ch; }
.article-body h2 { font-size: 1.55rem; margin-top: 2rem; }
.article-body h3 { margin-top: 1.6rem; }
.article-body ul, .article-body ol { max-width: 68ch; padding-left: 1.3rem; }
.article-body img { margin-block: 1.5rem; border-radius: var(--radius-md); }
.layout-with-side > div > img:first-child { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.article-body blockquote {
  margin: 1.5rem 0;
  padding: 0.6rem 0 0.6rem 1.2rem;
  border-left: 3px solid var(--ember);
  color: var(--ink-soft);
}

/* ---------- klien ---------- */
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.logos > * {
  background: var(--paper);
  display: grid;
  place-items: center;
  padding: 1.4rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.logos > *:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.logos img { max-height: 52px; width: auto; filter: grayscale(1); opacity: 0.72; transition: filter 0.35s var(--ease), opacity 0.35s var(--ease); }
.logos > *:hover img { filter: none; opacity: 1; }

/* ---------- page header ---------- */
.pagehead {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(520px 260px at 92% 10%, rgba(232, 163, 61, 0.22), transparent 65%),
    radial-gradient(460px 240px at 0% 100%, rgba(46, 107, 230, 0.12), transparent 65%),
    var(--porcelain);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.5rem, 6vw, 4.25rem);
}
.pagehead > .shell { position: relative; z-index: 1; }
.pagehead > .shell > * { animation: riseIn 0.8s var(--ease) both; }
.pagehead > .shell > *:nth-child(2) { animation-delay: 0.08s; }
.pagehead > .shell > *:nth-child(3) { animation-delay: 0.16s; }
.pagehead h1 { margin-bottom: 0.4rem; }
.pagehead p { color: var(--ink-soft); margin: 0; }
.crumbs { font-size: 0.85rem; color: var(--steel); margin-bottom: 0.75rem; }
.crumbs a { color: var(--steel); }
.crumbs span { margin-inline: 0.4rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(520px 300px at 90% 120%, rgba(232, 163, 61, 0.5), transparent 65%),
    radial-gradient(420px 260px at 0% -20%, rgba(46, 107, 230, 0.6), transparent 65%),
    linear-gradient(120deg, #15338a, var(--deep));
  color: #fff;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1.5px, transparent 2px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent, #000 60%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
  pointer-events: none;
}
.cta-band__inner { position: relative; display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; margin-bottom: 0.35rem; }
.cta-band p { color: #cddaf7; margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- kontak ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(1.75rem, 4vw, 3rem); align-items: start; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.info-list li { display: flex; gap: 0.95rem; align-items: flex-start; }
.info-list svg { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: rgba(26, 63, 160, 0.09); fill: var(--deep); flex: none; }
.info-list strong { font-family: var(--font-display); display: block; font-size: 0.92rem; }
.info-list span, .info-list a { font-size: 0.95rem; color: var(--ink-soft); }
.map-frame { border: 1px solid var(--line); aspect-ratio: 16 / 10; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- footer ---------- */
.footer {
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(232, 163, 61, 0.1), transparent 60%),
    var(--ink);
  color: #adb9b6;
  padding-block: clamp(2.75rem, 6vw, 4rem) 0;
  font-size: 0.93rem;
}
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer a { color: #d5dedb; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: clamp(1.5rem, 3vw, 2.5rem); }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__tag { color: var(--ember); }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer__socials { display: flex; gap: 0.6rem; margin-top: 1.1rem; }
.footer__socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); display: grid; place-items: center; transition: transform 0.3s var(--ease), background-color 0.3s var(--ease); }
.footer__socials a:hover { background: var(--ember); border-color: var(--ember); transform: translateY(-3px); }
.footer__socials svg { width: 16px; height: 16px; fill: #fff; }
.footer__socials a:hover svg { fill: var(--ink); }
.footer__bar {
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* ---------- tombol WhatsApp mengambang ---------- */
.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--ember);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  box-shadow: 0 12px 28px -8px rgba(21, 30, 28, 0.4);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(232, 163, 61, 0.6);
  animation: waPulse 2.6s ease-out infinite;
  pointer-events: none;
}
.wa-float:hover { background: #d8922c; text-decoration: none; transform: translateY(-3px); }

@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(232, 163, 61, 0.55); }
  70%, 100% { box-shadow: 0 0 0 16px rgba(232, 163, 61, 0); }
}
.wa-float svg { width: 19px; height: 19px; fill: var(--ink); }

/* ---------- paginasi ---------- */
.pager { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 2.25rem; list-style: none; padding: 0; }
.pager a, .pager span {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding-inline: 0.65rem;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink);
}
.pager a:hover { border-color: var(--deep); color: var(--deep); text-decoration: none; }
.pager .is-current { background: var(--deep); border-color: var(--deep); color: #fff; }
.pager .is-disabled { color: var(--line-strong); }

.empty { border: 1px dashed var(--line-strong); border-radius: var(--radius-md); padding: 2.5rem 1.5rem; text-align: center; color: var(--steel); }

/* ---------- muncul halus saat digulir (diaktifkan oleh site.js) ---------- */
/* pakai properti `translate` (bukan `transform`) supaya tidak menimpa efek hover kartu */
.js-reveal .reveal {
  opacity: 0;
  translate: 0 26px;
  transition: opacity 0.75s var(--ease) var(--reveal-delay, 0s), translate 0.75s var(--ease) var(--reveal-delay, 0s), transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), background-color 0.35s var(--ease);
}
.js-reveal .reveal.is-visible { opacity: 1; translate: none; }

/* ---------- responsif ---------- */
@media (max-width: 900px) {
  .layout-with-side, .contact-grid, .split { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1.25rem;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li + li { border-top: 1px solid var(--line); }
  .nav a { display: block; padding: 0.8rem 0; border-bottom: 0; }
  .masthead__inner { position: relative; }
  .request { margin-top: 0; border-top-width: 4px; }
  .nav a::after { display: none; }
  .flow__item:not(:last-child)::after { display: none; }
  .quote:nth-child(3n + 2) { transform: none; }
  .quote:nth-child(3n + 2):hover { transform: translateY(-5px); }
  .hero { clip-path: ellipse(180% 100% at 50% 0%); }
}

@media (max-width: 620px) {
  .footer__grid { grid-template-columns: 1fr; }
  .topbar__inner { justify-content: flex-start; }
  .wa-float span { display: none; }
  .wa-float { padding: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .js-reveal .reveal { opacity: 1; translate: none; }
}
