/* Site header (sh-*) */
.sh {
  --sh-brand: #024a79;
  --sh-brand-dark: #013a60;
  --sh-ink: #0f2b3d;
  --sh-muted: #5b7083;
  --sh-line: #e6edf3;
  --sh-soft: #f1f7fb;
  position: sticky;
  top: 0;
  z-index: 1000;
  font-family: inherit;
}
.sh *, .sh-drawer * { box-sizing: border-box; }
.sh a, .sh-drawer a { text-decoration: none; }

/* Top bar */
.sh-top { background: var(--sh-brand); color: rgba(255, 255, 255, .9); font-size: 13px; transition: margin-top .25s ease; }
.sh-top-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 36px; }
.sh-top-left, .sh-top-right { display: flex; align-items: center; gap: 22px; white-space: nowrap; }
.sh-top span, .sh-top a { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .9); }
.sh-top a:hover { color: #fff; }
.sh.is-scrolled .sh-top { margin-top: -36px; }

/* Main bar */
.sh-main { position: relative; background: #fff; border-bottom: 1px solid var(--sh-line); transition: box-shadow .25s ease; }
.sh.is-scrolled .sh-main { box-shadow: 0 6px 24px rgba(2, 74, 121, .1); border-bottom-color: transparent; }
.sh-main-inner { display: flex; align-items: center; gap: 20px; height: 78px; transition: height .25s ease; }
.sh.is-scrolled .sh-main-inner { height: 64px; }
.sh-logo { flex-shrink: 0; display: block; }
.sh-logo img { width: 210px; height: auto; display: block; transition: width .25s ease; }
.sh.is-scrolled .sh-logo img { width: 180px; }

/* Desktop nav */
.sh-nav { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.sh-link {
  position: relative; display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 12px; border: 0; background: none; border-radius: 10px;
  color: var(--sh-ink); font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer;
  transition: color .2s, background .2s;
}
.sh-link i { font-size: 11px; color: inherit !important; transition: transform .2s; }
.sh-link:hover, .sh-drop:hover > .sh-link, .sh-drop.open > .sh-link { color: var(--sh-brand); background: var(--sh-soft); }
.sh-link.is-active { color: var(--sh-brand); }
.sh-link.is-active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--sh-brand);
}

.sh-drop { position: relative; }
.sh-drop:hover > .sh-link i, .sh-drop.open > .sh-link i { transform: rotate(180deg); }
.sh-panel {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  min-width: 300px; padding: 8px; background: #fff; border: 1px solid var(--sh-line); border-radius: 16px;
  box-shadow: 0 18px 40px rgba(2, 74, 121, .16);
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.sh-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.sh-drop:hover .sh-panel, .sh-drop.open .sh-panel, .sh-drop:focus-within .sh-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sh-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--sh-ink); }
.sh-item:hover, .sh-item.is-active { background: var(--sh-soft); color: var(--sh-ink); }
.sh-item .ic {
  width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center;
  background: linear-gradient(135deg, #e3f1fb, #dff6f2); color: var(--sh-brand); font-size: 18px;
}
.sh-item strong { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.sh-item small { display: block; color: var(--sh-muted); font-size: 12.5px; }

/* Right actions */
.sh-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.sh-icon-btn {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--sh-line); background: #fff;
  display: inline-grid; place-items: center; color: var(--sh-ink); font-size: 18px; cursor: pointer; transition: all .2s;
}
.sh-icon-btn:hover { border-color: var(--sh-brand); color: var(--sh-brand); background: var(--sh-soft); }
.sh-call { display: flex; align-items: center; gap: 10px; color: var(--sh-ink); padding: 4px 6px; }
.sh-call:hover { color: var(--sh-brand); }
.sh-call .ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--sh-soft); color: var(--sh-brand); font-size: 16px; }
.sh-call small { display: block; color: var(--sh-muted); font-size: 11.5px; line-height: 1.2; text-transform: uppercase; letter-spacing: .06em; }
.sh-call strong { display: block; font-size: 15.5px; line-height: 1.25; white-space: nowrap; }
.sh-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--sh-brand); color: #fff; border: 0; border-radius: 12px; padding: 12px 20px;
  font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap; cursor: pointer;
  box-shadow: 0 6px 16px rgba(2, 74, 121, .25); transition: background .2s, transform .2s;
}
.sh-cta:hover { background: var(--sh-brand-dark); color: #fff; transform: translateY(-1px); }
.sh-only-mobile { display: none; }

/* Mobile drawer */
.sh-overlay { position: fixed; inset: 0; background: rgba(15, 43, 61, .45); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; z-index: 1090; }
.sh-overlay.open { opacity: 1; visibility: visible; }
.sh-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); background: #fff; z-index: 1100;
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease;
  box-shadow: -10px 0 40px rgba(0, 0, 0, .15);
  --sh-brand: #024a79; --sh-ink: #0f2b3d; --sh-muted: #5b7083; --sh-line: #e6edf3; --sh-soft: #f1f7fb;
}
.sh-drawer.open { transform: translateX(0); }
.sh-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--sh-line); }
.sh-drawer-body { flex: 1; overflow-y: auto; padding: 14px 12px; }
.sh-cta-block { width: 100%; margin-bottom: 12px; padding: 14px; }
.sh-m-link {
  display: flex; align-items: center; gap: 12px; padding: 13px 12px; border-radius: 12px;
  color: var(--sh-ink); font-weight: 600; font-size: 15.5px; cursor: pointer; list-style: none;
}
.sh-m-link::-webkit-details-marker { display: none; }
.sh-m-link i { width: 22px; text-align: center; color: var(--sh-brand); font-size: 17px; }
.sh-m-link:hover, .sh-m-link.is-active { background: var(--sh-soft); color: var(--sh-brand); }
.sh-m-group > summary::after { content: "\F282"; font-family: "bootstrap-icons"; margin-left: auto; font-size: 12px; color: var(--sh-muted); transition: transform .2s; }
.sh-m-group[open] > summary::after { transform: rotate(180deg); }
.sh-m-sub { display: block; padding: 10px 12px 10px 46px; border-radius: 10px; color: var(--sh-muted); font-size: 14.5px; font-weight: 500; }
.sh-m-sub:hover, .sh-m-sub.is-active { color: var(--sh-brand); background: var(--sh-soft); }
.sh-drawer-foot { border-top: 1px solid var(--sh-line); padding: 14px 16px 18px; }
.sh-m-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.sh-m-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 12px;
  font-weight: 700; color: var(--sh-brand); background: var(--sh-soft); border: 1px solid var(--sh-line);
}
.sh-m-btn.sh-m-wa { background: #25d366; border-color: #25d366; color: #fff; }
.sh-drawer-foot p { display: flex; gap: 8px; margin: 6px 0 0; color: var(--sh-muted); font-size: 13px; word-break: break-word; }
html.sh-lock, html.sh-lock body { overflow: hidden; }

/* Responsive */
@media (max-width: 1280px) {
  .sh-call .txt { display: none; }
  .sh-link { padding: 10px 9px; font-size: 14.5px; }
}
@media (max-width: 1100px) {
  .sh-logo img { width: 180px; }
}
@media (max-width: 991.98px) {
  .sh-top, .sh-nav, .sh-call, .sh-actions > .sh-cta { display: none; }
  .sh-only-mobile { display: inline-grid; }
  .sh-main-inner, .sh.is-scrolled .sh-main-inner { height: 64px; gap: 8px; }
  .sh-logo { margin-right: auto; }
  .sh-logo img, .sh.is-scrolled .sh-logo img { width: 170px; }
  .sh-actions { gap: 8px; }
  .sh-icon-btn { width: 40px; height: 40px; }
}
@media (max-width: 380px) {
  .sh-logo img, .sh.is-scrolled .sh-logo img { width: 145px; }
  .sh-actions { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .sh *, .sh-drawer, .sh-overlay { transition: none !important; animation: none !important; }
}
