/* ============================================================
   KARYAN NH-24 — Stylesheet
   Design language: warm stone & charcoal, brass accent, serif
   display type. Signature element: the "Parcel Grid" — a thin
   line grid motif (8.5 acres / 10 towers) used as a structural
   divider, echoing a site plan rather than a decorative shape.
   ============================================================ */

:root {
  /* ---- Palette ---- */
  --stone-50:   #F7F4EE;
  --stone-100:  #EFE9DD;
  --stone-200:  #E1D8C4;
  --charcoal-900: #1E1B16;
  --charcoal-700: #2E2A22;
  --brass-600:  #8A6D3B;
  --brass-500:  #A9854C;
  --brass-300:  #CDB07F;
  --ink-700:    #3A352C;
  --white:      #FFFFFF;
  --success-600:#2F7A4F;
  --danger-600: #B23A3A;

  /* ---- Type ---- */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* ---- Layout ---- */
  --container-max: 1180px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow-card: 0 4px 24px rgba(30, 27, 22, 0.08);
  --shadow-lift: 0 12px 40px rgba(30, 27, 22, 0.18);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--stone-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--charcoal-900);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
ul { padding-left: 1.2em; }

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Visible focus states for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--brass-500);
  outline-offset: 2px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-600);
  font-weight: 600;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--brass-500);
  display: inline-block;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brass-600);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(138, 109, 59, 0.35);
}
.btn-primary:hover { background: var(--brass-500); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--stone-50);
  border-color: rgba(247, 244, 238, 0.5);
}
.btn-outline:hover { background: rgba(247, 244, 238, 0.12); }
.btn-dark {
  background: var(--charcoal-900);
  color: var(--white);
}
.btn-dark:hover { background: var(--charcoal-700); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(30, 27, 22, 0.0);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(30, 27, 22, 0.92);
  box-shadow: 0 2px 16px rgba(0,0,0,0.2);
  padding: 12px 0;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.brand small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--brass-300);
  font-weight: 500;
}
.header-cta { display: flex; gap: 10px; align-items: center; }
.header-phone {
  color: var(--stone-100);
  font-size: 14px;
  display: none;
}
@media (min-width: 768px) { .header-phone { display: inline-flex; align-items: center; gap: 6px; } }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--charcoal-900);
  padding-top: 110px;
  padding-bottom: 70px;
  overflow: hidden;
}
.hero-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-split-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
  }
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--stone-50);
}
.hero-image-panel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(205, 176, 127, 0.25);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  top: 0px;
  width: 100%;
  
}
.hero-image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-image-panel::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,18,14,0) 60%, rgba(20,18,14,0.35) 100%);
  pointer-events: none;
}
@media (max-width: 959px) {
  .hero-image-panel { order: -1; top:0; width:100%; }
}
.hero-badge {
  display: inline-block;
  background: rgba(169, 133, 76, 0.18);
  border: 1px solid var(--brass-300);
  color: var(--brass-300);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(30px, 4.2vw, 52px);
  color: var(--white);
  max-width: 560px;
}
.hero-title em {
  font-style: normal;
  color: var(--brass-300);
}
.hero-subtitle {
  font-size: 18px;
  max-width: 560px;
  color: var(--stone-100);
}

/* Pre-launch price highlight — the headline number in the hero */
.hero-price-highlight {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-top: 22px;
  padding: 18px 26px;
  background: rgba(20, 18, 14, 0.45);
  border: 1px solid rgba(205, 176, 127, 0.4);
  border-radius: 12px;
  backdrop-filter: blur(2px);
}
.hero-price-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brass-300);
}
.hero-price-value {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}
.hero-price-compare {
  font-size: 13.5px;
  color: var(--stone-200);
  opacity: 0.85;
}
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* Parcel grid signature strip beneath hero stats */
.parcel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(247,244,238,0.18);
  margin-top: 56px;
}
.parcel-grid-item {
  padding: 18px 18px 0;
  border-left: 1px solid rgba(247,244,238,0.18);
}
.parcel-grid-item:first-child { border-left: none; padding-left: 0; }
.parcel-grid-num {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  color: var(--white);
  display: block;
}
.parcel-grid-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone-200);
  opacity: 0.8;
}
@media (max-width: 640px) {
  .parcel-grid { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .parcel-grid-item:nth-child(3) { border-left: none; padding-left: 0; }
}

/* ============================================================
   ANNOUNCEMENT / STORY STRIP
   ============================================================ */
.announcement {
  background: var(--stone-100);
  padding: 80px 0;
}
.announcement-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 900px) {
  .announcement-grid { grid-template-columns: 0.9fr 1.1fr; align-items: center; }
}
.announcement h2 { font-size: clamp(28px, 4vw, 42px); }
.announcement-body p { font-size: 17px; color: var(--ink-700); }
.announcement-figure {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--stone-200);
}

/* ============================================================
   SECTION GENERIC
   ============================================================ */
.section { padding: 90px 0; }
.section-dark { background: var(--charcoal-900); color: var(--stone-100); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-header { max-width: 640px; margin-bottom: 48px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: clamp(28px, 4vw, 40px); }
.section-subtitle { margin-top: 14px; font-size: 16px; line-height: 1.6; color: var(--ink-700); }

/* ============================================================
   LOCATION / MAP
   ============================================================ */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 36px;
  align-items: start;
  margin-top: 20px;
}
.location-landmarks {
  background: var(--stone-100);
  border: 1px solid var(--stone-200);
  border-radius: 12px;
  padding: 28px;
}
.location-landmark-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--stone-200);
}
.location-landmark-item:last-of-type { border-bottom: none; }
.location-landmark-name { font-weight: 600; color: var(--charcoal-900); }
.location-landmark-time { color: var(--brass-600); font-family: 'IBM Plex Mono', monospace; font-size: 13.5px; white-space: nowrap; }
.location-map-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--stone-200);
  min-height: 420px;
  background: var(--stone-100);
}
.location-map-frame iframe { display: block; }
.location-map-placeholder {
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-700);
  font-size: 15px;
}
@media (max-width: 860px) {
  .location-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   HIGHLIGHTS GRID
   ============================================================ */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: rgba(247,244,238,0.12);
  border: 1px solid rgba(247,244,238,0.12);
}
.highlight-card {
  background: var(--charcoal-900);
  padding: 32px 26px;
}
.highlight-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(169,133,76,0.15);
  border: 1px solid var(--brass-500);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--brass-300);
}
.highlight-card h3 { font-size: 18px; color: var(--white); margin-bottom: 8px; }
.highlight-card p { font-size: 14.5px; color: var(--stone-200); margin: 0; }

/* ============================================================
   PRICING TABLE
   ============================================================ */
.pricing-wrap {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--stone-200);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table.pricing-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14.5px; }
table.pricing-table thead th {
  background: var(--brass-600);
  color: var(--white);
  text-align: left;
  padding: 16px 18px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}
table.pricing-table tbody td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--stone-100);
  white-space: nowrap;
}
table.pricing-table tbody tr:last-child td { border-bottom: none; }
table.pricing-table td.price-cell { font-weight: 700; color: var(--brass-600); }
.pricing-scroll-hint {
  display: none;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-700);
  opacity: 0.6;
  margin-top: 10px;
}
@media (max-width: 700px) {
  .pricing-scroll-hint { display: block; }
}
.pricing-note {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brass-600);
  margin-top: 18px;
}

/* Payment plan */
.payment-plan-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid var(--stone-200);
}
.payment-plan-item {
  text-align: center;
  padding: 28px 12px 0;
  border-left: 1px solid var(--stone-200);
}
.payment-plan-item:first-child { border-left: none; }
.payment-plan-pct {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 46px);
  color: var(--brass-600);
  display: block;
}
.payment-plan-label { font-size: 13px; color: var(--ink-700); }
@media (max-width: 640px) {
  .payment-plan-row { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .payment-plan-item:nth-child(3) { border-left: none; }
}

/* ============================================================
   GALLERY / VIDEO SECTION
   ============================================================ */
.media-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.media-frame video { width: 100%; display: block; }

/* ============================================================
   STICKY CTA BAR (mobile)
   ============================================================ */
.sticky-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: var(--charcoal-900);
  border-top: 1px solid rgba(247,244,238,0.15);
  padding: 12px 16px;
  display: flex;
  gap: 10px;
  box-shadow: 0 -6px 24px rgba(0,0,0,0.25);
}
.sticky-cta-bar .btn { flex: 1; padding: 13px 10px; font-size: 14px; }
@media (min-width: 900px) { .sticky-cta-bar { display: none; } }

/* ============================================================
   FLOATING WHATSAPP CHAT BUBBLE
   ============================================================ */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 86px;
  z-index: 95;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.whatsapp-float:hover {
  transform: scale(1.06);
  box-shadow: 0 10px 26px rgba(0,0,0,0.35);
}
.whatsapp-float:focus-visible {
  outline: 3px solid var(--brass-300);
  outline-offset: 3px;
}
@media (min-width: 900px) {
  .whatsapp-float { bottom: 28px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--charcoal-900);
  color: var(--stone-200);
  padding: 60px 0 90px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-grid h4 { color: var(--white); font-size: 15px; font-family: var(--font-body); }
.footer-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 14px;
  color: #4ddb86;
  text-decoration: none;
}
.footer-whatsapp-link:hover { color: #6ef0a3; text-decoration: underline; }
.footer-whatsapp-link svg { flex-shrink: 0; }
.footer-disclaimer {
  font-size: 12.5px;
  color: rgba(225, 216, 196, 0.55);
  border-top: 1px solid rgba(247,244,238,0.1);
  margin-top: 40px;
  padding-top: 24px;
  line-height: 1.7;
}
@media (min-width: 900px) { .site-footer { padding-bottom: 60px; } }

/* ============================================================
   MODAL (Lead capture popup)
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(20, 18, 14, 0.72);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(2px);
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: var(--stone-50);
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-md);
  position: relative;
  box-shadow: var(--shadow-lift);
  max-height: 92vh;
  overflow-y: auto;
}
.modal-header {
  background: var(--charcoal-900);
  color: var(--white);
  padding: 22px 26px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.modal-header .eyebrow { color: var(--brass-300); margin-bottom: 6px; }
.modal-header h3 { color: var(--white); margin: 0; font-size: 20px; }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(247,244,238,0.12);
  color: var(--white);
  font-size: 18px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: rgba(247,244,238,0.25); }
.modal-body { padding: 24px 26px 28px; }

.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--charcoal-900); }
.form-label .req { color: var(--danger-600); }
.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  background: var(--white);
  color: var(--ink-700);
}
.form-control:focus { border-color: var(--brass-500); }
textarea.form-control { resize: vertical; min-height: 80px; }
.form-hint { font-size: 12px; color: #8a8474; margin-top: 4px; }
.form-error {
  font-size: 12.5px;
  color: var(--danger-600);
  margin-top: 4px;
  display: none;
}
.form-control.invalid { border-color: var(--danger-600); }
.form-control.invalid + .form-error { display: block; }

.form-status {
  display: none;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 16px;
}
.form-status.success { display: block; background: #e6f2ea; color: var(--success-600); border: 1px solid #b9ddc6; }
.form-status.error { display: block; background: #fbeaea; color: var(--danger-600); border: 1px solid #f0c3c3; }

.honeypot-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; }

.spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Utility ---- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
