/* ============================================================================
   Per-property page styles — Airbnb-style detail layout
   ============================================================================ */

/* Hero — full-bleed photo with copy overlay */
.prop-hero {
  position: relative;
  min-height: 64vh;
  display: flex;
  align-items: flex-end;
  color: var(--r4v-cream);
  overflow: hidden;
  background: var(--r4v-primary-3);
  padding: 80px 0 56px;
}
.prop-hero__pic {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.prop-hero__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prop-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 43, 58, 0.25) 0%, rgba(11, 43, 58, 0.45) 55%, rgba(11, 43, 58, 0.85) 100%);
  z-index: 1;
}
.prop-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--r4v-container);
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--r4v-gutter);
}
.prop-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--r4v-sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 247, 241, 0.78);
  font-weight: 500;
  margin-bottom: 22px;
  transition: color 0.2s ease;
}
.prop-hero__back:hover { color: var(--r4v-sand); }
.prop-hero__region {
  font-family: var(--r4v-sans);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--r4v-sand);
  display: inline-block;
  margin-bottom: 14px;
}
.prop-hero h1 {
  font-family: var(--r4v-serif);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--r4v-cream);
  margin: 0 0 18px;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  max-width: 22ch;
}
.prop-hero__tagline {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: rgba(250, 247, 241, 0.88);
  margin: 0 0 24px;
  max-width: 50ch;
  font-weight: 300;
}
.prop-hero__stats {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 18px;
  background: rgba(250, 247, 241, 0.14);
  border: 1px solid rgba(250, 247, 241, 0.22);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--r4v-sans);
  font-size: 0.92rem;
  color: var(--r4v-cream);
}
.prop-hero__stats strong { color: var(--r4v-sand); font-weight: 600; }
.prop-hero__stats .sep { opacity: 0.5; }

/* Photo gallery — 4-tile grid: lead big-left + 3 stacked-right */
.prop-gallery {
  background: var(--r4v-cream);
  padding: 48px 0;
}
.prop-gallery__grid {
  max-width: var(--r4v-container);
  margin: 0 auto;
  padding: 0 var(--r4v-gutter);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  aspect-ratio: 16 / 9;
  max-height: 480px;
}
.prop-gallery__cell {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 4px;
  background: var(--r4v-rule);
  display: block;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.prop-gallery__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.prop-gallery__cell:hover img { transform: scale(1.04); }
.prop-gallery__cell--lead {
  grid-row: 1 / span 2;
}
.prop-gallery__more {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 8px 14px;
  background: rgba(250, 247, 241, 0.92);
  color: var(--r4v-ink);
  font-family: var(--r4v-sans);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 999px;
  z-index: 2;
}
@media (max-width: 760px) {
  .prop-gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    aspect-ratio: auto;
    max-height: none;
    gap: 6px;
  }
  .prop-gallery__cell--lead { grid-row: auto; grid-column: 1 / -1; }
  .prop-gallery__cell--lead img { aspect-ratio: 16 / 10; }
}

/* Main split: copy + sticky reserve card */
.prop-main {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--r4v-paper);
}
.prop-main__inner {
  max-width: var(--r4v-container);
  margin: 0 auto;
  padding: 0 var(--r4v-gutter);
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 900px) {
  .prop-main__inner { grid-template-columns: 1fr; }
}
.prop-main__copy h2 {
  font-family: var(--r4v-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  margin: 0 0 18px;
  color: var(--r4v-ink);
}
.prop-main__copy h3 {
  font-family: var(--r4v-serif);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 400;
  margin: 38px 0 16px;
  color: var(--r4v-primary);
}
.prop-main__lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--r4v-ink-soft);
  margin: 0 0 12px;
  max-width: 62ch;
}
.prop-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  max-width: 62ch;
}
.prop-highlights li {
  position: relative;
  padding-left: 22px;
  font-size: 0.95rem;
  color: var(--r4v-ink-soft);
  line-height: 1.5;
}
.prop-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--r4v-accent);
}
@media (max-width: 560px) { .prop-highlights { grid-template-columns: 1fr; } }
.prop-amenities {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  max-width: 62ch;
}
.prop-amenities li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
  color: var(--r4v-ink-soft);
}
.prop-amenities li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--r4v-primary);
  font-weight: 700;
}
@media (max-width: 560px) { .prop-amenities { grid-template-columns: 1fr; } }

/* Sticky reserve card */
.prop-reserve {
  position: sticky;
  top: 100px;
}
@media (max-width: 900px) { .prop-reserve { position: static; } }
.prop-reserve__card {
  background: var(--r4v-paper);
  border: 1px solid var(--r4v-rule);
  border-radius: 12px;
  padding: 28px 26px;
  box-shadow: 0 30px 60px -30px rgba(11, 43, 58, 0.22);
}
.prop-reserve__label {
  font-family: var(--r4v-sans);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--r4v-muted);
  font-weight: 600;
  display: block;
  margin-bottom: 18px;
}
.prop-reserve__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.prop-reserve__form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--r4v-sans);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--r4v-ink);
  font-weight: 600;
}
.prop-reserve__form input,
.prop-reserve__form select {
  padding: 12px 14px;
  border: 1px solid var(--r4v-rule);
  border-radius: 8px;
  font-family: var(--r4v-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--r4v-ink-soft);
  background: var(--r4v-cream);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.prop-reserve__form input:focus,
.prop-reserve__form select:focus {
  outline: 2px solid var(--r4v-primary);
  outline-offset: 1px;
}
.prop-reserve__form select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--r4v-muted) 50%),
    linear-gradient(135deg, var(--r4v-muted) 50%, transparent 50%);
  background-position:
    calc(100% - 14px) calc(50% - 2px),
    calc(100% - 9px) calc(50% - 2px);
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 28px;
}
.prop-reserve__form .btn--block {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 16px 22px;
  text-align: center;
}
.prop-reserve__note {
  margin: 12px 0 0;
  font-size: 0.78rem;
  color: var(--r4v-muted);
  line-height: 1.5;
  text-align: center;
}

/* Lightbox modal */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(11, 32, 30, 0.94);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 24px;
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgba(250, 247, 241, 0.12);
  border: 1px solid rgba(250, 247, 241, 0.22);
  color: var(--r4v-cream);
  font-family: var(--r4v-sans);
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox__close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
}
.lightbox__close:hover { background: rgba(250, 247, 241, 0.22); }
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
}
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }
.lightbox__nav:hover { background: rgba(250, 247, 241, 0.22); }
.lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--r4v-sans);
  font-size: 0.86rem;
  color: rgba(250, 247, 241, 0.78);
  letter-spacing: 0.06em;
}
@media (max-width: 560px) {
  .lightbox__nav { width: 44px; height: 44px; font-size: 1.6rem; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}
