/* =====================================================================
   KW Shaktikhand — Rosemont-style layout, self-contained (no frameworks)
   Light editorial-luxury: ivory · sapphire ink navy · brushed copper
   Type: Poppins (UI/body) + Fraunces (display headings)
   ===================================================================== */

:root {
  --ivory: #f6f3ee;
  --bone: #efe9e0;
  --paper: #fffdfa;
  --ink: #10233f;
  --ink-soft: #1c3357;
  --line: rgba(16, 35, 63, 0.12);
  --copper: #b07a48;
  --copper-2: #c9925e;
  --copper-soft: #e7d3bf;
  --text: #243043;
  --muted: #5d6675;

  --shadow-sm: 0 2px 12px rgba(16, 35, 63, 0.07);
  --shadow-md: 0 16px 44px rgba(16, 35, 63, 0.12);
  --shadow-lg: 0 34px 90px rgba(16, 35, 63, 0.18);

  --serif: "Fraunces", "Marcellus", Georgia, serif;
  --sans: "Poppins", system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 86px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--ivory);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 500; line-height: 1.14; letter-spacing: -0.01em; margin: 0 0 0.5em; }

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

/* ---------- Section eyebrow / heading lockup ---------- */
.head-lockup { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.head-lockup.left { text-align: left; margin-left: 0; }
.icon-diamond {
  width: 40px; height: 40px; margin: 0 auto 14px;
  display: grid; place-items: center; color: var(--copper);
  font-size: 1.1rem;
}
.head-lockup.left .icon-diamond { margin-left: 0; }
.eyebrow {
  font-family: var(--sans);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--copper); margin: 0 0 12px;
}
.head-lockup h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.head-lockup p.intro { color: var(--muted); font-size: 1.04rem; margin: 16px 0 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 15px 30px; border: 1px solid transparent; border-radius: 50px;
  font-weight: 600; font-size: 0.92rem; letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s, box-shadow 0.3s;
  white-space: nowrap;
}
.btn .arrow { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,0.22); display: grid; place-items: center; font-size: 0.7rem; transition: transform 0.3s; }
.btn:hover { transform: translateY(-2px); }
.btn:hover .arrow { transform: translateX(3px); }
.btn--primary { background: var(--copper); color: #fff; box-shadow: 0 12px 28px rgba(176,122,72,0.32); }
.btn--primary:hover { background: var(--copper-2); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-soft); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--block { width: 100%; }
.btn-center { text-align: center; margin-top: 40px; }

/* =====================================================================
   Sidenav drawer
   ===================================================================== */
.sidenav {
  position: fixed; top: 0; right: 0; height: 100%;
  width: min(92vw, 440px);
  background: var(--paper);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  box-shadow: var(--shadow-lg);
  padding: 28px 30px 40px;
  overflow-y: auto;
}
.sidenav.open { transform: translateX(0); }
.sidenav__close {
  position: absolute; top: 18px; right: 20px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  font-size: 1.3rem; line-height: 1;
}
.sidenav__close:hover { background: var(--bone); }
.sidenav__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.sidenav__art { border-radius: var(--radius); overflow: hidden; margin-bottom: 8px; position: relative; }
.sidenav__art img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.sidenav__art .cap { position: absolute; bottom: 8px; left: 12px; color: #fff; font-size: 0.7rem; letter-spacing: 0.05em; text-shadow: 0 1px 6px rgba(0,0,0,0.6); }
.sidenav__links { margin-top: 18px; }
.sidenav__links a {
  display: block; padding: 14px 6px; font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--line); position: relative; transition: color 0.25s, padding 0.25s;
}
.sidenav__links a:hover { color: var(--copper); padding-left: 14px; }
.sidenav .btn { margin-top: 24px; }

.backdrop {
  position: fixed; inset: 0; background: rgba(16,35,63,0.55);
  z-index: 190; opacity: 0; visibility: hidden; transition: 0.35s;
}
.backdrop.show { opacity: 1; visibility: visible; }

/* =====================================================================
   Top navbar
   ===================================================================== */
.topbar {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(246, 243, 238, 0.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s, height 0.3s;
}
.topbar.scrolled { box-shadow: var(--shadow-sm); background: rgba(246,243,238,0.97); }
.topbar .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand__logo { width: 50px; height: 50px; flex-shrink: 0; }
.brand__name { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); line-height: 1; }
.brand__name span { display: block; font-family: var(--sans); font-size: 0.6rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--copper); margin-top: 6px; }
.topbar__right { display: flex; align-items: center; gap: 22px; }
.top-link { display: inline-flex; align-items: center; gap: 9px; font-size: 0.88rem; font-weight: 500; color: var(--ink); transition: color 0.25s; }
.top-link i { color: var(--copper); }
.top-link:hover { color: var(--copper); }
.top-link.cta { background: var(--ink); color: #fff; padding: 11px 22px; border-radius: 50px; }
.top-link.cta:hover { background: var(--copper); color: #fff; }
.top-link.cta i { color: #fff; }
.menu-toggle {
  width: 52px; height: 48px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--paper); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px; flex-shrink: 0;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--ink); transition: 0.3s; }

/* =====================================================================
   Hero
   ===================================================================== */
.hero { position: relative; min-height: clamp(560px, 80vh, 760px); display: grid; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(8,18,33,0.82) 0%, rgba(8,18,33,0.5) 45%, rgba(8,18,33,0.15) 100%); }
.hero__inner { position: relative; z-index: 1; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  color: #fff; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 9px 18px; border-radius: 50px; margin-bottom: 24px; backdrop-filter: blur(6px);
}
.hero__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--copper-2); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:0.4;transform:scale(1.4);} }
.hero__eyebrow { color: var(--copper-2); font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 12px; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 14px; }
.hero h1 em { font-style: italic; color: var(--copper-2); }
.hero__type { color: #efe3d4; font-size: 1.4rem; font-family: var(--serif); font-style: italic; margin-bottom: 10px; }
.hero__sub { color: #d4dcea; font-size: 1.06rem; max-width: 560px; margin-bottom: 30px; }
.hero__rule { width: 90px; height: 2px; background: var(--copper-2); margin-bottom: 26px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* =====================================================================
   Overview + counters
   ===================================================================== */
.overview { position: relative; background: var(--paper); overflow: hidden; }
.overview__text { text-align: center; max-width: 880px; margin: 0 auto; }
.overview__text p.content { color: var(--muted); font-size: 1.06rem; margin: 16px 0 0; }
.shadow-bg { position: absolute; pointer-events: none; opacity: 0.5; }
.shadow-bg--tl { top: -40px; left: -60px; width: 280px; }
.shadow-bg--br { bottom: -40px; right: -60px; width: 280px; }

.counter-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0;
  margin: 50px auto 0; max-width: 980px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--ivory);
}
.counter {
  flex: 1 1 0; min-width: 150px; text-align: center; padding: 28px 18px;
  border-right: 1px solid var(--line);
}
.counter:last-child { border-right: none; }
.counter .num { font-family: var(--serif); font-size: 2.4rem; color: var(--ink); line-height: 1; }
.counter .num .plus { color: var(--copper); }
.counter .lbl { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 8px; letter-spacing: 0.04em; }

/* =====================================================================
   Clubhouse
   ===================================================================== */
.club { position: relative; padding-bottom: 120px; }
.club__banner { width: 100%; height: clamp(380px, 56vh, 620px); object-fit: cover; }
.club__box {
  position: relative; z-index: 2;
  max-width: 760px; margin: -150px auto 0;
  background: var(--ink); color: #e7edf7;
  border-radius: var(--radius-lg); padding: 50px 56px; text-align: center;
  box-shadow: var(--shadow-lg);
}
.club__box .eyebrow { color: var(--copper-2); }
.club__box .brand__logo { width: 60px; height: 60px; margin: 0 auto 16px; }
.club__box h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 8px; }
.club__box p { color: #c4cee0; font-size: 1rem; margin: 14px 0 0; }
.club__stat { display: inline-block; margin-top: 22px; font-family: var(--serif); font-size: 1.1rem; color: var(--copper-2); }

/* =====================================================================
   Carousel (vanilla) — used by amenities & gallery
   ===================================================================== */
.carousel { position: relative; }
.carousel__track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: 6px 2px 14px; -ms-overflow-style: none; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item { flex: 0 0 auto; scroll-snap-align: start; }
/* Staggered entrance cascade for amenity & gallery cards
   (gallery cards ARE the carousel item, amenities nest the card inside) */
.carousel__item:nth-child(2) .reveal, .carousel__item:nth-child(2).reveal { transition-delay: 0.07s; }
.carousel__item:nth-child(3) .reveal, .carousel__item:nth-child(3).reveal { transition-delay: 0.14s; }
.carousel__item:nth-child(4) .reveal, .carousel__item:nth-child(4).reveal { transition-delay: 0.21s; }
.carousel__item:nth-child(5) .reveal, .carousel__item:nth-child(5).reveal { transition-delay: 0.28s; }
.carousel__item:nth-child(6) .reveal, .carousel__item:nth-child(6).reveal { transition-delay: 0.35s; }
.amenity-card.media img, .gallery-card img { transition: transform 0.7s var(--ease); }
.amenity-card.media:active img, .gallery-card:active img { transform: scale(1.05); }
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink);
  font-size: 1rem; box-shadow: var(--shadow-sm); z-index: 3; transition: 0.25s;
}
.carousel__btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.carousel__btn.prev { left: -10px; }
.carousel__btn.next { right: -10px; }
@media (max-width: 640px) { .carousel__btn { display: none; } }

/* Infinite right-to-left marquee — carousels with more than 2 items */
.carousel.is-marquee { overflow: hidden; }
.carousel.is-marquee .carousel__track {
  width: max-content;
  overflow: visible;
  scroll-snap-type: none;
  animation: marquee-rtl var(--marquee-duration, 40s) linear infinite;
  will-change: transform;
}
.carousel.is-marquee:hover .carousel__track,
.carousel.is-marquee:focus-within .carousel__track { animation-play-state: paused; }
@keyframes marquee-rtl {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(var(--marquee-shift, 50%) * -1)); }
}
@media (prefers-reduced-motion: reduce) {
  .carousel.is-marquee .carousel__track { animation: none; }
}

/* Amenities items */
.amenity-card {
  width: 230px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 22px; text-align: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, background 0.4s;
}
.amenity-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.amenity-card .ic {
  width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 18px;
  display: grid; place-items: center; background: rgba(176,122,72,0.1); color: var(--copper); font-size: 1.6rem;
}
.amenity-card .title { font-weight: 500; color: var(--ink); font-size: 1rem; }

/* Image-based amenity cards */
.amenity-card.media { width: 300px; padding: 0; overflow: hidden; }
.amenity-card.media img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.7s var(--ease); }
.amenity-card.media:hover img { transform: scale(1.07); }
.amenity-card.media .title { padding: 16px 18px; display: flex; align-items: center; gap: 10px; justify-content: center; }
.amenity-card.media .title i { color: var(--copper); }
@media (max-width: 640px) { .amenity-card.media { width: 80vw; } }

/* Gallery items */
.gallery-card { width: 360px; border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; }
.gallery-card img { width: 100%; height: 300px; object-fit: cover; transition: transform 0.7s var(--ease); }
.gallery-card:hover img { transform: scale(1.07); }
.gallery-card .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(16,35,63,0.85));
  color: #fff; font-size: 0.8rem; padding: 30px 16px 14px; letter-spacing: 0.04em;
}
.gallery-card .zoom {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.9); color: var(--ink); display: grid; place-items: center;
  opacity: 0; transition: 0.3s;
}
.gallery-card:hover .zoom { opacity: 1; }
@media (max-width: 640px) { .gallery-card { width: 80vw; } .gallery-card img { height: 240px; } }

/* =====================================================================
   Floor / Site Plan
   ===================================================================== */
.plan-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 34px; align-items: start; }
.price-stack { display: flex; flex-direction: column; gap: 16px; }
.price-box {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; cursor: pointer; transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  position: relative;
}
.price-box:hover { box-shadow: var(--shadow-sm); }
.price-box.active { border-color: var(--copper); box-shadow: var(--shadow-md); }
.price-box.active::before {
  content: ""; position: absolute; left: 0; top: 20px; bottom: 20px; width: 3px;
  background: linear-gradient(var(--copper), var(--copper-2)); border-radius: 3px;
}
.price-box h6 { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--copper); margin: 0 0 10px; font-weight: 600; }
.price-box .cfg-name { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); margin-bottom: 10px; }
.price-box ul li { font-size: 0.86rem; color: var(--muted); padding: 4px 0; display: flex; gap: 8px; }
.price-box ul li i { color: var(--copper); font-size: 0.7rem; margin-top: 6px; }
.price-box .price { margin-top: 12px; font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.price-box .price span { color: var(--copper); }

/* right column rides along the taller config stack instead of leaving dead space */
.plan-right { position: sticky; top: calc(var(--nav-h) + 20px); }
@media (max-width: 1024px) { .plan-right { position: static; } }
.plan-tabs { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.plan-tab {
  padding: 12px 24px; border-radius: 50px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); font-weight: 500; font-size: 0.86rem; transition: 0.3s;
}
.plan-tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan-pane { display: none; }
.plan-pane.active { display: block; animation: fade 0.4s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.plan-viewer {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--bone); min-height: 380px; display: grid; place-items: center;
}
.plan-viewer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(8px) saturate(0.85); transform: scale(1.06); }
.plan-viewer__card {
  position: relative; z-index: 2; text-align: center; margin: 28px;
  background: rgba(255,253,250,0.86); backdrop-filter: blur(3px);
  border: 1px solid var(--copper-soft); border-radius: 18px; padding: 36px 38px; max-width: 420px;
  box-shadow: var(--shadow-md);
}
.plan-viewer__card .lock { font-size: 1.6rem; color: var(--copper); margin-bottom: 12px; }
.plan-viewer__card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.plan-viewer__card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 20px; }

/* =====================================================================
   Location
   ===================================================================== */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; align-items: center; }
.loc-map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-height: 420px; }
.loc-map iframe, .loc-map img { width: 100%; height: 100%; min-height: 420px; border: 0; object-fit: cover; display: block; }
.loc-list li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; color: var(--text); }
.loc-list li:last-child { border-bottom: none; }
.loc-list .ic { width: 42px; height: 42px; border-radius: 11px; background: rgba(176,122,72,0.1); color: var(--copper); display: grid; place-items: center; flex-shrink: 0; }

/* =====================================================================
   About / The Vision
   ===================================================================== */
.about { position: relative; overflow: hidden; }
.about__inner { max-width: 860px; margin: 0 auto; text-align: center; }
.about__inner p { color: var(--muted); margin: 16px 0; }
.about__inner p span { color: var(--ink); font-weight: 600; }
.about__pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 36px 0; }
.about__pillar { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; }
.about__pillar i { font-size: 1.5rem; color: var(--copper); margin-bottom: 10px; }
.about__pillar h4 { font-size: 1.05rem; margin-bottom: 4px; }
.about__pillar p { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* =====================================================================
   RERA / Quick facts strip
   ===================================================================== */
.facts-strip { background: var(--ink); color: #e7edf7; }
.facts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.facts-grid .eyebrow { color: var(--copper-2); }
.facts-grid h2 { color: #fff; }
.facts-grid p.lead { color: #c4cee0; margin: 12px 0 22px; }
.facts-note { display: flex; gap: 12px; align-items: flex-start; background: rgba(201,146,94,0.12); border: 1px solid rgba(201,146,94,0.32); border-radius: 14px; padding: 16px 18px; font-size: 0.84rem; color: #d8e0ee; }
.facts-note i { color: var(--copper-2); margin-top: 3px; }
.facts-table { width: 100%; border-collapse: collapse; background: rgba(255,255,255,0.04); border-radius: var(--radius); overflow: hidden; }
.facts-table th, .facts-table td { text-align: left; padding: 14px 20px; font-size: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.facts-table th { width: 44%; color: #fff; font-weight: 600; font-family: var(--sans); }
.facts-table td { color: #b9c4d6; }
.facts-table tr:last-child th, .facts-table tr:last-child td { border-bottom: none; }
.facts-table .pending { color: var(--copper-2); }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq-wrap { max-width: 860px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; background: var(--paper); overflow: hidden; transition: box-shadow 0.3s; }
.faq-item.open { box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; text-align: left; background: transparent; border: none; padding: 22px 24px; font-size: 1.04rem; font-weight: 500; color: var(--ink); font-family: var(--serif); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q i { color: var(--copper); transition: transform 0.35s var(--ease); flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a p { padding: 0 24px 22px; margin: 0; color: var(--muted); font-size: 0.94rem; }

/* =====================================================================
   Blog
   ===================================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.4s var(--ease), box-shadow 0.4s; cursor: pointer; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card__img { aspect-ratio: 16/10; overflow: hidden; background: var(--bone); }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.blog-card:hover .blog-card__img img { transform: scale(1.06); }
.blog-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card__cat { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper); margin-bottom: 10px; }
.blog-card__body h3 { font-size: 1.18rem; margin-bottom: 8px; }
.blog-card__body p { font-size: 0.88rem; color: var(--muted); margin: 0 0 16px; flex: 1; }
.blog-card__meta { font-size: 0.78rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.blog-card__meta .read { margin-left: auto; color: var(--copper); font-weight: 600; }

/* =====================================================================
   Reviews + grievance
   ===================================================================== */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 38px; }
.review-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.review-card .stars { color: var(--copper); margin-bottom: 12px; }
.review-card p { font-size: 0.92rem; color: var(--text); font-style: italic; margin: 0 0 18px; }
.review-card .who { display: flex; align-items: center; gap: 12px; }
.review-card .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 600; font-family: var(--serif); }
.review-card .who strong { display: block; font-size: 0.9rem; color: var(--ink); }
.review-card .who span { font-size: 0.78rem; color: var(--muted); }
.grievance { background: var(--ink); color: #e7edf7; border-radius: var(--radius-lg); padding: 34px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.grievance h3 { color: #fff; margin-bottom: 6px; }
.grievance p { color: #b9c4d6; font-size: 0.9rem; margin: 0; max-width: 540px; }

/* =====================================================================
   Contact
   ===================================================================== */
.contact { background: var(--paper); position: relative; overflow: hidden; }
.contact__form { max-width: 880px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact__form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.78rem; font-weight: 500; color: var(--ink); margin-bottom: 6px; letter-spacing: 0.02em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 0.94rem; background: var(--ivory); color: var(--text);
  transition: border 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(176,122,72,0.14); background: #fff;
}

/* =====================================================================
   Quick Enquiry band
   ===================================================================== */
.enquiry-band { background: var(--ink); color: #e7edf7; position: relative; overflow: hidden; }
.enquiry-band__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.enquiry-band__copy .eyebrow { color: var(--copper-2); }
.enquiry-band__copy h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.enquiry-band__copy > p { color: #c4cee0; margin: 0 0 22px; font-size: 1.02rem; }
.enquiry-band__perks { display: grid; gap: 10px; }
.enquiry-band__perks li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: #d8e0ee; }
.enquiry-band__perks li i { color: var(--copper-2); }
.enquiry-band__form {
  background: var(--paper); color: var(--text);
  border-radius: var(--radius-lg); padding: 32px 30px; box-shadow: var(--shadow-lg);
  display: grid; gap: 14px;
}
.enquiry-band__form .form-consent { margin-top: 4px; }

/* =====================================================================
   Footer
   ===================================================================== */
.footer { background: #0c1c33; color: #aeb9cc; padding: 64px 0 0; }
.footer__top { text-align: center; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer__top .brand { justify-content: center; margin-bottom: 16px; }
.footer__top .brand__name { color: #fff; }
.footer__rera { display: flex; justify-content: center; gap: 14px 40px; flex-wrap: wrap; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 0.84rem; }
.footer__rera span { color: #cdd7e8; }
.footer__rera b { color: var(--copper-2); }
.footer__cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 36px; padding: 44px 0; }
.footer h4 { color: #fff; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--sans); font-weight: 600; }
.footer__about p { font-size: 0.87rem; margin: 14px 0 0; max-width: 320px; }
.footer__social { display: flex; gap: 12px; margin-top: 18px; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); display: grid; place-items: center; color: #fff; transition: 0.3s; }
.footer__social a:hover { background: var(--copper); border-color: var(--copper); }
.footer ul li { margin-bottom: 11px; }
.footer ul li a { font-size: 0.87rem; transition: color 0.25s; }
.footer ul li a:hover { color: var(--copper-2); }
.footer__contact li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.87rem; margin-bottom: 13px; }
.footer__contact i { color: var(--copper-2); margin-top: 3px; }
.footer__disclaimer { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; font-size: 0.73rem; color: #7d899e; line-height: 1.7; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 0.79rem; color: #8492a8; }
.footer__bottom a:hover { color: var(--copper-2); }

/* =====================================================================
   Floating WhatsApp + mobile sticky bar
   ===================================================================== */
.wa-float {
  position: fixed; left: 18px; bottom: 18px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; font-size: 1.6rem; box-shadow: var(--shadow-md);
  transition: transform 0.3s;
}
.wa-float:hover { transform: scale(1.1); }
.mobile-bar { display: none; }
@media (max-width: 820px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(16,35,63,0.12);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px; font-weight: 600; font-size: 0.9rem; }
  .mobile-bar a.enq { background: var(--copper); color: #fff; }
  .mobile-bar a.call { background: var(--ink); color: #fff; }
  .wa-float { bottom: 76px; }
  body { padding-bottom: 56px; }
}

/* =====================================================================
   Modals
   ===================================================================== */
.modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(16,35,63,0.6); backdrop-filter: blur(4px); }
.modal.open { display: flex; animation: fade 0.3s; }
.modal__box { background: var(--paper); border-radius: var(--radius-lg); width: 100%; max-width: 460px; max-height: 92vh; overflow-y: auto; box-shadow: var(--shadow-lg); position: relative; animation: pop 0.4s var(--ease); }
.modal__box.wide { max-width: 720px; }
@keyframes pop { from { transform: translateY(20px) scale(0.97); opacity: 0; } to { transform: none; opacity: 1; } }
.modal__close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-size: 1.2rem; color: var(--ink); z-index: 4; display: grid; place-items: center; }
.modal__close:hover { background: var(--bone); }
.modal__head { padding: 28px 30px 0; text-align: center; }
.modal__head .brand__logo { width: 54px; height: 54px; margin: 0 auto 12px; }
.modal__head h3 { font-size: 1.5rem; margin-bottom: 6px; }
.modal__head p { color: var(--muted); font-size: 0.9rem; margin: 0; }
.modal__body { padding: 22px 30px 30px; }
.modal__body .field { margin-bottom: 14px; }
.form-consent { font-size: 0.72rem; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.thankyou { text-align: center; padding: 44px 36px; }
.thankyou .check { width: 76px; height: 76px; border-radius: 50%; background: rgba(176,122,72,0.12); color: var(--copper); display: grid; place-items: center; font-size: 2rem; margin: 0 auto 22px; }
.thankyou h3 { font-size: 1.6rem; margin-bottom: 10px; }
.thankyou p { color: var(--muted); margin-bottom: 24px; }

.offer-modal .modal__box { max-width: 540px; overflow: hidden; }
.offer-hero { background: linear-gradient(135deg, #10233f, #1c3357); color: #fff; padding: 36px; text-align: center; }
.offer-hero .tag { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper-2); font-weight: 600; }
.offer-hero h3 { color: #fff; font-size: 1.9rem; margin: 10px 0 6px; }
.offer-hero h3 em { color: var(--copper-2); font-style: italic; }
.offer-hero p { color: #cdd7e8; font-size: 0.9rem; margin: 0; }
.offer-body { padding: 26px 36px 32px; }
.offer-perks { margin-bottom: 20px; }
.offer-perks li { display: flex; gap: 10px; align-items: center; padding: 7px 0; font-size: 0.9rem; }
.offer-perks li i { color: var(--copper); }

.reader__img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.reader__content { padding: 30px 36px 36px; }
.reader__content .blog-card__cat { margin-bottom: 12px; }
.reader__content h2 { font-size: 1.8rem; margin-bottom: 10px; }
.reader__meta { font-size: 0.82rem; color: var(--muted); margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.reader__body p { color: var(--text); margin-bottom: 16px; font-size: 0.95rem; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 320; display: none; align-items: center; justify-content: center; background: rgba(8,18,33,0.92); padding: 30px; }
.lightbox.open { display: flex; animation: fade 0.3s; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; top: 22px; right: 26px; color: #fff; font-size: 2rem; background: none; border: none; }
.lightbox__cap { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: #e7edf7; font-size: 0.85rem; letter-spacing: 0.05em; }

/* =====================================================================
   Admin (unchanged styles)
   ===================================================================== */
.admin-body { background: var(--ivory); min-height: 100vh; }
.gate { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.gate__card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px 40px; width: 100%; max-width: 420px; box-shadow: var(--shadow-md); text-align: center; }
.gate__card .brand { justify-content: center; margin-bottom: 24px; }
.gate__card h1 { font-size: 1.7rem; margin-bottom: 6px; }
.gate__card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }
.gate__error { color: #c0392b; font-size: 0.84rem; margin-top: 12px; min-height: 20px; }
.admin-shell { display: none; }
.admin-top { background: var(--ink); color: #fff; padding: 16px 0; }
.admin-top .container { display: flex; align-items: center; justify-content: space-between; }
.admin-top .brand__name { color: #fff; }
.admin-top .brand__name span { color: var(--copper-2); }
.admin-nav { display: flex; gap: 8px; }
.admin-nav button { background: transparent; border: 1px solid rgba(255,255,255,0.2); color: #fff; padding: 9px 18px; border-radius: 50px; font-weight: 500; font-size: 0.84rem; transition: 0.3s; }
.admin-nav button.active { background: var(--copper); border-color: var(--copper); }
.admin-main { padding: 40px 0 80px; }
.admin-view { display: none; }
.admin-view.active { display: block; animation: fade 0.4s; }
.admin-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; gap: 16px; flex-wrap: wrap; }
.admin-head h2 { margin: 0; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
.stat-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.stat-box .n { font-family: var(--serif); font-size: 2rem; color: var(--ink); line-height: 1; }
.stat-box .l { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 24px; }
.panel h3 { font-size: 1.3rem; margin-bottom: 18px; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { text-align: left; padding: 13px 14px; font-size: 0.86rem; border-bottom: 1px solid var(--line); }
.data-table th { color: var(--ink); font-weight: 600; background: rgba(16,35,63,0.02); }
.data-table td { color: var(--text); }
.data-table .actions { display: flex; gap: 8px; }
.icon-btn { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--ink); display: grid; place-items: center; transition: 0.25s; }
.icon-btn:hover { background: var(--bone); }
.icon-btn.danger:hover { background: #fdecea; color: #c0392b; border-color: #f5c6cb; }
.table-wrap { overflow-x: auto; }
.admin-empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.admin-empty i { font-size: 2rem; color: var(--copper); margin-bottom: 12px; }
.tag-pill { display: inline-block; padding: 3px 10px; border-radius: 50px; font-size: 0.72rem; font-weight: 600; background: rgba(176,122,72,0.12); color: var(--copper); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* =====================================================================
   Reveal on scroll
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =====================================================================
   Graceful fallback when image files are missing — show an elegant
   gradient panel instead of a broken-image icon + alt text.
   ===================================================================== */
img.img-broken { opacity: 0 !important; }
.hero { background: linear-gradient(135deg, #16294a, #0c1c33); }
.hero__bg { background: linear-gradient(135deg, #1a2e50, #0c1c33); }
.amenity-card.media { background: linear-gradient(140deg, #ece0d2, #d9c4ab); }
.gallery-card { background: linear-gradient(140deg, #ece0d2, #d9c4ab); }
.blog-card__img { background: linear-gradient(140deg, #ece0d2, #d9c4ab); }
.sidenav__art { background: linear-gradient(140deg, #ece0d2, #d9c4ab); min-height: 150px; }
.plan-viewer { background: linear-gradient(140deg, #e8e2d8, #d8cfc0); }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1024px) {
  .plan-grid, .loc-grid, .facts-grid { grid-template-columns: 1fr; }
  .blog-grid, .reviews-grid { grid-template-columns: 1fr 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .top-link.line-hide { display: none; }
  .section-pad { padding: 64px 0; }
  .club__box { margin-top: -110px; padding: 38px 28px; }
  .blog-grid, .reviews-grid { grid-template-columns: 1fr; }
  .contact__form { grid-template-columns: 1fr; }
  .enquiry-band__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .admin-top .container { flex-direction: column; align-items: flex-start; gap: 14px; }
  .admin-nav { width: 100%; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  /* Center all CTAs on mobile */
  .hero__cta { justify-content: center; }
  .loc-cta { text-align: center; }
  .grievance { justify-content: center; text-align: center; }
  .btn-center { text-align: center; }
}
@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .counter { min-width: 50%; border-bottom: 1px solid var(--line); }
  .form-row { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .brand__name span { display: none; }
  .footer__contact li, .footer__about p, .facts-table td { overflow-wrap: anywhere; }
  .about__pillars { grid-template-columns: 1fr; }
}

/* ---------- Small phones ---------- */
@media (max-width: 480px) {
  :root { --nav-h: 70px; }
  .topbar__right { gap: 12px; }
  .top-link.cta { display: none; }            /* CTAs live in the sticky mobile bar */
  .brand__logo { width: 42px; height: 42px; }
  .brand__name { font-size: 1.08rem; }
  .menu-toggle { width: 46px; height: 44px; }
  .section-pad { padding: 52px 0; }
  .head-lockup { margin-bottom: 36px; }
  .hero { min-height: 78vh; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { width: 100%; }
  .btn { padding: 14px 22px; font-size: 0.9rem; }
  .counter { padding: 22px 12px; }
  .counter .num { font-size: 1.9rem; }
  .plan-viewer { min-height: 320px; }
  .plan-viewer__card { margin: 14px; padding: 26px 22px; }
  .price-box { padding: 20px 20px; }
  .grievance { padding: 26px 22px; }
  .facts-table th, .facts-table td { padding: 12px 14px; font-size: 0.84rem; }
  .modal__head { padding: 24px 20px 0; }
  .modal__body { padding: 18px 20px 26px; }
  .offer-hero { padding: 28px 22px; }
  .offer-body { padding: 22px 22px 28px; }
  .offer-hero h3 { font-size: 1.5rem; }
  .reader__content { padding: 22px 22px 28px; }
  .reader__content h2 { font-size: 1.45rem; }
  .thankyou { padding: 36px 24px; }
}

/* ---------- Extra-small phones ---------- */
@media (max-width: 360px) {
  .counter { min-width: 100%; border-right: none; }
  .hero__type { font-size: 1.2rem; }
}
