/* =====================================================================
   Lawrence Property Dealer — Public Website
   Gold #C9962E on Navy #0F1B2D — modern, animated, fully responsive.
   Theme colors are injected as CSS variables from admin settings.
   ===================================================================== */
:root {
  --brand: #C9962E;
  --brand-600: #b3841f;
  --brand-100: #f6ecd6;
  --brand-50: #faf5e9;
  --navy: #0F1B2D;
  --navy-800: #17263d;
  --navy-700: #20334f;
  --ink: #1a2332;
  --muted: #6b7789;
  --line: #e9e6de;
  --cream: #f8f6f1;
  --white: #fff;
  --green: #16a34a;
  --red: #dc2626;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(15,27,45,.06), 0 6px 18px -8px rgba(15,27,45,.1);
  --shadow-md: 0 20px 45px -18px rgba(15,27,45,.28);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; width: 100%; max-width: 100%; }
body { font-family: var(--font); color: var(--ink); background: var(--white); font-size: 15.5px; line-height: 1.65; overflow-x: hidden; width: 100%; max-width: 100%; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
main, section, article, aside, form, fieldset, div { min-width: 0; }
input, select, textarea, button { max-width: 100%; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.section { padding: 76px 0; }
.section.cream { background: var(--cream); }
.section.navy { background: var(--navy); color: #dfe6ef; }

/* Section headings */
.sec-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.sec-head .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--brand-600); font-weight: 800; font-size: 12.5px;
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: 10px;
}
.sec-head .kicker::before, .sec-head .kicker::after { content: ''; width: 26px; height: 2px; background: var(--brand); border-radius: 2px; }
.sec-head h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.sec-head p { color: var(--muted); margin-top: 10px; font-size: 16px; }
.section.navy .sec-head h2 { color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 12px; font-weight: 800; font-size: 14.5px;
  border: 2px solid transparent; transition: all .22s ease; white-space: nowrap;
}
.btn i { font-size: 17px; }
.btn-gold { background: var(--brand); color: var(--navy); box-shadow: 0 12px 26px -10px rgba(201,150,46,.65); }
.btn-gold:hover { background: var(--brand-600); transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(201,150,46,.75); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-outline-dark { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline-dark:hover { border-color: var(--brand); color: var(--brand-600); }
.btn-sm { padding: 9px 18px; font-size: 13px; border-radius: 10px; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------
   Header
--------------------------------------------------------------- */
.announce { background: var(--navy); color: #cfd8e5; font-size: 13px; text-align: center; padding: 8px 16px; }
.announce b { color: var(--brand); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15,27,45,.06);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 10px 30px -14px rgba(15,27,45,.2); }
.header-in { display: flex; align-items: center; gap: 26px; padding: 15px 0; }
.header-in .logo { flex: 0 1 auto; min-width: 0; }
.header-in .logo img { height: 54px; width: auto; max-width: min(280px, 46vw); object-fit: contain; }
.main-nav { display: flex; gap: 4px; margin-left: 10px; }
.main-nav a {
  padding: 9px 14px; font-weight: 700; font-size: 14.5px; color: var(--ink);
  border-radius: 10px; transition: .18s; position: relative;
}
.main-nav a:hover { color: var(--brand-600); background: var(--brand-50); }
.main-nav a.active { color: var(--brand-600); }
.main-nav a.active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2.5px; background: var(--brand); border-radius: 3px;
}
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-phone { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 800; }
.header-phone i {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-600); border-radius: 50%; font-size: 18px;
}
.header-phone small { display: block; color: var(--muted); font-weight: 600; font-size: 11.5px; }
.nav-burger { display: none; font-size: 26px; background: none; border: 0; color: var(--navy); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw); z-index: 200;
  background: var(--navy); color: #fff; padding: 26px 24px;
  transform: translateX(100%); transition: transform .33s cubic-bezier(.2,.8,.25,1);
  display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
}
.drawer.open { transform: none; }
.drawer-overlay { position: fixed; inset: 0; z-index: 150; background: rgba(10,17,28,.55); opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer-overlay.show { opacity: 1; pointer-events: auto; }
.drawer .d-close { align-self: flex-end; background: none; border: 0; color: #fff; font-size: 26px; margin-bottom: 10px; }
.drawer a { padding: 13px 10px; font-weight: 700; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.08); color: #e6ebf2; }
.drawer a:hover { color: var(--brand); }
.drawer .btn { margin-top: 18px; }

/* ---------------------------------------------------------------
   Hero
--------------------------------------------------------------- */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero .swiper { position: absolute; inset: 0; }
.hero .swiper, .hero .swiper-wrapper, .hero .swiper-slide { height: 100%; min-height: inherit; }
.hero .swiper-slide { position: relative; display: flex; align-items: center; }
.hero .slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero .swiper-slide-active .slide-bg:not(.video-bg) { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero .slide-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .slide-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,17,28,.82) 0%, rgba(10,17,28,.55) 42%, rgba(10,17,28,.15) 100%);
}

/* 3D staggered entrance for slide content (replays on every slide change) */
.hero .hero-persp { perspective: 1000px; }
.hero .hero-content > * { opacity: 1; }
.hero .swiper-initialized .hero-content > * { opacity: 0; }
.hero .swiper-slide-active .hero-content > * {
  animation: heroRise .95s cubic-bezier(.19, .8, .27, 1) forwards;
  transform-origin: 50% 100%;
}
.hero .swiper-slide-active .hero-content > *:nth-child(1) { animation-delay: .18s; }
.hero .swiper-slide-active .hero-content > *:nth-child(2) { animation-delay: .34s; }
.hero .swiper-slide-active .hero-content > *:nth-child(3) { animation-delay: .5s; }
.hero .swiper-slide-active .hero-content > *:nth-child(4) { animation-delay: .66s; }
@keyframes heroRise {
  from { opacity: 0; transform: translate3d(0, 54px, -60px) rotateX(22deg); }
  to { opacity: 1; transform: none; }
}

/* Hero pagination dots */
.hero .hero-dots { position: absolute; z-index: 15; left: 0; right: 0; bottom: 96px; text-align: center; }
.hero .hero-dots .swiper-pagination-bullet {
  width: 26px; height: 5px; border-radius: 4px; background: rgba(255,255,255,.45);
  opacity: 1; transition: .3s;
}
.hero .hero-dots .swiper-pagination-bullet-active { background: var(--brand); width: 42px; }

@media (prefers-reduced-motion: reduce) {
  .hero .swiper-slide-active .hero-content > * { animation: none; opacity: 1; }
  .hero .swiper-slide-active .slide-bg:not(.video-bg) { animation: none; }
}
.hero-content { position: relative; z-index: 5; padding: 100px 0 140px; max-width: 640px; }
.hero-content .kicker {
  display: inline-flex; align-items: center; gap: 10px; color: var(--brand);
  font-weight: 800; letter-spacing: .2em; text-transform: uppercase; font-size: 12.5px; margin-bottom: 16px;
}
.hero-content .kicker::before { content: ''; width: 34px; height: 2px; background: var(--brand); }
.hero-content h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; }
.hero-content h1 span { color: var(--brand); }
.hero-content p { margin-top: 18px; font-size: 17px; color: #d4dce7; max-width: 480px; }
.hero-content .hero-btns { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

/* Hero search card — sits in normal flow, slightly overlapping the hero
   bottom so it can never cover the hero text/buttons */
.hero-search {
  position: relative; z-index: 20; margin-top: -78px;
}
.search-card {
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-md);
  padding: 0; overflow: hidden; color: var(--ink);
}
.search-tabs { display: flex; gap: 0; padding: 0 18px; border-bottom: 1px solid var(--line); }
.search-tabs button {
  padding: 15px 22px; background: none; border: 0; font-weight: 800; font-size: 14.5px;
  color: var(--muted); border-bottom: 3px solid transparent; transition: .18s; margin-bottom: -1px;
}
.search-tabs button.active { color: var(--brand-600); border-bottom-color: var(--brand); }
.search-fields { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; gap: 14px; padding: 18px; align-items: end; }
.search-fields .sf label { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.search-fields .input, .search-fields .select {
  width: 100%; border: 1.5px solid var(--line); border-radius: 11px; padding: 11px 13px;
  font-size: 14px; background: #fff; transition: border-color .18s;
}
.search-fields .input:focus, .search-fields .select:focus { outline: 0; border-color: var(--brand); }
.adv-link { font-size: 13px; font-weight: 700; color: var(--brand-600); display: inline-flex; gap: 6px; align-items: center; padding: 0 18px 14px; }

/* ---------------------------------------------------------------
   Stats band
--------------------------------------------------------------- */
.stats-band { background: var(--cream); border-block: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 0; }
.stat { display: flex; align-items: center; gap: 16px; justify-content: center; }
.stat .ic {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: #fff; color: var(--brand-600); font-size: 26px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.stat b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; display: block; line-height: 1.1; }
.stat small { color: var(--muted); font-weight: 600; font-size: 13px; }

/* ---------------------------------------------------------------
   Categories
--------------------------------------------------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.cat-card {
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 26px 14px; text-align: center; transition: all .25s ease; position: relative; overflow: hidden;
}
.cat-card:hover { border-color: var(--brand); transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cat-card .ic {
  width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 16px;
  display: grid; place-items: center; font-size: 27px;
  background: var(--brand-50); color: var(--brand-600); transition: .25s;
}
.cat-card:hover .ic { background: var(--brand); color: var(--navy); transform: rotateY(180deg); }
.cat-card b { font-size: 15px; display: block; }
.cat-card small { color: var(--muted); font-size: 12.5px; }

/* ---------------------------------------------------------------
   Property card
--------------------------------------------------------------- */
.prop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.prop-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease; position: relative;
  display: flex; flex-direction: column;
}
.prop-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.prop-media { position: relative; overflow: hidden; aspect-ratio: 16/10.6; display: block; }
.prop-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.prop-card:hover .prop-media img { transform: scale(1.08); }
.prop-media::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(10,17,28,.72)); }
.prop-badges { position: absolute; top: 13px; left: 13px; z-index: 4; display: flex; gap: 6px; flex-wrap: wrap; }
.pbadge {
  font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 30px; color: var(--navy); background: var(--brand);
}
.pbadge.premium { background: #7c5cf0; color: #fff; }
.pbadge.verified { background: var(--green); color: #fff; }
.pbadge.urgent { background: var(--red); color: #fff; }
.pbadge.sold, .pbadge.rented { background: var(--navy); color: #fff; }
.save-btn {
  position: absolute; top: 12px; right: 12px; z-index: 4;
  width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.92); color: var(--navy); font-size: 17px;
  display: grid; place-items: center; transition: .2s;
}
.save-btn:hover { background: var(--brand); }
.save-btn.saved { background: var(--red); color: #fff; }
.prop-price {
  position: absolute; left: 15px; bottom: 13px; z-index: 4;
  color: #fff; font-weight: 800; font-size: 20px; letter-spacing: -.01em;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.prop-price small { font-size: 12.5px; font-weight: 600; opacity: .9; }
.prop-purpose {
  position: absolute; right: 13px; bottom: 15px; z-index: 4;
  font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35);
  color: #fff; padding: 3px 11px; border-radius: 30px; backdrop-filter: blur(4px);
}
.prop-body { padding: 17px 18px 15px; flex: 1; display: flex; flex-direction: column; gap: 7px; }
.prop-loc { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 5px; font-weight: 600; }
.prop-loc i { color: var(--brand-600); }
.prop-title { font-size: 17px; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; }
.prop-title a:hover { color: var(--brand-600); }
.prop-meta {
  display: flex; gap: 16px; margin-top: auto; padding-top: 12px;
  border-top: 1px dashed var(--line); font-size: 12.8px; color: var(--muted); font-weight: 600;
  flex-wrap: wrap;
}
.prop-meta span { display: inline-flex; align-items: center; gap: 6px; }
.prop-meta i { color: var(--brand-600); font-size: 15px; }

/* ---------------------------------------------------------------
   Why choose us / services
--------------------------------------------------------------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.svc-card {
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: .25s; position: relative; overflow: hidden;
}
.svc-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 0; height: 3px;
  background: var(--brand); transition: width .3s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc-card:hover::before { width: 100%; }
.svc-card .ic {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-600); font-size: 25px; margin-bottom: 16px;
}
.svc-card b { font-size: 16.5px; display: block; margin-bottom: 7px; }
.svc-card p { color: var(--muted); font-size: 14px; }

/* ---------------------------------------------------------------
   CTA band
--------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(115deg, var(--brand) 0%, #a97a1d 100%);
  border-radius: 22px; padding: 0; overflow: hidden; position: relative;
  display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; min-height: 220px;
}
.cta-copy { padding: 44px 48px; color: var(--navy); }
.cta-copy h3 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -.02em; }
.cta-copy p { margin: 8px 0 22px; font-weight: 600; opacity: .85; max-width: 440px; }
.cta-img { height: 100%; min-height: 220px; }
.cta-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------
   Team / agents
--------------------------------------------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.team-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); text-align: center; transition: .25s; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-card .photo { aspect-ratio: 1/1; overflow: hidden; }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.team-card:hover .photo img { transform: scale(1.07); }
.team-card .tc-body { padding: 18px 14px 20px; }
.team-card b { font-size: 16.5px; display: block; }
.team-card small { color: var(--brand-600); font-weight: 700; font-size: 12.5px; }
.team-card .socials { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.socials a {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream); color: var(--navy); font-size: 15px; transition: .2s;
}
.socials a:hover { background: var(--brand); color: var(--navy); transform: translateY(-2px); }

/* ---------------------------------------------------------------
   Testimonials
--------------------------------------------------------------- */
.testi-card {
  background: #fff; border-radius: var(--radius); padding: 30px 28px;
  border: 1px solid var(--line); height: auto; box-shadow: var(--shadow-sm);
}
.testi-card .stars { color: #f5a623; font-size: 15px; letter-spacing: 2px; margin-bottom: 14px; }
.testi-card p { font-size: 15px; color: #3d4657; font-style: italic; }
.testi-who { display: flex; align-items: center; gap: 13px; margin-top: 20px; }
.testi-who img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2.5px solid var(--brand); }
.testi-who b { display: block; font-size: 15px; }
.testi-who small { color: var(--muted); font-size: 12.5px; }
.testi-quote { font-size: 52px; color: var(--brand-100); line-height: 0; float: right; font-family: Georgia, serif; }
.swiper-pagination-bullet { background: var(--brand); }
.swiper-pagination { position: static; margin-top: 26px; }

/* ---------------------------------------------------------------
   Partners
--------------------------------------------------------------- */
.partner-row { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; align-items: center; }
.partner-row a {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 26px;
  filter: grayscale(1); opacity: .72; transition: .25s;
}
.partner-row a:hover { filter: none; opacity: 1; transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.partner-row img { height: 44px; width: auto; }

/* ---------------------------------------------------------------
   Blog cards
--------------------------------------------------------------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.blog-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: .25s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card .bc-media { aspect-ratio: 16/9.4; overflow: hidden; position: relative; display: block; }
.blog-card .bc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-card:hover .bc-media img { transform: scale(1.06); }
.blog-card .bc-cat {
  position: absolute; left: 14px; top: 14px; background: var(--brand); color: var(--navy);
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  padding: 4px 12px; border-radius: 30px;
}
.blog-card .bc-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.blog-card .bc-date { font-size: 12.5px; color: var(--muted); display: flex; gap: 14px; font-weight: 600; }
.blog-card h3 { font-size: 17.5px; font-weight: 800; line-height: 1.35; letter-spacing: -.01em; }
.blog-card h3 a:hover { color: var(--brand-600); }
.blog-card .bc-excerpt { color: var(--muted); font-size: 14px; }
.blog-card .bc-more { margin-top: auto; padding-top: 8px; color: var(--brand-600); font-weight: 800; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; }

/* ---------------------------------------------------------------
   FAQ accordion
--------------------------------------------------------------- */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .2s; }
.faq-item[open] { border-color: var(--brand); }
.faq-item summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 18px 22px; font-weight: 800; font-size: 15.5px; cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { transition: transform .25s; color: var(--brand-600); font-size: 20px; flex-shrink: 0; }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 18px; color: var(--muted); font-size: 14.5px; }

/* ---------------------------------------------------------------
   Newsletter
--------------------------------------------------------------- */
.newsletter-band {
  background: var(--navy); border-radius: 22px; padding: 46px 48px; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; color: #fff;
}
.newsletter-band::before {
  content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(201,150,46,.35), transparent 70%); border-radius: 50%;
}
.newsletter-band h3 { font-size: clamp(20px, 3vw, 27px); font-weight: 800; letter-spacing: -.01em; }
.newsletter-band p { color: #b9c4d4; margin-top: 6px; font-size: 14.5px; }
.newsletter-form { display: flex; gap: 10px; position: relative; z-index: 2; }
.newsletter-form input {
  flex: 1; padding: 14px 18px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08); color: #fff; font-size: 14.5px;
}
.newsletter-form input::placeholder { color: #8d9bb0; }
.newsletter-form input:focus { outline: 0; border-color: var(--brand); }

/* ---------------------------------------------------------------
   Footer
--------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #aeb9c9; margin-top: 76px; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 40px; padding: 60px 0 44px; }
.footer-main h4 { color: #fff; font-size: 15.5px; font-weight: 800; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-main h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 32px; height: 2.5px; background: var(--brand); border-radius: 3px; }
.footer-about img { height: 56px; margin-bottom: 16px; }
.footer-about p { font-size: 14px; line-height: 1.7; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; display: inline-flex; align-items: center; gap: 8px; transition: .18s; }
.footer-links a::before { content: '›'; color: var(--brand); font-weight: 800; }
.footer-links a:hover { color: var(--brand); transform: translateX(4px); }
.footer-contact { display: flex; flex-direction: column; gap: 14px; font-size: 14px; }
.footer-contact div { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact i { color: var(--brand); font-size: 17px; margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; display: flex; justify-content: space-between; gap: 14px; align-items: center; font-size: 13px; flex-wrap: wrap; }
.footer-socials { display: flex; gap: 9px; margin-top: 18px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.07); color: #cfd8e5; font-size: 16px; transition: .2s;
}
.footer-socials a:hover { background: var(--brand); color: var(--navy); transform: translateY(-3px); }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; font-size: 28px; box-shadow: 0 12px 28px -8px rgba(37,211,102,.65);
  transition: .22s; animation: pulse 2.4s infinite;
}
.wa-float:hover { transform: scale(1.1); }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,.45); } 55% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } }

/* ---------------------------------------------------------------
   Page hero (inner pages)
--------------------------------------------------------------- */
.page-hero {
  background: linear-gradient(rgba(10,17,28,.78), rgba(10,17,28,.78)), var(--navy) center/cover;
  background-image: linear-gradient(rgba(10,17,28,.78), rgba(10,17,28,.82)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1920&q=60');
  color: #fff; padding: 62px 0; text-align: center;
}
.page-hero h1 { font-size: clamp(26px, 4.4vw, 40px); font-weight: 800; letter-spacing: -.02em; }
.page-hero .crumbs { margin-top: 10px; font-size: 13.5px; color: #b9c4d4; font-weight: 600; }
.page-hero .crumbs a:hover { color: var(--brand); }
.page-hero .crumbs span { color: var(--brand); }

/* ---------------------------------------------------------------
   Listing page: filters + results
--------------------------------------------------------------- */
.listing-wrap { display: grid; grid-template-columns: 296px 1fr; gap: 28px; align-items: start; }
.filter-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 92px; }
.filter-panel h3 { font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.filter-panel h3 i { color: var(--brand-600); }
.f-group { margin-bottom: 16px; }
.f-group label { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.f-group .input, .f-group .select {
  width: 100%; border: 1.5px solid var(--line); border-radius: 11px; padding: 10px 13px; font-size: 14px; background: #fff;
}
.f-group .input:focus, .f-group .select:focus { outline: 0; border-color: var(--brand); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.f-checks { display: flex; flex-direction: column; gap: 8px; max-height: 210px; overflow-y: auto; padding-right: 4px; }
.f-checks label { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--ink); cursor: pointer; }
.f-checks input { width: 16px; height: 16px; accent-color: var(--brand); }
.listing-top { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.listing-top .count { font-weight: 700; color: var(--muted); font-size: 14px; }
.listing-top .sort { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.listing-top .select { border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 13px; font-size: 13.5px; background: #fff; }

/* Pagination (site) */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 10px;
  border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
  font-weight: 800; font-size: 14px; color: var(--muted); transition: .18s;
}
.pagination a:hover { border-color: var(--brand); color: var(--brand-600); }
.pagination .current { background: var(--brand); border-color: var(--brand); color: var(--navy); }
.pagination .disabled { opacity: .4; pointer-events: none; }

/* ---------------------------------------------------------------
   Property detail
--------------------------------------------------------------- */
.pd-head { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 22px; }
.pd-head h1 { font-size: clamp(22px, 3.6vw, 32px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.pd-head .pd-loc { color: var(--muted); font-weight: 600; margin-top: 6px; display: flex; align-items: center; gap: 6px; font-size: 14.5px; }
.pd-head .pd-loc i { color: var(--brand-600); }
.pd-price-box { margin-left: auto; text-align: right; }
.pd-price-box .now { font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; color: var(--brand-600); letter-spacing: -.02em; }
.pd-price-box .was { text-decoration: line-through; color: var(--muted); font-size: 15px; font-weight: 600; }
.pd-price-box small { display: block; color: var(--muted); font-weight: 700; font-size: 12.5px; }
.pd-badges { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 8px; }

.pd-layout { display: grid; grid-template-columns: 1fr 370px; gap: 28px; align-items: start; }

.pd-gallery { border-radius: var(--radius); overflow: hidden; }
.pd-gallery .swiper-slide img { width: 100%; height: clamp(280px, 46vw, 520px); object-fit: cover; }
.pd-thumbs { margin-top: 10px; }
.pd-thumbs .swiper-slide { opacity: .55; border-radius: 10px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: .2s; }
.pd-thumbs .swiper-slide-thumb-active { opacity: 1; border-color: var(--brand); }
.pd-thumbs img { width: 100%; height: 72px; object-fit: cover; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9);
  color: var(--navy); font-size: 20px; display: grid; place-items: center; transition: .2s;
}
.gallery-nav:hover { background: var(--brand); }
.gallery-prev { left: 14px; } .gallery-next { right: 14px; }

.pd-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-top: 22px; }
.pd-card h2 { font-size: 19px; font-weight: 800; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.pd-card h2 i { color: var(--brand-600); }
.prose { color: #3d4657; font-size: 15px; }
.prose p { margin-bottom: 13px; }
.prose h2, .prose h3 { margin: 20px 0 10px; letter-spacing: -.01em; color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 14px 22px; }
.prose li { margin-bottom: 6px; }
.prose img { border-radius: 12px; margin: 14px 0; }
.prose blockquote { border-left: 3.5px solid var(--brand); padding: 8px 18px; background: var(--cream); border-radius: 0 12px 12px 0; margin-bottom: 14px; font-style: italic; }

.ov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 13px; }
.ov-item {
  background: var(--cream); border: 1px solid var(--line); border-radius: 13px;
  padding: 13px 15px; display: flex; align-items: center; gap: 12px;
}
.ov-item i { font-size: 21px; color: var(--brand-600); }
.ov-item b { display: block; font-size: 14px; line-height: 1.25; }
.ov-item small { color: var(--muted); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table td { padding: 10px 6px; border-bottom: 1px dashed var(--line); }
.spec-table td:first-child { color: var(--muted); font-weight: 600; width: 46%; }
.spec-table td:last-child { font-weight: 700; }
.spec-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }

.amen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 11px; }
.amen-item { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; }
.amen-item i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); font-size: 16px; }

.nearby-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; }
.nearby-item { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.nearby-item i { color: var(--brand-600); font-size: 18px; }
.nearby-item b { flex: 1; font-weight: 700; }
.nearby-item span { color: var(--muted); font-weight: 600; font-size: 13px; }

.map-embed iframe { width: 100%; height: 360px; border: 0; border-radius: 13px; }
.video-embed { aspect-ratio: 16/9; border-radius: 13px; overflow: hidden; }
.video-embed iframe { width: 100%; height: 100%; border: 0; }

/* Sidebar cards */
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.side-card h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 16px; }
.agent-mini { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.agent-mini img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; border: 2.5px solid var(--brand); }
.agent-mini b { display: block; font-size: 16px; }
.agent-mini small { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.form-stack { display: flex; flex-direction: column; gap: 12px; }
.form-stack .input, .form-stack .select, .form-stack textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 11px; padding: 11px 14px; font-size: 14px;
}
.form-stack .input:focus, .form-stack .select:focus, .form-stack textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(201,150,46,.14); }
.form-stack textarea { min-height: 92px; resize: vertical; }
.sticky-side { position: sticky; top: 92px; }

/* Reviews */
.review-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.review-item:last-child { border: 0; }
.review-item .rv-avatar {
  width: 46px; height: 46px; border-radius: 50%; background: var(--brand-50); color: var(--brand-600);
  display: grid; place-items: center; font-weight: 800; font-size: 17px; flex-shrink: 0;
}
.review-item b { font-size: 14.5px; }
.review-item .stars { color: #f5a623; font-size: 13px; letter-spacing: 1.5px; }
.review-item p { font-size: 14px; color: #3d4657; margin-top: 5px; }
.review-item .rv-reply { margin-top: 8px; background: var(--cream); border-radius: 10px; padding: 10px 14px; font-size: 13.5px; }
.rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rating-input input { display: none; }
.rating-input label { font-size: 26px; color: #d8dde6; cursor: pointer; transition: .15s; }
.rating-input label:hover, .rating-input label:hover ~ label,
.rating-input input:checked ~ label { color: #f5a623; }

/* ---------------------------------------------------------------
   Auth + account
--------------------------------------------------------------- */
.auth-wrap { max-width: 460px; margin: 60px auto; padding: 0 20px; }
.auth-box { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 38px 34px; box-shadow: var(--shadow-sm); }
.auth-box h1 { font-size: 24px; font-weight: 800; text-align: center; letter-spacing: -.01em; }
.auth-box .sub { text-align: center; color: var(--muted); font-size: 14px; margin: 6px 0 24px; }
.auth-box .alt { text-align: center; margin-top: 20px; font-size: 14px; color: var(--muted); }
.auth-box .alt a { color: var(--brand-600); font-weight: 800; }

.account-layout { display: grid; grid-template-columns: 270px 1fr; gap: 26px; align-items: start; }
.account-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.account-nav .an-head { padding: 22px; text-align: center; background: var(--navy); color: #fff; }
.account-nav .an-head img { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; border: 3px solid var(--brand); }
.account-nav a { display: flex; align-items: center; gap: 11px; padding: 14px 20px; font-weight: 700; font-size: 14px; border-bottom: 1px solid var(--line); transition: .15s; }
.account-nav a:hover, .account-nav a.active { background: var(--brand-50); color: var(--brand-600); }
.account-nav a i { font-size: 17px; }

/* ---------------------------------------------------------------
   Contact page
--------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; align-items: start; }
.info-tiles { display: grid; gap: 16px; }
.info-tile { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 20px 22px; display: flex; gap: 16px; align-items: flex-start; transition: .2s; }
.info-tile:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.info-tile i { width: 46px; height: 46px; border-radius: 13px; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; font-size: 21px; flex-shrink: 0; }
.info-tile b { display: block; font-size: 15px; margin-bottom: 3px; }
.info-tile p, .info-tile a { color: var(--muted); font-size: 14px; }
.info-tile a:hover { color: var(--brand-600); }

/* ---------------------------------------------------------------
   Utility / animations
--------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero .slide-bg { animation: none; }
}

.sec-more { text-align: center; margin-top: 38px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state i { font-size: 52px; color: #d8dde6; display: block; margin-bottom: 14px; }

/* Password show/hide toggle */
.pw-wrap { position: relative; width: 100%; }
.pw-wrap input { width: 100%; padding-right: 46px; }
.pw-eye {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; display: grid; place-items: center;
  background: none; border: 0; border-radius: 8px; cursor: pointer;
  color: var(--muted); font-size: 18px; transition: color .15s;
}
.pw-eye:hover { color: var(--brand-600); }

/* Flash (site) */
.flash {
  position: fixed; top: 18px; right: 18px; z-index: 500;
  display: flex; align-items: flex-start; gap: 10px; max-width: 380px;
  padding: 15px 19px; border-radius: 13px; color: #fff; font-size: 14px; font-weight: 700;
  box-shadow: 0 20px 50px -12px rgba(0,0,0,.4); animation: slideIn .4s cubic-bezier(.2,.9,.3,1.2) both;
}
.flash.success { background: linear-gradient(135deg, #15803d, #16a34a); }
.flash.error { background: linear-gradient(135deg, #b91c1c, #dc2626); }
.flash button { margin-left: 8px; background: none; border: 0; color: rgba(255,255,255,.85); font-size: 16px; }
@keyframes slideIn { from { opacity: 0; transform: translateX(46px); } to { opacity: 1; transform: none; } }

/* 404 / maintenance */
.big-error { text-align: center; padding: 90px 20px; }
.big-error .code { font-size: clamp(80px, 16vw, 150px); font-weight: 800; line-height: 1; color: var(--brand); letter-spacing: -.04em; }
.big-error h1 { font-size: 26px; margin: 10px 0 8px; }
.big-error p { color: var(--muted); max-width: 420px; margin: 0 auto 26px; }

/* ---------------------------------------------------------------
   Responsive
--------------------------------------------------------------- */
@media (max-width: 1100px) {
  .search-fields { grid-template-columns: 1fr 1fr; }
  .search-fields .sf-btn { grid-column: 1 / -1; }
  .pd-layout { grid-template-columns: 1fr; }
  .listing-wrap,
  .listing-wrap[style] { grid-template-columns: 1fr !important; }
  .filter-panel { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .main-nav,
  .header-phone { display: none; }
  .nav-burger {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: var(--brand-50);
    flex: 0 0 42px;
  }
  .sticky-side { position: static; }
}
@media (max-width: 900px) {
  .header-in { gap: 14px; padding: 12px 0; }
  .hero { min-height: 560px; }
  .hero-content { padding: 78px 0 128px; max-width: 600px; }
  .hero-content h1 { font-size: clamp(32px, 7vw, 50px); overflow-wrap: anywhere; }
  .hero-content p { max-width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-img { display: none; }
  .newsletter-band { grid-template-columns: 1fr; padding: 36px 26px; }
  .contact-grid,
  .account-layout { grid-template-columns: 1fr; }
  .spec-cols { grid-template-columns: 1fr; }
  .nearby-list { grid-template-columns: 1fr; }
  [style*="grid-template-columns:1fr 300px"],
  [style*="grid-template-columns:320px 1fr"] {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 640px) {
  :root { --radius: 14px; }
  body { font-size: 15px; }
  .container { padding: 0 14px; }
  .section { padding: 54px 0; }
  .sec-head { margin-bottom: 30px; }
  .sec-head .kicker { letter-spacing: .08em; }
  .sec-head .kicker::before,
  .sec-head .kicker::after { width: 18px; }

  .announce { font-size: 12px; padding: 7px 12px; }
  .header-in { gap: 10px; padding: 10px 0; min-height: 62px; }
  .header-in .logo img { height: 44px; max-width: 52vw; }
  .header-cta { gap: 8px; }
  .header-cta .btn {
    min-height: 40px;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 13px;
  }
  .nav-burger { width: 40px; height: 40px; flex-basis: 40px; font-size: 23px; }
  .drawer { width: min(310px, 88vw); padding: 22px 20px; }

  .hero { min-height: clamp(540px, 138vw, 640px); }
  .hero .slide-bg::after {
    background: linear-gradient(180deg, rgba(10,17,28,.84) 0%, rgba(10,17,28,.68) 52%, rgba(10,17,28,.35) 100%);
  }
  .hero .hero-dots { bottom: 74px; }
  .hero-content { padding: 86px 0 124px; max-width: 100%; }
  .hero-content .kicker {
    gap: 8px;
    font-size: 11px;
    letter-spacing: .1em;
    margin-bottom: 12px;
  }
  .hero-content .kicker::before { width: 22px; }
  .hero-content h1 {
    font-size: clamp(28px, 9vw, 38px);
    line-height: 1.12;
    letter-spacing: 0;
  }
  .hero-content p { margin-top: 14px; font-size: 15px; }
  .hero-content .hero-btns { flex-direction: column; gap: 10px; margin-top: 22px; }
  .hero-content .hero-btns .btn { width: 100%; white-space: normal; }

  .hero-search { margin-top: -34px; }
  .search-card { border-radius: 14px; }
  .search-tabs { overflow-x: auto; padding: 0 10px; scrollbar-width: none; }
  .search-tabs::-webkit-scrollbar { display: none; }
  .search-tabs button { flex: 1 0 auto; min-width: 84px; padding: 13px 14px; }
  .search-fields { grid-template-columns: 1fr !important; gap: 12px; padding: 14px; }
  .search-fields .sf-btn { grid-column: auto; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat { flex-direction: column; text-align: center; gap: 8px; }
  .stat .ic { width: 48px; height: 48px; font-size: 22px; border-radius: 14px; }
  .stat b { font-size: 22px; }

  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cat-card { padding: 20px 10px; border-radius: 14px; }
  .cat-card .ic { width: 48px; height: 48px; font-size: 22px; border-radius: 13px; }

  .prop-grid,
  .blog-grid,
  .team-grid,
  .svc-grid,
  [style*="grid-template-columns:repeat(auto-fill,minmax(270px,1fr))"],
  [style*="grid-template-columns:repeat(auto-fill,minmax(280px,1fr))"],
  [style*="grid-template-columns:repeat(auto-fill,minmax(260px,1fr))"] {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px;
  }
  .prop-body,
  .blog-card .bc-body,
  .svc-card,
  .pd-card,
  .side-card { padding: 18px; }
  .prop-price { font-size: 18px; left: 13px; right: 86px; overflow-wrap: anywhere; }
  .prop-purpose { right: 11px; bottom: 14px; }
  .prop-loc,
  .prop-title,
  .pbadge { overflow-wrap: anywhere; }

  .listing-wrap,
  .listing-wrap[style],
  .pd-layout,
  .contact-grid,
  .account-layout,
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .listing-top { flex-direction: column; align-items: stretch; gap: 10px; }
  .listing-top .sort { width: 100%; margin-left: 0; justify-content: space-between; }
  .listing-top .sort .select { flex: 1; min-width: 0; }
  .filter-panel { padding: 18px; border-radius: 14px; }
  .f-row { grid-template-columns: 1fr; }
  .f-checks { max-height: 170px; }

  .page-hero { padding: 44px 0; }
  .page-hero h1,
  .page-hero .crumbs { letter-spacing: 0; overflow-wrap: anywhere; }

  .pd-head { gap: 14px; }
  .pd-head h1 { font-size: 25px; letter-spacing: 0; overflow-wrap: anywhere; }
  .pd-price-box { width: 100%; margin-left: 0; text-align: left; }
  .pd-price-box .now { font-size: 24px; overflow-wrap: anywhere; }
  .pd-gallery .swiper-slide img { height: clamp(240px, 72vw, 330px); }
  .pd-thumbs img { height: 58px; }
  .gallery-nav { width: 38px; height: 38px; font-size: 18px; }
  .gallery-prev { left: 10px; }
  .gallery-next { right: 10px; }
  .ov-grid,
  .amen-grid,
  .nearby-list { grid-template-columns: minmax(0, 1fr) !important; }
  .nearby-item { align-items: flex-start; }
  .nearby-item span { text-align: right; }
  .spec-table { font-size: 14px; table-layout: fixed; }
  .spec-table td { overflow-wrap: anywhere; }
  .map-embed iframe { height: 300px; }
  .review-item { gap: 10px; }
  .review-item .rv-avatar { width: 40px; height: 40px; font-size: 15px; }

  .info-tile { padding: 18px; gap: 13px; }
  .info-tile i { width: 40px; height: 40px; font-size: 19px; }
  .account-nav a { padding: 13px 16px; }

  .cta-band,
  .newsletter-band { grid-template-columns: 1fr !important; border-radius: 16px; }
  .cta-copy { padding: 28px 20px; }
  .newsletter-band { padding: 28px 18px; }
  .newsletter-form { flex-direction: column; }
  .partner-row { gap: 12px; }
  .partner-row a { padding: 12px 18px; }
  .partner-row img { height: 36px; }

  .footer-main { grid-template-columns: 1fr; gap: 30px; padding: 42px 0 34px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; font-size: 25px; }
  .flash { left: 14px; right: 14px; top: 14px; max-width: none; }
}
@media (max-width: 480px) {
  .header-cta .btn { display: none; }
  .btn { padding: 11px 16px; white-space: normal; text-align: center; }
  .btn-sm { padding: 9px 13px; }
  .hero { min-height: 560px; }
  .hero-content { padding-top: 78px; }
  .auth-wrap { margin: 34px auto; padding: 0 14px; }
  .auth-box { padding: 28px 18px; border-radius: 16px; }
}
@media (max-width: 420px) {
  .stats-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .prop-media { aspect-ratio: 16 / 11.5; }
  .prop-meta { gap: 10px; }
  .pagination a,
  .pagination span { min-width: 38px; height: 38px; border-radius: 10px; }
}

/* ---------------------------------------------------------------
   Custom dropdown — fully styled trigger + option list (custom-select.js)
   Native fallback (no JS) still gets a branded chevron.
--------------------------------------------------------------- */
select:not([data-cs-done]) {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%23C9962E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 15px;
  padding-right: 38px; cursor: pointer;
}
.cs { position: relative; display: block; width: 100%; }
.cs > select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cs-btn {
  display: flex !important; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; text-align: left; background: #fff; background-image: none !important;
  cursor: pointer; font-family: inherit; font-weight: 600; line-height: 1.5;
  color: var(--ink); padding-right: 14px !important;
}
.cs-btn .cs-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-btn.cs-placeholder .cs-label { color: var(--muted); font-weight: 500; }
.cs-btn:hover { border-color: var(--brand); }
.cs-open .cs-btn { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(201, 150, 46, .14); }
.cs-btn:disabled { cursor: not-allowed; opacity: .6; }
.cs-arrow {
  flex-shrink: 0; width: 9px; height: 9px; margin-top: -3px;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(45deg); transition: transform .2s;
}
.cs-open .cs-arrow { transform: rotate(-135deg); margin-top: 3px; }

/* Options panel (appended to <body>, fixed position) */
.cs-panel {
  position: fixed; z-index: 9999; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; padding: 6px;
  box-shadow: 0 16px 40px -10px rgba(15, 27, 45, .3); overflow-y: auto;
  animation: csIn .14s ease; scrollbar-width: thin;
}
@keyframes csIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.cs-opt {
  padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 600;
  color: var(--ink); cursor: pointer; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; transition: background .12s, color .12s;
}
.cs-opt:hover { background: var(--cream, #faf6ee); color: var(--brand-600); }
.cs-opt.cs-sel { background: var(--brand); color: #fff; }
.cs-opt.cs-disabled { opacity: .45; cursor: not-allowed; }
/* Keep inline selects (sort bar) auto-width */
.listing-top .cs { display: inline-block; width: auto; min-width: 190px; }
