:root {
  --site-primary: #AAFF00;
  --site-primary-dark: #15803d;
  --site-accent: #DFFF00;
  --site-highlight: #DFFF00;
  --site-dark: #1f2937;
  --site-surface: #f8faf5;
  --site-hero-start: #0b1320;
  --site-hero-middle: #152238;
  --site-hero-end: #1f3622;
  --ink: var(--site-dark);
  --ink-soft: #4b5563;
  --muted: #6b7280;
  --purple: var(--site-primary);
  --purple-dark: var(--site-primary-dark);
  --purple-pale: #f1ffd6;
  --mint: var(--site-accent);
  --orange: var(--site-highlight);
  --surface: #ffffff;
  --surface-soft: var(--site-surface);
  --line: #e3eadb;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
  --radius-lg: 28px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface-soft);
  font-family: "Vazirmatn", Tahoma, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.page-shell {
  overflow: hidden;
}

.site-header,
.hero-section,
.search-card-section,
.section-block,
.owner-cta,
.site-footer {
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
}

.site-header {
  height: 83px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: #fff;
  position: relative;
  z-index: 5;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--purple);
  border-radius: 13px 13px 13px 5px;
  box-shadow: 0 8px 16px rgba(113, 100, 232, 0.22);
}

.site-brand-icon {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1);
}

.brand-mark svg {
  width: 25px;
  height: 25px;
}

.brand-copy {
  display: grid;
  line-height: 1;
  gap: 6px;
}

.brand-copy strong {
  font-size: 1.08rem;
  letter-spacing: -0.04em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.55rem;
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-inline-start: auto;
}

.main-nav a {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--purple);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.mobile-favorites-link,
.mobile-featured-link {
  display: none;
}

.icon-action,
.login-btn,
.post-btn,
.menu-toggle {
  border: 0;
  background: transparent;
}

.icon-action {
  width: 34px;
  height: 36px;
  color: var(--ink-soft);
  position: relative;
  display: grid;
  place-items: center;
}

.favorites-link.active,
.mobile-favorites-link.active {
  color: var(--purple);
}

.featured-nav-link {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f2b705 !important;
  font-size: 2.35rem !important;
  line-height: 1;
  text-decoration: none;
}

.featured-nav-link:hover {
  color: #d99a00 !important;
}

.main-nav .favorites-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #ff6f9d;
  font-size: 0;
}

.main-nav .favorites-link svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
}

.main-nav .favorites-link:hover,
.main-nav .favorites-link.active {
  color: #ff4f89;
}

.main-nav .favorites-link.active,
.mobile-favorites-link.active {
  color: #fff;
  background: #3f8fe0;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(63, 143, 224, 0.28);
}

.mobile-favorites-link {
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #ff6f9d;
  font-size: 0;
  border-radius: 50%;
}

.mobile-favorites-link svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
}

.mobile-featured-link {
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: #f2b705;
  font-size: 2.1rem;
  line-height: 1;
  text-decoration: none;
}

.mobile-featured-link:hover {
  color: #d99a00;
}

.main-nav .favorite-count {
  position: absolute;
  top: -4px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #fff;
  line-height: 13px;
}

.icon-action svg {
  width: 19px;
  height: 19px;
}

.favorite-count {
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: none;
  color: #fff;
  background: var(--purple);
  border: 2px solid #fff;
  border-radius: 20px;
  font-size: 0.54rem;
  line-height: 13px;
  position: absolute;
  top: 0;
  right: -1px;
}

.main-nav .favorite-count.is-visible,
.mobile-favorites-link .favorite-count.is-visible {
  display: inline-flex;
}

.login-btn {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.post-btn,
.primary-btn {
  color: #fff;
  background: var(--purple);
  border-radius: 12px;
  box-shadow: 0 9px 18px rgba(113, 100, 232, 0.22);
  font-size: 0.8rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.post-btn:hover,
.primary-btn:hover,
.search-submit:hover,
.submit-form-btn:hover {
  background: var(--purple-dark);
  box-shadow: 0 12px 24px rgba(113, 100, 232, 0.28);
  transform: translateY(-2px);
}

.post-btn {
  min-width: 111px;
  height: 42px;
  padding: 0 15px;
}

.post-btn span {
  display: inline-block;
  margin-inline-start: 6px;
  font-size: 1.1rem;
  font-weight: 400;
  vertical-align: -1px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 9px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  border-radius: 4px;
  background: var(--ink);
}

.hero-section {
  min-height: 552px;
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.9fr);
  align-items: center;
  gap: 60px;
  padding-top: 66px;
  padding-bottom: 92px;
  background: linear-gradient(110deg, var(--site-hero-start) 0%, var(--site-hero-middle) 53%, var(--site-hero-end) 100%);
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-inline-start: 8px;
}

.eyebrow,
.section-kicker {
  color: var(--purple);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.eyebrow {
  color: var(--mint);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid rgba(196, 245, 221, 0.2);
  border-radius: 20px;
  background: rgba(196, 245, 221, 0.08);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(196, 245, 221, 0.12);
}

.hero-content h1 {
  max-width: 600px;
  margin: 24px 0 16px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.07em;
}

.hero-content h1 em {
  color: var(--mint);
  font-style: normal;
  position: relative;
}

.hero-content h1 em::after {
  content: "";
  height: 7px;
  width: 87%;
  display: block;
  position: absolute;
  bottom: -3px;
  right: 3px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.9;
  transform: rotate(-2deg);
}

.hero-content > p {
  max-width: 455px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 2.05;
}

.hero-contact-line {
  white-space: nowrap;
}

@media (min-width: 981px) {
  .hero-content > p {
    max-width: none;
    white-space: nowrap;
    font-size: 0.84rem;
    line-height: 1.9;
    letter-spacing: -0.01em;
  }
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
  position: relative;
  top: -15px;
}

.primary-btn {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 19px;
}

.primary-btn svg {
  width: 17px;
}

.text-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  color: #fff;
  border: 0;
  background: transparent;
  font-size: 0.76rem;
  font-weight: 600;
}

.play-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--mint);
  border: 1px solid rgba(196, 245, 221, 0.5);
  border-radius: 50%;
}

.play-icon svg {
  width: 12px;
  margin-right: -2px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  position: relative;
  top: -30px;
}

.hero-proof > div:last-child {
  display: grid;
  gap: 4px;
}

.hero-proof strong {
  color: #fff;
  font-size: 0.72rem;
}

.hero-proof span:last-child {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.61rem;
}

.avatar-stack {
  display: flex;
  direction: ltr;
}

.avatar {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  margin-inline-start: -7px;
  color: #fff;
  border: 2px solid #201c45;
  border-radius: 50%;
  font-size: 0.63rem;
  font-weight: 800;
}

.avatar:first-child {
  margin-inline-start: 0;
}

.avatar-one {
  background: #d98b72;
}

.avatar-two {
  background: #7f93cc;
}

.avatar-three {
  background: #9e75ab;
}

.avatar-four {
  color: var(--ink);
  background: var(--mint);
}

.hero-visual {
  width: min(100%, 360px);
  min-height: 360px;
  justify-self: end;
  position: relative;
  z-index: 1;
}

.hero-image-card {
  width: 230px;
  max-width: calc(100% - 20px);
  height: 360px;
  position: absolute;
  top: -24px;
  right: 86px;
  overflow: hidden;
  border: 7px solid rgba(255, 255, 255, 0.14);
  border-radius: 190px 190px 17px 17px;
  box-shadow: 0 28px 55px rgba(5, 4, 22, 0.35);
  transform: rotate(4deg);
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.image-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29, 20, 68, 0.02) 40%, rgba(21, 16, 50, 0.65) 100%);
}

.hero-image-label {
  display: grid;
  gap: 5px;
  position: absolute;
  right: 27px;
  bottom: 27px;
}

.hero-image-label span {
  color: var(--mint);
  font-size: 0.59rem;
}

.hero-image-label strong {
  color: #fff;
  font-size: 0.94rem;
}

.hero-glow {
  width: 260px;
  height: 260px;
  position: absolute;
  right: 78px;
  top: -10px;
  border-radius: 50%;
  background: rgba(113, 100, 232, 0.44);
  filter: blur(68px);
}

.hero-orb {
  position: absolute;
  border: 1px solid rgba(196, 245, 221, 0.19);
  border-radius: 50%;
}

.orb-one {
  width: 115px;
  height: 115px;
  top: 90px;
  left: -44px;
}

.orb-two {
  width: 70px;
  height: 70px;
  right: 44%;
  bottom: -34px;
  background: rgba(255, 177, 105, 0.12);
  border-color: rgba(255, 177, 105, 0.32);
}

.hero-grid-pattern {
  width: 250px;
  height: 190px;
  position: absolute;
  right: 0;
  bottom: -5px;
  opacity: 0.15;
  background-image: linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(135deg, transparent 5%, #000 80%);
}

.search-card-section {
  position: relative;
  z-index: 3;
  margin-top: -75px;
}

.search-card {
  min-height: 123px;
  padding: 18px 21px 13px;
  background: #fff;
  border: 1px solid rgba(233, 232, 241, 0.9);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.search-tabs {
  display: flex;
  gap: 24px;
  padding-inline: 7px;
}

.search-tab {
  padding: 3px 0 12px;
  color: var(--muted);
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-size: 0.72rem;
  font-weight: 700;
}

.search-tab.active {
  color: var(--purple);
  border-bottom-color: var(--purple);
}

.search-fields {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: thin;
}

.search-fields > .search-field {
  flex: 1 1 0;
  min-width: 0;
}

.search-fields > .search-submit {
  flex: 0 0 150px;
}

.search-fields [hidden] {
  display: none !important;
}

.search-field {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-field:focus-within {
  border-color: rgba(113, 100, 232, 0.7);
  box-shadow: 0 0 0 3px rgba(113, 100, 232, 0.08);
}

.field-icon {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  flex: 0 0 27px;
  color: var(--purple);
  border-radius: 8px;
  background: var(--purple-pale);
}

.field-icon svg {
  width: 15px;
  height: 15px;
}

.field-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
  flex: 1;
}

.field-copy small {
  color: var(--muted);
  font-size: 0.57rem;
}

.field-copy input,
.field-copy select {
  width: 100%;
  padding: 0;
  color: var(--ink);
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 0.73rem;
  font-weight: 700;
}

.field-copy input::placeholder {
  color: var(--ink);
  opacity: 1;
}

.field-copy select {
  cursor: pointer;
}

.search-submit {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 14px;
  color: #fff;
  border: 0;
  border-radius: 11px;
  background: var(--purple);
  font-size: 0.73rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.search-submit svg {
  width: 16px;
}

.search-result-note {
  min-height: 17px;
  padding-top: 5px;
  color: var(--purple);
  font-size: 0.61rem;
}

.section-block {
  padding-top: 106px;
}

.section-heading h2 {
  margin: 10px 0 10px;
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.06em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.9;
}

.centered {
  text-align: center;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-top: 31px;
}

.trust-card {
  min-height: 153px;
  padding: 21px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}

.trust-card.featured {
  border-color: transparent;
  background: #eeedff;
}

.trust-number {
  color: #bebdca;
  font-size: 0.58rem;
  font-weight: 800;
  position: absolute;
  top: 19px;
  left: 20px;
}

.trust-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
}

.trust-icon svg {
  width: 19px;
}

.trust-card-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-purple {
  color: var(--purple);
  background: var(--purple-pale);
}

.icon-mint {
  color: #2b9d78;
  background: #ddf9ed;
}

.icon-orange {
  color: #d97f32;
  background: #fff1e1;
}

.trust-card h3 {
  margin: 0;
  font-size: 0.76rem;
}

.trust-card p {
  max-width: 230px;
  margin: 0;
  color: var(--muted);
  font-size: 0.62rem;
  line-height: 1.8;
}

.featured-line {
  width: 48px;
  height: 3px;
  position: absolute;
  right: auto;
  bottom: 16px;
  left: 50%;
  border-radius: 8px;
  background: var(--purple);
  transform: translateX(-50%);
}

.listings-section {
  padding-top: 48px;
}

.listings-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.listings-heading h2 {
  margin-bottom: 0;
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 0 5px;
  color: var(--purple);
  border: 0;
  border-bottom: 1px solid rgba(113, 100, 232, 0.28);
  background: transparent;
  font-size: 0.7rem;
  font-weight: 800;
}

.view-all-btn svg {
  width: 14px;
}

.listing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 31px 0 17px;
}

.filter-pills {
  display: flex;
  gap: 8px;
}

.filter-pill {
  padding: 8px 15px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  transition: 0.2s ease;
}

.filter-pill:hover,
.filter-pill.active {
  color: var(--purple);
  border-color: rgba(113, 100, 232, 0.3);
  background: var(--purple-pale);
}

.listing-count {
  color: var(--muted);
  font-size: 0.66rem;
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.property-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.property-card:hover {
  box-shadow: 0 16px 30px rgba(43, 35, 91, 0.1);
  transform: translateY(-5px);
}

.property-card.is-hidden {
  display: none;
}

.property-image {
  height: 215px;
  overflow: hidden;
  position: relative;
  background: #e6e4ef;
}

.property-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.property-card:hover .property-image img {
  transform: scale(1.04);
}

.listing-badge {
  padding: 6px 10px;
  color: var(--ink);
  background: var(--mint);
  border-radius: 8px;
  font-size: 0.56rem;
  font-weight: 800;
  position: absolute;
  top: 13px;
  right: 13px;
}

.featured-badge {
  min-width: 31px;
  padding-inline: 7px;
  text-align: center;
}

.rent-badge {
  color: #784b17;
  background: #ffdfbc;
}

.featured-badge {
  color: #6d4a00;
  background: #ffe49a;
}

.heart-button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(26, 22, 53, 0.33);
  backdrop-filter: blur(7px);
  position: absolute;
  top: 12px;
  left: 13px;
  transition: 0.2s ease;
}

.heart-button svg {
  width: 16px;
}

.heart-button:hover,
.heart-button.active {
  color: #ff779d;
  background: #fff;
}

.heart-button.active svg {
  fill: currentColor;
}

.property-body {
  padding: 17px 17px 16px;
}

.property-topline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--muted);
  font-size: 0.59rem;
}

.property-topline span:first-child {
  color: var(--purple);
  font-weight: 700;
}

.property-body h3 {
  margin: 12px 0 9px;
  overflow: hidden;
  font-size: 0.86rem;
  line-height: 1.6;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  color: var(--muted);
  font-size: 0.62rem;
}

.property-location svg {
  width: 14px;
  color: var(--purple);
}

.property-features {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.property-features span {
  padding-inline-end: 9px;
  color: var(--ink-soft);
  border-inline-end: 1px solid var(--line);
  font-size: 0.59rem;
}

.property-features span:last-child {
  padding: 0;
  border: 0;
}

.property-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 17px;
}

.property-footer > div {
  display: grid;
  gap: 3px;
}

.property-footer strong {
  color: var(--ink);
  font-size: 0.74rem;
}

.property-footer small {
  color: var(--muted);
  font-size: 0.55rem;
}

.owner-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #2d9a73;
  font-size: 0.57rem;
  font-weight: 700;
}

.owner-label i {
  width: 6px;
  height: 6px;
  display: block;
  border-radius: 50%;
  background: #55c69a;
}

.owner-label.profile-approved,
.owner-label.profile-approved a {
  color: #168057;
}

.owner-label.profile-unapproved,
.owner-label.profile-unapproved a {
  color: #bf3434;
}

.owner-label.profile-unapproved i {
  background: #dc5555;
}

.listing-page-link {
  display: inline-block;
  margin-top: 12px;
  color: #5548cc;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* افزایش خوانایی نوشته‌های داخل کارت آگهی */
.property-card .listing-badge {
  font-size: calc(0.56rem + 2px);
}

.property-card .property-topline {
  font-size: calc(0.59rem + 2px);
}

.property-card .property-body h3 {
  font-size: calc(0.86rem + 2px);
}

.property-card .property-location {
  font-size: calc(0.62rem + 2px);
}

.property-card .property-features span {
  font-size: calc(0.59rem + 2px);
}

.property-card .property-footer strong {
  font-size: calc(0.74rem + 2px);
}

.property-card .property-footer small {
  font-size: calc(0.55rem + 2px);
}

.property-card .owner-label {
  font-size: calc(0.57rem + 2px);
}

.empty-state {
  display: none;
  padding: 55px 20px;
  text-align: center;
  background: #fff;
  border: 1px dashed #d5d3e5;
  border-radius: var(--radius-md);
}

.empty-state.visible {
  display: block;
}

.empty-state > span {
  color: var(--purple);
  font-size: 2rem;
}

.empty-state h3 {
  margin: 10px 0 6px;
  font-size: 0.95rem;
}

.empty-state p {
  margin: 0 0 17px;
  color: var(--muted);
  font-size: 0.7rem;
}

.secondary-btn {
  padding: 10px 15px;
  color: var(--purple);
  border: 1px solid rgba(113, 100, 232, 0.28);
  border-radius: 9px;
  background: var(--purple-pale);
  font-size: 0.68rem;
  font-weight: 700;
}

.owner-cta {
  min-height: 317px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  margin-top: 124px;
  color: #fff;
  background: linear-gradient(105deg, var(--site-hero-start), var(--site-hero-middle));
  position: relative;
  isolation: isolate;
}

.cta-pattern {
  width: 410px;
  height: 317px;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.14;
  background-image: linear-gradient(135deg, transparent 0 49%, var(--site-accent) 49% 50%, transparent 50% 100%);
  background-size: 36px 36px;
  mask-image: linear-gradient(90deg, #000, transparent);
  z-index: -1;
}

.cta-copy {
  padding-block: 50px;
}

.section-kicker.light {
  color: var(--mint);
}

.cta-copy h2 {
  margin: 11px 0 11px;
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  line-height: 1.45;
  letter-spacing: -0.07em;
}

.cta-copy p {
  max-width: 420px;
  margin: 0;
  color: rgba(255,255,255,.57);
  font-size: 0.75rem;
  line-height: 2;
}

.light-btn {
  margin-top: 22px;
  color: var(--ink);
  background: var(--mint);
  box-shadow: none;
}

.light-btn:hover {
  color: var(--ink);
  background: #ddffe9;
  box-shadow: none;
}

.cta-illustration {
  width: 360px;
  height: 235px;
  align-self: end;
  position: relative;
}

.site-cta-banner {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 22px;
  position: absolute;
  inset: 0;
  z-index: 3;
}

.site-cta-banner[hidden] {
  display: none;
}

.cta-building {
  position: absolute;
  bottom: 0;
  border-radius: 95px 95px 0 0;
}

.building-back {
  width: 175px;
  height: 180px;
  right: 40px;
  background: #433a82;
  transform: skewY(-7deg);
}

.building-front {
  width: 190px;
  height: 142px;
  right: 132px;
  padding: 26px 20px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: var(--purple);
  border-radius: 93px 93px 0 0;
  box-shadow: -15px 0 0 rgba(16, 15, 37, 0.17);
}

.building-front span {
  width: 22px;
  height: 30px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

.cta-sun {
  width: 45px;
  height: 45px;
  position: absolute;
  top: 20px;
  right: 48px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 10px rgba(255, 177, 105, 0.1);
}

.cta-plant {
  width: 30px;
  height: 50px;
  position: absolute;
  bottom: 0;
  right: 8px;
  border: 5px solid #79d1a8;
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  transform: rotate(25deg);
}

.site-footer {
  padding-top: 67px;
  padding-bottom: 20px;
  background: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 1.5fr 1fr;
  gap: 60px;
  padding-bottom: 52px;
}

.footer-brand > p {
  max-width: 220px;
  margin-top: 19px;
  color: var(--muted);
  font-size: 0.67rem;
  line-height: 1.9;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 13px;
}

.footer-links strong,
.footer-newsletter > strong {
  margin-bottom: 5px;
  font-size: 0.7rem;
}

.footer-links a,
.footer-newsletter p {
  color: var(--muted);
  font-size: 0.62rem;
}

.footer-links a:hover {
  color: var(--purple);
}

.footer-newsletter p {
  margin: 0;
  line-height: 1.8;
}

.footer-newsletter form {
  height: 42px;
  display: flex;
  margin-top: 15px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.footer-newsletter input {
  min-width: 0;
  flex: 1;
  padding: 0 10px;
  color: var(--ink);
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 0.64rem;
}

.footer-newsletter button {
  width: 34px;
  color: #fff;
  border: 0;
  border-radius: 7px;
  background: var(--purple);
}

.footer-newsletter button svg {
  width: 15px;
}

.footer-enamad {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 112px;
  padding: 18px 0 22px;
  border-top: 1px solid var(--line);
}

.footer-enamad a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 12px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer-enamad a:hover {
  background: #faf9ff;
  transform: translateY(-2px);
}

.footer-enamad img {
  display: block;
  width: 128px;
  max-width: 100%;
  height: auto;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 19px;
  color: #aaa8b8;
  border-top: 1px solid var(--line);
  font-size: 0.57rem;
}

.modal-backdrop {
  display: grid;
  visibility: hidden;
  place-items: center;
  opacity: 0;
  padding: 20px;
  background: rgba(20, 18, 42, 0.6);
  backdrop-filter: blur(5px);
  position: fixed;
  inset: 0;
  z-index: 20;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.open {
  visibility: visible;
  opacity: 1;
}

#contactModal:target {
  visibility: visible;
  opacity: 1;
}

#contactModal:target .modal-card {
  transform: translateY(0);
}

.listing-image-lightbox {
  z-index: 40;
  padding: 14px;
  background: rgba(8, 7, 20, 0.86);
}

.listing-image-lightbox-card {
  width: min(100%, 1120px);
  height: min(calc(100vh - 28px), 820px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 54px 78px 20px;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: #11101e;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.48);
  position: relative;
}

.listing-image-lightbox-close {
  z-index: 2;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.12);
}

.listing-image-lightbox-close:hover,
.listing-image-lightbox-close:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.listing-image-lightbox-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: contain;
  border-radius: 10px;
  outline: 0;
}

.listing-image-lightbox-control {
  width: 44px;
  height: 54px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.13);
  font: 400 2.4rem/1 Arial, sans-serif;
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
}

.listing-image-lightbox-control:hover,
.listing-image-lightbox-control:focus-visible {
  background: rgba(113, 100, 232, 0.82);
  outline: 0;
}

.listing-image-lightbox-previous {
  left: 20px;
}

.listing-image-lightbox-next {
  right: 20px;
}

.listing-image-lightbox-control[hidden] {
  display: none;
}

.listing-image-lightbox-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
}

.listing-image-lightbox-footer small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.67rem;
}

.modal-card {
  width: min(100%, 505px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 28px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 30px 90px rgba(15, 12, 45, 0.25);
  position: relative;
  transform: translateY(15px);
  transition: transform 0.25s ease;
}

.account-modal-card {
  width: min(100%, 960px);
}

.listing-detail-modal-card {
  width: min(100%, 720px);
}

.modal-backdrop.open .modal-card {
  transform: translateY(0);
}

.modal-close {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 0;
  border-radius: 50%;
  background: var(--surface-soft);
  font-size: 1.3rem;
  line-height: 1;
  position: absolute;
  top: 20px;
  left: 20px;
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 13px;
}

.modal-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--purple);
  border-radius: 14px;
  background: var(--purple-pale);
}

.modal-icon svg {
  width: 21px;
}

.modal-header h2 {
  margin: 3px 0 0;
  font-size: 1.2rem;
  letter-spacing: -0.05em;
}

.modal-intro {
  margin: 19px 0;
  color: var(--muted);
  font-size: 0.71rem;
  line-height: 1.9;
}

.owner-form {
  display: grid;
  gap: 13px;
}

.owner-account-form {
  display: grid;
  gap: 13px;
}

.owner-form input[type="number"]::-webkit-inner-spin-button,
.owner-form input[type="number"]::-webkit-outer-spin-button,
#ownerEditForm input[type="number"]::-webkit-inner-spin-button,
#ownerEditForm input[type="number"]::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.owner-form input[type="number"],
#ownerEditForm input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

#ownerLookupForm[hidden],
#ownerOtpStep[hidden],
#contactDetailsStep[hidden],
#contactOtpStep[hidden],
#contactMessageResult[hidden],
#ownerFixedPasswordField[hidden],
#ownerOtpCodeField[hidden],
#ownerOtpResendButton[hidden] {
  display: none !important;
}

.owner-account-form label {
  display: grid;
  gap: 6px;
}

.owner-account-form label > span {
  color: var(--ink-soft);
  font-size: 0.64rem;
  font-weight: 700;
}

.owner-account-form input {
  width: 100%;
  padding: 11px 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: 0;
  background: #fff;
  font-size: 0.71rem;
}

.owner-account-form input:focus {
  border-color: rgba(113, 100, 232, 0.7);
  box-shadow: 0 0 0 3px rgba(113, 100, 232, 0.08);
}

.owner-account-form select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: 0;
  background: #fff;
  font: inherit;
  font-size: 0.71rem;
}

.owner-account-form select:focus {
  border-color: rgba(113, 100, 232, 0.7);
  box-shadow: 0 0 0 3px rgba(113, 100, 232, 0.08);
}

.owner-otp-channel-help {
  color: var(--muted);
  font-size: 0.64rem;
  line-height: 1.8;
}

.owner-otp-channel-selector[hidden],
.owner-otp-channel-hidden {
  display: none !important;
}

.owner-telegram-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--purple);
  font-size: 0.72rem;
  font-weight: 700;
}

.owner-telegram-connect-button {
  flex: 0 0 auto;
  padding: 10px 14px;
  color: var(--purple-dark);
  border: 1px solid #cfcaf4;
  border-radius: 9px;
  background: #fff;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
}

.owner-telegram-connect {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #dcd8ff;
  border-radius: 13px;
  background: #f8f7ff;
}

.owner-telegram-connect[hidden] {
  display: none;
}

.owner-telegram-connect p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.8;
}

.owner-telegram-connect-button:hover {
  background: var(--purple-pale);
}

.owner-telegram-connect-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.owner-otp-step {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid #dcd8ff;
  border-radius: 12px;
  background: #f8f7ff;
}

.owner-otp-step[hidden] {
  display: none;
}

.owner-otp-hint {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.8;
}

.owner-otp-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.owner-otp-actions button {
  padding: 7px 12px;
  color: var(--purple-dark);
  border: 1px solid #cfcaf4;
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 0.7rem;
  cursor: pointer;
}

.owner-otp-actions button:disabled {
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.7;
}

.owner-otp-countdown,
#ownerOtpCountdown {
  color: var(--muted);
  font-size: 0.7rem;
}

#ownerAccountModal .owner-otp-step {
  padding: 20px;
}

#ownerAccountModal .owner-otp-hint,
#ownerAccountModal .owner-otp-actions button,
#ownerAccountModal #ownerOtpCountdown {
  font-size: 0.86rem;
}

#ownerAccountModal #ownerOtpCode {
  direction: ltr;
  text-align: center;
  letter-spacing: 0.3em;
  font-size: 1.25rem;
  font-weight: 700;
}

.owner-panel-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.owner-panel-section-heading h3 {
  margin: 4px 0 0;
  font-size: 0.82rem;
}

.owner-panel-help {
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 0.59rem;
  line-height: 1.8;
}

.owner-profile-card,
.owner-edit-panel {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fcfcff;
}

.owner-welcome {
  display: grid;
  gap: 4px;
  margin: 12px 0;
  padding: 12px 14px;
  color: var(--ink-soft);
  border: 1px solid #dcd8ff;
  border-radius: 10px;
  background: #f7f6ff;
}

.owner-welcome[hidden] {
  display: none;
}

.owner-welcome strong {
  color: var(--purple-dark);
  font-size: 0.86rem;
}

.owner-welcome span {
  color: var(--muted);
  font-size: 0.68rem;
}

.owner-welcome-profile {
  display: flex;
  align-items: center;
  gap: 11px;
}

.owner-welcome-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.owner-welcome-name-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.owner-welcome-phone {
  color: var(--purple);
  direction: ltr;
  font-size: 0.72rem;
  font-weight: 700;
}

.owner-profile-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  overflow: hidden;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, #7164e8, #4437ad);
  font-size: 1rem;
  font-weight: 800;
}

.owner-profile-avatar[hidden] {
  display: none;
}

.owner-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.owner-profile-edit-button {
  justify-self: start;
  margin-top: 10px;
  padding: 8px 11px;
  color: var(--purple-dark);
  border: 1px solid #cbc5ff;
  border-radius: 8px;
  background: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  cursor: pointer;
}

.owner-profile-edit-button:hover {
  border-color: var(--purple);
  background: #f7f6ff;
}

.owner-profile-edit-button[hidden] {
  display: none;
}

.owner-profile-status {
  padding: 5px 8px;
  color: #a65a22;
  border-radius: 7px;
  background: #fff0e2;
  font-size: 0.55rem;
  font-weight: 800;
}

.owner-profile-status.complete {
  color: #188a60;
  background: #dff9eb;
}

.owner-profile-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.owner-profile-form label {
  display: grid;
  gap: 6px;
}

.owner-profile-form label > span {
  color: var(--ink-soft);
  font-size: 0.62rem;
  font-weight: 700;
}

.owner-profile-form input {
  width: 100%;
  padding: 10px 11px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  background: #fff;
  font-size: 0.7rem;
}

.owner-profile-form button {
  grid-column: 1 / -1;
}

.owner-profile-image-label,
.owner-profile-image-preview {
  grid-column: 1 / -1;
}

.owner-profile-image-preview {
  margin: 0;
}

.owner-profile-message {
  margin-top: 9px;
  color: #b93838;
  font-size: 0.59rem;
  line-height: 1.7;
}

.owner-profile-message.success {
  color: #188a60;
}

.owner-edit-close {
  padding: 5px 8px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  font-size: 0.58rem;
}

.owner-edit-close:hover {
  color: var(--purple);
  border-color: rgba(113, 100, 232, 0.35);
}

.featured-option {
  display: grid;
  gap: 5px;
  padding: 10px 11px;
  border: 1px solid #e5e2fa;
  border-radius: 9px;
  background: #fbfaff;
}

.featured-option-main {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.64rem;
  font-weight: 700;
}

.featured-option-main input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--purple);
}

.featured-option .field-help {
  margin-inline-start: 24px;
}

#ownerModal .featured-option {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 11px;
}

#ownerModal .featured-option-main {
  flex: 1;
  min-width: 0;
}

#ownerModal .featured-option-main input {
  width: 16px;
  min-width: 16px;
  height: 16px;
  min-height: 16px;
  padding: 0;
}

#ownerModal .featured-option .field-help {
  display: none;
}

.listing-duration-field {
  margin-top: 0;
}

.listing-duration-field .field-help {
  margin-top: -1px;
}

.owner-package-row {
  align-items: stretch;
}

.owner-package-row > .featured-option,
.owner-package-row > .listing-duration-field {
  min-width: 0;
}

.field-help {
  color: var(--muted);
  font-size: 0.57rem;
  line-height: 1.7;
}

.owner-wallet-card {
  margin-top: 18px;
  padding: 15px;
  border: 1px solid #dedbf9;
  border-radius: 13px;
  background: #f8f7ff;
}

.owner-wallet-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.owner-wallet-heading h3 {
  margin: 4px 0 0;
  font-size: 0.82rem;
}

.owner-wallet-heading > strong {
  color: var(--purple);
  font-size: 0.85rem;
  white-space: nowrap;
}

.owner-wallet-help,
.wallet-gateway-note {
  color: var(--muted);
  font-size: 0.58rem;
  line-height: 1.8;
}

.owner-wallet-help {
  margin: 9px 0 13px;
}

.owner-wallet-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 14px;
}

.owner-wallet-method {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-height: 82px;
  padding: 10px;
  border: 1px solid #e5e2fa;
  border-radius: 10px;
  background: #fff;
}

.owner-wallet-method-icon {
  display: grid;
  flex: 0 0 25px;
  place-items: center;
  width: 25px;
  height: 25px;
  color: #fff;
  border-radius: 8px;
  background: var(--purple);
  font-size: 0.85rem;
  font-weight: 800;
}

.owner-wallet-method strong {
  display: block;
  color: var(--ink);
  font-size: 0.62rem;
}

.owner-wallet-method p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.56rem;
  line-height: 1.7;
}

.topup-wallet-method .owner-wallet-method-icon {
  background: #198b69;
}

.owner-wallet-form {
  display: grid;
  gap: 9px;
}

.owner-wallet-form label {
  display: grid;
  gap: 6px;
}

.owner-wallet-form label > span {
  color: var(--ink-soft);
  font-size: 0.62rem;
  font-weight: 700;
}

.owner-wallet-form input {
  width: 100%;
  padding: 10px 11px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  background: #fff;
  font-size: 0.7rem;
}

.owner-wallet-form input:focus {
  border-color: rgba(113, 100, 232, 0.7);
  box-shadow: 0 0 0 3px rgba(113, 100, 232, 0.08);
}

.owner-wallet-form .submit-form-btn {
  min-height: 40px;
  margin-top: 0;
  font-size: 0.66rem;
}

.wallet-gateway-note {
  display: block;
  margin-top: 8px;
}

.owner-wallet-message {
  margin-top: 9px;
  color: #b93838;
  font-size: 0.59rem;
  line-height: 1.7;
}

.owner-wallet-message.success {
  color: #188a60;
}

.owner-wallet-transactions {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e5e2fa;
}

.owner-wallet-transactions h4 {
  margin: 0 0 7px;
  color: var(--ink-soft);
  font-size: 0.65rem;
}

.owner-wallet-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.58rem;
  line-height: 1.7;
}

.owner-wallet-transaction-list {
  display: grid;
  gap: 6px;
}

.owner-wallet-transaction {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.58rem;
}

.owner-wallet-transaction strong {
  color: #188a60;
  font-size: 0.6rem;
  white-space: nowrap;
}

.owner-account-result {
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.owner-account-result > h3 {
  margin: 0 0 11px;
  font-size: 0.82rem;
}

.owner-account-result > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.69rem;
  line-height: 1.8;
}

@media (max-width: 560px) {
  .owner-wallet-methods {
    grid-template-columns: 1fr;
  }

  .owner-profile-form {
    grid-template-columns: 1fr;
  }

  .listing-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .listing-detail-image {
    height: 220px;
  }
}

.owner-account-result.error > p {
  color: #b93838;
}

.owner-account-result.loading > p {
  color: var(--purple);
}

.owner-listings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.owner-listing-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fcfcfe;
}

@media (max-width: 720px) {
  .owner-listings {
    grid-template-columns: 1fr;
  }
}

/* فرم ثبت آگهی باید مانند یک صفحه‌ی کامل و قابل اسکرول نمایش داده شود. */
#ownerModal {
  place-items: start center;
  overflow-y: auto;
  padding: 24px;
}

#ownerModal > .modal-card {
  width: min(100%, 1080px);
  min-height: calc(100vh - 48px);
  max-height: none;
  overflow: visible;
  padding: 38px 42px 48px;
}

#ownerModal .modal-header h2 {
  font-size: 1.55rem;
}

#ownerModal .modal-intro,
#ownerModal .owner-form label > span,
#ownerModal .image-upload-label small,
#ownerModal .field-help {
  font-size: 0.88rem;
}

#ownerModal .owner-form input,
#ownerModal .owner-form select {
  min-height: 48px;
  padding: 12px 14px;
  font-size: 0.95rem;
}

#ownerModal .image-preview {
  min-height: 82px;
  font-size: 0.82rem;
}

#ownerModal .submit-form-btn {
  min-height: 52px;
  font-size: 0.95rem;
}

@media (max-width: 720px) {
  #ownerModal {
    padding: 8px;
  }

  #ownerModal > .modal-card {
    width: 100%;
    min-height: calc(100vh - 16px);
    padding: 30px 20px 38px;
  }

  #ownerModal .modal-header h2 {
    font-size: 1.25rem;
  }
}

.referred-listing-card {
  border-color: #e5e2fa;
  background: #fbfaff;
}

.owner-listing-card > img,
.owner-listing-image-button {
  width: 78px;
  height: 78px;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
}

.owner-listing-image-button {
  overflow: hidden;
}

.owner-listing-card > img,
.owner-listing-image-button img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.owner-listing-image-button:focus-visible {
  outline: 3px solid rgba(113, 100, 232, 0.38);
  outline-offset: 2px;
}

.owner-listing-body {
  min-width: 0;
}

.owner-listing-body h3 {
  margin: 0;
  overflow: hidden;
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.owner-listing-location {
  margin: 5px 0;
  color: var(--muted);
  font-size: 0.59rem;
}

.owner-listing-time {
  margin: 4px 0;
  color: #a65a22;
  font-size: 0.57rem;
  line-height: 1.6;
}

.owner-listing-features {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 5px 0;
}

.owner-listing-features span {
  padding: 3px 6px;
  color: var(--green);
  border-radius: 5px;
  background: var(--mint);
  font-size: 0.52rem;
}

.owner-listing-expiry {
  margin: 3px 0 7px;
  color: var(--muted);
  font-size: 0.55rem;
}

.owner-listing-price {
  display: block;
  color: var(--purple);
  font-size: 0.67rem;
}

.owner-listing-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}

.owner-listing-badge {
  padding: 4px 6px;
  color: var(--ink-soft);
  border-radius: 6px;
  background: #efeff6;
  font-size: 0.52rem;
}

.owner-listing-badge.status-approved {
  color: #188a60;
  background: #dff9eb;
}

.owner-listing-badge.status-awaiting_payment,
.owner-listing-badge.status-pending {
  color: #a65a22;
  background: #fff0e2;
}

.owner-listing-badge.status-rejected,
.owner-listing-badge.status-needs_edit {
  color: #b93838;
  background: #ffebeb;
}

.owner-listing-note {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 0.57rem;
  line-height: 1.7;
}

.featured-owner-badge {
  color: #6d4a00;
  background: #ffe49a;
}

.owner-listing-edit {
  margin-top: 9px;
  padding: 6px 9px;
  color: var(--purple);
  border: 1px solid rgba(113, 100, 232, 0.3);
  border-radius: 7px;
  background: var(--purple-pale);
  font-size: 0.57rem;
  font-weight: 800;
}

.owner-listing-edit:hover {
  background: #e8e5ff;
}

.listing-detail-image {
  width: 100%;
  height: 300px;
  display: block;
  object-fit: cover;
  border-radius: 15px;
}

.listing-detail-header {
  margin-top: 18px;
}

.listing-detail-header h2 {
  margin: 5px 0 0;
  font-size: 1.2rem;
  line-height: 1.6;
}

.listing-detail-location {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.8;
}

.listing-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 18px;
}

.listing-detail-item {
  display: grid;
  gap: 5px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fcfcfe;
}

.listing-detail-item small {
  color: var(--muted);
  font-size: 0.57rem;
}

.listing-detail-item strong {
  font-size: 0.66rem;
}

.listing-detail-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 13px;
  border-radius: 10px;
  background: var(--purple-pale);
}

.listing-detail-price span {
  color: var(--ink-soft);
  font-size: 0.62rem;
}

.listing-detail-price strong {
  color: var(--purple);
  font-size: 0.76rem;
}

.listing-detail-map {
  margin-top: 15px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fcfcff;
}

.listing-map-picker {
  margin-top: 2px;
  padding: 15px;
  border: 1px solid #dcd8f5;
  border-radius: 13px;
  background: #fbfaff;
}

.listing-map-picker-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.listing-map-picker-heading > div {
  display: grid;
  gap: 4px;
}

.listing-map-picker-heading span:first-child {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
}

.listing-map-picker-heading small {
  color: var(--muted);
  font-size: 0.62rem;
  line-height: 1.8;
}

.listing-map-required {
  flex: 0 0 auto;
  padding: 4px 8px;
  color: #a33a52;
  border: 1px solid #f2bdc9;
  border-radius: 999px;
  background: #fff2f5;
  font-size: 0.58rem;
  font-weight: 800;
}

.listing-map-canvas {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border: 1px solid #d7d3e8;
  border-radius: 11px;
  background: #e9e8f0;
  isolation: isolate;
}

.listing-map-canvas-wrap {
  position: relative;
}

.listing-map-zoom-controls {
  display: grid;
  gap: 6px;
  position: absolute;
  z-index: 500;
  top: 10px;
  left: 10px;
}

.listing-map-zoom-controls[hidden] {
  display: none;
}

.listing-map-zoom-controls button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--ink);
  border: 1px solid #d4d0e5;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(43, 35, 91, 0.16);
  font: 700 1.35rem/1 Arial, sans-serif;
  cursor: pointer;
}

.listing-map-zoom-controls button:hover {
  color: var(--purple);
  background: #f7f5ff;
}

.listing-map-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.listing-map-actions small {
  color: var(--muted);
  font-size: 0.6rem;
  line-height: 1.7;
}

.map-load-button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 6px 13px;
  color: var(--purple-dark);
  border: 1px solid #cbc5ef;
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
}

.map-load-button:hover:not(:disabled) {
  background: var(--purple-pale);
}

.map-load-button:disabled {
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.7;
}

.listing-map-status {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.64rem;
  line-height: 1.8;
}

.listing-map-status[data-state="selected"] {
  color: #287653;
  font-weight: 700;
}

.listing-map-status[data-state="error"] {
  color: #b33b54;
  font-weight: 700;
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
}

.featured-badge small {
  font-size: 0.56rem;
  font-weight: 800;
}

#ownerModal .leaflet-container {
  z-index: 0;
  font-family: inherit;
  direction: ltr;
}

.listing-detail-map-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.listing-detail-map-heading strong {
  color: var(--ink-soft);
  font-size: 0.68rem;
}

.listing-detail-map-heading small {
  color: var(--muted);
  font-size: 0.57rem;
}

.listing-detail-map-frame {
  width: 100%;
  height: 250px;
  display: block;
  border: 0;
  border-radius: 10px;
  background: #ecebf3;
}

.listing-detail-map-link {
  display: inline-flex;
  margin-top: 9px;
  color: var(--purple);
  font-size: 0.62rem;
  font-weight: 700;
}

.listing-detail-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  margin-top: 12px;
  color: #fff;
  border-radius: 9px;
  background: #188a60;
  font-size: 0.68rem;
  font-weight: 800;
}

.listing-detail-contact-note {
  margin: 12px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.6rem;
}

.listing-detail-contact-container {
  margin-top: 12px;
}

.listing-contact-gate {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fcfcff;
}

.listing-contact-gate-heading {
  display: grid;
  gap: 4px;
}

.listing-contact-gate-heading strong {
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.listing-contact-gate-heading small,
.visitor-registration-message {
  color: var(--muted);
  font-size: 0.6rem;
  line-height: 1.8;
}

.listing-phone-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  margin: 11px 0;
  color: var(--muted);
  border: 1px dashed #d9d5ec;
  border-radius: 9px;
  background: #f4f3fa;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  filter: blur(4px);
  user-select: none;
}

.visitor-registration-form {
  display: grid;
  gap: 9px;
}

.visitor-registration-form label {
  display: grid;
  gap: 5px;
}

.visitor-registration-form label > span {
  color: var(--ink-soft);
  font-size: 0.62rem;
  font-weight: 700;
}

.visitor-registration-form input {
  width: 100%;
  padding: 10px 11px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: 0;
  background: #fff;
  font-size: 0.68rem;
}

.visitor-registration-form input:focus {
  border-color: rgba(113, 100, 232, 0.7);
  box-shadow: 0 0 0 3px rgba(113, 100, 232, 0.08);
}

.visitor-registration-message {
  margin: 0;
  color: #b33b54;
}

.visitor-registration-message.success {
  color: #188a60;
}

.visitor-otp-step {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 13px;
  border: 1px solid #dcd8ff;
  border-radius: 11px;
  background: #f8f7ff;
}

.visitor-otp-step[hidden] {
  display: none;
}

.visitor-otp-hint {
  color: var(--muted);
  font-size: 0.61rem;
  line-height: 1.8;
}

.visitor-otp-step input {
  direction: ltr;
  text-align: center;
}

.visitor-otp-step input[type="tel"] {
  letter-spacing: 0.28em;
  font-size: 0.92rem;
  font-weight: 800;
}

.visitor-otp-actions {
  display: flex;
  align-items: center;
  gap: 8px 11px;
  flex-wrap: wrap;
}

.visitor-otp-actions button {
  min-height: 32px;
  padding: 6px 9px;
  color: var(--purple-dark);
  border: 1px solid #cfcaf4;
  border-radius: 7px;
  background: #fff;
  font: inherit;
  font-size: 0.6rem;
  font-weight: 700;
}

.visitor-otp-actions button:hover:not(:disabled) {
  background: var(--purple-pale);
}

.visitor-otp-actions button:disabled {
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.65;
}

.visitor-otp-countdown {
  color: var(--muted);
  font-size: 0.59rem;
}

.visitor-registration-submit {
  min-height: 42px;
  padding: 9px 14px;
  color: #fff;
  border: 0;
  border-radius: 9px;
  background: var(--purple);
  font-size: 0.66rem;
  font-weight: 800;
  cursor: pointer;
}

.visitor-registration-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.visitor-registration-submit:hover:not(:disabled) {
  background: var(--purple-dark);
}

.listing-detail-description {
  margin-top: 15px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fcfcff;
}

.listing-detail-description > span {
  display: block;
  margin-bottom: 5px;
  color: var(--ink-soft);
  font-size: 0.62rem;
  font-weight: 800;
}

.listing-detail-description p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.67rem;
  line-height: 1.9;
}

.owner-form label {
  display: grid;
  gap: 6px;
}

.owner-form label > span {
  color: var(--ink-soft);
  font-size: 0.64rem;
  font-weight: 700;
}

.price-fields {
  display: grid;
  gap: 12px;
}

.price-fields[hidden] {
  display: none !important;
}

.owner-form input,
.owner-form select,
.owner-form textarea {
  width: 100%;
  padding: 11px 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: 0;
  background: #fff;
  font-size: 0.71rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.owner-form textarea {
  resize: vertical;
}

.contact-form,
.contact-form > div {
  display: grid;
  gap: 13px;
}

.contact-form[hidden] {
  display: none !important;
}

.contact-form label {
  display: grid;
  gap: 6px;
}

.contact-form label > span {
  color: var(--ink-soft);
  font-size: 0.64rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: 0;
  background: #fff;
  font-size: 0.71rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(113, 100, 232, 0.7);
  box-shadow: 0 0 0 3px rgba(113, 100, 232, 0.08);
}

.contact-otp-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.8;
}

.contact-otp-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-otp-actions #contactOtpCountdown {
  color: var(--muted);
  font-size: 0.62rem;
}

.contact-message-result {
  margin-top: 14px;
  padding: 12px 13px;
  border-radius: 10px;
  font-size: 0.71rem;
  line-height: 1.8;
}

.contact-message-result.success {
  color: #14784f;
  background: #e9fff2;
}

.contact-message-result.error {
  color: #a33131;
  background: #fff0f0;
}

.contact-modal-card {
  width: min(100%, 650px);
}

.owner-form input:focus,
.owner-form select:focus,
.owner-form textarea:focus {
  border-color: rgba(113, 100, 232, 0.7);
  box-shadow: 0 0 0 3px rgba(113, 100, 232, 0.08);
}

.image-upload-label small {
  color: var(--muted);
  font-size: 0.57rem;
  line-height: 1.7;
}

.image-upload-label input[type="file"] {
  padding: 9px;
  color: var(--muted);
  border-style: dashed;
  background: var(--surface-soft);
  cursor: pointer;
}

.image-preview {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfaff;
  font-size: 0.6rem;
}

.image-preview[hidden] {
  display: none;
}

.image-preview img {
  width: 70px;
  height: 54px;
  object-fit: cover;
  border-radius: 7px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.owner-initial-amenities-row,
.owner-edit-core-amenities-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.submit-form-btn {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 4px;
  color: #fff;
  border: 0;
  border-radius: 10px;
  background: var(--purple);
  font-size: 0.73rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.submit-form-btn span {
  font-size: 1.1rem;
}

.payment-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #dedbf9;
  border-radius: 11px;
  background: #f7f6ff;
}

.payment-summary-icon,
.payment-step-icon {
  display: grid;
  place-items: center;
  color: var(--purple);
  border-radius: 10px;
  background: #e9e6ff;
}

.payment-summary-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

.payment-summary-icon svg {
  width: 17px;
}

.payment-summary > span:nth-child(2) {
  display: grid;
  gap: 2px;
  flex: 1;
}

.payment-summary small,
.payment-connection-note {
  color: var(--muted);
  font-size: 0.57rem;
}

.payment-summary strong {
  color: var(--ink);
  font-size: 0.75rem;
}

.payment-required {
  padding: 5px 7px;
  color: #a65a22;
  border-radius: 7px;
  background: #fff0e2;
  font-size: 0.54rem;
  font-weight: 800;
}

.payment-step {
  padding-top: 9px;
  text-align: center;
}

.payment-step[hidden] {
  display: none;
}

.payment-step-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  border-radius: 16px;
}

.payment-step-icon svg {
  width: 23px;
}

.payment-step h3 {
  margin: 0 0 7px;
  font-size: 1rem;
}

.payment-step p {
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.8;
}

.referral-field {
  display: grid;
  gap: 6px;
  margin: 14px 0;
  text-align: right;
}

.owner-contact-row .referral-field {
  margin: 0;
}

.owner-contact-row > label {
  min-width: 0;
}

.referral-field > span {
  color: var(--ink-soft);
  font-size: 0.64rem;
  font-weight: 700;
}

.referral-field input {
  width: 100%;
  padding: 11px 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: 0;
  background: #fff;
  font-size: 0.71rem;
}

.referral-field small {
  color: var(--muted);
  font-size: 0.56rem;
  line-height: 1.6;
}

.payment-step-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0 13px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
  font-size: 0.66rem;
}

.payment-step-price strong {
  color: var(--purple);
  font-size: 0.85rem;
}

.payment-back-btn {
  padding: 9px 0;
  color: var(--ink-soft);
  border: 0;
  background: transparent;
  font-size: 0.64rem;
}

.payment-back-btn:hover {
  color: var(--purple);
}

.payment-connection-note {
  display: block;
  margin-top: 10px;
  line-height: 1.7;
}

.toast {
  max-width: min(350px, calc(100vw - 35px));
  padding: 13px 17px;
  color: #fff;
  border-radius: 11px;
  background: #272341;
  box-shadow: 0 14px 35px rgba(25, 21, 57, 0.22);
  font-size: 0.69rem;
  line-height: 1.7;
  position: fixed;
  right: 24px;
  bottom: 24px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: 0.25s ease;
  z-index: 30;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header,
  .hero-section,
  .search-card-section,
  .section-block,
  .owner-cta,
  .site-footer {
    padding-inline: 30px;
  }

  .main-nav {
    gap: 18px;
  }

  .main-nav .featured-nav-link,
  .main-nav .favorites-link {
    display: none;
  }

  .hero-section {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
    gap: 20px;
  }

  .hero-image-card {
    right: 13px;
  }

  .search-fields {
    overflow: visible;
  }

  .search-fields > .search-field,
  .search-fields > .search-submit {
    flex: 0 0 150px;
  }

  .listings-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: 1fr 1.6fr;
    gap: 40px;
  }

  .footer-newsletter {
    grid-column: span 2;
    max-width: 370px;
  }
}

@media (max-width: 720px) {
  .site-header,
  .hero-section,
  .search-card-section,
  .section-block,
  .owner-cta,
  .site-footer {
    padding-inline: 20px;
  }

  .search-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    overflow: visible;
  }

  .search-fields > .search-field,
  .search-fields > .search-submit {
    width: 100%;
    min-width: 0;
    flex: none;
  }

  .search-submit {
    width: 100%;
  }

  .site-header {
    height: 72px;
  }

  .main-nav {
    display: none;
    width: calc(100% - 40px);
    padding: 15px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    box-shadow: var(--shadow);
    position: absolute;
    top: 64px;
    right: 20px;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 11px 9px;
  }

  .header-actions {
    gap: 8px;
  }

  .mobile-favorites-link,
  .mobile-featured-link {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .post-btn {
    min-width: 94px;
    height: 38px;
    font-size: 0.7rem;
  }

  .menu-toggle {
    display: block;
  }

  .hero-section {
    min-height: auto;
    display: block;
    padding-top: 55px;
    padding-bottom: 220px;
  }

  .hero-content {
    padding: 0;
  }

  .hero-content h1 {
    max-width: 360px;
    font-size: 2.55rem;
  }

  .hero-content > p {
    max-width: 390px;
    font-size: 0.8rem;
    white-space: normal;
  }

  .hero-contact-line {
    white-space: normal;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 15px;
    top: -10px;
  }

  .hero-proof {
    margin-top: 28px;
  }

  .hero-visual {
    width: 100%;
    min-height: 230px;
    margin-top: 38px;
  }

  .hero-image-card {
    width: 180px;
    height: 245px;
    top: 0;
    right: calc(50% - 90px);
    border-radius: 100px 100px 15px 15px;
  }

  .hero-glow {
    right: calc(50% - 155px);
    top: -20px;
  }

  .search-card-section {
    margin-top: -174px;
  }

  .search-card {
    padding: 14px;
  }

  .search-fields {
    overflow: visible;
  }

  .search-submit {
    min-height: 48px;
  }

  .section-block {
    padding-top: 78px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .trust-card {
    min-height: 170px;
    padding: 23px;
  }

  .trust-card p {
    max-width: 310px;
  }

  .trust-number {
    top: 20px;
    left: 20px;
  }

  .featured-line {
    right: 23px;
    bottom: 19px;
  }

  .listings-section {
    padding-top: 42px;
  }

  .listings-heading {
    align-items: start;
    flex-direction: column;
  }

  .listing-toolbar {
    align-items: start;
    flex-direction: column;
    gap: 14px;
  }

  .listings-grid {
    grid-template-columns: 1fr;
  }

  .property-image {
    height: 235px;
  }

  .owner-cta {
    min-height: 500px;
    display: block;
    margin-top: 90px;
    padding-top: 45px;
  }

  .cta-copy {
    padding: 0;
  }

  .cta-illustration {
    width: 100%;
    height: 220px;
    margin-top: 16px;
  }

  .building-front {
    right: calc(50% - 100px);
  }

  .building-back {
    right: calc(50% - 160px);
  }

  .cta-sun {
    right: calc(50% - 155px);
  }

  .cta-plant {
    right: calc(50% - 175px);
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .footer-newsletter {
    grid-column: auto;
  }

  .footer-bottom {
    gap: 10px;
    flex-direction: column;
  }

  .modal-card {
    padding: 22px 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .toast {
    right: 17px;
    bottom: 17px;
  }
}

/* بزرگ‌تر شدن تصویر بنر و نزدیک‌تر شدن بخش اعتماد به جست‌وجو */
.hero-image-card {
  width: 220px;
  height: 370px;
  right: 82px;
}

.trust-section {
  padding-top: 52px;
}

@media (max-width: 980px) {
  .hero-image-card {
    right: 13px;
  }
}

@media (max-width: 720px) {
  .hero-image-card {
    width: 175px;
    height: 255px;
    right: calc(50% - 87.5px);
  }

  .trust-section {
    padding-top: 42px;
  }
}

@media (min-width: 721px) {
  .hero-section {
    min-height: 500px;
    padding-top: 52px;
    padding-bottom: 58px;
  }
}

/* پنل مالک: اندازه‌ی بزرگ‌تر، خوانایی بهتر و نمایش عکس‌های ملک */
#ownerAccountModal {
  place-items: start center;
  overflow-y: auto;
  padding: 24px;
}

#ownerAccountModal .account-modal-card {
  width: min(100%, 1180px);
  min-height: calc(100vh - 48px);
  max-height: none;
  overflow: visible;
  padding: 38px 42px 48px;
}

#ownerAccountModal .modal-header h2 {
  font-size: 1.55rem;
}

#ownerAccountModal .modal-intro,
#ownerAccountModal .owner-panel-help {
  font-size: 0.9rem;
}

#ownerAccountModal .owner-account-form label > span,
#ownerAccountModal .owner-form label > span,
#ownerAccountModal .owner-profile-form label > span,
#ownerAccountModal .owner-wallet-form label > span {
  font-size: 0.88rem;
}

#ownerAccountModal .owner-account-form input,
#ownerAccountModal .owner-account-form select,
#ownerAccountModal .owner-form input,
#ownerAccountModal .owner-form select,
#ownerAccountModal .owner-profile-form input,
#ownerAccountModal .owner-wallet-form input {
  min-height: 48px;
  padding: 12px 14px;
  font-size: 0.95rem;
}

#ownerAccountModal .owner-telegram-connect-button {
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  #ownerAccountModal .owner-telegram-connect {
    align-items: stretch;
    flex-direction: column;
  }

  #ownerAccountModal .owner-telegram-connect-button {
    width: 100%;
  }
}

#ownerAccountModal .owner-panel-section-heading h3,
#ownerAccountModal .owner-wallet-heading h3,
#ownerAccountModal .owner-account-result > h3 {
  font-size: 1.08rem;
}

#ownerAccountModal .owner-profile-status,
#ownerAccountModal .owner-profile-message,
#ownerAccountModal .owner-account-result > p,
#ownerAccountModal .owner-listing-body h3,
#ownerAccountModal .owner-listing-location,
#ownerAccountModal .owner-listing-time,
#ownerAccountModal .owner-listing-expiry,
#ownerAccountModal .owner-listing-price,
#ownerAccountModal .owner-listing-badge,
#ownerAccountModal .owner-listing-note,
#ownerAccountModal .owner-listing-edit {
  font-size: 0.82rem;
}

#ownerAccountModal .owner-profile-card,
#ownerAccountModal .owner-wallet-card,
#ownerAccountModal .owner-edit-panel {
  padding: 24px;
}

#ownerAccountModal .owner-listing-card {
  grid-template-columns: 132px minmax(0, 1fr);
  padding: 14px;
}

#ownerAccountModal .owner-listing-card > img,
#ownerAccountModal .owner-listing-image-button {
  width: 132px;
  height: 118px;
}

#ownerAccountModal .owner-listing-image-button img {
  width: 100%;
  height: 100%;
}

.owner-edit-media {
  margin: 20px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.owner-edit-media h4 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 1rem;
}

.owner-edit-current-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.owner-edit-current-gallery[hidden],
.owner-edit-current-gallery figure[hidden] {
  display: none;
}

.owner-edit-current-gallery figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfaff;
}

.owner-edit-current-gallery img {
  width: 100%;
  height: 190px;
  display: block;
  object-fit: cover;
}

.owner-edit-current-gallery figcaption {
  padding: 9px 10px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  text-align: center;
}

.owner-edit-upload-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.owner-edit-upload-item {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.owner-edit-upload-grid .image-upload-label {
  min-width: 0;
  padding: 12px;
  border: 1px dashed #cfcaf4;
  border-radius: 10px;
  background: #fbfaff;
}

.owner-edit-amenities-row {
  gap: 14px;
}

.listing-detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.listing-detail-gallery .listing-detail-image {
  height: 250px;
  cursor: zoom-in;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.listing-detail-gallery .listing-detail-image:hover,
.listing-detail-gallery .listing-detail-image:focus-visible {
  filter: brightness(0.92);
  outline: 3px solid rgba(113, 100, 232, 0.35);
  outline-offset: 2px;
}

.listing-detail-gallery .listing-detail-image:only-child {
  grid-column: 1 / -1;
  height: 390px;
}

.listing-detail-gallery-premium {
  grid-template-columns: minmax(116px, 0.82fr) minmax(0, 2fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  min-height: 390px;
}

.listing-detail-gallery-premium .listing-detail-image {
  height: auto;
  min-height: 0;
}

.listing-detail-gallery-premium .listing-detail-image:first-child {
  grid-column: 2;
  grid-row: 1 / -1;
  height: 100%;
  min-height: 390px;
}

.listing-detail-gallery-premium .listing-detail-image:not(:first-child) {
  grid-column: 1;
}

.listing-detail-gallery-count-2 .listing-detail-image:nth-child(2) {
  grid-row: 1 / -1;
  height: 100%;
}

.listing-detail-gallery-count-3 .listing-detail-image:nth-child(2) {
  grid-row: 1;
}

.listing-detail-gallery-count-3 .listing-detail-image:nth-child(3) {
  grid-row: 2;
}

.listing-detail-gallery-count-3 .listing-detail-image:nth-child(2),
.listing-detail-gallery-count-3 .listing-detail-image:nth-child(3) {
  height: 100%;
}

@media (max-width: 720px) {
  .listing-image-lightbox {
    padding: 8px;
  }

  .listing-image-lightbox-card {
    width: 100%;
    height: calc(100vh - 16px);
    padding: 48px 48px 16px;
    border-radius: 14px;
  }

  .listing-image-lightbox-control {
    width: 36px;
    height: 46px;
    font-size: 2rem;
  }

  .listing-image-lightbox-previous {
    left: 8px;
  }

  .listing-image-lightbox-next {
    right: 8px;
  }

  #ownerAccountModal {
    padding: 8px;
  }

  #ownerAccountModal .account-modal-card {
    width: 100%;
    min-height: calc(100vh - 16px);
    padding: 30px 20px 38px;
  }

  #ownerAccountModal .modal-header h2 {
    font-size: 1.25rem;
  }

  #ownerAccountModal .owner-profile-card,
  #ownerAccountModal .owner-wallet-card,
  #ownerAccountModal .owner-edit-panel {
    padding: 18px;
  }

  #ownerAccountModal .owner-listing-card {
    grid-template-columns: 94px minmax(0, 1fr);
  }

  #ownerAccountModal .owner-listing-card > img,
  #ownerAccountModal .owner-listing-image-button {
    width: 94px;
    height: 94px;
  }

  .owner-edit-current-gallery,
  .owner-edit-upload-grid {
    grid-template-columns: 1fr;
  }

  .owner-edit-current-gallery img {
    height: 220px;
  }

  .listing-detail-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .listing-detail-gallery .listing-detail-image {
    height: 190px;
  }

  .listing-detail-gallery .listing-detail-image:only-child {
    height: 250px;
  }

  .listing-detail-gallery-premium {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    min-height: 0;
  }

  .listing-detail-gallery-premium .listing-detail-image:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    height: 250px;
    min-height: 250px;
  }

  .listing-detail-gallery-premium .listing-detail-image:not(:first-child),
  .listing-detail-gallery-count-2 .listing-detail-image:nth-child(2),
  .listing-detail-gallery-count-3 .listing-detail-image:nth-child(2),
  .listing-detail-gallery-count-3 .listing-detail-image:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
    height: 160px;
  }

  .listing-detail-map-heading {
    align-items: start;
    flex-direction: column;
  }

  .listing-detail-map-frame {
    height: 210px;
  }

  .listing-map-canvas {
    height: 250px;
  }
}

/* Public listing link and sharing controls. */
.listing-detail-heading-row { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:18px; }
.listing-detail-heading-row .listing-detail-header { min-width:0; flex:1; margin:0; }
.listing-share { position:relative; flex:none; margin:0; }
.listing-share-buttons { display:flex; align-items:center; gap:8px; }
.listing-share-buttons button { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:42px; padding:8px 13px; border:1px solid #e5e1ef; border-radius:10px; background:#fff; color:#514765; font:inherit; font-size:13px; font-weight:600; cursor:pointer; transition:background .15s,border-color .15s; white-space:nowrap; }
.listing-share-buttons button svg { width:18px; height:18px; flex:none; }
.listing-share-buttons button:hover { background:#f7f5fc; border-color:#b9addc; }
.listing-share-buttons .listing-share-send { color:#6652c7; background:#f5f2ff; border-color:#eee8ff; }
.listing-share-buttons .listing-share-send:hover { background:#ece5ff; }
.listing-share-buttons button:disabled { opacity:.55; cursor:wait; }
.listing-share button:focus-visible,.listing-share a:focus-visible,.listing-share input:focus-visible { outline:2px solid #8974dc; outline-offset:3px; }
.listing-share-status { position:absolute; top:100%; inset-inline-end:0; z-index:3; width:max-content; max-width:240px; margin:8px 0 0; padding:8px 12px; border-radius:8px; background:#29233c; color:#fff; font-size:12px; line-height:1.7; box-shadow:0 4px 14px #211b3320; }
.listing-share-status:empty { display:none; }
.listing-share:has(.listing-share-options:not([hidden])) .listing-share-status { position:static; max-width:260px; width:auto; box-shadow:none; background:transparent; color:#625873; padding:0; }
.listing-share-options { position:absolute; top:calc(100% + 8px); inset-inline-end:0; z-index:4; display:flex; flex-wrap:wrap; gap:6px; width:280px; max-width:calc(100vw - 72px); padding:34px 12px 12px; background:white; border:1px solid #e8e3f0; border-radius:14px; box-shadow:0 12px 32px #2b224024; }
.listing-share-options[hidden] { display:none; }
.listing-share-options input { box-sizing:border-box; width:100%; min-width:0; padding:9px; font:12px Tahoma,sans-serif; border:1px solid #e7e2ed; border-radius:8px; background:#faf9fc; color:#514765; }
.listing-share-options a { flex:1; text-align:center; font-size:12px; color:#6652c7; padding:10px 4px; border-radius:8px; text-decoration:none; background:#f7f4ff; }
.listing-share-dismiss { position:absolute; top:4px; inset-inline-end:6px; width:28px; height:28px; border:0; background:transparent; color:#776d85; font-size:22px; cursor:pointer; }
@media(max-width:600px) { .listing-detail-heading-row { flex-wrap:wrap; gap:10px; } .listing-detail-heading-row .listing-detail-header { flex-basis:100%; } .listing-share { margin-inline-start:auto; } }
/* Main photo framing in the submission form. */
#ownerModal #imagePreview { display:flex; flex-direction:column; align-items:stretch; gap:0; width:min(100%, 436px); box-sizing:border-box; min-height:0; padding:8px; justify-self:start; }
#ownerModal #imagePreview[hidden] { display:none; }
#listingPhotoFrame { width:100%; max-width:420px; aspect-ratio:3 / 2; overflow:hidden; border-radius:12px; background:#eeecf4; touch-action:none; cursor:ns-resize; }
#ownerModal #listingPhotoFrame img { display:block; width:100%; height:100%; max-height:none; object-fit:cover; user-select:none; pointer-events:none; }
#ownerModal #imagePositionY { width:100%; max-width:420px; padding:0; accent-color:#7164e8; direction:ltr; }
#ownerModal .listing-photo-confirm { display:flex; align-items:center; gap:8px; }
#ownerModal .listing-photo-confirm input { width:18px; height:18px; margin:0; }
#ownerModal .listing-photo-upload { display:grid; gap:8px; }
#ownerModal .listing-photo-upload-row { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:10px 14px; border:1px dashed var(--line); border-radius:10px; background:#f8f7fc; }
#ownerModal .listing-photo-upload-row input[type="file"] { flex:1; min-width:0; width:auto; padding:0; border:0; background:transparent; }
#ownerModal .listing-photo-upload-row .listing-photo-confirm { flex:none; margin:0; white-space:nowrap; font-size:.82rem; }
@media(max-width:600px) { #ownerModal .listing-photo-upload-row { flex-wrap:wrap; gap:12px; } #ownerModal .listing-photo-upload-row input[type="file"] { flex-basis:100%; } }

/* Malek Sho - Light Tech brand theme */
.brand-mark {
  color: #0b0f19;
  background: linear-gradient(145deg, #AAFF00, #DFFF00);
  box-shadow: 0 10px 24px rgba(170, 255, 0, 0.32);
}

.main-nav a:hover,
.main-nav a.active,
.section-kicker,
.field-icon,
.footer-links a:hover {
  color: #15803d;
}

.post-btn,
.primary-btn,
.search-submit,
.submit-form-btn {
  color: #0b0f19;
  background: linear-gradient(135deg, #AAFF00, #DFFF00);
  box-shadow: 0 10px 24px rgba(170, 255, 0, 0.25);
}

.post-btn:hover,
.primary-btn:hover,
.search-submit:hover,
.submit-form-btn:hover {
  color: #0b0f19;
  background: linear-gradient(135deg, #DFFF00, #AAFF00);
  box-shadow: 0 14px 30px rgba(170, 255, 0, 0.36);
}

.hero-section {
  background:
    radial-gradient(circle at 14% 22%, rgba(170, 255, 0, 0.14), transparent 27%),
    radial-gradient(circle at 85% 78%, rgba(223, 255, 0, 0.1), transparent 30%),
    linear-gradient(135deg, #0b1320 0%, #152238 60%, #1f3622 100%);
}

.eyebrow {
  color: #DFFF00;
  border-color: rgba(223, 255, 0, 0.34);
  background: rgba(223, 255, 0, 0.08);
}

.eyebrow-dot {
  background: #AAFF00;
  box-shadow: 0 0 0 5px rgba(170, 255, 0, 0.14), 0 0 18px rgba(170, 255, 0, 0.7);
}

.hero-content h1 em {
  color: #AAFF00;
  text-shadow: 0 0 28px rgba(170, 255, 0, 0.16);
}

.hero-content h1 em::after {
  background: #DFFF00;
}

.search-card,
.property-card,
.step-card,
.owner-panel-card {
  background: #fff;
  border-color: rgba(223, 255, 0, 0.4);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.09);
}

.search-field:focus-within,
input:focus,
select:focus,
textarea:focus {
  border-color: rgba(170, 255, 0, 0.9);
  box-shadow: 0 0 0 4px rgba(223, 255, 0, 0.18);
}

.search-tab.active {
  color: #15803d;
  border-bottom-color: #AAFF00;
}

.property-footer strong,
.owner-listing-price,
.listing-detail-price strong {
  display: inline-flex;
  width: fit-content;
  padding: 5px 10px;
  color: #0b0f19;
  background: linear-gradient(135deg, #AAFF00, #DFFF00);
  border-radius: 9px;
  box-shadow: 0 6px 16px rgba(170, 255, 0, 0.2);
}

.owner-cta {
  background:
    radial-gradient(circle at 80% 40%, rgba(170, 255, 0, 0.13), transparent 30%),
    linear-gradient(135deg, #0b1320 0%, #152238 60%, #1f3622 100%);
}

.site-footer {
  border-top: 1px solid rgba(170, 255, 0, 0.35);
  background: linear-gradient(180deg, #ffffff 0%, #f8faf5 100%);
}

::selection {
  color: #0b0f19;
  background: #DFFF00;
}
/* Malek Sho neutral gray typography */
body {
  color: #1f2937;
}

.brand-copy strong,
.login-btn,
.section-head h2,
.property-body h3,
.footer-links strong,
.footer-newsletter > strong {
  color: #374151;
}

.brand-copy small,
.main-nav a,
.hero-content > p,
.section-head p,
.property-location,
.property-features,
.footer-brand > p,
.footer-links a,
.footer-newsletter p {
  color: #6b7280;
}

.hero-content > p,
.hero-proof span {
  color: #d1d5db;
}

.hero-proof strong {
  color: #f3f4f6;
}

.hero-image-card {
  border-color: rgba(170, 255, 0, 0.42);
  box-shadow: 0 28px 70px rgba(3, 35, 18, 0.38), 0 0 34px rgba(170, 255, 0, 0.13);
}

.hero-image-card::before {
  background: linear-gradient(135deg, rgba(170, 255, 0, 0.14), rgba(223, 255, 0, 0.04));
}
/* ===== Malek Sho complete 2026 redesign ===== */
:root {
  --neo: #aaff00;
  --neo-yellow: #dfff00;
  --forest: #17351f;
  --forest-2: #244b2d;
  --charcoal: #20252b;
  --gray-700: #4b5563;
  --gray-500: #7b8491;
  --gray-200: #e5e7eb;
  --canvas: #f4f6f2;
}

body {
  background: var(--canvas);
  color: var(--charcoal);
}

.page-shell {
  overflow: clip;
}

.site-header {
  width: min(calc(100% - 48px), 1240px);
  height: 76px;
  margin: 18px auto 0;
  padding: 0 18px 0 14px;
  border: 1px solid rgba(23, 53, 31, .09);
  border-radius: 22px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 16px 45px rgba(30, 41, 34, .08);
  backdrop-filter: blur(18px);
  position: relative;
  z-index: 20;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  box-shadow: 0 8px 22px rgba(95, 180, 0, .24);
}

.brand-copy { gap: 5px; }
.brand-copy strong { color: #252b27; font-size: 1.15rem; font-weight: 900; }
.brand-copy small { color: #8a928d; font-size: .56rem; }

.main-nav {
  gap: 8px;
  padding: 5px;
  border-radius: 14px;
  background: #f4f6f2;
}

.main-nav a {
  padding: 10px 16px;
  border-radius: 10px;
  color: #626b65;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a.active {
  color: #1f3525;
  background: #fff;
  box-shadow: 0 5px 16px rgba(25, 55, 32, .08);
}

.main-nav .featured-nav-link,
.main-nav .favorites-link {
  width: 38px;
  height: 38px;
  font-size: 1.35rem !important;
}

.post-btn {
  min-width: 126px;
  height: 46px;
  border-radius: 13px;
  color: #192019;
  background: var(--neo);
  box-shadow: none;
}

.hero-section {
  width: min(calc(100% - 48px), 1240px);
  min-height: 620px;
  margin: 14px auto 0;
  padding: 82px 72px 118px;
  grid-template-columns: minmax(0, .9fr) minmax(470px, 1.1fr);
  gap: 70px;
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 15%, rgba(170,255,0,.18), transparent 25%),
    radial-gradient(circle at 8% 90%, rgba(223,255,0,.08), transparent 30%),
    linear-gradient(128deg, #101914 0%, #16281c 52%, #274b2e 100%);
  box-shadow: 0 30px 80px rgba(21, 52, 29, .18);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.11) 1px, transparent 1px);
  background-size: 27px 27px;
  mask-image: linear-gradient(90deg, transparent, #000 70%, transparent);
  opacity: .38;
}

.hero-content { padding: 0; }
.eyebrow {
  padding: 9px 14px;
  border: 0;
  color: #26321e;
  background: var(--neo-yellow);
  font-size: .68rem;
  box-shadow: 0 8px 25px rgba(223,255,0,.18);
}
.eyebrow-dot { background: #26321e; box-shadow: none; }

.hero-content h1 {
  max-width: 610px;
  margin: 28px 0 20px;
  font-size: clamp(3rem, 5.1vw, 5.2rem);
  line-height: 1.08;
  letter-spacing: -.075em;
}
.hero-content h1 em {
  display: block;
  margin-top: 13px;
  color: var(--neo);
  font-size: .72em;
  letter-spacing: -.065em;
  text-shadow: none;
}
.hero-content h1 em::after { display: none; }
.hero-content > p {
  max-width: 520px;
  color: #cbd2cd;
  font-size: .92rem;
  line-height: 2.1;
}
.hero-contact-line { display: inline; }

.text-btn {
  min-height: 48px;
  padding: 0 6px 0 18px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  color: #f7f8f7;
  background: rgba(255,255,255,.07);
}
.play-icon { color: #152018; background: var(--neo); }
.hero-proof {
  width: fit-content;
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  background: rgba(5,15,9,.25);
}

.hero-visual {
  min-height: 430px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
}

.hero-showcase {
  width: min(100%, 540px);
  padding: 17px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 28px;
  background: rgba(247,250,246,.96);
  box-shadow: 0 32px 75px rgba(0,0,0,.28);
  transform: perspective(1100px) rotateY(-5deg) rotateX(2deg);
}

.showcase-topbar,
.showcase-brand,
.showcase-live,
.floating-card,
.showcase-metrics {
  display: flex;
  align-items: center;
}
.showcase-topbar { justify-content: space-between; padding: 0 3px 14px; color: #303a33; }
.showcase-brand { gap: 8px; font-size: .76rem; font-weight: 900; }
.showcase-brand img { width: 30px; height: 30px; border-radius: 9px; }
.showcase-live { gap: 6px; color: #657068; font-size: .58rem; }
.showcase-live i { width: 7px; height: 7px; border-radius: 50%; background: #62d100; box-shadow: 0 0 0 5px rgba(98,209,0,.12); }

.showcase-property {
  overflow: hidden;
  border-radius: 21px;
  background: linear-gradient(145deg, #eaf4e7, #d8e8d5);
}
.property-scene { height: 235px; position: relative; overflow: hidden; }
.scene-sun { width: 78px; height: 78px; border-radius: 50%; background: var(--neo-yellow); position: absolute; top: 24px; left: 35px; box-shadow: 0 0 45px rgba(223,255,0,.4); }
.scene-ground { height: 72px; position: absolute; inset: auto 0 0; background: linear-gradient(165deg, #89ad72, #426b48); clip-path: polygon(0 44%, 38% 15%, 64% 38%, 100% 5%, 100% 100%, 0 100%); }
.scene-building { position: absolute; bottom: 45px; border-radius: 10px 10px 2px 2px; background: #fff; box-shadow: 0 18px 35px rgba(41,74,49,.18); }
.scene-building::before { content:""; position:absolute; inset: 16px 12px; background: repeating-linear-gradient(90deg,#b8c8bb 0 12px,transparent 12px 24px), repeating-linear-gradient(0deg,transparent 0 19px,#e3ebe3 19px 21px); opacity:.75; }
.building-a { width: 112px; height: 160px; right: 56px; transform: skewY(-2deg); }
.building-b { width: 88px; height: 122px; right: 174px; background: #eff3ef; }
.building-c { width: 76px; height: 95px; right: 275px; background: #dbe6dc; }
.showcase-property-copy { padding: 17px 18px 19px; color: #263029; background:#fff; }
.showcase-property-copy span { display:block; color:#5d8c37; font-size:.58rem; font-weight:800; }
.showcase-property-copy strong { display:block; margin-top:6px; font-size:.9rem; }
.showcase-property-copy small { display:block; margin-top:6px; color:#879087; font-size:.58rem; }

.showcase-metrics { justify-content: space-between; gap: 8px; padding: 15px 5px 2px; }
.showcase-metrics div { flex:1; padding-inline:10px; border-left:1px solid #e2e8e2; }
.showcase-metrics div:last-child { border-left:0; }
.showcase-metrics strong { display:block; color:#253228; font-size:1rem; }
.showcase-metrics span { color:#858e87; font-size:.54rem; }

.floating-card {
  gap: 10px;
  position: absolute;
  padding: 12px 15px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 15px;
  color: #273029;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  backdrop-filter: blur(12px);
  z-index: 4;
}
.floating-card span,.floating-card small { color:#7a837c; font-size:.53rem; }
.floating-card strong { display:block; margin-top:3px; font-size:.67rem; }
.floating-price { left:-26px; bottom:72px; display:block; }
.floating-trust { right:-20px; top:76px; }
.floating-check { width:31px; height:31px; display:grid; place-items:center; border-radius:10px; color:#172018 !important; background:var(--neo); font-size:1rem !important; font-weight:900; }

.hero-orb,.hero-grid-pattern,.hero-glow,.hero-image-card { display:none; }

.search-card-section {
  width: min(calc(100% - 96px), 1120px);
  margin: -66px auto 0;
  padding: 0;
  z-index: 8;
}
.search-card {
  padding: 22px;
  border: 1px solid rgba(25,65,35,.1);
  border-radius: 24px;
  box-shadow: 0 26px 70px rgba(25,51,31,.13);
}
.search-card-heading { display:flex; align-items:end; justify-content:space-between; gap:20px; padding:0 5px 18px; }
.search-card-heading span { display:block; color:#68a727; font-size:.58rem; font-weight:900; }
.search-card-heading strong { display:block; margin-top:4px; color:#303832; font-size:.9rem; }
.search-card-heading small { color:#929a94; font-size:.57rem; }
.search-tabs { gap:7px; padding:4px; margin-bottom:13px; width:fit-content; border-radius:11px; background:#f1f4ef; }
.search-tab { min-width:78px; padding:8px 15px; border:0; border-radius:8px; }
.search-tab.active { color:#182019; border:0; background:var(--neo); }
.search-fields { gap:8px; }
.search-field { min-height:58px; border:0; border-radius:13px; background:#f5f7f3; }
.field-icon { color:#407847; background:#e7efdf; }
.search-submit { min-height:58px; border-radius:13px; }

.section-block { padding-top: 110px; }
.trust-section { padding-top: 100px; }
.section-heading { text-align:right; }
.section-heading h2 { color:#303630; font-size:clamp(1.7rem,3vw,2.5rem); }
.section-heading p { color:#7b847d; }
.trust-grid { gap:16px; }
.trust-card {
  min-height:245px;
  padding:30px;
  border:1px solid #e1e7df;
  border-radius:22px;
  background:#fff;
  box-shadow:none;
}
.trust-card.featured { color:#fff; border-color:#263e2a; background:linear-gradient(145deg,#17241b,#294b2e); transform:translateY(-14px); }
.trust-card.featured p { color:#c2ccc4; }
.trust-number { color:#d9dfda; font-size:2.4rem; }
.trust-icon { border-radius:12px; }

.listings-section { padding-top:95px; }
.listings-grid { gap:22px; }
.property-card {
  overflow:hidden;
  border:0;
  border-radius:22px;
  box-shadow:0 12px 35px rgba(28,47,33,.08);
}
.property-card:hover { transform:translateY(-7px); box-shadow:0 22px 50px rgba(28,47,33,.13); }
.property-image { margin:9px; border-radius:16px; }
.property-body { padding:16px 20px 20px; }
.property-features { padding:11px 0; border-block:1px solid #edf0ec; }
.property-footer strong { color:#2f5135; background:transparent; box-shadow:none; padding:0; font-size:.85rem; }

.owner-cta {
  width:min(calc(100% - 48px),1240px);
  margin:110px auto 0;
  border-radius:32px;
  overflow:hidden;
}
.site-footer { margin-top:30px; background:transparent; }

@media (max-width: 980px) {
  .site-header { width:calc(100% - 28px); }
  .hero-section { width:calc(100% - 28px); grid-template-columns:1fr; padding:62px 42px 120px; }
  .hero-content { text-align:center; }
  .hero-content h1,.hero-content>p { margin-inline:auto; }
  .hero-actions,.hero-proof { margin-inline:auto; justify-content:center; }
  .hero-visual { width:min(100%,560px); margin-inline:auto; }
  .search-card-section { width:calc(100% - 56px); }
}

@media (max-width: 720px) {
  .site-header { height:66px; margin-top:10px; padding-inline:10px; border-radius:17px; }
  .brand-mark { width:40px; height:40px; }
  .brand-copy small { display:none; }
  .hero-section { margin-top:9px; padding:48px 22px 100px; border-radius:24px; }
  .hero-content h1 { font-size:2.65rem; }
  .hero-content h1 em { font-size:.65em; line-height:1.35; }
  .hero-visual { min-height:350px; margin-top:35px; }
  .hero-showcase { transform:none; padding:11px; border-radius:21px; }
  .property-scene { height:175px; }
  .showcase-metrics span { font-size:.48rem; }
  .floating-price { left:-7px; bottom:42px; }
  .floating-trust { right:-7px; top:54px; }
  .search-card-section { width:calc(100% - 36px); margin-top:-52px; }
  .search-card { border-radius:20px; }
  .search-card-heading { align-items:start; flex-direction:column; gap:5px; }
  .search-fields { display:grid; grid-template-columns:1fr; }
  .search-fields > .search-submit { width:100%; }
  .trust-card.featured { transform:none; }
}