.properties-ring-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  background: #fff;
  padding: 40px 24px;
  text-align: center;
}
@media (min-width: 768px) {
  .properties-ring-section {
    gap: 16px;
  }
}
.properties-ring-section .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease !important;
}
.properties-ring-section .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.properties-ring-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 640px;
}
.properties-ring-title {
  font-weight: 900;
  letter-spacing: -0.02em;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  background-image: linear-gradient(to left, #65dcd5 50%, #e5e7eb 50%);
  background-size: 200% 100%;
  background-position: 0% 0;
  transition: background-position 1s cubic-bezier(0.45, 0, 0.55, 1) !important;
  font-size: 32px;
  font-size: clamp(max(16px, 19.2px), calc(32 * 0.0521vw), 32px);
}
@media (max-width: 768px) {
  .properties-ring-title {
    font-size: 28px;
  }
}
@media (min-width: 768px) {
  .properties-ring-title {
    font-size: 48px;
    font-size: clamp(max(16px, 28.799999999999997px), calc(48 * 0.0521vw), 48px);
  }
}
.properties-ring-section.is-revealed .properties-ring-title {
  background-position: 100% 0;
}
.properties-ring-subtitle {
  color: #12201d;
  font-weight: 600;
  max-width: 42rem;
  text-wrap: balance;
  font-size: 18px;
  font-size: clamp(max(16px, 10.799999999999999px), calc(18 * 0.0521vw), 18px);
}
@media (min-width: 768px) {
  .properties-ring-subtitle {
    font-size: 28px;
    font-size: clamp(max(16px, 16.8px), calc(28 * 0.0521vw), 28px);
  }
}
.properties-ring-hint {
  color: #3c403e;
  max-width: 26rem;
  line-height: 1.6;
  font-size: 15px;
  font-size: clamp(max(16px, 9px), calc(15 * 0.0521vw), 15px);
}
.properties-gallery {
  display: grid;
  grid-auto-flow: column dense;
  grid-template-rows: repeat(2, 1fr);
  grid-auto-columns: 130px;
  gap: 10px;
  width: 100%;
  max-width: 1100px;
  height: 270px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  padding-block-end: 4px;
  cursor: grab;
  user-select: none;
}
.properties-gallery.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}
@media (min-width: 768px) {
  .properties-gallery {
    grid-auto-columns: 200px;
    gap: 16px;
    height: 416px;
  }
}
.properties-gallery .properties-gallery-tile:nth-child(8n + 1) {
  grid-column: span 2;
  grid-row: span 2;
}
@media (min-width: 768px) {
  .properties-gallery .properties-gallery-tile:nth-child(8n + 4) {
    grid-column: span 2;
  }
}
.properties-gallery .properties-gallery-tile:nth-child(8n + 6) {
  grid-row: span 2;
}
.properties-gallery-tile {
  position: relative;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  appearance: none;
  overflow: hidden;
  border-radius: 1rem;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.properties-gallery-tile:before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease !important;
}
.properties-gallery-tile:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 45%);
  opacity: 0;
  transition: opacity 0.3s ease !important;
}
.properties-gallery-tile:hover:before,
.properties-gallery-tile:focus-visible:before {
  transform: scale(1.08);
}
.properties-gallery-tile:hover:after,
.properties-gallery-tile:focus-visible:after {
  opacity: 1;
}
.properties-gallery-tile:hover .properties-gallery-tile-caption,
.properties-gallery-tile:focus-visible .properties-gallery-tile-caption {
  opacity: 1;
  transform: translateY(0);
}
@media (hover: none) {
  .properties-gallery-tile:after {
    opacity: 1;
  }
  .properties-gallery-tile .properties-gallery-tile-caption {
    opacity: 1;
    transform: translateY(0);
  }
}
.properties-gallery-tile-caption {
  position: absolute;
  z-index: 1;
  inset-inline: 12px;
  bottom: 12px;
  text-align: right;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease !important;
  font-size: 15px;
  font-size: clamp(max(16px, 9px), calc(15 * 0.0521vw), 15px);
}
.properties-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 10, 10, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease !important;
  padding: 5vh 5vw;
}
.properties-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.properties-lightbox img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 0.75rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.properties-lightbox-caption {
  position: absolute;
  bottom: 5vh;
  inset-inline: 5vw;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  pointer-events: none;
}
.properties-lightbox-caption strong {
  font-size: 1.125rem;
  font-weight: 700;
}
.properties-lightbox-caption span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}
.properties-lightbox-close {
  position: absolute;
  top: 1.5rem;
  inset-inline-end: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
