/* GITA SIKKA — BERANDA.CSS 
   
*/

:root {

  --navy: #0c407c;

  --navy-dark: #082d58;

  --yellow: #ffbf00;

  --ink: #111c26;

  --muted: #66758a;

  --border: #edf0f4;

  --header-height: 82px;

}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body { margin: 0; color: var(--ink); background: #fff; font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; }

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

button { font: inherit; }

.site-header {

  position: sticky;

  top: 0;

  z-index: 1000;

  background: rgba(255,255,255,.98);

  border-bottom: 1px solid var(--border);

  transition: box-shadow .2s ease;

}

.site-header.has-shadow { box-shadow: 0 8px 28px rgba(10, 35, 66, .06); }

.header-inner {

  max-width: 1440px;

  min-height: var(--header-height);

  margin: 0 auto;

  padding: 0 clamp(20px, 4vw, 64px);

  display: grid;

  grid-template-columns: minmax(260px, 1fr) auto minmax(170px, 1fr);

  align-items: center;

  gap: clamp(14px, 2vw, 36px);

}

header,

main,

.hero-section,

.navbar {

  position: relative;

  z-index: 2;

}

.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; max-width: 100%; min-width: 0; }

.brand-icon { display: block; flex: 0 0 auto; width: 52px; height: 52px; object-fit: cover; border-radius: 14px; }

.brand-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.brand-name { font-weight: 800; font-size: 25px; letter-spacing: -.9px; line-height: 1.14; color: #111; white-space: nowrap; }

.brand-tagline { font-size: 10.5px; font-weight: 500; letter-spacing: -.15px; color: #545c67; white-space: nowrap; }

.desktop-nav { display: flex; align-items: center; gap: clamp(19px, 2.6vw, 38px); height: var(--header-height); }

.nav-link { display: inline-flex; align-items: center; height: 100%; position: relative; color: #465466; font-size: 13px; font-weight: 650; white-space: nowrap; transition: color .2s; }

.nav-link[href]:hover { color: var(--navy); }

.nav-link.is-active { color: var(--navy); font-weight: 800; }

.nav-link.is-active::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--yellow); }

.nav-link.is-coming-soon { color: #9099a5; cursor: default; }

.header-cta {

  justify-self: end;

  display: inline-flex; align-items: center; justify-content: center; gap: 11px;

  padding: 13px 18px; border-radius: 12px;

  background: var(--navy); color: white;

  font-size: 12px; font-weight: 800; white-space: nowrap;

  box-shadow: 0 5px 14px rgba(12,64,124,.13);

  transition: background .2s, transform .2s, box-shadow .2s;

}

.header-cta:hover { background: var(--navy-dark); transform: translateY(-1px); box-shadow: 0 7px 18px rgba(12,64,124,.2); }

.header-cta:focus-visible, .brand:focus-visible, .nav-link:focus-visible, .menu-toggle:focus-visible, .mobile-link:focus-visible, .mobile-cta:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.menu-toggle { display: none; }

.mobile-nav[hidden] { display: none !important; }

/* Pertahankan setelan body aktif dari CSS sebelumnya. */
body { font-family: Arial, sans-serif; overflow-x: hidden; position: relative; }

/* RESPONSIVE HEADER */

@media (max-width: 1120px) and (min-width: 761px) {

  .header-inner { grid-template-columns: minmax(190px, 1fr) auto auto; padding-inline: 22px; gap: 20px; }

  .brand-icon { width: 44px; height: 44px; border-radius: 12px; }

  .brand-name { font-size: 22px; }

  .brand-tagline { font-size: 9px; }

  .desktop-nav { gap: 18px; }

  .nav-link { font-size: 12px; }

  .header-cta { padding: 12px 14px; font-size: 11px; }

}

@media (max-width: 900px) and (min-width: 761px) {

  .brand-tagline { display: none; }

  .header-inner { grid-template-columns: minmax(145px, 1fr) auto auto; gap: 14px; }

  .desktop-nav { gap: 12px; }

}

@media (max-width: 760px) {

  :root { --header-height: 66px; }

  .header-inner { min-height: var(--header-height); display: flex; justify-content: space-between; padding: 0 18px; gap: 12px; }

  .brand-icon { width: 43px; height: 43px; border-radius: 12px; }

  .brand { gap: 10px; }

  .brand-name { font-size: 22px; letter-spacing: -.85px; }

  .brand-tagline, .desktop-nav, .header-cta { display: none; }

  .menu-toggle { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid #e7ebf0; border-radius: 12px; background: #fff; color: var(--navy); cursor: pointer; }

  .menu-toggle .icon-close { display: none; }

  .menu-toggle[aria-expanded="true"] .icon-menu { display: none; }

  .menu-toggle[aria-expanded="true"] .icon-close { display: block; }

  .mobile-nav { position: absolute; top: calc(100% - 1px); left: 0; right: 0; z-index: 1001; background: white; border-top: 1px solid var(--border); border-bottom: 1px solid #e3e9ef; box-shadow: 0 16px 30px rgba(8, 45, 88, .12); padding: 12px 18px 19px; display: flex; flex-direction: column; gap: 3px; }

  .mobile-link { min-height: 45px; padding: 12px; display: flex; align-items: center; justify-content: space-between; border-radius: 10px; font-size: 14px; color: #30445a; font-weight: 600; }

  .mobile-link[href]:hover, .mobile-link.is-active { background: #eff5fc; color: var(--navy); }

  .mobile-link.is-active { font-weight: 800; }

  .mobile-link.is-disabled { color: #8f9aaa; }

  .mobile-link small { font-size: 10px; color: #9fa9b6; font-weight: 500; }

  .mobile-cta { margin-top: 9px; display: flex; align-items: center; justify-content: space-between; background: var(--navy); color: white; padding: 15px 17px; border-radius: 12px; font-size: 13px; font-weight: 800; }

  .preview-area { padding-inline: 22px; }

}

@media (max-width: 355px) {

  .brand-name { font-size: 19px; }

  .brand-icon { width: 39px; height: 39px; }

  .header-inner { padding-inline: 13px; }

}

@media (prefers-reduced-motion: reduce) {

  *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }

}

/* IDENTITAS INSTANSI DI HEADER */

  /* LOGO PEMERINTAH DI KANAN CTA — tambahkan PALING BAWAH beranda.css */

.header-actions {

    justify-self: end;

    display: flex;

    align-items: center;

    gap: 16px;

    white-space: nowrap;

  }

  .header-actions .header-cta { justify-self: auto; }

  .agency-logos {

    display: flex;

    align-items: center;

    gap: 11px;

    padding-left: 15px;

    border-left: 1px solid #dfe5ec;

  }

  .agency-logo {

    display: block;

    width: 36px;

    height: 36px;

    object-fit: contain;

    flex: 0 0 auto;

  }

  .agency-logo.logo-sikka { width: 38px; height: 38px; }

  .agency-logo.logo-pupr { border-radius: 5px; }

  /* Tablet: jaga menu tetap lapang */

  @media (max-width: 1100px) {

    .agency-logos { display: none; }

  }

  /* Mobile: tetap gunakan hamburger + CTA pada dropdown */

  @media (max-width: 760px) {

    .header-actions { display: none; }

  }

/* HERO LAYOUT */

.preview-area.gs-hero {

  display: block;

  padding: 0;

  min-height: calc(100svh - var(--header-height));

  position: relative;

  isolation: isolate;

  overflow: hidden;

}

.gs-hero-inner {

  width: 100%;

  max-width: 1500px;

  min-height: calc(100svh - var(--header-height));

  margin: 0 auto;

  padding: clamp(70px, 8.5vh, 122px) clamp(22px, 4.4vw, 70px);

  position: relative;

  z-index: 1; /* konten di atas cahaya kuning animasi */

  display: grid;

  grid-template-columns: minmax(0, 0.91fr) minmax(0, 1.09fr);

  align-items: center;

  column-gap: clamp(30px, 3.4vw, 64px);

}

.gs-hero-copy { min-width: 0; position: relative; z-index: 2; }

.gs-hero-eyebrow {

  margin: 0 0 22px;

  color: var(--navy, #0c407c);

  font-size: clamp(10px, 0.9vw, 12px);

  font-weight: 800;

  line-height: 1.6;

  letter-spacing: 0.19em;

}

.gs-hero-title {

  max-width: 650px;

  margin: 0;

  color: var(--ink, #111c26);

  font-size: clamp(43px, 4.5vw, 70px);

  line-height: 1.12;

  letter-spacing: -0.055em;

  font-weight: 800;

  text-wrap: balance;

}

.gs-hero-title span { color: var(--navy, #0c407c); }

.gs-hero-description {

  max-width: 525px;

  margin: 27px 0 0;

  color: var(--muted, #66758a);

  font-size: clamp(14px, 1.15vw, 16px);

  font-weight: 500;

  line-height: 1.85;

}

.gs-hero-actions {

  display: flex;

  flex-wrap: wrap;

  align-items: center;

  gap: 12px;

  margin-top: 32px;

}

.gs-hero-btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 12px;

  min-height: 50px;

  padding: 14px 19px;

  border-radius: 12px;

  font-size: 13px;

  line-height: 1.4;

  font-weight: 800;

  white-space: nowrap;

  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;

}

.gs-hero-btn-primary {

  color: #fff;

  background: var(--navy, #0c407c);

  box-shadow: 0 12px 25px rgba(12, 64, 124, .13);

}

.gs-hero-btn-primary:hover { background: var(--navy-dark, #082d58); transform: translateY(-2px); }

.gs-hero-btn-secondary {

  color: var(--navy, #0c407c);

  background: rgba(255,255,255,.82);

  border: 1px solid rgba(12,64,124,.17);

}

.gs-hero-btn-secondary:hover { background: #fff; transform: translateY(-2px); }

.gs-hero-btn:focus-visible { outline: 3px solid var(--yellow,#ffbf00); outline-offset: 3px; }

.gs-hero-note {

  max-width: 470px;

  margin: 22px 0 0;

  color: #8a97a6;

  font-size: 11px;

  font-weight: 500;

  line-height: 1.8;

}

/* Visual asli: frame browser, peta, 2 maskot, latar transparan. */

.gs-hero-art {

  margin: 0;

  min-width: 0;

  width: 100%;

  justify-self: center;

  position: relative;

  z-index: 1;

}

.gs-hero-art::before {

  content: '';

  position: absolute;

  pointer-events: none;

  inset: 13% 4% 8%;

  z-index: -1;

  border-radius: 50%;

  background: radial-gradient(ellipse, rgba(255,191,0,.14), transparent 70%);

}

.gs-hero-mockup {

  width: 112%;

  max-width: none;

  height: auto;

  display: block;

  margin-left: -6%;

  filter: drop-shadow(0 20px 24px rgba(12,40,67,.09));

}

.gs-visually-hidden {

  position: absolute !important;

  width: 1px; height: 1px;

  padding: 0; margin: -1px;

  overflow: hidden; clip: rect(0,0,0,0);

  white-space: nowrap; border: 0;

}

/* Layar laptop kecil atau tablet: layout vertikal menjaga mockup tetap terbaca */

@media (max-width: 1000px) {

  .gs-hero-inner {

    grid-template-columns: minmax(0, 1fr);

    gap: 18px;

    padding-top: 82px;

    padding-bottom: 74px;

    text-align: center;

  }

  .gs-hero-copy { max-width: 720px; margin-inline: auto; }

  .gs-hero-title { max-width: 720px; font-size: clamp(43px, 6.5vw, 65px); }

  .gs-hero-description, .gs-hero-note { margin-left: auto; margin-right: auto; }

  .gs-hero-actions { justify-content: center; }

  .gs-hero-art { max-width: 850px; }

  .gs-hero-mockup { width: 100%; margin-left: 0; }

}

/* HP */

@media (max-width: 600px) {

  .gs-hero-inner {

    padding: 61px 20px 68px;

    gap: 30px;

  }

  .gs-hero-eyebrow {

    margin-bottom: 17px;

    font-size: 9.5px;

    letter-spacing: .12em;

  }

  .gs-hero-title {

    font-size: clamp(36px, 9.7vw, 51px);

    letter-spacing: -.052em;

    line-height: 1.13;

  }

  .gs-hero-description {

    margin-top: 19px;

    font-size: 13px;

    line-height: 1.8;

  }

  .gs-hero-actions {

    width: 100%;

    max-width: 380px;

    margin: 27px auto 0;

    flex-direction: column;

    align-items: stretch;

    gap: 10px;

  }

  .gs-hero-btn { width: 100%; min-height: 49px; }

  .gs-hero-note { display: none; }

  .gs-hero-art { width: calc(100% + 30px); margin-left: -15px; }

  .gs-hero-mockup { width: 100%; margin: 0; filter: drop-shadow(0 12px 15px rgba(12,40,67,.08)); }

}

@media (prefers-reduced-motion: reduce) {

  .gs-hero-btn { transition: none; }

  .gs-hero-btn:hover { transform: none; }

}

/* FIX: base hero dari CSS terakhir */

.preview-area.gs-hero {
  min-height: calc(100svh - var(--header-height));
  background: #FAFBFD;
  border: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.gs-hero-inner {
  min-height: calc(100svh - var(--header-height));
}

/* Bayangan mockup: gunakan satu deklarasi saja */
.gs-hero-mockup {
  filter: drop-shadow(0 20px 28px rgba(12, 40, 67, 0.10));
}

@media (min-width: 1001px) {
  .gs-hero-inner { padding-top: 50px; padding-bottom: 50px; }
}
@media (max-width: 1000px) {
  .preview-area.gs-hero, .gs-hero-inner { min-height: 0; }
  .gs-hero-inner { padding-bottom: 30px; }
}
@media (max-width: 600px) {
  .gs-hero-inner { padding-bottom: 25px; }
  /* Menghindari mockup melebar di HP (duplikat CSS lama dibuang) */
  .gs-hero-mockup {
    width: 100%; margin-left: 0;
    filter: drop-shadow(0 12px 15px rgba(12, 40, 67, .08));
  }
}

/* HERO — KUNING (SATU SISTEM GLOW) */
.preview-area.gs-hero::before,
.preview-area.gs-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 191, 0, 0.42) 0%,
    rgba(255, 207, 50, 0.24) 35%,
    rgba(255, 225, 130, 0.09) 60%,
    transparent 78%);
  will-change: transform;
}
.preview-area.gs-hero::before {
  width: 460px; height: 460px;
  left: -120px; top: -180px;
  opacity: .55;
  filter: blur(70px);
  animation: gitaLeftFinal 16s ease-in-out infinite;
}
.preview-area.gs-hero::after {
  width: 750px; height: 750px;
  top: 5%; right: -100px;
  opacity: 1;
  filter: blur(55px);
  animation: gitaRightFinal 12s ease-in-out infinite;
}
@keyframes gitaLeftFinal {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(75px,45px,0) scale(1.06); }
}
@keyframes gitaRightFinal {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  25% { transform: translate3d(-100px,-55px,0) scale(1.08); }
  50% { transform: translate3d(-180px,65px,0) scale(1.12); }
  75% { transform: translate3d(-70px,110px,0) scale(1.04); }
}
@media (max-width: 768px) {
  .preview-area.gs-hero::before {
    width: 260px; height: 260px; top: 40px; left: -80px;
    filter: blur(50px); will-change: auto;
  }
  .preview-area.gs-hero::after {
    width: 420px; height: 420px; top: 220px; right: -100px;
    filter: blur(58px); will-change: auto;
  }
}

/* Lapisan fade tepat pada bagian bawah inner Hero (90px). */
.gs-hero-inner::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 100vw; height: 90px;
  background: linear-gradient(to bottom,
    rgba(250,251,253,0) 0%,
    rgba(250,251,253,.35) 35%,
    rgba(250,251,253,.75) 70%,
    #FAFBFD 100%);
  pointer-events: none;
  z-index: 0;
}
.gs-hero-copy { position: relative; z-index: 2; }
.gs-hero-art { position: relative; z-index: 1; }

/* FADE ANTARHALAMAN */

body {

  animation: gsPageEnter 0.45s ease-out;

  transition: opacity 0.28s ease-in-out;

}

/* Saat menuju halaman lain */

body.gs-page-leaving {

  animation: none;

  opacity: 0;

  pointer-events: none;

}

/* Saat halaman baru terbuka */

@keyframes gsPageEnter {

  from {

    opacity: 0;

  }

  to {

    opacity: 1;

  }

}

/* Aksesibilitas */

@media (prefers-reduced-motion: reduce) {

  body {

    animation: none;

    transition: none;

  }

}

/* STATISTIK — TATA LETAK & KOMPONEN */

.gs-stats {

  position: relative;

  z-index: 2;

  background: #FAFBFD;

  border-top: none;

  color: #111c26;

}

.gs-stats-container {

  width: min(100%, 1500px);

  margin-inline: auto;

  padding: clamp(66px, 7vw, 105px) clamp(22px, 4.4vw, 70px);

}

.gs-stats-header {

  display: flex;

  align-items: flex-end;

  justify-content: space-between;

  gap: 26px;

  margin-bottom: 26px;

}

.gs-stats-heading-group {

  display: flex;

  align-items: center;

  gap: 15px;

  min-width: 0;

}

.gs-stats-heading-icon,

.gs-stats-icon {

  display: inline-grid;

  place-items: center;

  flex: 0 0 auto;

}

.gs-stats-heading-icon {

  width: 51px;

  height: 51px;

  border-radius: 15px;

  color: #0c407c;

  background: #eaf2fc;

}

.gs-stats-heading-icon svg { width: 26px; height: 26px; }

.gs-stats-header h2 {

  margin: 0;

  font-size: clamp(22px, 2.25vw, 32px);

  font-weight: 800;

  letter-spacing: -.038em;

  line-height: 1.24;

}

.gs-stats-header p {

  margin: 7px 0 0;

  font-size: 13px;

  color: #697c91;

  font-weight: 500;

}

.gs-stats-filters {

  display: flex;

  align-items: center;

  gap: 9px;

  flex: 0 0 auto;

}

.gs-stats-filters label {

  color: #65778b;

  font-size: 12px;

  font-weight: 700;

}

.gs-stats-filters select {

  appearance: none;

  -webkit-appearance: none;

  min-height: 43px;

  padding: 10px 35px 10px 13px;

  font-family: inherit;

  font-size: 12px;

  font-weight: 700;

  color: #173b61;

  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http\://www\.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%2367798d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;

  border: 1px solid #e2e9f1;

  border-radius: 11px;

  cursor: pointer;

}

.gs-stats-filters select:focus-visible,

.gs-stats-retry:focus-visible {

  outline: 3px solid #ffbf00;

  outline-offset: 3px;

}

.gs-stats-filters #gs-stats-year { min-width: 100px; }

.gs-stats-filters #gs-stats-period { min-width: 155px; }

.gs-stats-status {

  min-height: 18px;

  margin: 0 0 12px;

  font-size: 12px;

  color: #7a8a9b;

}

.gs-stats-status[data-state="error"] { color: #b42318; }

.gs-stats-retry {

  display: inline-flex;

  align-items: center;

  margin: 0 0 14px;

  padding: 8px 12px;

  border: 1px solid #bed2e8;

  border-radius: 9px;

  background: white;

  color: #0c407c;

  font-family: inherit;

  font-weight: 700;

  font-size: 12px;

  cursor: pointer;

}

.gs-stats-retry[hidden] { display: none; }

.gs-stats-grid {

  display: grid;

  grid-template-columns: minmax(215px, .92fr) minmax(0, 1.48fr) minmax(240px, 1.16fr);

  gap: 17px;

  align-items: stretch;

}

.gs-stats-kpis {

  display: grid;

  grid-template-rows: 1fr 1fr;

  gap: 17px;

  min-width: 0;

}

.gs-stats-card {

  background: #fff;

  border: 1px solid #e8edf3;

  border-radius: 19px;

  box-shadow: 0 10px 36px rgba(20, 50, 82, .035);

  min-width: 0;

}

.gs-stats-kpi {

  padding: 23px 24px 20px;

  display: flex;

  flex-direction: column;

  justify-content: center;

  gap: 8px;

}

.gs-stats-kpi-header { display: flex; align-items: center; gap: 10px; }

.gs-stats-icon { width: 37px; height: 37px; border-radius: 11px; }

.gs-stats-icon svg { width: 20px; height: 20px; }

.gs-stats-icon-blue { background: #eaf3ff; color: #0c407c; }

.gs-stats-icon-yellow { background: #fff5d7; color: #9e7100; }

.gs-stats-kpi-label { font-size: 12px; color: #54677c; font-weight: 700; }

.gs-stats-kpi-number {

  display: block;

  font-size: clamp(32px, 3.2vw, 45px);

  line-height: 1.12;

  letter-spacing: -.05em;

  font-weight: 800;

  font-variant-numeric: tabular-nums;

}

.gs-stats-kpi small { font-size: 11px; color: #8c99a8; font-weight: 500; }

.gs-stats-functions,

.gs-stats-permits { padding: 25px 24px 22px; }

.gs-stats-card-heading h3 {

  margin: 0;

  font-size: 15px;

  line-height: 1.3;

  color: #182d43;

  font-weight: 800;

  letter-spacing: -.02em;

}

.gs-stats-card-heading p { margin: 6px 0 0; color: #8897a8; font-size: 11px; }

.gs-stats-bars { display: grid; gap: 15px; margin-top: 27px; }

.gs-stats-bar-head {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 10px;

  margin-bottom: 7px;

  font-size: 11.5px;

  color: #516376;

}

.gs-stats-bar-head strong { font-size: 11px; color: #273c51; font-variant-numeric: tabular-nums; }

.gs-stats-bar-track { height: 8px; width: 100%; border-radius: 100px; background: #f0f3f7; overflow: hidden; }

.gs-stats-bar-fill { display: block; height: 100%; width: 0; background: var(--gs-bar-color, #0c407c); border-radius: inherit; transition: width .7s ease; }

.gs-stats-chart-note { margin: 22px 0 0; font-size: 10px; line-height: 1.6; color: #9ba5af; }

.gs-stats-donut-layout {

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 20px;

  min-height: 238px;

  padding-top: 19px;

}

.gs-stats-donut {

  width: clamp(146px, 14vw, 190px);

  height: clamp(146px, 14vw, 190px);

  aspect-ratio: 1;

  border-radius: 50%;

  background: #edf1f5;

  display: grid;

  place-items: center;

  flex: 0 0 auto;

}

.gs-stats-donut-hole {

  background: #fff;

  width: 68%;

  height: 68%;

  border-radius: 50%;

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  gap: 5px;

}

.gs-stats-donut-hole strong { font-size: 30px; color: #111c26; font-weight: 800; letter-spacing: -.05em; line-height: 1; }

.gs-stats-donut-hole span { font-size: 10px; color: #8a98a8; }

.gs-stats-legend { width: 100%; display: grid; gap: 10px; }

.gs-stats-legend-item { display: flex; align-items: center; gap: 9px; font-size: 11px; }

.gs-stats-legend-dot { display: inline-block; flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; background: var(--gs-legend-color); }

.gs-stats-legend-name { color: #627388; flex: 1; }

.gs-stats-legend-number { color: #293b4f; font-variant-numeric: tabular-nums; font-weight: 800; }

.gs-stats-empty { margin: 0; font-size: 12px; color: #8b98a8; line-height: 1.6; }

.gs-stats-footnote { margin: 17px 0 0; color: #98a4b1; font-size: 11px; line-height: 1.65; }

@media (max-width: 1160px) {

  .gs-stats-grid { grid-template-columns: minmax(210px, 1fr) minmax(0, 1.45fr); }

  .gs-stats-permits { grid-column: 1 / -1; }

  .gs-stats-donut-layout { flex-direction: row; gap: 32px; min-height: 190px; }

  .gs-stats-legend { max-width: 280px; }

}

@media (max-width: 760px) {

  .gs-stats-container { padding: 65px 20px 75px; }

  .gs-stats-header { flex-direction: column; align-items: stretch; gap: 20px; }

  .gs-stats-heading-icon { width: 45px; height: 45px; }

  .gs-stats-header h2 { font-size: 24px; }

  .gs-stats-filters { flex-wrap: wrap; }

  .gs-stats-filters #gs-stats-year { flex: 1 1 80px; }

  .gs-stats-filters #gs-stats-period { flex: 1 1 130px; }

  .gs-stats-grid { grid-template-columns: 1fr; gap: 14px; }

  .gs-stats-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; gap: 14px; }

  .gs-stats-kpi { min-height: 160px; padding: 18px; }

  .gs-stats-kpi-number { font-size: 36px; }

  .gs-stats-functions, .gs-stats-permits { padding: 23px 20px; }

  .gs-stats-permits { grid-column: auto; }

  .gs-stats-donut-layout { flex-direction: row; justify-content: space-around; }

}

@media (max-width: 420px) {

  .gs-stats-heading-group { align-items: flex-start; gap: 11px; }

  .gs-stats-header h2 { font-size: 21px; }

  .gs-stats-header p { font-size: 12px; }

  .gs-stats-filters { display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 7px; }

  .gs-stats-filters select { min-width: 0 !important; width: 100%; padding-left: 9px; padding-right: 27px; background-position: right 9px center; }

  .gs-stats-kpi { min-height: 154px; padding: 16px 14px; }

  .gs-stats-kpi-label { font-size: 11px; }

  .gs-stats-donut-layout { flex-direction: column; gap: 20px; }

  .gs-stats-legend { max-width: 250px; }

}

@media (prefers-reduced-motion: reduce) {

  .gs-stats-bar-fill { transition: none; }

}

/* STATISTIK — UNGU (SATU SISTEM GLOW) */
.gs-stats {
  position: relative;
  z-index: 2;
  isolation: isolate;
  overflow: hidden;
  background: #FAFBFD;
  border: 0;
  color: #111c26;
}
.gs-stats::before,
.gs-stats::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(123,97,255,.35) 0%,
    rgba(155,122,255,.20) 38%,
    rgba(205,190,255,.08) 65%,
    transparent 80%);
}
.gs-stats::before {
  width: 420px; height: 420px;
  left: -120px; bottom: -160px;
  opacity: .55;
  filter: blur(55px);
  animation: gitaPurpleLeft 17s ease-in-out infinite;
}
.gs-stats::after {
  width: 650px; height: 650px;
  right: -100px; top: 100px;
  filter: blur(65px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 100%);
  animation: gitaPurpleRight 14s ease-in-out infinite;
}
.gs-stats-container { position: relative; z-index: 1; }
@keyframes gitaPurpleLeft {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(100px,-40px) scale(1.08); }
}
@keyframes gitaPurpleRight {
  0%, 100% { transform: translate(0,0) scale(1); }
  25% { transform: translate(-80px,45px) scale(1.06); }
  50% { transform: translate(-140px,80px) scale(1.12); }
  75% { transform: translate(-50px,-35px) scale(1.05); }
}
@media (max-width: 768px) {
  .gs-stats::before { width: 280px; height: 280px; filter: blur(45px); }
  .gs-stats::after { width: 380px; height: 380px; filter: blur(50px); }
}

/* Jarak akhir: desktop 45px; tablet 32px; HP 30px. */
@media (min-width: 1001px) {
  .gs-stats-container { padding-top: 45px; }
}
@media (min-width: 601px) and (max-width: 1000px) {
  .gs-stats-container { padding-top: 32px; }
}
@media (max-width: 600px) {
  .gs-stats-container { padding-top: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .preview-area.gs-hero::before, .preview-area.gs-hero::after,
  .gs-stats::before, .gs-stats::after { animation: none; }
}

/* ==========================================================
   GITA SIKKA — ABOUT US v2
   Semua aturan di-scope ke .gs-about agar tidak mengganggu
   Hero, Statistik, header, atau WebGIS.
   ========================================================== */

   .gs-about {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #FAFBFD;
    color: #111C26;
    scroll-margin-top: calc(var(--header-height, 82px) + 20px);
  }
  
  .gs-about-container {
    width: min(100%, 1500px);
    margin-inline: auto;
    padding: clamp(75px, 7vw, 112px) clamp(22px, 4.4vw, 70px) 100px;
  }
  
  .gs-about-main {
    display: grid;
    grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
    align-items: center;
    gap: clamp(26px, 3vw, 52px);
  }
  
  .gs-about-copy { min-width: 0; }
  
  .gs-about-label {
    margin: 0 0 18px;
    color: #0C407C;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
  }
  
  .gs-about-copy h2 {
    margin: 0;
    color: #111C26;
    font-size: clamp(45px, 4.5vw, 74px);
    line-height: 1.07;
    font-weight: 800;
    letter-spacing: -.055em;
  }
  
  .gs-about-tagline {
    margin: 9px 0 23px !important;
    color: #0C407C !important;
    font-size: clamp(25px, 2.25vw, 38px) !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: -.04em;
  }
  
  .gs-about-copy > p:not(.gs-about-label):not(.gs-about-tagline) {
    max-width: 570px;
    margin: 0 0 18px;
    color: #61718A;
    font-size: clamp(14px, 1.06vw, 16px);
    line-height: 1.75;
    font-weight: 450;
  }
  
  .gs-about-copy > p:last-child { margin-bottom: 0; }
  .gs-about-copy strong { color: #344B65; font-weight: 700; }
  
  /* Ilustrasi asli dari desain yang disetujui */
  .gs-about-art {
    margin: 0;
    min-width: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .gs-about-art img {
    display: block;
    width: 114%;
    max-width: none;
    height: auto;
    margin-inline: -7%;
    object-fit: contain;
    filter: drop-shadow(0 14px 20px rgba(15, 55, 90, .025));
  }
  
  /* Tiga kartu keunggulan */
  .gs-about-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: clamp(22px, 3vw, 44px);
  }
  
  .gs-about-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    min-width: 0;
    min-height: 174px;
    padding: 30px 26px;
    background: rgba(255, 255, 255, .93);
    border: 1px solid #E6ECF4;
    border-radius: 18px;
    box-shadow: 0 14px 32px rgba(12, 50, 85, .035);
    transition: transform .23s ease, box-shadow .23s ease;
  }
  
  .gs-about-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 19px 38px rgba(12, 50, 85, .075);
  }
  
  .gs-about-feature-icon {
    display: grid;
    place-items: center;
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
  }
  
  .gs-about-feature-icon svg { width: 35px; height: 35px; }
  .gs-about-feature-icon-blue { color: #0C407C; background: #EAF1FF; }
  .gs-about-feature-icon-yellow { color: #B58400; background: #FFF5D7; }
  .gs-about-feature-icon-purple { color: #773CDC; background: #F0E8FF; }
  
  .gs-about-feature h3 {
    margin: 1px 0 10px;
    color: #0C407C;
    font-size: clamp(15px, 1.2vw, 19px);
    line-height: 1.3;
    letter-spacing: -.03em;
    font-weight: 800;
  }
  
  .gs-about-feature p {
    margin: 0;
    color: #61718A;
    font-size: clamp(12px, .9vw, 14px);
    line-height: 1.75;
  }
  
  /* Tablet / laptop kecil */
  @media (max-width: 1100px) {
    .gs-about-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
    .gs-about-art img { width: 120%; margin-inline: -10%; }
    .gs-about-feature { padding: 23px 19px; gap: 14px; }
    .gs-about-feature-icon { flex-basis: 56px; width: 56px; height: 56px; }
    .gs-about-feature-icon svg { width: 28px; height: 28px; }
  }
  
  /* Tablet potret dan HP */
  @media (max-width: 820px) {
    .gs-about-container { padding-top: 72px; padding-bottom: 78px; }
    .gs-about-main { grid-template-columns: 1fr; gap: 22px; }
    .gs-about-copy { max-width: 660px; }
    .gs-about-art img { width: 100%; margin: 0; }
    .gs-about-features { grid-template-columns: 1fr; gap: 14px; margin-top: 18px; }
    .gs-about-feature { min-height: auto; padding: 22px; }
    .gs-about-feature h3 { font-size: 17px; }
    .gs-about-feature p { font-size: 13px; }
  }
  
  @media (max-width: 480px) {
    .gs-about-container { padding: 60px 20px 65px; }
    .gs-about-label { font-size: 11px; margin-bottom: 14px; }
    .gs-about-copy h2 { font-size: 44px; }
    .gs-about-tagline { font-size: 26px !important; margin: 9px 0 19px !important; }
    .gs-about-copy > p:not(.gs-about-label):not(.gs-about-tagline) {
      font-size: 13px;
      line-height: 1.75;
    }
    .gs-about-feature { border-radius: 15px; padding: 19px 17px; gap: 13px; }
    .gs-about-feature-icon { flex-basis: 52px; width: 52px; height: 52px; }
    .gs-about-feature-icon svg { width: 26px; height: 26px; }
    .gs-about-feature h3 { font-size: 15px; margin-bottom: 6px; }
    .gs-about-feature p { font-size: 12px; }
  }
  
  @media (prefers-reduced-motion: reduce) {
    .gs-about-feature { transition: none; }
    .gs-about-feature:hover { transform: none; }
  }
  
  /* ==========================================================
   GITA SIKKA — FOOTER COMPACT v1
   Tempel pada PALING BAWAH beranda/beranda.css
   Khusus class .gs-footer, tidak mengubah section lain.
   ========================================================== */

.gs-footer {
  position: relative;
  z-index: 1;
  background: #111C26;
  color: #FFFFFF;
}

.gs-footer-inner {
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: 49px clamp(22px, 4.4vw, 70px) 21px;
}

.gs-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(130px, .7fr) minmax(230px, .95fr);
  gap: clamp(28px, 5vw, 88px);
  padding-bottom: 38px;
}

.gs-footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: #FFFFFF;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.055em;
  text-decoration: none;
}

.gs-footer-brand-link img {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 12px;
}

.gs-footer-tagline,
.gs-footer-agency,
.gs-footer-location {
  margin: 0;
  color: #B7C4D1;
  font-size: 12px;
  line-height: 1.65;
}

.gs-footer-tagline { margin-top: 13px; }
.gs-footer-agency { margin-top: 5px; }

.gs-footer-nav,
.gs-footer-connect {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.gs-footer-nav h2,
.gs-footer-connect h2 {
  margin: 5px 0 16px;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.gs-footer-nav a {
  margin-bottom: 10px;
  color: #B7C4D1;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s ease;
}

.gs-footer-nav a:hover,
.gs-footer-brand-link:hover { color: #FFBF00; }

.gs-footer-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.gs-footer-social-icon {
  display: inline-grid;
  place-items: center;
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  background: #263543;
  color: #E8EDF4;
  /* nonaktif sampai URL media sosial resmi tersedia */
  cursor: default;
}

.gs-footer-social-icon svg {
  display: block;
  width: 19px;
  height: 19px;
}

/* Untuk tautan <a> setelah akun resmi diisi */
a.gs-footer-social-icon {
  text-decoration: none;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

a.gs-footer-social-icon:hover {
  background: #FFBF00;
  color: #111C26;
  transform: translateY(-2px);
}

.gs-footer-location { margin-top: 15px; }

.gs-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 22px;
  padding-top: 17px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.gs-footer-bottom p {
  margin: 0;
  color: #94A5B6;
  font-size: 11px;
  line-height: 1.7;
}

.gs-footer-heart { color: #FFBF00; }

.gs-footer a:focus-visible {
  outline: 2px solid #FFBF00;
  outline-offset: 4px;
  border-radius: 3px;
}

/* Bagian navigasi punya target yang tidak tertutup sticky header */
#statistik-singkat,
#tentang { scroll-margin-top: calc(var(--header-height, 82px) + 18px); }

@media (max-width: 760px) {
  .gs-footer-inner { padding: 37px 20px 20px; }
  .gs-footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px 24px;
    padding-bottom: 28px;
  }
  .gs-footer-brand { grid-column: 1 / -1; }
  .gs-footer-brand-link { font-size: 22px; }
  .gs-footer-nav h2,
  .gs-footer-connect h2 { margin-top: 0; }
  .gs-footer-bottom { align-items: flex-start; }
}

@media (max-width: 390px) {
  .gs-footer-grid { grid-template-columns: 1fr; gap: 25px; }
  .gs-footer-brand { grid-column: auto; }
  .gs-footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .gs-footer-nav h2 { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .gs-footer-nav a,
  a.gs-footer-social-icon { transition: none; }
}
