/* ============================================================
   PropTrustee — Theme 6: Warm Linen · Sage Green · Deep Forest
   Logo: 28-A Pure Teardrop — house inside location pin
   ============================================================ */

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

:root {
  --forest:        #1e2a1e;
  --forest-mid:    #2e4035;
  --sage:          #5a8a5a;
  --sage-light:    #7aaa7a;
  --sage-pale:     #e8f0e8;
  --sage-mist:     #f0f5f0;
  --linen:         #f4f1ea;
  --linen-deep:    #e8e3d8;
  --linen-warm:    #faf8f3;
  --cream:         #fffef9;
  --mid:           #5a6b5a;
  --light:         #8a9e8a;
  --border:        rgba(90,138,90,0.18);
  --border-dark:   rgba(46,64,53,0.25);
  --white:         #ffffff;
  --gold:          #c9a96e;
  --gold-lt:       #e0c898;
  --champagne:     #c9a96e;
  --champagne-light: #e0c898;
  --champagne-pale:  rgba(201,169,110,0.12);
  --warm:          #f4f1ea;
  --stone:         #ece8df;
  --charcoal:      #1e2a1e;
  --deep:          #141414;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--linen);
  color: var(--forest);
  overflow-x: hidden;
  cursor: none;
}

/* ── CURSOR ──────────────────────────────────── */
.cursor {
  width: 8px; height: 8px; background: var(--sage); border-radius: 50%;
  position: fixed; pointer-events: none; z-index: 99999;
  transform: translate(-50%,-50%); transition: width .3s, height .3s, background .3s;
}
.cursor-ring {
  width: 36px; height: 36px; border: 1px solid rgba(90,138,90,.4); border-radius: 50%;
  position: fixed; pointer-events: none; z-index: 99998;
  transform: translate(-50%,-50%); transition: width .3s, height .3s, border-color .3s;
}
.cursor.hover { width: 14px; height: 14px; }
.cursor-ring.hover { width: 54px; height: 54px; border-color: var(--sage); }

/* ══════════════════════════════════════════════
   LOGO MARK — 28-A PURE TEARDROP
   Inline SVG used everywhere the old square "P" was.
   The .logo-svg class is applied to the <svg> element
   in both nav and footer contexts.
   ══════════════════════════════════════════════ */

/* Nav logo SVG — displayed on dark hero bg (stroke: gold) */
.nav-logo .logo-svg { width: 28px; height: 36px; flex-shrink: 0; }
.nav-logo .logo-svg .pin-outline { fill: none; stroke: var(--sage); stroke-width: 1.8; }
.nav-logo .logo-svg .pin-roof   { fill: none; stroke: var(--sage); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.nav-logo .logo-svg .pin-walls  { fill: none; stroke: var(--sage); stroke-width: 1.2; }
.nav-logo .logo-svg .pin-door   { fill: var(--sage); opacity: 0.5; }
.nav-logo .logo-svg .pin-tail   { fill: none; stroke: var(--sage); stroke-width: 1.8; stroke-linecap: round; }

/* Footer logo SVG — on dark forest bg (stroke: gold/sage-light) */
.footer-logo .logo-svg { width: 24px; height: 32px; flex-shrink: 0; }
.footer-logo .logo-svg .pin-outline { fill: none; stroke: var(--sage-light); stroke-width: 1.8; }
.footer-logo .logo-svg .pin-roof   { fill: none; stroke: var(--sage-light); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.footer-logo .logo-svg .pin-walls  { fill: none; stroke: var(--sage-light); stroke-width: 1.2; }
.footer-logo .logo-svg .pin-door   { fill: var(--sage-light); opacity: 0.45; }
.footer-logo .logo-svg .pin-tail   { fill: none; stroke: var(--sage-light); stroke-width: 1.8; stroke-linecap: round; }

/* Inverted (white bg) context override — e.g. light nav */
.nav-logo.on-light .logo-svg .pin-outline,
.nav-logo.on-light .logo-svg .pin-tail   { stroke: var(--forest); }
.nav-logo.on-light .logo-svg .pin-roof,
.nav-logo.on-light .logo-svg .pin-walls  { stroke: var(--forest); }
.nav-logo.on-light .logo-svg .pin-door   { fill: var(--forest); }

/* ── NAV ─────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.8rem 5rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: padding .4s, background .4s, border-bottom .4s, box-shadow .4s;
  background: rgba(244,241,234,0.0);
}
nav.scrolled {
  padding: 1rem 5rem;
  background: rgba(244,241,234,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(30,42,30,0.06);
}
/* When nav scrolls to light bg, switch stroke color */
nav.scrolled .nav-logo .logo-svg .pin-outline,
nav.scrolled .nav-logo .logo-svg .pin-tail  { stroke: var(--forest); }
nav.scrolled .nav-logo .logo-svg .pin-roof,
nav.scrolled .nav-logo .logo-svg .pin-walls { stroke: var(--forest); }
nav.scrolled .nav-logo .logo-svg .pin-door  { fill: var(--forest); }
nav.scrolled .nav-logo                      { color: var(--forest); }
nav.scrolled .nav-logo span                 { color: var(--sage); }

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem; font-weight: 500; color: var(--linen-warm);
  text-decoration: none; display: flex; align-items: center; gap: .65rem;
  transition: color .4s;
}
.nav-logo span { color: var(--sage-light); transition: color .4s; }

/* Legacy .nav-logo-mark kept for pages not yet updated */
.nav-logo-mark {
  width: 30px; height: 30px; border: 1.5px solid var(--sage);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; color: var(--sage);
  font-family: 'Playfair Display', serif;
}

.nav-links { display: flex; align-items: center; gap: 2.8rem; list-style: none; }
.nav-links a {
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(244,241,234,.6); text-decoration: none; transition: color .2s; font-weight: 400;
}
nav.scrolled .nav-links a { color: var(--mid); }
.nav-links a:hover { color: var(--linen-warm); }
nav.scrolled .nav-links a:hover { color: var(--forest); }
.nav-links a.active { color: var(--linen-warm); border-bottom: 1px solid var(--sage-light); padding-bottom: 2px; }
nav.scrolled .nav-links a.active { color: var(--forest); border-bottom-color: var(--sage); }

.nav-cta {
  font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .6rem 1.6rem; border: 1px solid rgba(244,241,234,.35);
  color: var(--linen-warm); text-decoration: none; transition: all .3s; font-weight: 400;
}
.nav-cta:hover { background: var(--sage); border-color: var(--sage); color: var(--linen); }
nav.scrolled .nav-cta { border-color: var(--forest); color: var(--forest); }
nav.scrolled .nav-cta:hover { background: var(--forest); color: var(--linen); }

/* ── PAGE HERO ───────────────────────────────── */
.page-hero {
  background: var(--forest); padding: 14rem 5rem 7rem;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(90,138,90,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90,138,90,0.12) 1px, transparent 1px);
  background-size: 60px 60px; opacity: .4;
}
.page-hero::after {
  content: ''; position: absolute;
  top: -200px; right: -200px; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(90,138,90,.12) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-eyebrow {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem;
  font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sage-light);
}
.page-hero-eyebrow::before { content: ''; width: 35px; height: 1px; background: var(--sage); }
.page-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 400; line-height: 1.05; color: var(--linen-warm); letter-spacing: -.02em;
  position: relative; z-index: 1;
}
.page-hero-title em { font-style: italic; color: var(--sage-light); }
.page-hero-sub {
  max-width: 560px; margin-top: 1.8rem;
  font-size: .95rem; line-height: 1.85; color: rgba(244,241,234,.55); font-weight: 300;
  position: relative; z-index: 1;
}

/* ── SECTION COMMONS ─────────────────────────── */
section { padding: 7rem 5rem; }

.section-eyebrow {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem;
  font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sage);
}
.section-eyebrow::before { content: ''; width: 35px; height: 1px; background: var(--sage); }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.2vw, 3.2rem); font-weight: 400;
  line-height: 1.1; letter-spacing: -.015em; color: var(--forest);
}
.section-title em { font-style: italic; color: var(--sage); }
.section-title.light { color: var(--linen-warm); }
.section-title.light em { color: var(--sage-light); }

/* ── DIVIDER ─────────────────────────────────── */
.divider {
  display: flex; align-items: center; gap: 2rem; padding: 0 5rem;
}
.divider-line { flex: 1; height: 1px; background: var(--border); }
.divider-diamond {
  width: 6px; height: 6px; border: 1px solid var(--sage);
  transform: rotate(45deg); flex-shrink: 0;
}

/* ── BUTTONS ─────────────────────────────────── */
.btn-dark {
  background: var(--forest); color: var(--linen);
  padding: 1rem 2.8rem; border: 1px solid var(--forest);
  font-family: 'Jost', sans-serif; font-size: .7rem;
  letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; display: inline-block;
  transition: all .3s; font-weight: 400; cursor: pointer;
}
.btn-dark:hover { background: var(--sage); border-color: var(--sage); color: var(--linen); }

.btn-outline {
  background: transparent; color: var(--forest);
  padding: 1rem 2.8rem; border: 1px solid var(--forest);
  font-family: 'Jost', sans-serif; font-size: .7rem;
  letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; display: inline-block;
  transition: all .3s; font-weight: 400; cursor: pointer;
}
.btn-outline:hover { background: var(--forest); color: var(--linen); }

.btn-sage {
  background: var(--sage); color: var(--linen);
  padding: 1rem 2.8rem; border: 1px solid var(--sage);
  font-family: 'Jost', sans-serif; font-size: .7rem;
  letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; display: inline-block;
  transition: all .3s; font-weight: 400; cursor: pointer;
}
.btn-sage:hover { background: var(--forest); border-color: var(--forest); color: var(--linen); }

.btn-ghost-light {
  background: transparent; color: rgba(244,241,234,.75);
  padding: 1rem 2.8rem; border: 1px solid rgba(244,241,234,.25);
  font-family: 'Jost', sans-serif; font-size: .7rem;
  letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; display: inline-block;
  transition: all .3s; font-weight: 400; cursor: pointer;
}
.btn-ghost-light:hover { background: var(--sage); border-color: var(--sage); color: var(--linen); }

/* ── CTA BAND ─────────────────────────────────── */
.cta-band {
  background: var(--forest-mid); padding: 5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.cta-band-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 400;
  color: var(--linen-warm); line-height: 1.15;
}
.cta-band-title em { font-style: italic; color: var(--sage-light); }
.cta-band-right { display: flex; gap: 1.5rem; align-items: center; flex-shrink: 0; }

/* ── REVEAL ──────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* ── FOOTER ──────────────────────────────────── */
footer {
  background: var(--forest); color: rgba(244,241,234,.5);
  padding: 5rem 5rem 3rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 5rem;
  padding-bottom: 4rem; border-bottom: 1px solid rgba(90,138,90,.15); margin-bottom: 3rem;
}
.footer-logo {
  font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--linen-warm);
  font-weight: 400; display: flex; align-items: center; gap: .6rem;
  text-decoration: none; margin-bottom: 1.2rem;
}
.footer-logo span { color: var(--sage-light); }
.footer-about { font-size: .78rem; line-height: 1.85; color: rgba(244,241,234,.35); max-width: 260px; font-weight: 300; }
.footer-col-title { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sage-light); margin-bottom: 1.5rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .8rem; }
.footer-links a { font-size: .76rem; color: rgba(244,241,234,.3); text-decoration: none; transition: color .2s; font-weight: 300; }
.footer-links a:hover { color: var(--sage-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: .68rem; color: rgba(244,241,234,.2); font-weight: 300; }
.footer-rera { font-size: .62rem; color: rgba(90,138,90,.6); border: 1px solid rgba(90,138,90,.2); padding: .3rem .9rem; }

/* ── MODAL ───────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(30,42,30,.85); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .4s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--linen); width: min(460px, 90vw);
  padding: 3.5rem; position: relative;
  transform: translateY(30px) scale(.97); transition: transform .4s;
  border-top: 3px solid var(--sage);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: none; cursor: pointer;
  font-size: 1.1rem; color: var(--light); transition: color .2s;
}
.modal-close:hover { color: var(--forest); }
.modal-eyebrow { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sage); margin-bottom: .8rem; }
.modal-title { font-family: 'Playfair Display', serif; font-size: 1.9rem; font-weight: 400; margin-bottom: .5rem; color: var(--forest); }
.modal-sub { font-size: .8rem; color: var(--mid); margin-bottom: 2.2rem; font-weight: 300; }
.modal-field { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.8rem; }
.modal-label { font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); }
.modal-input {
  background: transparent; border: none; border-bottom: 1px solid var(--border-dark);
  padding: .8rem 0; font-family: 'Jost', sans-serif; font-size: .88rem;
  color: var(--forest); outline: none; transition: border-color .3s; font-weight: 300;
}
.modal-input:focus { border-color: var(--sage); }
.modal-footer-note { text-align: center; font-size: .72rem; color: var(--light); margin-top: 1.2rem; font-weight: 300; }
.modal-footer-note a { color: var(--sage); text-decoration: none; }

/* ── TOAST ───────────────────────────────────── */
.toast {
  position: fixed; bottom: 2.5rem; right: 2.5rem; z-index: 99000;
  background: var(--forest); color: var(--linen);
  padding: 1rem 2rem; font-size: .76rem; letter-spacing: .04em;
  box-shadow: 0 20px 40px rgba(30,42,30,.2);
  transform: translateY(80px); opacity: 0;
  transition: all .4s cubic-bezier(.16,1,.3,1);
  display: flex; align-items: center; gap: .8rem;
  pointer-events: none; font-weight: 300;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-mark { color: var(--sage-light); }

/* ── FORM COMMONS ────────────────────────────── */
.form-field { display: flex; flex-direction: column; gap: .55rem; }
.form-label { font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); font-weight: 400; }
.form-input, .form-select, .form-textarea {
  background: transparent; border: none; border-bottom: 1px solid var(--border-dark);
  padding: .85rem 0; font-family: 'Jost', sans-serif; font-size: .88rem;
  color: var(--forest); outline: none; transition: border-color .3s; font-weight: 300;
  -webkit-appearance: none; width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--sage); }
.form-input::placeholder { color: var(--light); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: .72rem; color: var(--light); font-weight: 300; }

/* ── MOBILE ──────────────────────────────────── */
@media (max-width: 960px) {
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
  nav { padding: 1.4rem 2rem; }
  nav.scrolled { padding: 1rem 2rem; }
  .nav-links { display: none; }
  section { padding: 5rem 2rem; }
  .page-hero { padding: 10rem 2rem 5rem; }
  .divider { padding: 0 2rem; }
  footer { padding: 4rem 2rem 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .cta-band { flex-direction: column; gap: 2.5rem; text-align: center; padding: 4rem 2rem; }
  .cta-band-right { flex-direction: column; }
}
