/* ============================================
   VADIVEL PATTAMMAL RESIDENCES — styles.css
   Luxury Real Estate | Dark Refined Aesthetic
   ============================================ */

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

/* ─── CSS VARIABLES ─── */
:root {
  --bg-primary: #080e1a;
  --bg-secondary: #0c1525;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.07);
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-dim: rgba(201,168,76,0.3);
  --blue-accent: #3b6fe0;
  --blue-hover: #2b5dd0;
  --white: #ffffff;
  --white-80: rgba(255,255,255,0.8);
  --white-60: rgba(255,255,255,0.6);
  --white-30: rgba(255,255,255,0.3);
  --white-10: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.1);
  --border-gold: rgba(201,168,76,0.4);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.6);
  --shadow-gold: 0 0 40px rgba(201,168,76,0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', sans-serif;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ─── GRID BACKGROUND ─── */
.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(8,14,26,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 12px 48px;
  background: rgba(8,14,26,0.97);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-badge {
  width: 42px;
  height: 42px;
  background: var(--blue-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.logo-text h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.logo-text span {
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--white-60);
  text-transform: uppercase;
}

.nav-actions { display: flex; align-items: center; gap: 20px; }

.btn-nav-book {
  padding: 10px 22px;
  background: var(--white);
  color: var(--bg-primary);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-nav-book:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.15);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 73px;
  left: 0;
  right: 0;
  background: rgba(8,14,26,0.98);
  backdrop-filter: blur(20px);
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
  z-index: 999;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 16px;
  font-weight: 500;
  color: var(--white-80);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.mobile-menu a:hover { color: var(--gold); }

/* ─── HERO SECTION ─── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 100px 48px 60px;
  position: relative;
  z-index: 1;
  gap: 40px;
}

.hero-left { padding-right: 20px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-gold 2s ease-in-out infinite;
}

@keyframes pulse-gold {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-display);
  line-height: 1.08;
  margin-bottom: 24px;
}

.hero-title .line1 {
  display: block;
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -1px;
  animation: slideUp 0.8s ease both;
}

.hero-title .line2 {
  display: block;
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  letter-spacing: -1px;
  animation: slideUp 0.8s ease 0.15s both;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-desc {
  font-size: 16px;
  color: var(--white-60);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 36px;
  animation: slideUp 0.8s ease 0.3s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 56px;
  animation: slideUp 0.8s ease 0.45s both;
}

.btn-primary {
  padding: 14px 28px;
  background: var(--blue-accent);
  color: var(--white);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.btn-primary:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(59,111,224,0.4);
}

.btn-primary .arrow {
  font-size: 16px;
  transition: transform 0.25s ease;
}

.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  color: var(--white-80);
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.btn-ghost:hover { color: var(--white); }
.btn-ghost .icon { font-size: 16px; }

/* Stats Bar */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  animation: slideUp 0.8s ease 0.6s both;
}

.stat {
  flex: 1;
  padding: 20px 24px;
  text-align: left;
  position: relative;
}

.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: var(--border);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}

.stat-num .star { font-size: 20px; color: var(--gold); }

.stat-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--white-60);
  text-transform: uppercase;
}

/* ─── HERO RIGHT / BUILDING IMAGE ─── */
.hero-right {
  position: relative;
  animation: fadeIn 1s ease 0.2s both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.building-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  max-height: 78vh;
  box-shadow: var(--shadow-lg);
}

.building-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}

.building-card:hover .building-img { transform: scale(1.04); }

.building-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,14,26,0.1) 0%,
    transparent 40%,
    rgba(8,14,26,0.4) 100%
  );
}

.badge-now-open {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: rgba(12,21,37,0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

.badge-now-open::before {
  content: '★';
  font-size: 10px;
}

.badge-location {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(12,21,37,0.88);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  min-width: 180px;
}

.loc-icon {
  width: 34px;
  height: 34px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.loc-text h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}

.loc-text span {
  font-size: 11px;
  color: var(--white-60);
}

/* ─── SCROLL INDICATOR ─── */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white-30);
  z-index: 2;
  animation: fadeIn 1s ease 1s both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--white-30), transparent);
  animation: scrollDrop 2s ease-in-out infinite;
}

@keyframes scrollDrop {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─── FEATURES ROW ─── */
.features-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 36px 32px;
  border-right: 1px solid var(--border);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.feature-item.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-item:last-child { border-right: none; }
.feature-item:hover { background: var(--bg-card-hover); }

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-icon.blue { background: rgba(59,111,224,0.15); color: var(--blue-accent); border: 1px solid rgba(59,111,224,0.3); }
.feature-icon.gold { background: rgba(201,168,76,0.12); color: var(--gold); border: 1px solid var(--gold-dim); }
.feature-icon.green { background: rgba(52,211,153,0.12); color: #34d399; border: 1px solid rgba(52,211,153,0.3); }
.feature-icon.purple { background: rgba(167,139,250,0.12); color: #a78bfa; border: 1px solid rgba(167,139,250,0.3); }

.feature-text h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 5px;
}

.feature-text p {
  font-size: 13px;
  color: var(--white-60);
  line-height: 1.5;
}

/* ─── ABOUT SECTION ─── */
.section-about {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 100px 48px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.section-tag::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}

.section-heading em {
  font-style: italic;
  color: var(--gold);
}

.about-desc {
  font-size: 15px;
  color: var(--white-60);
  line-height: 1.8;
  margin-bottom: 32px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-card {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.about-card:hover {
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
}

.about-card-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.about-card-label {
  font-size: 12px;
  color: var(--white-60);
  letter-spacing: 0.5px;
}

.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  padding: 12px 20px;
  background: rgba(12,21,37,0.9);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
}

.about-image-badge p {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.about-image-badge strong {
  font-size: 20px;
  font-family: var(--font-display);
  color: var(--white);
}

/* ─── UNITS SECTION ─── */
.section-units {
  position: relative;
  z-index: 1;
  padding: 80px 48px;
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

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

.unit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.unit-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.unit-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}

.unit-img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.unit-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.unit-card:hover .unit-img-wrap img { transform: scale(1.06); }

.unit-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  background: rgba(201,168,76,0.9);
  color: var(--bg-primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 50px;
}

.unit-body { padding: 24px; }

.unit-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 8px;
}

.unit-body p {
  font-size: 13px;
  color: var(--white-60);
  margin-bottom: 16px;
  line-height: 1.6;
}

.unit-features {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.unit-feat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--white-60);
}

.unit-feat span { color: var(--gold); }

.unit-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.unit-price { font-family: var(--font-display); font-size: 20px; color: var(--gold); }
.unit-price small { font-family: var(--font-body); font-size: 12px; color: var(--white-60); margin-left: 4px; }

.btn-enquire {
  padding: 8px 18px;
  background: var(--blue-accent);
  color: var(--white);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
  transition: var(--transition);
}

.btn-enquire:hover { background: var(--blue-hover); transform: scale(1.04); }

/* ─── AMENITIES SECTION ─── */
.section-amenities {
  position: relative;
  z-index: 1;
  padding: 80px 48px;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.amenity-card {
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
}

.amenity-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.amenity-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  transform: translateY(-4px);
}

.amenity-icon { font-size: 32px; margin-bottom: 12px; }
.amenity-card h4 { font-size: 14px; font-weight: 500; color: var(--white); margin-bottom: 4px; }
.amenity-card p { font-size: 12px; color: var(--white-60); line-height: 1.5; }

/* ─── CTA SECTION ─── */
.section-cta {
  position: relative;
  z-index: 1;
  margin: 40px 48px 80px;
  padding: 64px;
  background: linear-gradient(135deg, rgba(59,111,224,0.15) 0%, rgba(201,168,76,0.1) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  text-align: center;
  overflow: hidden;
}

.section-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.cta-title em { font-style: italic; color: var(--gold); }

.cta-desc {
  font-size: 15px;
  color: var(--white-60);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.7;
  position: relative;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.btn-cta-primary {
  padding: 14px 32px;
  background: var(--blue-accent);
  color: var(--white);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.btn-cta-primary:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(59,111,224,0.4);
}

.btn-cta-ghost {
  padding: 14px 32px;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.btn-cta-ghost:hover {
  background: var(--gold-dim);
  transform: translateY(-2px);
}

/* ─── FOOTER ─── */
.footer {
  position: relative;
  z-index: 1;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--white-60);
  margin-top: 12px;
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white-60);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: var(--white-60); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  position: relative;
  z-index: 1;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p { font-size: 12px; color: var(--white-30); }
.footer-bottom .gold { color: var(--gold); }

/* ─── BOOKING MODAL ─── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  padding: 40px;
  position: relative;
  animation: modalIn 0.35s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--white-60);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}

.modal-close:hover { background: var(--bg-card-hover); color: var(--white); }

.modal-header { margin-bottom: 28px; }

.modal-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  color: var(--white);
}

.modal-title em { font-style: italic; color: var(--gold); }

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white-60);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--white-30); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.form-group.error input,
.form-group.error select { border-color: #f87171; }

.form-error {
  display: none;
  font-size: 11px;
  color: #f87171;
  margin-top: 6px;
}

.form-group.error .form-error { display: block; }

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

.form-group select option { background: #0c1525; }
.form-group textarea { resize: vertical; min-height: 80px; }

.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--blue-accent);
  color: var(--white);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  cursor: pointer;
}

.btn-submit:hover { background: var(--blue-hover); transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn-submit.loading .spinner { display: inline-block; }
.btn-submit.loading .btn-text { display: none; }

@keyframes spin { to { transform: rotate(360deg); } }

.modal-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.modal-success.show { display: block; }

.success-icon {
  width: 64px;
  height: 64px;
  background: rgba(52,211,153,0.15);
  border: 2px solid #34d399;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
  animation: popIn 0.5s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes popIn {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.success-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 10px;
}

.success-desc { font-size: 14px; color: var(--white-60); line-height: 1.7; }

/* ─── GALLERY PAGE ─── */
.gallery-hero {
  padding: 120px 48px 60px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.gallery-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}

.gallery-hero h1 em { font-style: italic; color: var(--gold); }

.gallery-hero p {
  font-size: 16px;
  color: var(--white-60);
  max-width: 500px;
  margin: 0 auto;
}

/* Filter Buttons */
.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0 48px 40px;
  position: relative;
  z-index: 1;
}

.filter-btn {
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--white-60);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}

.filter-btn:hover { color: var(--white); border-color: var(--white-30); }
.filter-btn.active { background: var(--blue-accent); color: var(--white); border-color: var(--blue-accent); }

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 48px 80px;
  position: relative;
  z-index: 1;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.gallery-item.featured { grid-column: span 2; aspect-ratio: 16/9; }
.gallery-item.tall { grid-row: span 2; aspect-ratio: 3/5; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover { border-color: var(--border-gold); }
.gallery-item:hover img { transform: scale(1.06); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,14,26,0.8) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay-content { width: 100%; }
.gallery-overlay h4 { font-size: 15px; font-weight: 500; color: var(--white); margin-bottom: 4px; }
.gallery-overlay span { font-size: 12px; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; }

.gallery-zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: rgba(8,14,26,0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition);
}

.gallery-item:hover .gallery-zoom { opacity: 1; transform: scale(1); }

/* Placeholder Images (SVG based) */
.img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #0c1525 0%, #162040 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--white-30);
}

/* ─── LIGHTBOX ─── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(12px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  animation: fadeIn 0.3s ease;
}

.lightbox-inner img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--white);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover { background: var(--bg-card-hover); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(12,21,37,0.8);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--white);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-nav:hover { background: var(--bg-secondary); }
.lightbox-nav.prev { left: -56px; }
.lightbox-nav.next { right: -56px; }

.lightbox-caption {
  text-align: center;
  margin-top: 14px;
}

.lightbox-caption h4 { font-size: 15px; color: var(--white); margin-bottom: 3px; }
.lightbox-caption span { font-size: 12px; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; }

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .footer { grid-template-columns: 1fr 1fr; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .units-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.featured { grid-column: span 2; }
  .gallery-item.tall { grid-row: span 1; }
}

@media (max-width: 900px) {
  .navbar { padding: 16px 24px; }
  .navbar.scrolled { padding: 12px 24px; }
  .hamburger { display: flex; }
  .btn-nav-book .arrow-text { display: none; }

  .hero {
    grid-template-columns: 1fr;
    padding: 90px 24px 40px;
    gap: 32px;
    min-height: auto;
  }

  .hero-left { padding-right: 0; }
  .hero-right { order: -1; }

  .building-card {
    aspect-ratio: 16/10;
    max-height: 50vw;
  }

  .section-about {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 24px;
  }

  .about-image-wrap { order: -1; aspect-ratio: 16/10; }

  .features-row { grid-template-columns: repeat(2, 1fr); }
  .feature-item:nth-child(2) { border-right: none; }
  .feature-item:nth-child(3) { border-right: 1px solid var(--border); border-top: 1px solid var(--border); }
  .feature-item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }

  .section-units { padding: 60px 24px; }
  .units-grid { grid-template-columns: 1fr; }

  .section-amenities { padding: 60px 24px; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }

  .section-cta { margin: 24px; padding: 40px 24px; }

  .footer { grid-template-columns: 1fr 1fr; padding: 40px 24px; gap: 32px; }
  .footer-bottom { padding: 16px 24px; flex-direction: column; gap: 8px; text-align: center; }

  .gallery-hero { padding: 100px 24px 40px; }
  .gallery-filters { padding: 0 24px 32px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; padding: 0 24px 60px; gap: 12px; }
  .gallery-item.featured { grid-column: span 2; }

  .lightbox-nav.prev { left: -40px; }
  .lightbox-nav.next { right: -40px; }
}

@media (max-width: 600px) {
  .hero-stats { flex-direction: column; }
  .stat:not(:last-child)::after { display: none; }
  .stat:not(:last-child) { border-bottom: 1px solid var(--border); }

  .features-row { grid-template-columns: 1fr; }
  .feature-item { border-right: none !important; border-top: 1px solid var(--border); }
  .feature-item:first-child { border-top: none; }

  .amenities-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.featured { grid-column: span 1; }

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

  .form-row { grid-template-columns: 1fr; }

  .modal { padding: 28px 20px; }

  .cta-actions { flex-direction: column; align-items: center; }

  .lightbox-nav { display: none; }
}

.contact-buttons {
  display: flex;
  gap: 10px;
  margin: 15px 0;
}

.btn-whatsapp,
.btn-call {
  flex: 1;
  padding: 10px;
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.btn-whatsapp {
  background: #01712a;
  color: white;
}

.btn-call {
  background: #2563EB;
  color: white;
}

.btn-whatsapp:hover {
  background: #01712a;
}

.btn-call:hover {
  background: #1d4ed8;
}

.btn-whatsapp,
.btn-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}


/* ============================================================
   VADIVEL PATTAMMAL RESIDENCES — Mobile Responsive Overrides
   Only modifies @media (max-width: 900px) and (max-width: 600px)
   Desktop styles are fully preserved.
   ============================================================ */

/* ─── TABLET / SMALL DESKTOP (≤ 900px) ─── */
@media (max-width: 900px) {

  /* ── NAVBAR ── */
  .navbar {
    padding: 14px 20px;
    gap: 0;
  }

  .navbar.scrolled {
    padding: 11px 20px;
  }

  .logo-badge {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .logo-text h2 {
    font-size: 13px;
  }

  .logo-text span {
    font-size: 9px;
    letter-spacing: 1.8px;
  }

  .nav-actions {
    display: none; /* hidden; hamburger takes over */
  }

  .hamburger {
    display: flex;
  }

  /* ── MOBILE MENU ── */
  .mobile-menu {
    top: 65px;
    padding: 20px 20px 28px;
    gap: 0;
  }

  .mobile-menu a {
    font-size: 15px;
    padding: 14px 0;
    letter-spacing: 0.2px;
  }

  /* ── HERO ── */
  .hero {
    grid-template-columns: 1fr;
    padding: 80px 20px 48px;
    gap: 28px;
    min-height: auto;
    align-items: start;
  }

  .hero-left {
    padding-right: 0;
    order: 2;
  }

  .hero-right {
    order: 1;
  }

  .hero-badge {
    font-size: 10px;
    letter-spacing: 2.5px;
    margin-bottom: 20px;
  }

  .hero-title {
    margin-bottom: 18px;
  }

  .hero-title .line1 {
    font-size: clamp(28px, 7vw, 42px);
    letter-spacing: -0.5px;
    line-height: 1.12;
  }

  .hero-title .line2 {
    font-size: clamp(15px, 4vw, 20px);
    font-weight: 300;
    letter-spacing: 0;
    line-height: 1.5;
    margin-top: 10px;
    color: var(--white-60);
    font-style: normal;
  }

  .hero-desc {
    font-size: 14px;
    margin-bottom: 28px;
    line-height: 1.7;
  }

  .hero-actions {
    gap: 14px;
    margin-bottom: 36px;
    flex-wrap: wrap;
  }

  .btn-primary {
    padding: 13px 24px;
    font-size: 13px;
  }

  .btn-ghost {
    font-size: 13px;
  }

  /* Building Image Card */
  .building-card {
    aspect-ratio: 16/9;
    max-height: none;
    border-radius: var(--radius-md);
  }

  .badge-now-open {
    font-size: 11px;
    padding: 6px 12px;
    top: 12px;
    right: 12px;
  }

  .badge-location {
    bottom: 12px;
    left: 12px;
    padding: 10px 12px;
    gap: 10px;
    min-width: 150px;
  }

  .loc-text h4 { font-size: 12px; }
  .loc-text span { font-size: 10px; }
  .loc-icon { width: 28px; height: 28px; font-size: 13px; }

  /* Scroll indicator — hide on mobile */
  .scroll-indicator { display: none; }

  /* ── FEATURES ROW ── */
  .features-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-item {
    padding: 24px 20px;
    gap: 12px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .feature-item:nth-child(odd) {
    border-right: 1px solid var(--border) !important;
  }

  .feature-item:nth-child(3),
  .feature-item:nth-child(4) {
    border-bottom: none;
  }

  .feature-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .feature-text h3 {
    font-size: 13px;
  }

  /* ── ABOUT SECTION ── */
  .section-about {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 60px 20px;
  }

  .about-left { order: 2; }

  .about-image-wrap {
    order: 1;
    aspect-ratio: 16/10;
    border-radius: var(--radius-md);
  }

  .section-heading {
    font-size: clamp(28px, 6vw, 40px);
    margin-bottom: 16px;
  }

  .section-tag {
    font-size: 10px;
    letter-spacing: 2.5px;
    margin-bottom: 14px;
  }

  .about-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 24px;
  }

  .about-card {
    padding: 16px;
    border-radius: var(--radius-sm);
  }

  .about-card-num {
    font-size: 26px;
  }

  .about-card-label {
    font-size: 11px;
  }

  /* ── UNITS ── */
  .section-units {
    padding: 56px 20px;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .units-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .unit-card {
    border-radius: var(--radius-md);
  }

  .unit-img-wrap {
    aspect-ratio: 16/9;
  }

  .unit-body {
    padding: 20px;
  }

  .unit-body h3 {
    font-size: 20px;
    margin-bottom: 6px;
  }

  .unit-body p {
    font-size: 13px;
    margin-bottom: 14px;
  }

  .unit-features {
    gap: 12px;
    margin-bottom: 16px;
  }

  .unit-footer {
    padding-top: 14px;
  }

  .unit-price {
    font-size: 18px;
  }

  .btn-enquire {
    padding: 9px 18px;
    font-size: 12px;
  }

  /* ── CTA SECTION ── */
  .section-cta {
    margin: 20px 20px 56px;
    padding: 40px 24px;
    border-radius: var(--radius-md);
  }

  .cta-title {
    font-size: clamp(26px, 6vw, 38px);
    margin-bottom: 12px;
    line-height: 1.2;
  }

  .cta-desc {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .cta-actions {
    gap: 12px;
  }

  .btn-cta-primary,
  .btn-cta-ghost {
    padding: 13px 28px;
    font-size: 13px;
  }

  /* ── FOOTER ── */
  .footer {
    grid-template-columns: 1fr 1fr;
    padding: 40px 20px;
    gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1; /* full width brand row */
  }

  .footer-brand p {
    font-size: 12px;
    margin-top: 10px;
    max-width: 100%;
  }

  .footer-col h4 {
    font-size: 11px;
    margin-bottom: 12px;
  }

  .footer-col ul li {
    margin-bottom: 8px;
  }

  .footer-col ul li a {
    font-size: 13px;
  }

  .footer-bottom {
    padding: 16px 20px;
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .footer-bottom p {
    font-size: 11px;
  }

  /* ── MODAL ── */
  .modal {
    padding: 32px 20px;
    border-radius: var(--radius-md);
    max-width: 100%;
  }

  .modal-title {
    font-size: 24px;
  }

  /* ── GALLERY ── */
  .gallery-hero {
    padding: 90px 20px 36px;
  }

  .gallery-hero h1 {
    font-size: clamp(32px, 7vw, 50px);
  }

  .gallery-filters {
    padding: 0 20px 28px;
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 18px;
    font-size: 12px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 20px 56px;
    gap: 10px;
  }

  .gallery-item.featured {
    grid-column: span 2;
  }

  .gallery-item.tall {
    grid-row: span 1;
    aspect-ratio: 4/3;
  }
}


/* ─── MOBILE (≤ 600px) ─── */
@media (max-width: 600px) {

  /* ── NAVBAR ── */
  .navbar {
    padding: 12px 16px;
  }

  .navbar.scrolled {
    padding: 10px 16px;
  }

  .logo-badge {
    width: 32px;
    height: 32px;
    font-size: 11px;
    border-radius: 6px;
  }

  .logo-text h2 {
    font-size: 12px;
  }

  .logo-text span {
    font-size: 8px;
    letter-spacing: 1.5px;
  }

  .nav-logo {
    gap: 9px;
  }

  /* ── MOBILE MENU ── */
  .mobile-menu {
    top: 58px;
    padding: 16px 16px 24px;
  }

  .mobile-menu a {
    font-size: 14px;
    padding: 13px 0;
  }

  /* ── HERO ── */
  .hero {
    padding: 70px 16px 40px;
    gap: 24px;
  }

  .hero-badge {
    font-size: 9px;
    letter-spacing: 2px;
    margin-bottom: 16px;
  }

  .hero-title .line1 {
    font-size: clamp(24px, 8vw, 36px);
    letter-spacing: -0.3px;
    line-height: 1.15;
  }

  .hero-title .line2 {
    font-size: clamp(13px, 3.8vw, 17px);
    margin-top: 8px;
    line-height: 1.6;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 28px;
  }

  .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 13px;
    border-radius: 14px;
  }

  .btn-ghost {
    font-size: 13px;
    padding: 0 4px;
  }

  /* Building card — full bleed, taller on phones */
  .building-card {
    aspect-ratio: 4/3;
    border-radius: 16px;
  }

  .badge-now-open {
    font-size: 10px;
    padding: 5px 10px;
    top: 10px;
    right: 10px;
  }

  .badge-location {
    bottom: 10px;
    left: 10px;
    padding: 8px 10px;
    gap: 8px;
    min-width: 130px;
    border-radius: 8px;
  }

  .loc-icon { width: 24px; height: 24px; font-size: 11px; }
  .loc-text h4 { font-size: 11px; }
  .loc-text span { font-size: 9px; }

  /* ── FEATURES ROW ── */
  .features-row {
    grid-template-columns: 1fr 1fr;
  }

  .feature-item {
    padding: 20px 16px;
    gap: 10px;
  }

  .feature-icon {
    width: 30px;
    height: 30px;
    font-size: 13px;
    flex-shrink: 0;
  }

  .feature-text h3 {
    font-size: 12px;
    line-height: 1.3;
  }

  /* ── ABOUT ── */
  .section-about {
    padding: 48px 16px;
    gap: 28px;
  }

  .section-heading {
    font-size: clamp(24px, 7vw, 34px);
    line-height: 1.2;
  }

  .about-desc {
    font-size: 13px;
    line-height: 1.75;
  }

  .about-grid {
    gap: 10px;
    margin-top: 20px;
  }

  .about-card {
    padding: 14px;
  }

  .about-card-num {
    font-size: 22px;
    margin-bottom: 3px;
  }

  .about-card-label {
    font-size: 10px;
  }

  .about-image-wrap {
    border-radius: 14px;
  }

  .about-image-badge {
    bottom: 14px;
    right: 14px;
    padding: 10px 14px;
    border-radius: 8px;
  }

  .about-image-badge p { font-size: 10px; }
  .about-image-badge strong { font-size: 17px; }

  /* ── UNITS ── */
  .section-units {
    padding: 48px 16px;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .units-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .unit-card {
    border-radius: 16px;
  }

  .unit-img-wrap {
    aspect-ratio: 16/10;
  }

  .unit-body {
    padding: 18px 16px;
  }

  .unit-body h3 {
    font-size: 19px;
    margin-bottom: 5px;
  }

  .unit-body p {
    font-size: 12.5px;
    margin-bottom: 12px;
    line-height: 1.6;
  }

  .unit-features {
    gap: 10px;
    margin-bottom: 14px;
  }

  .unit-feat {
    font-size: 11.5px;
  }

  .unit-footer {
    padding-top: 12px;
    align-items: center;
  }

  .unit-price {
    font-size: 17px;
  }

  .unit-price small {
    font-size: 11px;
  }

  .btn-enquire {
    padding: 9px 16px;
    font-size: 11.5px;
    border-radius: 50px;
  }

  /* ── CTA SECTION ── */
  .section-cta {
    margin: 16px 16px 48px;
    padding: 36px 20px;
    border-radius: 16px;
  }

  .cta-title {
    font-size: clamp(22px, 7vw, 30px);
    margin-bottom: 10px;
    line-height: 1.25;
  }

  .cta-desc {
    font-size: 13px;
    margin-bottom: 20px;
    line-height: 1.7;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .btn-cta-primary,
  .btn-cta-ghost {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    font-size: 13px;
    border-radius: 14px;
  }

  /* ── STATS (if visible) ── */
  .hero-stats {
    flex-direction: column;
    border-radius: var(--radius-sm);
  }

  .stat {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
  }

  .stat:last-child {
    border-bottom: none;
  }

  .stat:not(:last-child)::after {
    display: none;
  }

  .stat-num {
    font-size: 26px;
    margin-bottom: 2px;
  }

  .stat-label {
    font-size: 9px;
    letter-spacing: 1.5px;
  }

  /* ── FOOTER ── */
  .footer {
    grid-template-columns: 1fr;
    padding: 36px 16px;
    gap: 24px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-brand p {
    font-size: 12px;
    margin-top: 10px;
    line-height: 1.65;
  }

  .footer-col {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
  }

  .footer-col:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .footer-col h4 {
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 10px;
  }

  .footer-col ul li {
    margin-bottom: 9px;
  }

  .footer-col ul li a {
    font-size: 13px;
  }

  .footer-bottom {
    padding: 14px 16px;
    gap: 5px;
  }

  .footer-bottom p {
    font-size: 11px;
  }

  /* ── MODAL ── */
  .modal {
    padding: 28px 16px 24px;
    border-radius: 18px;
    margin: 0 4px;
  }

  .modal-close {
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .modal-header {
    margin-bottom: 22px;
  }

  .modal-tag {
    font-size: 9px;
    letter-spacing: 2.5px;
    margin-bottom: 6px;
  }

  .modal-title {
    font-size: 22px;
    line-height: 1.25;
  }

  .form-group {
    margin-bottom: 16px;
  }

  .form-group label {
    font-size: 11px;
    margin-bottom: 6px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 14px;
    font-size: 14px; /* prevents iOS zoom */
    border-radius: 10px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .btn-submit {
    padding: 14px;
    font-size: 14px;
    border-radius: 14px;
    margin-top: 6px;
  }

  /* ── CONTACT BUTTONS (Modal) ── */
  .contact-buttons {
    gap: 10px;
    margin: 12px 0;
  }

  .btn-whatsapp,
  .btn-call {
    padding: 12px 10px;
    font-size: 13px;
    border-radius: 10px;
    gap: 6px;
  }

  /* ── GALLERY ── */
  .gallery-hero {
    padding: 80px 16px 28px;
  }

  .gallery-hero h1 {
    font-size: clamp(28px, 8vw, 40px);
    line-height: 1.15;
    margin-bottom: 12px;
  }

  .gallery-hero p {
    font-size: 13px;
    line-height: 1.7;
  }

  .gallery-filters {
    padding: 0 16px 24px;
    gap: 7px;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .gallery-filters::-webkit-scrollbar { display: none; }

  .filter-btn {
    padding: 8px 16px;
    font-size: 12px;
    flex-shrink: 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    padding: 0 16px 48px;
    gap: 12px;
  }

  .gallery-item {
    border-radius: 14px;
  }

  .gallery-item.featured {
    grid-column: span 1;
    aspect-ratio: 4/3;
  }

  .gallery-item.tall {
    grid-row: span 1;
    aspect-ratio: 4/3;
  }

  .lightbox-nav { display: none; }

  .lightbox-inner {
    max-width: 96vw;
  }

  .lightbox-inner img {
    max-width: 96vw;
    max-height: 75vh;
    border-radius: var(--radius-sm);
  }

  .lightbox-close {
    top: -40px;
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  /* ── SECTION SPACING TIGHTENING ── */
  .section-amenities {
    padding: 48px 16px;
  }

  .amenities-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .amenity-card {
    padding: 20px 16px;
    border-radius: 12px;
  }

  .amenity-icon { font-size: 26px; margin-bottom: 10px; }
  .amenity-card h4 { font-size: 13px; }
  .amenity-card p { font-size: 11px; }

  /* ── SUCCESS MODAL ── */
  .success-icon {
    width: 54px;
    height: 54px;
    font-size: 24px;
    margin-bottom: 16px;
  }

  .success-title {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .success-desc {
    font-size: 13px;
    line-height: 1.65;
  }
}