.ambora-front {
  overflow-x: clip;
  background: var(--ambora-white);
  width: 100%;
}

/* Beranda: lepaskan batas .site-content agar hero full bleed */
body.ambora-home-hero .site-content {
  max-width: none;
  width: 100%;
  padding: 0;
}

body.ambora-home-hero .ambora-front {
  overflow-x: visible;
  background: transparent;
}

/* ── Hero full width kanan-kiri ── */
.ambora-hero {
  position: relative;
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  margin: 0 0 24px;
  min-height: clamp(520px, calc(72vh + 48px), 720px);
  color: var(--ambora-white);
  padding: 0;
  overflow: visible;
}

.ambora-hero-bg {
  position: absolute;
  inset: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 0;
  overflow: hidden;
  border-radius: 0;
}

.ambora-hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.ambora-hero-slide.is-active {
  opacity: 1;
}

.ambora-hero-slide img,
.ambora-hero-placeholder {
  width: 100%;
  height: 100%;
  min-width: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
}

.ambora-hero-placeholder {
  background: linear-gradient(135deg, #5a3fa8 0%, #423188 50%, #2a1a55 100%);
}

.ambora-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 12, 45, 0.82) 0%, rgba(20, 12, 45, 0.45) 45%, rgba(20, 12, 45, 0.15) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}

.ambora-hero-content {
  position: absolute;
  top: 176px;
  bottom: 48px;
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--ambora-page-width, 1280px);
  margin: 0 auto;
  padding: 0 var(--ambora-page-gutter, 20px);
  box-sizing: border-box;
}

.ambora-hero-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  width: 100%;
  max-width: 100%;
}

.ambora-hero-widget {
  flex: 0 0 auto;
  width: 100%;
  max-width: 360px;
  order: 1;
}

.ambora-hero-copy {
  flex: 0 1 auto;
  max-width: 560px;
  order: 2;
}

.ambora-hero-kicker {
  display: inline-flex;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 3px 0 18px;
  color: rgba(255, 255, 255, 0.92);
}

.ambora-hero-copy h1 {
  margin: 0 0 12px;
  line-height: 1.08;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ambora-hero-line1 {
  display: block;
  font-size: clamp(1.75rem, 3.8vw, 2.65rem);
  font-weight: 800;
  color: var(--ambora-white);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.ambora-hero-line2 {
  display: block;
  font-size: clamp(1.75rem, 3.8vw, 2.65rem);
  font-weight: 800;
  color: #c4b5fd;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.ambora-hero-lead {
  margin: 0 0 22px;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  max-width: 460px;
}

.ambora-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--ambora-header-bg, #423188);
  color: var(--ambora-white);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: translateY(-5px);
}

.ambora-hero-cta:hover {
  background: #362a70;
  color: var(--ambora-white);
  transform: translateY(-5px);
}

/* ── Floating search bar (posisi independen dari slider) ── */
.ambora-search-wrap {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: -52px;
  transform: translateY(0);
  width: 100%;
  max-width: var(--ambora-page-width, 1280px);
  margin: 0 auto;
  padding: 0 var(--ambora-page-gutter, 20px);
  box-sizing: border-box;
}

.ambora-search-bar {
  display: flex;
  align-items: stretch;
  background: var(--ambora-white);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(66, 49, 136, 0.18);
  overflow: hidden;
  min-height: 88px;
}

.ambora-search-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 20px;
  min-width: 0;
}

.ambora-search-field--grow {
  flex: 1.3;
}

.ambora-search-field--dates {
  flex: 1.4;
}

.ambora-search-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--ambora-purple);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.ambora-search-control {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  width: 100%;
  padding: 0;
  outline: none;
  cursor: pointer;
}

.ambora-search-control option {
  color: #1f2937;
}

.ambora-search-dates {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ambora-search-date {
  flex: 1;
  min-width: 0;
  font-size: 13px;
}

.ambora-search-date-sep {
  color: #9ca3af;
  font-weight: 600;
}

.ambora-search-guests {
  position: relative;
}

.ambora-search-guests-display {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  pointer-events: none;
}

.ambora-search-guests-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.ambora-search-divider {
  width: 1px;
  background: #ece6fa;
  align-self: stretch;
  margin: 14px 0;
  flex-shrink: 0;
}

.ambora-search-submit {
  flex: 0 0 auto;
  align-self: center;
  margin: 12px 12px 12px 0;
  padding: 16px 28px;
  border: 0;
  border-radius: 12px;
  background: var(--ambora-header-bg, #423188);
  color: var(--ambora-white);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  cursor: pointer;
  white-space: nowrap;
}

.ambora-search-submit:hover {
  background: #362a70;
}

/* ── Features ── */
.ambora-features {
  background: var(--ambora-white);
  padding: 40px 0;
  border-bottom: 1px solid #f0ebfa;
}

.ambora-features-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ambora-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ambora-feature-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ambora-purple);
}

.ambora-feature-icon svg {
  width: 28px;
  height: 28px;
}

.ambora-feature-text h3 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #1e1b4b;
}

.ambora-feature-text p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #6b7280;
}

/* ── Accommodations ── */
.ambora-accommodations {
  padding: 24px 0 64px;
  background: #faf9fc;
}

.ambora-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.ambora-section-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a855f7;
}

.ambora-section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #1e1b4b;
  line-height: 1.2;
}

.ambora-section-link {
  color: var(--ambora-purple);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.ambora-section-link:hover {
  text-decoration: underline;
}

.ambora-accommodation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ambora-stay-card {
  background: var(--ambora-white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #ece8f5;
  box-shadow: 0 8px 24px rgba(66, 49, 136, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ambora-stay-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(66, 49, 136, 0.12);
}

.ambora-stay-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.ambora-stay-media img,
.ambora-stay-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ambora-stay-placeholder {
  background: linear-gradient(135deg, #d9cbff, #b39cff);
}

.ambora-stay-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  color: var(--ambora-white);
}

.ambora-stay-badge--purple { background: var(--ambora-purple); }
.ambora-stay-badge--orange { background: #ff8a00; }
.ambora-stay-badge--green { background: #1fa971; }

.ambora-stay-fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  color: #6b7280;
}

.ambora-stay-body {
  padding: 14px 16px 16px;
}

.ambora-stay-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.ambora-stay-body h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 800;
  color: #1e1b4b;
}

.ambora-stay-body h3 a {
  color: inherit;
  text-decoration: none;
}

.ambora-stay-sub {
  margin: 0;
  font-size: 12px;
  color: #9ca3af;
}

.ambora-stay-rating {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: #374151;
  white-space: nowrap;
}

.ambora-stay-star {
  color: var(--ambora-yellow);
}

.ambora-stay-rating span {
  color: #9ca3af;
  font-weight: 600;
}

.ambora-stay-foot {
  display: flex;
  justify-content: flex-end;
}

.ambora-stay-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--ambora-purple);
  text-align: right;
}

.ambora-stay-price em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;
}

.ambora-page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 48px;
}

@media (max-width: 1100px) {
  .ambora-accommodation-grid,
  .ambora-features-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .ambora-search-bar {
    flex-wrap: wrap;
    min-height: auto;
  }

  .ambora-search-divider {
    display: none;
  }

  .ambora-search-field {
    flex: 1 1 45%;
    border-bottom: 1px solid #f0ebfa;
  }

  .ambora-search-submit {
    flex: 1 1 100%;
    margin: 0;
    border-radius: 0;
    padding: 18px;
  }
}

@media (max-width: 900px) {
  .ambora-hero-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .ambora-hero-copy {
    order: 1;
  }

  .ambora-hero-widget {
    order: 2;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .ambora-hero {
    min-height: clamp(460px, calc(58vh + 40px), 580px);
  }

  .ambora-hero-content {
    top: 152px;
    bottom: 72px;
  }

  .ambora-search-wrap {
    bottom: -40px;
    transform: translateY(0);
  }

  .ambora-search-field {
    flex: 1 1 100%;
  }

  .ambora-features {
    padding-top: 56px;
  }

  .ambora-features-inner,
  .ambora-accommodation-grid {
    grid-template-columns: 1fr;
  }

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