:root {
  --navy: #0d1b2a;
  --gold: #d4a017;
  --gold-soft: #ffc641;
  --bg: #f8f9fb;
  --white: #ffffff;
  --muted: #44474c;
  --line: #e1e2e4;
  --whatsapp: #25d366;
  --container: 1200px;
  --header: 80px;
  --shadow: 0 8px 24px rgba(13, 27, 42, 0.08);
  --shadow-lg: 0 18px 40px rgba(13, 27, 42, 0.14);
  --radius: 16px;
  --font: "Cairo", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--navy);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; }
h1, h2, h3 { margin: 0 0 0.5rem; line-height: 1.3; font-weight: 800; }
p { margin: 0 0 1rem; }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.site-main { padding-top: var(--header); flex: 1; }
.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  vertical-align: middle;
}
.material-symbols-outlined.filled {
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
}

/* ——— Animations (always visible content) ——— */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes kenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.12); }
}
@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.anim-fade-up {
  animation: fadeUp 0.85s var(--ease) both;
}
.anim-delay-1 { animation-delay: 0.12s; }
.anim-delay-2 { animation-delay: 0.24s; }
.anim-delay-0 { animation-delay: 0s; }

.anim-on-scroll {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.anim-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}
.anim-on-scroll.anim-delay-1.is-visible { transition-delay: 0.1s; }
.anim-on-scroll.anim-delay-2.is-visible { transition-delay: 0.2s; }

/* Header — Stitch style */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--header);
  background: var(--white);
  box-shadow: 0 1px 8px rgba(13, 27, 42, 0.06);
}
.header-inner {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.header-start, .header-end {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: block;
  object-fit: contain;
  background: transparent;
  flex-shrink: 0;
}
.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}
.site-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  padding-bottom: 0.15rem;
  transition: color 0.2s ease;
}
.site-nav a:hover,
.site-nav a.is-active { color: var(--gold); }
.site-nav a.is-active {
  border-bottom: 2px solid var(--gold);
}
.nav-mobile-cta { display: none; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: var(--bg);
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.2s var(--ease), opacity 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); opacity: 0.95; }
.btn-sm {
  padding: 0.55rem 1rem;
  border-radius: 12px;
  font-size: 0.88rem;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 6px 16px rgba(212, 160, 23, 0.28);
}
.btn-whatsapp {
  width: 100%;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-top: 0.25rem;
}
.btn-cta {
  padding: 1rem 1.75rem;
  border-radius: 16px;
  font-size: 1.05rem;
  white-space: nowrap;
}
.btn-cta .material-symbols-outlined { font-size: 1.6rem; }
.link-gold {
  color: var(--gold);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-parallax {
  position: absolute;
  inset: -8% 0;
  will-change: transform;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    url("https://images.unsplash.com/photo-1613490493576-7fde63acd811?auto=format&fit=crop&w=1920&q=80")
    center / cover no-repeat;
  animation: kenBurns 22s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8, 16, 28, 0.78) 0%, rgba(13, 27, 42, 0.45) 55%, rgba(13, 27, 42, 0.28) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 3.5rem 0 4.5rem;
  width: min(100% - 4rem, var(--container));
  margin-inline: auto;
}
.hero-copy {
  max-width: 34rem;
  margin-bottom: 2rem;
  padding-inline: 0.25rem;
}
.hero-copy h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
  margin-bottom: 0.75rem;
}
.hero-copy p {
  font-size: 1.1rem;
  opacity: 0.92;
  margin: 0;
}

/* Filter glass bar — Stitch */
.filter-bar {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1.6fr auto;
  gap: 1rem;
  align-items: end;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  color: var(--navy);
  width: 100%;
  max-width: 980px;
  margin-inline: 0;
}
.filter-field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.filter-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
}
.filter-control {
  position: relative;
  display: block;
}
.filter-control select,
.filter-control input,
.price-input input {
  width: 100%;
  appearance: none;
  border: 1.5px solid #c4c6cc;
  border-radius: 12px;
  background: #ffffff;
  padding: 0.85rem 2.5rem 0.85rem 0.9rem;
  color: #0d1b2a;
  font-weight: 600;
  box-shadow: inset 0 1px 2px rgba(13, 27, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.filter-control select:hover,
.price-input input:hover {
  border-color: #9aa0a6;
}
.filter-control select:focus,
.price-input input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.22);
  background: #fffdf7;
}
.price-input input {
  padding: 0.75rem 0.7rem;
}
.price-input input::placeholder {
  color: #8b9198;
  font-weight: 500;
  opacity: 1;
}
.filter-control .material-symbols-outlined {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #5f6368;
  pointer-events: none;
  font-size: 1.15rem;
}
.price-range-inputs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.45rem;
  align-items: end;
}
.price-input {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.price-input span {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
}
.price-sep {
  color: var(--muted);
  font-weight: 700;
  padding-bottom: 0.7rem;
}
.filter-submit {
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  height: 48px;
}

.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 2.75rem 0 2.25rem;
}
.page-hero .filter-bar { margin-top: 1.25rem; }

/* Sections */
.section { padding: 4.5rem 0; }
.section-muted { background: var(--white); }
.section-head { margin-bottom: 2.5rem; }
.section-head.center { text-align: center; }
.section-head.row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--navy); }
.section-head p { margin: 0; color: var(--muted); }
.section-lead {
  max-width: 46rem;
  margin: 1rem auto 0 !important;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}
.gold-rule {
  display: block;
  width: 72px;
  height: 4px;
  margin: 0.85rem auto 0;
  border-radius: 999px;
  background: var(--gold);
}

.section-soft {
  background: linear-gradient(180deg, #f2e8d5 0%, #f8f9fb 55%);
}
.section-download-promo {
  background: linear-gradient(135deg, #122338, var(--navy));
  color: #fff;
  padding: 4rem 0;
}
.cta-final {
  background: var(--bg);
  padding: 2.75rem 0 3.25rem;
}
.cta-final .container {
  padding: 0;
}
.cta-final .cta-banner {
  border-radius: 24px;
  margin-bottom: 0;
  box-shadow: var(--shadow-lg);
}

/* Story / mission / vision */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.story-card {
  background: linear-gradient(165deg, #ffffff 0%, #fff8ea 100%);
  border: 1px solid rgba(212, 160, 23, 0.22);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.story-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.story-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(212, 160, 23, 0.18);
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 0.85rem;
}
.story-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.story-card p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.75; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0 0 2.5rem;
}
.stat-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.25rem 1rem 1.15rem;
  text-align: center;
  border: 1px solid rgba(212, 160, 23, 0.2);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #ffe08a, #d4a017);
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}
.stat-card strong {
  color: var(--navy);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.1;
}
.stat-card span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--white);
  border-radius: 22px;
  padding: 2rem 1.5rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid transparent;
  background-image:
    linear-gradient(#fff, #fff),
    linear-gradient(145deg, rgba(212, 160, 23, 0.45), rgba(13, 27, 42, 0.08));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.feature-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffe08a, #ffc641 45%, #d4a017);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(212, 160, 23, 0.35);
  transition: transform 0.35s var(--ease);
}
.feature-card:hover .feature-icon { transform: scale(1.06) rotate(-4deg); }
.feature-icon .material-symbols-outlined {
  font-size: 2.35rem;
  color: var(--navy);
}
.feature-card h3 { font-size: 1.18rem; margin-bottom: 0.65rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: 0.98rem; line-height: 1.75; }

/* How it works */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.how-card {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  padding: 1.75rem 1.35rem 1.5rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}
.how-num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 0.85rem;
}
.how-card h3 { font-size: 1.08rem; }
.how-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Store / download buttons */
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 200px;
  padding: 0.85rem 1.15rem;
  border-radius: 16px;
  color: #fff;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
.store-btn:hover { transform: translateY(-3px); }
.store-btn .material-symbols-outlined { font-size: 2rem; }
.store-btn small {
  display: block;
  font-size: 0.72rem;
  opacity: 0.85;
  font-weight: 500;
}
.store-btn strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
}
.store-android { background: linear-gradient(135deg, #1f2a24, #0d1b2a); border: 1px solid rgba(212,160,23,0.35); }
.store-android .material-symbols-outlined { color: #a4c639; }
.store-ios { background: linear-gradient(135deg, #2a2a2a, #111); }
.store-ios .material-symbols-outlined { color: #fff; }

.download-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.download-promo-copy { max-width: 34rem; }
.download-promo-copy h2 { color: #fff; font-size: clamp(1.45rem, 3vw, 2rem); }
.download-promo-copy p { color: rgba(255,255,255,0.8); }
.download-benefits {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.65rem;
}
.download-benefits li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.92);
  font-weight: 600;
}
.download-benefits .material-symbols-outlined { color: var(--gold); }

/* Download page */
.download-hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(212,160,23,0.22), transparent 40%),
    linear-gradient(160deg, #122338, var(--navy) 60%, #08111c);
  color: #fff;
  padding: 3.5rem 0 4rem;
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.download-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}
.download-hero .eyebrow {
  display: inline-block;
  background: rgba(212,160,23,0.18);
  color: var(--gold);
  border: 1px solid rgba(212,160,23,0.35);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}
.download-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.download-hero p { color: rgba(255,255,255,0.84); max-width: 36ch; }
.download-hint {
  color: var(--gold) !important;
  font-weight: 700;
  margin: 1.25rem 0 1rem;
}
.phone-frame {
  width: min(100%, 280px);
  margin-inline: auto;
  border-radius: 36px;
  padding: 14px;
  background: linear-gradient(160deg, #2a3544, #101820);
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.08);
}
.phone-screen {
  border-radius: 26px;
  min-height: 420px;
  padding: 1.5rem 1.2rem;
  background:
    linear-gradient(180deg, rgba(212,160,23,0.15), transparent 30%),
    #f8f9fb;
  color: var(--navy);
}
.phone-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}
.phone-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: var(--white);
  border-radius: 12px;
  padding: 4px;
  box-sizing: border-box;
}
.phone-screen p { color: var(--gold); font-weight: 700; margin-bottom: 1.25rem; }
.phone-screen ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}
.phone-screen li {
  background: #fff;
  border-radius: 12px;
  padding: 0.85rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}
.download-page-bottom { padding-bottom: 4rem; }

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.property-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.property-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.property-media {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #eee;
}
.property-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.property-card:hover .property-media img { transform: scale(1.08); }
.property-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  color: #c4c6cc;
  font-size: 2.5rem;
}
.property-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}
.property-badge.is-sale { background: var(--gold); color: var(--navy); }
.property-badge.is-rent { background: var(--navy); color: #fff; }
.property-body { padding: 1.15rem 1.2rem 1.35rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.property-price {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.property-body h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.property-body h3 a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.property-location {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.property-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
  margin-bottom: 0.85rem;
}
.property-specs > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: var(--muted);
  font-size: 0.8rem;
}
.property-specs .material-symbols-outlined { color: var(--gold); font-size: 1.25rem; }

/* CTA banner — Stitch */
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.75rem 2.5rem;
  border-radius: 24px;
  background: linear-gradient(135deg, #152536, var(--navy) 50%, #0a1520);
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 40%;
  background: rgba(212, 160, 23, 0.14);
  left: -40px;
  top: -80px;
  pointer-events: none;
}
.cta-text { position: relative; z-index: 1; max-width: 36rem; }
.cta-text h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  margin-bottom: 0.65rem;
}
.cta-text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
}
.cta-banner .btn-cta { position: relative; z-index: 1; }

.results-count { color: var(--muted); margin-bottom: 1.25rem; }
.empty-state {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 3rem 1.5rem;
  box-shadow: var(--shadow);
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.detail-layout { display: grid; gap: 1.25rem; padding: 2rem 0 3rem; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--muted);
  font-weight: 600;
}
.detail-gallery { display: grid; gap: 0.75rem; }
.gallery-main {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 340px;
  background: #eee;
}
.gallery-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.gallery-empty {
  display: grid;
  place-items: center;
  min-height: 320px;
  color: #c4c6cc;
  font-size: 3rem;
}
.gallery-count {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(13, 27, 42, 0.72);
  color: #fff;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 700;
}
.gallery-thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 96px;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}
.gallery-thumb {
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: #eee;
  height: 72px;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumb.is-active { border-color: var(--gold); }

.detail-grid {
  display: grid;
  grid-template-columns: 1.7fr 0.9fr;
  gap: 1.25rem;
  align-items: start;
}
.detail-main,
.agent-card {
  background: var(--white);
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.detail-header h1 { font-size: clamp(1.45rem, 3vw, 2rem); }
.property-price.accent { color: var(--gold); font-size: 1.45rem; }
.rent-lines .property-price { color: var(--gold); margin: 0 0 0.25rem; }

.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.35rem 0 0.5rem;
}
.spec-item {
  background: #f8f9fb;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem 0.7rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: center;
}
.spec-item .material-symbols-outlined { color: var(--gold); font-size: 1.4rem; }
.spec-item strong { font-size: 0.98rem; color: var(--navy); }
.spec-item small { color: var(--muted); font-size: 0.78rem; }

.detail-block { margin-top: 1.5rem; }
.detail-block h2 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.detail-text { color: var(--muted); line-height: 1.85; margin: 0; white-space: pre-wrap; }
.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fff8ea;
  border: 1px solid rgba(212, 160, 23, 0.28);
  color: var(--navy);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.88rem;
  font-weight: 600;
}
.feature-chip .material-symbols-outlined {
  color: var(--gold);
  font-size: 1.05rem;
}
.detail-tip {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  background: #f3f4f6;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  color: var(--muted);
}
.detail-tip .material-symbols-outlined { color: var(--gold); }
.detail-tip p { margin: 0; font-size: 0.92rem; }

.agent-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0.85rem 0 1rem;
}
.agent-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffe08a, #d4a017);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 1.8rem;
}
.agent-name { margin: 0; font-weight: 800; font-size: 1.05rem; }
.agent-phone {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #f8f9fb;
  border-radius: 14px;
  padding: 0.85rem 0.9rem;
  margin-bottom: 0.9rem;
}
.agent-phone .material-symbols-outlined { color: var(--gold); }
.agent-phone small { display: block; color: var(--muted); font-size: 0.75rem; }
.agent-phone a { font-weight: 800; color: var(--navy); font-size: 1.05rem; }
.btn-call {
  width: 100%;
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  padding: 0.85rem 1rem;
}
.property-actions { display: grid; gap: 0.55rem; }
.muted { color: var(--muted); }
.center-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.contact-card .feature-icon { margin-bottom: 1rem; }

/* Footer */
.site-footer {
  background: #0a1520;
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 1.5rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}
.footer-blurb, .footer-note { color: rgba(255, 255, 255, 0.7); }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 0.4rem; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}
.brand-light .brand-mark {
  background: var(--white);
  border-radius: 12px;
  padding: 4px;
  box-sizing: border-box;
}
.brand-light .brand-name { color: #fff; }

@media (max-width: 960px) {
  .filter-bar { grid-template-columns: 1fr 1fr; max-width: none; }
  .filter-submit { grid-column: 1 / -1; }
  .feature-grid,
  .property-grid,
  .contact-grid,
  .footer-grid,
  .story-grid,
  .how-grid,
  .stats-row,
  .download-hero-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .cta-banner,
  .download-promo { flex-direction: column; align-items: flex-start; }
  .detail-grid { grid-template-columns: 1fr; }
  .gallery-main img { height: 280px; }
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .header-cta { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .site-nav {
    display: none;
    position: absolute;
    top: calc(var(--header) + 0.5rem);
    inset-inline: 1.25rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.is-open { display: flex; }
  .nav-mobile-cta {
    display: inline-flex;
    justify-content: center;
    background: var(--gold);
    color: var(--navy) !important;
    border-radius: 12px;
    padding: 0.7rem;
    border: 0 !important;
  }
  .filter-bar { grid-template-columns: 1fr; }
  .feature-grid,
  .property-grid,
  .contact-grid,
  .footer-grid,
  .story-grid,
  .how-grid,
  .stats-row,
  .download-hero-grid,
  .section-head.row {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }
  .store-btn,
  .btn-cta { width: 100%; }
  .hero { min-height: 78vh; }
  .hero-inner {
    width: min(100% - 2rem, var(--container));
    padding: 3rem 0 3.5rem;
  }
  .download-hero { min-height: auto; padding: 2.5rem 0 3rem; }
  .cta-final {
    padding: 2rem 0 2.5rem;
  }
  .cta-final .cta-banner {
    border-radius: 20px;
    padding: 2rem 1.35rem;
  }
}

@media (max-width: 480px) {
  .property-body {
    gap: 0.45rem;
  }
  .property-price {
    font-size: 1.08rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; }
  .anim-fade-up { animation: none; }
  .anim-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
