@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

/* ─── Custom Properties ──────────────────────── */
:root {
  --bg:         #1a1a1a;
  --fg:         #eee9dd;
  --card:       #222222;
  --primary:    #735a45;
  --primary-fg: #eee9dd;
  --secondary:  #d8b674;
  --muted:      #2d2d2d;
  --muted-fg:   #a39d8f;
  --border:     #383838;
  --radius:     0.25rem;
  --font-h:     'DM Serif Display', serif;
  --font-b:     'DM Sans', sans-serif;
}

/* ─── Reset ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 18px; } /* base scale — all rem values inherit this */
body  { background: var(--bg); color: var(--fg); font-family: var(--font-b); line-height: 1.6; }
img   { display: block; max-width: 100%; }
a     { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: var(--font-b); }
h1, h2, h3, h4 { font-family: var(--font-h); line-height: 1.15; }

/* ─── Container ──────────────────────────────── */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 768px) { .container { padding: 0 2rem; } }

/* ─── Utilities ──────────────────────────────── */
.w-full { width: 100%; }
.text-center { text-align: center; }

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--primary-fg);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.875rem 1.5rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  border-radius: var(--radius);
}
.btn-primary:hover { opacity: 0.88; }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--fg);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.875rem 1.5rem;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s;
  border-radius: var(--radius);
}
.btn-outline:hover { border-color: var(--primary); }

.section-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-divider {
  width: 4rem;
  height: 1px;
  background: var(--primary);
  margin: 0 auto;
}

.heading-display {
  font-family: var(--font-h);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg);
}

/* ─── Section base ───────────────────────────── */
.section       { padding: 5rem 0; }
.section-card  { background: var(--card); }
@media (min-width: 768px) { .section { padding: 7rem 0; } }

.section-header        { text-align: center; margin-bottom: 3rem; }
.section-header h2     { font-size: 1.875rem; }
.section-header .section-divider { margin-top: 1rem; }
@media (min-width: 768px) { .section-header h2 { font-size: 3rem; } }

/* ─── Two-column grid ────────────────────────── */
.two-col {
  display: grid;
  gap: 2.5rem;
  max-width: 72rem;
  margin: 0 auto;
  align-items: center;
}
@media (min-width: 768px) { .two-col { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.section-img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
}
@media (min-width: 768px) { .section-img { height: 28rem; } }

/* ─── Navbar ─────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  background: rgba(26, 26, 26, 0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.navbar-brand {
  font-family: var(--font-h);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fg);
  font-weight: 600;
}
@media (min-width: 768px) { .navbar-brand { font-size: 1.5rem; } }

.navbar-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
}
.navbar-links a {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-fg);
  transition: color 0.2s;
}
.navbar-links a:hover { color: var(--fg); }
@media (min-width: 1024px) { .navbar-links { display: flex; } }

.navbar-actions {
  display: none;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 768px) { .navbar-actions { display: flex; } }

.phone-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  transition: border-color 0.2s;
  color: var(--primary);
  cursor: pointer;
}
.phone-btn:hover { border-color: var(--primary); }
.phone-label  { display: block; font-size: 0.7rem; color: var(--muted-fg); line-height: 1; }
.phone-number { display: block; font-size: 0.75rem; color: var(--fg); }

/* Hamburger — hidden everywhere (replaced by call button on mobile) */
.hamburger { display: none; }

/* Mobile menu — hidden on mobile (no hamburger to trigger it) */
.mobile-menu { display: none; }

/* Navbar call button — mobile only */
.navbar-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--primary);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.navbar-call-btn:hover {
  background: rgba(201,168,76,0.22);
  border-color: var(--primary);
}
/* Hide on desktop — desktop already shows the full phone button */
@media (min-width: 768px) { .navbar-call-btn { display: none; } }

/* ─── Hero ───────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-top: 4rem;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay-lr {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(26,26,26,0.84) 0%, rgba(26,26,26,0.5) 50%, transparent 100%);
}
.hero-overlay-tb {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.84) 0%, transparent 60%, rgba(26,26,26,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  display: grid;
  gap: 2rem;
  align-items: flex-end;
  width: 100%;
}
@media (min-width: 768px) { .hero-content { grid-template-columns: 1fr 1fr; } }

/* When hero has no right column (form removed) */
.hero-content.hero-solo { grid-template-columns: 1fr !important; }
.hero-content.hero-solo .hero-left { max-width: 38rem; }

.hero-left { padding-bottom: 3rem; }
@media (min-width: 768px) { .hero-left { padding-bottom: 6rem; } }

.hero-left h1 {
  font-size: 2.5rem;
  color: var(--fg);
  margin-bottom: 0.5rem;
}
@media (min-width: 768px)  { .hero-left h1 { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-left h1 { font-size: 4.5rem; } }

.hero-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.hero-location svg { color: var(--primary); flex-shrink: 0; }
.hero-location span { font-size: 0.875rem; color: var(--muted-fg); }

.hero-config-badge {
  display: inline-flex;
  align-items: center;
  border-left: 4px solid var(--primary);
  background: rgba(34,34,34,0.45);
  backdrop-filter: blur(4px);
  padding: 0.75rem 1.25rem;
  margin-bottom: 1.5rem;
}
.hero-config-badge span {
  font-family: var(--font-h);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg);
}
@media (min-width: 768px) { .hero-config-badge span { font-size: 1.25rem; } }

.hero-usps { list-style: none; margin-bottom: 1.5rem; }
.hero-usps li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(238,233,221,0.82);
  margin-bottom: 0.5rem;
}
.hero-usps li svg { color: var(--primary); flex-shrink: 0; }

.hero-price { display: flex; align-items: flex-end; gap: 0.5rem; }
.price-rupee { font-family: var(--font-h); font-size: 2rem; color: var(--fg); }
.price-label {
  display: block;
  font-family: var(--font-h);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-fg);
  line-height: 1;
  margin-bottom: 0.2rem;
}
.price-value { font-family: var(--font-h); font-size: 2rem; color: var(--fg); display: block; }
@media (min-width: 768px) {
  .price-rupee { font-size: 2.5rem; }
  .price-value { font-size: 2.5rem; }
}

/* Hero form card */
.hero-right {
  padding-bottom: 2rem;
  display: flex;
  justify-content: flex-end;
}
@media (min-width: 768px) { .hero-right { padding-bottom: 4rem; } }

.hero-form-card {
  width: 100%;
  max-width: 24rem;
  background: rgba(34,34,34,0.97);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
}
.form-header {
  background: rgba(115,90,69,0.9);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.form-header h3 {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-fg);
}
.form-header span { color: rgba(238,233,221,0.5); font-size: 1.125rem; }
.form-body { padding: 1.5rem; }

/* ─── Forms ──────────────────────────────────── */
.form-group { margin-bottom: 1rem; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  color: var(--fg);
  outline: none;
  border-radius: var(--radius);
  transition: border-color 0.2s;
  display: block;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted-fg); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--primary); }

/* Underline style for modal */
.input-ul {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  font-size: 0.875rem;
  color: var(--fg);
  outline: none;
  display: block;
  transition: border-bottom-color 0.2s;
  border-radius: 0;
}
.input-ul::placeholder { color: var(--muted-fg); }
.input-ul:focus { border-bottom-color: var(--primary); }

.form-consent {
  font-size: 0.75rem;
  color: var(--muted-fg);
  text-align: center;
  margin-top: 1rem;
  line-height: 1.6;
}

.form-success {
  background: var(--card);
  border: 1px solid var(--primary);
  padding: 1rem;
  font-size: 0.875rem;
  color: var(--fg);
  text-align: center;
  margin-top: 1rem;
  display: none;
  border-radius: var(--radius);
}

/* ─── Mobile Enquiry Form (below banner) ────────*/
.mobile-enquiry-form {
  display: block; /* visible on mobile */
  background: var(--card);
  border-top: 3px solid var(--primary);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
  .mobile-enquiry-form { display: none; } /* hide on desktop */
}

.mef-header {
  background: var(--primary);
  padding: 1rem 1.25rem 0.875rem;
}
.mef-header h3 {
  font-family: var(--font-h);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-fg);
  margin-bottom: 0.2rem;
}
.mef-header p {
  font-size: 0.75rem;
  color: rgba(238,233,221,0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mef-body {
  padding: 1.25rem;
}
.mef-body .form-group { margin-bottom: 0.875rem; }
.mef-body .btn-primary { font-size: 0.8rem; padding: 0.9rem; letter-spacing: 0.15em; }

/* ─── USP Strip ──────────────────────────────── */
.usp-strip { background: var(--primary); padding: 0; }

/* Mobile: vertical stacked list with dividers */
.usp-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
}

.usp-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-family: var(--font-b);
  color: var(--primary-fg);
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid rgba(238,233,221,0.15);
  letter-spacing: 0.03em;
}
.usp-item:last-child { border-bottom: none; }
.usp-item svg {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: var(--primary-fg);
  opacity: 0.85;
}

/* Tablet and up: single centered horizontal row */
@media (min-width: 640px) {
  .usp-strip { padding: 1.25rem 0; }
  .usp-inner {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
  }
  .usp-item {
    padding: 0.4rem 1.5rem;
    border-bottom: none;
    border-right: 1px solid rgba(238,233,221,0.3);
    font-size: 0.875rem;
  }
  .usp-item:last-child { border-right: none; }
}

/* ─── Overview ───────────────────────────────── */
.overview-text h2 { font-size: 1.875rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .overview-text h2 { font-size: 2.25rem; } }
.overview-text p { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.85; margin-bottom: 1rem; }
.overview-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* ─── Pricing ────────────────────────────────── */
.pricing-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.pricing-card {
  border: 1px solid var(--border);
  background: var(--bg);
  padding: 2rem;
  text-align: center;
  transition: border-color 0.2s;
}
.pricing-card:hover { border-color: var(--primary); }
.pricing-type  { font-family: var(--font-h); font-size: 1rem; color: var(--muted-fg); margin-bottom: 0.75rem; letter-spacing: 0.03em; }
.pricing-price { font-family: var(--font-h); font-size: 2rem; color: var(--fg); margin-bottom: 1rem; }
@media (min-width: 768px) { .pricing-price { font-size: 2.5rem; } }
.pricing-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
}
.pricing-meta .line { width: 1.5rem; height: 1px; background: var(--border); }
.pricing-meta .val  { font-family: var(--font-h); font-size: 1rem; color: var(--fg); }

/* ─── Highlights ─────────────────────────────── */
.highlights-layout {
  display: grid;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
  align-items: center;
}
@media (min-width: 768px) {
  .highlights-layout { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

.highlights-img-wrap { overflow: hidden; }
.highlights-img-wrap img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  display: block;
}
@media (min-width: 768px) { .highlights-img-wrap img { height: 36rem; } }

/* Card grid — 1px border lines via gap + background trick */
.highlights-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.hl-card {
  background: var(--bg);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: background 0.2s;
}
.hl-card:hover { background: var(--muted); }
@media (min-width: 768px) { .hl-card { padding: 1.5rem; } }

.hl-num {
  font-family: var(--font-h);
  font-size: 2rem;
  color: var(--primary);
  line-height: 1;
}
@media (min-width: 768px) { .hl-num { font-size: 2.5rem; } }

.hl-text {
  font-size: 0.8rem;
  color: var(--fg);
  line-height: 1.55;
}
@media (min-width: 768px) { .hl-text { font-size: 0.875rem; } }

/* ─── Amenities ──────────────────────────────── */

/* Responsive image height */
.amenities-img {
  height: 18rem;   /* mobile */
}
@media (min-width: 768px) { .amenities-img { height: 34rem; } }

/* Heading */
.amenities-heading {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .amenities-heading { font-size: 2.25rem; margin-bottom: 2rem; } }

/* Grid: 2 cols on very small, 3 on mobile, 4 on wider mobile/desktop */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}
@media (min-width: 400px) { .amenities-grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; } }
@media (min-width: 640px) { .amenities-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }

.amenity-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  padding: 0.75rem 0.5rem;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
@media (min-width: 768px) { .amenity-tile { padding: 1rem; gap: 0.5rem; } }
.amenity-tile:hover { border-color: var(--primary); }
.amenity-tile svg  { color: var(--primary); width: 20px; height: 20px; }
@media (min-width: 768px) { .amenity-tile svg { width: 24px; height: 24px; } }
.amenity-name {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-fg);
  line-height: 1.4;
}
@media (min-width: 768px) { .amenity-name { font-size: 0.75rem; letter-spacing: 0.1em; } }


/* ─── Floor Plans ────────────────────────────── */
.floorplan-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .floorplan-grid { grid-template-columns: repeat(3, 1fr); } }

.floorplan-card { border: 1px solid var(--border); background: var(--bg); overflow: hidden; }
.fp-img-wrap { position: relative; overflow: hidden; }
.fp-img-wrap img {
  width: 100%;
  height: 13rem;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
@media (min-width: 768px) { .fp-img-wrap img { height: 15rem; } }
.fp-img-wrap img { filter: blur(3px); }

.fp-overlay {
  position: absolute; inset: 0;
  background: rgba(26,26,26,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fp-label { padding: 1rem; text-align: center; }
.fp-label h3 { font-family: var(--font-h); font-size: 1.125rem; color: var(--fg); }

/* ─── Virtual Tour ───────────────────────────── */
.virtual-tour { display: grid; }
@media (min-width: 768px) { .virtual-tour { grid-template-columns: 1fr 1fr; } }
.vt-img { overflow: hidden; height: 22rem; }
@media (min-width: 768px) { .vt-img { height: auto; min-height: 28rem; } }
.vt-img img { width: 100%; height: 100%; object-fit: cover; }
.vt-text {
  padding: 2.5rem 2rem;
  background: var(--card);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 768px) { .vt-text { padding: 4rem; } }
.vt-text h2 { font-family: var(--font-h); font-size: 2rem; color: var(--fg); margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 0.05em; }
@media (min-width: 768px) { .vt-text h2 { font-size: 2.5rem; } }
.vt-text p  { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.85; margin-bottom: 2rem; }
.vt-text .section-label { margin-bottom: 0.5rem; }

/* ─── Location ───────────────────────────────── */
.location-grid {
  display: grid;
  gap: 3rem;
  max-width: 72rem;
  margin: 0 auto;
  align-items: stretch; /* both columns stretch to the same height */
}
@media (min-width: 768px) { .location-grid { grid-template-columns: 1fr 1fr; } }

.distance-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.distance-num   { font-family: var(--font-h); font-size: 1.25rem; color: var(--primary); width: 2.5rem; flex-shrink: 0; }
.distance-place { font-size: 0.875rem; color: var(--fg); flex: 1; }
.distance-km    { font-size: 0.875rem; color: var(--muted-fg); }

.map-frame {
  border: 1px solid var(--border);
  overflow: hidden;
  min-height: 25rem;
  height: 100%; /* fill the full grid row height */
}
.map-frame img,
.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 25rem;
  border: none;
  object-fit: cover;
}

/* ─── Gallery Mosaic ─────────────────────────── */

/* Mobile: single column */
.gallery-mosaic {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

/* Tablet: 3 equal columns (6 images = 2 tidy rows) */
@media (min-width: 600px) {
  .gallery-mosaic {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Desktop: 6-image asymmetric mirror mosaic (4 col × 2 row) */
@media (min-width: 1024px) {
  .gallery-mosaic {
    grid-template-columns: 2fr 1.5fr 1.5fr 2fr;
    grid-template-rows: 24rem 18rem;
    gap: 0.6rem;
  }
  /* Row 1 — wide left, two smaller right */
  .gm-item--1 { grid-column: 1 / 3; grid-row: 1; } /* wide */
  .gm-item--2 { grid-column: 3;     grid-row: 1; }
  .gm-item--3 { grid-column: 4;     grid-row: 1; }
  /* Row 2 — two smaller left, wide right (mirror of row 1) */
  .gm-item--4 { grid-column: 1;     grid-row: 2; }
  .gm-item--5 { grid-column: 2;     grid-row: 2; }
  .gm-item--6 { grid-column: 3 / 5; grid-row: 2; } /* wide */
}

/* Each item */
.gm-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gm-item img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  display: block;
  transition: transform 0.65s ease;
}
@media (min-width: 600px)  { .gm-item img { height: 18rem; } }
@media (min-width: 1024px) { .gm-item img { height: 100%; } }

.gm-item:hover img { transform: scale(1.06); }

/* Overlay — always visible at bottom, fully revealed on hover */

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  z-index: 60;
  background: rgba(26,26,26,0.93);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 100%; max-height: 85vh; object-fit: contain; cursor: default; }
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  color: var(--muted-fg);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.lightbox-close:hover { color: var(--fg); }

/* ─── About Developer ────────────────────────── */
.about-title    { font-family: var(--font-h); font-size: 2rem; color: var(--fg); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.06em; }
@media (min-width: 768px) { .about-title { font-size: 2.5rem; } }
.about-subtitle { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--secondary); display: block; margin-bottom: 1.5rem; }
.about-text     { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.85; margin-bottom: 1rem; }

/* ─── Contact ────────────────────────────────── */
.contact-card {
  display: grid;
  max-width: 72rem;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--border);
}
@media (min-width: 768px) { .contact-card { grid-template-columns: 1fr 1fr; } }

.contact-img-wrap { position: relative; height: 16rem; }
@media (min-width: 768px) { .contact-img-wrap { height: auto; } }
.contact-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.contact-img-overlay {
  position: absolute; inset: 0;
  background: rgba(26,26,26,0.52);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-img-overlay h3 { font-family: var(--font-h); font-size: 2rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg); }
@media (min-width: 768px) { .contact-img-overlay h3 { font-size: 3rem; } }

.contact-form-wrap { padding: 2rem; background: var(--bg); }
@media (min-width: 768px) { .contact-form-wrap { padding: 3rem; } }
.contact-divider { width: 3rem; height: 1px; background: var(--primary); margin-bottom: 1.5rem; }

/* ─── Disclaimer ─────────────────────────────── */
.disclaimer {
  padding: 3rem 0;
  background: var(--card);
  border-top: 1px solid var(--border);
}
.disclaimer p {
  font-size: 0.75rem;
  color: var(--muted-fg);
  text-align: center;
  line-height: 1.85;
  max-width: 56rem;
  margin: 0 auto;
}
.disclaimer a { color: var(--primary); transition: text-decoration 0.2s; }
.disclaimer a:hover { text-decoration: underline; }

/* ─── Footer ─────────────────────────────────── */
.footer { padding: 1.5rem 0; background: var(--bg); border-top: 1px solid var(--border); }
.footer p { font-size: 0.75rem; color: var(--muted-fg); text-align: center; }
/* prevent footer text hiding behind mobile brochure bar */
@media (max-width: 767px) {
  .footer { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
}

/* ─── Modal ──────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(26,26,26,0.62);
  backdrop-filter: blur(4px);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-backdrop.active { opacity: 1; pointer-events: all; }

.modal-panel {
  position: fixed;
  background: var(--bg);
  z-index: 51;
  overflow-y: auto;
  max-height: 95vh;
}

/* Desktop: auto width, centered, anchored at top:0, slides down */
.modal-panel.desktop {
  top: 0;
  left: 50%;
  width: auto;
  min-width: 32rem;
  max-width: 42rem;
  transform: translateX(-50%) translateY(-110%);
  transition: transform 0.4s ease-out;
  border: 1px solid var(--border);
  border-top: none;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}
.modal-panel.desktop.active { transform: translateX(-50%) translateY(0); }

/* Mobile: full width, anchored at bottom:0, slides up */
.modal-panel.mobile {
  bottom: 0;
  left: 0; right: 0;
  transform: translateY(100%);
  transition: transform 0.4s ease-out;
  border-radius: 1rem 1rem 0 0;
  border-top: 1px solid var(--border);
}
.modal-panel.mobile.active { transform: translateY(0); }

.modal-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1.5rem 2.5rem;
  position: relative;
}

.modal-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  color: var(--muted-fg); background: none; border: none;
  cursor: pointer; transition: color 0.2s; display: flex;
}
.modal-close:hover { color: var(--fg); }

.modal-title {
  font-family: var(--font-h);
  font-size: 1.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg);
  text-align: center;
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) { .modal-title { font-size: 2.5rem; } }

.modal-divider { width: 4rem; height: 1px; background: var(--primary); margin: 0 auto 1.5rem; }

.modal-subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-fg);
  text-align: center;
  margin-bottom: 2rem;
}
.modal-form { width: 100%; max-width: 28rem; }
.modal-form .mgroup { margin-bottom: 1rem; }
.modal-rera { font-size: 0.75rem; color: var(--muted-fg); text-align: center; margin-top: 1.5rem; max-width: 24rem; }

/* ─── Mobile Fixed Brochure Button ──────────── */
.mobile-brochure-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--primary);
  color: var(--primary-fg);
  font-family: var(--font-b);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 1.5rem;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  border: none;
  cursor: pointer;
  /* slide in from bottom when .visible is added */
  transform: translateY(100%);
  transition: transform 0.35s ease, background 0.2s ease;
}
.mobile-brochure-btn.visible { transform: translateY(0); }
.mobile-brochure-btn:hover { background: var(--primary-hover, #b8975a); }
/* hide on desktop — desktop has the right-side fixed enquire button */
@media (min-width: 768px) { .mobile-brochure-btn { display: none; } }

/* ─── Fixed Enquire Button ───────────────────── */
.fixed-enquire-btn {
  display: none; /* hidden on mobile — shown on desktop via media query below */
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 45;
  align-items: center;
  gap: 0.75rem;
  background: var(--primary);
  color: var(--primary-fg);
  border: none;
  cursor: pointer;
  padding: 0.875rem 1.25rem 0.875rem 1.5rem;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.5);
  transition: opacity 0.2s, transform 0.2s;
}
.fixed-enquire-btn:hover { opacity: 0.9; transform: translateY(-2px); }
@media (min-width: 768px) { .fixed-enquire-btn { display: flex; } }

.feb-text {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

.feb-icon {
  width: 1.75rem;
  height: 1.75rem;
  border: 1.5px solid rgba(238, 233, 221, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.35s ease, background 0.2s;
}
.fixed-enquire-btn.is-open .feb-icon {
  transform: rotate(45deg);
  background: rgba(0, 0, 0, 0.2);
}

/* ─── Bottom Form Panel ──────────────────────── */
.bottom-form-backdrop {
  display: none; /* no backdrop needed for a floating card */
}

.bottom-form-panel {
  position: fixed;
  bottom: 5.5rem;   /* sits just above the button */
  right: 2rem;
  z-index: 47;
  width: 22rem;
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
  transform: translateY(1.5rem);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.3s ease;
  max-height: calc(100vh - 8rem);
  overflow-y: auto;
}
.bottom-form-panel.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

/* On small screens revert to a bottom sheet */
@media (max-width: 520px) {
  .bottom-form-panel {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    border-left: none;
    border-right: none;
    border-bottom: none;
    transform: translateY(100%);
    opacity: 1;
    max-height: 90vh;
  }
  .bottom-form-panel.active { transform: translateY(0); }
}

.bfp-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1rem 1.25rem 0.875rem;
  border-bottom: 1px solid var(--border);
  background: var(--card);
}
.bfp-title {
  font-family: var(--font-h);
  font-size: 1.375rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg);
  line-height: 1.2;
}

.bfp-subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-fg);
  margin-top: 0.2rem;
}
.bfp-close {
  background: none;
  border: none;
  color: var(--muted-fg);
  cursor: pointer;
  padding: 0.2rem;
  transition: color 0.2s;
  flex-shrink: 0;
  margin-left: 0.75rem;
}
.bfp-close:hover { color: var(--fg); }

.bfp-body { padding: 1.25rem; }

.bfp-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
  margin-bottom: 1rem;
}

.bfp-field input {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.75rem 0.875rem;
  font-size: 0.8rem;
  color: var(--fg);
  outline: none;
  border-radius: var(--radius);
  transition: border-color 0.2s;
  display: block;
}
.bfp-field input::placeholder { color: var(--muted-fg); }
.bfp-field input:focus { border-color: var(--primary); }

.bfp-field--wide { grid-column: 1 / -1; }

.bfp-submit {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  padding: 0.875rem;
}

/* ─── Toast ──────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(1rem);
  background: var(--primary);
  color: var(--primary-fg);
  padding: 1rem 2rem;
  font-size: 0.875rem;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  white-space: nowrap;
  border-radius: var(--radius);
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
