/* =========================================================================
   KW Ghaziabad | Luxury Real Estate Landing Page
   Theme: Deep Emerald & Champagne Gold
   Pure CSS3 — no frameworks
   ========================================================================= */

:root {
  --emerald-900: #062b22;
  --emerald-800: #0a3a2e;
  --emerald-700: #0f4d3c;
  --emerald-600: #146b53;
  --gold-500: #c9a24b;
  --gold-400: #d8b766;
  --gold-300: #e7d29a;
  --cream: #f7f4ec;
  --ink: #1c1c1c;
  --muted: #6b7167;
  --line: rgba(201, 162, 75, 0.25);
  --white: #ffffff;
  --shadow-lg: 0 24px 60px rgba(6, 43, 34, 0.18);
  --shadow-md: 0 12px 30px rgba(6, 43, 34, 0.12);
  --radius: 14px;
  --container: 1200px;
  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --sans: 'Jost', 'Montserrat', 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: clip;
  max-width: 100%;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--emerald-900); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

.section { padding: 90px 0; }
.section-alt { background: var(--white); }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-500);
  margin-bottom: 14px;
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }

.gold-rule {
  width: 70px; height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  margin: 16px auto 0; border-radius: 3px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: 50px; border: none; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  letter-spacing: .3px;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--emerald-900);
  box-shadow: 0 10px 24px rgba(201, 162, 75, 0.35);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(201, 162, 75, 0.45); }
.btn-emerald { background: var(--emerald-700); color: var(--gold-300); }
.btn-emerald:hover { background: var(--emerald-600); transform: translateY(-3px); }
.btn-ghost { background: transparent; border: 1.5px solid var(--gold-500); color: var(--gold-500); }
.btn-ghost:hover { background: var(--gold-500); color: var(--emerald-900); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Scroll reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Ticker / EOI Bar ---------- */
.topbar {
  background: var(--emerald-900); color: var(--gold-300);
  font-size: 13px; letter-spacing: .5px; overflow: hidden;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.ticker-wrap { flex: 1; overflow: hidden; white-space: nowrap; }
.ticker {
  display: inline-block; padding-left: 100%;
  animation: ticker 22s linear infinite;
}
.ticker span { margin: 0 28px; }
.ticker .hot { color: var(--gold-400); font-weight: 700; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }
.topbar-contact { white-space: nowrap; display: flex; gap: 18px; }
.topbar-contact a { color: var(--gold-300); }
.topbar-contact a:hover { color: var(--white); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 900;
  background: rgba(247, 244, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav .container { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .emblem {
  width: 46px; height: 46px; flex-shrink: 0;
}
.brand-text strong { font-family: var(--serif); font-size: 22px; color: var(--emerald-900); display: block; line-height: 1; }
.brand-text small { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-500); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--emerald-800); position: relative; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--gold-500); transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }
.official-tag {
  background: var(--emerald-700); color: var(--gold-300);
  font-size: 11px; padding: 5px 12px; border-radius: 50px; font-weight: 600;
  letter-spacing: 1px;
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.menu-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--emerald-800); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--cream);
  background:
    linear-gradient(120deg, rgba(6,43,34,.92) 0%, rgba(6,43,34,.72) 55%, rgba(6,43,34,.55) 100%),
    url('images/rooftop-pool.png') center/cover no-repeat;
  padding: 80px 0 90px;
}
.hero .container { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,162,75,.16); border: 1px solid var(--gold-500);
  color: var(--gold-300); padding: 7px 16px; border-radius: 50px;
  font-size: 13px; letter-spacing: 1px; margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-400); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.hero h1 { font-size: clamp(38px, 5.2vw, 66px); color: var(--cream); line-height: 1.08; }
.hero h1 .gold { color: var(--gold-400); font-style: italic; }
.hero-sub { font-size: 18px; color: rgba(247,244,236,.86); margin: 22px 0 28px; max-width: 540px; }
.hero-stats { display: flex; gap: 34px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats .stat strong { font-family: var(--serif); font-size: 30px; color: var(--gold-400); display: block; }
.hero-stats .stat span { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: rgba(247,244,236,.7); }

/* ---------- Lead form (hero + sticky) ---------- */
.lead-card {
  background: var(--white); color: var(--ink);
  border-radius: var(--radius); padding: 30px 28px;
  box-shadow: var(--shadow-lg); border-top: 5px solid var(--gold-500);
}
.lead-card h3 { font-size: 25px; }
.lead-card .lead-note { font-size: 13px; color: var(--muted); margin: 6px 0 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .5px; color: var(--emerald-800); margin-bottom: 6px; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid #e0ddd2; border-radius: 10px;
  font-family: var(--sans); font-size: 15px; background: var(--cream); transition: border .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); background: #fff; }
.consent { font-size: 11px; color: var(--muted); margin-top: 10px; text-align: center; }

/* ---------- Sticky side CTA ---------- */
.sticky-cta {
  position: fixed; right: 22px; bottom: 22px; z-index: 850;
  display: flex; flex-direction: column; gap: 10px;
}
.sticky-cta a {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  font-size: 22px; color: #fff; box-shadow: var(--shadow-md); transition: transform .2s ease;
}
.sticky-cta a:hover { transform: scale(1.08); }
.sticky-cta .wa { background: #25d366; }
.sticky-cta .visit { background: var(--gold-500); color: var(--emerald-900); }
.sticky-cta .call { background: var(--emerald-700); color: var(--gold-300); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--emerald-900);
  padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q i { color: var(--gold-500); font-size: 16px; flex-shrink: 0; transition: transform .25s ease; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding: 0 24px 22px; color: var(--muted); margin: 0; }
.faq-a a { color: var(--gold-500); }

/* ---------- Overview ---------- */
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: stretch; }
.overview-grid img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.overview-text h2 { font-size: clamp(28px, 3.6vw, 42px); }
.overview-text p { color: var(--muted); margin-top: 16px; }
.overview-points { margin-top: 24px; display: grid; gap: 14px; }
.overview-points li { display: flex; gap: 12px; align-items: flex-start; }
.overview-points i { color: var(--gold-500); margin-top: 4px; }
.usp-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.usp-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 18px; text-align: center; box-shadow: var(--shadow-md);
}
.usp-card i { font-size: 28px; color: var(--gold-500); }
.usp-card strong { display: block; font-family: var(--serif); font-size: 19px; margin: 10px 0 4px; color: var(--emerald-900); }
.usp-card span { font-size: 13px; color: var(--muted); }

/* ---------- Price Table ---------- */
.price-table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-md); }
table.price {
  width: 100%; border-collapse: collapse; background: var(--white); min-width: 640px;
}
table.price thead { background: var(--emerald-800); color: var(--gold-300); }
table.price th, table.price td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); }
table.price th { font-family: var(--sans); font-weight: 600; letter-spacing: .5px; font-size: 14px; text-transform: uppercase; }
table.price td { font-size: 15px; }
table.price tbody tr:hover { background: var(--cream); }
.config-name { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--emerald-900); }
.price-locked { color: var(--gold-500); font-weight: 700; }
.price-note { text-align: center; margin-top: 18px; color: var(--muted); font-size: 14px; }

/* ---------- Price showcase ---------- */
.head-gold { color: var(--gold-500); font-style: italic; }
.price-showcase {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--emerald-900); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.price-highlight { padding: 50px 44px; border-right: 1px solid rgba(201,162,75,.2); }
.price-sizes { padding: 50px 44px; }
.price-figure { display: flex; align-items: baseline; gap: 10px; }
.price-figure .amount { font-family: var(--serif); font-size: clamp(32px, 8vw, 54px); font-weight: 700; color: var(--gold-400); line-height: 1; }
.price-figure .unit { color: rgba(247,244,236,.7); font-size: 16px; }
.price-fine { color: rgba(247,244,236,.75); font-size: 14px; margin-top: 18px; line-height: 1.7; }
.price-privilege {
  margin-top: 26px; background: rgba(201,162,75,.10); border-left: 3px solid var(--gold-500);
  padding: 18px 20px; border-radius: 8px; color: rgba(247,244,236,.85); font-size: 14px; line-height: 1.7;
}
.price-privilege strong { color: var(--gold-300); }
.price-sizes h3 { color: var(--cream); font-size: 26px; }
.sizes-note { color: rgba(247,244,236,.7); font-size: 14px; margin: 8px 0 22px; }
.size-list { display: grid; margin-bottom: 26px; }
.size-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid rgba(201,162,75,.18); color: var(--cream); font-size: 15px;
}
.size-list li:last-child { border-bottom: 0; }
.size-list .on-req { color: var(--gold-400); font-size: 14px; white-space: nowrap; }

/* ---------- Tabs (floor plans) ---------- */
.tabs { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.tab-btn {
  background: var(--white); border: 1.5px solid var(--line); color: var(--emerald-800);
  padding: 12px 26px; border-radius: 50px; font-family: var(--sans); font-weight: 600;
  cursor: pointer; transition: all .25s ease; font-size: 15px;
}
.tab-btn.active { background: var(--emerald-700); color: var(--gold-300); border-color: var(--emerald-700); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade .4s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.plan-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; background: var(--white); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.plan-figure { position: relative; }
.plan-figure img { border-radius: 10px; filter: blur(6px); }
.plan-overlay {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  background: rgba(6,43,34,.55); border-radius: 10px; color: var(--cream);
}
.plan-overlay i { font-size: 34px; color: var(--gold-400); }
.plan-overlay p { margin: 10px 0 14px; font-weight: 600; }
.plan-info h3 { font-size: 26px; }
.plan-info ul { margin: 16px 0 22px; display: grid; gap: 10px; }
.plan-info li { display: flex; gap: 10px; color: var(--muted); }
.plan-info li i { color: var(--gold-500); }

/* ---------- Amenities ---------- */
.amenities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.amenity {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 20px; text-align: center; transition: transform .25s ease, box-shadow .25s ease;
}
.amenity:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.amenity i { font-size: 32px; color: var(--gold-500); margin-bottom: 12px; }
.amenity strong { display: block; font-family: var(--serif); font-size: 18px; color: var(--emerald-900); }

/* ---------- Marquee (infinite right-to-left carousel) ---------- */
.marquee {
  overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee-track { display: flex; align-items: stretch; width: max-content; will-change: transform; animation: marquee-rtl linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track > * { flex: 0 0 auto; margin-right: 20px; }
@keyframes marquee-rtl { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

.amenities-marquee .marquee-track { animation-duration: 42s; }
.amenities-marquee .amenity { width: 188px; }

.gallery-marquee .marquee-track { animation-duration: 60s; }
.gallery-marquee figure { width: 330px; margin: 0 20px 0 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.gallery-marquee img { width: 100%; height: 230px; object-fit: cover; display: block; transition: transform .4s ease; }
.gallery-marquee figure:hover img { transform: scale(1.06); }
.gallery-marquee figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px;
  background: linear-gradient(transparent, rgba(6,43,34,.85)); color: var(--cream);
  font-family: var(--serif); font-size: 18px;
}

/* ---------- Status / RERA ---------- */
.status-section { background: var(--emerald-900); color: var(--cream); }
.status-section .section-head h2 { color: var(--cream); }
.status-section .section-head p { color: rgba(247,244,236,.75); }
.status-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.status-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(201,162,75,.3);
  border-radius: var(--radius); padding: 26px 22px; text-align: center;
}
.status-card i { font-size: 30px; color: var(--gold-400); }
.status-card span { display: block; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: rgba(247,244,236,.65); margin: 12px 0 6px; }
.status-card strong { font-family: var(--serif); font-size: 22px; color: var(--gold-300); }
.rera-banner {
  margin-top: 36px; background: rgba(201,162,75,.12); border: 1px dashed var(--gold-500);
  border-radius: var(--radius); padding: 24px 28px; text-align: center;
}
.rera-banner strong { color: var(--gold-400); }

/* ---------- Location ---------- */
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.location-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); min-height: 360px; }
.location-map iframe { width: 100%; height: 100%; border: 0; min-height: 360px; }
.connectivity { display: grid; gap: 14px; align-content: start; }
.connectivity li {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 20px; display: flex; justify-content: space-between; align-items: center;
}
.connectivity li i { color: var(--gold-500); margin-right: 10px; }
.connectivity li b { color: var(--emerald-800); }
.connectivity .dist { color: var(--gold-500); font-weight: 700; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-md); display: flex; flex-direction: column;
  transition: transform .25s ease;
}
.blog-card:hover { transform: translateY(-6px); }
.blog-card .thumb { height: 200px; background: var(--emerald-700) center/cover no-repeat; position: relative; }
.blog-card .thumb .tag {
  position: absolute; top: 14px; left: 14px; background: var(--gold-500); color: var(--emerald-900);
  font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 50px; letter-spacing: .5px;
}
.blog-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.blog-body .date { font-size: 12px; color: var(--gold-500); letter-spacing: 1px; text-transform: uppercase; }
.blog-body h3 { font-size: 22px; margin: 8px 0 10px; }
.blog-body p { color: var(--muted); font-size: 15px; flex: 1; }
.blog-body .read-more {
  margin-top: 16px; color: var(--emerald-700); font-weight: 600; display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer; align-self: flex-start;
}
.blog-body .read-more i { transition: transform .2s ease; }
.blog-body .read-more:hover i { transform: translateX(5px); }
.blog-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px; }

/* ---------- Why KW / Reasons ---------- */
.reasons-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.reason-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; display: flex; gap: 18px; align-items: flex-start; box-shadow: var(--shadow-md);
  transition: transform .25s ease;
}
.reason-card:hover { transform: translateY(-4px); }
.reason-card .num {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--emerald-900); display: grid; place-items: center;
  font-family: var(--serif); font-size: 20px; font-weight: 700;
}
.reason-card strong { display: block; font-family: var(--serif); font-size: 20px; color: var(--emerald-900); margin-bottom: 4px; }
.reason-card span { color: var(--muted); font-size: 15px; }

/* ---------- Why KW / Difference (dark tile grid) ---------- */
.difference-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(201,162,75,.22);
  border: 1px solid rgba(201,162,75,.22);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
}
.diff-card {
  background: var(--emerald-900); color: var(--cream);
  padding: 46px 30px; text-align: center;
  transition: background .25s ease;
}
.diff-card:hover { background: var(--emerald-800); }
.diff-card i { font-size: 30px; color: var(--gold-400); }
.diff-card h3 { color: var(--cream); font-size: 23px; margin: 16px 0 10px; }
.diff-card p { color: rgba(247,244,236,.7); font-size: 15px; line-height: 1.7; max-width: 320px; margin: 0 auto; }
.diff-card.full { grid-column: 1 / -1; }

/* ---------- Highlights ---------- */
.highlights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 30px; }
.highlights-grid li {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px 0;
  border-bottom: 1px solid var(--line); color: var(--emerald-800); font-weight: 500;
}
.highlights-grid li i { color: var(--gold-500); margin-top: 4px; }

/* ---------- Lifestyle ---------- */
.lifestyle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.life-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-md); border-top: 4px solid var(--gold-500);
}
.life-card i { font-size: 28px; color: var(--gold-500); }
.life-card h3 { font-size: 21px; margin: 12px 0 8px; }
.life-card p { color: var(--muted); font-size: 15px; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.gallery-grid img { width: 100%; height: 260px; object-fit: cover; transition: transform .4s ease; }
.gallery-grid figure:hover img { transform: scale(1.08); }
.gallery-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px;
  background: linear-gradient(transparent, rgba(6,43,34,.85)); color: var(--cream);
  font-family: var(--serif); font-size: 18px;
}

/* ---------- Quick Facts ---------- */
.facts-table { width: 100%; border-collapse: collapse; background: var(--white); box-shadow: var(--shadow-md); border-radius: var(--radius); overflow: hidden; }
.facts-table th, .facts-table td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts-table th { background: var(--emerald-800); color: var(--gold-300); width: 38%; font-family: var(--sans); font-weight: 600; letter-spacing: .3px; }
.facts-table td { color: var(--ink); }
.facts-table tr:last-child th, .facts-table tr:last-child td { border-bottom: 0; }
.verify-tag { color: var(--gold-500); font-style: italic; font-size: 13px; }

/* ---------- Developer ---------- */
.developer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.developer-grid img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.dev-stats { display: flex; gap: 30px; margin-top: 26px; flex-wrap: wrap; }
.dev-stats .stat strong { font-family: var(--serif); font-size: 32px; color: var(--gold-500); display: block; }
.dev-stats .stat span { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }

/* ---------- Contact / Reviews band ---------- */
.cta-band { background: var(--emerald-900); color: var(--cream); text-align: center; }
.cta-band h2 { color: var(--cream); font-size: clamp(28px, 4vw, 44px); }
.cta-band p { color: rgba(247,244,236,.8); max-width: 640px; margin: 16px auto 28px; }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.reviews-note {
  max-width: 820px; margin: 0 auto; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px; text-align: center; box-shadow: var(--shadow-md);
}
.reviews-note p { color: var(--muted); margin-bottom: 20px; }

/* ---------- Footer ---------- */
.footer { background: var(--emerald-900); color: rgba(247,244,236,.78); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: var(--gold-400); font-family: var(--sans); font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 18px; }
.footer .brand-text strong { color: var(--cream); }
.footer ul li { margin-bottom: 10px; }
.footer ul li a:hover { color: var(--gold-400); }
.footer p { font-size: 14px; line-height: 1.7; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(201,162,75,.4); display: grid; place-items: center; color: var(--gold-300); transition: all .2s ease; }
.footer-social a:hover { background: var(--gold-500); color: var(--emerald-900); }
.disclaimer { border-top: 1px solid rgba(201,162,75,.2); margin-top: 50px; padding: 24px 0; font-size: 12px; color: rgba(247,244,236,.55); line-height: 1.7; }
.copyright { background: var(--emerald-800); padding: 16px 0; text-align: center; font-size: 13px; color: rgba(247,244,236,.7); }
.copyright a { color: var(--gold-400); }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(6,43,34,.72); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; z-index: 1000; padding: 20px;
}
.modal-overlay.open { display: flex; animation: fade .3s ease; }
.modal {
  background: var(--white); border-radius: var(--radius); max-width: 460px; width: 100%;
  padding: 40px 34px; text-align: center; position: relative; border-top: 6px solid var(--gold-500);
  animation: pop .35s ease;
}
@keyframes pop { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal .close { position: absolute; top: 14px; right: 18px; font-size: 24px; color: var(--muted); cursor: pointer; background: none; border: none; }
.modal .icon-circle { width: 70px; height: 70px; border-radius: 50%; background: rgba(201,162,75,.15); display: grid; place-items: center; margin: 0 auto 18px; }
.modal .icon-circle i { font-size: 32px; color: var(--gold-500); }
.modal h3 { font-size: 28px; }
.modal p { color: var(--muted); margin: 12px 0 22px; }

/* offer modal special */
.modal.offer { max-width: 520px; border-top-color: var(--emerald-700); text-align: left; }
.modal.offer .offer-head { text-align: center; }
.modal.offer .offer-badge { display: inline-block; background: var(--gold-500); color: var(--emerald-900); padding: 5px 14px; border-radius: 50px; font-size: 12px; font-weight: 700; letter-spacing: 1px; }

/* ---------- Blog reader modal ---------- */
.modal.reader { max-width: 760px; text-align: left; max-height: 88vh; overflow-y: auto; }
.modal.reader img { border-radius: 10px; margin: 16px 0; }
.modal.reader h2 { font-size: 32px; }
.modal.reader .meta { color: var(--gold-500); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-top: 8px; }
.modal.reader .content { margin-top: 18px; color: #333; line-height: 1.8; }
.modal.reader .content p { margin-bottom: 14px; }

/* ---------- Admin ---------- */
.admin-shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.admin-side { background: var(--emerald-900); color: var(--cream); padding: 28px 22px; }
.admin-side .brand { margin-bottom: 36px; }
.admin-side .brand-text strong { color: var(--cream); }
.admin-nav button {
  width: 100%; text-align: left; background: none; border: none; color: rgba(247,244,236,.8);
  padding: 13px 16px; border-radius: 10px; font-family: var(--sans); font-size: 15px; cursor: pointer;
  display: flex; align-items: center; gap: 12px; margin-bottom: 6px; transition: all .2s ease;
}
.admin-nav button:hover, .admin-nav button.active { background: rgba(201,162,75,.16); color: var(--gold-300); }
.admin-nav button i { width: 20px; text-align: center; }
.admin-side .back-link { margin-top: 30px; display: inline-flex; gap: 8px; color: var(--gold-400); font-size: 14px; }
.admin-main { padding: 36px 40px; background: var(--cream); }
.admin-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; flex-wrap: wrap; gap: 16px; }
.admin-head h1 { font-size: 32px; }
.admin-head p { color: var(--muted); font-size: 14px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 30px; }
.stat-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-md); }
.stat-box i { font-size: 24px; color: var(--gold-500); }
.stat-box strong { display: block; font-family: var(--serif); font-size: 30px; color: var(--emerald-900); margin-top: 8px; }
.stat-box span { font-size: 13px; color: var(--muted); }
.admin-panel { display: none; }
.admin-panel.active { display: block; animation: fade .3s ease; }
.card-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-md); margin-bottom: 26px; }
.card-panel h2 { font-size: 24px; margin-bottom: 6px; }
.card-panel .sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px; }
.admin-table th { background: var(--cream); font-weight: 600; color: var(--emerald-800); text-transform: uppercase; font-size: 12px; letter-spacing: .5px; }
.admin-table td .mini-thumb { width: 56px; height: 40px; border-radius: 6px; object-fit: cover; }
.icon-btn { background: none; border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; cursor: pointer; color: var(--emerald-800); margin-right: 6px; }
.icon-btn.danger { color: #b3261e; border-color: rgba(179,38,30,.3); }
.icon-btn:hover { background: var(--cream); }
.badge { font-size: 11px; padding: 4px 10px; border-radius: 50px; font-weight: 600; }
.badge.new { background: rgba(201,162,75,.18); color: var(--gold-500); }
.toast {
  position: fixed; bottom: 24px; right: 24px; background: var(--emerald-800); color: var(--gold-300);
  padding: 16px 22px; border-radius: 12px; box-shadow: var(--shadow-lg); z-index: 1100;
  transform: translateY(120px); opacity: 0; transition: all .35s ease; display: flex; gap: 10px; align-items: center;
}
.toast.show { transform: translateY(0); opacity: 1; }
.lead-log-empty { text-align: center; color: var(--muted); padding: 30px; }

/* login gate */
.login-gate { min-height: 100vh; display: grid; place-items: center; background: var(--emerald-900); padding: 20px; }
.login-box { background: var(--white); border-radius: var(--radius); padding: 40px 34px; max-width: 400px; width: 100%; box-shadow: var(--shadow-lg); border-top: 6px solid var(--gold-500); text-align: center; }
.login-box .emblem { width: 60px; height: 60px; margin: 0 auto 16px; }
.login-box h2 { font-size: 26px; }
.login-box p { color: var(--muted); font-size: 14px; margin: 6px 0 22px; }
.login-hint { font-size: 12px; color: var(--muted); margin-top: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .overview-grid, .location-grid, .plan-grid, .developer-grid, .price-showcase { grid-template-columns: 1fr; }
  .price-highlight { border-right: 0; border-bottom: 1px solid rgba(201,162,75,.2); }
  .usp-row, .amenities-grid, .status-grid, .reasons-grid, .lifestyle-grid, .gallery-grid, .difference-grid { grid-template-columns: repeat(2, 1fr); }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 78%; max-width: 320px; height: 100vh;
    background: var(--emerald-900); flex-direction: column; align-items: flex-start;
    padding: 80px 30px; gap: 20px; transition: right .3s ease; z-index: 950;
  }
  .nav-links.open { right: 0; }
  .nav-links a { color: var(--cream); font-size: 18px; }
  .menu-toggle { display: block; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { display: none; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .container { padding: 0 18px; }
  .usp-row, .status-grid, .blog-grid, .footer-grid,
  .reasons-grid, .highlights-grid, .lifestyle-grid, .difference-grid { grid-template-columns: 1fr; }
  /* amenities & gallery keep 2 across on mobile (two-column rows) */
  .amenities-marquee .amenity { width: 150px; padding: 22px 14px; }
  .amenity i { font-size: 26px; }
  .amenity strong { font-size: 15px; }
  .gallery-marquee figure { width: 240px; }
  .gallery-marquee img { height: 168px; }
  .gallery-marquee figcaption { font-size: 15px; padding: 10px 14px; }
  .form-row { grid-template-columns: 1fr; }
  .facts-table th { width: 45%; }
  .facts-table th, .facts-table td { padding: 13px 16px; font-size: 14px; }
  .topbar-contact { display: none; }
  .hero-stats { gap: 22px; }
  /* center CTA buttons on mobile */
  .hero-actions, .btn-row { justify-content: center; }
  .overview-text > .btn, .plan-info > .btn { display: flex; width: max-content; max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero { padding: 56px 0 64px; }
  .lead-card { padding: 24px 20px; }
  .price-highlight, .price-sizes { padding: 32px 22px; }
  .diff-card { padding: 34px 22px; }
  .modal { padding: 32px 22px; }
  .size-list li { font-size: 14px; }
  .btn { padding: 13px 24px; }
}
/* Tablet portrait — keep dense grids comfortable */
@media (min-width: 561px) and (max-width: 980px) {
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid img { height: 220px; }
}
