/* ==========================================================================
   JMD CONSTRUCTIONS — Stylesheet
   Sector 73, Noida | Freehold Builder Floors
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,400;0,500;0,600;0,700;1,500&family=Jost:wght@300;400;500;600;700&display=swap');

:root{
  /* ---- Color tokens ---- */
  --cream:        #FAF8F5;
  --cream-deep:   #F1ECE3;
  --ink:          #1A1714;
  --ink-soft:     #2B2620;
  --stone:        #6B6459;
  --stone-light:  #9A9284;
  --gold:         #B8935A;
  --gold-light:   #D9B87D;
  --gold-pale:    #EFE3CC;
  --line:         #E4DDCF;
  --white:        #FFFFFF;
  --success:      #3E7A56;

  /* ---- Type ---- */
  --font-display: 'Cormorant', 'Georgia', serif;
  --font-body:    'Jost', 'Segoe UI', sans-serif;

  /* ---- Layout ---- */
  --max-w: 1280px;
  --gutter: clamp(24px, 6vw, 88px);
  --radius: 2px;
  --radius-img: 4px;

  /* ---- Motion ---- */
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: 112px; }

body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }
input, select, textarea{ font-family:inherit; font-size:1rem; }

.container{
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; }
}

/* ---- Focus visibility ---- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ==========================================================================
   Typography helpers
   ========================================================================== */
h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1{ font-size: clamp(2.6rem, 5.4vw, 4.6rem); font-weight: 600; letter-spacing:-0.01em; }
h2{ font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3{ font-size: clamp(1.35rem, 2vw, 1.7rem); }
p{ margin: 0 0 1em; color: var(--stone); max-width: 62ch; }

.section-head{
  margin-bottom: 52px;
  max-width: 640px;
}
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-tag{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  font-weight:600;
  margin-bottom: 14px;
}
.section-tag::before{
  content:"";
  width: 26px; height:1px;
  background: var(--gold);
  display:inline-block;
}
.section-head p{ font-size:1.08rem; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 15px 32px;
  font-size: 0.95rem;
  font-weight:600;
  letter-spacing:0.02em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background .28s var(--ease), color .28s var(--ease), border-color .28s var(--ease), transform .28s var(--ease);
  white-space: nowrap;
}
.btn-primary{
  background: var(--ink);
  color: var(--gold-pale);
  border-color: var(--ink);
}
.btn-primary:hover{ background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-2px); }
.btn-gold{
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn-gold:hover{ background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); }
.btn-outline{
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover{ background: var(--ink); color: var(--cream); }
.btn-outline.on-dark{ color: var(--gold-pale); border-color: rgba(217,184,125,.5); }
.btn-outline.on-dark:hover{ background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-block{ width:100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 500;
  background: rgba(250,248,245,0.0);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.scrolled{
  background: rgba(250,248,245,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(26,23,20,0.05);
}
.site-header.scrolled .header-inner{
  padding-top: 20px;
  padding-bottom: 20px;
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 30px var(--gutter);
  max-width: var(--max-w);
  margin:0 auto;
  gap: 32px;
}
.logo{
  display:flex;
  flex-direction:column;
  line-height:1;
}
.logo .logo-image{
  height: 80px;
  width:auto;
  display:block;
}
.logo .logo-main{
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight:700;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.site-header:not(.scrolled) .logo .logo-main{ color: var(--white); }
.logo .logo-sub{
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-top: 4px;
  font-weight:600;
}
.logo .logo-loc{
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--stone);
  margin-top: 2px;
  font-weight:600;
}
.site-header:not(.scrolled) .logo .logo-loc{ color: rgba(255,255,255,0.75); }

.main-nav{ display:flex; align-items:center; gap: 52px; }
.main-nav a{
  font-size: 0.93rem;
  font-weight:500;
  color: var(--ink);
  position:relative;
  padding: 4px 0;
}
.site-header:not(.scrolled) .main-nav a{ color: var(--white); }
.main-nav a::after{
  content:"";
  position:absolute; left:0; right:0; bottom:-2px;
  height:1px; background: var(--gold);
  transform: scaleX(0); transform-origin:left;
  transition: transform .3s var(--ease);
}
.main-nav a:hover::after{ transform:scaleX(1); }

.header-cta{ display:flex; align-items:center; gap:26px; flex:none; }
.header-phone{
  display:flex; align-items:center; gap:8px;
  font-size:0.92rem; font-weight:600;
  color: var(--ink);
  white-space: nowrap;
}
.site-header:not(.scrolled) .header-phone{ color: var(--white); }

.nav-toggle{
  display:none;
  width: 40px; height:40px;
  border:none; background:transparent;
  position:relative;
  z-index:600;
}
.nav-toggle span{
  display:block; position:absolute; left:8px; right:8px;
  height:2px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s var(--ease), background .3s var(--ease);
}
.site-header:not(.scrolled) .nav-toggle span{ background: var(--white); }
.nav-toggle span:nth-child(1){ top:13px; }
.nav-toggle span:nth-child(2){ top:19px; }
.nav-toggle span:nth-child(3){ top:25px; }
.nav-open .nav-toggle span{ background: var(--ink) !important; }
.nav-open .nav-toggle span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2){ opacity:0; }
.nav-open .nav-toggle span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position:relative;
  min-height: 100vh;
  display:flex;
  align-items:center;
  color: var(--white);
  overflow:hidden;
  background: linear-gradient(135deg, #1A1714 0%, #221D18 50%, #2B2620 100%);
}
.hero::before{
  content:"";
  position:absolute;
  top:-15%; right:-12%;
  width:56%; height:80%;
  background: radial-gradient(circle, rgba(184,147,90,0.16) 0%, rgba(184,147,90,0) 70%);
  pointer-events:none;
}
.hero-inner{
  position:relative; z-index:2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 232px var(--gutter) 150px;
  width:100%;
}
.hero-grid{
  display:grid;
  grid-template-columns: 45fr 55fr;
  gap: 56px;
  align-items:center;
}
.hero-content{ max-width: 620px; }
.hero .section-tag{ color: var(--gold-light); margin-bottom: 26px; }
.hero .section-tag::before{ background: var(--gold-light); }
.hero h1{
  color: var(--white);
  margin-bottom: 0.55em;
}
.hero h1 em{
  font-style: italic;
  color: var(--gold-light);
}
.hero-lede{
  color: rgba(255,255,255,0.82);
  font-size: 1.15rem;
  max-width: 54ch;
  margin-bottom: 2.6em;
}
.hero-actions{ display:flex; gap:20px; flex-wrap:wrap; margin-bottom: 84px; }

.hero-stats{
  display:grid;
  grid-template-columns: repeat(4, auto);
  gap: 28px;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 36px;
  max-width: 640px;
}
.hero-stats .stat-num{
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--gold-light);
  font-weight:600;
  display:block;
}
.hero-stats .stat-label{
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

.hero-scroll{
  position:absolute; bottom: 34px; left: 50%;
  transform: translateX(-50%);
  z-index:2;
  color: rgba(255,255,255,0.75);
  display:flex; flex-direction:column; align-items:center; gap:8px;
  font-size:0.72rem; letter-spacing:0.12em;
}
.hero-scroll .line{ width:1px; height:34px; background: rgba(255,255,255,0.5); position:relative; overflow:hidden; }
.hero-scroll .line::after{
  content:""; position:absolute; top:-100%; left:0; width:100%; height:100%;
  background: var(--gold-light);
  animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine{ to{ top:100%; } }

.hero-visual{
  position:relative;
  align-self:center;
  z-index:1;
  width:100%;
}
.hero-visual-frame{
  position:absolute;
  top: 16px; right: -16px; bottom: -16px; left: 16px;
  border: 1px solid rgba(217,184,125,0.4);
  border-radius: var(--radius-img);
  z-index:0;
}
.hero-visual img{
  position:relative;
  z-index:1;
  display:block;
  width:100%;
  aspect-ratio: 1536 / 1024;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-img);
  box-shadow: 0 30px 70px rgba(0,0,0,0.45);
  background: var(--ink-soft);
}

/* ==========================================================================
   About
   ========================================================================== */
.about{ padding: 120px 0; background: var(--cream); }
.about-grid{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items:center;
}
.about-media{ position:relative; }
.about-media img{
  border-radius: var(--radius-img);
  width:100%;
  aspect-ratio: 6/7;
  object-fit:cover;
}
.about-media-badge{
  position:absolute;
  bottom: -28px; left: -28px;
  background: var(--ink);
  color: var(--gold-pale);
  padding: 26px 30px;
  border-radius: var(--radius);
  max-width: 230px;
}
.about-media-badge .num{
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--gold-light);
  display:block;
  line-height:1;
}
.about-media-badge .lbl{ font-size:0.82rem; color: rgba(250,248,245,0.75); margin-top:6px; }

.about-list{
  margin: 32px 0 40px;
  display:grid;
  gap: 18px;
}
.about-list li{
  display:flex; align-items:flex-start; gap:14px;
  font-size: 0.98rem;
  color: var(--ink-soft);
  font-weight:500;
}
.about-list .tick{
  flex:none;
  width:22px; height:22px;
  border-radius:50%;
  border:1px solid var(--gold);
  color: var(--gold);
  display:flex; align-items:center; justify-content:center;
  font-size:0.7rem;
  margin-top:2px;
}

/* ==========================================================================
   Featured Properties
   ========================================================================== */
.properties{ padding: 120px 0; background: var(--cream-deep); }
.properties-head-row{
  display:flex; justify-content:space-between; align-items:flex-end; gap:24px;
  margin-bottom: 52px;
}
.properties-head-row .section-head{ margin-bottom:0; }
.property-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.property-card{
  background: var(--white);
  border-radius: var(--radius);
  overflow:hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  border: 1px solid var(--line);
}
.property-card:hover{ transform: translateY(-6px); box-shadow: 0 24px 48px rgba(26,23,20,0.10); }
.property-media{ position:relative; overflow:hidden; aspect-ratio: 4/3; }
.property-media img{ width:100%; height:100%; object-fit:cover; transition: transform .6s var(--ease); }
.property-card:hover .property-media img{ transform: scale(1.07); }
.property-badge{
  position:absolute; top:16px; left:16px;
  background: var(--gold);
  color: var(--ink);
  font-size:0.72rem; font-weight:700; letter-spacing:0.03em;
  padding: 7px 14px;
  border-radius: var(--radius);
}
.property-body{ padding: 26px 26px 28px; }
.property-body h3{ margin-bottom:6px; }
.property-loc{
  font-size:0.85rem; color: var(--stone); margin-bottom:16px; display:flex; align-items:center; gap:6px;
}
.property-specs{
  display:flex; gap:18px;
  padding-top:16px; margin-top:6px;
  border-top:1px solid var(--line);
  font-size:0.83rem; color: var(--stone);
}
.property-specs strong{ color: var(--ink); display:block; font-size:0.95rem; font-family: var(--font-display); }
.property-footer{
  display:flex; align-items:center; justify-content:space-between;
  margin-top:20px;
}
.property-grid-4{ grid-template-columns: repeat(4, 1fr); }
.property-desc{ font-size:0.92rem; margin-bottom:18px; }
.property-price{
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight:600;
  color: var(--gold);
  padding-top:16px;
  margin-bottom:18px;
  border-top:1px solid var(--line);
}
.property-actions .btn{ margin-bottom:12px; padding:13px 16px; font-size:0.88rem; }
.property-actions-row{ display:flex; gap:10px; }
.icon-btn{
  flex:1;
  display:flex; align-items:center; justify-content:center;
  height:42px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.icon-btn svg{ width:18px; height:18px; }
.icon-btn:hover{ background: var(--ink); border-color: var(--ink); color: var(--gold-light); }
.icon-btn.whatsapp:hover{ background:#25D366; border-color:#25D366; color: var(--white); }
.link-arrow{
  font-size:0.85rem; font-weight:600; color: var(--ink);
  display:flex; align-items:center; gap:6px;
  border-bottom: 1px solid var(--gold);
  padding-bottom:2px;
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery{ padding: 120px 0; background: var(--ink); color: var(--cream); }
.gallery .section-tag{ color: var(--gold-light); }
.gallery .section-tag::before{ background: var(--gold-light); }
.gallery h2{ color: var(--white); }
.gallery .section-head p{ color: rgba(250,248,245,0.68); }
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 150px;
  gap: 14px;
}
.gallery-grid figure{
  margin:0; overflow:hidden; border-radius: var(--radius-img);
  position:relative; cursor:pointer;
}
.gallery-grid figure img{ width:100%; height:100%; object-fit:cover; transition: transform .5s var(--ease); }
.gallery-grid figure:hover img{ transform: scale(1.08); }
.gallery-grid figure[data-caption]:not([data-caption=""])::after{
  content: attr(data-caption);
  position:absolute; left:0; right:0; bottom:0;
  padding: 12px 14px;
  font-size:0.78rem; font-weight:600;
  color: var(--white);
  background: linear-gradient(0deg, rgba(0,0,0,.75), rgba(0,0,0,0));
  transform: translateY(100%);
  transition: transform .3s var(--ease);
}
.gallery-grid figure[data-caption]:not([data-caption=""]):hover::after{ transform: translateY(0); }
.gallery-grid figure.tall{ grid-row: span 2; }
.gallery-grid figure.wide{ grid-column: span 2; }

/* Lightbox */
.lightbox{
  position:fixed; inset:0; z-index:900;
  background: rgba(15,13,11,0.94);
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
  padding: 30px;
}
.lightbox.active{ opacity:1; visibility:visible; }
.lightbox img{ max-width:min(90vw,900px); max-height:80vh; border-radius: var(--radius-img); }
.lightbox-close{
  position:absolute; top:24px; right:28px;
  width:44px; height:44px; border-radius:50%;
  background: rgba(255,255,255,0.1); border:1px solid rgba(255,255,255,0.3);
  color: var(--white); font-size:1.3rem; display:flex; align-items:center; justify-content:center;
}
.lightbox-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:48px; height:48px; border-radius:50%;
  background: rgba(255,255,255,0.1); border:1px solid rgba(255,255,255,0.3);
  color: var(--white); font-size:1.2rem; display:flex; align-items:center; justify-content:center;
}
.lightbox-prev{ left:24px; }
.lightbox-next{ right:24px; }
.lightbox-caption{
  position:absolute; bottom:26px; left:0; right:0; text-align:center;
  color: rgba(255,255,255,0.8); font-size:0.9rem;
}

/* ==========================================================================
   Why Choose Us
   ========================================================================== */
.why{ padding: 120px 0; background: var(--cream-deep); }
.why-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.why-card{
  background: var(--cream-deep);
  padding: 44px 36px;
  transition: background .3s var(--ease);
}
.why-card:hover{ background: var(--white); }
.why-icon{
  width:52px; height:52px;
  border: 1px solid var(--gold);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color: var(--gold);
  margin-bottom: 24px;
}
.why-icon svg{ width:24px; height:24px; }
.why-card h3{ margin-bottom:10px; }
.why-card p{ font-size:0.94rem; margin-bottom:0; }

/* ==========================================================================
   Location
   ========================================================================== */
.location{ padding: 120px 0; background: var(--cream); }
.location-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items:center;
}
.location-media{ position:relative; }
.location-media img{
  border-radius: var(--radius-img);
  aspect-ratio: 4/3; object-fit:cover; width:100%;
}
.location-media iframe{
  border-radius: var(--radius-img);
  aspect-ratio: 4/3; width:100%; height:auto;
  border:0; display:block;
}
.location-pin{
  position:absolute; top:50%; left:50%; transform: translate(-50%,-50%);
  width:52px; height:52px; border-radius:50%;
  background: var(--gold);
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 0 0 0 rgba(184,147,90,0.6);
  animation: pinPulse 2.4s infinite;
  color: var(--ink);
}
@keyframes pinPulse{
  0%{ box-shadow: 0 0 0 0 rgba(184,147,90,0.55); }
  70%{ box-shadow: 0 0 0 22px rgba(184,147,90,0); }
  100%{ box-shadow: 0 0 0 0 rgba(184,147,90,0); }
}
.location-list{ display:grid; gap: 22px; margin-top: 8px; }
.location-item{ display:flex; gap:18px; align-items:flex-start; }
.location-item .loc-icon{
  flex:none; width:44px; height:44px; border-radius:50%;
  background: var(--gold-pale); color: var(--gold);
  display:flex; align-items:center; justify-content:center;
}
.location-item .loc-icon svg{ width:20px; height:20px; }
.location-item h4{ font-family:var(--font-body); font-weight:600; font-size:1rem; margin:0 0 4px; color: var(--ink); }
.location-item p{ font-size:0.92rem; margin:0; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq{ padding: 120px 0; background: var(--cream-deep); }
.faq-wrap{ max-width: 820px; margin: 0 auto; }
.faq-item{
  border-bottom: 1px solid var(--line);
}
.faq-q{
  width:100%;
  display:flex; align-items:center; justify-content:space-between; gap: 20px;
  background:none; border:none;
  padding: 26px 4px;
  text-align:left;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight:600;
  color: var(--ink);
}
.faq-q .icon{
  flex:none;
  width:30px; height:30px;
  border:1px solid var(--gold);
  border-radius:50%;
  position:relative;
}
.faq-q .icon::before, .faq-q .icon::after{
  content:"";
  position:absolute; background: var(--gold);
  top:50%; left:50%;
  transform: translate(-50%,-50%);
}
.faq-q .icon::before{ width:12px; height:1.5px; }
.faq-q .icon::after{ width:1.5px; height:12px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.faq-item.open .faq-q .icon::after{ transform: translate(-50%,-50%) rotate(90deg); opacity:0; }
.faq-a{
  max-height:0; overflow:hidden;
  transition: max-height .35s var(--ease);
}
.faq-a-inner{ padding: 0 4px 26px; }
.faq-a-inner p{ margin:0; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact{ padding: 120px 0; background: var(--ink); color: var(--cream); }
.contact .section-tag{ color: var(--gold-light); }
.contact .section-tag::before{ background: var(--gold-light); }
.contact h2{ color: var(--white); }
.contact .section-head p{ color: rgba(250,248,245,0.68); }
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contact-info-list{ display:grid; gap:26px; margin-top: 32px; }
.contact-info-item{ display:flex; gap:18px; align-items:flex-start; }
.contact-info-item .ci-icon{
  flex:none; width:46px; height:46px; border-radius:50%;
  border: 1px solid rgba(217,184,125,0.45);
  color: var(--gold-light);
  display:flex; align-items:center; justify-content:center;
}
.contact-info-item .ci-icon svg{ width:20px; height:20px; }
.contact-info-item h4{ font-family:var(--font-body); font-size:0.98rem; margin:0 0 3px; color: var(--white); font-weight:600; }
.contact-info-item p{ margin:0; color: rgba(250,248,245,0.65); font-size:0.93rem; }
.contact-social{ display:flex; gap:12px; margin-top:38px; }
.contact-social a{
  width:42px; height:42px; border-radius:50%;
  border: 1px solid rgba(217,184,125,0.4);
  display:flex; align-items:center; justify-content:center;
  color: var(--gold-light);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.contact-social a:hover{ background: var(--gold); color: var(--ink); }
.contact-social svg{ width:18px; height:18px; }

.contact-btn-row{ display:flex; flex-wrap:wrap; gap:14px; margin-top:38px; }

.contact-form{
  background: var(--cream);
  color: var(--ink);
  padding: 42px;
  border-radius: var(--radius);
}
.contact-form h3{ margin-bottom: 22px; }

.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap:18px; }
.form-field{ margin-bottom: 18px; }
.form-field label{
  display:block; font-size:0.82rem; font-weight:600; margin-bottom:7px; color: var(--ink-soft);
}
.form-field input, .form-field select, .form-field textarea{
  width:100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,147,90,0.15);
  outline:none;
}
.form-field textarea{ resize: vertical; min-height:100px; }
.form-note{ font-size:0.78rem; color: var(--stone-light); margin-top:14px; margin-bottom:0; }
.form-success{
  display:none;
  background: rgba(62,122,86,0.1);
  border: 1px solid rgba(62,122,86,0.4);
  color: var(--success);
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  margin-bottom: 18px;
  font-weight:600;
}
.form-success.show{ display:block; }
.form-error{
  display:none;
  background: rgba(178,58,58,0.08);
  border: 1px solid rgba(178,58,58,0.35);
  color: #B23A3A;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  margin-bottom: 18px;
  font-weight:600;
}
.form-error.show{ display:block; }
.jmd-hp-field{
  position:absolute !important;
  left:-9999px !important;
  top:auto;
  width:1px; height:1px;
  overflow:hidden;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{ background: var(--ink-soft); color: rgba(250,248,245,0.72); padding: 72px 0 0; }
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-main{ font-family: var(--font-display); font-size:1.7rem; color: var(--white); }
.footer-brand .logo-sub{ font-size:0.62rem; letter-spacing:0.18em; color: var(--gold-light); margin: 4px 0 18px; font-weight:600; }
.footer-brand p{ color: rgba(250,248,245,0.6); font-size:0.9rem; }
.footer-social{ display:flex; gap:12px; margin-top:20px; }
.footer-social a{
  width:38px; height:38px; border-radius:50%;
  border: 1px solid rgba(217,184,125,0.35);
  display:flex; align-items:center; justify-content:center;
  color: var(--gold-light);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.footer-social a:hover{ background: var(--gold); border-color: var(--gold); color: var(--ink); }
.footer-social svg{ width:17px; height:17px; }
.footer-col h4{ color: var(--white); font-family: var(--font-body); font-size:0.92rem; letter-spacing:0.02em; margin-bottom:20px; font-weight:600; }
.footer-col ul{ display:grid; gap:12px; }
.footer-col a{ font-size:0.9rem; color: rgba(250,248,245,0.65); transition: color .2s var(--ease); }
.footer-col a:hover{ color: var(--gold-light); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
  padding: 24px 0; font-size:0.82rem; color: rgba(250,248,245,0.5);
}
.footer-bottom a{ color: rgba(250,248,245,0.5); }
.footer-bottom a:hover{ color: var(--gold-light); }

/* ==========================================================================
   Floating Call / WhatsApp
   ========================================================================== */
.float-actions{
  position:fixed; right:22px; bottom:22px; z-index:400;
  display:flex; flex-direction:column; gap:14px;
}
.float-btn{
  width:56px; height:56px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 10px 26px rgba(26,23,20,0.28);
  color: var(--white);
  transition: transform .25s var(--ease);
}
.float-btn:hover{ transform: translateY(-3px) scale(1.04); }
.float-btn svg{ width:26px; height:26px; }
.float-call{ background: var(--ink); }
.float-whatsapp{ background: #25D366; }

/* ==========================================================================
   Enquiry Popup Modal
   ========================================================================== */
.modal-overlay{
  position:fixed; inset:0; z-index:800;
  background: rgba(20,17,14,0.68);
  display:flex; align-items:center; justify-content:center;
  padding: 20px;
  opacity:0; visibility:hidden;
  transition: opacity .32s var(--ease), visibility .32s var(--ease);
}
.modal-overlay.active{ opacity:1; visibility:visible; }
.modal-box{
  background: var(--cream);
  width: 100%; max-width: 560px;
  max-height: 92vh;
  overflow-y:auto;
  border-radius: var(--radius);
  position:relative;
  padding: 44px 40px 36px;
  transform: translateY(24px) scale(.98);
  transition: transform .35s var(--ease);
  border-top: 3px solid var(--gold);
}
.modal-overlay.active .modal-box{ transform: translateY(0) scale(1); }
.modal-close{
  position:absolute; top:18px; right:18px;
  width:38px; height:38px; border-radius:50%;
  border: 1px solid var(--line);
  background: var(--white);
  display:flex; align-items:center; justify-content:center;
  font-size:1.1rem; color: var(--ink);
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.modal-close:hover{ background: var(--ink); color: var(--gold-light); transform: rotate(90deg); }
.modal-tag{ color: var(--gold); font-size:0.8rem; font-weight:700; letter-spacing:0.06em; margin-bottom:8px; }
.modal-box h3{ font-size: 1.7rem; margin-bottom:6px; }
.modal-box > p{ margin-bottom: 26px; font-size:0.95rem; }

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

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px){
  .main-nav{ gap: 30px; }
  .header-cta{ gap:18px; }
}

@media (max-width: 1080px){
  .property-grid-4{ grid-template-columns: repeat(2,1fr); }
  .why-grid{ grid-template-columns: repeat(2,1fr); }
  .gallery-grid{ grid-template-columns: repeat(3,1fr); }
  .about-grid, .location-grid, .contact-grid{ gap: 40px; }
}

@media (max-width: 900px){
  .logo .logo-image{ height: 60px; width:auto; }
  .main-nav{
    position:fixed; top:0; right:0; bottom:0;
    width: min(320px, 82vw);
    background: var(--ink);
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    gap: 6px;
    padding: 110px 32px 32px;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
  }
  .nav-open .main-nav{ transform: translateX(0); }
  .main-nav a{ color: var(--cream) !important; padding: 12px 0; width:100%; border-bottom: 1px solid rgba(255,255,255,0.08); font-size:1.02rem; }
  .header-phone{ display:none; }
  .nav-toggle{ display:block; }
  .header-inner{ padding-top: 20px; padding-bottom: 20px; }
  .site-header.scrolled .header-inner{ padding-top: 16px; padding-bottom: 16px; }
  .about-grid{ grid-template-columns: 1fr; }
  .hero-grid{ grid-template-columns: 1fr; gap: 56px; }
  .hero-content{ max-width: 100%; }
  .hero-visual{ max-width: 100%; margin: 0 auto; width:100%; }
  .hero-visual-frame{ top:16px; right:-16px; bottom:-16px; left:16px; }
  .about-media{ max-width: 420px; margin: 0 auto 60px; }
  .location-grid{ grid-template-columns: 1fr; }
  .location-media{ order:2; }
  .contact-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px){
  .hero-inner{ padding: 168px var(--gutter) 100px; }
  /* hero-visual keeps its true photo aspect-ratio on mobile too */
  .hero-visual-frame{ top:12px; right:-12px; bottom:-12px; left:12px; }
  .hero-stats{ grid-template-columns: repeat(2,auto); row-gap:26px; }
  .property-grid-4{ grid-template-columns: 1fr 1fr; gap:18px; }
  .why-grid{ grid-template-columns: 1fr; }
  .gallery-grid{ grid-template-columns: repeat(2,1fr); grid-auto-rows: 130px; }
  .gallery-grid figure.wide{ grid-column: span 2; }
  .properties-head-row{ flex-direction:column; align-items:flex-start; }
  .form-row{ grid-template-columns: 1fr; }
  .contact-form{ padding: 30px 24px; }
  .footer-grid{ grid-template-columns: 1fr; gap:32px; }
  .modal-box{ padding: 36px 22px 28px; }
}

@media (max-width: 460px){
  .property-grid-4{ grid-template-columns: 1fr; }
  .hero-actions{ flex-direction:column; align-items:stretch; }
  .hero-actions .btn{ width:100%; }
}
