:root {
  --color-primary: #172b52;
  --color-primary-strong: #102142;
  --color-background: #f8f7fc;
  --color-surface: #ffffff;
  --color-text: #17284d;
  --color-text-muted: #596783;
  --color-border: #dedceb;
  --color-accent: #f1460b;
  --color-accent-strong: #cb3508;
  --color-sage: #f0edfa;
  --color-success: #286249;
  --color-warning: #87550f;
  --color-danger: #9a473b;
  --color-info: #335f78;
  --motion-fast: 180ms;
  --motion-base: 280ms;
  --motion-ease: cubic-bezier(.22, .72, .18, 1);
  --atlas-line: rgb(23 43 82 / 4%);
  --font-sans: 'Vazirmatn', Tahoma, Arial, sans-serif;
  --font-size-body: 1rem;
  --font-size-display: 3.5rem;
  --content-max: 75rem;
  --section-space: 5rem;
  --control-height: 2.875rem;
  --radius-sm: .375rem;
  --radius-md: .625rem;
  --radius-lg: .875rem;
  --radius-xl: 1.25rem;
  --shadow-float: 0 14px 36px rgb(23 40 77 / 12%);
  --focus-ring: 0 0 0 3px rgb(23 43 82 / 20%);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  scrollbar-color: var(--color-border) var(--color-background);
  scrollbar-width: thin;
}
body {
  position: relative;
  isolation: isolate;
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: var(--color-text);
  background-color: var(--color-background);
  background-image:
    linear-gradient(90deg, var(--atlas-line) 1px, transparent 1px),
    linear-gradient(var(--atlas-line) 1px, transparent 1px);
  background-position: center top;
  background-size: 84px 84px;
  font-family: var(--font-sans);
  font-size: var(--font-size-body);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: var(--color-background); }
*::-webkit-scrollbar-thumb { border: 2px solid var(--color-background); border-radius: 10px; background: var(--color-border); }
*::-webkit-scrollbar-thumb:hover { background: var(--color-text-muted); }
button, input, select, textarea { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }
::selection { color: var(--color-text); background: var(--color-sage); }

.container { width: min(var(--content-max), calc(100% - 56px)); margin-inline: auto; }
.section-pad { padding-block: var(--section-space); }
.atlas-layer { position: fixed; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; background: radial-gradient(ellipse at 12% 18%, rgb(214 226 218 / 24%), transparent 42%), radial-gradient(ellipse at 88% 76%, rgb(226 215 191 / 12%), transparent 38%); }
.atlas-thread { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--color-primary); opacity: .24; }
.atlas-thread-line, .hero-survey-line, .promise-route path { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.atlas-thread-line { stroke-width: 1; stroke-dasharray: 3 8; }
.atlas-thread-node { fill: var(--color-accent); }
.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  color: var(--color-text);
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid var(--color-border);
  transition: background-color var(--motion-base) ease, border-color var(--motion-base) ease, box-shadow var(--motion-base) ease;
}
.site-header.is-scrolled { border-color: rgb(213 220 215 / 78%); background: rgb(255 255 255 / 98%); box-shadow: 0 5px 22px rgb(25 39 32 / 5%); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 26px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; direction: rtl; }
.brand-mark { display: grid; flex: 0 0 auto; place-items: center; width: 42px; height: 42px; border: 1px solid #b9ccc2; border-radius: var(--radius-md); color: var(--color-primary); background: #f1f5f2; }
.brand-mark svg { width: 25px; height: 25px; }
.brand-copy { display: grid; gap: 0; line-height: 1.35; }
.brand-copy strong { color: var(--color-text); font-size: 18px; font-weight: 800; letter-spacing: -.03em; }
.brand-copy small { color: var(--color-text-muted); font-size: 12px; }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); margin-inline: auto; color: var(--color-text-muted); font-size: 14px; font-weight: 600; }
.desktop-nav a { position: relative; display: inline-flex; min-height: 44px; align-items: center; gap: 7px; transition: color var(--motion-fast) ease; }
.desktop-nav .site-icon, .mobile-nav .site-icon { width: 19px; height: 19px; flex: 0 0 auto; color: var(--color-accent-strong); stroke: currentColor; }
.mobile-nav .site-icon { width: 21px; height: 21px; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--color-primary); }
.desktop-nav a::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--color-primary); content: ''; transform: scaleX(0); transform-origin: right; transition: transform var(--motion-base) var(--motion-ease); }
.desktop-nav a:hover::after, .desktop-nav a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 17px; }
body.account-route .search-trigger, body.admin-route .search-trigger, body.property-route .search-trigger { display: none; }
.icon-button, .menu-button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid transparent; border-radius: var(--radius-md); color: var(--color-primary); background: transparent; }
.icon-button:hover, .menu-button:hover { border-color: var(--color-border); background: var(--color-background); }
.icon-button svg { width: 20px; height: 20px; }
.login-link { color: var(--color-text-muted); font-size: 14px; font-weight: 600; }
.login-link:hover { color: var(--color-primary); }
.button {
  display: inline-flex;
  min-height: var(--control-height);
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  transition: color .16s ease, background-color .16s ease, border-color .16s ease;
}
.button:hover { box-shadow: none; transform: none; }
.button span { font-size: 17px; line-height: 1; }
.button-small { min-height: 44px; padding-inline: 16px; font-size: 13px; }
.button-dark { color: #fff; background: var(--color-primary); }
.button-dark:hover { background: var(--color-primary-strong); }
.button-light { color: var(--color-primary-strong); background: #fff; }
.button-light:hover { background: var(--color-sage); }
.button-outline { border-color: var(--color-border); color: var(--color-primary); background: var(--color-surface); }
.button-outline:hover { border-color: var(--color-primary); background: #f1f5f2; }
.button.request-cta { border-color: #c9c6dc; color: var(--color-primary); background: var(--color-surface); }
.button.request-cta:hover { border-color: var(--color-accent); color: var(--color-accent-strong); background: #fff8f4; }
.button-danger { color: #fff; background: var(--color-danger); }
.button-danger:hover { background: #7d362d; }
.button[aria-busy="true"]::after { width: 14px; height: 14px; border: 2px solid currentColor; border-left-color: transparent; border-radius: 50%; content: ''; animation: spin .7s linear infinite; }
.button:disabled { opacity: .62; }
.menu-button, .mobile-nav { display: none; }

.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(40px, 4.6vw, 62px) clamp(34px, 4vw, 50px); background: radial-gradient(ellipse at 19% 28%, rgb(221 231 224 / 74%), transparent 38%), linear-gradient(132deg, #f0f3ee, #f7f7f2 62%, #f3f2eb); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; column-gap: clamp(36px, 5vw, 70px); row-gap: 24px; }
.hero-survey { position: absolute; z-index: 0; inset: 0 0 auto; width: 100%; height: min(100%, 560px); overflow: visible; color: var(--color-primary); opacity: .26; pointer-events: none; }
.hero-survey-line { stroke-width: 1.15; stroke-dasharray: 2 7; }
.hero-survey-node { fill: var(--color-accent); }
.hero-copy { max-width: 545px; padding-block: 8px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--color-primary); font-size: 13px; font-weight: 700; }
.eyebrow-light { color: var(--color-primary); }
.eyebrow-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 2px; background: var(--color-accent); transform: rotate(45deg); }
.hero h1 { max-width: 600px; margin: 16px 0 15px; color: var(--color-text); font-size: clamp(36px, 4.35vw, 56px); font-weight: 750; line-height: 1.36; letter-spacing: -.045em; }
h1 em, h2 em { color: inherit; font-style: normal; }
.hero h1 em { color: var(--color-primary); }
.hero-copy p { max-width: 500px; margin: 0; color: var(--color-text-muted); font-size: 16px; line-height: 2; }
.hero-proof { display: flex; align-items: center; gap: 8px; margin-top: 24px; color: var(--color-text-muted); font-size: 13px; }
.hero-proof span { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 8px 12px; border-inline-start: 2px solid rgb(169 117 46 / 58%); background: rgb(255 255 255 / 48%); }
.hero-proof i, .scene-copy p i { width: 4px; height: 4px; border-radius: 50%; background: var(--color-accent); }
.hero-proof strong { color: var(--color-primary); font-weight: 700; }
.avatar-stack { display: none; }

.hero-animation { position: relative; width: 100%; direction: rtl; }
.story-stage { position: relative; width: 100%; aspect-ratio: 1.72; overflow: hidden; isolation: isolate; border: 1px solid rgb(25 39 32 / 11%); border-radius: 7px; background: #cfd5cf; box-shadow: 0 18px 42px rgb(25 39 32 / 9%); }
.story-stage::after { position: absolute; z-index: 3; inset: 11px; border: 1px solid rgb(255 255 255 / 30%); content: ''; pointer-events: none; }
.hero-scene { position: absolute; inset: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s ease; }
.hero-scene.is-active { z-index: 1; opacity: 1; visibility: visible; }
.scene-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-scene.is-active .scene-image { animation: film-camera 8s ease-out both; }
.scene-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgb(12 28 24 / 78%), rgb(12 28 24 / 27%) 39%, rgb(12 28 24 / 2%) 80%); }
.scene-topline { position: absolute; top: 18px; right: 20px; left: 20px; display: flex; align-items: center; justify-content: space-between; }
.scene-kicker { display: inline-flex; min-height: 34px; align-items: center; gap: 8px; padding-inline: 11px; border: 1px solid rgb(255 255 255 / 45%); border-radius: var(--radius-sm); color: #fff; background: rgb(25 39 32 / 68%); font-size: 13px; font-weight: 700; }
.scene-kicker i { width: 7px; height: 7px; border-radius: 50%; background: #d6e4db; }
.seeker-kicker i { background: #f1d7a8; }
.scene-count { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 12px; font-weight: 700; }
.scene-count b { width: 22px; height: 1px; background: rgb(255 255 255 / 72%); }
.scene-copy { position: absolute; right: 24px; bottom: 70px; max-width: 62%; color: #fff; text-align: right; }
.scene-overline { display: block; margin-bottom: 5px; color: rgb(255 255 255 / 85%); font-size: 13px; }
.scene-copy h2 { margin: 0; color: #fff; font-size: clamp(23px, 2.5vw, 31px); font-weight: 750; line-height: 1.5; }
.scene-copy h2 em { color: #f0d8ae; }
.scene-copy p { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; color: rgb(255 255 255 / 86%); font-size: 12px; }
.scene-status { position: absolute; right: 19px; bottom: 13px; left: 19px; display: flex; min-height: 47px; align-items: center; gap: 10px; padding: 7px 11px; border: 1px solid rgb(255 255 255 / 52%); border-radius: var(--radius-md); color: var(--color-text); background: rgb(255 255 255 / 94%); }
.scene-status > span:last-child { display: grid; gap: 0; }
.scene-status strong { color: var(--color-primary-strong); font-size: 13px; font-weight: 700; }
.scene-status small { color: var(--color-text-muted); font-size: 12px; }
.status-check, .status-match { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border-radius: var(--radius-sm); color: #fff; background: var(--color-primary); }
.status-match { background: var(--color-accent); }
.status-check svg, .status-match svg { width: 17px; height: 17px; }
.scene-progress { position: absolute; z-index: 2; top: 0; right: 0; left: 0; display: block; }
.scene-progress > span:last-child { display: none; }
.progress-track { display: block; width: 100%; height: 2px; overflow: hidden; background: rgb(255 255 255 / 42%); }
.progress-track i { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: right center; background: #f0d8ae; animation: progress-fill 7.4s linear infinite; }
.motion-toggle { position: absolute; z-index: 4; top: 14px; left: 14px; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgb(255 255 255 / 65%); border-radius: var(--radius-md); color: #fff; background: rgb(25 39 32 / 72%); }
.motion-toggle:hover { background: rgb(25 39 32 / 75%); }
.motion-toggle svg { width: 16px; height: 16px; }
.motion-toggle .play-icon { display: none; }
.story-stage.is-paused .motion-toggle .pause-icon { display: none; }
.story-stage.is-paused .motion-toggle .play-icon { display: block; }
.story-stage.is-paused .hero-scene.is-active .scene-image, .story-stage.is-paused .scene-status, .story-stage.is-paused .progress-track i { animation-play-state: paused; }
.story-stage.is-page-hidden .hero-scene.is-active .scene-image, .story-stage.is-page-hidden .scene-status, .story-stage.is-page-hidden .progress-track i { animation-play-state: paused; }
.animation-caption { display: flex; align-items: center; gap: 9px; margin-top: 9px; color: var(--color-text-muted); font-size: 13px; }
.animation-caption > span:last-child { display: grid; gap: 0; }
.animation-caption strong { color: var(--color-text); font-size: 13px; font-weight: 700; }
.animation-caption small { color: var(--color-text-muted); font-size: 12px; }
.caption-mark { display: flex; align-items: center; gap: 3px; transform: rotate(45deg); }
.caption-mark i { width: 7px; height: 7px; border: 1px solid var(--color-accent); border-radius: 1px; }
.caption-mark i:nth-child(2) { border-color: var(--color-primary); }
.caption-mark i:nth-child(3) { border-color: #79978a; }
.hero-scroll { display: none; }

.search-panel { position: relative; z-index: 2; grid-column: 1 / -1; padding: 14px 18px 12px; border: 1px solid #cfd8d1; border-top: 2px solid var(--color-primary); border-radius: 5px; background: rgb(255 255 255 / 96%); box-shadow: 0 15px 36px rgb(25 39 32 / 7%); }
.search-tabs { display: flex; align-items: center; gap: 5px; padding-bottom: 10px; border-bottom: 1px solid var(--color-border); }
.search-tab { min-width: 72px; min-height: 44px; padding: 5px 14px; border: 1px solid transparent; border-radius: 3px; color: var(--color-text-muted); background: transparent; font-size: 14px; font-weight: 650; transition: color var(--motion-fast) ease, background-color var(--motion-fast) ease, border-color var(--motion-fast) ease; }
.search-tab:hover { color: var(--color-primary); background: #f1f5f2; }
.search-tab.active { border-color: #b9c9bf; color: var(--color-primary-strong); background: #e7eee9; box-shadow: inset 0 -2px var(--color-primary); }
.search-fields { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; gap: 12px; padding-top: 12px; }
.field { position: relative; display: flex; min-width: 0; min-height: 54px; align-items: center; gap: 11px; padding: 5px 12px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.field:focus-within { border-color: var(--color-primary); box-shadow: var(--focus-ring); }
.field-location { padding-inline-start: 12px; }
.field-icon { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border-radius: var(--radius-sm); color: var(--color-primary); background: #eff4f0; }
.field-icon svg { width: 19px; height: 19px; }
.field > span:nth-child(2) { display: grid; min-width: 0; flex: 1; gap: 0; }
.field small, .field > span:nth-child(2) label { color: var(--color-text-muted); font-size: 12px; font-weight: 500; line-height: 1.55; }
.field input, .field select { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; color: var(--color-text); background: transparent; font-size: 14px; font-weight: 550; }
.field input::placeholder { color: #78847d; font-weight: 400; }
.field input:focus-visible, .field select:focus-visible { outline: 0; box-shadow: none; }
.search-clear { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; border-radius: var(--radius-sm); color: var(--color-text-muted); background: transparent; font-size: 23px; line-height: 1; }
.search-clear:hover { color: var(--color-text); background: var(--color-background); }
.search-button { display: inline-flex; min-width: 128px; min-height: 54px; align-items: center; justify-content: center; gap: 10px; padding-inline: 18px; border: 1px solid var(--color-primary); border-radius: 3px; color: #fff; background: var(--color-primary); font-size: 15px; font-weight: 700; transition: background-color var(--motion-fast) ease, transform var(--motion-fast) ease; }
.search-button:hover { background: var(--color-primary-strong); }
.search-button:hover svg { transform: translateX(-2px); }
.search-button svg { width: 18px; height: 18px; }
.search-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; color: var(--color-text-muted); font-size: 12px; }
.search-footer a { color: var(--color-primary); font-weight: 700; }
.search-footer a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.search-footer a span { margin-inline-start: 4px; }

.listings-section { position: relative; background: transparent; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-heading h2, .promise-copy h2 { margin: 9px 0 0; color: var(--color-text); font-size: clamp(26px, 3.2vw, 36px); font-weight: 750; line-height: 1.5; letter-spacing: -.035em; }
.section-heading h2 em, .promise-copy h2 em { color: var(--color-primary); }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; color: var(--color-primary); font-size: 14px; font-weight: 700; }
.filter-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-block: 26px 20px; }
.filter-chip { display: inline-flex; min-height: 44px; align-items: center; padding: 7px 14px; border: 1px solid var(--color-border); border-radius: 3px; color: var(--color-text-muted); background: rgb(255 254 250 / 92%); font-size: 14px; font-weight: 600; transition: color var(--motion-fast) ease, border-color var(--motion-fast) ease, background var(--motion-fast) ease, transform var(--motion-fast) ease; }
.filter-chip:hover { border-color: #9bb5a6; color: var(--color-primary); }
.filter-chip.active { border-color: var(--color-primary); color: #fff; background: var(--color-primary); }
.filter-chip:active, .search-tab:active, .button:active { transform: translateY(1px); }
.filter-note { margin-inline-start: auto; color: var(--color-text-muted); font-size: 12px; }
.listing-load-status { display: flex; min-height: 54px; align-items: center; justify-content: center; gap: 14px; color: var(--color-text-muted); font-size: 14px; }
.listing-load-status[hidden] { display: none; }
.listing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 24px; }
.listing-card { min-width: 0; overflow: hidden; border: 1px solid #d7ddd7; border-radius: 5px; background: rgb(255 254 250 / 97%); transition: border-color var(--motion-base) ease, box-shadow var(--motion-base) ease, transform var(--motion-base) var(--motion-ease); }
.listing-card:hover, .listing-card:focus-within { border-color: #b9c9bf; box-shadow: 0 12px 30px rgb(25 39 32 / 8%); }
.listing-card[hidden] { display: none !important; }
.listing-image { position: relative; overflow: hidden; aspect-ratio: 1.34; background: #e1e6e2; }
.listing-photo-link { display: block; width: 100%; height: 100%; }
.listing-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 650ms var(--motion-ease); }
.listing-photo-link:focus-visible { outline-offset: -5px; }
.listing-card:hover .listing-image img { transform: scale(1.035); }
.listing-tag { position: absolute; top: 12px; right: 12px; z-index: 1; min-height: 30px; padding: 4px 9px; border: 1px solid rgb(255 255 255 / 55%); border-radius: var(--radius-sm); color: var(--color-text); background: rgb(255 255 255 / 94%); font-size: 12px; font-weight: 700; }
.listing-tag-terracotta { color: #fff; background: var(--color-primary); }
.listing-tag-dark { color: #fff; background: var(--color-primary-strong); }
.heart-button { position: absolute; top: 10px; left: 10px; z-index: 2; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgb(255 255 255 / 70%); border-radius: var(--radius-md); color: var(--color-text); background: rgb(255 255 255 / 92%); }
.heart-button:hover, .heart-button.liked { color: #9a473b; background: #fff; }
.heart-button { transition: color var(--motion-fast) ease, background-color var(--motion-fast) ease, transform var(--motion-fast) ease; }
.heart-button:hover { transform: scale(1.04); }
.heart-button svg { width: 21px; height: 21px; }
.image-count, .verified { display: none !important; }
.listing-body { padding: 16px 17px 15px; }
.listing-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; color: var(--color-text-muted); font-size: 13px; }
.listing-meta span:first-child { color: var(--color-primary); font-weight: 700; }
.listing-body h3 { margin: 8px 0 10px; color: var(--color-text); font-size: 18px; font-weight: 700; line-height: 1.65; }
.listing-body h3 a:hover { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
.listing-specs { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 18px; color: var(--color-text-muted); font-size: 13px; }
.listing-specs span + span { position: relative; }
.listing-specs span + span::before { position: absolute; top: 50%; right: -11px; width: 3px; height: 3px; border-radius: 50%; background: #98a69e; content: ''; transform: translateY(-50%); }
.listing-bottom { display: flex; min-height: 45px; align-items: end; justify-content: space-between; gap: 8px; margin-top: 11px; padding-top: 9px; border-top: 1px solid var(--color-border); }
.listing-bottom strong { color: var(--color-primary); font-size: 17px; font-weight: 750; line-height: 1.5; }
.listing-bottom strong small { color: var(--color-text-muted); font-size: 13px; font-weight: 500; }
.results-status { min-height: 26px; margin: 12px 0 0; color: var(--color-text-muted); font-size: 13px; }
.empty-state { display: none; min-height: 180px; align-content: center; justify-items: center; gap: 8px; padding: 28px 16px; color: var(--color-text-muted); text-align: center; }
.empty-state.show { display: grid; }
.empty-state > div { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 4px; border-radius: var(--radius-md); color: var(--color-primary); background: var(--color-sage); font-size: 24px; }
.empty-state strong { color: var(--color-text); font-size: 17px; font-weight: 700; }
.empty-state span { max-width: 40rem; font-size: 14px; }
.empty-state .button { margin-top: 8px; }

.property-section { min-height: 65vh; padding-top: 38px; }
.property-back { display: inline-flex; min-height: 44px; align-items: center; margin-bottom: 16px; color: var(--color-primary); font-size: 14px; font-weight: 700; }
.property-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.property-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.property-heading h1 { margin: 6px 0 0; color: var(--color-text); font-size: clamp(25px, 3vw, 35px); font-weight: 750; line-height: 1.5; }
.property-favorite { min-height: 44px; flex: 0 0 auto; padding: 7px 13px; border: 1px solid var(--color-border); border-radius: var(--radius-md); color: var(--color-primary); background: var(--color-surface); font-size: 14px; font-weight: 650; }
.property-favorite:hover, .property-favorite.liked { border-color: #b97b71; color: var(--color-danger); background: #fff9f7; }
.property-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(290px, .75fr); align-items: stretch; gap: 18px; }
.property-gallery { min-width: 0; }
.property-photo { position: relative; height: clamp(350px, 38vw, 540px); overflow: hidden; border-radius: var(--radius-lg); background: #e3e8e4; }
.property-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.property-photo .property-image-next { z-index: 1; opacity: 0; transition: opacity 230ms var(--motion-ease); }
.property-photo .property-image-next.is-visible { opacity: 1; }
.property-thumbnails, .image-preview-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.property-thumbnails { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-inline: contain; padding: 2px 2px 8px; scroll-snap-type: inline mandatory; scrollbar-width: thin; }
.property-thumbnail { flex: 0 0 88px; width: 88px; height: 68px; overflow: hidden; padding: 0; border: 2px solid transparent; border-radius: var(--radius-md); background: var(--color-background); cursor: pointer; scroll-snap-align: start; transition: border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease; }
.property-thumbnail.is-selected { border-color: var(--color-accent); box-shadow: 0 0 0 2px rgb(245 86 38 / 15%); }
.property-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.property-gallery-count { position: absolute; z-index: 2; top: 14px; right: 14px; padding: 5px 10px; border: 1px solid rgb(255 255 255 / 30%); border-radius: 5px; color: #fff; background: rgb(16 33 66 / 78%); font-size: 13px; font-weight: 650; }
.gallery-arrow { position: absolute; z-index: 2; top: 50%; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgb(255 255 255 / 42%); border-radius: 50%; color: #fff; background: rgb(16 33 66 / 78%); font-family: Arial, sans-serif; font-size: 31px; line-height: 1; transform: translateY(-50%); transition: background-color var(--motion-fast) ease, border-color var(--motion-fast) ease; }
.gallery-arrow:hover { border-color: #fff; background: var(--color-accent-strong); }
.gallery-arrow-prev { right: 14px; }
.gallery-arrow-next { left: 14px; }
.property-summary { display: flex; min-height: 390px; flex-direction: column; align-items: flex-start; padding: 23px; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }
.property-status { display: inline-flex; min-height: 32px; align-items: center; padding: 4px 9px; border-radius: var(--radius-sm); color: var(--color-success); background: #e8f1eb; font-size: 13px; font-weight: 650; }
.property-price { margin-block: 18px; color: var(--color-primary); font-size: 25px; font-weight: 750; line-height: 1.5; }
.property-facts { display: flex; width: 100%; flex-wrap: wrap; gap: 8px; padding-block: 15px; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.property-facts span { padding: 5px 9px; border-radius: var(--radius-sm); color: var(--color-text); background: var(--color-background); font-size: 13px; }
.property-contact { width: 100%; margin-top: auto; }
.property-summary > small { margin-top: 9px; color: var(--color-text-muted); font-size: 13px; }
.property-description { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr); gap: 45px; padding-block: 32px; border-bottom: 1px solid var(--color-border); }
.property-description h2, .property-comments h2 { margin: 6px 0 10px; color: var(--color-text); font-size: 23px; font-weight: 700; line-height: 1.6; }
.property-description p { max-width: 680px; margin: 0; color: var(--color-text-muted); font-size: 15px; line-height: 2; white-space: pre-line; }
.property-description dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 10px; margin: 0; }
.property-description dl div { min-width: 0; padding: 10px 12px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.property-description dt { color: var(--color-text-muted); font-size: 13px; }
.property-description dd { margin: 3px 0 0; color: var(--color-text); font-size: 14px; font-weight: 650; overflow-wrap: anywhere; }
.property-comments { display: grid; grid-template-columns: minmax(200px, .7fr) minmax(0, 1.3fr); align-items: start; gap: 24px; padding-top: 28px; }
.property-comments h2 { font-size: 20px; }
.comments-signin { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.comments-signin p { margin: 0; color: var(--color-text-muted); font-size: 14px; }
.comment-form { display: grid; gap: 9px; }
.comment-form label, .auth-form label, .listing-form label { display: grid; align-content: start; gap: 6px; color: var(--color-text); font-size: 14px; font-weight: 650; }
.comment-form textarea, .auth-form input, .listing-form input:not([type=file]), .listing-form select, .listing-form textarea, .admin-login-card input { width: 100%; min-height: var(--control-height); padding: 9px 12px; border: 1px solid var(--color-border); border-radius: var(--radius-md); outline: 0; color: var(--color-text); background: var(--color-surface); font-size: 15px; font-weight: 450; }
.comment-form textarea, .listing-form textarea { min-height: 126px; resize: none; line-height: 1.8; }
.comment-form textarea:focus, .auth-form input:focus, .listing-form input:focus, .listing-form select:focus, .listing-form textarea:focus { border-color: var(--color-primary); box-shadow: var(--focus-ring); }
.comment-form .button { justify-self: start; }
.comment-list { display: grid; grid-column: 2; gap: 9px; }
.comment-item { padding: 12px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.comment-item strong { color: var(--color-text); font-size: 14px; }
.comment-item small { margin-inline-start: 10px; color: var(--color-text-muted); font-size: 12px; }
.comment-item p { margin: 5px 0 0; color: var(--color-text-muted); font-size: 14px; line-height: 1.9; white-space: pre-wrap; }
.comments-empty { margin: 0; color: var(--color-text-muted); font-size: 14px; }
.property-view[hidden], .account-view[hidden], .admin-view[hidden] { display: none; }

.account-section, .admin-section { min-height: 76vh; padding-top: 32px; }
.test-notice { display: flex; max-width: 960px; align-items: center; gap: 12px; margin: 0 auto 18px; padding: 12px 15px; border: 1px solid #c9d7ce; border-radius: var(--radius-md); color: var(--color-text-muted); background: #eff4f0; font-size: 14px; line-height: 1.8; }
.test-notice strong { flex: 0 0 auto; color: var(--color-primary); font-size: 14px; }
.account-card { max-width: 520px; margin: 0 auto; padding: 26px; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }
.account-card h1, .dashboard-heading h1 { margin: 7px 0 9px; color: var(--color-text); font-size: 27px; font-weight: 750; line-height: 1.5; }
.account-card > p, .dashboard-heading p, .listing-form > p { margin: 0; color: var(--color-text-muted); font-size: 14px; line-height: 1.9; }
.auth-tabs, .dashboard-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-block: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--color-border); }
.auth-tab, .dashboard-tab { min-height: 42px; padding: 7px 13px; border: 1px solid transparent; border-radius: var(--radius-md); color: var(--color-text-muted); background: transparent; font-size: 14px; font-weight: 650; }
.auth-tab:hover, .dashboard-tab:hover { color: var(--color-primary); background: #f1f5f2; }
.auth-tab.active, .dashboard-tab.active { border-color: #c4d4cb; color: var(--color-primary-strong); background: var(--color-sage); }
.auth-form, .listing-form { display: grid; gap: 13px; }
.auth-form .button { width: 100%; margin-top: 2px; }
.password-field { position: relative; display: flex; align-items: center; }
.password-field input { padding-inline-end: 58px; }
.password-toggle { position: absolute; inset-inline-end: 5px; display: grid; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 12px; color: var(--color-text-muted); background: transparent; cursor: pointer; transition: color 150ms ease, background 150ms ease; }
.password-toggle .site-icon { width: 22px; height: 22px; }
.password-toggle:hover, .password-toggle[aria-pressed="true"] { color: var(--color-accent-strong); background: #fff0e9; }
.password-toggle:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.form-feedback { margin: 0; padding: 10px 12px; border: 1px solid #e2b7b0; border-radius: var(--radius-md); color: #782f27; background: #fff5f2; font-size: 14px; line-height: 1.8; }
.field-error { color: var(--color-danger); font-size: 13px; font-weight: 500; }
[aria-invalid="true"] { border-color: var(--color-danger) !important; }
[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgb(154 71 59 / 16%) !important; }
.form-trap { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.security-status { margin: 0; color: var(--color-text-muted); font-size: 13px; line-height: 1.8; }
.security-status.security-warning { color: var(--color-warning); }
.turnstile-slot { min-height: 65px; display: grid; justify-items: start; }
.turnstile-slot[hidden] { display: none; }
.auth-form button:disabled, .listing-form button:disabled { opacity: .58; }
.admin-entry { display: inline-flex; min-height: 42px; align-items: center; margin-top: 13px; color: var(--color-text-muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.admin-entry:hover { color: var(--color-primary); }
#admin-login-link { display: inline-flex; min-height: 42px; align-items: center; margin-inline-end: 12px; color: var(--color-primary); font-size: 14px; font-weight: 650; }
#admin-login-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.account-dashboard, .admin-dashboard { max-width: 960px; margin-inline: auto; }
.dashboard-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--color-border); }
.dashboard-heading h1 { margin-bottom: 4px; }
.dashboard-heading h1:focus { outline: none; }
.dashboard-heading p { overflow-wrap: anywhere; }
.dashboard-heading .button { flex: 0 0 auto; }
.button-outline { color: var(--color-primary); }
.listing-form { max-width: 860px; padding: 20px; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }
.listing-form h2 { margin: 0; color: var(--color-text); font-size: 22px; font-weight: 700; }
.listing-form > p { margin-top: -7px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.form-wide { grid-column: 1 / -1; }
.listing-form select { cursor: pointer; }
.listing-form input[type=file] { width: 100%; min-height: 46px; padding: 8px; border: 1px dashed #9db4a7; border-radius: var(--radius-md); color: var(--color-text-muted); background: #f8faf8; font-size: 13px; }
.listing-form input[type=file]::file-selector-button { min-height: 30px; margin-inline-end: 9px; padding-inline: 10px; border: 0; border-radius: var(--radius-sm); color: #fff; background: var(--color-primary); font: inherit; font-size: 12px; }
.image-upload-field { display: grid; gap: 8px; }
.image-upload-control { position: relative; display: flex; min-height: 52px; align-items: center; flex-wrap: wrap; gap: 9px 14px; padding: 8px 10px; border: 1px dashed #9db4a7; border-radius: var(--radius-md); background: #f8faf8; }
.image-upload-button { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; padding: 6px 14px; border: 0; border-radius: var(--radius-sm); color: #fff; background: var(--color-primary); font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: background-color 180ms ease, transform 180ms ease; }
.image-upload-hint { color: var(--color-text-muted); font-size: 12px; line-height: 1.7; }
.listing-form .image-upload-control .image-upload-input { position: absolute; width: 1px; height: 1px; min-height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.image-upload-button:focus-visible { outline: 3px solid color-mix(in srgb, var(--color-primary) 28%, transparent); outline-offset: 3px; }
.image-upload-control:hover .image-upload-button { background: var(--color-primary-strong); }
.image-upload-control:active .image-upload-button { transform: translateY(1px); }
.image-preview { color: var(--color-text-muted); font-size: 13px; line-height: 1.7; }
.image-preview-error { color: var(--color-danger); }
.image-preview-grid img { width: 76px; height: 62px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); object-fit: cover; }
.admin-create-panel { margin: 24px 0; overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }
.admin-create-panel summary { min-height: 54px; padding: 15px 18px; color: var(--color-primary); font-weight: 750; cursor: pointer; }
.admin-create-form { width: 100%; max-width: none; border: 0; border-top: 1px solid var(--color-border); border-radius: 0; box-shadow: none; }
.admin-create-form .form-section { min-width: 0; margin: 0; padding: 16px; border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.admin-create-form .form-section legend { padding-inline: 8px; color: var(--color-primary); font-size: 15px; font-weight: 750; }
.admin-create-form > .admin-create-note { margin: 0; padding: 11px 14px; border-inline-start: 3px solid var(--color-accent); color: var(--color-text-muted); background: #f8f6fc; font-size: 14px; line-height: 1.8; }
.admin-list-heading { margin: 26px 0 12px; color: var(--color-text); font-size: 19px; }
.admin-listing-photos { display: grid; gap: 5px; }
.admin-listing-photos > img { width: 100%; height: 78px; object-fit: cover; border-radius: var(--radius-md); }
.admin-listing-photos > span { color: var(--color-text-muted); font-size: 11px; }
.admin-listing-photos > div { display: flex; gap: 3px; overflow: hidden; }
.admin-listing-photos > div img { width: 28px; height: 24px; object-fit: cover; border-radius: 4px; }
.dashboard-list, .admin-listings { display: grid; gap: 10px; }
.dashboard-row, .admin-row { display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }
.dashboard-row img, .admin-row img { display: block; width: 100px; height: 78px; object-fit: cover; border-radius: var(--radius-md); background: var(--color-background); }
.dashboard-row > div, .admin-row > div { min-width: 0; }
.dashboard-row h3, .admin-row h3 { margin: 0 0 3px; color: var(--color-text); font-size: 16px; font-weight: 700; line-height: 1.6; }
.dashboard-row p, .admin-row p { margin: 0; color: var(--color-text-muted); font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.status-pill { display: inline-flex; min-height: 30px; align-items: center; margin-top: 7px; padding: 3px 9px; border: 1px solid #dfcea7; border-radius: var(--radius-sm); color: #684c1e; background: #faf4e7; font-size: 13px; font-weight: 650; }
.status-pill.published { border-color: #bcd2c3; color: var(--color-success); background: #eaf3ed; }
.status-pill.rejected { border-color: #e0c0bb; color: var(--color-danger); background: #fff3f1; }
.admin-actions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 7px; }
.admin-actions button { min-height: 40px; padding: 7px 11px; border: 1px solid var(--color-primary); border-radius: var(--radius-md); color: #fff; background: var(--color-primary); font-size: 13px; font-weight: 650; }
.admin-actions button:hover { background: var(--color-primary-strong); }
.admin-actions .reject-action, .admin-actions .delete-action { border-color: var(--color-border); color: var(--color-text-muted); background: var(--color-surface); }
.admin-actions .reject-action:hover { border-color: var(--color-warning); color: var(--color-warning); background: #fcf7ed; }
.admin-actions .delete-action:hover { border-color: var(--color-danger); color: var(--color-danger); background: #fff5f2; }
.admin-actions button:disabled { opacity: .6; }
.load-error { display: grid; justify-items: start; gap: 8px; padding: 20px; border: 1px solid #e2b7b0; border-radius: var(--radius-lg); color: var(--color-text-muted); background: #fff8f6; }
.load-error strong { color: var(--color-danger); font-size: 15px; }
.load-error span { font-size: 14px; }

.confirm-dialog { width: min(30rem, calc(100% - 32px)); max-width: 30rem; max-height: min(85dvh, 40rem); overflow: auto; padding: 0; border: 1px solid var(--color-border); border-radius: var(--radius-xl); color: var(--color-text); background: var(--color-surface); box-shadow: var(--shadow-float); }
.confirm-dialog::backdrop { background: rgb(16 29 23 / 48%); }
.confirm-dialog-content { display: grid; gap: 11px; padding: 24px; }
.dialog-mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: var(--radius-md); color: var(--color-danger); background: #fff0ec; font-size: 20px; font-weight: 800; }
.confirm-dialog h2 { margin: 0; font-size: 22px; font-weight: 750; }
.confirm-dialog p { margin: 0; color: var(--color-text-muted); font-size: 14px; line-height: 1.9; overflow-wrap: anywhere; }
.dialog-error { padding: 9px 11px; border: 1px solid #e2b7b0; border-radius: var(--radius-md); color: #782f27 !important; background: #fff5f2; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 5px; }
.dialog-actions .button { flex: 1 1 130px; }
.field-delete-choice { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); font-size: 13px; line-height: 1.7; }
.field-delete-choice input { width: 18px; height: 18px; min-height: 18px; margin: 0; accent-color: var(--color-accent); }
.field-delete-choice-danger { border-color: #e5b8b0; color: #782f27; background: #fff8f6; }
.confirm-dialog-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 5px; }
.confirm-dialog-actions .button { flex: 1 1 130px; }

.promise-section { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(90deg, rgb(227 234 228 / 58%), rgb(244 245 239 / 60%)); }
.promise-section::before { position: absolute; z-index: -1; inset: 16% 0; border-block: 1px solid rgb(36 77 69 / 6%); content: ''; pointer-events: none; }
.promise-layout { display: grid; grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr); align-items: center; gap: clamp(35px, 7vw, 90px); }
.promise-copy { max-width: 400px; }
.promise-copy p { margin: 14px 0 22px; color: var(--color-text-muted); font-size: 15px; line-height: 2; }
.promise-copy .button { min-width: 160px; }
.promise-cards { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 42px; }
.promise-route { position: absolute; z-index: 0; top: 0; right: 0; width: 100%; height: 36px; overflow: visible; color: var(--color-accent); opacity: .68; pointer-events: none; }
.promise-route path { stroke-width: 1.25; stroke-dasharray: 3 5; }
.promise-route circle { fill: var(--color-accent); }
.promise-card { position: relative; z-index: 1; min-width: 0; min-height: 222px; padding: 23px 18px 20px; border: 1px solid #d2ddd5; border-radius: 4px; background: rgb(255 254 250 / 94%); }
.promise-card::before { position: absolute; top: 0; right: 0; width: 38px; height: 2px; background: var(--color-primary); content: ''; }
.promise-card-offset { margin-top: 0; }
.promise-number { position: absolute; top: 14px; right: 17px; color: var(--color-accent); font-size: 12px; font-weight: 700; }
.promise-icon { display: grid; width: 44px; height: 44px; place-items: center; margin: 18px 0 14px; border-radius: 4px; color: var(--color-primary); background: #e5ece6; }
.promise-icon svg { width: 22px; height: 22px; }
.promise-card h3 { margin: 0 0 4px; color: var(--color-text); font-size: 16px; font-weight: 700; }
.promise-card p { margin: 0; color: var(--color-text-muted); font-size: 14px; line-height: 1.9; }
.seller-section { background: transparent; }
.seller-card { position: relative; display: flex; min-height: 300px; align-items: center; justify-content: space-between; gap: 40px; overflow: hidden; padding: 42px clamp(24px, 5vw, 58px); border: 1px solid rgb(255 255 255 / 14%); border-radius: 5px; color: #fff; background: var(--color-primary-strong); }
.seller-card::before { position: absolute; inset: 0 0 0 auto; width: 47%; background-image: linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px), linear-gradient(rgb(255 255 255 / 5%) 1px, transparent 1px); background-size: 46px 46px; content: ''; mask-image: linear-gradient(90deg, transparent, #000 30%); pointer-events: none; }
.seller-content { position: relative; z-index: 1; max-width: 480px; }
.seller-card h2 { margin: 8px 0; color: #fff; font-size: clamp(27px, 3vw, 36px); font-weight: 750; line-height: 1.5; }
.seller-card h2 em { color: #d8e5dc; }
.seller-card p { margin: 0 0 17px; color: rgb(255 255 255 / 84%); font-size: 15px; line-height: 1.9; }
.seller-card .eyebrow { color: #e0eae3; }
.seller-card .eyebrow-dot { background: #e6c58f; }
.seller-stats { position: relative; z-index: 1; display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin: 0; direction: rtl; }
.seller-stats div { display: grid; min-width: 104px; gap: 3px; padding-inline-start: 14px; border-inline-start: 1px solid rgb(255 255 255 / 30%); }
.seller-stats strong { color: #fff; font-size: 19px; font-weight: 700; }
.seller-stats span { color: rgb(255 255 255 / 82%); font-size: 13px; }
.seller-orb { position: absolute; z-index: 0; display: block; width: 350px; aspect-ratio: 1; border: 1px solid rgb(228 236 229 / 17%); border-radius: 50%; pointer-events: none; }
.seller-orb::before, .seller-orb::after { position: absolute; border: 1px solid rgb(228 236 229 / 12%); border-radius: 50%; content: ''; }
.seller-orb::before { inset: 18%; }
.seller-orb::after { inset: 36%; }
.seller-orb-one { top: -205px; left: 13%; }
.seller-orb-two { right: 38%; bottom: -260px; width: 430px; opacity: .72; }
.seller-card .button { min-height: 46px; }
.seller-card .button span { transition: transform var(--motion-fast) ease; }
.seller-card .button:hover span { transform: translateX(-3px); }

.site-footer { padding: 42px 0 17px; color: #e5ece7; background: #183a34; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1fr; gap: 34px; padding-bottom: 27px; border-bottom: 1px solid rgb(255 255 255 / 20%); }
.site-footer .brand-mark { border-color: rgb(255 255 255 / 25%); color: #e5ece7; background: rgb(255 255 255 / 8%); }
.site-footer .brand-copy strong { color: #fff; }
.site-footer .brand-copy small { color: #c5d4ca; }
.footer-brand p { max-width: 290px; margin: 12px 0 0; color: #d2dfd6; font-size: 14px; line-height: 1.9; }
.site-footer h4 { margin: 0 0 9px; color: #fff; font-size: 14px; font-weight: 700; }
.site-footer > .container > div:not(.footer-brand) a, .footer-contact p { display: block; width: fit-content; min-height: 34px; margin: 0; color: #d2dfd6; font-size: 14px; }
.site-footer a:hover { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }
.socials { display: flex; gap: 8px; margin-top: 15px; }
.socials a { display: grid !important; width: 38px; height: 38px; place-items: center; margin: 0 !important; border: 1px solid rgb(255 255 255 / 32%); border-radius: var(--radius-md); color: #fff !important; font-size: 13px !important; }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px; padding-top: 14px; color: #d2dfd6; font-size: 12px; }
.footer-heart { color: #f0d8ae; }
.toast { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 40; display: flex; max-width: min(460px, calc(100% - 36px)); align-items: center; gap: 10px; padding: 11px 15px; border: 1px solid #335f51; border-radius: var(--radius-md); color: #fff; background: var(--color-primary-strong); box-shadow: var(--shadow-float); font-size: 14px; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .18s ease, transform .18s ease; }
.toast.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.toast-icon { display: grid; width: 22px; height: 22px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--color-primary-strong); background: #dce9df; font-size: 13px; font-weight: 800; }

@keyframes film-camera { from { transform: scale(1.01); } to { transform: scale(1.065); } }
@keyframes progress-fill { to { transform: scaleX(1); } }
@keyframes spin { to { transform: rotate(360deg); } }

.category-page .hero { padding-block: 24px 18px; background: transparent; }
.category-page .hero-survey { display: none; }
.category-page .hero-inner { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
.category-page .hero-copy { max-width: 780px; }
.category-page .hero h1 { margin-block: 7px; font-size: clamp(27px, 3vw, 36px); }
.category-page .hero-copy p { max-width: 760px; font-size: 14px; }
.category-page .hero-proof, .category-page .hero-animation, .category-page .promise-section, .category-page .seller-section, .category-page .hero-scroll { display: none; }
.category-page .search-panel { grid-column: 1; }
.category-page .listings-section { padding-top: 28px; }
.category-page .filter-row { margin-top: 18px; }
.category-page .section-heading h2 { font-size: clamp(24px, 3vw, 32px); }

@media (max-width: 1100px) {
  .container { width: min(var(--content-max), calc(100% - 40px)); }
  .nav-wrap { gap: 16px; }
  .desktop-nav { gap: 18px; }
  .nav-actions { gap: 10px; }
  .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-inner { column-gap: 32px; }
  .seller-card { align-items: flex-start; flex-direction: column; gap: 22px; }
  .promise-layout { grid-template-columns: minmax(230px, .7fr) minmax(0, 1.3fr); gap: 28px; }
  .promise-cards { gap: 9px; }
  .promise-card { padding-inline: 14px; }
  .promise-card p { font-size: 13px; }
}

@media (max-width: 900px) {
  .promise-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .promise-copy { max-width: 680px; }
}

@media (max-width: 760px) {
  :root { --section-space: 3.5rem; }
  html { scroll-padding-top: 76px; }
  .container { width: min(100% - 36px, 600px); }
  .section-pad { padding-block: var(--section-space); }
  body { background-size: 64px 64px; }
  .atlas-thread { opacity: .13; }
  .hero-survey { display: none; }
  .nav-wrap { min-height: 68px; gap: 12px; }
  .brand-mark { width: 39px; height: 39px; }
  .brand-copy strong { font-size: 16px; }
  .brand-copy small { font-size: 11px; }
  .desktop-nav, .nav-actions .login-link, .nav-actions .icon-button { display: none; }
  .nav-actions .button-small { display: inline-flex; min-height: 40px; padding-inline: 12px; font-size: 13px; white-space: nowrap; }
  .menu-button { display: grid; gap: 4px; align-content: center; padding: 9px; }
  .menu-button span { display: block; width: 21px; height: 2px; border-radius: 2px; background: var(--color-primary); transition: transform .16s ease, opacity .16s ease; }
  .menu-button.open span:first-child { transform: translateY(6px) rotate(45deg); }
  .menu-button.open span:nth-child(2) { opacity: 0; }
  .menu-button.open span:last-child { transform: translateY(-6px) rotate(-45deg); }
  .mobile-nav { position: absolute; top: calc(100% - 1px); right: 18px; left: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px; padding: 10px; border: 1px solid var(--color-border); border-radius: 0 0 var(--radius-lg) var(--radius-lg); background: var(--color-surface); box-shadow: var(--shadow-float); }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a { display: flex; min-height: 46px; align-items: center; gap: 11px; padding-inline: 10px; border-radius: var(--radius-sm); color: var(--color-text); font-size: 14px; font-weight: 650; }
  .mobile-nav a:hover, .mobile-nav a.active { color: var(--color-primary); background: #eff4f0; }
  .hero { padding-block: 28px 22px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); row-gap: 19px; }
  body:not(.category-page) .hero-inner > .hero-copy { order: 1; }
  body:not(.category-page) .hero-inner > .search-panel { order: 2; grid-column: 1; }
  body:not(.category-page) .hero-inner > .hero-animation { order: 3; }
  .hero-copy { max-width: none; padding-block: 0; }
  .hero h1 { margin-block: 8px 8px; font-size: clamp(31px, 8vw, 43px); line-height: 1.45; }
  .hero-copy p { font-size: 15px; line-height: 1.9; }
  .hero-proof { margin-top: 10px; }
  .story-stage { aspect-ratio: 1.5; border-radius: 4px; }
  .scene-topline { top: 12px; right: 12px; left: 12px; }
  .scene-kicker { min-height: 32px; padding-inline: 9px; font-size: 12px; }
  .scene-count { font-size: 11px; }
  .motion-toggle { top: 10px; left: 10px; width: 40px; height: 40px; }
  .scene-copy { right: 14px; bottom: 59px; left: 14px; max-width: none; }
  .scene-overline { font-size: 12px; }
  .scene-copy h2 { max-width: 80%; font-size: clamp(20px, 6vw, 26px); }
  .scene-copy p { gap: 6px; font-size: 11px; }
  .scene-status { right: 10px; bottom: 8px; left: 10px; min-height: 42px; padding: 5px 8px; }
  .scene-status strong { font-size: 12px; }
  .scene-status small { font-size: 11px; }
  .status-check, .status-match { width: 27px; height: 27px; }
  .animation-caption { margin-top: 5px; }
  .search-panel { padding: 12px; }
  .search-tabs { gap: 4px; padding-bottom: 9px; }
  .search-tab { min-width: 65px; min-height: 44px; padding-inline: 11px; font-size: 14px; }
  .search-fields { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding-top: 9px; }
  .field { min-height: 52px; gap: 8px; padding-inline: 8px; }
  .field-icon { width: 27px; height: 27px; }
  .field input { font-size: 14px; }
  .search-button { min-width: 94px; min-height: 52px; padding-inline: 11px; font-size: 14px; }
  .search-footer { align-items: flex-start; flex-direction: column; gap: 2px; margin-top: 7px; font-size: 12px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .section-heading h2, .promise-copy h2 { font-size: 28px; }
  .text-link { min-height: 44px; }
  .filter-row { overflow-x: auto; flex-wrap: nowrap; gap: 7px; margin-block: 18px 14px; padding: 2px 1px 7px; scrollbar-width: thin; }
  .filter-chip { flex: 0 0 auto; min-height: 44px; padding-inline: 12px; white-space: nowrap; }
  .filter-note { display: none; }
  .listing-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .listing-image { aspect-ratio: 1.6; }
  .listing-body { padding: 13px 14px; }
  .listing-body h3 { font-size: 16px; }
  .listing-bottom strong { font-size: 16px; }
  .results-status { min-height: 24px; font-size: 13px; }
  .property-section { padding-top: 19px; }
  .property-back { margin-bottom: 9px; }
  .property-heading { align-items: flex-start; flex-direction: column; gap: 10px; margin-bottom: 13px; }
  .property-heading h1 { font-size: 25px; }
  .property-layout, .property-description { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .property-photo { height: clamp(250px, 72vw, 420px); }
  .property-photo img { min-height: 0; max-height: none; }
  .property-thumbnail { width: 72px; height: 56px; flex-basis: 72px; }
  .gallery-arrow { width: 42px; height: 42px; }
  .property-summary { min-height: 0; padding: 18px; }
  .property-price { margin-block: 12px; font-size: 23px; }
  .property-contact { margin-top: 17px; }
  .property-description { padding-block: 21px; }
  .property-description dl { gap: 8px; }
  .property-comments { grid-template-columns: minmax(0, 1fr); gap: 13px; padding-top: 21px; }
  .comment-list { grid-column: 1; }
  .comments-signin { align-items: flex-start; flex-direction: column; }
  .account-section, .admin-section { padding-top: 19px; }
  .test-notice { align-items: flex-start; flex-direction: column; gap: 2px; margin-bottom: 14px; }
  .account-card { padding: 19px; }
  .account-card h1, .dashboard-heading h1 { font-size: 24px; }
  .dashboard-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .dashboard-heading .button { align-self: flex-start; }
  .dashboard-tabs { overflow-x: auto; flex-wrap: nowrap; gap: 4px; }
  .dashboard-tab { flex: 0 0 auto; white-space: nowrap; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-wide { grid-column: 1; }
  .listing-form { padding: 16px; }
  .dashboard-row, .admin-row { grid-template-columns: 74px minmax(0, 1fr); align-items: start; gap: 10px; padding: 10px; }
  .dashboard-row img, .admin-row img { width: 74px; height: 68px; }
  .admin-listing-photos > img { width: 74px; height: 68px; }
  .dashboard-row > .button { grid-column: 2; justify-self: start; }
  .admin-actions { grid-column: 1 / -1; }
  .admin-actions button { flex: 1 1 auto; }
  .promise-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .promise-copy { max-width: none; }
  .promise-cards { grid-template-columns: minmax(0, 1fr); gap: 11px; padding-top: 0; }
  .promise-cards::before { position: absolute; z-index: 0; top: 0; right: 21px; bottom: 0; width: 1px; background: repeating-linear-gradient(to bottom, rgb(169 117 46 / 66%) 0 3px, transparent 3px 8px); content: ''; }
  .promise-route { display: none; }
  .promise-card { min-height: 0; padding: 18px 19px 18px 15px; }
  .promise-card-offset { margin-top: 0; }
  .promise-card h3 { font-size: 15px; }
  .promise-card p { font-size: 13px; }
  .seller-card { min-height: 0; align-items: flex-start; gap: 22px; padding: 24px 20px; }
  .seller-card::before { width: 66%; opacity: .75; background-size: 34px 34px; }
  .seller-orb { width: 230px; opacity: .6; }
  .seller-orb-one { top: -160px; left: 4%; }
  .seller-orb-two { display: none; }
  .seller-card h2 { font-size: 28px; }
  .seller-card p { font-size: 14px; }
  .seller-stats { gap: 10px; }
  .seller-stats div { min-width: 84px; padding-inline-start: 9px; }
  .seller-stats strong { font-size: 16px; }
  .seller-stats span { font-size: 12px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 4px; }
  .toast { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); max-width: calc(100% - 24px); font-size: 13px; }
  .category-page .hero { padding-block: 17px 9px; }
  .category-page .hero-inner { row-gap: 10px; }
  .category-page .hero h1 { font-size: 27px; }
  .category-page .hero-copy p { font-size: 14px; }
  .category-page .search-panel { padding: 10px; }
  .category-page .listings-section { padding-top: 22px; }
}

@media (max-width: 420px) {
  .container { width: calc(100% - 28px); }
  .hero h1 { font-size: 31px; }
  .story-stage { aspect-ratio: 1.5; }
  .scene-count { display: none; }
  .scene-copy { bottom: 58px; }
  .scene-copy h2 { max-width: 78%; font-size: 21px; }
  .scene-status small { max-width: 225px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .search-fields { grid-template-columns: minmax(0, 1fr) 96px; }
  .search-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.5fr); }
  .search-tab { min-width: 0; padding-inline: 3px; font-size: 12px; white-space: nowrap; }
  .search-button { width: 100%; }
  .search-footer { gap: 0; }
  .promise-card, .promise-card-offset { min-height: 0; margin-top: 0; }
  .seller-stats { align-items: flex-start; }
  .seller-stats div { min-width: 0; flex: 1 1 0; }
  .footer-grid { gap: 19px 12px; }
  .footer-grid > div:not(.footer-brand) { min-width: 0; }
}

/* Persian real-estate assistant */
.ai-assistant { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 1200; display: grid; justify-items: end; gap: 12px; direction: rtl; font-family: inherit; }
.ai-chat-open { display: inline-flex; min-height: 56px; align-items: center; gap: 10px; padding: 8px 18px 8px 10px; border: 1px solid rgb(255 255 255 / 72%); border-radius: 999px; color: #fff; background: linear-gradient(125deg, #ef4b24, #ff8248); box-shadow: 0 11px 30px rgb(190 58 20 / 32%); font: inherit; font-size: 14px; font-weight: 800; transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease; }
.ai-chat-open:hover { transform: translateY(-2px); filter: saturate(1.08); box-shadow: 0 15px 34px rgb(190 58 20 / 38%); }
.ai-chat-open:focus-visible, .ai-chat-close:focus-visible, .ai-chat-prompts button:focus-visible { outline: 3px solid #ffbd86; outline-offset: 3px; }
.ai-chat-open-icon { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgb(255 255 255 / 48%); border-radius: 50%; color: #fff; background: rgb(255 255 255 / 19%); }
.ai-chat-panel { display: grid; width: min(400px, calc(100vw - 24px)); height: min(610px, calc(100dvh - 100px)); min-height: 390px; grid-template-rows: auto minmax(90px, 1fr) auto auto auto; overflow: hidden; border: 1px solid #e0dceb; border-radius: 22px; background: var(--color-surface, #fff); box-shadow: 0 24px 66px rgb(23 43 82 / 28%); }
.ai-chat-panel[hidden] { display: none !important; }
.ai-chat-header { display: flex; min-height: 78px; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 3px solid #f15a2b; color: #fff; background: linear-gradient(115deg, #142647, #203c6c); }
.ai-chat-mark { display: grid; width: 50px; height: 50px; flex: 0 0 auto; place-items: center; border: 1px solid rgb(255 255 255 / 65%); border-radius: 17px; color: #fff; background: linear-gradient(145deg, #ff8752, #e94a20); box-shadow: 0 6px 16px rgb(8 19 40 / 27%); }
.ai-chat-mark .site-icon { width: 31px; height: 31px; }
.ai-chat-heading { display: grid; min-width: 0; gap: 2px; }
.ai-chat-heading strong { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.ai-chat-heading small { color: rgb(255 255 255 / 82%); font-size: 11px; line-height: 1.6; }
.ai-chat-close { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; margin-inline-start: auto; border: 1px solid rgb(255 255 255 / 40%); border-radius: 14px; color: #fff; background: rgb(255 255 255 / 9%); font-size: 25px; line-height: 1; transition: background 160ms ease, transform 160ms ease; }
.ai-chat-close:hover { transform: rotate(90deg); background: rgb(255 255 255 / 17%); }
.ai-chat-messages { display: flex; min-height: 0; flex-direction: column; align-items: flex-start; gap: 10px; overflow-y: auto; overscroll-behavior: contain; padding: 16px 14px; background: radial-gradient(ellipse at 100% 0, #f1edf9 0, transparent 54%), #faf9fc; }
.ai-chat-message { max-width: 90%; margin: 0; padding: 11px 14px; border: 1px solid #e2deec; border-radius: 17px 17px 17px 5px; color: var(--color-text, #263453); background: #fff; box-shadow: 0 4px 12px rgb(23 43 82 / 5%); font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; white-space: pre-wrap; }
.ai-chat-message-user { align-self: flex-end; border-color: var(--color-primary, #172b52); border-radius: 15px 15px 4px 15px; color: #fff; background: var(--color-primary, #172b52); }
.ai-chat-message-status { color: var(--color-text-muted, #656b79); font-size: 12px; }
.ai-chat-prompts { display: flex; flex-wrap: wrap; gap: 8px; max-height: 170px; overflow-y: auto; padding: 10px 13px 7px; border-top: 1px solid #eeeaf4; background: #fff; }
.ai-chat-prompts button { min-height: 44px; flex: 0 0 auto; padding: 7px 12px; border: 1px solid #e6d7cf; border-radius: 999px; color: #8e351b; background: #fff7f2; font: inherit; font-size: 12px; font-weight: 750; transition: border-color 160ms ease, background 160ms ease, color 160ms ease; }
.ai-chat-prompts button:hover { border-color: #ef7650; color: #72270f; background: #ffebe1; }
.ai-chat-form { display: grid; grid-template-columns: minmax(0, 1fr) 68px; align-items: end; gap: 8px; padding: 8px 12px; }
.ai-chat-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.ai-chat-form textarea { width: 100%; min-height: 48px; max-height: 120px; resize: none; padding: 10px 12px; border: 1px solid var(--color-border, #ddd9e9); border-radius: 14px; outline: 0; color: var(--color-text, #263453); background: #fff; font: inherit; font-size: 13px; line-height: 1.65; }
.ai-chat-form textarea:focus-visible { border-color: var(--color-primary, #172b52); box-shadow: 0 0 0 3px rgb(23 43 82 / 14%); }
.ai-chat-form .button { min-height: 48px; padding-inline: 8px; border-color: #cf421c; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #f15a2b, #d83e18); box-shadow: 0 5px 13px rgb(216 62 24 / 20%); font-size: 12px; }
.ai-chat-form :disabled { cursor: not-allowed; opacity: .58; }
.ai-chat-privacy { margin: 0; padding: 0 13px 11px; color: var(--color-text-muted, #656b79); font-size: 10px; line-height: 1.6; }
@media (max-width: 480px) {
  .ai-assistant { inset-inline-end: 12px; bottom: max(12px, env(safe-area-inset-bottom)); gap: 9px; }
  .ai-chat-panel { width: calc(100vw - 24px); height: min(66dvh, 570px); min-height: min(410px, calc(100dvh - 70px)); border-radius: 19px; }
  .ai-chat-header { min-height: 72px; padding: 10px 12px; }
  .ai-chat-mark { width: 46px; height: 46px; border-radius: 15px; }
  .ai-chat-prompts { flex-wrap: nowrap; max-height: none; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  .ai-chat-prompts::-webkit-scrollbar { display: none; }
  .ai-chat-prompts button { min-height: 44px; }
  .ai-chat-open { min-height: 54px; padding-inline: 12px 16px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .ai-chat-open { transition: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero-scene { opacity: 0; visibility: hidden; }
  .hero-scene.is-active { opacity: 1; visibility: visible; }
  .hero-scene.is-active .scene-image, .scene-status, .progress-track i { animation: none !important; }
  .motion-toggle { display: none; }
}

@media (forced-colors: active) {
  :focus-visible { outline: 2px solid Highlight; outline-offset: 2px; }
  .filter-chip.active, .button-dark, .search-button { border: 1px solid ButtonText; }
}

/* املاک الف — تصویری دقیق از جستجوی خانه در تهران */
body { background: var(--color-background); color: var(--color-text); }
.site-header { border-color: rgb(222 220 235 / 82%); background: rgb(250 249 254 / 94%); }
.site-header.is-scrolled { border-color: var(--color-border); background: rgb(255 255 255 / 97%); box-shadow: 0 4px 18px rgb(23 40 77 / 6%); }
.brand-mark { border-color: transparent; color: var(--color-accent-strong); background: transparent; }
.brand-mark svg { width: 34px; height: 34px; }
.brand-mark img { display: block; width: 38px; height: 38px; object-fit: contain; }
.brand-copy strong { color: var(--color-primary); }
.brand-copy small { color: var(--color-text-muted); }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--color-accent-strong); }
.desktop-nav a::after { background: var(--color-accent); }
.nav-actions .search-trigger, .login-link { color: var(--color-primary); }
.nav-actions .search-trigger:hover { border-color: #e5e2f0; color: var(--color-accent-strong); background: #fff; }
.button-accent { color: #fff; background: var(--color-accent-strong); }
.button-accent:hover { color: #fff; background: #ad2c06; }
.button-dark { color: #fff; background: var(--color-primary); }
.button-dark:hover { background: var(--color-primary-strong); }
.button-outline:hover { border-color: var(--color-primary); background: #f3f1fa; }

.hero { padding-block: 23px 38px; background: linear-gradient(115deg, #faf9fe 0%, #f5f2fc 55%, #f1eff9 100%); }
.hero-inner { grid-template-columns: minmax(0, 1.65fr) minmax(280px, .82fr); align-items: center; column-gap: clamp(24px, 4vw, 58px); row-gap: 0; }
.hero-visual { position: relative; grid-column: 1; grid-row: 1; min-width: 0; height: clamp(330px, 31vw, 430px); overflow: hidden; isolation: isolate; border: 1px solid rgb(23 40 77 / 8%); border-radius: 22px; background: #d9deeb; box-shadow: 0 14px 34px rgb(23 40 77 / 9%); }
.hero-city-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-photo-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgb(23 40 77 / 13%) 0%, transparent 44%, rgb(17 22 28 / 10%) 64%, rgb(17 22 28 / 22%) 100%), linear-gradient(0deg, rgb(23 40 77 / 24%), transparent 32%); pointer-events: none; }
.hero-copy { grid-column: 2; grid-row: 1; justify-self: end; max-width: 370px; padding: 12px 0; text-align: right; }
.hero-copy .eyebrow { display: none; }
.hero h1 { display: grid; gap: 0; max-width: 100%; margin: 0 0 16px; color: var(--color-primary); font-size: clamp(39px, 4.35vw, 58px); font-weight: 800; line-height: 1.25; letter-spacing: -.035em; }
.hero h1 span { display: block; }
.hero h1 .hero-title-accent { color: var(--color-accent-strong); }
.hero h1 .hero-title-plain { max-width: 100%; color: var(--color-primary); }
.hero-copy p { max-width: 345px; margin: 0; color: var(--color-text-muted); font-size: 17px; line-height: 1.9; }
.hero-proof { align-items: center; gap: 9px; margin-top: 15px; color: var(--color-text-muted); font-size: 13px; }
.hero-proof > span:last-child { padding: 0; border: 0; background: none; }
.hero-proof i { display: none; }
.review-mark { display: grid; width: 25px; height: 25px; flex: 0 0 auto; place-items: center; color: var(--color-accent-strong); }
.review-mark svg { width: 22px; height: 22px; }

.tehran-map { position: absolute; z-index: 2; top: 7%; bottom: 7%; left: 3%; width: 54%; overflow: hidden; border: 1px solid rgb(222 220 235 / 90%); border-radius: 18px; background: rgb(250 249 254 / 94%); box-shadow: 0 12px 32px rgb(23 40 77 / 12%); }
.tehran-map-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-park { fill: #e6eee3; stroke: #d5e3d6; stroke-width: 1.5; }
.map-road { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.map-road-wide { stroke: #e4e2ef; stroke-width: 11; }
.map-road-fine { stroke: #e9e7f1; stroke-width: 2.5; }
.map-route { fill: none; stroke: var(--color-accent); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 5 8; }
.map-main-pin { position: absolute; z-index: 2; top: 43%; left: 54%; display: grid; width: 40px; height: 40px; place-items: center; color: var(--color-accent); filter: drop-shadow(0 3px 3px rgb(23 40 77 / 20%)); }
.map-main-pin svg { width: 36px; height: 36px; }
.map-city-label { position: absolute; z-index: 2; top: calc(43% + 34px); left: calc(54% - 7px); color: var(--color-primary); font-size: 15px; font-weight: 800; }
.map-note { position: absolute; right: 12px; bottom: 8px; z-index: 2; padding: 2px 7px; border-radius: 4px; color: var(--color-text-muted); background: rgb(250 249 254 / 92%); font-size: 11px; }
.map-neighborhoods { position: absolute; z-index: 3; inset: 0; }
.map-neighborhood { position: absolute; display: grid; width: clamp(66px, 7.2vw, 92px); overflow: hidden; padding: 4px; border: 1px solid #e5e3ef; border-radius: 10px; color: var(--color-primary); background: #fff; box-shadow: 0 5px 12px rgb(23 40 77 / 12%); text-align: center; transition: transform var(--motion-fast) ease, box-shadow var(--motion-fast) ease; }
.map-neighborhood:hover, .map-neighborhood:focus-visible { z-index: 4; box-shadow: 0 8px 19px rgb(23 40 77 / 18%); transform: translateY(-2px); }
.map-neighborhood:nth-child(1) { top: 8%; left: 8%; }
.map-neighborhood:nth-child(2) { top: 9%; right: 7%; }
.map-neighborhood:nth-child(3) { bottom: 15%; left: 7%; }
.map-neighborhood:nth-child(4) { right: 7%; bottom: 13%; }
.map-neighborhood img { display: block; width: 100%; height: clamp(34px, 3.8vw, 48px); border-radius: 7px; object-fit: cover; }
.map-neighborhood span { overflow: hidden; padding-top: 2px; font-size: 11px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.hero-photo-label { position: absolute; z-index: 2; right: 16px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border: 1px solid rgb(255 255 255 / 47%); border-radius: 20px; color: #fff; background: rgb(23 40 77 / 62%); font-size: 12px; }
.hero-photo-label-mark { width: 7px; height: 7px; border-radius: 50%; background: #ff6a36; }
.hero-survey { display: none; }

.search-panel { grid-column: 1 / -1; grid-row: 2; margin-top: -22px; padding: 12px 16px 10px; border: 1px solid #e4e1ef; border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgb(23 40 77 / 9%); }
.search-tabs { justify-content: flex-start; gap: 6px; padding-bottom: 8px; border-color: #eeeaf5; }
.search-tab { min-width: 78px; border-radius: 7px; color: var(--color-text-muted); }
.search-tab:hover { color: var(--color-accent-strong); background: #fff4ef; }
.search-tab.active { border-color: transparent; color: var(--color-accent-strong); background: #fff1ea; box-shadow: inset 0 -2px var(--color-accent); }
.search-fields { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding-top: 9px; }
.field { min-height: 52px; border-color: #e5e2ef; border-radius: 9px; }
.field:focus-within { border-color: var(--color-primary); box-shadow: var(--focus-ring); }
.field-icon { color: var(--color-accent-strong); background: #fff0e9; }
.field input::placeholder { color: #77819a; }
.search-button { min-width: 122px; border-color: var(--color-accent-strong); border-radius: 9px; color: #fff; background: var(--color-accent-strong); }
.search-button:hover { background: #ad2c06; }
.search-button svg { order: -1; }
.search-footer { margin-top: 6px; color: var(--color-text-muted); }
.search-footer a { color: var(--color-primary); }
.search-filter-disclosure { width: 100%; margin-top: 10px; border-color: #e5e2ef; background: #fff; }
.search-filter-disclosure > summary { min-height: 46px; padding-inline: 12px; }
.search-filter-disclosure > summary:hover { border-radius: inherit; }
.search-filter-disclosure[open] { border-color: #d6d1e6; }

.category-page .hero { padding-block: 25px 30px; }
.category-page .hero-inner { grid-template-columns: minmax(0, 1fr); row-gap: 12px; }
.category-page .hero-visual { display: none; }
.category-page .hero-copy { grid-column: 1; grid-row: 1; justify-self: stretch; max-width: 850px; padding: 0; }
.category-page .hero h1 { display: block; margin: 0 0 5px; font-size: clamp(28px, 3vw, 38px); line-height: 1.4; }
.category-page .hero h1 span { display: inline; }
.category-page .hero h1 .hero-title-plain { display: inline; }
.category-page .hero-copy p { max-width: 740px; font-size: 15px; }
.category-page .hero-proof { display: none; }
.category-page .search-panel { grid-row: 2; margin-top: 0; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1.35fr) minmax(248px, .8fr); column-gap: 24px; }
  .hero-visual { height: 350px; }
  .hero h1 { font-size: clamp(35px, 5.3vw, 48px); }
  .tehran-map { width: 58%; }
  .search-panel { margin-top: -18px; }
}

@media (max-width: 760px) {
  .site-header { background: rgb(250 249 254 / 97%); }
  .nav-wrap { min-height: 66px; }
  .menu-button span { background: var(--color-primary); }
  .mobile-nav {
    position: fixed;
    z-index: 30;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(88vw, 360px);
    height: 100vh;
    height: 100dvh;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 4px;
    overflow-y: auto;
    padding: calc(env(safe-area-inset-top) + 110px) 18px calc(env(safe-area-inset-bottom) + 20px);
    border: 0;
    border-left: 1px solid #e1deed;
    border-radius: 0;
    background: #fff;
    box-shadow: -18px 0 42px rgb(23 43 82 / 16%);
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 280ms cubic-bezier(.2, .75, .25, 1), visibility 280ms;
    overscroll-behavior: contain;
  }
  .mobile-nav.open { transform: translateX(0); visibility: visible; pointer-events: auto; }
  .menu-button.open { position: relative; z-index: 31; }
  .mobile-nav a:hover, .mobile-nav a.active { color: var(--color-accent-strong); background: #fff1ea; }
  .hero { padding-block: 20px 25px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); row-gap: 15px; }
  .hero-copy { grid-column: 1; grid-row: 1; justify-self: stretch; max-width: none; padding: 0 2px; }
  .hero h1 { max-width: 15ch; margin-bottom: 8px; font-size: clamp(33px, 9vw, 43px); line-height: 1.25; }
  .hero-copy p { max-width: 520px; font-size: 15px; }
  .hero-proof { margin-top: 8px; font-size: 12px; }
  .hero-visual { grid-column: 1; grid-row: 2; height: clamp(230px, 65vw, 330px); border-radius: 15px; }
  .tehran-map { top: 7%; bottom: 7%; left: 3%; width: 60%; border-radius: 13px; }
  .map-neighborhood { width: 72px; }
  .map-neighborhood img { height: 35px; }
  .map-neighborhood span { font-size: 10px; }
  .map-main-pin { width: 34px; height: 34px; }
  .map-main-pin svg { width: 31px; height: 31px; }
  .map-city-label { font-size: 13px; }
  .map-note { right: 7px; bottom: 5px; max-width: calc(100% - 14px); overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
  .hero-photo-label { right: 9px; bottom: 9px; padding: 4px 8px; font-size: 10px; }
  .search-panel { grid-column: 1; grid-row: 3; margin-top: -27px; padding: 10px; border-radius: 14px; }
  .search-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding-bottom: 7px; }
  .search-tab { min-width: 0; min-height: 44px; padding-inline: 3px; font-size: 12px; white-space: nowrap; }
  .search-fields { grid-template-columns: minmax(0, 1fr) 94px; gap: 7px; padding-top: 8px; }
  .field { min-height: 48px; gap: 7px; padding-inline: 8px; }
  .field-icon { width: 27px; height: 27px; }
  .field > span:nth-child(2) label { font-size: 11px; }
  .field input { font-size: 13px; }
  .search-button { min-width: 0; min-height: 48px; gap: 5px; padding-inline: 9px; font-size: 13px; }
  .search-footer { gap: 5px; font-size: 11px; }
  .search-footer a { white-space: nowrap; }
  .category-page .hero { padding-block: 18px 22px; }
  .category-page .hero-inner { grid-template-columns: minmax(0,1fr); row-gap: 12px; }
  .category-page .hero-visual { display: none; }
  .category-page .hero-copy { grid-column: 1; grid-row: 1; }
  .category-page .hero h1 { margin-block: 0 5px; font-size: 29px; }
  .category-page .search-panel { grid-row: 2; margin-top: 5px; }
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .mobile-nav { transition: none; }
}

@media (max-width: 420px) {
  .container { width: calc(100% - 28px); }
  .hero h1 { font-size: clamp(31px, 8.8vw, 37px); }
  .map-neighborhood { width: 66px; }
  .search-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-footer { align-items: flex-start; flex-direction: column; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .map-route { stroke-dasharray: none !important; }
}

/* Homepage art direction: match the supplied Tehran property-market reference. */
.desktop-nav a[data-route="/"] { display: inline-flex; }
.service-strip { position: relative; z-index: 1; padding: 21px 0; border-block: 1px solid #eeeaf7; background: #f3f0fb; }
.service-strip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.service-item { display: flex; min-width: 0; min-height: 56px; align-items: center; gap: 12px; padding: 5px 8px; border-radius: 10px; transition: background-color var(--motion-fast) ease, transform var(--motion-fast) ease; }
.service-item:hover { background: #fff; transform: translateY(-2px); }
.service-icon { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; color: var(--color-accent); }
.service-icon svg { width: 34px; height: 34px; }
.service-item > span:last-child { display: grid; min-width: 0; gap: 0; line-height: 1.65; }
.service-item strong { color: var(--color-primary); font-size: 14px; font-weight: 750; }
.service-item small { color: var(--color-text-muted); font-size: 12px; }

.listings-section { padding-block: 30px 42px; background: #fff; }
.section-heading { align-items: center; }
.section-heading h2 { margin-top: 2px; font-size: clamp(24px, 2.4vw, 30px); }
.section-heading .eyebrow { display: none; }
.text-link { border: 1px solid var(--color-primary); border-radius: 9px; padding-inline: 14px; }
.text-link:hover { color: var(--color-accent-strong); border-color: var(--color-accent-strong); text-decoration: none; }
.filter-row { display: none; }
.listing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.listing-card { border-color: #eceaf1; border-radius: 11px; background: #fff; box-shadow: 0 4px 12px rgb(23 40 77 / 5%); }
.listing-card:hover, .listing-card:focus-within { border-color: #d4cfe2; box-shadow: 0 12px 26px rgb(23 40 77 / 10%); }
.listing-image { aspect-ratio: 1.62; background: #ecebf1; }
.listing-tag { top: 10px; right: 10px; border: 0; border-radius: 7px; color: #fff; background: var(--color-accent-strong); }
.listing-tag-terracotta, .listing-tag-dark { color: #fff; background: var(--color-accent-strong); }
.listing-featured-tag { top: 46px; }
.heart-button { top: 8px; left: 8px; width: 40px; height: 40px; border: 1px solid rgb(255 255 255 / 54%); border-radius: 50%; color: #fff; background: rgb(23 40 77 / 28%); backdrop-filter: blur(3px); }
.heart-button:hover, .heart-button.liked { color: #fff; background: var(--color-accent-strong); }
.listing-body { padding: 12px 13px 11px; }
.listing-meta { justify-content: flex-start; gap: 4px 10px; font-size: 12px; }
.listing-meta span:first-child { color: var(--color-accent-strong); }
.listing-card .listing-meta span:first-child { display: none; }
.listing-body h3 { min-height: 2.9em; margin: 4px 0 8px; font-size: 16px; line-height: 1.7; }
.listing-body h3 a:hover { color: var(--color-accent-strong); }
.listing-specs { gap: 4px 13px; font-size: 12px; }
.listing-specs span + span::before { right: -8px; background: #aaa8b6; }
.listing-bottom { min-height: 34px; margin-top: 7px; padding-top: 5px; border-top: 0; }
.listing-bottom strong { color: var(--color-accent-strong); font-size: 14px; }
.listing-load-status { min-height: 0; padding-block: 18px; }

.neighborhood-section { padding-block: 6px 14px; background: #fff; }
.neighborhood-layout { display: grid; direction: ltr; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); align-items: center; gap: 30px; }
.neighborhood-photo { position: relative; min-width: 0; height: clamp(190px, 22vw, 280px); overflow: hidden; border-radius: 0 18px 18px 0; background: #e7e4ec; }
.neighborhood-photo::after { position: absolute; inset: 45% 0 0; background: linear-gradient(0deg, rgb(16 33 66 / 38%), transparent); content: ''; pointer-events: none; }
.neighborhood-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.neighborhood-photo > span { position: absolute; z-index: 1; bottom: 12px; left: 14px; padding: 3px 10px; border-radius: 18px; color: #fff; background: rgb(23 43 82 / 72%); font-size: 12px; }
.neighborhood-copy { min-width: 0; direction: rtl; }
.neighborhood-copy h2 { margin: 3px 0 2px; color: var(--color-primary); font-size: clamp(23px, 2.4vw, 30px); line-height: 1.5; }
.neighborhood-copy > p { margin: 0 0 14px; color: var(--color-text-muted); font-size: 14px; }
.neighborhood-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.neighborhood-card { min-width: 0; overflow: hidden; padding: 0 0 7px; border: 1px solid #eeecf3; border-radius: 9px; color: var(--color-primary); background: #fff; box-shadow: 0 3px 10px rgb(23 40 77 / 5%); text-align: right; transition: border-color var(--motion-fast) ease, transform var(--motion-fast) ease, box-shadow var(--motion-fast) ease; }
.neighborhood-card:hover { border-color: #d6d0e4; box-shadow: 0 7px 16px rgb(23 40 77 / 9%); transform: translateY(-2px); }
.neighborhood-image { display: block; height: clamp(54px, 6vw, 78px); overflow: hidden; }
.neighborhood-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--motion-ease); }
.neighborhood-card:hover .neighborhood-image img { transform: scale(1.04); }
.neighborhood-card-copy { display: grid; gap: 0; padding: 5px 7px 0; }
.neighborhood-card-copy strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.neighborhood-card-copy > span { color: var(--color-text-muted); font-size: 10px; }
.neighborhood-card-arrow { display: none; }
.neighborhood-empty { grid-column: 1 / -1; margin: 0; padding: 14px; border: 1px dashed var(--color-border); border-radius: 9px; color: var(--color-text-muted); font-size: 13px; }

.seller-section { padding-block: 6px 14px; background: #fff; }
.seller-card { display: flex; flex-direction: row-reverse; min-height: 210px; gap: 30px; padding: 0; border: 1px solid #efedf4; border-radius: 15px; color: var(--color-text); background: #f7f5fb; }
.seller-card::before { display: none; }
.seller-photo { min-width: 0; flex: 1.25 1 0; overflow: hidden; border-radius: 15px 0 0 15px; }
.seller-photo img { display: block; width: 100%; height: 100%; min-height: 210px; object-fit: cover; object-position: center 45%; }
.seller-content { max-width: 510px; flex: 1 1 0; align-self: center; padding: 22px 28px; color: var(--color-text); }
.seller-card h2 { margin: 4px 0; color: var(--color-primary); font-size: clamp(24px, 2.5vw, 31px); }
.seller-card p { margin: 0 0 12px; color: var(--color-text-muted); font-size: 14px; }
.seller-card .eyebrow { color: var(--color-text-muted); }
.seller-card .eyebrow-dot { background: var(--color-accent); }
.seller-card .button-accent { min-width: 180px; }
.seller-stats, .seller-orb { display: none !important; }

.site-footer { padding: 36px 0 15px; color: #f4f3fa; background: #172b52; }
.footer-grid { border-color: rgb(255 255 255 / 22%); }
.site-footer .brand-mark { color: #ff5a24; }
.site-footer .brand-copy small { color: #c6cde0; }
.footer-brand p, .site-footer > .container > div:not(.footer-brand) a, .footer-contact p { color: #d8deed; }
.footer-bottom { color: #c6cde0; }

@media (min-width: 761px) {
  .hero { padding-block: 22px 28px; }
  .hero-inner { grid-template-columns: minmax(0, 1.65fr) minmax(290px, .82fr); }
}

@media (max-width: 1050px) and (min-width: 761px) {
  .listing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .service-strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
  .neighborhood-layout { gap: 20px; }
  .neighborhood-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .neighborhood-image { height: 70px; }
}

@media (max-width: 760px) {
  .desktop-nav a[data-route="/"] { display: inline-flex; }
  .hero-inner { row-gap: 13px; }
  .hero-visual { grid-row: 2; }
  .search-panel { grid-row: 3; margin-top: -8px; }
  .category-page .search-panel { grid-row: 2; margin-top: 0; }
  .service-strip { padding: 12px 0; }
  .service-strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .service-item { gap: 7px; padding-inline: 2px; }
  .service-icon { width: 34px; height: 34px; }
  .service-icon svg { width: 28px; height: 28px; }
  .service-item strong { font-size: 12px; }
  .service-item small { font-size: 10px; }
  .listings-section { padding-block: 26px 30px; }
  .section-heading { align-items: flex-start; flex-direction: row; gap: 10px; }
  .section-heading h2 { font-size: 23px; }
  .section-heading .text-link { min-height: 40px; padding-inline: 9px; font-size: 11px; white-space: nowrap; }
  .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .listing-image { aspect-ratio: 1.4; }
  .listing-body { padding: 9px 10px; }
  .listing-meta { font-size: 10px; }
  .listing-body h3 { min-height: 3.2em; margin: 4px 0; font-size: 13px; }
  .listing-specs { gap: 3px 11px; font-size: 10px; }
  .listing-bottom { min-height: 29px; }
  .listing-bottom strong { font-size: 12px; }
  .neighborhood-section { padding-block: 4px 12px; }
  .neighborhood-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .neighborhood-photo { height: 190px; border-radius: 12px; }
  .neighborhood-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .neighborhood-image { height: 55px; }
  .neighborhood-card-copy { padding-inline: 5px; }
  .neighborhood-card-copy strong { font-size: 10px; }
  .neighborhood-card-copy > span { font-size: 9px; }
  .seller-section { padding-block: 4px 12px; }
  .seller-card { flex-direction: column; gap: 0; }
  .seller-photo { width: 100%; flex: auto; max-height: 210px; border-radius: 14px 14px 0 0; }
  .seller-photo img { min-height: 190px; max-height: 210px; }
  .seller-content { width: 100%; padding: 18px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
  .hero-visual { height: clamp(220px, 62vw, 270px); }
  .tehran-map { width: 63%; }
  .map-neighborhood { width: 65px; }
  .map-neighborhood img { height: 31px; }
  .map-neighborhood span { font-size: 9px; }
  .search-panel { padding: 9px; }
  .search-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; }
  .search-tab { min-width: 0; padding-inline: 3px; font-size: 11px; }
  .search-fields { grid-template-columns: minmax(0, 1fr) 90px; }
  .search-button { min-width: 90px; padding-inline: 8px; }
  .section-heading .text-link { max-width: 122px; white-space: normal; text-align: center; }
  .neighborhood-photo { height: 160px; }
  .neighborhood-image { height: 44px; }
  .neighborhood-card-copy > span { display: none; }
}

/* Carry the new visual language onto listing, account, and admin routes. */
.category-page .service-strip, .category-page .neighborhood-section { display: none; }
.property-favorite:hover, .property-favorite.liked { border-color: #f3b39e; color: var(--color-accent-strong); background: #fff5f0; }
.test-notice { border-color: #ded8ee; background: #f4f1fb; }
.auth-tab:hover, .dashboard-tab:hover { background: #f1eff8; }
.auth-tab.active, .dashboard-tab.active { border-color: #d5cfe6; color: var(--color-primary); background: #f0edfa; }
.listing-form input[type=file] { border-color: #c9c3d9; background: #faf9fd; }
.status-pill { border-color: #dfcea7; }
.status-pill.published { border-color: #bcd2c3; }
.toast { border-color: rgb(255 255 255 / 23%); }
.toast-icon { color: #fff; background: var(--color-accent-strong); }

@media (max-width: 760px) {
  .map-note { font-size: 10px; }
  .hero-photo-label { font-size: 11px; }
  .service-item small { font-size: 11px; }
  .listing-meta, .listing-specs { font-size: 11px; }
  .map-neighborhood { width: 70px; }
  .map-neighborhood span { font-size: 10px; }
}

@media (max-width: 420px) {
  .search-tab:last-child { white-space: normal; line-height: 1.25; }
  .map-neighborhood { width: 66px; }
}

/* Nationwide animated Iran map and photo-side service copy. */
.hero-photo-shade { background: linear-gradient(90deg, rgb(23 40 77 / 7%), transparent 40%, rgb(10 24 32 / 48%)), linear-gradient(0deg, rgb(23 40 77 / 22%), transparent 27%); }
.iran-map { position: absolute; z-index: 2; top: 7%; bottom: 7%; left: 3%; width: 54%; overflow: hidden; border: 1px solid rgb(255 255 255 / 92%); border-radius: 18px; background: rgb(255 255 255 / 7%); box-shadow: 0 12px 28px rgb(23 40 77 / 10%); }
.iran-canvas { position: absolute; z-index: 1; top: 3%; left: 50%; height: 79%; aspect-ratio: 1000 / 912.4; transform: translateX(-50%); }
.iran-overlay { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; opacity: .94; }
.iran-location { position: absolute; z-index: 3; left: var(--map-x); top: var(--map-y); width: 0; height: 0; color: #193a32; }
.iran-location i { position: absolute; top: 0; left: 0; display: block; width: 12px; height: 12px; border: 2px solid #fff; border-radius: 50%; background: #ff5b35; box-shadow: 0 1px 8px rgb(21 34 45 / 55%), 0 0 0 3px rgb(255 91 53 / 22%); transform: translate(-50%, -50%); }
.iran-location i::after { position: absolute; inset: 2px; border-radius: 50%; background: #fff; content: ''; }
.iran-location b { position: absolute; top: 50%; left: 8px; padding: 2px 5px; border: 1px solid rgb(220 221 222 / 88%); border-radius: 6px; color: #193a32; background: rgb(255 255 255 / 97%); box-shadow: 0 2px 7px rgb(32 53 43 / 11%); font-size: 8px; font-weight: 750; line-height: 1.4; white-space: nowrap; transform: translateY(-50%); }
.loc-tehran b, .loc-ahvaz b, .loc-shiraz b, .loc-bandar b { right: 8px; left: auto; }
.loc-mashhad b { top: auto; right: auto; bottom: 8px; left: 0; transform: translate(-50%, 0); }
.hero-map-copy { position: absolute; z-index: 4; top: 50%; right: 4%; display: flex; width: 34%; flex-direction: column; align-items: flex-start; gap: 7px; padding-inline-start: 16px; border-inline-start: 2px solid rgb(246 177 94 / 92%); transform: translateY(-50%); direction: rtl; text-align: right; }
.hero-map-copy-line { display: block; max-width: 100%; color: #fff; font-size: clamp(19px, 2.05vw, 28px); font-weight: 900; letter-spacing: -.025em; line-height: 1.38; white-space: nowrap; -webkit-text-stroke: .25px rgb(8 24 20 / 42%); text-shadow: 0 2px 3px rgb(7 20 17 / 88%), 0 0 12px rgb(255 255 255 / 30%); }
.hero-map-copy-line--listing { font-size: clamp(23px, 2.45vw, 33px); }
.hero-map-copy-line--consult { font-size: clamp(16px, 1.62vw, 22px); }
.hero-map-copy-line--listing, .hero-map-copy-line--trade, .hero-map-copy-line--review, .hero-map-copy-line--consult, .hero-map-copy-line--country { color: #fff; }

.public-listing-section { background: #f7f5fb; scroll-margin-top: 90px; }
.public-listing-section .section-heading { margin-bottom: 20px; }
.public-listing-section .section-heading p { margin: 6px 0 0; color: var(--color-text-muted); font-size: 14px; }
.listing-form-public { max-width: 100%; gap: 16px; padding: clamp(16px, 3vw, 30px); box-shadow: 0 12px 32px rgb(23 43 82 / 6%); }
.listing-form-public .form-section { min-width: 0; margin: 0; padding: 16px; border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.listing-form-public .form-section legend { padding-inline: 8px; color: var(--color-primary); font-size: 15px; font-weight: 750; }
.listing-form-public .form-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.listing-form-public .form-grid-amenities { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.listing-form-public .form-grid > [hidden] { display: none !important; }
.deal-price-hint { margin: 0; padding: 10px 12px; border-inline-start: 3px solid var(--color-accent); border-radius: 6px; color: var(--color-text-muted); background: #f8f6fc; font-size: 13px; line-height: 1.8; }
.condition-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); align-items: stretch; gap: 8px; }
.condition-options label { box-sizing: border-box; display: flex; width: 100%; max-width: 100%; min-width: 0; min-height: 40px; align-items: center; justify-content: flex-start; gap: 8px; padding: 6px 9px; border: 1px solid var(--color-border); border-radius: var(--radius-md); color: var(--color-text); background: #fff; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; cursor: pointer; }
.listing-form .managed-listing-section > .form-grid > fieldset[data-core-field-key="specialConditions"] { grid-column: 1 / -1; min-width: 0; margin: 0; padding: 0; border: 0; }
.listing-form .managed-listing-section > .form-grid > fieldset[data-core-field-key="specialConditions"] > legend { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.listing-form .managed-listing-section > .form-grid > fieldset[data-core-field-key="specialConditions"] > .condition-options { width: 100%; }
.listing-form .managed-listing-section > .form-grid > fieldset[data-core-field-key="specialConditions"][hidden] { display: none !important; }
.listing-form .condition-options input[type="checkbox"] { box-sizing: border-box; flex: 0 0 18px; width: 18px; height: 18px; min-width: 18px; min-height: 18px; margin: 0; padding: 0; border: 0; border-radius: 3px; background: transparent; box-shadow: none; appearance: auto; accent-color: var(--color-accent); }
.listing-form .condition-options input[type="checkbox"]:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.contact-privacy-note { margin: 0; color: var(--color-text-muted); font-size: 13px; line-height: 1.8; }
.listing-form input[readonly] { color: var(--color-primary); background: #f3f1f8; font-weight: 700; }
.ad-submit-cta { min-height: 60px; justify-self: stretch; border-color: var(--color-accent-strong); background: linear-gradient(115deg, #f45718, #c93409); box-shadow: 0 8px 20px rgb(203 53 8 / 22%); font-size: 18px; font-weight: 800; }
.ad-submit-cta:hover { background: #ad2c06; box-shadow: 0 10px 24px rgb(203 53 8 / 28%); transform: translateY(-1px); }
.ad-submit-cta > span { margin-inline-end: 7px; font-size: 24px; line-height: 1; }
.property-request-card { display: grid; grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr); gap: 24px; align-items: center; margin-top: 24px; padding: clamp(18px, 3vw, 28px); border: 1px solid #e5e0ef; border-radius: var(--radius-lg); background: linear-gradient(125deg, #fff, #f1eef9); box-shadow: 0 12px 28px rgb(23 43 82 / 5%); }
.property-request-card h2 { margin: 7px 0 5px; color: var(--color-primary); font-size: 23px; }
.property-request-card > div > p { margin: 0; color: var(--color-text-muted); font-size: 14px; line-height: 1.9; }
.property-request-form { max-width: none; padding: 0; border: 0; background: transparent; box-shadow: none; }
.public-demands-section { border-block: 1px solid #ebe7f2; background: #fff; }
.public-demands-section .section-heading { margin-bottom: 18px; }
.public-demands-section .section-heading p { margin: 6px 0 0; color: var(--color-text-muted); font-size: 14px; line-height: 1.8; }
.property-demand-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 14px; }
.property-demand-card { display: grid; gap: 12px; min-width: 0; padding: 18px; border: 1px solid var(--color-border); border-inline-start: 3px solid var(--color-accent); border-radius: var(--radius-md); background: #fbfaff; }
.property-demand-location { display: flex; align-items: center; gap: 10px; color: var(--color-primary); }
.property-demand-location > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; color: var(--color-accent-strong); background: #fff0e9; font-size: 24px; }
.property-demand-location div { display: grid; gap: 2px; }
.property-demand-location small, .property-demand-privacy { color: var(--color-text-muted); font-size: 12px; }
.property-demand-location strong { font-size: 16px; }
.property-demand-card p { margin: 0; color: var(--color-text); font-size: 14px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; }
.demand-empty, .demand-load-status { grid-column: 1 / -1; margin: 0; padding: 18px; color: var(--color-text-muted); text-align: center; }
.demand-empty { display: grid; gap: 5px; border: 1px dashed var(--color-border); border-radius: var(--radius-md); }
.demand-empty strong { color: var(--color-primary); }
.admin-edit-details { grid-column: 1 / -1; min-width: 0; margin-top: 10px; border-top: 1px solid var(--color-border); }
.admin-edit-details > summary { min-height: 48px; padding: 9px 4px; color: var(--color-primary); font-weight: 750; cursor: pointer; }
.admin-edit-form { width: 100%; max-width: none; }
.admin-edit-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-current-images strong { color: var(--color-text-muted); font-size: 13px; }
.admin-request-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.admin-request-row + .admin-request-row { margin-top: 10px; }
.admin-request-row h3, .admin-request-row p { margin: 0 0 4px; }
.admin-request-row p { white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-request-location { color: var(--color-primary) !important; font-weight: 700; }
.admin-request-editor { grid-column: 1 / -1; min-width: 0; border-top: 1px solid var(--color-border); }
.admin-request-editor > summary { min-height: 46px; padding: 11px 3px; color: var(--color-primary); font-weight: 750; cursor: pointer; }
.admin-request-edit-form { display: grid; gap: 12px; padding: 12px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: #fbfaff; }
.admin-request-edit-form .admin-edit-actions { justify-content: flex-start; }
.admin-request-row small { color: var(--color-text-muted); }
.form-success { margin: 0; padding: 12px 14px; border: 1px solid #bcd2c3; border-radius: var(--radius-md); color: #245b3e; background: #eaf3ed; font-size: 14px; line-height: 1.9; }
.dashboard-tab { display: inline-flex; align-items: center; text-decoration: none; }

@media (max-width: 760px) {
  .property-request-card { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .admin-request-row { grid-template-columns: minmax(0, 1fr); }
  .iran-map { top: 7%; bottom: 7%; left: 3%; width: 60%; background: rgb(255 255 255 / 7%); }
  .iran-location b { padding: 1px 4px; font-size: 7.5px; line-height: 1.35; }
  .loc-tehran b, .loc-ahvaz b, .loc-shiraz b, .loc-bandar b { right: 7px; left: auto; }
  .loc-mashhad b { top: auto; right: auto; bottom: 7px; left: 0; transform: translate(-50%, 0); }
  .loc-tabriz b, .loc-mashhad b { font-size: 7px; }
  .iran-location i { width: 10px; height: 10px; }
  .hero-map-copy { right: 2.5%; width: 34%; gap: 6px; }
  .hero-map-copy-line { font-size: clamp(15px, 3.1vw, 19px); }
  .hero-map-copy-line--listing, .hero-map-copy-line--trade { font-size: clamp(16px, 3.3vw, 20px); }
  .hero-map-copy-line--country { font-size: clamp(14px, 2.9vw, 18px); }
  .listing-form-public .form-grid, .listing-form-public .form-grid-amenities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .condition-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
}

@media (max-width: 420px) {
  .iran-map { width: 60%; }
  .hero-map-copy { width: 34%; }
}

/* Consistent nationwide search, category filters, and honest listing guidance. */
.hero { background: linear-gradient(112deg, #fbfaff 0%, #f5f2fc 56%, #f1eff9 100%); }
.search-panel { border-color: #e1ddec; border-top-color: var(--color-accent); background: rgb(255 255 255 / 97%); }
.search-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.search-tab { border-radius: 7px; }
.search-tab:hover { color: var(--color-primary); background: #f4f1fb; }
.search-tab.active { border-color: #f4c3b0; color: var(--color-accent-strong); background: #fff4ef; box-shadow: inset 0 -2px var(--color-accent); }
.search-fields { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) 128px; }
.field-icon { color: var(--color-accent-strong); background: #f4f1fb; }
.field input::placeholder { color: #77809a; }
.search-button { border-color: var(--color-accent-strong); color: #fff; background: var(--color-accent-strong); }
.search-button:hover { background: #ad2c06; }
.filter-row { display: flex; gap: 8px; margin-block: 18px 16px; }
.filter-chip { border-radius: 8px; }
.filter-chip.active { border-color: var(--color-accent-strong); background: var(--color-accent-strong); }
.active-filters:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -4px 0 16px; }
.active-filter-chip, .clear-filters { display: inline-flex; min-height: 36px; align-items: center; gap: 8px; padding: 5px 10px; border: 1px solid #e0dbea; border-radius: 8px; color: var(--color-primary); background: #f7f5fc; font-size: 13px; cursor: pointer; }
.active-filter-chip span:last-child { color: var(--color-accent-strong); font-size: 17px; line-height: 1; }
.clear-filters { border-color: transparent; color: var(--color-text-muted); background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.filter-note { color: var(--color-text-muted); }
.iran-location { color: var(--color-primary); }
.iran-location i { background: var(--color-accent); box-shadow: 0 1px 8px rgb(16 33 66 / 42%), 0 0 0 3px rgb(241 70 11 / 20%); }
.iran-location b { color: var(--color-primary); }
.hero-map-copy-line { white-space: normal; text-wrap: pretty; }
.hero h1 { font-size: clamp(36px, 3.65vw, 49px); line-height: 1.38; }
.category-page .process-strip { display: none; }
.neighborhood-photo > span { background: rgb(23 43 82 / 82%); }

.process-strip { padding: 12px 0 28px; background: #fff; }
.process-strip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; border: 1px solid #e7e3f0; border-radius: 12px; background: #f5f2fb; }
.process-strip-grid > div { display: flex; min-height: 58px; align-items: center; justify-content: center; gap: 11px; padding: 8px 14px; color: var(--color-primary); }
.process-strip-grid > div + div { border-inline-start: 1px solid #dfd9ec; }
.process-strip-grid > div > span { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #fff; background: var(--color-accent); font-size: 13px; font-weight: 750; }
.process-strip-grid strong { font-size: 14px; font-weight: 700; }

@media (max-width: 1100px) {
  .search-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .search-tab { padding-inline: 7px; font-size: 12px; }
  .search-fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 118px; }
}

@media (max-width: 760px) {
  .hero h1 { font-size: clamp(34px, 8.8vw, 40px); line-height: 1.4; }
  .search-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .search-tab { min-height: 42px; padding-inline: 5px; font-size: 12px; }
  .search-fields { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .search-button { width: 100%; }
  .filter-row { gap: 6px; margin-block: 14px 12px; }
  .filter-chip { min-height: 40px; padding-inline: 10px; font-size: 12px; }
  .process-strip { padding: 4px 0 18px; }
  .process-strip-grid { grid-template-columns: minmax(0, 1fr); }
  .process-strip-grid > div { min-height: 48px; justify-content: flex-start; }
  .process-strip-grid > div + div { border-inline-start: 0; border-top: 1px solid #dfd9ec; }
}

@media (max-width: 420px) {
  .search-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-tab { min-height: 40px; font-size: 11px; }
  .active-filter-chip, .clear-filters { max-width: 100%; font-size: 12px; }
  .hero-map-copy { gap: 5px; }
  .listing-form-public { padding: 13px; }
  .listing-form-public .form-section { padding: 12px; }
  .listing-form-public .form-grid, .listing-form-public .form-grid-amenities { grid-template-columns: minmax(0, 1fr); }
  .condition-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
}

.hero-map-copy-line--consult { font-size: clamp(16px, 1.62vw, 22px); }

/* Published-listing controls: native, URL-backed filters with roomy RTL fields. */
.listing-filter-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: -4px 0 18px; }
.listing-sort-control { display: grid; min-width: 0; min-height: 44px; gap: 5px; color: var(--color-text); font-size: 13px; font-weight: 700; }
.listing-sort-control select, .listing-filter-grid select { min-width: 0; min-height: 44px; padding: 7px 12px; border: 1px solid var(--color-border); border-radius: var(--radius-md); color: var(--color-text); background: var(--color-surface); font-size: 14px; }
.listing-sort-control select { min-width: 220px; }
.listing-sort-control select:hover, .listing-filter-grid select:hover, .listing-price-number input:hover { border-color: #b8b1ce; }
.listing-filter-disclosure { flex: 1 1 100%; min-width: 0; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: rgb(255 255 255 / 88%); }
.filter-panel-heading { display: flex; min-height: 46px; align-items: center; gap: 9px; padding: 8px 12px; color: var(--color-primary); }
.filter-panel-heading h3 { margin: 0; font-size: 14px; font-weight: 750; }
.filter-panel-heading svg { width: 20px; height: 20px; flex: 0 0 auto; }
.filter-active-count { display: inline-grid; min-width: 24px; height: 24px; place-items: center; padding-inline: 6px; border-radius: 12px; color: #fff; background: var(--color-accent-strong); font-size: 12px; line-height: 1; }
.listing-filter-panel { padding: 14px; border-top: 1px solid var(--color-border); }
.listing-filter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); align-items: end; gap: 14px; }
.listing-filter-grid > label { display: grid; min-width: 0; gap: 5px; color: var(--color-text); font-size: 13px; font-weight: 700; }
.listing-filter-grid select { width: 100%; font-weight: 500; }
.listing-price-filter { grid-column: 1 / -1; min-width: 0; padding: 12px 14px; border: 1px solid #e7e3f0; border-radius: var(--radius-md); background: #fbfaff; }
.listing-price-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; }
.listing-price-heading label { color: var(--color-text); font-size: 13px; font-weight: 750; }
.listing-price-heading output { color: var(--color-accent-strong); font-size: 14px; font-weight: 750; }
.listing-price-filter input[type="range"] { display: block; width: 100%; min-height: 30px; margin: 7px 0; padding: 0; accent-color: var(--color-accent); direction: ltr; cursor: pointer; touch-action: pan-y; }
.listing-price-filter input[type="range"]:disabled { cursor: not-allowed; opacity: .55; }
.listing-price-number { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.listing-price-number label { color: var(--color-text-muted); font-size: 12px; font-weight: 600; }
.listing-price-number input { width: min(100%, 250px); min-height: 42px; padding: 7px 10px; border: 1px solid var(--color-border); border-radius: var(--radius-md); color: var(--color-text); background: #fff; direction: ltr; text-align: left; }
.listing-price-number input:disabled { color: var(--color-text-muted); background: #f1eff6; }
.listing-price-number > span, .listing-price-filter > small { color: var(--color-text-muted); font-size: 12px; }
.listing-price-filter > .listing-price-help { display: block; margin-top: 9px; padding: 7px 10px; border-inline-start: 2px solid var(--color-accent); border-radius: 6px; color: var(--color-text-muted); background: #f4f1fb; font-size: 12px; line-height: 1.85; }
.listing-filter-panel > .clear-filters { margin-top: 12px; }
.listing-filter-panel > .clear-filters[hidden] { display: none; }
.listing-filter-disclosure:focus-within { border-color: #b8b1ce; }

/* Contact, trust and account messaging. */
.contact-ribbon { min-height: 36px; color: #fff; background: #172b52; }
.contact-ribbon-inner { display: flex; min-height: 36px; align-items: center; justify-content: flex-start; gap: 10px; font-size: 12px; font-weight: 600; }
.contact-ribbon-inner a { display: inline-flex; min-height: 30px; align-items: center; padding-inline: 9px; border-radius: 6px; color: #fff; transition: background-color var(--motion-fast) ease; }
.contact-ribbon-inner a:hover, .contact-ribbon-inner a:focus-visible { background: rgb(255 255 255 / 14%); }
.contact-ribbon-whatsapp { color: #d4f3df !important; }
.contact-ribbon-phone { direction: ltr; font-variant-numeric: tabular-nums; }
.about-section { padding-block: clamp(34px, 5vw, 64px); background: #fff; }
.about-card { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(18px, 4vw, 42px); padding: clamp(22px, 4vw, 42px); border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: linear-gradient(115deg, #fff 50%, #f7f5fc); }
.about-mark { display: grid; width: clamp(70px, 9vw, 104px); aspect-ratio: 1; place-items: center; border: 1px solid #f0b49e; border-radius: 24px; color: #fff; background: linear-gradient(145deg, #f45b2b, #c7350d); box-shadow: 0 12px 25px rgb(203 53 8 / 17%); font-size: 38px; font-weight: 850; }
.about-card h2, .contact-card h2 { margin: 5px 0 8px; color: var(--color-primary); font-size: clamp(20px, 2.5vw, 27px); font-weight: 800; line-height: 1.55; }
.about-card p, .contact-card > div:first-child > p { max-width: 760px; margin: 0; color: var(--color-text-muted); font-size: 15px; line-height: 2; }
.contact-section { padding-block: clamp(34px, 5vw, 64px); background: #f5f3fa; }
.contact-card { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.4fr); align-items: start; gap: clamp(24px, 5vw, 68px); padding: clamp(22px, 4vw, 38px); border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: #fff; box-shadow: 0 12px 36px rgb(23 43 82 / 5%); }
.contact-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.contact-methods a { display: flex; min-width: 0; min-height: 70px; align-items: center; gap: 12px; padding: 11px 13px; border: 1px solid #e7e3f0; border-radius: var(--radius-md); color: var(--color-primary); background: #fcfbfe; transition: border-color var(--motion-fast) ease, background-color var(--motion-fast) ease, transform var(--motion-fast) ease; }
.contact-methods a:hover { border-color: #f3b59f; background: #fff8f5; transform: translateY(-1px); }
.contact-methods a > span:first-child { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 11px; color: var(--color-accent-strong); background: #fff0e9; font-size: 22px; font-weight: 800; }
.contact-methods a > span:last-child { display: grid; min-width: 0; line-height: 1.55; }
.contact-methods small { color: var(--color-text-muted); font-size: 11px; }
.contact-methods bdi, .contact-methods strong { max-width: 100%; overflow-wrap: anywhere; color: var(--color-primary); font-size: 13px; font-weight: 750; }
.text-action { width: fit-content; min-height: 38px; padding: 4px 0; color: var(--color-accent-strong); background: transparent; font-size: 13px; font-weight: 700; text-align: start; text-decoration: underline; text-underline-offset: 3px; }
.text-action:hover { color: #9f2b0a; }
.text-action:disabled { color: var(--color-text-muted); cursor: not-allowed; opacity: .7; }
.auth-flow-note { margin: 0; padding: 10px 12px; border-radius: var(--radius-md); color: var(--color-text-muted); background: #f6f4fb; font-size: 13px; line-height: 1.9; }
.login-link[data-auth-link]:not([href="/account"]) { color: var(--color-accent-strong); }

@media (max-width: 760px) {
  .contact-ribbon-inner { gap: 5px; font-size: 11px; }
  .contact-ribbon-inner a { padding-inline: 6px; }
  .about-card { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .about-mark { width: 62px; border-radius: 17px; font-size: 29px; }
  .contact-card { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 420px) {
  .contact-ribbon-inner { justify-content: center; gap: 2px; font-size: 10px; }
  .contact-ribbon-inner a { padding-inline: 4px; font-size: 10px; }
  .contact-methods { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .listing-filter-tools { align-items: stretch; }
  .listing-sort-control { align-items: stretch; }
  .listing-sort-control select { width: 100%; }
  .listing-filter-disclosure { flex-basis: 100%; }
  .listing-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .listing-filter-grid > .listing-sort-control, .listing-filter-grid > .listing-price-filter { grid-column: 1 / -1; }
  .listing-filter-grid > label { font-size: 12px; }
  .listing-filter-grid select { padding-inline: 8px; font-size: 13px; }
  .search-filter-disclosure { margin-top: 8px; }
}

@media (max-width: 359px) {
  .listing-filter-grid { grid-template-columns: minmax(0, 1fr); }
  .listing-filter-grid > .listing-sort-control, .listing-filter-grid > .listing-price-filter { grid-column: auto; }
}

/* Compact, scannable public property-request cards and a distinct blue CTA. */
.button.request-cta {
  border-color: #2364d2;
  color: #fff;
  background: linear-gradient(135deg, #3984f5, #225bc1);
  box-shadow: 0 5px 13px rgb(35 100 210 / 20%);
}
.button.request-cta:hover {
  border-color: #174da9;
  color: #fff;
  background: linear-gradient(135deg, #2e74df, #194da8);
  box-shadow: 0 7px 16px rgb(35 100 210 / 27%);
}
.button.request-cta:focus-visible,
.mobile-request-cta:focus-visible {
  outline: 3px solid rgb(35 100 210 / 34%);
  outline-offset: 3px;
}
.mobile-request-cta {
  color: #225bc1 !important;
  font-weight: 800;
}
.property-demand-list {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 280px));
  justify-content: start;
  gap: 12px;
}
.property-demand-card {
  gap: 8px;
  padding: 13px;
  border-inline-start-width: 3px;
  background: #fff;
  box-shadow: 0 5px 16px rgb(23 43 82 / 5%);
}
.property-demand-location { gap: 8px; }
.property-demand-location > span { width: 32px; height: 32px; font-size: 20px; }
.property-demand-location strong { font-size: 14px; }
.property-demand-card p { font-size: 13px; line-height: 1.75; }
.property-demand-privacy { font-size: 11px; }

@media (max-width: 620px) {
  .property-demand-list { grid-template-columns: minmax(0, 1fr); }
  .property-demand-card { padding: 12px; }
}

/* Configurable listing fields in the management panel and listing forms. */
.admin-field-manager { max-width: none; border: 0; border-top: 1px solid var(--color-border); border-radius: 0; box-shadow: none; }
.admin-property-type-manager { display: grid; gap: 14px; padding: 18px; border-top: 1px solid var(--color-border); }
.admin-property-type-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.admin-property-type-groups section { min-width: 0; }
.admin-property-type-groups h3 { display: flex; align-items: baseline; gap: 7px; margin: 0 0 9px; color: var(--color-text); font-size: 15px; }
.admin-property-type-groups h3 span { color: var(--color-text-muted); font-size: 12px; font-weight: 500; }
.property-type-add-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; padding: 14px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: #fbfaff; }
.property-type-add-form label { display: grid; gap: 6px; color: var(--color-text); font-size: 14px; font-weight: 650; }
.property-type-add-form .button { min-height: 46px; }
.property-type-list { display: grid; gap: 7px; }
.property-type-row { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px; border: 1px solid var(--color-border); border-radius: 11px; background: var(--color-surface); }
.property-type-row > span { min-width: 0; overflow-wrap: anywhere; color: var(--color-text); font-size: 13px; font-weight: 650; }
.property-type-row.is-archived { background: #f6f5f9; }
.property-type-row .button { min-height: 36px; flex: 0 0 auto; padding: 5px 11px; font-size: 12px; }
.property-type-empty { margin: 0; padding: 10px; color: var(--color-text-muted); font-size: 13px; }
.field-definition-form { display: grid; gap: 14px; margin-block: 14px 22px; padding: 16px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: #fbfaff; }
.field-definition-form .form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.field-definition-form label { display: grid; min-width: 0; gap: 6px; color: var(--color-text); font-size: 14px; font-weight: 650; }
.field-required-toggle, .custom-checkbox-label { display: flex !important; min-height: 48px; align-items: center !important; gap: 10px !important; padding: 10px 12px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.field-property-types-editor { min-width: 0; margin: 0; padding: 14px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.field-property-types-editor legend { padding-inline: 7px; color: var(--color-text); font-weight: 750; }
.field-property-types-editor > p { margin: 0 0 10px; color: var(--color-text-muted); font-size: 12px; line-height: 1.8; }
.field-property-types-all { display: flex !important; min-height: 42px; align-items: center; gap: 9px !important; margin-bottom: 8px; padding: 8px 10px; border-radius: 10px; background: #f3f0fb; }
.field-property-types-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.field-property-types-list label { display: flex !important; min-height: 40px; grid-template-columns: auto 1fr; align-items: center; gap: 8px !important; padding: 7px 9px; border: 1px solid var(--color-border); border-radius: 10px; background: #fff; font-size: 12px !important; }
.field-property-types-list input, .field-property-types-all input { width: 17px !important; min-width: 17px !important; min-height: 17px !important; accent-color: var(--color-accent); }
.field-property-types-editor:disabled { opacity: .65; }
.field-definition-form input[type="checkbox"], .listing-form .custom-checkbox-label input[type="checkbox"] { flex: 0 0 18px; width: 18px; min-width: 18px; min-height: 18px; margin: 0; padding: 0; accent-color: var(--color-accent); }
.listing-field-list { display: grid; gap: 9px; }
.listing-field-group { display: grid; gap: 9px; }
.listing-field-group h3 { margin: 17px 0 1px; padding-bottom: 7px; border-bottom: 1px solid var(--color-border); color: var(--color-text); font-size: 15px; }
.listing-field-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 13px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.listing-field-row > div:first-child { display: grid; gap: 3px; }
.listing-field-row strong { color: var(--color-text); }
.listing-field-row span, .listing-field-empty { color: var(--color-text-muted); font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.listing-field-row.is-inactive { opacity: .72; background: #f6f5f9; }
.listing-field-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.listing-field-actions button { min-height: 38px; padding: 6px 10px; font-size: 12px; }
.custom-fields-section .custom-field-control[multiple] { min-height: 120px; padding-block: 8px; }
.custom-checkbox-label { grid-template-columns: auto minmax(0, 1fr); justify-content: start; align-content: center !important; }
.custom-checkbox-label small { grid-column: 2; color: var(--color-text-muted); font-size: 12px; font-weight: 450; }
.field-options-editor { padding: 14px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.field-options-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.field-options-heading strong { color: var(--color-text); }
.field-options-heading button { min-height: 38px; padding: 6px 12px; }
.field-options-help, .field-options-note { margin: 8px 0; color: var(--color-text-muted); font-size: 12px; line-height: 1.8; }
.field-options-note { margin-bottom: 0; }
.field-new-section-label[hidden] { display: none !important; }
.custom-fields-inline { display: contents; }
.listing-field-options-list { display: grid; gap: 8px; }
.listing-option-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.listing-option-index { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; background: #f0edf8; color: var(--color-text-muted); font-size: 12px; }
.listing-option-row input { min-width: 0; min-height: 42px; padding: 8px 11px; border: 1px solid var(--color-border); border-radius: 10px; background: #fff; }
.listing-option-actions { display: flex; gap: 5px; }
.listing-option-actions button { min-width: 38px; min-height: 38px; padding: 4px 8px; }
.listing-option-actions button:disabled { opacity: .4; cursor: not-allowed; }
.listing-field-option-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.listing-field-option-chips span { padding: 3px 9px; border: 1px solid var(--color-border); border-radius: 999px; background: #fbfaff; font-size: 12px; }

.listing-photo-trigger { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: hidden; padding: 0; border: 0; background: transparent; cursor: zoom-in; touch-action: pan-y; -webkit-touch-callout: none; user-select: none; }
.listing-photo-trigger img { pointer-events: none; -webkit-user-drag: none; }
.listing-photo-trigger:focus-visible { outline: 3px solid var(--color-accent); outline-offset: -5px; }
.listing-card-gallery-count { position: absolute; z-index: 2; right: 10px; bottom: 10px; padding: 4px 8px; border: 1px solid rgb(255 255 255 / 32%); border-radius: 999px; color: #fff; background: rgb(16 33 66 / 78%); font-size: 11px; font-weight: 700; pointer-events: none; }
.listing-card-gallery-arrow { position: absolute; z-index: 2; top: 50%; display: grid; width: 34px; height: 34px; place-items: center; padding: 0 0 3px; border: 1px solid rgb(255 255 255 / 65%); border-radius: 50%; color: #fff; background: rgb(16 33 66 / 72%); font: 25px/1 Arial, sans-serif; cursor: pointer; transform: translateY(-50%); transition: background-color var(--motion-fast) ease, transform var(--motion-fast) ease; }
.listing-card-gallery-arrow:hover { background: var(--color-accent-strong); transform: translateY(-50%) scale(1.06); }
.listing-card-gallery-arrow:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.listing-card-gallery-prev { right: 8px; }
.listing-card-gallery-next { left: 8px; }
.listing-gallery-dialog { width: min(96vw, 1040px); max-width: none; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow: hidden; padding: 0; border: 1px solid rgb(255 255 255 / 20%); border-radius: 16px; color: #fff; background: #10182a; box-shadow: 0 24px 80px rgb(0 0 0 / 55%); }
.listing-gallery-dialog::backdrop { background: rgb(5 9 17 / 84%); backdrop-filter: blur(3px); }
.listing-gallery-dialog[open] { display: grid; }
.listing-gallery-content { display: grid; grid-template-rows: auto minmax(180px, 1fr) auto auto; gap: 10px; padding: 12px; }
.listing-gallery-header { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 12px; }
.listing-gallery-title { overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.listing-gallery-close { display: inline-flex; min-height: 40px; flex: 0 0 auto; align-items: center; gap: 9px; padding: 5px 11px; border: 1px solid rgb(255 255 255 / 22%); border-radius: 9px; color: #fff; background: rgb(255 255 255 / 10%); font: inherit; cursor: pointer; }
.listing-gallery-close span { font-size: 23px; line-height: 1; }
.listing-gallery-stage { position: relative; display: grid; min-width: 0; height: min(68vh, 690px); height: min(68dvh, 690px); min-height: 180px; place-items: center; overflow: hidden; border-radius: 10px; background: #070b13; touch-action: pan-y; }
.listing-gallery-image { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.listing-gallery-count { position: absolute; z-index: 2; top: 12px; right: 12px; padding: 5px 10px; border: 1px solid rgb(255 255 255 / 24%); border-radius: 999px; color: #fff; background: rgb(9 14 25 / 72%); font-size: 13px; }
.listing-gallery-arrow { position: absolute; z-index: 2; top: 50%; display: grid; width: 46px; height: 46px; place-items: center; padding: 0 0 4px; border: 1px solid rgb(255 255 255 / 30%); border-radius: 50%; color: #fff; background: rgb(9 14 25 / 76%); font: 34px/1 Arial, sans-serif; cursor: pointer; transform: translateY(-50%); }
.listing-gallery-arrow:hover { border-color: #fff; background: var(--color-accent-strong); }
.listing-gallery-prev { right: 12px; }
.listing-gallery-next { left: 12px; }
.listing-gallery-thumbnails { display: flex; min-width: 0; gap: 7px; overflow-x: auto; padding: 2px 2px 5px; overscroll-behavior-inline: contain; scrollbar-width: thin; }
.listing-gallery-thumbnail { width: 74px; height: 56px; flex: 0 0 74px; overflow: hidden; padding: 0; border: 2px solid transparent; border-radius: 7px; background: #202a3c; cursor: pointer; }
.listing-gallery-thumbnail.is-selected { border-color: var(--color-accent); box-shadow: 0 0 0 2px rgb(255 255 255 / 18%); }
.listing-gallery-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.listing-gallery-hint { margin: 0; color: rgb(255 255 255 / 68%); font-size: 12px; }

/* Shared architectural line-icon family for navigation, service and contact actions. */
.site-icon { display: block; width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-ribbon-inner .site-icon { width: 15px; height: 15px; margin-inline-end: 6px; }
.search-tab { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.search-tab .site-icon { width: 17px; height: 17px; color: var(--color-text-muted); }
.search-tab.active .site-icon, .search-tab:hover .site-icon { color: var(--color-accent-strong); }
.filter-chip { gap: 7px; }
.filter-chip .site-icon { width: 16px; height: 16px; }
.filter-chip.active .site-icon { color: #fff; }
.service-icon { width: 46px; height: 46px; border-radius: 12px; color: var(--color-accent-strong); background: #f4f1fb; }
.service-icon .site-icon { width: 25px; height: 25px; }
.empty-state > .empty-state-icon { width: 52px; height: 52px; border: 1px solid #e3deef; border-radius: 14px; color: var(--color-accent-strong); background: #f4f1fb; }
.empty-state-icon .site-icon { width: 27px; height: 27px; }
.contact-methods a > span:first-child .site-icon { width: 21px; height: 21px; }
.ad-submit-cta > .site-icon { width: 23px; height: 23px; }
.ad-submit-cta > span { margin: 0; font-size: inherit; line-height: inherit; }
.ai-chat-open-icon .site-icon { width: 25px; height: 25px; }

@media (max-width: 760px) {
  .search-tab { gap: 5px; }
  .search-tab .site-icon { width: 16px; height: 16px; }
}
@media (max-width: 420px) {
  .search-tab { gap: 5px; padding-inline: 6px; font-size: 12px; }
}

@media (max-width: 720px) {
  .admin-property-type-groups { grid-template-columns: minmax(0, 1fr); }
  .field-definition-form .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-property-types-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .admin-property-type-manager { padding: 12px; }
  .property-type-add-form { grid-template-columns: minmax(0, 1fr); }
  .field-definition-form .form-grid { grid-template-columns: minmax(0, 1fr); }
  .field-property-types-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .listing-field-row { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .listing-field-actions button { flex: 1 1 auto; }
  .listing-option-row { grid-template-columns: 24px minmax(0, 1fr); }
  .listing-option-actions { grid-column: 2; }
  .listing-gallery-content { gap: 8px; padding: 8px; }
  .listing-gallery-stage { height: min(64vh, 620px); height: min(64dvh, 620px); min-height: 150px; }
  .listing-gallery-thumbnail { width: 64px; height: 48px; flex-basis: 64px; }
  .listing-gallery-hint { font-size: 11px; }
}

/* Brand finish: one selected mark, legible on every surface. */
.brand-mark {
  width: 52px;
  height: 52px;
  border: 1px solid #e4e1ef;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 4px 12px rgb(23 43 82 / 9%);
}
.brand-mark img { width: 46px; height: 46px; }
.site-footer .brand-mark {
  border-color: rgb(255 255 255 / 78%);
  background: #fff;
  box-shadow: 0 5px 14px rgb(0 0 0 / 15%);
}
.contact-ribbon { box-shadow: inset 0 -2px 0 var(--color-accent); }
.about-card { background: linear-gradient(115deg, #fff 48%, #f3f1fb); }
.about-mark {
  display: grid;
  width: clamp(96px, 10vw, 120px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid #e4e1ef;
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 10px 26px rgb(23 43 82 / 11%);
}
.about-mark img { display: block; width: 88%; height: 88%; object-fit: contain; }
@media (max-width: 760px) {
  .brand-mark { width: 46px; height: 46px; border-radius: 13px; }
  .brand-mark img { width: 40px; height: 40px; }
  .about-mark { width: 78px; border-radius: 19px; }
}

/* Photo-led property cards: clear facts, compact feature chips, and a distinct price area. */
.listing-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e5e1ee;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 18px rgb(23 43 82 / 7%);
  transition: border-color var(--motion-base) ease, box-shadow var(--motion-base) ease, transform var(--motion-base) var(--motion-ease);
}
.listing-card:hover, .listing-card:focus-within {
  transform: translateY(-3px);
  border-color: #cfc8df;
  box-shadow: 0 14px 30px rgb(23 43 82 / 13%);
}
.listing-image { aspect-ratio: 1.52; isolation: isolate; background: #eeecf3; }
.listing-grid { align-items: stretch; }
.listing-image { width: 100%; flex: 0 0 auto; }
.listing-image::after {
  position: absolute;
  z-index: 0;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(0deg, rgb(16 33 66 / 24%), transparent);
  content: '';
  pointer-events: none;
}
.listing-photo-trigger { z-index: 0; }
.listing-tag { z-index: 2; display: inline-flex; min-height: 32px; align-items: center; padding: 4px 11px; border: 1px solid rgb(255 255 255 / 28%); border-radius: 8px; box-shadow: 0 3px 10px rgb(16 33 66 / 18%); font-size: 12px; }
.listing-type-tag { color: #fff; background: rgb(23 43 82 / 94%); }
.listing-featured-tag { top: 50px; color: #fff; background: var(--color-accent-strong); }
.heart-button { z-index: 3; width: 44px; height: 44px; border-color: rgb(255 255 255 / 65%); background: rgb(16 33 66 / 66%); }
.heart-button svg { width: 22px; height: 22px; }
.listing-body { display: flex; min-width: 0; flex: 1 1 auto; flex-direction: column; padding: 13px 14px 14px; }
.listing-location { display: flex; min-width: 0; min-height: 23px; align-items: center; gap: 7px; color: var(--color-text-muted); font-size: 12px; line-height: 1.6; }
.listing-location > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.listing-location-mark { position: relative; width: 8px; height: 8px; flex: 0 0 auto; border: 2px solid var(--color-accent); border-radius: 50%; }
.listing-location-mark::after { position: absolute; inset: 1px; border-radius: 50%; background: var(--color-accent); content: ''; }
.listing-body h3 { min-height: 2.9em; margin: 5px 0 8px; font-size: 16px; line-height: 1.45; }
.listing-specs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 7px; }
.listing-specs span.listing-fact { display: inline-flex; min-height: 28px; align-items: center; padding: 3px 9px; border: 1px solid #e9e5f1; border-radius: 7px; color: var(--color-primary); background: #f6f4fa; font-size: 12px; font-weight: 700; }
.listing-specs span.listing-fact::before { content: none; }
.listing-features { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; min-width: 0; }
.listing-feature-chip, .listing-feature-more { display: inline-flex; min-height: 26px; align-items: center; padding: 3px 8px; border: 1px solid #f4e2d9; border-radius: 6px; color: #8e3216; background: #fff6f1; font-size: 11px; line-height: 1.4; }
.listing-feature-more { border-color: #e5e1ee; color: var(--color-text-muted); background: #f7f6fa; white-space: nowrap; }
.listing-bottom { display: flex; min-width: 0; min-height: 52px; align-items: center; justify-content: space-between; gap: 9px; margin-top: auto; padding: 10px 0 0; border-top: 1px solid #eeeaf4; }
.listing-price { display: grid; min-width: 0; gap: 1px; }
.listing-price-label { color: var(--color-text-muted); font-size: 11px; line-height: 1.5; }
.listing-price strong { color: var(--color-accent-strong); font-size: 15px; font-weight: 800; line-height: 1.55; }
.listing-price-detail { color: var(--color-text-muted); font-size: 11px; line-height: 1.55; }
.listing-more { display: inline-flex; min-height: 42px; flex: 0 0 auto; align-items: center; justify-content: center; gap: 5px; padding: 5px 10px; border: 1px solid #f1d4c8; border-radius: 8px; color: var(--color-accent-strong); background: #fff5f0; font-size: 12px; font-weight: 750; text-decoration: none; transition: background-color var(--motion-fast) ease, border-color var(--motion-fast) ease; }
.listing-more:hover { border-color: var(--color-accent); background: #ffebe2; text-decoration: none; }
.listing-more:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.listing-more svg { width: 16px; height: 16px; }
@media (max-width: 760px) {
  .listing-image { aspect-ratio: 1.38; }
  .listing-body { padding: 10px 11px 11px; }
  .listing-body h3 { min-height: 2.9em; margin: 4px 0 7px; font-size: 14px; }
  .listing-location { font-size: 12px; }
  .listing-specs span.listing-fact { min-height: 27px; font-size: 11px; }
  .listing-feature-chip, .listing-feature-more { min-height: 25px; padding-inline: 7px; font-size: 11px; }
  .listing-bottom { align-items: end; gap: 5px; margin-top: 9px; padding-top: 8px; }
  .listing-price strong { font-size: 13px; }
  .listing-price-detail { font-size: 10px; }
  .listing-more { min-height: 40px; padding-inline: 8px; font-size: 11px; }
}
@media (max-width: 420px) {
  .listing-grid { gap: 9px; }
  .listing-body { padding: 9px; }
  .listing-price strong { font-size: 12px; }
  .listing-more { min-height: 38px; gap: 3px; padding-inline: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .listing-card, .listing-card:hover, .listing-card:focus-within, .listing-image img, .listing-more { transition: none; transform: none; }
}
