/* lantai sentuh 44px visual: /about/ — hanya layar sentuh */

@media (pointer: coarse) and (hover: none) {
  /* Menu buka / tutup */
  html body button#nav-toggle.nav-toggle.atlas-nav-menu-btn,
  html body button.drawer-close.atlas-nav-menu-btn.atlas-nav-menu-btn--close {
    min-width: calc(44px / var(--zr, 1)) !important;
    min-height: calc(44px / var(--zr, 1)) !important;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Tab proyek hero */
  html body button.model-switch-opt#tab-casavida,
  html body button.model-switch-opt#tab-arcadia {
    min-height: calc(44px / var(--zr, 1)) !important;
  }

  /* Baris accordion perjalanan */
  html body .j-accord button.j-card {
    min-height: calc(44px / var(--zr, 1)) !important;
  }

  /* Dot tahap — kotak sentuh besar, titik visual tetap di ::before */
  html body .j-dots button.j-dot {
    box-sizing: border-box;
    width: calc(44px / var(--zr, 1));
    height: calc(44px / var(--zr, 1));
    min-width: calc(44px / var(--zr, 1)) !important;
    min-height: calc(44px / var(--zr, 1)) !important;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: none;
    transition: none;
    box-shadow: none;
  }

  html body .j-dots button.j-dot::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(0, 34, 68, 0.15);
    box-shadow: none;
    transition: width 0.35s ease, background 0.3s, transform 0.25s;
  }

  html body .j-dots button.j-dot.is-active {
    box-shadow: none;
    filter: drop-shadow(0 2px 10px rgba(166, 138, 86, 0.35));
  }

  html body .j-dots button.j-dot.is-active::before {
    width: 28px;
    height: 8px;
    background: linear-gradient(90deg, #e6d2a7, #a68a56);
    box-shadow: none;
  }

  html body .j-dots button.j-dot:hover::before {
    background: rgba(166, 138, 86, 0.45);
    transform: scale(1.15);
  }

  /* CTA form promo */
  html body button.btn-gold.form-submit {
    min-height: calc(44px / var(--zr, 1)) !important;
  }

  /* Kembali ke atas — pertahankan pusat saat kotak membesar */
  html body button#back-to-top-btn {
    min-width: calc(44px / var(--zr, 1)) !important;
    min-height: calc(44px / var(--zr, 1)) !important;
    left: calc(24px + (40px - 44px / var(--zr, 1)) / 2);
    bottom: calc(24px + (40px - 44px / var(--zr, 1)) / 2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Tutup lightbox — pusat tetap */
  html body button#lb-close.lb-close {
    min-width: calc(44px / var(--zr, 1)) !important;
    min-height: calc(44px / var(--zr, 1)) !important;
    top: calc(18px + (46px - 44px / var(--zr, 1)) / 2);
    right: calc(18px + (46px - 44px / var(--zr, 1)) / 2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
