:root {
  --green-950: #123427;
  --green-800: #1f6848;
  --green-600: #2f9b63;
  --green-100: #e8f6ed;
  --water-800: #0d6173;
  --water-600: #1489a2;
  --water-100: #e8f7fb;
  --rice-300: #ffd36a;
  --rice-100: #fbf7e8;
  --ink: #1c2b24;
  --muted: #66766c;
  --line: #d9e7df;
  --soft: #f6faf7;
  --white: #ffffff;
  --shadow: 0 18px 42px rgba(18, 52, 39, 0.12);
  --shadow-hover: 0 24px 56px rgba(18, 52, 39, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

section[id],
.chart-card[id],
.table-card[id] {
  scroll-margin-top: 88px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

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

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

button,
input,
textarea {
  font: inherit;
}

code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--green-100);
  color: var(--green-950);
  font-weight: 800;
}

.page-header code,
.hero code {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--green-950);
  color: var(--white);
  transform: translateY(-140%);
}

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

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-header {
  --scroll-progress: 0;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(217, 231, 223, 0.8);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.2s ease;
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-600), var(--water-600), var(--rice-300));
  content: "";
  pointer-events: none;
  transform: scaleX(var(--scroll-progress));
  transform-origin: left center;
  transition: transform 0.08s linear;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 28px rgba(18, 52, 39, 0.08);
}

.navbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  color: var(--green-950);
  font-weight: 900;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green-800), var(--water-800));
  color: var(--white);
}

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

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green-950);
  background: var(--green-100);
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--green-950);
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--green-950);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 47, 35, 0.9), rgba(10, 47, 35, 0.62) 54%, rgba(13, 97, 115, 0.28)),
    linear-gradient(180deg, rgba(4, 30, 24, 0.06), rgba(4, 30, 24, 0.44));
}

.hero-media,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-media {
  overflow: hidden;
}

.hero-slide {
  background-position: var(--hero-position, center);
  background-size: cover;
  opacity: 0;
  transform: scale(1.14);
  transform-origin: 12% 50%;
  filter: saturate(1.06) contrast(1.03);
  transition: opacity 1.2s ease;
  will-change: opacity, transform;
}

.hero-slide.is-active {
  opacity: 1;
  animation: slowZoom 7s linear both;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  gap: 28px;
  align-items: center;
  min-height: 76vh;
  padding: 76px 0 88px;
}

.hero-slider-ui {
  position: absolute;
  bottom: 24px;
  left: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-slider-label,
.hero-dots {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(6, 45, 35, 0.65);
  box-shadow: 0 10px 24px rgba(4, 30, 24, 0.2);
  backdrop-filter: blur(10px);
}

.hero-slider-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-slider-label i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rice-300);
  box-shadow: 0 0 0 4px rgba(255, 211, 106, 0.14);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 999px;
  pointer-events: auto;
}

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.48);
  transition: width 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.hero-dot:hover,
.hero-dot:focus-visible {
  transform: scale(1.18);
  background: var(--white);
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 3px;
}

.hero-dot.is-active {
  width: 28px;
  background: var(--rice-300);
}

.hero-copy h1,
.page-header h1 {
  max-width: 920px;
  margin: 0;
  font-size: 4rem;
  line-height: 1.06;
}

.hero-copy p:not(.eyebrow),
.page-header p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
}

.hero-actions,
.page-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 28px;
}

.hero-card,
.content-panel,
.data-card,
.timeline-card,
.potential-item,
.contact-card,
.qr-panel,
.chart-card,
.table-card,
.quick-card,
.stat-card,
.info-banner,
.product-highlight,
.section-intro,
.cta-band,
.gallery-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 24px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.hero-card h2,
.content-panel h2,
.data-card h2,
.timeline-card h2,
.potential-item h2,
.contact-card h2,
.chart-card h2,
.table-card h2,
.info-banner h2,
.product-highlight h2,
.section-intro h2,
.cta-band h2,
.section-head h2 {
  margin: 0 0 12px;
  color: var(--green-950);
  font-size: 2.05rem;
  line-height: 1.18;
}

.data-card h2,
.timeline-card h2,
.potential-item h2,
.contact-card h2 {
  font-size: 1.25rem;
}

.section-head p:not(.eyebrow),
.section-copy p,
.content-panel p,
.data-card p,
.timeline-card p,
.potential-item p,
.contact-card p,
.qr-panel p,
.info-banner p,
.product-highlight p,
.section-intro p,
.cta-band p {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 900;
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--white);
  color: var(--green-950);
}

.btn-primary.dark {
  background: var(--green-800);
  color: var(--white);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.btn-ghost {
  border-color: var(--line);
  background: var(--white);
  color: var(--green-950);
}

.btn.full {
  width: 100%;
}

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

.section {
  padding: 72px 0;
}

.section-compact {
  padding: 34px 0;
}

.section-soft {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--white), var(--water-100));
}

.section-showcase {
  background:
    linear-gradient(180deg, rgba(246, 250, 247, 0.65), var(--white)),
    radial-gradient(circle at top right, rgba(20, 137, 162, 0.12), transparent 34%);
}

.section-head {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-head.left {
  margin-left: 0;
  text-align: left;
}

.eyebrow,
.meta,
.tag {
  margin: 0 0 10px;
  color: var(--water-800);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--water-100);
}

.stat-grid,
.stat-strip,
.monitor-summary,
.quick-grid,
.feature-grid,
.card-grid,
.gallery-grid,
.contact-grid {
  display: grid;
  gap: 16px;
}

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

.stat-grid div,
.stat-card,
.monitor-summary article {
  padding: 16px;
  border-radius: var(--radius);
  background: var(--soft);
}

.stat-grid strong,
.stat-card strong,
.monitor-summary strong,
.highlight-number strong {
  display: block;
  color: var(--green-950);
  font-size: 2rem;
  line-height: 1;
}

.stat-grid span,
.stat-card span,
.monitor-summary p,
.highlight-number span {
  display: block;
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.stat-grid small,
.stat-card small,
.monitor-summary small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

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

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

.quick-card {
  padding: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--water-800);
  font-size: 0.82rem;
  font-weight: 900;
}

.quick-card strong {
  display: block;
  color: var(--green-950);
  font-size: 1.05rem;
  line-height: 1.3;
}

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

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

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

.feature-card,
.data-card,
.gallery-card {
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-card:hover,
.data-card:hover,
.contact-card:hover,
.quick-card:hover,
.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.feature-card img,
.data-card img,
.timeline-card img,
.gallery-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--soft);
}

.feature-card div,
.data-card div,
.content-panel {
  padding: 20px;
}

.feature-card span {
  color: var(--water-800);
  font-weight: 900;
}

.feature-card h3 {
  margin: 8px 0;
  color: var(--green-950);
  font-size: 1.15rem;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.data-card.compact img {
  aspect-ratio: 16 / 9;
}

.umkm-section {
  background:
    radial-gradient(circle at 8% 12%, rgba(47, 155, 99, 0.1), transparent 24%),
    radial-gradient(circle at 92% 88%, rgba(20, 137, 162, 0.1), transparent 26%),
    var(--soft);
}

.umkm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.umkm-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(18, 52, 39, 0.1);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(18, 52, 39, 0.1);
  flex-direction: column;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.umkm-card:hover {
  border-color: rgba(47, 155, 99, 0.34);
  box-shadow: 0 28px 62px rgba(18, 52, 39, 0.17);
  transform: translateY(-6px);
}

.umkm-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--green-100);
}

.umkm-card-media::after {
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(180deg, transparent, rgba(7, 25, 19, 0.62));
  content: "";
  pointer-events: none;
}

.umkm-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.umkm-card:hover .umkm-card-media img {
  transform: scale(1.045);
}

.umkm-status,
.umkm-location-code {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
}

.umkm-status {
  top: 14px;
  right: 14px;
  gap: 5px;
  background: rgba(232, 246, 237, 0.94);
  color: var(--green-800);
  box-shadow: 0 8px 20px rgba(7, 25, 19, 0.14);
}

.umkm-status::before {
  content: "✓";
}

.umkm-location-code {
  bottom: 14px;
  left: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 25, 19, 0.65);
  color: var(--white);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  letter-spacing: 0.04em;
}

.umkm-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
}

.umkm-card-content .tag {
  align-self: flex-start;
}

.umkm-card-content h2 {
  display: flex;
  align-items: center;
  min-height: 2.45em;
  margin: 0 0 16px;
  color: var(--green-950);
  font-size: 1.35rem;
  line-height: 1.22;
}

.umkm-hours {
  display: grid;
  gap: 3px;
  padding: 13px 14px;
  border: 1px solid rgba(20, 137, 162, 0.16);
  border-radius: 13px;
  background: linear-gradient(135deg, var(--green-100), var(--water-100));
}

.umkm-hours span,
.umkm-address > span {
  color: var(--muted);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.umkm-hours strong {
  color: var(--green-950);
  font-size: 0.88rem;
}

.umkm-address {
  min-height: 120px;
  margin: 16px 0;
  padding: 0 2px;
  font-style: normal;
}

.umkm-address p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.umkm-record {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: auto 0 0;
}

.umkm-record div {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--soft);
}

.umkm-record dt {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.umkm-record dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.35;
}

.umkm-map-button {
  width: 100%;
  margin-top: 16px;
}

.gallery-card {
  margin: 0;
}

.gallery-media {
  position: relative;
  overflow: hidden;
  background: var(--soft);
}

.gallery-media img {
  display: block;
  transition: transform 0.35s ease;
}

.gallery-card:hover .gallery-media img {
  transform: scale(1.035);
}

.gallery-stage {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(7, 56, 45, 0.84);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(4, 42, 34, 0.18);
  backdrop-filter: blur(8px);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gallery-card figcaption {
  padding: 14px 16px 16px;
  color: var(--green-950);
  font-weight: 800;
}

.split-layout,
.contact-layout,
.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 24px;
  align-items: start;
}

.section-copy {
  max-width: 680px;
}

.section-copy .btn {
  margin-top: 14px;
}

.program-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 5% 12%, rgba(47, 155, 99, 0.14), transparent 30%),
    radial-gradient(circle at 94% 88%, rgba(20, 137, 162, 0.16), transparent 34%),
    linear-gradient(135deg, #f8fcf8, #edf8fb);
}

.program-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 34px;
  align-items: center;
}

.program-copy {
  max-width: 520px;
}

.program-copy h2 {
  margin: 0 0 16px;
  color: var(--green-950);
  font-size: 2.55rem;
  line-height: 1.12;
}

.program-copy > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.78;
}

.program-actions {
  margin-top: 24px;
}

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

.program-card {
  position: relative;
  min-height: 196px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(31, 104, 72, 0.14);
  border-radius: calc(var(--radius) + 4px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px rgba(18, 52, 39, 0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.program-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-600), var(--water-600));
  content: "";
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 38px rgba(18, 52, 39, 0.14);
}

.program-card h3 {
  margin: 18px 0 8px;
  color: var(--green-950);
  font-size: 1.12rem;
  line-height: 1.25;
}

.program-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.62;
}

.program-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.program-card-primary {
  border-color: transparent;
  background: linear-gradient(145deg, var(--green-950), var(--water-800));
}

.program-card-primary::before {
  background: linear-gradient(90deg, var(--rice-300), rgba(255, 255, 255, 0.72));
}

.program-card-primary h3,
.program-card-primary p {
  color: var(--white);
}

.program-card-primary p {
  color: rgba(255, 255, 255, 0.78);
}

.program-card-primary .program-badge {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

/* Profil desa */
.page-header.profile-page-header {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(18, 52, 39, 0.96), rgba(13, 97, 115, 0.7)),
    url("../img/Pemandangan waru Barat/2-hero.jpg") center 54% / cover no-repeat;
}

.profile-page-header::after {
  position: absolute;
  top: -170px;
  right: -110px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 48px rgba(255, 255, 255, 0.035),
    0 0 0 96px rgba(255, 255, 255, 0.025);
  content: "";
  pointer-events: none;
}

.profile-page-header .page-header-inner {
  position: relative;
  z-index: 1;
}

.profile-page-header .page-header-inner > div:first-child {
  max-width: 810px;
}

.profile-archive-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-top: 12px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.profile-facts-section {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 8% 10%, rgba(47, 155, 99, 0.1), transparent 28%),
    linear-gradient(180deg, var(--white), var(--soft));
}

.profile-fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.profile-fact-card {
  position: relative;
  min-width: 0;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px rgba(18, 52, 39, 0.08);
}

.profile-fact-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-600), var(--water-600));
  content: "";
}

.profile-fact-card strong,
.profile-fact-card span,
.profile-fact-card small {
  display: block;
}

.profile-fact-card strong {
  color: var(--green-950);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1.05;
}

.profile-fact-card span {
  margin-top: 9px;
  color: var(--green-800);
  font-weight: 900;
}

.profile-fact-card small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.profile-intro-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 24px;
  align-items: stretch;
}

.profile-identity-card {
  height: 100%;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(232, 246, 237, 0.7), rgba(255, 255, 255, 0.96)),
    var(--white);
}

.profile-identity-card .info-list {
  margin-top: 22px;
}

.profile-identity-card dd small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.4;
}

.profile-overview {
  position: relative;
  padding: 30px;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(145deg, var(--green-950), var(--water-800));
  box-shadow: var(--shadow);
}

.profile-overview::after {
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 280px;
  height: 280px;
  border: 52px solid rgba(255, 255, 255, 0.045);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

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

.profile-overview .eyebrow,
.profile-bumdes-copy .eyebrow,
.profile-source-note .eyebrow {
  color: var(--rice-300);
}

.profile-overview h2,
.profile-bumdes-copy h2,
.profile-source-note h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 2.1rem;
  line-height: 1.18;
}

.profile-overview > p:not(.eyebrow),
.profile-bumdes-copy > p:not(.eyebrow),
.profile-source-note > div > p:not(.eyebrow) {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

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

.profile-principles div {
  min-width: 0;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
}

.profile-principles span,
.profile-principles strong,
.profile-principles small {
  display: block;
}

.profile-principles span {
  color: var(--rice-300);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-principles strong {
  margin-top: 7px;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.35;
}

.profile-principles small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.profile-story-section {
  position: relative;
  overflow: hidden;
}

.profile-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.profile-story-card {
  position: relative;
  min-width: 0;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  background: var(--white);
  box-shadow: 0 14px 32px rgba(18, 52, 39, 0.08);
}

.profile-story-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--green-600), var(--water-600));
  content: "";
}

.profile-card-index {
  position: absolute;
  top: 12px;
  right: 18px;
  color: rgba(31, 104, 72, 0.08);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
}

.profile-story-card h3,
.profile-boundary-heading h3,
.profile-sector-card h3,
.innovation-card h3 {
  margin: 0 0 10px;
  color: var(--green-950);
  font-size: 1.2rem;
  line-height: 1.3;
}

.profile-story-card > p:last-child,
.profile-sector-card p,
.innovation-card p {
  margin: 0;
  color: var(--muted);
}

.profile-boundary-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 20px;
  padding: 28px;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(135deg, var(--green-950), var(--water-800));
  box-shadow: var(--shadow);
}

.profile-boundary-heading .eyebrow {
  color: var(--rice-300);
}

.profile-boundary-heading h3 {
  margin-bottom: 0;
  color: var(--white);
  font-size: 1.55rem;
}

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

.boundary-grid article {
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
}

.boundary-grid span,
.boundary-grid strong {
  display: block;
}

.boundary-grid span {
  color: var(--rice-300);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.boundary-grid strong {
  margin-top: 6px;
  color: var(--white);
  font-size: 0.9rem;
  line-height: 1.45;
}

.profile-demography-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 30px;
  align-items: stretch;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(circle at 100% 0, rgba(20, 137, 162, 0.11), transparent 32%),
    linear-gradient(145deg, var(--white), var(--soft));
  box-shadow: var(--shadow);
}

.profile-demography-copy h2 {
  margin: 0 0 14px;
  color: var(--green-950);
  font-size: 2.15rem;
  line-height: 1.18;
}

.profile-demography-copy > p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
}

.livelihood-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.livelihood-list span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid rgba(31, 104, 72, 0.14);
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 0.78rem;
  font-weight: 900;
}

.profile-plan-note {
  margin-top: 22px;
  padding: 17px 18px;
  border: 1px solid rgba(196, 150, 30, 0.2);
  border-left: 5px solid var(--rice-300);
  border-radius: var(--radius);
  background: var(--rice-100);
}

.profile-plan-note strong {
  display: block;
  color: var(--green-950);
  font-size: 0.9rem;
}

.profile-plan-note p {
  margin: 6px 0 0;
  color: #5f685f;
  font-size: 0.82rem;
  line-height: 1.58;
}

.profile-demography-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.profile-demography-stats article {
  display: flex;
  min-width: 0;
  min-height: 190px;
  padding: 22px;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  background: var(--white);
  box-shadow: 0 12px 26px rgba(18, 52, 39, 0.07);
}

.profile-demography-stats article:first-child {
  border-color: transparent;
  background: linear-gradient(145deg, var(--green-950), var(--water-800));
}

.profile-demography-stats strong,
.profile-demography-stats span,
.profile-demography-stats small {
  display: block;
}

.profile-demography-stats strong {
  color: var(--green-950);
  font-size: clamp(1.8rem, 3.6vw, 2.55rem);
  line-height: 1.05;
}

.profile-demography-stats span {
  margin-top: 11px;
  color: var(--green-800);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.35;
}

.profile-demography-stats small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.profile-demography-stats article:first-child strong,
.profile-demography-stats article:first-child span {
  color: var(--white);
}

.profile-demography-stats article:first-child small {
  color: rgba(255, 255, 255, 0.72);
}

.profile-sector-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.profile-sector-card {
  position: relative;
  min-width: 0;
  min-height: 100%;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  background: var(--white);
  box-shadow: 0 13px 30px rgba(18, 52, 39, 0.08);
}

.profile-sector-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-600), var(--water-600));
  content: "";
}

.profile-sector-card > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--water-100);
  color: var(--water-800);
  font-size: 0.76rem;
  font-weight: 900;
}

.profile-sector-card p {
  font-size: 0.88rem;
  line-height: 1.62;
}

.profile-bumdes-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 30px;
  align-items: center;
  padding: 34px;
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(circle at 95% 20%, rgba(255, 211, 106, 0.14), transparent 30%),
    linear-gradient(135deg, var(--green-950), var(--water-800));
  box-shadow: var(--shadow-hover);
}

.profile-bumdes-panel > * {
  position: relative;
  z-index: 1;
}

.profile-unit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.profile-unit-grid div {
  display: flex;
  min-width: 0;
  min-height: 72px;
  padding: 15px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
}

.profile-unit-grid span {
  position: relative;
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border: 3px solid var(--green-950);
  border-radius: 50%;
  background: var(--rice-300);
  box-shadow: 0 0 0 3px rgba(255, 211, 106, 0.22);
}

.profile-unit-grid strong {
  color: var(--white);
  font-size: 0.88rem;
  line-height: 1.4;
}

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

.innovation-card {
  display: flex;
  min-width: 0;
  min-height: 148px;
  padding: 22px;
  align-items: flex-start;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  background: var(--white);
  box-shadow: 0 13px 30px rgba(18, 52, 39, 0.08);
}

.innovation-card > span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--green-800), var(--water-800));
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 900;
}

.innovation-card > div {
  min-width: 0;
}

.innovation-card p {
  font-size: 0.86rem;
  line-height: 1.58;
}

.profile-source-section {
  background:
    radial-gradient(circle at 0 100%, rgba(47, 155, 99, 0.1), transparent 28%),
    var(--white);
}

.profile-source-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 30px;
  overflow: hidden;
  border-radius: calc(var(--radius) + 5px);
  background: linear-gradient(135deg, var(--green-950), #164f50 62%, var(--water-800));
  box-shadow: var(--shadow);
}

.profile-source-note > div:first-child {
  max-width: 760px;
}

.profile-source-note .button-row {
  flex-wrap: nowrap;
}

.profile-page-header .btn:focus-visible,
.profile-source-note .btn:focus-visible {
  outline: 3px solid var(--rice-300);
  outline-offset: 3px;
}

.page-header {
  --page-header-image: linear-gradient(135deg, var(--green-950), var(--water-800));
  --page-header-position: center;
  padding: 72px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 43, 33, 0.94) 0%, rgba(7, 43, 33, 0.8) 50%, rgba(13, 97, 115, 0.42) 100%),
    var(--page-header-image) var(--page-header-position) / cover no-repeat;
  background-color: var(--green-950);
}

.page-header-umkm {
  --page-header-image: url("../img/UMKM/AIR ISI ULANG HK.jpg");
  --page-header-position: 50% 54%;
}

.page-header-documentation {
  --page-header-image: url("../img/Foto Bersama Kelompok KKN 19/e154a06a-510a-47d5-b3bd-819aac392732.jpg");
  --page-header-position: 50% 47%;
}

.page-header-potential {
  --page-header-image: url("../img/Survei lokasi/ladang-tembakau-web.jpg");
  --page-header-position: 50% 58%;
}

.page-header-monitoring {
  --page-header-image: url("../img/Monitoring dan penebaran bibit lele/monitoring-padi-web.jpg");
  --page-header-position: 50% 56%;
}

.page-header-contact {
  --page-header-image: url("../img/Foto Bersama Kelompok KKN 19/e154a06a-510a-47d5-b3bd-819aac392732.jpg");
  --page-header-position: 56% 47%;
}

.page-header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}

.page-header-inner > div:first-child > * {
  animation: pageHeaderTextIn 0.64s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-header-inner > div:first-child > :nth-child(2) {
  animation-delay: 70ms;
}

.page-header-inner > div:first-child > :nth-child(3) {
  animation-delay: 140ms;
}

.page-header-inner > div:first-child > :nth-child(n + 4) {
  animation-delay: 200ms;
}

.page-header .page-actions {
  animation: pageHeaderActionsIn 0.68s 150ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes pageHeaderTextIn {
  from {
    opacity: 0;
    transform: translate3d(-24px, 12px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes pageHeaderActionsIn {
  from {
    opacity: 0;
    transform: translate3d(24px, 12px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.info-banner,
.product-highlight,
.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 22px;
}

.section-intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-bottom: 28px;
  padding: 24px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(232, 246, 237, 0.72)),
    var(--white);
}

.section-intro::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--green-600), var(--water-600));
}

.section-intro.compact {
  margin-bottom: 0;
}

.section-intro h2,
.section-intro p {
  max-width: 760px;
}

.section-intro p {
  margin-bottom: 0;
}

.summary-badge {
  display: grid;
  place-items: center;
  width: 144px;
  min-height: 126px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--green-950);
  color: var(--white);
  text-align: center;
}

.summary-badge.water {
  background: var(--water-800);
}

.summary-badge strong {
  display: block;
  color: var(--white);
  font-size: 2.6rem;
  line-height: 1;
}

.summary-badge span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.25;
}

.product-highlight {
  background: linear-gradient(135deg, var(--rice-100), var(--white));
}

.highlight-number {
  display: grid;
  place-items: center;
  width: 132px;
  min-height: 132px;
  border-radius: var(--radius);
  background: var(--green-950);
  color: var(--white);
  text-align: center;
}

.highlight-number strong,
.highlight-number span {
  color: var(--white);
}

.info-list,
.mini-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.info-list div,
.mini-list div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-weight: 800;
}

dd {
  margin: 0;
  color: var(--green-950);
  font-weight: 900;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green-600);
  box-shadow: 0 0 0 4px var(--green-100);
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 16px;
  width: 2px;
  background: var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
}

.timeline-dot {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  border: 7px solid var(--green-100);
  border-radius: 50%;
  background: var(--green-800);
}

.timeline-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  overflow: hidden;
}

.timeline-card div {
  padding: 20px;
}

.map-section-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}

.map-section-intro > div:first-child {
  width: 100%;
  min-width: 0;
  max-width: 720px;
}

.map-section-intro h2 {
  margin: 0 0 10px;
  color: var(--green-950);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
}

.map-section-intro > div:first-child > p:last-child {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.map-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(108px, 1fr));
  gap: 9px;
  min-width: min(100%, 390px);
}

.map-summary span {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
  box-shadow: 0 10px 24px rgba(11, 55, 40, 0.06);
}

.map-summary strong {
  display: block;
  margin-bottom: 2px;
  color: var(--green-950);
  font-size: 1.35rem;
  line-height: 1;
}

.map-layout-live {
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.92fr);
}

.map-layout-live > *,
.map-location-item > div {
  min-width: 0;
}

.village-map {
  position: sticky;
  top: 96px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.village-map-frame {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(47, 155, 99, 0.18), rgba(20, 137, 162, 0.16)),
    var(--green-100);
}

.village-map-frame iframe {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.82), transparent 32%),
    linear-gradient(135deg, var(--green-100), var(--water-100));
  color: var(--green-950);
  text-align: center;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  pointer-events: none;
}

.map-loading span {
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border: 4px solid rgba(31, 104, 72, 0.2);
  border-top-color: var(--green-800);
  border-radius: 50%;
  animation: mapLoadingSpin 0.8s linear infinite;
}

.map-loading strong,
.map-loading small {
  display: block;
}

.map-loading small {
  margin-top: 4px;
  color: var(--muted);
}

.village-map-frame.is-loaded .map-loading {
  visibility: hidden;
  opacity: 0;
}

.map-caption {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
}

.map-caption .eyebrow {
  margin-bottom: 7px;
}

.map-caption h2 {
  margin: 0 0 6px;
  color: var(--green-950);
  font-size: 1.65rem;
  line-height: 1.1;
}

.map-caption > div > p:last-child {
  margin: 0;
  color: var(--muted);
}

.map-caption .btn {
  flex: 0 0 auto;
}

.map-reference {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  margin: 0 22px 22px;
  padding: 14px 16px;
  border: 1px solid rgba(20, 137, 162, 0.18);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green-100), var(--water-100));
}

.map-reference span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.map-reference strong {
  justify-self: end;
  color: var(--green-950);
  font-size: 0.86rem;
}

.map-reference p {
  grid-column: 1 / -1;
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.map-attribution {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 2px;
  color: var(--water-800);
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(13, 97, 115, 0.28);
  text-underline-offset: 3px;
}

.map-attribution:hover,
.map-attribution:focus-visible {
  color: var(--green-800);
}

.map-directory {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  background:
    radial-gradient(circle at 100% 0, rgba(20, 137, 162, 0.1), transparent 32%),
    var(--white);
  box-shadow: var(--shadow);
}

.map-directory-head {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.map-directory-head h2 {
  margin: 0 0 8px;
  overflow-wrap: anywhere;
  color: var(--green-950);
  font-size: 1.65rem;
  line-height: 1.12;
}

.map-directory-head > p:last-child {
  margin: 0;
  color: var(--muted);
}

.map-location-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.map-location-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(246, 251, 248, 0.88);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.map-location-item:hover {
  transform: translateY(-2px);
  border-color: rgba(39, 138, 89, 0.38);
  box-shadow: 0 14px 28px rgba(11, 55, 40, 0.08);
}

.map-location-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--green-800);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
}

.map-location-item .tag {
  margin-bottom: 6px;
}

.map-location-item h3 {
  margin: 0 0 7px;
  overflow-wrap: anywhere;
  color: var(--green-950);
  font-size: 1.02rem;
  line-height: 1.25;
}

.map-location-item div > p:not(.tag) {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.map-location-code {
  display: inline-flex;
  gap: 6px;
  margin-top: 10px;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.map-location-code strong {
  color: var(--green-950);
}

.map-location-link {
  grid-column: 2;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 1px;
  color: var(--green-800);
  font-size: 0.8rem;
  font-weight: 900;
  text-decoration: none;
}

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

.map-location-link:hover,
.map-location-link:focus-visible {
  color: var(--water-800);
}

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

.potential-item-detailed {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(47, 155, 99, 0.13), transparent 34%),
    var(--white);
}

.potential-item-detailed::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -48px;
  width: 120px;
  height: 120px;
  border: 24px solid rgba(20, 137, 162, 0.05);
  border-radius: 50%;
}

.potential-item-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.potential-item-top .tag {
  margin: 0;
}

.potential-item-top > span {
  color: rgba(11, 55, 40, 0.32);
  font-size: 1.35rem;
  font-weight: 900;
}

.potential-item-detailed h2,
.potential-item-detailed > p {
  position: relative;
  z-index: 1;
  overflow-wrap: anywhere;
}

.potential-list {
  display: grid;
  gap: 14px;
}

.potential-item,
.contact-card,
.qr-panel,
.chart-card,
.table-card {
  padding: 22px;
}

.monitor-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 22px;
}

.monitor-summary article {
  background: var(--white);
  box-shadow: var(--shadow);
}

.chart-card,
.table-card {
  margin-top: 22px;
}

.chart-canvas {
  width: 100%;
  height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

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

.table-head span,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-950);
  font-size: 0.84rem;
  font-weight: 900;
  white-space: nowrap;
}

.status-pill.warning {
  background: #fff0d6;
  color: #8a3f0a;
}

.table-responsive {
  overflow-x: auto;
  border-radius: var(--radius);
}

.mobile-table-hint {
  display: none;
}

table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--green-100);
  color: var(--green-950);
  font-size: 0.9rem;
}

td {
  color: var(--muted);
}

.contact-layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
}

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

.contact-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card-wide {
  grid-column: 1 / -1;
}

.headman-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  min-height: 260px;
  padding: 0;
  overflow: hidden;
  border-color: rgba(31, 104, 72, 0.2);
  background:
    radial-gradient(circle at 94% 12%, rgba(20, 137, 162, 0.14), transparent 30%),
    linear-gradient(135deg, var(--white), rgba(232, 246, 237, 0.72));
}

.headman-card::after {
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 250px;
  height: 250px;
  border: 42px solid rgba(47, 155, 99, 0.055);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.headman-photo {
  position: relative;
  z-index: 1;
  min-height: 260px;
  overflow: hidden;
  background: var(--green-950);
}

.headman-photo::after {
  position: absolute;
  inset: 48% 0 0;
  background: linear-gradient(180deg, transparent, rgba(7, 43, 33, 0.76));
  content: "";
  pointer-events: none;
}

.headman-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  transform: scale(1.04);
  transform-origin: 50% 0;
}

.headman-photo > span {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(7, 43, 33, 0.72);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.headman-content {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: 28px 30px;
}

.headman-content h2 {
  margin-bottom: 4px;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
}

.headman-role {
  margin: 0 0 12px;
  color: var(--green-800) !important;
  font-size: 0.9rem;
  font-weight: 900;
}

.headman-content > p:not(.eyebrow):not(.headman-role) {
  max-width: 610px;
  margin: 0;
}

.headman-details {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 10px;
  margin: 20px 0 0;
}

.headman-details div {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(31, 104, 72, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
}

.headman-details dt {
  color: var(--water-800);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.headman-details dd {
  margin-top: 3px;
  font-size: 0.82rem;
  line-height: 1.4;
}

.contact-card .button-row {
  margin-top: 14px;
}

.members-button {
  margin-top: 18px;
}

/* Contact page experience */
.page-kontak .page-header-contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--green-950);
}

.page-kontak .page-header-contact::before,
.page-kontak .page-header-contact::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.page-kontak .page-header-contact::before {
  inset: -5%;
  z-index: 0;
  background: var(--page-header-image) var(--page-header-position) / cover no-repeat;
  filter: saturate(1.04) contrast(1.03);
  animation: contactHeroPan 18s ease-in-out infinite alternate;
}

.page-kontak .page-header-contact::after {
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 43, 33, 0.96) 0%, rgba(7, 43, 33, 0.84) 49%, rgba(13, 97, 115, 0.5) 100%),
    linear-gradient(180deg, rgba(4, 24, 18, 0.05), rgba(4, 24, 18, 0.4));
}

.contact-hero-inner {
  position: relative;
  z-index: 3;
  align-items: center;
  min-height: 430px;
}

.contact-hero-copy {
  min-width: 0;
}

.contact-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin: 0 0 16px !important;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(7, 43, 33, 0.5);
  color: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 10px 28px rgba(4, 24, 18, 0.16);
  backdrop-filter: blur(10px);
  font-size: 0.73rem !important;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-live-pill i,
.social-card-status i,
.group-panel-status > span i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #67e59b;
  box-shadow: 0 0 0 0 rgba(103, 229, 155, 0.5);
  animation: contactPulse 2s ease-out infinite;
}

.contact-hero-copy > p:not(.contact-live-pill) {
  margin-bottom: 0;
}

.contact-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(580px, 100%);
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(7, 43, 33, 0.52);
  box-shadow: 0 18px 42px rgba(4, 24, 18, 0.18);
  backdrop-filter: blur(12px);
}

.contact-hero-stats > div {
  min-width: 0;
  padding: 13px 16px;
}

.contact-hero-stats > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-hero-stats strong,
.contact-hero-stats span {
  display: block;
}

.contact-hero-stats strong {
  color: var(--white);
  font-size: 1.55rem;
  line-height: 1;
}

.contact-hero-stats span {
  margin-top: 5px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-hero-actions {
  align-items: stretch;
  flex-direction: column;
  width: 190px;
}

.contact-hero-actions .btn {
  justify-content: flex-start;
  gap: 10px;
  min-height: 54px;
  padding-inline: 17px;
  box-shadow: 0 15px 34px rgba(4, 24, 18, 0.16);
}

.contact-hero-actions svg,
.team-spotlight .btn svg,
.social-card .btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.contact-hero-decoration {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.contact-hero-decoration span {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 9px rgba(255, 255, 255, 0.04);
  animation: contactDotFloat 6s ease-in-out infinite;
}

.contact-hero-decoration span:nth-child(1) {
  top: 22%;
  right: 10%;
}

.contact-hero-decoration span:nth-child(2) {
  right: 28%;
  bottom: 18%;
  width: 6px;
  height: 6px;
  animation-delay: -2s;
}

.contact-hero-decoration span:nth-child(3) {
  top: 16%;
  right: 42%;
  width: 5px;
  height: 5px;
  animation-delay: -4s;
}

.contact-showcase {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 5% 8%, rgba(47, 155, 99, 0.12), transparent 24%),
    radial-gradient(circle at 95% 88%, rgba(20, 137, 162, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fcf9 0%, #ffffff 48%, #f5fbfa 100%);
}

.contact-showcase::before,
.contact-showcase::after {
  position: absolute;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(31, 104, 72, 0.08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.contact-showcase::before {
  top: 180px;
  left: -210px;
}

.contact-showcase::after {
  right: -220px;
  bottom: 90px;
}

.page-kontak .contact-layout {
  position: relative;
  z-index: 1;
  gap: 26px;
}

.page-kontak .contact-grid {
  gap: 18px;
}

.page-kontak .contact-card,
.page-kontak .group-panel {
  --pointer-x: 50%;
  --pointer-y: 50%;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border-color: rgba(18, 52, 39, 0.11);
  box-shadow: 0 18px 46px rgba(18, 52, 39, 0.1);
  transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.contact-card-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle 260px at var(--pointer-x) var(--pointer-y), rgba(83, 207, 137, 0.2), transparent 68%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

[data-contact-card] > *:not(.contact-card-glow) {
  position: relative;
  z-index: 1;
}

[data-contact-card].is-pointer-active .contact-card-glow,
[data-contact-card]:focus-within .contact-card-glow {
  opacity: 1;
}

.team-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.72fr);
  gap: 24px;
  min-height: 340px;
  padding: 30px;
  border: 0 !important;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 10%, rgba(103, 229, 155, 0.2), transparent 30%),
    radial-gradient(circle at 92% 84%, rgba(88, 195, 217, 0.24), transparent 34%),
    linear-gradient(135deg, #103b2b 0%, #155d43 54%, #0d6173 100%);
  box-shadow: 0 26px 62px rgba(11, 72, 54, 0.22) !important;
}

.team-spotlight::after {
  position: absolute;
  right: -70px;
  bottom: -140px;
  width: 310px;
  height: 310px;
  border: 48px solid rgba(255, 255, 255, 0.045);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.team-spotlight-copy {
  align-self: center;
}

.team-spotlight .tag {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
}

.team-spotlight h2 {
  max-width: 560px;
  margin-bottom: 12px;
  color: var(--white);
  font-size: clamp(1.8rem, 3.2vw, 2.55rem);
}

.team-spotlight p:not(.tag) {
  max-width: 590px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.team-mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.team-mini-stats span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.72rem;
  font-weight: 800;
}

.team-mini-stats strong {
  color: var(--white);
}

.team-spotlight .members-button {
  gap: 9px;
  width: fit-content;
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--white);
  color: var(--green-950);
}

.team-spotlight .members-button svg {
  transition: transform 0.2s ease;
}

.team-spotlight .members-button:hover svg,
.team-spotlight .members-button:focus-visible svg {
  transform: translateX(3px);
}

.team-preview {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: 24px 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 19px;
  cursor: pointer;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.055));
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), 0 18px 38px rgba(4, 24, 18, 0.16);
  backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.team-preview:hover,
.team-preview:focus-visible {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  outline: none;
}

.team-preview:focus-visible {
  box-shadow: 0 0 0 3px var(--rice-300), 0 18px 38px rgba(4, 24, 18, 0.2);
}

.team-preview-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-preview-label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rice-300);
  box-shadow: 0 0 0 5px rgba(255, 211, 106, 0.12);
}

.team-avatar-stack {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding-left: 22px;
}

.team-avatar {
  --avatar-rotate: 0deg;
  position: relative;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 50px;
  height: 68px;
  margin-left: -22px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  background: var(--green-100);
  box-shadow: 0 10px 24px rgba(4, 24, 18, 0.25);
  transform: translateY(0) rotate(var(--avatar-rotate));
  transition: margin 0.3s ease, transform 0.3s ease;
}

.team-avatar:nth-child(even) {
  transform: translateY(7px) rotate(var(--avatar-rotate));
}

.team-avatar:nth-child(1) { --avatar-rotate: -4deg; }
.team-avatar:nth-child(2) { --avatar-rotate: 3deg; }
.team-avatar:nth-child(3) { --avatar-rotate: -2deg; }
.team-avatar:nth-child(4) { --avatar-rotate: 3deg; }
.team-avatar:nth-child(5) { --avatar-rotate: -3deg; }
.team-avatar:nth-child(6) { --avatar-rotate: 2deg; }

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-avatar-more {
  z-index: 8;
  color: var(--green-950);
  background: linear-gradient(145deg, #ffffff, #dff5e8);
  font-size: 0.8rem;
  font-weight: 900;
  transform: translateY(0) !important;
}

.team-preview:hover .team-avatar,
.team-preview:focus-visible .team-avatar {
  margin-left: -18px;
  transform: translateY(-3px) rotate(0);
}

.team-preview:hover .team-avatar:nth-child(even),
.team-preview:focus-visible .team-avatar:nth-child(even) {
  transform: translateY(4px) rotate(0);
}

.team-preview-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.77rem;
  font-weight: 900;
}

.team-preview-action b {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.team-preview:hover .team-preview-action b,
.team-preview:focus-visible .team-preview-action b {
  transform: translate(2px, -2px);
}

.page-kontak .headman-card {
  min-height: 290px;
  border-radius: 22px;
}

.page-kontak .headman-photo img {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

.page-kontak .headman-card:hover .headman-photo img,
.page-kontak .headman-card:focus-within .headman-photo img {
  filter: saturate(1.06) contrast(1.03);
  transform: scale(1.085);
}

.social-card {
  display: flex;
  min-height: 340px;
  flex-direction: column;
  padding: 24px;
  isolation: isolate;
}

.social-card::before {
  position: absolute;
  top: -70px;
  right: -65px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  content: "";
  opacity: 0.44;
  filter: blur(2px);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.social-card-instagram {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 246, 249, 0.96)),
    var(--white);
}

.social-card-instagram::before {
  background: radial-gradient(circle, rgba(216, 61, 132, 0.28), rgba(255, 172, 76, 0.08) 66%, transparent 70%);
}

.social-card-tiktok {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(243, 252, 252, 0.97)),
    var(--white);
}

.social-card-tiktok::before {
  background: radial-gradient(circle, rgba(20, 137, 162, 0.25), rgba(255, 92, 121, 0.07) 66%, transparent 70%);
}

.social-card:hover::before,
.social-card:focus-within::before {
  transform: scale(1.18) translate(-8px, 8px);
}

.social-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.social-card-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 17px;
  color: var(--white);
  box-shadow: 0 12px 25px rgba(18, 52, 39, 0.16);
  transition: transform 0.3s ease;
}

.social-card-instagram .social-card-icon {
  background: linear-gradient(145deg, #7b3fc6, #d83d84 52%, #f39a3d);
}

.social-card-tiktok .social-card-icon {
  background: linear-gradient(145deg, #102b2c, #0d6173);
  box-shadow: -3px 3px 0 rgba(255, 86, 118, 0.4), 3px -3px 0 rgba(52, 210, 207, 0.35), 0 12px 25px rgba(18, 52, 39, 0.16);
}

.social-card:hover .social-card-icon,
.social-card:focus-within .social-card-icon {
  transform: rotate(-5deg) scale(1.06);
}

.social-card-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.social-card-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border: 1px solid rgba(31, 104, 72, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--green-800);
  font-size: 0.64rem;
  font-weight: 900;
}

.social-card-status i {
  width: 7px;
  height: 7px;
  background: var(--green-600);
}

.social-card .tag {
  width: fit-content;
}

.social-card h2 {
  margin-bottom: 8px;
  overflow-wrap: anywhere;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.social-card > p:not(.tag) {
  margin: 0;
  font-size: 0.88rem;
}

.social-card .button-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: auto;
  padding-top: 24px;
}

.social-card .btn {
  gap: 8px;
  padding-inline: 10px;
  font-size: 0.78rem;
}

.social-card .btn-primary svg {
  width: 17px;
  height: 17px;
  transition: transform 0.2s ease;
}

.social-card .btn-primary:hover svg,
.social-card .btn-primary:focus-visible svg {
  transform: translate(2px, -2px);
}

.copy-button.is-copied {
  border-color: rgba(47, 155, 99, 0.35);
  color: var(--green-800);
  background: var(--green-100);
}

.page-kontak .group-panel {
  position: relative;
  top: auto;
  align-self: start;
  margin-top: 0;
  padding: 22px;
  background:
    radial-gradient(circle at 90% 4%, rgba(20, 137, 162, 0.1), transparent 28%),
    var(--white);
}

.page-kontak .group-emblem {
  min-height: 225px;
  margin-bottom: 18px;
  padding: 15px 15px 48px;
  border-radius: 18px;
}

.page-kontak .group-emblem-image {
  width: min(158px, 72%);
  aspect-ratio: 431 / 552;
  animation: contactLogoFloat 5s ease-in-out infinite;
}

.page-kontak .group-emblem span {
  bottom: 12px;
  padding-block: 6px;
  font-size: 0.68rem;
}

.page-kontak .group-panel h2 {
  font-size: 1.18rem;
}

.page-kontak .group-panel > p:not(.eyebrow) {
  font-size: 0.84rem;
}

.page-kontak .group-panel .mini-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.page-kontak .group-panel .mini-list div {
  display: block;
  min-width: 0;
  padding: 10px 8px;
  border: 1px solid rgba(31, 104, 72, 0.1);
  border-radius: 12px;
  background: var(--soft);
  text-align: center;
}

.page-kontak .group-panel .mini-list dt {
  font-size: 0.6rem;
  text-transform: uppercase;
}

.page-kontak .group-panel .mini-list dd {
  margin-top: 3px;
  overflow-wrap: anywhere;
  font-size: 0.68rem;
  line-height: 1.35;
}

.group-panel-status {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border: 1px solid rgba(31, 104, 72, 0.12);
  border-radius: 13px;
  background: linear-gradient(135deg, var(--green-100), rgba(232, 247, 251, 0.8));
}

.group-panel-status > span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 8px 18px rgba(18, 52, 39, 0.09);
}

.group-panel-status strong,
.group-panel-status small {
  display: block;
}

.group-panel-status strong {
  color: var(--green-950);
  font-size: 0.78rem;
}

.group-panel-status small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
}

@keyframes contactHeroPan {
  from { transform: scale(1.04) translate3d(-0.6%, 0, 0); }
  to { transform: scale(1.095) translate3d(1%, -0.8%, 0); }
}

@keyframes contactDotFloat {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50% { transform: translateY(-12px); opacity: 1; }
}

@keyframes contactPulse {
  0% { box-shadow: 0 0 0 0 rgba(103, 229, 155, 0.5); }
  70%, 100% { box-shadow: 0 0 0 7px rgba(103, 229, 155, 0); }
}

@keyframes contactLogoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

#anggota {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(47, 155, 99, 0.16), transparent 24%),
    radial-gradient(circle at 92% 78%, rgba(20, 137, 162, 0.14), transparent 28%),
    linear-gradient(180deg, #f7fcf9 0%, #edf8f8 100%);
}

#anggota::before,
#anggota::after {
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(47, 155, 99, 0.12);
  border-radius: 50%;
  content: "";
}

#anggota::before {
  top: -150px;
  left: -90px;
}

#anggota::after {
  right: -110px;
  bottom: -170px;
}

#anggota > .container {
  position: relative;
  z-index: 1;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.member-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  min-height: 250px;
  padding: 34px 16px 17px;
  overflow: hidden;
  border: 1px solid rgba(18, 52, 39, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 36px rgba(18, 52, 39, 0.08);
  color: var(--ink);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.member-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--green-600), var(--water-600));
  content: "";
}

.member-card::after {
  position: absolute;
  z-index: -1;
  top: -78px;
  right: -78px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(47, 155, 99, 0.07);
  content: "";
  transition: transform 0.3s ease;
}

.member-card:hover,
.member-card:focus-visible {
  border-color: rgba(47, 155, 99, 0.4);
  box-shadow: 0 24px 54px rgba(18, 52, 39, 0.16);
  transform: translateY(-7px);
}

.member-card:hover::after,
.member-card:focus-visible::after {
  transform: scale(1.25);
}

.member-card:focus-visible {
  outline: 3px solid rgba(20, 137, 162, 0.3);
  outline-offset: 3px;
}

.member-card.featured {
  border-color: transparent;
  background: linear-gradient(155deg, var(--green-950), var(--water-800));
  box-shadow: 0 20px 44px rgba(13, 97, 115, 0.23);
  color: var(--white);
}

.member-card.featured::before {
  background: linear-gradient(90deg, #9ce1b6, #83d5e6);
}

.member-card.featured::after {
  background: rgba(255, 255, 255, 0.08);
}

.member-number {
  position: absolute;
  top: 15px;
  left: 16px;
  color: var(--green-800);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.member-card.featured .member-number {
  color: rgba(255, 255, 255, 0.74);
}

.member-card-role {
  position: absolute;
  top: 12px;
  right: 12px;
  max-width: 116px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 900;
  line-height: 1.25;
}

.member-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 12px auto 15px;
  border: 5px solid var(--white);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--green-100), var(--water-100));
  box-shadow: 0 10px 26px rgba(18, 52, 39, 0.14);
  color: var(--green-950);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  transition: transform 0.25s ease;
}

.member-card:hover .member-avatar,
.member-card:focus-visible .member-avatar {
  transform: scale(1.06) rotate(-2deg);
}

.member-card.featured .member-avatar {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.member-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.member-card h3 {
  display: grid;
  align-items: center;
  min-height: 2.55em;
  margin: 0;
  color: var(--green-950);
  font-size: 0.98rem;
  line-height: 1.28;
}

.member-card.featured h3 {
  color: var(--white);
}

.member-study-program {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  margin-top: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.25;
}

.member-card.featured .member-study-program {
  background: rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.86);
}

.member-open-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.member-open-label span {
  transition: transform 0.2s ease;
}

.member-card:hover .member-open-label span,
.member-card:focus-visible .member-open-label span {
  transform: translate(2px, -2px);
}

.member-card.featured .member-open-label {
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.78);
}

.member-modal {
  width: min(520px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  max-width: none;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 26px;
  background: transparent;
  box-shadow: 0 36px 110px rgba(5, 24, 17, 0.38);
  opacity: 0;
  transform: translateY(90px) scale(0.96);
  transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.member-modal::backdrop {
  background: rgba(7, 25, 19, 0.68);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.member-modal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.member-modal.is-closing {
  opacity: 0;
  transform: translateY(70px) scale(0.97);
}

.member-modal-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: inherit;
  background: var(--white);
}

.member-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  color: var(--white);
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.member-modal-close:hover,
.member-modal-close:focus-visible {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(8deg);
}

.member-modal-accent {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 178px;
  padding: 24px;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.18), transparent 30%),
    linear-gradient(145deg, var(--green-950), var(--water-800));
  color: var(--white);
}

.member-modal-accent::after {
  position: absolute;
  right: -54px;
  bottom: -88px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.member-modal-group {
  position: absolute;
  top: 24px;
  left: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.member-modal-avatar {
  display: grid;
  position: absolute;
  bottom: -48px;
  left: 50%;
  z-index: 2;
  place-items: center;
  width: 98px;
  height: 98px;
  border: 7px solid var(--white);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--green-100), var(--water-100));
  box-shadow: 0 14px 34px rgba(5, 24, 17, 0.22);
  color: var(--green-950);
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  transform: translateX(-50%);
}

.member-modal-accent strong {
  position: absolute;
  right: 28px;
  bottom: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.member-modal-body {
  min-width: 0;
  padding: 68px 32px 32px;
  text-align: center;
}

.member-modal-body h2 {
  margin: 6px 0 16px;
  color: var(--green-950);
  font-size: clamp(1.65rem, 5vw, 2.15rem);
  line-height: 1.15;
}

.member-modal-role {
  display: inline-flex;
  margin: 0 0 20px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green-100), var(--water-100));
  color: var(--water-800);
  font-size: 0.76rem;
  font-weight: 900;
}

.member-modal-role[hidden] {
  display: none;
}

.member-modal-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  text-align: left;
}

.member-modal-meta div {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
}

.member-modal-meta dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.member-modal-meta dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
}

.members-modal {
  width: min(900px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  max-width: none;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: transparent;
  box-shadow: 0 36px 110px rgba(5, 24, 17, 0.4);
  opacity: 0;
  transform: translateY(90px) scale(0.97);
  transition: opacity 0.22s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.members-modal::backdrop {
  background: rgba(7, 25, 19, 0.7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.members-modal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.members-modal.is-closing {
  opacity: 0;
  transform: translateY(70px) scale(0.98);
}

.members-modal-shell {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  max-height: calc(100dvh - 32px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: inherit;
  background: #f5faf7;
}

.members-modal-header {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 24px 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% -30%, rgba(255, 255, 255, 0.18), transparent 42%),
    linear-gradient(135deg, var(--green-950), var(--water-800));
  color: var(--white);
}

.members-modal-header::after {
  position: absolute;
  right: -60px;
  bottom: -110px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  content: "";
}

.members-modal-mark {
  display: grid;
  position: relative;
  z-index: 1;
  place-items: center;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.11);
}

.members-modal-mark span {
  align-self: end;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.members-modal-mark strong {
  align-self: start;
  font-size: 2.75rem;
  line-height: 1;
}

.members-modal-heading {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.members-modal-heading .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.members-modal-heading h2 {
  margin: 4px 0 5px;
  color: var(--white);
  font-size: 1.75rem;
  line-height: 1.15;
}

.members-modal-heading > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.members-modal-close {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.members-modal-close:hover,
.members-modal-close:focus-visible {
  background: rgba(255, 255, 255, 0.24);
  transform: rotate(8deg);
}

.members-modal-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.member-search-field {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 420px;
  max-width: 560px;
}

.member-search-field > svg {
  position: absolute;
  left: 13px;
  z-index: 1;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-width: 1.8;
  pointer-events: none;
}

.member-search-field input {
  width: 100%;
  min-height: 44px;
  padding: 9px 44px 9px 41px;
  border: 1px solid rgba(18, 52, 39, 0.14);
  border-radius: 13px;
  outline: none;
  color: var(--ink);
  background: var(--soft);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.member-search-field input::-webkit-search-cancel-button {
  display: none;
}

.member-search-field input:focus {
  border-color: var(--water-600);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(20, 137, 162, 0.12);
}

.member-search-field button {
  position: absolute;
  right: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
  font-size: 1.25rem;
}

.member-search-field button:hover,
.member-search-field button:focus-visible {
  color: var(--green-950);
  background: var(--green-100);
  outline: none;
}

.member-search-field button[hidden] {
  display: none;
}

.member-search-status {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
}

.members-modal-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 20px;
  overflow-y: auto;
  list-style: none;
  scrollbar-color: var(--green-600) transparent;
  scrollbar-width: thin;
}

.member-list-item {
  display: grid;
  grid-template-columns: auto 78px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(18, 52, 39, 0.1);
  border-radius: 15px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(18, 52, 39, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.member-list-item:hover {
  border-color: rgba(31, 104, 72, 0.24);
  box-shadow: 0 13px 30px rgba(18, 52, 39, 0.1);
  transform: translateY(-2px);
}

.member-list-item[hidden] {
  display: none;
}

.member-empty-state {
  display: grid;
  grid-column: 1 / -1;
  place-items: center;
  min-height: 210px;
  padding: 28px;
  border: 1px dashed rgba(31, 104, 72, 0.24);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.member-empty-state[hidden] {
  display: none;
}

.member-empty-state strong {
  color: var(--green-950);
}

.member-empty-state span {
  margin-top: 4px;
  font-size: 0.8rem;
}

.member-list-number {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
  padding-top: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
}

.member-list-avatar {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 78px;
  height: 104px;
  padding: 0;
  overflow: hidden;
  border: 3px solid var(--white);
  border-radius: 14px;
  cursor: zoom-in;
  background: linear-gradient(145deg, var(--green-100), var(--water-100));
  box-shadow: 0 8px 20px rgba(18, 52, 39, 0.15);
}

.member-list-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.25s ease;
}

.member-list-item:hover .member-list-avatar img {
  transform: scale(1.035);
}

.member-list-avatar:focus-visible {
  outline: 3px solid var(--water-600);
  outline-offset: 3px;
}

.member-photo-zoom {
  position: absolute;
  right: 5px;
  bottom: 5px;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background: rgba(18, 52, 39, 0.82);
  color: var(--white);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(7, 25, 19, 0.22);
}

.member-list-identity {
  grid-column: 3;
  grid-row: 1;
  min-width: 0;
}

.member-list-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 8px;
}

.member-list-name-row h3 {
  margin: 0;
  color: var(--green-950);
  font-size: 0.92rem;
  line-height: 1.25;
}

.member-list-name-row span {
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 0.58rem;
  font-weight: 900;
}

.member-list-identity p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.member-list-nim {
  display: flex;
  grid-column: 3;
  grid-row: 2;
  align-items: center;
  gap: 7px;
  min-width: 0;
  text-align: left;
}

.member-list-nim span {
  display: inline;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.member-list-nim strong {
  display: inline;
  color: var(--ink);
  font-size: 0.72rem;
  white-space: nowrap;
}

.members-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.members-modal-footer span {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 0.72rem;
  font-weight: 900;
}

.members-modal-footer strong {
  color: var(--green-950);
  font-size: 0.78rem;
}

.member-photo-modal {
  width: min(620px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: transparent;
  box-shadow: 0 34px 100px rgba(4, 22, 16, 0.48);
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  transition: opacity 0.2s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.member-photo-modal::backdrop {
  background: rgba(4, 19, 14, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.member-photo-modal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.member-photo-modal.is-closing {
  opacity: 0;
  transform: translateY(20px) scale(0.98);
}

.member-photo-modal-shell {
  position: relative;
  display: grid;
  max-height: calc(100dvh - 24px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: inherit;
  background: var(--white);
}

.member-photo-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  cursor: pointer;
  background: rgba(7, 31, 23, 0.72);
  color: var(--white);
  font-size: 1.7rem;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(4, 22, 16, 0.24);
  transition: background 0.2s ease, transform 0.2s ease;
}

.member-photo-modal-close:hover,
.member-photo-modal-close:focus-visible {
  background: var(--green-800);
  transform: rotate(8deg);
}

.member-photo-stage {
  position: relative;
  display: grid;
  min-height: 260px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.12), transparent 36%),
    linear-gradient(145deg, var(--green-950), #09271d);
}

.member-photo-stage img {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - 148px);
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.member-photo-modal.is-loaded .member-photo-stage img {
  opacity: 1;
}

.member-photo-loading {
  position: absolute;
  z-index: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 900;
  transition: opacity 0.2s ease;
}

.member-photo-modal.is-loaded .member-photo-loading {
  opacity: 0;
}

.member-photo-modal.has-error .member-photo-loading {
  z-index: 2;
  opacity: 1;
}

.member-photo-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  cursor: pointer;
  color: var(--white);
  background: rgba(7, 31, 23, 0.66);
  box-shadow: 0 9px 25px rgba(4, 22, 16, 0.22);
  backdrop-filter: blur(8px);
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.member-photo-nav-prev {
  left: 13px;
}

.member-photo-nav-next {
  right: 13px;
}

.member-photo-nav svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.member-photo-nav:hover,
.member-photo-nav:focus-visible {
  background: var(--green-800);
  outline: none;
  transform: translateY(-50%) scale(1.07);
}

.member-photo-counter {
  position: absolute;
  right: 13px;
  bottom: 13px;
  z-index: 2;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(7, 31, 23, 0.7);
  box-shadow: 0 7px 20px rgba(4, 22, 16, 0.18);
  backdrop-filter: blur(8px);
  font-size: 0.7rem;
  font-weight: 900;
}

.member-photo-caption {
  position: relative;
  z-index: 2;
  padding: 16px 20px 18px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.member-photo-caption .eyebrow {
  margin-bottom: 5px;
}

.member-photo-caption h2 {
  margin: 0;
  color: var(--green-950);
  font-size: 1.5rem;
  line-height: 1.18;
}

.member-photo-caption > span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.group-emblem {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  padding: 18px 18px 54px;
  overflow: hidden;
  border: 1px solid rgba(20, 106, 125, 0.3);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 84% 15%, rgba(255, 211, 106, 0.34), transparent 24%),
    radial-gradient(circle at 8% 92%, rgba(88, 195, 217, 0.34), transparent 30%),
    linear-gradient(145deg, #fbfdf9 0%, #edf8ef 52%, #e5f5f8 100%);
  box-shadow: 0 14px 30px rgba(4, 42, 34, 0.13);
}

.group-emblem::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.group-emblem::before {
  position: absolute;
  bottom: -98px;
  left: -16%;
  z-index: 0;
  width: 132%;
  height: 170px;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(90deg, rgba(47, 154, 95, 0.15), rgba(20, 106, 125, 0.2));
  transform: rotate(-4deg);
  content: "";
  pointer-events: none;
}

.group-emblem::after {
  z-index: 1;
  inset: 10px;
  border: 1px solid rgba(20, 106, 125, 0.12);
  border-radius: calc(var(--radius) - 6px);
}

.group-emblem-image {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 431 / 552;
  overflow: hidden;
  background: transparent;
}

.group-emblem-image img {
  display: block;
  width: 100%;
  height: 100%;
  transform: scale(1.14);
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 16px 12px rgba(4, 42, 34, 0.18));
}

.group-emblem span {
  position: absolute;
  bottom: 14px;
  left: 50%;
  z-index: 3;
  padding: 8px 15px;
  transform: translateX(-50%);
  border: 1px solid rgba(20, 106, 125, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--green-950);
  box-shadow: 0 8px 18px rgba(4, 42, 34, 0.1);
  backdrop-filter: blur(8px);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  white-space: nowrap;
  text-transform: uppercase;
}

.group-panel h2 {
  margin: 0 0 8px;
  color: var(--green-950);
  font-size: 1.35rem;
}

.group-panel > p:not(.eyebrow) {
  margin: 0 0 18px;
  color: var(--muted);
}

.qr-panel .mini-list {
  margin-bottom: 16px;
}

.site-footer {
  padding: 32px 0;
  color: rgba(255, 255, 255, 0.86);
  background: var(--green-950);
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.62fr);
  gap: 28px;
}

.footer-layout strong {
  color: var(--white);
}

.footer-layout p {
  margin: 6px 0 0;
}

.footer-meta {
  text-align: right;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 14px;
  margin-top: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 100;
  min-width: 180px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--green-950);
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow-hover);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 48;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  cursor: pointer;
  color: var(--white);
  background: linear-gradient(145deg, var(--green-800), var(--water-800));
  box-shadow: 0 16px 34px rgba(7, 43, 33, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.9);
  transition: opacity 0.24s ease, transform 0.24s ease, box-shadow 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  box-shadow: 0 20px 42px rgba(7, 43, 33, 0.32);
  outline: 3px solid var(--rice-300);
  outline-offset: 3px;
  transform: translateY(-2px) scale(1.03);
}

.back-to-top svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.reveal-on-scroll {
  --reveal-delay: 0ms;
  --reveal-x: 0px;
  --reveal-y: 22px;
  opacity: 0;
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0);
  transition:
    opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay);
}

.reveal-on-scroll[data-reveal="left"] {
  --reveal-x: -28px;
  --reveal-y: 0px;
}

.reveal-on-scroll[data-reveal="right"] {
  --reveal-x: 28px;
  --reveal-y: 0px;
}

.reveal-on-scroll[data-reveal="up"] {
  --reveal-x: 0px;
  --reveal-y: 24px;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal-on-scroll.reveal-complete {
  transition-delay: 0ms;
}

@keyframes slowZoom {
  from { transform: scale(1.14); }
  to { transform: scale(1.2); }
}

@media (max-width: 1080px) {
  .nav-links a {
    padding-inline: 8px;
    font-size: 0.86rem;
  }

  .profile-fact-grid,
  .profile-sector-grid,
  .innovation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-boundary-panel {
    grid-template-columns: 1fr;
  }

  .profile-boundary-heading {
    max-width: 560px;
  }

  .feature-grid,
  .quick-grid,
  .stat-strip,
  .monitor-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .umkm-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 22px) / 2);
  }
}

@media (max-width: 920px) {
  .hero-grid,
  .split-layout,
  .contact-layout,
  .map-layout,
  .page-header-inner,
  .info-banner,
  .product-highlight,
  .section-intro,
  .cta-band,
  .footer-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .page-header h1 {
    font-size: 3rem;
  }

  .footer-meta {
    text-align: left;
  }

  .footer-links {
    justify-content: flex-start;
  }

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

  .village-map {
    position: relative;
    top: auto;
  }

  .map-section-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .map-summary {
    width: 100%;
  }

  .program-panel {
    grid-template-columns: 1fr;
  }

  .program-copy {
    max-width: 680px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .navbar {
    position: relative;
    min-height: 62px;
  }

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

  .brand span:last-child {
    max-width: 178px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-toggle {
    position: relative;
    display: grid;
    place-items: center;
    border-radius: 12px;
  }

  .nav-toggle span {
    position: absolute;
    left: 11px;
    width: 20px;
    margin: 0;
    transition: top 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-toggle span:nth-child(1) {
    top: 14px;
  }

  .nav-toggle span:nth-child(2) {
    top: 21px;
  }

  .nav-toggle span:nth-child(3) {
    top: 28px;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100dvh - 82px);
    overflow-y: auto;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow-hover);
  }

  .nav-links.open {
    display: flex;
    animation: mobileMenuIn 0.18s ease both;
  }

  .nav-links a {
    justify-content: flex-start;
    min-height: 44px;
    padding: 10px 14px;
  }

  .hero-grid {
    min-height: auto;
    gap: 20px;
    padding: 40px 0 68px;
  }

  .hero-slide {
    background-position: var(--hero-position-mobile, var(--hero-position, center));
    transform-origin: center;
  }

  .hero-dot,
  .hero-dot.is-active {
    position: relative;
    width: 38px;
    height: 38px;
    background: transparent;
  }

  .hero-dot::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.56);
    content: "";
    transform: translate(-50%, -50%);
    transition: width 0.22s ease, background 0.22s ease;
  }

  .hero-dot.is-active::before {
    width: 24px;
    background: var(--rice-300);
  }

  .hero-dot:hover,
  .hero-dot:focus-visible {
    background: transparent;
    transform: none;
  }

  .hero-copy h1,
  .page-header h1 {
    font-size: clamp(2.15rem, 10vw, 2.55rem);
    line-height: 1.08;
  }

  .hero-copy p:not(.eyebrow),
  .page-header p {
    font-size: 1rem;
  }

  .button-row {
    flex-direction: column;
  }

  .hero-actions,
  .page-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 10px;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-actions .btn,
  .page-actions .btn,
  .button-row .btn,
  .btn,
  .contact-card .btn {
    width: 100%;
  }

  .btn {
    min-height: 46px;
    padding: 10px 13px;
    font-size: 0.9rem;
  }

  .section {
    padding: 42px 0;
  }

  .page-header {
    padding: 40px 0;
  }

  .page-header-inner {
    gap: 20px;
  }

  .section-compact {
    padding: 22px 0;
  }

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

  .gallery-grid,
  .monitor-summary,
  .stat-grid,
  .stat-strip,
  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-intro-grid,
  .profile-principles,
  .profile-story-grid,
  .profile-demography-panel,
  .profile-sector-grid,
  .profile-bumdes-panel,
  .innovation-grid,
  .profile-source-note {
    grid-template-columns: 1fr;
  }

  .profile-fact-grid,
  .boundary-grid,
  .profile-demography-stats,
  .profile-unit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-page-header {
    background-position: 58% center;
  }

  .page-header-umkm {
    --page-header-position: 50% 50%;
  }

  .page-header-documentation,
  .page-header-contact {
    --page-header-position: 50% 50%;
  }

  .page-header-potential {
    --page-header-position: 52% 52%;
  }

  .page-header-monitoring {
    --page-header-position: 66% 50%;
  }

  .profile-page-header::after {
    top: -130px;
    right: -170px;
    width: 320px;
    height: 320px;
  }

  .profile-identity-card,
  .profile-overview,
  .profile-story-card,
  .profile-boundary-panel,
  .profile-demography-panel,
  .profile-bumdes-panel,
  .profile-source-note {
    padding: 19px;
  }

  .profile-overview h2,
  .profile-demography-copy h2,
  .profile-bumdes-copy h2,
  .profile-source-note h2 {
    font-size: 1.6rem;
  }

  .profile-demography-stats article {
    min-height: 132px;
    padding: 15px;
  }

  .profile-fact-card {
    padding: 16px;
  }

  .profile-fact-card strong,
  .profile-demography-stats strong {
    font-size: 1.65rem;
  }

  .profile-principles {
    margin-top: 18px;
  }

  .profile-principles div,
  .boundary-grid article {
    padding: 13px;
  }

  .profile-story-grid {
    gap: 14px;
  }

  .profile-sector-card,
  .innovation-card {
    padding: 18px;
  }

  .profile-sector-card > span {
    margin-bottom: 13px;
  }

  .profile-unit-grid div {
    min-height: 66px;
    padding: 12px;
  }

  .profile-source-note .button-row {
    flex-wrap: wrap;
  }

  .headman-card {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .headman-photo {
    min-height: 230px;
    max-height: 250px;
  }

  .headman-content {
    padding: 19px;
  }

  .headman-details {
    grid-template-columns: 1fr;
  }

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

  .program-copy h2 {
    font-size: 1.8rem;
  }

  .program-card {
    min-height: 0;
    padding: 18px;
  }

  .member-card {
    min-height: 230px;
    padding: 32px 12px 15px;
    border-radius: 16px;
  }

  .member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .umkm-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .umkm-card:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }

  .umkm-card-content {
    padding: 16px;
  }

  .umkm-card-media {
    aspect-ratio: 16 / 10;
  }

  .umkm-card-content h2,
  .umkm-address {
    min-height: 0;
  }

  .member-modal-accent {
    min-height: 154px;
  }

  .member-modal-group {
    top: 20px;
    left: 20px;
  }

  .member-modal-body {
    padding: 66px 18px 22px;
  }

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

  .members-modal {
    width: calc(100% - 18px);
    max-height: calc(100dvh - 18px);
    border-radius: 18px;
  }

  .members-modal-shell {
    max-height: calc(100dvh - 18px);
  }

  .members-modal-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    padding: 16px 14px;
  }

  .members-modal-mark {
    width: 58px;
    height: 58px;
    border-radius: 13px;
  }

  .members-modal-mark span {
    font-size: 0.48rem;
  }

  .members-modal-mark strong {
    font-size: 1.9rem;
  }

  .members-modal-heading h2 {
    font-size: 1.2rem;
  }

  .members-modal-heading > p:last-child {
    display: none;
  }

  .members-modal-close {
    width: 44px;
    height: 44px;
  }

  .members-modal-list {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 12px;
  }

  .member-list-item {
    grid-template-columns: auto 66px minmax(0, 1fr);
    gap: 9px;
    padding: 11px;
  }

  .member-list-number {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .member-list-avatar {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 66px;
    height: 88px;
    border-radius: 12px;
  }

  .member-list-identity {
    grid-column: 3;
    grid-row: 1;
  }

  .member-list-nim {
    display: flex;
    grid-column: 3;
    grid-row: 2;
    align-items: center;
    gap: 6px;
    text-align: left;
  }

  .member-list-nim span,
  .member-list-nim strong {
    display: inline;
  }

  .members-modal-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 11px 14px;
  }

  .member-photo-modal {
    width: calc(100% - 18px);
    max-height: calc(100dvh - 18px);
    border-radius: 18px;
  }

  .member-photo-modal-shell {
    max-height: calc(100dvh - 18px);
  }

  .member-photo-stage {
    min-height: 230px;
  }

  .member-photo-stage img {
    max-height: calc(100dvh - 136px);
  }

  .member-photo-caption {
    padding: 13px 16px 15px;
  }

  .member-photo-caption h2 {
    font-size: 1.25rem;
  }

  .hero-card,
  .content-panel,
  .potential-item,
  .contact-card,
  .qr-panel,
  .chart-card,
  .table-card,
  .info-banner,
  .product-highlight,
  .section-intro,
  .cta-band {
    padding: 16px;
  }

  .headman-card {
    padding: 0;
  }

  .hero-card h2,
  .content-panel h2,
  .chart-card h2,
  .table-card h2,
  .info-banner h2,
  .product-highlight h2,
  .section-intro h2,
  .cta-band h2,
  .section-head h2 {
    font-size: 1.55rem;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .quick-grid,
  .gallery-grid,
  .monitor-summary,
  .stat-grid,
  .stat-strip {
    gap: 10px;
  }

  .quick-card,
  .stat-grid div,
  .stat-card,
  .monitor-summary article {
    padding: 14px;
  }

  .stat-grid strong,
  .stat-card strong,
  .monitor-summary strong {
    font-size: 1.55rem;
  }

  .quick-card strong {
    font-size: 0.94rem;
  }

  .gallery-card figcaption {
    padding: 11px 12px 13px;
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .info-list div,
  .mini-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .timeline::before {
    left: 12px;
  }

  .timeline-item {
    grid-template-columns: 26px 1fr;
    gap: 10px;
  }

  .timeline-dot {
    width: 26px;
    height: 26px;
    border-width: 6px;
  }

  .timeline-card {
    grid-template-columns: 1fr;
  }

  .timeline-card div {
    padding: 16px;
  }

  .map-section-intro h2 {
    font-size: 2rem;
  }

  .village-map-frame {
    min-height: 330px;
  }

  .map-caption {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }

  .map-caption .btn {
    width: 100%;
  }

  .map-reference {
    grid-template-columns: 1fr;
    margin: 0 18px 18px;
  }

  .map-reference strong {
    justify-self: start;
  }

  .map-directory {
    padding: 16px;
  }

  .map-location-link {
    min-height: 44px;
    margin: 3px 0 -8px -10px;
    padding: 8px 10px;
    border-radius: 10px;
  }

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

  .potential-item-detailed {
    min-height: 0;
  }

  .highlight-number,
  .summary-badge {
    width: 100%;
    min-height: 92px;
  }

  .chart-canvas {
    height: 270px;
  }

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

  .mobile-table-hint {
    display: block;
    margin: -2px 0 14px;
    padding: 10px 12px;
    border: 1px solid rgba(20, 137, 162, 0.16);
    border-radius: 10px;
    background: var(--water-100);
    color: var(--water-800);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.45;
  }

  .table-responsive {
    overflow: visible;
  }

  .table-responsive table,
  .table-responsive tbody {
    display: block;
    width: 100%;
  }

  .table-responsive table {
    min-width: 0;
  }

  .table-responsive thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .table-responsive tbody {
    display: grid;
    gap: 12px;
  }

  .table-responsive tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--white);
    box-shadow: 0 9px 24px rgba(18, 52, 39, 0.07);
  }

  .table-responsive td {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 12px;
    text-align: left;
    overflow-wrap: anywhere;
  }

  .table-responsive td:nth-child(odd):not(:last-child) {
    border-right: 1px solid var(--line);
  }

  .table-responsive td::before {
    color: var(--green-950);
    content: attr(data-label);
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1.35;
    text-align: left;
    text-transform: uppercase;
  }

  .table-responsive td:last-child {
    grid-column: 1 / -1;
    align-items: start;
    border-bottom: 0;
  }

  .table-responsive .status-pill {
    align-self: flex-start;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .site-footer {
    padding: 26px 0;
  }

  .footer-layout {
    gap: 20px;
  }

  .footer-links {
    gap: 7px 12px;
  }

  .footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .reveal-on-scroll[data-reveal="left"] {
    --reveal-x: -19px;
  }

  .reveal-on-scroll[data-reveal="right"] {
    --reveal-x: 19px;
  }

  .reveal-on-scroll[data-reveal="up"] {
    --reveal-y: 18px;
  }

  .back-to-top {
    right: 13px;
    bottom: 13px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  @keyframes mobileMenuIn {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 480px) {
  .hero-slider-ui {
    justify-content: center;
  }

  .hero-slider-label {
    display: none;
  }

  .map-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .map-summary span {
    display: block;
    padding: 10px 7px;
    font-size: 0.66rem;
    text-align: center;
  }

  .map-summary strong {
    margin: 0 0 4px;
    font-size: 1.2rem;
  }
}

@media (max-width: 420px) {
  .hero-copy h1,
  .page-header h1 {
    font-size: 2.1rem;
  }

  .brand span:last-child {
    max-width: 136px;
  }

  .village-map-frame {
    min-height: 300px;
  }

  .map-location-item {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 14px;
  }

  .map-location-number {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .page-kontak .contact-card.reveal-on-scroll.is-visible:hover,
  .page-kontak .group-panel.reveal-on-scroll.is-visible:hover {
    border-color: rgba(31, 104, 72, 0.24);
    box-shadow: 0 28px 64px rgba(18, 52, 39, 0.16);
    transform: translateY(-6px);
  }

  .page-kontak .team-spotlight.reveal-on-scroll.is-visible:hover {
    box-shadow: 0 32px 72px rgba(11, 72, 54, 0.28) !important;
  }
}

@media (max-width: 920px) {
  .contact-hero-inner {
    min-height: 0;
  }

  .contact-hero-actions {
    flex-direction: row;
    width: auto;
  }

  .contact-hero-actions .btn {
    justify-content: center;
    min-width: 170px;
  }

  .page-kontak .group-panel {
    position: relative;
    top: auto;
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .page-kontak .page-header-contact::before {
    background-position: var(--page-header-position);
    animation: none;
    transform: scale(1.04);
  }

  .contact-hero-decoration span,
  .page-kontak .group-emblem-image {
    animation: none;
  }

  .contact-hero-inner {
    gap: 22px;
  }

  .contact-live-pill {
    margin-bottom: 13px !important;
  }

  .contact-hero-stats {
    margin-top: 20px;
    border-radius: 14px;
  }

  .contact-hero-stats > div {
    padding: 11px 9px;
    text-align: center;
  }

  .contact-hero-stats strong {
    font-size: 1.35rem;
  }

  .contact-hero-stats span {
    font-size: 0.62rem;
  }

  .contact-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .contact-hero-actions .btn {
    min-width: 0;
    min-height: 48px;
  }

  .contact-showcase {
    padding-top: 36px;
  }

  .page-kontak .contact-grid {
    gap: 14px;
  }

  .page-kontak .contact-card,
  .page-kontak .group-panel {
    border-radius: 18px;
  }

  .team-spotlight {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: 0;
    padding: 21px;
  }

  .team-spotlight h2 {
    font-size: 1.75rem;
  }

  .team-spotlight .members-button {
    width: 100%;
  }

  .team-preview {
    min-height: 220px;
    padding: 20px 14px;
  }

  .team-preview-label {
    margin-bottom: 16px;
  }

  .team-avatar-stack {
    min-height: 80px;
    padding-left: 18px;
  }

  .team-avatar {
    width: 52px;
    height: 70px;
    margin-left: -18px;
    border-width: 2px;
    border-radius: 13px;
  }

  .team-preview:hover .team-avatar,
  .team-preview:focus-visible .team-avatar {
    margin-left: -14px;
  }

  .team-preview-action {
    margin-top: 15px;
  }

  .page-kontak .headman-card {
    min-height: 0;
  }

  .social-card {
    min-height: 0;
    padding: 19px;
  }

  .social-card-top {
    margin-bottom: 20px;
  }

  .social-card .button-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 20px;
  }

  .page-kontak .group-panel {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    grid-template-areas:
      "eyebrow eyebrow"
      "emblem title"
      "emblem description"
      "list list"
      "status status";
    align-items: start;
    gap: 0 16px;
    padding: 18px;
  }

  .page-kontak .group-panel > .eyebrow {
    grid-area: eyebrow;
  }

  .page-kontak .group-emblem {
    grid-area: emblem;
    min-height: 176px;
    margin: 0;
    padding: 9px 8px 37px;
  }

  .page-kontak .group-emblem-image {
    width: 100%;
  }

  .page-kontak .group-emblem span {
    width: calc(100% - 14px);
    padding: 5px 4px;
    font-size: 0.54rem;
    white-space: normal;
  }

  .page-kontak .group-panel h2 {
    grid-area: title;
    align-self: end;
    margin-top: 8px;
  }

  .page-kontak .group-panel > p:not(.eyebrow) {
    grid-area: description;
    margin-bottom: 0;
    font-size: 0.78rem;
  }

  .page-kontak .group-panel .mini-list {
    grid-area: list;
    margin-top: 16px;
  }

  .group-panel-status {
    grid-area: status;
  }

  .members-modal-tools {
    align-items: stretch;
    flex-direction: column;
    gap: 7px;
    padding: 10px 12px;
  }

  .member-search-field {
    flex-basis: auto;
    max-width: none;
  }

  .member-search-status {
    padding-inline: 3px;
    font-size: 0.66rem;
  }

  .member-empty-state {
    min-height: 170px;
  }

  .member-photo-nav {
    width: 44px;
    height: 44px;
  }

  .member-photo-nav-prev {
    left: 8px;
  }

  .member-photo-nav-next {
    right: 8px;
  }

  .member-photo-counter {
    right: 9px;
    bottom: 9px;
  }
}

@media (max-width: 480px) {
  .contact-hero-stats > div {
    padding-inline: 6px;
  }

  .contact-hero-stats span {
    letter-spacing: -0.01em;
  }

  .team-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .team-mini-stats span {
    padding-inline: 6px;
    text-align: center;
  }

  .social-card .button-row {
    gap: 8px;
  }

  .social-card .btn {
    padding-inline: 9px;
    font-size: 0.76rem;
  }

  .page-kontak .group-panel {
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 0 13px;
  }

  .page-kontak .group-emblem {
    min-height: 160px;
  }

  .page-kontak .group-panel .mini-list div {
    padding-inline: 5px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .feature-card.reveal-on-scroll.is-visible:hover,
  .data-card.reveal-on-scroll.is-visible:hover,
  .quick-card.reveal-on-scroll.is-visible:hover,
  .gallery-card.reveal-on-scroll.is-visible:hover,
  .umkm-card.reveal-on-scroll.is-visible:hover {
    transform: translateY(-4px);
  }
}

@media (hover: none) and (pointer: coarse) {
  .btn:active,
  a.quick-card:active,
  .team-preview:active,
  .member-list-avatar:active,
  .hero-dot:active {
    transform: scale(0.975);
    transition-duration: 0.08s;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-delay: 0ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-delay: 0ms !important;
    transition-duration: 0.001ms !important;
  }

  .reveal-on-scroll,
  .reveal-on-scroll.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
