:root {
  --primary: #6d28d9;
  --primary-dark: #4c1d95;
  --primary-soft: #f2ebff;
  --accent: #ff7a45;
  --ink: #14213d;
  --muted: #697386;
  --line: #e8eaf0;
  --surface: #ffffff;
  --bg: #f7f8fc;
  --success: #14966d;
  --shadow: 0 18px 50px rgba(31, 27, 58, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "DM Sans", sans-serif; color: var(--ink); background: var(--surface); overflow-x: hidden; }
a { text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }

::selection { background: #d9c7ff; color: var(--primary-dark); }
:focus-visible { outline: 3px solid rgba(109,40,217,.32); outline-offset: 3px; }
.scroll-progress { position: fixed; inset: 0 auto auto 0; width: 0; height: 3px; z-index: 1100; background: linear-gradient(90deg,var(--accent),#b794f6,var(--primary)); box-shadow: 0 1px 8px rgba(109,40,217,.4); }

.custom-navbar { padding: 18px 0; transition: 0.3s ease; z-index: 1030; }
.custom-navbar.scrolled { padding: 10px 0; background: rgba(255,255,255,.96); box-shadow: 0 8px 30px rgba(17,24,39,.08); backdrop-filter: blur(14px); }
.navbar-brand { font-family: "Manrope", sans-serif; font-size: 1.4rem; font-weight: 800; color: #fff; }
.scrolled .navbar-brand { color: var(--ink); }
.brand-accent { color: #c4a5ff; }
.scrolled .brand-accent { color: var(--primary); }
.brand-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.18); color: #fff; }
.scrolled .brand-icon { background: var(--primary-soft); color: var(--primary); }
.nav-link { color: rgba(255,255,255,.86); font-weight: 600; margin: 0 7px; }
.nav-link:hover, .nav-link.active { color: #fff; }
.scrolled .nav-link { color: #4a5568; }
.scrolled .nav-link:hover, .scrolled .nav-link.active { color: var(--primary); }
.login-btn { color: #fff; font-weight: 700; }
.scrolled .login-btn { color: var(--ink); }
.post-btn { background: #fff; color: var(--primary); font-weight: 700; border-radius: 12px; padding: 10px 16px; }
.scrolled .post-btn { background: var(--primary); color: #fff; }

.hero-section { min-height: 780px; display: flex; align-items: center; position: relative; padding: 145px 0 110px; background: url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2000&q=90") center/cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(19,14,44,.88), rgba(72,36,131,.72), rgba(7,33,55,.64)); }
.hero-content { position: relative; z-index: 2; }
.hero-kicker { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-weight: 600; backdrop-filter: blur(10px); }
.hero-content h1 { max-width: 900px; margin: 22px auto 16px; font-family: "Manrope", sans-serif; font-size: clamp(2.7rem, 6vw, 5.6rem); line-height: 1.03; font-weight: 800; color: #fff; letter-spacing: -0.055em; }
.hero-content h1 span { color: #d9c6ff; }
.hero-content > .row p, .hero-content .col-xl-9 > p { color: rgba(255,255,255,.82); font-size: 1.14rem; max-width: 700px; margin: 0 auto; }
.search-panel { max-width: 1080px; margin-top: 38px; text-align: left; background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.6); border-radius: 20px; padding: 18px; box-shadow: 0 24px 70px rgba(0,0,0,.24); backdrop-filter: blur(16px); }
.search-tabs { display: flex; gap: 8px; margin: -2px 0 16px; border-bottom: 1px solid var(--line); }
.search-tab { border: 0; background: transparent; padding: 9px 18px 13px; font-weight: 700; color: var(--muted); position: relative; }
.search-tab.active { color: var(--primary); }
.search-tab.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--primary); }
.form-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: #7a8291; font-weight: 700; }
.input-wrap { position: relative; }
.input-wrap > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--primary); z-index: 2; }
.input-wrap .form-control, .input-wrap .form-select { min-height: 50px; padding-left: 41px; border: 1px solid #dfe3eb; border-radius: 12px; }
.input-wrap .form-control:focus, .input-wrap .form-select:focus { border-color: #9b74e8; box-shadow: 0 0 0 4px rgba(109,40,217,.11); }
.search-btn { min-height: 50px; border-radius: 12px; border: 0; background: var(--primary); color: #fff; font-weight: 800; box-shadow: 0 10px 22px rgba(109,40,217,.24); }
.search-btn:hover { background: var(--primary-dark); color: #fff; }
.popular-searches { display: flex; flex-wrap: wrap; gap: 8px 14px; justify-content: center; margin-top: 20px; color: rgba(255,255,255,.74); font-size: .9rem; }
.popular-searches span { font-weight: 700; color: #fff; }
.popular-searches a { color: rgba(255,255,255,.82); border-bottom: 1px dashed rgba(255,255,255,.5); }

.stats-strip { margin-top: -48px; position: relative; z-index: 4; }
.stats-strip .container { background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 26px 20px; }
.stat-item { padding: 8px 10px; border-right: 1px solid var(--line); }
.stat-item strong { display: block; font-family: "Manrope", sans-serif; font-size: 2rem; color: var(--primary); }
.stat-item strong::after { content: "+"; }
.stat-item span { color: var(--muted); font-size: .92rem; }
.stats-strip .col-lg-3:last-child .stat-item { border-right: 0; }

.section-space { padding: 96px 0; }
.section-heading { max-width: 660px; }
.section-heading.mx-auto { margin-left: auto; margin-right: auto; }
.section-kicker { display: inline-block; margin-bottom: 10px; color: var(--primary); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.section-heading h2 { font-family: "Manrope", sans-serif; font-size: clamp(2rem, 3.6vw, 3.15rem); line-height: 1.12; letter-spacing: -.04em; margin-bottom: 14px; }
.section-heading p { color: var(--muted); margin-bottom: 0; font-size: 1.02rem; }

.property-types { background: #fff; }
.type-card { display: block; height: 100%; padding: 28px 22px; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); transition: .3s ease; }
.type-card:hover { transform: translateY(-7px); border-color: #d8c7f8; box-shadow: 0 18px 40px rgba(43,30,88,.1); }
.type-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; background: var(--primary-soft); color: var(--primary); font-size: 1.55rem; }
.type-card h3 { font-family: "Manrope", sans-serif; font-size: 1.1rem; margin: 20px 0 5px; }
.type-card p { color: var(--muted); margin: 0; }

.featured-section { background: var(--bg); }
.section-heading-wrap { margin-bottom: 24px; }
.property-filter { display: inline-flex; background: #fff; border: 1px solid var(--line); padding: 5px; border-radius: 12px; }
.filter-btn { border: 0; background: transparent; padding: 9px 15px; border-radius: 9px; color: var(--muted); font-weight: 700; }
.filter-btn.active { background: var(--primary); color: #fff; }
.filter-result-count { margin: 8px 5px 0 auto; color: var(--muted); font-size: .82rem; text-align: right; }
.property-card { height: 100%; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 35px rgba(30,32,52,.08); transition: .3s ease; }
.property-card:hover { transform: translateY(-7px); box-shadow: 0 20px 48px rgba(30,32,52,.13); }
.property-image { height: 245px; position: relative; overflow: hidden; }
.property-image img { width: 100%; height: 100%; object-fit: cover; transition: .5s ease; }
.property-card:hover .property-image img { transform: scale(1.05); }
.property-badge { position: absolute; top: 16px; left: 16px; padding: 6px 11px; border-radius: 999px; color: #fff; font-size: .78rem; font-weight: 700; }
.property-badge.sale { background: var(--primary); }
.property-badge.rent { background: var(--success); }
.wishlist-btn { position: absolute; top: 14px; right: 14px; width: 39px; height: 39px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink); }
.wishlist-btn.active { color: #e63946; }
.wishlist-btn { transition: transform .2s ease, color .2s ease, background .2s ease; }
.wishlist-btn:hover { transform: scale(1.08); background: #fff; }
.property-body { padding: 22px; }
.property-price { color: var(--primary); font-family: "Manrope", sans-serif; font-size: 1.35rem; font-weight: 800; }
.property-price small { font-size: .75rem; color: var(--muted); font-family: "DM Sans", sans-serif; }
.property-body h3 { font-family: "Manrope", sans-serif; font-size: 1.18rem; margin: 8px 0; }
.property-location { color: var(--muted); margin-bottom: 16px; }
.property-meta { display: flex; flex-wrap: wrap; gap: 10px 15px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #596273; font-size: .86rem; }
.property-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-size: .86rem; }
.property-footer span { color: var(--success); font-weight: 700; }
.property-footer a { color: var(--primary); font-weight: 700; }

.city-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 18px; }
.city-card { position: relative; border-radius: 18px; overflow: hidden; }
.city-large { grid-row: span 2; grid-column: span 2; }
.city-card img { width: 100%; height: 100%; object-fit: cover; transition: .45s ease; }
.city-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,17,38,.78), rgba(10,17,38,.04) 65%); }
.city-card:hover img { transform: scale(1.06); }
.city-card span { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; color: #fff; }
.city-card strong { display: block; font-family: "Manrope", sans-serif; font-size: 1.25rem; }
.city-card small { color: rgba(255,255,255,.78); }

.why-section { background: var(--bg); }
.why-image-wrap { position: relative; padding: 0 30px 30px 0; }
.why-image-wrap > img { width: 100%; min-height: 520px; object-fit: cover; border-radius: 24px; }
.experience-card { position: absolute; right: 0; bottom: 0; width: 190px; padding: 22px; border-radius: 18px; background: var(--primary); color: #fff; box-shadow: 0 18px 35px rgba(109,40,217,.25); }
.experience-card strong { display: block; font-family: "Manrope", sans-serif; font-size: 2.2rem; }
.experience-card span { font-size: .9rem; color: rgba(255,255,255,.78); }
.feature-list { margin-top: 28px; }
.feature-item { display: flex; gap: 16px; margin-bottom: 22px; }
.feature-item > span { flex: 0 0 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--primary-soft); color: var(--primary); font-size: 1.25rem; }
.feature-item h3 { font-family: "Manrope", sans-serif; font-size: 1.06rem; margin: 1px 0 5px; }
.feature-item p { color: var(--muted); margin: 0; }

.sell-section { padding: 96px 0; background: #fff; }
.sell-card { padding: 55px; border-radius: 28px; background: linear-gradient(125deg, var(--primary-dark), var(--primary)); color: #fff; position: relative; overflow: hidden; }
.sell-card::before, .sell-card::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.07); }
.sell-card::before { width: 260px; height: 260px; top: -120px; right: 18%; }
.sell-card::after { width: 180px; height: 180px; bottom: -90px; left: 35%; }
.sell-kicker { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: #dac8ff; font-weight: 800; }
.sell-card h2 { font-family: "Manrope", sans-serif; font-size: clamp(2rem, 4vw, 3.5rem); margin: 11px 0 14px; }
.sell-card p { color: rgba(255,255,255,.8); max-width: 620px; }
.sell-points { display: flex; flex-wrap: wrap; gap: 12px 20px; margin: 22px 0; color: #fff; }
.sell-points i { color: #d8c7ff; }
.sell-btn { background: #fff; color: var(--primary); border-radius: 12px; font-weight: 800; padding: 12px 18px; }
.sell-btn:hover { background: #f4efff; color: var(--primary-dark); }
.sell-illustration { width: 230px; height: 230px; display: grid; place-items: center; margin: auto; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.15); font-size: 6.2rem; color: #fff; }

.testimonial-section { background: var(--bg); }
.testimonial-card { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.stars { color: #f5a623; letter-spacing: 2px; }
.testimonial-card > p { color: #50596a; line-height: 1.8; margin: 16px 0 24px; }
.user-row { display: flex; align-items: center; gap: 12px; }
.user-row > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-weight: 800; }
.user-row strong, .user-row small { display: block; }
.user-row small { color: var(--muted); }

.contact-section { padding: 74px 0; background: #15112b; color: #fff; }
.contact-kicker { color: #cdb6ff; text-transform: uppercase; letter-spacing: .1em; font-size: .76rem; font-weight: 800; }
.contact-section h2 { font-family: "Manrope", sans-serif; font-size: clamp(2rem, 4vw, 3.2rem); margin: 10px 0; }
.contact-section p { color: rgba(255,255,255,.7); margin: 0; }
.contact-form { background: rgba(255,255,255,.08); padding: 18px; border-radius: 18px; }
.contact-form .form-control { min-height: 50px; border: 0; border-radius: 11px; }
.contact-form .btn { min-height: 50px; border-radius: 11px; background: var(--accent); color: #fff; font-weight: 800; }

.footer { padding: 70px 0 26px; background: #0d0b1b; color: rgba(255,255,255,.68); }
.footer-brand { display: inline-block; color: #fff; font-family: "Manrope", sans-serif; font-size: 1.45rem; font-weight: 800; margin-bottom: 14px; }
.footer-brand span { color: #c4a5ff; }
.footer p { max-width: 360px; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 17px; }
.footer .col-6 a, .footer .col-sm-6 a { display: block; color: rgba(255,255,255,.64); margin-bottom: 10px; }
.footer a:hover { color: #fff; }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.07); color: #fff; }
.footer-contact { font-size: .9rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px; margin-top: 45px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .86rem; }

.modal-content { border: 0; border-radius: 20px; box-shadow: var(--shadow); }
.modal-header { padding: 22px 24px; }
.modal-body { padding: 24px; }
.modal-kicker { color: var(--primary); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 800; }
.modal .form-control, .modal .form-select { min-height: 48px; border-radius: 11px; }
.modal-submit-btn { min-height: 50px; background: var(--primary); color: #fff; border-radius: 11px; font-weight: 800; }
.toast { background: #fff; box-shadow: var(--shadow); }

.reveal-ready { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
.reveal-ready.is-visible { opacity: 1; transform: none; }
.quick-actions { position: fixed; right: 22px; bottom: 22px; z-index: 1020; display: grid; gap: 10px; }
.quick-action { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 0 17px; border-radius: 999px; color: #fff; font-size: .88rem; font-weight: 800; box-shadow: 0 12px 30px rgba(20,33,61,.22); transition: transform .2s ease, box-shadow .2s ease; }
.quick-action:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 34px rgba(20,33,61,.28); }
.quick-call { background: var(--primary); }
.quick-whatsapp { background: #159f5c; }

@media (max-width: 991.98px) {
  .custom-navbar { background: rgba(255,255,255,.97); padding: 11px 0; }
  .navbar-brand, .login-btn { color: var(--ink); }
  .brand-icon { background: var(--primary-soft); color: var(--primary); }
  .brand-accent { color: var(--primary); }
  .nav-link { color: #4a5568; margin: 0; padding: 10px 0; }
  .nav-link:hover, .nav-link.active { color: var(--primary); }
  .navbar-collapse { padding-top: 14px; }
  .nav-actions { padding: 10px 0 4px; }
  .post-btn { background: var(--primary); color: #fff; }
  .hero-section { min-height: auto; padding: 135px 0 100px; }
  .stats-strip { margin-top: -38px; }
  .stat-item { border-right: 0; }
  .city-grid { grid-template-columns: repeat(2, 1fr); }
  .city-large { grid-column: span 2; }
}

@media (max-width: 767.98px) {
  .hero-content h1 { font-size: 2.8rem; }
  .search-panel { padding: 15px; border-radius: 16px; }
  .search-tabs { overflow-x: auto; }
  .stats-strip .container { border-radius: 16px; }
  .section-space, .sell-section { padding: 72px 0; }
  .property-image { height: 230px; }
  .city-grid { grid-auto-rows: 190px; }
  .why-image-wrap { padding: 0 18px 25px 0; }
  .why-image-wrap > img { min-height: 390px; }
  .experience-card { width: 165px; padding: 17px; }
  .sell-card { padding: 34px 24px; border-radius: 22px; }
  .sell-illustration { width: 175px; height: 175px; font-size: 4.8rem; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 575.98px) {
  .hero-section { padding: 120px 0 86px; }
  .hero-content h1 { font-size: 2.35rem; }
  .hero-content .col-xl-9 > p { font-size: 1rem; }
  .hero-kicker { font-size: .78rem; }
  .search-tab { padding-left: 14px; padding-right: 14px; }
  .popular-searches { justify-content: flex-start; }
  .stats-strip { margin-top: -28px; }
  .stat-item strong { font-size: 1.6rem; }
  .stat-item span { font-size: .78rem; }
  .section-heading h2 { font-size: 2rem; }
  .type-card { padding: 20px 14px; }
  .type-icon { width: 48px; height: 48px; font-size: 1.25rem; }
  .type-card h3 { font-size: .95rem; }
  .type-card p { font-size: .82rem; }
  .property-filter { width: 100%; }
  .filter-btn { flex: 1; padding: 9px 8px; }
  .city-grid { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .city-large { grid-column: auto; grid-row: auto; }
  .sell-points { flex-direction: column; }
  .quick-actions { right: 12px; bottom: 12px; grid-template-columns: 1fr 1fr; left: 12px; padding: 7px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.94); box-shadow: 0 14px 34px rgba(20,33,61,.16); backdrop-filter: blur(12px); }
  .quick-action { min-height: 44px; padding: 0 10px; border-radius: 11px; font-size: .8rem; }
  body { padding-bottom: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-ready { opacity: 1; transform: none; }
}

/* ===== Inner pages ===== */
.inner-page { background: var(--bg); }
.inner-navbar { background: rgba(255,255,255,.98); box-shadow: 0 8px 30px rgba(17,24,39,.08); }
.inner-navbar .navbar-brand, .inner-navbar .login-btn { color: var(--ink); }
.inner-navbar .brand-icon { background: var(--primary-soft); color: var(--primary); }
.inner-navbar .brand-accent { color: var(--primary); }
.inner-navbar .nav-link { color: #4a5568; }
.inner-navbar .nav-link:hover, .inner-navbar .nav-link.active { color: var(--primary); }
.inner-navbar .post-btn { background: var(--primary); color: #fff; }
.inner-main { padding-top: 90px; }
.inner-hero { padding: 46px 0 34px; background: linear-gradient(135deg,#f4efff,#fff 65%); border-bottom: 1px solid var(--line); }
.breadcrumb { font-size: .9rem; }
.breadcrumb a { color: var(--primary); }
.inner-title { font-family: "Manrope",sans-serif; font-size: clamp(2rem,4vw,3.4rem); letter-spacing: -.045em; }
.filter-sidebar, .details-card, .enquiry-card { background:#fff; border:1px solid var(--line); border-radius:18px; box-shadow:0 10px 30px rgba(30,32,52,.06); }
.filter-sidebar { padding:22px; position:sticky; top:105px; }
.filter-sidebar h3 { font-family:"Manrope",sans-serif; font-size:1.15rem; }
.filter-sidebar .form-control,.filter-sidebar .form-select { min-height:46px; border-radius:11px; }
.listing-toolbar { display:flex; justify-content:space-between; align-items:center; gap:15px; margin-bottom:20px; }
.listing-card { display:grid; grid-template-columns:280px 1fr; background:#fff; border-radius:18px; overflow:hidden; border:1px solid var(--line); box-shadow:0 10px 30px rgba(30,32,52,.06); margin-bottom:20px; }
.listing-card img { width:100%; height:100%; min-height:240px; object-fit:cover; }
.listing-content { padding:22px; }
.listing-top { display:flex; justify-content:space-between; gap:15px; }
.listing-title { font-family:"Manrope",sans-serif; font-size:1.25rem; margin:7px 0; }
.listing-price { font-family:"Manrope",sans-serif; color:var(--primary); font-size:1.35rem; font-weight:800; white-space:nowrap; }
.listing-meta { display:flex; flex-wrap:wrap; gap:10px; margin:16px 0; }
.listing-meta span { padding:8px 11px; background:var(--bg); border-radius:9px; color:#596273; font-size:.86rem; }
.listing-actions { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:12px; padding-top:15px; border-top:1px solid var(--line); }
.details-btn { background:var(--primary); color:#fff; font-weight:700; border-radius:10px; padding:10px 16px; }
.details-btn:hover { background:var(--primary-dark); color:#fff; }
.gallery-grid { display:grid; grid-template-columns:2fr 1fr; grid-template-rows:220px 220px; gap:10px; border-radius:20px; overflow:hidden; }
.gallery-grid .gallery-main { grid-row:span 2; }
.gallery-grid img { width:100%; height:100%; object-fit:cover; cursor:pointer; transition:.3s; }
.gallery-grid img:hover { filter:brightness(.9); }
.property-heading-row { display:flex; justify-content:space-between; gap:24px; padding:28px 0; }
.property-heading-row h1 { font-family:"Manrope",sans-serif; font-size:clamp(1.8rem,3.3vw,2.8rem); letter-spacing:-.04em; }
.detail-price { font-family:"Manrope",sans-serif; color:var(--primary); font-size:2rem; font-weight:800; white-space:nowrap; }
.detail-actions { display:flex; gap:10px; flex-wrap:wrap; }
.detail-actions .btn { border-radius:10px; }
.details-card { padding:25px; margin-bottom:22px; }
.details-card h2 { font-family:"Manrope",sans-serif; font-size:1.35rem; margin-bottom:18px; }
.overview-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.overview-item { padding:15px; border:1px solid var(--line); border-radius:12px; background:var(--bg); }
.overview-item i { color:var(--primary); font-size:1.25rem; }
.overview-item strong,.overview-item span { display:block; }
.overview-item span { color:var(--muted); font-size:.82rem; margin-top:4px; }
.amenities-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.amenity { padding:12px; border-radius:10px; background:var(--bg); color:#4e586a; }
.amenity i { color:var(--success); margin-right:7px; }
.enquiry-card { padding:24px; position:sticky; top:105px; }
.enquiry-card h2 { font-family:"Manrope",sans-serif; font-size:1.4rem; }
.enquiry-card .form-control,.enquiry-card .form-select { min-height:48px; border-radius:11px; }
.enquiry-card textarea.form-control { min-height:100px; }
.enquiry-submit { min-height:50px; background:var(--primary); color:#fff; border-radius:11px; font-weight:800; }
.contact-shortcuts { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:12px; }
.contact-shortcuts a { padding:11px; border:1px solid var(--line); border-radius:10px; text-align:center; font-weight:700; }
.map-frame { width:100%; height:340px; border:0; border-radius:14px; }
.similar-card { background:#fff; border:1px solid var(--line); border-radius:16px; overflow:hidden; height:100%; }
.similar-card img { height:190px; width:100%; object-fit:cover; }
.similar-card .p-3 h3 { font-family:"Manrope",sans-serif; font-size:1rem; }
.mobile-enquiry-bar { display:none; }
@media(max-width:991.98px){
  .inner-main{padding-top:72px}.filter-sidebar{position:static}.listing-card{grid-template-columns:220px 1fr}.enquiry-card{position:static}.overview-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:767.98px){
  .inner-hero{padding:30px 0 24px}.listing-toolbar{align-items:flex-start;flex-direction:column}.listing-card{grid-template-columns:1fr}.listing-card img{height:220px;min-height:0}.listing-top{flex-direction:column}.gallery-grid{grid-template-columns:1fr 1fr;grid-template-rows:250px 120px}.gallery-grid .gallery-main{grid-column:span 2;grid-row:auto}.property-heading-row{flex-direction:column}.detail-price{font-size:1.65rem}.amenities-grid{grid-template-columns:repeat(2,1fr)}.mobile-enquiry-bar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:1050;background:#fff;box-shadow:0 -8px 25px rgba(0,0,0,.12);padding:10px 14px;gap:10px}.mobile-enquiry-bar a{flex:1}.inner-page{padding-bottom:70px}
}
@media(max-width:575.98px){.overview-grid{grid-template-columns:1fr 1fr}.amenities-grid{grid-template-columns:1fr}.details-card{padding:19px}.gallery-grid{grid-template-rows:220px 95px}.property-heading-row{padding:20px 0}.inner-title{font-size:2rem}}

/* ===== Complete inner pages upgrade ===== */
.detail-head{padding:38px 0 24px;background:linear-gradient(135deg,#f4efff,#fff 70%)}
.property-heading-row{display:flex;justify-content:space-between;gap:28px;align-items:flex-end}.property-heading-row h1{font:800 clamp(1.8rem,3.6vw,3rem)/1.12 Manrope,sans-serif;letter-spacing:-.04em}.property-heading-row p{color:var(--muted);margin:8px 0 0}.verified-chip,.soft-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;font-size:.78rem;font-weight:700}.verified-chip{background:#e9fbf4;color:var(--success)}.soft-chip{background:var(--primary-soft);color:var(--primary)}
.premium-gallery{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:210px 210px;gap:10px;position:relative;border-radius:22px;overflow:hidden}.premium-gallery img{width:100%;height:100%;object-fit:cover;cursor:pointer;transition:.25s}.premium-gallery img:hover{filter:brightness(.9)}.gallery-main-img{grid-row:1/3}.view-photos-btn{position:absolute;right:18px;bottom:18px;border:0;background:#fff;padding:10px 14px;border-radius:10px;font-weight:700;box-shadow:0 8px 25px rgba(0,0,0,.16)}
.details-card{padding:26px;margin-bottom:22px}.details-card h2{font:800 1.35rem Manrope,sans-serif;margin-bottom:20px}.section-title-row{display:flex;justify-content:space-between;gap:20px;align-items:center}.section-title-row span{font-size:.8rem;color:var(--muted)}
.overview-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.overview-grid>div{padding:15px 8px;text-align:center;border-right:1px solid var(--line)}.overview-grid>div:last-child{border:0}.overview-grid i{display:block;color:var(--primary);font-size:1.25rem}.overview-grid strong,.overview-grid span{display:block}.overview-grid strong{margin-top:6px;font-family:Manrope,sans-serif}.overview-grid span{font-size:.78rem;color:var(--muted)}
#descriptionText{max-height:76px;overflow:hidden;color:#566072;line-height:1.8}#descriptionText.expanded{max-height:none}.text-btn{border:0;background:transparent;padding:0;color:var(--primary);font-weight:800}.highlights-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.highlights-grid span,.amenities-grid span{padding:13px;border:1px solid var(--line);border-radius:11px}.highlights-grid i,.amenities-grid i{color:var(--primary);margin-right:7px}
.floor-plan-wrap{display:grid;grid-template-columns:1.4fr 1fr;gap:24px;align-items:center}.floor-plan-wrap img{height:260px;width:100%;object-fit:cover;border-radius:14px}.floor-plan-wrap h3{font:800 1.25rem Manrope,sans-serif}.map-frame{height:330px;border-radius:14px;overflow:hidden}.map-frame iframe{border:0;width:100%;height:100%}.nearby-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:16px}.nearby-grid span{background:var(--bg);padding:13px;border-radius:10px}.nearby-grid i,.nearby-grid b{display:block}.nearby-grid i{color:var(--primary);font-size:1.2rem}.nearby-grid b{margin:4px 0}
.emi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.emi-grid label{font-size:.78rem;text-transform:uppercase;font-weight:700;color:var(--muted)}.emi-grid input{margin-top:6px}.emi-result{grid-column:1/-1;background:linear-gradient(125deg,var(--primary-dark),var(--primary));color:#fff;border-radius:14px;padding:20px;display:flex;justify-content:space-between;align-items:center}.emi-result span,.emi-result strong{display:block}.emi-result strong{font:800 1.65rem Manrope,sans-serif}
.enquiry-divider{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:.75rem;margin:17px 0}.enquiry-divider:before,.enquiry-divider:after{content:"";height:1px;background:var(--line);flex:1}.grid-2{grid-template-columns:1fr 1fr}.whatsapp-btn{background:#eafaf0;color:#128c4c;border:1px solid #bde8cc;font-weight:700}.privacy-note{display:block;text-align:center;color:var(--muted);margin-top:14px}.agent-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;display:flex;align-items:center;gap:13px}.agent-avatar{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary);font-weight:800}.agent-card strong,.agent-card span,.agent-card small{display:block}.agent-card span{font-size:.82rem;color:var(--muted)}.agent-card small{font-size:.78rem}.agent-card .bi-star-fill{color:#f5a623}.similar-section{background:var(--bg);padding:76px 0}.similar-section h2{font:800 clamp(1.8rem,3vw,2.5rem) Manrope,sans-serif}
.multi-form hr{margin:34px 0}.form-step-title{display:flex;gap:14px;align-items:flex-start;margin-bottom:20px}.form-step-title>span{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:var(--primary);color:#fff;font-weight:800}.form-step-title h2{margin:0}.form-step-title p{color:var(--muted);margin:4px 0 0}.multi-form .form-control,.multi-form .form-select,.details-card .form-control,.details-card .form-select{min-height:49px;border-radius:11px}.upload-box{border:2px dashed #d8c7f8;border-radius:14px;min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;background:#fbf9ff}.upload-box i{font-size:2rem;color:var(--primary)}.upload-box span{font-size:.82rem;color:var(--muted)}
.about-hero{padding:80px 0;background:linear-gradient(135deg,#f5efff,#fff)}.about-hero h1{font:800 clamp(2.2rem,5vw,4.2rem)/1.05 Manrope,sans-serif;letter-spacing:-.055em}.about-hero p{color:var(--muted);font-size:1.08rem;line-height:1.8}.about-image{border-radius:24px;min-height:480px;object-fit:cover}.value-card{height:100%;background:#fff;border:1px solid var(--line);border-radius:18px;padding:28px}.value-card i{font-size:1.8rem;color:var(--primary)}.value-card h3{font:800 1.15rem Manrope,sans-serif;margin:18px 0 8px}.value-card p{color:var(--muted)}
.contact-line{display:flex;gap:14px;margin-top:20px}.contact-line>i{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:var(--primary-soft);color:var(--primary)}.contact-line span,.contact-line a,.contact-line p{display:block}.contact-line span{font-size:.75rem;color:var(--muted);text-transform:uppercase;font-weight:700}.contact-line a{font-weight:700;color:var(--ink)}
.auth-page{min-height:100vh;background:var(--bg)}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1.15fr .85fr}.auth-visual{padding:50px;display:flex;flex-direction:column;justify-content:space-between;color:#fff;background:linear-gradient(135deg,rgba(27,15,64,.94),rgba(109,40,217,.78)),url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1400&q=88') center/cover}.auth-visual h1{font:800 clamp(2.5rem,5vw,5rem)/1.05 Manrope,sans-serif;letter-spacing:-.055em;max-width:700px}.auth-visual p{max-width:600px;color:rgba(255,255,255,.8)}.auth-form-wrap{display:grid;place-items:center;padding:35px}.auth-form{width:min(460px,100%);background:#fff;border-radius:22px;padding:38px;box-shadow:var(--shadow)}.auth-form h2{font:800 1.8rem Manrope,sans-serif;margin-top:28px}.auth-form>p{color:var(--muted)}.back-home{font-weight:700;color:var(--primary)}.password-wrap{position:relative}.password-wrap button{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:0;background:transparent}.password-wrap input{padding-right:44px}
.mobile-enquiry-canvas{height:auto!important;border-radius:20px 20px 0 0}
@media(max-width:991.98px){.overview-grid{grid-template-columns:repeat(3,1fr)}.overview-grid>div:nth-child(3){border-right:0}.property-heading-row{align-items:flex-start}.premium-gallery{grid-template-rows:170px 170px}.highlights-grid{grid-template-columns:repeat(2,1fr)}.auth-shell{grid-template-columns:1fr}.auth-visual{min-height:380px}.auth-form-wrap{padding:25px}}
@media(max-width:767.98px){.property-heading-row{flex-direction:column}.premium-gallery{grid-template-columns:1fr 1fr;grid-template-rows:230px 110px}.gallery-main-img{grid-column:1/3;grid-row:auto}.premium-gallery img:nth-of-type(4),.premium-gallery img:nth-of-type(5){display:none}.overview-grid{grid-template-columns:repeat(2,1fr)}.overview-grid>div{border-right:1px solid var(--line)!important}.overview-grid>div:nth-child(even){border-right:0!important}.highlights-grid,.floor-plan-wrap,.emi-grid{grid-template-columns:1fr}.nearby-grid{grid-template-columns:repeat(2,1fr)}.section-title-row{align-items:flex-start;flex-direction:column}.about-hero{padding:50px 0}.about-image{min-height:330px}.auth-visual{padding:28px}.auth-form{padding:26px}.auth-form-wrap{padding:16px}.similar-section{padding:55px 0}}
@media(max-width:575.98px){.detail-head{padding:25px 0 18px}.premium-gallery{border-radius:14px;grid-template-rows:210px 90px}.view-photos-btn{right:10px;bottom:10px;padding:8px 10px;font-size:.78rem}.details-card{padding:19px}.highlights-grid{grid-template-columns:1fr}.nearby-grid{grid-template-columns:1fr 1fr}.emi-result{align-items:flex-start;flex-direction:column;gap:4px}.auth-visual{min-height:300px}.auth-visual h1{font-size:2.2rem}.about-image{min-height:280px}.section-heading-wrap{align-items:flex-start!important;flex-direction:column;gap:10px}}

/* ===== FINAL HOME MOBILE VIEW FIX ===== */
@media (max-width: 575.98px) {
  html, body { width: 100%; max-width: 100%; overflow-x: hidden !important; }

  .custom-navbar { min-height: 72px; padding: 8px 0 !important; }
  .custom-navbar .container { padding-left: 14px !important; padding-right: 14px !important; }
  .navbar-brand { font-size: 1.2rem !important; line-height: 1; }
  .brand-icon { width: 36px !important; height: 36px !important; border-radius: 10px !important; }
  .navbar-toggler { padding: 4px 6px !important; border: 0 !important; box-shadow: none !important; }

  .hero-section {
    min-height: auto !important;
    padding: 96px 0 48px !important;
    align-items: flex-start !important;
    background-position: 58% center !important;
  }
  .hero-section .container { padding-left: 14px !important; padding-right: 14px !important; }
  .hero-kicker {
    display: inline-flex !important;
    max-width: 100%;
    padding: 7px 10px !important;
    font-size: .68rem !important;
    line-height: 1.25;
    white-space: normal;
  }
  .hero-content h1 {
    font-size: clamp(2rem, 10.5vw, 2.55rem) !important;
    line-height: 1.07 !important;
    letter-spacing: -.045em !important;
    margin: 16px auto 12px !important;
  }
  .hero-content > .row p,
  .hero-content .col-xl-9 > p {
    font-size: .92rem !important;
    line-height: 1.55 !important;
    padding: 0 2px;
  }

  .search-panel {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 22px !important;
    padding: 14px !important;
    border-radius: 17px !important;
    overflow: hidden !important;
  }
  .search-tabs {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: 100% !important;
    gap: 0 !important;
    margin: 0 0 12px !important;
    overflow: hidden !important;
    scrollbar-width: none !important;
  }
  .search-tabs::-webkit-scrollbar { display: none !important; }
  .search-tab {
    width: 100% !important;
    min-width: 0 !important;
    padding: 9px 2px 11px !important;
    font-size: .8rem !important;
    text-align: center !important;
    white-space: nowrap !important;
  }
  .search-tab.active::after { left: 10px !important; right: 10px !important; }

  .search-panel .row { --bs-gutter-x: .7rem; --bs-gutter-y: .65rem; }
  .form-label { margin-bottom: 5px !important; font-size: .66rem !important; }
  .input-wrap .form-control,
  .input-wrap .form-select {
    min-height: 46px !important;
    padding-left: 38px !important;
    padding-right: 32px !important;
    border-radius: 11px !important;
    font-size: .88rem !important;
  }
  .input-wrap > i { left: 12px !important; }
  .search-btn {
    width: 100% !important;
    min-height: 46px !important;
    margin-top: 1px !important;
    border-radius: 11px !important;
    font-size: .92rem !important;
  }
  .popular-searches {
    margin-top: 14px !important;
    gap: 6px 12px !important;
    justify-content: flex-start !important;
    font-size: .78rem !important;
    line-height: 1.5;
  }

  .stats-strip { margin-top: 0 !important; padding-top: 22px; }
  .stats-strip .container {
    width: calc(100% - 28px) !important;
    margin-left: 14px !important;
    margin-right: 14px !important;
    padding: 14px 8px !important;
  }
  .stat-item { padding: 9px 3px !important; }
  .stat-item strong { font-size: 1.35rem !important; }
  .stat-item span { font-size: .7rem !important; }

  .section-space, .sell-section { padding: 54px 0 !important; }
  .section-heading h2 { font-size: 1.8rem !important; }
  .property-image { height: 210px !important; }
}

@media (max-width: 390px) {
  .navbar-brand { font-size: 1.08rem !important; }
  .hero-content h1 { font-size: 2rem !important; }
  .search-tab { font-size: .73rem !important; }
  .hero-kicker { font-size: .62rem !important; }
}


/* ===== COMPLETE INNER PAGE NAVBAR / FOOTER FIX ===== */
.inner-page .inner-navbar{background:rgba(255,255,255,.98)!important;box-shadow:0 8px 28px rgba(17,24,39,.08)}
.inner-page .inner-navbar .navbar-brand,.inner-page .inner-navbar .login-btn{color:var(--ink)!important}
.inner-page .inner-navbar .brand-icon{background:var(--primary-soft)!important;color:var(--primary)!important}
.inner-page .inner-navbar .brand-accent{color:var(--primary)!important}
.inner-page .inner-navbar .nav-link{color:#4a5568!important}
.inner-page .inner-navbar .nav-link:hover,.inner-page .inner-navbar .nav-link.active{color:var(--primary)!important}
.inner-page .inner-navbar .post-btn{background:var(--primary)!important;color:#fff!important}
.footer .footer-bottom a{color:rgba(255,255,255,.72)}
.footer .footer-bottom a:hover{color:#fff}
.auth-footer{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);display:flex;gap:14px;align-items:center;flex-wrap:wrap;justify-content:center;background:rgba(255,255,255,.94);padding:9px 16px;border-radius:999px;box-shadow:0 8px 28px rgba(0,0,0,.12);font-size:.8rem;z-index:5}.auth-footer a{color:var(--primary);font-weight:700}.auth-footer span{color:var(--muted)}
@media(max-width:991.98px){.inner-page .navbar-collapse{background:#fff;border-radius:0 0 16px 16px;padding:12px 0 16px}.inner-page .nav-actions{flex-direction:column;align-items:stretch!important}.inner-page .nav-actions .btn{width:100%}.inner-main{padding-top:72px}.footer{padding-top:52px}}
@media(max-width:575.98px){.inner-page .custom-navbar{min-height:68px}.inner-page .navbar-brand{font-size:1.12rem!important}.inner-page .brand-icon{width:34px!important;height:34px!important}.inner-page .inner-hero{padding-top:34px}.footer{padding:45px 0 90px}.footer .row{--bs-gutter-y:2rem}.footer h3{margin-bottom:12px}.footer-bottom{margin-top:28px}.mobile-enquiry-bar{z-index:1040}.auth-footer{position:static;transform:none;margin:0 16px 16px;border-radius:14px}.auth-page{padding-bottom:0}}

.legal-content{max-width:900px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:32px;box-shadow:0 12px 35px rgba(30,32,52,.07)}.legal-content h2{font-family:"Manrope",sans-serif;font-size:1.35rem;margin:28px 0 10px}.legal-content h2:first-child{margin-top:0}.legal-content p{color:var(--muted);line-height:1.8}@media(max-width:575.98px){.legal-content{padding:22px 18px}}
