/* ============================================================
   Acreside Marketplace — Design tokens
   ============================================================ */
:root{
  --teal:        #156b7e;
  --teal-deep:   #0d2e35;
  --green-teal:  #16917c;
  --gold:        #d9a538;
  --bg:          #f7f5f0;
  --white:       #ffffff;
  --ink:         #16302f;
  --ink-soft:    #4d6461;
  --line:        rgba(13,46,53,0.12);

  --font-display: 'Jost', 'Century Gothic', 'Futura', sans-serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --whatsapp-green: #25D366;
  --whatsapp-dark: #075E54;
  --facebook-blue: #1877F2;
  --price-red: #c0392b;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --shadow-card: 0 1px 2px rgba(13,46,53,0.06), 0 12px 28px -14px rgba(13,46,53,0.28);
  --shadow-pop: 0 20px 60px -20px rgba(13,46,53,0.45);
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
}

.hero-slide img{
  width:100%;
  height:100%;
  object-fit: cover;
  transform: scale(1);
}
.hero-slide.active img{
  animation: heroZoom 9s ease-in-out infinite alternate;
}
@keyframes heroZoom{
  from{ transform: scale(1); }
  to{ transform: scale(1.14); }
}
@media (prefers-reduced-motion: reduce){
  .hero-slide.active img{ animation: none; }
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *,*::before,*::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body{
  margin:0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.logo-img {
  border-radius: 50%;
  border: 3px solid #d9a538; /* Change border color and thickness */
  object-fit: cover;
  width: 60px; /* Slightly bigger */
  height: 60px;
  display: block;
  padding: 2px; /* Optional: adds space inside border */
  background-color: white; /* Optional: adds background inside border */
}



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

.skip-link{
  position:absolute; left:-999px; top:auto;
  background: var(--teal); color:#fff; padding: 0.75rem 1.25rem; border-radius: var(--radius-s);
  z-index: 1000;
}
.skip-link:focus{ left: 1rem; top: 1rem; }

:focus-visible{ outline: 2.5px solid var(--gold); outline-offset: 2px; }

/* ============================================================
   Preloader
   ============================================================ */
#preloader{
  position: fixed; inset:0; z-index: 9999;
  background: var(--teal-deep);
  display:flex; align-items:center; justify-content:center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.hide{ opacity:0; visibility:hidden; pointer-events:none; }
.preloader-inner{ display:flex; flex-direction:column; align-items:center; gap: 0.9rem; }
.preloader-ring{ width: 96px; height: 96px; transform: rotate(-90deg); }
.preloader-track{ fill:none; stroke: rgba(247,245,240,0.15); stroke-width: 6; }
.preloader-bar{
  fill:none; stroke: var(--gold); stroke-width: 6; stroke-linecap: round;
  stroke-dasharray: 276.5;
  stroke-dashoffset: 276.5;
  transition: stroke-dashoffset 0.15s ease-out;
}
.preloader-pct{
  position:absolute;
  font-family: var(--font-mono); color: var(--white); font-size: 0.95rem;
  transform: translateY(-58px);
}
.preloader-label{ font-family: var(--font-display); color: var(--bg); font-size: 0.95rem; letter-spacing: 0.03em; margin-top: 2rem; }

/* ============================================================
   Header
   ============================================================ */
.site-header{
  position: sticky; top:0; z-index: 500;
  background: var(--teal-deep);
  border-bottom: 1px solid rgba(217,165,56,0.25);
}
.header-inner{
  max-width: 1180px; margin:0 auto; padding: 0.85rem 1.25rem;
  display:flex; align-items:center; justify-content:space-between; gap: 1rem;
}
.wordmark{ display:flex; align-items:center; gap: 0.55rem; }
.logo-mark{ flex-shrink:0; width: 40px; height: 40px; border-radius: 8px; overflow:hidden; display:flex; align-items:center; justify-content:center; }
.logo-img{ width:100%; height:100%; object-fit: contain; }
.wordmark-text{ display:flex; align-items:baseline; gap: 0.32rem; white-space:nowrap; }
.wordmark-main{ font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; color: var(--white); letter-spacing: 0.01em; }
.wordmark-sub{ font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; color: var(--gold); letter-spacing: 0.01em; }
.header-nav{ display:flex; align-items:center; gap: 1.1rem; }
.icon-btn{
  display:flex; align-items:center; justify-content:center;
  width: 32px; height: 32px; border-radius: 50%; background: rgba(247,245,240,0.1);
  transition: background 0.2s, transform 0.2s;
}
.icon-btn:hover{ background: var(--gold); transform: scale(1.08); }
.icon-btn:hover svg path{ fill: var(--teal-deep); }
.header-whatsapp{
  display:flex; align-items:center; justify-content:center;
  width: 32px; height: 32px; border-radius: 50%; opacity:1 !important;
  transition: transform 0.2s;
}
.header-whatsapp:hover{ transform: scale(1.1); }

/* ============================================================
   Hero carousel
   ============================================================ */
.hero{
  position:relative; height: min(78vh, 620px); min-height: 420px;
  overflow:hidden; background: var(--teal-deep);
}
.hero-track{ position:absolute; inset:0; }
.hero-slide{
  position:absolute; inset:0; opacity:0; transition: opacity 1s ease;
}
.hero-slide.active{ opacity:1; }
.hero-slide img{ width:100%; height:100%; object-fit: cover; }
.hero-overlay{
  position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(13,46,53,0.92) 0%, rgba(13,46,53,0.35) 48%, rgba(13,46,53,0.15) 100%);
}
.hero-content{
  position:relative; z-index:2; height:100%;
  display:flex; flex-direction:column; justify-content:flex-end;
  max-width: 1180px; margin: 0 auto; padding: 0 1.25rem 3.4rem;
}
.hero-panel{ display:none; max-width: 640px; }
.hero-panel.active{ display:block; animation: rise 0.7s ease; }
@keyframes rise{ from{ opacity:0; transform: translateY(14px);} to{ opacity:1; transform: translateY(0);} }
.hero-eyebrow{
  font-family: var(--font-mono); color: var(--gold); font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 0.6rem;
}
.hero-title{
  font-family: var(--font-display); color: var(--white); font-weight: 600;
  font-size: clamp(1.8rem, 4.4vw, 3.1rem); line-height: 1.06; margin: 0 0 0.7rem;
}
.hero-desc{ color: rgba(247,245,240,0.86); font-size: 1rem; max-width: 46ch; margin: 0 0 1.1rem; }
.hero-meta{ display:flex; gap: 1.5rem; flex-wrap:wrap; }
.hero-meta span{ font-family: var(--font-mono); color: var(--bg); font-size: 0.85rem; }
.hero-meta b{ color: var(--price-red); background: rgba(255,255,255,0.92); padding: 0.05rem 0.4rem; border-radius: 4px; }
.hero-arrow{
  position:absolute; z-index:3; top:50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(247,245,240,0.35);
  background: rgba(13,46,53,0.45); color: var(--white); backdrop-filter: blur(3px);
  display:flex; align-items:center; justify-content:center; cursor:pointer;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.hero-arrow:hover{ background: var(--gold); color: var(--teal-deep); border-color: var(--gold); }
.hero-arrow-prev{ left: 1.25rem; }
.hero-arrow-next{ right: 1.25rem; }
@media (max-width: 640px){
  .header-inner{ padding: 0.6rem 0.9rem; gap: 0.5rem; }
  .logo-mark{ width: 30px; height: 30px; }
  .wordmark-main, .wordmark-sub{ font-size: 0.98rem; }
  .header-nav{ gap: 0.3rem; justify-content: space-between; flex: 1 1 auto; }
  .icon-btn, .header-whatsapp{ width: 25px; height: 25px; }
  .icon-btn svg, .header-whatsapp svg{ width: 14px; height: 14px; }

  .hero{ height: min(58vh, 460px); min-height: 340px; }
  .hero-content{ padding: 0 1rem 1.6rem; }
  .hero-panel{ max-width: 100%; }
  .hero-eyebrow{ font-size: 0.68rem; margin-bottom: 0.4rem; }
  .hero-title{ font-size: clamp(1.4rem, 7vw, 1.9rem); line-height: 1.12; margin-bottom: 0.45rem; }
  .hero-desc{
    font-size: 0.86rem; max-width: 100%; margin-bottom: 0.75rem;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .hero-meta{ gap: 0.7rem; }
  .hero-meta span{ font-size: 0.74rem; }

  .hero-arrow{ width: 34px; height: 34px; top: 38%; }
  .hero-arrow-prev{ left: 0.6rem; }
  .hero-arrow-next{ right: 0.6rem; }
  .hero-arrow svg{ width: 16px; height: 16px; }

  .hero-dots{ right: 1rem; bottom: auto; top: 0.85rem; }
  .hero-dot{ width: 6px; height: 6px; }
}

.hero-dots{
  position:absolute; z-index:3; right: 1.25rem; bottom: 1.5rem;
  display:flex; gap: 0.5rem;
}
.hero-dot{
  width: 8px; height: 8px; border-radius: 50%; background: rgba(247,245,240,0.35);
  border: none; padding:0; cursor:pointer; transition: background 0.25s, transform 0.25s;
}
.hero-dot.active{ background: var(--gold); transform: scale(1.3); }

/* ============================================================
   Listings
   ============================================================ */
.listings-section{ max-width: 1180px; margin: 0 auto; padding: var(--space-5) 1.25rem; }
.section-head{ max-width: 640px; margin-bottom: var(--space-4); }
.eyebrow{
  font-family: var(--font-mono); color: var(--green-teal); font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 0.5rem;
}
.section-head h2{
  font-family: var(--font-display); font-weight: 600; color: var(--teal-deep);
  font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin: 0 0 0.6rem;
}
.section-sub{ color: var(--ink-soft); margin:0; }

.filter-bar{
  display:flex; align-items:flex-end; gap: 1.1rem; flex-wrap:wrap;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 1.1rem 1.3rem; margin-bottom: var(--space-4); box-shadow: var(--shadow-card);
}
.search-field{
  display:flex; align-items:center; gap: 0.5rem; flex: 1 1 220px; min-width: 180px;
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 999px;
  padding: 0.6rem 1rem; transition: border-color 0.2s;
}
.search-field:focus-within{ border-color: var(--teal); }
.search-icon{ color: var(--ink-soft); flex-shrink:0; }
.search-field input{
  border:none; background:transparent; outline:none; width:100%;
  font-family: var(--font-body); font-size: 0.9rem; color: var(--teal-deep);
}
.search-field input::placeholder{ color: var(--ink-soft); }
.filter-field{ display:flex; flex-direction: column; gap: 0.35rem; min-width: 180px; }
.filter-field label{
  font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--ink-soft);
}
.filter-field select{
  font-family: var(--font-body); font-size: 0.92rem; font-weight: 500; color: var(--teal-deep);
  padding: 0.6rem 2.2rem 0.6rem 0.8rem; border-radius: var(--radius-s); border: 1.5px solid var(--line);
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23156b7e' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 0.6rem center / 16px;
  appearance: none; cursor:pointer; transition: border-color 0.2s;
}
.filter-field select:hover, .filter-field select:focus-visible{ border-color: var(--teal); }
.filter-reset{
  border: 1.5px solid var(--line); background: transparent; color: var(--ink-soft);
  padding: 0.6rem 1.1rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  cursor:pointer; transition: border-color 0.2s, color 0.2s;
}
.filter-reset:hover{ border-color: var(--teal); color: var(--teal); }
.filter-count{
  margin: 0 0 0 auto; font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-soft);
}
.no-results{
  text-align:center; color: var(--ink-soft); padding: 3rem 1rem; font-size: 0.95rem;
}

.listings-grid{
  display:grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.6rem;
}

.plot-card{
  position:relative; background: var(--white); border-radius: var(--radius-m);
  box-shadow: var(--shadow-card); overflow:hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.plot-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 1px 2px rgba(13,46,53,0.08), 0 22px 40px -16px rgba(13,46,53,0.32);
}

/* signature: surveyor corner-bracket frame on the thumbnail */
.plot-thumb{ position:relative; aspect-ratio: 4/3; background: var(--teal); overflow:hidden; }
.plot-thumb img{ width:100%; height:100%; object-fit:cover; transition: transform 0.5s ease; }
.plot-card:hover .plot-thumb img{ transform: scale(1.06); }
.plot-thumb .corner{
  position:absolute; width: 22px; height: 22px; border: 2px solid var(--gold);
  opacity: 0.9; z-index:2;
}
.plot-thumb .corner.tl{ top:10px; left:10px; border-right:none; border-bottom:none; }
.plot-thumb .corner.tr{ top:10px; right:10px; border-left:none; border-bottom:none; }
.plot-thumb .corner.bl{ bottom:10px; left:10px; border-right:none; border-top:none; }
.plot-thumb .corner.br{ bottom:10px; right:10px; border-left:none; border-top:none; }

.thumb-fallback{
  width:100%; height:100%; display:flex; align-items:center; justify-content:center;
  background: linear-gradient(145deg, var(--teal), var(--green-teal));
}
.thumb-fallback span{
  font-family: var(--font-display); font-size: 3.4rem; font-weight: 600; color: var(--gold);
}

.status-badge{
  position:absolute; top: 10px; left: 50%; transform: translateX(-50%);
  z-index:3; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 0.3rem 0.65rem; border-radius: 999px;
  background: var(--green-teal); color: var(--white);
}
.status-badge.taken{ background: var(--ink-soft); }

.plot-body{ padding: 1.1rem 1.2rem 1.3rem; }
.plot-price{ font-family: var(--font-mono); color: var(--price-red); font-weight: 600; font-size: 1.05rem; margin: 0 0 0.15rem; }
.plot-size{ font-family: var(--font-mono); color: var(--ink-soft); font-size: 0.8rem; margin: 0 0 0.6rem; }
.plot-title{ font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--teal-deep); margin: 0 0 0.3rem; }
.plot-location{ display:flex; align-items:center; gap: 0.35rem; color: var(--ink-soft); font-size: 0.86rem; margin: 0 0 0.9rem; }

.btn-view-details{
  display:inline-flex; align-items:center; gap: 0.4rem;
  background: transparent; border: 1.5px solid var(--teal); color: var(--teal);
  font-family: var(--font-body); font-weight: 600; font-size: 0.86rem;
  padding: 0.55rem 1rem; border-radius: 999px; cursor:pointer; width:100%; justify-content:center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn-view-details:hover{ background: var(--teal); color: var(--white); }
.btn-view-details svg{ transition: transform 0.2s; }
.btn-view-details:hover svg{ transform: translateX(2px); }

/* ============================================================
   Modal
   ============================================================ */
.modal-backdrop{
  position: fixed; inset:0; z-index: 2000;
  background: rgba(13,46,53,0.6); backdrop-filter: blur(2px);
  display:flex; align-items:center; justify-content:center; padding: 1.25rem;
}
.modal-backdrop[hidden]{ display:none; }
.modal{
  background: var(--white); border-radius: var(--radius-l); max-width: 760px; width:100%;
  max-height: 88vh; overflow-y:auto; position:relative; box-shadow: var(--shadow-pop);
  animation: pop 0.3s ease;
}
@keyframes pop{ from{ opacity:0; transform: scale(0.96) translateY(8px);} to{ opacity:1; transform: scale(1) translateY(0);} }
.modal-close{
  position:absolute; top: 0.9rem; right: 0.9rem; z-index:5;
  width: 38px; height: 38px; border-radius: 50%; border:none;
  background: rgba(13,46,53,0.65); color: var(--white); display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition: background 0.2s;
}
.modal-close:hover{ background: var(--teal-deep); }

.modal-gallery{ position:relative; aspect-ratio: 16/9; background: var(--teal); }
.modal-gallery img{ width:100%; height:100%; object-fit:cover; }
.modal-thumbs{ display:flex; gap: 0.5rem; padding: 0.75rem; overflow-x:auto; }
.modal-thumbs button{
  border: 2px solid transparent; border-radius: var(--radius-s); overflow:hidden; padding:0;
  width: 62px; height: 46px; flex-shrink:0; cursor:pointer;
}
.modal-thumbs button.active{ border-color: var(--gold); }
.modal-thumbs img{ width:100%; height:100%; object-fit:cover; }

.modal-content{ padding: 0.5rem 1.6rem 1.8rem; }
.modal-content .status-badge{ position:static; transform:none; display:inline-block; margin-bottom: 0.7rem; }
.modal-content h2{ font-family: var(--font-display); color: var(--teal-deep); font-size: 1.6rem; margin: 0 0 0.3rem; }
.modal-price{ font-family: var(--font-mono); color: var(--price-red); font-size: 1.3rem; font-weight: 700; margin: 0 0 1rem; }
.modal-grid{
  display:grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr));
  gap: 0.9rem; background: var(--bg); border-radius: var(--radius-m); padding: 1rem; margin-bottom: 1.1rem;
}
.modal-grid dt{ font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-soft); margin: 0 0 0.15rem; }
.modal-grid dd{ margin:0; font-weight: 600; color: var(--teal-deep); font-size: 0.95rem; }
.modal-desc{ color: var(--ink-soft); line-height: 1.65; margin-bottom: 1.4rem; }
.modal-actions{ display:flex; gap: 0.75rem; flex-wrap:wrap; }
.btn{
  display:inline-flex; align-items:center; gap: 0.5rem; padding: 0.75rem 1.3rem;
  border-radius: 999px; font-weight: 600; font-size: 0.92rem; cursor:pointer; border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--gold); color: var(--teal-deep); }
.btn-primary:hover{ box-shadow: 0 10px 22px -8px rgba(217,165,56,0.6); }
.btn-outline{ background: transparent; color: var(--teal); border: 1.5px solid var(--teal); }
.btn-outline:hover{ background: var(--teal); color: var(--white); }

.btn-whatsapp{ background: var(--whatsapp-green); color: var(--white); }
.btn-whatsapp:hover{ background: var(--whatsapp-dark); box-shadow: 0 10px 22px -8px rgba(37,211,102,0.55); }
.btn-facebook{ background: var(--facebook-blue); color: var(--white); }
.btn-facebook:hover{ background: #145dc0; box-shadow: 0 10px 22px -8px rgba(24,119,242,0.5); }
.btn svg{ flex-shrink:0; }

/* ============================================================
   Global click-loading veil
   ============================================================ */
.load-veil{
  position: fixed; inset:0; z-index: 3000;
  background: rgba(13,46,53,0.55); backdrop-filter: blur(1.5px);
  display:flex; align-items:center; justify-content:center;
}
.load-veil[hidden]{ display:none; }
.dots{ display:flex; gap: 0.5rem; }
.dots span{
  width: 12px; height: 12px; border-radius: 50%; background: var(--gold);
  animation: bounce 0.9s infinite ease-in-out both;
}
.dots span:nth-child(1){ animation-delay: -0.24s; }
.dots span:nth-child(2){ animation-delay: -0.12s; }
@keyframes bounce{
  0%, 80%, 100%{ transform: scale(0.4); opacity: 0.5; }
  40%{ transform: scale(1); opacity: 1; }
}

/* ============================================================
   WhatsApp FAB
   ============================================================ */
.whatsapp-fab{
  position: fixed; left: 1.1rem; bottom: 1.1rem; z-index: 800;
  width: 56px; height: 56px; border-radius: 50%;
  background: #16917c; display:flex; align-items:center; justify-content:center;
  box-shadow: 0 10px 26px -8px rgba(22,145,124,0.6);
  transition: transform 0.2s;
}
.whatsapp-fab:hover{ transform: scale(1.08); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer{ background: var(--teal-deep); color: var(--bg); margin-top: var(--space-5); }
.footer-inner{
  max-width: 1180px; margin:0 auto; padding: var(--space-4) 1.25rem 1.5rem;
  display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem;
}
.footer-brand p{ color: rgba(247,245,240,0.7); font-size: 0.9rem; margin-top: 0.5rem; max-width: 34ch; }
.site-footer h3{ font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin: 0 0 0.7rem; }
.footer-phone{ display:flex; align-items:center; gap: 0.5rem; color: var(--bg); font-weight: 500; }
.footer-phone:hover{ color: var(--gold); }
.footer-whatsapp-btn{
  display:inline-flex; align-items:center; gap: 0.5rem; margin-top: 0.8rem;
  background: var(--whatsapp-green); color: var(--white); font-weight: 600; font-size: 0.85rem;
  padding: 0.55rem 1rem; border-radius: 999px; transition: background 0.2s, transform 0.2s;
}
.footer-whatsapp-btn:hover{ background: var(--whatsapp-dark); transform: translateY(-2px); }
.social-row{ display:flex; gap: 0.7rem; }
.social-row a{
  width: 38px; height: 38px; border-radius: 50%; background: rgba(247,245,240,0.08);
  display:flex; align-items:center; justify-content:center; transition: background 0.2s, color 0.2s;
}
.social-row a:hover{ background: var(--gold); color: var(--teal-deep); }
.footer-legal{
  text-align:center; font-size: 0.78rem; color: rgba(247,245,240,0.55);
  padding: 1rem 1.25rem 1.6rem; margin:0; border-top: 1px solid rgba(247,245,240,0.1);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (min-width: 641px) and (max-width: 860px){
  .hero{ height: min(64vh, 520px); }
}
@media (max-width: 860px){
  .footer-inner{ grid-template-columns: 1fr 1fr; }
  .footer-brand{ grid-column: 1 / -1; }
}
@media (max-width: 640px){
  .footer-inner{ grid-template-columns: 1fr; }
  .whatsapp-fab{ width: 50px; height: 50px; left: 0.85rem; bottom: 0.85rem; }
  .modal{ max-height: 92vh; border-radius: var(--radius-m); }
  .listings-section{ padding: var(--space-4) 1rem; }
  .search-field{ flex-basis: 100%; order: -1; }
  .filter-field{ min-width: 140px; flex: 1 1 140px; }
  .filter-count{ margin-left: 0; flex-basis: 100%; text-align: left; }
}
@media (max-width: 380px){
  .header-inner{ padding: 0.55rem 0.6rem; gap: 0.4rem; }
  .header-nav{ gap: 0.2rem; }
  .wordmark-main, .wordmark-sub{ font-size: 0.86rem; }
  .logo-mark{ width: 26px; height: 26px; }
  .icon-btn, .header-whatsapp{ width: 23px; height: 23px; }
  .icon-btn svg, .header-whatsapp svg{ width: 13px; height: 13px; }
}