/* =========================================================
   YourRealtorLadySells — Editorial Luxury Real Estate
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  --color-ivory: #f7f3ec;
  --color-cream: #efe8dc;
  --color-paper: #faf7f1;
  --color-ink: #1a1a1a;
  --color-charcoal: #2d2d2d;
  --color-muted: #6b6356;
  --color-forest: #1f3a2e;
  --color-forest-light: #2d5443;
  --color-gold: #a88847;
  --color-gold-light: #c9a866;
  --color-line: #d9cfbc;
  --color-soft-line: #e6dcc8;

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-editorial: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --shadow-soft: 0 2px 20px rgba(31, 58, 46, 0.06);
  --shadow-medium: 0 10px 40px rgba(31, 58, 46, 0.1);

  --max-width: 1320px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--color-paper);
  color: var(--color-ink);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Header ---------- */
.site-header {
  background: var(--color-ivory);
  border-bottom: 1px solid var(--color-soft-line);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.header-top {
  background: var(--color-forest);
  color: var(--color-cream);
  padding: 8px 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-top-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top-tag {
  color: var(--color-gold-light);
  font-weight: 500;
}

.header-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-editorial);
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-forest);
}

.brand-name em {
  font-style: italic;
  color: var(--color-gold);
  font-weight: 400;
}

.brand-tagline {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-top: 6px;
  font-weight: 400;
}

.nav {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav a {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-charcoal);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}

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

.nav a.active { color: var(--color-forest); }

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-gold);
}

.nav-cta {
  background: var(--color-forest);
  color: var(--color-cream) !important;
  padding: 12px 24px !important;
  border: 1px solid var(--color-forest);
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: transparent;
  color: var(--color-forest) !important;
}

/* ---------- Results Page Hero ---------- */
.results-hero {
  background: var(--color-ivory);
  padding: 70px 32px 50px;
  border-bottom: 1px solid var(--color-soft-line);
  position: relative;
  overflow: hidden;
}

.results-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: -100px;
  width: 500px;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(168, 136, 71, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 500;
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--color-forest);
  max-width: 800px;
  letter-spacing: -0.01em;
}

.hero-title em {
  font-style: italic;
  color: var(--color-gold);
}

.hero-sub {
  font-size: 1rem;
  color: var(--color-muted);
  margin-top: 18px;
  max-width: 560px;
  line-height: 1.7;
}

/* ---------- Search bar ---------- */
.search-bar {
  max-width: var(--max-width);
  margin: 32px auto 0;
  background: white;
  border: 1px solid var(--color-line);
  border-radius: 2px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  align-items: stretch;
  box-shadow: var(--shadow-soft);
}

.search-field {
  padding: 18px 22px;
  border-right: 1px solid var(--color-soft-line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.search-field:last-of-type { border-right: none; }

.search-field label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 500;
}

.search-field input,
.search-field select {
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-ink);
  background: transparent;
  width: 100%;
  padding: 0;
}

.search-submit {
  background: var(--color-forest);
  color: var(--color-cream);
  padding: 0 32px;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.25s ease;
}

.search-submit:hover { background: var(--color-forest-light); }

/* ---------- Results Layout ---------- */
.results-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 50px 32px 80px;
}

.results-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--color-soft-line);
  margin-bottom: 40px;
}

.results-count {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-forest);
  font-weight: 500;
}

.results-count span {
  color: var(--color-gold);
  font-style: italic;
}

.results-sort {
  display: flex;
  align-items: center;
  gap: 12px;
}

.results-sort label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.results-sort select {
  border: 1px solid var(--color-line);
  padding: 8px 14px;
  background: white;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-ink);
  cursor: pointer;
}

/* ---------- Property cards ---------- */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 40px 32px;
}

.property-card {
  background: white;
  border: 1px solid var(--color-soft-line);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--color-cream);
  overflow: hidden;
}

.card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  z-index: 2;
}

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

.card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-ivory) 100%);
  position: relative;
}

.card-placeholder::before {
  content: '';
  position: absolute;
  inset: 24px;
  border: 1px solid var(--color-line);
  pointer-events: none;
}

.card-placeholder-icon {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-style: italic;
  color: var(--color-gold);
  letter-spacing: -0.02em;
}

.card-placeholder-label {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-forest);
  color: var(--color-cream);
  padding: 6px 14px;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  z-index: 3;
}

.card-badge.sold {
  background: var(--color-gold);
}

.card-favorite {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--color-forest);
  transition: all 0.25s ease;
  z-index: 3;
}

.card-favorite:hover {
  background: white;
  color: var(--color-gold);
  transform: scale(1.08);
}

.card-body {
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-price {
  font-family: var(--font-display);
  font-size: 1.95rem;
  font-weight: 500;
  color: var(--color-forest);
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 8px;
}

.card-address {
  font-size: 0.95rem;
  color: var(--color-charcoal);
  margin-bottom: 4px;
  font-weight: 500;
}

.card-locale {
  font-size: 0.82rem;
  color: var(--color-muted);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.card-specs {
  display: flex;
  gap: 22px;
  padding: 16px 0;
  border-top: 1px solid var(--color-soft-line);
  border-bottom: 1px solid var(--color-soft-line);
  margin-bottom: 18px;
}

.spec {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spec-value {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-forest);
}

.spec-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.card-meta {
  font-size: 0.78rem;
  color: var(--color-muted);
  margin-bottom: 18px;
  font-style: italic;
}

.card-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 0;
  border-top: 1px solid transparent;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-forest);
  font-weight: 500;
  transition: color 0.2s ease;
}

.card-cta:hover { color: var(--color-gold); }

.card-cta-arrow {
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}

.card-cta:hover .card-cta-arrow { transform: translateX(4px); }

/* ---------- Property Detail Page ---------- */
.detail-breadcrumb {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 22px 32px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.detail-breadcrumb a {
  color: var(--color-muted);
  transition: color 0.2s ease;
}
.detail-breadcrumb a:hover { color: var(--color-gold); }

.detail-breadcrumb span {
  margin: 0 10px;
  color: var(--color-line);
}

.detail-current { color: var(--color-forest) !important; font-weight: 500; }

/* Gallery */
.detail-gallery {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 560px;
}

.gallery-main {
  grid-row: 1 / 3;
}

.gallery-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-ivory) 100%);
  position: relative;
  overflow: hidden;
}

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

.gallery-img::before {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px solid var(--color-line);
  pointer-events: none;
}

.gallery-img:has(img)::before {
  display: none;
}

.gallery-img:has(img) .gallery-placeholder-text {
  display: none;
}

.gallery-placeholder-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--color-muted);
}

.gallery-placeholder-text .num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-style: italic;
  color: var(--color-gold);
  display: block;
  line-height: 1;
}

.gallery-placeholder-text .lbl {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-top: 8px;
  display: block;
}

.gallery-view-all {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--color-line);
  padding: 10px 18px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-forest);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 3;
}

.gallery-view-all:hover {
  background: var(--color-forest);
  color: var(--color-cream);
  border-color: var(--color-forest);
}

/* Detail header */
.detail-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px 50px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  border-bottom: 1px solid var(--color-soft-line);
}

.detail-status {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 14px;
}

.detail-address {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 500;
  color: var(--color-forest);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.detail-locale {
  font-size: 1rem;
  color: var(--color-muted);
  letter-spacing: 0.05em;
  margin-bottom: 32px;
}

.detail-specs-row {
  display: flex;
  gap: 36px;
  padding: 24px 0;
  border-top: 1px solid var(--color-soft-line);
  border-bottom: 1px solid var(--color-soft-line);
}

.detail-spec-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--color-forest);
  display: block;
  line-height: 1;
}

.detail-spec-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-top: 8px;
}

/* Price card */
.price-card {
  background: var(--color-ivory);
  border: 1px solid var(--color-soft-line);
  padding: 32px;
  position: sticky;
  top: 120px;
  align-self: start;
}

.price-card-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 500;
}

.price-card-price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--color-forest);
  line-height: 1;
  margin: 10px 0 4px;
  letter-spacing: -0.01em;
}

.price-card-psf {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 28px;
}

.price-card-meta {
  padding: 18px 0;
  border-top: 1px solid var(--color-soft-line);
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.price-card-meta:last-of-type {
  border-bottom: 1px solid var(--color-soft-line);
}

.price-card-meta-label { color: var(--color-muted); }
.price-card-meta-value { color: var(--color-forest); font-weight: 600; }

.price-card-cta {
  width: 100%;
  background: var(--color-forest);
  color: var(--color-cream);
  padding: 16px;
  margin-top: 24px;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.25s ease;
}

.price-card-cta:hover { background: var(--color-forest-light); }

.price-card-cta-alt {
  width: 100%;
  background: transparent;
  color: var(--color-forest);
  padding: 14px;
  margin-top: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--color-forest);
  transition: all 0.25s ease;
}

.price-card-cta-alt:hover {
  background: var(--color-forest);
  color: var(--color-cream);
}

/* Detail content */
.detail-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 32px 80px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
}

.detail-main { min-width: 0; }

.section {
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--color-soft-line);
}

.section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.section-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 500;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 500;
  color: var(--color-forest);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.section-prose {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--color-charcoal);
  max-width: 720px;
}

.section-prose p { margin-bottom: 18px; }
.section-prose p:last-child { margin-bottom: 0; }

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px 40px;
}

.feature-group h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-soft-line);
}

.feature-group ul {
  list-style: none;
  font-size: 0.92rem;
  color: var(--color-charcoal);
}

.feature-group li {
  padding: 5px 0;
  display: flex;
  gap: 10px;
}

.feature-group li::before {
  content: '—';
  color: var(--color-gold);
  flex-shrink: 0;
}

/* Specs table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--color-soft-line);
}

.specs-table td {
  padding: 14px 0;
  font-size: 0.93rem;
}

.specs-table td:first-child {
  color: var(--color-muted);
  width: 40%;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.specs-table td:last-child {
  color: var(--color-forest);
  font-weight: 500;
}

/* Price history */
.price-history {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.price-history thead th {
  text-align: left;
  padding: 12px 0;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 500;
  border-bottom: 1px solid var(--color-line);
}

.price-history tbody tr {
  border-bottom: 1px solid var(--color-soft-line);
}

.price-history td {
  padding: 16px 0;
  color: var(--color-charcoal);
}

.price-history td.event {
  font-weight: 500;
  color: var(--color-forest);
}

.price-history td.price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-forest);
  text-align: right;
}

/* Sidebar */
.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.agent-card {
  background: var(--color-ivory);
  border: 1px solid var(--color-soft-line);
  padding: 32px;
  text-align: center;
  position: sticky;
  top: 120px;
}

.agent-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--color-forest);
  color: var(--color-gold-light);
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  border: 2px solid var(--color-gold);
  overflow: hidden;
  position: relative;
}

.agent-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.agent-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-forest);
}

.agent-title {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-top: 4px;
  margin-bottom: 24px;
}

.agent-divider {
  height: 1px;
  background: var(--color-soft-line);
  margin: 20px 0;
}

.agent-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--color-charcoal);
}

.agent-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 0;
  transition: color 0.2s ease;
}

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

.agent-cta {
  width: 100%;
  background: var(--color-forest);
  color: var(--color-cream);
  padding: 14px;
  margin-top: 22px;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.25s ease;
}

.agent-cta:hover { background: var(--color-forest-light); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-forest);
  color: var(--color-cream);
  padding: 70px 32px 30px;
  margin-top: 60px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(239, 232, 220, 0.15);
}

.footer-brand-name {
  font-family: var(--font-editorial);
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.footer-brand-name em { color: var(--color-gold-light); font-style: italic; }

.footer-brand-tag {
  font-size: 0.85rem;
  color: rgba(239, 232, 220, 0.7);
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: 18px;
  font-weight: 500;
}

.footer-col ul { list-style: none; }
.footer-col li {
  padding: 5px 0;
  font-size: 0.9rem;
  color: rgba(239, 232, 220, 0.75);
}

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

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(239, 232, 220, 0.5);
  letter-spacing: 0.05em;
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeUp 0.8s ease-out both;
}

.fade-in:nth-child(2) { animation-delay: 0.1s; }
.fade-in:nth-child(3) { animation-delay: 0.2s; }
.fade-in:nth-child(4) { animation-delay: 0.3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .detail-header,
  .detail-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .price-card,
  .agent-card {
    position: static;
  }

  .detail-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 200px;
    height: auto;
  }

  .gallery-main { grid-row: 1; grid-column: 1 / 3; }

  .search-bar {
    grid-template-columns: 1fr 1fr;
  }

  .search-submit {
    grid-column: 1 / 3;
    padding: 18px;
  }
}

@media (max-width: 720px) {
  .header-main { padding: 18px 20px; flex-wrap: wrap; }
  .nav { gap: 18px; }
  .nav a { font-size: 0.72rem; letter-spacing: 0.12em; }
  .results-hero { padding: 50px 20px 36px; }
  .results-container { padding: 36px 20px 60px; }
  .results-meta { flex-direction: column; gap: 14px; align-items: flex-start; }
  .property-grid { grid-template-columns: 1fr; }
  .detail-breadcrumb,
  .detail-header,
  .detail-content,
  .detail-gallery { padding-left: 20px; padding-right: 20px; }
  .detail-specs-row { flex-wrap: wrap; gap: 22px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .header-top-inner { padding: 0 20px; flex-direction: column; gap: 4px; }
}