/* =========================================================
   CV Pustaka Nusantara — Company Profile Website
   Tema: gradasi teal/cyan, aksen kuning, kartu putih lembut
   ========================================================= */

:root {
  --teal-1: #43d8c7;
  --teal-2: #17b3a3;
  --teal-3: #0e9488;
  --teal-deep: #0b7f74;
  --teal-ink: #0b3f39;
  --yellow: #ffc93c;
  --yellow-dark: #f0b400;
  --ink: #173a36;
  --muted: #587a75;
  --bg-soft: #f1faf8;
  --white: #ffffff;
  --radius: 18px;
  --shadow-sm: 0 6px 18px rgba(13, 87, 79, 0.10);
  --shadow-md: 0 14px 34px rgba(13, 87, 79, 0.14);
  --shadow-lg: 0 24px 60px rgba(13, 87, 79, 0.18);
  --grad-hero: linear-gradient(135deg, #3fd3c2 0%, #16ac9c 48%, #0b9184 100%);
  --grad-banner: linear-gradient(120deg, #12a093 0%, #0b7f74 100%);
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn:hover { transform: translateY(-3px); }

.btn-primary {
  background: var(--yellow);
  color: #4a3605;
  box-shadow: 0 10px 24px rgba(240, 180, 0, 0.35);
}
.btn-primary:hover { background: var(--yellow-dark); box-shadow: 0 14px 30px rgba(240, 180, 0, 0.45); }

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--white);
  background: transparent;
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.14); }

.btn-outline-dark {
  border-color: var(--teal-2);
  color: var(--teal-2);
  background: transparent;
}
.btn-outline-dark:hover { background: var(--teal-2); color: var(--white); }

.btn-teal {
  background: var(--teal-2);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(23, 179, 163, 0.35);
}
.btn-teal:hover { background: var(--teal-3); }

/* ---------- Header / Navigasi ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(9, 116, 105, 0.96);
  padding: 12px 0;
  box-shadow: 0 6px 24px rgba(6, 70, 63, 0.35);
  backdrop-filter: blur(6px);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.brand-logo svg { width: 24px; height: 24px; }
.brand-name { line-height: 1.15; }
.brand-name strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.4px;
}
.brand-name span {
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-link {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  font-size: 15px;
  padding: 6px 2px;
  position: relative;
  transition: color 0.25s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2.5px;
  border-radius: 2px;
  background: var(--yellow);
  transition: width 0.28s ease;
}
.nav-link:hover { color: var(--yellow); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--white); font-weight: 600; }
.nav-link.active::after { width: 100%; }
.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  width: 44px;
  height: 40px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2.2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.2px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.2px) rotate(-45deg); }

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative;
  background: var(--grad-hero);
  padding: 150px 0 90px;
  color: var(--white);
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.hero::before { width: 420px; height: 420px; top: -140px; right: -120px; }
.hero::after { width: 260px; height: 260px; bottom: -90px; left: -80px; }
.hero-deco-dot {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}
.hero-deco-dot.d1 { width: 16px; height: 16px; top: 24%; left: 6%; }
.hero-deco-dot.d2 { width: 10px; height: 10px; top: 64%; left: 42%; }
.hero-deco-dot.d3 { width: 12px; height: 12px; bottom: 18%; right: 8%; }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 48px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.6px;
  margin-bottom: 22px;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: 0.4px;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--yellow); }
.hero-desc {
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual { position: relative; }
.hero-illustration {
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  border: 5px solid rgba(255, 255, 255, 0.25);
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.float-card {
  position: absolute;
  background: var(--white);
  color: var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  z-index: 3;
}
.float-card .fc-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.float-card strong { display: block; font-size: 15px; line-height: 1.2; }
.float-card small { color: var(--muted); font-size: 12px; }
.float-card.fc-1 { top: -20px; left: -14px; animation: floaty 5s ease-in-out infinite; }
.float-card.fc-1 .fc-icon { background: rgba(23, 179, 163, 0.14); }
.float-card.fc-2 { bottom: -18px; right: -10px; animation: floaty 7s ease-in-out 0.6s infinite; }
.float-card.fc-2 .fc-icon { background: rgba(240, 180, 0, 0.18); }

/* ---------- Statistik ---------- */
.stats-strip {
  background: var(--white);
  position: relative;
  z-index: 5;
  margin-top: -52px;
}
.stats-card {
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  padding: 30px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.stat-item { text-align: center; position: relative; }
.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 18%;
  height: 64%;
  width: 1.5px;
  background: #e3efed;
}
.stat-num {
  font-size: 30px;
  font-weight: 800;
  color: var(--teal-2);
  line-height: 1.1;
}
.stat-label { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* ---------- Judul seksi ---------- */
.section { padding: 90px 0; }
.section.soft { background: var(--bg-soft); }
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-tag {
  display: inline-block;
  background: rgba(23, 179, 163, 0.12);
  color: var(--teal-3);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}
.section-head p { color: var(--muted); margin-top: 12px; font-size: 15.5px; }

/* ---------- Layanan ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.services-grid.four { grid-template-columns: repeat(4, 1fr); }
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e8f3f1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(23, 179, 163, 0.12);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 28px; height: 28px; stroke: var(--teal-2); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 18.5px; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 14.5px; color: var(--muted); }

/* ---------- Buku (kartu & sampul CSS) ---------- */
.books-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.book-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e8f3f1;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.book-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.book-cover {
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 18px 18px 30px;
  position: relative;
  color: var(--white);
  overflow: hidden;
}
.book-cover::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 14px;
  background: rgba(0, 0, 0, 0.18);
  border-right: 1.5px solid rgba(255, 255, 255, 0.25);
}
.book-cover::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  right: -55px;
  bottom: -55px;
}
.book-cover .bc-tag {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  position: relative;
  z-index: 1;
}
.book-cover .bc-body { position: relative; z-index: 1; }
.book-cover .bc-title { font-size: 18px; font-weight: 700; line-height: 1.3; }
.book-cover .bc-author { font-size: 12.5px; opacity: 0.9; margin-top: 6px; }
.book-info { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.book-meta { font-size: 12.5px; color: var(--muted); }
.book-title-sm { font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.book-author { font-size: 13px; color: var(--muted); }
.book-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
}
.book-price { font-weight: 700; color: var(--teal-3); font-size: 15.5px; }
.badge {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.badge.best { background: rgba(240, 180, 0, 0.16); color: #b98a00; }
.badge.new { background: rgba(23, 179, 163, 0.14); color: var(--teal-3); }

/* Ragam warna sampul */
.cov-1 { background: linear-gradient(150deg, #e2574c, #a62f2a); }
.cov-2 { background: linear-gradient(150deg, #5b6bd6, #3a3f8f); }
.cov-3 { background: linear-gradient(150deg, #0e9488, #0b5a54); }
.cov-4 { background: linear-gradient(150deg, #3fae5a, #1f7a3a); }
.cov-5 { background: linear-gradient(150deg, #e77fb3, #b34a80); }
.cov-6 { background: linear-gradient(150deg, #2f8fd8, #1c5a94); }
.cov-7 { background: linear-gradient(150deg, #f2a341, #cf7a1d); }
.cov-8 { background: linear-gradient(150deg, #8a6f4d, #5e4a30); }
.cov-9 { background: linear-gradient(150deg, #7a5fb8, #4a3a80); }
.cov-10 { background: linear-gradient(150deg, #189a75, #0e6b4f); }
.cov-11 { background: linear-gradient(150deg, #d9a520, #a67800); }
.cov-12 { background: linear-gradient(150deg, #d8643f, #9c3c1f); }

/* ---------- Alur penerbitan ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}
.step-card { text-align: center; position: relative; }
.step-num {
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--yellow);
  color: #4a3605;
  font-size: 22px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 22px rgba(240, 180, 0, 0.35);
  position: relative;
  z-index: 2;
}
.step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 31px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  border-top: 2.5px dashed #bfe3de;
  z-index: 1;
}
.step-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- Testimoni ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e8f3f1;
  position: relative;
}
.testi-card::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  right: 22px;
  font-size: 90px;
  line-height: 1;
  color: rgba(23, 179, 163, 0.15);
  font-family: Georgia, serif;
}
.testi-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.testi-stars svg { width: 16px; height: 16px; fill: var(--yellow); }
.testi-text { font-size: 14.5px; color: #3c5a56; margin-bottom: 22px; }
.testi-person { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--white);
  font-size: 15px;
  flex-shrink: 0;
}
.testi-person strong { display: block; font-size: 14.5px; color: var(--ink); line-height: 1.3; }
.testi-person small { color: var(--muted); font-size: 12.5px; }
.av-1 { background: linear-gradient(135deg, #17b3a3, #0b7f74); }
.av-2 { background: linear-gradient(135deg, #e77fb3, #b34a80); }
.av-3 { background: linear-gradient(135deg, #f2a341, #cf7a1d); }
.av-4 { background: linear-gradient(135deg, #5b6bd6, #3a3f8f); }
.av-5 { background: linear-gradient(135deg, #3fae5a, #1f7a3a); }
.av-6 { background: linear-gradient(135deg, #d8643f, #9c3c1f); }

/* ---------- Banner CTA ---------- */
.cta-banner {
  background: var(--grad-banner);
  border-radius: 26px;
  padding: 56px 60px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-md);
}
.cta-banner::before,
.cta-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
}
.cta-banner::before { width: 240px; height: 240px; top: -110px; right: -60px; }
.cta-banner::after { width: 170px; height: 170px; bottom: -80px; left: 30%; }
.cta-text { position: relative; z-index: 1; max-width: 620px; }
.cta-text h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.cta-text p { color: rgba(255, 255, 255, 0.9); font-size: 15.5px; }
.cta-actions { position: relative; z-index: 1; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Hero halaman dalam ---------- */
.page-hero {
  background: var(--grad-hero);
  padding: 150px 0 76px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.page-hero::before { width: 360px; height: 360px; top: -130px; left: -110px; }
.page-hero::after { width: 240px; height: 240px; bottom: -100px; right: -70px; }
.page-hero .crumbs {
  position: relative;
  z-index: 1;
  font-size: 13.5px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.page-hero h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
}
.page-hero p {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.92);
}

/* ---------- Tentang ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.about-media { position: relative; }
.about-media img.main {
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.about-media img.sub {
  position: absolute;
  width: 46%;
  height: 190px;
  object-fit: cover;
  border-radius: 16px;
  border: 5px solid var(--white);
  box-shadow: var(--shadow-md);
  right: -18px;
  bottom: -52px;
}
.about-media .exp-chip {
  position: absolute;
  top: -20px;
  left: -14px;
  background: var(--yellow);
  color: #4a3605;
  border-radius: 14px;
  padding: 14px 20px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  font-size: 14px;
  line-height: 1.3;
  z-index: 2;
}
.about-media .exp-chip strong { display: block; font-size: 24px; }
.about-body h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; margin-bottom: 18px; line-height: 1.3; }
.about-body p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.about-check { margin-top: 22px; display: grid; gap: 12px; }
.about-check li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: #3c5a56; }
.about-check .tick {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(23, 179, 163, 0.14);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.about-check .tick svg { width: 12px; height: 12px; stroke: var(--teal-3); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.legal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.legal-card {
  background: var(--white);
  border: 1px solid #e8f3f1;
  border-radius: var(--radius);
  padding: 24px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.legal-card .service-icon { margin: 0 auto 14px; }
.legal-card h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.legal-card p { font-size: 13px; color: var(--muted); }

.vm-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 26px; }
.vm-card {
  border-radius: var(--radius);
  padding: 34px 32px;
  color: var(--white);
  background: var(--grad-banner);
  box-shadow: var(--shadow-md);
}
.vm-card.alt { background: var(--white); color: var(--ink); border: 1px solid #e8f3f1; box-shadow: var(--shadow-sm); }
.vm-card .vm-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 12px;
  color: var(--yellow);
}
.vm-card.alt .vm-label { color: var(--teal-3); }
.vm-card h3 { font-size: 20px; font-weight: 700; line-height: 1.45; }
.vm-card.alt h3 { color: var(--ink); }
.vm-list { margin-top: 18px; display: grid; gap: 14px; }
.vm-list li { display: flex; gap: 14px; font-size: 14.5px; color: #3c5a56; }
.vm-list .vm-num {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(23, 179, 163, 0.12);
  color: var(--teal-3);
  font-weight: 700;
  font-size: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.team-card {
  background: var(--white);
  border: 1px solid #e8f3f1;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.team-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 26px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}
.team-card h4 { font-size: 16.5px; font-weight: 700; }
.team-card .role { color: var(--teal-3); font-size: 13px; font-weight: 600; margin: 4px 0 8px; }
.team-card p { font-size: 13px; color: var(--muted); }

.gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 22px;
}
.gallery-grid figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 260px;
  margin: 0;
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-grid figure:hover img { transform: scale(1.06); }
.gallery-grid figcaption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(7, 62, 56, 0.85));
  color: var(--white);
  font-size: 13.5px;
  font-weight: 500;
  padding: 34px 18px 14px;
}

/* ---------- Katalog ---------- */
.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1.5px solid #cfe8e4;
  background: var(--white);
  color: #3c5a56;
  font-weight: 500;
  font-size: 13.5px;
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font);
}
.chip:hover { border-color: var(--teal-2); color: var(--teal-3); }
.chip.active {
  background: var(--teal-2);
  border-color: var(--teal-2);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(23, 179, 163, 0.3);
}
.search-box { position: relative; min-width: 260px; }
.search-box input {
  width: 100%;
  border: 1.5px solid #cfe8e4;
  border-radius: 999px;
  padding: 11px 18px 11px 44px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.search-box input:focus { border-color: var(--teal-2); box-shadow: 0 0 0 4px rgba(23, 179, 163, 0.12); }
.search-box svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
.catalog-count { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.catalog-count strong { color: var(--teal-3); }
.empty-state {
  display: none;
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
.empty-state.show { display: block; }
.empty-state .service-icon { margin: 0 auto 16px; }
.order-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 60px;
}
.order-card {
  background: var(--white);
  border: 1px solid #e8f3f1;
  border-radius: var(--radius);
  padding: 26px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.order-card .service-icon { width: 50px; height: 50px; margin: 0; flex-shrink: 0; }
.order-card .service-icon svg { width: 24px; height: 24px; }
.order-card h4 { font-size: 15.5px; margin-bottom: 4px; }
.order-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- Kontak ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 60px;
}
.contact-card {
  background: var(--white);
  border: 1px solid #e8f3f1;
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.contact-card .service-icon { margin: 0 auto 16px; }
.contact-card h4 { font-size: 15.5px; margin-bottom: 8px; }
.contact-card p { font-size: 13.5px; color: var(--muted); }
.contact-card a { color: var(--teal-3); font-weight: 600; }
.contact-card a:hover { text-decoration: underline; }

.contact-main { display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; align-items: stretch; }
.contact-form-card {
  background: var(--white);
  border: 1px solid #e8f3f1;
  border-radius: var(--radius);
  padding: 38px 36px;
  box-shadow: var(--shadow-md);
}
.contact-form-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.contact-form-card > p { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.form-group label span { color: #cf4040; }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid #d5e8e5;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--ink);
  background: #fbfefe;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--teal-2); box-shadow: 0 0 0 4px rgba(23, 179, 163, 0.12); }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.form-success {
  display: none;
  margin-top: 18px;
  background: rgba(63, 174, 90, 0.1);
  border: 1.5px solid rgba(63, 174, 90, 0.4);
  color: #237a3a;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
}
.form-success.show { display: flex; gap: 10px; align-items: center; }
.map-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid #e8f3f1; min-height: 420px; position: relative; }
.map-card iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

.faq-list { display: grid; gap: 14px; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid #e8f3f1;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--teal-2);
  font-weight: 600;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 20px; font-size: 14px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--teal-ink);
  color: rgba(255, 255, 255, 0.82);
  padding: 70px 0 0;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; max-width: 300px; }
.footer-col h4 {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: var(--yellow);
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 14px; transition: color 0.25s ease, padding-left 0.25s ease; }
.footer-col a:hover { color: var(--yellow); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; font-size: 14px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; stroke: var(--yellow); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  text-align: center;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
}
.footer-bottom strong { color: var(--yellow); font-weight: 600; }

/* ---------- Animasi muncul ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-illustration, .float-card { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsif ---------- */
@media (max-width: 1024px) {
  .books-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .step-card:not(:last-child)::after { display: none; }
  .team-grid, .legal-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid figure:first-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero { padding: 130px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 560px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 70px; }
  .about-media { margin-right: 20px; }
  .vm-grid { grid-template-columns: 1fr; }
  .contact-main { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; padding: 44px 30px; }
  .cta-actions { justify-content: center; }
  .stats-card { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .stat-item:nth-child(2)::after { display: none; }
  .nav-menu {
    position: fixed;
    top: 68px;
    left: 16px;
    right: 16px;
    background: rgba(9, 116, 105, 0.98);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .nav-menu.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-link { padding: 12px 16px; border-radius: 10px; }
  .nav-link:hover, .nav-link.active { background: rgba(255, 255, 255, 0.12); }
  .nav-link::after { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 640px) {
  .books-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .team-grid, .legal-grid, .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .order-info { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 66px 0; }
  .contact-form-card { padding: 28px 22px; }
  .catalog-toolbar { flex-direction: column; align-items: stretch; }
  .search-box { min-width: 0; }
  .brand-name strong { font-size: 15px; }
  .book-cover .bc-title { font-size: 15px; }
}
@media (max-width: 420px) {
  .books-grid { grid-template-columns: 1fr; }
  .float-card { display: none; }
}

/* =========================================================
   Tambahan CMS (aditif — tidak mengubah tampilan bawaan)
   ========================================================= */

/* Logo gambar kustom di navbar/footer */
.brand-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }

/* Sampul buku dengan gambar upload */
.book-cover.cov-img { padding: 0; }
.book-cover.cov-img img {
  width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1;
}
.book-cover.cov-img .bc-tag { position: absolute; top: 14px; left: 30px; }
.book-cover.cov-img .bc-body {
  position: absolute; inset: auto 0 0 0; z-index: 1;
  padding: 40px 18px 18px 30px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
}

/* Sosial media di footer (muncul jika diaktifkan di Admin) */
.footer-social {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 0 0 30px;
}
.footer-social .social-btn {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid; place-items: center;
  transition: background 0.25s ease, transform 0.25s ease;
}
.footer-social .social-btn:hover { background: var(--yellow); transform: translateY(-3px); }
.footer-social .social-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--white); }
.footer-social .social-btn:hover svg { color: #4a3605; }
.footer-social .social-btn.is-filled svg { fill: currentColor; stroke: none; }

/* Google Maps di footer (blok menyatu dengan desain footer) */
.footer-map { padding-bottom: 44px; }
.footer-map h4 {
  color: var(--white); font-size: 16px; font-weight: 700;
  margin-bottom: 16px; position: relative; padding-bottom: 10px;
}
.footer-map h4::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px;
  border-radius: 2px; background: var(--yellow);
}
.footer-map .footer-map-frame {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 34px rgba(6, 70, 63, 0.35);
}
.footer-map .footer-map-frame iframe { display: block; border: 0; width: 100%; }
.footer-map .footer-map-info {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13.5px; margin-top: 14px; color: rgba(255, 255, 255, 0.82);
}
.footer-map .footer-map-info strong { color: var(--white); }
.footer-map .footer-map-info a { color: var(--yellow); font-weight: 600; }
.footer-map .footer-map-info a:hover { text-decoration: underline; }

/* Tombol WhatsApp mengambang (muncul jika diaktifkan di Admin) */
.float-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25d366; color: #063a16;
  padding: 12px 18px; border-radius: 999px;
  font-weight: 700; font-size: 14px;
  box-shadow: 0 12px 28px rgba(18, 140, 70, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.float-wa:hover { transform: translateY(-3px); }
.float-wa svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 640px) {
  .float-wa { padding: 12px 14px; font-size: 13px; }
  .footer-map, .footer-social { padding-left: 0; padding-right: 0; }
}
