/* =========================================================
   DESA CILEDUG WETAN
   MAIN WEBSITE STYLE — FINAL
   ========================================================= */


/* =========================================================
   RESET
   ========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


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


body {
  font-family: "Inter", Arial, sans-serif;
  color: #1f2937;
  background: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}


img {
  max-width: 100%;
}


a {
  color: inherit;
}


button,
input,
textarea,
select {
  font-family: inherit;
}


/* =========================================================
   VARIABLES
   ========================================================= */

:root {

  --green-950: #052e16;
  --green-900: #14532d;
  --green-800: #166534;
  --green-700: #15803d;
  --green-600: #16a34a;
  --green-500: #22c55e;

  --green-soft: #f0fdf4;
  --green-light: #dcfce7;

  --cream: #f8faf7;

  --dark: #0f172a;
  --text: #334155;
  --muted: #64748b;

  --border: #e2e8f0;

  --white: #ffffff;

  --shadow-sm:
    0 4px 14px rgba(15, 23, 42, .06);

  --shadow-md:
    0 12px 35px rgba(15, 23, 42, .09);

  --shadow-lg:
    0 22px 60px rgba(15, 23, 42, .15);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --container: 1180px;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.container {
  width: min(
    var(--container),
    calc(100% - 40px)
  );

  margin-inline: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;
  height: 78px;

  z-index: 10000;

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

  backdrop-filter:
    blur(14px);

  -webkit-backdrop-filter:
    blur(14px);

  border-bottom:
    1px solid rgba(226, 232, 240, .9);

  transition:
    box-shadow .25s ease,
    background .25s ease;
}


.site-header.scrolled {
  background:
    rgba(255, 255, 255, .99);

  box-shadow:
    0 5px 22px
    rgba(15, 23, 42, .09);
}


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
  width: min(
    var(--container),
    calc(100% - 40px)
  );

  height: 78px;

  margin-inline: auto;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 35px;
}


/* =========================================================
   BRAND
   ========================================================= */

.brand {
  display: inline-flex;

  align-items: center;

  gap: 11px;

  height: 100%;

  flex-shrink: 0;

  text-decoration: none;

  color: var(--green-900);
}


.brand-mark {
  width: 46px;
  height: 46px;

  flex-shrink: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  overflow: hidden;

  border-radius: 50%;

  background: white;

  border:
    2px solid var(--green-light);
}


.brand-mark img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;
}


.brand > span:last-child {
  display: flex;

  flex-direction: column;

  justify-content: center;

  line-height: 1.15;
}


.brand strong {
  display: block;

  color: var(--green-900);

  font-family:
    "Plus Jakarta Sans",
    Arial,
    sans-serif;

  font-size: 15px;

  font-weight: 800;

  letter-spacing: .4px;

  white-space: nowrap;
}


.brand small {
  display: block;

  color: var(--muted);

  font-size: 11px;

  margin-top: 4px;

  white-space: nowrap;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.nav-links {
  display: flex;

  align-items: center;

  justify-content: flex-end;

  gap: 2px;

  height: 100%;

  margin-left: auto;
}


.nav-links a {
  position: relative;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  height: 42px;

  padding:
    0 12px;

  color: #475569;

  text-decoration: none;

  font-size: 13px;

  font-weight: 500;

  white-space: nowrap;

  border-radius: 8px;

  transition:
    color .2s ease,
    background .2s ease;
}


.nav-links a:hover {
  color: var(--green-800);

  background:
    var(--green-soft);
}


.nav-links a.active {
  color: var(--green-800);

  font-weight: 700;
}


.nav-links a.active::after {
  content: "";

  position: absolute;

  left: 12px;
  right: 12px;

  bottom: 3px;

  height: 2px;

  border-radius: 10px;

  background:
    var(--green-600);
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.menu-toggle {
  display: none;

  width: 42px;
  height: 42px;

  flex-shrink: 0;

  align-items: center;
  justify-content: center;

  border: none;

  border-radius: 9px;

  background:
    var(--green-900);

  color: white;

  font-size: 21px;

  line-height: 1;

  cursor: pointer;

  transition:
    background .2s ease,
    transform .2s ease;
}


.menu-toggle:hover {
  background:
    var(--green-800);
}


.menu-toggle:active {
  transform:
    scale(.95);
}


/* =========================================================
   BODY OFFSET FOR FIXED HEADER
   ========================================================= */

body {
  padding-top: 78px;
}


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

.hero {
  position: relative;

  min-height: 720px;

  display: flex;

  align-items: center;

  overflow: hidden;

  color: white;

  background:
    var(--green-950);
}


.hero-bg {
  position: absolute;

  inset: 0;

  z-index: 0;
}


.hero-bg img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}


.hero-overlay {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(5, 46, 22, .92) 0%,
      rgba(5, 46, 22, .72) 42%,
      rgba(5, 46, 22, .30) 100%
    );

  z-index: 1;
}


.hero-content {
  position: relative;

  z-index: 2;

  padding-top: 80px;

  max-width: 760px;

  margin-left:
    max(
      20px,
      calc(
        (100vw - var(--container)) / 2
      )
    );
}


.eyebrow {
  display: inline-block;

  margin-bottom: 15px;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 1.8px;

  color:
    rgba(255,255,255,.75);
}


.eyebrow.dark {
  color:
    var(--green-700);
}


.hero h1 {
  font-family:
    "Plus Jakarta Sans",
    Arial,
    sans-serif;

  font-size:
    clamp(48px, 7vw, 86px);

  line-height: 1.02;

  letter-spacing: -3px;

  margin-bottom: 22px;
}


.hero h1 em {
  font-style: normal;

  color:
    #bbf7d0;
}


.hero-copy {
  max-width: 570px;

  color:
    rgba(255,255,255,.86);

  font-size: 16px;

  line-height: 1.8;

  margin-bottom: 30px;
}


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

.hero-actions {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;
}


.btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 10px;

  min-height: 44px;

  padding:
    11px 18px;

  border-radius: 8px;

  text-decoration: none;

  font-size: 13px;

  font-weight: 700;

  border: none;

  cursor: pointer;

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


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


.btn-primary {
  color: white;

  background:
    var(--green-700);

  box-shadow:
    0 8px 20px
    rgba(21,128,61,.25);
}


.btn-primary:hover {
  background:
    var(--green-800);
}


.btn-ghost {
  color: white;

  border:
    1px solid
    rgba(255,255,255,.4);

  background:
    rgba(255,255,255,.08);
}


.btn-ghost:hover {
  background:
    rgba(255,255,255,.16);
}


.btn-light {
  color:
    var(--green-900);

  background:
    white;
}


.btn-light:hover {
  background:
    var(--green-soft);
}


/* =========================================================
   SCROLL CUE
   ========================================================= */

.scroll-cue {
  position: absolute;

  right: 35px;
  bottom: 30px;

  z-index: 3;

  width: 42px;
  height: 42px;

  border:
    1px solid
    rgba(255,255,255,.35);

  border-radius: 50%;

  display: flex;

  align-items: center;
  justify-content: center;

  color: white;

  text-decoration: none;

  animation:
    scrollBounce 1.8s infinite;
}


@keyframes scrollBounce {

  0%,
  100% {
    transform:
      translateY(0);
  }

  50% {
    transform:
      translateY(7px);
  }

}


/* =========================================================
   SECTION
   ========================================================= */

.section {
  padding:
    95px 0;
}


.section-soft {
  background:
    var(--cream);
}


.section-dark {
  background:
    linear-gradient(
      135deg,
      var(--green-950),
      var(--green-900)
    );

  color: white;
}


.section-heading {
  display: flex;

  align-items: flex-end;

  justify-content: space-between;

  gap: 40px;

  margin-bottom: 45px;
}


.section-heading.centered {
  display: block;

  max-width: 720px;

  margin-left: auto;
  margin-right: auto;

  text-align: center;
}


.section-heading h2,
.section-copy h2,
.digital-box h2,
.location h2 {
  font-family:
    "Plus Jakarta Sans",
    Arial,
    sans-serif;

  color:
    var(--green-950);

  font-size:
    clamp(28px, 4vw, 45px);

  line-height: 1.18;

  letter-spacing: -1.5px;

  margin-bottom: 16px;
}


.section-heading > p {
  max-width: 430px;

  color:
    var(--muted);

  font-size: 14px;
}


.section-heading.centered > p {
  margin-inline: auto;
}


/* =========================================================
   DATA STATISTICS
   ========================================================= */

.stats-wrap {
  position: relative;

  margin-top: -70px;

  z-index: 10;

  padding-bottom: 10px;
}


.stats-card {
  background: white;

  border-radius: 18px;

  padding:
    28px 30px;

  box-shadow:
    var(--shadow-lg);

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


.section-kicker {
  font-size: 10px;

  font-weight: 800;

  letter-spacing: 1.7px;

  color:
    var(--green-700);

  margin-bottom: 18px;
}


.stats-grid {
  display: grid;

  grid-template-columns:
    repeat(6, 1fr);

  gap: 0;
}


.stats-grid > div {
  padding:
    5px 18px;

  border-right:
    1px solid var(--border);
}


.stats-grid > div:first-child {
  padding-left: 0;
}


.stats-grid > div:last-child {
  border-right: none;
}


.stats-grid strong {
  display: block;

  font-family:
    "Plus Jakarta Sans",
    Arial,
    sans-serif;

  font-size: 27px;

  color:
    var(--green-900);

  line-height: 1.2;
}


.stats-grid span {
  display: block;

  margin-top: 4px;

  color:
    var(--muted);

  font-size: 11px;
}


/* =========================================================
   SPLIT LAYOUT
   ========================================================= */

.split {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 70px;

  align-items: center;
}


.split.reverse {
  grid-template-columns:
    .85fr 1.15fr;
}


.image-placeholder {
  overflow: hidden;

  border-radius:
    var(--radius-lg);

  background:
    #e2e8f0;

  box-shadow:
    var(--shadow-md);
}


.image-placeholder.tall {
  min-height: 480px;
}


.image-placeholder img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;
}


.section-copy > p {
  color:
    var(--muted);

  font-size: 14px;

  line-height: 1.85;

  margin-bottom: 16px;
}


.text-link {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  margin-top: 10px;

  color:
    var(--green-700);

  text-decoration: none;

  font-size: 13px;

  font-weight: 700;
}


.text-link:hover {
  color:
    var(--green-900);
}


.text-link span {
  transition:
    transform .2s ease;
}


.text-link:hover span {
  transform:
    translateX(4px);
}


/* =========================================================
   TIMELINE
   ========================================================= */

.timeline {
  max-width: 850px;

  margin:
    50px auto 0;

  position: relative;
}


.timeline::before {
  content: "";

  position: absolute;

  left: 8px;

  top: 5px;

  bottom: 5px;

  width: 2px;

  background:
    var(--green-light);
}


.timeline article {
  position: relative;

  display: grid;

  grid-template-columns:
    30px 1fr;

  gap: 20px;

  padding-bottom: 38px;
}


.timeline article:last-child {
  padding-bottom: 0;
}


.timeline-dot {
  position: relative;

  z-index: 2;

  width: 18px;
  height: 18px;

  margin-top: 2px;

  border-radius: 50%;

  background:
    var(--green-600);

  border:
    4px solid white;

  box-shadow:
    0 0 0 2px
    var(--green-light);
}


.timeline small {
  color:
    var(--green-700);

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 1.4px;
}


.timeline h3 {
  margin:
    5px 0 7px;

  font-family:
    "Plus Jakarta Sans",
    Arial,
    sans-serif;

  font-size: 21px;

  color:
    var(--green-900);
}


.timeline p {
  color:
    var(--muted);

  font-size: 13px;

  line-height: 1.8;

  max-width: 700px;
}


/* =========================================================
   POTENSI / CARDS
   ========================================================= */

.cards-4 {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 20px;
}


.potential-card,
.cards-4 article {
  background: white;

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

  border-radius: 15px;

  padding: 20px;

  box-shadow:
    var(--shadow-sm);

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}


.potential-card:hover,
.cards-4 article:hover {
  transform:
    translateY(-6px);

  box-shadow:
    var(--shadow-md);

  border-color:
    rgba(21,128,61,.25);
}


.cards-4 article h3 {
  font-family:
    "Plus Jakarta Sans",
    Arial,
    sans-serif;

  color:
    var(--green-900);

  font-size: 18px;

  margin-bottom: 7px;
}


.cards-4 article p {
  color:
    var(--muted);

  font-size: 13px;

  line-height: 1.7;
}


.potential-icon {
  width: 52px;
  height: 52px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 12px;

  background:
    var(--green-light);

  font-size: 25px;

  margin-bottom: 16px;
}


/* =========================================================
   DYNAMIC POTENSI
   ========================================================= */

.dynamic-potentials {
  width: 100%;
}


.dynamic-potential-card {
  cursor: pointer;

  position: relative;

  overflow: hidden;

  background: white;

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

  border-radius: 15px;

  padding: 15px;

  box-shadow:
    var(--shadow-sm);

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}


.dynamic-potential-card:hover {
  transform:
    translateY(-6px);

  box-shadow:
    var(--shadow-md);

  border-color:
    rgba(21,128,61,.35);
}


.potential-media-preview {
  width: 100%;
  height: 180px;

  overflow: hidden;

  border-radius: 11px;

  margin-bottom: 16px;

  background:
    #f1f5f9;

  position: relative;
}


.potential-media-preview img,
.potential-media-preview video {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;
}


.potential-no-media {
  width: 100%;
  height: 100%;

  display: flex;

  align-items: center;
  justify-content: center;

  font-size: 40px;

  color:
    #94a3b8;
}


.dynamic-potential-card h3 {
  font-family:
    "Plus Jakarta Sans",
    Arial,
    sans-serif;

  color:
    var(--green-900);

  font-size: 17px;

  margin-bottom: 5px;
}


.dynamic-potential-card p {
  color:
    var(--muted);

  font-size: 13px;

  line-height: 1.65;
}


.potential-location {
  display: block;

  margin-bottom: 7px;

  color:
    var(--green-700);

  font-size: 11px;

  font-weight: 700;
}


.potential-open-label {
  display: inline-flex;

  align-items: center;

  gap: 6px;

  margin-top: 12px;

  color:
    var(--green-700);

  font-size: 11px;

  font-weight: 700;
}


/* =========================================================
   POTENTIAL MODAL
   ========================================================= */

.potential-modal {
  position: fixed;

  inset: 0;

  z-index: 99999;

  display: none;

  align-items: center;
  justify-content: center;

  padding: 20px;
}


.potential-modal.active {
  display: flex;
}


.potential-modal-overlay {
  position: absolute;

  inset: 0;

  background:
    rgba(0,0,0,.72);

  backdrop-filter:
    blur(5px);
}


.potential-modal-box {
  position: relative;

  z-index: 2;

  width:
    min(900px, 100%);

  max-height: 92vh;

  overflow-y: auto;

  background: white;

  border-radius: 18px;

  box-shadow:
    0 30px 80px
    rgba(0,0,0,.35);

  animation:
    potentialModalIn .25s ease;
}


@keyframes potentialModalIn {

  from {

    opacity: 0;

    transform:
      translateY(20px)
      scale(.98);

  }

  to {

    opacity: 1;

    transform:
      translateY(0)
      scale(1);

  }

}


.potential-modal-close {
  position: absolute;

  top: 14px;
  right: 14px;

  z-index: 5;

  width: 42px;
  height: 42px;

  border: none;

  border-radius: 50%;

  background:
    rgba(0,0,0,.65);

  color: white;

  font-size: 26px;

  line-height: 1;

  cursor: pointer;

  transition: .2s ease;
}


.potential-modal-close:hover {
  background:
    var(--green-900);

  transform:
    rotate(90deg);
}


.potential-modal-media {
  width: 100%;

  max-height: 520px;

  background:
    #0f172a;

  display: flex;

  align-items: center;
  justify-content: center;

  overflow: hidden;
}


.potential-modal-media img,
.potential-modal-media video {
  width: 100%;

  max-height: 520px;

  object-fit: contain;

  display: block;
}


.potential-modal-content {
  padding: 28px;
}


.potential-modal-content .potential-location {
  color:
    var(--green-700);

  font-size: 12px;
}


.potential-modal-content h2 {
  margin-bottom: 12px;

  font-family:
    "Plus Jakarta Sans",
    Arial,
    sans-serif;

  color:
    var(--green-950);

  font-size: 30px;

  line-height: 1.2;
}


.potential-modal-content p {
  color:
    var(--text);

  font-size: 14px;

  line-height: 1.85;
}


body.modal-open {
  overflow: hidden;
}


/* =========================================================
   GOVERNMENT
   ========================================================= */

.section-dark .section-copy h2 {
  color: white;
}


.section-copy.light > p {
  color:
    rgba(255,255,255,.78);
}


.portrait-placeholder {
  min-height: 430px;

  overflow: hidden;

  border-radius:
    var(--radius-lg);

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

  border:
    1px solid
    rgba(255,255,255,.12);

  box-shadow:
    0 20px 50px
    rgba(0,0,0,.2);
}


.portrait-placeholder img {
  width: 100%;
  height: 100%;

  min-height: 430px;

  object-fit: cover;

  display: block;
}


.section-dark .eyebrow {
  color:
    #86efac;
}


.role {
  color:
    #86efac !important;

  font-size: 14px !important;

  font-weight: 700;
}


.mini-structure {
  display: grid;

  grid-template-columns:
    150px 1fr;

  gap:
    8px 20px;

  margin:
    25px 0;

  padding:
    18px;

  border:
    1px solid
    rgba(255,255,255,.12);

  border-radius: 10px;

  background:
    rgba(255,255,255,.05);
}


.mini-structure span {
  color:
    rgba(255,255,255,.58);

  font-size: 11px;
}


.mini-structure b {
  color: white;

  font-size: 12px;

  font-weight: 600;
}


/* =========================================================
   PEOPLE / PERANGKAT DESA
   ========================================================= */

.people-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 20px;
}


.person-card,
.dynamic-person-card {
  background: white;

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

  border-radius: 15px;

  padding: 15px;

  box-shadow:
    var(--shadow-sm);

  transition:
    transform .25s ease,
    box-shadow .25s ease;
}


.person-card:hover,
.dynamic-person-card:hover {
  transform:
    translateY(-5px);

  box-shadow:
    var(--shadow-md);
}


.person-photo {
  width: 100%;
  height: 205px;

  overflow: hidden;

  border-radius: 11px;

  margin-bottom: 14px;

  background:
    #f1f5f9;
}


.person-photo img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;
}


.person-photo-empty {
  width: 100%;
  height: 100%;

  display: flex;

  align-items: center;
  justify-content: center;

  color:
    #94a3b8;

  font-size: 42px;
}


.person-card h3,
.dynamic-person-card h3 {
  font-family:
    "Plus Jakarta Sans",
    Arial,
    sans-serif;

  color:
    var(--green-900);

  font-size: 16px;

  margin-bottom: 4px;
}


.person-card p,
.dynamic-person-card p {
  color:
    var(--muted);

  font-size: 12px;
}


.dynamic-loading {
  width: 100%;

  grid-column:
    1 / -1;

  padding: 30px;

  text-align: center;

  color:
    var(--muted);

  font-size: 13px;
}


.dynamic-empty {
  width: 100%;

  grid-column:
    1 / -1;

  padding:
    35px 20px;

  text-align: center;

  border:
    1px dashed #cbd5e1;

  border-radius: 12px;

  color:
    var(--muted);

  background:
    #f8fafc;
}


/* =========================================================
   FACILITIES
   ========================================================= */

.facility-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 20px;

  margin-top: 40px;
}


.facility-grid article {
  background: white;

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

  border-radius: 15px;

  padding: 25px;

  box-shadow:
    var(--shadow-sm);

  transition:
    transform .25s ease,
    box-shadow .25s ease;
}


.facility-grid article:hover {
  transform:
    translateY(-5px);

  box-shadow:
    var(--shadow-md);
}


.facility-grid article > span {
  display: flex;

  width: 52px;
  height: 52px;

  align-items: center;
  justify-content: center;

  border-radius: 12px;

  background:
    var(--green-light);

  font-size: 25px;

  margin-bottom: 18px;
}


.facility-grid h3 {
  font-family:
    "Plus Jakarta Sans",
    Arial,
    sans-serif;

  color:
    var(--green-900);

  font-size: 18px;

  margin-bottom: 8px;
}


.facility-grid p {
  color:
    var(--muted);

  font-size: 13px;

  line-height: 1.7;
}


.facility-grid b {
  color:
    var(--green-700);
}


/* =========================================================
   DIGITAL SERVICES
   ========================================================= */

.digital {
  padding-top: 80px;

  padding-bottom: 80px;
}


.digital-box {
  background:
    var(--green-soft);

  border:
    1px solid var(--green-light);

  border-radius: 22px;

  padding: 45px;

  display: grid;

  grid-template-columns:
    .75fr 1.25fr;

  gap: 50px;

  align-items: center;
}


.digital-box h2 {
  font-size: 34px;
}


.digital-box > div > p:last-child {
  color:
    var(--muted);

  font-size: 14px;

  line-height: 1.8;
}


.services-grid {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 15px;
}


.service-card {
  display: flex;

  gap: 15px;

  background: white;

  padding: 20px;

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

  border-radius: 13px;

  box-shadow:
    var(--shadow-sm);

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


.service-card:hover {
  transform:
    translateY(-4px);

  box-shadow:
    var(--shadow-md);
}


.service-icon {
  flex-shrink: 0;

  width: 46px;
  height: 46px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 10px;

  background:
    var(--green-light);

  font-size: 22px;
}


.service-content h3 {
  color:
    var(--green-900);

  font-family:
    "Plus Jakarta Sans",
    Arial,
    sans-serif;

  font-size: 15px;

  margin-bottom: 5px;
}


.service-content p {
  color:
    var(--muted);

  font-size: 11px;

  line-height: 1.6;

  margin-bottom: 8px;
}


.service-link {
  display: inline-flex;

  align-items: center;

  gap: 5px;

  color:
    var(--green-700);

  font-size: 11px;

  font-weight: 700;

  text-decoration: none;
}


.service-link:hover {
  color:
    var(--green-900);
}


/* =========================================================
   GALLERY
   ========================================================= */

.gallery {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  grid-auto-rows: 210px;

  gap: 15px;
}


.gallery-item {
  overflow: hidden;

  border-radius: 14px;

  background:
    #e2e8f0;

  position: relative;
}


.gallery-item.large {
  grid-row:
    span 2;

  grid-column:
    span 2;
}


.gallery-item.wide {
  grid-column:
    span 2;
}


.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;

  transition:
    transform .5s ease;
}


.gallery-item:hover img,
.gallery-item:hover video {
  transform:
    scale(1.05);
}


.gallery-item::after {
  content: "";

  position: absolute;

  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      to top,
      rgba(0,0,0,.18),
      transparent 45%
    );

  opacity: 0;

  transition:
    .25s ease;
}


.gallery-item:hover::after {
  opacity: 1;
}


/* =========================================================
   DYNAMIC GALLERY
   ========================================================= */

#publicGallery {
  min-height: 100px;
}


#publicGallery .dynamic-gallery-item {
  position: relative;

  overflow: hidden;

  border-radius: 14px;

  background:
    #e2e8f0;
}


#publicGallery .dynamic-gallery-item img,
#publicGallery .dynamic-gallery-item video {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;
}


/* =========================================================
   LOCATION
   ========================================================= */

.location {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 50px;

  align-items: center;
}


.location > div:first-child > p {
  color:
    var(--muted);

  font-size: 14px;

  line-height: 1.8;

  margin-bottom: 14px;
}


.map-placeholder {
  min-height: 330px;

  border-radius: 20px;

  background:
    linear-gradient(
      135deg,
      #dcfce7,
      #f0fdf4
    );

  border:
    1px solid var(--green-light);

  display: flex;

  flex-direction: column;

  align-items: center;
  justify-content: center;

  text-align: center;

  padding: 30px;
}


.map-placeholder span {
  width: 70px;
  height: 70px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: white;

  font-size: 35px;

  margin-bottom: 15px;

  box-shadow:
    var(--shadow-sm);
}


.map-placeholder b {
  color:
    var(--green-900);

  font-family:
    "Plus Jakarta Sans",
    Arial,
    sans-serif;

  font-size: 18px;
}


.map-placeholder small {
  color:
    var(--muted);

  margin-top: 5px;

  font-size: 12px;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
  padding-bottom: 80px;
}


.contact-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 15px;
}


.contact-item {
  display: flex;

  gap: 14px;

  padding: 20px;

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

  border-radius: 12px;

  background: white;

  box-shadow:
    var(--shadow-sm);
}


.contact-icon {
  width: 42px;
  height: 42px;

  flex-shrink: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 9px;

  background:
    var(--green-light);

  font-size: 19px;
}


.contact-item span {
  display: block;

  color:
    var(--muted);

  font-size: 10px;

  margin-bottom: 3px;
}


.contact-item strong {
  display: block;

  color:
    var(--green-900);

  font-size: 13px;

  line-height: 1.5;
}


.contact-item p {
  color:
    var(--muted);

  font-size: 11px;

  line-height: 1.6;

  margin-top: 3px;
}


.contact-item small {
  color:
    var(--muted);

  font-size: 10px;
}


.social-contact {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  margin-top: 20px;

  padding: 20px;

  background:
    var(--green-soft);

  border:
    1px solid var(--green-light);

  border-radius: 12px;
}


.social-contact > span {
  color:
    var(--green-900);

  font-size: 12px;

  font-weight: 700;
}


.social-links {
  display: flex;

  flex-wrap: wrap;

  gap: 10px;
}


.social-links a {
  color:
    var(--green-700);

  font-size: 12px;

  font-weight: 600;

  text-decoration: none;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  color:
    rgba(255,255,255,.72);

  background:
    var(--green-950);

  padding-top: 55px;
}


.footer-grid {
  display: grid;

  grid-template-columns:
    1.4fr 1fr 1fr;

  gap: 50px;

  padding-bottom: 45px;
}


.footer-brand {
  color: white;

  font-family:
    "Plus Jakarta Sans",
    Arial,
    sans-serif;

  font-size: 18px;

  font-weight: 800;

  margin-bottom: 10px;
}


.footer-grid > div:first-child p {
  font-size: 12px;

  line-height: 1.8;
}


.footer-grid h4 {
  color: white;

  font-size: 13px;

  margin-bottom: 13px;
}


.footer-grid a {
  display: block;

  color:
    rgba(255,255,255,.65);

  text-decoration: none;

  font-size: 11px;

  margin-bottom: 8px;

  transition:
    color .2s ease;
}


.footer-grid a:hover {
  color: white;
}


.footer-bottom {
  min-height: 65px;

  border-top:
    1px solid
    rgba(255,255,255,.1);

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  font-size: 10px;
}


.footer-bottom a {
  color:
    rgba(255,255,255,.7);

  text-decoration: none;
}


.footer-bottom a:hover {
  color: white;
}


/* =========================================================
   LOADING / EMPTY
   ========================================================= */

.dynamic-loading {
  padding: 30px;

  text-align: center;

  color:
    var(--muted);
}


.dynamic-loading::before {
  content: "⏳ ";

}


.dynamic-empty::before {
  content: "📭";

  display: block;

  font-size: 28px;

  margin-bottom: 8px;
}


.empty-state {
  width: 100%;

  padding: 30px;

  text-align: center;

  color:
    var(--muted);

  background:
    #f8fafc;

  border:
    1px dashed #cbd5e1;

  border-radius: 12px;
}


/* =========================================================
   SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {
  width: 9px;
}


::-webkit-scrollbar-track {
  background:
    #f1f5f9;
}


::-webkit-scrollbar-thumb {
  background:
    #94a3b8;

  border-radius: 20px;
}


::-webkit-scrollbar-thumb:hover {
  background:
    var(--green-700);
}


/* =========================================================
   SELECTION
   ========================================================= */

::selection {
  background:
    var(--green-light);

  color:
    var(--green-950);
}


/* =========================================================
   LARGE TABLET
   ========================================================= */

@media (max-width: 1100px) {

  .navbar {
    width:
      calc(100% - 40px);

    gap: 20px;
  }


  .nav-links {
    gap: 0;
  }


  .nav-links a {
    padding:
      0 8px;

    font-size: 12px;
  }


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


  .stats-grid {
    grid-template-columns:
      repeat(3, 1fr);

    row-gap: 20px;
  }


  .stats-grid > div:nth-child(3) {
    border-right: none;
  }


  .stats-grid > div:nth-child(4) {
    padding-left: 0;
  }


  .cards-4 {
    grid-template-columns:
      repeat(2, 1fr);
  }


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


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


  .gallery-item.large {
    grid-column:
      span 2;
  }

}


/* =========================================================
   TABLET / MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 900px) {

  .site-header {
    height: 70px;
  }


  .navbar {
    width:
      calc(100% - 30px);

    height: 70px;

    gap: 15px;
  }


  .menu-toggle {
    display: flex;
  }


  .nav-links {

    position: absolute;

    top: 70px;

    left: 15px;
    right: 15px;

    width: auto;

    height: auto;

    margin: 0;

    padding: 10px;

    display: flex;

    flex-direction: column;

    align-items: stretch;

    justify-content: flex-start;

    gap: 3px;

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

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

    border-radius:
      0 0 15px 15px;

    box-shadow:
      0 15px 35px
      rgba(15,23,42,.12);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform:
      translateY(-10px);

    transition:
      opacity .25s ease,
      visibility .25s ease,
      transform .25s ease;
  }


  .nav-links.open {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
      translateY(0);
  }


  .nav-links a {

    width: 100%;

    height: 46px;

    justify-content: flex-start;

    padding:
      0 15px;

    font-size: 14px;

    border-radius: 9px;
  }


  .nav-links a:hover,
  .nav-links a.active {

    background:
      var(--green-soft);
  }


  .nav-links a.active::after {
    display: none;
  }


  body.menu-open {
    overflow: hidden;
  }


  body {
    padding-top: 70px;
  }


  .hero-content {

    margin-left: auto;

    margin-right: auto;

    padding-top: 70px;
  }


  .split,
  .split.reverse {

    grid-template-columns:
      1fr;

    gap: 40px;
  }


  .split.reverse .section-copy {
    order: -1;
  }


  .digital-box {
    grid-template-columns:
      1fr;
  }


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


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


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

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

  .container {
    width:
      calc(100% - 30px);
  }


  .site-header {
    height: 64px;
  }


  .navbar {
    width:
      calc(100% - 24px);

    height: 64px;

    gap: 10px;
  }


  .brand {
    gap: 8px;
  }


  .brand-mark {
    width: 40px;
    height: 40px;
  }


  .brand strong {
    font-size: 13px;

    letter-spacing: .25px;
  }


  .brand small {
    font-size: 9px;

    margin-top: 3px;
  }


  .menu-toggle {
    width: 40px;
    height: 40px;

    font-size: 19px;
  }


  .nav-links {
    top: 64px;

    left: 12px;
    right: 12px;

    padding: 8px;
  }


  .nav-links a {
    height: 45px;

    font-size: 14px;

    padding:
      0 14px;
  }


  body {
    padding-top: 64px;
  }


  /* -------------------------------------------------------
     HERO
     ------------------------------------------------------- */

  .hero {
    min-height: 620px;
  }


  .hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(5,46,22,.91),
        rgba(5,46,22,.65)
      );
  }


  .hero-content {
    padding-top: 50px;

    margin-left: auto;

    margin-right: auto;
  }


  .hero h1 {
    font-size: 47px;

    letter-spacing: -2px;
  }


  .hero-copy {
    font-size: 14px;
  }


  .hero-actions {
    flex-direction: column;

    align-items: stretch;

    max-width: 240px;
  }


  .hero-actions .btn {
    width: 100%;
  }


  .scroll-cue {
    right: 18px;

    bottom: 18px;
  }


  /* -------------------------------------------------------
     SECTION
     ------------------------------------------------------- */

  .section {
    padding:
      70px 0;
  }


  .section-heading {
    display: block;

    margin-bottom: 30px;
  }


  .section-heading > p {
    margin-top: 10px;
  }


  .section-heading h2,
  .section-copy h2,
  .digital-box h2,
  .location h2 {
    font-size: 29px;
  }


  /* -------------------------------------------------------
     STATISTICS
     ------------------------------------------------------- */

  .stats-wrap {
    margin-top: -35px;
  }


  .stats-card {
    padding:
      22px 18px;
  }


  .stats-grid {
    grid-template-columns:
      repeat(2, 1fr);

    row-gap: 20px;
  }


  .stats-grid > div {
    padding:
      5px 10px;

    border-right:
      1px solid var(--border);
  }


  .stats-grid > div:nth-child(even) {
    border-right: none;
  }


  .stats-grid > div:nth-child(3),
  .stats-grid > div:nth-child(5) {
    padding-left: 0;
  }


  .stats-grid strong {
    font-size: 23px;
  }


  /* -------------------------------------------------------
     CARDS
     ------------------------------------------------------- */

  .cards-4 {
    grid-template-columns:
      1fr;
  }


  .people-grid {
    grid-template-columns:
      repeat(2, 1fr);

    gap: 12px;
  }


  .person-card,
  .dynamic-person-card {
    padding: 10px;
  }


  .person-photo {
    height: 160px;
  }


  .person-card h3,
  .dynamic-person-card h3 {
    font-size: 14px;
  }


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


  /* -------------------------------------------------------
     GOVERNMENT
     ------------------------------------------------------- */

  .portrait-placeholder {
    min-height: 330px;
  }


  .portrait-placeholder img {
    min-height: 330px;
  }


  .mini-structure {
    grid-template-columns:
      1fr;

    gap: 4px;
  }


  /* -------------------------------------------------------
     DIGITAL SERVICES
     ------------------------------------------------------- */

  .digital {
    padding-top: 60px;

    padding-bottom: 60px;
  }


  .digital-box {
    padding:
      25px 20px;

    border-radius: 16px;
  }


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


  .service-card {
    padding: 15px;
  }


  /* -------------------------------------------------------
     GALLERY
     ------------------------------------------------------- */

  .gallery {
    grid-template-columns:
      repeat(2, 1fr);

    grid-auto-rows: 150px;

    gap: 10px;
  }


  .gallery-item.large {
    grid-row:
      span 2;

    grid-column:
      span 2;
  }


  .gallery-item.wide {
    grid-column:
      span 2;
  }


  .gallery-item img,
  .gallery-item video {
    width: 100%;
    height: 100%;

    object-fit: cover;
  }


  /* -------------------------------------------------------
     LOCATION
     ------------------------------------------------------- */

  .location {
    grid-template-columns:
      1fr;

    gap: 30px;
  }


  .map-placeholder {
    min-height: 260px;
  }


  /* -------------------------------------------------------
     CONTACT
     ------------------------------------------------------- */

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


  .social-contact {
    flex-direction: column;

    align-items: flex-start;
  }


  /* -------------------------------------------------------
     FOOTER
     ------------------------------------------------------- */

  .footer-grid {
    grid-template-columns:
      1fr;

    gap: 30px;
  }


  .footer-bottom {
    flex-direction: column;

    justify-content: center;

    text-align: center;

    padding:
      20px 0;
  }


  /* -------------------------------------------------------
     MODAL
     ------------------------------------------------------- */

  .potential-modal {
    padding: 10px;
  }


  .potential-modal-box {
    border-radius: 14px;

    max-height: 95vh;
  }


  .potential-modal-media {
    max-height: 330px;
  }


  .potential-modal-media img,
  .potential-modal-media video {
    max-height: 330px;
  }


  .potential-modal-content {
    padding: 20px;
  }


  .potential-modal-content h2 {
    font-size: 24px;
  }


  .potential-modal-content p {
    font-size: 13px;
  }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

  .container {
    width:
      calc(100% - 24px);
  }


  .navbar {
    width:
      calc(100% - 20px);
  }


  .brand-mark {
    width: 37px;
    height: 37px;
  }


  .brand strong {
    font-size: 12px;
  }


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


  .menu-toggle {
    width: 38px;
    height: 38px;

    font-size: 18px;
  }


  .hero h1 {
    font-size: 42px;
  }


  .hero-content {
    padding-top: 45px;
  }


  .section {
    padding:
      55px 0;
  }


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


  .person-photo {
    height: 220px;
  }


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


  .gallery-item.large,
  .gallery-item.wide {
    grid-column:
      span 1;
  }


  .gallery-item.large {
    grid-row:
      span 1;
  }


  .nav-links a {
    height: 46px;

    font-size: 14px;
  }

}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

a:focus-visible,
button:focus-visible {

  outline:
    3px solid
    rgba(34,197,94,.4);

  outline-offset: 3px;
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

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

  html {
    scroll-behavior:
      auto;
  }


  *,
  *::before,
  *::after {

    animation-duration:
      .01ms !important;

    animation-iteration-count:
      1 !important;

    transition-duration:
      .01ms !important;
  }

}