/* =========================================================================
   SILARIS modern public-site theme - navy & yellow
   Loaded after the existing vendor/template CSS so it can layer a modern
   look on top without touching the other guest pages' own content classes.
   Uses the same design tokens/scale as asset/css/modern-theme.css (admin)
   so the public site and the admin panel read as one consistent product.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --brand: #05063E;       /* kemenkumBlue */
  --brand-dark: #030228;
  --brand-light: #505178;
  --brand-tint: #EBEBF0;

  --accent: #FECD08;      /* kemenkumYellow */
  --accent-dark: #CBA406;
  --accent-tint: #FFFAE6;

  --ink-900: #0F1B2D;
  --ink-700: #3E4A5E;
  --ink-500: #6B7686;

  --surface: #F2F4F8;
  --card: #FFFFFF;
  --border: #E3E7EF;

  --radius-sm: 8px;
  --radius: 14px;
  --shadow: 0 2px 8px rgba(15, 27, 45, .04);
  --shadow-lg: 0 8px 24px rgba(15, 27, 45, .08);

  --control-h: 38px;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

body {
  font-family: 'Plus Jakarta Sans', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
  color: var(--ink-700);
}

/* Bootstrap 5's reboot sets `a { text-decoration: underline }` by
   default - this site's links (nav, footer, cards) are styled through
   color/background instead, so reset that globally. */
a,
a:hover,
a:focus {
  text-decoration: none;
  transition: color .15s ease;
}

/* cap the whole site at a Tailwind "7xl" (1280px) reading width */
.container {
  max-width: 1280px !important;
}

/* ---------- header / nav ---------- */

#header {
  background: rgba(5, 6, 62, .98) !important;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 4px 16px rgba(3, 2, 40, .18) !important;
  top: 0 !important;
  height: 76px;
  display: flex;
  align-items: center;
  z-index: 10000;
  transition: background .35s cubic-bezier(.4,0,.2,1),
              box-shadow .35s cubic-bezier(.4,0,.2,1),
              height .35s cubic-bezier(.4,0,.2,1);
}

/* Scroll state — adds depth & slightly compact */
#header.header-scrolled {
  background: rgba(5, 6, 62, .98) !important;
  box-shadow: 0 4px 18px rgba(3, 2, 40, .24) !important;
  height: 68px;
}

#header .logo { margin: 0; min-width: 0; }
#header .logo a { gap: 12px; min-width: 0; }
#header .logo img {
  height: 40px;
  width: auto;
  flex-shrink: 0;
  transition: height .35s cubic-bezier(.4,0,.2,1);
}
#header.header-scrolled .logo img { height: 36px; }

#header .logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}
#header .logo .logo-title {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .02em;
  color: #fff;
  white-space: nowrap;
  transition: font-size .35s cubic-bezier(.4,0,.2,1);
}
#header.header-scrolled .logo .logo-title { font-size: 16.5px; }

#header .logo .logo-subtitle {
  font-weight: 600;
  font-size: 11.5px;
  color: var(--accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Very narrow phones: the tagline is the first thing to give up
   room to the hamburger button so nothing gets clipped/overflows. */
@media (max-width: 768px) {
  #header .logo .logo-subtitle { display: none; }
}

/* #header is fixed/out-of-flow on every guest page, so give the
   shared #main wrapper a consistent top offset */
#main {
  margin-top: 76px;
  width: 100%;
  max-width: 100%;
}

/* ---- Desktop nav list ---- */

.navbar {
  display: flex;
  align-items: center;
}

.navbar .nav-list {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

/* Beranda/Panduan/Kepatuhan centered in the navbar, Login pinned to the
   far right corner — desktop only, the mobile drawer stacks everything
   including Login in normal document flow. */
@media (min-width: 992px) {
  #header .logo {
    margin-right: 0 !important;
  }

  .navbar {
    flex: 1 1 auto;
    position: relative;
  }

  .navbar .nav-list {
    flex: 1 1 auto;
    justify-content: center;
    padding-right: 100px;
  }

  .navbar .nav-list li:last-child {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
}

.navbar .nav-list a {
  display: inline-flex;
  align-items: center;
  height: var(--control-h);
  color: #fff !important;
  font-weight: 600;
  font-size: 14.5px;
  padding: 0 16px !important;
  border-radius: 999px;
  position: relative;
  transition: background .2s cubic-bezier(.4,0,.2,1),
              color .2s cubic-bezier(.4,0,.2,1),
              transform .2s cubic-bezier(.4,0,.2,1);
}

/* Keyboard focus (tab navigation) — never rely on hover alone */
.navbar .nav-list a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Underline indicator on hover/active, desktop pill nav only — the mobile
   drawer keeps its own tap-friendly background highlight (see below).
   The login button is a distinct CTA, not a nav link, so it opts out. */
@media (min-width: 992px) {
  .navbar .nav-list a::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 6px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s cubic-bezier(.4,0,.2,1);
  }

  .navbar .nav-list a.btn-login::after {
    display: none;
  }

  .navbar .nav-list a:hover,
  .navbar .nav-list li.active > a,
  #header .navbar .nav-list a:hover,
  #header .navbar .nav-list li.active > a {
    background: transparent;
    color: var(--accent) !important;
  }

  .navbar .nav-list a:hover::after,
  .navbar .nav-list li.active > a::after,
  #header .navbar .nav-list a:hover::after,
  #header .navbar .nav-list li.active > a::after {
    transform: scaleX(1);
  }
}

/* Active item has a subtle scale bump */
.navbar .nav-list a:active {
  transform: scale(.96);
}

/* Login button */
.navbar .nav-list a.btn-login {
  border: 1px solid var(--accent);
  background: rgba(254, 205, 8, .10);
  color: var(--accent) !important;
  font-weight: 700;
  margin-left: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
  transition: background .2s cubic-bezier(.4,0,.2,1),
              color .2s cubic-bezier(.4,0,.2,1),
              box-shadow .2s cubic-bezier(.4,0,.2,1),
              transform .2s cubic-bezier(.4,0,.2,1);
}
.navbar .nav-list a.btn-login:hover,
#header .navbar .nav-list a.btn-login:hover {
  background: rgba(254, 205, 8, .18);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(254, 205, 8, .14) !important;
}

/* ---- Hamburger button (mobile) ---- */

.mobile-nav-toggle {
  display: none;      /* hidden on desktop */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  z-index: 10001;
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
}
.mobile-nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.hamburger-line {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--accent);
  border-radius: 999px;
  transition: transform .3s cubic-bezier(.4,0,.2,1),
              opacity .3s cubic-bezier(.4,0,.2,1),
              background .3s cubic-bezier(.4,0,.2,1);
  transform-origin: center;
}

/* Hamburger → X morph */
body.mobile-nav-active .hamburger-line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
  background: #fff;
}
body.mobile-nav-active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
body.mobile-nav-active .hamburger-line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
  background: #fff;
}

/* ---- Mobile overlay backdrop ---- */

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  /* No backdrop-filter here: blurring this fixed layer bleeds through
     and softens the drawer stacked above it in some Chromium builds,
     even though the drawer has a higher z-index. A flat dim is safer. */
  background: rgba(5,6,62,.55);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s cubic-bezier(.4,0,.2,1),
              visibility .35s cubic-bezier(.4,0,.2,1);
}
body.mobile-nav-active .mobile-nav-overlay {
  opacity: 1;
  visibility: visible;
}

/* ---- Responsive: mobile breakpoint ---- */

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: flex;
  }

  .navbar .nav-list {
    /* Slide-in drawer from the right */
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: var(--brand);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 90px 24px 40px;
    z-index: 9999;
    overflow-y: auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;

    /* slide-in animation */
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform .4s cubic-bezier(.4,0,.2,1),
                opacity .35s cubic-bezier(.4,0,.2,1),
                visibility .35s cubic-bezier(.4,0,.2,1);
  }

  body.mobile-nav-active .navbar .nav-list {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  /* Stagger each nav item */
  .navbar .nav-list li {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity .3s ease, transform .3s ease;
  }
  body.mobile-nav-active .navbar .nav-list li {
    opacity: 1;
    transform: translateX(0);
  }
  body.mobile-nav-active .navbar .nav-list li:nth-child(1) { transition-delay: .08s; }
  body.mobile-nav-active .navbar .nav-list li:nth-child(2) { transition-delay: .14s; }
  body.mobile-nav-active .navbar .nav-list li:nth-child(3) { transition-delay: .20s; }
  body.mobile-nav-active .navbar .nav-list li:nth-child(4) { transition-delay: .26s; }

  /* Mobile nav links */
  .navbar .nav-list a {
    color: rgba(255,255,255,.85) !important;
    font-size: 16px;
    font-weight: 600;
    height: 50px;
    padding: 0 16px !important;
    border-radius: var(--radius-sm);
    width: 100%;
    justify-content: flex-start;
  }

  .navbar .nav-list a:hover,
  .navbar .nav-list li.active > a {
    background: rgba(254, 205, 8, .12);
    color: var(--accent) !important;
  }

  /* Login button on mobile */
  .navbar .nav-list a.btn-login {
    border-color: var(--accent);
    background: rgba(254, 205, 8, .10);
    color: var(--accent) !important;
    margin-left: 0;
    margin-top: 12px;
    justify-content: center;
    font-weight: 800;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
  }
  .navbar .nav-list a.btn-login:hover {
    background: rgba(254, 205, 8, .18);
    color: #fff !important;
  }

  /* Prevent body scroll when mobile nav is open */
  body.mobile-nav-active {
    overflow: hidden;
  }
}

/* ---------- hero / search ---------- */

.guest-hero {
  padding: 84px 0 76px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.82), rgba(0,0,0,.94)),
    url('../img/background.jpg') center / cover no-repeat;
  position: relative;
  overflow: hidden;
}
.guest-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.82), rgba(0,0,0,.94)),
    url('../img/background%201.jpg') center / cover no-repeat;
  opacity: 0;
  z-index: 0;
  animation: heroCrossfade 8s ease-in-out infinite alternate;
}
@keyframes heroCrossfade {
  0%, 35% { opacity: 0; }
  65%, 100% { opacity: 1; }
}
.guest-hero.hero-showcase {
  padding-bottom: 0;
  padding-top: 0;
  width: 100%;
  max-width: 100%;
  height: 70vh;
  min-height: 600px;
}
.guest-hero > .container {
  position: relative;
  z-index: 1;
  height: 100%;
}

/* soft circular "orb" ornaments bleeding off the hero edges */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.16), rgba(255,255,255,0) 70%);
  z-index: 0;
}
.hero-orb-1 {
  width: 420px;
  height: 420px;
  top: -180px;
  right: -120px;
}
.hero-orb-2 {
  width: 220px;
  height: 220px;
  left: -80px;
  bottom: -100px;
  background: radial-gradient(circle at 35% 30%, rgba(254,205,8,.18), rgba(254,205,8,0) 70%);
}
.hero-orb-3 {
  width: 130px;
  height: 130px;
  right: 8%;
  bottom: -50px;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.12), rgba(255,255,255,0) 70%);
}

@media (max-width: 767px) {
  .hero-orb-1 { width: 260px; height: 260px; top: -110px; right: -90px; }
  .hero-orb-2 { width: 150px; height: 150px; }
  .hero-orb-3 { display: none; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  height: var(--control-h);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.85);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: .12em;
  padding: 0 18px;
  border-radius: 999px;
  margin-bottom: 22px;
  gap: 10px;
}
.hero-badge .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}

.hero-title {
  font-size: clamp(32px, 3.8vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: #fff;
  margin: 0 0 14px 0;
  text-transform: uppercase;
  transition: text-shadow 0.3s ease;
}
.hero-title:hover {
  text-shadow: none;
}
.hero-title .highlight {
  color: var(--accent);
  font-style: normal;
}
.guest-hero p.lead {
  color: rgba(255,255,255,.72);
  font-size: 15.5px;
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- homepage hero: copy + illustration, side by side ---------- */

.hero-grid {
  align-items: stretch;
  height: 100%;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-grid-centered {
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.hero-copy-centered {
  align-items: center;
  margin: 0 auto;
}

.hero-copy-centered .hero-title {
  max-width: 100%;
}

.hero-copy-centered .hero-title-line,
.hero-copy-centered .hero-title .highlight {
  display: block;
}

@media (min-width: 768px) {
  .hero-copy-centered .hero-title-line {
    white-space: nowrap;
  }
}

.hero-copy-centered .hero-badge {
  align-self: center;
}

.hero-copy .hero-title {
  margin-bottom: 16px;
}

.guest-hero .hero-copy p.lead {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  max-width: 500px;
}

.guest-hero .hero-copy-centered p.lead {
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
}

.hero-primary-action {
  min-height: 48px;
  margin-top: 28px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  background: var(--accent);
  color: var(--brand-dark) !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.hero-primary-action:hover,
.hero-primary-action:focus {
  background: #ffe04b;
  border-color: #ffe04b;
  color: var(--brand-dark) !important;
  transform: translateY(-2px);
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

/* Soft glow anchoring the illustration, echoing the section's hero-orbs */
.hero-media-glow {
  display: none;
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  margin-bottom: -1px;
  transform: scale(1.05);
  transform-origin: bottom center;
  filter: drop-shadow(0 24px 36px rgba(0,0,0,.4));
}

/* Animations */
.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991px) {
  .guest-hero.hero-showcase,
  .guest-hero.page-hero {
    height: auto;
    padding-top: 40px;
  }
  .hero-grid {
    height: auto;
  }
  .hero-badge {
    align-self: center;
  }
  .hero-copy {
    text-align: center;
    align-items: center;
    padding-bottom: 20px;
  }
  .hero-copy .hero-title {
    font-size: 42px;
  }
  .guest-hero .hero-copy p.lead {
    margin: 0 auto;
    font-size: 16px;
  }
  .hero-media {
    margin-top: 0;
  }
  .hero-photo {
    max-width: 400px;
    max-height: 50vh;
  }
}

/* ---------- hero quick stats ---------- */

.stat-row { margin-top: 34px; row-gap: 16px; }
.stat-tile {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 16px 10px;
}
.stat-number {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
}
.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.72);
  margin-top: 2px;
}

/* still used by the light-background About section eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  height: var(--control-h);
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--brand);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 0 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow i { color: var(--accent); }

/* ---------- about / how it works ---------- */

.about-section { background: var(--surface); padding: 70px 0; }
.eyebrow-dark {
  background: var(--brand-tint);
  border-color: transparent;
  box-shadow: none;
}
.about-section h2 {
  font-weight: 800;
  color: var(--ink-900);
  font-size: 26px;
  margin: 14px 0 12px;
}
.about-section > .container > .row > .col-lg-6 > p {
  color: var(--ink-500);
  font-size: 15px;
  line-height: 1.8;
}
.check-list { list-style: none; padding: 0; margin: 18px 0 0; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--ink-700);
  padding: 8px 0;
}
.check-list i { color: var(--success); font-size: 18px; }

.steps { display: flex; flex-direction: column; gap: 18px; }
.step {
  display: flex;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
  padding: 18px;
}
.step-num {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink-900);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h4 {
  margin: 0 0 4px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink-900);
}
.step p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-500);
}

/* ---------- section headings ---------- */

.section-title h2 {
  font-weight: 800;
  color: var(--ink-900);
  font-size: 24px;
}
.section-title p { color: var(--ink-500); }

/* ---------- wilayah cards ---------- */

#services { background: var(--card); padding: 70px 0; }

.icon-box2 {
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius);
  padding: 22px 24px;
  height: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
  transition: transform .15s ease, box-shadow .15s ease, border-top-color .15s ease;
}
.icon-box2:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
  border-top-color: var(--accent);
}
.icon-box2 h3 { font-size: 17px; margin: 0 0 10px 0; }
.icon-box2 h3 a { color: var(--ink-900) !important; font-weight: 700; }
.icon-box2 hr { border-color: var(--border); margin: 10px 0; }
.icon-box2 .icofont-users { color: var(--brand); font-size: 20px; }
.icon-box2 p { margin: 0; color: var(--ink-500); }
.icon-box2 p b { color: var(--ink-900); font-size: 16px; }
.icon-box2 .icofont-circled-right { color: var(--accent-dark); font-size: 18px; }

/* ---------- sub-page hero (kepatuhan, panduan) ---------- */

.page-hero {
  padding-bottom: 0;
  padding-top: 0;
  height: 70vh;
  min-height: 600px;
}
.page-hero > .container > .row {
  height: 100%;
  align-items: center;
}

/* ---------- breadcrumb ---------- */

.breadcrumb {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  display: inline-flex;
  padding: 8px 18px;
  margin: 0 0 28px;
  font-size: 13.5px;
}
.breadcrumb .homeLink { color: var(--ink-500) !important; font-weight: 600; }
.breadcrumb .homeLink:hover { color: var(--brand) !important; }
.breadcrumb .active { color: var(--brand); font-weight: 700; }

.section-title.text-start { text-align: left; padding-bottom: 22px; }
.section-title.text-start h2::before { display: none; }
.section-title.text-start h2::after { left: 0; transform: none; }

/* ---------- compliance page ---------- */

.compliance-section { background: var(--card); }
#services.compliance-section { padding: 52px 0 72px; }
.compliance-section .section-title.text-start { padding-bottom: 24px; }
.compliance-section .section-title h2 {
  margin: 0 0 14px;
  padding-bottom: 16px;
  line-height: 1.3;
}
.compliance-section .section-title p { margin: 0; line-height: 1.7; }

.compliance-search {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin-bottom: 26px;
}
.compliance-search input {
  flex: 1 1 auto;
  height: var(--control-h);
  box-sizing: border-box;
  padding: 0 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
}
.compliance-search input:focus { outline: none; border-color: var(--brand); }
.compliance-search button {
  height: var(--control-h);
  box-sizing: border-box;
  border: none;
  padding: 0 20px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.compliance-search button:hover { background: var(--brand-light); }

.compliance-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
  overflow: hidden;
}
.compliance-table { margin: 0; width: 100%; }
.compliance-table thead th {
  background: var(--surface);
  color: var(--ink-900);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .02em;
  border-bottom: 2px solid var(--border);
  padding: 14px 16px;
  white-space: nowrap;
}
.compliance-table tbody td {
  font-size: 14px;
  padding: 14px 16px;
  vertical-align: middle;
  border-top: 1px solid var(--border);
  color: var(--ink-700);
}
.compliance-table thead th:first-child,
.compliance-table tbody td:first-child {
  padding-left: 28px;
}
.compliance-table thead th:last-child,
.compliance-table tbody td:last-child {
  padding-right: 28px;
}
.compliance-table tbody tr:hover { background: var(--brand-tint); }
.compliance-name { font-weight: 700; color: var(--ink-900); }
.compliance-username { color: var(--ink-500); font-size: 13px; }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}
.status-badge.status-ok { background: var(--success-tint, #E7F6EC); color: #15803D; }
.status-badge.status-warn { background: #FCEAEB; color: #C0242F; }

.compliance-empty {
  text-align: center;
  padding: 50px 20px !important;
  color: var(--ink-500);
}
.compliance-empty i { font-size: 32px; display: block; margin-bottom: 10px; color: var(--ink-300, #9FA8B5); }

/* ---------- panduan page ---------- */

.btn-download-pdf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: var(--control-h);
  padding: 0 22px;
  margin-top: 28px;
  background: var(--accent);
  color: var(--ink-900) !important;
  font-weight: 700;
  font-size: 14.5px;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
  transition: background .15s ease, color .15s ease;
}
.btn-download-pdf:hover { background: var(--accent-dark); color: var(--ink-900) !important; }

.panduan-section {
  background: var(--card);
  scroll-margin-top: 72px;
}
#services.panduan-section { padding: 52px 0 72px; }
.panduan-section-gap { margin-top: 52px; }
.panduan-section .section-title.text-start { padding-bottom: 24px; }
.panduan-section .section-title .eyebrow { margin-bottom: 16px; }
.panduan-section .section-title h2 {
  margin: 0 0 14px;
  padding-bottom: 16px;
  line-height: 1.3;
}
.panduan-section .section-title p {
  margin: 0;
  line-height: 1.7;
}

.panduan-report-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  padding: 28px 24px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, var(--radius));
  background: linear-gradient(180deg, var(--surface, #f8fafc) 0%, #fff 100%);
  overflow: hidden;
}
.panduan-flow-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.panduan-flow-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panduan-report-flow::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: 58px;
  left: 9%;
  right: 9%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 50%, var(--brand) 100%);
}
.panduan-flow-4::before { left: 12.5%; right: 12.5%; }
.panduan-flow-2::before { left: 25%; right: 25%; }
.panduan-report-step {
  position: relative;
  z-index: 1;
  min-width: 0;
  text-align: center;
}
.panduan-report-node {
  position: relative;
  display: inline-flex;
  width: 62px;
  height: 62px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 0 0 1px var(--border);
}
.panduan-report-node > i { font-size: 23px; }
.panduan-report-node > span {
  position: absolute;
  top: -10px;
  right: -9px;
  display: inline-flex;
  width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink-900);
  font-size: 11px;
  font-weight: 800;
}
.panduan-report-content {
  height: calc(100% - 82px);
  padding: 17px 15px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  background: #fff;
  text-align: left;
}
.panduan-report-content h4 {
  margin: 0 0 9px;
  color: var(--ink-900);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}
.panduan-report-content p {
  margin: 0;
  color: var(--ink-500);
  font-size: 13px;
  line-height: 1.7;
}
.panduan-report-content a { color: var(--brand); font-weight: 700; }
.panduan-report-content strong { color: var(--ink-900); font-weight: 700; }

.panduan-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 22px;
  padding: 17px 20px;
  border: 1px solid rgba(0, 35, 102, .16);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
  background: var(--brand-tint);
  color: var(--ink-500);
  font-size: 14px;
  line-height: 1.7;
}
.panduan-note > i { color: var(--brand); font-size: 20px; line-height: 1.35; }
.panduan-note strong { color: var(--ink-900); }
.panduan-note-warning {
  border-color: rgba(211, 166, 0, .3);
  border-left-color: var(--accent-dark);
  background: rgba(255, 204, 0, .1);
}
.panduan-note-warning > i { color: var(--accent-dark); }

.panduan-faq { margin-top: 4px; }
.panduan-faq .accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  overflow: hidden;
  margin-bottom: 12px;
}
.panduan-faq .accordion-button {
  font-weight: 700;
  color: var(--ink-900);
  font-size: 15px;
  padding: 18px 20px;
}
.panduan-faq .accordion-button:not(.collapsed) {
  background: var(--brand-tint);
  color: var(--brand);
  box-shadow: none;
}
.panduan-faq .accordion-button:focus { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important; }
.panduan-faq .accordion-body { color: var(--ink-500); font-size: 14px; line-height: 1.8; padding: 4px 20px 20px; }
.panduan-faq .accordion-body a { color: var(--brand); font-weight: 600; }

.panduan-help-card {
  margin-top: 48px;
  background: var(--brand);
  border-radius: var(--radius-lg, var(--radius));
  padding: 30px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.panduan-help-card h4 { color: #fff; font-weight: 800; margin: 0 0 4px; }
.panduan-help-card p { color: rgba(255,255,255,.72); margin: 0; font-size: 14px; }
.panduan-help-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-help {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  background: var(--accent);
  color: var(--ink-900) !important;
}
.btn-help:hover { background: var(--accent-dark); color: var(--ink-900) !important; }
.btn-help-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.4);
  color: #fff !important;
}
.btn-help-outline:hover { background: rgba(255,255,255,.1); color: #fff !important; }

@media (max-width: 1199.98px) {
  .panduan-report-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panduan-report-flow::before { display: none; }
  .panduan-report-step { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 14px; text-align: left; }
  .panduan-report-node { margin: 0; }
  .panduan-report-content { height: 100%; }
}

@media (max-width: 991.98px) {
  .panduan-report-flow {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 20px;
  }
  .panduan-report-flow::before {
    display: block;
    top: 32px;
    bottom: 32px;
    left: 50px;
    right: auto;
    width: 3px;
    height: auto;
    background: linear-gradient(180deg, var(--brand) 0%, var(--accent) 50%, var(--brand) 100%);
  }
  .panduan-report-step { grid-template-columns: 62px minmax(0, 1fr); gap: 14px; }
  .panduan-report-node { margin: 0; }
}

@media (max-width: 575.98px) {
  #services.compliance-section { padding: 38px 0 56px; }
  .compliance-section .section-title.text-start { padding-bottom: 20px; }
  .compliance-section .section-title h2 { margin-bottom: 12px; padding-bottom: 14px; }
  #services.panduan-section { padding: 38px 0 56px; }
  .panduan-section-gap { margin-top: 40px; }
  .panduan-section .section-title.text-start { padding-bottom: 20px; }
  .panduan-section .section-title .eyebrow { margin-bottom: 14px; }
  .panduan-section .section-title h2 { margin-bottom: 12px; padding-bottom: 14px; }
  .panduan-report-flow {
    padding: 22px 18px;
  }
  .panduan-report-flow::before { left: 48px; }
  .panduan-report-content { padding: 15px; }
  .panduan-help-card { margin-top: 40px; padding: 24px 20px; }
  .panduan-help-actions, .btn-help { width: 100%; }
  .btn-help { justify-content: center; }
}

/* ---------- map ---------- */

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
  border: 1px solid var(--border);
}
.map-wrap iframe { display: block; width: 100%; border: 0; }

/* ---------- clients / partners ---------- */

#clients { background: var(--surface); padding: 50px 0 60px; }
.clients-carousel img {
  /* every partner logo gets the same bounding box regardless of its
     native aspect ratio, so the row reads as one consistent size
     instead of each logo being a different width/looking squashed */
  width: 140px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto;
  filter: grayscale(1) opacity(.65);
  transition: filter .15s ease;
}
.clients-carousel img:hover { filter: grayscale(0) opacity(1); }

/* ---------- footer ---------- */

#footer {
  /* body.css sets background/color/padding on #footer itself with
     !important, which silently wins over a plain (non-important)
     declaration regardless of source order - every property that
     file touches has to be matched with !important here too. */
  background:
    linear-gradient(180deg, rgba(0,0,0,.82), rgba(0,0,0,.94)),
    url('../img/background.jpg') center / cover no-repeat !important;
  color: rgba(255,255,255,.7) !important;
  padding: 0 !important;
  /* style.css sets #footer { text-align: center }, which otherwise
     inherits down into every column below */
  text-align: left !important;
}
#footer .footer-top {
  /* body.css sets background/border-top/border-bottom on this element
     with !important, including an opaque solid background color that
     was completely covering the image set on the parent #footer above -
     override every one of those (all need !important to beat body.css's
     own !important declarations). */
  background: transparent !important;
  border-top: 3px solid var(--accent) !important;
  border-bottom: none !important;
  padding: 56px 0 40px !important;
}
#footer h5 {
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-brand { margin-bottom: 26px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo img { height: 40px; }
.footer-logo-title { color: #fff; font-weight: 800; font-size: 15px; line-height: 1.3; }
.footer-logo-sub { color: var(--accent); font-weight: 700; font-size: 11.5px; letter-spacing: .04em; }
.footer-tagline { font-size: 13.5px; line-height: 1.8; color: rgba(255,255,255,.62); max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, color .15s ease;
}
.footer-social a:hover { background: var(--accent); color: var(--ink-900) !important; }

.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a {
  color: rgba(255,255,255,.68) !important;
  font-size: 14px;
  transition: color .15s ease;
}
.footer-col ul li a:hover { color: var(--accent) !important; }

.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact li { display: flex; align-items: center; gap: 10px; margin: 0 !important; }
.footer-contact i {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.footer-contact span { font-size: 13.5px; color: rgba(255,255,255,.78); font-weight: 600; }

.footer-address {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(255,255,255,.68);
  margin: 0;
}
.footer-address i { color: var(--accent); margin-top: 3px; flex: 0 0 auto; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px 0;
  font-size: 12.5px;
  color: rgba(255,255,255,.5);
}

.back-to-top {
  background: var(--accent) !important;
  color: var(--ink-900) !important;
}

@media (max-width: 991px) {
  .hero-title { font-size: 32px; }
  .guest-hero { padding: 60px 0 60px; }
}
/* Notary directory: compact, sticky region navigation. The list gets its
   own scrollbar only when it is taller than the available viewport. */
.services .notary-region-column {
  position: relative;
  /* Keep this column as tall as the notary grid. A sticky child needs a
     taller containing block in order to travel while the page scrolls. */
  align-self: stretch;
}

.services .notary-region-box {
  position: sticky;
  top: 92px;
  align-self: flex-start;
  height: fit-content !important;
  min-height: 0 !important;
  max-height: calc(100vh - 112px);
  overflow: hidden;
}

.services .notary-region-sidebar {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: calc(100vh - 175px);
}

.services .notary-region-sidebar .widget_title {
  flex: 0 0 auto;
}

.services .notary-region-sidebar .cat-list {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #c9c9dc transparent;
}

.services .notary-region-sidebar .cat-list::-webkit-scrollbar {
  width: 6px;
}

.services .notary-region-sidebar .cat-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #c9c9dc;
}

@media (max-width: 991.98px) {
  .services .notary-region-column {
    margin-top: 28px;
  }

  .services .notary-region-box {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .services .notary-region-sidebar {
    max-height: none;
  }

  .services .notary-region-sidebar .cat-list {
    overflow: visible;
  }
}

/* Buttons use borders and color changes for hierarchy, without drop shadows. */
button,
button:hover,
button:focus,
button:active,
input[type="button"],
input[type="submit"],
input[type="reset"],
.btn,
.btn:hover,
.btn:focus,
.btn:active,
a[class*="btn"],
a[class*="btn"]:hover,
a[class*="btn"]:focus,
a[class*="btn"]:active {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

/* Keep formatted dates intact inside public tables. */
.table-date,
.table-date-cell {
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}
.table-date-cell {
  width: 132px !important;
  min-width: 132px !important;
}
.table-date {
  width: max-content;
  max-width: none;
  display: inline-block;
}
.table-number-cell {
  width: 1% !important;
  min-width: max-content;
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}
