/*
Theme Name: Kamdhenu Astria
Theme URI: https://example.com/kamdhenu-astria
Author: Kamdhenu Real Estate
Description: Single-page WordPress theme for Kamdhenu The Astria project landing page.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: kamdhenu-astria
*/
/* ============================================
   KAMDHENU THE ASTRIA — Light Theme Stylesheet
   ============================================ */

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

/* Prevent horizontal overflow on all screens */
html, body { max-width: 100%; overflow-x: hidden; }

/* Better tap targets on touch devices */
a, button { touch-action: manipulation; }

:root {
  --gold:       #A8782A;
  --gold-light: #C9A84C;
  --gold-pale:  #F5EDD6;
  --bg:         #FFFFFF;
  --bg2:        #F7F3ED;
  --bg3:        #EDE8DF;
  --bg4:        #E4DDD2;
  --border:     rgba(0,0,0,0.08);
  --border-md:  rgba(0,0,0,0.12);
  --text-dark:  #1A1A1A;
  --text-body:  #4A4A4A;
  --text-muted: #888888;
  --white:      #FFFFFF;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text-body);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s, box-shadow 0.3s;
}

nav.scrolled {
  padding: 14px 60px;
  box-shadow: 0 2px 24px rgba(0,0,0,0.06);
}

.nav-logo { display: flex; flex-direction: column; }
.nav-logo span:first-child {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 1px;
}
.nav-logo span:last-child {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-brand-logo {
  height: 56px;
  width: auto;
  max-height: 80px;
  transform: scale(1.7);
  transform-origin: left center;
}

.about-brand-logo {
  height: 90px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transform: scale(1.5);
  transform-origin: center center;
}

.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-body);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 24px;
  text-decoration: none;
  transition: background 0.3s;
}
.nav-cta:hover { background: var(--gold-light); }

/* ── HERO ── */
.hero {
  height: 100svh;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(15,10,5,0.75) 0%, rgba(15,10,5,0.45) 55%, rgba(15,10,5,0.20) 100%),
    url('https://i.ibb.co/9HBjt8YB/hero.png') center/cover no-repeat;
}

.hero-badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(201,168,76,0.5);
  padding: 8px 20px;
  margin-bottom: 28px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px;
  max-width: 720px;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 7vw, 90px);
  font-weight: 300;
  line-height: 1;
  color: #FFFFFF;
  margin-bottom: 8px;
}
.hero-title em { font-style: italic; color: var(--gold-light); }

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  letter-spacing: 1px;
}

.hero-price {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}
.hero-price-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.hero-price-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--gold-light);
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
}
.hero-scroll-line { width: 60px; height: 1px; background: var(--gold-light); }
.hero-scroll span {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.hero-stats {
  position: absolute;
  bottom: 40px;
  right: 60px;
  display: flex;
  gap: 48px;
  z-index: 2;
}
.hero-stat-item { text-align: right; }
.hero-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
}
.hero-stat-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 36px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.3s, transform 0.2s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 15px 36px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.5);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.btn-outline:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

/* btn-outline on light background sections */
.light-section .btn-outline,
.price-card .btn-outline {
  color: var(--gold);
  border-color: var(--gold);
  background: transparent;
}
.light-section .btn-outline:hover,
.price-card .btn-outline:hover {
  background: var(--gold);
  color: var(--white);
}

/* ── SECTIONS ── */
section { padding: 100px 60px; }

.section-label {
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.section-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 20px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-price-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--gold);
  margin-top: -18px;
  margin-bottom: 24px;
}
.section-price-sub span {
  font-size: 36px;
  font-weight: 700;
  margin: 0 4px;
  vertical-align: middle;
  transform: translateY(-2px);
  display: inline-block;
}



.section-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 560px;
}

/* ── OVERVIEW ── */
.overview {
  background: var(--bg2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  margin-top: 120px;
}

.overview-mobile-overlay { display: none; }

.overview-img {
  position: relative;
  min-height: 560px;
  background: url('https://i.ibb.co/vxNRGhrx/Screenshot-2026-04-12-153218.png') center/cover;
}
.overview-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(247,243,237,0.05), rgba(247,243,237,0.15));
}

.overview-content {
  padding: 80px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg2);
}

.overview-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}

.feature-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  border-color: rgba(168,120,42,0.3);
  box-shadow: 0 4px 20px rgba(168,120,42,0.08);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(168,120,42,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 16px;
  background: var(--gold-pale);
}

.feature-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.feature-desc { font-size: 12px; color: var(--text-muted); line-height: 1.6; }

/* ── PRICING ── */
.pricing { background: var(--bg); }

.pricing-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 24px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.price-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 48px rgba(168,120,42,0.12);
  border-color: rgba(168,120,42,0.25);
}
.price-card.featured {
  background: var(--text-dark);
  border-color: var(--gold);
}
.price-card.featured::before {
  content: 'POPULAR';
  position: absolute;
  top: 20px; right: -28px;
  background: var(--gold);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 5px 40px;
  transform: rotate(45deg);
}

.price-card-type {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.price-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1;
}
.price-card.featured .price-card-name { color: var(--white); }

.price-card-size { font-size: 13px; color: var(--text-muted); margin-bottom: 32px; }
.price-card.featured .price-card-size { color: rgba(255,255,255,0.5); }

.price-divider { height: 1px; background: var(--border); margin-bottom: 32px; }
.price-card.featured .price-divider { background: rgba(255,255,255,0.1); }

.price-features-list { list-style: none; margin-bottom: 36px; }
.price-features-list li {
  font-size: 13px;
  color: var(--text-body);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}
.price-card.featured .price-features-list li {
  color: rgba(255,255,255,0.75);
  border-bottom-color: rgba(255,255,255,0.08);
}
.price-features-list li::before { content: '—'; color: var(--gold); font-size: 10px; }

.price-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 4px;
}
.price-note { font-size: 11px; color: var(--text-muted); margin-bottom: 28px; }
.price-card.featured .price-note { color: rgba(255,255,255,0.4); }

/* Featured card CTA button */
.price-card.featured .btn-primary {
  background: var(--gold);
  color: var(--white);
}

/* ── FLOOR PLANS ── */
.floorplans { background: var(--bg2); }

.fp-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border-md);
}

.fp-tab {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 14px 28px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.3s, border-color 0.3s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.fp-tab.active { color: var(--gold); border-bottom-color: var(--gold); }

.fp-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.fp-image {
  background: var(--bg3);
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 2px;
}

.fp-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.fp-detail {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
}
.fp-detail-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.fp-detail-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--text-dark);
  font-weight: 300;
}

/* ── AMENITIES ── */
.amenities { background: var(--bg); }

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 60px;
}

.amenity-item {
  background: var(--bg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: background 0.3s;
  cursor: default;
}
.amenity-item:hover { background: var(--bg2); }

.amenity-icon {
  font-size: 22px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(168,120,42,0.2);
  background: var(--gold-pale);
  color: var(--gold);
}
.amenity-name { font-size: 13px; font-weight: 500; color: var(--text-dark); line-height: 1.4; }

/* ── LOCATION ── */
.location { background: var(--bg2); }

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 60px;
  align-items: start;
}

.location-map {
  background: var(--bg3);
  aspect-ratio: 1;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.location-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(30%) contrast(95%);
}

.connectivity-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  color: var(--text-dark);
  font-weight: 300;
  margin-bottom: 28px;
}

.connectivity-list { list-style: none; }

.connectivity-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.conn-name { font-size: 13px; color: var(--text-body); }
.conn-distance {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--gold);
}

/* ── GALLERY ── */
.gallery { background: var(--bg3); padding: 100px 0; }

.gallery-header { padding: 0 60px; margin-bottom: 48px; }

.gallery-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: 4px;
}

.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item { overflow: hidden; position: relative; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0.35);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-overlay span {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.6);
  padding: 8px 20px;
}

/* ── SPECIFICATIONS ── */
.specifications { background: var(--bg2); }

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  margin-top: 60px;
}

.spec-category { background: var(--bg2); padding: 40px 36px; }

.spec-cat-icon { font-size: 20px; color: var(--gold); margin-bottom: 16px; }

.spec-cat-title {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.spec-list { list-style: none; }
.spec-list li {
  font-size: 13px;
  color: var(--text-body);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

/* ── CONTACT ── */
.contact { background: var(--bg); }

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-form {
  background: var(--bg2);
  border: 1px solid var(--border-md);
  padding: 56px 48px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.06);
}

.form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.form-subtitle { font-size: 13px; color: var(--text-muted); margin-bottom: 36px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--white);
  border: 1px solid var(--border-md);
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group select option { background: var(--white); color: var(--text-dark); }
.form-group textarea { resize: none; height: 100px; }

.form-submit {
  width: 100%;
  background: var(--gold);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 18px;
  border: none;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.3s;
}
.form-submit:hover { background: var(--gold-light); }

/* Contact Cards Styling */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 32px;
  background: var(--bg2);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: fit-content;
}

.contact-card:hover {
  background: var(--white);
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(168, 120, 42, 0.08);
  transform: translateY(-3px);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--gold);
  border: 1px solid rgba(168, 120, 42, 0.15);
}

.contact-info-label {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.contact-info-value {
  font-family: 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
  letter-spacing: -0.5px;
}

/* ── ABOUT ── */
.about-strip {
  background: var(--text-dark);
  padding: 60px;
  border-top: 1px solid rgba(168,120,42,0.2);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
}

.about-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  color: var(--gold-light);
  font-weight: 300;
  line-height: 1.1;
}
.about-text { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.8; }

/* ── FOOTER ── */
footer {
  background: var(--text-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.4); }
.footer-disc {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  max-width: 600px;
  line-height: 1.6;
  text-align: right;
}

/* ── FLOATING BUTTONS ── */
.float-cta {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.float-btn:hover { transform: scale(1.1); }
.float-btn.whatsapp { background: #25D366; }
.float-btn.call { background: var(--gold); color: var(--white); }

/* ── CONTACT INFO ITEMS ── */
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-info-icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(168,120,42,0.25);
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-info-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-info-value { font-size: 16px; color: var(--text-dark); }

/* ── ENQUIRE MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--white);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 48px 44px 36px;
  position: relative;
  border-radius: 2px;
  transform: translateY(24px);
  transition: transform 0.35s ease;
  box-shadow: 0 24px 80px rgba(0,0,0,0.18);
}
.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px; right: 20px;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s;
  border-radius: 50%;
}
.modal-close:hover { color: var(--text-dark); background: var(--bg2); }

.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.modal-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.modal-form { display: flex; flex-direction: column; gap: 18px; }

.modal-field { display: flex; flex-direction: column; gap: 7px; }
.modal-field label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: 0.3px;
}
.req { color: #E05555; margin-left: 2px; }

.modal-field input,
.modal-field select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border-md);
  background: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  border-radius: 1px;
  transition: border-color 0.25s;
}
.modal-field input:focus,
.modal-field select:focus { border-color: var(--gold); }
.modal-field input::placeholder { color: #BBBBBB; }
.modal-field select option { color: var(--text-dark); }

.phone-input {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border-md);
  transition: border-color 0.25s;
}
.phone-input:focus-within { border-color: var(--gold); }
.phone-prefix {
  padding: 13px 14px;
  background: var(--bg2);
  border-right: 1px solid var(--border-md);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.phone-input input {
  border: none;
  flex: 1;
  padding: 13px 14px;
  font-size: 14px;
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  font-family: 'Inter', sans-serif;
}

.modal-submit {
  width: 100%;
  background: #2563EB;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 15px;
  border: none;
  cursor: pointer;
  margin-top: 6px;
  border-radius: 1px;
  transition: background 0.25s, transform 0.15s;
}
.modal-submit:hover { background: #1D4ED8; transform: translateY(-1px); }
.modal-submit.success { background: #16A34A; }

.modal-powered {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

@media (max-width: 540px) {
  .modal-box { padding: 36px 24px 28px; }
  .modal-title { font-size: 26px; }
}

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════
   RESPONSIVE — Tablet (max 1024px)
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  nav.scrolled { padding: 12px 24px; }

  section { padding: 72px 28px; }

  .hero-content { padding: 0 28px; max-width: 100%; }
  .hero-stats { display: none; }
  .hero-scroll { left: 28px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn-primary, .btn-outline { width: 100%; text-align: center; }

  .overview { grid-template-columns: 1fr; margin-top: 80px; }
  .overview-img { min-height: 340px; }
  
  .desktop-header { display: none; }
  .overview-mobile-overlay {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: absolute;
    inset: 0;
    padding: 32px 24px;
    background: linear-gradient(to top, rgba(15,10,5,0.9) 0%, rgba(15,10,5,0.2) 50%, transparent 100%);
    pointer-events: none;
  }
  .overview-mobile-overlay .section-title { color: #fff; margin-bottom: 0; line-height: 1.1; font-size: clamp(34px, 9vw, 42px); }
  .overview-img a { pointer-events: auto; }

  .overview-content { padding: 40px 28px 56px; }
  .overview-features { grid-template-columns: 1fr 1fr; gap: 16px; }

  .pricing-header { flex-direction: column; align-items: flex-start; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  .fp-content { grid-template-columns: 1fr; gap: 32px; }
  .fp-tabs { overflow-x: auto; }
  .fp-tab { white-space: nowrap; padding: 12px 20px; }

  .amenities-grid { grid-template-columns: repeat(2, 1fr); }

  .location-grid { grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
  .location-map { aspect-ratio: 16/9; }

  .gallery { padding: 72px 0; }
  .gallery-header { padding: 0 28px; }
  .gallery-track {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 250px;
  }
  .gallery-item:first-child { grid-column: span 1; grid-row: span 2; }

  .spec-grid { grid-template-columns: 1fr 1fr; }

  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-form { padding: 40px 28px; }

  .about-strip { padding: 48px 28px; }
  .about-inner { grid-template-columns: 1fr; gap: 24px; }

  footer { flex-direction: column; text-align: center; padding: 32px 28px; }
  .footer-disc { text-align: center; max-width: 100%; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — Mobile (max 768px)
══════════════════════════════════════════ */
@media (max-width: 768px) {
  nav { padding: 14px 20px; }
  section { padding: 60px 20px; }

  .hero-content { padding: 0 20px; }
  .hero-eyebrow { font-size: 9px; letter-spacing: 3px; }
  .hero-title { font-size: clamp(44px, 12vw, 64px); }
  .hero-subtitle { font-size: 18px; }
  .hero-price-value { font-size: 26px; }
  .hero-scroll { left: 20px; bottom: 28px; }
  .hero-scroll-line { width: 36px; }

  .section-title { font-size: clamp(30px, 8vw, 44px); }
  .section-desc { font-size: 14px; max-width: 100%; }

  .overview { margin-top: 60px; }
  .overview-img { min-height: 260px; }
  .overview-content { padding: 44px 20px; }
  .overview-features { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
  .feature-card { padding: 18px; display: flex; align-items: flex-start; gap: 14px; }
  .feature-icon { margin-bottom: 0; flex-shrink: 0; }

  .pricing-cards { max-width: 100%; }
  .price-card { padding: 36px 24px; }
  .price-card-name { font-size: 28px; }

  .fp-image { aspect-ratio: 4/3; }
  .fp-details-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .fp-detail { padding: 16px; }
  .fp-detail-value { font-size: 18px; }

  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .amenity-item { padding: 24px 18px; }
  .amenity-icon { width: 40px; height: 40px; font-size: 20px; }
  .amenity-name { font-size: 12px; }

  .location-map { aspect-ratio: 4/3; }
  .conn-distance { font-size: 16px; }

  .gallery { padding: 60px 0; }
  .gallery-header { padding: 0 20px; }
  .gallery-track {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
    gap: 3px;
  }
  .gallery-item:first-child { grid-column: span 1; grid-row: span 2; }

  .spec-grid { grid-template-columns: 1fr; gap: 2px; }
  .spec-category { padding: 28px 20px; }

  .contact-form { padding: 32px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-title { font-size: 26px; }
  .contact-info-icon { width: 40px; height: 40px; font-size: 16px; }
  .contact-info-value { font-size: 14px; }

  .about-strip { padding: 40px 20px; }
  .about-logo { font-size: 28px; }
  .about-text { font-size: 13px; }

  footer { padding: 28px 20px; gap: 16px; }
  .footer-copy { font-size: 11px; }
  .footer-disc { font-size: 10px; }

  .float-cta { bottom: 20px; right: 16px; gap: 10px; }
  .float-btn { width: 46px; height: 46px; font-size: 18px; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — Small Mobile (max 480px)
══════════════════════════════════════════ */
@media (max-width: 480px) {
  nav { padding: 14px 20px; }
  .nav-logo span:first-child { font-size: 20px; }
  .nav-cta { font-size: 11px; padding: 12px 20px; letter-spacing: 1px; }

  section { padding: 64px 20px; }

  .hero-content { padding: 0 20px; }
  .hero-eyebrow { font-size: 10px; letter-spacing: 3px; margin-bottom: 20px; }
  .hero-title { font-size: clamp(40px, 12vw, 56px); line-height: 0.95; }
  .hero-subtitle { font-size: 17px; margin-bottom: 32px; line-height: 1.5; }
  .hero-price { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 36px; padding: 14px 20px; }
  .hero-price-value { font-size: 26px; }
  .hero-scroll { display: none; }
  .btn-primary, .btn-outline { padding: 16px 28px; font-size: 11px; border-radius: 2px; }

  .section-label { font-size: 11px; letter-spacing: 3px; margin-bottom: 12px; }
  .section-label::before { width: 28px; }
  .section-title { font-size: clamp(28px, 9vw, 40px); margin-bottom: 18px; line-height: 1.1; }
  .section-desc { font-size: 14px; line-height: 1.7; margin-bottom: 32px; }

  .overview { margin-top: 60px; }
  .overview-img { min-height: 280px; }
  .overview-content { padding: 48px 20px; }
  .feature-card { padding: 20px; }
  .feature-title { font-size: 13px; margin-bottom: 6px; }
  .feature-desc { font-size: 12px; line-height: 1.6; }

  .price-card { padding: 32px 22px; }
  .price-card-name { font-size: 26px; margin-bottom: 16px; }
  .price-features-list li { font-size: 13px; padding: 10px 0; }
  .price-value { font-size: 26px; margin-top: 24px; }

  .fp-tab { font-size: 12px; padding: 12px 20px; letter-spacing: 1px; flex-shrink: 0; }
  .fp-tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
  .fp-tab { scroll-snap-align: start; }
  .fp-details-grid { gap: 12px; margin-top: 24px; }
  .fp-detail { padding: 16px; }
  .fp-detail-label { font-size: 10px; margin-bottom: 6px; }
  .fp-detail-value { font-size: 18px; }

  .amenities-grid { grid-template-columns: 1fr 1fr; gap: 1px; border: 1px solid var(--border); }
  .amenity-item { padding: 26px 16px; gap: 14px; }
  .amenity-icon { width: 42px; height: 42px; font-size: 20px; }
  .amenity-name { font-size: 13px; }

  .location-grid { gap: 32px; margin-top: 36px; }
  .location-map { aspect-ratio: 1; border-radius: 4px; overflow: hidden; }
  .connectivity-title { font-size: 24px; margin-bottom: 20px; }
  .conn-name { font-size: 13px; }
  .conn-distance { font-size: 16px; }

  .gallery { padding: 64px 0; }
  .gallery-header { padding: 0 20px; margin-bottom: 32px; }
  .gallery-track { grid-template-columns: 1fr; grid-template-rows: auto; gap: 6px; }
  .gallery-item { height: 260px; }
  .gallery-item:first-child { grid-row: auto; height: 320px; }
  .gallery-item img { height: 100%; border-radius: 0; }

  .spec-category { padding: 28px 20px; }
  .spec-cat-title { font-size: 11px; letter-spacing: 3px; margin-bottom: 18px; }
  .spec-list li { font-size: 13px; padding: 10px 0; line-height: 1.6; }

  .contact-form { padding: 36px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-title { font-size: 28px; margin-bottom: 6px; }
  .form-subtitle { font-size: 13px; margin-bottom: 32px; }
  .form-group label { font-size: 11px; margin-bottom: 8px; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; padding: 14px 16px; border-radius: 2px; }
  .form-submit { padding: 18px; font-size: 12px; letter-spacing: 2px; width: 100%; margin-top: 12px; }

  .about-strip { padding: 48px 20px; }
  .about-logo { font-size: 28px; margin-bottom: 16px; }
  .about-text { font-size: 14px; line-height: 1.8; }

  footer { padding: 36px 20px; gap: 20px; }
  .footer-copy { font-size: 12px; line-height: 1.6; }
  .footer-disc { font-size: 10px; line-height: 1.5; }

  .float-cta { bottom: 20px; right: 16px; gap: 14px; }
  .float-btn { width: 52px; height: 52px; font-size: 20px; box-shadow: 0 6px 16px rgba(0,0,0,0.2); }
}

/* ── THANK YOU POPUP ── */
.thankyou-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.thankyou-overlay.active {
  opacity: 1;
  visibility: visible;
}

.thankyou-box {
  background: var(--white);
  max-width: 420px;
  width: 100%;
  padding: 56px 44px 44px;
  text-align: center;
  position: relative;
  border-top: 3px solid var(--gold);
  box-shadow: 0 32px 80px rgba(0,0,0,0.22);
  transform: translateY(30px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.thankyou-overlay.active .thankyou-box {
  transform: translateY(0) scale(1);
}

.thankyou-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}
.thankyou-icon svg {
  width: 64px;
  height: 64px;
}

/* Checkmark draw animation */
.thankyou-checkmark {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  transition: stroke-dashoffset 0.6s ease 0.3s;
}
.thankyou-overlay.active .thankyou-checkmark {
  stroke-dashoffset: 0;
}

.thankyou-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1;
}

.thankyou-msg {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
.thankyou-msg strong { color: var(--gold); font-weight: 600; }

.thankyou-close-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 16px 44px;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  margin-bottom: 20px;
}
.thankyou-close-btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.thankyou-brand {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
}

@media (max-width: 480px) {
  .thankyou-box { padding: 40px 24px 32px; }
  .thankyou-title { font-size: 32px; }
  .thankyou-icon svg { width: 52px; height: 52px; }
  
  /* Mobile Logo Scaling */
  .nav-brand-logo {
    height: 38px;
    transform: scale(1.3);
  }
  .about-brand-logo {
    height: 60px;
    transform: scale(1.2);
  }
}

 /* Premium Footer Bottom Branding */
 .footer-branding-container {
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding-top: 32px;
   flex-wrap: wrap;
   gap: 24px;
 }
 
 .footer-copyright {
   font-size: 13px;
   color: rgba(255, 255, 255, 0.6);
   letter-spacing: 0.5px;
   line-height: 1.6;
 }
 
 .footer-brand-name {
   color: var(--white);
   font-weight: 500;
 }
 
 .digital-partner {
   display: block;
   font-size: 10px;
   text-transform: uppercase;
   letter-spacing: 2px;
   color: rgba(255, 255, 255, 0.35);
   margin-top: 6px;
 }
 
 .digital-partner a {
   color: var(--gold-light);
   text-decoration: none;
   border-bottom: 1px solid transparent;
   transition: all 0.3s ease;
 }
 
 .digital-partner a:hover {
   border-bottom-color: var(--gold-light);
   color: var(--white);
 }
 
 .rera-badge {
   display: inline-flex;
   align-items: center;
   gap: 10px;
   padding: 10px 20px;
   background: rgba(201, 168, 76, 0.08);
   border: 1px solid rgba(201, 168, 76, 0.25);
   border-radius: 2px;
   font-size: 11px;
   letter-spacing: 1.5px;
   color: var(--gold-light);
   text-transform: uppercase;
   font-weight: 600;
 }
 
 @media (max-width: 768px) {
   .footer-branding-container {
     flex-direction: column;
     text-align: center;
     padding-top: 40px;
   }
   .rera-badge { margin-top: 8px; }
 }
