:root {
  --bg: #faf7f2;
  --bg-alt: #f0ebe2;
  --text: #2d2a26;
  --muted: #6b6259;
  --accent: #3f5a4a;
  --accent-dark: #2c4135;
  --gold: #b89968;
  --line: #ddd5c8;
  --white: #ffffff;
  --max: 1200px;
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; color: var(--muted); }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 4rem 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}

.brand-mark {
  color: var(--gold);
  font-style: italic;
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.02em;
}

.nav a:hover { color: var(--accent); }
.nav a.active { color: var(--accent); border-bottom: 2px solid var(--gold); padding-bottom: 0.2rem; }

.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

@media (max-width: 800px) {
  .nav { display: none; flex-direction: column; gap: 1rem; position: absolute; top: 100%; right: 0; left: 0; background: var(--bg); padding: 1.5rem; border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav-toggle { display: block; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn-outline:hover { background: var(--text); color: var(--white); }

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover { background: #9c7e54; border-color: #9c7e54; color: var(--white); }

/* Hero */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background-image: linear-gradient(rgba(45, 42, 38, 0.45), rgba(45, 42, 38, 0.45)), url('https://images.unsplash.com/photo-1522708323590-d24dbb6b0267?auto=format&fit=crop&w=1800&q=80');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 6rem 0;
}

.hero h1, .hero p { color: var(--white); }
.hero p { color: rgba(255, 255, 255, 0.9); max-width: 580px; font-size: 1.125rem; margin-bottom: 2rem; }
.hero-content { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; width: 100%; }
.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.hero-cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }

.section-eyebrow {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  text-align: center;
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
}

.section-lede {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Page intro (non-home) */
.page-intro {
  background: var(--bg-alt);
  padding: 5rem 0 4rem;
  text-align: center;
}
.page-intro h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-intro p { max-width: 640px; margin: 1rem auto 0; color: var(--muted); }

/* Cards / units */
.unit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.unit-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.unit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(45, 42, 38, 0.1);
}

.unit-card-img {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-alt);
}

.unit-card-body { padding: 1.5rem; }

.unit-card h3 { margin-bottom: 0.5rem; }

.unit-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0.75rem 0 1rem;
}
.unit-meta span { display: inline-flex; align-items: center; gap: 0.35rem; }

.unit-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.unit-availability {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(63, 90, 74, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* Two-column features */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin: 4rem 0;
}
.feature-row.reverse > div:first-child { order: 2; }
.feature-row img {
  border-radius: var(--radius);
  width: 100%;
  height: 420px;
  object-fit: cover;
}
@media (max-width: 800px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 2rem; }
  .feature-row.reverse > div:first-child { order: 0; }
  .feature-row img { height: 280px; }
}

/* Amenity grid */
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.amenity {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text);
}
.amenity::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Stat banner */
.stat-banner {
  background: var(--accent);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  max-width: 880px;
  margin: 0 auto;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.75rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-label {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* CTA band */
.cta-band {
  background: var(--bg-alt);
  text-align: center;
  padding: 4rem 1.5rem;
}
.cta-band h2 { margin-bottom: 1rem; }
.cta-band p { max-width: 560px; margin: 0 auto 2rem; }

/* Form */
form.app-form {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-field input, .form-field select, .form-field textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font: inherit;
  color: var(--text);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-field textarea { min-height: 100px; resize: vertical; }
.form-actions { display: flex; justify-content: center; margin-top: 1rem; }

/* Footer */
.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.85);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}
.site-footer p, .site-footer a { color: rgba(255, 255, 255, 0.7); }
.site-footer a:hover { color: var(--gold); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
.footer-grid h4 {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.5rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}
.footer-disclaimer {
  background: rgba(184, 153, 104, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  text-align: center;
  padding: 0.75rem;
  margin-bottom: 2rem;
  border: 1px dashed rgba(184, 153, 104, 0.3);
}

/* Chat with ChatGPT badge — distinctive but on-brand */
.chat-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  background: var(--white);
  color: var(--text);
  border: 2px solid var(--text);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.chat-cta:hover { background: var(--text); color: var(--white); }
.chat-cta-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--text);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
}
.chat-cta:hover .chat-cta-icon { background: var(--white); color: var(--text); }

/* Floating chat bubble (bottom-right) */
.chat-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  background: var(--text);
  color: var(--white);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(45, 42, 38, 0.25);
  z-index: 100;
  transition: transform 0.2s, box-shadow 0.2s;
}
.chat-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(45, 42, 38, 0.35);
  color: var(--white);
}
.chat-fab .chat-cta-icon { background: var(--gold); color: var(--text); }

/* Apply success page */
.success-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
}
.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0;
}
.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  color: var(--text);
}
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 300;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 0.75rem; }
