/* ═══════════════════════════════════════════
   HAVEN Real Estate — Global Stylesheet
═══════════════════════════════════════════ */

:root {
  --white: #FFFFFF;
  --off: #F8F8F6;
  --light: #F2F1EE;
  --border: #E5E3DE;
  --dark: #1C1C1A;
  --mid: #555550;
  --muted: #9A9890;
  --gold: #C4973F;
  --gold2: #E2B96A;
  --goldp: #FDF6E9;
  --fd: 'Playfair Display', Georgia, serif;
  --fb: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--fb); background: var(--white); color: var(--dark); overflow-x: hidden; }


/* ══════════════════════════════════════
   HAVEN — Desktop Navbar  (≥ 992px)
══════════════════════════════════════ */
.hn-desktop {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1050;
  height: 74px;
  background: #fff;
  border-bottom: 1.5px solid #E5E3DE;
  display: flex; align-items: center;
  padding: 0 48px;
  transition: box-shadow .3s;
}
.hn-desktop.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.08); }

/* logo */
.hn-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px; font-weight: 600; letter-spacing: 5px;
  color: #1C1C1A; text-decoration: none; flex-shrink: 0;
}
.hn-logo span { color: #C4973F; }

/* centre links */
.hn-links {
  display: flex; align-items: center; gap: 6px;
  list-style: none;
  position: absolute; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
}
.hn-links > li { position: relative; }
.hn-links > li > a {
  font-size: 13px; font-weight: 400; color: #555550;
  text-decoration: none;
  padding: 8px 14px;
  display: flex; align-items: center; gap: 5px;
  border-radius: 2px;
  transition: color .25s, background .25s;
}
.hn-links > li > a:hover,
.hn-links > li > a.active { color: #1C1C1A; background: #F8F8F6; }
.hn-links > li > a.active { font-weight: 600; }
.hn-links > li > a .chev {
  font-size: 10px; margin-top: 1px;
  transition: transform .25s;
}
.hn-links > li:hover > a .chev { transform: rotate(180deg); }

/* underline accent */
.hn-links > li > a::after {
  content: ''; position: absolute; bottom: 0; left: 14px; right: 14px;
  height: 2px; background: #C4973F;
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.hn-links > li > a:hover::after,
.hn-links > li > a.active::after { transform: scaleX(1); }

/* DROPDOWN */
.hn-drop {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%);
  min-width: 210px;
  background: #fff; border: 1px solid #E5E3DE;
  box-shadow: 0 12px 40px rgba(0,0,0,.10);
  padding: 8px 0;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.hn-links > li:hover .hn-drop {
  opacity: 1; visibility: visible; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.hn-drop a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px;
  font-size: 13px; color: #555550; text-decoration: none;
  transition: background .2s, color .2s;
}
.hn-drop a i { color: #C4973F; font-size: 13px; width: 16px; }
.hn-drop a:hover { background: #FDF6E9; color: #1C1C1A; }
.hn-drop-divider { height: 1px; background: #E5E3DE; margin: 6px 0; }

/* right actions */
.hn-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.hn-tel {
  font-size: 12px; font-weight: 500; color: #555550;
  text-decoration: none; display: flex; align-items: center; gap: 6px;
  transition: color .3s;
}
.hn-tel:hover { color: #C4973F; }
.hn-btn-outline {
  font-size: 12px; font-weight: 600; padding: 9px 20px;
  border: 1.5px solid #1C1C1A; color: #1C1C1A; background: transparent;
  text-decoration: none; transition: all .3s; white-space: nowrap;
  letter-spacing: .3px;
}
.hn-btn-outline:hover { background: #1C1C1A; color: #fff; }
.hn-btn-gold {
  font-size: 12px; font-weight: 700; padding: 9px 20px;
  background: #C4973F; color: #fff; border: 1.5px solid #C4973F;
  text-decoration: none; transition: all .3s; white-space: nowrap;
  letter-spacing: .3px; display: flex; align-items: center; gap: 7px;
}
.hn-btn-gold:hover { background: #E2B96A; border-color: #E2B96A; }

/* hide on mobile */
@media (max-width: 991px) { .hn-desktop { display: none !important; } }


/* ══════════════════════════════════════
   HAVEN — Mobile Navbar  (< 992px)
   Uses Bootstrap Offcanvas
══════════════════════════════════════ */
.hn-mobile {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; z-index: 1050;
  height: 64px;
  background: #fff;
  border-bottom: 1.5px solid #E5E3DE;
  align-items: center; justify-content: space-between;
  padding: 0 20px;
  transition: box-shadow .3s;
}
.hn-mobile.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.hn-mobile-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px; font-weight: 600; letter-spacing: 5px;
  color: #1C1C1A; text-decoration: none;
}
.hn-mobile-logo span { color: #C4973F; }
.hn-mobile-right { display: flex; align-items: center; gap: 10px; }
.hn-mob-search {
  width: 36px; height: 36px; border: 1.5px solid #E5E3DE;
  background: #F8F8F6; display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: #9A9890; cursor: pointer; border-radius: 2px;
  text-decoration: none; transition: all .3s;
}
.hn-mob-search:hover { border-color: #C4973F; color: #C4973F; }
.hn-mob-toggle {
  width: 36px; height: 36px; border: none;
  background: #1C1C1A; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; cursor: pointer; transition: background .3s;
}
.hn-mob-toggle:hover { background: #C4973F; }
@media (max-width: 991px) { .hn-mobile { display: flex !important; } }

/* ── Offcanvas panel ── */
.haven-offcanvas {
  width: 300px !important;
  border-right: none !important;
}
.haven-offcanvas .offcanvas-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid #E5E3DE;
  background: #1C1C1A;
}
.haven-offcanvas .offcanvas-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px; font-weight: 600; letter-spacing: 5px; color: #fff;
}
.haven-offcanvas .offcanvas-title span { color: #C4973F; }
.haven-offcanvas .btn-close {
  filter: invert(1) brightness(2); opacity: .7;
}
.haven-offcanvas .offcanvas-body { padding: 0; overflow-y: auto; }

/* main nav items */
.oc-nav { list-style: none; padding: 12px 0; margin: 0; }
.oc-nav > li { border-bottom: 1px solid #F2F1EE; }
.oc-nav > li > a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 24px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px; font-weight: 400; color: #1C1C1A;
  text-decoration: none; transition: background .2s, color .2s, padding-left .25s;
}
.oc-nav > li > a:hover,
.oc-nav > li > a.active {
  background: #FDF6E9; color: #C4973F; padding-left: 30px;
}
.oc-nav > li > a.active { font-weight: 500; }
.oc-nav > li > a .oc-chev { font-size: 12px; color: #9A9890; transition: transform .25s; }
.oc-nav > li.open > a .oc-chev { transform: rotate(90deg); color: #C4973F; }

/* sub-nav */
.oc-sub { display: none; background: #F8F8F6; }
.oc-nav > li.open .oc-sub { display: block; }
.oc-sub a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 24px 11px 36px;
  font-size: 13px; color: #555550; text-decoration: none;
  border-bottom: 1px solid #EEECE8;
  transition: color .2s, background .2s;
}
.oc-sub a i { color: #C4973F; font-size: 12px; width: 14px; }
.oc-sub a:hover { color: #C4973F; background: #FDF6E9; }

/* bottom section */
.oc-footer {
  padding: 20px 24px;
  border-top: 1px solid #E5E3DE;
  background: #F8F8F6;
}
.oc-cta-gold {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #C4973F; color: #fff; text-decoration: none;
  padding: 14px; font-size: 13px; font-weight: 700;
  letter-spacing: .5px; margin-bottom: 10px;
  transition: background .3s;
}
.oc-cta-gold:hover { background: #E2B96A; }
.oc-cta-outline {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  border: 1.5px solid #1C1C1A; color: #1C1C1A; text-decoration: none;
  padding: 13px; font-size: 13px; font-weight: 600;
  transition: all .3s;
}
.oc-cta-outline:hover { background: #1C1C1A; color: #fff; }
.oc-contact-info {
  margin-top: 16px; display: flex; flex-direction: column; gap: 8px;
}
.oc-contact-info a {
  font-size: 12px; color: #9A9890; text-decoration: none;
  display: flex; align-items: center; gap: 8px;
  transition: color .3s;
}
.oc-contact-info a:hover { color: #C4973F; }
.oc-contact-info i { color: #C4973F; font-size: 13px; width: 14px; }
.oc-socials { display: flex; gap: 8px; margin-top: 16px; }
.oc-socials a {
  width: 34px; height: 34px; border: 1px solid #E5E3DE;
  display: flex; align-items: center; justify-content: center;
  color: #9A9890; text-decoration: none; font-size: 13px;
  border-radius: 50%; transition: all .3s;
}
.oc-socials a:hover { border-color: #C4973F; color: #C4973F; background: #FDF6E9; }

/* page top offset (body padding) */
body.has-desktop-nav { padding-top: 74px; }
body.has-mobile-nav  { padding-top: 64px; }

/* ── MARQUEE ── */
.mq-bar { background: var(--dark); padding: 15px 0; overflow: hidden; }
.mq-track { display: flex; animation: mq 24s linear infinite; white-space: nowrap; }
.mq-item { display: inline-flex; align-items: center; gap: 26px; padding-right: 26px; font-size: 11px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.3); }
.mq-dot { width: 3px; height: 3px; background: var(--gold); border-radius: 50%; display: inline-block; }
@keyframes mq { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ── COMMON ── */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.eyebrow::before { content: ''; width: 24px; height: 1.5px; background: var(--gold); }
.sh { font-family: var(--fd); font-size: clamp(30px, 3.8vw, 54px); font-weight: 500; line-height: 1.1; color: var(--dark); }
.sh em { font-style: italic; color: var(--gold); }
.sp { font-size: 14px; color: var(--mid); line-height: 1.8; margin-top: 12px; }
section { padding: 90px 0; }

/* ── PROPERTY CARD ── */
.pc { background: var(--white); border: 1px solid var(--border); overflow: hidden; transition: transform .45s cubic-bezier(.23,1,.32,1), box-shadow .45s; height: 100%; }
.pc:hover { transform: translateY(-7px); box-shadow: 0 24px 56px rgba(0,0,0,.09); }
.pc-img { overflow: hidden; position: relative; }
.pc-img img { width: 100%; height: 255px; object-fit: cover; display: block; transition: transform .7s ease; }
.pc:hover .pc-img img { transform: scale(1.06); }
.pc-tag { position: absolute; top: 13px; left: 13px; font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 5px 11px; background: var(--gold); color: var(--white); }
.pc-tag.g { background: #2E7D52; }
.pc-fav { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; background: var(--white); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.12); transition: background .3s; }
.pc-fav:hover, .pc-fav.on { background: var(--goldp); }
.pc-fav i { font-size: 13px; color: var(--mid); }
.pc-fav.on i { color: var(--gold); }
.pc-body { padding: 22px; }
.pc-type { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 7px; }
.pc-name { font-family: var(--fd); font-size: 20px; font-weight: 500; color: var(--dark); margin-bottom: 5px; }
.pc-loc { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 4px; margin-bottom: 17px; }
.pc-specs { display: flex; gap: 14px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 17px; }
.pc-spec { font-size: 12px; color: var(--mid); display: flex; align-items: center; gap: 4px; }
.pc-spec i { color: var(--gold); font-size: 12px; }
.pc-foot { display: flex; justify-content: space-between; align-items: center; }
.pc-price { font-family: var(--fd); font-size: 25px; font-weight: 500; color: var(--dark); }
.pc-price small { font-family: var(--fb); font-size: 11px; color: var(--muted); font-weight: 400; }
.lnk { font-size: 12px; font-weight: 600; color: var(--gold); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: gap .3s; }
.lnk:hover { gap: 10px; color: var(--gold); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  margin-top: 76px;
  background: var(--dark);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.18;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--gold2); }
.page-hero .eyebrow::before { background: var(--gold2); }
.page-hero h1 { font-family: var(--fd); font-size: clamp(36px, 5vw, 68px); font-weight: 500; color: var(--white); line-height: 1.1; }
.page-hero h1 em { font-style: italic; color: var(--gold2); }
.page-hero p { font-size: 15px; color: rgba(255,255,255,.65); line-height: 1.8; margin-top: 14px; max-width: 560px; }
.breadcrumb-haven { display: flex; align-items: center; gap: 8px; margin-top: 28px; }
.breadcrumb-haven a { font-size: 12px; color: rgba(255,255,255,.45); text-decoration: none; transition: color .3s; }
.breadcrumb-haven a:hover { color: var(--gold2); }
.breadcrumb-haven span { font-size: 12px; color: rgba(255,255,255,.25); }
.breadcrumb-haven .cur { font-size: 12px; color: var(--gold2); }

/* ── FOOTER ── */
footer { background: var(--dark); padding: 72px 0 0; }
.fl { font-family: var(--fd); font-size: 24px; font-weight: 600; letter-spacing: 5px; color: var(--white); display: block; margin-bottom: 13px; }
.fl span { color: var(--gold); }
.fd-desc { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.8; max-width: 245px; margin-bottom: 24px; }
.fsoc { display: flex; gap: 8px; }
.fsoc a { width: 33px; height: 33px; border: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.35); text-decoration: none; font-size: 13px; transition: all .3s; }
.fsoc a:hover { border-color: var(--gold); color: var(--gold); }
.fh { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.ful { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ful a { font-size: 13px; color: rgba(255,255,255,.42); text-decoration: none; transition: color .3s; }
.ful a:hover { color: var(--white); }
.fci { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: rgba(255,255,255,.42); margin-bottom: 12px; }
.fci i { color: var(--gold); font-size: 14px; margin-top: 1px; width: 14px; flex-shrink: 0; }
.nl { display: flex; margin-top: 4px; }
.nl input { flex: 1; padding: 11px 13px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: var(--white); font-family: var(--fb); font-size: 12px; outline: none; min-width: 0; }
.nl input::placeholder { color: rgba(255,255,255,.22); }
.nl input:focus { border-color: var(--gold); }
.nl button { padding: 11px 15px; background: var(--gold); border: none; color: var(--white); cursor: pointer; font-size: 14px; transition: background .3s; }
.nl button:hover { background: var(--gold2); }
.fbot { margin-top: 52px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.07); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.fbot p { font-size: 12px; color: rgba(255,255,255,.22); }
.fblinks { display: flex; gap: 20px; }
.fblinks a { font-size: 11px; color: rgba(255,255,255,.22); text-decoration: none; transition: color .3s; }
.fblinks a:hover { color: rgba(255,255,255,.55); }

/* ── BACK TO TOP ── */
.btt { position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px; background: var(--gold); border: none; color: var(--white); font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 500; opacity: 0; pointer-events: none; transform: translateY(12px); transition: all .4s; box-shadow: 0 4px 16px rgba(196,151,63,.35); }
.btt.show { opacity: 1; pointer-events: all; transform: translateY(0); }
.btt:hover { background: var(--dark); }

/* ── BUTTONS ── */
.btn-gf { background: var(--gold); color: var(--white); border: 2px solid var(--gold); font-size: 13px; font-weight: 700; padding: 14px 36px; text-decoration: none; transition: all .3s; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-family: var(--fb); }
.btn-gf:hover { background: transparent; color: var(--gold); }
.btn-do { background: transparent; color: var(--dark); border: 2px solid var(--dark); font-size: 13px; font-weight: 700; padding: 14px 36px; text-decoration: none; transition: all .3s; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-family: var(--fb); }
.btn-do:hover { background: var(--dark); color: var(--white); }
.btn-gold-sm { background: var(--gold); color: var(--white); border: none; font-size: 12px; font-weight: 600; padding: 10px 24px; cursor: pointer; font-family: var(--fb); transition: background .3s; }
.btn-gold-sm:hover { background: var(--gold2); }

/* ── FORM INPUTS ── */
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.form-field input,
.form-field select,
.form-field textarea {
  border: 1.5px solid var(--border);
  padding: 12px 14px;
  font-size: 13px;
  font-family: var(--fb);
  color: var(--dark);
  background: var(--off);
  outline: none;
  transition: border-color .3s;
  -webkit-appearance: none;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--gold); background: var(--white); }
.form-field textarea { resize: vertical; min-height: 120px; }

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .nav-wrap { padding: 0 22px; }
  .nav-links, .nav-right { display: none; }
  .burger { display: flex; }
}
@media (max-width: 767px) {
  .mob { padding: 88px 24px 40px; }
  .mob-x { right: 22px; }
  .fbot { flex-direction: column; text-align: center; }
  .fblinks { justify-content: center; }
}
