/* Marento Property Group
   Values mirror the original Bricks build: Poppins, gold #bda26a, navy #021322.
   Sections: fonts, tokens, base, utilities, buttons, headers, hero, home sections,
   cards, archive, listing, content pages, contact, footer, messages, motion. */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 200; font-display: swap; src: url('/fonts/poppins-200.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url('/fonts/poppins-300.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/poppins-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/poppins-500.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/poppins-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */
:root {
  --gold: #bda26a;
  --gold-button: #cea95a;
  --gold-bright: #e1bb6b;
  --gold-pale: #ffe4a8;
  --navy: #021322;
  --navy-deep: #01070d;
  --black: #000;
  --ink: #212121;
  --text: #363636;
  --grey-800: #424242;
  --grey-700: #616161;
  --grey-500: #9e9e9e;
  --grey-300: #e0e0e0;
  --grey-100: #f5f5f5;
  --sand: #f6f1e7;
  --sand-line: #e4d9c3;
  --white: #fff;
  --link: #276fb0;
  --new: #e00000;
  --price: #369900;
  --sale: #1565c0;
  --let: #2e7d32;
  --sold: #c62828;
  --leased: #ffba0a;
  --offer: #f57c00;
  --portal: #0067e6;
  --whatsapp: #17803f;
  --on-gold: #021322;
  --success: #2e7d32;

  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --pad-x: 90px;
  --pad-y: 90px;
  --content: 1100px;
  --radius: 15px;
  --radius-sm: 5px;
  --shadow-panel: 0 0 15px 1px rgba(33, 33, 33, 0.59);
  --shadow-soft: 0 0 25px -5px rgba(0, 0, 0, 0.2);
  --blur: blur(5px);
  --gold-text: #866c39;
  --radius-lg: 16px;
  --shadow-card: 0 1px 2px rgba(2, 19, 34, 0.05), 0 8px 24px rgba(2, 19, 34, 0.07);
  --shadow-lift: 0 2px 6px rgba(2, 19, 34, 0.08), 0 22px 48px rgba(2, 19, 34, 0.16);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (max-width: 991px) { :root { --pad-x: 50px; --pad-y: 50px; } }
@media (max-width: 767px) { :root { --pad-x: 35px; } }
@media (max-width: 478px) { :root { --pad-x: 25px; --pad-y: 40px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}
body.menu-open { overflow: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font); font-weight: 300; line-height: 1.25; margin: 0; }
p { margin: 0; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
[hidden] { display: none !important; }
.icon { width: 1em; height: 1em; fill: currentColor; flex-shrink: 0; vertical-align: -0.125em; }

/* ---------- Utilities ---------- */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  padding: 12px 18px; background: var(--white); color: var(--ink);
  border-radius: var(--radius-sm); text-decoration: none; font-weight: 500;
}
.skip-link:focus { top: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.section-title { font-weight: 500; font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -0.02em; line-height: 1.15; color: var(--ink); margin-bottom: 40px; }
.section-title--center { text-align: center; }
.section-title--light { color: var(--white); }
@media (max-width: 478px) { .section-title { font-size: 30px; text-align: center; margin-bottom: 25px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0.5em 1.35em;
  border: 1px solid transparent; border-radius: 8px;
  background: var(--gold); color: var(--on-gold);
  font-family: var(--font); font-weight: 500; font-size: 14px;
  text-decoration: none; line-height: 1.2;
  transition: filter 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn--gold { background: var(--gold-button); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--lg { min-height: 52px; padding: 0 28px; font-size: 15px; }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.6); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); filter: none; }
.btn--outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); filter: none; }
.btn:active { transform: translateY(1px); }
.btn--portal { background: var(--portal); color: var(--white); font-weight: 400; font-size: 14px; text-shadow: 1px 1px 1px var(--ink); }
.btn--whatsapp { background: var(--whatsapp); color: var(--white); }

/* ---------- Menus (shared by hero and inner header) ---------- */
.nav-toggle {
  position: relative; z-index: 60;
  width: 50px; height: 44px; padding: 0;
  background: none; border: 0; color: var(--white);
}
.nav-toggle--gold { color: var(--gold-bright); }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  position: absolute; left: 0; width: 50px; height: 2px;
  background: currentColor; transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle__bars { top: 50%; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ''; }
.nav-toggle__bars::before { top: -9px; }
.nav-toggle__bars::after { top: 9px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(9px) rotate(45deg); background: var(--white); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-9px) rotate(-45deg); background: var(--white); }

.menu-panel {
  position: fixed; top: 0; bottom: 0; z-index: 50;
  width: min(340px, 85vw);
  padding: 110px 40px 40px;
  list-style: none;
  background: rgba(1, 7, 13, 0.97);
  transition: transform 0.3s ease, visibility 0.3s;
  visibility: hidden;
}
.menu-panel--right { right: 0; transform: translateX(100%); }
.menu-panel--left { left: 0; transform: translateX(-100%); }
.menu-panel.is-open { transform: none; visibility: visible; }
.menu-panel a {
  display: block; padding: 12px 0;
  color: var(--white); text-decoration: none; font-size: 20px; font-weight: 400;
  border-bottom: 1px solid rgba(189, 162, 106, 0.4);
}
.menu-panel a[aria-current="page"] { color: var(--gold-bright); }

/* ---------- Inner page header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  color: var(--grey-100);
  border-bottom: 1px solid rgba(189, 162, 106, 0.18);
}
/* Background and blur sit on a pseudo-element, not on .site-header itself.
   backdrop-filter on the header makes it the containing block for the fixed
   mobile menu panel, which then sizes to the 68px bar instead of the viewport. */
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(1, 7, 13, 0.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: 1320px; height: 76px; margin: 0 auto; padding: 0 var(--pad-x);
}
.site-header__logo img { width: auto; max-height: 62px; }
.site-header__right { display: flex; align-items: center; gap: 8px; }
.site-nav .nav-toggle { display: none; }
.site-nav__list { display: flex; list-style: none; gap: 30px; margin-right: 12px; }
.site-nav__list a { position: relative; display: inline-block; padding: 10px 0; color: var(--white); text-decoration: none; font-weight: 500; font-size: 15px; }
.site-nav__list a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.site-nav__list a:hover::after, .site-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav__list a[aria-current="page"] { color: var(--gold-bright); }
.site-nav__extra { display: none; }
.site-header__cta { margin-left: 8px; }
.header-search { position: relative; }
.header-search__toggle {
  display: grid; place-items: center; width: 44px; height: 44px;
  background: none; border: 0; color: var(--white); font-size: 18px;
}
.header-search__toggle:hover { color: var(--gold-bright); }
.header-search__form {
  position: absolute; right: 0; top: calc(100% + 16px);
  display: flex; gap: 8px; width: min(440px, 90vw);
  padding: 12px; background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}
.header-search__form[hidden] { display: none; }
.header-search__form input { flex: 1; min-height: 44px; padding: 0 14px; border: 1px solid var(--grey-300); border-radius: var(--radius-sm); color: var(--ink); }
@media (max-width: 1100px) { .site-header__cta { display: none; } }
@media (max-width: 860px) {
  .site-header__bar { height: 68px; padding: 0 20px; }
  .site-nav .nav-toggle { display: block; order: 2; }
  .site-nav { order: 3; }
  .site-nav__list {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto; z-index: 50;
    display: block; width: min(340px, 85vw); margin: 0; padding: 110px 40px 40px;
    overflow-y: auto;
    background: rgba(1, 7, 13, 0.98);
    transform: translateX(100%); visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s;
  }
  .site-nav__list.is-open { transform: none; visibility: visible; }
  .site-nav__list a { display: block; padding: 12px 0; font-size: 20px; font-weight: 400; border-bottom: 1px solid rgba(189, 162, 106, 0.4); }
  .site-nav__list a::after { display: none; }
  .site-nav__extra { display: list-item; }
}

/* ---------- Section headings (shared) ---------- */
.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px;
  max-width: 1200px; margin: 0 auto 36px;
}
.section-heading {
  position: relative; padding-top: 22px;
  font-size: clamp(28px, 3.2vw, 40px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; color: var(--ink);
}
.section-heading::before { content: ''; position: absolute; left: 0; top: 0; width: 44px; height: 3px; border-radius: 2px; background: var(--gold); }
.section-head--light .section-heading { color: var(--white); }
.section-head__link { display: inline-flex; align-items: center; gap: 8px; color: var(--link); font-weight: 500; text-decoration: none; }
.section-head__link:hover { text-decoration: underline; }

/* Staff login: small, quiet, and always in the top bar so the client does not
   have to remember the /admin/ address. Kept out of the main nav so it does
   not read as a visitor link. */
.staff-link {
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.8); text-decoration: none; white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.staff-link:hover, .staff-link:focus-visible { color: var(--gold-bright); border-bottom-color: var(--gold); }
@media (max-width: 860px) { .staff-link { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100svh;
  color: var(--grey-100);
  background: #1d1d1d url('/media/hero-poster.jpg') center / cover no-repeat;
  overflow: hidden;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(1, 7, 13, 0.88) 0%, rgba(1, 7, 13, 0.6) 45%, rgba(1, 7, 13, 0.2) 100%),
    linear-gradient(180deg, rgba(1, 7, 13, 0.55) 0%, rgba(1, 7, 13, 0) 30%, rgba(1, 7, 13, 0) 70%, rgba(1, 7, 13, 0.6) 100%);
}
.hero__body { position: relative; z-index: 2; }
/* The open mobile menu lives inside .hero__top, so this stacking context has to
   sit above the hero copy (z 2) and the finder card (z 5). At z-index 2 the
   panel painted under both and the menu read as transparent on phones. */
.hero__top {
  position: relative; z-index: 60;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  width: 100%; max-width: 1320px; margin: 0 auto; padding: 20px var(--pad-x) 0;
}
.hero-menu { padding-top: 14px; }
.hero__logo img { width: clamp(190px, 17vw, 270px); height: auto; filter: drop-shadow(0 2px 18px rgba(0, 0, 0, 0.45)); }
.hero-menu { display: flex; align-items: center; gap: 8px; }
.hero-menu__links { display: flex; gap: 30px; list-style: none; margin-right: 12px; }
.hero-menu__links a { display: inline-block; padding: 10px 0; color: var(--white); font-weight: 500; font-size: 15px; text-decoration: none; border-bottom: 2px solid transparent; }
.hero-menu__links a:hover, .hero-menu__links a[aria-current="page"] { border-bottom-color: var(--gold); }
.hero-menu .nav-toggle { display: none; }
.hero__body {
  width: 100%; max-width: 1320px; margin: auto auto 0; padding: 0 var(--pad-x) 190px;
}
.hero__title {
  max-width: 14ch;
  font-size: clamp(40px, 5.6vw, 76px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.04;
  text-transform: none; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}
.hero__subtitle { max-width: 44ch; margin-top: 20px; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255, 255, 255, 0.88); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
/* Phones get the 3:4 recut of the hero (see site.js), so the still behind it
   has to be the matching frame. This lives on .hero rather than the video's
   poster attribute, which cannot be media-queried. */
@media (max-width: 767px) {
  .hero { background-image: url('/media/hero-poster-mobile.jpg'); }
}
@media (max-width: 860px) {
  .hero-menu__links, .hero-menu .header-saved { display: none; }
  .hero-menu .nav-toggle { display: block; }
  .hero__logo img { width: 170px; }
}
@media (max-width: 600px) {
  .hero { min-height: 88svh; }
  .hero::before { background: linear-gradient(180deg, rgba(1, 7, 13, 0.7) 0%, rgba(1, 7, 13, 0.45) 40%, rgba(1, 7, 13, 0.85) 100%); }
  .hero__body { padding-bottom: 120px; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- Finder (floating search under the hero) ---------- */
.finder { position: relative; z-index: 5; margin-top: -120px; padding: 0 var(--pad-x); }
.finder__panel {
  max-width: 1200px; margin: 0 auto; padding: 28px 32px 22px;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift);
}
.finder__title { margin-bottom: 16px; font-size: 20px; font-weight: 500; color: var(--ink); }
.finder__fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 16px; align-items: end; }
.finder__submit { min-height: 48px; padding: 0 30px; font-size: 15px; }
.finder__stats { margin-top: 16px; font-size: 14px; color: var(--grey-700); }
.finder__stats strong { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) {
  .finder { margin-top: -70px; }
  .finder__panel { padding: 22px 20px 18px; }
  .finder__fields { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Services (sellers, buyers, landlords) ---------- */
.services {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 80px; align-items: center;
  max-width: 1200px; margin: 0 auto; padding: 120px var(--pad-x);
  box-sizing: content-box;
}
.services__media { position: relative; }
.services__media::before {
  content: ''; position: absolute; inset: 22px -22px -22px 22px;
  border: 1px solid var(--gold); border-radius: var(--radius-lg);
}
.services__media img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.services__title { font-size: clamp(32px, 3.6vw, 48px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.1; color: var(--ink); }
.services__lead { max-width: 46ch; margin: 18px 0 30px; font-size: 17px; color: var(--grey-700); }
.services__list { list-style: none; border-bottom: 1px solid var(--grey-300); }
.service { border-top: 1px solid var(--grey-300); }
.service__link {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px;
  padding: 24px 0; color: inherit; text-decoration: none;
}
.service__name { grid-column: 1; font-size: 22px; font-weight: 500; color: var(--ink); }
.service__subtitle { grid-column: 1; margin-top: 2px; font-size: 15px; font-weight: 500; color: var(--gold-text); }
.service__text {
  grid-column: 1; margin-top: 8px; font-size: 14.5px; color: var(--grey-700);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.service__arrow {
  grid-column: 2; grid-row: 1 / span 3; align-self: center;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--grey-300); color: var(--gold-text); font-size: 18px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.service__link:hover .service__arrow { background: var(--navy); border-color: var(--navy); color: var(--white); transform: translateX(4px); }
.service__link:hover .service__name { color: var(--navy); }
@media (max-width: 991px) {
  .services { grid-template-columns: minmax(0, 1fr); gap: 50px; padding: 90px var(--pad-x); }
  /* The portrait crop centres on the mosaic terrace wall, which is the dullest
     part of the photo. Bias the 16/10 crop up to the roofline and facade. */
  .services__media img { aspect-ratio: 16 / 10; object-position: center 22%; }
  .services__media::before { inset: 12px 0 -12px 12px; }
}

/* ---------- Care (cleaning, solar, maintenance) ---------- */
.care { padding: 0 var(--pad-x) 120px; }
.care__inner { max-width: 1200px; margin: 0 auto; }
.care__lead { max-width: 60ch; margin: -12px 0 34px; font-size: 17px; color: var(--grey-700); }
.care__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none;
}
.care__item {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--grey-300); border-radius: var(--radius-lg); background: var(--white);
  box-shadow: var(--shadow-card); transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.care__item:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.care__item--feature { grid-row: span 2; }
.care__media { display: block; overflow: hidden; background: var(--grey-300); }
.care__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.7s var(--ease); }
.care__item--feature .care__media { flex: 1; }
.care__item--feature .care__media img { height: 100%; aspect-ratio: auto; min-height: 260px; }
.care__item:hover .care__media img { transform: scale(1.045); }
.care__body { padding: 22px 24px 26px; border-top: 3px solid var(--gold); }
.care__subtitle { font-size: 14px; font-weight: 500; color: var(--gold-text); }
.care__name { margin-top: 2px; font-size: 22px; font-weight: 500; color: var(--ink); }
.care__text { margin-top: 8px; font-size: 14.5px; color: var(--grey-700); }
.care__item--feature .care__name { font-size: 28px; }
.care__item--feature .care__text { font-size: 16px; }
@media (max-width: 991px) {
  .care { padding-bottom: 90px; }
  .care__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .care__item--feature { grid-column: 1 / -1; grid-row: auto; }
  .care__item--feature .care__media img { height: auto; aspect-ratio: 16 / 9; min-height: 0; }
}
@media (max-width: 600px) {
  .care__grid { grid-template-columns: minmax(0, 1fr); }
  .care__item--feature .care__media img { aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) {
  .care__item, .care__media img { transition: none; }
  .care__item:hover { transform: none; }
  .care__item:hover .care__media img { transform: none; }
}

/* ---------- Home listings + tabs ---------- */
.listings-home { padding: 0 var(--pad-x) 120px; }
.tabs__list { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--grey-100); }
.tabs__tab {
  min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px;
  background: transparent; color: var(--grey-800); font-size: 15px; font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}
.tabs__tab[aria-selected="true"] { background: var(--navy); color: var(--white); }
.listings-home__more { text-align: center; margin-top: 44px; }
@media (max-width: 478px) { .tabs__tab { padding: 0 16px; } }

/* ---------- Listing cards ---------- */
.card-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px;
  max-width: 1200px; margin: 0 auto;
}
@media (max-width: 991px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } }
@media (max-width: 600px) { .card-grid { grid-template-columns: minmax(0, 1fr); } }
.card {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid rgba(2, 19, 34, 0.08); border-radius: var(--radius-lg);
  background: var(--white); overflow: hidden; box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e9e9e9; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.card:hover .card__media img { transform: scale(1.045); }
.card__status, .card__flag {
  position: absolute; top: 14px; padding: 4px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: 0.01em;
}
.card__status { left: 14px; background: var(--navy); color: var(--white); }
.card__status--to-let { background: var(--let); }
.card__status--sold { background: var(--sold); }
.card__status--leased { background: var(--leased); color: var(--on-gold); }
.card__status--under-offer { background: var(--offer); color: var(--on-gold); }
.card__flag { left: auto; right: 66px; background: var(--gold); color: var(--on-gold); }
.card__flag--new { background: var(--new); color: var(--white); }
.save-btn--card { position: absolute; top: 10px; right: 10px; left: auto; z-index: 2; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.card__price { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; color: var(--navy); }
.card__per { font-size: 14px; font-weight: 400; color: var(--grey-700); }
.card__was { margin-left: 4px; font-size: 14px; font-weight: 400; color: var(--grey-700); }
.card__title { margin: 6px 0 8px; font-size: 16px; font-weight: 500; line-height: 1.45; }
.card__title a {
  color: var(--ink); text-decoration: none;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card:hover .card__title a { color: var(--navy); }
.card__title a:focus-visible { outline: none; }
.card:focus-within { outline: 2px solid var(--navy); outline-offset: 2px; }
.card__place { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--grey-700); }
.card__place .icon { color: var(--gold-text); }
.card__facts {
  display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: auto; padding-top: 14px;
  list-style: none; border-top: 1px solid var(--grey-300); font-size: 14px; color: var(--ink);
}
.card__place + .card__facts { margin-top: 14px; }
.card__facts li { display: inline-flex; align-items: center; gap: 7px; }
.card__facts .icon { color: var(--grey-700); }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--sand); border-top: 1px solid var(--sand-line); border-bottom: 1px solid var(--sand-line); }
.testimonials__inner { max-width: 1200px; margin: 0 auto; padding: 110px var(--pad-x); box-sizing: content-box; }
.slider__track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 2px 8px;
}
.slider__track::-webkit-scrollbar { display: none; }
.testimonial {
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  min-height: 280px; padding: 32px;
  border: 1px solid var(--sand-line); border-radius: var(--radius-lg);
  background: var(--white); box-shadow: var(--shadow-card);
}
.testimonial::before { content: '\201C'; display: block; height: 34px; font-size: 64px; line-height: 1; color: var(--gold); }
.testimonial__quote { margin: 12px 0 0; font-size: 16px; line-height: 1.7; color: var(--text); }
/* Long reviews are clamped so one essay does not stretch the whole row. */
.testimonial__quote p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; line-clamp: 7; overflow: hidden; }
.testimonial.is-expanded .testimonial__quote p { display: block; -webkit-line-clamp: unset; line-clamp: none; overflow: visible; }
.testimonial__more { align-self: flex-start; margin-top: 10px; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; }
.testimonial__more:hover { color: var(--navy); }
/* margin-top: auto pins the name to the card foot; the quote's bottom margin keeps the old 24px minimum gap. */
.testimonial__quote, .testimonial__more { margin-bottom: 24px; }
.testimonial__quote:has(+ .testimonial__more:not([hidden])) { margin-bottom: 0; }
.testimonial__by { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--sand-line); }
.testimonial__name { font-size: 16px; font-weight: 600; color: var(--ink); }
.testimonial__role { font-size: 14px; color: var(--gold-text); }
.slider__controls { display: flex; gap: 10px; }
.slider__arrow {
  display: grid; place-items: center; width: 48px; height: 48px;
  border: 1px solid var(--sand-line); border-radius: 50%;
  background: var(--white); color: var(--navy); font-size: 18px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.slider__arrow:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.slider__dots { display: flex; justify-content: center; gap: 4px; margin-top: 24px; }
.slider__dot { width: 24px; height: 24px; padding: 0; border: 0; background: none; display: grid; place-items: center; }
.slider__dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--sand-line); transition: width 0.3s var(--ease); }
.slider__dot[aria-current="true"]::before { width: 22px; border-radius: 4px; background: var(--gold-text); }
@media (max-width: 991px) { .slider__track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 767px) {
  .slider__track { grid-auto-columns: 100%; }
  .testimonials__inner { padding: 80px var(--pad-x); }
}

/* ---------- Team ---------- */
.team { max-width: 1200px; margin: 0 auto; padding: 120px var(--pad-x); box-sizing: content-box; }
.team__tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.team__thumb {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 5px 18px 5px 5px;
  border: 1px solid var(--grey-300); border-radius: 999px; background: var(--white);
  color: var(--ink); font-size: 15px; font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.team__thumb img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.team__thumb:hover { border-color: var(--gold); }
.team__thumb[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.team__panel { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 60px; align-items: center; padding-top: 44px; }
.team__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); background: var(--grey-300); }
.team__info { display: flex; flex-direction: column; align-items: flex-start; }
.team__role { font-size: 15px; font-weight: 600; color: var(--gold-text); }
.team__name { margin-top: 6px; font-size: clamp(30px, 3.2vw, 44px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); }
.team__designation { margin-top: 8px; font-size: 14px; color: var(--grey-700); }
.team__bio { max-width: 60ch; margin: 20px 0 26px; font-size: 16px; line-height: 1.75; color: var(--grey-700); }
.team__bio p + p { margin-top: 0.75em; }
@media (max-width: 767px) {
  .team { padding: 90px var(--pad-x); }
  .team__panel { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .team__photo { aspect-ratio: 1; }
}

/* ---------- Library ---------- */
.library { padding: 0 var(--pad-x) 120px; }
.library__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 34px; max-width: 1320px; margin: 0 auto; list-style: none; }
.library__item a { display: block; color: var(--ink); text-decoration: none; }
.library__media { display: block; overflow: hidden; border-radius: var(--radius-lg); background: var(--grey-300); }
.library__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; transition: transform 0.7s var(--ease); }
.library__item a:hover img { transform: scale(1.045); }
.library__title { display: block; margin: 22px 0 10px; font-size: 23px; font-weight: 500; line-height: 1.3; }
.library__more { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--gold-text); }
.library__item a:hover .library__more .icon { transform: translateX(4px); }
.library__more .icon { transition: transform 0.3s var(--ease); }
@media (max-width: 767px) { .library__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } .library__title { font-size: 21px; } }

/* ---------- Maps ---------- */
.map { height: 420px; background: #dfe3e6; }
.map-band { padding: 0 var(--pad-x) 120px; }
.map-band__inner { max-width: 1200px; margin: 0 auto; }
.map-band .map { height: 460px; border-radius: var(--radius-lg); overflow: hidden; }
.map-band__note { margin-top: 12px; font-size: 14px; color: var(--grey-700); }
.map--listing { height: 400px; border-radius: var(--radius-lg); overflow: hidden; }
.map--empty { display: flex; align-items: center; justify-content: center; }
.map--empty::after { content: 'Map unavailable'; font-size: 14px; color: var(--grey-700); }

/* Sale / rent switch above a pin map. */
.map-switch { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; padding: 5px; background: var(--grey-100); border-radius: 999px; }
.map-switch button {
  padding: 9px 20px; border: 0; border-radius: 999px; background: transparent;
  font: inherit; font-size: 14px; font-weight: 500; color: var(--grey-800); cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.map-switch button:hover { color: var(--ink); }
.map-switch button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.map-switch button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.map__directions { margin-top: 12px; }
.map__directions a { color: var(--link); }
.leaflet-popup-content a { color: var(--link); font-weight: 500; }
.leaflet-popup-content p { margin: 4px 0 0; }

/* ---------- Call to action (above the footer) ---------- */
.cta { background: var(--navy); border-top: 1px solid rgba(189, 162, 106, 0.25); }
.cta__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 40px;
  max-width: 1200px; margin: 0 auto; padding: 72px var(--pad-x); box-sizing: content-box;
}
.cta__title { font-size: clamp(26px, 3vw, 38px); font-weight: 500; letter-spacing: -0.02em; color: var(--white); }
.cta__text { margin-top: 8px; font-size: 17px; color: rgba(255, 255, 255, 0.78); }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.cta__phone { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--white); font-weight: 500; text-decoration: none; }
.cta__phone:hover { color: var(--gold-bright); }

/* ---------- Scroll reveal (only below the fold, only with JS, never with reduced motion) ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Search form (archive) ---------- */
.listing-search { display: flex; gap: 10px; width: 100%; }
.listing-search__field { position: relative; flex: 1; }
.listing-search__field .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--grey-500); pointer-events: none; }
.listing-search__field input {
  width: 100%; height: 52px; padding: 0 16px 0 44px;
  border: 1px solid var(--grey-300); border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink); font-size: 15px;
}
.listing-search__submit {
  display: inline-flex; align-items: center; gap: 8px;
  height: 52px; padding: 0 32px; border: 0; border-radius: var(--radius-sm);
  background: var(--gold); color: var(--on-gold); font-weight: 500; font-size: 15px;
}
@media (max-width: 767px) {
  .listing-search { flex-direction: column; }
  .listing-search__submit { justify-content: center; }
}

/* ---------- Archive ---------- */
.archive__inner { max-width: calc(var(--content) + 2 * var(--pad-x)); margin: 0 auto; padding: var(--pad-y) var(--pad-x); }
.archive__toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 40px 0 30px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1px solid var(--grey-300); border-radius: 999px;
  text-decoration: none; color: var(--grey-800); font-weight: 400;
}
.chip[aria-current="page"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.archive__count { margin-left: auto; color: var(--grey-700); }
.archive__sort { display: flex; align-items: center; gap: 8px; }
.archive__sort select { min-height: 44px; padding: 0 12px; border: 1px solid var(--grey-300); border-radius: var(--radius-sm); background: var(--white); }
.archive__empty { padding: 40px 0; font-size: 17px; }
.archive__empty a { color: var(--link); }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 50px; }
.pagination__link {
  display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px;
  border: 1px solid var(--grey-300); border-radius: var(--radius-sm);
  text-decoration: none; color: var(--grey-800);
}
.pagination__link[aria-current="page"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
@media (max-width: 767px) { .archive__count { margin-left: 0; width: 100%; } }

/* ---------- Listing detail ---------- */
.listing__head, .listing__top, .details { width: 80%; margin: 0 auto; }
.listing__head { display: flex; gap: 30px; margin-top: 90px; margin-bottom: 50px; }
.listing__title { flex: 0 0 70%; align-self: flex-end; font-size: 30px; font-weight: 400; color: var(--ink); }
.listing__portal { flex: 1; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.listing__portal p { font-size: 18px; color: var(--grey-800); line-height: 1.2; text-align: right; }
.listing__top { display: flex; }
.gallery { position: relative; flex: 0 0 70%; min-width: 0; background: #111; }
.gallery__track { display: flex; align-items: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 4 / 3; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.5); color: var(--white); font-size: 18px;
}
.gallery__nav--prev { left: 12px; }
.gallery__nav--next { right: 12px; }
.gallery__counter {
  position: absolute; right: 12px; bottom: 12px;
  padding: 2px 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.6); color: var(--white); font-size: 13px;
}
.facts { flex: 1; min-width: 0; padding: 0 25px 25px; color: var(--ink); }
.facts__row { display: flex; justify-content: space-between; gap: 12px; }
.facts__col { display: flex; flex-direction: column; gap: 12px; }
.facts__col--end { align-items: flex-end; }
.facts__status { font-size: 22px; font-weight: 400; }
.facts__item { display: flex; align-items: center; gap: 15px; font-size: 16px; font-weight: 400; }
.facts__item .icon { font-size: 20px; }
.facts__price { font-size: 27px; font-weight: 400; color: var(--price); text-align: right; }
.pill { white-space: nowrap; padding: 5px 15px; border-radius: var(--radius-sm); font-size: 17px; color: var(--white); background: var(--sale); }
.pill--to-let { background: var(--let); }
.pill--sold { background: var(--sold); }
.pill--leased { background: var(--leased); color: var(--on-gold); }
.pill--under-offer { background: var(--offer); color: var(--on-gold); }
.facts__rule { border: 0; border-top: 1px solid var(--grey-500); margin: 25px 0; }
.facts__list { list-style: none; display: flex; flex-direction: column; gap: 15px; font-size: 16px; font-weight: 400; }
.facts__list li { display: flex; gap: 15px; align-items: baseline; }
.facts__list .icon { font-size: 20px; width: 24px; }
.agent-card {
  display: flex; align-items: center; gap: 18px;
  padding: 25px; border-radius: var(--radius);
  background: var(--white); box-shadow: 2px 2px 25px rgba(0, 0, 0, 0.16);
}
.agent-card__photo { width: 30%; max-width: 110px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.agent-card__info { flex: 1; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; }
.agent-card__name { font-size: 20px; }
.agent-card__phone { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 400; }
.agent-card__phone a { text-decoration: none; }
.details { margin-top: 50px; margin-bottom: 90px; }
.details__tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid #dee2e6; }
.details__tab {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 18px; margin-bottom: -1px;
  border: 1px solid transparent; border-radius: 6px 6px 0 0;
  background: none; color: var(--link); font-weight: 400;
}
.details__tab[aria-selected="true"] { color: #495057; background: var(--white); border-color: #dee2e6 #dee2e6 var(--white); }
.details__panel { padding: 24px 0; }
.prose { font-size: 15px; line-height: 1.75; color: #212529; max-width: 80ch; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose h2, .prose h3, .prose h4 { font-weight: 500; margin: 1.4em 0 0.5em; }
.prose a { color: var(--link); }
.photo-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.photo-grid button { display: block; width: 100%; padding: 0; border: 0; background: none; }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
@media (max-width: 991px) {
  .listing__head, .listing__top, .details { width: 90%; }
  .listing__top { flex-direction: column; }
  .gallery { flex-basis: auto; }
  .facts { padding: 25px 0 0; }
}
@media (max-width: 478px) {
  .listing__head, .listing__top, .details { width: 95%; }
  .listing__head { flex-direction: column; margin-top: 30px; margin-bottom: 25px; }
  .listing__title { font-size: 25px; font-weight: 500; flex-basis: auto; }
  .listing__portal { align-items: flex-start; }
  .listing__portal p { text-align: left; }
  .agent-card { padding: 18px; }
}

/* Listing page: the facts sit in a card that stays in view beside the photos */
.listing__title { font-weight: 500; letter-spacing: -0.015em; }
.listing__top { gap: 28px; align-items: flex-start; }
.listing__top .gallery { flex: 0 0 62%; border-radius: var(--radius-lg); overflow: hidden; }
.facts {
  position: sticky; top: 96px;
  padding: 26px; border: 1px solid rgba(2, 19, 34, 0.08); border-radius: var(--radius-lg);
  background: var(--white); box-shadow: var(--shadow-card);
}
.facts__price { font-weight: 600; color: var(--navy); }
.agent-card { box-shadow: none; border: 1px solid var(--grey-300); }
@media (max-width: 991px) {
  .listing__top .gallery { flex-basis: auto; }
  .facts { position: static; padding: 22px; }
}

/* ---------- Content pages (about, guides, privacy, posts) ---------- */
.content-page .cs {
  padding: 70px max(var(--pad-x), calc((100% - 1000px) / 2));
  font-size: 16px; line-height: 1.75;
}
.content-page .cs:nth-of-type(even) { background: var(--grey-100); }
.content-page h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); font-weight: 600; margin-bottom: 25px; }
.content-page h2 { font-size: 28px; font-weight: 400; margin: 0 0 20px; }
.content-page h3 { font-size: 20px; font-weight: 500; margin: 30px 0 10px; }
.content-page .cs > p, .content-page .faq p { margin-bottom: 1em; }
.content-page .cs > .btn { margin: 10px 10px 0 0; }

/* A line that introduces the list right under it, not a heading. The source
   pages marked these as h3, which is why they used to read like section titles. */
.content-page .lead-in { margin: 24px 0 10px; font-weight: 500; color: var(--ink); }
.content-page .lead-in + ul, .content-page .lead-in + ol { margin-top: 0; }
.content-page h3 + .lead-in { margin-top: 12px; }

/* A one-line break between the main guide and the reference sections after it. */
.content-page .band-divider {
  margin: 0; text-align: center;
  font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-text);
}
.content-page .cs:has(> .band-divider:only-child) { padding-top: 46px; padding-bottom: 46px; }

/* Two-column reference tables (who pays what, which certificate when). */
.table-wrap { margin: 26px 0 8px; overflow-x: auto; }
.guide-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.guide-table th, .guide-table td { padding: 13px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--grey-300); }
.guide-table thead th {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-text); border-bottom-width: 2px;
}
.guide-table tbody th { width: 46%; font-weight: 500; color: var(--ink); }
.guide-table tbody td { color: var(--grey-700); }
.guide-table tbody tr:last-child th, .guide-table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) {
  .guide-table { font-size: 14px; }
  .guide-table th, .guide-table td { padding: 11px 12px; }
  .guide-table tbody th { width: 50%; }
}

/* Hero band at the top of every content page. */
.page-hero {
  color: var(--white);
  padding: 130px var(--pad-x) 110px;
  background: linear-gradient(rgba(1, 7, 13, 0.82) 0%, rgba(1, 7, 13, 0.7) 60%, rgba(1, 7, 13, 0.86) 100%), url('/media/modern-living-room-interior-design-2.webp') center / cover no-repeat;
}
.content-page--about-us .page-hero { background-image: linear-gradient(rgba(1, 7, 13, 0.8) 0%, rgba(1, 7, 13, 0.62) 55%, rgba(1, 7, 13, 0.88) 100%), url('/media/modern-living-room-interior-design-3.webp'); }
.page-hero__inner { max-width: 1000px; margin: 0 auto; }
.page-hero__eyebrow {
  margin-bottom: 18px; font-size: 13px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-bright);
}
.page-hero__title { max-width: 20ch; font-size: clamp(2.2rem, 5vw, 3.75rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; }
.page-hero__lead { max-width: 62ch; margin-top: 22px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.7; color: rgba(255, 255, 255, 0.86); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
@media (max-width: 600px) { .page-hero { padding: 90px var(--pad-x) 70px; } }

/* Guides: contents list beside the sections, because these pages run to
   fourteen headings and nobody reads that as one column. */
.guide { display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); gap: 0; align-items: start; }
.guide__toc {
  position: sticky; top: 88px;
  padding: 44px 30px 44px max(28px, calc(var(--pad-x) - 40px));
  border-right: 1px solid var(--grey-300);
}
.guide__toc-title { margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); }
.guide__toc-list { list-style: none; counter-reset: toc; margin: 0; padding: 0; max-height: calc(100vh - 170px); overflow-y: auto; overscroll-behavior: contain; }
.guide__toc-list li { counter-increment: toc; }
.guide__toc-list a {
  display: block; padding: 6px 0 6px 26px; position: relative;
  font-size: 13.5px; line-height: 1.45; color: var(--grey-700); text-decoration: none;
}
.guide__toc-list a::before {
  content: counter(toc); position: absolute; left: 0; top: 6px;
  font-size: 12px; font-weight: 600; color: var(--gold-text);
}
.guide__toc-list a:hover { color: var(--ink); }
.guide__content { min-width: 0; }
.guide .cs { padding-left: max(60px, calc((100% - 820px) / 2)); padding-right: max(var(--pad-x), calc((100% - 820px) / 2)); scroll-margin-top: 88px; }
.guide__back { margin-top: 28px; font-size: 13px; }
.guide__back a { color: var(--grey-700); text-decoration: none; }
.guide__back a:hover { color: var(--gold-text); text-decoration: underline; }
@media (max-width: 991px) {
  .guide { grid-template-columns: minmax(0, 1fr); }
  .guide__toc { position: static; padding: 32px var(--pad-x); border-right: 0; border-bottom: 1px solid var(--grey-300); background: var(--grey-100); }
  .guide__toc-list { columns: 2; column-gap: 32px; max-height: none; }
  .guide .cs { padding-left: var(--pad-x); padding-right: var(--pad-x); }
}
@media (max-width: 600px) { .guide__toc-list { columns: 1; } }
.content-page ul:not([class]), .content-page ol:not([class]) { padding-left: 1.4em; margin-bottom: 1em; }
.arrow-list { list-style: none; margin: 14px 0 22px; padding: 0; }
.arrow-list li { position: relative; padding-left: 32px; margin-bottom: 11px; }
.arrow-list li::before {
  content: ''; position: absolute; left: 0; top: 0.35em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.4 11.2 3.2 8l1.1-1.1 2.1 2.1 5.3-5.3L12.8 4.8z' fill='%23021322'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 32px 0; padding: 0; }
.steps li {
  position: relative; padding: 20px 22px 20px 24px;
  border: 1px solid var(--grey-300); border-left: 3px solid var(--gold); border-radius: 12px;
  background: var(--white); color: var(--ink);
  box-shadow: var(--shadow-card); font-weight: 500; line-height: 1.45;
}
.steps span { display: block; margin-bottom: 8px; color: var(--gold-text); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; }
.icon-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; margin-top: 40px; }
.icon-box {
  position: relative; padding: 40px;
  border: 1px solid var(--grey-300); border-radius: var(--radius-lg);
  background: var(--white); color: var(--text);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.icon-box:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.icon-box .icon { width: 26px; height: 26px; color: var(--gold-bright); }
.icon-box > .icon {
  box-sizing: content-box; display: block; padding: 15px;
  border-radius: 50%; background: var(--navy);
}
.content-page .icon-box h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.01em; margin: 22px 0 12px; color: var(--ink); }
.icon-box p { font-weight: 400; line-height: 1.75; color: var(--grey-700); }
.faq { border-bottom: 1px solid var(--grey-300); }
.faq[open] { background: var(--white); border-radius: 10px; box-shadow: var(--shadow-card); margin: 8px 0; padding: 0 18px; border-bottom-color: transparent; }
.faq summary:hover { color: var(--gold-text); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 44px; padding: 18px 0; cursor: pointer; list-style: none;
  font-size: 18px; font-weight: 500; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex-shrink: 0; width: 10px; height: 10px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg); transition: transform 0.2s ease;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq > :not(summary) { padding-bottom: 12px; }
.breadcrumbs { margin-bottom: 20px; font-size: 14px; }
.breadcrumbs a { color: var(--gold-pale); text-decoration: none; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.content-page .share__title { font-size: 20px; margin: 0; }
.share__list { display: flex; gap: 10px; list-style: none; }
.share__list a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--black); color: var(--white); }
@media (max-width: 767px) { .icon-grid { grid-template-columns: minmax(0, 1fr); } .icon-box { padding: 28px; } }

/* ---------- About page ---------- */
.facts-strip { padding: 0 var(--pad-x); margin-top: -46px; position: relative; z-index: 3; }
.facts-strip__list {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1200px; margin: 0 auto; padding: 0; list-style: none;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift);
}
.facts-strip__list li { padding: 30px 28px; }
.facts-strip__list li + li { border-left: 1px solid var(--grey-300); }
.facts-strip__n { display: block; font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -0.02em; color: var(--navy); line-height: 1.1; }
.facts-strip__l { display: block; margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--grey-700); }
@media (max-width: 860px) {
  .facts-strip__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-strip__list li:nth-child(odd) { border-left: 0; }
  .facts-strip__list li:nth-child(n+3) { border-top: 1px solid var(--grey-300); }
}
@media (max-width: 520px) {
  .facts-strip__list { grid-template-columns: minmax(0, 1fr); }
  .facts-strip__list li + li { border-left: 0; border-top: 1px solid var(--grey-300); }
}

.about-pillars { max-width: 1200px; margin: 0 auto; padding: 110px var(--pad-x) 20px; box-sizing: content-box; }
.about-pillars__head { max-width: 60ch; margin-bottom: 10px; }
.about-pillars__head p { margin-top: 16px; font-size: 17px; line-height: 1.7; color: var(--grey-700); }
.about-pillars .icon-grid { margin-top: 44px; }

.about-team { max-width: 1200px; margin: 0 auto; padding: 100px var(--pad-x) 40px; box-sizing: content-box; }
.about-team__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; margin-top: 38px; padding: 0; list-style: none; }
.agent-tile { border: 1px solid var(--grey-300); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow-card); }
.agent-tile img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--grey-300); }
.agent-tile__body { padding: 22px; }
.agent-tile__role { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); }
.agent-tile__name { margin-top: 8px; font-size: 21px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.agent-tile__designation { margin-top: 6px; font-size: 14px; color: var(--grey-700); }
.agent-tile__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; font-weight: 500; color: var(--whatsapp); text-decoration: none; }
.agent-tile__link:hover { text-decoration: underline; }
.agent-tile__link .icon { width: 18px; height: 18px; }

.about-faq { background: var(--grey-100); }
.content-page .about-faq { padding-top: 100px; padding-bottom: 100px; }
.about-faq__head { max-width: 62ch; margin-bottom: 36px; }
.about-faq__head p { margin-top: 16px; font-size: 17px; line-height: 1.7; color: var(--grey-700); }
.about-faq__head a { color: var(--gold-text); }

/* ---------- Contact ---------- */
.contact-ways { padding: 0 var(--pad-x); margin-top: -46px; position: relative; z-index: 3; }
.contact-ways__list {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1200px; margin: 0 auto; padding: 0; list-style: none;
}
.contact-card {
  padding: 30px 28px;
  background: var(--white); border: 1px solid var(--grey-300);
  box-shadow: var(--shadow-card);
}
.contact-card:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.contact-card:last-child { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.contact-card + .contact-card { border-left: 0; }
.contact-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); }
.contact-card__icon .icon { width: 19px; height: 19px; color: var(--gold-bright); }
.content-page .contact-card h2 { margin: 18px 0 8px; font-size: 16px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink); }
.contact-card p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ink); }
.contact-card a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gold); }
.contact-card a:hover { color: var(--gold-text); }
.contact-card__note { margin-top: 8px !important; font-size: 13px !important; color: var(--grey-700); }
@media (max-width: 991px) {
  .contact-ways__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-card { border-radius: 0; border-left: 1px solid var(--grey-300); }
  .contact-card:first-child { border-radius: var(--radius-lg) 0 0 0; }
  .contact-card:nth-child(2) { border-radius: 0 var(--radius-lg) 0 0; border-left: 0; }
  .contact-card:nth-child(3) { border-radius: 0 0 0 var(--radius-lg); border-top: 0; }
  .contact-card:nth-child(4) { border-radius: 0 0 var(--radius-lg) 0; border-top: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .contact-ways__list { grid-template-columns: minmax(0, 1fr); }
  .contact-card, .contact-card:first-child, .contact-card:nth-child(2), .contact-card:nth-child(3), .contact-card:nth-child(4) { border-radius: 0; border-left: 1px solid var(--grey-300); border-top: 0; }
  .contact-card:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; border-top: 1px solid var(--grey-300); }
  .contact-card:last-child { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
}

.contact__band {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 60px;
  margin-top: 90px;
  padding: 100px max(var(--pad-x), calc((100% - 1100px) / 2));
  color: var(--white);
  background: linear-gradient(rgba(1, 7, 13, 0.72), rgba(1, 7, 13, 0.62)), url('/media/elegant-black-minimal-interior-design-23-2151913272.webp') center / cover no-repeat;
}
.contact__info h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 600; letter-spacing: -0.02em; margin: 0 0 14px; color: var(--white); }
.contact__info p { font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, 0.86); }
.contact__points { margin: 26px 0 0; padding: 0; list-style: none; }
.contact__points li { position: relative; padding-left: 30px; margin-bottom: 12px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.9); }
.contact__points li::before {
  content: ''; position: absolute; left: 0; top: 0.28em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.4 11.2 3.2 8l1.1-1.1 2.1 2.1 5.3-5.3L12.8 4.8z' fill='%23021322'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.contact__reg { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 13px !important; color: rgba(255, 255, 255, 0.6) !important; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.contact-form__field label { display: block; margin-bottom: 4px; font-size: 13px; }
@media (max-width: 767px) {
  .contact__band { grid-template-columns: minmax(0, 1fr); margin-top: 60px; padding-top: 60px; padding-bottom: 60px; }
  .contact-form__row { grid-template-columns: minmax(0, 1fr); }
}

/* Dark translucent fields, shared by the contact and footer forms */
.contact-form input, .contact-form textarea, .footer-form input:not([type="checkbox"]), .footer-form textarea {
  width: 100%; min-height: 44px; padding: 10px 16px;
  border: 0; border-bottom: 1px solid var(--gold); border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.37); color: var(--white); font-size: 13px;
}
.contact-form ::placeholder, .footer-form ::placeholder { color: rgba(255, 255, 255, 0.85); font-weight: 300; }
.contact-form .btn { align-self: flex-start; min-width: 160px; text-transform: uppercase; }
.contact-form .consent { font-size: 13px; }
.contact-form .consent a { color: var(--gold-pale); }
.form-success { margin-top: 12px; padding: 12px 16px; border-radius: var(--radius-sm); background: rgba(76, 175, 80, 0.2); border-left: 3px solid var(--let); color: var(--white); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--grey-100); }
.site-footer__main {
  display: flex; align-items: center; gap: 30px;
  padding: var(--pad-y) var(--pad-x);
  background: linear-gradient(rgba(1, 7, 13, 0.93), rgba(1, 7, 13, 0.95)), url('/media/modern-living-room-interior-design-2.webp') center / cover no-repeat;
}
.site-footer__brand { flex: 0 0 22%; }
.site-footer__logo { width: 100%; max-width: 330px; margin-bottom: 25px; }
.site-footer__about { padding-left: 25px; }
.site-footer__tagline { font-size: 18px; line-height: 1.2; color: var(--white); margin-bottom: 50px; }
.site-footer__tagline p + p { margin-top: 12px; }
.site-footer__legal { font-size: 13px; font-weight: 200; }
.site-footer__ppra { margin-top: 25px; }
.site-footer__privacy { margin-top: 50px; }
.site-footer__privacy a { color: var(--gold-pale); }
.site-footer__cols { flex: 1; display: flex; gap: 30px; }
.site-footer__nav { flex: 0 0 28%; padding: 0 10px 15px; }
.site-footer__heading { font-size: 20px; font-weight: 600; color: var(--grey-100); margin-bottom: 20px; }
.site-footer__heading--gap { margin-top: 50px; }
.site-footer__links { list-style: none; font-weight: 400; }
.site-footer__links a { display: inline-block; padding: 6px 0; text-decoration: none; color: var(--white); }
.site-footer__links a:hover, .site-footer__contact a:hover { color: var(--gold-bright); }
.site-footer__contact { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 14px; font-weight: 400; }
.site-footer__contact .icon { font-size: 20px; }
.site-footer__contact a { text-decoration: none; }
.site-footer__form { flex: 1; }
.footer-form { display: flex; flex-wrap: wrap; }
.footer-form__field { width: 100%; padding: 15px 5px 0; }
.footer-form__field--half { width: 50%; }
.footer-form__terms { display: flex; align-items: flex-start; gap: 10px; width: 100%; padding: 15px 5px 0; font-size: 13px; }
.footer-form__terms .consent a { color: var(--gold-pale); }
.footer-form__submit { width: 30%; margin-top: 25px; padding: 0 5px; }
.footer-form__submit .btn { width: 100%; text-transform: uppercase; font-weight: 500; font-size: 12px; }
.footer-form .form-success { width: 100%; }
.site-footer__bottom { background: var(--black); padding: 20px; text-align: center; font-size: 15px; font-weight: 500; }
@media (max-width: 991px) {
  .site-footer__main { flex-direction: column; align-items: stretch; }
  .site-footer__brand { display: flex; gap: 30px; align-items: flex-start; }
  .site-footer__logo { max-width: 240px; }
}
@media (max-width: 767px) {
  .site-footer__cols { flex-direction: column; }
  .footer-form__submit { width: 50%; }
}
@media (max-width: 478px) {
  .site-footer__brand { flex-direction: column; align-items: center; text-align: center; }
  .site-footer__about { padding-left: 0; }
  .site-footer__nav { text-align: center; }
  .site-footer__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 15px; font-size: 13px; }
  .site-footer__contact { justify-content: center; font-size: 13px; }
  .footer-form__field--half { width: 100%; }
}

/* ---------- 404 and messages ---------- */
.message-page { max-width: 720px; margin: 0 auto; padding: 120px 25px; text-align: center; }
.message-page h1 { font-size: 40px; font-weight: 400; margin-bottom: 20px; }
.message-page p { margin-bottom: 16px; font-size: 17px; }
.message-page .btn { margin: 6px; }

/* ---------- v2: shared form and panel pieces ---------- */
.consent { display: flex; align-items: flex-start; gap: 10px; }
.consent input { flex-shrink: 0; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold); }
.consent a { color: inherit; }
.panel {
  padding: 30px; border-radius: var(--radius);
  background: var(--white); box-shadow: 2px 2px 25px rgba(2, 19, 34, 0.12);
  border-left: 3px solid var(--gold);
}
.panel__title { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 400; color: var(--ink); margin-bottom: 20px; }
.panel__title .icon { color: var(--gold); }
.panel__note { margin-top: 18px; font-size: 13px; color: var(--grey-700); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 500; color: var(--ink); }
.field__hint { font-size: 13px; color: var(--grey-700); }
.field__optional { font-weight: 300; color: var(--grey-700); }
.field input:not([type="radio"]):not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 8px 12px;
  border: 1px solid var(--grey-500); border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink); font-size: 15px;
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.form-light { display: flex; flex-direction: column; gap: 18px; color: var(--text); }
.form-light__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field--wide { grid-column: 1 / -1; }
.form-light .btn { align-self: flex-start; font-size: 14px; }
.form-light .consent { font-size: 13px; }
.form-light .consent a { color: var(--link); }
.choice { border: 0; margin: 0; padding: 0; flex-direction: row; flex-wrap: wrap; gap: 0 20px; }
.choice legend { width: 100%; margin-bottom: 4px; padding: 0; }
.choice .choice__item { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 300; }
.choice__item input { width: 20px; height: 20px; accent-color: var(--gold); }
.form-success--light { margin: 0; background: #e8f3e9; border-left-color: var(--success); color: var(--ink); }
@media (max-width: 600px) {
  .form-light__grid { grid-template-columns: minmax(0, 1fr); }
  .panel { padding: 22px 18px; }
  .form-light .btn { align-self: stretch; }
}

/* ---------- v2: saving and sharing ---------- */
.save-btn {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--grey-700);
  box-shadow: 0 2px 8px rgba(2, 19, 34, 0.2); font-size: 18px;
  transition: color 0.2s ease, transform 0.2s ease;
}
.save-btn[aria-pressed="true"], .action-btn[aria-pressed="true"] .icon { color: var(--sold); }
.save-btn:hover { transform: scale(1.06); }
.header-saved {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px;
  color: var(--white); font-size: 20px; text-decoration: none;
}
.header-saved:hover { color: var(--gold-bright); }
.header-saved__count {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--gold); color: var(--on-gold);
  font-size: 11px; font-weight: 600; line-height: 18px; text-align: center;
}
.header-saved__count[hidden] { display: none; }
.listing__actions { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; width: 80%; margin: -30px auto 20px; }
.listing__ref { margin-right: auto; color: var(--grey-700); font-size: 14px; }
.action-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--grey-300); border-radius: 999px; background: var(--white);
  color: var(--ink); font-size: 14px; font-weight: 400;
}
.action-btn:hover { border-color: var(--gold); }
.share-menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 20;
  min-width: 210px; padding: 8px; list-style: none;
  background: var(--white); border-radius: var(--radius-sm); box-shadow: 0 10px 30px rgba(2, 19, 34, 0.2);
}
.share-menu[hidden] { display: none; }
.share-menu a, .share-menu button {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 0 12px;
  border: 0; border-radius: var(--radius-sm); background: none;
  color: var(--ink); font-size: 15px; text-decoration: none; text-align: left;
}
.share-menu a:hover, .share-menu button:hover { background: var(--grey-100); }
@media (max-width: 991px) { .listing__actions { width: 90%; } }
@media (max-width: 478px) {
  .listing__actions { width: 95%; margin-top: -10px; }
  .listing__ref { width: 100%; }
}

/* ---------- v2: listing extras (price notes, calculator, viewing, similar, lightbox) ---------- */
.facts__per { font-size: 15px; color: var(--grey-700); }
.facts__was { font-size: 14px; color: var(--grey-700); }
.facts__cta { width: 100%; margin-top: 25px; font-size: 15px; }
.gallery__expand {
  position: absolute; left: 12px; bottom: 12px;
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.6); color: var(--white); font-size: 16px;
}
.gallery__slide img { cursor: zoom-in; }
.listing__extras {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: start;
  width: 80%; margin: 0 auto 90px;
}
.listing__extras > .panel:only-child { grid-column: 1 / -1; max-width: 720px; }
.calc__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.calc__results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0 0; }
.calc__result { padding: 14px; border-radius: var(--radius-sm); background: var(--grey-100); }
.calc__result dt { font-size: 13px; color: var(--grey-700); }
.calc__result dd { margin: 4px 0 0; font-size: 18px; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.calc__result--main { grid-column: 1 / -1; background: var(--navy); }
.calc__result--main dt { color: var(--gold-pale); }
.calc__result--main dd { font-size: 30px; font-weight: 400; color: var(--white); }
.calc__big { font-size: 30px; color: var(--ink); margin-bottom: 12px; }
.calc__big span { display: block; font-size: 14px; color: var(--grey-700); }
.viewing__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.similar { padding: 0 var(--pad-x) var(--pad-y); }
.lightbox {
  width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: none;
  margin: 0; padding: 0; border: 0; background: rgba(1, 7, 13, 0.96); color: var(--white);
}
.lightbox::backdrop { background: rgba(1, 7, 13, 0.96); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__img { max-width: calc(100vw - 140px); max-height: calc(100dvh - 100px); width: auto; height: auto; object-fit: contain; }
.lightbox__counter { position: absolute; top: 22px; left: 24px; font-size: 15px; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center; width: 52px; height: 52px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: var(--white); font-size: 22px;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox__btn--close { top: 12px; right: 12px; }
.lightbox__btn--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 991px) {
  .listing__extras { width: 90%; grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .calc__form { grid-template-columns: minmax(0, 1fr); }
  .calc__results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc__results .calc__result:last-child { grid-column: 1 / -1; }
  .lightbox__img { max-width: 100vw; max-height: calc(100dvh - 160px); }
  .lightbox__btn--prev, .lightbox__btn--next { top: auto; bottom: 24px; transform: none; }
  .lightbox__btn--prev { left: calc(50% - 64px); }
  .lightbox__btn--next { right: calc(50% - 64px); }
}
@media (max-width: 478px) { .listing__extras { width: 95%; } }

/* ---------- v2: archive filters, map view, saved page ---------- */
.filters { margin-top: 16px; }
.filters__toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px;
  cursor: pointer; list-style: none; color: var(--ink); font-weight: 500;
}
.filters__toggle::-webkit-details-marker { display: none; }
.filters__toggle .icon { color: var(--gold); }
.filters__active { color: var(--grey-700); font-weight: 300; }
.filters__form {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  margin-top: 10px; padding: 24px; border-radius: var(--radius-sm); background: var(--grey-100);
}
.filters__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.filters__actions .btn { font-size: 14px; }
.filters__clear { color: var(--link); }
.view-toggle { display: flex; border: 1px solid var(--grey-300); border-radius: var(--radius-sm); overflow: hidden; }
.view-toggle a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; color: var(--grey-800); text-decoration: none; }
.view-toggle a + a { border-left: 1px solid var(--grey-300); }
.view-toggle a[aria-current="page"] { background: var(--gold); color: var(--on-gold); }
.map--archive { height: min(640px, 70vh); border-radius: 8px; }
.archive__map-note { margin-top: 12px; color: var(--grey-700); font-size: 14px; }
.archive__map-note a { color: var(--link); }
.archive__empty .btn { margin: 12px 8px 0 0; }
.saved__intro { max-width: 70ch; margin: -20px 0 40px; color: var(--grey-700); }
@media (max-width: 767px) { .filters__form { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 18px; } }
@media (max-width: 400px) { .filters__form { grid-template-columns: minmax(0, 1fr); } }

/* ---------- v2: valuation page, call-to-action band, footer extras ---------- */
.valuation__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 50px; align-items: start; }
.valuation__info a { color: var(--link); }
.cta-band { text-align: center; }
.content-page .cta-band h2 { margin-bottom: 10px; }
.cta-band .btn { margin-top: 20px; font-size: 15px; }
.site-footer__extra { list-style: none; margin-top: 18px; font-size: 14px; }
.site-footer__extra a { display: inline-block; padding: 6px 0; color: var(--gold-pale); text-decoration: none; }
.site-footer__extra a:hover { text-decoration: underline; }
.site-footer__social { display: flex; gap: 10px; list-style: none; margin-top: 16px; }
.site-footer__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: var(--white); }
.site-footer__social a:hover { background: var(--gold); color: var(--on-gold); }
@media (max-width: 767px) { .valuation__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; } }
@media (max-width: 478px) { .site-footer__social { justify-content: center; } }

/* ---------- Print: a listing prints as a one-page brochure ---------- */
.print-only { display: none; }
@media print {
  @page { margin: 12mm; }
  body { font-size: 11pt; color: #000; }
  .site-header, .site-footer, .skip-link, .listing__actions, .gallery__nav, .gallery__counter, .gallery__expand,
  .details__tabs, #dp-photos, #dp-map, .listing__extras, .similar, .lightbox, .listing__portal, .facts__cta,
  .agent-card .btn, .save-btn { display: none !important; }
  .print-only { display: block; }
  .listing__head, .listing__top, .details { width: 100%; margin: 0; }
  .listing__head { margin-bottom: 6mm; }
  .listing__head { display: block; }
  .listing__title { font-size: 18pt; }
  .listing__top { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 6mm; break-inside: avoid; }
  .gallery { background: none; }
  .gallery__track { overflow: visible; }
  .gallery__slide:not(:first-child) { display: none; }
  .facts { padding: 0; }
  .agent-card { box-shadow: none; border: 1px solid #ccc; padding: 4mm; }
  .details { margin-top: 6mm; }
  .prose { max-width: none; font-size: 9pt; line-height: 1.45; }
  .prose p, .prose ul { margin-bottom: 0.6em; }
  .facts, .facts__item, .facts__list { font-size: 10pt; gap: 2mm; }
  .facts__status { font-size: 13pt; }
  .facts__price { font-size: 16pt; }
  .pill { font-size: 10pt; padding: 1mm 3mm; }
  .facts__rule { margin: 3mm 0; }
  .agent-card__name { font-size: 11pt; }
  .print-footer { margin-top: 8mm; padding-top: 4mm; border-top: 1px solid #ccc; font-size: 9pt; }
  a { text-decoration: none; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .services { background-attachment: scroll; }
}

/* ---------- Static preview (PREVIEW=1): forms are switched off ---------- */
.preview-note { width: 100%; margin: 4px 0; padding: 10px 14px; border-left: 3px solid var(--gold); border-radius: var(--radius-sm); background: rgba(189, 162, 106, 0.14); font-size: 14px; }
.preview-note a { color: inherit; font-weight: 600; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; filter: none; }
