/* ───── Qaf · ق — Brand tokens ─────
   Per Brand Architecture v1.0 (Real Estate Cluster):
   "earth + navy" — LIGHT theme, architectural feel.
   Voice: تشغيلي، خبير، مدروس. Distinct from MKW Advisory's dark/restrained mode.
   Tier-1 (endorsement HIDDEN per Mohamed). */

:root {
  color-scheme: light;
  --bg-base: #E6D7B2;       /* deeper warm parchment — better contrast for the gold logo */
  --bg-alt:  #DECDA0;       /* deeper alt sections */
  --navy: #1A2740;
  --navy-soft: #2C3A55;
  --terracotta: #A0522D;
  --terracotta-light: #C97A55;
  --ochre: #B8853A;
  --tan: #C4A77D;
  --cream: #FBF6E9;
  --ink: #1A2740;
  --muted: rgba(26, 39, 64, 0.65);
  --muted-soft: rgba(26, 39, 64, 0.5);
}

* { box-sizing: border-box; }

html, body {
  background: var(--bg-base);
  color: var(--ink);
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Readex Pro', 'Inter', system-ui, sans-serif;
  background-image:
    radial-gradient(70% 55% at 50% 0%, rgba(196, 167, 125, 0.18) 0%, transparent 75%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.15 0 0 0 0 0.18 0 0 0 0 0.25 0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-attachment: fixed;
  background-size: auto, 180px 180px;
}
html[lang="en"] body { font-family: 'Inter', system-ui, sans-serif; }

.container { margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 640px) { .container { padding-inline: 1.5rem; } }

/* ───── Floating language toggle (no header) ───── */
.lang-toggle-floating {
  position: fixed;
  top: 1rem;
  inset-inline-end: 1rem;
  z-index: 40;
  border: 1px solid var(--terracotta);
  border-radius: 9999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--terracotta);
  background: rgba(251, 246, 233, 0.92);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(26, 39, 64, 0.12);
}
.lang-toggle-floating:hover {
  background: var(--terracotta);
  color: var(--cream);
}

/* ───── Hero logo (the wordmark of the page now) ───── */
.hero-logo {
  display: block;
  width: auto;
  height: 16rem;
  margin: 0 auto 1.5rem;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(26, 39, 64, 0.18));
}
@media (min-width: 640px) { .hero-logo { height: 22rem; } }
@media (min-width: 1024px) { .hero-logo { height: 28rem; } }

/* ───── HERO with image background ───── */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?w=2000&q=80&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  z-index: -2;
  filter: grayscale(0.2) contrast(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(230, 215, 178, 0.78) 0%, rgba(230, 215, 178, 0.95) 100%),
    radial-gradient(60% 50% at 30% 70%, rgba(160, 82, 45, 0.14) 0%, transparent 60%);
  z-index: -1;
}
.hero-content {
  position: relative;
  text-align: center;
  padding: 5rem 1.25rem 4rem;
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 768px) {
  .hero-content { padding: 6rem 1.5rem 5rem; }
}
/* Sub-line under the headline — same visual family, not a separate badge */
.hero-eyebrow {
  display: block;
  color: var(--terracotta);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0.4rem 0 0;
  letter-spacing: 0.02em;
}
@media (min-width: 640px) { .hero-eyebrow { font-size: 1.1rem; } }
@media (min-width: 768px) { .hero-eyebrow { font-size: 1.25rem; } }
.hero-headline {
  font-family: 'Amiri', 'Readex Pro', serif;
  font-size: 1.95rem;
  line-height: 1.15;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.4em;
  position: relative;
  display: inline-block;
  padding-bottom: 0.18em;
  white-space: nowrap;
}
@media (min-width: 480px) { .hero-headline { font-size: 2.5rem; } }
@media (min-width: 640px) { .hero-headline { font-size: 3.5rem; } }
@media (min-width: 768px) { .hero-headline { font-size: 4.5rem; } }
html[lang="en"] .hero-headline { font-family: 'Playfair Display', serif; letter-spacing: -0.015em; }

.hero-sub {
  margin: 1.4rem auto 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--navy-soft);
  max-width: 36rem;
  text-align: center;
}
@media (min-width: 640px) { .hero-sub { font-size: 1.05rem; } }

.hero-cta { margin-top: 2.2rem; }

.hero-ornament {
  position: absolute;
  width: 80px;
  height: 80px;
  border-color: var(--terracotta);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}
.hero-ornament-start { top: 5rem; inset-inline-start: 2rem; border-top: 2px solid; border-inline-start: 2px solid; }
.hero-ornament-end   { bottom: 3rem; inset-inline-end: 2rem; border-bottom: 2px solid; border-inline-end: 2px solid; }
@media (max-width: 640px) {
  .hero-ornament { width: 50px; height: 50px; }
  .hero-ornament-start { top: 5rem; inset-inline-start: 1rem; }
  .hero-ornament-end { bottom: 1.5rem; inset-inline-end: 1rem; }
}

/* ───── Sections ───── */
.section {
  padding-block: 4rem;
}
@media (min-width: 768px) { .section { padding-block: 6rem; } }
.section-alt { background: var(--bg-alt); }
.section-cta { background: var(--navy); color: var(--cream); }
.section-cta .section-title { color: var(--cream); }
.section-cta .section-lead { color: rgba(251, 246, 233, 0.75); }

.text-center { text-align: center; }

.eyebrow-line {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 700;
}
.eyebrow-line::before, .eyebrow-line::after {
  content: "";
  display: inline-block;
  width: 1.75rem;
  height: 1px;
  background: var(--terracotta);
  opacity: 0.5;
}
html[lang="ar"] .eyebrow-line { letter-spacing: 0; text-transform: none; font-size: 0.85rem; }

.section-title {
  font-family: 'Playfair Display', 'Readex Pro', serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0;
}
.mt-4 { margin-top: 1rem; }
@media (min-width: 640px) { .section-title { font-size: 2rem; } }
@media (min-width: 768px) { .section-title { font-size: 2.5rem; } }
html[lang="ar"] .section-title { font-family: 'Readex Pro', serif; font-weight: 700; }
.section-cta .section-title { color: var(--cream); }

.section-lead {
  margin: 1rem auto 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}
@media (min-width: 640px) { .section-lead { font-size: 1rem; } }

/* ───── Buttons (tight, no extra whitespace) ───── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.4rem;
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
  white-space: nowrap;
  background: var(--terracotta);
  color: var(--cream);
  border: 1px solid var(--terracotta);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(160, 82, 45, 0.22);
}
.btn-primary:hover {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 6px 20px rgba(26, 39, 64, 0.28);
  transform: translateY(-2px);
}
.section-cta .btn-primary {
  background: var(--cream);
  color: var(--navy);
  border-color: var(--cream);
}
.section-cta .btn-primary:hover {
  background: var(--terracotta);
  color: var(--cream);
  border-color: var(--terracotta);
}

/* ───── Timeline (How we work) ───── */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.timeline-step {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  background: var(--cream);
  border: 1px solid rgba(196, 167, 125, 0.5);
  border-inline-start: 4px solid var(--terracotta);
  border-radius: 0.5rem;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 2px 6px rgba(26, 39, 64, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.timeline-step:hover {
  box-shadow: 0 12px 28px rgba(26, 39, 64, 0.08);
}
@media (min-width: 640px) {
  .timeline-step { gap: 1.3rem; padding: 1.4rem 1.5rem; }
}

/* Number — prominent circular marker at the start of the row */
.timeline-num {
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid var(--terracotta);
  background: rgba(160, 82, 45, 0.08);
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Amiri', serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
}
@media (min-width: 640px) {
  .timeline-num { width: 3rem; height: 3rem; font-size: 1.45rem; }
}

/* Icon — decorative element on the opposite end of the row */
.timeline-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  color: var(--terracotta);
  opacity: 0.65;
  align-self: center;
}
.timeline-icon svg { width: 100%; height: 100%; }
@media (min-width: 640px) {
  .timeline-icon { width: 2.1rem; height: 2.1rem; }
}
.timeline-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.45rem;
}
@media (min-width: 640px) { .timeline-title { font-size: 1.15rem; } }
html[lang="ar"] .timeline-title { font-family: 'Readex Pro', serif; }
.timeline-desc {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--muted);
}
@media (min-width: 640px) { .timeline-desc { font-size: 0.92rem; } }

/* ───── Property types gallery ───── */
.property-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .property-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .property-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .property-grid { grid-template-columns: repeat(5, 1fr); } }

.property-card {
  background: var(--cream);
  border: 1px solid rgba(196, 167, 125, 0.55);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(26, 39, 64, 0.12);
}
.property-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--navy);
}
.property-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.property-card:hover .property-img img { transform: scale(1.05); }
.property-body {
  padding: 1.25rem 1.4rem;
}
.property-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.5rem;
}
html[lang="ar"] .property-title { font-family: 'Readex Pro', serif; }
.property-desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
}
.property-footnote {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.95rem;
  color: var(--navy-soft);
  font-style: italic;
}

/* ───── Reasons grid ───── */
.reasons-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .reasons-grid { grid-template-columns: repeat(2, 1fr); } }

.reason {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1.3rem;
  background: var(--cream);
  border-radius: 0.5rem;
  border: 1px solid rgba(196, 167, 125, 0.45);
}
.reason-num {
  font-family: 'Amiri', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--terracotta);
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(160, 82, 45, 0.1);
  border-radius: 50%;
  flex-shrink: 0;
  line-height: 1;
}
.reason p {
  margin: 0;
  color: var(--navy-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ───── Cluster cards (minimal, elegant) ───── */
.cluster-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  max-width: 38rem;
  margin-inline: auto;
}
.cluster-card-min {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--cream);
  border: 1px solid rgba(196, 167, 125, 0.4);
  border-radius: 0.5rem;
  padding: 1rem 1.2rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  position: relative;
  width: 100%;
  text-align: start;
  cursor: pointer;
}
button.cluster-card-min { font: inherit; }
.cluster-card-min:hover {
  border-color: var(--terracotta);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(26, 39, 64, 0.08);
}
.cluster-card-min.cluster-card-self {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream);
}
.cluster-min-logo {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  background: transparent;
  border-radius: 0.4rem;
  padding: 0.2rem;
}
@media (min-width: 640px) {
  .cluster-min-logo { width: 4.5rem; height: 4.5rem; }
}
.cluster-min-logo-dark {
  background: var(--navy);
  padding: 0.3rem;
}
.cluster-min-logo-pin {
  width: 3.2rem;
  height: 3.2rem;
}
@media (min-width: 640px) {
  .cluster-min-logo-pin { width: 3.6rem; height: 3.6rem; }
}
.cluster-min-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.cluster-min-text > h3,
.cluster-min-text > p {
  display: block;
  margin: 0;
  width: 100%;
}
.cluster-min-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin: 0 0 0.15rem;
}
.cluster-card-self .cluster-min-name { color: var(--cream); }
html[lang="ar"] .cluster-min-name { font-family: 'Readex Pro', serif; }
.cluster-min-desc {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
}
.cluster-card-self .cluster-min-desc { color: rgba(251, 246, 233, 0.78); }

/* Stacked card (Jommar with nested Hissa) */
.cluster-card-min-stacked {
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  gap: 0;
}
.cluster-card-min-stacked:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(26, 39, 64, 0.08);
}
.cluster-min-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}
.cluster-min-row:hover { background: rgba(160, 82, 45, 0.04); }

/* Hissa nested row — same neutral cream as Jommar's row, indented + arrow connector */
.cluster-sub-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.2rem 0.85rem;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
  margin-inline-start: 0.6rem;
}
.cluster-sub-row:hover { background: rgba(160, 82, 45, 0.04); }
.cluster-sub-connector {
  flex-shrink: 0;
  font-size: 1.1rem;
  color: rgba(47, 143, 118, 0.7);
  line-height: 1;
  transform: translateY(-2px);
}
html[dir="rtl"] .cluster-sub-connector { transform: translateY(-2px) scaleX(-1); }

/* Hissa nested mark tile — visibly smaller */
.cluster-sub-mark-tile {
  flex-shrink: 0;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 0.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2F8F76, #1B5C4B);
  color: var(--cream);
  font-family: 'Amiri', serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
}
/* Hissa logo (replaces letter mark when official logo available) */
.cluster-sub-logo {
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  object-fit: contain;
  display: inline-block;
}
/* Replaces sub-mark-tile when an actual logo image is available */
.cluster-sub-logo {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  object-fit: contain;
}
.cluster-sub-row .cluster-min-name {
  font-size: 0.88rem;
  margin: 0 0 0.25rem;
  color: var(--navy);
  font-weight: 700;
}
.cluster-sub-row .cluster-min-desc {
  font-size: 0.7rem;
  color: var(--muted);
}
.cluster-sub-row .cluster-visit-icon-min {
  width: 1.4rem;
  height: 1.4rem;
}

/* Remax official logo — wider aspect ratio than other cluster marks */
.cluster-min-logo-remax {
  width: auto;
  height: 1.8rem;
  max-width: 7rem;
  background: transparent;
  padding: 0;
}

/* Star indicator on Qaf's own card */
.cluster-here-star {
  flex-shrink: 0;
  font-size: 1.15rem;
  color: var(--terracotta-light);
  line-height: 1;
}

/* Minimal globe visit icon for cluster cards */
.cluster-visit-icon-min {
  flex-shrink: 0;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(160, 82, 45, 0.08);
  color: var(--terracotta);
  transition: all 0.2s ease;
}
.cluster-card-min:hover .cluster-visit-icon-min,
.cluster-min-row:hover .cluster-visit-icon-min {
  background: var(--terracotta);
  color: var(--cream);
}

.cluster-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(196, 167, 125, 0.55);
  background: var(--cream);
  padding: 1.4rem;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}
.cluster-card:hover:not(.cluster-card-self) {
  border-color: var(--terracotta);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(26, 39, 64, 0.08);
}
.cluster-card-self {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream);
}
.cluster-card-self .cluster-card-title { color: var(--cream); }
.cluster-card-self .cluster-card-desc { color: rgba(251, 246, 233, 0.75); }
.cluster-logo-tile {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border: 1px solid rgba(196, 167, 125, 0.5);
  padding: 0.25rem;
}
.cluster-card-self .cluster-logo-tile {
  background: var(--cream);
  border-color: var(--cream);
}
.cluster-logo-tile-dark { background: var(--navy); border-color: var(--navy); }
.cluster-logo-tile-hissa {
  background: linear-gradient(135deg, #2F8F76, #1B5C4B);
  border-color: #1B5C4B;
}
.cluster-logo-tile-remax {
  background: linear-gradient(135deg, #DC1C2E, #003DA5);
  border-color: #003DA5;
}
.cluster-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cluster-letter {
  font-family: 'Amiri', serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--cream);
  line-height: 1;
}

/* Visit web icon for cluster cards (mkw.coach pattern) */
.cluster-visit-icon {
  flex-shrink: 0;
  align-self: flex-start;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(160, 82, 45, 0.08);
  border: 1px solid rgba(160, 82, 45, 0.32);
  color: var(--terracotta);
  transition: all 0.25s ease;
  margin-top: 0.15rem;
}
.cluster-card:hover .cluster-visit-icon {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--cream);
  transform: translateY(-1px);
}
.cluster-card-body { flex: 1; min-width: 0; }
.cluster-card-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0 0 0.3rem;
}
html[lang="ar"] .cluster-card-title { font-family: 'Readex Pro', serif; }
.cluster-card-desc { color: var(--muted); font-size: 0.86rem; line-height: 1.6; margin: 0; }
/* Star button "أنت هنا" — for Qaf's own card (mkw.group pattern) */
.cluster-here-btn {
  flex-shrink: 0;
  align-self: flex-start;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(251, 246, 233, 0.15);
  border: 1px solid var(--cream);
  color: var(--cream);
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 0.15rem;
}
.cluster-here-btn:hover {
  background: var(--cream);
  color: var(--navy);
  transform: translateY(-1px);
}

/* Here-toast (centered) */
.here-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.94);
  background: linear-gradient(135deg, var(--terracotta), var(--ochre));
  color: var(--cream);
  padding: 0.85rem 1.8rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  z-index: 100;
  box-shadow: 0 12px 36px rgba(160, 82, 45, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.here-toast.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ───── Contact icons (minimal — line-art on transparent bg) ───── */
.contact-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background: transparent;
  border: 0;
  color: rgba(251, 246, 233, 0.7);
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  padding: 0;
}
.contact-icon-btn svg { width: 100%; height: 100%; }
.contact-icon-btn:hover {
  color: var(--terracotta-light);
  transform: translateY(-2px);
}

/* City toast */
.city-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(0.6rem);
  padding: 0.6rem 1.2rem;
  border-radius: 0.4rem;
  background: var(--navy);
  border: 1px solid var(--terracotta);
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 500;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 8px 28px rgba(26, 39, 64, 0.25);
}
.city-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Footer */
.footer {
  border-top: 1px solid rgba(196, 167, 125, 0.5);
  background: var(--bg-alt);
  padding: 1.5rem;
}
.footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  text-align: center;
  color: var(--muted-soft);
  font-size: 0.78rem;
}
.footer-endorsement {
  display: inline-block;
  margin-bottom: 0.75rem;
  text-decoration: none;
  color: var(--muted-soft);
  font-size: 0.85rem;
  line-height: 1.7;
  opacity: 0.85;
  transition: opacity 0.15s;
  text-align: center;
  max-width: 92vw;
}
.footer-endorsement:hover { opacity: 1; }
.inline-mkw-logo {
  display: inline-block;
  height: 1.7em;
  width: auto;
  margin: 0 0.35em;
  vertical-align: middle;
  position: relative;
  top: -0.08em;
  object-fit: contain;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .btn-primary:hover, .timeline-step:hover, .property-card:hover,
  .cluster-card:hover, .contact-icon-btn:hover, .property-card:hover .property-img img {
    transform: none;
  }
}
