/* =========================================================
   ESTATE & CO — Design Tokens
   Palette: Ink Navy / Warm Brass / Ivory / Sage / Rust
   Type: Fraunces (display) + Manrope (body) + IBM Plex Mono (data)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300..700&family=Manrope:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root{
  --ink:        #10181F;
  --ink-soft:   #1B2732;
  --ivory:      #F6F2E9;
  --ivory-dim:  #EDE7D9;
  --brass:      #B8874A;
  --brass-dim:  #8F6A38;
  --sage:       #5C7A6A;
  --rust:       #B8492E;
  --slate:      #5B6672;
  --line:       rgba(16,24,31,0.10);
  --line-light: rgba(246,242,233,0.16);

  --font-display: 'Fraunces', serif;
  --font-body: 'Manrope', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;

  --shadow-soft: 0 10px 30px -12px rgba(16,24,31,0.25);
  --shadow-lift: 0 24px 48px -16px rgba(16,24,31,0.35);

  --container: 1240px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--ivory);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:600;
  line-height:1.1;
  margin:0 0 .4em;
  letter-spacing:-0.01em;
}
p{ margin:0 0 1em; color:var(--slate); }
.container{ max-width:var(--container); margin:0 auto; padding:0 28px; }
.mono{ font-family:var(--font-mono); }

/* -------- Buttons -------- */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:13px 26px; border-radius:999px; border:1px solid transparent;
  font-weight:600; font-size:14.5px; letter-spacing:.01em;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space:nowrap;
}
.btn-primary{ background:var(--ink); color:var(--ivory); }
.btn-primary:hover{ background:var(--brass); color:var(--ink); transform:translateY(-2px); box-shadow:var(--shadow-soft); }
.btn-brass{ background:var(--brass); color:var(--ink); }
.btn-brass:hover{ transform:translateY(-2px); box-shadow:var(--shadow-soft); }
.btn-outline{ border-color:var(--ink); color:var(--ink); background:transparent; }
.btn-outline:hover{ background:var(--ink); color:var(--ivory); }
.btn-outline-light{ border-color:var(--line-light); color:var(--ivory); background:transparent; }
.btn-outline-light:hover{ background:var(--ivory); color:var(--ink); }
.btn-whatsapp{ background:#25D366; color:#fff; }
.btn-whatsapp:hover{ transform:translateY(-2px); box-shadow:var(--shadow-soft); }
.btn-call{ background:var(--sage); color:#fff; }
.btn-call:hover{ transform:translateY(-2px); box-shadow:var(--shadow-soft); }
.btn-block{ width:100%; justify-content:center; }
.btn-sm{ padding:8px 16px; font-size:13px; }

/* -------- Nav -------- */
.nav{
  position:sticky; top:0; z-index:200;
  background:rgba(246,242,233,0.86); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
  transition:background .3s ease;
}
.nav-inner{ display:flex; align-items:center; justify-content:space-between; padding:16px 28px; max-width:var(--container); margin:0 auto; }
.brand{ display:flex; align-items:center; gap:10px; font-family:var(--font-display); font-size:22px; font-weight:600; }
.brand-mark{ width:34px; height:34px; border-radius:8px; background:var(--ink); color:var(--brass); display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-size:17px; }
.nav-links{ display:flex; align-items:center; gap:32px; list-style:none; margin:0; padding:0; font-weight:600; font-size:14.5px; }
.nav-links a{ position:relative; padding:4px 0; }
.nav-links a::after{ content:""; position:absolute; left:0; bottom:-2px; height:2px; width:0; background:var(--brass); transition:width .25s ease; }
.nav-links a:hover::after, .nav-links a.active::after{ width:100%; }
.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-toggle{ display:none; background:none; border:none; font-size:26px; }

@media (max-width:900px){
  .nav-links{
    position:fixed; top:0; right:0; bottom:0; left:auto;
    width:78%; max-width:340px; height:100vh; height:100dvh;
    background:var(--ink); color:var(--ivory);
    flex-direction:column; align-items:flex-start; justify-content:flex-start;
    padding:100px 30px; gap:26px;
    transform:translateX(100%); transition:transform .35s ease;
    z-index:250; overflow-y:auto; box-sizing:border-box;
  }
  .nav-links.open{ transform:translateX(0); }
  .nav-toggle{ display:block; position:relative; z-index:260; }
  .nav-overlay{
    display:none; position:fixed; top:0; right:0; bottom:0; left:0;
    background:rgba(16,24,31,.5); z-index:240; opacity:0; transition:opacity .3s ease;
  }
  .nav-overlay.open{ display:block; opacity:1; }
  body.nav-lock{ overflow:hidden; }
  .nav-cta .btn-outline{ display:none; }
}

/* -------- Hero -------- */
.hero{
  position:relative; min-height:88vh; display:flex; align-items:flex-end;
  color:var(--ivory); overflow:hidden; padding-bottom:64px;
}
.hero-slides{ position:absolute; inset:0; }
.hero-slide{ position:absolute; inset:0; background-size:cover; background-position:center; opacity:0; transition:opacity 1.4s ease; }
.hero-slide.active{ opacity:1; }
.hero-slide::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(16,24,31,.35) 0%, rgba(16,24,31,.55) 55%, rgba(16,24,31,.92) 100%); }
.hero-content{ position:relative; z-index:2; max-width:var(--container); margin:0 auto; padding:0 28px; width:100%; }
.eyebrow{ font-family:var(--font-mono); text-transform:uppercase; letter-spacing:.18em; font-size:12.5px; color:var(--brass); margin-bottom:18px; display:flex; align-items:center; gap:10px; }
.eyebrow::before{ content:""; width:26px; height:1px; background:var(--brass); }
.hero h1{ font-size:clamp(38px,6vw,72px); max-width:820px; color:var(--ivory); }
.hero h1 em{ font-style:italic; color:var(--brass); }
.hero-sub{ max-width:520px; color:rgba(246,242,233,.78); font-size:17px; }

/* -------- Search bar -------- */
.search-panel{
  position:relative; z-index:3; background:var(--ivory); border-radius:var(--radius-lg);
  padding:22px; margin-top:34px; box-shadow:var(--shadow-lift);
  display:grid; grid-template-columns:repeat(4,1fr) auto; gap:14px; align-items:end;
}
.field{ display:flex; flex-direction:column; gap:6px; }
.field label{ font-size:11.5px; text-transform:uppercase; letter-spacing:.08em; font-weight:700; color:var(--slate); }
.field select, .field input{
  border:1px solid var(--line); border-radius:var(--radius-sm); padding:11px 12px;
  font-family:var(--font-body); font-size:14px; background:#fff; color:var(--ink);
}
.field select:focus, .field input:focus{ outline:2px solid var(--brass); outline-offset:1px; }
@media (max-width:900px){ .search-panel{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .search-panel{ grid-template-columns:1fr; } .hero{ padding-bottom:40px; } }

/* -------- Section -------- */
.section{ padding:96px 0; }
.section-tight{ padding:56px 0; }
.section-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:44px; flex-wrap:wrap; }
.section-head h2{ font-size:clamp(28px,3.4vw,42px); margin:0; }
.section-head p{ margin:10px 0 0; max-width:480px; }
.section-dark{ background:var(--ink); color:var(--ivory); }
.section-dark p{ color:rgba(246,242,233,.7); }
.section-dark h2, .section-dark h3, .section-dark h4{ color:var(--ivory); }

/* -------- Property grid / cards -------- */
.grid-properties{ display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:28px; }
.property-card{
  background:#fff; border-radius:var(--radius-lg); overflow:hidden; border:1px solid var(--line);
  transition:transform .35s ease, box-shadow .35s ease; position:relative;
}
.property-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lift); }
.card-media{ position:relative; height:230px; overflow:hidden; background:var(--ivory-dim); }
.card-media img{ width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.property-card:hover .card-media img{ transform:scale(1.08); }
.badge{ position:absolute; top:14px; left:14px; padding:5px 12px; border-radius:999px; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; }
.badge-featured{ background:var(--brass); color:var(--ink); }
.badge-status{ position:absolute; top:14px; right:14px; padding:5px 12px; border-radius:999px; font-size:11px; font-weight:700; text-transform:uppercase; }
.badge-available{ background:var(--sage); color:#fff; }
.badge-sold{ background:var(--rust); color:#fff; }
.badge-rented{ background:var(--slate); color:#fff; }
.card-body{ padding:22px; }
.card-price{ font-family:var(--font-mono); color:var(--brass-dim); font-size:19px; font-weight:500; margin-bottom:4px; }
.card-title{ font-family:var(--font-display); font-size:20px; margin-bottom:6px; }
.card-loc{ font-size:13.5px; color:var(--slate); margin-bottom:14px; display:flex; align-items:center; gap:6px; }
.card-meta{ display:flex; gap:16px; font-size:13px; color:var(--slate); border-top:1px dashed var(--line); padding-top:14px; margin-bottom:16px; }
.card-meta span{ display:flex; align-items:center; gap:5px; }
.card-foot{ display:flex; gap:10px; }
.skeleton{ background:linear-gradient(90deg,#eee2 25%,#fff5 37%,#eee2 63%); background-size:400% 100%; animation:sk 1.3s ease infinite; border-radius:var(--radius-lg); height:380px; }
@keyframes sk{ 0%{background-position:100% 50%} 100%{background-position:0 50%} }

/* -------- Filters bar -------- */
.filter-bar{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:22px; margin-bottom:36px; display:grid; grid-template-columns:repeat(6,1fr); gap:14px; }
@media (max-width:1000px){ .filter-bar{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:600px){ .filter-bar{ grid-template-columns:1fr 1fr; } }
.chip-row{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:28px; }
.chip{ padding:9px 18px; border-radius:999px; border:1px solid var(--line); font-size:13.5px; font-weight:600; background:#fff; transition:.2s; }
.chip.active, .chip:hover{ background:var(--ink); color:var(--ivory); border-color:var(--ink); }

/* -------- Why choose / stats -------- */
.feature-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:26px; }
@media (max-width:900px){ .feature-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .feature-grid{ grid-template-columns:1fr; } }
.feature-card{ padding:30px 26px; border-radius:var(--radius-lg); border:1px solid var(--line-light); }
.feature-card .num{ font-family:var(--font-mono); color:var(--brass); font-size:13px; margin-bottom:14px; }
.feature-card h4{ font-size:19px; margin-bottom:8px; }
.feature-card p{ font-size:14px; margin:0; }

/* -------- Testimonials -------- */
.testimonial-track{ display:flex; gap:24px; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:10px; }
.testimonial-card{ min-width:340px; scroll-snap-align:start; background:#fff; border-radius:var(--radius-lg); padding:28px; border:1px solid var(--line); }
.stars{ color:var(--brass); letter-spacing:2px; margin-bottom:12px; }
.t-person{ display:flex; align-items:center; gap:12px; margin-top:16px; }
.t-person img{ width:44px; height:44px; border-radius:50%; object-fit:cover; }
.t-person strong{ display:block; font-size:14px; }
.t-person span{ font-size:12px; color:var(--slate); }

/* -------- Footer -------- */
.footer{ background:var(--ink); color:var(--ivory); padding:70px 0 30px; }
.footer-grid{ display:grid; grid-template-columns:2fr 1fr 1fr 1.3fr; gap:40px; margin-bottom:50px; }
@media (max-width:800px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
.footer h5{ font-size:13px; text-transform:uppercase; letter-spacing:.08em; color:var(--brass); margin-bottom:16px; }
.footer ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; font-size:14px; color:rgba(246,242,233,.75); }
.footer-bottom{ border-top:1px solid var(--line-light); padding-top:24px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:13px; color:rgba(246,242,233,.55); }
.social-row{ display:flex; gap:12px; margin-top:16px; }
.social-row a{ width:36px; height:36px; border-radius:50%; border:1px solid var(--line-light); display:flex; align-items:center; justify-content:center; transition:.2s; }
.social-row a:hover{ background:var(--brass); color:var(--ink); border-color:var(--brass); }

/* -------- Admin login rectangle (footer, icon-only) -------- */
.admin-dot{ display:inline-block; width:22px; height:12px; border-radius:3px; background:#2FB86E; opacity:.55; transition:opacity .2s ease, transform .2s ease; }
.admin-dot:hover{ opacity:1; transform:scale(1.08); }

/* -------- Scroll to top -------- */
.scroll-top{ position:fixed; bottom:26px; right:26px; width:48px; height:48px; border-radius:50%; background:var(--ink); color:var(--brass); display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-soft); opacity:0; pointer-events:none; transition:.3s; z-index:150; border:none; font-size:18px; }
.scroll-top.show{ opacity:1; pointer-events:auto; }

/* -------- Floating action (WhatsApp) -------- */
.fab-whatsapp{ position:fixed; bottom:26px; left:26px; width:56px; height:56px; border-radius:50%; background:#25D366; color:#fff; display:flex; align-items:center; justify-content:center; font-size:26px; box-shadow:var(--shadow-lift); z-index:150; }

/* -------- Property detail -------- */
.detail-gallery{ display:grid; grid-template-columns:2fr 1fr; gap:10px; border-radius:var(--radius-lg); overflow:hidden; height:480px; }
.detail-gallery .g-main{ height:100%; overflow:hidden; cursor:zoom-in; }
.detail-gallery .g-side{ display:grid; grid-template-rows:1fr 1fr 1fr; gap:10px; height:100%; }
.detail-gallery img{ width:100%; height:100%; object-fit:cover; transition:transform .4s ease; cursor:zoom-in; }
.detail-gallery .g-side > div{ overflow:hidden; position:relative; }
.detail-gallery .g-side > div:hover img, .g-main:hover img{ transform:scale(1.06); }
.more-overlay{ position:absolute; inset:0; background:rgba(16,24,31,.62); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:15px; }
@media (max-width:800px){ .detail-gallery{ grid-template-columns:1fr; height:auto; } .detail-gallery .g-side{ grid-template-columns:repeat(3,1fr); grid-template-rows:none; height:110px; } }

.lightbox{ position:fixed; inset:0; background:rgba(16,24,31,.96); z-index:500; display:none; align-items:center; justify-content:center; flex-direction:column; }
.lightbox.open{ display:flex; }
.lightbox img{ max-width:88vw; max-height:78vh; object-fit:contain; transition:transform .25s ease; touch-action:pinch-zoom; }
.lightbox-controls{ position:absolute; top:20px; right:24px; display:flex; gap:10px; }
.lightbox-controls button{ width:42px; height:42px; border-radius:50%; border:1px solid var(--line-light); background:transparent; color:#fff; font-size:16px; }
.lightbox-nav{ position:absolute; top:50%; transform:translateY(-50%); width:52px; height:52px; border-radius:50%; background:rgba(255,255,255,.1); border:1px solid var(--line-light); color:#fff; font-size:20px; }
.lightbox-nav.prev{ left:20px; } .lightbox-nav.next{ right:20px; }
.lightbox-count{ margin-top:14px; color:rgba(255,255,255,.6); font-family:var(--font-mono); font-size:13px; }

.detail-layout{ display:grid; grid-template-columns:1.7fr 1fr; gap:44px; margin-top:44px; align-items:start; }
@media (max-width:960px){ .detail-layout{ grid-template-columns:1fr; } }
.pid{ font-family:var(--font-mono); font-size:12.5px; color:var(--slate); letter-spacing:.05em; }
.price-tag{ font-family:var(--font-mono); font-size:32px; color:var(--brass-dim); margin:6px 0 18px; }
.spec-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin:26px 0; }
@media (max-width:560px){ .spec-grid{ grid-template-columns:1fr 1fr; } }
.spec-item{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); padding:16px; text-align:center; }
.spec-item .v{ font-family:var(--font-mono); font-size:18px; font-weight:600; }
.spec-item .l{ font-size:11.5px; color:var(--slate); text-transform:uppercase; letter-spacing:.05em; margin-top:4px; }
.amenity-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
@media (max-width:560px){ .amenity-grid{ grid-template-columns:1fr 1fr; } }
.amenity-item{ display:flex; align-items:center; gap:10px; font-size:14px; padding:10px 0; border-bottom:1px solid var(--line); }
.map-frame{ width:100%; height:340px; border-radius:var(--radius-lg); overflow:hidden; border:1px solid var(--line); }
.sidebar-card{ position:sticky; top:100px; background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:26px; box-shadow:var(--shadow-soft); }
.sidebar-card h4{ font-size:18px; margin-bottom:4px; }
.action-stack{ display:flex; flex-direction:column; gap:10px; margin-top:18px; }
.share-row{ display:flex; gap:10px; margin-top:16px; }
.share-row a{ width:38px; height:38px; border-radius:50%; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; font-size:14px; }
.share-row a:hover{ background:var(--ink); color:var(--ivory); }

/* -------- Modal (enquiry) -------- */
.modal-overlay{ position:fixed; inset:0; background:rgba(16,24,31,.6); backdrop-filter:blur(3px); z-index:400; display:none; align-items:center; justify-content:center; padding:20px; }
.modal-overlay.open{ display:flex; }
.modal-box{ background:var(--ivory); border-radius:var(--radius-lg); max-width:460px; width:100%; padding:32px; position:relative; box-shadow:var(--shadow-lift); max-height:90vh; overflow-y:auto; }
.modal-close{ position:absolute; top:18px; right:18px; background:none; border:none; font-size:20px; }
.form-group{ margin-bottom:16px; display:flex; flex-direction:column; gap:6px; }
.form-group label{ font-size:12.5px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color:var(--slate); }
.form-group input, .form-group textarea, .form-group select{
  border:1px solid var(--line); border-radius:var(--radius-sm); padding:12px 14px; font-family:var(--font-body); font-size:14.5px; background:#fff;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus{ outline:2px solid var(--brass); outline-offset:1px; }
.form-note{ font-size:12.5px; color:var(--slate); margin-top:8px; }
.toast{ position:fixed; bottom:26px; left:50%; transform:translateX(-50%) translateY(20px); background:var(--ink); color:var(--ivory); padding:14px 24px; border-radius:999px; font-size:14px; font-weight:600; z-index:600; opacity:0; pointer-events:none; transition:.3s; display:flex; align-items:center; gap:10px; }
.toast.show{ opacity:1; transform:translateX(-50%) translateY(0); }

/* -------- Page header (listing/contact) -------- */
.page-header{ background:var(--ink); color:var(--ivory); padding:120px 0 60px; }
.page-header .eyebrow{ color:var(--brass); }
.page-header h1{ color:var(--ivory); font-size:clamp(32px,4.5vw,50px); }
.breadcrumb{ font-size:13px; color:rgba(246,242,233,.6); margin-top:10px; }
.breadcrumb a{ color:var(--brass); }

/* -------- Loader -------- */
.page-loader{ position:fixed; inset:0; background:var(--ivory); z-index:9999; display:flex; align-items:center; justify-content:center; transition:opacity .5s ease, visibility .5s ease; }
.page-loader.hide{ opacity:0; visibility:hidden; }
.loader-mark{ font-family:var(--font-display); font-size:20px; color:var(--ink); display:flex; flex-direction:column; align-items:center; gap:14px; }
.loader-bar{ width:120px; height:2px; background:var(--line); overflow:hidden; }
.loader-bar::after{ content:""; display:block; width:40%; height:100%; background:var(--brass); animation:loadbar 1.1s ease-in-out infinite; }
@keyframes loadbar{ 0%{transform:translateX(-100%)} 100%{transform:translateX(350%)} }

/* -------- Utility / AOS-lite (used if AOS CDN unavailable) -------- */
[data-reveal]{ opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
[data-reveal].in{ opacity:1; transform:translateY(0); }

/* -------- Lazy-loaded images -------- */
img.lazy-img{ background:var(--ivory-dim); }
img.lazy-img:not(.lazy-loaded){ opacity:0; }
img.lazy-img.lazy-loaded{ opacity:1; transition:opacity .5s ease; }

/* -------- Load more -------- */
.load-more-wrap{ display:flex; justify-content:center; margin-top:36px; }

/* -------- FAQ accordion -------- */
.faq-list{ display:flex; flex-direction:column; gap:12px; max-width:760px; }
.faq-item{ border:1px solid var(--line); border-radius:var(--radius-md); background:#fff; overflow:hidden; }
.faq-question{ width:100%; display:flex; align-items:center; justify-content:space-between; gap:16px; text-align:left; background:none; border:none; padding:18px 22px; font-family:var(--font-body); font-weight:700; font-size:15px; color:var(--ink); }
.faq-icon{ font-family:var(--font-mono); font-size:18px; color:var(--brass); transition:transform .25s ease; flex-shrink:0; }
.faq-item.open .faq-icon{ transform:rotate(45deg); }
.faq-answer{ max-height:0; overflow:hidden; transition:max-height .3s ease; }
.faq-item.open .faq-answer{ max-height:300px; }
.faq-answer p{ margin:0; padding:0 22px 20px; font-size:14.5px; }

/* -------- Category top-level tabs (All / Rent / Buy) -------- */
.cat-tabs{ display:flex; gap:10px; margin-bottom:16px; }
.cat-tab{ padding:9px 20px; border-radius:999px; border:1px solid var(--line); background:#fff; font-weight:700; font-size:13.5px; }
.cat-tab.active{ background:var(--ink); color:var(--ivory); border-color:var(--ink); }

/* -------- Location map picker (admin) -------- */
.map-picker{ height:340px; border-radius:var(--radius-md); overflow:hidden; border:1px solid var(--line); }
.map-picker-note{ font-size:12.5px; color:var(--slate); margin-top:8px; }

/* -------- Empty / error states -------- */
.empty-state{ text-align:center; padding:80px 20px; color:var(--slate); }
.empty-state h3{ margin-bottom:8px; }

/* -------- Contact page grid -------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:50px; }
@media (max-width:800px){
  .contact-grid{ grid-template-columns:1fr; gap:36px; }
}

/* =========================================================
   PHONE-WIDTH FIXES (≤480px) — prevents horizontal overflow
   and tightens spacing so nothing feels cramped or clipped.
   ========================================================= */
@media (max-width:480px){
  .container{ padding:0 18px; }
  .nav-inner{ padding:14px 18px; }
  .brand{ font-size:19px; }
  .hero{ min-height:auto; padding-top:110px; }
  .hero-content{ padding:0 18px; }
  .hero h1{ font-size:clamp(30px,8vw,40px); }
  .hero-sub{ font-size:15px; }
  .search-panel{ padding:16px; margin-top:24px; }
  .section{ padding:56px 0; }
  .section-tight{ padding:40px 0; }
  .section-head{ margin-bottom:28px; }
  .section-head h2{ font-size:26px; }
  .grid-properties{ grid-template-columns:1fr; gap:20px; }
  .filter-bar{ grid-template-columns:1fr; padding:16px; }
  .footer-grid{ grid-template-columns:1fr; gap:32px; }
  .footer{ padding:50px 0 24px; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; gap:8px; }
  .page-header{ padding:96px 0 44px; }
  .card-media{ height:200px; }
  .testimonial-card{ min-width:82vw; }
  .detail-gallery{ height:auto; }
  .spec-grid{ grid-template-columns:1fr 1fr; gap:12px; }
  .amenity-grid{ grid-template-columns:1fr; }
  .fab-whatsapp{ width:50px; height:50px; font-size:22px; bottom:18px; left:18px; }
  .scroll-top{ width:42px; height:42px; bottom:18px; right:18px; }
  .modal-box{ padding:24px; }
  .sidebar-card{ position:static; }
}

/* Prevent any accidental horizontal scrollbar on small screens */
html, body{ max-width:100%; overflow-x:hidden; }

/* -------- Meet the owners -------- */
.team-grid{ display:grid; grid-template-columns:1fr 1fr; gap:32px; }
.team-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:32px; text-align:center; transition:transform .3s ease, box-shadow .3s ease; }
.team-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-soft); }
.team-photo{ width:140px; height:140px; border-radius:50%; overflow:hidden; margin:0 auto 20px; border:3px solid var(--brass); }
.team-photo img{ width:100%; height:100%; object-fit:cover; }
.team-name{ font-size:20px; margin-bottom:4px; }
.team-role{ font-family:var(--font-mono); font-size:12.5px; color:var(--brass-dim); text-transform:uppercase; letter-spacing:.05em; margin-bottom:14px; }
.team-bio{ font-size:14px; margin:0; }
@media (max-width:700px){
  .team-grid{ grid-template-columns:1fr; gap:24px; }
}

/* -------- How it works steps (Sell/Rent page) -------- */
.steps-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.step-item{ padding:28px 24px; border-radius:var(--radius-lg); border:1px solid var(--line-light); }
.step-number{ font-family:var(--font-mono); color:var(--brass); font-size:22px; margin-bottom:14px; }
.step-item h4{ font-size:18px; margin-bottom:8px; }
.step-item p{ font-size:14px; margin:0; }
@media (max-width:900px){ .steps-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .steps-grid{ grid-template-columns:1fr; } }

/* -------- Plain list (Properties we handle) -------- */
.plain-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; max-width:360px; }
.plain-list li{ font-size:15px; padding:10px 0; border-bottom:1px solid var(--line); }
.plain-list li:before{ content:"— "; color:var(--brass); font-weight:700; }