/* =============================================================
   Cosmic Vacations — Site shared CSS
   Header / footer / property cards / Hospitable widget mocks
   ============================================================= */
@import url('colors_and_type.css');

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100%; }
body { background: var(--bg-app); color: var(--cv-white); font-family: var(--font-body); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 80;
  padding: 14px 32px;
  background: rgba(14, 7, 38, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header.transparent {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 0;
}
.site-header .row {
  max-width: 1320px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.site-header .brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
}
.site-header .brand img { height: 48px; width: auto; }
.site-header .brand .word { display: flex; flex-direction: column; line-height: 1; }
.site-header .brand .word .a { font-size: 22px; font-weight: 900; color: var(--cv-moon-400); letter-spacing: -0.01em; }
.site-header .brand .word .b { font-size: 11px; font-weight: 500; color: var(--cv-moon-400); letter-spacing: 0.34em; margin-top: 4px; }
.site-header nav {
  display: flex; gap: 32px;
}
.site-header nav a {
  font-size: 14.5px; font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 4px 0;
  transition: color var(--dur-base) var(--ease-out);
  cursor: pointer;
}
.site-header nav a:hover { color: var(--cv-moon-400); }
.site-header nav a.active { color: var(--cv-moon-400); }
.site-header .right { display: flex; align-items: center; gap: 18px; }
.site-header .phone { font-size: 14px; color: rgba(255,255,255,0.9); font-weight: 500; }
.site-header .book {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; font-size: 14px; font-weight: 600;
  background: var(--grad-cta-teal); color: var(--cv-white);
  border-radius: var(--r-pill); border: 0; cursor: pointer;
  box-shadow: var(--shadow-moon);
  transition: background var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.site-header .book:hover { background: var(--grad-cta-teal-hover); transform: translateY(-1px); }

@media (max-width: 1100px) {
  .site-header nav { gap: 22px; }
  .site-header .phone { display: none; }
}
@media (max-width: 820px) {
  .site-header nav { display: none; }
  .site-header { padding: 12px 18px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--cv-night-900);
  padding: 56px 32px 24px;
  margin-top: auto;
}
.site-footer .inner {
  max-width: 1320px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.4fr;
  gap: 48px;
}
.site-footer .brand {
  display: flex; gap: 14px; align-items: flex-start;
}
.site-footer .brand img { height: 72px; }
.site-footer .blurb { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.6; max-width: 240px; margin-top: 8px; }
.site-footer h6 {
  font-size: 13px; font-weight: 600;
  margin: 0 0 14px; color: rgba(255,255,255,0.92);
  letter-spacing: 0.06em;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer ul li { font-size: 13.5px; color: rgba(255,255,255,0.7); cursor: pointer; transition: color var(--dur-base); }
.site-footer ul li:hover { color: var(--cv-moon-400); }
.site-footer .contact-block { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.7; }
.site-footer .contact-block a { display: block; transition: color var(--dur-base); }
.site-footer .contact-block a:hover { color: var(--cv-moon-400); }
.site-footer .news p { font-size: 13px; color: rgba(255,255,255,0.65); margin: 0 0 12px; line-height: 1.5; }
.site-footer .news form { display: flex; gap: 8px; }
.site-footer .news input {
  flex: 1; padding: 11px 16px; border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04); color: #fff;
  font-family: inherit; font-size: 13px; outline: none;
}
.site-footer .news input::placeholder { color: rgba(255,255,255,0.4); }
.site-footer .news button {
  padding: 11px 22px;
  background: var(--grad-cta); color: #fff;
  border: 0; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600; cursor: pointer;
  box-shadow: var(--shadow-glow);
  transition: background var(--dur-base);
}
.site-footer .news button:hover { background: var(--grad-cta-hover); }
.site-footer .copy {
  max-width: 1320px; margin: 40px auto 0;
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,0.45); gap: 16px;
}
.site-footer .copy .social { display: flex; gap: 14px; }
.site-footer .copy .social a { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.18); border-radius: 999px; transition: all var(--dur-base); }
.site-footer .copy .social a:hover { border-color: var(--cv-moon-400); color: var(--cv-moon-400); }
.site-footer .copy .social i { width: 14px; height: 14px; }
@media (max-width: 1000px) {
  .site-footer .inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .site-footer .copy { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 600px) {
  .site-footer .inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================================
   PROPERTY CARD
   ============================================================ */
.prop-card {
  display: block;
  background: var(--bg-card);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-on-dark);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
  color: inherit;
}
.prop-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.prop-card .img { aspect-ratio: 16/11; background-size: cover; background-position: center; position: relative; }
.prop-card .img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(14,7,38,0.5) 100%);
  pointer-events: none;
}
.prop-card .price {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255,255,255,0.96);
  color: var(--cv-night-800);
  font-size: 11px; font-weight: 700;
  padding: 7px 12px; border-radius: 10px;
  line-height: 1.3; text-align: right;
  backdrop-filter: blur(8px);
}
.prop-card .price small { display: block; color: var(--cv-fog-500); font-weight: 500; font-size: 9.5px; margin-top: 2px; }
.prop-card .badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--cv-magenta-500); color: #fff;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 6px;
}
.prop-card .body { padding: 16px 18px 20px; }
.prop-card .head-row {
  display: flex; justify-content: space-between; gap: 10px; align-items: flex-start;
  margin-bottom: 6px;
}
.prop-card .title { font-family: var(--font-display); font-size: 19px; font-weight: 700; line-height: 1.2; }
.prop-card .rating { display: inline-flex; align-items: center; gap: 4px; color: var(--cv-star-yellow); font-size: 13px; font-weight: 600; flex-shrink: 0; }
.prop-card .rating i { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.prop-card .loc {
  display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.65); font-size: 13px;
}
.prop-card .loc i { width: 13px; height: 13px; color: var(--cv-magenta-400); }
.prop-card .meta {
  display: flex; gap: 14px; margin-top: 12px;
  font-size: 12px; color: rgba(255,255,255,0.55);
}
.prop-card .meta span { display: inline-flex; align-items: center; gap: 5px; }
.prop-card .meta i { width: 13px; height: 13px; color: rgba(255,255,255,0.7); }

/* Light variant */
.cv-light .prop-card { background: #fff; color: var(--cv-night-800); border: 1px solid var(--border-on-light); box-shadow: var(--shadow-card-on-light); }
.cv-light .prop-card .title { color: var(--cv-night-800); }
.cv-light .prop-card .loc { color: var(--cv-fog-500); }
.cv-light .prop-card .meta { color: var(--cv-fog-500); }
.cv-light .prop-card .meta i { color: var(--cv-fog-500); }

/* ============================================================
   SCALLOP
   ============================================================ */
.scallop-down, .scallop-up {
  position: relative;
  height: 80px;
  background: var(--cv-magenta-500);
  flex-shrink: 0;
}
/* fog -> dark */
.scallop-down::after {
  content: ''; position: absolute; inset: 0;
  background: var(--cv-fog-100);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
}
/* dark -> fog */
.scallop-up::after {
  content: ''; position: absolute; inset: 0;
  background: var(--cv-fog-100);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* ============================================================
   EYEBROW + HEAD pattern
   ============================================================ */
.eyebrow-label {
  display: inline-block;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--cv-magenta-400);
  margin-bottom: 12px;
}
.cv-light .eyebrow-label { color: var(--cv-magenta-600); }
.section-head {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700; line-height: 1.1;
  margin: 0 0 14px; letter-spacing: -0.01em;
}
.section-head .cyan { color: var(--cv-moon-400); }
.section-head .mag { color: var(--cv-magenta-400); }
.cv-light .section-head { color: var(--cv-night-800); }
.cv-light .section-head .cyan { color: var(--cv-moon-700); }
.cv-light .section-head .mag { color: var(--cv-magenta-600); }
.sub-head {
  font-size: 15.5px; line-height: 1.6;
  color: rgba(255,255,255,0.65);
  max-width: 640px; margin: 0 0 32px;
}
.cv-light .sub-head { color: var(--cv-fog-500); }

/* ============================================================
   SECTION + LIGHT MODE
   ============================================================ */
.cv-section { padding: 88px 32px; max-width: 1320px; margin: 0 auto; }
.cv-section.tight { padding: 56px 32px; }
.cv-light {
  background: var(--cv-fog-100);
  color: var(--cv-night-800);
}
.cv-light .sub-head { color: var(--cv-fog-500); }
.cv-band-dark { background: var(--bg-app); }

/* ============================================================
   HOSPITABLE WIDGET MOCKS
   ============================================================ */

/* --- Search widget (hero) — pill style --- */
.hospitable-search {
  display: flex; align-items: center;
  background: #fff;
  border-radius: var(--r-pill);
  padding: 8px;
  gap: 4px;
  box-shadow: 0 16px 48px rgba(14,7,38,0.45);
  max-width: 880px;
  width: 100%;
}
.hospitable-search .seg {
  display: flex; align-items: center; gap: 10px;
  flex: 1; padding: 12px 18px;
  font-size: 14px; color: var(--cv-fog-500);
  border-right: 1px solid var(--cv-fog-200);
  cursor: pointer;
  min-width: 0;
}
.hospitable-search .seg:last-of-type { border-right: 0; }
.hospitable-search .seg i { width: 16px; height: 16px; color: var(--cv-magenta-500); flex-shrink: 0; }
.hospitable-search .seg .label { color: var(--cv-night-800); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hospitable-search .seg .label .ph { color: var(--cv-fog-500); font-weight: 400; }
.hospitable-search button {
  padding: 14px 30px;
  background: var(--grad-cta-teal); color: #fff;
  border: 0; border-radius: var(--r-pill);
  font-weight: 600; font-size: 14px;
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  transition: background var(--dur-base);
  box-shadow: 0 6px 18px rgba(42,143,135,0.4);
}
.hospitable-search button:hover { background: var(--grad-cta-teal-hover); }
.hospitable-search button i { width: 14px; height: 14px; }
@media (max-width: 800px) {
  .hospitable-search { flex-direction: column; border-radius: 24px; padding: 12px; gap: 8px; }
  .hospitable-search .seg { width: 100%; border-right: 0; border-bottom: 1px solid var(--cv-fog-200); padding: 12px 14px; }
  .hospitable-search .seg:last-of-type { border-bottom: 0; }
  .hospitable-search button { width: 100%; justify-content: center; padding: 14px; }
}

/* Widget signature footer */
.widget-tag {
  margin-top: 14px;
  font-size: 11.5px;
  color: rgba(255,255,255,0.5);
  text-align: center;
  letter-spacing: 0.08em;
}
.widget-tag .dot { display: inline-block; width: 6px; height: 6px; border-radius: 999px; background: var(--cv-moon-400); margin-right: 6px; vertical-align: middle; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

/* --- Calendar widget mock --- */
.hospitable-calendar {
  background: #fff;
  color: var(--cv-night-800);
  border-radius: var(--r-xl);
  padding: 22px 22px 24px;
  box-shadow: var(--shadow-lg);
  font-family: var(--font-body);
}
.hospitable-calendar .currency {
  text-align: center;
  font-size: 14px; font-weight: 500;
  color: var(--cv-night-800);
  margin-bottom: 18px;
}
.hospitable-calendar .month-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6px 14px;
}
.hospitable-calendar .month-nav button {
  width: 32px; height: 32px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--cv-fog-200);
  color: var(--cv-night-800);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all var(--dur-base);
}
.hospitable-calendar .month-nav button:hover { background: var(--cv-magenta-100); border-color: var(--cv-magenta-500); }
.hospitable-calendar .month-nav button i { width: 14px; height: 14px; }
.hospitable-calendar .month-nav .month {
  font-size: 14px; font-weight: 600;
}
.hospitable-calendar .dow {
  display: grid; grid-template-columns: repeat(7, 1fr);
  font-size: 11px; font-weight: 500;
  color: var(--cv-fog-500);
  text-align: center; padding-bottom: 6px;
  border-bottom: 1px solid var(--cv-fog-200);
}
.hospitable-calendar .grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  padding: 8px 0 14px;
}
.hospitable-calendar .day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--dur-base);
  position: relative;
}
.hospitable-calendar .day:hover { background: var(--cv-magenta-100); }
.hospitable-calendar .day.empty { cursor: default; }
.hospitable-calendar .day.unavailable {
  text-decoration: line-through;
  color: var(--cv-fog-400);
  cursor: not-allowed;
}
.hospitable-calendar .day.unavailable:hover { background: transparent; }
.hospitable-calendar .day.selected {
  background: var(--cv-night-800);
  color: #fff;
}
.hospitable-calendar .day.in-range {
  background: var(--cv-magenta-100);
  color: var(--cv-night-800);
  border-radius: 0;
}
.hospitable-calendar .guests-field {
  margin-top: 8px;
  border: 1px solid var(--cv-fog-200);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13.5px;
  cursor: pointer;
  position: relative;
}
.hospitable-calendar .guests-field .glabel {
  position: absolute; top: -7px; left: 12px;
  background: #fff; padding: 0 6px;
  font-size: 10.5px; color: var(--cv-fog-500); font-weight: 500;
}
.hospitable-calendar .guests-field i { width: 16px; height: 16px; color: var(--cv-fog-500); }
.hospitable-calendar .book-btn {
  width: 100%;
  margin-top: 14px;
  padding: 13px;
  border: 0;
  border-radius: 12px;
  background: var(--grad-cta-teal);
  color: #fff;
  font-weight: 600; font-size: 14px;
  cursor: pointer;
  transition: background var(--dur-base), transform var(--dur-fast);
  font-family: inherit;
  box-shadow: 0 6px 16px rgba(42,143,135,0.35);
}
.hospitable-calendar .book-btn:hover { background: var(--grad-cta-teal-hover); transform: translateY(-1px); }
.hospitable-calendar .book-btn.disabled {
  background: var(--cv-fog-200);
  color: var(--cv-fog-500);
  box-shadow: none;
  cursor: not-allowed;
}
.hospitable-calendar .helper {
  margin-top: 10px;
  font-size: 12px;
  color: var(--cv-fog-500);
  text-align: center;
}
.hospitable-calendar .summary {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--cv-fog-200);
  display: grid; gap: 8px;
  font-size: 13.5px;
}
.hospitable-calendar .summary .row { display: flex; justify-content: space-between; color: var(--cv-fog-500); }
.hospitable-calendar .summary .row.total { color: var(--cv-night-800); font-weight: 700; font-size: 15px; padding-top: 10px; border-top: 1px solid var(--cv-fog-200); }

/* ============================================================
   STARFIELD (decorative bg)
   ============================================================ */
.starfield {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff, transparent 60%),
    radial-gradient(1px 1px at 28% 42%, rgba(255,255,255,0.7), transparent 60%),
    radial-gradient(2px 2px at 48% 12%, #fff, transparent 60%),
    radial-gradient(1px 1px at 62% 28%, rgba(255,255,255,0.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 78% 22%, #fff, transparent 60%),
    radial-gradient(1px 1px at 88% 38%, rgba(255,255,255,0.7), transparent 60%),
    radial-gradient(1px 1px at 6% 58%, rgba(255,255,255,0.5), transparent 60%),
    radial-gradient(2px 2px at 22% 76%, #fff, transparent 60%),
    radial-gradient(1px 1px at 40% 64%, rgba(255,255,255,0.65), transparent 60%),
    radial-gradient(1.5px 1.5px at 58% 84%, #fff, transparent 60%),
    radial-gradient(1px 1px at 74% 70%, rgba(255,255,255,0.55), transparent 60%),
    radial-gradient(1px 1px at 90% 88%, #fff, transparent 60%),
    radial-gradient(1.5px 1.5px at 34% 32%, rgba(255,255,255,0.8), transparent 60%),
    radial-gradient(1px 1px at 16% 90%, rgba(255,255,255,0.6), transparent 60%),
    radial-gradient(1px 1px at 96% 60%, #fff, transparent 60%);
  opacity: 0.85;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
.starfield.twinkling { animation: twinkle 4s ease-in-out infinite; }

/* ============================================================
   TWO-TONE HEADLINE (signature)
   ============================================================ */
.two-tone {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.two-tone .accent-cyan { color: var(--cv-moon-400); }
.two-tone .accent-mag { color: var(--cv-magenta-400); }

/* ============================================================
   AMENITY GRID
   ============================================================ */
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px 18px;
}
.amenity {
  text-align: center;
}
.amenity-tile {
  width: 60px; height: 60px;
  border-radius: 999px;
  background: var(--cv-magenta-500);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 6px 16px rgba(198,97,214,0.32);
}
.amenity-tile i { width: 26px; height: 26px; stroke-width: 1.8; }
.amenity-label { font-size: 12.5px; font-weight: 500; margin-top: 10px; color: rgba(255,255,255,0.85); }
@media (max-width: 720px) { .amenity-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   Lucide stroke fix
   ============================================================ */
[data-lucide] { stroke-width: 1.8; }

/* ============================================================
   Layout helpers
   ============================================================ */
.page { min-height: 100vh; display: flex; flex-direction: column; }
.page > main { flex: 1; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 32px; width: 100%; }
.container-md { max-width: 1100px; margin: 0 auto; padding: 0 32px; width: 100%; }


/* =============================================================
   LISTING DETAIL PAGES (shared by all per-property pages;
   originally authored inline in Listing.html)
   ============================================================= */
/* ===== GALLERY ===== */
    .listing-top {
      max-width: 1320px; margin: 0 auto;
      padding: 28px 32px 0;
    }
    .crumbs {
      display: flex; align-items: center; gap: 8px;
      font-size: 12.5px; color: rgba(255,255,255,0.55);
      margin-bottom: 18px;
    }
    .crumbs a { color: rgba(255,255,255,0.7); transition: color var(--dur-base); }
    .crumbs a:hover { color: var(--cv-moon-400); }
    .crumbs i { width: 12px; height: 12px; }

    .title-row {
      display: flex; justify-content: space-between; align-items: flex-end;
      gap: 24px; margin-bottom: 20px; flex-wrap: wrap;
    }
    .title-row .left h1 {
      font-family: var(--font-display);
      font-size: clamp(32px, 4vw, 48px); font-weight: 700;
      letter-spacing: -0.015em; margin: 0 0 8px; color: #fff;
    }
    .title-row .meta {
      display: flex; gap: 14px; flex-wrap: wrap;
      font-size: 13.5px; color: rgba(255,255,255,0.7);
    }
    .title-row .meta span { display: inline-flex; align-items: center; gap: 6px; }
    .title-row .meta i { width: 13px; height: 13px; color: var(--cv-magenta-400); }
    .title-row .meta .rating { color: var(--cv-star-yellow); font-weight: 600; }
    .title-row .meta .rating i { color: var(--cv-star-yellow); fill: currentColor; stroke: none; }
    .title-row .actions { display: flex; gap: 8px; }
    .title-row .icon-btn {
      width: 40px; height: 40px;
      border-radius: 999px;
      background: transparent;
      border: 1px solid rgba(255,255,255,0.16);
      color: #fff;
      display: inline-flex; align-items: center; justify-content: center;
      cursor: pointer; transition: all var(--dur-base);
    }
    .title-row .icon-btn:hover { background: rgba(255,255,255,0.06); border-color: var(--cv-magenta-400); }
    .title-row .icon-btn i { width: 16px; height: 16px; }

    .gallery {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      grid-template-rows: 1fr 1fr;
      gap: 10px;
      aspect-ratio: 16/8;
      border-radius: var(--r-lg);
      overflow: hidden;
      margin-bottom: 28px;
      position: relative;
    }
    .gallery .tile {
      background-size: cover; background-position: center;
      cursor: pointer;
      transition: opacity var(--dur-base);
    }
    .gallery .tile:hover { opacity: 0.92; }
    .gallery .tile:first-child { grid-row: span 2; grid-column: span 1; }
    .gallery .show-all {
      position: absolute; bottom: 16px; right: 16px;
      background: rgba(255,255,255,0.95);
      color: var(--cv-night-800);
      padding: 9px 16px;
      border-radius: 999px;
      font-size: 13px; font-weight: 600;
      display: inline-flex; align-items: center; gap: 8px;
      cursor: pointer;
      backdrop-filter: blur(8px);
      transition: background var(--dur-base);
    }
    .gallery .show-all:hover { background: #fff; }
    .gallery .show-all i { width: 14px; height: 14px; }
    @media (max-width: 840px) {
      /* fixed aspect on the container clipped the third row of tiles on
         phones — let height flow from the tiles instead */
      .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: none; aspect-ratio: auto; }
      .gallery .tile { aspect-ratio: 4/3; }
      .gallery .tile:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16/10; }
    }

    /* ===== LAYOUT ===== */
    .listing-body {
      max-width: 1320px; margin: 0 auto;
      padding: 24px 32px 80px;
      display: grid; grid-template-columns: 1.5fr 0.95fr; gap: 56px;
      align-items: start;
    }
    @media (max-width: 980px) {
      .listing-body { grid-template-columns: 1fr; gap: 36px; }
    }

    /* --- LEFT COLUMN --- */
    .lhead {
      padding-bottom: 28px;
      border-bottom: 1px solid rgba(255,255,255,0.1);
      margin-bottom: 28px;
    }
    .lhead .by-host {
      display: flex; align-items: center; gap: 14px;
      margin-bottom: 18px;
    }
    .lhead .by-host .av {
      width: 56px; height: 56px;
      border-radius: 999px;
      background-image: url('https://images.unsplash.com/photo-1521543387315-7e2b16e8c8a2?w=200&q=80');
      background-size: cover; background-position: center;
      border: 2px solid var(--cv-magenta-400);
    }
    .lhead .by-host .text { font-size: 14px; }
    .lhead .by-host .text b { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
    .lhead .by-host .text .lbl { font-size: 12.5px; color: rgba(255,255,255,0.55); }

    .key-features {
      display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
      margin-top: 4px;
    }
    .key-features .kf {
      display: flex; gap: 12px; align-items: flex-start;
      padding: 14px 16px;
      background: var(--bg-card);
      border: 1px solid var(--border-on-dark);
      border-radius: var(--r-md);
    }
    .key-features .kf i { width: 22px; height: 22px; color: var(--cv-magenta-400); flex-shrink: 0; margin-top: 2px; }
    .key-features .kf b { display: block; font-size: 14px; font-weight: 600; margin-bottom: 2px; }
    .key-features .kf p { font-size: 12.5px; color: rgba(255,255,255,0.6); margin: 0; line-height: 1.4; }

    .desc-section { padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .desc-section h2 {
      font-family: var(--font-display);
      font-size: 22px; font-weight: 700;
      margin: 0 0 14px;
    }
    .desc-section p { font-size: 15px; line-height: 1.65; color: rgba(255,255,255,0.78); margin: 0 0 12px; }
    .read-more {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: 14px; font-weight: 600;
      color: var(--cv-moon-400); cursor: pointer;
      margin-top: 6px;
    }
    .read-more i { width: 14px; height: 14px; }

    .room-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 8px 0 4px; }
    .room { background: var(--bg-card); border: 1px solid var(--border-on-dark); border-radius: var(--r-md); padding: 16px; }
    .room .img {
      aspect-ratio: 4/3; border-radius: 10px;
      background-size: cover; background-position: center;
      margin-bottom: 12px;
    }
    .room b { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 4px; }
    .room small { font-size: 12.5px; color: rgba(255,255,255,0.6); }
    @media (max-width: 640px) { .room-list { grid-template-columns: 1fr 1fr; } }

    /* --- RESERVE PANEL (right column) --- */
    .reserve-stack {
      position: sticky; top: 100px;
      display: flex; flex-direction: column; gap: 14px;
    }
    .price-top {
      display: flex; align-items: baseline; justify-content: space-between;
      padding: 0 4px 14px;
    }
    .price-top .pr {
      font-family: var(--font-display);
      font-size: 28px; font-weight: 800; color: #fff;
    }
    .price-top .pr small { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.6); }
    .price-top .rating { display: inline-flex; align-items: center; gap: 4px; color: var(--cv-star-yellow); font-size: 13.5px; font-weight: 600; }
    .price-top .rating i { width: 14px; height: 14px; fill: currentColor; stroke: none; }
    .price-top .rating a { color: rgba(255,255,255,0.6); margin-left: 8px; text-decoration: underline; }

    /* ===== HOSPITABLE CALENDAR WIDGET (placeholder + mock) ===== */
    .widget-shell {
      background: var(--bg-card);
      border: 1px solid var(--border-on-dark);
      border-radius: var(--r-xl);
      padding: 20px;
      box-shadow: var(--shadow-lg);
      position: relative;
    }
    .widget-shell::before {
      content: 'Powered by Hospitable';
      position: absolute;
      top: -10px; left: 20px;
      font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase;
      color: rgba(255,255,255,0.55);
      background: var(--bg-card);
      padding: 0 10px 0 20px; /* left room for the status dot so it doesn't cover the P */
      border: 1px solid var(--border-on-dark);
      border-radius: 999px;
      line-height: 18px;
    }
    .widget-shell::after {
      content: '';
      position: absolute;
      top: -3px; left: 28px;
      width: 6px; height: 6px;
      border-radius: 999px;
      background: var(--cv-moon-400);
      box-shadow: 0 0 8px rgba(111,227,217,0.7);
    }

    /* Tag line below the calendar */
    .widget-trust-row {
      display: flex; flex-direction: column; gap: 10px;
      margin-top: 4px;
      font-size: 12.5px; color: rgba(255,255,255,0.65);
    }
    .widget-trust-row .row { display: flex; align-items: center; gap: 10px; }
    .widget-trust-row .row i { width: 14px; height: 14px; color: var(--cv-moon-400); }
    .widget-trust-row .row b { color: #fff; font-weight: 600; }

    /* Contact-host link below */
    .contact-host {
      padding: 16px 0;
      text-align: center;
      border-top: 1px solid rgba(255,255,255,0.1);
      margin-top: 4px;
      font-size: 13.5px;
    }
    .contact-host a {
      color: var(--cv-moon-400);
      font-weight: 600;
      display: inline-flex; align-items: center; gap: 6px;
    }
    .contact-host a:hover { color: var(--cv-magenta-400); }

    /* ===== AMENITIES ===== */
    .amenities-section { padding: 32px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .amenities-section h2 { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin: 0 0 22px; }

    /* ===== HOSTS BAND ===== */
    .listing-host-band {
      background:
        radial-gradient(circle at 20% 30%, rgba(214,136,225,0.12) 0%, transparent 60%),
        var(--bg-app);
      padding: 64px 32px;
      border-top: 1px solid rgba(255,255,255,0.06);
    }
    .listing-host-band .inner {
      max-width: 1100px; margin: 0 auto;
      display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: center;
    }
    .listing-host-band .av-big {
      /* explicit width: an empty div with justify-self:end shrinks to 0 without it */
      width: min(280px, 100%);
      aspect-ratio: 1;
      border-radius: 50%;
      background-image: url('https://images.unsplash.com/photo-1521543387315-7e2b16e8c8a2?w=600&q=85');
      background-size: cover; background-position: center;
      max-width: 280px;
      justify-self: center;
      border: 4px solid var(--cv-magenta-400);
      box-shadow: 0 16px 40px rgba(14,7,38,0.5);
    }
    .listing-host-band h2 { font-family: var(--font-display); font-size: 28px; font-weight: 700; margin: 0 0 14px; }
    .listing-host-band p { font-size: 15px; line-height: 1.65; color: rgba(255,255,255,0.75); margin: 0 0 18px; }
    .listing-host-band .actions { display: flex; gap: 12px; }
    @media (max-width: 800px) {
      .listing-host-band .inner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
      .listing-host-band .av-big { justify-self: center; }
      .listing-host-band .actions { justify-content: center; }
    }

    /* ===== MAP ===== */
    .map-section { padding: 56px 32px; max-width: 1320px; margin: 0 auto; }
    .map-section h2 { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin: 0 0 6px; }
    .map-section p { font-size: 14.5px; color: rgba(255,255,255,0.7); margin: 0 0 20px; }
    .map {
      aspect-ratio: 16/8;
      border-radius: var(--r-lg);
      background:
        radial-gradient(circle at 50% 50%, rgba(198,97,214,0.2) 0%, transparent 60%),
        linear-gradient(135deg, #271650 0%, #4A2E85 100%);
      position: relative;
      overflow: hidden;
      border: 1px solid var(--border-on-dark);
    }
    .map::before {
      content: ''; position: absolute; inset: 0;
      background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
      background-size: 48px 48px;
    }
    .map .pin {
      position: absolute; top: 48%; left: 50%;
      transform: translate(-50%, -100%);
      width: 36px; height: 36px;
      background: var(--cv-magenta-500);
      border-radius: 50% 50% 50% 0;
      transform: translate(-50%,-100%) rotate(-45deg);
      box-shadow: 0 6px 18px rgba(0,0,0,0.5);
    }
    .map .pin::after {
      content: ''; position: absolute;
      top: 9px; left: 9px;
      width: 18px; height: 18px;
      background: #fff; border-radius: 50%;
    }
    .map .approx {
      position: absolute; top: 38%; left: 50%;
      transform: translateX(-50%);
      background: rgba(14,7,38,0.85); backdrop-filter: blur(8px);
      color: #fff; font-size: 12px; font-weight: 500;
      padding: 8px 14px; border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.18);
      white-space: nowrap;
    }
    .map .label-bottom {
      position: absolute; bottom: 16px; left: 16px;
      background: rgba(14,7,38,0.85); backdrop-filter: blur(8px);
      padding: 10px 14px; border-radius: 12px;
      font-size: 12.5px; color: rgba(255,255,255,0.85);
      border: 1px solid rgba(255,255,255,0.12);
    }
    .map .label-bottom b { color: #fff; font-weight: 600; display: block; font-size: 13px; margin-bottom: 2px; }

    /* ===== REVIEWS ===== */
    .reviews-section { padding: 56px 32px; max-width: 1320px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.06); }
    .reviews-section .head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; flex-wrap: wrap; }
    .reviews-section .head h2 { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin: 0; }
    .reviews-section .head .summary { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,0.75); }
    .reviews-section .head .summary i { color: var(--cv-star-yellow); width: 14px; height: 14px; fill: currentColor; stroke: none; }
    .reviews-grid {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
    }
    .review-card {
      background: var(--bg-card); border: 1px solid var(--border-on-dark);
      border-radius: var(--r-lg); padding: 22px;
    }
    .review-card .stars { color: var(--cv-star-yellow); display: flex; gap: 2px; margin-bottom: 10px; }
    .review-card .stars i { width: 14px; height: 14px; fill: currentColor; stroke: none; }
    .review-card .q { font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,0.85); margin: 0 0 14px; }
    .review-card .who { display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
    .review-card .who .av { width: 32px; height: 32px; border-radius: 999px; background: linear-gradient(135deg, var(--cv-magenta-400), var(--cv-night-500)); }
    .review-card .who b { display: block; font-weight: 600; font-size: 13px; }
    .review-card .who small { color: rgba(255,255,255,0.55); font-size: 11.5px; }
    @media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr 1fr; } }
    @media (max-width: 620px) { .reviews-grid { grid-template-columns: 1fr; } }

/* =============================================================
   HOSPITABLE BOOKING IFRAME — dark-theme integration
   The widget is a cross-origin iframe (no CSS injection possible),
   so we dark-theme it with an invert+hue-rotate filter: white UI
   goes dark, accent hues survive the double flip. Remove the
   .booking-iframe--dark class to revert to the native white widget.
   ============================================================= */
.widget-shell--flush {
  padding: 10px;
  /* The widget's content column is ~320px and left-anchored inside its
     iframe, so keep the shell snug and centered — a wide frame just
     shows dead space to the right of the calendar. */
  width: 100%;
  max-width: 368px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.booking-iframe { display: block; width: 100%; border: 0; border-radius: 12px; background: #F8F5FF; /* matches the Hospitable widget theme tertiary so the frame reads as one card */ }

/* =============================================================
   PHOTO LIGHTBOX — in-page full gallery (replaces OTA redirect)
   Driven by window.CV_GALLERY on each property page.
   ============================================================= */
.gallery .tile { cursor: pointer; }
.cv-lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: none;
  background: rgba(8, 4, 22, 0.94);
  backdrop-filter: blur(6px);
  flex-direction: column;
}
.cv-lightbox.is-open { display: flex; }
.cv-lightbox__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px; color: #fff; flex-shrink: 0;
}
.cv-lightbox__count { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: rgba(255,255,255,0.85); }
.cv-lightbox__close {
  width: 42px; height: 42px; border-radius: 999px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
  color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--dur-base);
}
.cv-lightbox__close:hover { background: rgba(255,255,255,0.2); }
.cv-lightbox__close i { width: 20px; height: 20px; }
.cv-lightbox__stage {
  flex: 1; min-height: 0;
  display: flex; align-items: center; justify-content: center;
  position: relative; padding: 0 12px 8px;
}
.cv-lightbox__img {
  max-width: min(1200px, 94vw); max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.cv-lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 999px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--dur-base);
}
.cv-lightbox__nav:hover { background: rgba(255,255,255,0.24); }
.cv-lightbox__nav i { width: 24px; height: 24px; }
.cv-lightbox__nav--prev { left: 20px; }
.cv-lightbox__nav--next { right: 20px; }
.cv-lightbox__caption {
  flex-shrink: 0;
  color: rgba(255,255,255,0.8); font-size: 13.5px; line-height: 1.5;
  text-align: center; padding: 4px 40px 22px;
  max-width: 900px; margin: 0 auto;
  min-height: 20px;
}
@media (max-width: 640px) {
  .cv-lightbox__nav { width: 42px; height: 42px; }
  .cv-lightbox__nav--prev { left: 8px; }
  .cv-lightbox__nav--next { right: 8px; }
  .cv-lightbox__caption { padding: 4px 16px 18px; font-size: 12.5px; }
}

/* =============================================================
   PHOTO TOUR PAGE — expandable hero sections
   (shared by all <Property>Photos.html pages)
   ============================================================= */
.tour-top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 7, 38, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.tour-bar {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
  padding: 14px 24px 10px;
}
.tour-bar .back {
  width: 38px; height: 38px; border-radius: 999px; flex-shrink: 0;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
}
.tour-bar .back i { width: 18px; height: 18px; }
.tour-bar h1 { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: #fff; margin: 0; }
.tour-bar .sub { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 2px; }
.tour-chips {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 4px 24px 12px;
}
@media (max-width: 700px) {
  .tour-bar { padding: 12px 16px 8px; gap: 10px; }
  .tour-bar h1 { font-size: 15.5px; }
  .tour-bar .sub { display: none; }
  .tour-bar .view-all { padding: 7px 12px; font-size: 11.5px; }
  /* single scrollable row on small screens, with a fade hinting at more */
  .tour-chips {
    flex-wrap: nowrap; overflow-x: auto;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent);
    mask-image: linear-gradient(90deg, #000 90%, transparent);
  }
  .tour-chips::-webkit-scrollbar { display: none; }
  /* the scroll row can push trailing items out of sight, so pin the
     view-all toggle first on mobile */
  .tour-chips .view-all { order: -1; margin-left: 0; }
}
.tour-chips a {
  flex-shrink: 0;
  padding: 7px 15px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.8);
  font-size: 12.5px; font-weight: 500;
  white-space: nowrap;
  transition: all var(--dur-base);
}
.tour-chips a:hover { border-color: var(--cv-magenta-400); color: #fff; }
.tour-bar .view-all,
.tour-chips .view-all {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 7px;
  flex-shrink: 0;
  padding: 7px 15px; border-radius: 999px;
  background: var(--grad-cta-teal, linear-gradient(180deg, #3FB5AB, #2A8F87));
  border: 0; color: #fff;
  font-size: 12.5px; font-weight: 600;
  font-family: inherit; cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(42,143,135,0.35);
  transition: filter var(--dur-base);
}
.tour-bar .view-all:hover,
.tour-chips .view-all:hover { filter: brightness(1.08); }
.tour-bar .view-all i,
.tour-chips .view-all i { width: 13px; height: 13px; }

.tour-wrap { max-width: 1100px; margin: 0 auto; padding: 26px 24px 90px; display: flex; flex-direction: column; gap: 22px; }

.xsec {
  scroll-margin-top: 108px;
  border: 1px solid transparent;
  border-radius: calc(var(--r-lg) + 7px);
  padding: 0;
  transition: border-color 0.35s ease, background 0.35s ease, padding 0.35s ease;
}
.xsec.open {
  border-color: rgba(111, 227, 217, 0.45);
  background: rgba(63, 181, 171, 0.07);
  padding: 8px;
}
.xsec.open .hero { border-color: rgba(111, 227, 217, 0.35); }
.xsec .hero {
  position: relative; cursor: pointer;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border-on-dark);
}
.xsec .hero img {
  display: block; width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.xsec .hero:hover img { transform: scale(1.02); }
.xsec .hero .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,5,26,0.15) 0%, transparent 40%, rgba(10,5,26,0.82) 100%);
}
.xsec .hero .label {
  position: absolute; left: 22px; bottom: 18px; right: 190px;
  color: #fff;
}
.xsec .hero .label h2 { font-family: var(--font-display); font-size: 24px; font-weight: 800; margin: 0 0 3px; }
.xsec .hero .label p { font-size: 13px; color: rgba(255,255,255,0.82); margin: 0; }
.xsec .hero .expand-pill {
  position: absolute; right: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.95); color: var(--cv-night-800);
  padding: 10px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  transition: background var(--dur-base);
}
.xsec .hero:hover .expand-pill { background: #fff; }
.xsec .expand-pill i { width: 15px; height: 15px; transition: transform 0.35s ease; }
.xsec.open .expand-pill i { transform: rotate(45deg); }
.xsec.open .expand-pill {
  background: var(--grad-cta-teal, linear-gradient(180deg, #3FB5AB, #2A8F87));
  color: #fff;
  box-shadow: 0 6px 20px rgba(42, 143, 135, 0.45);
}
.xsec.open .hero:hover .expand-pill { background: var(--grad-cta-teal-hover, linear-gradient(180deg, #4cc4ba, #339e95)); }
.xsec .expander {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.xsec.open .expander { grid-template-rows: 1fr; }
.xsec .expander > div { overflow: hidden; }

.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 10px; }
.mosaic figure { margin: 0; position: relative; cursor: pointer; border-radius: 12px; overflow: hidden; }
.mosaic figure.wide { grid-column: span 2; }
.mosaic img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  aspect-ratio: 3/2;
  transition: transform 0.35s ease;
}
.mosaic figure.wide img { aspect-ratio: 2/1; }
.mosaic figure:hover img { transform: scale(1.025); }
.mosaic figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 26px 14px 10px;
  background: linear-gradient(180deg, transparent, rgba(10,5,26,0.75));
  color: rgba(255,255,255,0.92); font-size: 12px;
  opacity: 0; transition: opacity var(--dur-base);
}
.mosaic figure:hover figcaption { opacity: 1; }
@media (max-width: 640px) {
  .mosaic { grid-template-columns: 1fr; }
  .mosaic figure.wide { grid-column: span 1; }
  .xsec .hero img { aspect-ratio: 16/10; }
  .xsec .hero .label { right: 20px; bottom: 64px; }
}

/* "Where you'll sleep" cards that link into the photo tour */
a.room { display: block; transition: border-color var(--dur-base); }
a.room:hover { border-color: var(--cv-moon-400); }
.room .cam {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 8px; font-size: 11px; font-weight: 600;
  color: var(--cv-moon-400);
}
.room .cam i { width: 12px; height: 12px; }

/* "Where you'll sleep" cards with the room photo as background */
.room--photo {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.room--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,7,38,0.05) 0%, rgba(14,7,38,0.35) 50%, rgba(14,7,38,0.88) 100%);
  transition: background var(--dur-base);
}
.room--photo:hover::before {
  background: linear-gradient(180deg, rgba(14,7,38,0.0) 0%, rgba(14,7,38,0.25) 50%, rgba(14,7,38,0.85) 100%);
}
.room--photo > * { position: relative; }
.room--photo b { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.55); }
.room--photo small { color: rgba(255,255,255,0.88); text-shadow: 0 1px 4px rgba(0,0,0,0.5); }

/* Live Leaflet map (replaces the decorative mock when coords exist) */
.map--live { background: var(--cv-night-700); }
.map--live::before, .map--live .pin { display: none; }
.map-canvas { position: absolute; inset: 0; z-index: 0; }
.map--live .approx, .map--live .label-bottom { z-index: 1000; pointer-events: none; }
.map--live .leaflet-container { background: #262347; font: inherit; }

/* "Questions about this home?" card on property pages */
.ask-card {
  background: var(--bg-card);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--r-xl);
  padding: 20px;
  text-align: center;
}
.ask-card .ic {
  width: 40px; height: 40px; border-radius: 999px;
  background: rgba(198, 97, 214, 0.15);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.ask-card .ic i { width: 20px; height: 20px; color: var(--cv-magenta-400); }
.ask-card b { display: block; font-family: var(--font-display); font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.ask-card p { font-size: 13px; line-height: 1.55; color: rgba(255,255,255,0.65); margin: 0 0 14px; }
.ask-card .cv-cta { width: 100%; justify-content: center; box-sizing: border-box; }

/* Rating link under "Hosted by" — opens the reviews modal */
.rating-link {
  display: inline-flex; align-items: center; gap: 7px;
  background: none; border: 0; padding: 0;
  margin: 2px 0 18px;
  font: inherit; font-size: 15px; font-weight: 600;
  color: var(--cv-star-yellow); cursor: pointer;
}
.rating-link i { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.rating-link .cnt { color: var(--cv-star-yellow); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.rating-link:hover .cnt { filter: brightness(1.15); }

/* ==================== REVIEWS MODAL ==================== */
.cv-reviews-modal {
  position: fixed; inset: 0; z-index: 1100;
  display: none; align-items: center; justify-content: center;
  background: rgba(8, 4, 22, 0.9);
  backdrop-filter: blur(6px);
  padding: 24px;
}
.cv-reviews-modal.is-open { display: flex; }
.cv-reviews-modal__card {
  width: min(780px, 100%);
  max-height: 88vh;
  display: flex; flex-direction: column;
  background: var(--cv-night-700);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--r-xl);
  box-shadow: 0 32px 90px rgba(0,0,0,0.6);
  overflow: hidden;
}
.cv-reviews-modal__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 22px 24px 14px;
}
.cv-reviews-modal__head h3 {
  font-family: var(--font-display); font-size: 20px; font-weight: 800;
  color: #fff; margin: 0 0 2px;
  display: flex; align-items: center; gap: 8px;
}
.cv-reviews-modal__head h3 i { width: 18px; height: 18px; color: var(--cv-star-yellow); fill: currentColor; stroke: none; }
.cv-reviews-modal__head small { font-size: 12.5px; color: rgba(255,255,255,0.55); }
.cv-reviews-modal__close {
  width: 38px; height: 38px; border-radius: 999px; flex-shrink: 0;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.cv-reviews-modal__close:hover { background: rgba(255,255,255,0.16); }
.cv-reviews-modal__close i { width: 18px; height: 18px; }
.cv-reviews-modal__filters { padding: 0 24px 14px; border-bottom: 1px solid rgba(255,255,255,0.09); }
.cv-reviews-modal__filters .frow { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.cv-reviews-modal__filters .fchip {
  padding: 6px 13px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.18);
  background: transparent; color: rgba(255,255,255,0.8);
  font: inherit; font-size: 12.5px; font-weight: 500; cursor: pointer;
  transition: all var(--dur-base);
}
.cv-reviews-modal__fchipnote { font-size: 11px; color: rgba(255,255,255,0.4); margin: 2px 0 0; }
.cv-reviews-modal__filters .fchip:hover { border-color: var(--cv-magenta-400); color: #fff; }
.cv-reviews-modal__filters .fchip.on { background: var(--cv-magenta-500); border-color: var(--cv-magenta-500); color: #fff; }
.cv-reviews-modal__list { overflow-y: auto; padding: 6px 24px 24px; }
.cv-rv-item { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.cv-rv-item:last-child { border-bottom: 0; }
.cv-rv-item .stars { color: var(--cv-star-yellow); display: flex; gap: 2px; margin-bottom: 6px; }
.cv-rv-item .stars i,
.cv-rv-item .stars svg { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.cv-rv-item .stars i.off,
.cv-rv-item .stars svg.off { color: rgba(255,255,255,0.22); }
.cv-rv-item .meta { font-size: 12px; color: rgba(255,255,255,0.55); margin-bottom: 8px; }
.cv-rv-item .meta b { color: rgba(255,255,255,0.85); font-weight: 600; }
.cv-rv-item .txt { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.85); margin: 0; white-space: pre-line; }
.cv-rv-item .resp {
  margin-top: 10px; padding: 10px 14px;
  border-left: 2px solid var(--cv-moon-600);
  background: rgba(63,181,171,0.06);
  border-radius: 0 10px 10px 0;
}
.cv-rv-item .resp b { display: block; font-size: 12px; color: var(--cv-moon-400); margin-bottom: 4px; }
.cv-rv-item .resp p { font-size: 13px; line-height: 1.55; color: rgba(255,255,255,0.7); margin: 0; white-space: pre-line; }
.cv-rv-empty { padding: 34px 0; text-align: center; color: rgba(255,255,255,0.55); font-size: 14px; }
@media (max-width: 640px) {
  .cv-reviews-modal { padding: 10px; }
  .cv-reviews-modal__card { max-height: 94vh; }
}

/* ============================================================
   MOBILE NAV (hamburger + slide-in drawer, < 820px)
   ============================================================ */
.site-header .nav-toggle {
  display: none;
  width: 42px; height: 42px; border-radius: 999px; flex-shrink: 0;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.site-header .nav-toggle i { width: 20px; height: 20px; }
@media (max-width: 820px) {
  .site-header .nav-toggle { display: inline-flex; }
}
.mobile-nav-backdrop {
  position: fixed; inset: 0; z-index: 199;
  background: rgba(8, 4, 22, 0.65);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-nav-backdrop.open { opacity: 1; pointer-events: auto; }
.mobile-nav {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 200;
  width: min(320px, 84vw);
  background: var(--cv-night-800);
  border-left: 1px solid rgba(255,255,255,0.1);
  box-shadow: -24px 0 60px rgba(0,0,0,0.5);
  transform: translateX(105%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; flex-direction: column;
  padding: 16px 22px 26px;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav .mn-top { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.mobile-nav .mn-close {
  width: 42px; height: 42px; border-radius: 999px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16);
  color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.mobile-nav .mn-close i { width: 20px; height: 20px; }
.mobile-nav a.mn-link {
  padding: 15px 4px;
  font-family: var(--font-display);
  font-size: 19px; font-weight: 700; color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav a.mn-link:active { color: var(--cv-moon-400); }
.mobile-nav .mn-phone {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 4px;
  font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.85);
}
.mobile-nav .mn-phone i { width: 16px; height: 16px; color: var(--cv-moon-400); }
.mobile-nav .mn-book {
  margin-top: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 20px; border-radius: 999px;
  background: var(--grad-cta-teal, linear-gradient(180deg, #3FB5AB, #2A8F87));
  color: #fff; font-weight: 700; font-size: 15px;
  box-shadow: var(--shadow-moon, 0 6px 18px rgba(42,143,135,0.4));
}
