@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

:root {
  --bg: #06080d;
  --bg-2: #0b0e15;
  --surface: #11151e;
  --surface-2: #181d28;
  --surface-3: #222833;
  --gold: #c9a227;
  --gold-2: #e0c45c;
  --gold-3: #f0d98a;
  --gold-soft: rgba(201, 162, 39, 0.14);
  --gold-line: rgba(201, 162, 39, 0.28);
  --text: #f3efe4;
  --text-2: #b0aa9a;
  --text-3: #7a7468;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: 'Vazirmatn', Tahoma, system-ui, sans-serif;
  --header: 92px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  padding-bottom: env(safe-area-inset-bottom);
  touch-action: manipulation;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s var(--ease);
}

ul { list-style: none; }

button, input, select, textarea {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6.5rem 0;
}

.section-head {
  text-align: center;
  margin-bottom: 3.75rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-tag::before,
.section-tag::after {
  content: '';
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.7;
}

.section-title {
  font-size: clamp(1.85rem, 4.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-title span {
  background: linear-gradient(120deg, var(--gold-2), var(--gold-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  color: var(--text-2);
  max-width: 520px;
  margin: 0 auto;
  font-size: 1.02rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.88rem 1.9rem;
  font-size: 0.93rem;
  font-weight: 600;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-gold {
  background: linear-gradient(135deg, #d4af37 0%, #b8922a 50%, #c9a227 100%);
  color: #0a0c10;
  box-shadow: 0 4px 22px rgba(201, 162, 39, 0.32), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 162, 39, 0.42), inset 0 1px 0 rgba(255,255,255,0.25);
}

.btn-line {
  border: 1.5px solid var(--gold-line);
  color: var(--gold-2);
  background: transparent;
}

.btn-line:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
  color: var(--gold-3);
}

.btn-sm {
  padding: 0.62rem 1.35rem;
  font-size: 0.86rem;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header);
  transition: all 0.4s var(--ease);
}

.header.is-scrolled {
  background: rgba(6, 8, 13, 0.82);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom: 1px solid var(--gold-line);
  box-shadow: 0 4px 40px rgba(0,0,0,0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.logo img {
  height: 70px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(201, 162, 39, 0.22));
  transition: transform 0.35s var(--ease), filter 0.35s var(--ease);
}

.logo:hover img {
  transform: scale(1.04);
  filter: drop-shadow(0 3px 14px rgba(201, 162, 39, 0.35));
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}

.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-2);
  position: relative;
  padding: 0.25rem 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.nav a:hover,
.nav a.is-active {
  color: var(--text);
}

.nav a:hover::after,
.nav a.is-active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  padding: 10px;
  margin-left: -6px;
  border-radius: 12px;
  transition: background 0.25s;
  -webkit-tap-highlight-color: transparent;
}

.burger:hover,
.burger:active {
  background: rgba(255,255,255,0.08);
}

.burger span {
  display: block;
  height: 2.5px;
  width: 22px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(6,8,13,0.88) 0%, rgba(6,8,13,0.55) 45%, rgba(6,8,13,0.7) 100%),
    linear-gradient(0deg, rgba(6,8,13,0.95) 0%, transparent 45%);
}

.hero-body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 3.5rem 0 5.5rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  color: var(--gold-2);
  padding: 0.38rem 1.05rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1.4rem;
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: clamp(2.35rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 1.15rem;
  max-width: 740px;
  letter-spacing: -0.03em;
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--gold-2) 0%, var(--gold-3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 480px;
  margin-bottom: 2.4rem;
  line-height: 1.75;
}

.search-panel {
  background: rgba(17, 21, 30, 0.78);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  border: 1px solid var(--gold-line);
  border-radius: 18px;
  padding: 1.15rem 1.2rem;
  max-width: 940px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,162,39,0.06);
}

.search-row {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr auto;
  gap: 0.7rem;
  align-items: end;
}

.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.38rem;
  letter-spacing: 0.04em;
}

.field select {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid rgba(255,255,255,0.05);
  color: var(--text);
  padding: 0.82rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  transition: border-color 0.25s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23c9a227' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 0.9rem center;
  padding-left: 2.1rem;
  cursor: pointer;
}

.field select:focus {
  border-color: var(--gold);
}

.search-go {
  height: 46px;
  padding: 0 1.7rem;
  background: linear-gradient(135deg, #d4af37, #b8922a);
  color: #0a0c10;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 16px rgba(201,162,39,0.3);
}

.search-go:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(201,162,39,0.42);
}

.hero-metrics {
  display: flex;
  gap: 2.8rem;
  margin-top: 3.2rem;
}

.metric strong {
  display: block;
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--gold-2);
  line-height: 1.1;
  letter-spacing: -0.02em;
  position: relative;
}

.metric strong::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-top: 0.35rem;
  border-radius: 2px;
}

.metric span {
  font-size: 0.82rem;
  color: var(--text-2);
  margin-top: 0.35rem;
  display: block;
}

.props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.prop {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.035);
  transition: all 0.45s var(--ease);
  cursor: pointer;
}

.prop:hover {
  transform: translateY(-8px);
  border-color: var(--gold-line);
  box-shadow: 0 24px 55px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,162,39,0.18), 0 0 40px rgba(201,162,39,0.08);
}

.prop-media {
  position: relative;
  aspect-ratio: 4/3.1;
  overflow: hidden;
}

.prop-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.prop:hover .prop-media img {
  transform: scale(1.07);
}

.prop-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6,8,13,0.45) 0%, transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
}

.prop:hover .prop-media::after {
  opacity: 1;
}

.prop-tag {
  position: absolute;
  top: 0.95rem;
  right: 0.95rem;
  background: rgba(6,8,13,0.72);
  backdrop-filter: blur(10px);
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.32rem 0.8rem;
  border-radius: 100px;
  border: 1px solid var(--gold-line);
  z-index: 2;
}

.prop-like {
  position: absolute;
  top: 0.95rem;
  left: 0.95rem;
  width: 36px;
  height: 36px;
  background: rgba(6,8,13,0.55);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.95rem;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s;
  z-index: 2;
  cursor: pointer;
}

.prop-like:hover {
  background: var(--gold);
  color: #0a0c10;
  border-color: var(--gold);
}

.prop-body {
  padding: 1.3rem 1.4rem 1.5rem;
}

.prop-price {
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--gold-2);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
  text-shadow: 0 0 20px rgba(201, 162, 39, 0.15);
}

.prop-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  line-height: 1.4;
}

.prop-loc {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.84rem;
  color: var(--text-2);
  margin-bottom: 1rem;
}

.prop-meta {
  display: flex;
  gap: 1.15rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.prop-meta span {
  font-size: 0.82rem;
  color: var(--text-2);
}

.prop-meta strong {
  color: var(--text);
  font-weight: 600;
}

.cats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

.cat {
  position: relative;
  aspect-ratio: 3/4.1;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.cat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.cat:hover img {
  transform: scale(1.12);
}

.cat-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6,8,13,0.92) 0%, rgba(6,8,13,0.15) 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
  transition: background 0.4s var(--ease);
}

.cat:hover .cat-veil {
  background: linear-gradient(0deg, rgba(6,8,13,0.95) 0%, rgba(6,8,13,0.28) 60%);
}

.cat-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.cat-count {
  font-size: 0.82rem;
  color: var(--gold);
}

.feats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feat {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.035);
  border-radius: var(--radius);
  padding: 2.1rem 1.7rem;
  text-align: center;
  transition: all 0.4s var(--ease);
}

.feat:hover {
  border-color: var(--gold-line);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.feat-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.3rem;
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: var(--gold-2);
}

.feat h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.feat p {
  font-size: 0.93rem;
  color: var(--text-2);
  line-height: 1.75;
}

.agents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.agent {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.035);
  text-align: center;
  transition: all 0.4s var(--ease);
}

.agent:hover {
  border-color: var(--gold-line);
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.32);
}

.agent img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top center;
}

.agent-info {
  padding: 1.4rem 1.2rem 1.65rem;
}

.agent-info h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.agent-info .role {
  font-size: 0.82rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.agent-links {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
}

.agent-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid rgba(255,255,255,0.05);
  display: grid;
  place-items: center;
  color: var(--text-2);
  font-size: 0.95rem;
  transition: all 0.3s;
}

.agent-links a:hover {
  background: var(--gold);
  color: #0a0c10;
  border-color: var(--gold);
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.quote {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.035);
  border-radius: var(--radius);
  padding: 2rem 1.9rem;
  position: relative;
}

.quote::before {
  content: '"';
  position: absolute;
  top: 1.1rem;
  right: 1.5rem;
  font-size: 4.2rem;
  color: var(--gold);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}

.quote p {
  font-size: 1.02rem;
  color: var(--text-2);
  margin-bottom: 1.4rem;
  line-height: 1.85;
  position: relative;
}

.quote-who {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.quote-av {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1.5px solid var(--gold-line);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--gold);
  font-size: 0.85rem;
}

.quote-who strong {
  display: block;
  font-size: 0.93rem;
  font-weight: 700;
}

.quote-who span {
  font-size: 0.78rem;
  color: var(--text-3);
}

.cta-wrap {
  padding: 5rem 0;
}

.cta-box {
  background: linear-gradient(145deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--gold-line);
  border-radius: 26px;
  padding: 3.8rem 2.8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 50%;
  height: 180%;
  background: radial-gradient(circle, rgba(201,162,39,0.09) 0%, transparent 68%);
  pointer-events: none;
}

.cta-box h2 {
  font-size: clamp(1.7rem, 3.8vw, 2.35rem);
  font-weight: 800;
  margin-bottom: 0.9rem;
  letter-spacing: -0.02em;
}

.cta-box p {
  color: var(--text-2);
  max-width: 460px;
  margin: 0 auto 1.9rem;
  font-size: 1.02rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.footer {
  background: var(--bg-2);
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 4.2rem 0 1.8rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.8rem;
  margin-bottom: 3.2rem;
}

.footer-brand p {
  color: var(--text-2);
  font-size: 0.92rem;
  line-height: 1.8;
  max-width: 290px;
  margin-top: 1.1rem;
}

.footer h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.footer-links a {
  display: block;
  color: var(--text-2);
  font-size: 0.88rem;
  margin-bottom: 0.65rem;
  transition: color 0.25s;
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--text-2);
  font-size: 0.88rem;
  margin-bottom: 0.9rem;
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255,255,255,0.045);
  font-size: 0.82rem;
  color: var(--text-3);
}

.socials {
  display: flex;
  gap: 0.65rem;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.05);
  display: grid;
  place-items: center;
  color: var(--text-2);
  font-size: 0.9rem;
  transition: all 0.3s;
}

.socials a:hover {
  background: var(--gold);
  color: #0a0c10;
  border-color: var(--gold);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.4rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s;
}

.overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--surface);
  border-radius: 22px;
  border: 1px solid var(--gold-line);
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(24px) scale(0.97);
  transition: all 0.4s var(--ease);
  position: relative;
}

.overlay.is-open .modal {
  transform: translateY(0) scale(1);
}

.modal-x {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
  font-size: 1.25rem;
  transition: all 0.3s;
}

.modal-x:hover {
  background: var(--gold);
  color: #0a0c10;
}

.modal-pics {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 0.45rem;
  padding: 0.45rem;
}

.modal-pics img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.modal-pics .big {
  grid-row: span 2;
  min-height: 340px;
}

.modal-pics .sm {
  min-height: 165px;
}

.modal-content {
  padding: 1.9rem 2.1rem 2.3rem;
}

.modal-price {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--gold-2);
  margin-bottom: 0.35rem;
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
}

.modal-loc {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-2);
  margin-bottom: 1.35rem;
  font-size: 0.92rem;
}

.modal-feats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 1.35rem;
}

.modal-feats span {
  font-size: 0.92rem;
}

.modal-feats strong {
  color: var(--gold-2);
}

.modal-text {
  color: var(--text-2);
  line-height: 1.85;
  margin-bottom: 1.8rem;
  font-size: 0.97rem;
}

.modal-btns {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.wa-float {
  position: fixed;
  bottom: max(1.6rem, env(safe-area-inset-bottom));
  left: max(1.2rem, env(safe-area-inset-left));
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: all 0.3s;
}

.wa-float:hover {
  transform: scale(1.07);
  box-shadow: 0 8px 30px rgba(37,211,102,0.55);
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: all 0.75s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

.page-hero {
  padding: calc(var(--header) + 3.5rem) 0 3rem;
  background: var(--bg-2);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.page-hero p {
  color: var(--text-2);
  font-size: 1.02rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-3);
  margin-bottom: 1.2rem;
}

.breadcrumb a {
  color: var(--text-2);
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb span {
  color: var(--gold);
}

.filter-bar {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  margin-bottom: 2.5rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.detail-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.detail-gallery .main {
  grid-column: 1 / -1;
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.detail-gallery .main img,
.detail-gallery .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-gallery .thumb {
  aspect-ratio: 16/11;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.25s;
}

.detail-gallery .thumb:hover,
.detail-gallery .thumb.is-active {
  border-color: var(--gold);
}

.detail-side {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius);
  padding: 1.8rem;
  position: sticky;
  top: calc(var(--header) + 1.2rem);
}

.detail-side .price {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--gold-2);
  margin-bottom: 0.4rem;
}

.detail-side h1 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.detail-side .loc {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-2);
  font-size: 0.92rem;
  margin-bottom: 1.4rem;
}

.detail-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 1.4rem;
}

.detail-meta div {
  font-size: 0.9rem;
  color: var(--text-2);
}

.detail-meta strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.detail-desc {
  color: var(--text-2);
  line-height: 1.85;
  margin-bottom: 1.6rem;
  font-size: 0.97rem;
}

.detail-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.detail-actions .btn {
  width: 100%;
}

@media (max-width: 1080px) {
  .search-row {
    grid-template-columns: 1fr 1fr;
  }
  .search-go {
    grid-column: span 2;
    justify-content: center;
  }
  .props-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .agents-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .detail-side {
    position: static;
  }
  .detail-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
  }
  .detail-gallery .main {
    grid-column: 1 / -1;
    aspect-ratio: 16/10;
    border-radius: 16px;
  }
  .detail-gallery .thumb {
    aspect-ratio: 16/11;
  }
}

@media (max-width: 768px) {
  :root {
    --header: 72px;
  }

  .container {
    padding: 0 1rem;
  }

  .header-inner {
    gap: 0.6rem;
  }

  .logo img {
    height: 50px;
  }

  .nav {
    display: none;
    position: fixed;
    top: var(--header);
    right: 0;
    left: 0;
    background: rgba(6, 8, 13, 0.98);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    flex-direction: column;
    padding: 0.5rem 1.25rem 1.8rem;
    gap: 0;
    border-bottom: 1px solid var(--gold-line);
    z-index: 999;
    max-height: calc(100vh - var(--header));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

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

  .nav a {
    padding: 1.05rem 0.5rem;
    font-size: 1.05rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    min-height: 52px;
    display: flex;
    align-items: center;
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .nav a.is-active {
    color: var(--gold-2);
  }

  .burger {
    display: flex;
    z-index: 1001;
  }

  .header-cta .btn {
    display: none;
  }

  .hero {
    min-height: auto;
    min-height: 100svh; /* better mobile viewport */
  }

  .hero-media img {
    object-position: center 35%;
  }

  .hero-body {
    padding: 1.6rem 0 2.8rem;
  }

  .hero-pill {
    font-size: 0.7rem;
    padding: 0.35rem 0.9rem;
    margin-bottom: 1rem;
  }

  .hero-title {
    font-size: clamp(1.55rem, 6.5vw, 1.95rem);
    line-height: 1.3;
    margin-bottom: 0.85rem;
  }

  .hero-lead {
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1.4rem;
    max-width: 100%;
  }

  .search-panel {
    padding: 1.05rem;
    border-radius: 16px;
  }

  .search-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .search-go {
    grid-column: auto;
    width: 100%;
    justify-content: center;
    height: 52px;
    font-size: 1rem;
    border-radius: 12px;
  }

  .field label {
    font-size: 0.75rem;
    margin-bottom: 0.4rem;
  }

  .field select {
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
    min-height: 50px;
    border-radius: 12px;
    padding-left: 2.3rem;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    margin-top: 1.8rem;
    text-align: center;
  }

  .metric strong {
    font-size: 1.35rem;
  }

  .metric strong::after {
    margin: 0.3rem auto 0;
    width: 22px;
  }

  .metric span {
    font-size: 0.72rem;
    margin-top: 0.25rem;
  }

  .section {
    padding: 3.2rem 0;
  }

  .section-head {
    margin-bottom: 2.2rem;
  }

  .section-title {
    font-size: clamp(1.45rem, 5.5vw, 1.7rem);
  }

  .section-desc {
    font-size: 0.92rem;
  }

  .props-grid,
  .feats-grid,
  .agents-grid,
  .quotes-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .cats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }

  .cat {
    aspect-ratio: 3/3.6;
  }

  .cat-name {
    font-size: 1rem;
  }

  .cat-count {
    font-size: 0.78rem;
  }

  .prop-body {
    padding: 1.1rem 1.15rem 1.25rem;
  }

  .prop-price {
    font-size: 1.18rem;
  }

  .prop-name {
    font-size: 1rem;
    line-height: 1.4;
  }

  .prop-meta {
    font-size: 0.85rem;
    gap: 0.85rem;
  }

  .feat {
    padding: 1.6rem 1.25rem;
  }

  .feat-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
    margin-bottom: 0.9rem;
  }

  .feat h3 {
    font-size: 1.05rem;
  }

  .agent img {
    aspect-ratio: 1/1.05;
  }

  .agent-info {
    padding: 1.1rem 1.15rem 1.3rem;
  }

  .quote {
    padding: 1.4rem 1.2rem;
  }

  .quote p {
    font-size: 0.93rem;
    line-height: 1.75;
  }

  .cta-wrap {
    padding: 2.8rem 0;
  }

  .cta-box {
    padding: 2rem 1.25rem;
    border-radius: 18px;
  }

  .cta-box h2 {
    font-size: 1.4rem;
    line-height: 1.35;
  }

  .cta-box p {
    font-size: 0.92rem;
    margin-bottom: 1.4rem;
  }

  .cta-actions {
    flex-direction: column;
    gap: 0.7rem;
  }

  .cta-actions .btn {
    width: 100%;
    min-height: 50px;
  }

  .footer {
    padding: 2.8rem 0 1.4rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.7rem;
  }

  .footer-brand p {
    max-width: 100%;
    font-size: 0.9rem;
  }

  .footer-bar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .page-hero {
    padding: calc(var(--header) + 1.8rem) 0 1.8rem;
  }

  .page-hero h1 {
    font-size: 1.5rem;
  }

  .page-hero p {
    font-size: 0.9rem;
  }

  .filter-bar {
    padding: 1rem;
    margin-bottom: 1.6rem;
    border-radius: 14px;
  }

  .detail-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .detail-gallery .main {
    grid-column: 1 / -1;
    aspect-ratio: 4/3;
    border-radius: 14px;
    overflow: hidden;
  }

  .detail-gallery .main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .detail-gallery .thumb {
    aspect-ratio: 4/3;
    border-radius: 10px;
    overflow: hidden;
    border-width: 2px;
  }

  .detail-gallery .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .detail-side {
    padding: 1.3rem 1.15rem;
  }

  .detail-side .price {
    font-size: 1.45rem;
  }

  .detail-side h1 {
    font-size: 1.2rem;
    line-height: 1.35;
  }

  .detail-meta {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
  }

  .wa-float {
    width: 56px;
    height: 56px;
    bottom: 1.3rem;
    left: 1.1rem;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  }

  .btn {
    padding: 0.88rem 1.5rem;
    font-size: 0.92rem;
    min-height: 48px;
  }

  /* Prevent floating WA from covering last content */
  body {
    padding-bottom: calc(env(safe-area-inset-bottom) + 4.5rem);
  }
}

@media (max-width: 480px) {
  :root {
    --header: 68px;
  }

  .container {
    padding: 0 0.9rem;
  }

  .logo img {
    height: 44px;
  }

  .hero-body {
    padding: 1.3rem 0 2.4rem;
  }

  .hero-title {
    font-size: clamp(1.4rem, 7vw, 1.7rem);
    margin-bottom: 0.7rem;
  }

  .hero-pill {
    font-size: 0.66rem;
    padding: 0.3rem 0.8rem;
  }

  .hero-lead {
    font-size: 0.88rem;
    margin-bottom: 1.2rem;
  }

  .search-panel {
    padding: 0.9rem;
    border-radius: 14px;
  }

  .field select {
    min-height: 48px;
    font-size: 0.9rem;
    padding: 0.8rem 0.9rem;
    padding-left: 2.2rem;
  }

  .search-go {
    height: 50px;
  }

  .cats-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .cat {
    aspect-ratio: 16/9.5;
  }

  .cat-veil {
    padding: 1.15rem;
  }

  .cat-name {
    font-size: 1.1rem;
  }

  .hero-metrics {
    gap: 0.5rem;
  }

  .metric strong {
    font-size: 1.2rem;
  }

  .metric span {
    font-size: 0.68rem;
  }

  .section {
    padding: 2.8rem 0;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .section-tag {
    font-size: 0.72rem;
  }

  .prop-meta {
    gap: 0.75rem;
    font-size: 0.82rem;
  }

  .prop-price {
    font-size: 1.12rem;
  }

  .detail-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
  }

  .detail-gallery .main {
    aspect-ratio: 4/3.1;
    border-radius: 12px;
  }

  .detail-gallery .thumb {
    aspect-ratio: 4/3;
    border-radius: 8px;
  }

  .detail-gallery .thumb:nth-child(4) {
    /* keep visible if exists */
  }

  .cta-box h2 {
    font-size: 1.3rem;
  }

  .wa-float {
    width: 54px;
    height: 54px;
    bottom: 1.1rem;
    left: 0.9rem;
  }
}

@media (max-width: 360px) {
  :root {
    --header: 64px;
  }

  .logo img {
    height: 40px;
  }

  .hero-title {
    font-size: 1.35rem;
  }

  .hero-lead {
    font-size: 0.85rem;
  }

  .search-panel {
    padding: 0.8rem;
  }

  .metric strong {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .btn {
    font-size: 0.88rem;
  }
}