@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Outfit:wght@300;400;500;600;700;800&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

/* ==========================
   ROYAL THEME - Budget Homes
   ========================== */
:root {
  --royal-ink: #0f0a1f;
  --royal-deep: #1d1438;
  --royal: #352258;
  --royal-mid: #4a2f78;
  --royal-light: #7a5caf;

  --gold: #c9a76a;
  --gold-light: #e6c987;
  --gold-soft: #f5e9c8;
  --gold-pale: #fbf6e9;

  --emerald: #2e7f4f;
  --emerald-dark: #1f5e39;

  --cream: #faf6ee;
  --ivory: #fffdf7;
  --surface: #ffffff;

  --text: #1a1426;
  --muted: #6b647a;
  --border: #ece5d5;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 6px 18px rgba(31, 20, 52, 0.08);
  --shadow: 0 18px 44px rgba(31, 20, 52, 0.12);
  --shadow-gold: 0 18px 36px rgba(201, 167, 106, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Outfit", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

/* ---------- Top Contact Bar ---------- */
.topbar {
  background: var(--royal-deep);
  color: #e3dcf5;
  font-size: 0.82rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  gap: 12px;
}

.topbar a {
  color: #e3dcf5;
}

.topbar a:hover {
  color: var(--gold-light);
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Site Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 253, 247, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  color: var(--royal);
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand-text {
  line-height: 1.05;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand-text small {
  display: block;
  color: var(--emerald);
  font-family: "Outfit", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 500;
}

.site-nav a {
  color: #2a2339;
  font-size: 0.94rem;
  letter-spacing: 0.05em;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--royal);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 6px 0;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background: var(--royal);
  transition: 0.2s ease;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--royal);
  color: #fff;
  border: 1px solid var(--royal);
  border-radius: 999px;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 24px;
  cursor: pointer;
  transition: 0.25s ease;
  box-shadow: 0 8px 22px rgba(53, 34, 88, 0.18);
}

.btn:hover {
  background: var(--royal-deep);
  border-color: var(--royal-deep);
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--royal-deep);
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.btn-outline {
  background: transparent;
  color: var(--royal);
  border: 1px solid var(--royal);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--royal);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: none;
}

.btn-ghost:hover {
  background: #fff;
  color: var(--royal-deep);
  border-color: #fff;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.8rem;
}

/* ---------- Hero Slider ---------- */
.hero-slider {
  position: relative;
  min-height: calc(100vh - 120px);
  overflow: hidden;
  background: var(--royal-deep);
}

.slide-track {
  position: relative;
  min-height: calc(100vh - 120px);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, transform 1.2s ease;
  transform: scale(1.04);
  display: grid;
  align-items: center;
  padding: 60px 0;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(15, 10, 31, 0.85) 0%,
    rgba(29, 20, 56, 0.75) 45%,
    rgba(15, 10, 31, 0.35) 100%
  );
  z-index: 1;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.slide-1 .slide-bg {
  background-image: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1800&q=80");
}
.slide-2 .slide-bg {
  background-image: url("https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=1800&q=80");
}
.slide-3 .slide-bg {
  background-image: url("https://images.unsplash.com/photo-1493809842364-78817add7ffb?auto=format&fit=crop&w=1800&q=80");
}

.slide-inner {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 780px;
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(201, 167, 106, 0.18);
  border: 1px solid rgba(201, 167, 106, 0.45);
  color: var(--gold-light);
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 40px;
  margin-bottom: 22px;
}

.slide-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
}

.slide-inner h1 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.05;
  margin: 0 0 14px;
  color: #fff;
  letter-spacing: 0.01em;
}

.slide-inner h1 em {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 500;
}

.slide-sub {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.slide-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 0 0 22px;
  border: 0;
}

.slide-desc {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.85;
  margin: 0 0 32px;
}

.slide-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* slider dots + arrows */
.slider-dots {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 5;
}

.slider-dots button {
  width: 38px;
  height: 3px;
  border: 0;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.slider-dots button.active {
  background: var(--gold);
  transform: scaleX(1.2);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 10, 31, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.slider-arrow:hover {
  background: var(--gold);
  color: var(--royal-deep);
  border-color: var(--gold);
}

.slider-arrow.prev {
  left: 20px;
}

.slider-arrow.next {
  right: 20px;
}

@media (min-width: 981px) {
  .slider-arrow {
    display: inline-flex;
  }
}

/* floating quick-enquiry band overlapping slider */
.quick-enquiry {
  position: relative;
  z-index: 10;
  margin-top: -60px;
  margin-bottom: 40px;
}

.quick-enquiry-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.quick-enquiry-card label {
  display: grid;
  gap: 4px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--royal);
}

.quick-enquiry-card input,
.quick-enquiry-card select {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  background: var(--ivory);
}

.quick-enquiry-card input:focus,
.quick-enquiry-card select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

/* ---------- Sections ---------- */
.section {
  padding: 90px 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 40px;
}

.section-head.center {
  margin: 0 auto 50px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Outfit", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.section h2,
.display {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  color: var(--royal-deep);
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: 0.005em;
}

.section h2 em,
.display em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}

.section-head p,
.lead {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 720px;
}

/* ---------- Project cards ---------- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.project-thumb {
  height: 210px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.project-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 10, 31, 0.55));
}

.thumb-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  color: var(--royal-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

.thumb-1 {
  background-image: linear-gradient(160deg, rgba(15, 10, 31, 0.35), rgba(15, 10, 31, 0.05)),
    url("https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1200&q=80");
}
.thumb-2 {
  background-image: linear-gradient(160deg, rgba(15, 10, 31, 0.35), rgba(15, 10, 31, 0.05)),
    url("https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?auto=format&fit=crop&w=1200&q=80");
}
.thumb-3 {
  background-image: linear-gradient(160deg, rgba(15, 10, 31, 0.35), rgba(15, 10, 31, 0.05)),
    url("https://images.unsplash.com/photo-1600585154526-990dced4db0d?auto=format&fit=crop&w=1200&q=80");
}
.thumb-4 {
  background-image: linear-gradient(160deg, rgba(15, 10, 31, 0.35), rgba(15, 10, 31, 0.05)),
    url("https://images.unsplash.com/photo-1502672260266-1c1ef2d93688?auto=format&fit=crop&w=1200&q=80");
}

.project-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-body h3 {
  font-family: "Playfair Display", serif;
  color: var(--royal-deep);
  font-size: 1.45rem;
  margin: 0 0 8px;
  font-weight: 600;
}

.project-body p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.96rem;
  flex: 1;
}

.project-link {
  color: var(--royal);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.project-link::after {
  content: "→";
  transition: transform 0.25s ease;
}

.project-link:hover {
  color: var(--gold);
}

.project-link:hover::after {
  transform: translateX(4px);
}

/* ---------- Why Choose (numbered) ---------- */
.why-section {
  background: var(--ivory);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.why-card {
  background: #fff;
  padding: 34px 26px;
  transition: background 0.25s ease;
}

.why-card:hover {
  background: var(--gold-pale);
}

.why-num {
  font-family: "Playfair Display", serif;
  font-size: 2.6rem;
  color: rgba(201, 167, 106, 0.55);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 10px;
}

.why-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  color: var(--royal-deep);
  margin: 0 0 8px;
}

.why-card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--muted);
}

/* ---------- Highlights strip (dark royal) ---------- */
.highlight-strip {
  background: var(--royal-deep);
  color: #f5e9c8;
  border-top: 1px solid rgba(201, 167, 106, 0.25);
  border-bottom: 1px solid rgba(201, 167, 106, 0.25);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.highlight-item {
  padding: 28px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 16px;
}

.highlight-item:last-child {
  border-right: 0;
}

.highlight-ico {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(201, 167, 106, 0.15);
  border: 1px solid rgba(201, 167, 106, 0.35);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.highlight-item h4 {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  color: var(--gold-light);
  margin: 0 0 4px;
  font-weight: 600;
}

.highlight-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
}

/* ---------- Stats ---------- */
.stats-section {
  background: linear-gradient(135deg, var(--royal-deep) 0%, var(--royal) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(201, 167, 106, 0.18), transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(201, 167, 106, 0.12), transparent 55%);
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat {
  text-align: center;
  padding: 14px;
}

.stat strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 3rem;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 6px;
}

.stat span {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 10px;
  right: 22px;
  font-family: "Playfair Display", serif;
  font-size: 5rem;
  color: rgba(201, 167, 106, 0.3);
  line-height: 1;
}

.testimonial-card p {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 0.98rem;
  font-style: italic;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-meta .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--royal), var(--gold));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

.testimonial-meta strong {
  color: var(--royal-deep);
  font-family: "Playfair Display", serif;
  font-weight: 600;
}

.testimonial-meta span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background:
    linear-gradient(120deg, rgba(15, 10, 31, 0.92), rgba(53, 34, 88, 0.85)),
    url("https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: #fff;
  padding: 90px 0;
  text-align: center;
}

.cta-banner h2 {
  color: #fff;
}

.cta-banner h2 em {
  color: var(--gold-light);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
  margin: 0 auto 28px;
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  padding: 90px 0 80px;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(15, 10, 31, 0.88) 0%, rgba(53, 34, 88, 0.82) 100%),
    url("https://images.unsplash.com/photo-1464146072230-91cabc968266?auto=format&fit=crop&w=1800&q=80") center/cover;
  position: relative;
}

.page-hero h1 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  color: #fff;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.1;
  margin: 12px 0 14px;
}

.page-hero h1 em {
  color: var(--gold-light);
  font-style: italic;
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
}

.page-hero .eyebrow {
  color: var(--gold-light);
}

.page-hero .eyebrow::before {
  background: var(--gold-light);
}

/* theme variants */
.page-hero.theme-plot {
  background:
    linear-gradient(110deg, rgba(15, 10, 31, 0.88) 0%, rgba(30, 60, 92, 0.84) 100%),
    url("https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.page-hero.theme-yashoda {
  background:
    linear-gradient(110deg, rgba(15, 10, 31, 0.88) 0%, rgba(53, 34, 88, 0.82) 100%),
    url("https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.page-hero.theme-amarpali {
  background:
    linear-gradient(110deg, rgba(15, 10, 31, 0.88) 0%, rgba(31, 94, 57, 0.82) 100%),
    url("https://images.unsplash.com/photo-1600585154526-990dced4db0d?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.page-hero.theme-ready {
  background:
    linear-gradient(110deg, rgba(15, 10, 31, 0.88) 0%, rgba(133, 84, 38, 0.78) 100%),
    url("https://images.unsplash.com/photo-1502672260266-1c1ef2d93688?auto=format&fit=crop&w=1800&q=80") center/cover;
}

/* ---------- Split / Cards ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.card h2,
.card h3 {
  color: var(--royal-deep);
  font-family: "Playfair Display", serif;
}

.checklist {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.checklist li {
  position: relative;
  padding: 8px 0 8px 30px;
  border-bottom: 1px dashed var(--border);
  color: var(--text);
}

.checklist li:last-child {
  border-bottom: 0;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  width: 20px;
  height: 20px;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Brochure card (plot page) ---------- */
.brochure-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
  align-items: center;
}

.brochure-card img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
}

.brochure-content h2 {
  color: var(--royal-deep);
  margin-bottom: 10px;
}

.price-tag {
  display: inline-block;
  background: var(--gold-pale);
  border: 1px solid var(--gold-light);
  color: var(--royal-deep);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

/* ---------- Plot gallery ---------- */
.plot-gallery-wrap {
  background: var(--gold-pale);
}

.plot-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.plot-gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.plot-gallery img:hover {
  transform: scale(1.02);
}

/* ---------- Luxe yashoda items ---------- */
.luxe-band {
  background: var(--royal-deep);
  color: #f5e9c8;
}

.luxe-band-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.luxe-item {
  padding: 28px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
  text-align: center;
}

.luxe-item:last-child {
  border-right: 0;
}

.luxe-item h4 {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  color: var(--gold-light);
  margin: 0 0 4px;
  font-weight: 600;
}

.luxe-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.luxe-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.luxe-card {
  background: #fff;
  padding: 30px 24px;
  transition: background 0.25s ease;
}

.luxe-card:hover {
  background: var(--gold-pale);
}

.luxe-card h3 {
  font-family: "Playfair Display", serif;
  color: var(--royal-deep);
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.luxe-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.unit-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.unit-table th,
.unit-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 0.95rem;
}

.unit-table th {
  background: var(--royal-deep);
  color: var(--gold-light);
  font-family: "Outfit", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
}

.unit-table tr:nth-child(even) td {
  background: var(--gold-pale);
}

.badge-area {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gold-pale);
  color: var(--royal-deep);
  font-weight: 700;
  font-size: 0.8rem;
}

/* ---------- Amenities (Amarpali / Ready) ---------- */
.amen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.amen-card {
  background: #fff;
  padding: 28px 18px;
  text-align: center;
  transition: background 0.25s ease;
}

.amen-card:hover {
  background: var(--gold-pale);
}

.amen-ico {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.amen-card h4 {
  font-family: "Playfair Display", serif;
  color: var(--royal-deep);
  font-size: 1.05rem;
  margin: 0 0 4px;
}

.amen-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

/* ---------- Contact page ---------- */
.contact-band {
  background: var(--gold-pale);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}

.contact-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  color: var(--text);
}

.contact-list li:last-child {
  border-bottom: 0;
}

.contact-list li strong {
  min-width: 110px;
  color: var(--royal-deep);
  letter-spacing: 0.04em;
}

form.enquiry-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

form.enquiry-form label {
  display: grid;
  gap: 6px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--royal-deep);
  font-weight: 600;
}

form.enquiry-form label.full {
  grid-column: 1 / -1;
}

form.enquiry-form input,
form.enquiry-form select,
form.enquiry-form textarea {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  color: var(--text);
}

form.enquiry-form input:focus,
form.enquiry-form select:focus,
form.enquiry-form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

form.enquiry-form button {
  grid-column: 1 / -1;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--royal-ink);
  color: #d6cde9;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  padding: 70px 0 40px;
}

.footer-grid h4 {
  font-family: "Playfair Display", serif;
  color: var(--gold-light);
  font-size: 1.1rem;
  margin: 0 0 14px;
  font-weight: 600;
}

.footer-grid p,
.footer-grid a {
  color: #bab2cc;
  font-size: 0.92rem;
}

.footer-grid a:hover {
  color: var(--gold-light);
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 54px;
  height: 54px;
  background: #fff;
  border-radius: 12px;
  padding: 4px;
}

.footer-brand strong {
  display: block;
  font-family: "Playfair Display", serif;
  color: #fff;
  font-size: 1.15rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #857b99;
}

/* ---------- Modal / Popup ---------- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 10, 31, 0.72);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
  /* Allow the entire overlay to scroll when the card is taller than the viewport */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.modal.open {
  display: flex;
  animation: modalFade 0.3s ease;
}

@keyframes modalFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-card {
  width: min(640px, 100%);
  background: #fff;
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  animation: modalRise 0.4s ease;
  /* Flex column so .modal-body can scroll internally on tall content */
  display: flex;
  flex-direction: column;
  /* Cap height to viewport so close + submit are always reachable.
     dvh accounts for mobile browser UI bars; vh is the fallback. */
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  margin: auto;
}

@keyframes modalRise {
  from {
    transform: translateY(30px) scale(0.98);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.modal-head {
  padding: 26px 28px 0 28px;
  /* Reserve space so the close button never overlaps the heading */
  padding-right: 64px;
  flex: 0 0 auto;
}

.modal-head h3 {
  font-family: "Playfair Display", serif;
  color: var(--royal-deep);
  font-size: 1.6rem;
  margin: 0 0 6px;
}

.modal-head p {
  color: var(--muted);
  margin: 0 0 20px;
  font-size: 0.95rem;
}

.modal-body {
  padding: 0 28px 28px;
  /* Internal scroll keeps the close button visible while the user scrolls fields */
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--royal);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.modal-close:hover,
.modal-close:focus-visible {
  background: var(--royal);
  color: #fff;
  outline: none;
}

/* Hide the WhatsApp FAB while the modal is open so it never covers the submit button */
.modal.open ~ .whatsapp-fab {
  display: none;
}

/* ---------- Floating WhatsApp ---------- */
.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45);
  z-index: 150;
  transition: transform 0.25s ease;
}

.whatsapp-fab:hover {
  transform: translateY(-3px) scale(1.05);
}

.whatsapp-fab::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.35);
  z-index: -1;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Day / Night Gallery (Yashoda) ---------- */
.view-gallery-section {
  background: linear-gradient(180deg, var(--cream) 0%, var(--gold-pale) 100%);
}

.view-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.view-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--royal-deep);
  aspect-ratio: 16 / 11;
  isolation: isolate;
}

.view-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.view-card:hover img {
  transform: scale(1.05);
}

.view-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 10, 31, 0.05) 35%, rgba(15, 10, 31, 0.85) 100%);
  z-index: 1;
}

.view-meta {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 2;
  color: #fff;
}

.view-meta .eyebrow {
  color: var(--gold-light);
  margin-bottom: 6px;
}

.view-meta .eyebrow::before {
  background: var(--gold-light);
}

.view-meta h3 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin: 0 0 4px;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.view-meta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.view-card.night {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(122, 92, 175, 0.55), transparent 60%),
    radial-gradient(ellipse at 75% 80%, rgba(201, 167, 106, 0.35), transparent 55%),
    linear-gradient(160deg, #0a0716 0%, #1d1438 60%, #2a1c4d 100%);
}

.view-card.day {
  background:
    radial-gradient(ellipse at 70% 20%, rgba(255, 215, 130, 0.55), transparent 55%),
    radial-gradient(ellipse at 30% 90%, rgba(46, 127, 79, 0.25), transparent 60%),
    linear-gradient(160deg, #fbe9c2 0%, #e6c987 50%, #c9a76a 100%);
}

.view-card.placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, transparent 48%, rgba(255, 255, 255, 0.06) 50%, transparent 52%),
    linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.04) 50%, transparent 52%);
  background-size: 80px 80px;
  z-index: 0;
}

/* ---------- Floor Plan Cards (Type 1 / 2 / 3) ---------- */
.floor-section {
  background: var(--ivory);
}

.floor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.floor-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.floor-card-head {
  padding: 18px 22px;
  background: linear-gradient(135deg, var(--royal-deep), var(--royal));
  color: #fff;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.floor-card-head .type-tag {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.floor-card-head h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: #fff;
  margin: 0;
  letter-spacing: 0.04em;
}

.floor-card-head h3 em {
  font-style: italic;
  color: var(--gold-light);
}

.floor-thumb {
  position: relative;
  background: var(--gold-pale);
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.floor-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.floor-card:hover .floor-thumb img {
  transform: scale(1.04);
}

.floor-area {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 253, 247, 0.94);
  color: var(--royal-deep);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: 1px solid var(--gold-light);
  z-index: 2;
}

.floor-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.floor-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.floor-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.floor-feature-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  color: var(--text);
}

.floor-feature-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-size: 0.7rem;
}

/* ---------- Plan Showcase (cluster + measurement) ---------- */
.plan-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.plan-frame {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.plan-frame h3 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  color: var(--royal-deep);
  margin: 0;
  font-size: 1.25rem;
}

.plan-frame p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.plan-frame .plan-img-wrap {
  background: var(--gold-pale);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.plan-frame .plan-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.plan-frame .btn {
  align-self: flex-start;
}

/* ---------- Specifications ---------- */
.spec-section {
  background: var(--royal-deep);
  color: #efe7ff;
}

.spec-section .section-head h2 {
  color: #fff;
}

.spec-section .section-head h2 em {
  color: var(--gold-light);
}

.spec-section .section-head p {
  color: rgba(255, 255, 255, 0.7);
}

.spec-section .eyebrow {
  color: var(--gold-light);
}

.spec-section .eyebrow::before {
  background: var(--gold-light);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.spec-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 167, 106, 0.22);
  border-radius: var(--radius);
  padding: 22px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.spec-card:hover {
  background: rgba(201, 167, 106, 0.1);
  transform: translateY(-4px);
}

.spec-card h4 {
  font-family: "Playfair Display", serif;
  color: var(--gold-light);
  font-size: 1.05rem;
  margin: 0 0 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.spec-card h4::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold-light);
}

.spec-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ---------- Location Map ---------- */
.location-section {
  background: var(--cream);
}

.location-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.map-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
  min-height: 460px;
  display: flex;
  flex-direction: column;
}

.map-card iframe {
  flex: 1;
  width: 100%;
  border: 0;
  min-height: 460px;
}

.map-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: var(--ivory);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.map-card-foot strong {
  font-family: "Playfair Display", serif;
  color: var(--royal-deep);
  font-size: 1rem;
}

.map-card-foot span {
  color: var(--muted);
  font-size: 0.85rem;
}

.distance-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.distance-card h3 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  color: var(--royal-deep);
  margin: 0 0 6px;
  font-size: 1.5rem;
}

.distance-card .lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.distance-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.distance-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
}

.distance-list li:last-child {
  border-bottom: 0;
}

.distance-list .place {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 0.94rem;
}

.distance-list .place::before {
  content: "◉";
  color: var(--gold);
  font-size: 0.8rem;
}

.distance-list .time {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  color: var(--royal-deep);
  background: var(--gold-pale);
  border: 1px solid var(--gold-light);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ---------- Brochure Viewer ---------- */
.brochure-section {
  background: var(--gold-pale);
}

.brochure-viewer {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
  align-items: stretch;
}

.brochure-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.brochure-info h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.7rem;
  color: var(--royal-deep);
  margin: 0;
  font-weight: 500;
}

.brochure-info h3 em {
  font-style: italic;
  color: var(--gold);
}

.brochure-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.brochure-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.brochure-meta span {
  background: var(--gold-pale);
  border: 1px solid var(--gold-light);
  color: var(--royal-deep);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brochure-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
}

.brochure-frame {
  background: var(--royal-deep);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 520px;
  display: flex;
}

.brochure-frame iframe,
.brochure-frame embed,
.brochure-frame object {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
}

@media (max-width: 1080px) {
  .view-gallery,
  .floor-grid,
  .spec-grid,
  .plan-showcase,
  .location-grid,
  .brochure-viewer {
    grid-template-columns: 1fr;
  }

  .brochure-frame,
  .brochure-frame iframe,
  .brochure-frame embed,
  .brochure-frame object {
    min-height: 420px;
  }
}

@media (max-width: 760px) {
  .view-card {
    aspect-ratio: 4 / 3;
  }

  .floor-thumb {
    height: 200px;
  }

  .map-card,
  .map-card iframe {
    min-height: 360px;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-grid,
  .luxe-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .highlight-grid,
  .luxe-band-grid,
  .amen-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-enquiry-card {
    grid-template-columns: 1fr 1fr;
  }

  .brochure-card,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .plot-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .highlight-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 760px) {
  .section {
    padding: 60px 0;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 4vw 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .site-nav.open {
    display: flex;
  }

  .hide-mobile {
    display: none !important;
  }

  .project-grid,
  .why-grid,
  .luxe-grid,
  .testimonial-grid,
  .amen-grid,
  .luxe-band-grid,
  .highlight-grid,
  .stats-grid,
  .quick-enquiry-card,
  .plot-gallery,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .luxe-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .quick-enquiry {
    margin-top: -20px;
  }

  form.enquiry-form {
    grid-template-columns: 1fr;
  }

  .slide-inner h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}

/* ---------------------------------------------------------------
   Modal responsive overrides (phones / small tablets)
   --------------------------------------------------------------- */
@media (max-width: 760px) {
  .modal {
    padding: 12px;
    /* Pin to top so the close button is reachable as the form grows */
    align-items: flex-start;
  }

  .modal-card {
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    border-top-width: 3px;
  }

  .modal-head {
    padding: 20px 20px 0 20px;
    padding-right: 60px;
  }

  .modal-head h3 {
    font-size: 1.3rem;
    line-height: 1.3;
  }

  .modal-head p {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }

  .modal-body {
    padding: 0 20px 20px;
  }

  /* Single-column form inside modal so fields are not cramped */
  .modal form.enquiry-form {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Bigger tap target for close on mobile */
  .modal-close {
    width: 44px;
    height: 44px;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
  }

  /* Full-width sticky-feel submit button with comfortable tap area */
  .modal form.enquiry-form button[type="submit"] {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    margin-top: 4px;
  }
}

/* Extra-small phones */
@media (max-width: 380px) {
  .modal {
    padding: 8px;
  }
  .modal-head {
    padding: 18px 16px 0 16px;
    padding-right: 56px;
  }
  .modal-body {
    padding: 0 16px 18px;
  }
  .modal-head h3 {
    font-size: 1.2rem;
  }
}

/* ---------------------------------------------------------------
   AJAX form feedback - toasts & inline status
   --------------------------------------------------------------- */
.toast-stack {
  position: fixed;
  z-index: 9999;
  right: 20px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: calc(100% - 40px);
}

.toast {
  pointer-events: auto;
  min-width: 260px;
  max-width: 380px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  background: #1f2937;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  border-left: 4px solid #d4af37;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-success {
  background: #1c5d3a;
  border-left-color: #6ee7b7;
}

.toast-error {
  background: #7f1d1d;
  border-left-color: #fca5a5;
}

.toast-info {
  background: #1f2937;
  border-left-color: #d4af37;
}

.form-status {
  grid-column: 1 / -1;
  font-size: 0.92rem;
  min-height: 1.2em;
  margin-top: 4px;
}

.form-status.success {
  color: #186a3b;
  font-weight: 600;
}

.form-status.error {
  color: #991b1b;
  font-weight: 600;
}

label.has-error input,
label.has-error select,
label.has-error textarea {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: progress;
}

@media (max-width: 520px) {
  .toast-stack {
    right: 12px;
    left: 12px;
    bottom: 16px;
  }
  .toast {
    min-width: 0;
    max-width: 100%;
  }
}


