:root {
  --navy: #1f3a66;
  --gold: #e0a93b;
  --green: #22c55e;
  --bg: #f2f3f6;
  --card: #ffffff;
  --line: #e6e8ee;
  --ink: #1d2330;
  --muted: #6b7280;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background-color: var(--bg);
  font-family: 'Quicksand', Arial, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img { display: block; }
a { color: var(--navy); }

/* ---- Hero text ---- */
.hero-text { max-width: 1100px; margin: 0 auto; padding: clamp(36px, 6vw, 64px) clamp(14px, 4vw, 20px) clamp(8px, 2vw, 16px); }
.hero-text h1 { font-size: clamp(26px, 5vw, 40px); font-weight: 700; color: var(--navy); margin: 0; line-height: 1.15; }
.hero-sub { font-size: clamp(15px, 2.4vw, 18px); line-height: 1.6; color: #3a4252; margin: 14px 0 0; max-width: 680px; }
.wa-top { display: inline-flex; align-items: center; gap: 9px; margin: 20px 0 0; background: #25D366; color: #fff; font-weight: 700; font-size: 15px; padding: 11px 18px; border-radius: 999px; text-decoration: none; box-shadow: 0 2px 10px rgba(37,211,102,.35); }
.wa-top:hover { background: #1ebe5b; }
.wa-top svg { width: 20px; height: 20px; fill: #fff; flex: 0 0 auto; }
.wa-top strong { font-weight: 800; }

.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 22px 0 0; }
.trust-item {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 15px; font-size: 14px; font-weight: 600; color: var(--navy);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 700; font-size: 15px; color: #fff;
  background: var(--navy); border: none; border-radius: 12px; padding: 13px 22px;
  cursor: pointer; text-decoration: none; transition: background .15s, transform .05s;
}
.btn:hover { background: #16294a; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-green { background: var(--green); }
.btn-green:hover { background: #16a34a; }
.btn-block { width: 100%; }
.btn-lg { font-size: 16px; padding: 15px 26px; }
.btn-ghost { background: #eef1f7; color: var(--navy); }
.btn-ghost:hover { background: #e3e8f2; }

/* ---- Back link / page top ---- */
.page-top { max-width: 1100px; margin: 0 auto; padding: clamp(18px, 4vw, 30px) clamp(14px, 4vw, 20px) 0; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.backlink { display: inline-flex; align-items: center; gap: 7px; color: var(--navy); font-weight: 600; font-size: 14px; text-decoration: none; }
.backlink:hover { text-decoration: underline; }

/* ---- Detail head ---- */
.detail-head { max-width: 1100px; margin: 0 auto; padding: 12px clamp(14px, 4vw, 20px) 0; }
.detail-head h1 { font-size: clamp(24px, 5vw, 36px); color: var(--navy); margin: 6px 0 0; line-height: 1.15; font-weight: 700; }

/* ---- Listings ---- */
.listings { max-width: 1100px; margin: 0 auto; padding: 12px clamp(14px, 4vw, 20px) clamp(40px, 6vw, 64px); }
.listings-head {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
  border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 28px;
}
.listings-head h2 { font-size: clamp(18px, 4vw, 20px); font-weight: 600; color: var(--navy); margin: 0; letter-spacing: 0.5px; }
.as-of { font-size: 12px; color: var(--muted); }
.status { text-align: center; color: var(--muted); padding: 48px 0; font-size: 15px; }

/* ---- Building / property card ---- */
.building {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden; margin-bottom: 40px;
  box-shadow: 0 1px 2px rgba(20, 30, 60, 0.04);
}

/* Carousel */
.carousel { position: relative; background: #dfe3ec; }
.carousel-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
  flex: 0 0 100%; width: 100%;
  height: clamp(210px, 40vw, 320px);
  object-fit: cover; scroll-snap-align: center; cursor: zoom-in;
}
.car-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.9); color: var(--navy);
  font-size: 22px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.car-btn:hover { background: #fff; }
.car-prev { left: 12px; } .car-next { right: 12px; }
.car-count {
  position: absolute; top: 12px; right: 12px;
  background: rgba(0,0,0,0.6); color: #fff; font-size: 12px;
  padding: 4px 9px; border-radius: 999px; pointer-events: none;
}
.car-extras { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.94); color: var(--navy);
  font-size: 12.5px; font-weight: 600; padding: 7px 11px;
  border-radius: 999px; border: none; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.chip:hover { background: #fff; }
.chip svg { width: 14px; height: 14px; }

.gap-badge {
  position: absolute; left: 12px; top: 12px;
  background: rgba(31, 58, 102, 0.92); color: #fff;
  font-size: 12.5px; font-weight: 500; padding: 7px 12px;
  border-radius: 999px; letter-spacing: 0.3px;
}

.building-body { padding: clamp(16px, 4vw, 24px); }
.building-body h3 { margin: 0; font-size: clamp(18px, 4.5vw, 21px); font-weight: 700; color: var(--navy); }
.short-desc { color: #3a4252; font-size: 14.5px; line-height: 1.6; margin: 10px 0 0; }
.building-meta { color: var(--muted); font-size: 14px; margin: 10px 0 14px; display: flex; flex-wrap: wrap; gap: 6px 16px; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 2px; }
.bills-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(34, 197, 94, 0.12); color: #15803d;
  font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px;
}
.bills-badge::before { content: "✓"; font-weight: 700; }

.prop-cta { margin-top: 18px; }

/* Rooms */
.rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; padding: 18px 0 4px; }
.room { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.room-photo { height: 170px; width: 100%; object-fit: cover; background: #e9ecf3; cursor: zoom-in; }
.room-photo-wrap { position: relative; }
.room-info { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.room-name { font-weight: 600; font-size: 15px; color: var(--ink); }
.room-specs { font-size: 13px; color: var(--muted); }
.price-row { display: flex; align-items: baseline; gap: 6px; }
.price { font-size: 20px; font-weight: 700; color: var(--navy); }
.price-unit { font-size: 13px; color: var(--muted); }
.dates-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 2px; }
.date-window { font-size: 13.5px; color: var(--ink); background: #f4f6fa; border-radius: 8px; padding: 6px 10px; margin-top: 4px; }
.date-window .nights { color: var(--muted); font-size: 12px; }
.room-extras { display: flex; flex-wrap: wrap; gap: 8px; }
.extra-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; color: var(--navy);
  background: #eef1f7; border: none; cursor: pointer;
  padding: 5px 10px; border-radius: 8px; text-decoration: none;
}
.extra-link:hover { background: #e3e8f2; }
.extra-link svg { width: 13px; height: 13px; }
.terms { font-size: 11.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; margin-top: auto; line-height: 1.5; }
.room-unavail { font-size: 12.5px; font-weight: 600; color: var(--muted); text-align: center; padding: 11px; background: #f4f6fa; border-radius: 10px; }

/* Building photo gallery */
.gallery { margin: 20px 0 4px; }
.gallery-title { font-size: 15px; font-weight: 700; color: var(--navy); margin: 0 0 12px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.gallery-thumb {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  border-radius: 10px; background: #dfe3ec; cursor: zoom-in;
  transition: transform .15s ease, box-shadow .15s ease;
}
.gallery-thumb:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.14); }
.gallery-cell { position: relative; cursor: zoom-in; line-height: 0; }
.gallery-cell:hover .gallery-thumb { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.14); }
.gallery-count {
  position: absolute; left: 8px; bottom: 8px;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,0,0,0.66); color: #fff;
  font-size: 12.5px; font-weight: 600; line-height: 1;
  padding: 7px 11px; border-radius: 999px; pointer-events: none;
}
.gallery-count svg { width: 15px; height: 15px; }
.gallery-extras { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.gallery-extras .chip { background: #fff; border: 1px solid var(--line); box-shadow: none; }
.gallery-extras .chip:hover { background: #f3f5fa; }
@media (max-width: 640px) { .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); } }

/* Location map */
.location { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.loc-title { font-size: 15px; font-weight: 700; color: var(--navy); margin: 0 0 12px; }
.map-link { display: block; position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); line-height: 0; max-width: 600px; }
.map-img { width: 100%; height: auto; display: block; aspect-ratio: 2 / 1; object-fit: cover; background: #e9ecf3; }
.map-overlay {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(255,255,255,0.94); color: var(--navy);
  font-size: 12.5px; font-weight: 600; padding: 7px 11px; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15); display: inline-flex; align-items: center; gap: 6px; line-height: 1;
}
.map-fallback {
  display: none; align-items: center; justify-content: center; gap: 8px;
  min-height: 150px; background: #eef1f7; color: var(--navy); font-weight: 600; font-size: 14px; line-height: 1.4;
}
.location.map-failed .map-img, .location.map-failed .map-overlay { display: none; }
.location.map-failed .map-fallback { display: flex; }

/* ---- Standalone book-a-viewing page ---- */
.bv-intro { color: #3a4252; font-size: 15px; line-height: 1.6; margin: 6px 0 20px; }
.bv-h { font-size: 15px; font-weight: 700; color: var(--navy); margin: 0 0 10px; }
.bv-props { display: flex; flex-direction: column; gap: 10px; margin: 0 0 6px; }
.vp-option { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; transition: border-color .12s, background .12s; }
.vp-option:hover { border-color: #cfd6e4; }
.vp-option:has(.vp-check:checked) { border-color: #16a34a; background: #f0fdf4; }
.vp-check { width: 20px; height: 20px; flex: none; accent-color: #16a34a; cursor: pointer; }
.vp-thumb { width: 64px; height: 64px; flex: none; object-fit: cover; border-radius: 8px; background: #dfe3ec; }
.vp-thumb-empty { display: block; }
.vp-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.vp-addr { font-weight: 700; color: var(--navy); font-size: 15px; }
.vp-dates { color: #15803d; font-size: 12.5px; font-weight: 600; }
.vp-dates-none { color: var(--muted); font-weight: 500; }
.vp-price { color: #6b7280; font-size: 13px; }
.bv-confirm { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 0; font-size: 14px; color: #3a4252; line-height: 1.45; cursor: pointer; }
.bv-confirm input { width: 19px; height: 19px; flex: none; margin-top: 1px; accent-color: #16a34a; cursor: pointer; }
.bv-confirm.invalid { color: #b91c1c; }
.bv-confirm.invalid input { outline: 2px solid #ef4444; outline-offset: 2px; }
.bv-meet { font-size: 14px; color: #15803d; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; padding: 10px 12px; margin: 6px 0 22px; line-height: 1.5; }
.bv-meet-warn { color: #92400e; background: #fffbeb; border-color: #fcd34d; }
.bv-share { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.bv-share-label { display: block; font-size: 13px; font-weight: 600; color: #6b7280; margin: 0 0 8px; }
.bv-share-row { display: flex; gap: 8px; }
.bv-share-row input { flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; color: #3a4252; background: #f8fafc; }
#bvCopy { flex: none; white-space: nowrap; }

/* ---- Book-a-viewing modal (embeds book-viewing.html in an iframe) ---- */
.viewing-card { max-width: 560px; height: min(92vh, 820px); padding: 0; }
.viewing-frame { width: 100%; height: 100%; border: 0; display: block; border-radius: 22px; background: #fff; }
.viewing-card .hiw-close { background: rgba(15,23,42,.55); z-index: 2; }
.viewing-card .hiw-close:hover { background: rgba(15,23,42,.75); }

/* Embed mode: book-viewing.html shown inside the modal — strip its page chrome. */
html.embed body { background: #fff; }
html.embed .page-top, html.embed .site-footer, html.embed .bv-share { display: none !important; }
html.embed .listings { max-width: none; margin: 0; padding: 6px clamp(10px, 3vw, 16px) 18px; }
html.embed .building { border: 0; box-shadow: none; border-radius: 0; margin: 0; }
html.embed #bvConfirm a.btn { display: none; }

/* Blue "Reserve a room" button next to the WhatsApp link (homepage hero) */
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 0; }
.hero-actions .wa-top { margin: 0; }
.reserve-top { display: inline-flex; align-items: center; gap: 9px; background: #2563eb; color: #fff; font-weight: 700; font-size: 15px; padding: 11px 18px; border-radius: 999px; text-decoration: none; box-shadow: 0 2px 10px rgba(37,99,235,.35); }
.reserve-top:hover { background: #1d4ed8; }

/* Room picker on the booking page (when no specific room in the URL) */
.picker-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: clamp(18px, 4vw, 24px); margin: 16px 0 22px; }
.picker-card h3 { margin: 0 0 4px; font-size: 20px; font-weight: 700; color: var(--navy); }
.picker-sub { color: var(--muted); font-size: 14px; margin: 0 0 14px; line-height: 1.5; }

/* ---- Booking page ---- */
.book { max-width: 760px; margin: 0 auto; padding: 8px clamp(14px, 4vw, 20px) clamp(48px, 7vw, 80px); }
.summary-card { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin: 16px 0 24px; }
.summary-card img { width: 104px; height: 104px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; background: #e9ecf3; }
.summary-card .sc-title { font-weight: 700; color: var(--navy); font-size: 16px; }
.summary-card .sc-addr { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.summary-card .sc-ids { color: var(--muted); font-size: 12px; margin-top: 6px; }
.summary-card .sc-price { color: var(--navy); font-weight: 700; margin-top: 6px; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: clamp(18px, 4vw, 28px); }
.form-section + .form-section { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-section h3 { margin: 0 0 14px; font-size: 16px; color: var(--navy); font-weight: 700; }
.field { margin-bottom: 14px; }
.field:last-child { margin-bottom: 0; }
.field label { display: block; font-size: 13px; font-weight: 600; color: #3a4252; margin-bottom: 6px; }
.field input, .field select {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(31,58,102,.12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.field textarea { width: 100%; font-family: inherit; font-size: 15px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; resize: vertical; }
.field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(31,58,102,.12); }
.field .req { color: #dc2626; }

.viewing-cta { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; margin: 0 0 26px; }
.viewing-cta-sub { color: var(--muted); font-size: 13.5px; }
.field-hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.field-error { color: #dc2626; font-size: 12.5px; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid select { border-color: #dc2626; }
.field.invalid .field-error { display: block; }

.pc-row { display: flex; gap: 10px; flex-wrap: wrap; }
.pc-row .pc-country { flex: 0 0 auto; width: auto; max-width: 190px; }
.pc-row input { flex: 1 1 160px; width: auto; }
.pc-row .btn { flex: 0 0 auto; padding: 11px 18px; }
.pc-results { margin-top: 8px; }
.pc-msg { font-size: 12.5px; color: var(--muted); margin-top: 6px; }

/* international phone input */
.iti { width: 100%; }
.iti__country-list { z-index: 5; }
.field .iti input { border-radius: 10px; }

.avail-note { background: #eef4ff; border: 1px solid #c7d7fb; color: #1e3a8a; border-radius: 12px; padding: 13px 15px; font-size: 14px; line-height: 1.65; margin-bottom: 16px; }
.avail-note .an-nights { color: #3a4252; font-weight: 500; }
.avail-note .an-min { color: #3a4252; font-size: 12.5px; margin-top: 7px; }

.price-summary { background: #f4f6fa; border-radius: 12px; padding: 16px; margin-top: 8px; font-size: 14px; }
.price-summary .ps-row { display: flex; justify-content: space-between; padding: 4px 0; color: #3a4252; }
.price-summary .ps-muted { color: var(--muted); font-size: 12.5px; }
.price-summary .ps-total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; font-weight: 700; color: var(--navy); }
.price-due { display: flex; justify-content: space-between; align-items: center; background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3); border-radius: 12px; padding: 14px 16px; margin-top: 14px; }
.price-due .pd-label { font-weight: 700; color: #15803d; }
.price-due .pd-label small { display: block; color: #3a4252; font-weight: 500; font-size: 12px; margin-top: 2px; }
.price-due .pd-amt { font-weight: 800; color: #15803d; font-size: 22px; }

.pay-box { margin-top: 22px; }
.notice { font-size: 13px; line-height: 1.55; border-radius: 12px; padding: 13px 15px; }
.notice-info { background: #eef4ff; color: #1e3a8a; border: 1px solid #c7d7fb; }
.notice-amber { background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; }
.confirm { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; border-radius: 14px; padding: 22px; }
.confirm h3 { margin: 0 0 8px; color: #065f46; font-size: 18px; }
.hint { color: var(--muted); font-size: 12.5px; margin-top: 8px; }

/* ---- Site footer ---- */
.site-footer { background: #3f5269; color: #dfe5ee; margin-top: 8px; }
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  padding: clamp(36px, 5vw, 56px) clamp(16px, 4vw, 24px) clamp(22px, 3vw, 34px);
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: clamp(28px, 5vw, 56px);
}
.footer-viewing h4 { font-size: 18px; color: #fff; margin: 0 0 12px; font-weight: 700; }
.footer-viewing p { font-size: 14px; line-height: 1.6; color: #c4ccd8; margin: 0 0 16px; max-width: 32ch; }
.footer-viewing-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-view-link { display: inline-flex; align-items: center; gap: 8px; background: #16a34a; color: #fff; text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 9px 14px; border-radius: 8px; }
.footer-view-link:hover { background: #15803d; }
.footer-view-link svg { width: 16px; height: 16px; stroke: #fff; fill: none; }
.footer-copy { display: inline-flex; align-items: center; gap: 7px; background: transparent; border: 1px solid rgba(255,255,255,0.28); color: #dfe5ee; font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 8px; cursor: pointer; }
.footer-copy:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.45); }
.footer-copy svg { width: 15px; height: 15px; stroke: #aab6c6; fill: none; }
.footer-brand { font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 14px; letter-spacing: 0.2px; }
.footer-brand .fb-guru { color: #c4ccd8; font-weight: 600; }
.footer-about p { font-size: 14.5px; line-height: 1.7; color: #c4ccd8; margin: 0; max-width: 48ch; }
.footer-contact h4 { font-size: 18px; color: #fff; margin: 0 0 16px; font-weight: 700; }
.footer-contact ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; color: #dfe5ee; }
.footer-contact a { color: #dfe5ee; text-decoration: none; }
.footer-contact a:hover { color: #fff; text-decoration: underline; }
.footer-contact svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 1px; stroke: #aab6c6; fill: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); }
.footer-bottom-inner { max-width: 1100px; margin: 0 auto; padding: 18px clamp(16px, 4vw, 24px); font-size: 13px; color: #aab6c6; }
@media (max-width: 680px) { .footer-inner { grid-template-columns: 1fr; } }

/* ---- Lightbox ---- */
.lb { position: fixed; inset: 0; background: rgba(8,12,20,0.92); z-index: 1000; display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb-stage { max-width: 94vw; max-height: 88vh; display: flex; align-items: center; justify-content: center; }
.lb-stage img, .lb-stage video { max-width: 94vw; max-height: 88vh; object-fit: contain; border-radius: 6px; }
.lb-stage img { cursor: zoom-in; transition: transform .18s ease; will-change: transform; }
.lb-stage img.zoomed { transform: scale(2.5); cursor: zoom-out; }
.lb-stage iframe { width: min(94vw, 1200px); height: min(80vh, 720px); border: 0; border-radius: 6px; background: #000; }
.lb-close { position: absolute; top: 16px; right: 18px; background: none; border: none; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; opacity: 0.9; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.16); color: #fff; font-size: 28px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lb-nav:hover { background: rgba(255,255,255,0.28); }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
.lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 13px; opacity: 0.85; }
.lb-caption { position: absolute; bottom: 42px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 13px; opacity: 0.75; max-width: 80vw; text-align: center; }

@media (max-width: 600px) {
  .rooms { grid-template-columns: 1fr; }
  .car-btn { width: 34px; height: 34px; font-size: 19px; }
  .lb-nav { width: 44px; height: 44px; font-size: 24px; }
  .lb-prev { left: 6px; } .lb-next { right: 6px; }
  .summary-card { flex-direction: column; align-items: flex-start; }
  .summary-card img { width: 100%; height: 180px; }
}

/* ---- Split (list + map) listings layout ---- */
.maincontent { max-width: 1280px; margin: 0 auto; padding: 12px clamp(14px, 4vw, 20px) clamp(40px, 6vw, 64px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 42%); gap: 28px; align-items: start; }
.split-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; align-content: start; }
.split-map { position: sticky; top: 14px; }
.gmap { width: 100%; height: clamp(380px, 72vh, 660px); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #e9ecf3; }
.gpop { width: 210px; font-family: 'Quicksand', Arial, sans-serif; }
.gpop img { width: 100%; height: 120px; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.gpop-title { font-weight: 700; color: var(--navy); font-size: 14px; line-height: 1.25; }
.gpop-meta { color: var(--muted); font-size: 12.5px; margin: 3px 0 8px; }
.map-static-link { display: block; position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); line-height: 0; }
.map-static { width: 100%; height: auto; display: block; aspect-ratio: 1 / 1; object-fit: cover; background: #e9ecf3; }

.pcard { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(20,30,60,.04); transition: box-shadow .15s; }
.pcard.hl { box-shadow: 0 0 0 2px var(--navy), 0 10px 26px rgba(20,30,60,.14); }
.pcard .carousel-slide { height: clamp(210px, 26vw, 280px); }
.pcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; }
.pcard-title { font-weight: 700; color: var(--navy); font-size: 16px; text-decoration: none; line-height: 1.25; }
.pcard-title:hover { text-decoration: underline; }
.pcard-meta { color: var(--muted); font-size: 13.5px; margin-top: 5px; }
.pcard-price { color: var(--ink); font-size: 14px; margin-top: 8px; }
.pcard-price strong { color: var(--navy); font-size: 18px; }
.pcard-price span { color: var(--muted); font-size: 13px; }
.pcard-note { color: var(--muted); font-size: 12px; margin-top: 6px; }

/* Leaflet price pins + popup */
.leaflet-div-icon { background: transparent; border: 0; }
.price-pin { background: transparent; border: 0; }
.price-pin span {
  display: inline-block; transform: translate(-50%, -50%);
  background: var(--navy); color: #fff; font-weight: 700; font-size: 12.5px;
  padding: 6px 11px; border-radius: 999px; white-space: nowrap;
  border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); cursor: pointer;
}
.price-pin.active span { background: var(--green); }
.map-pop { width: 210px; }
.map-pop img { width: 100%; height: 120px; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.map-pop .mp-title { font-weight: 700; color: var(--navy); font-size: 14px; line-height: 1.25; }
.map-pop .mp-meta { color: var(--muted); font-size: 12.5px; margin: 3px 0 8px; }
.leaflet-popup-content { margin: 12px; }

@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; }
  .split-map { position: static; order: -1; }
  .gmap { height: 340px; }
}

/* ---- Rent Guru logo (top-right, all pages) ---- */
.rg-logo { position: absolute; top: 18px; right: clamp(14px, 4vw, 24px); z-index: 50; line-height: 0; }
.rg-logo img { width: 200px; height: auto; display: block; }
@media (max-width: 700px) { .rg-logo img { width: 100px; } .hero-text { padding-top: 64px; } }

/* ---- How it works button + modal ---- */
.pill-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-left: auto; }
.hiw-btn {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  font-family: inherit; font-weight: 700; font-size: 15px; cursor: pointer;
  color: #15803d; background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.35);
  padding: 11px 18px; border-radius: 999px;
}
.hiw-btn:hover { background: rgba(34,197,94,.18); }
.wdig-btn { color: var(--navy); background: rgba(31,58,102,.08); border-color: rgba(31,58,102,.25); }
.wdig-btn:hover { background: rgba(31,58,102,.14); }

/* What-do-I-get modal body */
.wdig-head { background: linear-gradient(135deg, #15803d, #22c55e) !important; }
.wdig-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 20px 26px 6px; flex: 1 1 auto; overflow-y: auto; }
.wdig-col h3 { font-size: 14px; font-weight: 700; margin: 0 0 12px; }
.wdig-yes h3 { color: #15803d; }
.wdig-no h3 { color: #b91c1c; }
.wdig-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.wdig-col li { font-size: 14.5px; color: var(--ink); display: flex; align-items: center; gap: 9px; }
.wdig-yes li::before { content: "✓"; color: #16a34a; font-weight: 800; }
.wdig-no li::before { content: "✕"; color: #dc2626; font-weight: 800; }
.wdig-col.wdig-no { border-left: 1px solid var(--line); padding-left: 22px; margin-left: 6px; }
@media (max-width: 520px) {
  .wdig-body { grid-template-columns: 1fr; }
  .wdig-col.wdig-no { border-left: none; padding-left: 0; margin-left: 0; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 6px; }
}

.hiw { position: fixed; inset: 0; z-index: 1100; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(8,12,20,.55); }
.hiw.open { display: flex; }
.hiw-card {
  background: #fff; border-radius: 22px; max-width: 540px; width: 100%; max-height: min(90vh, 760px);
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 24px 60px rgba(10,20,40,.35); position: relative;
}
.hiw-head { flex: 0 0 auto; background: linear-gradient(135deg, #1f3a66, #2f5aa0); color: #fff; padding: 24px 28px 20px; border-radius: 22px 22px 0 0; }
.hiw-head h2 { margin: 0; font-size: 24px; font-weight: 700; padding-right: 40px; }
.hiw-head p { margin: 6px 0 0; opacity: .9; font-size: 14.5px; }
.hiw-close { position: absolute; top: 14px; right: 16px; background: rgba(255,255,255,.22); border: none; color: #fff; width: 38px; height: 38px; border-radius: 50%; font-size: 24px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.hiw-close:hover { background: rgba(255,255,255,.35); }
.hiw-steps { list-style: none; margin: 0; padding: 18px 26px 8px; flex: 1 1 auto; overflow-y: auto; }
.hiw-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hiw-steps li:last-child { border-bottom: none; }
.hiw-num { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; color: #fff; background: var(--navy); }
.hiw-steps li:nth-child(4) .hiw-num { background: var(--green); }
.hiw-steps li:nth-child(5) .hiw-num { background: var(--gold); }
.hiw-step-t { font-weight: 700; color: var(--navy); font-size: 15.5px; }
.hiw-step-d { color: #3a4252; font-size: 14px; line-height: 1.55; margin-top: 3px; }
.hiw-step-d .hiw-em { color: #15803d; font-weight: 700; }
.hiw-foot { flex: 0 0 auto; padding: 14px 26px 18px; border-top: 1px solid var(--line); background: #fff; }
.hiw-foot .btn { width: 100%; }
@media (max-width: 560px) {
  .hiw { padding: 12px; }
  .hiw-card { max-height: 92vh; }
  .hiw-head { padding: 20px 20px 16px; }
  .hiw-head h2 { font-size: 21px; }
  .hiw-steps { padding: 14px 18px 6px; }
  .hiw-steps li { padding: 10px 0; }
  .hiw-foot { padding: 12px 18px 16px; }
  .wdig-body { padding: 16px 18px 4px; }
}
