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

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

:root {
  --sand: #C9B99A;
  --sand-light: #E8DCCB;
  --sand-dark: #9E8B73;
  --sand-pale: #F5EFE4;
  --sand-paler: #FAF7F2;
  --sand-mid: #EDE4D6;
  --black: #0D0C0A;
  --deep: #141210;
  --charcoal: #1E1C18;
  --warm-gray: #3A3630;
  --mid: #6B6459;
  --off-white: #F5F0E8;
  --white: #FDFCF9;

  --bg-primary: var(--sand-pale);
  --bg-secondary: var(--sand-paler);
  --bg-card: var(--sand-mid);

  --text-primary: #1A1815;
  --text-secondary: #3A3630;
  --text-muted: #6B6459;
  --text-light: #9E8B73;

  --border: rgba(158,139,115,0.2);
  --border-strong: rgba(158,139,115,0.35);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ==============================
   NAV — DESKTOP
   Centered logo (275px) + nav links stacked below
   ============================== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; flex-direction: column; align-items: center;
  padding: 28px 60px 18px;
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}
nav.scrolled {
  background: rgba(245,239,228,0.96);
  backdrop-filter: blur(12px);
  padding: 12px 60px 12px;
  box-shadow: 0 1px 0 var(--border);
}

/* Logo — primary mark, centered on desktop */
.nav-logo {
  display: block; margin-bottom: 10px; line-height: 0; text-align: center;
}
.nav-logo-img-main {
  width: 140px; height: auto; display: block;
  transition: opacity 0.3s, width 0.3s;
}
/* Logotype (scrolled state) — hidden by default */
.nav-logo-img-scrolled {
  width: 0; height: 0; overflow: hidden; opacity: 0; display: block;
  transition: opacity 0.3s, width 0.3s;
  pointer-events: none;
}
nav.scrolled .nav-logo-img-main {
  width: 0; height: 0; overflow: hidden; opacity: 0; pointer-events: none;
}
nav.scrolled .nav-logo-img-scrolled {
  width: 120px; height: auto; opacity: 1; pointer-events: auto;
}

/* Nav links — centered row below logo */
.nav-links { display: flex; gap: 48px; list-style: none; }
.nav-links a {
  font-family: var(--font-body); font-weight: 400; font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(13,12,10,0.75); text-decoration: none; transition: color 0.2s;
}
nav.scrolled .nav-links a { color: var(--text-secondary); }
.nav-links a:hover, .nav-links a.active { color: var(--sand-dark); }
nav.scrolled .nav-links a:hover, nav.scrolled .nav-links a.active { color: var(--sand-dark); }

/* Hamburger — hidden on desktop */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 26px; height: 1.5px;
  background: rgba(13,12,10,0.75); transition: all 0.3s;
}
nav.scrolled .hamburger span { background: var(--text-secondary); }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ==============================
   MOBILE MENU OVERLAY
   Centered logo + links + close
   ============================== */
.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: var(--sand-pale); z-index: 99;
  flex-direction: column; align-items: center; justify-content: center; gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu-logo {
  display: none;
}
.mobile-menu a {
  font-family: var(--font-display); font-size: 36px; font-weight: 300;
  color: var(--text-primary); text-decoration: none; letter-spacing: 0.05em;
  transition: color 0.2s; padding: 10px 0;
}
.mobile-menu a:hover { color: var(--sand-dark); }

/* HERO — always dark/cinematic */
.hero {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,12,10,0.92) 0%, rgba(13,12,10,0.3) 60%, rgba(13,12,10,0.15) 100%);
}
.hero-fallback {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1a1510 0%, #0d0c0a 50%, #1e1a14 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0px 60px 80px;
  max-width: 800px;
  margin-top: 160px;
  /* 220px top clears the desktop stacked nav (logo + links + padding) */
}
.hero-eyebrow {
  font-family: var(--font-body); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--sand); margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-display); font-size: clamp(52px, 7vw, 90px);
  font-weight: 300; line-height: 1.0; color: #FDFCF9; margin-bottom: 16px; letter-spacing: -0.01em;
}
.hero h1 em { font-style: italic; color: var(--sand-light); }
.hero-sub {
  font-family: var(--font-display); font-size: 20px; font-weight: 300;
  font-style: italic; color: var(--sand-light); margin-bottom: 40px; letter-spacing: 0.02em;
}

/* BUTTONS */
.btn-primary {
  display: inline-block; font-family: var(--font-body); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--sand-paler);
  background: var(--charcoal); padding: 16px 40px; text-decoration: none;
  transition: background 0.3s; font-weight: 500; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--warm-gray); }

.btn-sand {
  display: inline-block; font-family: var(--font-body); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--charcoal);
  background: var(--sand); padding: 16px 40px; text-decoration: none;
  transition: all 0.3s; font-weight: 500; border: none; cursor: pointer;
}
.btn-sand:hover { background: var(--sand-dark); color: var(--sand-pale); }

.btn-outline {
  display: inline-block; font-family: var(--font-body); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-secondary);
  border: 1px solid var(--border-strong); padding: 16px 40px; text-decoration: none;
  transition: all 0.3s; font-weight: 400;
}
.btn-outline:hover { background: var(--charcoal); color: var(--sand-light); border-color: var(--charcoal); }

/* SECTIONS */
section { padding: 120px 60px; }
.section-label {
  font-family: var(--font-body); font-size: 10px; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--sand-dark); margin-bottom: 24px;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(36px, 4vw, 58px);
  font-weight: 300; line-height: 1.1; color: var(--text-primary);
  margin-bottom: 32px; letter-spacing: -0.01em;
}
.section-title em { font-style: italic; color: var(--sand-dark); }
.section-body { font-size: 15px; color: var(--text-muted); max-width: 640px; line-height: 1.8; }
.divider { width: 48px; height: 1px; background: var(--sand); margin: 32px 0; }

/* FEATURES STRIP — dark contrast band */
.features-strip {
  background: var(--charcoal); display: grid; grid-template-columns: repeat(3, 1fr);
}
.feature-item {
  padding: 52px 48px; border-right: 1px solid rgba(201,185,154,0.1);
}
.feature-item:last-child { border-right: none; }
.feature-num {
  font-family: var(--font-display); font-size: 52px; font-weight: 300;
  color: var(--sand); line-height: 1; margin-bottom: 12px; display: block;
}
.feature-item h3 {
  font-family: var(--font-body); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: #E8DCCB; margin-bottom: 10px; font-weight: 500;
}
.feature-item p { font-size: 13px; color: rgba(201,185,154,0.5); line-height: 1.7; }

/* INVESTMENT */
.investment {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.investment-img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 500px; }
.investment-content { padding: 80px 72px; }
.investment-bullets { list-style: none; margin: 32px 0; }
.investment-bullets li {
  font-size: 14px; color: var(--text-muted); padding: 14px 0;
  border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; gap: 16px;
}
.investment-bullets li::before { content: '—'; color: var(--sand-dark); flex-shrink: 0; }

/* PLOT MAP */
.plot-map-section {
  background: var(--bg-card);
  padding: 100px 60px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.plot-map-inner { max-width: 980px; margin: 0 auto; }
.plot-map-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 56px;
}
.plot-map-frame {
  background: var(--sand-paler); border: 1px solid var(--border-strong); padding: 32px;
}
.plot-legend {
  display: flex; gap: 28px; margin-top: 20px; flex-wrap: wrap;
}
.plot-legend-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted);
}
.legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

/* PRICE BLOCK — dark */
.price-block { text-align: center; background: var(--charcoal); padding: 140px 60px; }
.price-tag {
  font-family: var(--font-display); font-size: clamp(64px, 10vw, 120px);
  font-weight: 300; color: var(--sand); letter-spacing: -0.02em; line-height: 1; margin-bottom: 16px;
}
.price-sub {
  font-family: var(--font-display); font-size: 22px; font-style: italic;
  color: var(--sand-light); margin-bottom: 48px;
}

/* TESTIMONIAL */
.testimonial {
  background: var(--bg-secondary); padding: 120px 60px;
  display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: center;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.testimonial-img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  max-width: 200px; filter: grayscale(15%);
}
blockquote {
  font-family: var(--font-display); font-size: clamp(22px, 3vw, 34px);
  font-weight: 300; font-style: italic; color: var(--text-primary);
  line-height: 1.4; margin-bottom: 24px;
}
blockquote::before { content: '\201C'; color: var(--sand-dark); }
blockquote::after  { content: '\201D'; color: var(--sand-dark); }
.testimonial-author {
  font-family: var(--font-body); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--sand-dark);
}

/* CTA BANNER — dark */
.cta-banner {
  background: var(--charcoal); padding: 100px 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
}
.cta-banner .section-label { color: var(--sand); }
.cta-banner .section-title { color: var(--off-white); margin-bottom: 12px; }
.cta-banner .section-title em { color: var(--sand-light); }
.cta-banner .section-body { color: rgba(245,240,232,0.5); }

/* SUMBA */
.sumba-section { background: var(--bg-primary); padding: 120px 60px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2px; margin: 60px 0; background: var(--border);
}
.stat-item { background: var(--bg-secondary); padding: 48px 40px; }
.stat-item h4 {
  font-family: var(--font-display); font-size: 42px; font-weight: 300;
  color: var(--sand-dark); margin-bottom: 10px; line-height: 1;
}
.stat-item p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

.advantages-list {
  list-style: none; display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px; margin-top: 32px;
}
.advantages-list li {
  font-size: 14px; color: var(--text-muted); padding: 18px 20px;
  border: 1px solid var(--border); display: flex; gap: 12px; align-items: flex-start;
  background: var(--bg-secondary);
}
.advantages-list li::before { content: '↗'; color: var(--sand-dark); flex-shrink: 0; }

/* WHY CARDS */
.why-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2px; margin-top: 60px; background: var(--border);
}
.why-card {
  background: var(--bg-secondary); overflow: hidden;
  display: grid; grid-template-columns: 220px 1fr;
}
.why-card img { width: 220px; height: 100%; object-fit: cover; display: block; }
.why-card-text { padding: 44px 36px; }
.why-card-text h3 {
  font-family: var(--font-display); font-size: 22px; font-weight: 400;
  color: var(--text-primary); margin-bottom: 12px;
}
.why-card-text p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* INNER PAGE HERO */
.page-hero {
  padding: 210px 60px 100px;
  margin-top: 250px;
  background: var(--charcoal);
}
.page-hero .section-label { color: var(--sand); }
.page-hero .section-title { color: var(--off-white); }
.page-hero .section-title em { color: var(--sand-light); }
.page-hero .section-body { color: rgba(245,240,232,0.55); }

/* FAQ */
.faq-section { background: var(--bg-primary); }
.faq-list { max-width: 840px; margin: 60px auto 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; background: none; border: none; text-align: left;
  padding: 32px 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.faq-question span {
  font-family: var(--font-display); font-size: 20px; font-weight: 400;
  color: var(--text-primary); line-height: 1.3;
}
.faq-icon {
  width: 28px; height: 28px; border: 1px solid var(--border-strong); border-radius: 50%;
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  color: var(--sand-dark); font-size: 18px; font-weight: 300; transition: all 0.3s;
}
.faq-item.open .faq-icon { background: var(--charcoal); color: var(--sand-light); border-color: var(--charcoal); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-inner { font-size: 14px; color: var(--text-muted); line-height: 1.8; padding-bottom: 32px; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; background: var(--bg-primary); }
.contact-info h3 {
  font-family: var(--font-display); font-size: 18px; font-weight: 400;
  color: var(--sand-dark); letter-spacing: 0.04em; margin-bottom: 12px; margin-top: 40px;
}
.contact-info h3:first-child { margin-top: 0; }
.contact-info p { font-size: 14px; color: var(--text-muted); line-height: 1.8; }
.contact-info a {
  color: var(--text-primary); text-decoration: none; font-family: var(--font-body);
  font-size: 15px; display: inline-block; margin-top: 24px;
  border-bottom: 1px solid var(--border-strong); padding-bottom: 4px; transition: all 0.2s;
}
.contact-info a:hover { color: var(--sand-dark); border-color: var(--sand-dark); }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sand-dark); font-weight: 400;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-secondary); border: 1px solid var(--border-strong);
  color: var(--text-primary); font-family: var(--font-body);
  font-size: 14px; font-weight: 300; padding: 16px 20px;
  outline: none; transition: border-color 0.2s; width: 100%; appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--sand-dark); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select option { background: var(--bg-secondary); color: var(--text-primary); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }

/* FOOTER */
footer { background: var(--charcoal); padding: 80px 60px 40px; }
.footer-top {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 60px; margin-bottom: 0;
  border-bottom: 1px solid rgba(201,185,154,0.1); padding-bottom: 60px; margin-bottom: 40px;
}
.footer-logo img { height: 40px; margin-bottom: 20px; display: block; }
.footer-logo p { font-size: 13px; color: rgba(201,185,154,0.4); line-height: 1.7; }
.footer-col h4 {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sand); margin-bottom: 20px; font-weight: 500;
}
.footer-col p { font-size: 13px; color: rgba(201,185,154,0.4); line-height: 1.8; }
.footer-col a {
  display: block; font-size: 13px; color: rgba(201,185,154,0.4);
  text-decoration: none; margin-bottom: 8px; transition: color 0.2s;
}
.footer-col a:hover { color: var(--sand); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: 12px; color: rgba(201,185,154,0.2); }

/* COOKIE */
.cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--sand-paler); border-top: 1px solid var(--border);
  padding: 20px 60px; display: flex; align-items: center;
  justify-content: space-between; gap: 32px; z-index: 200;
  font-size: 13px; color: var(--text-muted);
  box-shadow: 0 -4px 24px rgba(158,139,115,0.12);
}
.cookie-bar button {
  background: var(--charcoal); color: var(--sand-light); border: none;
  padding: 10px 28px; font-family: var(--font-body); font-size: 11px;
  letter-spacing: 0.15em; text-transform: uppercase; cursor: pointer;
  flex-shrink: 0; font-weight: 500; transition: background 0.2s;
}
.cookie-bar button:hover { background: var(--warm-gray); }
.cookie-bar.hidden { display: none; }

/* FADE IN */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ==============================
   RESPONSIVE BREAKPOINTS
   ============================== */

/* TABLET (601px – 960px): 2-col row — logo left, hamburger right */
@media (max-width: 960px) and (min-width: 601px) {
  nav {
    flex-direction: row; align-items: center; justify-content: space-between;
    padding: 20px 40px;
  }
  nav.scrolled { padding: 12px 40px; }
  .nav-logo { margin-bottom: 0; }
  .nav-logo-img-main { width: 120px; }
  nav.scrolled .nav-logo-img-main { width: 0; height: 0; overflow: hidden; opacity: 0; pointer-events: none; }
  nav.scrolled .nav-logo-img-scrolled { width: 100px; opacity: 1; pointer-events: auto; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* MOBILE (≤ 600px): centered logo stacked above hamburger */
@media (max-width: 600px) {
  nav {
    flex-direction: column; align-items: center;
    padding: 20px 24px 16px;
    background: transparent;
    backdrop-filter: none;
    gap: 12px;
  }
  nav.scrolled {
    flex-direction: row; justify-content: space-between; align-items: center;
    padding: 12px 24px; background: rgba(245,239,228,0.97);
    backdrop-filter: blur(12px);
    gap: 0;
  }
  /* Normal state: logo centered, full width */
  .nav-logo { margin-bottom: 0; text-align: center; width: 100%; }
  .nav-logo-img-main { width: 160px; margin: 0 auto; } /* enlarged to match mobile menu logo */
  /* Hide nav logo when hamburger menu is open */
  nav.menu-open .nav-logo { opacity: 0; pointer-events: none; transition: opacity 0.2s; }
  /* Hamburger sits below logo, with generous tap target */
  .hamburger { display: flex; order: 2; padding: 10px 16px; margin-top: 4px; }
  /* Scrolled state: logotype left, hamburger right */
  nav.scrolled .nav-logo { width: auto; }
  nav.scrolled .nav-logo-img-main { width: 0; height: 0; overflow: hidden; opacity: 0; pointer-events: none; }
  nav.scrolled .nav-logo-img-scrolled { width: 110px; opacity: 1; pointer-events: auto; }
  nav.scrolled .hamburger { order: 0; margin-top: 0; }
  .nav-links { display: none; }
}

/* Shared ≤960px layout overrides */
@media (max-width: 960px) {
  nav { padding: 24px 32px; background: transparent; }
  nav.scrolled { padding: 12px 32px; background: rgba(245,239,228,0.97); }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  section { padding: 80px 32px; }
  .hero-content { padding: 160px 32px 60px; }
  .features-strip { grid-template-columns: 1fr; }
  .feature-item { border-right: none; border-bottom: 1px solid rgba(201,185,154,0.1); padding: 32px; }
  .investment { grid-template-columns: 1fr; }
  .investment-img { display: none; }
  .investment-content { padding: 60px 32px; }
  .plot-map-section { padding: 80px 32px; }
  .plot-map-header { grid-template-columns: 1fr; gap: 32px; }
  .price-block { padding: 80px 32px; }
  .testimonial { grid-template-columns: 1fr; }
  .testimonial-img { max-width: 120px; }
  .cta-banner { flex-direction: column; text-align: center; padding: 80px 32px; }
  .why-card { grid-template-columns: 1fr; }
  .why-card img { width: 100%; height: 200px; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .advantages-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .cookie-bar { flex-direction: column; padding: 20px 32px; text-align: center; }
  /* page-hero: enough top padding to clear stacked mobile nav (logo + hamburger + padding) */
  .page-hero { padding: 200px 32px 80px; }
  .faq-list { margin: 40px 0 0; }
  .promise-bar-grid {
    grid-template-columns: 1fr !important;
    padding: 40px 32px !important;
    gap: 32px !important;
  }
}
