/* ============================================================
   Aliva Green Properties — public design system
   Olive & champagne editorial aesthetic (per brand mockups)
   ============================================================ */

:root {
  --olive-deep:   #3B4032;
  --olive-darker: #2E3227;
  --olive-black:  #22251C;
  --cream-paper:  #ECE7DD;
  --cream-card:   #F4F0E8;
  --gold:         #C2A05E;
  --gold-light:   #D9C9A3;
  --text-dark:    #4A4A3C;
  --text-mid:     #6E6E5C;
  --text-light:   #E9E4D8;
  --serif: "Playfair Display", Georgia, serif;
  --sans:  "Montserrat", "Segoe UI", Arial, sans-serif;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(34,37,28,.10);
  --tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--text-dark);
  background: var(--cream-paper);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body::before { /* paper grain over everything light */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: var(--tex); opacity: .55;
}
main, header, footer { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.ic { vertical-align: middle; flex: none; }

.container { width: min(1180px, 92%); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }

/* ---------- typography ---------- */
h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.12;
  letter-spacing: .2px;
}
h1 { font-size: clamp(38px, 5.4vw, 66px); }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: clamp(21px, 2.4vw, 27px); }
h1 em, h2 em { font-style: italic; font-weight: 500; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #F3EFE3; }
.lead { font-size: 16.5px; color: var(--text-mid); max-width: 620px; }
.on-dark .lead, .on-dark p { color: #CFCBBC; }

/* eyebrow: —— LABEL —— with diamond */
.eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font-family: var(--serif); font-size: 19px; letter-spacing: 2.5px;
  color: var(--gold); margin-bottom: 14px; text-transform: capitalize;
}
.eyebrow::before, .eyebrow::after {
  content: ""; height: 1px; width: clamp(34px, 6vw, 70px); background: var(--gold-light);
}
.eyebrow.left { justify-content: flex-start; }
.eyebrow.upper { font-family: var(--sans); font-size: 12px; letter-spacing: 4px; text-transform: uppercase; font-weight: 400; }

.diamond-rule { display: flex; align-items: center; justify-content: center; gap: 0; margin: 22px auto 30px; color: var(--gold); }
.diamond-rule::before, .diamond-rule::after { content: ""; height: 1px; width: clamp(70px, 14vw, 150px); background: var(--gold-light); }
.diamond-rule svg { margin: 0 8px; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.section-head .lead { margin: 14px auto 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--serif); font-size: 19px; letter-spacing: .6px;
  padding: 13px 34px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--gold); transition: all .28s ease;
  background: var(--olive-deep); color: #EFE9D8;
  box-shadow: inset 0 0 0 3px rgba(236,231,221,.06), 0 6px 18px rgba(34,37,28,.18);
}
.btn:hover { background: var(--olive-darker); box-shadow: 0 0 0 1px var(--gold), 0 8px 22px rgba(34,37,28,.25); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--olive-deep); border-color: rgba(74,74,60,.4); box-shadow: none; }
.on-dark .btn-outline, .btn-outline.light { color: #EDE8DA; border-color: rgba(233,228,216,.5); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn-gold { background: var(--gold); color: #2E3227; border-color: var(--gold); font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; padding: 15px 28px; }
.btn-gold:hover { background: #b3914f; color: #22251C; }
.btn-sm { font-size: 16px; padding: 9px 24px; }

/* gold square arrow (service rows / cards) */
.sq-arrow {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  background: linear-gradient(145deg, #d2b176, #b6924c);
  color: #3a341f; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 5px 14px rgba(34,37,28,.3); transition: transform .25s ease;
}
a:hover > .sq-arrow, .sq-arrow:hover { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--olive-deep); background-image: var(--tex);
  border-bottom: 1px solid rgba(194,160,94,.35);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 86px; }
.logo img { height: 56px; width: auto; }
.main-nav { display: flex; gap: clamp(18px, 2.6vw, 38px); }
.main-nav a {
  color: #E4DECC; font-size: 12.5px; letter-spacing: 2.2px; text-transform: uppercase;
  font-weight: 400; padding: 6px 0; position: relative;
}
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--gold); transition: width .3s; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.head-actions { display: flex; gap: 12px; }
.round-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1.4px solid var(--gold-light);
  background: transparent; color: #E8E2D2; display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .25s;
}
.round-btn:hover { border-color: var(--gold); color: var(--gold); }
.nav-toggle { display: none; }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 60; visibility: hidden; pointer-events: none;
}
.drawer.open { visibility: visible; pointer-events: auto; }
.drawer-bg { position: absolute; inset: 0; background: rgba(20,22,16,.55); opacity: 0; transition: opacity .3s; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(320px, 84%);
  background: var(--olive-deep); background-image: var(--tex);
  padding: 28px; transform: translateX(100%); transition: transform .35s ease;
  display: flex; flex-direction: column; gap: 8px; border-left: 1px solid rgba(194,160,94,.4);
}
.drawer.open .drawer-panel { transform: none; }
.drawer-panel a { color: #E8E2D2; font-family: var(--serif); font-size: 22px; padding: 12px 4px; border-bottom: 1px solid rgba(217,201,163,.18); }
.drawer-panel a:hover { color: var(--gold); }
.drawer-close { align-self: flex-end; }

/* search overlay */
.search-overlay { position: fixed; inset: 0; z-index: 70; background: rgba(34,37,28,.92); display: none; align-items: flex-start; justify-content: center; padding-top: 18vh; }
.search-overlay.open { display: flex; }
.search-overlay form { width: min(640px, 90%); display: flex; gap: 10px; }
.search-overlay input { flex: 1; background: var(--cream-card); border: 1px solid var(--gold); border-radius: 999px; padding: 16px 26px; font: 300 16px var(--sans); color: var(--text-dark); }
.search-overlay input:focus { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- HERO (desktop overlay / mobile stacked) ---------- */
.hero { position: relative; color: #fff; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(28,30,22,.78) 0%, rgba(28,30,22,.45) 45%, rgba(28,30,22,.12) 75%); }
.hero-inner { padding: clamp(70px, 11vw, 150px) 0 clamp(150px, 16vw, 210px); max-width: 640px; }
.hero .eyebrow { justify-content: flex-start; font-family: var(--sans); font-size: 12px; letter-spacing: 4.5px; text-transform: uppercase; color: #E3DCC6; }
.hero .eyebrow::before { display: none; }
.hero .eyebrow::after { width: 56px; background: var(--gold); }
.hero h1 { color: #F6F2E6; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero p { margin: 22px 0 30px; color: #E5E0D0; max-width: 480px; font-size: 16px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* search panel overlapping hero bottom */
.search-wrap { position: relative; margin-top: -96px; z-index: 5; }
.search-tabs { display: flex; gap: 4px; padding-left: 26px; }
.search-tabs button {
  border: 0; cursor: pointer; padding: 14px 30px 12px; font: 400 12px/1 var(--sans);
  letter-spacing: 2.5px; text-transform: uppercase; border-radius: 12px 12px 0 0;
  background: var(--olive-black); color: #BDB8A6;
}
.search-tabs button.active { background: var(--olive-deep); color: #F0EBDC; box-shadow: inset 0 1px 0 var(--gold); }
.search-card {
  background: #F7F4ED; border-radius: 14px; box-shadow: var(--shadow);
  padding: 26px 28px; display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 26px; align-items: end;
}
.search-field label { display: block; font: 400 10.5px var(--sans); letter-spacing: 2.4px; text-transform: uppercase; color: #8C8A78; margin-bottom: 8px; }
.search-field input, .search-field select {
  width: 100%; border: 0; border-bottom: 1px solid #CFC9B8; background: transparent;
  padding: 8px 2px 10px; font: 300 15.5px var(--sans); color: var(--text-dark);
}
.search-field input:focus, .search-field select:focus { outline: none; border-bottom-color: var(--gold); }

/* mobile hero variant (cream block + image below) */
@media (max-width: 860px) {
  /* keep the skyline BEHIND the hero text on mobile */
  .hero-media { display: block; }
  .hero-media::after {
    background: linear-gradient(180deg, rgba(28,30,22,.62) 0%, rgba(28,30,22,.50) 45%, rgba(28,30,22,.72) 100%);
  }
  .hero { color: #fff; }
  .hero h1 { color: #F6F2E6; }
  .hero p { color: #E5E0D0; }
  .hero .eyebrow { color: #E3DCC6; }
  .hero-inner { padding: 52px 0 130px; max-width: 100%; }
  .hero-mobile-img { display: none; }
  .search-wrap { margin-top: -86px; }
  .search-card { grid-template-columns: 1fr; gap: 18px; }
  .corner-lines-tr { display: block; }
}
.hero-mobile-img { display: none; }

/* ---------- decorations ---------- */
.corner-lines-tr, .corner-lines-bl {
  position: absolute; width: 220px; height: 220px; pointer-events: none; opacity: .6;
  background:
    linear-gradient(45deg, transparent 49.6%, var(--gold-light) 49.6%, var(--gold-light) 50.2%, transparent 50.2%),
    linear-gradient(45deg, transparent 64.6%, var(--gold-light) 64.6%, var(--gold-light) 65.2%, transparent 65.2%);
}
.corner-lines-tr { top: 0; right: 0; }
.corner-lines-bl { bottom: 0; left: 0; transform: rotate(180deg); }
.dots {
  position: absolute; width: 190px; height: 150px; pointer-events: none; opacity: .8;
  background-image: radial-gradient(var(--gold-light) 1.3px, transparent 1.6px);
  background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 70%, #000 25%, transparent 70%);
          mask-image: radial-gradient(ellipse at 30% 70%, #000 25%, transparent 70%);
}

/* ---------- stats / about strip ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: center; }
.stat .stat-ic {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 16px;
  background: var(--olive-deep); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
}
.stat b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.4vw, 42px); color: var(--text-dark); line-height: 1; }
.stat span { font-size: 13px; color: var(--text-mid); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- cards (generic gold-hairline) ---------- */
.card {
  background: var(--cream-card); background-image: var(--tex);
  border: 1px solid var(--gold-light); border-radius: var(--radius);
  box-shadow: 0 6px 22px rgba(34,37,28,.07);
}

/* ---------- property cards ---------- */
.prop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.prop-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.prop-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(34,37,28,.16); }
.prop-card .media { position: relative; aspect-ratio: 4/2.8; overflow: hidden; }
.prop-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.prop-card:hover .media img { transform: scale(1.05); }
.badge {
  position: absolute; top: 14px; left: 14px; background: rgba(34,37,28,.82);
  color: var(--gold-light); border: 1px solid var(--gold);
  font: 400 10.5px var(--sans); letter-spacing: 2.2px; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; backdrop-filter: blur(2px);
}
.prop-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.prop-card h3 { font-size: 21px; line-height: 1.25; }
.prop-card h3 a:hover { color: #2f3326; }
.loc { display: flex; gap: 7px; align-items: center; color: var(--text-mid); font-size: 13px; }
.loc .ic { color: var(--gold); }
.price { font-family: var(--serif); font-size: 24px; color: var(--olive-deep); }
.price small { font-family: var(--sans); font-size: 12px; color: var(--text-mid); letter-spacing: .5px; }
.specs { display: flex; gap: 18px; padding-top: 12px; margin-top: auto; border-top: 1px solid #DDD6C4; color: var(--text-mid); font-size: 13px; }
.specs span { display: inline-flex; align-items: center; gap: 7px; }
.specs .ic { color: var(--gold); }
.img-placeholder { width: 100%; height: 100%; min-height: 200px; display: flex; align-items: center; justify-content: center; background: #DCD6C6; color: #A39E8B; }
.img-placeholder .ic { width: 44px; height: 44px; }

/* featured trio (home) */
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat-card { text-align: center; overflow: hidden; padding: 12px 12px 22px; }
.feat-card .media { border-radius: 12px; overflow: hidden; aspect-ratio: 4/4.6; }
.feat-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.feat-card:hover .media img { transform: scale(1.06); }
.feat-card h3 { margin: 16px 0 4px; font-size: 23px; }
.feat-card .tag { font: 400 10.5px var(--sans); letter-spacing: 2.6px; text-transform: uppercase; color: var(--text-mid); }
@media (max-width: 860px) { .featured-grid { grid-template-columns: 1fr; } .feat-card .media { aspect-ratio: 4/3; } }

/* ---------- why cards ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card { padding: 30px 26px; text-align: center; }
.why-card .ic { color: #A98C53; width: 34px; height: 34px; }
.why-card h3 { margin: 14px 0 8px; }
.why-card p { font-size: 14px; color: var(--text-mid); }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- services (dark section) ---------- */
.dark-section { background: var(--olive-darker); background-image: var(--tex); color: #D8D3C2; }
.service-row {
  display: grid; grid-template-columns: 56px 1fr 280px 60px; gap: 22px; align-items: center;
  background: var(--olive-black); background-image: var(--tex);
  border: 1px solid rgba(217,201,163,.35); border-radius: 18px;
  padding: 22px 24px; margin-bottom: 20px; transition: border-color .3s, transform .3s;
}
.service-row:hover { border-color: var(--gold); transform: translateY(-3px); }
.service-row .num { font: 400 14px var(--sans); letter-spacing: 2px; color: var(--gold-light); }
.service-row .s-ic {
  width: 76px; height: 76px; border-radius: 50%; border: 1.3px solid var(--gold-light);
  color: var(--gold-light); display: flex; align-items: center; justify-content: center; margin-top: 10px;
}
.service-row h3 { color: #F0EBDB; font-size: 26px; }
.service-row h3::after { content: ""; display: block; width: 44px; height: 1px; background: var(--gold); margin-top: 10px; }
.service-row p { color: #B9B4A2; font-size: 13.5px; margin-top: 10px; max-width: 340px; }
.service-row .media { border-radius: 12px; overflow: hidden; aspect-ratio: 16/10; }
.service-row .media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 920px) {
  .service-row { grid-template-columns: 56px 1fr; }
  .service-row .media { grid-column: 1 / -1; aspect-ratio: 16/8; }
  .service-row .sq-arrow { position: absolute; }
  .service-row { position: relative; }
  .service-row .sq-arrow { right: 22px; bottom: 22px; }
}

/* service type cards (light variant with counts) */
.type-card { display: flex; align-items: center; gap: 20px; padding: 22px 24px; margin-bottom: 18px; transition: transform .3s, border-color .3s; }
.type-card:hover { transform: translateX(4px); border-color: var(--gold); }
.type-card .t-ic { width: 78px; height: 78px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; }
.type-card:nth-child(odd) .t-ic { background: #E4DCC9; color: #8B7340; }
.type-card:nth-child(even) .t-ic { background: var(--olive-deep); color: var(--gold-light); }
.type-card h3 { font-size: 24px; }
.type-card span { color: var(--text-mid); font-size: 14px; }
.type-card .ic-chevron { margin-left: auto; color: #9b9682; }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.gallery-grid figure { border: 1px solid var(--gold-light); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); cursor: zoom-in; aspect-ratio: 4/2.7; background: #ddd; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s; }
.gallery-grid figure:hover img { transform: scale(1.06); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(24,26,19,.94); display: none; align-items: center; justify-content: center; flex-direction: column; gap: 16px; padding: 4vh 4vw; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 80vh; border: 1px solid var(--gold); border-radius: 8px; object-fit: contain; }
.lightbox .lb-nav { display: flex; gap: 14px; }

/* ---------- testimonials ---------- */
.oval-photo {
  width: min(680px, 94%); margin: 0 auto 40px; aspect-ratio: 16/10.2; overflow: hidden;
  border: 1px solid var(--gold-light);
  border-radius: 54% 46% 50% 50% / 47% 56% 44% 53%;
  box-shadow: var(--shadow);
}
.oval-photo img { width: 100%; height: 100%; object-fit: cover; }
.t-slider { position: relative; max-width: 760px; margin: 0 auto; }
.t-track { display: flex; overflow: hidden; }
.t-slide { min-width: 100%; padding: 4px; }
.t-card { padding: 32px 34px; }
.t-card .ic-quote { color: var(--gold); width: 38px; height: 38px; }
.t-stars { color: #E0A93C; display: inline-flex; gap: 3px; margin-left: 12px; }
.t-stars .ic { width: 19px; height: 19px; }
.t-card h3 { margin: 12px 0 8px; }
.t-card p { color: var(--text-mid); font-size: 14.5px; }
.t-card .t-name { display: block; margin-top: 16px; font-family: var(--serif); font-size: 18px; color: var(--olive-deep); }
.t-nav { display: flex; gap: 10px; justify-content: center; margin-top: 24px; }
.t-dot { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--gold); background: transparent; cursor: pointer; padding: 0; }
.t-dot.active { background: var(--gold); }

/* ---------- forms / enquiry ---------- */
.form-card { max-width: 700px; margin: 0 auto; padding: clamp(26px, 5vw, 46px); }
.f-row { margin-bottom: 18px; }
.f-row input, .f-row select, .f-row textarea {
  width: 100%; background: rgba(255,255,255,.45);
  border: 1px solid var(--gold-light); border-radius: 14px;
  padding: 16px 20px; font: 300 15px var(--sans); color: var(--text-dark);
}
.f-row textarea { min-height: 150px; resize: vertical; }
.f-row input:focus, .f-row select:focus, .f-row textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(194,160,94,.18); }
.f-row label { display: block; font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-mid); margin-bottom: 7px; }
.form-actions { text-align: center; margin-top: 26px; }
.hp { position: absolute; left: -6000px; }

.flash { max-width: 700px; margin: 0 auto 20px; padding: 14px 22px; border-radius: 12px; font-size: 14px; border: 1px solid; }
.flash-ok  { background: #e9efdd; border-color: #9fb86e; color: #44551f; }
.flash-err { background: #f6e3dd; border-color: #cf8a72; color: #7a3a24; }

/* ---------- contact card ---------- */
.contact-card { max-width: 760px; margin: 0 auto; padding: clamp(28px, 5vw, 50px); position: relative; }
.c-row { display: flex; gap: 22px; align-items: flex-start; padding: 22px 4px; border-bottom: 1px solid #DCD5C2; }
.c-row:last-of-type { border-bottom: 0; }
.c-ic {
  width: 78px; height: 78px; border-radius: 50%; flex: none;
  background: #F2EDE2; box-shadow: 0 8px 18px rgba(34,37,28,.12), inset 0 0 0 8px #ECE6D8;
  color: #8B7340; display: flex; align-items: center; justify-content: center;
}
.c-row h3 { font-family: var(--sans); font-weight: 500; font-size: 19px; margin-bottom: 4px; }
.c-row p, .c-row a.val { color: var(--text-mid); font-size: 16.5px; }
.c-row a.val { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--gold-light); }
.c-row a.val:hover { color: var(--olive-deep); }
.contact-cta { text-align: center; margin-top: 30px; }

.trust-strip { background: var(--olive-darker); background-image: var(--tex); color: #D8D2BF; }
.trust-strip .container { display: flex; justify-content: space-around; gap: 14px; padding: 24px 0; flex-wrap: wrap; }
.trust { display: flex; align-items: center; gap: 13px; font-size: 14px; line-height: 1.35; }
.trust .ic { color: var(--gold-light); width: 30px; height: 30px; }

/* ---------- footer ---------- */
.site-footer { background: var(--olive-deep); background-image: var(--tex); color: #CFC9B6; padding: 60px 0 0; border-top: 1px solid rgba(194,160,94,.4); position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr .8fr; gap: clamp(30px, 5vw, 70px); }
.site-footer .f-logo img { height: 76px; margin-bottom: 20px; }
.site-footer p { font-size: 14px; }
.site-footer h4 { font-family: var(--serif); font-weight: 500; font-size: 24px; color: #EFEADB; margin-bottom: 8px; }
.site-footer h4::after { content: ""; display: block; width: 56px; height: 1px; background: var(--gold); margin-top: 10px; }
.f-list { list-style: none; margin-top: 18px; }
.f-list li { margin-bottom: 13px; }
.f-list a { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: #D6D0BD; line-height: 1.45; }
.f-list a:hover { color: var(--gold-light); }
.f-list .ic { color: var(--gold); margin-top: 3px; }
.socials { display: flex; gap: 12px; margin: 18px 0 6px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1.2px solid var(--gold-light); color: #E3DDC9; display: inline-flex; align-items: center; justify-content: center; transition: all .25s; }
.socials a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.f-bottom { border-top: 1px solid rgba(217,201,163,.25); margin-top: 46px; padding: 20px 0; text-align: center; font-size: 13px; color: #A8A28D; }
.f-rings { position: absolute; right: -60px; bottom: 60px; width: 260px; height: 260px; border: 1px solid rgba(217,201,163,.35); border-radius: 50%; pointer-events: none; }
.f-rings::after { content: ""; position: absolute; inset: 26px; border: 1px solid rgba(217,201,163,.25); border-radius: 50%; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- property detail ---------- */
.detail-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 34px; align-items: start; }
@media (max-width: 980px) { .detail-grid { grid-template-columns: 1fr; } }
.gallery-main { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gold-light); aspect-ratio: 16/10; background: #ddd; cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 10px; margin-top: 12px; }
.thumbs button { border: 1.5px solid transparent; border-radius: 10px; overflow: hidden; padding: 0; cursor: pointer; background: none; aspect-ratio: 4/3; }
.thumbs button.active { border-color: var(--gold); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin: 26px 0 8px; }
.detail-price { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 38px); color: var(--olive-deep); white-space: nowrap; }
.crumbs { font-size: 12.5px; letter-spacing: .6px; color: var(--text-mid); margin-bottom: 10px; }
.crumbs a:hover { color: var(--gold); }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 14px; margin: 26px 0; }
.fact { padding: 15px 17px; }
.fact b { display: block; font: 400 10.5px var(--sans); letter-spacing: 2px; text-transform: uppercase; color: #8C8A78; margin-bottom: 5px; }
.fact span { font-size: 15px; color: var(--text-dark); }
.rte h3, .rte h4 { margin: 22px 0 8px; }
.rte p { margin-bottom: 14px; }
.rte ul { margin: 0 0 16px 20px; }
.rte li { margin-bottom: 7px; }
.amen-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid var(--gold-light); border-radius: 999px; padding: 9px 18px; font-size: 13px; background: rgba(255,255,255,.35); display: inline-flex; align-items: center; gap: 8px; }
.chip .ic { color: var(--gold); width: 15px; height: 15px; }
.enquire-side { position: sticky; top: 106px; padding: 26px; }
.enquire-side h3 { margin-bottom: 6px; }
.enquire-side .sub { color: var(--text-mid); font-size: 13.5px; margin-bottom: 18px; }
.side-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.side-cta .btn { font-family: var(--sans); font-size: 13px; padding: 12px 10px; gap: 8px; }
.map-frame { border: 1px solid var(--gold-light); border-radius: var(--radius); overflow: hidden; margin-top: 26px; }
.map-frame iframe { width: 100%; height: 320px; border: 0; display: block; filter: sepia(.25) saturate(.8); }

/* ---------- listing filters ---------- */
.filters { padding: 22px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; align-items: end; margin-bottom: 34px; }
.filters .f-actions { display: flex; gap: 10px; }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; color: var(--text-mid); font-size: 14px; flex-wrap: wrap; gap: 10px; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 44px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--gold-light); border-radius: 50%; font-size: 14px; }
.pagination .cur { background: var(--olive-deep); color: var(--gold-light); border-color: var(--olive-deep); }
.pagination a:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- page hero strip ---------- */
.page-hero { background: var(--olive-deep); background-image: var(--tex); color: #EDE8D8; padding: clamp(44px, 7vw, 80px) 0; text-align: center; border-bottom: 1px solid rgba(194,160,94,.4); position: relative; overflow: hidden; }
.page-hero h1 { color: #F2EDDE; font-size: clamp(34px, 4.6vw, 54px); }
.page-hero .eyebrow { color: var(--gold-light); }

/* vision/mission split */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.vm-dark { background: var(--olive-black); background-image: var(--tex); color: #D8D2C0; border: 1px solid rgba(217,201,163,.4); border-radius: 18px; padding: clamp(26px, 4vw, 44px); }
.vm-dark h2, .vm-dark h3 { color: #F0EBDB; }
.vm-light { padding: clamp(26px, 4vw, 44px); }
.arrow-list { list-style: none; margin-top: 14px; }
.arrow-list li { display: flex; gap: 12px; margin-bottom: 13px; font-size: 15px; align-items: flex-start; }
.arrow-list .ic { color: var(--gold); margin-top: 4px; }
@media (max-width: 860px) { .vm-grid { grid-template-columns: 1fr; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px;
}

/* responsive header */
@media (max-width: 1020px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (min-width: 1021px) { .only-mobile { display: none; } }

/* utility */
.center { text-align: center; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.section-cta { text-align: center; margin-top: 40px; }
.relpos { position: relative; }

/* ============================================================
   v1.1 refinements — nav dropdown · mobile hero · gold polish
   ============================================================ */

html, body { overflow-x: hidden; }

/* Bodoni tuning */
h1 { letter-spacing: .4px; }
.btn { font-size: 18px; }
.eyebrow { font-size: 17px; }

/* ---- Properties dropdown (desktop) ---- */
.main-nav .has-sub { position: relative; }
.main-nav .has-sub > a { display: inline-flex; align-items: center; gap: 7px; }
.main-nav .has-sub > a .ic { width: 13px; height: 13px; transition: transform .25s; }
.main-nav .has-sub:hover > a .ic { transform: rotate(180deg); }
.main-nav .has-sub::after { content: ""; position: absolute; left: -10px; right: -10px; top: 100%; height: 20px; }
.sub-menu {
  position: absolute; top: calc(100% + 16px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--olive-deep); background-image: var(--tex);
  border: 1px solid var(--gold); border-radius: 12px;
  min-width: 176px; padding: 8px;
  opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
  box-shadow: 0 18px 44px rgba(20,22,16,.4); z-index: 60;
}
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%);
}
.sub-menu a { display: flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 8px;
  font-size: 11.5px; letter-spacing: 2px; }
.sub-menu a::after { display: none; }
.sub-menu a:hover { background: rgba(194,160,94,.16); color: var(--gold-light); }
.sub-menu .ic { color: var(--gold); width: 15px; height: 15px; }

/* drawer sub-items */
.drawer-sub { padding-left: 26px !important; font-size: 17px !important;
  display: flex; align-items: center; gap: 10px; }
.drawer-sub .ic { color: var(--gold); width: 15px; height: 15px; }

/* ---- mobile hero: image visible, no dead gap ---- */
@media (max-width: 860px) {
  .hero-inner { padding: 46px 0 32px; }
  .hero-mobile-img { display: none !important; }
}

/* ---- search panel: fit small screens ---- */
@media (max-width: 620px) {
  .search-tabs { padding-left: 10px; gap: 4px; }
  .search-tabs button { flex: 1; padding: 12px 6px; font-size: 10.5px; letter-spacing: 1.4px; white-space: nowrap; }
  .search-card { padding: 22px 18px; }
  .search-card .btn-gold { width: 100%; }
  .search-wrap { width: 94%; }
}

/* ---- golden touch ---- */
::selection { background: rgba(194,160,94,.45); color: #2E3227; }
html { scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: linear-gradient(#D2B176, #A98C53); border-radius: 99px;
  border: 2px solid var(--cream-paper); }

input, select, textarea { accent-color: var(--gold); caret-color: var(--gold); }

.btn-gold {
  background: linear-gradient(160deg, #DCBF82, #B6924C);
  box-shadow: 0 8px 22px rgba(182,146,76,.38), inset 0 1px 0 rgba(255,255,255,.4);
  border-color: #C8A765;
}
.btn-gold:hover { background: linear-gradient(160deg, #E2C68C, #AA8845); color: #22251C; }
.btn:hover { box-shadow: 0 0 0 1px var(--gold), 0 10px 26px rgba(194,160,94,.30); }

.prop-card:hover, .type-card:hover, .why-card:hover, .feat-card:hover { border-color: var(--gold); }
.gallery-grid figure:hover { border-color: var(--gold); }
.search-field input, .search-field select { transition: border-color .25s; }

.c-ic { box-shadow: 0 8px 18px rgba(34,37,28,.12), inset 0 0 0 1px var(--gold-light), inset 0 0 0 9px #ECE6D8; }
.stat .stat-ic { box-shadow: inset 0 0 0 1px rgba(217,201,163,.5), 0 8px 18px rgba(34,37,28,.16); }
.t-card .ic-quote { filter: drop-shadow(0 3px 6px rgba(194,160,94,.4)); }
.detail-price { background: linear-gradient(120deg, #8A6F38, #C2A05E 55%, #8A6F38);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.price { color: #9A7B41; }

/* ============================================================
   v1.2 — definitive responsive pass (mobile / tablet / desktop)
   ============================================================ */

/* Playfair tuning */
h1, h2, h3, .serif, .btn { letter-spacing: .2px; }

/* ---------- search tabs: grid = can never overflow ---------- */
@media (max-width: 700px) {
  .search-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 0 4px; }
  .search-tabs button { padding: 12px 2px; font-size: 10px; letter-spacing: .8px; min-width: 0;
    border-radius: 10px 10px 0 0; }
  .search-card { padding: 22px 16px; }
}
@media (max-width: 360px) {
  .search-tabs button { font-size: 9px; letter-spacing: .4px; }
}

/* ---------- long values (emails, links) never overflow ---------- */
.c-row { min-width: 0; }
.c-row > div { min-width: 0; flex: 1; }
.c-row a.val, .c-row p { overflow-wrap: anywhere; word-break: break-word; }
.f-list a, .prop-card h3, .detail-head h1 { overflow-wrap: anywhere; }

/* ---------- services rows: clean stacked layout on small screens ---------- */
@media (max-width: 920px) {
  .service-row { display: block; position: relative; padding: 22px 20px 24px; }
  .service-row > div:first-child { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
  .service-row .num { font-size: 13px; order: 2; margin-left: auto; padding-right: 56px; }
  .service-row .s-ic { width: 58px; height: 58px; margin-top: 0; flex: none; }
  .service-row .s-ic .ic { width: 26px; height: 26px; }
  .service-row h3 { font-size: 24px; }
  .service-row p { max-width: none; }
  .service-row .media { margin-top: 16px; aspect-ratio: 16/9; }
  .service-row .sq-arrow { position: absolute; top: 22px; right: 20px; bottom: auto; width: 42px; height: 42px; }
}

/* ---------- header scales down ---------- */
@media (max-width: 860px) {
  .site-header .container { height: 70px; }
  .logo img { height: 44px; }
  .round-btn { width: 41px; height: 41px; }
}

/* ---------- tablet refinements (641–1080px) ---------- */
@media (min-width: 861px) and (max-width: 1080px) {
  .featured-grid { gap: 16px; }
  .why-grid { gap: 16px; }
  .service-row { grid-template-columns: 50px 1fr 230px 52px; }
  .detail-grid { grid-template-columns: 1.4fr 1fr; }
}

/* ---------- small-phone refinements ---------- */
@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .specs { flex-wrap: wrap; gap: 9px 16px; }
  .type-card { gap: 14px; padding: 18px 16px; }
  .type-card .t-ic { width: 58px; height: 58px; }
  .type-card .t-ic .ic { width: 26px; height: 26px; }
  .type-card h3 { font-size: 20px; }
  .c-ic { width: 60px; height: 60px; }
  .c-ic .ic { width: 22px; height: 22px; }
  .c-row { gap: 16px; padding: 18px 2px; }
  .contact-card, .form-card { padding: 24px 18px; }
  .stats { gap: 10px; }
  .stat .stat-ic { width: 52px; height: 52px; border-radius: 13px; }
  .enquire-side { position: static; }
  .map-frame iframe { height: 250px; }
  .footer-grid { gap: 26px; }
  .site-footer .f-logo img { height: 60px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .pagination a, .pagination span { min-width: 38px; height: 38px; }
}
@media (max-width: 420px) {
  .btn { padding: 12px 26px; font-size: 16px; }
  .eyebrow { letter-spacing: 1.6px; }
  .trust { font-size: 12.5px; }
  .trust .ic { width: 24px; height: 24px; }
}

/* very large screens: keep line lengths elegant */
@media (min-width: 1600px) {
  .container { width: min(1280px, 88%); }
  body { font-size: 15.5px; }
}

/* ============================================================
   v1.3 — services column fix · circular icons restored · footer
   ============================================================ */

/* desktop services: column now fits the 72px icon circle */
.service-row { grid-template-columns: 96px 1fr 280px 56px; }
.service-row .s-ic { width: 72px; height: 72px; }
@media (min-width: 861px) and (max-width: 1080px) {
  .service-row { grid-template-columns: 84px 1fr 220px 50px; }
  .service-row .s-ic { width: 60px; height: 60px; }
  .service-row .s-ic .ic { width: 26px; height: 26px; }
}

/* icon circles must never stretch (undo v1.2 flex rule for them) */
.c-row > .c-ic { flex: 0 0 auto; }
.type-card .t-ic, .stat .stat-ic, .c-ic, .s-ic { aspect-ratio: 1/1; }

/* footer rings removed */
.f-rings { display: none; }

/* designer credit */
.designed-by { display: block; margin-top: 6px; font-size: 12px; color: #8F8A75; }
.designed-by a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.designed-by a:hover { color: var(--gold); }

/* ============================================================
   v1.8 — header social icons · WhatsApp float button
   ============================================================ */
.social-head { /* smaller, subtler than the search/menu buttons */ }
.social-head .ic { opacity: .92; }
.social-head:hover { background: rgba(194,160,94,.14); }
/* hide header socials on small screens (they live in the footer + drawer there) */
@media (max-width: 1020px) { .social-head { display: none; } }

/* WhatsApp floating button — every page */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #29a71a, #1ebd53);
  color: #fff; box-shadow: 0 8px 22px rgba(20,60,20,.4), 0 0 0 1px rgba(255,255,255,.15) inset;
  transition: transform .25s, box-shadow .25s;
  animation: wa-pop .4s ease both;
}
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 28px rgba(20,60,20,.5); }
.wa-float .ic { width: 30px; height: 30px; }
@keyframes wa-pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (max-width: 640px) { .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; } .wa-float .ic { width: 26px; height: 26px; } }
@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; } }
.drawer-socials { display: flex; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(217,201,163,.2); }
.drawer-socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold-light); color: #E3DDC9; display: inline-flex; align-items: center; justify-content: center; transition: all .25s; }
.drawer-socials a:hover { border-color: var(--gold); color: var(--gold); }
