/* =========================================================
   RS ESTATES — Premium Luxury Real Estate
   Design System + Components
   ========================================================= */

:root {
  --bg-primary: #101416;
  --bg-secondary: #171B1E;
  --card: #1D2225;
  --card-hover: #22282c;
  --gold: #C9A15B;
  --gold-light: #E0BD7A;
  --gold-dim: rgba(201, 161, 91, 0.16);
  --text: #F7F5F0;
  --text-2: #B9BEC1;
  --muted: #858C91;
  --border: #303538;
  --border-soft: #262b2e;

  --font-head: "Manrope", "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --container: 1240px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-card: 0 18px 40px -22px rgba(0, 0, 0, 0.8);
  --shadow-panel: 0 30px 80px -40px rgba(0, 0, 0, 0.95);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 84px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

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

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

button, input, select, textarea { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
}

p { margin: 0; }

::selection { background: var(--gold); color: #14181a; }

/* Accessible focus */
:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--gold);
  color: #14181a;
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------------- Layout helpers ---------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 28px;
}

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.section-head .rule {
  width: 64px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
  margin: 20px auto 0;
}
.section-head p {
  color: var(--text-2);
  margin-top: 18px;
  font-size: 16px;
}

.rule-left {
  width: 64px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
  margin-top: 20px;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 999px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #14181a;
  box-shadow: 0 12px 26px -12px rgba(201, 161, 91, 0.75);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -14px rgba(201, 161, 91, 0.9);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-block { width: 100%; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(16, 20, 22, 0.92), rgba(16, 20, 22, 0));
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease), height 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(16, 20, 22, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
  height: 72px;
}
.header-inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand__mark {
  width: 42px;
  height: 42px;
  color: var(--gold);
  flex: none;
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.16em;
  color: var(--text);
}
.brand__sub {
  font-size: 9px;
  letter-spacing: 0.42em;
  color: var(--gold);
  margin-top: 4px;
  font-weight: 600;
}

/* Nav */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.3s var(--ease);
}
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { width: 100%; }
.main-nav a[aria-current="page"] { color: var(--text); }
.main-nav a[aria-current="page"]::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 14px; }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(29, 34, 37, 0.6);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  padding-bottom: 150px;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 20, 22, 0.96) 0%, rgba(16, 20, 22, 0.82) 34%, rgba(16, 20, 22, 0.35) 62%, rgba(16, 20, 22, 0.2) 100%),
    linear-gradient(0deg, rgba(16, 20, 22, 0.95) 0%, rgba(16, 20, 22, 0) 42%);
}
.hero__inner { position: relative; width: 100%; }
.hero__content { max-width: 640px; }
.hero__title {
  font-size: clamp(40px, 6.4vw, 82px);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  font-weight: 800;
  line-height: 1.02;
  margin: 22px 0 0;
}
.hero__title .gold { color: var(--gold); }
.hero__text {
  margin-top: 24px;
  max-width: 480px;
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.7;
}
.hero__actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

/* =========================================================
   SEARCH PANEL
   ========================================================= */
.search-shell {
  position: relative;
  z-index: 20;
  margin-top: -96px;
}
.search-panel {
  background: rgba(23, 27, 30, 0.94);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-panel);
  backdrop-filter: blur(10px);
  padding: 24px;
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 1.6fr auto;
  gap: 8px 20px;
  align-items: end;
}
.search-field { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.search-field + .search-field { border-left: 1px solid var(--border-soft); padding-left: 20px; }
.search-field__label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
}
.search-field__label svg { width: 14px; height: 14px; color: var(--gold); }
.field-control {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 13px 40px 13px 14px;
  font-size: 15px;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23C9A15B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field-control:hover { border-color: var(--gold); }
.field-control option { background: var(--bg-secondary); color: var(--text); }

/* Price slider */
.price-field { min-width: 0; }
.price-values {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--gold-light);
}
.range-wrap { position: relative; height: 26px; margin-top: 8px; }
.range-track {
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--border);
  border-radius: 4px;
}
.range-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  background: var(--gold);
  border-radius: 4px;
}
.range-wrap input[type="range"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 26px;
  margin: 0;
  background: none;
  -webkit-appearance: none;
  appearance: none;
  pointer-events: none;
}
.range-wrap input[type="range"]::-webkit-slider-runnable-track { background: transparent; height: 4px; }
.range-wrap input[type="range"]::-moz-range-track { background: transparent; height: 4px; }
.range-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: all;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold-light);
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 1px var(--gold);
  cursor: pointer;
  transition: transform 0.2s var(--ease);
}
.range-wrap input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
.range-wrap input[type="range"]::-moz-range-thumb {
  pointer-events: all;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold-light);
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 1px var(--gold);
  cursor: pointer;
}
.search-submit {
  height: 49px;
  padding-inline: 30px;
  border-radius: var(--radius-sm);
}

/* =========================================================
   PROPERTY GRID
   ========================================================= */
.property-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.property-grid--three { grid-template-columns: repeat(3, 1fr); }

.property-card {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease), background 0.4s var(--ease);
  cursor: pointer;
  text-align: left;
  padding: 0;
  color: inherit;
  font: inherit;
}
.property-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-card);
  background: var(--card-hover);
}
.property-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-secondary);
}
.property-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.property-card:hover .property-card__media img { transform: scale(1.07); }
.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 700;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(16, 20, 22, 0.82);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  backdrop-filter: blur(6px);
}
.badge--rent { border-color: var(--text-2); color: var(--text); }

.property-card__body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.property-card__type {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.property-card__name {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
}
.property-card__loc {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-2);
  font-size: 13.5px;
}
.property-card__loc svg { width: 15px; height: 15px; color: var(--gold); flex: none; }
.property-card__price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  color: var(--gold-light);
  letter-spacing: 0.01em;
}
.property-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-top: 15px;
  border-top: 1px solid var(--border-soft);
  margin-top: auto;
  color: var(--text-2);
  font-size: 12.5px;
}
.spec { display: inline-flex; align-items: center; gap: 7px; }
.spec svg { width: 15px; height: 15px; color: var(--gold); flex: none; }

/* Listings filter panel */
.filter-panel {
  background: rgba(23, 27, 30, 0.94);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1.8fr auto;
  gap: 24px;
  align-items: end;
}
.filter-panel .search-field + .search-field { border-left: 1px solid var(--border-soft); padding-left: 24px; }
.filter-reset { align-self: end; }
.filter-row { margin-top: 20px; }

/* Listings toolbar */
.listings-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}
.result-count { color: var(--text-2); font-size: 14.5px; }
.result-count strong { color: var(--text); }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  color: var(--text-2);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12.5px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--text); }
.chip.is-active { background: var(--gold); color: #14181a; border-color: var(--gold); font-weight: 600; }
.chip__x { font-size: 15px; line-height: 1; }

.empty-state {
  text-align: center;
  padding: 70px 20px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-2);
}
.empty-state h3 { color: var(--text); margin-bottom: 10px; }

/* =========================================================
   BENEFITS
   ========================================================= */
.benefits-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px 24px;
}
.benefits-head { text-align: center; margin-bottom: 46px; }
.benefits-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.benefit {
  padding: 8px 30px;
  text-align: center;
  position: relative;
}
.benefit + .benefit::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8%;
  bottom: 8%;
  width: 1px;
  background: var(--border-soft);
}
.benefit__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  background: var(--gold-dim);
}
.benefit__icon svg { width: 26px; height: 26px; }
.benefit h3 { font-size: 16px; margin-bottom: 10px; letter-spacing: 0.01em; }
.benefit p { color: var(--muted); font-size: 14px; line-height: 1.65; }

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 340px;
  display: flex;
  align-items: center;
  padding: 56px;
}
.cta-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
  transition: transform 0.8s var(--ease);
}
.cta-banner:hover .cta-banner__bg { transform: scale(1.04); }
.cta-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(16, 20, 22, 0.94) 0%, rgba(16, 20, 22, 0.72) 45%, rgba(16, 20, 22, 0.4) 100%);
}
.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  flex-wrap: wrap;
}
.cta-banner h2 {
  font-size: clamp(26px, 3.6vw, 42px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  max-width: 620px;
}
.cta-banner p { color: var(--text-2); margin-top: 14px; max-width: 520px; }

/* =========================================================
   MEDIA / SPLIT SECTIONS (About)
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  position: relative;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--tall { aspect-ratio: 3 / 4; }
.split h2 {
  font-size: clamp(28px, 3.8vw, 46px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.split p.lead { color: var(--text-2); font-size: 17px; line-height: 1.75; margin-top: 22px; }

.value-list { list-style: none; padding: 0; margin: 30px 0 34px; display: grid; gap: 20px; }
.value-list li { display: flex; gap: 16px; align-items: flex-start; }
.value-list .v-icon {
  width: 44px; height: 44px; flex: none; border-radius: 12px;
  display: grid; place-items: center; color: var(--gold);
  border: 1px solid var(--gold-dim); background: var(--gold-dim);
}
.value-list .v-icon svg { width: 20px; height: 20px; }
.value-list h4 { font-size: 16px; margin-bottom: 4px; }
.value-list p { color: var(--muted); font-size: 14px; }

/* Stat strip */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.stat {
  border: 1px solid var(--border-soft);
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.stat__num {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 800;
  color: var(--gold-light);
}
.stat__label { color: var(--muted); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 6px; }

/* =========================================================
   AGENTS
   ========================================================= */
.agent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.agent-card {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.agent-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow-card); }
.agent-card__media { aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-secondary); }
.agent-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.agent-card:hover .agent-card__media img { transform: scale(1.05); }
.agent-card__body { padding: 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.agent-card__name { font-size: 18px; }
.agent-card__role { color: var(--gold); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.agent-card__spec { color: var(--muted); font-size: 13.5px; margin-top: 8px; flex: 1; }
.agent-card .btn { margin-top: 16px; align-self: flex-start; }

.demo-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  border: 1px dashed var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  letter-spacing: 0.04em;
}
.demo-note svg { width: 14px; height: 14px; color: var(--gold); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  align-items: start;
}
.contact-info { display: grid; gap: 22px; }
.contact-info__item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info__item .ci-icon {
  width: 44px; height: 44px; flex: none; border-radius: 12px;
  display: grid; place-items: center; color: var(--gold);
  border: 1px solid var(--gold-dim); background: var(--gold-dim);
}
.contact-info__item .ci-icon svg { width: 20px; height: 20px; }
.contact-info__item h4 { font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 3px; }
.contact-info__item p, .contact-info__item a { color: var(--text-2); font-size: 14.5px; }
.contact-info__item a:hover { color: var(--gold-light); }

.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.form-field label .req { color: var(--gold); }
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 13px 14px;
  font-size: 15px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23C9A15B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--bg-secondary);
}
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: #d16565; }
.field-error { color: #e08b8b; font-size: 12.5px; min-height: 0; }
.privacy-note { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 12.5px; line-height: 1.6; margin-top: 4px; }
.privacy-note svg { width: 15px; height: 15px; color: var(--gold); flex: none; margin-top: 2px; }

.form-status {
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 14px;
  margin-top: 4px;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status--warn { background: rgba(201, 161, 91, 0.12); border: 1px solid var(--gold-dim); color: var(--gold-light); }
.form-status--ok { background: rgba(120, 190, 140, 0.12); border: 1px solid rgba(120, 190, 140, 0.35); color: #9fdcb3; }

/* =========================================================
   PAGE HERO (interior pages)
   ========================================================= */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 80px) 0 76px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: 0.5; }
.page-hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(16,20,22,0.96), rgba(16,20,22,0.78)), linear-gradient(0deg, var(--bg-primary), transparent);
}
.page-hero h1 { font-size: clamp(34px, 5vw, 60px); text-transform: uppercase; letter-spacing: 0.02em; margin-top: 20px; }
.page-hero p { color: var(--text-2); max-width: 620px; margin-top: 18px; font-size: 17px; }
.breadcrumb { color: var(--muted); font-size: 13px; display: flex; gap: 8px; align-items: center; margin-top: 26px; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: var(--border); }

/* =========================================================
   MODAL (property details)
   ========================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
  background: rgba(8, 10, 11, 0.82);
  backdrop-filter: blur(6px);
}
.modal.is-open { display: flex; }
.modal__dialog {
  position: relative;
  width: min(940px, 100%);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: auto;
  box-shadow: var(--shadow-panel);
  animation: modalIn 0.35s var(--ease);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(16, 20, 22, 0.82);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.3s var(--ease);
}
.modal__close:hover { border-color: var(--gold); color: var(--gold-light); }
.modal__media { aspect-ratio: 16 / 8; overflow: hidden; }
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: 32px; }
.modal__body h3 { font-size: clamp(22px, 3vw, 30px); }
.modal__price { font-family: var(--font-head); font-weight: 700; font-size: 26px; color: var(--gold-light); margin-top: 8px; }
.modal__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; margin-top: 26px; }
.modal__desc { color: var(--text-2); font-size: 15px; line-height: 1.75; }
.modal__meta { display: grid; gap: 6px; }
.modal__meta .spec { font-size: 14px; color: var(--text); }
.amenity-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.amenity {
  font-size: 12.5px;
  color: var(--text-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 13px;
}
.modal__actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.modal__note { color: var(--muted); font-size: 12px; margin-top: 18px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--border-soft);
  background: var(--bg-secondary);
  padding: 56px 0 28px;
  margin-top: 20px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { color: var(--text-2); font-size: 14px; transition: color 0.3s var(--ease); }
.footer-nav a:hover { color: var(--gold-light); }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--text-2);
  transition: all 0.3s var(--ease);
}
.socials a:hover { color: var(--gold-light); border-color: var(--gold); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}
.footer-bottom a:hover { color: var(--gold-light); }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .agent-grid { grid-template-columns: repeat(2, 1fr); }
  .search-panel { grid-template-columns: 1fr 1fr; }
  .search-field + .search-field { border-left: none; padding-left: 0; }
  .search-field:nth-child(2) { border-left: 1px solid var(--border-soft); padding-left: 20px; }
  .search-submit { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(360px, 86vw);
    background: rgba(16, 20, 22, 0.98);
    backdrop-filter: blur(18px);
    border-left: 1px solid var(--border);
    padding: 110px 32px 40px;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .main-nav.is-open { transform: none; box-shadow: -30px 0 80px -40px #000; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
  .main-nav li { width: 100%; }
  .main-nav a { display: block; width: 100%; padding: 16px 0; font-size: 20px; border-bottom: 1px solid var(--border-soft); }
  .main-nav a::after { display: none; }
  .main-nav a[aria-current="page"] { color: var(--gold-light); }
  .nav-toggle { display: flex; }
  .header-cta .btn { display: none; }
  .main-nav__cta { margin-top: 22px; width: 100%; }
  .main-nav__cta .btn { display: inline-flex; width: 100%; }
  .nav-backdrop {
    position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,0.5);
    opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease);
  }
  .nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__media { order: 0; }
  .contact-layout { grid-template-columns: 1fr; }
  .modal__grid { grid-template-columns: 1fr; gap: 24px; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 0; }
  .benefit + .benefit::before { display: none; }
  .benefit:nth-child(even)::before { content: ""; display: block; position: absolute; left: 0; top: 8%; bottom: 8%; width: 1px; background: var(--border-soft); }
}

@media (max-width: 640px) {
  .container { padding-inline: 20px; }
  .section { padding: 64px 0; }
  .property-grid { grid-template-columns: 1fr; }
  .agent-grid { grid-template-columns: 1fr; }
  .search-panel { grid-template-columns: 1fr; padding: 20px; gap: 16px; }
  .search-field:nth-child(2) { border-left: none; padding-left: 0; }
  .search-field + .search-field { border-top: 1px solid var(--border-soft); padding-top: 16px; }
  .search-submit { grid-column: auto; }
  .hero { padding-bottom: 120px; }
  .hero__text { font-size: 15.5px; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1; }
  .search-shell { margin-top: -70px; }
  .filter-panel { grid-template-columns: 1fr; gap: 18px; }
  .filter-panel .search-field + .search-field { border-left: none; padding-left: 0; border-top: 1px solid var(--border-soft); padding-top: 16px; }
  .filter-reset { width: 100%; }
  .cta-banner { padding: 34px 24px; }
  .cta-banner__inner { flex-direction: column; align-items: flex-start; }
  .form-card { padding: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit { padding: 8px 8px 4px; }
  .benefit__icon { margin-inline: 0; }
  .benefit { text-align: left; }
  .benefits-panel { padding: 36px 20px; }
  .split__media { aspect-ratio: 16 / 11; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 26px; }
  .footer-nav { gap: 18px; }
  .modal { padding: 16px; }
  .modal__body { padding: 24px 20px; }
  .stat-strip { grid-template-columns: 1fr 1fr; gap: 14px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
