/* ─── Reset & Base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0f2044;
  --navy-light:#162d5e;
  --gold:      #c8963e;
  --gold-light:#e6b96a;
  --white:     #ffffff;
  --off-white: #f5f6f8;
  --gray:      #6b7280;
  --gray-light:#e5e7eb; 
  --text:      #1a1a2e;
  --radius:    10px;
  --shadow:    0 4px 24px rgba(15,32,68,.10);
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }

/* ─── Custom Scrollbar (gold thumb, transparent track) ──────────────── */
/* Firefox */
* { scrollbar-width: thin; scrollbar-color: #c8963e transparent; }

/* Chrome / Safari / Edge */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #e6b96a 0%, #c8963e 60%, #a87530 100%);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: #c8963e; }
::-webkit-scrollbar-corner { background: transparent; }

body {
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
  direction: rtl;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ─── Typography ────────────────────────────────────────────────────── */
h1,h2,h3,h4,h5 { font-weight: 700; line-height: 1.3; color: var(--navy); }
h1 { font-size: clamp(1.8rem,4vw,2.8rem); }
h2 { font-size: clamp(1.4rem,3vw,2rem); }
h3 { font-size: clamp(1.1rem,2vw,1.4rem); }

.section-label { color: var(--gold); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; display: block; margin-bottom: .4rem; }
.section-title { margin-bottom: .5rem; }
.section-sub   { color: var(--gray); max-width: 550px; }
.text-center   { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ─── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.6rem; border-radius: var(--radius);
  font-size: .9rem; font-weight: 600; cursor: pointer;
  border: 2px solid transparent; transition: var(--transition);
}
.btn-primary   { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-light); }
.btn-gold      { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover{ background: var(--gold-light); }
.btn-outline   { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-whatsapp  { background: #25D366; color: var(--white); border-color: #25D366; }
.btn-whatsapp:hover { background: #1db954; }
.btn-sm { padding: .45rem 1rem; font-size: .82rem; }
.btn-lg { padding: .9rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ─── Layout Helpers ────────────────────────────────────────────────── */
.container  { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.section    { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* ─── Badges ────────────────────────────────────────────────────────── */
.badge { display: inline-block; padding: .25rem .75rem; border-radius: 50px; font-size: .75rem; font-weight: 600; }
.badge-rent  { background: #dbeafe; color: #1d4ed8; }
.badge-sale  { background: #dcfce7; color: #15803d; }
.badge-both  { background: #fef3c7; color: #b45309; }
.badge-gold  { background: var(--gold); color: var(--white); }
.badge-navy  { background: var(--navy); color: var(--white); }

/* ─── Navbar ────────────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,.88); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,.07);
  transition: var(--transition);
  opacity: 0.9;
}
.navbar.scrolled { background: rgba(255,255,255,.97); box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.navbar-logo { color: var(--navy); font-size: 1.3rem; font-weight: 800; letter-spacing: -.3px; display: flex; align-items: center; gap: .55rem; }
.navbar-logo-img { height: 52px; width: auto; max-width: 64px; object-fit: contain; display: block; flex-shrink: 0; border-radius: 8px;opacity: 0.9; filter: drop-shadow(0 1px 3px rgba(0,0,0,.12)); }
.navbar-logo-text { font-size: 1.25rem; font-weight: 800; color: var(--navy); line-height: 1; }
.navbar-logo-accent { color: var(--gold); }
.navbar-logo span { color: var(--gold); }
.navbar-nav { display: flex; align-items: center; gap: .25rem; }
.navbar-nav a { color: var(--gray); padding: .5rem .9rem; border-radius: 6px; font-size: .9rem; font-weight: 500; transition: var(--transition); }
.navbar-nav a:hover, .navbar-nav a.active { color: var(--navy); background: rgba(15,32,68,.07); }
.navbar-cta { margin-right: .5rem; display: flex; align-items: center; gap: .5rem; }
.navbar-toggle { display: none; background: none; border: none; cursor: pointer; padding: .4rem; }
.navbar-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: var(--transition); }

/* ─── Hero / Slider ─────────────────────────────────────────────────── */
.hero { position: relative; height: 100vh; min-height: 600px; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s 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(to top, rgba(10,20,50,.85) 0%, rgba(10,20,50,.55) 50%, rgba(10,20,50,.25) 100%); }
.hero-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; text-align: right; padding: 2rem 5%; color: var(--white); }
.hero-content h1 { color: var(--white); font-size: clamp(2rem,5vw,3.5rem); text-shadow: 0 2px 12px rgba(0,0,0,.3); margin-bottom: .75rem; max-width: 640px; }
.hero-content p  { font-size: clamp(.95rem,2vw,1.15rem); color: rgba(255,255,255,.88); max-width: 520px; margin-bottom: 2rem; }
.hero-dots { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); display: flex; gap: .5rem; }
.hero-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; transition: var(--transition); }
.hero-dots span.active { background: var(--gold); width: 24px; border-radius: 4px; }

/* ─── Search Bar ────────────────────────────────────────────────────── */
.search-bar {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  max-width: 900px; width: 100%;
}
.search-field { flex: 1; min-width: 140px; }
.search-field label { font-size: .75rem; color: var(--gray); font-weight: 600; display: block; margin-bottom: .2rem; }
.search-field select, .search-field input {
  width: 100%; border: none; outline: none; font-size: .9rem;
  color: var(--text); background: transparent; font-family: inherit;
}
.search-divider { width: 1px; height: 36px; background: var(--gray-light); }

@media (max-width: 640px) {
  .search-bar { padding: 0; gap: 0; border-radius: 14px; }
  .search-field { flex: none; width: 100%; padding: .9rem 1.1rem; border-bottom: 1px solid var(--gray-light); }
  .search-field:last-of-type { border-bottom: none; }
  .search-field label { font-size: .7rem; color: var(--navy); font-weight: 700; margin-bottom: .3rem; }
  .search-field select, .search-field input { font-size: .95rem; color: var(--text); }
  .search-bar .btn-gold { margin: .9rem 1.1rem; width: calc(100% - 2.2rem); padding: .75rem; border-radius: 10px; font-size: 1rem; }
  .search-divider { display: none; }
}

/* ─── Stats Bar ─────────────────────────────────────────────────────── */
.stats-bar { background: var(--navy); color: var(--white); padding: 2.5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); text-align: center; gap: 1rem; }
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--gold); }
.stat-label  { font-size: .9rem; color: rgba(255,255,255,.75); margin-top: .25rem; }

/* ─── Property Card ─────────────────────────────────────────────────── */
.property-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.property-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(15,32,68,.15); }
.property-card-img { position: relative; height: 220px; overflow: hidden; }
.property-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.property-card:hover .property-card-img img { transform: scale(1.04); }
.property-card-badges { position: absolute; top: .75rem; right: .75rem; display: flex; flex-direction: column; gap: .35rem; }
.property-card-fav { position: absolute; top: .75rem; left: .75rem; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.9); display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; font-size: 1rem; transition: var(--transition); }
.property-card-fav:hover { background: var(--white); transform: scale(1.1); }
.property-card-body { padding: 1.1rem 1.25rem; }
.property-card-title { font-size: 1rem; font-weight: 700; margin-bottom: .3rem; }
.property-card-location { color: var(--gray); font-size: .83rem; display: flex; align-items: center; gap: .3rem; margin-bottom: .75rem; }
.property-card-meta { display: flex; gap: 1rem; color: var(--gray); font-size: .8rem; margin-bottom: .85rem; }
.property-card-meta span { display: flex; align-items: center; gap: .25rem; }
.property-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: .75rem; border-top: 1px solid var(--gray-light); }
.property-price { font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.property-price small { font-size: .72rem; font-weight: 400; color: var(--gray); }
.property-rating { display: flex; align-items: center; gap: .3rem; font-size: .82rem; color: var(--gold); }

/* ─── Village Cards ─────────────────────────────────────────────────── */
.village-card { position: relative; border-radius: var(--radius); overflow: hidden; height: 200px; cursor: pointer; }
.village-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.village-card:hover img { transform: scale(1.06); }
.village-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,32,68,.85) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 1rem; color: var(--white); }
.village-card-name { font-weight: 700; font-size: 1rem; }
.village-card-count { font-size: .8rem; color: rgba(255,255,255,.75); }

/* ─── Testimonials ──────────────────────────────────────────────────── */
.testimonial-card {
  background: var(--white); border-radius: var(--radius); padding: 1.75rem;
  box-shadow: var(--shadow); border: 1px solid var(--gray-light);
}
.testimonial-stars { color: var(--gold); font-size: 1rem; margin-bottom: .75rem; }
.testimonial-text  { color: var(--gray); font-size: .92rem; line-height: 1.8; margin-bottom: 1rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.testimonial-name   { font-weight: 700; font-size: .9rem; }
.testimonial-location { font-size: .78rem; color: var(--gray); }

/* ─── FAQ Accordion ─────────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--gray-light); }
.faq-question {
  width: 100%; text-align: right; background: none; border: none;
  padding: 1.1rem 0; font-size: .95rem; font-weight: 600; color: var(--text);
  cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: inherit;
}
.faq-question:hover { color: var(--navy); }
.faq-icon { font-size: 1.2rem; color: var(--gold); transition: transform var(--transition); flex-shrink: 0; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; }
.faq-answer-inner { padding-bottom: 1rem; color: var(--gray); font-size: .9rem; line-height: 1.8; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-item.open .faq-answer { max-height: 500px; }

/* ─── Forms ─────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.1rem; }
.form-label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: .4rem; }
.form-control {
  width: 100%; padding: .7rem 1rem; border: 1.5px solid var(--gray-light);
  border-radius: var(--radius); font-size: .9rem; color: var(--text);
  background: var(--white); font-family: inherit; outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(15,32,68,.08); }
.form-control::placeholder { color: #aaa; }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { cursor: pointer; }
.form-error { color: #dc2626; font-size: .8rem; margin-top: .3rem; }
.form-success { background: #dcfce7; color: #166534; padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1rem; font-size: .9rem; }

/* ─── Page Hero (inner pages) ───────────────────────────────────────── */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); padding: 7rem 0 3rem; color: var(--white); text-align: center; }
.page-hero h1 { color: var(--white); }
.page-hero p  { color: rgba(255,255,255,.75); }
.breadcrumb   { display: flex; align-items: center; justify-content: center; gap: .5rem; font-size: .83rem; color: rgba(255,255,255,.6); margin-bottom: .75rem; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: rgba(255,255,255,.4); }

/* ─── Filter Sidebar ────────────────────────────────────────────────── */
.filter-sidebar { background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); border: 1px solid var(--gray-light); }
.filter-title  { font-size: 1rem; font-weight: 700; padding-bottom: .75rem; border-bottom: 2px solid var(--navy); margin-bottom: 1.25rem; display: flex; align-items: center; justify-content: space-between; }
.filter-reset  { font-size: .8rem; color: var(--gold); cursor: pointer; font-weight: 600; }
.filter-section { margin-bottom: 1.4rem; }
.filter-label  { font-size: .8rem; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; margin-bottom: .6rem; display: block; }

/* Range Slider */
.range-slider { position: relative; padding: .5rem 0; }
.range-slider input[type=range] { width: 100%; accent-color: var(--navy); }
.range-values { display: flex; justify-content: space-between; font-size: .8rem; color: var(--gray); margin-top: .3rem; }

/* Checkbox filters */
.filter-checkbox { display: flex; align-items: center; gap: .6rem; padding: .3rem 0; cursor: pointer; font-size: .88rem; }
.filter-checkbox input { accent-color: var(--navy); width: 16px; height: 16px; cursor: pointer; }

/* Type pills */
.type-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.type-pill { padding: .35rem .9rem; border: 1.5px solid var(--gray-light); border-radius: 50px; font-size: .82rem; cursor: pointer; transition: var(--transition); }
.type-pill.active, .type-pill:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }

/* ─── Property Detail ───────────────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: 1.8fr 1fr; grid-template-rows: 1fr 1fr; gap: .5rem; height: 480px; border-radius: var(--radius); overflow: hidden; }
.gallery-main { grid-row: span 2; }
.gallery-main img, .gallery-thumb img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: filter .2s; }
.gallery-thumb img:hover, .gallery-main img:hover { filter: brightness(.85); }
.gallery-more { position: relative; }
.gallery-more-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.55); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1rem; font-weight: 700; cursor: pointer; }

.detail-meta { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1rem 0; }
.detail-meta-item { display: flex; align-items: center; gap: .5rem; background: var(--off-white); padding: .5rem 1rem; border-radius: 8px; font-size: .88rem; font-weight: 600; }
.detail-meta-item span:first-child { color: var(--gold); font-size: 1.1rem; }

.amenity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .75rem; }
.amenity-item { display: flex; align-items: center; gap: .6rem; padding: .65rem 1rem; background: var(--off-white); border-radius: 8px; font-size: .85rem; }
.amenity-item span:first-child { color: var(--gold); }

/* Booking Card */
.booking-card { background: var(--white); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); border: 1px solid var(--gray-light); position: sticky; top: 90px; }
.booking-price { font-size: 2rem; font-weight: 800; color: var(--navy); }
.booking-price small { font-size: .85rem; font-weight: 400; color: var(--gray); }
.booking-summary { background: var(--off-white); border-radius: 8px; padding: 1rem; margin: 1rem 0; }
.booking-summary-row { display: flex; justify-content: space-between; font-size: .88rem; padding: .3rem 0; }
.booking-summary-row.total { font-weight: 700; border-top: 1px solid var(--gray-light); padding-top: .6rem; margin-top: .3rem; font-size: .95rem; }

/* Calendar */
.calendar-wrap { border: 1px solid var(--gray-light); border-radius: var(--radius); overflow: hidden; }
.calendar-header { background: var(--navy); color: var(--white); padding: .75rem 1rem; display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: .9rem; }
.calendar-header button { background: none; border: none; color: var(--white); cursor: pointer; font-size: 1rem; padding: .25rem .5rem; border-radius: 4px; transition: background .2s; }
.calendar-header button:hover { background: rgba(255,255,255,.2); }
.calendar-days-header { display: grid; grid-template-columns: repeat(7,1fr); text-align: center; background: var(--off-white); }
.calendar-days-header span { padding: .4rem; font-size: .75rem; font-weight: 700; color: var(--gray); }
.calendar-days { display: grid; grid-template-columns: repeat(7,1fr); }
.calendar-day { padding: .5rem; text-align: center; font-size: .82rem; cursor: pointer; border-radius: 4px; margin: 2px; transition: var(--transition); }
.calendar-day:hover:not(.blocked):not(.past) { background: var(--navy); color: var(--white); }
.calendar-day.blocked { background: #fee2e2; color: #991b1b; cursor: not-allowed; text-decoration: line-through; }
.calendar-day.past { color: #d1d5db; cursor: default; }
.calendar-day.today { font-weight: 700; color: var(--gold); }
.calendar-day.selected { background: var(--navy); color: var(--white); }
.calendar-day.in-range { background: #dbeafe; }
.calendar-legend { display: flex; gap: 1rem; font-size: .78rem; padding: .75rem 1rem; border-top: 1px solid var(--gray-light); flex-wrap: wrap; }
.calendar-legend span { display: flex; align-items: center; gap: .4rem; }
.legend-dot { width: 12px; height: 12px; border-radius: 3px; }

/* ─── Contact Page ──────────────────────────────────────────────────── */
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-info-icon { width: 44px; height: 44px; background: var(--navy); color: var(--white); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-info-label { font-size: .8rem; color: var(--gray); margin-bottom: .2rem; }
.contact-info-value { font-weight: 600; font-size: .95rem; }

/* ─── Footer ────────────────────────────────────────────────────────── */
.footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 3rem; margin-bottom: 3rem; }
.footer-col { display: flex; flex-direction: column; }
.footer-logo { font-size: 1.4rem; font-weight: 800; color: var(--white); margin-bottom: .75rem; }
.footer-logo span { color: var(--gold); }
.footer-desc { font-size: .88rem; line-height: 1.8; color: rgba(255,255,255,.65); margin-bottom: 1.25rem; }
.footer-col-title { color: var(--gold); font-size: .78rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 1.1rem; padding-bottom: .6rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .55rem; }
.footer-links li a { font-size: .88rem; color: rgba(255,255,255,.7); transition: color var(--transition); display: flex; align-items: center; gap: .4rem; }
.footer-links li a::before { content: '›'; color: var(--gold); font-size: 1rem; }
.footer-links li a:hover { color: var(--white); }
.footer-social { display: flex; gap: .6rem; }
.footer-social-icon { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform .2s, opacity .2s; opacity: .9; flex-shrink: 0; }
.footer-social-icon:hover { opacity: 1; transform: translateY(-2px); }
.footer-contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .85rem; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: .65rem; font-size: .88rem; color: rgba(255,255,255,.7); }
.footer-contact-icon { font-size: 1.05rem; line-height: 1; flex-shrink: 0; margin-top: .05rem; }
.footer-contact-list a { color: rgba(255,255,255,.7); transition: color var(--transition); }
.footer-contact-list a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.25rem 0; display: flex; align-items: center; justify-content: space-between; font-size: .82rem; color: rgba(255,255,255,.45); }
.footer-bottom-links { display: flex; gap: .75rem; align-items: center; }
.footer-bottom-links a { color: rgba(255,255,255,.45); transition: color var(--transition); font-size: .82rem; }
.footer-bottom-links a:hover { color: var(--gold); }
.footer-bottom-links span { color: rgba(255,255,255,.25); }
/* ─── Navbar social icons ──────────────────────────────────────────── */
.navbar-social-icons { display: flex; gap: .35rem; align-items: center; margin-left: .75rem; }
.nav-social-link { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; transition: background var(--transition), transform .15s; color: rgba(255,255,255,.85); }
.nav-social-link:hover { background: var(--gold); color: var(--white); transform: translateY(-1px); }
.navbar.scrolled .nav-social-link { background: rgba(15,32,68,.1); color: var(--navy); }
.navbar.scrolled .nav-social-link:hover { background: var(--gold); color: var(--white); }

/* ─── Alerts ────────────────────────────────────────────────────────── */
.alert { padding: .9rem 1.25rem; border-radius: var(--radius); font-size: .88rem; margin-bottom: 1rem; }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* ─── No Image Placeholder ──────────────────────────────────────────── */
.no-img { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.4); font-size: 2rem; }

/* ─── Property Detail Grid ──────────────────────────────────────────── */
.property-detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 2.5rem; align-items: start; }

/* ─── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .navbar-social-icons { display: none; }
  .property-detail-grid { grid-template-columns: 1fr 300px; gap: 1.5rem; }
}

@media (max-width: 1024px) {
  .navbar-nav, .navbar-cta { display: none; }
  .navbar-toggle { display: block; }
  /* lang toggle stays visible on mobile */
  .lang-toggle-btn { display: inline-flex; }
  .navbar-nav.open { display: flex; flex-direction: column; align-items: stretch; position: fixed; top: 70px; right: 0; left: 0; background: var(--white); padding: 1rem; border-top: 1px solid rgba(0,0,0,.07); z-index: 999; box-shadow: 0 8px 24px rgba(0,0,0,.1); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; height: auto; grid-template-rows: 260px; }
  .gallery-grid > *:not(:first-child) { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: .75rem; text-align: center; }
  .search-bar { flex-direction: column; }
  .search-divider { display: none; }
  /* Property detail: booking card comes first on mobile */
  .property-detail-grid { grid-template-columns: 1fr; }
  .property-detail-grid > div:last-child { order: -1; }
}

@media (max-width: 640px) {
  .search-bar { padding: 0; gap: 0; border-radius: 14px; }
  .search-field { flex: none; width: 100%; padding: .85rem 1.1rem; border-bottom: 1px solid var(--gray-light); }
  .search-field:last-of-type { border-bottom: none; }
  .search-field label { font-size: .7rem; color: var(--navy); font-weight: 700; margin-bottom: .3rem; }
  .search-field select, .search-field input { font-size: .95rem; }
  .search-bar .btn-gold { margin: .85rem 1.1rem; width: calc(100% - 2.2rem); padding: .75rem; border-radius: 10px; font-size: 1rem; }
  .search-divider { display: none; }
}

@media (max-width: 768px) {
  .booking-card { position: static; margin-bottom: 1.5rem; }
  .amenity-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}

@media (max-width: 480px) {
  .section { padding: 3rem 0; }
  h1 { font-size: 1.6rem; }
  .detail-meta { flex-wrap: wrap; gap: .5rem; }
  .booking-card { border-radius: 12px; padding: 1.25rem; }
  .amenity-grid { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════════
   HOMEPAGE V2 — NEW DESIGN COMPONENTS
══════════════════════════════════════════════════ */

/* Lang toggle always visible */
.lang-toggle-btn { display: inline-flex; }

/* ── Navbar desktop: compact at 1024–1200px ── */
@media (min-width: 1024px) and (max-width: 1200px) {
  .navbar-nav a { padding: .45rem .6rem; font-size: .82rem; }
  .navbar-logo-text { font-size: 1.05rem; }
  .navbar-cta .btn { padding: .45rem 1rem; font-size: .8rem; }
}

/* Navbar CTA – pill shape + navy */
.navbar-cta .btn-gold {
  background: var(--navy);
  border-color: var(--navy);
  border-radius: 50px;
  padding: .5rem 1.4rem;
}
.navbar-cta .btn-gold:hover { background: var(--navy-light); border-color: var(--navy-light); }

/* Mobile nav links color fix */
.navbar-nav.open a { color: var(--gray); }
.navbar-nav.open a.active { color: var(--navy); font-weight: 700; }

/* ── Search Bar V2 — mobile first ── */
.search-bar-v2 {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  box-shadow: 0 8px 32px rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.45);
  overflow: hidden;
}
.search-field-v2 {
  width: 100%;
  padding: .9rem 1.25rem;
  border-bottom: 1px solid var(--gray-light);
}
.search-field-v2 label {
  display: flex; align-items: center; gap: .35rem;
  font-size: .7rem; color: var(--gray); font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase; margin-bottom: .3rem;
}
.search-icon { font-size: 1rem; vertical-align: middle; }
.search-field-v2 select,
.search-field-v2 input {
  width: 100%; border: none; outline: none;
  font-size: .95rem; color: var(--text);
  background: transparent; font-family: inherit;
}
.search-bar-v2 .search-divider { display: none; }
.btn-search {
  background: var(--gold); color: var(--white);
  border: none; border-radius: 0;
  padding: .95rem 2rem; font-size: 1rem;
  font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: background var(--transition);
  font-family: inherit; width: 100%;
  display: flex; align-items: center; justify-content: center; gap: .4rem;
}
.btn-search:hover { background: var(--gold-light); }

/* tablet & up: horizontal row */
@media (min-width: 640px) {
  .search-bar-v2 {
    flex-direction: row;
    padding: 1rem 1.25rem;
    border-radius: 24px;
    max-width: 860px;
    align-items: center;
    gap: .75rem;
    overflow: visible;
  }
  .search-field-v2 {
    flex: 1; min-width: 120px;
    padding: 0; border-bottom: none;
  }
  .search-bar-v2 .search-divider { display: block; }
  .btn-search {
    width: auto; border-radius: 16px;
    padding: .8rem 1.8rem; font-size: .95rem;
    flex-shrink: 0;
  }
}

/* ── Unit Type Cards ── */
.unit-type-card {
  position: relative; border-radius: 20px;
  overflow: hidden; height: 240px;
  cursor: pointer; display: block;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.unit-type-card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(0,0,0,.22); }
.unit-type-bg {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.unit-type-icon { font-size: 4.5rem; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.unit-type-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,22,50,.88) 0%, transparent 55%);
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 1.5rem;
  color: var(--white);
}
.unit-type-overlay h3 { color: var(--white); font-size: 1.25rem; margin-bottom: .2rem; }
.unit-type-overlay p  { color: rgba(255,255,255,.75); font-size: .83rem; }

/* ── Property Card V2 ── */
.property-card { border-radius: 20px; }
.property-card-img { height: 240px; }

.property-card-location-badge {
  position: absolute; top: .85rem; right: .85rem;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
  padding: .3rem .9rem; border-radius: 50px;
  font-size: .78rem; font-weight: 700; color: var(--navy);
}
.property-card-top {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: .5rem; margin-bottom: .6rem;
}
.property-card-price { text-align: left; flex-shrink: 0; }
.price-amount { font-size: 1.05rem; font-weight: 800; color: var(--gold); display: block; }
.price-period { font-size: .72rem; color: var(--gray); }
.property-card-amenities {
  display: flex; flex-wrap: wrap; gap: 1.1rem;
  color: var(--gray); font-size: .82rem; margin-bottom: 1rem;
}
.amenity { display: flex; align-items: center; gap: .3rem; }
.property-card-btn {
  width: 100%; padding: .7rem;
  background: var(--off-white); color: var(--navy);
  border: none; border-radius: 10px;
  font-size: .9rem; font-weight: 600; cursor: pointer;
  transition: background var(--transition), color var(--transition);
  font-family: inherit;
}
.property-card:hover .property-card-btn { background: var(--navy); color: var(--white); }

/* ── Text Link Button ── */
.btn-text-link {
  color: var(--navy); font-weight: 700; font-size: .92rem;
  display: flex; align-items: center; gap: .35rem;
  transition: gap var(--transition), color var(--transition);
}
.btn-text-link:hover { gap: .65rem; color: var(--gold); }

/* ── Stat Item wrapper ── */
.stat-item { display: flex; flex-direction: column; align-items: center; }

/* ══════════════════════════════════════════════════
   VILLAGES SECTION
══════════════════════════════════════════════════ */
.villages-section { padding: 4rem 0; background: var(--white); }

/* Masonry-style grid: mobile-first */
.villages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media(min-width:480px) {
  .villages-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(min-width:768px) {
  /* 3 cols with first item spanning 2 rows */
  .villages-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
  }
  .village-card-v2:first-child { grid-row: span 2; }
}
@media(min-width:1024px) {
  .villages-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
  }
  .village-card-v2:first-child { grid-column: span 1; grid-row: span 2; }
}

/* Card base */
.village-card-v2 {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  cursor: pointer;
  min-height: 200px;
  transition: transform .35s ease, box-shadow .35s ease;
}
.village-card-v2:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 20px 50px rgba(0,0,0,.22);
}

/* Background image or gradient */
.village-card-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.village-card-v2:hover .village-card-img { transform: scale(1.08); }

/* Gradient overlay */
.village-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,15,40,.85) 0%, rgba(5,15,40,.35) 50%, transparent 100%);
  transition: background .35s;
}
.village-card-v2:hover .village-card-overlay {
  background: linear-gradient(to top, rgba(5,15,40,.92) 0%, rgba(5,15,40,.45) 55%, rgba(5,15,40,.05) 100%);
}

/* Top badge */
.village-card-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.9);
  padding: .3rem .85rem;
  border-radius: 50px;
  font-size: .72rem; font-weight: 700;
  display: flex; align-items: center; gap: .3rem;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .3s, transform .3s;
}
.village-card-v2:hover .village-card-badge {
  opacity: 1; transform: translateY(0);
}
.village-card-badge .material-symbols-outlined { font-size: .85rem; }

/* Bottom info */
.village-card-info {
  position: absolute; bottom: 0; right: 0; left: 0;
  padding: 1.25rem 1.25rem 1.1rem;
  transform: translateY(4px);
  transition: transform .3s ease;
}
.village-card-v2:hover .village-card-info { transform: translateY(0); }

.village-card-name {
  color: #fff;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 800;
  margin-bottom: .3rem;
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
  line-height: 1.2;
}
.village-card-count {
  color: rgba(255,255,255,.78);
  font-size: .8rem;
  display: flex; align-items: center; gap: .3rem;
}
.village-card-count .material-symbols-outlined { font-size: .95rem; color: var(--gold); }

/* LTR overrides */
[dir="ltr"] .village-card-badge { right: auto; left: 1rem; }
[dir="ltr"] .village-card-info  { text-align: left; }
[dir="ltr"] .villages-grid .village-card-v2:first-child { grid-column: span 1; }

/* Mobile */
@media(max-width:479px) {
  .villages-section { padding: 2.5rem 0; }
  .village-card-v2  { min-height: 180px; }
}

/* ── Testimonial Slider V2 ── */
.testimonial-slider-wrap { max-width: 760px; margin: 0 auto; }
.testimonial-slide { display: none; }
.testimonial-slide.active { display: block; }
.testimonial-card-v2 {
  background: var(--white); border-radius: 32px;
  padding: 3.5rem 3rem; text-align: center;
  box-shadow: 0 8px 40px rgba(15,32,68,.09);
  border: 1px solid var(--gray-light);
  position: relative; overflow: hidden;
}
.testimonial-quote {
  font-size: 6rem; color: var(--gold); opacity: .15;
  position: absolute; top: .5rem; left: 50%;
  transform: translateX(-50%); line-height: 1;
  font-family: Georgia, serif; pointer-events: none;
}
.testimonial-card-v2 .testimonial-text {
  font-size: 1rem; line-height: 1.9; color: var(--text);
  margin-bottom: 2rem; font-style: italic;
  position: relative; z-index: 1;
}
.testimonial-card-v2 .testimonial-author {
  flex-direction: column; gap: .5rem; justify-content: center;
}
.testimonial-card-v2 .testimonial-avatar {
  width: 56px; height: 56px; font-size: 1.2rem;
  border: 2px solid var(--gold); margin: 0 auto;
}
.testimonial-card-v2 .testimonial-name  { font-size: 1rem; }
.testimonial-card-v2 .testimonial-location { font-size: .83rem; }

/* Slider dots */
.slider-dots {
  display: flex; justify-content: center; gap: .5rem; margin-top: 1.75rem;
}
.slider-dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: none; background: var(--gray-light);
  cursor: pointer; transition: all var(--transition); padding: 0;
}
.slider-dot.active { background: var(--gold); width: 28px; border-radius: 5px; }

/* ══════════════════════════════════════════════════
   HERO VIDEO
══════════════════════════════════════════════════ */
.hero-video-wrap {
  position: absolute; inset: 0; overflow: hidden;
}
.hero-video {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}

/* ══════════════════════════════════════════════════
   FEATURED SECTION  (matches reference card design)
══════════════════════════════════════════════════ */
.featured-section {
  background: #f3f4f5;
  padding: 5rem 0;
}
.featured-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; flex-wrap: wrap; gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Featured grid: mobile-first — always 3 cols on desktop */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
}
@media (min-width: 1024px) {
  .featured-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

/* ── Property Card ── */
.prop-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(15,32,68,.08);
  transition: box-shadow .3s ease, transform .3s ease;
}
.prop-card:hover {
  box-shadow: 0 20px 56px rgba(15,32,68,.18);
  transform: translateY(-5px);
}

/* image — taller for bigger feel */
.prop-card-img {
  position: relative; height: 300px; overflow: hidden;
}
.prop-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s ease;
}
.prop-card:hover .prop-card-img img { transform: scale(1.06); }

/* badges */
.prop-card-badges {
  position: absolute; top: 1rem; left: 1rem;
  display: flex; flex-direction: column; gap: .35rem;
}

/* location badge */
.prop-location-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: .35rem 1.1rem; border-radius: 50px;
  font-size: .82rem; font-weight: 700; color: var(--navy);
  border: 1px solid rgba(255,255,255,.45);
}

/* body */
.prop-card-body { padding: 1.6rem 1.75rem; }

.prop-card-top {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: .75rem; margin-bottom: 1.1rem;
}
.prop-card-title {
  font-size: 1.15rem; font-weight: 700;
  color: var(--navy); line-height: 1.4;
}
.prop-card-price { flex-shrink: 0; text-align: left; }
.prop-price-num {
  display: block; font-size: 1.2rem;
  font-weight: 800; color: var(--gold);
}
.prop-price-per { font-size: .75rem; color: var(--gray); }

/* amenities */
.prop-card-amenities {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 1.25rem; color: var(--gray); font-size: .88rem;
  margin-bottom: 1.4rem;
}
.prop-amenity {
  display: flex; align-items: center; gap: .35rem;
}
.prop-amenity .material-symbols-outlined {
  font-size: 1.25rem; color: var(--navy);
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

/* detail button */
.prop-card-btn {
  width: 100%; padding: .9rem;
  background: #e1e3e4; color: var(--navy);
  border: none; border-radius: 14px;
  font-size: .95rem; font-weight: 700; cursor: pointer;
  transition: background var(--transition), color var(--transition);
  font-family: inherit;
}
.prop-card:hover .prop-card-btn {
  background: var(--navy); color: var(--white);
}

/* ══════════════════════════════════════════════════
   MOBILE-FIRST RESPONSIVE  (base = phone)
══════════════════════════════════════════════════ */

/* ── Hero – mobile ── */
.hero { min-height: 100svh; min-height: 100vh; }

.hero-content {
  padding: 1.5rem 1.25rem 2.5rem;
  justify-content: flex-end;      /* push content to bottom on mobile */
  align-items: flex-start;
  text-align: right;
}
.hero-content h1 { font-size: clamp(1.55rem, 6vw, 3.5rem); margin-bottom: .6rem; }
.hero-content p  { font-size: .92rem; margin-bottom: 1.25rem; max-width: 100%; }

/* ── Grids – mobile ── */
.grid-3 { grid-template-columns: 1fr; }

.stats-grid { grid-template-columns: repeat(3, 1fr); }
/* keep 3-col on mobile but shrink numbers */
.stat-number { font-size: 1.7rem; }
.stat-label  { font-size: .78rem; }

/* ── Sections – mobile ── */
.section    { padding: 2.5rem 0; }
.section-sm { padding: 2rem 0; }

/* ── Unit types – mobile ── */
.unit-type-card { height: 180px; }
.unit-type-overlay h3 { font-size: 1.05rem; }

/* ── Featured – mobile ── */
.featured-section { padding: 2.5rem 0; }
.featured-header  { flex-direction: column; align-items: flex-start; gap: .5rem; }

/* ── Testimonial – mobile ── */
.testimonial-card-v2 { padding: 2rem 1.25rem; border-radius: 20px; }
.testimonial-quote   { font-size: 3.5rem; }

/* ── Footer – mobile ── */
.footer-grid   { grid-template-columns: 1fr; gap: 2rem; }
.footer-bottom { flex-direction: column; gap: .75rem; text-align: center; }

/* ── Prop card – mobile ── */
.prop-card-img   { height: 220px; }
.prop-card-body  { padding: 1.25rem; }
.prop-card-title { font-size: 1rem; }
.prop-price-num  { font-size: 1rem; }
.prop-card-amenities { gap: .85rem; font-size: .82rem; margin-bottom: 1.1rem; }
.prop-card-btn   { padding: .75rem; font-size: .88rem; border-radius: 12px; }

/* ══════════════════════════════════════════════════
   TABLET  ≥ 640px
══════════════════════════════════════════════════ */
@media (min-width: 640px) {
  .hero-content {
    padding: 2rem 2.5rem;
    justify-content: center;
  }
  .hero-content p { max-width: 520px; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }

  .stat-number { font-size: 2.5rem; }
  .stat-label  { font-size: .9rem; }

  .section    { padding: 4rem 0; }
  .section-sm { padding: 2.5rem 0; }

  .unit-type-card { height: 220px; }

  .featured-section { padding: 4rem 0; }
  .featured-header  { flex-direction: row; align-items: flex-end; }

  .testimonial-card-v2 { padding: 3rem 2rem; }
  .testimonial-quote   { font-size: 5rem; }

  .prop-card-img   { height: 260px; }
  .prop-card-body  { padding: 1.5rem; }
  .prop-card-title { font-size: 1.1rem; }
  .prop-price-num  { font-size: 1.15rem; }
}

/* ══════════════════════════════════════════════════
   DESKTOP  ≥ 1024px
══════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  .hero-content {
    padding: 2rem 5%;
    justify-content: center;
  }

  .grid-3 { grid-template-columns: repeat(3, 1fr); }

  .section    { padding: 5rem 0; }
  .section-sm { padding: 3rem 0; }

  .unit-type-card { height: 240px; }

  .featured-section { padding: 5rem 0; }

  .footer-grid   { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 3rem; }
  .footer-bottom { flex-direction: row; }

  .prop-card-img   { height: 300px; }
  .prop-card-body  { padding: 1.6rem 1.75rem; }
  .prop-card-title { font-size: 1.15rem; }
  .prop-price-num  { font-size: 1.2rem; }
  .prop-card-btn   { padding: .9rem; font-size: .95rem; border-radius: 14px; }
}

/* ── Navbar mobile ── */
@media (max-width: 1024px) {
  .navbar-nav.open a       { color: var(--gray); }
  .navbar-nav.open a.active{ color: var(--navy); font-weight: 700; }
}

/* ══════════════════════════════════════════════════
   PROPERTIES LISTING PAGE
══════════════════════════════════════════════════ */

/* Layout: sidebar + results */
.properties-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .properties-layout { grid-template-columns: 280px 1fr; gap: 2rem; }
}
.filter-panel-wrap { order: 2; }
@media (min-width: 1024px) {
  .filter-panel-wrap { order: 1; position: sticky; top: 82px; }
}
.results-wrap { order: 1; }
@media (min-width: 1024px) { .results-wrap { order: 2; } }

/* Filter Panel */
.filter-panel {
  background: var(--white); border-radius: 24px;
  padding: 1.75rem; box-shadow: 0 4px 24px rgba(0,33,85,.05);
  border: 1px solid rgba(0,0,0,.05);
}
.filter-panel-title {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 1.5rem;
}
.filter-panel-title h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); }
.filter-reset-link { font-size: .78rem; font-weight: 700; color: var(--navy); }
.filter-reset-link:hover { color: var(--gold); }

.filter-group { margin-bottom: 1.75rem; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group-label {
  display: block; font-size: .68rem; font-weight: 700;
  color: var(--gray); text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: .85rem;
}

/* Village checkboxes */
.filter-check-list {
  max-height: 200px; overflow-y: auto;
  display: flex; flex-direction: column; gap: .55rem;
  padding-left: .2rem;
}
.filter-check-list::-webkit-scrollbar { width: 4px; }
.filter-check-list::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 10px; }
.filter-check-list::-webkit-scrollbar-track { background: transparent; }
.filter-check-item {
  display: flex; align-items: center; gap: .7rem;
  cursor: pointer; font-size: .9rem; color: var(--text);
  transition: color var(--transition);
}
.filter-check-item:hover { color: var(--navy); }
.filter-check-item input[type=checkbox] {
  width: 17px; height: 17px; border-radius: 4px;
  border: 2px solid var(--gray-light);
  accent-color: var(--navy); cursor: pointer; flex-shrink: 0;
}
.filter-check-count { font-size: .72rem; color: var(--gray); margin-right: auto; }

/* Filter pills */
.filter-pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.filter-pill {
  padding: .38rem .95rem; border-radius: 50px;
  font-size: .78rem; font-weight: 700;
  border: 2px solid var(--gray-light);
  background: transparent; color: var(--gray);
  cursor: pointer; transition: all .2s; font-family: inherit;
}
.filter-pill:hover { border-color: var(--navy); color: var(--navy); }
.filter-pill.active { border-color: var(--navy); background: var(--navy); color: var(--white); }

/* Price inputs */
.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.price-input {
  border: 1.5px solid var(--gray-light); border-radius: 10px;
  padding: .55rem .8rem; font-size: .88rem; color: var(--text);
  font-family: inherit; outline: none; width: 100%;
  transition: border-color .2s;
}
.price-input:focus { border-color: var(--navy); }
.price-input::placeholder { color: #bbb; }

/* Map card in sidebar */
.map-card {
  position: relative; border-radius: 24px; overflow: hidden;
  aspect-ratio: 1/1; display: none;
}
@media (min-width: 1024px) { .map-card { display: block; } }
.map-card-overlay {
  position: absolute; inset: 0;
  background: rgba(0,29,61,.45);
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 1.5rem;
}

/* Results header */
.results-header {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; gap: .75rem;
}
.results-count { font-size: .9rem; color: var(--gray); }
.results-count strong { color: var(--navy); font-weight: 700; }

/* View toggle */
.view-toggle {
  display: flex; align-items: center;
  background: var(--white); padding: .3rem;
  border-radius: 50px; box-shadow: 0 1px 4px rgba(0,0,0,.08);
  border: 1px solid var(--gray-light);
}
.view-btn {
  display: flex; align-items: center; gap: .35rem;
  padding: .4rem 1rem; border-radius: 50px;
  font-size: .75rem; font-weight: 700;
  border: none; cursor: pointer; font-family: inherit;
  transition: background .2s, color .2s;
  color: var(--gray); background: transparent;
}
.view-btn.active { background: var(--navy); color: var(--white); }
.view-btn .material-symbols-outlined { font-size: 1.1rem; }

/* Listing results grid */
.listing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 500px) {
  .listing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1280px) {
  .listing-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Listing Card (Airbnb style) ── */
.listing-card {
  display: block; text-decoration: none; color: inherit;
  cursor: pointer;
}
.listing-card-img-wrap {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: .9rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.listing-card-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s ease;
}
.listing-card:hover .listing-card-img-wrap img { transform: scale(1.05); }

/* Badges */
.listing-card-badges {
  position: absolute; top: .85rem; right: .85rem;
  display: flex; flex-wrap: wrap; gap: .3rem; z-index: 1;
}
.lc-badge-glass {
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.35);
  padding: .22rem .75rem; border-radius: 50px;
  font-size: .68rem; font-weight: 700; color: var(--navy);
}
.lc-badge-featured {
  background: var(--gold); color: var(--white);
  padding: .22rem .75rem; border-radius: 50px;
  font-size: .68rem; font-weight: 700;
}

/* Quick view overlay (slides up on hover) */
.listing-card-quick {
  position: absolute; bottom: .85rem; left: .85rem; right: .85rem;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 14px; padding: .85rem;
  transform: translateY(8px); opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
  z-index: 2;
}
.listing-card:hover .listing-card-quick {
  transform: translateY(0); opacity: 1;
}
.listing-card-quick-btn {
  width: 100%; background: var(--navy); color: var(--white);
  border: none; border-radius: 10px; padding: .65rem;
  font-size: .82rem; font-weight: 700; cursor: pointer;
  font-family: inherit; transition: background .2s;
}
.listing-card-quick-btn:hover { background: var(--navy-light); }

/* Card info below image */
.listing-card-body { padding: 0; }
.listing-card-top {
  display: flex; justify-content: space-between;
  align-items: flex-start; margin-bottom: .2rem; gap: .5rem;
}
.listing-card-title {
  font-size: .95rem; font-weight: 700; color: var(--navy); line-height: 1.35;
}
.listing-card-rating {
  display: flex; align-items: center; gap: .15rem;
  font-size: .78rem; font-weight: 700; color: var(--text); flex-shrink: 0;
}
.listing-card-rating .material-symbols-outlined { font-size: .9rem; color: var(--gold); }
.listing-card-location { font-size: .82rem; color: var(--gray); margin-bottom: .3rem; }
.listing-card-price { font-size: .95rem; font-weight: 800; color: var(--navy); }
.listing-card-price span { font-size: .78rem; font-weight: 400; color: var(--gray); }

/* ── Price Range Filter ── */
.price-range-wrap {
  display: flex; flex-direction: column; gap: .6rem;
  margin-bottom: .85rem;
}
.price-field-group { display: flex; flex-direction: column; gap: .35rem; }
.price-field-label {
  font-size: .68rem; font-weight: 700; color: var(--gray);
  text-transform: uppercase; letter-spacing: .8px;
}
.price-field {
  display: flex; align-items: center; gap: .5rem;
  background: var(--white);
  border: 1.5px solid var(--gray-light);
  border-radius: 14px; padding: .8rem 1.1rem;
  transition: border-color .2s, box-shadow .2s;
}
.price-field:focus-within {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(15,32,68,.08);
}
.price-field input {
  width: 100%; border: none; outline: none;
  background: transparent; font-size: 1rem; font-weight: 600;
  color: var(--text); font-family: inherit; min-width: 0;
}
.price-field input::placeholder { color: #c8cbd0; font-weight: 400; }
.price-field-unit {
  font-size: .8rem; color: var(--gray); flex-shrink: 0;
  font-weight: 700; white-space: nowrap;
}
.price-range-arrow { display: none; }

/* Quick price presets */
.price-presets {
  display: flex; flex-wrap: wrap; gap: .35rem;
}
.price-preset {
  padding: .28rem .72rem; border-radius: 50px;
  font-size: .72rem; font-weight: 700;
  border: 1.5px solid var(--gray-light);
  background: transparent; color: var(--gray);
  cursor: pointer; transition: all .18s; font-family: inherit;
}
.price-preset:hover { border-color: var(--navy); color: var(--navy); }
.price-preset.active { border-color: var(--navy); background: var(--navy); color: var(--white); }

/* ── Rooms Stepper ── */
.rooms-stepper {
  display: flex; align-items: center; gap: .75rem;
  background: var(--off-white); border: 1.5px solid var(--gray-light);
  border-radius: 16px; padding: .65rem 1rem;
  justify-content: space-between;
}
.stepper-btn {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--gray-light);
  background: var(--white); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s; flex-shrink: 0;
}
.stepper-btn:hover:not(:disabled) {
  border-color: var(--navy); background: var(--navy); color: var(--white);
}
.stepper-btn:disabled { opacity: .35; cursor: default; }
.stepper-btn .material-symbols-outlined { font-size: 1.1rem; }
.stepper-display {
  flex: 1; text-align: center;
  font-size: 1.05rem; font-weight: 800; color: var(--navy);
  display: flex; align-items: center; justify-content: center; gap: .3rem;
}
.stepper-unit { font-size: .72rem; font-weight: 600; color: var(--gray); }

/* Map fullscreen overlay */
#mapOverlay {
  position: fixed; inset: 0; z-index: 200;
  background: #f8f9fa; display: none;
  flex-direction: column; align-items: center; justify-content: center;
  padding-top: 70px;
}
#mapOverlay.show { display: flex; }
