/* =========================================================
   Arto Printing — tata letak bersama
   Strip warna, header + navigasi, section umum, footer, tombol WA melayang.
   ========================================================= */

/* ---------- Strip warna (color bar lembar cetak) ---------- */
.colorbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 4px;
}
.colorbar span:nth-child(1) { background: var(--teal); }
.colorbar span:nth-child(2) { background: var(--teal); }
.colorbar span:nth-child(3) { background: var(--royal); }
.colorbar span:nth-child(4) { background: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.brand-logo { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #089890;
}
.brand-tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .78rem;
  color: var(--royal);
  margin-top: 3px;
}
.site-footer .brand-name { color: #fff; }
.site-footer .brand-tag { color: #7fd6d0; }

.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
}
.nav a:hover { color: var(--ink); background: var(--sheet); }

.menu-btn {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 820px) {
  .menu-btn { display: inline-flex; }
  .site-header .bar { gap: 12px; }
  .nav {
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 16px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; border-radius: var(--r-sm); }
  .site-header .btn-wa .label-long { display: none; }
}

/* ---------- Section umum ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-sheet { background: var(--sheet); }
.section-head { max-width: 46rem; margin-bottom: 32px; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.section-head p { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #c9cbe0;
  font-size: .92rem;
}
.site-footer .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 36px;
  padding-bottom: 36px;
}
.site-footer .brand { color: #fff; font-size: 1.15rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer a { text-decoration: none; }
.site-footer nav a:hover { color: #fff; text-decoration: underline; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  display: grid;
  place-items: center;
  color: #fff;
}
.socials a:hover { background: rgba(255,255,255,.1); }
.socials svg { width: 20px; height: 20px; }

/* ---------- Tombol WA melayang ---------- */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--teal-deep);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px -8px rgba(23,138,69,.7);
}
.wa-float:hover { background: var(--ink); }
.wa-float svg { width: 28px; height: 28px; }

.footer-copy { margin: 8px 0 0; }

/* ---------- Judul halaman (h1 di bagian pertama setiap halaman) ---------- */
.section-head h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.section-link { margin: 28px 0 0; }

/* menu halaman yang sedang dibuka */
.nav a[aria-current="page"] { color: var(--ink); background: var(--teal-tint); }

/* deretan tombol sederhana (mis. halaman 404) */
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* footer selalu di bawah meski isi halaman pendek (mis. Cara Pesan, 404) */
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }

/* alamat & kontak di footer (NAP konsisten di semua halaman) */
.footer-nap {
  font-style: normal;
  margin: 12px 0 0;
  max-width: 30rem;
  line-height: 1.55;
  color: #c9cbe0;
}
.footer-nap a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

/* layar sangat kecil (320-380 px): header tidak boleh melebar */
@media (max-width: 380px) {
  .site-header .bar { gap: 8px; }
  .brand { gap: 8px; }
  .brand-logo { width: 34px; height: 34px; }
  .brand-name { font-size: 1.05rem; }
  .brand-tag { display: none; }
  .menu-btn { padding: 7px 12px; }
  .site-header .btn-wa { padding: 9px 12px; }
}

/* tautan lanjutan di bawah bagian ("Lihat semua ...") */
.link-more {
  font-weight: 700;
  color: var(--teal-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-more:hover { color: var(--ink); }
