:root {
  --blue-950: #00205c;
  --blue-900: #002b79;
  --blue-800: #003ea4;
  --blue-700: #0055d9;
  --blue-600: #0867e8;
  --orange: #ff8200;
  --ink: #05255f;
  --muted: #54709f;
  --line: #d6e2f5;
  --page: #f8fbff;
  --surface: #ffffff;
  --surface-soft: #eef5ff;
  --shadow: rgba(15, 58, 120, 0.1);
}

[data-theme="dark"] {
  --ink: #e8f1ff;
  --muted: #aabbd4;
  --line: #294264;
  --page: #071426;
  --surface: #0d1d33;
  --surface-soft: #142943;
  --shadow: rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transition: color 0.25s ease, background-color 0.25s ease;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #ffcc27;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 8px;
  left: 8px;
  padding: 10px 15px;
  border-radius: 6px;
  color: #fff;
  background: #001f5a;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

.wrap {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: -40px;
}

.topbar {
  height: 40px;
  color: #fff;
  background: linear-gradient(90deg, #00215e, #004ebf);
  font-size: 12px;
}

.topbar .wrap,
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.top-left,
.top-right,
.top-socials {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
}

.topbar a,
.topbar span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar a {
  transition: opacity 0.2s ease;
}

.topbar a:hover {
  color: #fff;
  opacity: 0.82;
}

.topbar i {
  color: #fff;
  font-size: 14px;
}

.mode-toggle {
  display: inline-flex;
  align-items: center;
  height: 25px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  background: #072556;
  gap: 6px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.site-nav {
  position: relative;
  height: 92px;
  color: #fff;
  background: linear-gradient(90deg, #0041b4, #0063de);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.16) inset, 0 8px 24px rgba(0, 32, 100, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 300px;
  color: #fff;
  gap: 14px;
}

.brand:hover {
  color: #fff;
}

.crest {
  width: 54px;
  height: 66px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

.brand-copy,
.brand-small,
.brand-title {
  display: block;
}

.brand-small {
  margin-bottom: 3px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}

.main-menu {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 24px;
  font-size: 13px;
  font-weight: 700;
}

.main-menu a {
  position: relative;
  padding: 36px 0 34px;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.2s ease;
}

.main-menu a:hover,
.main-menu a.active {
  color: #fff;
}

.main-menu a.active::after {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: #ffd12a;
  content: "";
}

.nav-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-left: 8px;
  gap: 12px;
}

.online-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 10px;
  color: #fff;
  background: var(--orange);
  box-shadow: 0 10px 20px rgba(255, 130, 0, 0.24);
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.online-top:hover {
  color: #fff;
  box-shadow: 0 14px 25px rgba(255, 130, 0, 0.3);
  transform: translateY(-2px);
}

.circle-btn {
  display: grid;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 48, 151, 0.7);
  place-items: center;
  font-size: 22px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  height: 430px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-position: center;
  background-size: cover;
  animation: slowZoom 30s ease-in-out infinite alternate;
}

.hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 21, 52, 0.92) 0%, rgba(0, 28, 68, 0.66) 34%, rgba(0, 40, 85, 0.04) 65%),
    linear-gradient(180deg, rgba(0, 67, 161, 0.14), rgba(0, 0, 0, 0.28));
  content: "";
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100%;
}

.hero-copy {
  width: min(540px, 100%);
  color: #fff;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  color: #fff;
  background: #0867e8;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.15);
  font-size: 15px;
  font-weight: 800;
}

.hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(2.7rem, 5vw, 3.55rem);
  font-weight: 800;
  line-height: 1.07;
}

.hero p {
  max-width: 520px;
  margin: 0 0 25px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.site-btn {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 8px;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
}

.hero-actions .btn-light {
  color: #0041b4;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.hero-actions .btn:hover {
  transform: translateY(-2px);
}

.hero-dots {
  position: absolute;
  z-index: 2;
  bottom: 21px;
  left: 50%;
  display: flex;
  gap: 12px;
  transform: translateX(-50%);
}

.hero-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
}

.hero-dots span:first-child {
  background: #1287e8;
  transform: scale(1.25);
}

@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

/* Main */
#main-content {
  background: linear-gradient(180deg, var(--surface) 0, var(--page) 100%);
}

.home-section {
  padding-top: 28px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 20px;
}

.section-title {
  position: relative;
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

.section-title::after {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: #ffbe00;
  content: "";
}

.view-all {
  flex: 0 0 auto;
  color: #0867e8;
  font-size: 13px;
  font-weight: 800;
}

.view-all:hover {
  color: #003a9a;
}

[data-theme="dark"] .view-all {
  color: #7fb8ff;
}

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  display: block;
  min-height: 180px;
  padding: 19px 15px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 7px 18px var(--shadow);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  border-color: #0867e8;
  color: var(--ink);
  box-shadow: 0 15px 30px var(--shadow);
  transform: translateY(-6px);
}

.service-icon {
  display: grid;
  width: 60px;
  height: 60px;
  margin: 0 auto 11px;
  border-radius: 50%;
  color: #fff;
  box-shadow: inset 0 -8px 18px rgba(0, 0, 0, 0.16);
  place-items: center;
  font-size: 29px;
}

.bg-service-blue { background: #075ee8; }
.bg-service-orange { background: #ff8200; }
.bg-service-green { background: #58b51c; }
.bg-service-purple { background: #6f35c7; }
.bg-service-teal { background: #1199a9; }
.bg-service-red { background: #df1e29; }

.service-card h3 {
  margin: 0 0 9px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.service-card p {
  max-width: 150px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

/* Statistics */
.stats {
  margin-top: 22px;
  padding: 19px 20px 18px;
  border-radius: 12px;
  color: #fff;
  background:
    radial-gradient(circle at 96% 72%, rgba(42, 182, 255, 0.2) 0 1px, transparent 1px) 0 0 / 10px 10px,
    linear-gradient(135deg, #004aaf, #002a75 70%);
  box-shadow: 0 12px 26px rgba(0, 55, 130, 0.18);
}

.stats-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 15px;
}

.stats h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
}

.stats-date {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 13px;
}

.stat {
  min-height: 120px;
  padding: 15px 8px 12px;
  border: 1px solid rgba(160, 204, 255, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  text-align: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.stat:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.stat i {
  display: block;
  margin-bottom: 8px;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.2));
  font-size: 40px;
  line-height: 1;
}

.stat strong {
  display: block;
  font-size: 27px;
  font-weight: 800;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
}

.stat-cyan { color: #5be2ff; }
.stat-orange { color: #ff9d13; }
.stat-green { color: #91e934; }
.stat-purple { color: #bd6dff; }
.stat-red { color: #ff5c5c; }

/* Information panels */
.content-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 0.98fr;
  align-items: stretch;
  margin-top: 18px;
  gap: 14px;
}

.panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 350px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 10px 22px var(--shadow);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}

.panel-title {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.news-item {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  padding: 9px 0;
  gap: 14px;
}

.news-item + .news-item,
.announcement + .announcement {
  border-top: 1px solid var(--line);
}

.news-item img {
  width: 128px;
  height: 76px;
  border-radius: 7px;
  background: var(--surface-soft);
  object-fit: cover;
}

.news-item h3,
.announcement h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.news-item a:hover h3,
.announcement a:hover h3 {
  color: #0867e8;
}

.meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  gap: 7px;
  font-size: 11px;
}

.tag {
  padding: 3px 8px;
  border-radius: 999px;
  color: #0062dc;
  background: #e4efff;
  font-size: 10px;
  font-weight: 800;
}

[data-theme="dark"] .tag {
  color: #9bc7ff;
  background: #18375c;
}

.announcement {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  padding: 12px 0;
  gap: 14px;
}

.announcement > i {
  color: #ff8200;
  font-size: 27px;
  line-height: 1;
}

.empty-state {
  margin: auto 0;
  padding: 22px 0;
  color: var(--muted);
  text-align: center;
}

.panel-button {
  align-self: center;
  margin-top: auto;
  padding-inline: 16px;
}

/* SIPANTAU */
.sipantau {
  position: relative;
  overflow: hidden;
  border-color: #233554;
  color: #fff;
  background:
    radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.15), transparent 50%),
    linear-gradient(135deg, #0a192f, #112240);
}

.sipantau::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  content: "";
  pointer-events: none;
}

.sipantau > * {
  position: relative;
  z-index: 1;
}

.sipantau .panel-title {
  color: #fff;
}

.sipantau > p {
  margin: 0 0 8px;
  color: #a9b7ca;
  font-size: 12px;
  line-height: 1.55;
}

.sip-logo {
  display: flex;
  align-items: center;
  margin: 12px 0 16px;
  gap: 13px;
}

.sip-logo h3 {
  margin: 0;
  color: #fff;
  font-size: 36px;
  font-weight: 800;
  line-height: 0.95;
}

.sip-subtitle {
  margin-top: 5px;
  color: #60a5fa;
  font-size: 10px;
  font-weight: 800;
}

.radar {
  position: relative;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: conic-gradient(#3b82f6 0 25%, #f59e0b 0 50%, #3b82f6 0 75%, #f59e0b 0);
  animation: spinRadar 10s linear infinite;
}

.radar::before,
.radar::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.radar::before {
  inset: 10px;
  background: #0f172a;
}

.radar::after {
  z-index: 1;
  inset: 21px;
  background: #3b82f6;
}

@keyframes spinRadar {
  to { transform: rotate(360deg); }
}

.feature {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  margin: 8px 0;
  gap: 11px;
}

.feature-icon {
  display: grid;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  color: #60a5fa;
  background: rgba(255, 255, 255, 0.05);
  place-items: center;
  font-size: 17px;
}

.feature strong,
.feature span {
  display: block;
}

.feature strong {
  margin-bottom: 2px;
  color: #e2e8f0;
  font-size: 12px;
}

.feature div > span {
  color: #94a3b8;
  font-size: 10px;
}

.sip-button {
  width: 100%;
  min-height: 42px;
  margin-top: auto;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
}

/* Gallery */
.gallery-section {
  padding-bottom: 30px;
}

.gallery-slider {
  position: relative;
  padding-inline: 20px;
}

.gallery-strip {
  display: flex;
  overflow-x: auto;
  padding: 6px 2px 12px;
  gap: 16px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery-strip::-webkit-scrollbar {
  display: none;
}

.gallery-strip a {
  flex: 0 0 calc((100% - 48px) / 4);
  min-width: 150px;
  border-radius: 7px;
  scroll-snap-align: start;
}

.gallery-strip img {
  width: 100%;
  height: 96px;
  border-radius: 7px;
  box-shadow: 0 6px 14px var(--shadow);
  object-fit: cover;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-strip a:hover img {
  box-shadow: 0 12px 24px var(--shadow);
  transform: translateY(-3px);
}

.gallery-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #0058d8;
  background: var(--surface-soft);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  place-items: center;
  transform: translateY(-50%);
  cursor: pointer;
}

.gallery-arrow:hover:not(:disabled) {
  color: #fff;
  background: #0058d8;
}

.gallery-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.gallery-prev { left: 0; }
.gallery-next { right: 0; }

/* Footer */
.footer {
  color: #fff;
  background: linear-gradient(120deg, #003186, #0058d8 54%, #003280);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.08fr 0.9fr 1.25fr;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  gap: 48px;
}

.map-card {
  min-height: 145px;
  padding: 14px;
  border-radius: 8px;
  color: #053070;
  background:
    linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.88)),
    url("https://tile.openstreetmap.org/13/6618/4250.png") center / cover;
}

.map-card h2,
.footer-block h2 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 800;
}

.pin {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  color: #d51e25;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
}

.pin i {
  font-size: 26px;
}

.map-card .btn {
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
}

.footer-block h2 {
  display: flex;
  align-items: center;
  margin-top: 7px;
  gap: 9px;
}

.hours,
.contacts {
  display: grid;
  gap: 10px;
  font-size: 12px;
}

.hours div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
}

.hours p {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
}

.contacts > a {
  display: flex;
  align-items: flex-start;
  overflow-wrap: anywhere;
  gap: 10px;
}

.contacts > a:hover,
.footer-socials a:hover {
  color: #fff;
  opacity: 0.82;
}

.footer-socials {
  display: flex;
  justify-content: flex-start;
  margin-top: 3px;
  gap: 14px;
  font-size: 21px;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1.1fr;
  align-items: center;
  padding: 20px 0;
  gap: 34px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 45px;
  height: 54px;
  object-fit: contain;
}

.footer-brand small,
.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand small { font-size: 9px; font-weight: 800; }
.footer-brand strong { font-size: 15px; line-height: 1.2; }
.footer-brand span { margin-top: 4px; font-size: 11px; }

.quick-links {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 8px 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
}

.quick-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.copyright {
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  line-height: 1.7;
  text-align: right;
}

/* Responsive */
@media (max-width: 1180px) {
  .main-menu { gap: 18px; }
  .online-top { padding-inline: 13px; }
}

@media (max-width: 1100px) {
  .wrap {
    width: min(960px, calc(100% - 34px));
  }

  .top-left span:first-child,
  .top-left a:last-child {
    display: none;
  }

  .main-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    max-height: calc(100vh - 92px);
    overflow-y: auto;
    margin: 0;
    padding: 12px 17px 18px;
    color: #fff;
    background: #0057c9;
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.25);
    gap: 0;
  }

  .main-menu.active {
    display: flex;
  }

  .main-menu a {
    width: 100%;
    padding: 13px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .main-menu a.active::after {
    top: 10px;
    right: auto;
    bottom: 10px;
    left: 0;
    width: 3px;
    height: auto;
  }

  .mobile-menu {
    display: grid;
  }

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

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

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

  .gallery-strip a {
    flex-basis: calc((100% - 32px) / 3);
  }

  .sipantau {
    grid-column: 1 / -1;
  }

  .footer-top,
  .footer-bottom {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .map-card {
    grid-column: 1 / -1;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 78px;
  }

  .site-header {
    top: 0;
  }

  .topbar {
    display: none;
  }

  .site-nav {
    height: 76px;
  }

  .brand {
    min-width: 0;
    gap: 10px;
  }

  .crest {
    width: 40px;
    height: 50px;
  }

  .brand-small {
    font-size: 8px;
  }

  .brand-title {
    font-size: 16px;
  }

  .online-top {
    display: none;
  }

  .main-menu {
    max-height: calc(100vh - 76px);
  }

  .hero {
    height: 510px;
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(0, 21, 52, 0.9), rgba(0, 28, 68, 0.58));
  }

  .hero p {
    font-size: 15px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .site-btn {
    width: 100%;
  }

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

  .stats-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .sipantau {
    grid-column: auto;
  }

  .gallery-strip a {
    flex-basis: calc((100% - 16px) / 2);
    min-width: 140px;
  }

  .footer-top,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .map-card,
  .footer-brand {
    grid-column: auto;
  }

  .copyright {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .wrap {
    width: min(100% - 28px, 440px);
  }

  .brand-small {
    display: none;
  }

  .brand-title {
    font-size: 14px;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .section-head {
    align-items: flex-start;
  }

  .view-all {
    max-width: 125px;
    text-align: right;
  }

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

  .service-card {
    min-height: 0;
  }

  .stats {
    padding-inline: 14px;
  }

  .stat strong {
    font-size: 23px;
  }

  .news-item {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .news-item img {
    width: 96px;
    height: 72px;
  }

  .panel {
    padding-inline: 15px;
  }

  .gallery-slider {
    padding-inline: 12px;
  }

  .gallery-arrow {
    width: 30px;
    height: 30px;
  }

  .quick-links {
    grid-template-columns: repeat(2, max-content);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================
   PERBAIKAN TOMBOL HERO
   Letakkan di paling bawah style.css
========================================= */

.hero-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hero-actions .site-btn,
.hero-actions .btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  flex: 0 0 230px !important;
  width: 230px !important;
  min-width: 230px !important;
  max-width: 230px !important;

  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;

  margin: 0 !important;
  padding: 0 18px !important;

  border-radius: 9px !important;
  gap: 8px !important;

  font-family: "Inter", sans-serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-align: center !important;
  white-space: nowrap !important;
  vertical-align: middle !important;

  text-decoration: none !important;
  box-sizing: border-box !important;
  overflow: hidden !important;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease !important;
}

/* Tombol Pelayanan Online */
.hero-actions .btn-primary {
  color: #ffffff !important;
  background: #1473f5 !important;
  border: 1px solid #1473f5 !important;
  box-shadow: 0 10px 24px rgba(0, 82, 204, 0.25) !important;
}

/* Tombol Pengaduan Masyarakat */
.hero-actions .btn-light {
  color: #0041b4 !important;
  background: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18) !important;
}

/* Ikon tombol */
.hero-actions .site-btn i,
.hero-actions .btn i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  flex: 0 0 auto !important;
  width: auto !important;
  height: auto !important;

  margin: 0 !important;
  padding: 0 !important;

  font-size: 18px !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}

/* Efek hover */
.hero-actions .btn:hover {
  transform: translateY(-3px) !important;
}

.hero-actions .btn-primary:hover {
  color: #ffffff !important;
  background: #075ee8 !important;
  border-color: #075ee8 !important;
  box-shadow: 0 14px 28px rgba(0, 82, 204, 0.32) !important;
}

.hero-actions .btn-light:hover {
  color: #00358f !important;
  background: #f8faff !important;
  border-color: #ffffff !important;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24) !important;
}

/* Tampilan tablet */
@media (max-width: 900px) {
  .hero-actions .site-btn,
  .hero-actions .btn {
    flex-basis: 220px !important;
    width: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
  }
}

/* Tampilan HP */
@media (max-width: 760px) {
  .hero-actions {
    align-items: stretch !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
  }

  .hero-actions .site-btn,
  .hero-actions .btn {
    flex: 0 0 52px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;

    padding: 0 16px !important;
    font-size: 14px !important;
  }
}

/* =========================================
   PERBAIKAN TOMBOL SIPANTAU
========================================= */

.sipantau .sip-button,
.sipantau .btn-primary.sip-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;

  margin-top: auto !important;
  padding: 0 18px !important;

  border: 0 !important;
  border-radius: 8px !important;

  color: #ffffff !important;
  background: linear-gradient(90deg, #2563eb, #3b82f6) !important;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35) !important;

  gap: 9px !important;

  font-family: "Inter", sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-align: center !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
  text-decoration: none !important;

  box-sizing: border-box !important;
  overflow: hidden !important;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease !important;
}

/* Ikon panah */
.sipantau .sip-button i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  flex: 0 0 auto !important;
  width: auto !important;
  height: auto !important;

  margin: 0 !important;
  padding: 0 !important;

  font-size: 17px !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}

/* Efek hover */
.sipantau .sip-button:hover {
  color: #ffffff !important;
  background: linear-gradient(90deg, #1d4ed8, #2563eb) !important;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.5) !important;
  transform: translateY(-2px) !important;
}

/* Efek ketika ditekan */
.sipantau .sip-button:active {
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35) !important;
  transform: translateY(0) !important;
}

/* Tampilan HP */
@media (max-width: 480px) {
  .sipantau .sip-button,
  .sipantau .btn-primary.sip-button {
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;

    padding: 0 14px !important;
    font-size: 12px !important;
    white-space: normal !important;
  }
}

/* =========================================
   HALAMAN DAFTAR PENGUMUMAN
========================================= */

.announcement-page {
  min-height: 70vh;
  color: var(--ink);
  background: var(--page);
}

/* Hero */
.announcement-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(68, 158, 255, 0.35),
      transparent 32%
    ),
    linear-gradient(120deg, #00245f, #0057d8);
}

.announcement-hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px
    );
  background-size: 32px 32px;
  pointer-events: none;
}

.announcement-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 28px;
  padding-bottom: 42px;
}

.announcement-breadcrumb {
  display: flex;
  align-items: center;
  margin-bottom: 28px;
  gap: 9px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-weight: 600;
}

.announcement-breadcrumb a {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.86);
  gap: 7px;
}

.announcement-breadcrumb a:hover {
  color: #ffffff;
}

.announcement-breadcrumb > i {
  font-size: 9px;
}

.announcement-hero-title {
  display: flex;
  align-items: center;
  gap: 20px;
}

.announcement-hero-icon {
  display: grid;
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 18px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
  place-items: center;
  font-size: 34px;
  backdrop-filter: blur(8px);
}

.announcement-label {
  display: block;
  margin-bottom: 5px;
  color: #85c5ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.announcement-hero-title h1 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
}

.announcement-hero-title p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.6;
}

/* Content */
.announcement-content {
  padding-top: 32px;
  padding-bottom: 55px;
}

.announcement-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  gap: 25px;
}

.announcement-heading {
  display: flex;
  align-items: center;
  gap: 13px;
}

.announcement-heading-icon {
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff9b1a, #ff7100);
  box-shadow: 0 9px 20px rgba(255, 113, 0, 0.24);
  place-items: center;
  font-size: 20px;
}

.announcement-heading h2 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
}

.announcement-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

/* Search */
.announcement-search {
  position: relative;
  display: flex;
  align-items: center;
  width: min(100%, 420px);
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 5px 15px var(--shadow);
}

.announcement-search > i {
  position: absolute;
  left: 15px;
  color: var(--muted);
  font-size: 15px;
  pointer-events: none;
}

.announcement-search input {
  width: 100%;
  height: 100%;
  padding: 0 112px 0 42px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-family: inherit;
  font-size: 13px;
}

.announcement-search input::placeholder {
  color: var(--muted);
}

.announcement-search-reset {
  position: absolute;
  right: 82px;
  display: grid;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--muted);
  place-items: center;
  font-size: 11px;
}

.announcement-search-reset:hover {
  color: #ffffff;
  background: #df3040;
}

.announcement-search button {
  position: absolute;
  right: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  color: #ffffff;
  background: #0867e8;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.announcement-search button:hover {
  background: #0054c9;
}

/* Grid */
.announcement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.announcement-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 10px 25px var(--shadow);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.announcement-card:hover {
  border-color: #80b5ff;
  box-shadow: 0 17px 38px var(--shadow);
  transform: translateY(-6px);
}

.announcement-image {
  position: relative;
  display: block;
  height: 185px;
  overflow: hidden;
  background: var(--surface-soft);
}

.announcement-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.announcement-card:hover .announcement-image img {
  transform: scale(1.06);
}

.announcement-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 75% 25%,
      rgba(70, 180, 255, 0.35),
      transparent 35%
    ),
    linear-gradient(135deg, #003a92, #0874e9);
  gap: 8px;
}

.announcement-image-placeholder i {
  font-size: 42px;
}

.announcement-image-placeholder span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.announcement-card-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 120, 0, 0.95);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  backdrop-filter: blur(6px);
}

.announcement-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.announcement-date {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: var(--muted);
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
}

.announcement-date i {
  color: #ff8200;
}

.announcement-card-body h2 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
}

.announcement-card-body h2 a {
  color: var(--ink);
}

.announcement-card-body h2 a:hover {
  color: #0867e8;
}

.announcement-card-body p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.announcement-read-more {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  color: #0867e8;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
}

.announcement-read-more i {
  transition: transform 0.2s ease;
}

.announcement-read-more:hover {
  color: #004aad;
}

.announcement-read-more:hover i {
  transform: translateX(4px);
}

/* Empty state */
.announcement-empty {
  padding: 65px 25px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: var(--surface);
  text-align: center;
}

.announcement-empty-icon {
  display: grid;
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: #0867e8;
  background: var(--surface-soft);
  place-items: center;
  font-size: 34px;
}

.announcement-empty h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
}

.announcement-empty p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
}

/* Pagination */
.announcement-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 34px;
  gap: 8px;
}

.pagination-number,
.pagination-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  background: var(--surface);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.pagination-number:hover,
.pagination-arrow:hover {
  border-color: #0867e8;
  color: #0867e8;
  transform: translateY(-2px);
}

.pagination-number.active {
  border-color: #0867e8;
  color: #ffffff;
  background: #0867e8;
  box-shadow: 0 7px 15px rgba(8, 103, 232, 0.25);
}

.pagination-arrow.disabled {
  color: var(--muted);
  background: var(--surface-soft);
  opacity: 0.45;
  cursor: not-allowed;
}

/* Dark mode */
[data-theme="dark"] .announcement-search input {
  color-scheme: dark;
}

[data-theme="dark"] .announcement-card:hover {
  border-color: #3974bd;
}

/* Tablet */
@media (max-width: 960px) {
  .announcement-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .announcement-search {
    width: 100%;
  }

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

/* Mobile */
@media (max-width: 640px) {
  .announcement-hero-content {
    padding-top: 20px;
    padding-bottom: 32px;
  }

  .announcement-breadcrumb {
    margin-bottom: 20px;
  }

  .announcement-hero-title {
    align-items: flex-start;
    gap: 13px;
  }

  .announcement-hero-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    font-size: 25px;
  }

  .announcement-label {
    font-size: 10px;
  }

  .announcement-hero-title h1 {
    font-size: 28px;
  }

  .announcement-hero-title p {
    font-size: 12px;
  }

  .announcement-content {
    padding-top: 24px;
    padding-bottom: 40px;
  }

  .announcement-heading {
    align-items: flex-start;
  }

  .announcement-heading h2 {
    font-size: 19px;
  }

  .announcement-search {
    height: 48px;
  }

  .announcement-search input {
    padding-right: 105px;
  }

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

  .announcement-image {
    height: 195px;
  }

  .announcement-pagination {
    flex-wrap: wrap;
  }
}

/* =========================================
   DETAIL PENGUMUMAN
========================================= */

.announcement-detail-page {
  min-height: 70vh;
  color: var(--ink);
  background: var(--page);
}

/* Header */
.announcement-detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(79, 173, 255, 0.38),
      transparent 34%
    ),
    linear-gradient(120deg, #00245f, #0057d8);
}

.announcement-detail-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.1) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.1) 1px,
      transparent 1px
    );
  background-size: 32px 32px;
  pointer-events: none;
}

.announcement-detail-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 26px;
  padding-bottom: 48px;
}

.detail-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.7);
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
}

.detail-breadcrumb a {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.85);
  gap: 6px;
}

.detail-breadcrumb a:hover {
  color: #ffffff;
}

.detail-breadcrumb > i {
  font-size: 9px;
}

.announcement-detail-heading {
  max-width: 850px;
}

.announcement-detail-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 14px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  backdrop-filter: blur(6px);
}

.announcement-detail-heading h1 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.25;
}

.announcement-detail-date {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

/* Card */
.announcement-detail-container {
  padding-top: 35px;
  padding-bottom: 55px;
}

.announcement-detail-card {
  overflow: hidden;
  max-width: 920px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 15px 40px var(--shadow);
}

.announcement-detail-image {
  width: 100%;
  max-height: 470px;
  margin: 0;
  overflow: hidden;
  background: var(--surface-soft);
}

.announcement-detail-image img {
  width: 100%;
  max-height: 470px;
  object-fit: cover;
}

.announcement-detail-content {
  padding: 30px 34px;
}

.announcement-detail-top {
  display: flex;
  align-items: center;
  gap: 13px;
}

.announcement-detail-icon {
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff9b1a, #ff7100);
  box-shadow: 0 8px 18px rgba(255, 113, 0, 0.25);
  place-items: center;
  font-size: 19px;
}

.announcement-detail-top span,
.announcement-detail-top strong {
  display: block;
}

.announcement-detail-top span {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 11px;
}

.announcement-detail-top strong {
  color: var(--ink);
  font-size: 14px;
}

.announcement-detail-divider {
  width: 100%;
  height: 1px;
  margin: 25px 0;
  background: var(--line);
}

/* Isi */
.announcement-detail-text {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.9;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.announcement-detail-text p {
  margin: 0 0 18px;
}

.announcement-detail-text a {
  color: #0867e8;
  text-decoration: underline;
}

/* Footer tombol */
.announcement-detail-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.announcement-back-button,
.announcement-copy-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 17px !important;
  border-radius: 8px !important;
  gap: 8px !important;
  font-family: "Inter", sans-serif !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  cursor: pointer;
}

.announcement-back-button {
  border: 1px solid #0867e8;
  color: #ffffff;
  background: #0867e8;
  box-shadow: 0 7px 15px rgba(8, 103, 232, 0.22);
}

.announcement-back-button:hover {
  border-color: #0055c7;
  color: #ffffff;
  background: #0055c7;
  transform: translateY(-2px);
}

.announcement-copy-button {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--surface-soft);
}

.announcement-copy-button:hover {
  border-color: #0867e8;
  color: #0867e8;
}

.announcement-copy-message {
  min-height: 18px;
  margin-top: 12px;
  color: #168144;
  font-size: 11px;
  font-weight: 700;
  text-align: right;
}

/* Mobile */
@media (max-width: 640px) {
  .announcement-detail-hero-content {
    padding-top: 20px;
    padding-bottom: 34px;
  }

  .detail-breadcrumb {
    margin-bottom: 20px;
  }

  .announcement-detail-heading h1 {
    font-size: 27px;
  }

  .announcement-detail-container {
    padding-top: 22px;
    padding-bottom: 40px;
  }

  .announcement-detail-content {
    padding: 22px 18px;
  }

  .announcement-detail-text {
    font-size: 13px;
    line-height: 1.8;
  }

  .announcement-detail-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .announcement-back-button,
  .announcement-copy-button {
    width: 100% !important;
  }

  .announcement-copy-message {
    text-align: center;
  }
}

/* =========================================
   JARAK KONTEN BERANDA DENGAN FOOTER
========================================= */

#main-content > .content-grid {
  padding-bottom: 38px !important;
}

/* Tablet */
@media (max-width: 960px) {
  #main-content > .content-grid {
    padding-bottom: 32px !important;
  }
}

/* HP */
@media (max-width: 640px) {
  #main-content > .content-grid {
    padding-bottom: 26px !important;
  }
}

/* =========================================================
   HALAMAN PROFIL - SESUAI DESAIN BERANDA
========================================================= */

.profil-page {
  --profil-blue: #075ee8;
  --profil-blue-hover: #0053cf;
  --profil-blue-dark: #082d78;
  --profil-blue-deep: #003186;
  --profil-orange: #ff7600;
  --profil-yellow: #ffc107;
  --profil-light: #f4f8ff;
  --profil-border: #cfddf5;
  --profil-muted: #52709f;

  overflow: hidden;
  background: #ffffff;
  color: var(--profil-blue-dark);
}

.profil-page *,
.profil-page *::before,
.profil-page *::after {
  box-sizing: border-box;
}

/* HERO */

.profil-hero {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(0, 34, 92, 0.94) 0%,
      rgba(0, 65, 160, 0.83) 55%,
      rgba(0, 94, 232, 0.68) 100%
    ),
    url('/images/kantor-camat.jpg') center/cover no-repeat;
}

.profil-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(255, 255, 255, 0.16),
      transparent 25%
    );
}

.profil-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 310px;
  align-items: center;
  padding-top: 45px;
  padding-bottom: 45px;
}

.profil-hero-content {
  max-width: 710px;
}

.profil-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 15px;
  padding: 7px 13px;
  border-radius: 5px;
  background: var(--profil-blue);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 7px 18px rgba(0, 61, 180, 0.28);
}

.profil-hero h1 {
  max-width: 750px;
  margin: 0 0 13px;
  color: #ffffff;
  font-size: clamp(34px, 5vw, 51px);
  font-weight: 800;
  line-height: 1.09;
  letter-spacing: -1px;
  text-shadow: 0 3px 9px rgba(0, 20, 65, 0.38);
}

.profil-hero-content > p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
}

.profil-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 21px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.profil-breadcrumb a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.profil-breadcrumb a:hover {
  text-decoration: underline;
}

/* SECTION */

.profil-section {
  padding: 52px 0;
}

.profil-section-light {
  background: var(--profil-light);
}

.profil-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 25px;
}

.profil-section-head h2 {
  margin: 0;
  color: var(--profil-blue-dark);
  font-size: clamp(23px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.25;
}

.profil-section-head > p {
  max-width: 500px;
  margin: 0;
  color: var(--profil-muted);
  font-size: 14px;
  line-height: 1.65;
  text-align: right;
}

.profil-title-line {
  display: block;
  width: 35px;
  height: 3px;
  margin-top: 8px;
  border-radius: 99px;
  background: var(--profil-yellow);
}

.profil-section-head-small {
  margin-bottom: 20px;
}

/* CARD UMUM */

.profil-card {
  border: 1px solid var(--profil-border);
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 7px 20px rgba(13, 67, 145, 0.08);
}

.profil-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, 0.65fr);
  gap: 20px;
}

.profil-about-card {
  padding: 28px;
}

.profil-about-card h3 {
  margin: 0 0 16px;
  color: var(--profil-blue-dark);
  font-size: 20px;
  font-weight: 800;
}

.profil-about-card p {
  margin: 0 0 14px;
  color: #506a94;
  font-size: 14px;
  line-height: 1.8;
  text-align: justify;
}

.profil-about-card p:last-child {
  margin-bottom: 0;
}

/* LOKASI */

.profil-location-card {
  padding: 27px;
  border-top: 4px solid var(--profil-blue);
}

.profil-location-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #e8f1ff;
  color: var(--profil-blue);
  font-size: 23px;
}

.profil-location-card h3 {
  margin: 0 0 20px;
  color: var(--profil-blue-dark);
  font-size: 20px;
  font-weight: 800;
}

.profil-info-list {
  display: grid;
  gap: 0;
}

.profil-info-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid #e5edf9;
}

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

.profil-info-item span {
  color: var(--profil-muted);
  font-size: 13px;
}

.profil-info-item strong {
  color: var(--profil-blue-dark);
  font-size: 13px;
  text-align: right;
}

/* STATISTIK */

.profil-statistik-section {
  position: relative;
  z-index: 5;
  margin-top: -22px;
  padding-bottom: 25px;
}

.profil-statistik-panel {
  overflow: hidden;
  padding: 23px;
  border-radius: 10px;
  background:
    radial-gradient(
      circle,
      rgba(255, 255, 255, 0.11) 1px,
      transparent 1.5px
    ),
    linear-gradient(135deg, #003a9b, #075ee8);
  background-size: 8px 8px, auto;
  box-shadow: 0 12px 27px rgba(0, 67, 178, 0.21);
}

.profil-statistik-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 17px;
}

.profil-statistik-header h2 {
  margin: 0;
  color: #ffffff;
  font-size: 19px;
  font-weight: 800;
}

.profil-statistik-header span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.profil-statistik-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.profil-statistik-item {
  min-height: 125px;
  padding: 17px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.07);
  text-align: center;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.profil-statistik-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
}

.profil-statistik-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #ffffff;
  font-size: 22px;
}

.profil-statistik-item strong {
  display: block;
  margin-bottom: 3px;
  color: #ffffff;
  font-size: 21px;
  font-weight: 800;
}

.profil-statistik-item span {
  color: rgba(255, 255, 255, 0.89);
  font-size: 12px;
  font-weight: 600;
}

/* WARNA IKON */

.icon-biru {
  color: #075ee8;
}

.icon-oranye {
  color: #ff7600;
}

.icon-hijau {
  color: #38a827;
}

.icon-ungu {
  color: #7134c9;
}

.icon-merah {
  color: #e3212d;
}

.icon-cyan {
  color: #1597a8;
}

/* KELURAHAN */

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

.profil-kelurahan-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--profil-border);
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(13, 67, 145, 0.07);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.profil-kelurahan-card:hover {
  transform: translateY(-5px);
  border-color: #94baf8;
  box-shadow: 0 12px 24px rgba(13, 67, 145, 0.13);
}

.profil-kelurahan-number {
  position: absolute;
  top: 13px;
  right: 15px;
  color: #dce7f8;
  font-size: 25px;
  font-weight: 900;
}

.profil-kelurahan-icon {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  margin-bottom: 17px;
  border-radius: 50%;
  background: #edf4ff;
  font-size: 20px;
}

.profil-kelurahan-card h3 {
  margin: 0 0 7px;
  color: var(--profil-blue-dark);
  font-size: 17px;
  font-weight: 800;
}

.profil-kelurahan-card p {
  margin: 0;
  color: var(--profil-muted);
  font-size: 13px;
}

/* DUA KOLOM */

.profil-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.profil-two-column > .profil-card {
  padding: 26px;
}

/* BATAS WILAYAH */

.profil-boundary-list {
  display: grid;
  gap: 11px;
}

.profil-boundary-item {
  display: grid;
  grid-template-columns: 77px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #dbe6f7;
  border-radius: 7px;
  background: #f7faff;
}

.profil-direction {
  display: flex;
  min-height: 31px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: var(--profil-blue);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.profil-boundary-item p {
  margin: 0;
  color: #506a94;
  font-size: 13px;
  line-height: 1.5;
}

/* TABEL */

.profil-table-card {
  margin-top: 20px;
  overflow: hidden;
}

.profil-table-wrapper {
  overflow-x: auto;
}

.profil-table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
}

.profil-table th,
.profil-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #e1eaf7;
  text-align: left;
}

.profil-table th {
  background: var(--profil-blue);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.profil-table td {
  color: #506a94;
  font-size: 13px;
}

.profil-table tbody tr:hover {
  background: #f5f9ff;
}

.profil-table th:last-child,
.profil-table td:last-child {
  text-align: right;
}

.profil-table tfoot td {
  border-bottom: 0;
  background: #eaf2ff;
  color: var(--profil-blue-dark);
  font-weight: 800;
}

.profil-table-population {
  min-width: 680px;
}

.profil-table-population th:not(:first-child),
.profil-table-population td:not(:first-child) {
  text-align: center;
}

/* PENDUDUK */

.profil-population-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.profil-population-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 115px;
  padding: 21px;
  border: 1px solid var(--profil-border);
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(13, 67, 145, 0.07);
}

.profil-population-main {
  border-color: transparent;
  background: linear-gradient(135deg, #0044b4, #075ee8);
}

.profil-population-icon {
  display: grid;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
  background: #edf4ff;
  font-size: 22px;
}

.profil-population-main .profil-population-icon {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.profil-population-card span {
  display: block;
  margin-bottom: 3px;
  color: var(--profil-muted);
  font-size: 12px;
}

.profil-population-card strong {
  color: var(--profil-blue-dark);
  font-size: 25px;
  font-weight: 800;
}

.profil-population-card small {
  margin-left: 4px;
  color: #7388ab;
}

.profil-population-main span,
.profil-population-main strong,
.profil-population-main small {
  color: #ffffff;
}

/* FUNGSI */

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

.profil-function-card {
  padding: 22px;
  border: 1px solid var(--profil-border);
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(13, 67, 145, 0.07);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.profil-function-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(13, 67, 145, 0.13);
}

.profil-function-icon {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  margin-bottom: 15px;
  border-radius: 50%;
  background: #edf4ff;
  font-size: 20px;
}

.profil-function-card h3 {
  margin: 0 0 8px;
  color: var(--profil-blue-dark);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
}

.profil-function-card p {
  margin: 0;
  color: var(--profil-muted);
  font-size: 13px;
  line-height: 1.65;
}

/* CTA */

.profil-cta-section {
  padding: 0 0 55px;
}

.profil-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 31px;
  border-radius: 10px;
  background:
    radial-gradient(
      circle at 88% 20%,
      rgba(255, 255, 255, 0.17),
      transparent 27%
    ),
    linear-gradient(135deg, #003186, #075ee8);
  box-shadow: 0 12px 28px rgba(0, 65, 177, 0.2);
}

.profil-cta > div:first-child {
  max-width: 650px;
}

.profil-cta > div:first-child > span {
  display: block;
  margin-bottom: 7px;
  color: #ffd042;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.profil-cta h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 26px;
  font-weight: 800;
}

.profil-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  line-height: 1.65;
}

.profil-cta-buttons {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.profil-btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

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

.profil-btn-orange {
  background: var(--profil-orange);
  color: #ffffff;
  box-shadow: 0 7px 18px rgba(255, 118, 0, 0.26);
}

.profil-btn-orange:hover {
  background: #e96900;
  color: #ffffff;
}

.profil-btn-white {
  border-color: rgba(255, 255, 255, 0.55);
  background: #ffffff;
  color: var(--profil-blue);
}

.profil-btn-white:hover {
  background: #eef4ff;
  color: var(--profil-blue);
}

/* RESPONSIVE */

@media (max-width: 1000px) {
  .profil-statistik-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .profil-about-grid,
  .profil-two-column {
    grid-template-columns: 1fr;
  }

  .profil-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 800px) {
  .profil-hero,
  .profil-hero-inner {
    min-height: 280px;
  }

  .profil-section {
    padding: 42px 0;
  }

  .profil-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .profil-section-head > p {
    text-align: left;
  }

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

  .profil-population-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .profil-hero,
  .profil-hero-inner {
    min-height: 250px;
  }

  .profil-hero-inner {
    padding-top: 37px;
    padding-bottom: 37px;
  }

  .profil-hero h1 {
    font-size: 34px;
  }

  .profil-hero-content > p {
    font-size: 14px;
  }

  .profil-statistik-section {
    margin-top: -14px;
  }

  .profil-statistik-panel {
    padding: 18px;
  }

  .profil-statistik-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

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

  .profil-statistik-item:last-child {
    grid-column: 1 / -1;
  }

  .profil-about-card,
  .profil-location-card,
  .profil-two-column > .profil-card {
    padding: 21px;
  }

  .profil-about-card p {
    text-align: left;
  }

  .profil-kelurahan-grid,
  .profil-function-grid {
    grid-template-columns: 1fr;
  }

  .profil-cta {
    padding: 24px 20px;
  }

  .profil-cta-buttons {
    width: 100%;
    flex-direction: column;
  }

  .profil-btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .profil-statistik-grid {
    grid-template-columns: 1fr;
  }

  .profil-statistik-item:last-child {
    grid-column: auto;
  }

  .profil-boundary-item {
    grid-template-columns: 67px minmax(0, 1fr);
  }
}

/* =========================================================
   HALAMAN PELAYANAN
========================================================= */

.pelayanan-page {
  --service-blue: #075ee8;
  --service-blue-dark: #082d78;
  --service-orange: #ff7600;
  --service-green: #38a827;
  --service-yellow: #ffc107;
  --service-light: #f4f8ff;
  --service-border: #cfddf5;
  --service-muted: #52709f;

  overflow: hidden;
  background: #f7faff;
  color: var(--service-blue-dark);
}

.pelayanan-page *,
.pelayanan-page *::before,
.pelayanan-page *::after {
  box-sizing: border-box;
}

/* HERO */

.pelayanan-hero {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 86% 18%,
      rgba(255, 255, 255, 0.18),
      transparent 27%
    ),
    linear-gradient(135deg, #003186 0%, #075ee8 100%);
}

.pelayanan-hero::before {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -170px;
  width: 370px;
  height: 370px;
  border: 70px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.pelayanan-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 300px;
  align-items: center;
  padding-top: 45px;
  padding-bottom: 45px;
}

.pelayanan-hero-content {
  max-width: 720px;
}

.pelayanan-badge {
  display: inline-flex;
  margin-bottom: 15px;
  padding: 7px 13px;
  border-radius: 5px;
  background: var(--service-orange);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.pelayanan-hero h1 {
  margin: 0 0 13px;
  color: #ffffff;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
}

.pelayanan-hero-content > p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.7;
}

.pelayanan-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 21px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.pelayanan-breadcrumb a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

/* CONTENT */

.pelayanan-content-section {
  padding: 45px 0 60px;
}

.pelayanan-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: -82px;
  margin-bottom: 24px;
}

.pelayanan-summary-card {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 108px;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--service-border);
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(10, 62, 140, 0.13);
}

.pelayanan-summary-icon {
  display: grid;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
  background: #eef4ff;
  font-size: 22px;
}

.pelayanan-summary-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--service-blue-dark);
  font-size: 22px;
  font-weight: 800;
}

.pelayanan-summary-card span {
  color: var(--service-muted);
  font-size: 13px;
}

.icon-blue {
  color: var(--service-blue);
}

.icon-green {
  color: var(--service-green);
}

.icon-orange {
  color: var(--service-orange);
}

/* NOTICE */

.pelayanan-notice {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 32px;
  padding: 20px;
  border: 1px solid #bcd3f8;
  border-radius: 9px;
  background: #eaf3ff;
}

.pelayanan-notice-icon {
  color: var(--service-blue);
  font-size: 23px;
}

.pelayanan-notice h2 {
  margin: 0 0 5px;
  color: var(--service-blue-dark);
  font-size: 17px;
  font-weight: 800;
}

.pelayanan-notice p {
  margin: 0;
  color: var(--service-muted);
  font-size: 13px;
  line-height: 1.65;
}

/* TOOLBAR */

.pelayanan-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 20px;
}

.pelayanan-toolbar h2 {
  margin: 0;
  color: var(--service-blue-dark);
  font-size: 27px;
  font-weight: 800;
}

.pelayanan-title-line {
  display: block;
  width: 38px;
  height: 3px;
  margin-top: 8px;
  border-radius: 99px;
  background: var(--service-yellow);
}

.pelayanan-search {
  display: flex;
  width: min(100%, 360px);
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  border: 1px solid var(--service-border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--service-blue);
  box-shadow: 0 5px 15px rgba(10, 62, 140, 0.06);
}

.pelayanan-search:focus-within {
  border-color: var(--service-blue);
  box-shadow: 0 0 0 3px rgba(7, 94, 232, 0.1);
}

.pelayanan-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--service-blue-dark);
  font-family: inherit;
  font-size: 13px;
}

/* ACCORDION */

.pelayanan-accordion {
  display: grid;
  gap: 11px;
}

.pelayanan-item {
  overflow: hidden;
  border: 1px solid var(--service-border);
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 5px 16px rgba(12, 66, 145, 0.06);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.pelayanan-item:hover,
.pelayanan-item.is-open {
  border-color: #8cb6f6;
  box-shadow: 0 9px 22px rgba(12, 66, 145, 0.11);
}

.pelayanan-item-button {
  display: grid;
  width: 100%;
  grid-template-columns: 44px minmax(0, 1fr) 35px;
  align-items: center;
  gap: 13px;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  color: var(--service-blue-dark);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.pelayanan-item-number {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 7px;
  background: #eaf2ff;
  color: var(--service-blue);
  font-size: 13px;
  font-weight: 800;
}

.pelayanan-item-title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.pelayanan-item-arrow {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: #eef4ff;
  color: var(--service-blue);
  transition: transform 0.25s ease;
}

.pelayanan-item.is-open .pelayanan-item-arrow {
  transform: rotate(180deg);
}

.pelayanan-item-content {
  padding: 4px 18px 20px 75px;
  border-top: 1px solid #e3ebf8;
}

.pelayanan-requirements {
  padding-top: 18px;
}

.pelayanan-requirements h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--service-blue);
  font-size: 14px;
  font-weight: 800;
}

.pelayanan-requirements ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.pelayanan-requirements li {
  padding-left: 4px;
  color: #506a94;
  font-size: 13px;
  line-height: 1.65;
}

.pelayanan-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.pelayanan-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #d6e3f7;
  border-radius: 7px;
  background: #f6f9ff;
}

.pelayanan-meta-item > i {
  color: var(--service-blue);
  font-size: 19px;
}

.pelayanan-meta-item span {
  display: block;
  margin-bottom: 3px;
  color: var(--service-muted);
  font-size: 11px;
}

.pelayanan-meta-item strong {
  color: var(--service-blue-dark);
  font-size: 13px;
}

/* EMPTY STATE */

.pelayanan-empty {
  padding: 50px 20px;
  border: 1px dashed #abc5ee;
  border-radius: 9px;
  background: #ffffff;
  text-align: center;
}

.pelayanan-empty i {
  color: var(--service-blue);
  font-size: 35px;
}

.pelayanan-empty h3 {
  margin: 13px 0 6px;
  color: var(--service-blue-dark);
  font-size: 18px;
}

.pelayanan-empty p {
  margin: 0;
  color: var(--service-muted);
  font-size: 13px;
}

/* DISCLAIMER */

.pelayanan-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 25px;
  padding: 17px 19px;
  border: 1px solid #ffd596;
  border-radius: 8px;
  background: #fff8eb;
}

.pelayanan-disclaimer i {
  color: var(--service-orange);
  font-size: 19px;
}

.pelayanan-disclaimer p {
  margin: 0;
  color: #76562e;
  font-size: 12px;
  line-height: 1.65;
}

/* RESPONSIVE */

@media (max-width: 850px) {
  .pelayanan-summary-grid {
    grid-template-columns: 1fr;
    margin-top: -60px;
  }

  .pelayanan-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .pelayanan-search {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .pelayanan-hero,
  .pelayanan-hero-inner {
    min-height: 260px;
  }

  .pelayanan-hero h1 {
    font-size: 35px;
  }

  .pelayanan-content-section {
    padding-bottom: 45px;
  }

  .pelayanan-summary-card {
    min-height: 95px;
    padding: 18px;
  }

  .pelayanan-item-button {
    grid-template-columns: 38px minmax(0, 1fr) 30px;
    gap: 10px;
    padding: 14px;
  }

  .pelayanan-item-number {
    width: 36px;
    height: 36px;
  }

  .pelayanan-item-title {
    font-size: 13px;
  }

  .pelayanan-item-content {
    padding: 4px 15px 17px;
  }

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

/* =========================================================
   HERO PROFIL - SAMA DENGAN HERO PELAYANAN
========================================================= */

.profil-hero-service-style {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 86% 18%,
      rgba(255, 255, 255, 0.18),
      transparent 27%
    ),
    linear-gradient(135deg, #003186 0%, #075ee8 100%) !important;
}

.profil-hero-service-style::before {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -170px;
  width: 370px;
  height: 370px;
  border: 70px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.profil-hero-service-style .profil-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 300px;
  align-items: center;
  padding-top: 45px;
  padding-bottom: 45px;
}

.profil-hero-service-style .profil-hero-content {
  max-width: 720px;
}

.profil-hero-service-style .profil-badge {
  display: inline-flex;
  margin-bottom: 15px;
  padding: 7px 13px;
  border-radius: 5px;
  background: #ff7600;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: none;
}

.profil-hero-service-style h1 {
  margin: 0 0 13px;
  color: #ffffff;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  text-shadow: none;
}

.profil-hero-service-style .profil-hero-content > p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
}

.profil-hero-service-style .profil-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 21px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.profil-hero-service-style .profil-breadcrumb a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.profil-hero-service-style .profil-breadcrumb a:hover {
  text-decoration: underline;
}

@media (max-width: 620px) {
  .profil-hero-service-style,
  .profil-hero-service-style .profil-hero-inner {
    min-height: 260px;
  }

  .profil-hero-service-style .profil-hero-inner {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .profil-hero-service-style h1 {
    font-size: 35px;
  }

  .profil-hero-service-style .profil-hero-content > p {
    font-size: 14px;
  }
}

/* =========================================================
   HERO PENGUMUMAN - SAMA DENGAN HALAMAN PELAYANAN
========================================================= */

.announcement-hero-service-style {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 86% 18%,
      rgba(255, 255, 255, 0.18),
      transparent 27%
    ),
    linear-gradient(135deg, #003186 0%, #075ee8 100%) !important;
}

.announcement-hero-service-style::before {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -170px;
  width: 370px;
  height: 370px;
  border: 70px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.announcement-hero-service-style::after {
  content: "";
  position: absolute;
  top: -120px;
  left: -100px;
  width: 260px;
  height: 260px;
  border: 50px solid rgba(255, 255, 255, 0.035);
  border-radius: 50%;
  pointer-events: none;
}

.announcement-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 300px;
  align-items: center;
  padding-top: 45px;
  padding-bottom: 45px;
}

.announcement-hero-main {
  width: 100%;
  max-width: 720px;
}

.announcement-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  padding: 7px 13px;
  border-radius: 5px;
  background: #ff7600;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 7px 18px rgba(255, 118, 0, 0.24);
}

.announcement-hero-service-style h1 {
  margin: 0 0 13px;
  color: #ffffff;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
}

.announcement-hero-main > p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.7;
}

.announcement-hero-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 21px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.announcement-hero-breadcrumb a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.announcement-hero-breadcrumb a:hover {
  text-decoration: underline;
}

/* Jarak konten setelah hero */

.announcement-content {
  padding-top: 38px;
  padding-bottom: 55px;
}

/* RESPONSIVE */

@media (max-width: 700px) {
  .announcement-hero-service-style,
  .announcement-hero-inner {
    min-height: 260px;
  }

  .announcement-hero-inner {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .announcement-hero-service-style h1 {
    font-size: 35px;
  }

  .announcement-hero-main > p {
    font-size: 14px;
  }
}

/* =========================================================
   TAMBAHAN DATA DINAMIS HALAMAN PROFIL
========================================================= */

.profil-population-date {
  display: block;
  font-size: 16px !important;
  line-height: 1.4;
}

.profil-data-summary {
  margin-top: 20px;
  padding: 24px;
}

.profil-data-summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.profil-data-summary-head h3 {
  margin: 0 0 6px;
  color: #082d78;
  font-size: 19px;
  font-weight: 800;
}

.profil-data-summary-head p {
  margin: 0;
  color: #52709f;
  font-size: 13px;
  line-height: 1.6;
}

.profil-data-summary-head > i {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: #eaf2ff;
  color: #075ee8;
  font-size: 21px;
}

.profil-data-summary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.profil-data-summary-item {
  padding: 17px 12px;
  border: 1px solid #dbe6f7;
  border-radius: 8px;
  background: #f7faff;
  text-align: center;
}

.profil-data-summary-item span {
  display: block;
  margin-bottom: 6px;
  color: #52709f;
  font-size: 12px;
}

.profil-data-summary-item strong {
  color: #082d78;
  font-size: 21px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .profil-data-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .profil-data-summary {
    padding: 19px;
  }

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

  .profil-data-summary-item:last-child {
    grid-column: 1 / -1;
  }
}

/* =========================================================
   HALAMAN KONTAK
========================================================= */

.contact-page {
  background: #ffffff;
  color: #082d78;
}

/* HERO */
.contact-hero {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 78% 20%,
      rgba(255, 255, 255, 0.13),
      transparent 28%
    ),
    linear-gradient(120deg, #003186 0%, #075ee8 100%);
}

.contact-hero::before {
  position: absolute;
  right: -90px;
  bottom: -170px;
  width: 370px;
  height: 370px;
  border: 70px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  content: "";
}

.contact-hero::after {
  position: absolute;
  top: -90px;
  right: 24%;
  width: 220px;
  height: 220px;
  border: 45px solid rgba(255, 255, 255, 0.035);
  border-radius: 50%;
  content: "";
}

.contact-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 300px;
  align-items: center;
  padding-top: 45px;
  padding-bottom: 45px;
}

.contact-hero-content {
  max-width: 720px;
}

.contact-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #ff7600;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-hero h1 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.contact-hero-content > p {
  max-width: 660px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.75;
}

.contact-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.contact-breadcrumb a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.contact-breadcrumb a:hover {
  color: #ffc107;
}

/* BAGIAN UMUM */
.contact-section,
.contact-detail-section {
  padding: 70px 0;
}

.contact-section-head {
  max-width: 720px;
  margin: 0 auto 35px;
  text-align: center;
}

.contact-section-label {
  display: inline-block;
  margin-bottom: 8px;
  color: #ff7600;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-section-head h2 {
  margin: 0 0 12px;
  color: #082d78;
  font-size: clamp(27px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.contact-section-head p {
  margin: 0;
  color: #52709f;
  font-size: 15px;
  line-height: 1.75;
}

/* KARTU INFORMASI */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.contact-info-card {
  display: flex;
  min-width: 0;
  gap: 18px;
  padding: 26px;
  border: 1px solid #cfddf5;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(22, 66, 135, 0.07);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  border-color: #9dbbf0;
  box-shadow: 0 17px 38px rgba(22, 66, 135, 0.12);
}

.contact-info-icon {
  display: grid;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 10px;
  color: #ffffff;
  font-size: 22px;
}

.contact-icon-blue {
  background: #075ee8;
}

.contact-icon-orange {
  background: #ff7600;
}

.contact-icon-green {
  background: #38a827;
}

.contact-info-body {
  min-width: 0;
}

.contact-info-body > span {
  display: block;
  margin-bottom: 5px;
  color: #52709f;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-info-body h3 {
  margin: 0 0 9px;
  color: #082d78;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
}

.contact-info-body .contact-email-title {
  overflow-wrap: anywhere;
  font-size: 15px;
}

.contact-info-body p {
  margin: 0 0 14px;
  color: #52709f;
  font-size: 13px;
  line-height: 1.65;
}

.contact-card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #075ee8;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.contact-card-link:hover {
  color: #ff7600;
}

/* JAM DAN MAPS */
.contact-detail-section {
  background: #f4f8ff;
}

.contact-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 24px;
}

.contact-hours-card,
.contact-map-card {
  min-width: 0;
  padding: 30px;
  border: 1px solid #cfddf5;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(22, 66, 135, 0.08);
}

.contact-card-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-heading-icon {
  display: grid;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 10px;
  background: #eaf2ff;
  color: #075ee8;
  font-size: 21px;
}

.contact-heading-map {
  background: #fff0e3;
  color: #ff7600;
}

.contact-card-heading span {
  display: block;
  margin-bottom: 2px;
  color: #52709f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-card-heading h2 {
  margin: 0;
  color: #082d78;
  font-size: 23px;
  font-weight: 800;
}

.contact-hours-intro {
  margin: 0 0 20px;
  color: #52709f;
  font-size: 14px;
  line-height: 1.7;
}

.contact-hours-list {
  display: grid;
  gap: 10px;
}

.contact-hours-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px;
  border: 1px solid #e0e9f7;
  border-radius: 8px;
  background: #f8fbff;
}

.contact-hours-item > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-hours-item > div > i {
  color: #075ee8;
  font-size: 18px;
}

.contact-hours-item span {
  display: flex;
  flex-direction: column;
}

.contact-hours-item strong {
  color: #082d78;
  font-size: 13px;
  font-weight: 800;
}

.contact-hours-item small {
  margin-top: 2px;
  color: #7187aa;
  font-size: 11px;
}

.contact-hours-item time {
  color: #075ee8;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.contact-hours-closed {
  border-color: #ffe0e0;
  background: #fff8f8;
}

.contact-hours-closed > div > i,
.contact-hours-closed time {
  color: #df1e29;
}

.contact-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 14px;
  border-left: 4px solid #ffc107;
  border-radius: 6px;
  background: #fff9e8;
}

.contact-notice i {
  margin-top: 2px;
  color: #e8a800;
}

.contact-notice p {
  margin: 0;
  color: #775f1b;
  font-size: 12px;
  line-height: 1.6;
}

/* MAP */
.contact-map-wrapper {
  height: 355px;
  overflow: hidden;
  border: 1px solid #d9e5f7;
  border-radius: 9px;
  background: #eaf2ff;
}

.contact-map-wrapper iframe {
  display: block;
}

.contact-map-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
}

.contact-map-footer > div {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  gap: 11px;
}

.contact-map-footer > div > i {
  margin-top: 3px;
  color: #ff7600;
  font-size: 20px;
}

.contact-map-footer p {
  display: flex;
  min-width: 0;
  flex-direction: column;
  margin: 0;
}

.contact-map-footer strong {
  color: #082d78;
  font-size: 13px;
}

.contact-map-footer span {
  margin-top: 3px;
  color: #52709f;
  font-size: 11px;
  line-height: 1.55;
}

.contact-map-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 7px;
  background: #075ee8;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.contact-map-button:hover {
  transform: translateY(-2px);
  background: #003fbd;
  color: #ffffff;
}

/* CTA */
.contact-cta-section {
  padding: 65px 0;
}

.contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 38px 42px;
  overflow: hidden;
  border-radius: 12px;
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(255, 255, 255, 0.15),
      transparent 27%
    ),
    linear-gradient(120deg, #003186, #075ee8);
  box-shadow: 0 18px 45px rgba(7, 94, 232, 0.18);
}

.contact-cta-content {
  max-width: 650px;
}

.contact-cta-content > span {
  display: block;
  margin-bottom: 6px;
  color: #ffc107;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-cta h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
}

.contact-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.7;
}

.contact-cta-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.contact-cta-primary,
.contact-cta-secondary {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 17px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.contact-cta-primary {
  background: #ff7600;
  color: #ffffff;
}

.contact-cta-primary:hover {
  background: #e86800;
  color: #ffffff;
}

.contact-cta-secondary {
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: #ffffff;
  color: #075ee8;
}

.contact-cta-secondary:hover {
  background: #eff5ff;
  color: #003186;
}

/* DARK MODE */
[data-theme="dark"] .contact-page {
  background: #07152b;
}

[data-theme="dark"] .contact-section-head h2,
[data-theme="dark"] .contact-info-body h3,
[data-theme="dark"] .contact-card-heading h2,
[data-theme="dark"] .contact-hours-item strong,
[data-theme="dark"] .contact-map-footer strong {
  color: #e9f1ff;
}

[data-theme="dark"] .contact-section-head p,
[data-theme="dark"] .contact-info-body p,
[data-theme="dark"] .contact-card-heading span,
[data-theme="dark"] .contact-hours-intro,
[data-theme="dark"] .contact-map-footer span {
  color: #a9bbd8;
}

[data-theme="dark"] .contact-info-card,
[data-theme="dark"] .contact-hours-card,
[data-theme="dark"] .contact-map-card {
  border-color: #27446e;
  background: #0d2243;
}

[data-theme="dark"] .contact-detail-section {
  background: #081933;
}

[data-theme="dark"] .contact-hours-item {
  border-color: #2a466d;
  background: #11294e;
}

[data-theme="dark"] .contact-hours-closed {
  border-color: #673333;
  background: #321d29;
}

/* RESPONSIVE */
@media (max-width: 1050px) {
  .contact-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-info-card:last-child {
    grid-column: 1 / -1;
  }

  .contact-detail-grid {
    grid-template-columns: 1fr;
  }

  .contact-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .contact-hero,
  .contact-hero-inner {
    min-height: 260px;
  }

  .contact-hero-inner {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .contact-hero h1 {
    font-size: 35px;
  }

  .contact-hero-content > p {
    font-size: 14px;
  }

  .contact-section,
  .contact-detail-section {
    padding: 50px 0;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-card:last-child {
    grid-column: auto;
  }

  .contact-hours-card,
  .contact-map-card {
    padding: 21px;
  }

  .contact-hours-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-hours-item time {
    padding-left: 30px;
  }

  .contact-map-wrapper {
    height: 300px;
  }

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

  .contact-cta {
    padding: 28px 23px;
  }

  .contact-cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .contact-cta-primary,
  .contact-cta-secondary {
    width: 100%;
  }
}

@media (max-width: 450px) {
  .contact-info-card {
    padding: 21px;
  }

  .contact-info-icon {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }

  .contact-map-wrapper {
    height: 265px;
  }
}

/* =========================================================
   HALAMAN PEMERINTAHAN
========================================================= */

.government-page {
  overflow: hidden;
  background: #ffffff;
  color: #082d78;
}

/* =========================================================
   HERO
========================================================= */

.government-hero {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 78% 20%,
      rgba(255, 255, 255, 0.13),
      transparent 28%
    ),
    linear-gradient(120deg, #003186 0%, #075ee8 100%);
}

.government-hero::before {
  position: absolute;
  right: -90px;
  bottom: -170px;
  width: 370px;
  height: 370px;
  border: 70px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  content: "";
}

.government-hero::after {
  position: absolute;
  top: -90px;
  right: 24%;
  width: 220px;
  height: 220px;
  border: 45px solid rgba(255, 255, 255, 0.035);
  border-radius: 50%;
  content: "";
}

.government-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 300px;
  align-items: center;
  padding-top: 45px;
  padding-bottom: 45px;
}

.government-hero-content {
  max-width: 750px;
}

.government-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #ff7600;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.government-hero h1 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.government-hero-content > p {
  max-width: 700px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.75;
}

.government-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.government-breadcrumb a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.government-breadcrumb a:hover {
  color: #ffc107;
}

/* =========================================================
   BAGIAN UMUM
========================================================= */

.government-section {
  padding: 70px 0;
}

.government-section-light {
  background: #f4f8ff;
}

.government-section-heading {
  max-width: 780px;
  margin: 0 auto 38px;
  text-align: center;
}

.government-section-heading > span {
  display: block;
  margin-bottom: 8px;
  color: #ff7600;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.government-section-heading h2 {
  margin: 0 0 13px;
  color: #082d78;
  font-size: clamp(27px, 4vw, 37px);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.government-section-heading p {
  margin: 0;
  color: #52709f;
  font-size: 15px;
  line-height: 1.75;
}

/* =========================================================
   GAMBARAN UMUM
========================================================= */

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

.government-overview-card {
  padding: 30px;
  border: 1px solid #cfddf5;
  border-radius: 11px;
  background: #ffffff;
  box-shadow: 0 12px 35px rgba(21, 63, 130, 0.08);
}

.government-overview-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 19px;
  place-items: center;
  border-radius: 11px;
  background: #e9f2ff;
  color: #075ee8;
  font-size: 24px;
}

.government-overview-icon-orange {
  background: #fff0e3;
  color: #ff7600;
}

.government-overview-card h3 {
  margin: 0 0 13px;
  color: #082d78;
  font-size: 21px;
  font-weight: 800;
}

.government-overview-card p {
  margin: 0 0 12px;
  color: #52709f;
  font-size: 14px;
  line-height: 1.75;
}

.government-overview-card p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   BAGAN STRUKTUR ORGANISASI
========================================================= */

.government-chart {
  position: relative;
  padding: 44px 34px 40px;
  border: 1px solid #cfddf5;
  border-radius: 13px;
  background: #ffffff;
  box-shadow: 0 15px 40px rgba(21, 63, 130, 0.09);
}

.government-chart-box {
  position: relative;
  z-index: 3;
  display: flex;
  min-width: 0;
  min-height: 120px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 18px;
  border: 1px solid #cfddf5;
  border-radius: 18px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 8px 22px rgba(21, 63, 130, 0.07);
}

.government-chart-box i {
  margin-bottom: 8px;
  color: #075ee8;
  font-size: 23px;
}

.government-chart-box > span {
  display: block;
  margin-bottom: 4px;
  color: #7187aa;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.government-chart-box strong {
  color: #082d78;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.government-chart-box small {
  display: block;
  margin-top: 6px;
  color: #7187aa;
  font-size: 9px;
  line-height: 1.45;
}

/* CAMAT */

.government-chart-camat {
  display: flex;
  justify-content: center;
}

.government-chart-box-camat {
  width: min(310px, 100%);
  min-height: 130px;
  border-color: #075ee8;
  border-radius: 28px;
  background:
    linear-gradient(135deg, #075ee8, #003186);
}

.government-chart-box-camat i,
.government-chart-box-camat > span,
.government-chart-box-camat strong {
  color: #ffffff;
}

.government-chart-box-camat strong {
  font-size: 20px;
}

/* GARIS UTAMA */

.government-chart-main-line {
  width: 2px;
  height: 36px;
  margin: 0 auto;
  background: #91aad0;
}

/* BARIS ATAS */

.government-chart-upper {
  position: relative;
  display: grid;
  grid-template-columns:
    minmax(190px, 1fr)
    minmax(90px, 0.6fr)
    minmax(270px, 1.35fr);
  align-items: start;
  gap: 26px;
  padding-top: 30px;
}

.government-chart-upper::before {
  position: absolute;
  top: 0;
  left: 16.5%;
  right: 17%;
  height: 2px;
  background: #91aad0;
  content: "";
}

.government-functional-branch,
.government-secretariat-branch {
  position: relative;
}

.government-functional-branch::before,
.government-secretariat-branch::before {
  position: absolute;
  top: -30px;
  left: 50%;
  width: 2px;
  height: 30px;
  background: #91aad0;
  content: "";
}

.government-chart-center-column {
  position: relative;
  min-height: 100%;
}

.government-chart-center-column::before {
  position: absolute;
  top: -30px;
  bottom: -68px;
  left: 50%;
  width: 2px;
  background: #91aad0;
  content: "";
}

/* JABATAN FUNGSIONAL */

.government-chart-box-functional {
  min-height: 135px;
  border-color: #9ebce7;
  background: #eaf2ff;
}

.government-chart-box-functional i {
  color: #075ee8;
}

/* SEKRETARIS */

.government-chart-box-secretary {
  width: min(300px, 100%);
  min-height: 130px;
  margin: 0 auto;
  border-color: #ffbd84;
  background: #fff2e7;
}

.government-chart-box-secretary i {
  color: #ff7600;
}

.government-secretary-vertical-line {
  width: 2px;
  height: 27px;
  margin: 0 auto;
  background: #91aad0;
}

.government-subbag-connector {
  position: relative;
  height: 18px;
}

.government-subbag-connector::before {
  position: absolute;
  top: 0;
  left: 25%;
  right: 25%;
  height: 2px;
  background: #91aad0;
  content: "";
}

.government-subbag-connector span::before,
.government-subbag-connector span::after {
  position: absolute;
  top: 0;
  width: 2px;
  height: 18px;
  background: #91aad0;
  content: "";
}

.government-subbag-connector span::before {
  left: 25%;
}

.government-subbag-connector span::after {
  right: 25%;
}

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

.government-chart-box-subbag {
  min-height: 105px;
  border-color: #e1c2c2;
  border-radius: 24px;
  background: #fff1f1;
}

.government-chart-box-subbag i {
  color: #d15d5d;
}

/* GARIS KASI */

.government-kasi-vertical-line {
  width: 2px;
  height: 42px;
  margin: 0 auto;
  background: #91aad0;
}

.government-kasi-connector {
  position: relative;
  height: 22px;
  margin: 0 6%;
}

.government-kasi-connector::before {
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: #91aad0;
  content: "";
}

.government-kasi-connector span::before,
.government-kasi-connector span::after {
  position: absolute;
  top: 0;
  width: 2px;
  height: 22px;
  background: #91aad0;
  content: "";
}

.government-kasi-connector span::before {
  left: 10%;
}

.government-kasi-connector span::after {
  right: 10%;
}

/* KASI */

.government-kasi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 13px;
}

.government-chart-box-kasi {
  position: relative;
  min-height: 135px;
  border-color: #b9d6a5;
  border-radius: 26px;
  background: #edf8e8;
}

.government-chart-box-kasi::before {
  position: absolute;
  top: -22px;
  left: 50%;
  width: 2px;
  height: 22px;
  background: #91aad0;
  content: "";
}

.government-chart-box-kasi i {
  color: #4c9d30;
}

/* =========================================================
   TUGAS DAN FUNGSI
========================================================= */

.government-duty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.government-duty-card {
  padding: 25px;
  border: 1px solid #cfddf5;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 8px 26px rgba(21, 63, 130, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.government-duty-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 35px rgba(21, 63, 130, 0.11);
}

.government-duty-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 17px;
  place-items: center;
  border-radius: 9px;
  color: #ffffff;
  font-size: 21px;
}

.government-icon-blue {
  background: #075ee8;
}

.government-icon-orange {
  background: #ff7600;
}

.government-icon-green {
  background: #38a827;
}

.government-icon-purple {
  background: #7138c9;
}

.government-icon-red {
  background: #df1e29;
}

.government-duty-card h3 {
  margin: 0 0 9px;
  color: #082d78;
  font-size: 17px;
  font-weight: 800;
}

.government-duty-card p {
  margin: 0;
  color: #52709f;
  font-size: 13px;
  line-height: 1.7;
}

/* =========================================================
   PRINSIP KERJA
========================================================= */

.government-section-blue {
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(255, 255, 255, 0.1),
      transparent 25%
    ),
    linear-gradient(120deg, #003186, #075ee8);
}

.government-section-heading-white h2 {
  color: #ffffff;
}

.government-section-heading-white p {
  color: rgba(255, 255, 255, 0.78);
}

.government-section-heading-white > span {
  color: #ffc107;
}

.government-principle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.government-principle-card {
  padding: 27px 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  text-align: center;
  backdrop-filter: blur(7px);
}

.government-principle-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: #075ee8;
  font-size: 22px;
}

.government-principle-card h3 {
  margin: 0 0 9px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
}

.government-principle-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.65;
}

/* =========================================================
   CTA
========================================================= */

.government-cta-section {
  padding: 65px 0;
}

.government-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 38px 42px;
  border-radius: 12px;
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(255, 255, 255, 0.14),
      transparent 27%
    ),
    linear-gradient(120deg, #003186, #075ee8);
  box-shadow: 0 18px 45px rgba(7, 94, 232, 0.18);
}

.government-cta > div:first-child {
  max-width: 650px;
}

.government-cta > div:first-child > span {
  display: block;
  margin-bottom: 6px;
  color: #ffc107;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.government-cta h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
}

.government-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.7;
}

.government-cta-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.government-cta-primary,
.government-cta-secondary {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 17px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.government-cta-primary {
  background: #ff7600;
  color: #ffffff;
}

.government-cta-primary:hover {
  background: #e86800;
  color: #ffffff;
}

.government-cta-secondary {
  background: #ffffff;
  color: #075ee8;
}

.government-cta-secondary:hover {
  background: #eef5ff;
  color: #003186;
}

/* =========================================================
   DARK MODE
========================================================= */

[data-theme="dark"] .government-page {
  background: #07152b;
}

[data-theme="dark"] .government-section-light {
  background: #081933;
}

[data-theme="dark"] .government-section-heading h2,
[data-theme="dark"] .government-overview-card h3,
[data-theme="dark"] .government-duty-card h3 {
  color: #e9f1ff;
}

[data-theme="dark"] .government-section-heading p,
[data-theme="dark"] .government-overview-card p,
[data-theme="dark"] .government-duty-card p {
  color: #a9bbd8;
}

[data-theme="dark"] .government-overview-card,
[data-theme="dark"] .government-chart,
[data-theme="dark"] .government-duty-card {
  border-color: #29466e;
  background: #0d2243;
}

[data-theme="dark"] .government-chart-box {
  border-color: #31527e;
  background: #11294e;
}

[data-theme="dark"] .government-chart-box strong {
  color: #e9f1ff;
}

[data-theme="dark"] .government-chart-box-functional {
  background: #132f59;
}

[data-theme="dark"] .government-chart-box-secretary {
  border-color: #815127;
  background: #30261d;
}

[data-theme="dark"] .government-chart-box-subbag {
  border-color: #714545;
  background: #35212b;
}

[data-theme="dark"] .government-chart-box-kasi {
  border-color: #476f3b;
  background: #1d3426;
}

[data-theme="dark"] .government-chart-box small,
[data-theme="dark"] .government-chart-box > span {
  color: #a9bbd8;
}

/* =========================================================
   RESPONSIVE TABLET
========================================================= */

@media (max-width: 1100px) {
  .government-chart {
    overflow-x: auto;
  }

  .government-chart-upper,
  .government-kasi-grid,
  .government-kasi-connector,
  .government-kasi-vertical-line {
    min-width: 940px;
  }

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

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

  .government-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* =========================================================
   RESPONSIVE MOBILE
========================================================= */

@media (max-width: 760px) {
  .government-hero,
  .government-hero-inner {
    min-height: 260px;
  }

  .government-hero-inner {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .government-hero h1 {
    font-size: 35px;
  }

  .government-hero-content > p {
    font-size: 14px;
  }

  .government-section {
    padding: 50px 0;
  }

  .government-overview-grid,
  .government-duty-grid,
  .government-principle-grid {
    grid-template-columns: 1fr;
  }

  .government-chart {
    overflow: visible;
    padding: 25px 18px;
  }

  .government-chart-upper {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 22px;
    padding-top: 0;
  }

  .government-chart-upper::before,
  .government-functional-branch::before,
  .government-secretariat-branch::before,
  .government-chart-center-column,
  .government-kasi-connector,
  .government-chart-box-kasi::before,
  .government-subbag-connector {
    display: none;
  }

  .government-chart-main-line,
  .government-kasi-vertical-line {
    width: 2px;
    height: 24px;
    min-width: 0;
  }

  .government-functional-branch,
  .government-secretariat-branch {
    width: 100%;
  }

  .government-chart-box-functional,
  .government-chart-box-secretary {
    width: 100%;
  }

  .government-secretary-vertical-line {
    height: 24px;
  }

  .government-subbag-grid {
    grid-template-columns: 1fr;
  }

  .government-kasi-grid {
    min-width: 0;
    grid-template-columns: 1fr;
  }

  .government-chart-box-kasi {
    min-height: 115px;
  }

  .government-cta {
    padding: 28px 23px;
  }

  .government-cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .government-cta-primary,
  .government-cta-secondary {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .government-overview-card {
    padding: 23px;
  }

  .government-chart-box {
    min-height: 110px;
  }

  .government-chart-box-camat strong {
    font-size: 18px;
  }
}

/* =========================================================
   GAMBAR STRUKTUR ORGANISASI
========================================================= */

.government-structure-image-card {
  margin: 0;
  padding: 22px;
  border: 1px solid #cfddf5;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 15px 40px rgba(21, 63, 130, 0.09);
}

.government-structure-image-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  background: #ffffff;
}

.government-structure-image {
  display: block;
  width: 100%;
  max-width: 1448px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.government-structure-image-card figcaption {
  margin-top: 15px;
  color: #52709f;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

/* DARK MODE */

[data-theme="dark"] .government-structure-image-card {
  border-color: #29466e;
  background: #0d2243;
}

[data-theme="dark"] .government-structure-image-wrapper {
  background: #ffffff;
}

[data-theme="dark"] .government-structure-image-card figcaption {
  color: #a9bbd8;
}

/* TABLET */

@media (max-width: 900px) {
  .government-structure-image-card {
    padding: 15px;
  }
}

/* MOBILE */

@media (max-width: 620px) {
  .government-structure-image-card {
    padding: 9px;
    border-radius: 10px;
  }

  .government-structure-image-wrapper {
    border-radius: 7px;
  }

  .government-structure-image-card figcaption {
    margin-top: 10px;
    font-size: 11px;
  }
}

/* =========================================================
   HOME PAGE MODERN
   Kecamatan Pekanbaru Kota
========================================================= */

/* ---------------------------------------------------------
   HEADER ENHANCEMENT
--------------------------------------------------------- */

.site-header {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.site-header.is-scrolled .site-nav {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 14px 34px rgba(0, 31, 94, 0.24);
}

.site-header.is-scrolled .crest {
  transform: scale(0.94);
}

.crest {
  transition: transform 0.25s ease;
}

body.menu-open {
  overflow: hidden;
}

/* ---------------------------------------------------------
   HOME VARIABLES
--------------------------------------------------------- */

.home-page {
  --home-blue: #075ee8;
  --home-blue-dark: #003186;
  --home-blue-deep: #061f56;
  --home-orange: #ff7600;
  --home-yellow: #ffc107;
  --home-green: #2fa84f;
  --home-red: #e33e4f;
  --home-purple: #7647cc;
  --home-teal: #1298a8;
  --home-radius: 16px;
  --home-card-border: #cfddf5;
  --home-card-shadow: 0 16px 40px rgba(16, 62, 130, 0.09);

  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(
      180deg,
      var(--surface) 0%,
      var(--page) 100%
    );
}

/* ---------------------------------------------------------
   HERO
--------------------------------------------------------- */

.home-hero {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  color: #ffffff;
  background: #032d7c;
}

.home-hero-background,
.home-hero-overlay {
  position: absolute;
  inset: 0;
}

.home-hero-background {
  z-index: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  animation: homeHeroZoom 24s ease-in-out infinite alternate;
}

.home-hero-overlay {
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(0, 24, 72, 0.97) 0%,
      rgba(0, 40, 107, 0.91) 42%,
      rgba(0, 55, 132, 0.55) 72%,
      rgba(0, 37, 94, 0.35) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 71, 174, 0.08),
      rgba(0, 14, 47, 0.43)
    );
}

.home-hero::before {
  position: absolute;
  z-index: 2;
  right: -170px;
  bottom: -265px;
  width: 530px;
  height: 530px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.home-hero::after {
  position: absolute;
  z-index: 2;
  right: -60px;
  bottom: -180px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.home-hero-decoration span {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  pointer-events: none;
}

.home-hero-decoration span:first-child {
  top: 72px;
  right: 8%;
  width: 14px;
  height: 14px;
  border: 3px solid rgba(255, 255, 255, 0.42);
}

.home-hero-decoration span:last-child {
  right: 35%;
  bottom: 78px;
  width: 8px;
  height: 8px;
  background: var(--home-yellow);
  box-shadow: 0 0 0 8px rgba(255, 193, 7, 0.12);
}

.home-hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns:
    minmax(0, 1.45fr)
    minmax(300px, 0.72fr);
  align-items: center;
  min-height: 580px;
  gap: 70px;
}

.home-hero-content {
  max-width: 680px;
  padding: 70px 0;
}

.home-hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(7, 94, 232, 0.72);
  box-shadow: 0 10px 25px rgba(0, 26, 80, 0.18);
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.home-hero-badge i {
  color: #ffd44d;
  font-size: 16px;
}

.home-hero h1 {
  max-width: 680px;
  margin: 20px 0 18px;
  color: #ffffff;
  font-size: clamp(44px, 5.5vw, 76px);
  font-weight: 800;
  letter-spacing: -2.3px;
  line-height: 0.98;
}

.home-hero h1 span {
  display: block;
  color: #ffffff;
}

.home-hero-content > p {
  max-width: 625px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.75;
}

.home-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 30px;
  gap: 13px;
}

.home-primary-button,
.home-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 21px;
  border-radius: 10px;
  gap: 9px;
  font-size: 13px;
  font-weight: 800;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.home-primary-button {
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      #ff8a00,
      #ff6a00
    );
  box-shadow: 0 14px 28px rgba(255, 103, 0, 0.28);
}

.home-primary-button:hover {
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(255, 103, 0, 0.38);
  transform: translateY(-3px);
}

.home-secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.home-secondary-button:hover {
  border-color: rgba(255, 255, 255, 0.65);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.home-hero-highlights {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 28px;
  gap: 18px;
}

.home-hero-highlights div {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.79);
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
}

.home-hero-highlights i {
  color: #7ee7a1;
  font-size: 14px;
}

/* Hero card */

.home-hero-card {
  position: relative;
  overflow: hidden;
  padding: 27px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  color: #ffffff;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.18),
      rgba(255, 255, 255, 0.08)
    );
  box-shadow: 0 24px 55px rgba(0, 16, 56, 0.26);
  backdrop-filter: blur(18px);
}

.home-hero-card::after {
  position: absolute;
  top: -60px;
  right: -55px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 193, 7, 0.12);
  content: "";
}

.home-hero-card-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.home-hero-card-head span {
  display: block;
  margin-bottom: 4px;
  color: #8ec5ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.home-hero-card-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
}

.home-hero-card-head > i {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  color: #ffffff;
  background: rgba(255, 118, 0, 0.9);
  box-shadow: 0 12px 24px rgba(255, 103, 0, 0.25);
  place-items: center;
  font-size: 22px;
}

.home-hero-card > p {
  position: relative;
  z-index: 1;
  margin: 18px 0 21px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.65;
}

.home-hero-card-links {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
}

.home-hero-card-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 9px;
  color: #ffffff;
  background: rgba(0, 36, 96, 0.28);
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.home-hero-card-links a:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(3px);
}

.home-hero-card-links a span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.home-hero-card-links a span i {
  color: #ffbc54;
  font-size: 16px;
}

@keyframes homeHeroZoom {
  from {
    transform: scale(1.02);
  }

  to {
    transform: scale(1.09);
  }
}

/* ---------------------------------------------------------
   GENERAL HOME SECTIONS
--------------------------------------------------------- */

.home-page .home-section {
  padding: 76px 0;
}

.home-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 31px;
  gap: 30px;
}

.home-section-heading > div {
  max-width: 690px;
}

.home-section-eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 9px;
  color: var(--home-blue);
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.home-section-eyebrow::before {
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: var(--home-orange);
  content: "";
}

.home-section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.15;
}

.home-section-heading p {
  max-width: 640px;
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.home-section-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 43px;
  padding: 0 15px;
  border: 1px solid var(--home-card-border);
  border-radius: 9px;
  color: var(--home-blue);
  background: var(--surface);
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.home-section-link:hover {
  border-color: var(--home-blue);
  color: var(--home-blue);
  box-shadow: 0 10px 22px rgba(7, 94, 232, 0.12);
  transform: translateY(-2px);
}

/* ---------------------------------------------------------
   SERVICES
--------------------------------------------------------- */

.home-services-section {
  position: relative;
  background:
    radial-gradient(
      circle at 10% 15%,
      rgba(7, 94, 232, 0.07),
      transparent 26%
    ),
    var(--page);
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-service-card {
  position: relative;
  display: grid;
  grid-template-columns: 59px minmax(0, 1fr) 35px;
  align-items: center;
  min-height: 148px;
  padding: 23px;
  border: 1px solid var(--home-card-border);
  border-radius: 14px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(16, 62, 130, 0.06);
  gap: 16px;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.home-service-card::before {
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 0;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: transparent;
  content: "";
  transition: background-color 0.25s ease;
}

.home-service-card:hover {
  border-color: rgba(7, 94, 232, 0.42);
  color: var(--ink);
  box-shadow: 0 18px 38px rgba(16, 62, 130, 0.12);
  transform: translateY(-5px);
}

.home-service-card:hover::before {
  background: var(--home-orange);
}

.home-service-icon {
  display: grid;
  width: 59px;
  height: 59px;
  border-radius: 15px;
  color: #ffffff;
  box-shadow:
    inset 0 -10px 18px rgba(0, 0, 0, 0.12),
    0 11px 22px rgba(0, 34, 92, 0.11);
  place-items: center;
  font-size: 25px;
}

.home-service-blue {
  background: linear-gradient(145deg, #3181f6, #075ee8);
}

.home-service-orange {
  background: linear-gradient(145deg, #ff9b2f, #ff6f00);
}

.home-service-green {
  background: linear-gradient(145deg, #58c66e, #249e43);
}

.home-service-purple {
  background: linear-gradient(145deg, #9468e0, #6941b8);
}

.home-service-teal {
  background: linear-gradient(145deg, #32b8c8, #0e8e9d);
}

.home-service-red {
  background: linear-gradient(145deg, #f06875, #d93646);
}

.home-service-content h3 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.home-service-content p {
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
}

.home-service-arrow {
  display: grid;
  width: 34px;
  height: 34px;
  border: 1px solid var(--home-card-border);
  border-radius: 50%;
  color: var(--home-blue);
  background: var(--surface-soft);
  place-items: center;
  font-size: 14px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.home-service-card:hover .home-service-arrow {
  color: #ffffff;
  background: var(--home-blue);
  transform: rotate(8deg);
}

/* ---------------------------------------------------------
   STATISTICS
--------------------------------------------------------- */

.home-statistics-section {
  position: relative;
  padding: 0 0 76px;
  background: var(--page);
}

.home-statistics-panel {
  position: relative;
  overflow: hidden;
  padding: 31px;
  border-radius: 20px;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 94% 10%,
      rgba(69, 186, 255, 0.28),
      transparent 31%
    ),
    linear-gradient(
      135deg,
      #075ee8 0%,
      #003995 48%,
      #00256c 100%
    );
  box-shadow: 0 24px 50px rgba(0, 50, 137, 0.19);
}

.home-statistics-panel::before {
  position: absolute;
  top: -115px;
  right: -95px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  content: "";
}

.home-statistics-panel::after {
  position: absolute;
  right: 30%;
  bottom: -130px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.home-statistics-head,
.home-statistics-grid,
.home-statistics-footer {
  position: relative;
  z-index: 1;
}

.home-statistics-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 22px;
}

.home-statistics-head > div:first-child > span {
  display: block;
  margin-bottom: 4px;
  color: #8dccff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.home-statistics-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: 29px;
  font-weight: 800;
}

.home-statistics-date {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 9px;
  color: rgba(255, 255, 255, 0.81);
  background: rgba(255, 255, 255, 0.08);
  gap: 9px;
  font-size: 11px;
  backdrop-filter: blur(8px);
}

.home-statistics-date i {
  color: #ffd469;
  font-size: 16px;
}

.home-statistics-date strong {
  color: #ffffff;
}

.home-statistics-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 11px;
}

.home-statistics-item {
  min-width: 0;
  min-height: 138px;
  padding: 18px 8px 14px;
  border: 1px solid rgba(169, 210, 255, 0.27);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.07);
  text-align: center;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
  backdrop-filter: blur(7px);
}

.home-statistics-item:hover {
  border-color: rgba(255, 255, 255, 0.43);
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-4px);
}

.home-statistics-item > i {
  display: block;
  margin-bottom: 10px;
  filter: drop-shadow(0 5px 7px rgba(0, 0, 0, 0.19));
  font-size: 31px;
  line-height: 1;
}

.home-statistics-item strong {
  display: block;
  overflow: hidden;
  color: #ffffff;
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 800;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-statistics-item > span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.35;
}

.home-stat-cyan {
  color: #61e5ff;
}

.home-stat-orange {
  color: #ffb14d;
}

.home-stat-green {
  color: #9bea75;
}

.home-stat-purple {
  color: #d294ff;
}

.home-stat-red {
  color: #ff8383;
}

.home-statistics-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  gap: 20px;
}

.home-statistics-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 10.5px;
  line-height: 1.5;
}

.home-statistics-footer a {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: #ffffff;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
}

.home-statistics-footer a:hover {
  color: #ffd469;
}

/* ---------------------------------------------------------
   INFORMATION
--------------------------------------------------------- */

.home-information-section {
  background:
    linear-gradient(
      180deg,
      var(--surface) 0%,
      var(--page) 100%
    );
}

.home-information-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(0, 0.9fr)
    minmax(275px, 0.73fr);
  align-items: stretch;
  gap: 18px;
}

.home-information-card,
.home-innovation-card {
  min-width: 0;
  min-height: 470px;
  border-radius: 15px;
}

.home-information-card {
  padding: 23px;
  border: 1px solid var(--home-card-border);
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--home-card-shadow);
}

.home-information-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}

.home-information-card-head span {
  display: block;
  margin-bottom: 4px;
  color: var(--home-blue);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.home-information-card-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
}

.home-information-card-head > a {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--home-blue);
  gap: 6px;
  font-size: 10.5px;
  font-weight: 800;
}

.home-information-card-head > a:hover {
  color: var(--home-orange);
}

/* News */

.home-news-list {
  display: grid;
}

.home-news-item {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
  padding: 13px 0;
  gap: 14px;
}

.home-news-item + .home-news-item {
  border-top: 1px solid var(--line);
}

.home-news-item:first-child {
  padding-top: 0;
}

.home-news-image {
  display: block;
  overflow: hidden;
  width: 106px;
  height: 82px;
  border-radius: 9px;
  background: var(--surface-soft);
}

.home-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.home-news-item:hover .home-news-image img {
  transform: scale(1.07);
}

.home-news-content {
  min-width: 0;
}

.home-news-category {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin-bottom: 6px;
  padding: 0 7px;
  border-radius: 999px;
  color: #0961d7;
  background: #e8f1ff;
  font-size: 8px;
  font-weight: 800;
}

.home-news-content h4,
.home-announcement-content h4 {
  margin: 0;
}

.home-news-content h4 a {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-news-content h4 a:hover,
.home-announcement-content h4 a:hover {
  color: var(--home-blue);
}

.home-content-meta {
  display: flex;
  align-items: center;
  margin-top: 8px;
  color: var(--muted);
  gap: 6px;
  font-size: 9.5px;
}

.home-content-meta i {
  color: var(--home-orange);
}

/* Announcements */

.home-announcement-list {
  display: grid;
}

.home-announcement-item {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr);
  padding: 15px 0;
  gap: 13px;
}

.home-announcement-item:first-child {
  padding-top: 0;
}

.home-announcement-item + .home-announcement-item {
  border-top: 1px solid var(--line);
}

.home-announcement-icon {
  display: grid;
  width: 45px;
  height: 45px;
  border-radius: 11px;
  color: #ffffff;
  background:
    linear-gradient(
      145deg,
      #ff9b31,
      #ff6d00
    );
  box-shadow: 0 9px 19px rgba(255, 109, 0, 0.18);
  place-items: center;
  font-size: 18px;
}

.home-announcement-content .home-content-meta {
  margin-top: 0;
  margin-bottom: 6px;
}

.home-announcement-content h4 a {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-announcement-link {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  color: var(--home-blue);
  gap: 5px;
  font-size: 9.5px;
  font-weight: 800;
}

.home-announcement-link:hover {
  color: var(--home-orange);
}

/* Empty state */

.home-information-empty {
  display: grid;
  min-height: 300px;
  align-content: center;
  padding: 28px 16px;
  color: var(--muted);
  text-align: center;
  place-items: center;
}

.home-information-empty > i {
  display: grid;
  width: 66px;
  height: 66px;
  margin-bottom: 14px;
  border-radius: 50%;
  color: var(--home-blue);
  background: var(--surface-soft);
  place-items: center;
  font-size: 27px;
}

.home-information-empty h4 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.home-information-empty p {
  margin: 0;
  font-size: 11px;
}

/* ---------------------------------------------------------
   INNOVATION
--------------------------------------------------------- */

.home-innovation-card {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  padding: 25px;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 15% 0%,
      rgba(45, 135, 255, 0.27),
      transparent 37%
    ),
    linear-gradient(
      145deg,
      #06172e,
      #0d2c58 58%,
      #063e83
    );
  box-shadow: 0 18px 42px rgba(4, 27, 64, 0.2);
}

.home-innovation-decoration span {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.home-innovation-decoration span:first-child {
  top: -65px;
  right: -72px;
  width: 205px;
  height: 205px;
}

.home-innovation-decoration span:last-child {
  right: 35px;
  bottom: -65px;
  width: 135px;
  height: 135px;
}

.home-innovation-label,
.home-innovation-brand,
.home-innovation-description,
.home-innovation-features,
.home-innovation-button {
  position: relative;
  z-index: 1;
}

.home-innovation-label {
  display: inline-flex;
  align-self: flex-start;
  min-height: 25px;
  padding: 0 10px;
  border: 1px solid rgba(125, 187, 255, 0.25);
  border-radius: 999px;
  color: #91c7ff;
  background: rgba(41, 125, 224, 0.13);
  align-items: center;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.home-innovation-brand {
  display: flex;
  align-items: center;
  margin-top: 22px;
  gap: 14px;
}

.home-innovation-radar {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 61px;
  height: 61px;
  border: 1px solid rgba(98, 180, 255, 0.28);
  border-radius: 50%;
  background:
    repeating-radial-gradient(
      circle,
      rgba(56, 148, 255, 0.13) 0 2px,
      transparent 2px 10px
    );
  place-items: center;
}

.home-innovation-radar::before {
  position: absolute;
  width: 50%;
  height: 2px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      #4ca2ff,
      transparent
    );
  content: "";
  transform-origin: right center;
  animation: homeRadarSpin 4s linear infinite;
}

.home-innovation-radar span {
  position: relative;
  z-index: 1;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff9b29;
  box-shadow:
    0 0 0 7px rgba(255, 155, 41, 0.12),
    0 0 18px rgba(255, 155, 41, 0.52);
}

.home-innovation-brand h3 {
  margin: 0;
  color: #ffffff;
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -0.8px;
}

.home-innovation-brand p {
  margin: 2px 0 0;
  color: #75b5ff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.home-innovation-description {
  margin: 19px 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  line-height: 1.65;
}

.home-innovation-features {
  display: grid;
  gap: 9px;
}

.home-innovation-features > div {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  align-items: center;
  min-height: 53px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.045);
  gap: 10px;
}

.home-innovation-features > div > i {
  display: grid;
  width: 35px;
  height: 35px;
  border-radius: 8px;
  color: #72b7ff;
  background: rgba(58, 143, 241, 0.13);
  place-items: center;
  font-size: 16px;
}

.home-innovation-features span,
.home-innovation-features strong,
.home-innovation-features small {
  display: block;
}

.home-innovation-features strong {
  color: #ffffff;
  font-size: 10px;
}

.home-innovation-features small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 8.5px;
}

.home-innovation-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: auto;
  padding: 0 15px;
  border-radius: 9px;
  color: #ffffff;
  background:
    linear-gradient(
      90deg,
      #0b6ce6,
      #258bff
    );
  box-shadow: 0 10px 22px rgba(0, 92, 210, 0.25);
  gap: 8px;
  font-size: 10.5px;
  font-weight: 800;
}

.home-innovation-button:hover {
  color: #ffffff;
  box-shadow: 0 14px 27px rgba(0, 92, 210, 0.37);
  transform: translateY(-2px);
}

@keyframes homeRadarSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------------------------------------------------------
   HOME CTA
--------------------------------------------------------- */

.home-cta-section {
  padding: 0 0 76px;
  background: var(--page);
}

.home-cta {
  position: relative;
  display: grid;
  grid-template-columns: 67px minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
  min-height: 175px;
  padding: 30px 34px;
  border-radius: 18px;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 90% 20%,
      rgba(84, 187, 255, 0.21),
      transparent 28%
    ),
    linear-gradient(
      120deg,
      #003186,
      #075ee8
    );
  box-shadow: 0 20px 42px rgba(0, 62, 158, 0.18);
  gap: 23px;
}

.home-cta::after {
  position: absolute;
  right: -95px;
  bottom: -150px;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.home-cta-icon,
.home-cta-content,
.home-cta-actions {
  position: relative;
  z-index: 1;
}

.home-cta-icon {
  display: grid;
  width: 67px;
  height: 67px;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 17px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  place-items: center;
  font-size: 29px;
  backdrop-filter: blur(8px);
}

.home-cta-content > span {
  display: block;
  margin-bottom: 4px;
  color: #91c7ff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.home-cta-content h2 {
  margin: 0;
  color: #ffffff;
  font-size: 25px;
  font-weight: 800;
}

.home-cta-content p {
  max-width: 630px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11.5px;
  line-height: 1.6;
}

.home-cta-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-cta-primary,
.home-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 17px;
  border-radius: 9px;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 800;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.home-cta-primary {
  color: #ffffff;
  background: var(--home-orange);
  box-shadow: 0 10px 21px rgba(255, 103, 0, 0.24);
}

.home-cta-primary:hover {
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(255, 103, 0, 0.35);
  transform: translateY(-2px);
}

.home-cta-secondary {
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.home-cta-secondary:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

/* =========================================================
   HOME DARK MODE
========================================================= */

[data-theme="dark"] .home-services-section,
[data-theme="dark"] .home-statistics-section,
[data-theme="dark"] .home-cta-section {
  background: var(--page);
}

[data-theme="dark"] .home-service-card,
[data-theme="dark"] .home-information-card,
[data-theme="dark"] .home-section-link {
  border-color: var(--line);
  background: var(--surface);
}

[data-theme="dark"] .home-news-category {
  color: #9fcaff;
  background: #18375c;
}

[data-theme="dark"] .home-service-arrow {
  border-color: var(--line);
  background: var(--surface-soft);
}

/* =========================================================
   RESPONSIVE HOME
========================================================= */

@media (max-width: 1180px) {
  .home-hero-inner {
    grid-template-columns:
      minmax(0, 1.25fr)
      minmax(280px, 0.72fr);
    gap: 38px;
  }

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

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

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

  .home-innovation-card {
    grid-column: 1 / -1;
    min-height: 400px;
  }

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

  .home-innovation-button {
    align-self: flex-start;
    min-width: 220px;
    margin-top: 24px;
  }
}

@media (max-width: 900px) {
  .home-hero,
  .home-hero-inner {
    min-height: 650px;
  }

  .home-hero-inner {
    grid-template-columns: 1fr;
    align-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
    gap: 28px;
  }

  .home-hero-content {
    max-width: 700px;
    padding: 20px 0 0;
  }

  .home-hero-card {
    max-width: 700px;
  }

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

  .home-cta {
    grid-template-columns: 60px minmax(0, 1fr);
  }

  .home-cta-actions {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .home-page .home-section {
    padding: 56px 0;
  }

  .home-hero,
  .home-hero-inner {
    min-height: auto;
  }

  .home-hero-inner {
    display: block;
    padding-top: 58px;
    padding-bottom: 55px;
  }

  .home-hero-content {
    padding: 0;
  }

  .home-hero h1 {
    margin-top: 17px;
    font-size: clamp(39px, 12vw, 55px);
    letter-spacing: -1.5px;
  }

  .home-hero-content > p {
    font-size: 14px;
    line-height: 1.65;
  }

  .home-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-primary-button,
  .home-secondary-button {
    width: 100%;
  }

  .home-hero-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .home-hero-card {
    margin-top: 31px;
  }

  .home-section-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 25px;
    gap: 17px;
  }

  .home-services-grid {
    grid-template-columns: 1fr;
  }

  .home-service-card {
    min-height: 135px;
  }

  .home-statistics-section {
    padding-bottom: 56px;
  }

  .home-statistics-panel {
    padding: 24px 18px;
  }

  .home-statistics-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-statistics-date {
    align-self: stretch;
  }

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

  .home-statistics-item {
    min-height: 125px;
  }

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

  .home-information-grid {
    grid-template-columns: 1fr;
  }

  .home-information-card,
  .home-innovation-card {
    min-height: 0;
  }

  .home-innovation-card {
    grid-column: auto;
  }

  .home-innovation-features {
    grid-template-columns: 1fr;
  }

  .home-innovation-button {
    align-self: stretch;
    min-width: 0;
  }

  .home-cta-section {
    padding-bottom: 56px;
  }

  .home-cta {
    grid-template-columns: 1fr;
    padding: 27px 23px;
  }

  .home-cta-icon {
    width: 58px;
    height: 58px;
  }

  .home-cta-actions {
    grid-column: auto;
    align-items: stretch;
    flex-direction: column;
  }

  .home-cta-primary,
  .home-cta-secondary {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .home-hero-inner {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .home-hero-badge {
    min-height: 34px;
    padding-inline: 12px;
    font-size: 10.5px;
  }

  .home-hero h1 {
    font-size: 40px;
  }

  .home-hero-card {
    padding: 21px;
  }

  .home-hero-card-head h2 {
    font-size: 19px;
  }

  .home-service-card {
    grid-template-columns: 52px minmax(0, 1fr);
    padding: 19px;
    gap: 14px;
  }

  .home-service-icon {
    width: 52px;
    height: 52px;
    font-size: 22px;
  }

  .home-service-arrow {
    display: none;
  }

  .home-statistics-panel {
    border-radius: 15px;
  }

  .home-statistics-head h2 {
    font-size: 24px;
  }

  .home-statistics-item {
    min-height: 119px;
    padding-inline: 5px;
  }

  .home-statistics-item strong {
    font-size: 19px;
  }

  .home-information-card,
  .home-innovation-card {
    padding: 19px;
  }

  .home-information-card-head {
    align-items: flex-start;
  }

  .home-news-item {
    grid-template-columns: 91px minmax(0, 1fr);
    gap: 11px;
  }

  .home-news-image {
    width: 91px;
    height: 76px;
  }

  .home-news-content h4 a,
  .home-announcement-content h4 a {
    font-size: 11.5px;
  }

  .home-announcement-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 11px;
  }

  .home-announcement-icon {
    width: 40px;
    height: 40px;
  }

  .home-innovation-brand h3 {
    font-size: 25px;
  }

  .home-cta-content h2 {
    font-size: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-background,
  .home-innovation-radar::before {
    animation: none;
  }
}



/*
|--------------------------------------------------------------------------
| PEKANBARU_PELAYANAN_DROPDOWN_V2
|--------------------------------------------------------------------------
*/

.nav-pelayanan-dropdown {
    position: relative;
    display: flex;
    align-items: stretch;
    z-index: 90;
}

.nav-pelayanan-dropdown > summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    color: #fff;
    font: inherit;
    font-weight: 700;
    white-space: nowrap;
    user-select: none;
}

.nav-pelayanan-dropdown > summary::-webkit-details-marker {
    display: none;
}

.nav-pelayanan-dropdown > summary::marker {
    content: "";
}

.nav-pelayanan-dropdown.is-active > summary {
    box-shadow:
        inset 0 -3px 0 #ffd43b;
}

.nav-pelayanan-chevron {
    font-size: .72rem;
    transition:
        transform .2s ease;
}

.nav-pelayanan-dropdown[open]
.nav-pelayanan-chevron {
    transform:
        rotate(180deg);
}

.nav-pelayanan-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform:
        translateX(-50%);
    display: none;
    width: 280px;
    padding: 9px;
    border:
        1px solid
        rgba(7, 94, 232, .12);
    border-radius: 14px;
    background: #fff;
    box-shadow:
        0 18px 45px
        rgba(15, 35, 75, .20);
    z-index: 9999;
}

.nav-pelayanan-dropdown[open]
.nav-pelayanan-menu,
.nav-pelayanan-dropdown:hover
.nav-pelayanan-menu,
.nav-pelayanan-dropdown:focus-within
.nav-pelayanan-menu {
    display: block;
}

.main-menu
.nav-pelayanan-menu
a {
    display: block;
    width: 100%;
    padding: 11px 12px;
    box-sizing: border-box;
    border-radius: 9px;
    color: #17396f !important;
    background: transparent;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.35;
    white-space: normal;
    text-decoration: none;
}

.main-menu
.nav-pelayanan-menu
a:hover,
.main-menu
.nav-pelayanan-menu
a:focus {
    color: #075ee8 !important;
    background: #edf4ff;
}

.main-menu
.nav-pelayanan-menu
a.active {
    color: #075ee8 !important;
    background: #e8f1ff;
}


@media (max-width: 900px) {

    .nav-pelayanan-dropdown {
        display: block;
        width: 100%;
    }

    .nav-pelayanan-dropdown > summary {
        justify-content: space-between;
        width: 100%;
        padding: 13px 16px;
        box-sizing: border-box;
    }

    .nav-pelayanan-dropdown.is-active > summary {
        box-shadow: none;
        color: #ffd43b;
    }

    .nav-pelayanan-menu {
        position: static;
        top: auto;
        left: auto;
        transform: none;
        width: calc(100% - 16px);
        margin: 0 8px 8px;
        padding: 6px;
        border-radius: 10px;
        box-shadow: none;
    }

    .main-menu
    .nav-pelayanan-menu
    a {
        padding:
            10px 12px
            10px 18px;
    }
}


/*
|--------------------------------------------------------------------------
| PEKANBARU_PELAYANAN_DROPDOWN_FIX_V1
|--------------------------------------------------------------------------
|
| Reset dekorasi global navbar yang ikut masuk ke submenu Pelayanan.
|
*/

.nav-pelayanan-dropdown > summary {
    position: relative;
    border: 0 !important;
    outline: none;
    box-shadow: none;
    border-radius: 6px;
}

/*
 * Active navbar cukup menggunakan underline bawah,
 * bukan outline/kotak kuning.
 */
.nav-pelayanan-dropdown.is-active > summary {
    box-shadow:
        inset 0 -3px 0 #ffd43b;
}

/*
 * Hilangkan outline default Chrome setelah diklik.
 * Untuk keyboard tetap diberikan focus-visible
 * yang lebih halus.
 */
.nav-pelayanan-dropdown > summary:focus {
    outline: none;
}

.nav-pelayanan-dropdown > summary:focus-visible {
    outline:
        2px solid
        rgba(255, 255, 255, .72);
    outline-offset: 4px;
}


/*
|--------------------------------------------------------------------------
| SUBMENU
|--------------------------------------------------------------------------
|
| CSS navbar utama memiliki dekorasi active/hover.
| Jangan biarkan pseudo-element tersebut masuk
| ke anchor yang berada di dropdown.
|
*/

.main-menu
.nav-pelayanan-menu
a,
.main-menu
.nav-pelayanan-menu
a:hover,
.main-menu
.nav-pelayanan-menu
a:focus,
.main-menu
.nav-pelayanan-menu
a:focus-visible,
.main-menu
.nav-pelayanan-menu
a.active {
    position: relative;
    border: 0 !important;
    border-bottom: 0 !important;
    text-decoration: none !important;
    box-shadow: none;
}

.main-menu
.nav-pelayanan-menu
a::before,
.main-menu
.nav-pelayanan-menu
a::after,
.main-menu
.nav-pelayanan-menu
a.active::before,
.main-menu
.nav-pelayanan-menu
a.active::after,
.main-menu
.nav-pelayanan-menu
a:hover::before,
.main-menu
.nav-pelayanan-menu
a:hover::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    border: 0 !important;
}


/*
 * Default submenu.
 */
.main-menu
.nav-pelayanan-menu
a {
    color: #17396f !important;
    background: transparent !important;
}


/*
 * Hover submenu.
 */
.main-menu
.nav-pelayanan-menu
a:hover,
.main-menu
.nav-pelayanan-menu
a:focus-visible {
    color: #075ee8 !important;
    background: #edf4ff !important;
}


/*
 * Item submenu yang sedang aktif.
 * Hanya background biru muda + garis orange kiri.
 */
.main-menu
.nav-pelayanan-menu
a.active {
    color: #075ee8 !important;
    background: #e8f1ff !important;
    box-shadow:
        inset 3px 0 0 #ff7600 !important;
}


/*
 * Rapikan dropdown desktop.
 */
@media (min-width: 901px) {

    .nav-pelayanan-menu {
        overflow: hidden;
    }

    .main-menu
    .nav-pelayanan-menu
    a {
        min-height: 42px;
        display: flex;
        align-items: center;
    }
}


/*
 * Mobile tetap full width dan tidak mendapat
 * dekorasi active navbar desktop.
 */
@media (max-width: 900px) {

    .nav-pelayanan-dropdown > summary,
    .nav-pelayanan-dropdown.is-active > summary {
        box-shadow: none;
    }

    .nav-pelayanan-dropdown.is-active > summary {
        color: #ffd43b;
    }

    .main-menu
    .nav-pelayanan-menu
    a.active {
        box-shadow:
            inset 3px 0 0 #ff7600 !important;
    }
}
