/* Final integrated presentation: clean photography, adjacent stay copy, calm motion. */
.media-experience { order: 35 !important; }
.paradise-moment { order: 45; }
.three-showcase { order: 50; }

.villas-section {
  background:
    linear-gradient(180deg, rgba(246, 251, 247, 0.98), rgba(231, 243, 235, 0.96)),
    url("./assets/gallery/our-mountain/original/03-tropical-garden-path.jpg") center / cover no-repeat;
}

.villas-section .section-heading {
  max-width: 880px;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.villas-section .villa-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: clamp(1.5rem, 3vw, 2.6rem) !important;
  max-width: 1380px;
  margin-inline: auto;
}

.villas-section .villa-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr) !important;
  grid-template-rows: auto !important;
  min-height: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(22, 69, 58, 0.11) !important;
  border-radius: 6px !important;
  background: #f9fbf8 !important;
  box-shadow: 0 22px 56px rgba(11, 52, 43, 0.12) !important;
  transform: none !important;
}

.villas-section .villa-card:nth-child(even) .property-window {
  grid-column: 2;
}
.villas-section .villa-card:nth-child(even) .villa-card-content {
  grid-column: 1;
  grid-row: 1;
}

.villas-section .property-window {
  align-self: center;
  min-width: 0;
  border: 0 !important;
  background: #eef4ef !important;
  box-shadow: none !important;
}

.villas-section .property-window::before,
.villas-section .property-window::after,
.villas-section .property-window-slide::before,
.villas-section .property-window-slide::after {
  display: none !important;
  content: none !important;
}

.villas-section .property-window-stage {
  width: 100%;
  aspect-ratio: 3 / 2 !important;
  background: #eef4ef !important;
  perspective: none !important;
}

.villas-section .property-window-slide {
  transform: translateX(1.5%) !important;
  transition: opacity 760ms ease, transform 900ms cubic-bezier(.2,.7,.2,1), visibility 760ms !important;
}

.villas-section .property-window-slide.is-active {
  transform: none !important;
}

.villas-section .property-window-slide img,
.villas-section .villa-card .property-window-slide img {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
}

.villas-section .property-window-controls {
  position: relative !important;
  inset: auto !important;
  min-height: 46px;
  border: 0 !important;
  border-top: 1px solid rgba(22, 69, 58, 0.09) !important;
  background: #eef4ef !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.villas-section .villa-card-content,
.villas-section .villa-card[data-property-card] .villa-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  grid-row: 1 !important;
  padding: clamp(2rem, 4vw, 4.5rem) !important;
  border: 0 !important;
  background: #fbfcf9 !important;
  box-shadow: none !important;
  transform: none !important;
}

.villas-section .villa-card-content p {
  min-height: 0 !important;
  margin-bottom: 1.15rem;
  font-size: clamp(0.92rem, 1.2vw, 1.03rem);
  line-height: 1.75;
}

.villas-section .stay-facts {
  min-height: 0 !important;
  margin-bottom: 1.05rem;
}

.paradise-moment {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  color: #f8fbf8;
  background:
    linear-gradient(110deg, rgba(12, 58, 48, 0.97), rgba(28, 102, 80, 0.91)),
    url("./assets/gallery/our-mountain/original/04-sunlit-mountain-panorama.jpg") center / cover no-repeat;
}

.paradise-photo {
  width: min(100%, 470px);
  margin: 0;
  justify-self: end;
}

.paradise-photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 4px;
  background: transparent;
  box-shadow: 0 28px 70px rgba(3, 27, 22, 0.28);
  filter: none;
}

.paradise-copy {
  max-width: 740px;
}
.paradise-copy .section-kicker { color: #efd18a; }
.paradise-copy h2 {
  margin: 0.35rem 0 1.1rem;
  max-width: 780px;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.6vw, 6.2rem);
  font-weight: 400;
  line-height: 0.94;
}
.paradise-copy > p:not(.section-kicker) {
  max-width: 620px;
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  line-height: 1.75;
}
.paradise-copy .text-link { color: #fff; }

.sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 42px;
  margin-top: 0.6rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 3px;
  color: #fff;
  background: rgba(255,255,255,0.08);
  cursor: pointer;
  transition: background 220ms ease, border-color 220ms ease;
}
.sound-toggle:hover,
.sound-toggle:focus-visible,
.sound-toggle[aria-pressed="true"] {
  border-color: #efd18a;
  background: rgba(239,209,138,0.16);
}
.sound-toggle svg { width: 17px; height: 17px; }

/* Keep every gallery photograph untouched and remove halos, glass bars, and frames. */
.house-gallery .gallery-photo-grid::before,
.house-gallery .gallery-photo-grid::after,
.house-gallery .gallery-photo::before,
.house-gallery .gallery-photo::after,
.house-gallery .gallery-feature::before,
.house-gallery .gallery-feature::after {
  display: none !important;
  content: none !important;
}

.house-gallery .gallery-photo,
.house-gallery .gallery-photo.has-media-backdrop,
.house-gallery .gallery-feature,
.house-gallery .gallery-feature.has-media-backdrop {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 3px !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.house-gallery .gallery-photo.is-orbit-current,
.house-gallery .gallery-photo.is-orbit-current:hover,
.house-gallery .gallery-photo.is-orbit-current:focus-visible,
.house-gallery .gallery-photo.is-orbit-previous,
.house-gallery .gallery-photo.is-orbit-next {
  border: 0 !important;
  box-shadow: none !important;
}

.house-gallery .gallery-photo img,
.house-gallery .gallery-feature img {
  border: 0 !important;
  border-radius: 3px !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
}

.house-gallery .gallery-photo-grid {
  background: transparent !important;
}

.house-gallery .gallery-copy {
  border: 0 !important;
  border-left: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

@media (max-width: 900px) {
  .villas-section .villa-card,
  .villas-section .villa-card:nth-child(even) {
    grid-template-columns: 1fr !important;
  }
  .villas-section .villa-card:nth-child(even) .property-window,
  .villas-section .villa-card:nth-child(even) .villa-card-content {
    grid-column: 1;
  }
  .villas-section .villa-card:nth-child(even) .property-window { grid-row: 1; }
  .villas-section .villa-card:nth-child(even) .villa-card-content { grid-row: 2 !important; }
  .villas-section .villa-card-content,
  .villas-section .villa-card[data-property-card] .villa-card-content {
    grid-row: 2 !important;
    padding: clamp(1.4rem, 5vw, 2.2rem) !important;
  }
  .paradise-moment {
    grid-template-columns: 1fr;
  }
  .paradise-photo {
    justify-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .villas-section .property-window-slide {
    transition: none !important;
  }
}