:root {
  --primary: #173b73;
  --primary-dark: #102a54;
  --secondary: #e97824;
  --secondary-dark: #c95c13;
  --text-dark: #172033;
  --text-muted: #667085;
  --background: #ffffff;
  --background-soft: #f6f8fc;
  --border: #e5eaf2;
  --success: #1e8a5b;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(23, 59, 115, 0.11);
  --shadow-soft: 0 12px 30px rgba(23, 59, 115, 0.08);
  --radius: 16px;
  --radius-sm: 12px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-dark);
  background: var(--background);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

body.nav-locked {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
}

img {
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(233, 120, 36, 0.55);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 2000;
  transform: translateY(-150%);
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--white);
  background: var(--primary-dark);
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
  min-width: 0;
}

.container > *,
.hero-grid > *,
.two-column > *,
.catalog-preview > *,
.grid > *,
.process-grid > *,
.footer-main > * {
  min-width: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 26px rgba(23, 59, 115, 0.06);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  min-width: 292px;
  align-items: center;
  gap: 10px;
  color: var(--primary-dark);
}

.brand-logo {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-subtitle {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 600;
}

.brand-tagline {
  margin-top: 3px;
  color: #b8872e;
  font-size: 0.58rem;
  font-style: italic;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-dark);
  font-weight: 700;
  transition: color 220ms ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--secondary);
  content: "";
  opacity: 0;
  transform: scaleX(0.3);
  transition: opacity 220ms ease, transform 220ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--primary);
}

.nav-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-search {
  width: min(270px, 28vw);
  min-width: 230px;
}

.search-form {
  display: flex;
  overflow: hidden;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--background-soft);
}

.search-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 0 14px;
  color: var(--text-dark);
  background: transparent;
}

.search-form input::placeholder {
  color: #98a2b3;
}

.search-form button {
  display: inline-flex;
  width: 52px;
  flex: 0 0 52px;
  align-items: center;
  justify-content: center;
  border: 0;
  color: var(--white);
  background: var(--primary-dark);
  transition: background 220ms ease;
}

.search-form button:hover {
  background: var(--secondary-dark);
}

.search-form svg {
  width: 21px;
  height: 21px;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--primary-dark);
  background: var(--white);
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transition: transform 220ms ease, opacity 220ms ease;
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  position: absolute;
  left: 0;
}

.nav-toggle-lines::before {
  top: -7px;
}

.nav-toggle-lines::after {
  top: 7px;
}

.site-header.is-open .nav-toggle-lines {
  background: transparent;
}

.site-header.is-open .nav-toggle-lines::before {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .nav-toggle-lines::after {
  transform: translateY(-7px) rotate(-45deg);
}

.search-panel {
  position: fixed;
  top: 92px;
  right: 20px;
  left: 20px;
  z-index: 1200;
  width: min(820px, calc(100% - 40px));
  margin-inline: auto;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.search-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 12px;
  border-bottom: 1px solid var(--border);
}

.search-panel__title {
  margin: 0;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 1.08rem;
}

.icon-button {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--primary-dark);
  background: var(--background-soft);
}

.search-results {
  display: grid;
  gap: 10px;
  max-height: min(58vh, 460px);
  overflow: auto;
  padding: 16px 20px 20px;
}

.search-result {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--background);
  transition: border-color 220ms ease, transform 220ms ease;
}

.search-result:hover {
  border-color: rgba(233, 120, 36, 0.45);
  transform: translateY(-2px);
}

.search-result strong {
  display: block;
  color: var(--primary-dark);
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
}

.search-result span {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.section {
  padding: 86px 0;
}

.section-sm {
  padding: 62px 0;
}

.section-soft {
  background: var(--background-soft);
}

.section-head {
  display: grid;
  gap: 14px;
  max-width: 790px;
  margin-bottom: 36px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--secondary-dark);
  background: rgba(233, 120, 36, 0.11);
  font-size: 0.83rem;
  font-weight: 800;
}

.title,
.hero-title,
.page-title,
.section-title {
  max-width: 100%;
  margin: 0;
  color: var(--text-dark);
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero-title {
  max-width: 760px;
  font-size: clamp(2.45rem, 5vw, 4.6rem);
}

.page-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.lead,
.section-lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.lead {
  max-width: 710px;
  font-size: 1.13rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 11px 18px;
  font-weight: 800;
  text-align: center;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--secondary);
  box-shadow: 0 12px 24px rgba(233, 120, 36, 0.24);
}

.button-primary:hover {
  background: var(--secondary-dark);
}

.button-secondary {
  color: var(--white);
  background: var(--primary);
  box-shadow: 0 12px 24px rgba(23, 59, 115, 0.18);
}

.button-secondary:hover {
  background: var(--primary-dark);
}

.button-outline {
  color: var(--primary-dark);
  border-color: rgba(23, 59, 115, 0.24);
  background: var(--white);
}

.button-outline:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-soft);
}

.hero {
  overflow: hidden;
  padding: 88px 0 78px;
  background:
    radial-gradient(circle at 84% 12%, rgba(233, 120, 36, 0.11), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 54px;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.hero-art {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.hero-art img {
  display: block;
  width: 100%;
  filter: drop-shadow(0 28px 45px rgba(23, 59, 115, 0.12));
}

.hero-note {
  position: absolute;
  right: 24px;
  bottom: 20px;
  width: min(270px, 70%);
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.hero-note strong {
  display: block;
  color: var(--primary-dark);
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
}

.hero-note span {
  display: block;
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 48px;
  align-items: center;
}

.prose {
  display: grid;
  gap: 18px;
  color: var(--text-muted);
  font-size: 1rem;
}

.prose p {
  margin: 0;
}

.profile-logo {
  display: block;
  width: min(360px, 100%);
  height: auto;
  object-fit: contain;
}

.profile-tagline {
  margin: -6px 0 0;
  color: #b8872e;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 700;
}

.image-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.image-card img {
  display: block;
  width: 100%;
}

.service-promo-section {
  padding-top: 42px;
}

.service-promo-section .section-head {
  margin-bottom: 24px;
}

.service-promo-image {
  width: min(100%, 1320px);
  margin-inline: auto;
  margin: 0;
}

.service-promo-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.service-promo-scroll img {
  display: block;
  width: 100%;
  min-width: 1040px;
  max-width: none;
}

.service-promo-image figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--white);
  font-size: 0.92rem;
}

.service-promo-image figcaption a {
  color: var(--primary);
  font-weight: 900;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(23, 59, 115, 0.02);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card:hover {
  border-color: rgba(233, 120, 36, 0.35);
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.card h3,
.card h2 {
  margin: 0;
  color: var(--primary-dark);
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 1.15rem;
  line-height: 1.32;
}

.card p {
  margin: 0;
  color: var(--text-muted);
}

.icon-box {
  display: inline-flex;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--primary);
  background: rgba(23, 59, 115, 0.09);
}

.icon-box.secondary {
  color: var(--secondary);
  background: rgba(233, 120, 36, 0.12);
}

.icon-box.success {
  color: var(--success);
  background: rgba(30, 138, 91, 0.11);
}

.icon-box svg {
  width: 25px;
  height: 25px;
}

.card-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: var(--secondary-dark);
  font-weight: 800;
}

.card-link svg {
  width: 17px;
  height: 17px;
  transition: transform 220ms ease;
}

.card-link:hover svg {
  transform: translateX(3px);
}

.process {
  position: relative;
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.process-grid::before {
  position: absolute;
  top: 41px;
  right: 8%;
  left: 8%;
  height: 3px;
  border-radius: 999px;
  background: var(--border);
  content: "";
}

.step-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  min-height: 176px;
  padding: 0 10px;
  text-align: center;
}

.step-number {
  display: inline-flex;
  width: 82px;
  height: 82px;
  margin-inline: auto;
  align-items: center;
  justify-content: center;
  border: 8px solid var(--background-soft);
  border-radius: 999px;
  color: var(--white);
  background: var(--primary);
  box-shadow: 0 14px 28px rgba(23, 59, 115, 0.18);
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
}

.step-card:nth-child(even) .step-number {
  background: var(--secondary);
}

.step-card p {
  margin: 0;
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.5;
}

.feature-card {
  min-height: 100%;
}

.vision-band,
.cta-band {
  overflow: hidden;
  border-radius: 26px;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 20%, rgba(233, 120, 36, 0.25), transparent 32%),
    linear-gradient(135deg, var(--primary-dark), var(--primary));
  box-shadow: var(--shadow);
}

.vision-band {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 38px;
}

.vision-band .icon-box {
  width: 68px;
  height: 68px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
}

.vision-band p,
.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.vision-band blockquote {
  margin: 0;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 2.15rem);
  font-weight: 700;
  line-height: 1.38;
}

.catalog-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 36px;
  align-items: center;
}

.empty-state {
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 38px 26px;
  border: 1px dashed #cbd5e1;
  border-radius: 22px;
  background: var(--white);
  text-align: center;
}

.empty-state img {
  width: min(320px, 100%);
}

.empty-state h2,
.empty-state h3 {
  margin: 0;
  color: var(--primary-dark);
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
}

.empty-state p {
  max-width: 620px;
  margin: 0;
  color: var(--text-muted);
}

.article-card {
  overflow: hidden;
  padding: 0;
}

.article-thumb {
  display: grid;
  min-height: 150px;
  place-items: center;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(23, 59, 115, 0.09), rgba(233, 120, 36, 0.1));
}

.article-thumb svg {
  width: 58px;
  height: 58px;
}

.article-body {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.tag {
  display: inline-flex;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--secondary-dark);
  background: rgba(233, 120, 36, 0.11);
  font-size: 0.78rem;
  font-weight: 800;
}

.page-hero {
  padding: 64px 0 58px;
  background:
    radial-gradient(circle at 86% 18%, rgba(233, 120, 36, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
}

body[data-page="layanan"] .page-hero {
  padding: 50px 0 44px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--primary);
}

.info-list {
  display: grid;
  gap: 14px;
}

.info-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.info-row:last-child {
  border-bottom: 0;
}

.info-row dt {
  color: var(--text-muted);
  font-weight: 800;
}

.info-row dd {
  margin: 0;
  color: var(--text-dark);
  font-weight: 700;
}

.numbered-list,
.clean-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.numbered-list {
  counter-reset: item;
}

.numbered-list li {
  position: relative;
  padding: 18px 18px 18px 64px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  color: var(--text-muted);
}

.numbered-list li::before {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--white);
  background: var(--primary);
  counter-increment: item;
  content: counter(item);
  font-weight: 800;
}

.value-label {
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: rgba(23, 59, 115, 0.09);
  font-weight: 900;
}

.legal-note {
  border-left: 5px solid var(--success);
}

.service-detail-card {
  align-content: start;
}

.service-detail-card .button {
  width: fit-content;
  margin-top: 4px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  overflow: hidden;
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  padding: 18px 20px;
  color: var(--primary-dark);
  background: transparent;
  font-weight: 900;
  text-align: left;
}

.faq-question span:last-child {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--primary);
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--text-muted);
}

.consult-form {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--primary-dark);
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(233, 120, 36, 0.75);
  box-shadow: 0 0 0 4px rgba(233, 120, 36, 0.12);
  outline: 0;
}

.form-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.form-alert {
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--primary-dark);
  background: rgba(30, 138, 91, 0.1);
  font-weight: 800;
}

.promo-box {
  display: grid;
  gap: 24px;
  max-width: 980px;
  margin-inline: auto;
}

.promo-feature {
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.promo-feature__cover {
  align-self: stretch;
  overflow: hidden;
  margin: 0;
  border-radius: 14px;
  background: var(--soft);
}

.promo-feature__cover img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
}

.promo-feature__body {
  display: grid;
  gap: 14px;
}

.promo-feature__body h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.catalog-tools {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 220px 180px;
  gap: 14px;
  margin-bottom: 14px;
}

.catalog-tools input,
.catalog-tools select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 14px;
  background: var(--white);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  min-height: 240px;
}

.book-card {
  align-content: start;
  gap: 0;
  overflow: hidden;
  padding: 0;
}

.publication-cover,
.book-cover,
.catalog-card__cover {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: transparent;
}

.publication-cover img,
.book-cover img,
.catalog-card__cover img,
.catalog-card img[data-book-cover] {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: transparent;
  border: 0;
}

.publication-cover--contain img {
  object-fit: contain;
  background: var(--white);
}

.book-card__body {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.book-card__subtitle {
  color: var(--primary-dark);
  font-weight: 750;
  line-height: 1.5;
}

.book-meta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 10px;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.book-meta dt {
  color: var(--primary-dark);
  font-weight: 850;
}

.book-meta dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.book-card__description {
  font-size: 0.95rem;
}

.catalog-result-count {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-weight: 800;
}

.catalog-button {
  width: 100%;
  margin-top: auto;
}

.catalog-actions {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.catalog-actions .catalog-button {
  margin-top: 0;
}

.catalog-button[aria-disabled="true"],
.catalog-button.is-disabled,
.catalog-button:disabled,
.book-action.is-disabled {
  cursor: not-allowed;
  opacity: 0.62;
  pointer-events: none;
}

.field-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.field-chips span {
  padding: 7px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--white);
  font-size: 0.88rem;
  font-weight: 800;
}

.publication-years-section .section-head {
  margin-bottom: 30px;
}

.publication-dashboard {
  display: grid;
  gap: 24px;
}

.publication-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.publication-stat {
  display: grid;
  gap: 8px;
  min-height: 118px;
  align-content: center;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.publication-stat span {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.publication-stat strong {
  color: var(--primary-dark);
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1;
}

.publication-chart-wrap,
.publication-year-list {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.publication-chart-wrap {
  padding: 26px;
}

.publication-chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.publication-chart-head h3,
.publication-year-list h3 {
  margin: 0;
  color: var(--primary-dark);
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 1.2rem;
}

.publication-chart-head p {
  margin: 4px 0 0;
  color: var(--text-muted);
}

.publication-year-chart {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(44px, 1fr));
  min-height: 330px;
  align-items: end;
  gap: 12px;
  border-radius: 16px;
  padding: 18px 8px 0;
  background:
    repeating-linear-gradient(to top, rgba(23, 59, 115, 0.08) 0 1px, transparent 1px 66px),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 100%);
}

.publication-year-bar {
  display: grid;
  min-width: 0;
  height: 100%;
  grid-template-rows: auto 1fr auto;
  gap: 8px;
  align-items: end;
  text-align: center;
}

.publication-year-bar__value {
  color: var(--primary-dark);
  font-size: 0.86rem;
  font-weight: 900;
}

.publication-year-bar__track {
  display: block;
  width: min(100%, 34px);
  height: var(--bar-size);
  min-height: 36px;
  margin-inline: auto;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, var(--secondary) 0%, var(--primary) 100%);
  box-shadow: 0 12px 22px rgba(23, 59, 115, 0.16);
}

.publication-year-bar__label {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.2;
}

.publication-year-list {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.publication-year-group {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fbfcff;
}

.publication-year-group summary {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 18px;
  color: var(--primary-dark);
  font-weight: 900;
  list-style: none;
  cursor: pointer;
}

.publication-year-group summary::-webkit-details-marker {
  display: none;
}

.publication-year-group summary strong {
  color: var(--secondary-dark);
  font-size: 0.9rem;
}

.publication-year-group ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0 18px 16px;
  list-style: none;
}

.publication-year-group li {
  display: grid;
  gap: 3px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.publication-year-book__title {
  color: var(--text-dark);
  font-weight: 850;
  line-height: 1.4;
}

.publication-year-book__author {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.publication-pending-note {
  margin: 0;
  border-radius: 14px;
  padding: 13px 16px;
  color: var(--primary-dark);
  background: rgba(233, 120, 36, 0.11);
  font-weight: 850;
}

.mt-16 {
  margin-top: 16px;
}

.mt-22 {
  margin-top: 22px;
}

.icon-up {
  width: 20px;
  height: 20px;
  transform: rotate(-90deg);
}

.template-status {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--success);
  background: rgba(30, 138, 91, 0.1);
  font-size: 0.82rem;
  font-weight: 900;
}

.article-detail {
  display: grid;
  gap: 26px;
  max-width: 880px;
  margin-inline: auto;
}

.article-detail h2 {
  margin: 0;
  color: var(--primary-dark);
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
}

.article-detail p,
.article-detail li {
  color: var(--text-muted);
}

.article-detail ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 38px;
}

.cta-band h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.site-footer {
  color: rgba(255, 255, 255, 0.84);
  background: var(--primary-dark);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.15fr 0.65fr 1fr;
  gap: 42px;
  padding: 64px 0 36px;
}

.footer-brand {
  display: grid;
  gap: 12px;
}

.footer-logo {
  display: block;
  width: min(380px, 100%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.16));
}

.footer-title {
  margin: 0 0 14px;
  color: var(--white);
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 1.2rem;
}

.footer-brand .footer-title {
  margin-bottom: 0;
}

.footer-text,
.footer-contact {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.footer-tagline {
  margin: -2px 0 0;
  color: #f4bf57;
  font-size: 0.88rem;
  font-style: italic;
  font-weight: 700;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-action {
  color: rgba(255, 255, 255, 0.82);
  transition: color 220ms ease;
}

.footer-links a:hover,
.footer-action:hover {
  color: var(--white);
}

.footer-action {
  border: 0;
  padding: 0;
  background: transparent;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.floating-whatsapp,
.back-to-top {
  position: fixed;
  z-index: 1050;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.floating-whatsapp {
  right: 22px;
  bottom: 22px;
  min-height: 56px;
  padding: 0 18px;
  gap: 8px;
  color: var(--white);
  background: var(--success);
  font-weight: 900;
}

.floating-whatsapp svg {
  width: 22px;
  height: 22px;
}

.back-to-top {
  right: 22px;
  bottom: 90px;
  width: 46px;
  height: 46px;
  color: var(--white);
  background: var(--primary);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(16, 42, 84, 0.55);
}

.modal[hidden] {
  display: none !important;
}

.modal-box {
  width: min(520px, 100%);
  border-radius: 20px;
  padding: 26px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.modal-box h2 {
  margin: 0 0 10px;
  color: var(--primary-dark);
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
}

.modal-box p {
  margin: 0 0 20px;
  color: var(--text-muted);
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .header-inner {
    gap: 18px;
  }

  .brand {
    min-width: 210px;
  }

  .brand-tagline {
    display: none;
  }

  .main-nav {
    gap: 10px;
  }

  .nav-link {
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .nav-search {
    width: 190px;
    min-width: 180px;
  }

  .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 28px;
  }

  .process-grid::before {
    display: none;
  }

  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .publication-year-chart {
    grid-template-columns: repeat(auto-fit, minmax(38px, 1fr));
  }
}

@media (max-width: 940px) {
  .header-inner {
    min-height: 76px;
  }

  .brand {
    min-width: 0;
  }

  .brand-tagline {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    left: 20px;
    display: grid;
    max-height: 0;
    overflow: hidden;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    transition: max-height 260ms ease, opacity 220ms ease;
  }

  .site-header.is-open .main-nav {
    max-height: 620px;
    opacity: 1;
  }

  .nav-link {
    min-height: 50px;
    padding: 0 18px;
    border-bottom: 1px solid var(--border);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.is-active {
    background: var(--background-soft);
  }

  .nav-search {
    width: auto;
    min-width: 0;
    padding: 16px;
  }

  .hero-grid,
  .two-column,
  .catalog-preview,
  .cta-band,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 62px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-tools {
    grid-template-columns: 1fr;
  }

  .promo-feature {
    grid-template-columns: 1fr;
  }

  .promo-feature__cover {
    max-width: 360px;
    justify-self: center;
  }

  .promo-feature__cover img {
    min-height: 0;
    aspect-ratio: 3 / 4;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .publication-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .publication-chart-head {
    flex-direction: column;
  }

  .publication-chart-head .button {
    width: fit-content;
  }

  .cta-band {
    text-align: left;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand-logo {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .brand-title {
    font-size: 0.92rem;
  }

  .brand-subtitle {
    font-size: 0.66rem;
  }

  .section {
    padding: 62px 0;
  }

  .section-sm {
    padding: 48px 0;
  }

  body[data-page="layanan"] .page-hero {
    padding: 42px 0 38px;
  }

  .service-promo-section {
    padding-top: 34px;
  }

  .service-promo-section .section-head {
    margin-bottom: 18px;
  }

  .service-promo-scroll img {
    width: 720px;
  }

  .hero-title {
    font-size: 2.35rem;
  }

  .page-title {
    font-size: 1.82rem;
  }

  .section-title {
    font-size: 1.62rem;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .hero-note {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .process-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .vision-band {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .card,
  .article-body {
    padding: 20px;
  }

  .book-card {
    padding: 0;
  }

  .book-card__body {
    padding: 18px;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .publication-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .publication-stat {
    min-height: 104px;
    padding: 16px;
  }

  .publication-chart-wrap,
  .publication-year-list {
    border-radius: 18px;
    padding: 18px;
  }

  .publication-year-chart {
    display: flex;
    min-height: 300px;
    overflow-x: auto;
    gap: 10px;
    padding: 16px 10px 0;
  }

  .publication-year-bar {
    min-width: 42px;
    height: 278px;
  }

  .publication-year-group summary {
    padding: 0 14px;
  }

  .publication-year-group ul {
    padding: 0 14px 14px;
  }

  .book-meta {
    grid-template-columns: 1fr;
  }

  body[data-page="ebook"] .field-chips {
    padding-right: 76px;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .numbered-list li {
    padding-right: 16px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    min-height: 52px;
    padding: 0 14px;
    font-size: 0.9rem;
  }

  .back-to-top {
    right: 14px;
    bottom: 78px;
  }
}

@media (max-width: 390px) {
  .brand-text {
    max-width: 190px;
  }

  .brand-title,
  .brand-subtitle {
    white-space: normal;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .hero-title {
    font-size: 2.05rem;
  }

  .page-title {
    font-size: 1.72rem;
  }

  .section-title {
    font-size: 1.32rem;
  }

  .lead,
  .section-lead {
    font-size: 1rem;
  }

  .publication-stats {
    grid-template-columns: 1fr;
  }

  .floating-whatsapp span {
    display: none;
  }

  .floating-whatsapp {
    width: 52px;
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================
   Publication Chart — Premium
   ============================ */
.section--chart {
  padding: 32px 0 0;
}

.pub-chart-wrapper {
  background: linear-gradient(145deg, #0f2847 0%, #173b73 40%, #1a4a8a 100%);
  border-radius: var(--radius);
  padding: 36px 32px 28px;
  color: var(--white);
  box-shadow: 0 20px 60px rgba(15, 40, 71, 0.35);
  overflow: hidden;
  position: relative;
}

.pub-chart-wrapper::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -40px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(233, 120, 36, 0.12) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.pub-chart-wrapper::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(26, 74, 138, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.pub-chart-header {
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.pub-chart-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--white);
  letter-spacing: -0.01em;
}

.pub-chart-subtitle {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
}

.pub-chart-area {
  position: relative;
  z-index: 1;
}

.pub-chart-grid {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  padding-bottom: 32px;
}

.pub-chart-gridline {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.07);
}

.pub-chart-body {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  height: 200px;
  padding-bottom: 0;
  position: relative;
  z-index: 2;
}

.pub-chart-bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.pub-chart-bar {
  width: 100%;
  max-width: 80px;
  min-height: 8px;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #f5a623 0%, var(--secondary) 50%, #d4691a 100%);
  transition: height 1s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
  cursor: default;
  box-shadow: 0 0 20px rgba(233, 120, 36, 0.25), inset 0 1px 0 rgba(255,255,255,0.2);
}

.pub-chart-bar:hover {
  transform: scaleY(1.03);
  transform-origin: bottom;
  box-shadow: 0 0 32px rgba(233, 120, 36, 0.5), inset 0 1px 0 rgba(255,255,255,0.3);
}

.pub-chart-bar-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--white);
  text-align: center;
  min-width: 32px;
  padding: 3px 10px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.12);
}

.pub-chart-labels {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  position: relative;
  z-index: 2;
}

.pub-chart-label {
  flex: 1;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.02em;
}

.pub-chart-bar-group:hover .pub-chart-bar-value {
  background: rgba(233, 120, 36, 0.25);
  border-color: rgba(233, 120, 36, 0.4);
  color: #ffd699;
}

@media (max-width: 600px) {
  .pub-chart-wrapper {
    padding: 24px 18px 20px;
  }
  .pub-chart-title {
    font-size: 1.1rem;
  }
  .pub-chart-body {
    height: 150px;
    gap: 10px;
  }
  .pub-chart-bar {
    max-width: 56px;
  }
  .pub-chart-bar-value {
    font-size: 0.75rem;
    padding: 2px 8px;
  }
  .pub-chart-labels {
    gap: 10px;
  }
  .pub-chart-label {
    font-size: 0.68rem;
  }
}
