﻿/* Naraz Trans Solution behavior and interaction CSS.
   Brand colors are configured in Tailwind CDN and applied with Tailwind utilities in HTML. */

@media (max-width: 767px) {
  section[id] {
    scroll-margin-top: 10px;
  }
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-block: 0.5rem;
  font-size: 0.925rem;
  font-weight: 500;
  transition: color 200ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.25rem;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.registration-dropdown {
  position: relative;
}

.registration-dropdown-panel {
  position: absolute;
  top: calc(100% + 0.875rem);
  left: 50%;
  z-index: 70;
  min-width: 13.5rem;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  border-radius: 4px;
  background: #ffffff;
  color: #1b1a19;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -0.5rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.registration-dropdown.is-open .registration-dropdown-panel,
.registration-dropdown:hover .registration-dropdown-panel,
.registration-dropdown:focus-within .registration-dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.registration-dropdown-item {
  display: flex;
  align-items: center;
  min-height: 2.875rem;
  border-bottom: 1px solid #e5e5e5;
  background: #ffffff;
  color: #1b1a19;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease;
}

.registration-dropdown-item:last-child {
  border-bottom: 0;
}

.registration-dropdown-item:hover,
.registration-dropdown-item:focus-visible {
  background: #f5f5f5;
  color: #009911;
  outline: none;
}

.mobile-registration-group {
  margin: 0.25rem 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  padding: 0.125rem 0 0.25rem;
}

.mobile-registration-link {
  padding: 0.875rem 1rem;
  font-weight: 500;
}

body.investor-modal-lock {
  overflow: hidden;
}

.investor-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #ffffff;
  color: #1b1a19;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.5rem);
  transition: opacity 220ms ease, transform 220ms ease;
}

.investor-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.investor-modal-shell {
  height: 100dvh;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.investor-modal,
.investor-modal-shell,
.investor-modal-layout,
.investor-modal-form-pane,
.investor-registration-form,
.investor-form-fields,
.investor-form-field,
.investor-custom-select,
.investor-select-trigger,
.investor-input-wrap,
.investor-input-wrap input,
.investor-submit-button {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.investor-modal,
.investor-modal-shell,
.investor-modal-layout,
.investor-modal-form-pane {
  overflow-x: hidden;
}

.investor-modal-back,
.investor-modal-close {
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  z-index: 4;
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background: #ffffff;
  color: #1b1a19;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.investor-modal-back {
  display: none;
}

.popup-mobile-header {
  display: none;
}

.investor-modal-back:hover,
.investor-modal-back:focus-visible,
.investor-modal-close:hover,
.investor-modal-close:focus-visible {
  border-color: #009911;
  color: #009911;
  outline: none;
}

.investor-modal-layout {
  display: grid;
  height: 100%;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  background: #ffffff;
}

.investor-modal-media {
  min-height: 0;
  overflow: hidden;
  background: #f5f5f5;
}

.investor-modal-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.investor-modal-form-pane {
  display: flex;
  min-width: 0;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  overflow-y: auto;
  background: #ffffff;
  padding: clamp(2rem, 5vw, 4rem);
  overscroll-behavior: contain;
}

.investor-registration-form {
  width: min(100%, 28rem);
  color: #1b1a19;
}

.investor-form-kicker {
  margin-bottom: 0.75rem;
  color: #009911;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.investor-registration-form h2 {
  color: #1b1a19;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.investor-registration-form p[id="investor-modal-description"] {
  margin-top: 1rem;
  color: #666666;
  font-size: 1rem;
  line-height: 1.75;
}

.investor-form-fields {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  width: 100%;
  max-width: 100%;
}

.investor-form-field label {
  display: block;
  margin-bottom: 0.625rem;
  color: #1b1a19;
  font-weight: 700;
}

.investor-input-wrap {
  position: relative;
}

.investor-input-wrap i {
  position: absolute;
  left: 1rem;
  top: 50%;
  color: #666666;
  font-size: 0.95rem;
  transform: translateY(-50%);
  pointer-events: none;
}

.investor-input-wrap input,
.investor-select-trigger {
  width: 100%;
  min-height: 3rem;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background: #ffffff;
  color: #1b1a19;
  outline: none;
  transition: border-color 180ms ease, color 180ms ease;
}

.investor-input-wrap input {
  padding: 0 1rem 0 2.875rem;
}

.investor-input-wrap input::placeholder,
.investor-select-trigger span {
  color: #666666;
}

.investor-input-wrap input:focus,
.investor-select-trigger:focus,
.investor-custom-select.is-open .investor-select-trigger {
  border-color: #009911;
}

.investor-select-trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  min-width: 0;
  padding: 0 2.875rem 0 2.875rem;
  overflow: hidden;
  text-align: left;
}

.investor-custom-select {
  min-width: 0;
  max-width: 100%;
}

.investor-select-trigger i {
  flex-shrink: 0;
}

.investor-select-trigger i:first-child {
  left: 1rem;
  right: auto;
  color: #666666;
}

.investor-select-trigger i:last-child {
  left: auto;
  right: 1rem;
  color: #666666;
}

.investor-select-trigger span {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.investor-custom-select.is-selected .investor-select-trigger span {
  color: #1b1a19;
}

.investor-select-panel {
  left: 0;
  right: 0;
  z-index: 10001;
  max-height: 14rem;
  overflow-y: auto;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background: #ffffff;
  color: #1b1a19;
}

.investor-select-option {
  min-height: 2.75rem;
  background: #ffffff;
  color: #1b1a19;
  padding: 0.75rem 1rem;
  line-height: 1.45;
}

.investor-select-option:hover,
.investor-select-option:focus-visible {
  background: #f5f5f5;
  color: #1b1a19;
  outline: none;
}

.investor-select-option.is-selected {
  background: #ffffff;
  color: #009911;
  font-weight: 700;
}

.investor-submit-button {
  display: inline-flex;
  width: 100%;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
  border: 1px solid #009911;
  border-radius: 4px;
  background: #009911;
  color: #ffffff;
  font-weight: 800;
  transition: background-color 180ms ease, color 180ms ease;
}

.investor-submit-button:hover,
.investor-submit-button:focus-visible {
  background: #ffffff;
  color: #009911;
  outline: none;
}

.mobile-menu-panel {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-1rem) scale(0.98);
  transition: opacity 260ms ease, transform 260ms ease;
}

.mobile-menu-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.mobile-nav-link {
  border-radius: 0.75rem;
  font-weight: 500;
  padding: 0.875rem 1rem;
  transition: background-color 200ms ease, color 200ms ease;
}

.mobile-nav-link:focus-visible {
  outline: none;
}

.navbar-scrolled #navbar-inner {
  height: 4rem;
}

.hero-scroll-indicator {
  animation: hero-scroll-bounce 1.8s ease-in-out infinite;
}

@keyframes hero-scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(0.5rem); }
}

.detail-modal {
  transition: opacity 260ms ease;
}

.detail-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.detail-modal-content {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 260ms ease, transform 260ms ease;
}

.detail-modal.is-open .detail-modal-content {
  opacity: 1;
  transform: translateY(0);
}

#unit-cards-grid {
  display: block;
}

.unit-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.unit-showcase-card {
  position: relative;
  min-height: 17.5rem;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 200ms ease, transform 200ms ease;
}

.unit-showcase-card:hover,
.unit-showcase-card:focus-visible {
  border-color: #009911;
  outline: none;
  transform: translateY(-2px);
}

.unit-showcase-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  transition: transform 260ms ease;
}

.unit-showcase-card:hover .unit-showcase-image,
.unit-showcase-card:focus-visible .unit-showcase-image {
  transform: scale(1.025);
}

.unit-showcase-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(229, 229, 229, 0.45);
  background: rgba(27, 26, 25, 0.72);
  padding: 1rem;
}

.unit-showcase-overlay h4 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
}

.unit-showcase-action {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid #009911;
  border-radius: 4px;
  background: #009911;
  color: #ffffff;
  padding: 0.45rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.unit-showcase-action:hover,
.unit-showcase-action:focus-visible {
  border-color: #009911;
  background: #ffffff;
  color: #009911;
  outline: none;
}

.unit-spec-table-wrap {
  margin-top: 2rem;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background: #ffffff;
}

.unit-spec-table {
  width: 100%;
  border-collapse: collapse;
  color: #1b1a19;
  background: #ffffff;
  text-align: left;
}

.unit-spec-table th,
.unit-spec-table td {
  border-bottom: 1px solid #e5e5e5;
  padding: 1rem 1.25rem;
  vertical-align: middle;
  white-space: nowrap;
}

.unit-spec-table th {
  background: #f5f5f5;
  color: #1b1a19;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.unit-spec-table td {
  color: #666666;
  font-size: 0.95rem;
  line-height: 1.6;
}

.unit-spec-table tbody tr {
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.unit-spec-table tbody tr:hover,
.unit-spec-table tbody tr:focus-visible {
  background: #f5f5f5;
  outline: none;
}

.unit-spec-table tbody tr:last-child td {
  border-bottom: 0;
}

.unit-spec-name {
  color: #009911 !important;
  font-weight: 700;
}

.alur-pendaftaran-topology {
  margin: 3.5rem auto 0;
  width: 100%;
  overflow: hidden;
}

.alur-pendaftaran-topology picture,
.alur-pendaftaran-image {
  display: block;
  width: 100%;
}

.alur-pendaftaran-image {
  height: auto;
  object-fit: contain;
}

.review-scrollbar {
  scrollbar-width: none;
}

.review-scrollbar::-webkit-scrollbar {
  display: none;
}

.faq-accordion {
  display: grid;
  gap: 1rem;
}

.faq-item {
  overflow: hidden;
  transition: border-color 200ms ease, background-color 200ms ease;
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  transition: background-color 200ms ease;
}

.faq-question:focus-visible {
  outline: none;
}

.faq-toggle-icon {
  display: inline-flex;
  height: 2rem;
  width: 2rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  transition: background-color 200ms ease, color 200ms ease, transform 260ms ease;
}

.faq-toggle-icon::before {
  content: "+";
  transform: translateY(-1px);
}

.faq-item.is-open .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-item.is-open .faq-toggle-icon::before {
  content: "-";
  font-size: 1.5rem;
  font-weight: 400;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms ease;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-inner p {
  margin: 0 1.25rem;
  padding: 1rem 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.8;
}

#review-carousel {
  overflow: hidden;
  scroll-behavior: auto;
  touch-action: pan-y;
  overscroll-behavior-x: contain;
}

#review-track {
  display: flex;
  gap: 1.5rem;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

#review-track.is-jumping {
  transition: none !important;
}

.review-card {
  flex: 0 0 100%;
  backface-visibility: hidden;
  transform: translateZ(0);
}

@media (min-width: 768px) {
  #review-carousel { overflow: hidden; }
  .review-card { flex-basis: calc((100% - 1.5rem) / 2); }
}

@media (min-width: 1024px) {
  .review-card { flex-basis: calc((100% - 3rem) / 3); }
}

.custom-date,
.custom-select {
  position: relative;
}

.custom-date-trigger,
.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.custom-date-trigger i,
.custom-select-trigger i {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.custom-select-trigger i:first-child {
  left: 1rem;
  right: auto;
}

.custom-date-panel,
.custom-select-panel {
  position: absolute;
  z-index: 50;
  margin-top: 0.5rem;
  border-radius: 4px;
}

.custom-date-panel {
  width: 18rem;
  padding: 1rem;
}

.custom-select-panel {
  width: 100%;
  overflow: hidden;
}

.custom-option {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  text-align: left;
  transition: background-color 160ms ease, color 160ms ease;
}

.custom-option:focus-visible {
  outline: none;
}

.custom-date-panel .custom-option {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.floating-action-menu {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.875rem;
}

.floating-action-panel {
  width: min(16rem, calc(100vw - 3rem));
  overflow: hidden;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.75rem) scale(0.98);
  transition: opacity 220ms ease, transform 220ms ease;
}

.floating-action-menu.is-open .floating-action-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.floating-menu-item {
  display: flex;
  min-height: 3rem;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  transition: background-color 180ms ease, color 180ms ease;
}

.floating-menu-item i {
  display: inline-flex;
  width: 1.25rem;
  flex-shrink: 0;
  justify-content: center;
}

.floating-action-toggle {
  background: #009911;
  color: #fff;
  display: inline-flex;
  height: 3.5rem;
  width: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-size: 1.125rem;
  transition: background-color .25s ease, color 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.floating-action-toggle.on-green {
  background: #1b1a19;
  color: #fff;
}

.floating-action-toggle:hover,
.floating-action-toggle:focus-visible {
  transform: translateY(-1px);
}

body.order-unit-lock {
  overflow: hidden;
}

.order-unit-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #ffffff;
  color: #1b1a19;
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
  transition: opacity 260ms ease, transform 260ms ease;
}

.order-unit-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.order-unit-shell {
  display: flex;
  height: 100dvh;
  min-height: 100vh;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
}

.order-unit-header {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 4.5rem;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid #e5e5e5;
  background: #ffffff;
  padding: 0 1.25rem;
}

.order-unit-header h2 {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.order-unit-header-button {
  display: inline-flex;
  width: max-content;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background: #ffffff;
  color: #1b1a19;
  padding: 0 0.875rem;
  font-weight: 600;
  transition: border-color 200ms ease, color 200ms ease, background-color 200ms ease;
}

.order-unit-header-button:hover,
.order-unit-header-button:focus-visible {
  color: #009911;
}

.order-unit-content {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #ffffff;
}

.order-unit-container {
  width: min(100%, 1600px);
  margin: 0 auto;
  padding: 1.5rem;
}

.order-unit-layout {
  display: grid;
  width: min(100%, 1600px);
  grid-template-columns: minmax(0, 3fr) minmax(22rem, 2fr);
  gap: 1.5rem;
  transition: grid-template-columns 260ms ease;
}

.order-unit-list-pane {
  min-width: 0;
}

.order-unit-grid {
  display: grid;
  gap: 1.5rem;
}

.order-unit-grid-stage-one {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.order-unit-grid-stage-two {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.order-unit-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background: #ffffff;
  transition: border-color 200ms ease, transform 200ms ease, background-color 200ms ease;
}

.order-unit-card:hover,
.order-unit-card:focus-within {
  border-color: #009911;
  transform: translateY(-3px);
}

.order-unit-card.is-active {
  border-color: #009911;
  background: #f5f5f5;
}

.order-unit-card-image {
  height: 13rem;
  width: 100%;
  object-fit: cover;
}

.order-unit-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem;
}

.order-unit-card-body h3 {
  color: #1b1a19;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.order-unit-card-body p {
  margin-top: 0.75rem;
  flex: 1;
  color: #666666;
  font-size: 0.95rem;
  line-height: 1.7;
}

.order-unit-card-button {
  margin-top: 1.25rem;
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #009911;
  border-radius: 4px;
  background: #009911;
  color: #ffffff;
  font-weight: 700;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.order-unit-card-button:hover,
.order-unit-card-button:focus-visible {
  background: #ffffff;
  color: #009911;
  outline: none;
}

.order-unit-detail-panel {
  align-self: start;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background: #ffffff;
}

.order-unit-layout .order-unit-detail-panel {
  position: sticky;
  top: 1.5rem;
  max-height: calc(100dvh - 7.5rem);
  overflow-y: auto;
}

.order-unit-detail-media img {
  display: block;
  width: 100%;
  height: 18rem;
  object-fit: cover;
  border-bottom: 1px solid #e5e5e5;
}

.order-unit-detail-body {
  padding: 1.5rem;
}

.order-unit-detail-body h3 {
  color: #1b1a19;
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.order-unit-detail-description {
  margin-top: 1rem;
  color: #666666;
  line-height: 1.8;
}

.order-unit-info-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1.25rem;
}

.order-unit-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #e5e5e5;
  border-radius: 9999px;
  background: #f5f5f5;
  color: #1b1a19;
  padding: 0.55rem 0.8rem;
  font-size: 0.85rem;
  line-height: 1.4;
}

.order-unit-info-badge i {
  color: #009911;
  font-size: 0.75rem;
}

.order-unit-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e5e5;
}

.order-unit-service-field {
  margin: 0;
  padding: 0;
  border: 0;
}

.order-unit-service-field legend {
  margin-bottom: 0.625rem;
  color: #1b1a19;
  font-weight: 700;
}

.order-unit-service-options {
  display: flex;
  gap: 1.5rem;
}

.order-unit-service-option {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 0.325rem;
  color: #1b1a19;
  line-height: 1.5;
  cursor: pointer;
}

.order-unit-service-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.order-unit-service-box {
  display: inline-flex;
  width: 1.125rem;
  height: 1.125rem;
  flex: 0 0 1.125rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #999999;
  background: #ffffff;
  color: #ffffff;
  font-size: 0.7rem;
  line-height: 1;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.order-unit-service-box i {
  opacity: 0;
}

.order-unit-service-option input:checked + .order-unit-service-box {
  border-color: #009911;
  background: #009911;
}

.order-unit-service-option input:checked + .order-unit-service-box i {
  opacity: 1;
}

.order-unit-service-option input:focus-visible + .order-unit-service-box {
  outline: 2px solid #009911;
  outline-offset: 2px;
}

.order-unit-field label {
  display: block;
  margin-bottom: 0.625rem;
  color: #1b1a19;
  font-weight: 700;
}

.order-unit-field input,
.order-unit-field select {
  width: 100%;
  height: 3rem;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background: #ffffff;
  color: #1b1a19;
  padding: 0 1rem;
  outline: none;
  transition: border-color 200ms ease;
}

.order-unit-field input::placeholder {
  color: #666666;
}

.order-unit-field input:focus,
.order-unit-field select:focus {
  border-color: #1b1a19;
}

.order-unit-location-field {
  position: relative;
}

.order-unit-location-trigger {
  display: flex;
  width: 100%;
  min-height: 3rem;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background: #ffffff;
  color: #1b1a19;
  padding: 0 0.4.5rem;
  text-align: left;
  outline: none;
  transition: border-color 200ms ease;
}

.order-unit-location-search {
  flex: 1;
  min-width: 0;
  border: none !important;
  background: transparent;
  color: #1b1a19;
  font: inherit;
  outline: none;
  padding: 0;
  min-height: 3rem;
}

.order-unit-location-trigger i {
  flex-shrink: 0;
  color: #666666;
  font-size: 0.85rem;
}

.order-unit-location-trigger i {
  flex-shrink: 0;
  color: #666666;
  font-size: 0.85rem;
}

.order-unit-location-trigger:focus,
.order-unit-location-field.is-open .order-unit-location-trigger {
  border-color: #1b1a19;
}

.order-unit-location-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.5rem);
  z-index: 120;
  max-height: calc(2.75rem * 5);
  overflow-y: auto;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background: #ffffff;
  color: #1b1a19;
  -webkit-overflow-scrolling: touch;
}

.order-unit-location-empty {
  padding: 0.75rem 1rem;
  color: #666666;
  font-size: 0.95rem;
}

.order-unit-location-option {
  display: block;
  width: 100%;
  min-height: 2.75rem;
  background: #ffffff;
  color: #1b1a19;
  padding: 0.75rem 1rem;
  text-align: left;
  transition: background-color 160ms ease, color 160ms ease;
}

.order-unit-location-option:hover,
.order-unit-location-option:focus-visible {
  background: #f5f5f5;
  outline: none;
}

.order-unit-location-option.is-selected {
  color: #009911;
  font-weight: 700;
}

.order-unit-datetime-field {
  position: relative;
  width: 100%;
  min-width: 0;
}

.order-unit-datetime-trigger {
  display: flex;
  width: 100%;
  height: 3rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background: #ffffff;
  color: #1b1a19;
  padding: 0 1rem;
  text-align: left;
  outline: none;
  transition: border-color 200ms ease;
}

.order-unit-datetime-trigger span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-unit-datetime-trigger i {
  flex-shrink: 0;
  color: #666666;
}

.order-unit-datetime-trigger:focus,
.order-unit-datetime-field.is-open .order-unit-datetime-trigger {
  border-color: #1b1a19;
}

.order-unit-datetime-field.is-error .order-unit-datetime-trigger {
  border-color: #dc2626;
}

.order-unit-datetime-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.5rem);
  z-index: 80;
  width: 100%;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background: #ffffff;
  color: #1b1a19;
  padding: 1rem;
}

.order-unit-datetime-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
}

.order-unit-datetime-head strong {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: capitalize;
}

.order-unit-datetime-head span {
  color: #666666;
  font-size: 0.85rem;
}

.order-unit-date-nav {
  display: inline-flex;
  gap: 0.5rem;
}

.order-unit-date-nav button,
.order-unit-datetime-back {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background: #ffffff;
  color: #1b1a19;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.order-unit-date-nav button:hover,
.order-unit-date-nav button:focus-visible,
.order-unit-datetime-back:hover,
.order-unit-datetime-back:focus-visible {
  border-color: #009911;
  color: #009911;
  outline: none;
}

.order-unit-date-weekdays,
.order-unit-date-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}

.order-unit-date-weekdays {
  margin-bottom: 0.5rem;
  color: #666666;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
}

.order-unit-date-empty,
.order-unit-date-option {
  min-height: 2rem;
}

.order-unit-date-option {
  border: 1px solid transparent;
  border-radius: 4px;
  background: #ffffff;
  color: #1b1a19;
  font-size: 0.9rem;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.order-unit-date-option.is-today {
  border-color: #999999;
}

.order-unit-date-option:hover,
.order-unit-date-option:focus-visible {
  background: #f5f5f5;
  outline: none;
}

.order-unit-date-option.is-selected,
.order-unit-time-option:hover,
.order-unit-time-option:focus-visible {
  border-color: #009911;
  background: #009911;
  color: #ffffff;
  outline: none;
}

.order-unit-time-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  max-height: 13.75rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.order-unit-time-option {
  min-height: 2.25rem;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background: #ffffff;
  color: #1b1a19;
  font-size: 0.9rem;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.order-unit-schedule-error {
  min-height: 1.25rem;
  color: #dc2626;
  font-size: 0.875rem;
  line-height: 1.5;
}

.order-unit-submit-button {
  display: inline-flex;
  min-height: 3rem;
  width: 100%;
  align-items: center;
  justify-content: center;
  border: 1px solid #009911;
  border-radius: 4px;
  background: #009911;
  color: #ffffff;
  font-weight: 800;
  transition: background-color 200ms ease, color 200ms ease;
}

.order-unit-submit-button:hover,
.order-unit-submit-button:focus-visible {
  background: #ffffff;
  color: #009911;
  outline: none;
}

@media (max-width: 1023px) and (min-width: 768px) {
  .alur-pendaftaran-topology { margin-top: 3rem; }
  .alur-pendaftaran-image { width: 100%; max-width: 100%; }
  .unit-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .unit-showcase-card { min-height: 15.5rem; }
  .unit-spec-table { min-width: 56rem; }
  .order-unit-container { padding: 1.25rem; }
  .order-unit-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
  .order-unit-grid-stage-one,
  .order-unit-grid-stage-two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .order-unit-card-image { height: 9.5rem; }
  .order-unit-card-body { padding: 1rem; }
  .order-unit-card-body h3 { font-size: 1rem; }
  .order-unit-card-body p { font-size: 0.875rem; line-height: 1.6; }
  .order-unit-detail-media img { height: 14rem; }
  .order-unit-layout .order-unit-detail-panel { max-height: calc(100dvh - 7rem); }
}

@media (max-width: 767px) {
  .faq-accordion { gap: 0.875rem; }
  .faq-question { align-items: flex-start; padding: 1rem; font-size: 0.95rem; line-height: 1.55; }
  .faq-toggle-icon { height: 1.75rem; width: 1.75rem; font-size: 1.125rem; }
  .faq-answer-inner p { margin: 0 1rem; padding: 0.875rem 0 1rem; font-size: 0.925rem; line-height: 1.75; }
  .unit-showcase-grid { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; }
  .unit-showcase-card { flex: 0 0 min(82vw, 20rem); min-height: 13.75rem; scroll-snap-align: start; }
  .unit-showcase-overlay { padding: 0.875rem; }
  .unit-showcase-overlay h4 { font-size: 1.05rem; }
  .unit-showcase-action { padding: 0.4rem 0.7rem; font-size: 0.75rem; }
  .unit-spec-table-wrap { margin-top: 1.5rem; }
  .unit-spec-table { min-width: 52rem; }
  .unit-spec-table th,
  .unit-spec-table td { padding: 0.875rem 1rem; }
  .alur-pendaftaran-topology { margin: 2.75rem auto 0; max-width: 28.4375rem; }
  .alur-pendaftaran-image { width: 100%; height: auto; }
  .floating-action-menu { right: 1rem; bottom: 1rem; gap: 0.75rem; }
  .floating-action-panel { width: min(15rem, calc(100vw - 2rem)); }
  .floating-action-toggle { height: 3.25rem; width: 3.25rem; }
  .order-unit-header { min-height: 4rem; padding: 0 0.875rem; }
  .order-unit-header h2 { font-size: 1rem; }
  .order-unit-header-button { min-height: 2.5rem; padding: 0 0.75rem; font-size: 0.9rem; }
  .order-unit-container { padding: 1rem; }
  .order-unit-grid-stage-one { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.875rem; }
  .order-unit-card-image { height: 7.25rem; }
  .order-unit-card-body { padding: 0.875rem; }
  .order-unit-card-body h3 { font-size: 0.98rem; }
  .order-unit-card-body p { display: none; }
  .order-unit-card-button { min-height: 2.45rem; margin-top: 0.875rem; font-size: 0.9rem; }
  .order-unit-mobile-form { max-width: 42rem; }
  .order-unit-detail-panel { border: 0; }
  .order-unit-detail-media img { height: 14rem; border: 1px solid #e5e5e5; border-radius: 4px; }
  .order-unit-detail-body { padding: 1.25rem 0 0; }
  .order-unit-detail-body h3 { font-size: 1.75rem; }
  .order-unit-detail-description { font-size: 0.95rem; line-height: 1.75; }
  .order-unit-info-badge { border-radius: 4px; font-size: 0.8rem; }
  .order-unit-location-panel { max-height: 12rem; }
  .order-unit-datetime-panel { position: absolute; left: 0; right: 0; top: calc(100% + 0.5rem); bottom: auto; width: 100%; max-height: none; overflow-y: visible; }
  .order-unit-time-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); max-height: 12rem; }
  .investor-modal { z-index: 9999; }
  .investor-modal-header { min-height: 4rem; grid-template-columns: 1fr auto 1fr; padding: 0 0.875rem; }
  .investor-modal-header h2 { font-size: 1rem; }
  .investor-modal-back { min-height: 2.5rem; padding: 0 0.75rem; font-size: 0.9rem; }
  .investor-modal-close { display: none; }
  .investor-modal-content { padding: 1rem; }
  .investor-modal-card { border: 0; padding: 1.25rem 0; }
}

@media (max-width: 1023px) {
  .order-unit-header {
    position: sticky;
    top: 0;
    width: 100%;
    min-height: 3.75rem;
    border-bottom: 1px solid #e5e5e5;
    background: #ffffff;
  }

  .order-unit-header-button {
    border-color: transparent;
    padding-left: 0;
    padding-right: 0.75rem;
  }

  .popup-mobile-header {
    position: sticky;
    top: 0;
    z-index: 10002;
    display: flex;
    width: 100%;
    min-height: 3.75rem;
    align-items: center;
    border-bottom: 1px solid #e5e5e5;
    background: #ffffff;
    padding: 0 1rem;
  }

  .investor-modal-close {
    display: none !important;
  }

  .investor-modal-shell {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .investor-modal-layout {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .investor-modal-form-pane {
    width: 100%;
    max-width: 100%;
  }

  .investor-registration-form {
    width: 100%;
    max-width: 42rem;
  }

  .investor-modal-media {
    flex: 0 0 clamp(220px, 34vh, 320px);
    height: clamp(220px, 34vh, 320px);
    min-height: 0;
  }

  .investor-modal-media img {
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .investor-modal-form-pane {
    flex: 1 0 auto;
    min-height: auto;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    padding: 1.25rem 1.25rem 2.25rem;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .investor-registration-form {
    width: min(100%, 42rem);
    margin: 0 auto;
  }

  .investor-modal-back {
    position: static;
    left: auto;
    top: auto;
    z-index: auto;
    display: inline-flex !important;
    width: auto;
    height: auto;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    border: 0 !important;
    background: #ffffff !important;
    color: #1b1a19;
    padding: 0 0.75rem 0 0;
    font-size: 0.95rem;
    font-weight: 700;
    backdrop-filter: none;
  }

  .investor-modal-back:hover,
  .investor-modal-back:focus-visible {
    color: #009911;
    outline: none;
  }
}

@media (max-width: 767px) {
  .investor-modal {
    display: flex;
    align-items: flex-end;
    background: rgba(27, 26, 25, 0.45);
    transform: translateY(100%);
  }

  .investor-modal.is-open {
    transform: translateY(0);
  }

  .investor-modal-shell {
    width: 100%;
    height: min(92dvh, 100dvh);
    min-height: 0;
    overflow: hidden;
    background: #ffffff;
  }

  .investor-modal-layout {
    display: block;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: #ffffff;
  }

  .investor-modal-media {
    height: clamp(140px, 22vh, 180px);
    min-height: 0;
    overflow: hidden;
    background: #f5f5f5;
  }

  .investor-modal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .investor-modal-form-pane {
    display: block;
    overflow: visible;
    min-height: auto;
    padding: 1rem 1.25rem 2rem;
    background: #ffffff;
  }

  .investor-registration-form {
    width: 100%;
  }

  .investor-registration-form h2 {
    font-size: 1.8rem;
    line-height: 1.1;
  }

  .investor-registration-form p[id="investor-modal-description"] {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .investor-form-fields {
    margin-top: 1.25rem;
    gap: 0.875rem;
  }

  .popup-mobile-header {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #ffffff;
  }
}

@media (min-width: 1024px) {
  .investor-modal {
    top: var(--investor-navbar-offset, 70px);
    height: calc(100dvh - var(--investor-navbar-offset, 70px));
  }

  .investor-modal-shell {
    height: calc(100dvh - var(--investor-navbar-offset, 70px));
    min-height: calc(100vh - var(--investor-navbar-offset, 70px));
  }

  .investor-mobile-header .investor-modal-back {
    visibility: hidden;
    pointer-events: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-indicator,
  .detail-modal,
  .detail-modal-content,
  .registration-dropdown-panel,
  .registration-dropdown-item,
  .investor-modal,
  .investor-modal-back,
  .investor-modal-close,
  .floating-action-panel,
  .floating-action-toggle,
  .floating-menu-item,
  .unit-showcase-card,
  .unit-showcase-image,
  .unit-showcase-action,
  .unit-spec-table tbody tr,
  .order-unit-modal,
  .order-unit-layout,
  .order-unit-card,
  .order-unit-card-button,
  .order-unit-date-nav button,
  .order-unit-date-option,
  .order-unit-datetime-back,
  .order-unit-datetime-trigger,
  .order-unit-header-button,
  .order-unit-location-option,
  .order-unit-location-trigger,
  .order-unit-service-box,
  .order-unit-time-option,
  .faq-item,
  .faq-question,
  .faq-toggle-icon,
  .faq-answer {
    transition: none;
    animation: none;
  }
}


.custom-date-panel,
.custom-select-panel {
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  color: #1b1a19;
  z-index: 999;
}

.custom-select-panel {
  max-height: 16rem;
  overflow-y: auto;
}

.custom-option {
  background-color: #ffffff;
  color: #1b1a19;
}

.custom-option:hover,
.custom-option:focus-visible,
.custom-option.is-selected {
  background-color: #f5f5f5;
  color: #009911;
}

.custom-date-panel {
  background-color: #ffffff;
  color: #1b1a19;
}

.custom-calendar-title {
  border-radius: 4px;
  color: #1b1a19;
  font-weight: 600;
  text-align: left;
  text-transform: capitalize;
  transition: background-color 160ms ease, color 160ms ease;
}

.custom-calendar-title:hover,
.custom-calendar-title:focus-visible {
  background-color: #f5f5f5;
  outline: none;
}

.custom-calendar-grid {
  color: #1b1a19;
}

.custom-calendar-year-option,
.custom-calendar-month-option {
  min-height: 2.25rem;
  border-radius: 4px;
  background-color: #ffffff;
  color: #1b1a19;
  text-align: center;
  transition: background-color 160ms ease, color 160ms ease;
}

.custom-calendar-year-option:hover,
.custom-calendar-year-option:focus-visible,
.custom-calendar-month-option:hover,
.custom-calendar-month-option:focus-visible {
  background-color: #f5f5f5;
  outline: none;
}

.custom-calendar-year-option.is-selected,
.custom-calendar-month-option.is-selected {
  background-color: #009911;
  color: #ffffff;
}


.floating-action-menu {
  pointer-events: none;
}

.floating-action-toggle,
.floating-action-menu.is-open .floating-action-panel {
  pointer-events: auto;
}

/* Final investor modal overrides: fullscreen above navbar, one-column mobile/tablet, 60/40 desktop. */
.investor-modal {
  inset: 0 !important;
  top: 0 !important;
  height: 100dvh !important;
}

.investor-modal-shell {
  height: 100dvh !important;
  min-height: 100vh !important;
}

.investor-select-panel {
  z-index: 10001;
}

.investor-select-option:hover,
.investor-select-option:focus-visible {
  background: #f5f5f5;
  color: #1b1a19;
}

.investor-select-option.is-selected {
  background: #ffffff;
  color: #009911;
}

@media (max-width: 767px) {
  .investor-registration-form h2 {
    font-size: 2rem;
  }
}

@media (min-width: 1024px) {
  .popup-mobile-header {
    display: none !important;
  }

  .investor-modal-close {
    display: inline-flex !important;
  }

  .investor-modal-back {
    display: none !important;
  }

  .investor-modal-layout {
    display: grid;
    height: 100%;
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 60%) minmax(0, 40%);
    overflow-x: hidden;
    overflow-y: hidden;
  }
}

@media (min-width: 1024px) {
  .order-unit-datetime-field {
    position: relative;
  }

  .order-unit-datetime-field[data-order-datetime-field="start"] .order-unit-datetime-panel {
    left: 0;
    right: auto;
    width: calc(200% + 1rem);
    max-width: none;
  }

  .order-unit-datetime-field[data-order-datetime-field="end"] .order-unit-datetime-panel {
    right: 0;
    left: auto;
    width: calc(200% + 1rem);
    max-width: none;
  }

  .order-unit-datetime-panel {
    top: calc(100% + 0.5rem);
    margin-top: 0;
    z-index: 120;
  }

  .order-unit-date-weekdays,
  .order-unit-date-grid {
    width: 100%;
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .order-unit-date-option,
  .order-unit-date-empty,
  .order-unit-date-weekdays span {
    width: 100%;
    min-width: 0;
  }

  .order-unit-datetime-head {
    width: 100%;
  }
}
