:root {
  --cream: #faf2e8;
  --forest: #2a3d30;
  --sage: #71796e;
  --gold: #b18952;
  --sand: #cec1a8;
  --ink: #2a3d30;
  --paper: #fffaf2;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Cormorant Garamond', 'Playfair Display', serif; color: var(--sage); margin: 0; font-weight: 600; letter-spacing: -0.01em; }

.hidden { display: none !important; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea { font: inherit; color: var(--ink); }
a { color: inherit; text-decoration: none; }

/* ====== NAV ====== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,242,232,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(206,193,168,0.5);
}
.nav__inner { max-width: 1180px; margin: 0 auto; padding: 14px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__brand { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.nav__brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1px solid var(--sand); background: var(--cream); }
.nav__brand-text { display: flex; flex-direction: column; line-height: 1; }
.nav__brand-text strong { font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--forest); letter-spacing: 0.02em; }
.nav__brand-text em { font-style: italic; color: var(--gold); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }
.nav__links { display: flex; align-items: center; gap: 22px; }
.nav__links a, .nav__links button.link { color: var(--sage); font-size: 14px; font-weight: 500; transition: color .2s; }
.nav__links a:hover, .nav__links button.link:hover { color: var(--gold); }

.btn-primary, .btn-ghost, .btn-back, .btn-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 500;
  border-radius: 999px;
  padding: 12px 22px;
  transition: all .25s ease;
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
}
.btn-primary { background: var(--gold); color: #fff; box-shadow: 0 2px 0 rgba(122,90,58,0.25); }
.btn-primary:hover { background: #9d7846; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(177,137,82,0.35); }
.btn-primary:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--forest); border: 1px solid var(--sand); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-back { background: transparent; color: var(--sage); padding: 10px 0; font-size: 13px; }
.btn-back:hover { color: var(--gold); }
.btn-link { padding: 0; color: var(--gold); font-weight: 600; }
.btn-link:hover { color: var(--forest); }

#menuToggle { display: none; padding: 8px; }

/* ====== HERO ====== */
.hero {
  position: relative;
  padding: 80px 28px 60px;
  text-align: center;
  overflow: hidden;
  background: var(--cream);
}

/* City background videos — cross-fade on tab switch */
.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
  transition: opacity 1.2s ease;
}

#heroBgBhopal { opacity: 0; }

/* Warm wash — lighter at top so photo breathes, fully cream at bottom for seamless merge */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(250,242,232,0.65) 0%,
    rgba(250,242,232,0.55) 35%,
    rgba(250,242,232,0.85) 70%,
    rgba(250,242,232,1.00) 100%);
  pointer-events: none;
}
.hero__decor {
  position: absolute; inset: 0;
  z-index: 2;
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(206,193,168,0.35), transparent 70%),
    radial-gradient(40% 60% at 80% 100%, rgba(177,137,82,0.12), transparent 70%);
  pointer-events: none;
}
.hero__monogram { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 22px; display: block; box-shadow: 0 8px 28px rgba(177,137,82,0.18); border: 1px solid var(--sand); background: #fff; position: relative; z-index: 3; transform: translateZ(0); will-change: auto; animation: none; }
.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02; color: var(--forest);
  letter-spacing: -0.02em; margin-bottom: 18px;
  text-wrap: balance;
  position: relative; z-index: 3;
  -webkit-text-stroke: 1px rgba(255,255,255,0.75);
  paint-order: stroke fill;
}
.hero h1 em {
  font-style: italic; color: var(--gold); font-weight: 500;
  -webkit-text-stroke: 1px rgba(255,255,255,0.85);
  paint-order: stroke fill;
}
.hero p { max-width: 620px; margin: 0 auto 32px; color: var(--sage); font-size: clamp(16px, 1.6vw, 19px); position: relative; z-index: 3; -webkit-text-stroke: 1px rgba(255,255,255,0.6); paint-order: stroke fill; }
.hero__row { display: inline-flex; flex-wrap: wrap; gap: 12px; justify-content: center; position: relative; z-index: 3; }

/* ====== CITY TABS ====== */
.city-tabs { display: flex; justify-content: center; padding: 0 28px; }
.city-tabs__inner {
  display: inline-flex; gap: 6px;
  background: #fff; padding: 6px;
  border-radius: 999px; border: 1px solid var(--sand);
  box-shadow: 0 2px 12px rgba(177,137,82,0.08);
}
.city-tabs__btn {
  padding: 10px 22px;
  border-radius: 999px;
  color: var(--sage); font-size: 14px; font-weight: 500;
  display: inline-flex; flex-direction: column; align-items: center; line-height: 1.1;
  transition: all .25s;
}
.city-tabs__btn em { font-family: 'Cormorant Garamond', serif; font-size: 11px; font-style: italic; color: var(--gold); margin-top: 2px; }
.city-tabs__btn.is-active { background: var(--forest); color: #fff; }
.city-tabs__btn.is-active em { color: var(--sand); }

/* ====== SECTIONS ====== */
.section { max-width: 1180px; margin: 0 auto; padding: 80px 28px; }
.section__head { text-align: center; margin-bottom: 48px; }
.section-eyebrow { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--gold); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.section__head h2 { font-size: clamp(30px, 4vw, 44px); color: var(--sage); margin-bottom: 10px; }
.section__head p { color: var(--sage); max-width: 540px; margin: 0 auto; opacity: 0.85; }

/* ====== PROPERTY GRID ====== */
.property-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.property-card {
  background: #fff; border-radius: 18px;
  border: 1px solid rgba(206,193,168,0.5);
  overflow: hidden; transition: all .35s ease;
  animation: slideUp .6s ease forwards; opacity: 0; transform: translateY(16px);
  display: flex; flex-direction: column;
}
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }
.property-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(122,90,58,0.14); border-color: var(--gold); }
.property-card__art { aspect-ratio: 5/3; overflow: hidden; }
.property-card__art svg { width: 100%; height: 100%; }
.property-card__body { padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.property-card__head { display: flex; flex-direction: column; gap: 2px; }
.property-card__head h3 { font-size: 24px; color: var(--forest); font-weight: 600; }
.property-card__loc { font-size: 12px; color: var(--gold); letter-spacing: 0.04em; text-transform: uppercase; }
.property-card__tag { color: var(--sage); font-size: 14px; font-style: italic; margin: 0; }
.property-card__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.property-card__chips span { font-size: 11px; padding: 4px 10px; border-radius: 999px; background: var(--cream); border: 1px solid var(--sand); color: var(--forest); }
.property-card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--sand); }
.property-card__foot .meta { font-size: 12px; color: var(--sage); }

/* ====== CAROUSEL ====== */
.property-carousel { position: relative; background: #f5f0e8; }
.carousel-container {
  width: 100%; height: 100%; position: relative; display: flex; align-items: center; justify-content: center;
}
.carousel-image {
  width: 100%; height: 100%; object-fit: cover; display: block;
  animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn { from { opacity: 0.8; } to { opacity: 1; } }
.carousel-nav {
  position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center;
  padding: 0 12px; pointer-events: none;
}
.carousel-prev, .carousel-next {
  pointer-events: auto; background: rgba(255,255,255,0.85); border: none; width: 36px; height: 36px;
  border-radius: 50%; font-size: 20px; color: var(--forest); cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.carousel-prev:hover, .carousel-next:hover {
  background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.15); transform: scale(1.1);
}
.carousel-counter {
  position: absolute; bottom: 10px; right: 12px; background: rgba(0,0,0,0.6);
  color: #fff; font-size: 11px; padding: 4px 8px; border-radius: 6px; font-weight: 500;
}

/* ====== MAP ====== */
.map-wrap { background: #fff; border-radius: 20px; border: 1px solid var(--sand); padding: 20px; box-shadow: 0 8px 30px rgba(122,90,58,0.06); position: relative; overflow: hidden; }
.map-area { position: relative; }
.map-area svg { display: block; border-radius: 14px; }
.map-pin { cursor: pointer; }
.map-tooltip-el {
  position: absolute;
  transform: translate(-50%, calc(-100% - 14px));
  pointer-events: none;
  opacity: 0; transition: opacity .25s ease, transform .25s ease;
  z-index: 10;
  width: 220px;
}
.map-tooltip-el.is-open { opacity: 1; transform: translate(-50%, calc(-100% - 22px)); pointer-events: auto; }
.tip-inner {
  background: var(--paper); border: 1px solid var(--sand);
  border-radius: 12px; padding: 12px 14px;
  box-shadow: 0 10px 24px rgba(42,61,48,0.18);
  position: relative;
}
.tip-inner::after {
  content: ""; position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px; background: var(--paper); border-right: 1px solid var(--sand); border-bottom: 1px solid var(--sand);
}
.tip-title { font-family: 'Cormorant Garamond', serif; font-weight: 600; color: var(--forest); font-size: 16px; margin: 0 0 4px; }
.tip-desc { font-size: 12px; color: var(--sage); margin: 0; line-height: 1.5; }
.tip-link { display: inline-block; margin-top: 6px; font-size: 11px; color: var(--gold); font-weight: 600; text-decoration: none; letter-spacing: 0.05em; transition: color .2s ease; }
.tip-link:hover { color: var(--forest); }

.map-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; justify-content: center; }
.legend-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--cream); border: 1px solid var(--sand);
  color: var(--forest); font-size: 12px;
  transition: all .2s;
}
.legend-chip:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.legend-chip:hover .legend-chip__dot { background: #fff !important; }
.legend-chip__dot { width: 8px; height: 8px; border-radius: 50%; }

/* ====== SPIN WHEEL ====== */
.spin-section { background: linear-gradient(180deg, transparent, rgba(206,193,168,0.18) 60%, transparent); }
.spin-wrap { text-align: center; max-width: 700px; margin: 0 auto; }
.spin-wheel-wrap { position: relative; width: 320px; height: 320px; margin: 0 auto 28px; }
#spinWheel { width: 100%; height: 100%; transition: transform 4.2s cubic-bezier(0.17, 0.67, 0.12, 0.99); filter: drop-shadow(0 12px 30px rgba(122,90,58,0.18)); }
.spin-pointer { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); z-index: 2; }
.spin-pointer svg { display: block; }
.spin-btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--gold); color: #fff;
  font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 600; letter-spacing: 0.04em;
  box-shadow: 0 8px 22px rgba(177,137,82,0.45);
  display: flex; align-items: center; justify-content: center;
  border: 4px solid #fff;
  z-index: 3;
}
.spin-btn:hover { background: #9d7846; }
.spin-result {
  background: #fff; border: 1px solid var(--sand);
  border-radius: 18px; padding: 24px 28px;
  display: flex; gap: 16px; align-items: flex-start; text-align: left;
  max-width: 460px; margin: 0 auto;
  animation: slideUp .5s ease forwards;
}
.spin-result__emoji { font-size: 36px; }
.spin-result h3 { font-size: 22px; color: var(--forest); margin-bottom: 4px; }
.spin-result p { margin: 0 0 8px; color: var(--sage); font-size: 14px; }
.spin-result__link { display: inline-block; font-size: 13px; color: var(--gold); text-decoration: none; font-weight: 600; letter-spacing: 0.03em; transition: color .2s; }
.spin-result__link:hover { color: var(--forest); }

/* ====== PROPERTY DETAIL ====== */
.prop-detail { max-width: 980px; margin: 0 auto; padding: 40px 28px 80px; }
.prop-hero { position: relative; border-radius: 22px; overflow: hidden; margin-bottom: 0; border: 1px solid var(--sand); }
.prop-hero__art { aspect-ratio: 16/7; overflow: hidden; }
.prop-hero__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prop-hero__art svg { width: 100%; height: 100%; }
.prop-hero__overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 36px 28px; background: linear-gradient(180deg, transparent, rgba(42,61,48,0.7)); color: #fff; }
.prop-hero__overlay h1 { color: #fff; font-size: clamp(30px, 4.5vw, 52px); margin: 8px 0 6px; }
.prop-hero__overlay p { margin: 0; font-style: italic; color: rgba(255,255,255,0.85); }
.prop-hero__pill { display: inline-block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(255,255,255,0.18); backdrop-filter: blur(6px); padding: 6px 12px; border-radius: 999px; }

.prop-actions {
  background: #fff; border: 1px solid var(--sand); border-radius: 18px;
  padding: 22px 28px; margin: -36px auto 36px; position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
  box-shadow: 0 12px 32px rgba(122,90,58,0.1);
  max-width: 880px;
}
.prop-actions__meta { display: flex; gap: 28px; }
.prop-actions__meta div { display: flex; flex-direction: column; line-height: 1.1; }
.prop-actions__meta strong { font-family: 'Cormorant Garamond', serif; font-size: 26px; color: var(--forest); }
.prop-actions__meta span { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage); margin-top: 4px; }
.prop-actions__buttons { display: flex; gap: 10px; }

.prop-highlights { margin-bottom: 48px; }
.prop-highlights__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.prop-highlights__cell {
  background: var(--cream); border: 1px solid var(--sand); border-radius: 14px;
  padding: 18px; text-align: center; font-weight: 500; color: var(--forest);
  position: relative;
}
.prop-highlights__cell::before { content: "✦"; position: absolute; top: 6px; right: 10px; color: var(--gold); font-size: 12px; }
.prop-description { font-size: 17px; color: var(--ink); line-height: 1.7; max-width: 720px; margin: 0 auto 48px; text-align: center; font-style: italic; }
.prop-description p { margin: 0 0 1.1em; }
.prop-description p:last-child { margin-bottom: 0; }
.prop-description p:first-child::before { content: “\201C”; font-family: 'Cormorant Garamond', serif; font-size: 60px; line-height: 0.5; color: var(--gold); margin-right: 6px; vertical-align: -22px; }
.prop-description p:last-child::after  { content: “\201D”; font-family: 'Cormorant Garamond', serif; font-size: 60px; line-height: 0.5; color: var(--gold); margin-left: 6px; vertical-align: -22px; }

.prop-amenities { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-bottom: 48px; }
.prop-amenities__block { background: #fff; border: 1px solid var(--sand); border-radius: 16px; padding: 24px; }
.prop-amenities__block h3 { font-size: 22px; color: var(--forest); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px dashed var(--sand); }
.prop-amenities__block ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.prop-amenities__block li { color: var(--sage); font-size: 14px; padding-left: 18px; position: relative; }
.prop-amenities__block li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.prop-cta { text-align: center; padding: 40px 24px; background: var(--cream); border: 1px solid var(--sand); border-radius: 18px; }
.prop-cta h2 { color: var(--forest); font-size: 30px; margin-bottom: 16px; }
.prop-cta__row { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ====== REVIEWS ====== */
.prop-reviews { margin-bottom: 48px; }
.prop-reviews > h2 { margin-bottom: 24px; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-bottom: 24px; }
.review-card { background: #fff; border: 1px solid var(--sand); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.review-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.review-header strong { font-size: 16px; color: var(--forest); display: block; }
.review-meta { font-size: 12px; color: var(--sage); margin-top: 4px; }
.review-stars { font-size: 14px; color: var(--gold); letter-spacing: 2px; }
.review-text { color: var(--ink); font-size: 14px; line-height: 1.6; margin: 0; }
.reviews-footer { text-align: center; }

/* ====== GALLERY ====== */
.prop-gallery { margin-bottom: 48px; }
.prop-gallery > h2 { margin-bottom: 20px; }
/* ── Stage gallery: horizontal auto-scroll track ── */
.gallery-outer { position: relative; }

/* Fade edges */
.gallery-outer::before, .gallery-outer::after {
  content: ""; position: absolute; top: 0; bottom: 26px;
  width: 80px; z-index: 10; pointer-events: none;
}
.gallery-outer::before { left: 0; background: linear-gradient(to right, var(--cream) 0%, transparent 100%); }
.gallery-outer::after  { right: 0; background: linear-gradient(to left,  var(--cream) 0%, transparent 100%); }

/* Arrow buttons */
.gallery-arrow {
  position: absolute; top: 50%;
  transform: translateY(calc(-50% - 13px)); z-index: 20;
  background: rgba(250,242,232,.82); backdrop-filter: blur(10px);
  border: 1px solid var(--sand); border-radius: 50%;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--forest); font-size: 22px; line-height: 1;
  transition: background .25s, border-color .25s, transform .25s, opacity .25s, color .25s;
  opacity: .65;
}
.gallery-arrow:hover {
  background: rgba(177,137,82,.16); border-color: var(--gold); color: var(--gold);
  opacity: 1; transform: translateY(calc(-50% - 13px)) scale(1.08);
}
.gallery-arrow.left  { left: 12px; }
.gallery-arrow.right { right: 12px; }

/* Track */
.gallery {
  display: flex; gap: 20px; overflow-x: auto;
  padding: 6px 0 26px; cursor: grab;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery.dragging { cursor: grabbing; }

/* Tiles */
.gtile {
  flex: 0 0 auto; height: 380px; border-radius: 14px;
  overflow: hidden; position: relative; cursor: pointer;
  border: 1px solid var(--sand); background: #f5f0e8;
  transition: transform .5s cubic-bezier(.2,.8,.2,1),
              filter  .5s cubic-bezier(.2,.8,.2,1);
  will-change: transform, filter;
}
.gtile img { height: 100%; width: 100%; object-fit: cover; pointer-events: none; display: block; }
.gtile.wide { width: 520px; }
.gtile.sq   { width: 380px; }
.gtile.tall { width: 300px; }

/* Spotlight hover */
.gallery.has-hover .gtile              { filter: brightness(.55); transform: scale(.96); }
.gallery.has-hover .gtile.spotlight    { filter: brightness(1) drop-shadow(0 12px 36px rgba(177,137,82,.3)); transform: scale(1.04); z-index: 5; }
.gallery.has-hover .gtile.dim-neighbor { filter: brightness(.4); transform: scale(.93); }

/* Responsive */
@media (max-width: 680px) {
  .gtile { height: 300px; }
  .gtile.wide { width: 360px; }
  .gtile.sq   { width: 300px; }
  .gtile.tall { width: 240px; }
}

/* ====== MODALS ====== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(42,61,48,0.55);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px 20px;
}
.modal-overlay.hidden { display: none; }
.modal-card {
  background: var(--cream); border-radius: 22px;
  width: 100%; max-width: 560px; max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(42,61,48,0.4);
  border: 1px solid var(--sand);
  animation: modalIn .35s ease;
  display: flex; flex-direction: column;
}

/* Gallery modal specific */
.gallery-modal { 
  position: fixed; 
  inset: 0; 
  z-index: 100;
  background: rgba(42,61,48,0.95);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.gallery-modal.hidden { display: none !important; }
.gallery-modal__wrapper { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.gallery-modal__content { position: relative; width: 90%; max-width: 900px; max-height: 85vh; display: flex; align-items: center; justify-content: center; }
.gallery-modal__body { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.gallery-modal__body img { max-width: 100%; max-height: 85vh; object-fit: contain; border-radius: 8px; }
.gallery-modal__counter { position: absolute; bottom: 16px; right: 16px; background: rgba(250,242,232,0.95); color: var(--forest); padding: 8px 14px; border-radius: 999px; font-size: 12px; font-weight: 500; }
.gallery-modal__close { position: absolute; top: 20px; right: 20px; z-index: 110; background: rgba(250,242,232,0.95); color: var(--forest); border: none; width: 40px; height: 40px; border-radius: 50%; font-size: 28px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; padding: 0; }
.gallery-modal__close:hover { background: #fff; }
.gallery-modal__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 110; background: rgba(250,242,232,0.85); color: var(--forest); border: none; width: 44px; height: 44px; border-radius: 50%; font-size: 32px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; padding: 0; }
.gallery-modal__nav:hover { background: #fff; transform: translateY(-50%) scale(1.1); }
.gallery-modal__prev { left: 16px; }
.gallery-modal__next { right: 16px; }

@keyframes modalIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-head { padding: 26px 28px 16px; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; border-bottom: 1px dashed var(--sand); }
.modal-head h3 { font-size: 26px; color: var(--forest); margin: 4px 0 2px; }
.modal-eyebrow { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--gold); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0; }
.modal-sub { font-size: 13px; color: var(--sage); margin: 4px 0 0; }
.modal-close { font-size: 24px; line-height: 1; padding: 4px 10px; border-radius: 50%; color: var(--sage); }
.modal-close:hover { background: var(--sand); color: var(--forest); }
.modal-body { padding: 24px 32px 36px; }
.modal-foot { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; }
.modal-foot .btn-ghost, .modal-foot .btn-primary { padding: 10px 22px; }

.prop-pick-list { display: flex; flex-direction: column; gap: 10px; }
.prop-pick {
  display: flex; align-items: center; gap: 14px;
  padding: 12px; border-radius: 14px;
  border: 1px solid var(--sand); background: #fff;
  text-align: left; transition: all .2s;
}
.prop-pick:hover { border-color: var(--gold); background: #fff; transform: translateX(3px); }
.prop-pick__art { width: 72px; height: 56px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.prop-pick__art svg { width: 100%; height: 100%; }
.prop-pick__info { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.prop-pick__info strong { font-family: 'Cormorant Garamond', serif; font-size: 19px; color: var(--forest); font-weight: 600; }
.prop-pick__info em { font-style: normal; font-size: 12px; color: var(--sage); }
.prop-pick__chev { color: var(--gold); font-size: 18px; }

/* Calendar */
.cal-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 4px 14px; font-family: 'Cormorant Garamond', serif; font-size: 19px; color: var(--forest); font-weight: 600; }
.cal-nav { width: 32px; height: 32px; border-radius: 50%; color: var(--sage); font-size: 22px; }
.cal-nav:hover { background: var(--sand); color: var(--forest); }
.cal-dow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: 0 4px 8px; text-align: center; font-size: 11px; color: var(--sage); text-transform: uppercase; letter-spacing: 0.05em; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: 0 4px; }
.cal-day {
  aspect-ratio: 1/1; border-radius: 10px;
  font-size: 13px; color: var(--forest); font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid transparent;
  transition: all .15s;
}
.cal-day--empty { background: transparent; pointer-events: none; }
.cal-day.is-available { cursor: pointer; }
.cal-day.is-available:hover { border-color: var(--gold); }
.cal-day.is-disabled { color: rgba(122,90,58,0.25); cursor: not-allowed; background: rgba(206,193,168,0.2); text-decoration: line-through; }
.cal-day.is-range { background: rgba(177,137,82,0.18); }
.cal-day.is-selected { background: var(--gold); color: #fff; font-weight: 600; box-shadow: 0 4px 10px rgba(177,137,82,0.35); }

.cal-legend { display: flex; gap: 16px; justify-content: center; margin-top: 16px; font-size: 11px; color: var(--sage); }
.cal-legend .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; vertical-align: middle; }
.dot-a { background: #fff; border: 1px solid var(--sand); }
.dot-b { background: rgba(206,193,168,0.5); }
.dot-c { background: var(--gold); }

.date-summary { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.date-summary > span { color: var(--gold); }
.date-summary__cell { flex: 1; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--sand); background: #fff; }
.date-summary__cell.is-set { border-color: var(--gold); background: rgba(177,137,82,0.06); }
.date-summary__cell p { font-size: 11px; color: var(--sage); margin: 0 0 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.date-summary__cell strong { font-family: 'Cormorant Garamond', serif; font-size: 17px; color: var(--forest); font-weight: 600; }

/* Form */
#enquiryForm { display: flex; flex-direction: column; gap: 14px; }
#enquiryForm label { display: flex; flex-direction: column; font-size: 11px; color: var(--sage); letter-spacing: 0.06em; text-transform: uppercase; gap: 6px; }
#enquiryForm input, #enquiryForm textarea {
  border: 1px solid var(--sand); border-radius: 10px;
  padding: 12px 14px; font-size: 14px; background: #fff;
  text-transform: none; letter-spacing: 0; color: var(--forest);
  font-family: 'DM Sans', sans-serif;
  transition: border-color .2s;
}
#enquiryForm input:focus, #enquiryForm textarea:focus { outline: none; border-color: var(--gold); }
#enquiryForm textarea { resize: vertical; min-height: 80px; }

.modal-success { text-align: center; padding-top: 30px; padding-bottom: 30px; }
.modal-success__mark { width: 72px; height: 72px; border-radius: 50%; background: var(--gold); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 38px; margin: 0 auto 16px; box-shadow: 0 10px 28px rgba(177,137,82,0.35); }
.modal-success h3 { font-size: 28px; color: var(--forest); margin-bottom: 8px; }
.modal-success p { color: var(--sage); margin: 0 0 22px; }

/* ── Contact form ── */
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cf-group { display: flex; flex-direction: column; gap: 5px; }
.cf-label { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); font-family: 'DM Sans', sans-serif; font-weight: 500; }
.cf-input, .cf-select, .cf-textarea {
  width: 100%; padding: 10px 14px; border-radius: 10px;
  border: 1.5px solid var(--sand); background: #fdfaf5;
  font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--forest);
  outline: none; transition: border-color .2s, box-shadow .2s;
  box-sizing: border-box; -webkit-appearance: none; appearance: none;
}
.cf-input::placeholder, .cf-textarea::placeholder { color: #b0a898; }
.cf-input:focus, .cf-select:focus, .cf-textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(177,137,82,0.13);
}
.cf-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23b18952' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
  color: var(--forest);
}
.cf-select option[value=""] { color: #b0a898; }
.cf-textarea { resize: vertical; min-height: 82px; line-height: 1.5; }
.cf-input[type="date"] { color-scheme: light; }
.cf-submit {
  width: 100%; padding: 13px 20px; border-radius: 999px;
  background: var(--gold); color: #fff; font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 500; letter-spacing: 0.04em;
  cursor: pointer; border: none; margin-top: 4px;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 2px 0 rgba(122,90,58,0.22);
}
.cf-submit:hover { background: #9d7846; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(177,137,82,0.32); }

/* Footer strip */
.cf-footer {
  display: flex; gap: 6px 10px; flex-wrap: wrap; justify-content: center; align-items: center;
  margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--sand);
  font-size: 12px; color: var(--sage); font-family: 'DM Sans', sans-serif;
}
.cf-footer__dot { opacity: 0.4; }

/* Success state */
.contact-success { text-align: center; padding: 48px 20px 32px; }
.contact-success__icon { font-size: 38px; color: var(--gold); margin-bottom: 18px; }
.contact-success h3 { font-family: 'Cormorant Garamond', serif; font-size: 30px; color: var(--forest); margin-bottom: 10px; }
.contact-success p { color: var(--sage); font-size: 15px; max-width: 320px; margin: 0 auto; line-height: 1.6; }

@media (max-width: 500px) { .cf-row { grid-template-columns: 1fr; } }

/* ====== FOOTER ====== */
.footer { background: var(--forest); color: rgba(250,242,232,0.8); padding: 60px 28px 30px; margin-top: 80px; }
.footer__inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 18px; margin-bottom: 14px; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer__brand img { width: 40px; height: 40px; border-radius: 50%; background: var(--cream); }
.footer__brand span { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: #fff; }
.footer__copy { font-size: 13px; line-height: 1.7; color: rgba(250,242,232,0.65); max-width: 320px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer a, .footer button.link { color: rgba(250,242,232,0.7); font-size: 14px; transition: color .2s; }
.footer a:hover, .footer button.link:hover { color: var(--gold); }
.footer__bottom { max-width: 1180px; margin: 40px auto 0; padding-top: 22px; border-top: 1px solid rgba(250,242,232,0.12); text-align: center; font-size: 12px; color: rgba(250,242,232,0.5); }

.mobile-menu { display: none; padding: 16px 28px; border-top: 1px solid var(--sand); background: var(--cream); }
.mobile-menu a, .mobile-menu button.link { display: block; padding: 12px 0; color: var(--sage); font-size: 16px; width: 100%; text-align: left; border: 0; background: none; cursor: pointer; }
.mobile-menu .btn-primary { width: 100%; margin-top: 10px; padding: 12px 20px; }
.mobile-menu.is-open { display: block; }

/* ====== RESPONSIVE — TABLET ====== */
@media (max-width: 960px) {
  .property-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
  .prop-amenities { grid-template-columns: 1fr 1fr; }
}

/* ====== RESPONSIVE — MOBILE ====== */
@media (max-width: 760px) {
  body { font-size: 15px; }

  /* Nav */
  .nav__inner { padding: 12px 18px; gap: 12px; }
  .nav__brand-text em { display: none; }
  .nav__brand img { width: 40px !important; height: 40px !important; }
  .nav__brand-text strong { font-size: 17px !important; }
  .nav__links { gap: 10px; }
  .nav__links > a, .nav__links > button.link, .nav__links > .btn-primary { display: none; }
  #menuToggle { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; font-size: 22px; color: var(--forest); border: 1px solid var(--sand); }
  .mobile-menu { padding: 14px 18px 18px; display: none; }
  .mobile-menu:not(.hidden) { display: block; }

  /* Hero */
  .hero { padding: 36px 20px 28px; }
  .hero__monogram { width: 110px !important; height: 110px !important; margin-bottom: 16px; }
  .hero h1 { font-size: clamp(30px, 9vw, 42px); margin-bottom: 14px; }
  .hero p { font-size: 15px; margin-bottom: 24px; }
  .hero__row { width: 100%; flex-direction: column; gap: 10px; }
  .hero__row .btn-primary, .hero__row .btn-ghost { width: 100%; }

  /* City tabs */
  .city-tabs { padding: 0 16px; }
  .city-tabs__inner { width: 100%; }
  .city-tabs__btn { flex: 1; padding: 10px 12px; font-size: 13px; }

  /* Sections */
  .section { padding: 48px 18px; }
  .section__head { margin-bottom: 28px; }
  .section__head h2 { font-size: 26px; }
  .section__head p { font-size: 14px; }
  .section-eyebrow { font-size: 12px; }

  /* Property grid */
  .property-grid { grid-template-columns: 1fr; gap: 18px; }
  .property-card__body { padding: 18px 18px 16px; }
  .property-card__head h3 { font-size: 22px; }

  /* Map */
  .map-wrap { padding: 10px; border-radius: 14px; }
  .map-tooltip-el { width: min(180px, 60vw); }
  .tip-title { font-size: 14px; }
  .tip-desc { font-size: 11px; }
  .map-legend { gap: 6px; margin-top: 14px; }
  .legend-chip { font-size: 11px; padding: 6px 10px; }

  /* Spin */
  .spin-wheel-wrap { width: 260px; height: 260px; }
  .spin-btn { width: 72px; height: 72px; font-size: 15px; }
  .spin-result { padding: 18px 20px; gap: 12px; }
  .spin-result h3 { font-size: 19px; }

  /* Property detail */
  .prop-detail { padding: 28px 18px 60px; }
  .prop-hero__art { aspect-ratio: 4/3; }
  .prop-hero__overlay { padding: 22px 22px 18px; }
  .prop-hero__overlay h1 { font-size: 28px; }
  .prop-actions { padding: 16px 18px; gap: 14px; flex-direction: column; align-items: stretch; margin: -28px auto 28px; }
  .prop-actions__meta { gap: 16px; justify-content: space-between; }
  .prop-actions__meta strong { font-size: 22px; }
  .prop-actions__buttons { width: 100%; flex-direction: column; gap: 8px; }
  .prop-actions__buttons .btn-primary, .prop-actions__buttons .btn-ghost { width: 100%; }
  .prop-highlights__grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .prop-highlights__cell { padding: 14px 12px; font-size: 13px; }
  .prop-description { font-size: 15px; line-height: 1.65; padding: 0 6px; }
  .prop-amenities { grid-template-columns: 1fr; gap: 14px; }
  .prop-amenities__block { padding: 20px; }
  .prop-amenities__block h3 { font-size: 20px; }
  .prop-cta { padding: 28px 18px; }
  .prop-cta h2 { font-size: 24px; }
  .prop-cta__row { flex-direction: column; width: 100%; }
  .prop-cta__row .btn-primary, .prop-cta__row .btn-ghost { width: 100%; }

  /* Modals */
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal-card { max-width: 100%; max-height: 92vh; border-radius: 20px 20px 0 0; animation: modalUp .3s ease; }
  @keyframes modalUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
  .modal-head { padding: 20px 22px 14px; }
  .modal-head h3 { font-size: 22px; }
  .modal-body { padding: 18px 22px 24px; }
  .modal-foot { flex-direction: column-reverse; gap: 8px; }
  .modal-foot .btn-primary, .modal-foot .btn-ghost { width: 100%; }
  .prop-pick { padding: 10px; }
  .prop-pick__art { width: 64px; height: 50px; }
  .prop-pick__info strong { font-size: 17px; }
  .cal-day { font-size: 12px; border-radius: 8px; }
  .cal-legend { font-size: 10px; gap: 10px; }
  .date-summary { gap: 8px; }
  .date-summary__cell { padding: 10px 12px; }
  .date-summary__cell strong { font-size: 14px; }

  /* Footer */
  .footer { padding: 44px 22px 24px; margin-top: 60px; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__copy { max-width: 100%; }

  /* Tweaks panel — bottom sheet on mobile */
  .tweaks-panel { right: 12px; left: 12px; bottom: 12px; width: auto; max-height: 70vh; overflow-y: auto; }
}

/* Very narrow phones */
@media (max-width: 380px) {
  .prop-highlights__grid { grid-template-columns: 1fr; }
  .prop-actions__meta { flex-wrap: wrap; gap: 12px; }
  .nav__brand-text strong { font-size: 15px !important; }
}

/* Touch-friendly hit targets */
@media (hover: none) and (pointer: coarse) {
  .btn-primary, .btn-ghost { min-height: 44px; }
  .cal-day { min-height: 36px; }
  .legend-chip { min-height: 36px; }
  .nav__links button, .mobile-menu a, .mobile-menu button { min-height: 40px; }
  /* Touch-tap tooltips: keep open on tap, hide via outside-click handled in JS */
}
