/* Shared main navigation, matching the original service-page header. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fffffff7;
  border-bottom: 1px solid #dfe7dc;
  color: #17291f;
  font: 16px/1.7 var(--hc-font, Inter, Arial, "Helvetica Neue", system-ui, sans-serif);
}
.site-header .nav {
  width: min(1180px, calc(100% - 64px));
  height: 87px;
  min-height: 87px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.site-header .brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
  gap: 4px;
  line-height: 1;
}
.site-header .brand-logo {
  display: block;
  width: 188px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.site-header .brand-tagline {
  display: block;
  margin: 0;
  color: #254f3f;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: .02em;
  white-space: nowrap;
}
.site-header .links {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-left: auto;
  white-space: nowrap;
}
.site-header .links > a,
.site-header .nav-trigger {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
}
.site-header .links > a:not(.btn) { padding: 10px 0; }
.site-header .nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  border: 0;
  padding: 10px 0;
  background: transparent;
  color: #17291f;
}
.site-header .links > a:not(.btn):hover,
.site-header .links > a[aria-current="page"],
.site-header .nav-trigger.has-active { color: #476c3f; }
.site-header .links .sppg-nav {
  padding: 9px 13px !important;
  line-height: 1.4;
  border: 1px solid #b0d15f;
  border-radius: 8px;
  background: #c9f16d;
  color: #17291f;
}
.site-header .links .sppg-nav[aria-current="page"] {
  border-color: #17291f;
  background: #17291f;
  color: #c9f16d;
}
.site-header .links .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  gap: 10px;
  padding: 13px 18px;
  border: 1px solid #17291f;
  border-radius: 8px;
  background: #17291f;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}
.site-header .links .btn:hover { background: #173e31; border-color: #173e31; }
.site-header .wa-icon { width: 17px; height: 17px; flex-shrink: 0; }
.site-header .header-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.site-header .language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid #dfe7dc;
  border-radius: 7px;
  background: #f5f7f2;
}
.site-header .language-switch a {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  min-height: 44px;
  padding: 4px 7px;
  border-radius: 5px;
}
.site-header .language-switch a[aria-current="page"] { background: #17291f; color: #fff; }
.site-header .menu { display: none; min-width: 40px; min-height: 44px; }

@media (max-width: 1180px) {
  .site-header .nav { height: 76px; min-height: 76px; }
  .site-header .menu { display: block; }
  .site-header .header-tools { margin-left: auto; }
  .site-header .links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 17px 24px 23px;
    max-height: calc(100dvh - 76px);
    overflow: auto;
    border-bottom: 1px solid #dfe7dc;
    background: #fff;
  }
  .site-header .links.open { display: flex; }
  .site-header .links > a:not(.btn),
  .site-header .nav-trigger { font-size: 14px; padding: 10px 0; }
  .site-header .nav-trigger { width: 100%; justify-content: space-between; }
  .site-header .links .sppg-nav { align-self: flex-start; margin: 0; }
  .site-header .links .btn { align-self: flex-start; padding: 12px 17px; margin-top: 6px; }
}
@media (max-width: 850px) {
  .site-header .nav { width: calc(100% - 42px); }
}
@media (max-width: 700px) {
  .site-header .nav { gap: 8px; }
  .site-header .brand { flex-shrink: 1; min-width: 0; }
  .site-header .header-tools { gap: 4px; }
  .site-header .language-switch a { min-width: 34px; padding-inline: 5px; }
}
@media (max-width: 680px) {
  .site-header .brand-logo { width: clamp(126px, 39vw, 165px); }
  .site-header .brand-tagline { font-size: clamp(8px, 2.4vw, 10px); letter-spacing: 0; }
}
@media (max-width: 370px) {
  .site-header .nav { width: calc(100% - 24px); }
  .site-header .brand-tagline { white-space: normal; max-width: 172px; line-height: 1.3; }
  .site-header .menu { padding-inline: 9px; }
  .site-header .language-switch { gap: 1px; }
}

/* Mobile header: keep the complete tagline clear of language and menu controls. */
@media (max-width:700px) {
  .site-header .nav { height:84px; min-height:84px; }
  .site-header .brand { max-width:230px; }
  .site-header .brand-tagline { max-width:100%; white-space:normal; overflow-wrap:break-word; font-size:9px; line-height:1.3; letter-spacing:0; }
  .site-header .links { max-height:calc(100dvh - 84px); white-space:normal; }
  .site-header .links .btn { max-width:100%; white-space:normal; }
  .site-header .it-nav-copy { min-width:0; }
}

@media (max-width:700px) {
  /* Draw the decorative arrow so it remains visible with every system font. */
  #nav-integrasi .it-nav-arrow { position:relative; display:block; flex:none; width:12px; height:12px; font-size:0; }
  #nav-integrasi .it-nav-arrow::before { content:""; position:absolute; width:12px; height:1px; top:6px; left:0; background:currentColor; transform:rotate(-45deg); }
  #nav-integrasi .it-nav-arrow::after { content:""; position:absolute; width:7px; height:7px; top:0; right:0; border-top:1px solid currentColor; border-right:1px solid currentColor; }
}
