/* ═══════════════════════════════════════════════════════════════
   BETAK DEVELOPMENT — listings.css
   Palette: Blacks, Charcoals, Greys, Off-whites, Accent Gold
   Direction: RTL (Arabic) | Currency: EGP
   ═══════════════════════════════════════════════════════════════ */

@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&family=Cairo:wght@300;400;600;700;900&display=swap");

/* ── CSS Variables ────────────────────────────────────────────── */
:root {
  --ink-950: #0a0a0a;
  --ink-900: #111111;
  --ink-800: #1c1c1c;
  --ink-700: #2e2e2e;
  --ink-600: #444444;
  --ink-500: #6b6b6b;
  --ink-400: #8f8f8f;
  --ink-300: #b8b8b8;
  --ink-200: #d9d9d9;
  --ink-100: #efefef;
  --ink-50:  #f7f7f7;
  --white:   #ffffff;
  --accent:     #c8b89a;
  --accent-dk:  #a89070;
  --font-display: "Tajawal", sans-serif;
  --font-body:    "Cairo", sans-serif;
  --radius:    16px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,.14);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.22);
  --transition: .38s cubic-bezier(.4,0,.2,1);
}

/* ── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink-800);
  direction: rtl;
  overflow-x: hidden;
  line-height: 1.7;
}
img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* ════════════════════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════════════════════ */
#site-header {
  position: fixed; top: 0; right: 0; left: 0; z-index: 1000;
  padding: 22px 0; transition: var(--transition);
}
#site-header.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,.08), var(--shadow-sm);
  padding: 14px 0;
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}

/* Logo */
.logo {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.logo-mark {
  width: 46px; height: 46px; background: var(--ink-900);
  border-radius: 12px; display: grid; place-items: center;
  transition: var(--transition);
}
#site-header:not(.scrolled) .logo-mark {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
}
.logo-mark svg {
  width: 24px; height: 24px;
  stroke: var(--white); fill: none; stroke-width: 1.6;
}
.logo-text {
  font-family: var(--font-display); font-weight: 900;
  font-size: 1.5rem; color: var(--ink-900);
}
#site-header:not(.scrolled) .logo-text { color: var(--white); }
.logo-sub {
  display: block; font-size: .65rem; font-weight: 400;
  color: var(--ink-400); letter-spacing: .1em; line-height: 1; margin-top: 2px;
}
#site-header:not(.scrolled) .logo-sub { color: rgba(255,255,255,.6); }

/* Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 9px 18px; border-radius: 50px;
  font-size: .88rem; font-weight: 600;
  color: rgba(255,255,255,.8); transition: var(--transition);
}
#site-header.scrolled .main-nav a { color: var(--ink-600); }
.main-nav a:hover { color: var(--white) !important; background: rgba(255,255,255,.15); }
#site-header.scrolled .main-nav a:hover { color: var(--ink-900) !important; background: var(--ink-100); }
.main-nav a.active { color: var(--white) !important; }
#site-header.scrolled .main-nav a.active { color: var(--ink-900) !important; background: var(--ink-100); }

.nav-cta-btn {
  margin-right: 12px;
  background: var(--white) !important; color: var(--ink-900) !important;
  padding: 10px 24px !important; border-radius: 50px;
  font-weight: 700; box-shadow: var(--shadow-sm);
}
#site-header:not(.scrolled) .nav-cta-btn {
  background: rgba(255,255,255,.2) !important; color: var(--white) !important;
}
.nav-cta-btn:hover { background: var(--accent) !important; color: var(--ink-900) !important; }

/* Burger */
.burger {
  display: none; flex-direction: column;
  gap: 5px; padding: 6px; cursor: pointer;
}
.burger span {
  display: block; width: 26px; height: 2px;
  background: var(--white); border-radius: 2px; transition: var(--transition);
}
#site-header.scrolled .burger span { background: var(--ink-800); }
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile nav */
.mobile-nav {
  display: none; position: fixed; top: 70px; right: 0; left: 0;
  background: var(--white); padding: 16px 20px 24px;
  box-shadow: var(--shadow-lg); flex-direction: column; gap: 4px;
  z-index: 999; border-top: 1px solid var(--ink-100);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 13px 16px; border-radius: 10px;
  font-size: .95rem; font-weight: 600;
  color: var(--ink-700); transition: var(--transition);
}
.mobile-nav a:hover,
.mobile-nav a.active { background: var(--ink-50); color: var(--ink-900); }

/* ════════════════════════════════════════════════════════════════
   PAGE BANNER
════════════════════════════════════════════════════════════════ */
.page-banner {
  position: relative; padding: 160px 0 90px;
  background: var(--ink-900); overflow: hidden;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(200,184,154,.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(200,184,154,.08) 0%, transparent 50%);
}
.page-banner-geo {
  position: absolute; top: -60px; left: -60px;
  width: 420px; height: 420px;
  border: 1px solid rgba(200,184,154,.08); border-radius: 50%;
  pointer-events: none;
}
.page-banner-geo::after {
  content: ''; position: absolute; inset: 40px;
  border: 1px solid rgba(200,184,154,.06); border-radius: 50%;
}
.page-banner-inner { position: relative; z-index: 1; }
.page-breadcrumb {
  display: flex; align-items: center; gap: 10px;
  font-size: .8rem; color: rgba(255,255,255,.4); margin-bottom: 20px;
}
.page-breadcrumb a { color: rgba(255,255,255,.5); transition: var(--transition); }
.page-breadcrumb a:hover { color: var(--accent); }
.page-breadcrumb svg {
  width: 14px; height: 14px;
  stroke: rgba(255,255,255,.3); fill: none; stroke-width: 2;
}
.page-banner h1 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--white); line-height: 1.15; margin-bottom: 16px;
}
.page-banner h1 span { color: var(--accent); }
.page-banner > .container > p {
  font-size: 1.05rem; color: rgba(255,255,255,.55);
  max-width: 520px; line-height: 1.85;
}
.page-banner-stats {
  display: flex; gap: 40px; margin-top: 40px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.08); flex-wrap: wrap;
}
.pb-stat-num {
  font-family: var(--font-display); font-weight: 900;
  font-size: 1.9rem; color: var(--white); line-height: 1;
}
.pb-stat-num span { color: var(--accent); }
.pb-stat-label { font-size: .78rem; color: rgba(255,255,255,.4); margin-top: 4px; }

/* ════════════════════════════════════════════════════════════════
   SEARCH BAR
════════════════════════════════════════════════════════════════ */
.search-section {
  background: var(--white); box-shadow: var(--shadow-md);
  position: sticky; top: 78px; z-index: 100;
  border-bottom: 1px solid var(--ink-100);
}
.search-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 0; align-items: stretch;
}
.search-field {
  display: flex; flex-direction: column;
  padding: 18px 24px;
  border-left: 1px solid var(--ink-100);
  cursor: pointer; transition: var(--transition); position: relative;
}
.search-field:last-of-type { border-left: none; }
.search-field:hover { background: var(--ink-50); }
.search-field label {
  font-size: .7rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent-dk); margin-bottom: 5px;
}
.search-field select,
.search-field input {
  border: none; outline: none; background: transparent;
  font-family: var(--font-body); font-size: .92rem; font-weight: 600;
  color: var(--ink-800); cursor: pointer;
  appearance: none; -webkit-appearance: none; width: 100%;
}
.field-icon {
  position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px;
  stroke: var(--ink-400); fill: none; stroke-width: 2;
}
.search-btn-wrap {
  padding: 12px 16px; display: flex; align-items: center;
  background: var(--ink-900);
}
.search-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--ink-900);
  padding: 14px 28px; border-radius: 10px;
  font-weight: 800; font-size: .9rem; font-family: var(--font-display);
  white-space: nowrap; transition: var(--transition); cursor: pointer; border: none;
}
.search-btn svg {
  width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.5;
}
.search-btn:hover { background: var(--white); transform: scale(1.02); }

/* ════════════════════════════════════════════════════════════════
   FILTER ROW
════════════════════════════════════════════════════════════════ */
.filter-row {
  background: var(--ink-50);
  border-bottom: 1px solid var(--ink-100); padding: 14px 0;
}
.filter-row-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.filter-chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-chip-label {
  font-size: .75rem; font-weight: 700;
  color: var(--ink-500); letter-spacing: .06em; margin-left: 4px;
}
.chip {
  padding: 7px 16px; border-radius: 50px;
  font-size: .8rem; font-weight: 700;
  border: 1.5px solid var(--ink-200); color: var(--ink-600);
  background: var(--white); cursor: pointer; transition: var(--transition);
}
.chip:hover,
.chip.active { background: var(--ink-900); color: var(--white); border-color: var(--ink-900); }
.chip.accent.active { background: var(--accent); color: var(--ink-900); border-color: var(--accent); }

.results-meta { display: flex; align-items: center; gap: 20px; }
.results-count { font-size: .82rem; color: var(--ink-500); font-weight: 600; }
.results-count strong { color: var(--ink-900); }
.view-toggle { display: flex; gap: 4px; }
.view-btn {
  width: 34px; height: 34px; border-radius: 8px;
  display: grid; place-items: center; cursor: pointer;
  border: 1.5px solid var(--ink-200); background: var(--white);
  transition: var(--transition);
}
.view-btn svg { width: 16px; height: 16px; stroke: var(--ink-400); fill: none; stroke-width: 2; }
.view-btn.active { background: var(--ink-900); border-color: var(--ink-900); }
.view-btn.active svg { stroke: var(--white); }

/* ════════════════════════════════════════════════════════════════
   LISTINGS LAYOUT
════════════════════════════════════════════════════════════════ */
.listings-page { padding: 52px 0 80px; }
.listings-layout {
  display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: start;
}

/* ── Sidebar ──────────────────────────────────────────────────── */
.sidebar { position: sticky; top: 170px; }
.sidebar-card {
  background: var(--white); border: 1px solid var(--ink-100);
  border-radius: var(--radius); padding: 28px; margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.sidebar-title {
  font-family: var(--font-display); font-weight: 800; font-size: .95rem;
  color: var(--ink-900); margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.sidebar-title::before {
  content: ''; width: 4px; height: 16px;
  background: var(--accent); border-radius: 2px; flex-shrink: 0;
}

/* Price range */
.range-track {
  position: relative; height: 4px; background: var(--ink-100);
  border-radius: 4px; margin: 24px 0 8px;
}
.range-fill {
  position: absolute; height: 100%;
  background: var(--ink-900); border-radius: 4px;
  right: 20%; left: 0%;
}
input[type=range] {
  position: absolute; width: 100%; height: 4px;
  opacity: 0; top: 0; cursor: pointer; direction: ltr;
}
.range-labels {
  display: flex; justify-content: space-between;
  font-size: .78rem; color: var(--ink-500);
}

/* Checkboxes */
.checkbox-list { display: flex; flex-direction: column; gap: 12px; }
.checkbox-item {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
}
.checkbox-box {
  width: 18px; height: 18px; border: 2px solid var(--ink-200);
  border-radius: 5px; flex-shrink: 0; display: grid; place-items: center;
  transition: var(--transition);
}
.checkbox-item.checked .checkbox-box { background: var(--ink-900); border-color: var(--ink-900); }
.checkbox-box svg { width: 10px; height: 10px; stroke: var(--white); fill: none; stroke-width: 3; display: none; }
.checkbox-item.checked .checkbox-box svg { display: block; }
.checkbox-text { font-size: .86rem; color: var(--ink-600); font-weight: 600; flex: 1; }
.checkbox-count {
  font-size: .72rem; color: var(--ink-400); background: var(--ink-50);
  padding: 2px 8px; border-radius: 20px; font-weight: 700;
}

/* Amenity tags */
.amenity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.amenity-tag {
  padding: 8px 10px; border: 1.5px solid var(--ink-100); border-radius: 8px;
  font-size: .76rem; font-weight: 700; color: var(--ink-600);
  cursor: pointer; transition: var(--transition); text-align: center;
}
.amenity-tag:hover,
.amenity-tag.active { background: var(--ink-900); color: var(--white); border-color: var(--ink-900); }

/* Clear button */
.clear-filters-btn {
  width: 100%; padding: 13px; border-radius: 10px;
  border: 1.5px solid var(--ink-200);
  font-family: var(--font-body); font-size: .85rem; font-weight: 700;
  color: var(--ink-600); cursor: pointer; transition: var(--transition); background: transparent;
}
.clear-filters-btn:hover { border-color: var(--ink-900); color: var(--ink-900); }

/* ── Listings Grid ────────────────────────────────────────────── */
.listings-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.listings-grid.list-view { grid-template-columns: 1fr; }

/* Property Card */
.prop-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--ink-100); transition: var(--transition);
  cursor: pointer; position: relative;
  opacity: 0; transform: translateY(28px);
  animation: cardReveal .6s ease forwards;
}
@keyframes cardReveal { to { opacity: 1; transform: none; } }
.prop-card:nth-child(1) { animation-delay: .00s; }
.prop-card:nth-child(2) { animation-delay: .08s; }
.prop-card:nth-child(3) { animation-delay: .16s; }
.prop-card:nth-child(4) { animation-delay: .24s; }
.prop-card:nth-child(5) { animation-delay: .32s; }
.prop-card:nth-child(6) { animation-delay: .40s; }
.prop-card:nth-child(7) { animation-delay: .48s; }
.prop-card:nth-child(8) { animation-delay: .56s; }
.prop-card:nth-child(9) { animation-delay: .64s; }

.prop-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: var(--ink-200);
}

/* Image area */
.prop-img {
  position: relative; overflow: hidden;
  height: 220px; background: var(--ink-100);
}
.prop-card:hover .prop-img img { transform: scale(1.06); }

/* Image placeholder art */
.prop-img-art {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.prop-img-art::before {
  content: ''; position: absolute;
  width: 140px; height: 140px;
  border: 1px solid rgba(200,184,154,.15); border-radius: 50%;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.prop-img-art::after {
  content: ''; position: absolute;
  width: 80px; height: 80px;
  border: 1px solid rgba(200,184,154,.1); border-radius: 50%;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.prop-img-art svg {
  width: 48px; height: 48px;
  stroke: rgba(200,184,154,.4); fill: none; stroke-width: 1;
  position: relative; z-index: 1;
}
.grad-1 { background: linear-gradient(135deg,#1c1c1c 0%,#2e2e2e 50%,#3a3a3a 100%); }
.grad-2 { background: linear-gradient(135deg,#2a2018 0%,#3d2f1f 50%,#4a3828 100%); }
.grad-3 { background: linear-gradient(135deg,#111827 0%,#1e293b 50%,#0f172a 100%); }
.grad-4 { background: linear-gradient(135deg,#1a1a2e 0%,#16213e 50%,#0f3460 100%); }
.grad-5 { background: linear-gradient(135deg,#0d1f1b 0%,#1a3a32 50%,#0d2e26 100%); }
.grad-6 { background: linear-gradient(135deg,#2d1b1b 0%,#3d2020 50%,#4a2828 100%); }

/* Badges */
.prop-badge {
  position: absolute; top: 14px; right: 14px;
  padding: 5px 12px; border-radius: 50px;
  font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.badge-sale     { background: var(--ink-900); color: var(--white); }
.badge-rent     { background: var(--accent); color: var(--ink-900); }
.badge-featured { background: #fff; color: var(--ink-900); box-shadow: var(--shadow-sm); }
.badge-new      { background: #1a6b3c; color: #fff; }

/* Card body */
.prop-body { padding: 20px 22px 22px; }
.prop-type {
  font-size: .68rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-dk); margin-bottom: 8px;
  display: flex; align-items: center; gap: 6px;
}
.prop-type::before { content: ''; width: 16px; height: 1.5px; background: var(--accent); }
.prop-name {
  font-family: var(--font-display); font-size: 1.08rem; font-weight: 800;
  color: var(--ink-900); line-height: 1.3; margin-bottom: 10px;
}
.prop-location {
  display: flex; align-items: center; gap: 5px;
  font-size: .8rem; color: var(--ink-500); margin-bottom: 16px;
}
.prop-location svg {
  width: 13px; height: 13px; stroke: var(--accent); fill: none; stroke-width: 2.5; flex-shrink: 0;
}
.prop-specs {
  display: flex; gap: 14px; flex-wrap: wrap;
  padding: 14px 0;
  border-top: 1px solid var(--ink-100); border-bottom: 1px solid var(--ink-100);
  margin-bottom: 16px;
}
.spec { display: flex; align-items: center; gap: 5px; font-size: .78rem; color: var(--ink-600); font-weight: 600; }
.spec svg { width: 14px; height: 14px; stroke: var(--ink-400); fill: none; stroke-width: 2; flex-shrink: 0; }

.prop-footer { display: flex; align-items: center; justify-content: space-between; }
.prop-price { font-family: var(--font-display); }
.prop-price-amount {
  font-size: 1.3rem; font-weight: 900; color: var(--ink-900); line-height: 1;
}
.prop-price-unit { font-size: .72rem; color: var(--ink-400); font-weight: 600; margin-top: 2px; }

.prop-cta {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: 50px;
  background: var(--ink-900); color: var(--white);
  font-size: .8rem; font-weight: 700; font-family: var(--font-display);
  transition: var(--transition);
}
.prop-cta svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; }
.prop-card:hover .prop-cta { background: var(--accent); color: var(--ink-900); }

/* Featured card */
.prop-card.featured-card { grid-column: span 2; }
.prop-card.featured-card .prop-img { height: 300px; }

/* List view */
.listings-grid.list-view .prop-card {
  display: grid; grid-template-columns: 300px 1fr;
}
.listings-grid.list-view .prop-img {
  height: 100%; min-height: 200px;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.listings-grid.list-view .prop-body {
  display: flex; flex-direction: column; justify-content: center;
  padding: 28px;
}
.listings-grid.list-view .prop-name { font-size: 1.25rem; }

/* ════════════════════════════════════════════════════════════════
   PAGINATION / LOAD MORE
════════════════════════════════════════════════════════════════ */
.pagination-section { padding: 52px 0; text-align: center; }
.load-more-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 48px; border-radius: 50px;
  border: 2px solid var(--ink-200);
  font-family: var(--font-display); font-weight: 800; font-size: .95rem;
  color: var(--ink-700); cursor: pointer; transition: var(--transition); background: transparent;
}
.load-more-btn svg {
  width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.5;
  transition: var(--transition);
}
.load-more-btn:hover { background: var(--ink-900); color: var(--white); border-color: var(--ink-900); }
.load-more-btn:hover svg { transform: translateY(3px); }
@keyframes spin { to { transform: rotate(360deg); } }
.load-more-btn.loading svg { animation: spin .8s linear infinite; }

.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin-top: 28px;
}
.pag-btn {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  font-size: .88rem; font-weight: 700; cursor: pointer; transition: var(--transition);
  border: 1.5px solid var(--ink-200); background: var(--white); color: var(--ink-600);
}
.pag-btn:hover { border-color: var(--ink-900); color: var(--ink-900); }
.pag-btn.active { background: var(--ink-900); color: var(--white); border-color: var(--ink-900); }
.pag-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.5; }
.pag-dots { color: var(--ink-300); font-weight: 700; padding: 0 4px; }

/* ════════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════════ */
footer#site-footer {
  background: var(--ink-950); padding: 80px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 52px; padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-brand p {
  font-size: .88rem; color: rgba(255,255,255,.38); line-height: 1.85; margin-top: 20px;
}
.social-row { display: flex; gap: 10px; margin-top: 28px; }
.soc-btn {
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.1); display: grid; place-items: center;
  transition: var(--transition);
}
.soc-btn:hover { background: var(--accent); border-color: var(--accent); }
.soc-btn svg {
  width: 17px; height: 17px; stroke: rgba(255,255,255,.5);
  fill: none; stroke-width: 1.8; transition: var(--transition);
}
.soc-btn:hover svg { stroke: var(--ink-900); }

.footer-logo-wrap { display: flex; align-items: center; gap: 12px; }
.footer-logo-icon {
  width: 44px; height: 44px; background: rgba(255,255,255,.08);
  border-radius: 11px; display: grid; place-items: center;
}
.footer-logo-icon svg {
  width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.6;
}
.footer-logo-name {
  font-family: var(--font-display); font-weight: 900;
  font-size: 1.4rem; color: var(--white);
}
.footer-logo-sub {
  display: block; font-size: .62rem; color: rgba(255,255,255,.35);
  letter-spacing: .1em; line-height: 1; margin-top: 2px;
}

.footer-col h4 {
  font-size: .78rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--white); margin-bottom: 22px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: .88rem; color: rgba(255,255,255,.42); transition: var(--transition);
  display: flex; align-items: center; gap: 8px;
}
.footer-col ul li a::before {
  content: ''; width: 14px; height: 1px;
  background: var(--ink-600); flex-shrink: 0; transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--accent); padding-right: 4px; }
.footer-col ul li a:hover::before { background: var(--accent); width: 20px; }

.footer-contact-item {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .86rem; color: rgba(255,255,255,.42); margin-bottom: 14px; line-height: 1.6;
}
.footer-contact-item svg {
  width: 16px; height: 16px; stroke: var(--accent);
  fill: none; stroke-width: 1.8; flex-shrink: 0; margin-top: 2px;
}
.footer-contact-item a {
  color: rgba(255,255,255,.42); transition: var(--transition);
}
.footer-contact-item a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 28px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.3); }
.footer-bottom-links { display: flex; gap: 28px; }
.footer-bottom-links a {
  font-size: .8rem; color: rgba(255,255,255,.3); transition: var(--transition);
}
.footer-bottom-links a:hover { color: var(--accent); }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .listings-layout  { grid-template-columns: 1fr; }
  .sidebar          { position: static; display: none; }
  .listings-grid    { grid-template-columns: repeat(2, 1fr); }
  .prop-card.featured-card { grid-column: span 2; }
  .footer-grid      { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  .main-nav  { display: none; }
  .burger    { display: flex; }
  .search-bar {
    grid-template-columns: 1fr 1fr;
  }
  .search-field:nth-child(3) { border-top: 1px solid var(--ink-100); }
  .search-btn-wrap { grid-column: span 2; }
}
@media (max-width: 640px) {
  .listings-grid           { grid-template-columns: 1fr; }
  .prop-card.featured-card { grid-column: span 1; }
  .search-bar              { grid-template-columns: 1fr; }
  .search-field            { border-left: none; border-top: 1px solid var(--ink-100); }
  .search-field:first-child { border-top: none; }
  .search-btn-wrap         { grid-column: span 1; }
  .footer-grid             { grid-template-columns: 1fr; }
  .footer-bottom           { flex-direction: column; text-align: center; }
  .footer-bottom-links     { justify-content: center; }
  .filter-row-inner        { flex-direction: column; align-items: flex-start; }
  .listings-grid.list-view .prop-card { grid-template-columns: 1fr; }
  .listings-grid.list-view .prop-img  {
    height: 200px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
}
