/* ========================================
   Abhee Premium Residences – style.css
   Premium Luxury Real Estate Landing Page
   ======================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --gold: #c8a45c;
  --gold-light: #dfc386;
  --gold-dark: #a8863c;
  --black: #111111;
  --white: #ffffff;
  --grey-dark: #1e1e1e;
  --grey-mid: #333333;
  --grey-light: #f5f5f5;
  --grey-border: #e0e0e0;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --radius: 8px;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: var(--font-body); }

/* --- Utility Classes --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.gold-text { color: var(--gold); }
.section-subtitle {
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
  line-height: 1.25;
}
.section-desc {
  font-size: 1.05rem;
  color: #555;
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- CTA Buttons --- */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 36px;
  border-radius: 4px;
  letter-spacing: .5px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,164,92,0.35);
}
.btn-outline {
  display: inline-block;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 600;
  font-size: .95rem;
  padding: 12px 34px;
  border-radius: 4px;
  letter-spacing: .5px;
  transition: all var(--transition);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(17,17,17,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0 20px;
  transition: background var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  background: rgba(17,17,17,0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
}
.nav-logo span { color: var(--white); }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .5px;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: var(--gold-dark) !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 5px;
}
.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(17,17,17,0.6) 0%, rgba(17,17,17,0.8) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 100px 20px 60px;
  max-width: 800px;
}
.hero-badge {
  display: inline-block;
  background: rgba(200,164,92,0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero h1 .gold { color: var(--gold); }
.hero-text {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-btns .btn-outline {
  border-color: var(--white);
  color: var(--white);
}
.hero-btns .btn-outline:hover {
  background: var(--white);
  color: var(--black);
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}
.hero-stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ========================================
   OVERVIEW SECTION
   ======================================== */
.overview { background: var(--white); }
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.overview-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.overview-img-wrap img {
  width: 100%;
  transition: transform 0.5s ease;
}
.overview-img-wrap:hover img {
  transform: scale(1.05);
}
.overview-img-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--gold);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 600;
  font-size: .85rem;
}
.overview-content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 16px;
}
.overview-content p {
  color: #555;
  margin-bottom: 16px;
  line-height: 1.8;
}
.overview-list {
  margin: 24px 0;
}
.overview-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .95rem;
  color: #444;
}
.overview-list li::before {
  content: '✦';
  color: var(--gold);
  font-size: .8rem;
}

/* ========================================
   HIGHLIGHTS SECTION
   ======================================== */
.highlights { background: var(--grey-light); }
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.highlight-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border-bottom: 3px solid transparent;
}
.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--gold);
}
.highlight-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  background: rgba(200,164,92,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.highlight-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--black);
}
.highlight-card p {
  font-size: .88rem;
  color: #666;
  line-height: 1.6;
}

/* ========================================
   AMENITIES SECTION
   ======================================== */
.amenities { background: var(--white); }
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.amenity-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 320px;
}
.amenity-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.amenity-card:hover img {
  transform: scale(1.08);
}
.amenity-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}
.amenity-overlay h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 6px;
}
.amenity-overlay p {
  font-size: .88rem;
  color: rgba(255,255,255,0.75);
}
.amenities-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.amenity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--grey-light);
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  transition: all var(--transition);
}
.amenity-item:hover {
  background: var(--gold);
  color: var(--white);
}
.amenity-item span { font-size: 1.3rem; }

/* ========================================
   LOCATION SECTION
   ======================================== */
.location { background: var(--grey-dark); color: var(--white); }
.location .section-subtitle { color: var(--gold); }
.location .section-title { color: var(--white); }
.location .section-desc { color: rgba(255,255,255,0.7); }
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.location-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.location-img-wrap img { width: 100%; }
.location-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: .95rem;
}
.location-list li span {
  font-size: 1.2rem;
  min-width: 30px;
  text-align: center;
}
.location-dist {
  margin-left: auto;
  color: var(--gold);
  font-weight: 600;
  font-size: .85rem;
}

/* ========================================
   CONNECTIVITY SECTION
   ======================================== */
.connectivity { background: var(--white); }
.connectivity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.connectivity-card {
  background: var(--grey-light);
  padding: 32px 24px;
  border-radius: var(--radius);
  text-align: center;
  transition: all var(--transition);
  border-top: 3px solid transparent;
}
.connectivity-card:hover {
  border-top-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.connectivity-card .icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}
.connectivity-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.connectivity-card p {
  font-size: .88rem;
  color: #666;
}

/* ========================================
   FLOOR PLANS SECTION
   ======================================== */
.floor-plans { background: var(--grey-light); }
.plans-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}
.plan-tab {
  padding: 12px 28px;
  font-size: .9rem;
  font-weight: 600;
  border-radius: 4px;
  background: var(--white);
  color: var(--grey-mid);
  border: 2px solid var(--grey-border);
  transition: all var(--transition);
}
.plan-tab.active, .plan-tab:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.plan-content {
  display: none;
  animation: fadeTab 0.4s ease;
}
.plan-content.active { display: block; }
@keyframes fadeTab {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.plan-img-wrap {
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.plan-img-wrap img { width: 100%; }
.plan-details h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.plan-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.plan-spec {
  background: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
}
.plan-spec-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 4px;
}
.plan-spec-value {
  font-weight: 600;
  font-size: 1rem;
  color: var(--black);
}

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing { background: var(--black); color: var(--white); }
.pricing .section-subtitle { color: var(--gold); }
.pricing .section-title { color: var(--white); }
.pricing .section-desc { color: rgba(255,255,255,0.65); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-card {
  background: var(--grey-dark);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: all var(--transition);
  border: 1px solid rgba(255,255,255,0.08);
}
.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}
.price-card.featured {
  border-color: var(--gold);
  transform: scale(1.03);
}
.price-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.price-type {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 8px;
}
.price-area {
  font-size: .88rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.price-amount {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.price-label {
  font-size: .8rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 24px;
}
.price-features {
  text-align: left;
  margin-bottom: 28px;
}
.price-features li {
  padding: 8px 0;
  font-size: .88rem;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
}

/* ========================================
   BUILDER PROFILE SECTION
   ======================================== */
.builder { background: var(--white); }
.builder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.builder-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.builder-stat {
  background: var(--grey-light);
  padding: 20px;
  border-radius: var(--radius);
  text-align: center;
  transition: all var(--transition);
}
.builder-stat:hover {
  background: var(--gold);
  color: var(--white);
}
.builder-stat:hover .builder-stat-num { color: var(--white); }
.builder-stat-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}
.builder-stat-label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
  color: #777;
}
.builder-stat:hover .builder-stat-label { color: rgba(255,255,255,0.85); }

/* ========================================
   GALLERY SECTION
   ======================================== */
.gallery { background: var(--grey-light); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(17,17,17,0.85) 0%, transparent 100%);
  padding: 40px 20px 16px;
  color: var(--white);
  font-size: .88rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-caption {
  opacity: 1;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq { background: var(--white); }
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  width: 100%;
  text-align: left;
  font-size: .95rem;
  font-weight: 600;
  color: var(--black);
  transition: color var(--transition);
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
  font-size: 1.3rem;
  transition: transform var(--transition);
  color: var(--gold);
  min-width: 24px;
  text-align: center;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-answer {
  max-height: 300px;
}
.faq-answer p {
  padding: 0 24px 20px;
  font-size: .92rem;
  color: #555;
  line-height: 1.8;
}

/* ========================================
   CONTACT / CTA SECTION
   ======================================== */
.contact {
  background: linear-gradient(135deg, var(--grey-dark) 0%, var(--black) 100%);
  color: var(--white);
}
.contact .section-subtitle { color: var(--gold); }
.contact .section-title { color: var(--white); }
.contact .section-desc { color: rgba(255,255,255,0.65); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--gold);
}
.contact-info p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
  line-height: 1.8;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  font-size: .95rem;
}
.contact-details li span { font-size: 1.2rem; }
.contact-form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 36px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: rgba(255,255,255,0.8);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: .92rem;
  transition: border-color var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.35);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-submit {
  width: 100%;
  padding: 15px;
  background: var(--gold);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 4px;
  letter-spacing: .5px;
  transition: all var(--transition);
}
.form-submit:hover {
  background: var(--gold-dark);
}
.form-msg {
  margin-top: 14px;
  padding: 12px;
  border-radius: 4px;
  font-size: .9rem;
  text-align: center;
  display: none;
}
.form-msg.success {
  display: block;
  background: rgba(76,175,80,0.15);
  border: 1px solid rgba(76,175,80,0.3);
  color: #81c784;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.5);
  padding: 40px 20px 20px;
  text-align: center;
  font-size: .82rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.footer-links a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer p { margin-top: 8px; }

/* ========================================
   POPUP LEAD FORM
   ======================================== */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.popup-overlay.active { display: flex; }
.popup {
  background: var(--white);
  border-radius: 12px;
  padding: 40px 36px;
  max-width: 440px;
  width: 100%;
  position: relative;
  animation: popupIn 0.35s ease;
  box-shadow: var(--shadow-lg);
}
@keyframes popupIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.popup-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  font-size: 1.8rem;
  color: #999;
  line-height: 1;
  transition: color var(--transition);
}
.popup-close:hover { color: var(--black); }
.popup h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 6px;
  color: var(--black);
}
.popup .popup-sub {
  color: #777;
  font-size: .9rem;
  margin-bottom: 24px;
}
.popup .form-group input {
  background: var(--grey-light);
  color: var(--black);
  border-color: var(--grey-border);
}
.popup .form-group input::placeholder { color: #999; }
.popup .form-group input:focus { border-color: var(--gold); }
.popup .form-group label { color: var(--black); }
.popup .form-submit {
  margin-top: 8px;
}
.popup .form-msg.success {
  color: #388e3c;
  background: rgba(76,175,80,0.1);
  border-color: rgba(76,175,80,0.25);
}

/* ========================================
   FLOATING CTA (Mobile)
   ======================================== */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--black);
  padding: 12px 20px;
  display: none;
}
.floating-cta-inner {
  display: flex;
  gap: 10px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.floating-cta .btn-primary {
  flex: 1;
  text-align: center;
  padding: 12px;
  font-size: .85rem;
}

/* ========================================
   RESPONSIVE DESIGN (Mobile First Overrides)
   ======================================== */
@media (max-width: 1024px) {
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .amenities-list { grid-template-columns: repeat(2, 1fr); }
  .connectivity-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-6px); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section-padding { padding: 60px 0; }
  .section-title { font-size: 1.75rem; }

  /* Navigation */
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(17,17,17,0.98);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    transform: translateY(-120%);
    transition: transform var(--transition);
    z-index: 999;
  }
  .nav-links.open { transform: translateY(0); }
  .menu-toggle { display: flex; }

  /* Hero */
  .hero h1 { font-size: 2rem; }
  .hero-text { font-size: 1rem; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-stat-num { font-size: 1.6rem; }

  /* Grid Overrides */
  .overview-grid,
  .location-grid,
  .builder-grid,
  .contact-grid,
  .plan-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .highlights-grid { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: 1fr; }
  .amenities-list { grid-template-columns: 1fr 1fr; }
  .connectivity-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .plans-tabs { flex-wrap: wrap; }

  /* Floating CTA */
  .floating-cta { display: block; }
  body { padding-bottom: 70px; }

  /* Popup */
  .popup { padding: 28px 24px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.65rem; }
  .section-title { font-size: 1.5rem; }
  .amenities-list { grid-template-columns: 1fr; }
  .plan-specs { grid-template-columns: 1fr; }
  .builder-stats { grid-template-columns: 1fr; }
  .hero-stats { gap: 16px; }
}
