/* =========================================================
   DESA INFO - RESPONSIVE CSS
   Desktop / Laptop / Tablet / Mobile
   ========================================================= */


/* =========================================================
   1. ROOT & GLOBAL
   ========================================================= */

   :root {
    --green-dk: #0f5132;
    --green: #1c8a4e;
    --green-lt: #e8f6ee;
  
    --blue-dk: #0b3d66;
    --blue: #1665b0;
    --blue-lt: #eaf3fb;
  
    --ink: #122015;
    --muted: #5c6b62;
    --line: #dfe7e0;
  
    --paper: #ffffff;
    --bg: #f6f9f7;
  
    --gold: #e0a92a;
  
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 14px 35px rgba(0, 0, 0, 0.12);
  
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
  
    --container: 1180px;
  }
  
  
  /* =========================================================
     2. RESET
     ========================================================= */
  
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
  }
  
  body {
    margin: 0;
    padding: 0;
  
    background: var(--bg);
    color: var(--ink);
  
    font-family:
      "Segoe UI",
      system-ui,
      -apple-system,
      BlinkMacSystemFont,
      "Roboto",
      sans-serif;
  
    font-size: 16px;
    line-height: 1.5;
  
    overflow-x: hidden;
  
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  
  img,
  svg,
  video {
    display: block;
    max-width: 100%;
  }
  
  img {
    height: auto;
  }
  
  button,
  input,
  textarea,
  select {
    font: inherit;
  }
  
  button {
    -webkit-tap-highlight-color: transparent;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  ul,
  ol {
    margin-top: 0;
  }
  
  ::selection {
    background: var(--green);
    color: #fff;
  }
  
  
  /* =========================================================
     3. CONTAINER
     ========================================================= */
  
  .wrap {
    width: 100%;
    max-width: var(--container);
  
    margin-left: auto;
    margin-right: auto;
  
    padding-left: 24px;
    padding-right: 24px;
  }
  
  
  /* =========================================================
     4. HEADER / NAVBAR
     ========================================================= */
  
  header {
    position: sticky;
    top: 0;
    z-index: 1000;
  
    width: 100%;
  
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  
    padding-top: env(safe-area-inset-top, 0px);
  }
  
  .nav {
    position: relative;
  
    width: 100%;
    max-width: var(--container);
  
    min-height: 64px;
  
    margin: 0 auto;
    padding: 12px 24px;
  
    display: flex;
    align-items: center;
    justify-content: space-between;
  
    gap: 18px;
  }
  
  
  /* Brand */
  
  .brand {
    display: flex;
    align-items: center;
  
    gap: 10px;
  
    color: var(--blue-dk);
  
    font-size: 20px;
    font-weight: 800;
  
    white-space: nowrap;
  
    flex-shrink: 0;
  }
  
  .brand .mark {
    width: 34px;
    height: 34px;
  
    flex: 0 0 34px;
  
    border-radius: 9px;
  
    background:
      linear-gradient(
        135deg,
        var(--green),
        var(--blue)
      );
  }
  
  
  /* Navigation links */
  
  .navlinks {
    display: flex;
    align-items: center;
  
    gap: 26px;
  
    margin-left: auto;
  
    font-size: 14.5px;
    font-weight: 600;
  
    color: #3a4a41;
  }
  
  .navlinks > a {
    position: relative;
  
    padding: 8px 0;
  
    transition:
      color 0.2s ease,
      opacity 0.2s ease;
  }
  
  .navlinks > a:hover {
    color: var(--blue);
  }
  
  
  /* Actions */
  
  .navactions {
    display: flex;
    align-items: center;
  
    gap: 10px;
  
    flex-shrink: 0;
  }
  
  
  /* Button */
  
  .btn {
    min-height: 40px;
  
    padding: 9px 18px;
  
    border: none;
    border-radius: var(--radius-sm);
  
    font-size: 14px;
    font-weight: 700;
  
    cursor: pointer;
  
    transition:
      transform 0.2s ease,
      box-shadow 0.2s ease,
      background 0.2s ease;
  }
  
  .btn:hover {
    transform: translateY(-1px);
  }
  
  .btn:active {
    transform: translateY(0);
  }
  
  .btn:focus-visible {
    outline: 3px solid rgba(22, 101, 176, 0.25);
    outline-offset: 2px;
  }
  
  .btn-green {
    background: var(--green);
    color: #fff;
  }
  
  .btn-green:hover {
    background: var(--green-dk);
  }
  
  
  /* Hamburger */
  
  .hamb {
    display: none;
  
    width: 40px;
    height: 40px;
  
    padding: 8px;
  
    flex-direction: column;
    align-items: center;
    justify-content: center;
  
    gap: 5px;
  
    background: transparent;
  
    border: 1px solid transparent;
    border-radius: 8px;
  
    cursor: pointer;
  }
  
  .hamb span {
    display: block;
  
    width: 22px;
    height: 2px;
  
    border-radius: 2px;
  
    background: var(--blue-dk);
  
    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
  }
  
  .hamb:hover {
    background: var(--blue-lt);
  }
  
  
  /* =========================================================
     5. DROPDOWN
     ========================================================= */
  
  .dropdown {
    position: relative;
  }
  
  .drop-trigger {
    display: flex;
    align-items: center;
  
    gap: 5px;
  
    padding: 8px 0;
  
    background: none;
    border: none;
  
    color: inherit;
  
    font: inherit;
    font-size: 14.5px;
    font-weight: 600;
  
    cursor: pointer;
  }
  
  .drop-trigger:hover {
    color: var(--blue);
  }
  
  .caret {
    font-size: 10px;
  
    transition: transform 0.2s ease;
  }
  
  .dropdown.open .caret {
    transform: rotate(180deg);
  }
  
  .dropdown-menu {
    position: absolute;
  
    top: 100%;
    left: 0;
  
    z-index: 100;
  
    display: none;
  
    padding-top: 10px;
  }
  
  .dropdown.open .dropdown-menu {
    display: block;
  }
  
  .dropdown-panel {
    min-width: 210px;
  
    padding: 8px;
  
    display: flex;
    flex-direction: column;
  
    gap: 2px;
  
    background: #fff;
  
    border: 1px solid var(--line);
    border-radius: 10px;
  
    box-shadow: var(--shadow-lg);
  }
  
  .dropdown-menu a {
    display: block;
  
    padding: 9px 12px;
  
    border-radius: 7px;
  
    color: #3a4a41;
  
    font-size: 13.5px;
    font-weight: 600;
  
    transition:
      background 0.2s ease,
      color 0.2s ease;
  }
  
  .dropdown-menu a:hover {
    background: var(--green-lt);
    color: var(--green-dk);
  }
  
  
  /* Desktop hover dropdown */
  
  @media (hover: hover) and (pointer: fine) {
  
    .dropdown:hover .dropdown-menu {
      display: block;
    }
  
    .dropdown:hover .caret {
      transform: rotate(180deg);
    }
  
  }
  
  
  /* =========================================================
     6. HERO
     ========================================================= */
  
  .hero {
    position: relative;
  
    color: #fff;
  
    padding: 64px 0 48px;
  
    background:
      linear-gradient(
        180deg,
        var(--blue-dk),
        #123a5e 60%,
        #0d2e4a
      );
  
    overflow: hidden;
  }
  
  .hero-grid {
    display: grid;
  
    grid-template-columns:
      minmax(0, 1.15fr)
      minmax(300px, 0.85fr);
  
    gap: 48px;
  
    align-items: center;
  }
  
  .eyebrow-tag {
    display: inline-block;
  
    margin-bottom: 16px;
    padding: 6px 14px;
  
    background: rgba(255, 255, 255, 0.12);
  
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
  
    font-size: 13px;
    font-weight: 600;
  }
  
  .hero h1 {
    max-width: 720px;
  
    margin: 0 0 14px;
  
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;
  
    font-weight: 800;
  }
  
  .hero p {
    max-width: 650px;
  
    margin: 0 0 26px;
  
    color: #cfe0ef;
  
    font-size: 16px;
  }
  
  /* =====================================================
   SEARCH DESKTOP
   ===================================================== */

.search {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 12px;
  padding: 8px;

  display: flex;
  align-items: center;
  gap: 8px;

  overflow: hidden;
}

.search input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;

  border: none;
  outline: none;
  background: transparent;

  padding: 12px 14px;

  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
}

.search input::placeholder {
  color: #777;
}

.search button {
  flex: 0 0 auto;

  border: none;
  outline: none;
  background: var(--green);
  color: #fff;

  border-radius: 8px;

  padding: 12px 24px;

  font-family: inherit;
  font-size: 15px;
  font-weight: 700;

  cursor: pointer;

  white-space: nowrap;
}

.search button:hover {
  background: var(--green-dk);
}


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

@media (max-width: 820px) {

  .search {
    width: 100%;
    max-width: 100%;

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

    gap: 8px;

    padding: 8px;
  }

  .search input {
    width: 100%;
    min-width: 0;
  }

  .search button {
    width: auto;
    min-width: 90px;
  }

}


/* =====================================================
   HP
   ===================================================== */

@media (max-width: 480px) {

  .search {
    width: 100%;
    max-width: 100%;

    /* PENTING:
       input dan tombol dibuat vertikal */
    display: flex !important;
    flex-direction: column !important;

    align-items: stretch !important;

    gap: 8px;

    padding: 8px;

    /* cegah elemen keluar */
    overflow: hidden;
  }

  .search input {
    display: block !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    height: 48px;

    margin: 0 !important;
    padding: 10px 12px;

    box-sizing: border-box;
  }

  .search button {
    display: block !important;

    position: static !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    height: 48px;

    margin: 0 !important;
    padding: 10px 12px;

    box-sizing: border-box;

    transform: none !important;
  }

}


/* =====================================================
   HP SANGAT KECIL
   ===================================================== */

@media (max-width: 360px) {

  .search {
    padding: 7px;
    gap: 7px;
  }

  .search input,
  .search button {
    height: 46px;
    font-size: 14px;
  }

}
  
  .hint {
    margin-top: 10px;
  
    color: #9fb6cb;
  
    font-size: 12.5px;
  }
  
  
  /* =========================================================
     7. STAT CARD
     ========================================================= */
  
  .stat-card {
    padding: 18px 22px;
  
    background: rgba(255, 255, 255, 0.08);
  
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
  
    backdrop-filter: blur(6px);
  }
  
  .stat-row {
    display: flex;
    align-items: center;
  
    gap: 14px;
  
    padding: 12px 0;
  
    border-bottom:
      1px solid rgba(255, 255, 255, 0.14);
  }
  
  .stat-row:last-child {
    border-bottom: none;
  }
  
  .stat-ic {
    width: 38px;
    height: 38px;
  
    flex: 0 0 38px;
  
    display: flex;
    align-items: center;
    justify-content: center;
  
    border-radius: 9px;
  
    background: rgba(255, 255, 255, 0.14);
  
    font-size: 18px;
  }
  
  .stat-num {
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
  }
  
  .stat-label {
    margin-top: 2px;
  
    color: #b9cee1;
  
    font-size: 12.5px;
  }
  
  
  /* =========================================================
     8. QUICK LINKS
     ========================================================= */
  
  .quicklinks {
    display: flex;
  
    gap: 14px;
  
    margin-top: 34px;
  
    flex-wrap: wrap;
  }
  
  .qlink {
    flex: 1 1 150px;
  
    min-width: 150px;
  
    padding: 16px 14px;
  
    background: #fff;
  
    color: var(--ink);
  
    border-radius: 12px;
  
    text-align: center;
  
    font-size: 13.5px;
    font-weight: 700;
  
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  
    transition:
      transform 0.2s ease,
      box-shadow 0.2s ease;
  }
  
  .qlink:hover {
    transform: translateY(-3px);
  
    box-shadow:
      0 10px 24px rgba(0, 0, 0, 0.2);
  }
  
  .qlink .ic {
    width: 30px;
    height: 30px;
  
    display: flex;
    align-items: center;
    justify-content: center;
  
    margin: 0 auto 8px;
  
    border-radius: 8px;
  
    background: var(--green-lt);
    color: var(--green);
  
    font-size: 15px;
  }
  
  
  /* =========================================================
     9. TRUST SECTION
     ========================================================= */
  
  .trust {
    padding: 26px 0;
  
    background: #fff;
  
    border-bottom: 1px solid var(--line);
  }
  
  .trust-grid {
    display: grid;
  
    grid-template-columns:
      repeat(4, minmax(0, 1fr));
  
    gap: 18px;
  
    text-align: center;
  }
  
  .trust-item .ic {
    width: 44px;
    height: 44px;
  
    display: flex;
    align-items: center;
    justify-content: center;
  
    margin: 0 auto 8px;
  
    border-radius: 50%;
  
    background: var(--blue-lt);
    color: var(--blue);
  
    font-size: 19px;
  }
  
  .trust-item div.t {
    font-size: 13px;
    font-weight: 700;
  }
  
  
  /* =========================================================
     10. SECTION
     ========================================================= */
  
  section.block {
    width: 100%;
  
    padding: 52px 0;
  }
  
  .block-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
  
    gap: 20px;
  
    margin-bottom: 20px;
  }
  
  .block-head h2 {
    display: flex;
    align-items: center;
  
    gap: 8px;
  
    margin: 0;
  
    font-size: 20px;
    line-height: 1.3;
  
    font-weight: 800;
  }
  
  .block-head h2 .sw {
    width: 5px;
    height: 18px;
  
    flex: 0 0 5px;
  
    display: inline-block;
  
    background: var(--green);
  
    border-radius: 3px;
  }
  
  .block-head a {
    flex-shrink: 0;
  
    color: var(--blue);
  
    font-size: 13px;
    font-weight: 700;
  }
  
  .block-head a:hover {
    text-decoration: underline;
  }
  
  
  /* =========================================================
     11. GRID
     ========================================================= */
  
  .grid2 {
    display: grid;
  
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  
    gap: 16px;
  }
  
  .grid3 {
    display: grid;
  
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  
    gap: 16px;
  }
  
  
  /* =========================================================
     12. CARD
     ========================================================= */
  
  .card {
    min-width: 0;
  
    padding: 18px;
  
    background: #fff;
  
    border: 1px solid var(--line);
    border-radius: 12px;
  
    transition:
      transform 0.2s ease,
      box-shadow 0.2s ease;
  }
  
  .card:hover {
    transform: translateY(-2px);
  
    box-shadow: var(--shadow-sm);
  }
  
  .card .ic {
    width: 34px;
    height: 34px;
  
    display: flex;
    align-items: center;
    justify-content: center;
  
    margin-bottom: 10px;
  
    border-radius: 9px;
  
    color: #fff;
  
    font-size: 15px;
  }
  
  .card h3 {
    margin: 0 0 5px;
  
    font-size: 14.5px;
  
    font-weight: 700;
  }
  
  .card p {
    margin: 0;
  
    color: var(--muted);
  
    font-size: 12.5px;
  }
  
  
  /* =========================================================
     13. DESA CARD / CAROUSEL
     ========================================================= */
  
  .desa-card {
    flex: 0 0 calc((100% - 32px) / 3);
  
    min-width: 0;
  
    overflow: hidden;
  
    background: #fff;
  
    border: 1px solid var(--line);
    border-radius: 14px;
  
    scroll-snap-align: start;
  
    transition:
      transform 0.2s ease,
      box-shadow 0.2s ease;
  }
  
  .desa-card:hover {
    transform: translateY(-2px);
  
    box-shadow: var(--shadow-sm);
  }
  
  .desa-photo {
    height: 130px;
  
    overflow: hidden;
  
    margin: 10px 10px 0;
  
    border-radius: 10px;
  }
  
  .desa-photo svg {
    width: 100%;
    height: 100%;
  
    display: block;
  }
  
  .desa-body {
    padding: 12px 14px 16px;
  }
  
  .desa-body h3 {
    margin: 0 0 4px;
  
    font-size: 14px;
  }
  
  .desa-body p {
    margin: 0;
  
    color: var(--muted);
  
    font-size: 12px;
  
    line-height: 1.4;
  }
  
  
  /* Carousel */
  
  .carousel {
    display: flex;
    align-items: center;
  
    gap: 10px;
  
    width: 100%;
  }
  
  .car-track {
    display: flex;
  
    gap: 16px;
  
    min-width: 0;
  
    overflow-x: auto;
  
    padding: 2px;
  
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
  
    scrollbar-width: none;
  
    -webkit-overflow-scrolling: touch;
  }
  
  .car-track::-webkit-scrollbar {
    display: none;
  }
  
  .car-nav {
    width: 36px;
    height: 36px;
  
    flex: 0 0 36px;
  
    display: flex;
    align-items: center;
    justify-content: center;
  
    border: 1px solid var(--line);
    border-radius: 50%;
  
    background: #fff;
  
    color: var(--blue-dk);
  
    font-size: 18px;
  
    cursor: pointer;
  
    transition:
      background 0.2s ease,
      transform 0.2s ease;
  }
  
  .car-nav:hover {
    background: var(--blue-lt);
  
    transform: scale(1.05);
  }
  
  .car-dots {
    display: flex;
    justify-content: center;
  
    gap: 8px;
  
    margin-top: 16px;
  }
  
  .car-dots .dot {
    width: 8px;
    height: 8px;
  
    padding: 0;
  
    border: none;
    border-radius: 50%;
  
    background: var(--line);
  
    cursor: pointer;
  }
  
  .car-dots .dot.active {
    width: 20px;
  
    border-radius: 5px;
  
    background: var(--blue);
  
    transition: width 0.2s ease;
  }
  
  
  /* =========================================================
     14. MAP
     ========================================================= */
  
  .map-panel {
    display: grid;
  
    grid-template-columns:
      minmax(0, 1.3fr)
      minmax(260px, 1fr);
  
    gap: 20px;
  
    padding: 22px;
  
    background: var(--blue-dk);
  
    color: #fff;
  
    border-radius: 14px;
  }
  
  .map-shape {
    width: 100%;
    min-height: 280px;
  
    overflow: hidden;
  
    background: #0b3d66;
  
    border-radius: 10px;
  }
  
  .map-shape .leaflet-popup-content-wrapper {
    border-radius: 8px;
  }
  
  .map-shape .leaflet-popup-content {
    margin: 8px 10px;
  
    font-size: 13px;
  }
  
  .map-shape .glow-dot path {
    filter:
      drop-shadow(
        0 0 4px #eaffb0
      );
  }
  
  .map-shape .glow-dot-main path {
    filter:
      drop-shadow(
        0 0 5px #ffce6b
      );
  }
  
  .map-list {
    display: flex;
    flex-direction: column;
  
    gap: 8px;
  
    margin: 0;
    padding: 0;
  
    font-size: 13px;
  }
  
  .map-list li {
    display: flex;
    justify-content: space-between;
  
    gap: 15px;
  
    padding-bottom: 6px;
  
    list-style: none;
  
    border-bottom:
      1px solid rgba(255, 255, 255, 0.12);
  }
  
  .map-list li:last-child {
    border-bottom: none;
  }
  
  .map-list b {
    color: var(--gold);
  }
  
  
  /* =========================================================
     15. STEPS
     ========================================================= */
  
  .steps {
    display: grid;
  
    grid-template-columns:
      repeat(5, minmax(0, 1fr));
  
    gap: 10px;
  }
  
  .step {
    min-width: 0;
  
    padding: 16px 8px;
  
    background: #fff;
  
    border: 1px solid var(--line);
    border-radius: 12px;
  
    text-align: center;
  
    transition:
      transform 0.2s ease,
      box-shadow 0.2s ease;
  }
  
  .step:hover {
    transform: translateY(-2px);
  
    box-shadow: var(--shadow-sm);
  }
  
  .step .n {
    width: 34px;
    height: 34px;
  
    display: flex;
    align-items: center;
    justify-content: center;
  
    margin: 0 auto 8px;
  
    border-radius: 50%;
  
    background: var(--green);
    color: #fff;
  
    font-weight: 800;
  }
  
  .step h4 {
    margin: 0;
  
    font-size: 12.5px;
  
    line-height: 1.4;
  }
  
  
  /* =========================================================
     16. TAGS
     ========================================================= */
  
  .tags {
    display: flex;
  
    flex-wrap: wrap;
  
    gap: 9px;
  }
  
  .tag {
    padding: 7px 14px;
  
    background: #fff;
  
    border: 1px solid var(--line);
    border-radius: 20px;
  
    font-size: 12.5px;
    font-weight: 600;
  
    transition:
      background 0.2s ease,
      border-color 0.2s ease,
      color 0.2s ease;
  }
  
  .tag:hover {
    background: var(--green-lt);
  
    border-color: #b9dcc7;
  
    color: var(--green-dk);
  }
  
  
  /* =========================================================
     17. MANFAAT UNTUK DESA
     ========================================================= */
  
  .benefit-panel {
    width: 100%;
  
    display: grid;
  
    grid-template-columns:
      minmax(0, 1.2fr)
      minmax(300px, 0.8fr);
  
    gap: 35px;
  
    align-items: center;
  
    padding: 30px;
  
    background: #f8fbf9;
  
    border: 1px solid var(--line);
    border-radius: 18px;
  }
  
  
  /* List */
  
  .benefit-list {
    min-width: 0;
  }
  
  .benefit-list ul {
    margin: 0;
  
    padding: 0;
  
    list-style: none;
  }
  
  .benefit-list li {
    position: relative;
  
    margin: 0 0 14px;
  
    padding-left: 30px;
  
    color: var(--ink);
  
    font-size: 14px;
  
    line-height: 1.6;
  }
  
  .benefit-list li:last-child {
    margin-bottom: 0;
  }
  
  .benefit-list li::before {
    content: "✓";
  
    position: absolute;
  
    left: 0;
    top: 1px;
  
    width: 21px;
    height: 21px;
  
    display: flex;
    align-items: center;
    justify-content: center;
  
    background: var(--green-lt);
  
    color: var(--green);
  
    border-radius: 50%;
  
    font-size: 12px;
    font-weight: 800;
  }
  
  
  /* Image */
  
  .benefit-image {
    width: 100%;
  
    overflow: hidden;
  
    border-radius: 16px;
  
    box-shadow: var(--shadow-sm);
  }
  
  .benefit-image img {
    display: block;
  
    width: 100%;
  
    height: 300px;
  
    object-fit: cover;
  
    border-radius: 16px;
  
    transition:
      transform 0.35s ease;
  }
  
  .benefit-image:hover img {
    transform: scale(1.03);
  }
  
  
  /* =========================================================
     18. FOOTER
     ========================================================= */
  
  footer {
    padding: 32px 0;
  
    background: var(--blue-dk);
  
    color: #cfe0ef;
  
    text-align: center;
  
    font-size: 13px;
  }
  
  
  /* =========================================================
     19. TABLET
     1024px ke bawah
     ========================================================= */
  
  @media (max-width: 1024px) {
  
    .wrap {
      padding-left: 22px;
      padding-right: 22px;
    }
  
    .nav {
      padding-left: 22px;
      padding-right: 22px;
    }
  
    .navlinks {
      gap: 18px;
    }
  
    .hero {
      padding-top: 52px;
      padding-bottom: 42px;
    }
  
    .hero-grid {
      grid-template-columns:
        minmax(0, 1fr)
        minmax(280px, 0.8fr);
  
      gap: 30px;
    }
  
    .benefit-panel {
      grid-template-columns:
        minmax(0, 1fr)
        minmax(280px, 0.8fr);
  
      gap: 26px;
  
      padding: 26px;
    }
  
    .benefit-image img {
      height: 270px;
    }
  
  }
  
  
  /* =========================================================
     20. TABLET / HP BESAR
     820px ke bawah
     ========================================================= */
  
  @media (max-width: 820px) {
  
    /* Container */
  
    .wrap {
      padding-left: 18px;
      padding-right: 18px;
    }
  
  
    /* Navbar */
  
    .nav {
      min-height: 60px;
  
      padding:
        10px 18px;
    }
  
    .navlinks {
      display: none;
    }
  
    .navlinks.open {
      position: absolute;
  
      top: 100%;
      left: 0;
      right: 0;
  
      z-index: 999;
  
      display: flex;
      flex-direction: column;
  
      gap: 0;
  
      margin: 0;
      padding: 8px 18px 14px;
  
      background: #fff;
  
      border-bottom: 1px solid var(--line);
  
      box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.08);
    }
  
    .navlinks.open > a {
      width: 100%;
  
      padding: 12px 4px;
  
      border-bottom: 1px solid var(--line);
    }
  
    .hamb {
      display: flex;
    }
  
    .dropdown {
      width: 100%;
    }
  
    .drop-trigger {
      width: 100%;
  
      justify-content: space-between;
  
      padding: 12px 4px;
  
      border-bottom: 1px solid var(--line);
    }
  
    .dropdown-menu {
      position: static;
  
      width: 100%;
  
      padding: 0;
    }
  
    .dropdown-panel {
      min-width: 0;
  
      padding: 4px 0 6px 14px;
  
      border: none;
  
      border-radius: 0;
  
      box-shadow: none;
    }
  
    .dropdown-menu a {
      padding: 10px 12px;
    }
  
  
    /* Hero */
  
    .hero {
      padding: 46px 0 38px;
    }
  
    .hero-grid {
      grid-template-columns: 1fr;
  
      gap: 30px;
    }
  
    .hero h1 {
      max-width: 700px;
  
      font-size:
        clamp(28px, 6vw, 38px);
    }
  
    .hero p {
      font-size: 15px;
    }
  
    .search {
      max-width: 100%;
    }
  
  
    /* Quick links */
  
    .quicklinks {
      flex-wrap: nowrap;
  
      overflow-x: auto;
  
      padding-bottom: 8px;
  
      scroll-snap-type: x mandatory;
  
      -webkit-overflow-scrolling: touch;
  
      scrollbar-width: none;
    }
  
    .quicklinks::-webkit-scrollbar {
      display: none;
    }
  
    .qlink {
      flex:
        0 0 150px;
  
      min-width: 150px;
  
      scroll-snap-align: start;
    }
  
  
    /* Trust */
  
    .trust-grid {
      grid-template-columns:
        repeat(2, minmax(0, 1fr));
  
      gap: 20px;
    }
  
  
    /* Sections */
  
    section.block {
      padding: 42px 0;
    }
  
  
    /* Grid */
  
    .grid2 {
      grid-template-columns: 1fr;
    }
  
    .grid3 {
      grid-template-columns:
        repeat(2, minmax(0, 1fr));
    }
  
  
    /* Desa carousel */
  
    .desa-card {
      flex-basis: 72%;
    }
  
  
    /* Map */
  
    .map-panel {
      grid-template-columns: 1fr;
  
      gap: 18px;
  
      padding: 18px;
    }
  
    .map-shape {
      min-height: 300px;
    }
  
  
    /* Steps */
  
    .steps {
      grid-template-columns:
        repeat(3, minmax(0, 1fr));
    }
  
  
    /* Benefits */
  
    .benefit-panel {
      grid-template-columns: 1fr;
  
      gap: 24px;
  
      padding: 22px;
    }
  
    .benefit-image {
      order: 2;
    }
  
    .benefit-list {
      order: 1;
    }
  
    .benefit-image img {
      height: 280px;
    }
  
  }
  
  
  /* =========================================================
     21. HP
     600px ke bawah
     ========================================================= */
  
  @media (max-width: 600px) {
  
    .wrap {
      padding-left: 16px;
      padding-right: 16px;
    }
  
  
    /* Navbar */
  
    .nav {
      padding-left: 16px;
      padding-right: 16px;
    }
  
    .brand {
      font-size: 18px;
    }
  
    .brand .mark {
      width: 32px;
      height: 32px;
    }
  
    .navactions {
      gap: 5px;
    }
  
    .navactions .btn {
      display: none;
    }
  
  
    /* Hero */
  
    .hero {
      padding: 38px 0 32px;
    }
  
    .hero-grid {
      gap: 26px;
    }
  
    .hero h1 {
      margin-bottom: 12px;
  
      font-size:
        clamp(26px, 8vw, 32px);
    }
  
    .hero p {
      margin-bottom: 20px;
  
      font-size: 14px;
  
      line-height: 1.6;
    }
  
    .eyebrow-tag {
      margin-bottom: 12px;
  
      padding: 5px 11px;
  
      font-size: 12px;
    }
  
  
    /* Search */
  
    .search{
      background:#fff;
      border-radius:12px;
      padding:8px;
      display:flex;
      gap:8px;
      max-width:520px
    }
  
    .search input{
      border:none;
      outline:none;
      flex:1;
      padding:10px 12px;
      font-size:14.5px
    }
  
    .search button {
      padding: 9px 13px;
  
      font-size: 13px;
    }
  
    .hint {
      font-size: 11.5px;
    }
  
  
    /* Stat */
  
    .stat-card {
      padding: 14px 16px;
    }
  
    .stat-row {
      gap: 11px;
  
      padding: 10px 0;
    }
  
    .stat-ic {
      width: 34px;
      height: 34px;
  
      flex-basis: 34px;
  
      font-size: 15px;
    }
  
    .stat-num {
      font-size: 18px;
    }
  
    .stat-label {
      font-size: 11.5px;
    }
  
  
    /* Trust */
  
    .trust {
      padding: 22px 0;
    }
  
    .trust-grid {
      grid-template-columns:
        repeat(2, minmax(0, 1fr));
  
      gap: 18px 10px;
    }
  
    .trust-item .ic {
      width: 40px;
      height: 40px;
  
      font-size: 17px;
    }
  
    .trust-item div.t {
      font-size: 12px;
    }
  
  
    /* Sections */
  
    section.block {
      padding: 36px 0;
    }
  
    .block-head {
      align-items: flex-start;
  
      gap: 10px;
  
      margin-bottom: 16px;
    }
  
    .block-head h2 {
      font-size: 18px;
    }
  
    .block-head a {
      font-size: 12px;
    }
  
  
    /* Grid */
  
    .grid2,
    .grid3 {
      grid-template-columns: 1fr;
    }
  
    .card {
      padding: 16px;
    }
  
  
    /* Carousel */
  
    .carousel {
      gap: 6px;
    }
  
    .car-nav {
      width: 32px;
      height: 32px;
  
      flex-basis: 32px;
  
      font-size: 16px;
    }
  
    .desa-card {
      flex-basis: 84%;
    }
  
    .desa-photo {
      height: 150px;
    }
  
  
    /* Map */
  
    .map-panel {
      padding: 14px;
  
      border-radius: 12px;
    }
  
    .map-shape {
      min-height: 250px;
    }
  
    .map-list {
      font-size: 12px;
    }
  
    .map-list li {
      gap: 10px;
    }
  
  
    /* Steps */
  
    .steps {
      grid-template-columns:
        repeat(2, minmax(0, 1fr));
  
      gap: 9px;
    }
  
    .step {
      padding: 14px 7px;
    }
  
    .step .n {
      width: 32px;
      height: 32px;
    }
  
  
    /* Tags */
  
    .tags {
      gap: 7px;
    }
  
    .tag {
      padding: 6px 11px;
  
      font-size: 12px;
    }
  
  
    /* Benefits */
  
    .benefit-panel {
      padding: 18px;
  
      gap: 20px;
  
      border-radius: 14px;
    }
  
    .benefit-list li {
      margin-bottom: 12px;
  
      padding-left: 28px;
  
      font-size: 13.5px;
    }
  
    .benefit-list li::before {
      width: 20px;
      height: 20px;
    }
  
    .benefit-image img {
      height: 230px;
  
      border-radius: 12px;
    }
  
  
    /* Footer */
  
    footer {
      padding: 26px 16px;
  
      font-size: 12px;
    }
  
  }
  
  
  /* =========================================================
     22. HP KECIL
     480px ke bawah
     ========================================================= */
  
  @media (max-width: 480px) {
  
    .wrap {
      padding-left: 14px;
      padding-right: 14px;
    }
  
    .nav {
      padding-left: 14px;
      padding-right: 14px;
    }
  
  
    /* Brand */
  
    .brand {
      gap: 8px;
  
      font-size: 17px;
    }
  
    .brand .mark {
      width: 30px;
      height: 30px;
  
      flex-basis: 30px;
    }
  
  
    /* Hero */
  
    .hero {
      padding-top: 32px;
      padding-bottom: 28px;
    }
  
    .hero h1 {
      font-size: 25px;
  
      line-height: 1.2;
    }
  
    .hero p {
      font-size: 13.5px;
    }
  
  
    /* Search */
  
    .search {
      display: grid;
  
      grid-template-columns: 1fr;
  
      gap: 5px;
  
      padding: 6px;
    }
  
    .search input {
      width: 100%;
  
      padding: 10px;
    }
  
    .search button {
      width: 100%;
    }
  
  
    /* Quick links */
  
    .qlink {
      flex-basis: 135px;
  
      min-width: 135px;
  
      padding: 14px 10px;
  
      font-size: 12.5px;
    }
  
  
    /* Trust */
  
    .trust-grid {
      gap: 16px 8px;
    }
  
  
    /* Block */
  
    section.block {
      padding: 32px 0;
    }
  
    .block-head h2 {
      font-size: 17px;
    }
  
  
    /* Desa */
  
    .desa-card {
      flex-basis: 90%;
    }
  
    .desa-photo {
      height: 140px;
    }
  
  
    /* Map */
  
    .map-panel {
      padding: 12px;
    }
  
    .map-shape {
      min-height: 220px;
    }
  
  
    /* Steps */
  
    .steps {
      grid-template-columns: 1fr 1fr;
    }
  
  
    /* Benefit */
  
    .benefit-panel {
      padding: 15px;
    }
  
    .benefit-list li {
      font-size: 13px;
    }
  
    .benefit-image img {
      height: 200px;
    }
  
  }
  
  
  /* =========================================================
     23. HP SANGAT KECIL
     360px ke bawah
     ========================================================= */
  
  @media (max-width: 360px) {
  
    .brand {
      font-size: 16px;
    }
  
    .hamb {
      width: 36px;
      height: 36px;
    }
  
    .hero h1 {
      font-size: 23px;
    }
  
    .hero p {
      font-size: 13px;
    }
  
    .qlink {
      flex-basis: 125px;
      min-width: 125px;
    }
  
    .trust-grid {
      grid-template-columns: 1fr 1fr;
    }
  
    .benefit-panel {
      padding: 13px;
    }
  
    .benefit-image img {
      height: 180px;
    }
  
  }
  
  
  /* =========================================================
     24. LANDSCAPE HP
     ========================================================= */
  
  @media (max-width: 820px) and (orientation: landscape) {
  
    .hero {
      padding-top: 32px;
      padding-bottom: 32px;
    }
  
    .hero-grid {
      grid-template-columns:
        minmax(0, 1.2fr)
        minmax(250px, 0.8fr);
  
      align-items: center;
    }
  
    .hero h1 {
      font-size: 28px;
    }
  
    .stat-card {
      max-width: 100%;
    }
  
  }
  
  
  /* =========================================================
     25. REDUCED MOTION
     ========================================================= */
  
  @media (prefers-reduced-motion: reduce) {
  
    *,
    *::before,
    *::after {
      scroll-behavior: auto !important;
  
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
  
      transition-duration: 0.01ms !important;
    }
  
  }

  /* =========================================================
   FIX RESPONSIVE / ANTI HORIZONTAL OVERFLOW
   ========================================================= */

/* Semua elemen tidak boleh membuat halaman lebih lebar */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Mencegah padding membuat ukuran elemen melebar */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Gambar selalu mengikuti lebar parent */
img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

/* Container aman di HP */
.wrap {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Grid/flex child tidak boleh memaksa parent melebar */
.hero-grid > *,
.grid2 > *,
.grid3 > *,
.map-panel > *,
.benefit-panel > *,
.stat-card,
.search,
.quicklinks,
.car-track {
  min-width: 0;
}


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

.hero {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.hero-grid {
  width: 100%;
  min-width: 0;
}

.hero h1 {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

.hero p {
  max-width: 100%;
  overflow-wrap: anywhere;
}


/* =========================================================
   SEARCH
   ========================================================= */

.search {
  width: 100%;
  max-width: 520px;
  min-width: 0;
}

.search input {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.search button {
  flex: 0 0 auto;
  white-space: nowrap;
}


/* =========================================================
   QUICK LINK
   ========================================================= */

.quicklinks {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.qlink {
  min-width: 0;
}


/* =========================================================
   CAROUSEL
   ========================================================= */

.carousel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.car-track {
  min-width: 0;
  max-width: 100%;
}


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

@media (max-width: 820px) {

  .wrap {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding: 42px 0 32px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.2;
  }

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

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

  .quicklinks {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .quicklinks::-webkit-scrollbar {
    height: 4px;
  }

  .qlink {
    flex: 0 0 180px;
  }

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

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

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

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

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


/* =========================================================
   HP
   ========================================================= */

@media (max-width: 480px) {

  .wrap {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero {
    padding: 32px 0 28px;
  }

  .eyebrow-tag {
    max-width: 100%;
    font-size: 12px;
    padding: 6px 12px;
  }

  .hero h1 {
    font-size: 26px;
    line-height: 1.18;
    margin-bottom: 12px;
  }

  .hero p {
    font-size: 14px;
    line-height: 1.6;
  }

  /* Search HP dibuat vertikal */
  .search {
    background: #fff;
    border-radius: 12px;
    padding: 8px;
    display: flex;
    gap: 8px;
    width: 100%;
    max-width: 520px;
    min-width: 0;
  }
  
  .search input {
    border: none;
    outline: none;
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 10px 12px;
    font-size: 14.5px;
  }
  
  .search button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .search button {
    width: 100%;
    min-width: 0;
    padding: 12px;
  }

  .hint {
    font-size: 12px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  /* Quick link boleh digeser horizontal,
     tetapi tidak membuat BODY ikut melebar */
     @media (max-width: 820px) {
      .quicklinks {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 14px;
        width: 100%;
        max-width: 100%;
        padding-bottom: 8px;
      }
    
      .qlink {
        flex: 0 0 180px;
        min-width: 180px;
      }
    }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

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

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

  .map-panel {
    padding: 14px;
  }

  .benefit-panel {
    padding: 16px;
    gap: 20px;
  }

  .benefit-image img {
    height: 210px;
  }

  .block-head h2 {
    font-size: 17px;
  }
}


/* =========================================================
   HP SANGAT KECIL
   ========================================================= */

@media (max-width: 360px) {

  .wrap {
    padding-left: 10px;
    padding-right: 10px;
  }

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

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

  .qlink {
    flex-basis: 165px;
    min-width: 165px;
  }

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