/* ==========================================================================
   Godrej Rivershore Estate — Landing Page Styles
   ========================================================================== */

:root {
  --navy: #0a2a52;
  --navy-dark: #071c38;
  --navy-light: #123a72;
  --gold: #b3903f;
  --gold-light: #d4b876;
  --cream: #f7f4ee;
  --white: #ffffff;
  --text: #232323;
  --muted: #5c6470;
  --border: #e4e1d8;
  --success: #2e7d4f;
  --shadow: 0 10px 30px rgba(10, 42, 82, 0.12);
  --radius: 10px;
  --header-h: 84px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section { scroll-margin-top: var(--header-h); }

.section-tag {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.section-head {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.pad { padding: 88px 0; }
.pad-sm { padding: 56px 0; }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3, .bg-navy .display { color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(179, 144, 63, 0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(179, 144, 63, 0.45); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--white);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-light); }

.btn-block { width: 100%; }

/* ---------- Top Bar ---------- */
.topbar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 12px 20px;
  flex-wrap: wrap;
  row-gap: 6px;
}
.topbar-rera { display: flex; align-items: center; gap: 8px; min-width: 0; }
.topbar-rera span:first-child { white-space: nowrap; }
.topbar-contact { display: flex; align-items: center; gap: 20px; }
.topbar-contact > a:not(.topbar-call-pill) { display: inline-flex; align-items: center; gap: 6px; }
.topbar-contact > a:not(.topbar-call-pill):hover { color: var(--gold-light); }

.topbar-call-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-dark) !important;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 6px 16px;
  border-radius: 30px;
  box-shadow: 0 3px 10px rgba(179, 144, 63, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: callPillPulse 2.4s ease-in-out infinite;
}
.topbar-call-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(179, 144, 63, 0.55);
  color: var(--navy-dark) !important;
}
.topbar-call-pill svg {
  animation: callIconRing 2.4s ease-in-out infinite;
  transform-origin: 50% 40%;
}

@keyframes callPillPulse {
  0%, 100% { box-shadow: 0 3px 10px rgba(179, 144, 63, 0.4), 0 0 0 0 rgba(212, 184, 118, 0.45); }
  50% { box-shadow: 0 3px 14px rgba(179, 144, 63, 0.55), 0 0 0 7px rgba(212, 184, 118, 0); }
}
@keyframes callIconRing {
  0%, 20%, 100% { transform: rotate(0deg); }
  4%  { transform: rotate(-18deg); }
  8%  { transform: rotate(16deg); }
  12% { transform: rotate(-12deg); }
  16% { transform: rotate(8deg); }
}

@media (prefers-reduced-motion: reduce) {
  .topbar-call-pill,
  .topbar-call-pill svg {
    animation: none;
  }
}

/* ---------- Animated CTA icons (Enquire / Get Price / Download) ---------- */
.btn svg { flex-shrink: 0; }

.icon-bounce { animation: iconBounceY 1.6s ease-in-out infinite; }
.icon-pulse  { animation: iconPulseScale 1.8s ease-in-out infinite; }
.icon-wiggle { animation: iconWiggle 2.2s ease-in-out infinite; transform-origin: 50% 45%; }

@keyframes iconBounceY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}
@keyframes iconPulseScale {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.22); }
}
@keyframes iconWiggle {
  0%, 16%, 100% { transform: rotate(0deg); }
  4%  { transform: rotate(-14deg); }
  8%  { transform: rotate(12deg); }
  12% { transform: rotate(-8deg); }
}

@media (prefers-reduced-motion: reduce) {
  .icon-bounce, .icon-pulse, .icon-wiggle {
    animation: none;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--white);
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: box-shadow 0.2s ease;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-wrap { display: flex; align-items: center; gap: 4px; }
.logo-wrap img { height: 60px; width: auto; }
.logo-divider { width: 1px; height: 30px; background: var(--border); }
.project-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.15;
}
.project-name small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.main-nav ul { display: flex; gap: 30px; }
.main-nav a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--gold); }

.header-cta { display: flex; align-items: center; gap: 14px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 6px;
  z-index: 600;
}
.menu-toggle span {
  width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px;
  transition: all 0.3s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: url('../images/hero-banner.jpeg') center/cover no-repeat;
  color: var(--white);
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7,28,56,0.88) 0%, rgba(7,28,56,0.55) 45%, rgba(7,28,56,0.35) 100%);
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 7px 16px;
  border-radius: 30px;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
  backdrop-filter: blur(4px);
}
.hero-badge span.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-light); }

.hero h1 {
  color: var(--white);
  font-size: clamp(1.5rem, 5vw, 3rem);
  margin-bottom: 10px;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-light);
}
.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold-light);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.hero .tagline {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin-bottom: 26px;
}

.hero-stats {
  display: flex;
  gap: 28px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.hero-stats .stat b {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  color: var(--gold-light);
}
.hero-stats .stat span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-price-note { margin-top: 18px; font-size: 0.82rem; color: rgba(255,255,255,0.65); }

/* Lead form card in hero — dark glass panel, hero image visible through it */
.lead-card {
  background: rgba(7, 28, 56, 0.32);
  backdrop-filter: blur(9px) saturate(150%);
  -webkit-backdrop-filter: blur(9px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
  color: var(--white);
}
.lead-card h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 4px;
}
.lead-card .sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  margin-bottom: 20px;
}
.lead-card .form-group label {
  color: rgba(255, 255, 255, 0.85);
}
.lead-card .form-group input,
.lead-card .form-group select {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.lead-card .form-group input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
.lead-card .form-group select option {
  color: var(--text);
}
.lead-card .form-group input:focus,
.lead-card .form-group select:focus {
  background: rgba(255, 255, 255, 0.28);
  border-color: var(--gold-light);
}
.lead-card .form-group input.invalid,
.lead-card .form-group select.invalid {
  background: rgba(253, 243, 242, 0.95);
  border-color: #ff8a80;
  color: var(--text);
}
.lead-card .field-error {
  color: #ffb4a8;
}
.lead-card .form-consent {
  color: rgba(255, 255, 255, 0.68);
}
.lead-card .form-msg.ok { color: #8fe3b0; }
.lead-card .form-msg.err { color: #ffb4a8; }
/* Honeypot spam trap — invisible to real visitors, present for bots that auto-fill every field.
   display:none (not off-screen positioning) is deliberate: browsers reliably skip autofilling
   display:none fields, whereas an off-screen-but-rendered field can still get autofilled by
   Chrome's saved-address/organization data, silently poisoning real submissions. */
.hp-field {
  display: none !important;
}

.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
.form-consent {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.5;
}

/* Consent checkbox (required on every lead form) */
.consent-check {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 9px;
}
.consent-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--gold);
  cursor: pointer;
}
.consent-check label {
  flex: 1;
  min-width: 200px;
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.5;
  cursor: pointer;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}
.consent-check input.invalid ~ label { color: #c0453f; }
.consent-check .field-error {
  flex-basis: 100%;
  margin-left: 27px;
  margin-top: 0;
}

.lead-card .consent-check label { color: rgba(255, 255, 255, 0.75); }
.lead-card .consent-check input.invalid ~ label { color: #ffb4a8; }
.form-msg {
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  display: none;
}
.form-msg.show { display: block; }
.form-msg.ok { color: var(--success); }
.form-msg.err { color: #b3403f; }

/* Field-level validation */
.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
  border-color: #c0453f;
  background: #fdf3f2;
}
.field-error {
  display: none;
  color: #c0453f;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 5px;
}
.field-error.show { display: block; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.about-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media .rera-chip {
  position: absolute; bottom: 18px; left: 18px;
  background: rgba(10,42,82,0.9);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 0.75rem;
  backdrop-filter: blur(4px);
}
.about-media .rera-chip b { color: var(--gold-light); }

.about-copy h2 { font-size: clamp(1.7rem, 3vw, 2.1rem); margin-bottom: 18px; }
.about-qr {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 18px 12px 12px;
  margin-bottom: 20px;
}
.about-qr img { width: 88px; height: 88px; border-radius: 4px; background: var(--white); }
.about-qr span { font-size: 0.82rem; color: var(--navy); line-height: 1.5; }
.about-qr--dark {
  display: flex;
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
}
.about-qr--dark span { color: rgba(255,255,255,0.85); }
.about-qr--dark span strong { color: var(--white); }
.about-copy p { color: var(--muted); margin-bottom: 16px; }

/* ---------- About Developer ---------- */
.developer-qr { text-align: center; margin-top: 8px; }
.developer-qr img {
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.developer-qr p { font-size: 0.85rem; color: var(--muted); margin-bottom: 4px; }
.developer-qr p strong { color: var(--navy); }

/* Footer variant — sits on the dark navy footer, centered, large QR, label below */
.footer-developer .developer-qr {
  text-align: center;
  margin: 4px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: fit-content;
}
.footer-developer .developer-qr img {
  width: 140px;
  height: 140px;
  margin: 0;
  padding: 8px;
}
.footer-developer .developer-qr p {
  color: rgba(255,255,255,0.65);
  margin-bottom: 0;
}
.footer-developer .developer-qr p strong { color: var(--white); }
.about-copy .highlight { color: var(--navy); font-weight: 600; }

.about-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 26px;
}
.fact-box {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 18px;
}
.fact-box b {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--navy);
}
.fact-box span { font-size: 0.8rem; color: var(--muted); }

/* Why invest strip */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.why-item {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.why-item:hover {
  background: var(--navy-light);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.25);
}
.why-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.why-item .icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(212,184,118,0.14);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.why-item .num {
  font-family: 'Playfair Display', serif;
  color: rgba(255,255,255,0.3);
  font-size: 1.3rem;
}
.why-item h4 { color: var(--white); font-size: 1.02rem; font-family: 'Inter',sans-serif; font-weight: 700; margin-bottom: 8px; }
.why-item p { color: rgba(255,255,255,0.65); font-size: 0.86rem; line-height: 1.55; }

/* ---------- Price List ---------- */
.plot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.plot-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(10,42,82,0.05);
  padding: 34px 26px 28px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.plot-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plot-card--premium { border-color: var(--gold-light); background: linear-gradient(180deg, #fdf9f0, #ffffff); }
.plot-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.pill-open, .plot-badge.pill-open { background: #e4f3e9; color: var(--success); }
.pill-limited, .plot-badge.pill-limited { background: #fbeee0; color: #b36a10; }
.pill-premium, .plot-badge.pill-premium { background: #f0e9f8; color: #6b3fa0; }
.plot-size {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--navy);
  margin: 20px 0 10px;
}
.plot-size small { font-size: 1rem; font-weight: 600; color: var(--muted); font-family: 'Inter', sans-serif; }
.plot-price { font-weight: 700; color: var(--navy); font-size: 1.05rem; margin-bottom: 24px; }
.plot-price sup { font-size: 0.6em; }
.plot-price span { display: block; font-weight: 600; color: var(--muted); font-size: 0.82rem; margin-top: 3px; }

.price-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 18px;
}

.payment-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.perk-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 20px;
  box-shadow: 0 4px 14px rgba(10,42,82,0.05);
}
.perk-card .icon {
  width: 54px; height: 54px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.perk-card h4 { font-size: 1.1rem; margin-bottom: 6px; }
.perk-card p { color: var(--muted); font-size: 0.88rem; }

/* ---------- Amenities ---------- */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.amenity-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 240px;
  box-shadow: var(--shadow);
}
.amenity-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.amenity-card:hover img { transform: scale(1.08); }
.amenity-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,28,56,0.92) 0%, rgba(7,28,56,0.1) 55%, transparent 100%);
}
.amenity-card .label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px;
  z-index: 2;
  color: var(--white);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.3;
}
.amenity-card .label small {
  display: block;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 3px;
}

.amenity-list-extra {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.mini-feat {
  display: flex; align-items: center; gap: 10px;
  background: var(--cream);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}
.mini-feat svg { color: var(--gold); flex-shrink: 0; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 16px;
}
.gallery-grid .g-item {
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-grid .g-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery-grid .g-item:hover img { transform: scale(1.1); }
.gallery-grid .g-item.big { grid-column: span 2; grid-row: span 2; }
.g-item .g-overlay {
  position: absolute; inset: 0;
  background: rgba(10,42,82,0.0);
  display: flex; align-items: flex-end;
  padding: 14px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0;
  transition: all 0.3s ease;
}
.g-item:hover .g-overlay { opacity: 1; background: rgba(10,42,82,0.45); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(4,12,26,0.94);
  display: none;
  align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 6px; }
.lightbox-close {
  position: absolute; top: 24px; right: 32px;
  color: var(--white); font-size: 2rem;
  background: none;
}

/* ---------- Location ---------- */
.location-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 760px;
  margin: 0 auto 40px;
}
.lh-item {
  text-align: center;
  background: var(--navy);
  border-radius: 8px;
  padding: 18px 12px;
}
.lh-item b {
  display: block;
  font-family: 'Playfair Display', serif;
  color: var(--gold-light);
  font-size: 1.3rem;
  margin-bottom: 4px;
}
.lh-item span {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.location-proximities {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.prox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--cream);
  border-radius: 8px;
  padding: 13px 16px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
}
.prox-icon { font-size: 1.1rem; flex-shrink: 0; }

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}
.location-list { display: flex; flex-direction: column; gap: 14px; }
.loc-item {
  display: flex; align-items: center; gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 18px;
}
.loc-item .icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.loc-item .txt { flex: 1; }
.loc-item .txt b { display: block; color: var(--navy); font-size: 0.94rem; }
.loc-item .txt span { font-size: 0.8rem; color: var(--muted); }
.loc-item .time {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--gold);
  font-size: 1rem;
  white-space: nowrap;
}
.location-map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 420px;
}
.location-map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

.location-address {
  margin-top: 28px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 22px 26px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.location-address svg { color: var(--gold-light); flex-shrink: 0; margin-top: 3px; }
.location-address b { display: block; margin-bottom: 4px; }
.location-address span { font-size: 0.88rem; color: rgba(255,255,255,0.8); }

/* ---------- Contact / Lead form section ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-info-list { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item .icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-item b { display: block; margin-bottom: 3px; }
.contact-info-item a, .contact-info-item span { color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.contact-info-item a:hover { color: var(--gold-light); }

.contact-form-card {
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}
.contact-form-card h3 { margin-bottom: 6px; }
.contact-form-card .sub { color: var(--muted); font-size: 0.88rem; margin-bottom: 22px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- Sticky mobile bar ---------- */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 400;
  background: var(--white);
  box-shadow: 0 -4px 18px rgba(0,0,0,0.12);
}
.mobile-sticky-bar .row { display: grid; grid-template-columns: 1fr 1.4fr 1fr; }
.mobile-sticky-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 8px;
  font-weight: 700;
  font-size: 0.85rem;
}
.mobile-sticky-bar .call { color: var(--navy); border-right: 1px solid var(--border); }
.mobile-sticky-bar .enquire { background: var(--gold); color: var(--white); border-right: 1px solid rgba(255,255,255,0.25); }
.mobile-sticky-bar .whatsapp { color: #1f9e51; }

.whatsapp-float {
  position: fixed;
  bottom: 90px; right: 24px;
  z-index: 400;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.5);
  transition: transform 0.2s ease;
}
.whatsapp-float img { width: 100%; height: 100%; border-radius: 50%; }
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.7); padding: 60px 0 0; }
.footer-top {
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo-badge {
  display: inline-block;
  background: var(--white);
  padding: 5px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.footer-logo { height: 46px; display: block; }
.footer-developer { max-width: 900px; margin: 0 auto; text-align: center; }
.footer-developer h4 {
  color: var(--white);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: normal;
  margin-bottom: 16px;
}
.footer-developer > p { font-size: 0.92rem; line-height: 1.75; color: rgba(255,255,255,0.65); margin-bottom: 20px; }
.footer-top a:hover { color: var(--gold-light); }
.icon-link { display: inline-flex; align-items: center; gap: 6px; }

.footer-legal {
  padding: 26px 0;
  font-size: 0.74rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.45);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 10px;
}

@media (min-width: 769px) { .footer-bottom { padding-bottom: 20px; } }

/* ---------- Animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Legal Pages (Privacy Policy / Disclaimer) ---------- */
.legal-header {
  padding: 32px 0 8px;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
}
.legal-back:hover { color: var(--gold-light); }
.legal-hero {
  padding: 20px 0 10px;
}
.legal-wrap { max-width: 820px; margin: 0 auto; }
.legal-wrap .section-tag { display: block; }
.legal-wrap h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 8px 0 10px;
}
.legal-updated { color: var(--muted); font-size: 0.85rem; margin-bottom: 6px; }
.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 44px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.legal-content > h2:first-of-type { margin-top: 36px; }
.legal-content h3 {
  font-size: 1.05rem;
  margin-top: 22px;
  margin-bottom: 8px;
  color: var(--navy);
}
.legal-content p { color: var(--muted); margin-bottom: 14px; line-height: 1.75; }
.legal-content ul { margin: 0 0 14px 20px; list-style: disc; color: var(--muted); }
.legal-content li { margin-bottom: 8px; line-height: 1.7; }
.legal-content strong { color: var(--navy); }

/* ---------- Thank You Page ---------- */
.ty-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../images/hero-banner.jpeg') center/cover no-repeat;
  padding: 40px 24px;
  text-align: center;
}
.ty-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(7,28,56,0.92) 0%, rgba(7,28,56,0.8) 60%, rgba(7,28,56,0.7) 100%);
}
.ty-card {
  position: relative;
  z-index: 2;
  max-width: 560px;
  width: 100%;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius);
  padding: 52px 40px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.4);
}
.ty-check {
  width: 76px; height: 76px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(179,144,63,0.45);
}
.ty-card .logo-wrap { justify-content: center; margin-bottom: 28px; }
.ty-card .logo-wrap .footer-logo-badge { margin-bottom: 0; }
.ty-card h1 {
  color: var(--white);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  margin-bottom: 14px;
}
.ty-card p.lead {
  color: rgba(255,255,255,0.82);
  font-size: 1.02rem;
  max-width: 440px;
  margin: 0 auto 30px;
}
.ty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}
.ty-meta {
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 22px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}
.ty-meta a { color: var(--gold-light); }
@media (max-width: 480px) {
  .ty-card { padding: 40px 24px; }
}

/* ---------- Quick Enquiry Popup ---------- */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(4, 12, 26, 0.72);
  backdrop-filter: blur(2px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.popup-overlay.open { display: flex; }
.popup-card {
  position: relative;
  background: var(--white);
  width: 100%;
  max-width: 440px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: var(--radius);
  padding: 36px 30px 28px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.4);
  animation: popupIn 0.35s ease;
}
@keyframes popupIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.popup-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--navy);
  font-size: 1.4rem;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.popup-close:hover { background: var(--border); }
.popup-badge {
  display: inline-block;
  background: #fbeee0;
  color: #b36a10;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.popup-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.popup-card .sub { color: var(--muted); font-size: 0.88rem; margin-bottom: 22px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .about-grid, .contact-grid, .location-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .amenities-grid { grid-template-columns: repeat(3, 1fr); }
  .amenity-list-extra { grid-template-columns: repeat(2, 1fr); }
  .payment-perks { grid-template-columns: 1fr; }
  .plot-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .hero .container { grid-template-columns: 1fr; }
  .lead-card { max-width: 480px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .menu-toggle { display: flex; }
  .mobile-sticky-bar { display: block; }
  /* Hidden on mobile — the sticky bar already has its own WhatsApp button. */
  .whatsapp-float { display: none; }

  .site-header .container { gap: 10px; }
  .logo-wrap { gap: 8px; min-width: 0; }
  .logo-wrap img { height: 35px; flex-shrink: 0; }
  .project-name { font-size: 0.92rem; }
  .header-cta { gap: 8px; }

  .main-nav {
    display: flex;
    position: fixed;
    top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--white);
    flex-direction: column;
    padding: 30px 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 550;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 6px; }
  .main-nav a { display: block; padding: 14px 6px; border-bottom: 1px solid var(--border); font-size: 1.05rem; }
  .header-cta .btn-gold { padding: 9px 14px; font-size: 0.8rem; }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .pad { padding: 60px 0; }

  /* Top bar hidden on mobile — MahaRERA No. is still shown in the About
     section QR badge and the footer legal text, so disclosure is preserved. */
  .topbar { display: none; }

  /* Header: drop the subtitle line so the row never wraps */
  .project-name small { display: none; }
  .project-name { font-size: 0.88rem; }
  .logo-wrap img { height: 35px; }
  .logo-divider { height: 18px; }

  .hero { min-height: auto; padding-top: 36px; padding-bottom: 60px; background-image: url('../images/hero-banner-mobile.jpeg'); background-position: top center;}
  .hero-stats { gap: 18px; }
  .amenities-grid, .amenity-list-extra { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery-grid .g-item.big { grid-column: span 2; grid-row: span 1; }
  .why-grid { grid-template-columns: 1fr; gap: 14px; }
  .plot-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-developer .developer-qr { flex-wrap: wrap; }
  .form-row-2 { grid-template-columns: 1fr; }
  .popup-card { padding: 30px 22px 24px; }
  .location-highlights { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .lh-item { padding: 12px 6px; }
  .lh-item b { font-size: 1.05rem; }
  .lh-item span { font-size: 0.62rem; }
  .location-proximities { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .logo-divider, .project-name { display: none; }
  .header-cta .btn-gold { padding: 8px 11px; font-size: 0.74rem; }
}
