/* ==========================================================================
   VISTA LAND — Vista Palencia Zirakpur | Lead-Gen Microsite
   Design tokens derived from brand brochure (deep forest green, rose-gold
   accent from the Vista Land wordmark, warm stone background).
   ========================================================================== */

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

:root {
  /* Brand palette */
  --forest: #0E3B2E;
  --forest-dark: #082721;
  --forest-tint: #E8EFEA;
  --stone: #F6F2E9;
  --stone-deep: #EDE6D6;
  --rose: #C4897B;
  --rose-dark: #A96E60;
  --gold: #AD8A4E;
  --gold-light: #D8C39A;
  --ink: #1B211D;
  --ink-soft: #4B5650;
  --white: #FFFFFF;

  /* Type */
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Jost', 'Segoe UI', sans-serif;

  /* Layout */
  --max-w: 1240px;
  --radius: 2px;
  --shadow-soft: 0 20px 60px -20px rgba(14, 59, 46, 0.25);
  --shadow-card: 0 10px 30px -12px rgba(27, 33, 29, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--forest);
  margin: 0 0 16px;
  line-height: 1.15;
}
h1 { font-size: clamp(36px, 5.5vw, 64px); font-weight: 500; }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: clamp(20px, 2.5vw, 26px); }
p { margin: 0 0 16px; color: var(--ink-soft); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rose-dark);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 12px;
}

.italic-accent {
  font-style: italic;
  color: var(--rose-dark);
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--rose); color: var(--white); }
.btn-primary:hover { background: var(--rose-dark); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-forest { background: var(--forest); color: var(--white); }
.btn-forest:hover { background: var(--forest-dark); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 18px; font-size: 12px; }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ---------- Header ---------- */
.top-strip {
  background: var(--forest-dark);
  color: rgba(255,255,255,0.85);
  font-size: 12.5px;
  padding: 7px 0;
}
.top-strip .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.top-strip a { color: #fff; }
.top-strip .rera { color: rgba(255,255,255,0.6); letter-spacing: 0.5px; }
.top-strip .contacts { display: flex; gap: 18px; }
.top-strip .contacts span { display: inline-flex; align-items: center; gap: 6px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--forest);
  padding: 14px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 34px; width: auto; }
.brand-text { font-family: var(--font-display); color: #fff; font-size: 15px; line-height: 1.2; }
.brand-text strong { display: block; font-size: 19px; letter-spacing: 0.5px; }
.brand-text span { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-light); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  color: rgba(255,255,255,0.82);
  font-size: 13.5px;
  letter-spacing: 0.5px;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}
.main-nav a:hover, .main-nav a.active { color: #fff; border-bottom-color: var(--rose); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff; font-size: 17px;
  transition: all 0.2s ease;
}
.icon-btn:hover { background: rgba(255,255,255,0.12); }
.icon-btn.whatsapp { background: #25D366; border-color: #25D366; }
.icon-btn.whatsapp:hover { background: #1fb955; }

.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }

@media (max-width: 960px) {
  .main-nav { position: fixed; top: 0; right: -300px; height: 100vh; width: 280px; background: var(--forest-dark); flex-direction: column; padding: 90px 30px; gap: 22px; transition: right 0.3s ease; box-shadow: -10px 0 40px rgba(0,0,0,0.3); }
  .main-nav.open { right: 0; }
  .nav-toggle { display: block; }
  .top-strip .contacts span.hide-mobile { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,39,33,0.55) 0%, rgba(8,39,33,0.35) 35%, rgba(8,39,33,0.92) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-bottom: 56px; }
.hero-rera { font-size: 12px; letter-spacing: 2px; color: var(--gold-light); margin-bottom: 18px; text-transform: uppercase; }
.hero h1 { color: #fff; margin-bottom: 10px; }
.hero .hero-sub { font-family: var(--font-display); font-style: italic; font-size: clamp(17px, 2vw, 22px); color: rgba(255,255,255,0.9); max-width: 640px; margin-bottom: 30px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; margin: 34px 0 30px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.25); }
.hero-stats .stat b { display: block; font-family: var(--font-display); font-size: 30px; color: #fff; }
.hero-stats .stat span { font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.7); }

/* ---------- Sticky mobile bottom bar ---------- */
.mobile-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--forest-dark);
  box-shadow: 0 -6px 20px rgba(0,0,0,0.25);
}
.mobile-bar .row { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; padding: 10px 4px; color: #fff; font-size: 11px; letter-spacing: 0.5px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.mobile-bar a:last-child { border-right: none; }
.mobile-bar a i { font-size: 17px; }
.mobile-bar a.wa { background: #25D366; }
.mobile-bar a.call { background: var(--rose); }
@media (max-width: 720px) {
  .mobile-bar { display: block; }
  body { padding-bottom: 58px; }
}

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-alt { background: var(--white); }
.section-forest { background: var(--forest); color: #fff; }
.section-forest h2, .section-forest h3 { color: #fff; }
.section-forest p { color: rgba(255,255,255,0.75); }

/* Quick stats bar */
.stat-bar {
  display: grid; grid-template-columns: repeat(6, 1fr);
  background: var(--forest); color: #fff;
}
.stat-bar div { padding: 26px 10px; text-align: center; border-right: 1px solid rgba(255,255,255,0.12); }
.stat-bar div:last-child { border-right: none; }
.stat-bar b { display: block; font-family: var(--font-display); font-size: 26px; color: var(--gold-light); }
.stat-bar span { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.75); }
@media (max-width: 780px) { .stat-bar { grid-template-columns: repeat(3, 1fr); } .stat-bar div { border-bottom: 1px solid rgba(255,255,255,0.12); } }

/* Two-column feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-card); }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
@media (max-width: 860px) { .split, .split.reverse { grid-template-columns: 1fr; direction: ltr; } }

/* Cards grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 860px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--rose);
}
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: 14.5px; }

.amenity-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--stone-deep);
}
.amenity-item i { color: var(--rose-dark); font-size: 15px; margin-top: 3px; }
.amenity-item span { font-size: 14.5px; color: var(--ink); }

/* Price table */
.price-table { width: 100%; border-collapse: collapse; background: #fff; box-shadow: var(--shadow-card); }
.price-table th, .price-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--stone-deep); font-size: 14.5px; }
.price-table th { background: var(--forest); color: #fff; font-weight: 500; letter-spacing: 0.5px; font-size: 13px; text-transform: uppercase; }
.price-table tr:last-child td { border-bottom: none; }
.price-table td.price { font-family: var(--font-display); font-size: 17px; color: var(--forest); font-weight: 600; }
.table-wrap { overflow-x: auto; margin-bottom: 20px; }
.table-note { font-size: 12.5px; color: var(--ink-soft); font-style: italic; }

/* Payment plan timeline */
.plan-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; box-shadow: var(--shadow-card); }
.plan-list .row { display: flex; justify-content: space-between; padding: 13px 22px; border-bottom: 1px solid var(--stone-deep); font-size: 14px; }
.plan-list .row b { color: var(--forest); font-family: var(--font-display); font-size: 15.5px; }
@media (max-width: 700px) { .plan-list { grid-template-columns: 1fr; } }

/* Floor plan cards */
.unit-card { background: #fff; box-shadow: var(--shadow-card); overflow: hidden; }
.unit-card img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: var(--stone-deep); padding: 14px; }
.unit-card img.plan-img { object-fit: contain; }
.unit-card .body { padding: 22px; }
.unit-card .tag { display: inline-block; background: var(--forest-tint); color: var(--forest); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; margin-bottom: 10px; }
.unit-card ul { margin-top: 12px; }
.unit-card li { font-size: 13.5px; color: var(--ink-soft); padding: 4px 0; border-top: 1px dashed var(--stone-deep); display: flex; justify-content: space-between; }

/* Location list */
.loc-list .row { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--stone-deep); }
.loc-list .row span:first-child { font-size: 15px; color: var(--ink); }
.loc-list .row b { color: var(--rose-dark); font-family: var(--font-display); font-size: 15px; white-space: nowrap; margin-left: 12px; }

/* FAQ accordion */
.faq-item { border-bottom: 1px solid var(--stone-deep); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 20px 4px; cursor: pointer; font-family: var(--font-display); font-size: 18px; color: var(--forest); }
.faq-q .plus { font-size: 22px; transition: transform 0.25s ease; color: var(--rose); }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; font-size: 14.5px; }
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 20px; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 8px; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
.gallery-grid a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
@media (max-width: 780px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } .gallery-grid a:nth-child(1) { grid-column: span 2; grid-row: span 1; } }

/* ---------- Lead form ---------- */
.lead-panel { background: #fff; box-shadow: var(--shadow-soft); border-radius: var(--radius); padding: 36px; border-top: 4px solid var(--rose); }
.lead-panel h3 { margin-bottom: 4px; }
.lead-panel .sub { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 22px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 12.5px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--stone-deep); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 14.5px; background: var(--stone); color: var(--ink);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 2px solid var(--rose); background: #fff; }
.form-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-grid2 { grid-template-columns: 1fr; } }
.form-msg { font-size: 13.5px; padding: 12px 14px; border-radius: var(--radius); margin-bottom: 16px; display: none; }
.form-msg.success { background: #E7F5EC; color: #1E6B3E; display: block; }
.form-msg.error { background: #FBE9E7; color: #B03A2E; display: block; }
.consent-note { font-size: 11.5px; color: var(--ink-soft); margin-top: 12px; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--forest) 0%, var(--forest-dark) 100%);
  color: #fff; padding: 60px 0; text-align: center;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,0.75); max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-banner .cta-row { justify-content: center; margin-top: 24px; }

/* ---------- Footer ---------- */
footer { background: var(--forest-dark); color: rgba(255,255,255,0.75); padding: 60px 0 0; font-size: 13.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer-grid h4 { color: #fff; font-family: var(--font-body); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid a { display: block; color: rgba(255,255,255,0.65); padding: 5px 0; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-brand img { height: 30px; margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 13px; }
.footer-social { display: flex; gap: 12px; margin-top: 14px; }
.footer-social a { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.25); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0; font-size: 12px; color: rgba(255,255,255,0.5); }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.disclaimer-box { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); padding: 16px 20px; font-size: 12px; color: rgba(255,255,255,0.55); margin-bottom: 30px; border-radius: var(--radius); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Breadcrumb / page header */
.page-hero {
  background: var(--forest); color: #fff; padding: 130px 0 50px; text-align: left;
  background-size: cover; background-position: center; position: relative;
}
.page-hero::before { content:''; position:absolute; inset:0; background: linear-gradient(120deg, rgba(8,39,33,0.92), rgba(8,39,33,0.75)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero .crumb { font-size: 12.5px; letter-spacing: 1px; color: var(--gold-light); text-transform: uppercase; margin-bottom: 12px; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4.5vw, 46px); margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 560px; margin-bottom: 0; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.divider { width: 60px; height: 2px; background: var(--rose); margin: 18px 0; }
.badge-rera { display: inline-flex; align-items: center; gap: 8px; background: var(--forest-tint); color: var(--forest); font-size: 12.5px; padding: 8px 16px; border-radius: 20px; font-weight: 500; }

@media (max-width: 560px) {
  section { padding: 56px 0; }
  .stat-bar { grid-template-columns: repeat(2,1fr); }
}
