:root {
  --red: #e30613;
  --ink: #151515;
  --muted: #6e6e73;
  --paper: #f6f6f4;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  width: 100%;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  overflow-x: hidden;
}
.display {
  font-family: "Fraunces", serif;
}
.site-nav {
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    padding 0.35s ease;
}
.site-nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(16px);
}
.site-nav.scrolled .nav-wordmark,
.site-nav.scrolled .nav-link {
  color: #171717;
}
.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  transition: color 0.2s ease;
}
.nav-link:after {
  content: "";
  position: absolute;
  height: 2px;
  left: 0;
  right: 0;
  bottom: -7px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-link.active:after,
.nav-link:hover:after {
  transform: scaleX(1);
}
.hero-image {
  filter: grayscale(12%);
  transform: scale(1.02);
  animation: slowZoom 16s ease-in-out infinite alternate;
}
@keyframes slowZoom {
  to {
    transform: scale(1.09);
  }
}
.hero-shade {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.71) 0%,
    rgba(0, 0, 0, 0.42) 46%,
    rgba(0, 0, 0, 0.12) 100%
  );
}
.eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--red);
}
.red-rule {
  width: 42px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}
.cta-red {
  background: var(--red);
  color: white;
  transition:
    transform 0.25s,
    background 0.25s,
    box-shadow 0.25s;
}
.cta-red:hover {
  background: #bd0010;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(227, 6, 19, 0.22);
}
.cta-outline {
  border: 1px solid currentColor;
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s;
}
.cta-outline:hover {
  background: #fff;
  color: #171717;
  transform: translateY(-2px);
}
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.show {
  opacity: 1;
  transform: none;
}
.experience-card {
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
  border-top: 2px solid transparent;
}
.experience-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
  border-top-color: var(--red);
}
.article-card img,
.gallery-item img {
  transition: transform 0.5s ease;
}
.article-card:hover img,
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-item {
  cursor: pointer;
  overflow: hidden;
  background: #e9e9e7;
}
.gallery-item.hidden-filter {
  display: none;
}
.location-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.24);
}
#office-map {
  height: 430px;
  border-radius: 26px;
  z-index: 1;
}
.leaflet-popup-content-wrapper {
  border-radius: 12px;
  font-family: "DM Sans", sans-serif;
}
.lightbox {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
}
.mobile-panel {
  transform: translateX(100%);
  transition: transform 0.35s ease;
}
.mobile-panel.open {
  transform: translateX(0);
}
.back-top {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: 0.25s ease;
}
.back-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.form-status {
  min-height: 24px;
}
.filter-btn.active {
  color: var(--red);
  border-color: var(--red);
}
@media (max-width: 768px) {
  .nav-wordmark {
    color: #171717 !important;
  }
  .site-nav {
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  }
  .hero-shade {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.37));
  }
}

/* Styling agar scrollbar di daftar kantor terlihat rapi dan elegan */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #f9fafb;
  border-radius: 8px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 8px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #e30613;
}

/* Styling khusus untuk scrollbar list kantor agar terlihat modern dan tipis */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #e5e7eb;
  border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #d1d5db;
}

/* Style khusus untuk fungsionalitas JS Filter */

.hidden-filter {
  display: none !important;
}

.filter-btn.active {
  background-color: #e30613 !important;
  color: #ffffff !important;
  border-color: #e30613 !important;
  box-shadow:
    0 10px 15px -3px rgba(227, 6, 19, 0.3),
    0 4px 6px -2px rgba(227, 6, 19, 0.15) !important;
}

/* Menghilangkan border default dari kontainer Quill */
.ql-snow .ql-editor {
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

/* MENGHILANGKAN JARAK ATAS BAWAAN PROSE PADA ELEMEN PERTAMA */
.ql-editor.prose > :first-child {
  margin-top: 0 !important;
}
