/* =====================================================================
   Lah Team / Lucky Homes Realty — front-end v2
   Palette taken from the logo: brokerage navy, asphalt ink, lane-line yellow.
   Type: Bodoni Moda (display, echoes the logo wordmark) + Jost (body, echoes "REALTY INC.")
   ===================================================================== */

:root {
  --navy: #0C3360;
  --navy-900: #071F3B;
  --navy-700: #144277;
  --navy-50: #EDF2F8;
  --lane: #E9B93A;
  --lane-hi: #F2C95A;
  --ink: #1B1F24;
  --slate: #566170;
  --line: #DFE4EB;
  --paper: #F5F7FA;
  --white: #FFFFFF;
  --wa: #1FA855;
  --ok: #1C7C4A;
  --err: #B42318;

  --ff-display: "Bodoni Moda", "Bodoni 72", Didot, "Didot LT STD", Georgia, serif;
  --ff-body: "Jost", "Futura", "Century Gothic", "Trebuchet MS", system-ui, sans-serif;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;

  --sh-1: 0 1px 2px rgba(12, 51, 96, .05), 0 4px 14px -6px rgba(12, 51, 96, .10);
  --sh-2: 0 2px 6px rgba(12, 51, 96, .06), 0 22px 48px -18px rgba(12, 51, 96, .30);
  --sh-3: 0 30px 80px -24px rgba(7, 31, 59, .50);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr-h: 84px;
  --gutter: clamp(20px, 4vw, 40px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; border-radius: 4px; }
.hero :focus-visible, .phead :focus-visible, .ftr :focus-visible, .band :focus-visible, .hdr-over .hdr:not(.is-solid) :focus-visible { outline-color: var(--lane); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 900px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
body.hdr-solid main { padding-top: var(--hdr-h); }

/* ---------- icons ---------- */
.ic { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ic--sm { width: 18px; height: 18px; }
.ic--xs { width: 14px; height: 14px; }
.ic--rot90 { transform: rotate(90deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r);
  border: 1px solid transparent; background: none; cursor: pointer;
  font-weight: 600; font-size: 15.5px; letter-spacing: .01em; line-height: 1.2; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; border-radius: 10px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-700); box-shadow: 0 10px 24px -12px rgba(12, 51, 96, .7); }
.btn--accent { background: var(--lane); color: var(--navy-900); }
.btn--accent:hover { background: var(--lane-hi); box-shadow: 0 10px 26px -12px rgba(233, 185, 58, .9); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--navy-50); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--text { color: var(--slate); padding: 0 12px; }
.btn--text:hover { color: var(--navy); }
.btn--whatsapp { background: var(--wa); color: #fff; }
.btn--whatsapp:hover { background: #17924a; }
.btn[disabled] { opacity: .6; cursor: progress; }

.iconbtn {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: inline-grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--navy);
  transition: background-color .2s, color .2s, border-color .2s, opacity .2s, transform .2s var(--ease);
}
.iconbtn:hover:not([disabled]) { background: var(--navy); border-color: var(--navy); color: #fff; }
.iconbtn[disabled] { opacity: .35; cursor: default; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  font-weight: 600; font-size: 15.5px; color: var(--navy);
  padding-bottom: 3px; border-bottom: 2px solid var(--lane);
  transition: gap .25s var(--ease);
}
.link-arrow:hover { gap: 13px; }

/* =====================================================================
   HEADER
   ===================================================================== */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr-h);
  color: var(--ink);
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background-color .35s, border-color .35s, color .35s, height .35s var(--ease), box-shadow .35s;
}
.hdr-over .hdr:not(.is-solid) {
  color: #fff; background: transparent; border-bottom-color: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.hdr.is-solid { box-shadow: 0 8px 30px -18px rgba(7, 31, 59, .35); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr { transition: transform .4s var(--ease), background-color .35s, border-color .35s, color .35s, box-shadow .35s; }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 20px; }
.hdr__logo { position: relative; display: block; width: 186px; height: 43px; flex: none; }
.hdr__logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: left center; transition: opacity .35s; }
.hdr__logo-l { opacity: 0; }
.hdr-over .hdr:not(.is-solid) .hdr__logo-l { opacity: 1; }
.hdr-over .hdr:not(.is-solid) .hdr__logo-d { opacity: 0; }

.nav { flex: 1; display: flex; justify-content: center; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 13px; border: 0; background: none; cursor: pointer;
  font-size: 15.5px; font-weight: 500; border-radius: 999px; transition: background-color .2s;
}
.nav__link:hover, .has-menu:focus-within > .nav__link, .has-menu.is-open > .nav__link { background: rgba(12, 51, 96, .07); }
.hdr-over .hdr:not(.is-solid) .nav__link:hover,
.hdr-over .hdr:not(.is-solid) .has-menu:focus-within > .nav__link { background: rgba(255, 255, 255, .14); }
.nav__link .ic { transition: transform .25s var(--ease); }
.has-menu:hover > .nav__link .ic, .has-menu.is-open > .nav__link .ic { transform: rotate(180deg); }
.is-current > .nav__link::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 18px; height: 2px; margin-left: -9px;
  border-radius: 2px; background: var(--lane);
}

.menu {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--sh-2); padding: 14px; min-width: 260px;
  transition: opacity .22s, transform .3s var(--ease), visibility .22s;
}
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-menu:hover > .menu, .has-menu:focus-within > .menu, .has-menu.is-open > .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.menu a {
  display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 10px;
  font-size: 15px; line-height: 1.3; transition: background-color .15s, color .15s;
}
.menu a:hover, .menu a:focus-visible { background: var(--paper); color: var(--navy); }
.menu__head { font-size: 13px; font-weight: 600; color: var(--slate); padding: 4px 12px 8px; }
.menu--1 { min-width: 280px; }
.menu--2 { width: 540px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.menu--2 > .menu__head, .menu--2 > .menu__grid { grid-column: 1 / -1; }
.menu--3 { width: 760px; }
.menu__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 8px; }
.menu__grid--2 { grid-template-columns: 1fr 1fr; }
.nav__item:last-child .menu, .nav__item:nth-last-child(2) .menu { left: auto; right: -40px; transform: translate(0, 8px); }

.hdr__actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.hdr__phone { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.hdr__phone:hover { color: var(--lane); }
.hdr.is-solid .hdr__phone:hover, .hdr-solid .hdr__phone:hover { color: var(--navy); }
.hdr__cta { display: inline-flex; }
.hdr-solid .hdr__cta, .hdr.is-solid .hdr__cta { background: var(--navy); color: #fff; }
.hdr__burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; place-items: center; }
.hdr__burger:hover { background: rgba(12, 51, 96, .08); }
.hdr-over .hdr:not(.is-solid) .hdr__burger:hover { background: rgba(255, 255, 255, .14); }

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(7, 31, 59, .5); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 92vw);
  background: #fff; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .4s var(--ease);
  padding-bottom: env(safe-area-inset-bottom);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer__top img { height: 37px; width: auto; }
.drawer__nav { flex: 1; overflow-y: auto; padding: 8px 12px; }
.drawer__link, .drawer__group summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 12px; font-size: 18px; font-weight: 500; border-radius: 10px; cursor: pointer; list-style: none;
}
.drawer__group summary::-webkit-details-marker { display: none; }
.drawer__group[open] summary .ic { transform: rotate(180deg); }
.drawer__group summary .ic { transition: transform .25s; color: var(--slate); }
.drawer__group a { display: block; padding: 9px 12px 9px 24px; font-size: 15.5px; color: var(--slate); border-radius: 8px; }
.drawer__group a:hover, .drawer__link:hover { background: var(--paper); color: var(--navy); }
.drawer__group[open] { padding-bottom: 8px; }
.drawer__foot { display: grid; gap: 10px; padding: 16px 20px 20px; border-top: 1px solid var(--line); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  min-height: max(680px, min(100svh, 960px));
  display: flex; align-items: flex-end;
  padding: calc(var(--hdr-h) + 56px) 0 clamp(56px, 7vw, 92px);
  background: var(--navy-900);
}
.hero__bg { position: absolute; inset: 0; z-index: -3; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; transform-origin: 70% 40%; }
.js .hero__bg img { animation: heroZoom 2.6s var(--ease) both; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 31, 59, .93) 0%, rgba(7, 31, 59, .76) 36%, rgba(7, 31, 59, .28) 68%, rgba(7, 31, 59, .12) 100%),
    linear-gradient(0deg, rgba(7, 31, 59, .9) 0%, rgba(7, 31, 59, 0) 48%);
}

/* the road, lifted from the logo */
.road { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 34%; z-index: -1; pointer-events: none; overflow: visible; }
.road path { fill: none; }
.road__band { stroke: rgba(3, 14, 28, .55); stroke-width: 62; }
.road__edge { stroke: rgba(255, 255, 255, .5); stroke-width: 2; stroke-dasharray: 26 22; }
.road__line { stroke: var(--lane); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .road__line { stroke-dashoffset: 1; animation: draw 2.2s .55s cubic-bezier(.6, .05, .25, 1) forwards; }
.js .road__edge { opacity: 0; animation: fadeIn 1s 1.4s forwards, drift 26s 1.4s linear infinite; }
.hero.is-off .road__edge { animation-play-state: paused; }

.hero__in { position: relative; }
.hero__title {
  font-family: var(--ff-display); font-weight: 500;
  font-size: clamp(3rem, 7.6vw, 7rem); line-height: .96; letter-spacing: -.025em;
  max-width: 10.5ch; margin-bottom: 22px; text-wrap: balance;
}
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .w__i { display: inline-block; }
.js .hero__title .w__i { transform: translateY(110%); animation: rise 1.05s var(--ease) forwards; animation-delay: calc(.15s + var(--i) * .09s); }
.hero__lede { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.55; max-width: 46ch; color: rgba(255, 255, 255, .86); margin-bottom: 34px; }
.js .hero__lede { opacity: 0; animation: up .9s .65s var(--ease) forwards; }
.js .search { opacity: 0; animation: up .9s .8s var(--ease) forwards; }
.js .hero__proof { opacity: 0; animation: fadeIn 1s 1.2s forwards; }
.hero__proof { margin-top: 22px; font-size: 15px; color: rgba(255, 255, 255, .75); }
.hero__proof strong { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }

.hero__agent {
  position: absolute; right: var(--gutter); top: calc(var(--hdr-h) + 36px);
  display: flex; align-items: center; gap: 12px; padding: 6px 20px 6px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: background-color .25s, transform .3s var(--ease);
}
.hero__agent:hover { background: rgba(255, 255, 255, .2); transform: translateY(-2px); }
.hero__agent img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--navy-50); }
.hero__agent strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.25; }
.hero__agent small { display: block; font-size: 13px; color: rgba(255, 255, 255, .75); }
.js .hero__agent { opacity: 0; animation: fadeIn 1s 1.5s forwards; }

/* search card */
.search {
  position: relative; z-index: 3; max-width: 1060px; color: var(--ink);
  background: rgba(255, 255, 255, .97); border-radius: 20px; padding: 10px;
  box-shadow: var(--sh-3);
}
.search__row { display: grid; grid-template-columns: 1fr 1.45fr auto auto; gap: 8px; align-items: stretch; }
.search .field { position: relative; padding: 11px 16px; border-radius: 14px; transition: background-color .2s; cursor: text; }
.search .field:hover, .search .field:focus-within { background: var(--paper); }
.search__row > .field + .field::before { content: ""; position: absolute; left: -4px; top: 18px; bottom: 18px; width: 1px; background: var(--line); }
.search__row > .field:hover::before, .search__row > .field:focus-within::before { opacity: 0; }
.field__label { display: block; font-size: 13px; font-weight: 600; color: var(--slate); margin-bottom: 2px; }
.field__control { position: relative; display: flex; align-items: center; gap: 8px; }
.field__icon { color: var(--slate); }
.search select, .search input, .filters select, .filters input {
  width: 100%; border: 0; outline: 0; background: transparent; padding: 3px 0;
  font: 500 16px/1.4 var(--ff-body); color: var(--ink); -webkit-appearance: none; appearance: none; min-width: 0;
}
.search input::placeholder, .filters input::placeholder { color: #8b95a3; font-weight: 400; }
.field__control--select select {
  cursor: pointer; padding-right: 26px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23566170' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 2px center;
}
.search__adv {
  display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; border: 0; border-radius: 14px; cursor: pointer;
  background: var(--paper); color: var(--navy); font-weight: 600; font-size: 15px; transition: background-color .2s, color .2s;
}
.search__adv:hover { background: var(--navy-50); }
.search__adv[aria-expanded="true"] { background: var(--navy); color: #fff; }
.search__go { min-height: 64px; border-radius: 14px; padding: 0 26px; font-size: 16px; }
.search__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.search.is-adv .search__more { grid-template-rows: 1fr; }
.search__more > .search__grid { overflow: hidden; min-height: 0; }
.search__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.search.is-adv .search__grid { padding-top: 10px; margin-top: 10px; border-top: 1px solid var(--line); }
.search__grid .field { background: var(--paper); }
.search__grid .field:hover, .search__grid .field:focus-within { background: var(--navy-50); }
.search__mls { grid-column: span 2; }

/* combobox */
.field--combo { position: relative; }
.combo {
  position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; right: 0; min-width: 300px;
  list-style: none; margin: 0; padding: 6px; max-height: 320px; overflow-y: auto; overscroll-behavior: contain;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-2);
  animation: pop .18s var(--ease);
}
.combo li { padding: 10px 12px; border-radius: 10px; font-size: 15px; line-height: 1.3; cursor: pointer; }
.combo li[aria-selected="true"], .combo li:hover { background: var(--paper); color: var(--navy); }
.combo li mark { background: none; color: var(--navy); font-weight: 600; }
.combo__empty { color: var(--slate); cursor: default !important; background: none !important; }

/* =====================================================================
   SECTIONS
   ===================================================================== */
.sec { padding-block: clamp(64px, 8vw, 112px); }
.sec--tint { background: var(--paper); }
.sec--flush { padding-top: clamp(40px, 5vw, 64px); }
.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 3.4vw, 44px); }
.shead__title {
  font-family: var(--ff-display); font-weight: 500; color: var(--navy-900);
  font-size: clamp(2rem, 3.7vw, 3.1rem); line-height: 1.04; letter-spacing: -.018em; margin-bottom: 10px; text-wrap: balance;
}
.shead__sub { color: var(--slate); font-size: 1.0625rem; max-width: 54ch; }
.shead__nav { display: flex; gap: 10px; flex: none; }

/* carousel */
.carousel {
  --cols: 4; --gap: 24px;
  display: grid; grid-auto-flow: column; gap: var(--gap);
  grid-auto-columns: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; padding: 6px 2px 14px; margin: -6px -2px -14px;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel.is-drag { scroll-snap-type: none; cursor: grabbing; }
.carousel.is-drag * { pointer-events: none; }
.carousel__slide { scroll-snap-align: start; display: flex; min-width: 0; }

/* property card */
.pcard {
  position: relative; width: 100%; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.pcard:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: transparent; }
.pcard:focus-within { outline: 3px solid var(--navy); outline-offset: 2px; }
.pcard__link { position: absolute; inset: 0; z-index: 2; }
.pcard__link:focus-visible { outline: none; }
.pcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-50); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.07); }
.pcard__media.is-placeholder img { object-fit: contain; padding: 18% 14%; opacity: .55; transform: none !important; }
.pcard__badge {
  position: absolute; top: 12px; left: 12px; max-width: calc(100% - 24px);
  padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--navy);
  font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pcard__mls {
  position: absolute; left: 12px; bottom: 12px; padding: 4px 9px; border-radius: 6px;
  background: rgba(7, 31, 59, .72); color: #fff; font-size: 12px; font-weight: 500; letter-spacing: .02em;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.pcard__body { display: flex; flex-direction: column; gap: 5px; padding: 18px 18px 16px; flex: 1; min-width: 0; }
.pcard__price { font-weight: 600; font-size: 1.3125rem; color: var(--navy-900); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.pcard__title { font-family: var(--ff-body); font-size: 1rem; font-weight: 500; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__sub { display: flex; align-items: center; gap: 6px; color: var(--slate); font-size: 14.5px; min-width: 0; }
.pcard__sub span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__facts {
  list-style: none; margin: auto 0 0; padding: 14px 0 0; border-top: 1px solid var(--line);
  display: flex; gap: 16px; font-size: 14.5px; min-width: 0;
}
.pcard__body .pcard__facts { margin-top: 12px; }
.pcard__facts li { display: inline-flex; align-items: center; gap: 6px; flex: none; }
.pcard__facts li:last-child { flex: 1; min-width: 0; }
.pcard__facts li:last-child span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__facts .ic { width: 18px; height: 18px; color: var(--slate); }
.pcard.is-new { animation: cardIn .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms); }

/* skeleton */
.skel { border-radius: 16px; border: 1px solid var(--line); overflow: hidden; background: #fff; }
.skel__img { aspect-ratio: 4 / 3; }
.skel__l { height: 14px; margin: 14px 18px 0; border-radius: 6px; }
.skel__l:nth-child(2) { width: 45%; height: 20px; margin-top: 18px; }
.skel__l:nth-child(3) { width: 80%; }
.skel__l:nth-child(4) { width: 60%; margin-bottom: 22px; }
.skel__img, .skel__l { background: linear-gradient(100deg, #eef1f5 30%, #f8f9fb 50%, #eef1f5 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }

/* property types accordion */
.types { display: flex; gap: 12px; height: clamp(380px, 40vw, 500px); }
.types__item {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 18px; color: #fff; isolation: isolate;
  transition: flex-grow .7s var(--ease);
}
.types__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.types__item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7, 31, 59, .85) 0%, rgba(7, 31, 59, .15) 55%, rgba(7, 31, 59, .25) 100%); transition: background-color .4s; }
.types__item.is-open, .types__item:hover, .types__item:focus-visible { flex-grow: 4.2; }
.types:hover .types__item.is-open:not(:hover) { flex-grow: 1; }
.types__item:hover img { transform: scale(1.05); }
.types__name {
  position: absolute; left: 20px; bottom: 22px; font-family: var(--ff-display); font-size: 1.6rem; line-height: 1.05; white-space: nowrap;
  writing-mode: vertical-rl; transform: rotate(180deg); transition: opacity .3s;
}
.types__item.is-open .types__name, .types__item:hover .types__name, .types__item:focus-visible .types__name { writing-mode: horizontal-tb; transform: none; font-size: 2rem; animation: fadeIn .5s .15s both; }
.types:hover .types__item.is-open:not(:hover) .types__name { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 1.6rem; }
.types__go {
  position: absolute; right: 18px; top: 18px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--lane); color: var(--navy-900);
  opacity: 0; transform: scale(.7); transition: opacity .3s, transform .4s var(--ease);
}
.types__item.is-open .types__go, .types__item:hover .types__go { opacity: 1; transform: none; }
.types:hover .types__item.is-open:not(:hover) .types__go { opacity: 0; }

/* quote band */
.band { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding-block: clamp(96px, 12vw, 168px); }
.band__bg { position: absolute; left: 0; right: 0; top: -18%; bottom: -18%; z-index: -2; background-size: cover; background-position: center; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(7, 31, 59, .92) 0%, rgba(7, 31, 59, .7) 60%, rgba(7, 31, 59, .55) 100%); }
.band__in > * { max-width: 1000px; }
.band__mark { width: 46px; height: 46px; color: var(--lane); }
.band__quote { font-family: var(--ff-display); font-weight: 400; font-size: clamp(1.9rem, 4.2vw, 3.6rem); line-height: 1.1; letter-spacing: -.012em; margin: 20px 0 36px; text-wrap: balance; }
.band__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* cities bento */
.cities { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 14px; }
.cities__item { position: relative; overflow: hidden; border-radius: 16px; color: #fff; isolation: isolate; background: var(--navy-50); }
.cities__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.cities__item:nth-child(6), .cities__item:nth-child(7) { grid-column: span 2; }
.cities__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.cities__item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7, 31, 59, .82), rgba(7, 31, 59, 0) 58%); }
.cities__item:hover img { transform: scale(1.06); }
.cities__name { position: absolute; left: 18px; right: 18px; bottom: 16px; font-weight: 600; font-size: 1.125rem; line-height: 1.2; }
.cities__item:nth-child(1) .cities__name { font-family: var(--ff-display); font-weight: 500; font-size: clamp(1.75rem, 2.6vw, 2.4rem); left: 26px; bottom: 24px; }

/* reviews marquee */
.reviews .shead { margin-bottom: 36px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee + .marquee { margin-top: 18px; }
.marquee__track { display: flex; gap: 18px; width: max-content; animation: marquee var(--dur, 80s) linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.review { flex: none; width: 380px; margin: 0; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.review blockquote { margin: 0; font-size: 16px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review figcaption { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; color: var(--navy-900); }
.review figcaption img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--navy-50); }

/* team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 24px; }
.agent { display: flex; flex-direction: column; }
.agent__photo { display: block; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--navy-50); }
.agent__initials { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--ff-display); font-size: 3.4rem; color: var(--navy); background: linear-gradient(160deg, var(--navy-50), #dfe7f1); }
.agent__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: saturate(.85); transition: transform .9s var(--ease), filter .4s; }
.agent:hover .agent__initials { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--ff-display); font-size: 3.4rem; color: var(--navy); background: linear-gradient(160deg, var(--navy-50), #dfe7f1); }
.agent__photo img { transform: scale(1.05); filter: none; }
.agent__name { font-family: var(--ff-display); font-size: 1.4rem; line-height: 1.15; color: var(--navy-900); margin-top: 16px; }
.agent__role { font-size: 14.5px; color: var(--slate); margin-top: 4px; }
.agent__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14.5px; font-weight: 600; color: var(--navy); transition: gap .25s var(--ease); }
.agent:hover .agent__more { gap: 10px; }

/* posts */
.posts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.posts--page { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
.post { display: flex; flex-direction: column; gap: 10px; }
.post__media { display: block; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--navy-50); margin-bottom: 6px; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post:hover .post__media img { transform: scale(1.05); }
.post__date { font-size: 14px; color: var(--slate); }
.post__title { font-family: var(--ff-display); font-size: 1.45rem; line-height: 1.18; color: var(--navy-900); }
.post__title a { background: linear-gradient(var(--lane), var(--lane)) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease); }
.post__title a:hover { background-size: 100% 2px; }
.post__text { color: var(--slate); font-size: 15.5px; }

.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 56px; }
.pager a, .pager strong { min-width: 44px; height: 44px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); font-weight: 600; }
.pager a:hover { border-color: var(--navy); color: var(--navy); }
.pager .current, .pager strong { background: var(--navy); color: #fff; border-color: var(--navy); }
.pager li { list-style: none; display: contents; }
.empty { text-align: center; padding: 48px 24px; background: var(--paper); border-radius: 16px; color: var(--slate); }
.empty a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

/* =====================================================================
   PAGE HEADER
   ===================================================================== */
.phead {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy-900);
  min-height: 380px; display: flex; align-items: flex-end;
  padding: calc(var(--hdr-h) + 56px) 0 clamp(44px, 6vw, 72px);
}
.phead--overlap { padding-bottom: clamp(96px, 10vw, 128px); }
.phead__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center 60%; }
.js .phead__bg { animation: heroZoom 2.2s var(--ease) both; }
.phead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 31, 59, .94) 0%, rgba(7, 31, 59, .78) 50%, rgba(7, 31, 59, .5) 100%); }
.phead__title { font-family: var(--ff-display); font-size: clamp(2.5rem, 5.2vw, 4.4rem); line-height: 1.02; letter-spacing: -.02em; margin: 14px 0 14px; max-width: 18ch; text-wrap: balance; }
.phead__sub { max-width: 58ch; color: rgba(255, 255, 255, .82); font-size: 1.125rem; }
.js .phead__title { animation: up .9s .1s var(--ease) both; }
.js .phead__sub { animation: up .9s .25s var(--ease) both; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14.5px; color: rgba(255, 255, 255, .72); }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: .45; }
.crumbs--dark { color: var(--slate); }
.crumbs--dark a:hover { color: var(--navy); }
.crumbs > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40ch; }

/* =====================================================================
   LISTING SEARCH PAGE
   ===================================================================== */
.filters { position: relative; z-index: 5; margin-top: calc(-1 * clamp(96px, 10vw, 128px) - clamp(40px, 5vw, 64px) + 40px); background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 12px; box-shadow: var(--sh-2); }
.filters__head { display: none; }
.filters__body { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.filters .field { position: relative; padding: 10px 14px; background: var(--paper); border-radius: 12px; transition: background-color .2s; }
.filters .field:hover, .filters .field:focus-within { background: var(--navy-50); }
.filters .field--combo { grid-column: span 2; }
.filters__actions { grid-column: 1 / -1; display: flex; gap: 8px; align-items: stretch; justify-content: flex-end; }
.filters__actions .btn--primary { min-width: 220px; }
.results { margin-top: 40px; }
.results__status { color: var(--slate); font-size: 15.5px; margin-bottom: 20px; min-height: 1.6em; }
.results__status strong { color: var(--ink); font-weight: 600; }
.grid-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.results__more { text-align: center; margin-top: 40px; }

/* =====================================================================
   PROPERTY DETAIL
   ===================================================================== */
.detail { padding: 22px 0 clamp(56px, 7vw, 96px); }
.gallery { position: relative; display: grid; gap: 10px; margin-top: 16px; border-radius: 20px; overflow: hidden; }
.gallery--full { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, clamp(180px, 19vw, 260px)); }
.gallery--few { grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, clamp(180px, 19vw, 260px)); }
.gallery--single { grid-template-rows: clamp(300px, 42vw, 540px); }
.gallery__item { position: relative; padding: 0; border: 0; overflow: hidden; cursor: zoom-in; background: var(--navy-50); }
.gallery__item--main { grid-row: span 2; }
.gallery--single .gallery__item--main { grid-row: auto; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .4s; }
.gallery__item:hover img { transform: scale(1.04); filter: brightness(1.04); }
.gallery__item.is-placeholder img { object-fit: contain; padding: 12%; opacity: .5; }
.gallery__all { position: absolute; right: 16px; bottom: 16px; z-index: 2; box-shadow: var(--sh-1); }
.js .gallery__item { animation: fadeIn .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms); }

.detail__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin: 32px 0 20px; }
.tag { display: inline-block; padding: 5px 11px; border-radius: 999px; background: var(--navy-50); color: var(--navy); font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.detail__title { font-family: var(--ff-display); font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.04; letter-spacing: -.015em; color: var(--navy-900); margin-bottom: 10px; text-wrap: balance; }
.detail__sub { display: flex; align-items: center; gap: 6px; color: var(--slate); }
.detail__price { text-align: right; flex: none; }
.detail__amount { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; color: var(--navy-900); letter-spacing: -.015em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.detail__mls { color: var(--slate); font-size: 14.5px; margin-top: 6px; }
.facts { list-style: none; margin: 0 0 36px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.facts li { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; border: 1px solid var(--line); border-radius: 14px; }
.facts .ic { color: var(--navy); }
.facts strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.2; }
.facts small { display: block; font-size: 13px; color: var(--slate); }
.detail__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
.subnav {
  position: sticky; top: var(--hdr-h); z-index: 6; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.subnav a { flex: none; padding: 14px 14px 12px; font-size: 15px; font-weight: 500; color: var(--slate); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.subnav a:hover { color: var(--navy); }
.subnav a.is-active { color: var(--navy); border-bottom-color: var(--lane); }
.dsec { padding: 32px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--hdr-h) + 56px); }
.dsec:last-child { border-bottom: 0; }
.dsec__title { font-family: var(--ff-display); font-size: 1.85rem; color: var(--navy-900); margin-bottom: 18px; }

.prose { font-size: 1.0625rem; line-height: 1.75; color: #2A3038; max-width: 72ch; overflow-wrap: anywhere; }
.prose--lg { font-size: 1.125rem; }
.prose > * + * { margin-top: 1em; }
.prose h1, .prose h2, .prose h3, .prose h4 { font-family: var(--ff-display); color: var(--navy-900); line-height: 1.2; margin-top: 1.6em; }
.prose h2 { font-size: 1.75rem; } .prose h3 { font-size: 1.4rem; } .prose h4 { font-size: 1.2rem; }
.prose a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--lane); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose img { height: auto; border-radius: 12px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95em; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.prose blockquote { margin-left: 0; padding-left: 18px; border-left: 3px solid var(--lane); color: var(--slate); }
.prose center { text-align: inherit; }
[data-clamp].is-clamped { max-height: 15em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.clamp-btn { margin-top: 12px; border: 0; background: none; padding: 0; cursor: pointer; font-weight: 600; color: var(--navy); border-bottom: 2px solid var(--lane); }

.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; margin: 0; }
.kv > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.kv dt { color: var(--slate); flex: none; }
.kv dd { margin: 0; font-weight: 500; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: var(--paper); font-size: 14.5px; }
.chips .ic { color: var(--navy); }
.map { margin-top: 22px; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--paper); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map--wide { aspect-ratio: 21 / 8; margin-top: clamp(48px, 6vw, 80px); margin-bottom: clamp(64px, 8vw, 112px); }

.detail__side { position: sticky; top: calc(var(--hdr-h) + 20px); display: flex; flex-direction: column; gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--sh-1); }
.enquire__title, .calc__title { font-family: var(--ff-display); font-size: 1.55rem; color: var(--navy-900); line-height: 1.15; }
.enquire__sub { color: var(--slate); font-size: 15px; margin: 6px 0 20px; }
.enquire__alt { display: grid; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.calc__title { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; }
.calc__title .ic { color: var(--navy); }
.calc__out { font-family: var(--ff-display); font-size: 2.4rem; color: var(--navy-900); margin: 8px 0 18px; font-variant-numeric: tabular-nums; }
.calc__out small { font-family: var(--ff-body); font-size: 14.5px; color: var(--slate); margin-left: 6px; }
.range { display: block; margin-bottom: 16px; }
.range > span { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--slate); margin-bottom: 6px; }
.range output { color: var(--ink); font-weight: 600; }
.range input { width: 100%; accent-color: var(--navy); cursor: pointer; }
.calc__note { font-size: 12.5px; color: var(--slate); line-height: 1.5; }

/* forms */
.form { display: grid; gap: 14px; }
.form--2 { grid-template-columns: 1fr 1fr; }
.form__full { grid-column: 1 / -1; }
.form .field__label { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.form input, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  font: 400 16px/1.45 var(--ff-body); color: var(--ink); transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(12, 51, 96, .12); }
.form .is-invalid input, .form .is-invalid textarea { border-color: var(--err); }
.field__error { display: block; font-size: 13px; color: var(--err); margin-top: 5px; }
.form__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form__msg { font-size: 14.5px; }
.form__msg:empty { display: none; }
.form__msg.is-ok { color: var(--ok); }
.form__msg.is-err { color: var(--err); }
.form__done { text-align: center; padding: 18px 6px; animation: up .5s var(--ease); }
.form__done .ic { width: 46px; height: 46px; padding: 10px; border-radius: 50%; background: #E3F3EA; color: var(--ok); margin: 0 auto 12px; }
.form__done p { color: var(--slate); }
.form__done strong { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: 4px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; background: rgba(4, 12, 24, .95); animation: fadeIn .25s; }
.lightbox[hidden] { display: none; }
.lightbox__stage { margin: 0; text-align: center; }
.lightbox__stage img { max-width: 90vw; max-height: 82vh; object-fit: contain; border-radius: 8px; transition: opacity .25s; }
.lightbox__stage img.is-loading { opacity: .2; }
.lightbox__stage figcaption { color: rgba(255, 255, 255, .7); margin-top: 14px; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.lightbox .iconbtn { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
.lightbox .iconbtn:hover { background: #fff; color: var(--navy); }
.lightbox__close { position: absolute; top: 20px; right: 20px; }
.lightbox__nav { position: absolute; top: 50%; margin-top: -23px; }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

/* =====================================================================
   ARTICLE / PROFILE / GUIDES / CONTACT / CITIES
   ===================================================================== */
.article__head { padding-top: 36px; }
.article__date { display: block; margin-top: 28px; color: var(--slate); font-size: 15px; }
.article__title { font-family: var(--ff-display); font-size: clamp(2.3rem, 4.6vw, 3.8rem); line-height: 1.04; letter-spacing: -.018em; color: var(--navy-900); margin: 10px 0 32px; max-width: 22ch; text-wrap: balance; }
.article__media img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 20px; }
.article__grid, .guide { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; padding-top: 44px; padding-bottom: clamp(64px, 8vw, 112px); }
.guide { padding-top: 0; }
.wrap--narrow > .prose { padding-bottom: clamp(64px, 8vw, 112px); margin-inline: auto; }
.article__side, .guide__side { position: sticky; top: calc(var(--hdr-h) + 24px); }
.side__title { font-size: 14.5px; font-weight: 600; color: var(--slate); margin-bottom: 12px; font-family: var(--ff-body); }
.mini { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mini img { width: 76px; height: 58px; border-radius: 8px; object-fit: cover; flex: none; background: var(--navy-50); }
.mini strong { display: block; font-weight: 500; font-size: 15px; line-height: 1.3; }
.mini small { color: var(--slate); font-size: 13px; }
.mini:hover strong { color: var(--navy); }
.side__cta { margin-top: 26px; }
.side__cta p { font-family: var(--ff-display); font-size: 1.35rem; color: var(--navy-900); line-height: 1.2; margin-bottom: 16px; }
.guide__list { list-style: none; margin: 0 0 6px; padding: 0; }
.guide__list a { display: block; padding: 9px 12px; border-radius: 10px; font-size: 15px; line-height: 1.35; border-left: 3px solid transparent; transition: background-color .15s, color .15s; }
.guide__list a:hover { background: var(--paper); color: var(--navy); }
.guide__list .is-current a { background: var(--navy-50); color: var(--navy); font-weight: 600; border-left-color: var(--lane); border-radius: 4px 10px 10px 4px; }

.profile { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 64px; align-items: start; padding-bottom: clamp(64px, 8vw, 112px); }
.profile__photo { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy-50); position: sticky; top: calc(var(--hdr-h) + 24px); }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.profile__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.contact__h { font-family: var(--ff-display); font-size: 1.9rem; color: var(--navy-900); margin-bottom: 24px; }
.contact__list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 22px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; color: var(--slate); }
.contact__list strong { display: block; color: var(--navy-900); font-weight: 600; margin-bottom: 2px; }
.contact__list a { color: var(--ink); }
.contact__list a:hover { color: var(--navy); text-decoration: underline; }
.contact__ic { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--navy-50); color: var(--navy); }
.contact__form { padding: clamp(24px, 3vw, 36px); }

.cityidx__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.cityidx__search { flex: 1; max-width: 520px; }
.cityidx__search .field__control { padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.cityidx__search .field__control:focus-within { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(12, 51, 96, .12); }
.cityidx__search input { border: 0; outline: 0; width: 100%; font: 400 16px var(--ff-body); background: none; color: var(--ink); }
.cityidx__count { color: var(--slate); }
.cityidx__count span { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.cityidx__letters { position: sticky; top: var(--hdr-h); z-index: 4; display: flex; flex-wrap: wrap; gap: 2px; padding: 10px 0; background: rgba(255, 255, 255, .95); border-bottom: 1px solid var(--line); }
.cityidx__letters a { min-width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; font-weight: 600; font-size: 14px; color: var(--navy); }
.cityidx__letters a:hover { background: var(--navy-50); }
.cityidx__group { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--hdr-h) + 64px); }
.cityidx__group.is-hidden, .cityidx__group li.is-hidden { display: none; }
.cityidx__letter { font-family: var(--ff-display); font-size: 2.8rem; line-height: 1; color: var(--navy); }
.cityidx__group ul { list-style: none; margin: 0; padding: 0; columns: 4 220px; column-gap: 28px; }
.cityidx__group li { break-inside: avoid; }
.cityidx__group a { display: inline-block; padding: 3px 0; font-size: 15px; line-height: 1.5; }
.cityidx__group a:hover { color: var(--navy); text-decoration: underline; text-decoration-color: var(--lane); text-underline-offset: 3px; }
.cityidx { padding-bottom: clamp(64px, 8vw, 112px); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.ftr { background: var(--navy-900); color: rgba(255, 255, 255, .76); padding-top: clamp(64px, 8vw, 96px); font-size: 15.5px; }
.ftr__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ftr__brand img { width: 220px; height: auto; margin-bottom: 20px; }
.ftr__brand p { max-width: 34ch; }
.ftr__quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.ftr__h { font-family: var(--ff-body); font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 18px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr__col a:hover { color: #fff; }
.ftr__contact li { display: flex; gap: 12px; align-items: flex-start; }
.ftr__contact .ic { color: var(--lane); margin-top: 4px; }
.ftr__legal { padding: 26px 0; font-size: 12.5px; line-height: 1.65; color: rgba(255, 255, 255, .5); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ftr__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 22px 0 30px; font-size: 14px; color: rgba(255, 255, 255, .6); }
.ftr__bottom ul { display: flex; gap: 22px; }
.ftr__bottom a:hover { color: #fff; }

.totop {
  position: fixed; left: 20px; bottom: 20px; z-index: 55; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: #fff; color: var(--navy); box-shadow: var(--sh-2);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}
.totop.is-on { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--navy); color: #fff; }

/* =====================================================================
   REVEAL ON SCROLL (only when JS is running)
   ===================================================================== */
.js [data-reveal]:not([data-reveal="stagger"]) { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="stagger"] > * { opacity: 0; transform: translateY(30px); }
.js [data-reveal="stagger"].is-in > * { animation: up .85s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 75ms); }

/* =====================================================================
   KEYFRAMES
   ===================================================================== */
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes drift { to { stroke-dashoffset: -480; } }
@keyframes rise { to { transform: translateY(0); } }
@keyframes up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(22px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes shimmer { to { background-position: -300% 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1399px) {
  .hdr__phone span { display: none; }
  .hdr__phone { width: 40px; height: 40px; justify-content: center; border-radius: 50%; }
}
@media (max-width: 1239px) {
  .nav { display: none; }
  .hdr__burger { display: grid; }
  .hdr__phone { display: none; }
  .carousel { --cols: 3; }
  .grid-cards { grid-template-columns: repeat(3, 1fr); }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .filters__body { grid-template-columns: repeat(4, 1fr); }
  .ftr__top { grid-template-columns: 1fr 1fr; }
  .hero__agent { display: none; }
}
@media (max-width: 1023px) {
  :root { --hdr-h: 72px; }
  .hdr__logo { width: 160px; height: 37px; }
  .detail__grid, .article__grid, .guide, .profile, .contact { grid-template-columns: 1fr; gap: 40px; }
  .detail__side, .article__side, .guide__side, .profile__photo { position: static; }
  .profile__photo { max-width: 420px; }
  .carousel { --cols: 2.15; --gap: 18px; }
  .grid-cards { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .posts--page { grid-template-columns: repeat(2, 1fr); }
  .search__row { grid-template-columns: 1fr 1fr; }
  .search__row > .field { grid-column: span 1; }
  .search__grid { grid-template-columns: repeat(2, 1fr); }
  .cities { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .cities__item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .cities__item:nth-child(6), .cities__item:nth-child(7) { grid-column: span 1; }
  .cities__item:nth-child(7):last-child { grid-column: span 2; }
}
@media (max-width: 759px) {
  body { font-size: 16px; }
  .hdr__cta { display: none; }
  .hero { min-height: 0; padding-top: calc(var(--hdr-h) + 48px); align-items: flex-start; }
  .hero__title { font-size: clamp(2.7rem, 12vw, 3.6rem); }
  .hero__lede { margin-bottom: 26px; }
  .road { height: 22%; }
  .search { padding: 8px; border-radius: 18px; }
  .search__row { grid-template-columns: 1fr 1fr; gap: 6px; }
  .search__row > .field { grid-column: 1 / -1; background: var(--paper); }
  .search__row > .field + .field::before { display: none; }
  .search__adv { min-height: 54px; justify-content: center; }
  .search__go { min-height: 54px; padding: 0 16px; }
  .search__grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .shead { flex-direction: column; align-items: flex-start; gap: 14px; }
  .shead__nav { display: none; }
  .carousel { --cols: 1.18; --gap: 14px; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .grid-cards, .posts, .posts--page { grid-template-columns: 1fr; }
  .types { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .types::-webkit-scrollbar { display: none; }
  .types__item, .types__item.is-open, .types__item:hover { flex: 0 0 72%; height: 300px; scroll-snap-align: start; }
  .types__name, .types:hover .types__item.is-open:not(:hover) .types__name { writing-mode: horizontal-tb; transform: none; font-size: 1.6rem; }
  .types__go { opacity: 1; transform: none; }
  .cities { grid-auto-rows: 160px; gap: 10px; }
  .review { width: 300px; padding: 20px; }
  .team { grid-template-columns: 1fr 1fr; gap: 18px; }
  .agent__name { font-size: 1.15rem; }
  .filters { margin-top: -92px; padding: 10px; }
  .filters__head { display: flex; align-items: center; justify-content: space-between; padding: 6px 6px 6px 10px; }
  .filters__title { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; font-family: var(--ff-body); color: var(--navy-900); }
  .filters__toggle { display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--paper); border-radius: 10px; padding: 9px 12px; font-weight: 600; color: var(--navy); cursor: pointer; }
  .filters__toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }
  .filters__body { display: none; grid-template-columns: 1fr 1fr; margin-top: 10px; }
  .filters.is-open .filters__body { display: grid; animation: pop .25s var(--ease); }
  .filters .field--combo, .filters__actions { grid-column: 1 / -1; }
  .detail__head { flex-direction: column; align-items: flex-start; }
  .detail__price { text-align: left; }
  .gallery--full, .gallery--few { grid-template-columns: 1fr; grid-template-rows: 300px; }
  .gallery__item:not(.gallery__item--main) { display: none; }
  .gallery__item--main { grid-row: auto; }
  .gallery--single { grid-template-rows: 300px; }
  .gallery { margin-inline: calc(-1 * var(--gutter)); border-radius: 0; }
  .kv { grid-template-columns: 1fr; }
  .form--2 { grid-template-columns: 1fr; }
  .ftr__top { grid-template-columns: 1fr; gap: 32px; }
  .map--wide { aspect-ratio: 4 / 3; }
  .cityidx__group { grid-template-columns: 1fr; gap: 10px; }
  .cityidx__letter { font-size: 2.2rem; }
  .cityidx__group ul { columns: 2 140px; }
  .phead { min-height: 300px; }
  .totop { display: none; }
}

/* =====================================================================
   REDUCED MOTION
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal], .js [data-reveal="stagger"] > * { opacity: 1 !important; transform: none !important; }
  .js .hero__title .w__i { transform: none; }
  .road__line { stroke-dashoffset: 0 !important; }
  .js .road__edge { opacity: 1; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none !important; }
  .band__bg { transform: none !important; }
}

/* =====================================================================
   WEBSITE ASSISTANT (chat)
   ===================================================================== */
.lc-launch {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px;
  border: 0; border-radius: 999px; cursor: pointer; background: var(--navy); color: #fff;
  font-weight: 600; font-size: 15.5px; box-shadow: 0 16px 36px -14px rgba(7, 31, 59, .7);
  transform: translateY(90px); opacity: 0; transition: transform .6s var(--ease), opacity .4s, background-color .2s;
}
.lc.is-ready .lc-launch { transform: none; opacity: 1; }
.lc-launch:hover { background: var(--navy-700); }
.lc-launch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(233, 185, 58, .7); }
.lc.is-ready .lc-launch::after { animation: ring 1.6s .4s var(--ease) 2; }
.lc-launch .ic { color: var(--lane); }
.lc-wa {
  position: fixed; right: 26px; bottom: 90px; z-index: 69; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 12px 28px -12px rgba(20, 120, 60, .8);
  transform: scale(0); transition: transform .5s var(--ease) .15s;
}
.lc.is-ready .lc-wa { transform: none; }
.lc-wa:hover { background: #17924a; }
.lc.is-open .lc-wa, .lc.is-open .lc-launch { opacity: 0; pointer-events: none; transform: scale(.8); }

.lc-panel {
  position: fixed; right: 20px; bottom: 20px; z-index: 75;
  width: 400px; height: min(640px, calc(100vh - 40px)); max-height: calc(100dvh - 40px);
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border-radius: 22px; box-shadow: var(--sh-3); border: 1px solid var(--line);
  transform-origin: 100% 100%; animation: chatIn .38s var(--ease);
}
.lc-panel[hidden] { display: none; }
.lc-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--navy); color: #fff; }
.lc-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--lane); color: var(--navy-900); font-family: var(--ff-display); font-weight: 600; font-size: 17px; }
.lc-head__t { flex: 1; min-width: 0; line-height: 1.25; }
.lc-head__t strong { display: block; font-size: 16px; }
.lc-head__t small { display: block; font-size: 13px; color: rgba(255, 255, 255, .72); }
.lc-x { width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lc-x:hover { background: rgba(255, 255, 255, .2); }

.lc-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px; background: var(--paper); display: flex; flex-direction: column; gap: 10px; }
.lc-msg { max-width: 88%; padding: 11px 14px; border-radius: 16px; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.lc-msg.is-new { animation: msgIn .32s var(--ease); }
.lc-msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.lc-msg--user { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 6px; }
.lc-msg--bot a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--lane); text-underline-offset: 2px; }
.lc-links { display: grid; gap: 6px; margin-top: 10px; }
.lc-msg--bot .lc-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 11px; border-radius: 10px; background: var(--paper); text-decoration: none; font-size: 14px; line-height: 1.3; color: var(--ink); }
.lc-msg--bot .lc-links a:hover { background: var(--navy-50); color: var(--navy); }
.lc-links a .ic { color: var(--navy); flex: none; }
.lc-links strong { display: block; font-weight: 600; }
.lc-links small { display: block; color: var(--slate); font-size: 12.5px; }
.lc-msg--bot .lc-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--lane); }
.lc-sub { margin-top: 12px; font-size: 12.5px; font-weight: 600; color: var(--slate); }
.lc-kv { display: grid; gap: 7px; margin: 10px 0 2px; font-size: 14.5px; }
.lc-kv span { display: flex; align-items: flex-start; gap: 8px; }
.lc-kv .ic { color: var(--navy); margin-top: 2px; }
.lc-cards { display: flex; gap: 10px; overflow-x: auto; margin: 10px -14px 2px; padding: 0 14px 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.lc-msg--bot .lc-card { flex: 0 0 168px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--ink); }
.lc-card__img { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--navy-50); margin-bottom: 6px; }
.lc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.lc-card:hover .lc-card__img img { transform: scale(1.06); }
.lc-card strong { color: var(--navy-900); font-size: 15px; }
.lc-card__t { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-card small { color: var(--slate); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-dots { display: inline-flex; gap: 4px; padding: 4px 2px; }
.lc-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--slate); opacity: .4; animation: dot 1s infinite; }
.lc-dots i:nth-child(2) { animation-delay: .15s; }
.lc-dots i:nth-child(3) { animation-delay: .3s; }

.lc-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px 4px; background: #fff; border-top: 1px solid var(--line); }
.lc-chips[hidden] { display: none; }
.lc-chips button { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 13.5px; font-weight: 500; cursor: pointer; transition: background-color .15s, border-color .15s; }
.lc-chips button:hover { background: var(--navy-50); border-color: var(--navy-50); }
.lc-form { display: flex; gap: 8px; padding: 10px 14px; background: #fff; }
.lc-form input { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font: 400 15px var(--ff-body); color: var(--ink); }
.lc-form input:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(12, 51, 96, .12); }
.lc-form button { width: 46px; flex: none; border: 0; border-radius: 12px; background: var(--navy); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lc-form button:hover { background: var(--navy-700); }
.lc-note { padding: 0 14px 10px; background: #fff; font-size: 11.5px; color: var(--slate); text-align: center; }

@keyframes chatIn { from { opacity: 0; transform: translateY(16px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes dot { 0%, 100% { opacity: .3; transform: none; } 50% { opacity: 1; transform: translateY(-3px); } }
@keyframes ring { to { box-shadow: 0 0 0 16px rgba(233, 185, 58, 0); } }

@media (max-width: 759px) {
  .lc-launch { right: 14px; bottom: 14px; height: 54px; width: 54px; padding: 0; justify-content: center; }
  .lc-launch span { display: none; }
  .lc-wa { right: 18px; bottom: 80px; width: 44px; height: 44px; }
  .lc-panel { inset: 0; width: 100%; height: 100%; max-height: none; border-radius: 0; border: 0; padding-bottom: env(safe-area-inset-bottom); }
}
@media print { .lc, .hdr, .totop, .drawer { display: none !important; } }
.lc-msg--bot { overflow: hidden; }
.lc-msg--bot:has(.lc-cards) { max-width: 100%; width: 100%; }

/* =====================================================================
   v2.1 additions
   ===================================================================== */
/* quick paths under the hero */
.paths { padding: clamp(28px, 4vw, 44px) 0 0; }
.paths__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.path {
  position: relative; display: flex; flex-direction: column; gap: 2px; padding: 18px 18px 20px;
  border: 1px solid var(--line); border-radius: 16px; background: #fff;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.path:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: transparent; }
.path__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); margin-bottom: 12px; overflow: hidden; transition: background-color .3s, color .3s; }
.path:hover .path__ic { background: var(--navy); color: #fff; }
.path__ic img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.path__t { font-weight: 600; font-size: 16px; color: var(--navy-900); }
.path__d { font-size: 14px; color: var(--slate); line-height: 1.35; }
.path--ask { background: var(--navy); border-color: var(--navy); }
.path--ask .path__t { color: #fff; }
.path--ask .path__d { color: rgba(255, 255, 255, .72); }
.path--ask .path__ic { border-radius: 50%; background: var(--lane); color: var(--navy-900); }
.path--ask:hover .path__ic { background: var(--lane); }
.paths + .sec { padding-top: clamp(56px, 6vw, 88px); }

.shead__end { display: flex; align-items: center; gap: 20px; flex: none; }

/* lease badges */
.pcard__badge--lease, .tag--lease { background: var(--lane); color: var(--navy-900); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tags .tag { margin: 0; }

/* single agent feature */
.meet { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.meet__photo { aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--navy-50); }
.meet__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.meet__role { color: var(--slate); font-size: 1.0625rem; margin-bottom: 18px; }
.meet__bio { font-size: 1.0625rem; line-height: 1.7; max-width: 60ch; margin-bottom: 22px; color: #2A3038; }
.meet__contact { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.meet__contact li { display: flex; align-items: center; gap: 10px; color: var(--slate); }
.meet__contact .ic { color: var(--navy); }
.meet__contact a { color: var(--ink); font-weight: 500; }
.meet__contact a:hover { color: var(--navy); text-decoration: underline; }
.meet__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.profile__body .meet__contact { margin-top: 28px; }

/* valuation */
.valuation { background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); scroll-margin-top: calc(var(--hdr-h) + 12px); }
.valuation__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.valuation__points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.valuation__points li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.valuation__points .ic { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--lane); color: var(--navy-900); stroke-width: 2.4; }
.valuation__card { padding: clamp(22px, 3vw, 34px); }
.form select {
  width: 100%; padding: 12px 38px 12px 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
  font: 400 16px/1.45 var(--ff-body); color: var(--ink); -webkit-appearance: none; appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23566170' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
}
.form select:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(12, 51, 96, .12); }

/* REALTOR.ca attribution (required by CREA for DDF listings) */
.ftr__crea { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; padding: 7px 12px; border-radius: 8px; background: #fff; color: #D2232A; font-size: 13px; font-weight: 500; }
.ftr__crea strong { font-weight: 700; letter-spacing: .01em; }

/* chat: never let bubbles shrink into each other */
.lc-body > * { flex-shrink: 0; }
.lc-msg--bot { overflow: visible; }
.lc-msg--bot .lc-cards { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
.lc-body { scroll-behavior: smooth; }
.lc.is-compact .lc-launch { width: 56px; padding: 0; justify-content: center; }
.lc.is-compact .lc-launch span { display: none; }
.lc-links img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; }
.lc-links a > span { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lc-chips button[disabled] { opacity: .5; cursor: default; }
.lc-form input[disabled] { background: var(--paper); }

@media (max-width: 1239px) {
  .paths__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1023px) {
  .meet, .valuation__in { grid-template-columns: 1fr; }
  .meet__photo { max-width: 380px; }
}
@media (max-width: 759px) {
  .paths__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .path { padding: 14px 14px 16px; }
  .path__ic { width: 38px; height: 38px; margin-bottom: 8px; }
  .path__t { font-size: 15px; }
  .path__d { font-size: 13px; }
  .shead__end { width: 100%; justify-content: space-between; }
  .filters__actions { justify-content: stretch; }
  .filters__actions .btn--primary { flex: 1; min-width: 0; }
}
