/* =========================================================
   Land Broker Bangladesh — brand stylesheet
   Palette taken from the logo: forest green + luxury gold
   ========================================================= */
:root {
  --green: #123D2B;
  --green-2: #1B5A3C;
  --green-3: #2C7A3E;
  --leaf: #4FAF4B;
  --gold: #D8B66A;
  --gold-2: #C9A04F;
  --gold-3: #F3D88E;
  --gold-grad: linear-gradient(135deg, #F3D88E 0%, #D8B66A 45%, #B8893A 100%);
  --white: #FFFFFF;
  --soft: #F4F5F2;
  --line: #E3E6DF;
  --text: #202820;
  --muted: #5E6A60;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(18, 61, 43, .06);
  --shadow: 0 10px 30px rgba(18, 61, 43, .10);
  --shadow-lg: 0 24px 60px rgba(18, 61, 43, .18);
  --font-head: 'Poppins', 'Hind Siliguri', system-ui, sans-serif;
  --font-body: 'Hind Siliguri', 'Poppins', system-ui, sans-serif;
  --bs-primary: #123D2B;
  --bs-link-color: #1B5A3C;
  --bs-link-hover-color: #123D2B;
}

* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); font-size: 1.02rem; line-height: 1.7; }
body.lang-bn { font-size: 1.06rem; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--green); font-weight: 700; line-height: 1.25; }
body.lang-bn h1, body.lang-bn h2, body.lang-bn h3, body.lang-bn h4 { font-family: 'Hind Siliguri', var(--font-head); font-weight: 700; }
a { color: var(--green-2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-2); }
img { max-width: 100%; height: auto; }
::selection { background: var(--gold); color: var(--green); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 2000; background: var(--green); color: #fff; padding: 8px 14px; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn { border-radius: 999px; font-weight: 600; padding: .6rem 1.3rem; transition: all .25s ease; }
.btn-gold { background: var(--gold-grad); color: var(--green); border: 0; box-shadow: 0 6px 18px rgba(184, 137, 58, .35); }
.btn-gold:hover, .btn-gold:focus { color: var(--green); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(184, 137, 58, .45); }
.btn-brand { background: var(--green); color: #fff; border: 0; }
.btn-brand:hover { background: var(--green-2); color: #fff; transform: translateY(-2px); }
.btn-outline-brand { border: 2px solid var(--green); color: var(--green); background: transparent; }
.btn-outline-brand:hover { background: var(--green); color: #fff; }
.btn-gold-outline { border: 2px solid var(--gold); color: var(--gold-3); }
.btn-gold-outline:hover { background: var(--gold); color: var(--green); }
.btn-link-brand { color: var(--green); font-weight: 600; }
.btn-link-brand:hover { color: var(--gold-2); }
.btn-wa { background: #25D366; color: #fff; border: 0; }
.btn-wa:hover { background: #1ebe5a; color: #fff; }
.btn-sm { padding: .35rem .9rem; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--green); color: rgba(255,255,255,.85); font-size: .88rem; padding: 6px 0; }
.topbar a { color: rgba(255,255,255,.88); }
.topbar a:hover { color: var(--gold-3); }
.topbar-info { display: flex; gap: 22px; align-items: center; }
.topbar-info i, .topbar-info span i { color: var(--gold); margin-right: 4px; }
.topbar-right { display: flex; gap: 14px; align-items: center; }
.lang-pill { border: 1px solid rgba(216,182,106,.6); padding: 2px 12px; border-radius: 999px; color: var(--gold-3) !important; font-weight: 600; }
.lang-pill:hover { background: var(--gold); color: var(--green) !important; }

.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.site-header .navbar { padding: 10px 12px; }
.navbar-brand img { height: 58px; width: auto; transition: height .3s; }
.site-header.scrolled .navbar-brand img { height: 48px; }
.navbar-toggler { border: 2px solid var(--green); color: var(--green); border-radius: 10px; padding: 6px 10px; }
.main-menu .nav-link { color: var(--text); font-weight: 600; padding: .5rem .85rem !important; position: relative; }
.main-menu .nav-link::after { content: ''; position: absolute; left: .85rem; right: .85rem; bottom: 2px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
.main-menu .nav-link.dropdown-toggle::after { border: 0; }
.main-menu .nav-link:hover, .main-menu .nav-link.active { color: var(--green); }
.main-menu .nav-link:hover::after, .main-menu .nav-link.active::after { transform: scaleX(1); }
.dropdown-menu { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; }
.dropdown-item { border-radius: 8px; padding: .5rem .9rem; font-weight: 500; }
.dropdown-item i { width: 20px; color: var(--gold-2); }
.dropdown-item:hover, .dropdown-item:focus { background: var(--soft); color: var(--green); }
.dropdown-item:active { background: var(--green); color: #fff; }
.header-actions { display: flex; gap: 8px; align-items: center; }
.btn-account { display: flex; align-items: center; gap: 6px; border: 0; background: none; position: relative; padding: 4px; }
.avatar-sm { width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: var(--gold-3); display: grid; place-items: center; font-weight: 700; }
.badge-dot { position: absolute; top: 0; left: 28px; background: #d9534f; color: #fff; border-radius: 999px; font-size: .68rem; padding: 0 6px; }
@media (max-width: 1199.98px) {
  .offcanvas-xl .offcanvas-body { flex-direction: column; align-items: stretch !important; }
  .main-menu .nav-link { padding: .75rem .5rem !important; border-bottom: 1px solid var(--line); }
  .main-menu .nav-link::after { display: none; }
  .header-actions { flex-direction: column; align-items: stretch; margin-top: 16px; }
  .navbar-brand img { height: 46px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; padding: 70px 0 0; background: var(--green); }
.hero-bg { overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background:
  radial-gradient(1000px 500px at 85% 10%, rgba(216,182,106,.18), transparent 60%),
  radial-gradient(800px 600px at 0% 100%, rgba(79,175,75,.25), transparent 60%),
  linear-gradient(160deg, #123D2B 0%, #0E3324 55%, #164A33 100%); }
.hero-bg::after { content: ''; position: absolute; inset: 0; opacity: .06; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 22px 22px; }
.hero-kicker { display: inline-flex; gap: 8px; align-items: center; background: rgba(216,182,106,.15); border: 1px solid rgba(216,182,106,.45); color: var(--gold-3); border-radius: 999px; padding: 5px 16px; font-weight: 600; font-size: .92rem; }
.hero-title { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; margin: 18px 0 14px; }
.hero-title::after { content: ''; display: block; width: 90px; height: 5px; border-radius: 4px; background: var(--gold-grad); margin-top: 16px; }
.hero-sub { color: rgba(255,255,255,.82); font-size: 1.12rem; max-width: 560px; }
.hero-tagline { margin-top: 22px; }
.hero-tagline span { display: inline-block; padding: 8px 22px; border-radius: 999px; background: var(--green); border: 2px solid var(--gold); color: #fff; font-style: italic; font-weight: 600; box-shadow: 0 0 0 4px rgba(216,182,106,.18); }
.hero-art { width: 100%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.25)); animation: floaty 7s ease-in-out infinite; -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }
@keyframes floaty { 50% { transform: translateY(-10px); } }

.search-card { position: relative; z-index: 2; margin: 46px 0 -70px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); color: var(--text); }
.search-tabs { display: flex; gap: 4px; padding: 10px 14px 0; border-bottom: 1px solid var(--line); }
.search-tabs > * { border: 0; background: none; padding: 12px 18px; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; font-family: var(--font-body); }
.search-tabs > *.active { color: var(--green); border-color: var(--gold); }
.search-tabs > *:hover { color: var(--green); }
.search-tabs i { color: var(--gold-2); margin-right: 4px; }
.search-form { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.5fr auto; gap: 14px; padding: 18px 20px 22px; align-items: end; }
.sf-field label { display: block; font-size: .82rem; font-weight: 700; color: var(--muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .02em; }
body.lang-bn .sf-field label { text-transform: none; font-size: .9rem; }
.btn-search { height: 48px; padding: 0 28px; white-space: nowrap; }
@media (max-width: 991.98px) { .search-form { grid-template-columns: 1fr 1fr; } .btn-search { grid-column: 1 / -1; } .sf-price { grid-column: 1 / -1; } }
@media (max-width: 575.98px) { .search-form { grid-template-columns: 1fr; } .hero { padding-top: 40px; } }

.form-select, .form-control { border-radius: 10px; border: 1.5px solid var(--line); min-height: 46px; font-family: var(--font-body); }
.form-select:focus, .form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(216,182,106,.25); }
.form-label { font-weight: 600; color: var(--green); margin-bottom: 4px; }
.form-check-input:checked { background-color: var(--green); border-color: var(--green); }
.form-text { color: var(--muted); }

/* ---------- Stats ---------- */
.stats-strip { background: var(--soft); padding: 110px 0 40px; }
.stat { background: #fff; border-radius: var(--radius); padding: 20px 10px; box-shadow: var(--shadow-sm); border-bottom: 3px solid var(--gold); height: 100%; }
.stat i { font-size: 1.5rem; color: var(--gold-2); }
.stat strong { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--green); line-height: 1.2; margin-top: 4px; }
.stat span { color: var(--muted); font-size: .95rem; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-soft { background: var(--soft); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head.center { justify-content: center; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 4px 0 0; }
.section-head.light h2 { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-2); font-weight: 700; font-size: .92rem; letter-spacing: .04em; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--gold); }
.section-head.center .eyebrow::after { content: ''; width: 28px; height: 2px; background: var(--gold); }
.eyebrow.gold { color: var(--gold-3); }
.small-lead { max-width: 700px; }

/* categories */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.cat-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 20px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; transition: all .25s; }
.cat-tile:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--soft); color: var(--green); font-size: 1.25rem; transition: all .25s; }
.cat-tile:hover .cat-ico { background: var(--green); color: var(--gold-3); }
.cat-name { font-weight: 700; color: var(--green); line-height: 1.3; }
.cat-count { font-size: .86rem; color: var(--muted); }

/* ---------- Property card ---------- */
.prop-card { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.prop-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.prop-media { position: relative; display: block; aspect-ratio: 3/2; overflow: hidden; background: var(--soft); }
.prop-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.prop-card:hover .prop-media img { transform: scale(1.06); }
.prop-media::after { content: ''; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(transparent, rgba(18,61,43,.45)); }
.prop-purpose { position: absolute; left: 12px; top: 12px; z-index: 1; font-size: .78rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: var(--green); color: #fff; }
.purpose-rent { background: #1F6FB2; } .purpose-lease { background: #7A4FB0; }
.prop-badges { position: absolute; left: 12px; bottom: 12px; z-index: 1; display: flex; gap: 6px; flex-wrap: wrap; }
.pbadge { font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #fff; color: var(--green); display: inline-flex; gap: 4px; align-items: center; }
.pbadge.verified { background: #E6F4EA; color: #1C7A35; }
.pbadge.premium { background: var(--gold-grad); color: var(--green); }
.pbadge.featured { background: var(--green); color: var(--gold-3); }
.pbadge.demo { background: #FFF3CD; color: #7A5B00; border: 1px dashed #C9A04F; }
.fav-form { position: absolute; right: 12px; top: 12px; z-index: 2; margin: 0; }
.fav-btn { position: absolute; right: 12px; top: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: var(--green); display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: transform .2s; }
.fav-form .fav-btn { position: static; }
.fav-btn:hover { transform: scale(1.1); color: #d9534f; }
.fav-btn.on { color: #d9534f; }
.prop-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.prop-cat { font-size: .8rem; font-weight: 700; color: var(--gold-2); text-transform: uppercase; letter-spacing: .04em; }
body.lang-bn .prop-cat { text-transform: none; font-size: .88rem; }
.prop-title { font-size: 1.08rem; margin: 4px 0 6px; line-height: 1.4; }
.prop-title a { color: var(--green); }
.prop-title a:hover { color: var(--gold-2); }
.prop-loc { color: var(--muted); font-size: .92rem; }
.prop-loc i { color: var(--gold-2); }
.prop-meta { list-style: none; padding: 10px 0 0; margin: 10px 0 0; display: flex; gap: 16px; border-top: 1px dashed var(--line); color: var(--muted); font-size: .9rem; flex-wrap: wrap; }
.prop-meta i { color: var(--green-3); margin-right: 3px; }
.prop-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; }
.prop-price { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--green); }
.prop-link { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); color: var(--green); transition: all .25s; }
.prop-card:hover .prop-link { background: var(--gold); color: var(--green); }
.prop-card.compact .prop-title { font-size: 1rem; }
.prop-card.compact .prop-price { font-size: 1.05rem; }

/* premium band */
.section-premium { background: linear-gradient(160deg, #0E3324, #123D2B 60%, #1B5A3C); position: relative; overflow: hidden; }
.section-premium::before { content: ''; position: absolute; width: 700px; height: 700px; right: -260px; top: -320px; border: 18px solid rgba(216,182,106,.18); border-radius: 50%; }
.section-premium .prop-card { border-color: rgba(216,182,106,.45); }

/* locations */
.loc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.loc-tile { position: relative; min-height: 130px; border-radius: var(--radius); padding: 18px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; transition: transform .3s; }
.loc-tile::before { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; border: 10px solid rgba(255,255,255,.12); }
.loc-0 { background: linear-gradient(135deg, #123D2B, #2C7A3E); } .loc-1 { background: linear-gradient(135deg, #1B5A3C, #4FAF4B); }
.loc-2 { background: linear-gradient(135deg, #8A6A28, #D8B66A); } .loc-3 { background: linear-gradient(135deg, #0E3324, #1B5A3C); }
.loc-tile:hover { transform: translateY(-4px); color: #fff; }
.loc-name { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; position: relative; }
body.lang-bn .loc-name { font-family: 'Hind Siliguri'; }
.loc-count { opacity: .85; font-size: .92rem; position: relative; }
@media (max-width: 767.98px) { .loc-grid { grid-template-columns: repeat(2, 1fr); } }

/* services */
.svc-card { height: 100%; padding: 28px; border-radius: var(--radius); border: 1.5px solid var(--line); background: #fff; transition: all .3s; position: relative; overflow: hidden; }
.svc-card::after { content: ''; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--gold-grad); transition: width .4s; }
.svc-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.svc-card:hover::after { width: 100%; }
.svc-ico { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 16px; background: var(--green); color: var(--gold-3); font-size: 1.5rem; margin-bottom: 16px; }
.svc-card h3 { font-size: 1.18rem; }
.svc-card p { color: var(--muted); margin: 0; }

/* why */
.section-why { background: linear-gradient(135deg, #123D2B 0%, #0E3324 100%); position: relative; overflow: hidden; }
.section-why::after { content: ''; position: absolute; left: -10%; right: -10%; bottom: -120px; height: 220px; border-top: 14px solid rgba(216,182,106,.35); border-radius: 50%; }
.why-emblem { background: #fff; border-radius: 24px; padding: 18px; box-shadow: var(--shadow-lg); }
.why-card { height: 100%; background: rgba(255,255,255,.06); border: 1px solid rgba(216,182,106,.3); border-radius: var(--radius); padding: 24px; color: rgba(255,255,255,.8); transition: background .3s; }
.why-card:hover { background: rgba(255,255,255,.1); }
.why-card i { font-size: 1.7rem; color: var(--gold); }
.why-card h3 { color: #fff; font-size: 1.12rem; margin: 12px 0 6px; }
.why-card p { margin: 0; font-size: .96rem; }

/* how */
.how-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; position: relative; }
.how-steps::before { content: ''; position: absolute; top: 46px; left: 12%; right: 12%; border-top: 2px dashed var(--gold); }
.how-steps li { text-align: center; position: relative; padding: 0 10px; }
.how-steps li > i { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; font-size: 2rem; background: #fff; color: var(--green); border: 3px solid var(--gold); box-shadow: var(--shadow); position: relative; z-index: 1; }
.how-num { position: absolute; top: -6px; left: calc(50% + 24px); z-index: 2; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: var(--gold-3); font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.how-steps h3 { font-size: 1.12rem; }
.how-steps p { color: var(--muted); font-size: .95rem; }
@media (max-width: 767.98px) { .how-steps { grid-template-columns: 1fr 1fr; } .how-steps::before { display: none; } }

.empty-note { text-align: center; padding: 40px 20px; border: 2px dashed var(--gold); border-radius: var(--radius); background: #fff; }
.empty-note i { font-size: 2.2rem; color: var(--gold-2); }
.empty-note p { max-width: 620px; margin: 12px auto; color: var(--muted); }

/* agents */
.agent-card { background: #fff; border-radius: var(--radius); text-align: center; padding: 26px 20px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); height: 100%; transition: all .3s; }
.agent-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.agent-photo { position: relative; width: 104px; height: 104px; margin: 0 auto 14px; }
.agent-photo img, .agent-initial { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; border: 4px solid var(--gold); }
.agent-initial { display: grid; place-items: center; background: var(--green); color: var(--gold-3); font-size: 2.4rem; font-weight: 700; font-family: var(--font-head); }
.agent-verified { position: absolute; right: 2px; bottom: 4px; background: #fff; border-radius: 50%; color: #1C7A35; font-size: 1.3rem; line-height: 1; }
.agent-card h3 { font-size: 1.06rem; margin: 0; }
.agent-card h3 a { color: var(--green); }
.agent-role { color: var(--gold-2); font-weight: 600; font-size: .92rem; margin: 2px 0 8px; }
.agent-stats { list-style: none; padding: 0; margin: 0 0 14px; color: var(--muted); font-size: .9rem; }
.agent-actions { display: flex; gap: 8px; justify-content: center; }

/* testimonials */
.testi { position: relative; background: #fff; border-radius: var(--radius); padding: 28px; height: 100%; margin: 0; box-shadow: var(--shadow-sm); border-top: 4px solid var(--gold); }
.testi > i { color: var(--gold); font-size: 1.6rem; }
.testi blockquote { margin: 12px 0 16px; color: var(--text); }
.testi figcaption strong { display: block; color: var(--green); }
.testi figcaption span { color: var(--muted); font-size: .9rem; }
.testi .pbadge { position: absolute; right: 16px; top: 16px; }

/* blog */
.blog-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column; transition: all .3s; }
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.blog-media { aspect-ratio: 16/9; overflow: hidden; display: block; }
.blog-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.blog-body time { color: var(--muted); font-size: .86rem; }
.blog-body h3 { font-size: 1.12rem; margin: 6px 0 8px; }
.blog-body h3 a { color: var(--green); }
.blog-body p { color: var(--muted); font-size: .95rem; }
.read-more { margin-top: auto; font-weight: 700; color: var(--gold-2); }

/* CTA */
.cta-band { padding: 0 0 80px; }
.cta-inner { background: var(--green); border-radius: var(--radius-lg); padding: 46px 50px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; position: relative; overflow: hidden; color: #fff; }
.cta-inner::before { content: ''; position: absolute; width: 380px; height: 380px; right: -100px; top: -190px; border-radius: 50%; border: 16px solid rgba(216,182,106,.35); }
.cta-inner h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); position: relative; }
.cta-inner p { color: rgba(255,255,255,.8); margin: 0; position: relative; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }

/* ---------- Page hero / breadcrumb ---------- */
.page-hero { background: linear-gradient(160deg, #123D2B, #0E3324 70%); color: #fff; padding: 46px 0 50px; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -80px; bottom: -160px; width: 420px; height: 260px; border-top: 12px solid rgba(216,182,106,.4); border-radius: 50%; }
.page-hero h1 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.5rem); margin: 6px 0 0; }
.page-hero .lead { color: rgba(255,255,255,.8); margin: 8px 0 0; font-size: 1.05rem; }
.breadcrumb { margin: 0; }
.breadcrumb-item, .breadcrumb-item a { color: rgba(255,255,255,.75); font-size: .92rem; }
.breadcrumb-item a:hover { color: var(--gold-3); }
.breadcrumb-item.active { color: var(--gold-3); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ---------- Listing page ---------- */
.filter-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); position: sticky; top: 96px; }
.filter-panel h2 { font-size: 1.1rem; display: flex; justify-content: space-between; align-items: center; }
.filter-panel .form-label { font-size: .9rem; }
.purpose-switch { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: var(--soft); border-radius: 12px; padding: 4px; }
.purpose-switch input { display: none; }
.purpose-switch label { text-align: center; padding: 7px 4px; border-radius: 9px; cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--muted); }
.purpose-switch input:checked + label { background: var(--green); color: #fff; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.results-bar strong { color: var(--green); font-size: 1.05rem; }
.results-bar .form-select { min-height: 40px; width: auto; }
.pager { margin-top: 40px; }
.page-link { color: var(--green); border-color: var(--line); }
.page-item.active .page-link { background: var(--green); border-color: var(--green); color: #fff; }
.page-link:focus { box-shadow: 0 0 0 .2rem rgba(216,182,106,.3); }
.empty-state { text-align: center; padding: 60px 20px; background: var(--soft); border-radius: var(--radius); }
.empty-state i { font-size: 2.6rem; color: var(--gold-2); }

/* ---------- Property detail ---------- */
.detail-head { padding: 30px 0 10px; }
.detail-head h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 8px 0; }
.detail-price { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--green); line-height: 1.1; }
.detail-price small { display: block; font-size: .9rem; font-weight: 600; color: var(--muted); font-family: var(--font-body); }
.detail-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.detail-actions .btn { padding: .45rem 1rem; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: 470px; border-radius: var(--radius-lg); overflow: hidden; }
.gallery a { position: relative; display: block; overflow: hidden; background: var(--soft); }
.gallery a:first-child { grid-row: 1 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.05); }
.gallery .more { position: absolute; inset: 0; background: rgba(18,61,43,.6); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; }
@media (max-width: 767.98px) { .gallery { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; } .gallery a:not(:first-child) { display: none; } .gallery a:first-child { aspect-ratio: 3/2; } }
.detail-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 22px; }
.detail-card h2 { font-size: 1.25rem; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--soft); position: relative; }
.detail-card h2::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 60px; height: 2px; background: var(--gold); }
.key-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.key-fact { background: var(--soft); border-radius: 12px; padding: 14px; }
.key-fact i { color: var(--gold-2); }
.key-fact span { display: block; font-size: .84rem; color: var(--muted); }
.key-fact strong { color: var(--green); }
.spec-table { width: 100%; }
.spec-table th { width: 42%; color: var(--muted); font-weight: 600; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.spec-table td { color: var(--green); font-weight: 600; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.amenity-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0; }
.amenity-list li { display: flex; align-items: center; gap: 10px; }
.amenity-list i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--soft); color: var(--green); }
.desc-text { white-space: pre-line; }
.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; font-size: .95rem; margin-bottom: 18px; }
.notice i { font-size: 1.2rem; margin-top: 3px; }
.notice-verified { background: #E6F4EA; color: #165C29; }
.notice-warn { background: #FFF8E6; color: #6B5200; border: 1px solid #F1DFA8; }
.notice-demo { background: #FFF3CD; color: #6B5200; border: 1px dashed var(--gold-2); }
.map-frame { width: 100%; height: 320px; border: 0; border-radius: 12px; }
.contact-card { position: sticky; top: 96px; }
.contact-card .agent-mini { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.contact-card .agent-mini .avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: var(--gold-3); display: grid; place-items: center; font-weight: 700; font-size: 1.4rem; border: 3px solid var(--gold); flex: none; }
.contact-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.hp-field { position: absolute; left: -9999px; }
.conv-table td { padding: 6px 0; border-bottom: 1px dashed var(--line); }

/* ---------- Content pages ---------- */
.prose { font-size: 1.06rem; }
.prose h3 { font-size: 1.3rem; margin-top: 1.6rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.content-card { background: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); margin-top: -30px; position: relative; z-index: 2; }
@media (max-width: 575.98px) { .content-card { padding: 22px; } }
.info-tile { display: flex; gap: 14px; padding: 18px; background: var(--soft); border-radius: var(--radius); margin-bottom: 14px; }
.info-tile i { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--green); color: var(--gold-3); flex: none; font-size: 1.2rem; }

/* ---------- Auth ---------- */
.auth-wrap { min-height: calc(100vh - 200px); display: grid; place-items: center; padding: 50px 15px; background: var(--soft); position: relative; overflow: hidden; }
.auth-wrap::before { content: ''; position: absolute; width: 900px; height: 900px; left: -450px; bottom: -560px; border: 30px solid rgba(216,182,106,.25); border-radius: 50%; }
.auth-card { width: 100%; max-width: 480px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 36px; position: relative; }
.auth-card.wide { max-width: 640px; }
.auth-card .auth-logo { display: block; margin: 0 auto 10px; height: 74px; width: auto; }
.auth-card h1 { font-size: 1.45rem; text-align: center; margin-bottom: 20px; }
.acct-type { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.acct-type input { display: none; }
.acct-type label { border: 2px solid var(--line); border-radius: 12px; padding: 12px 6px; text-align: center; cursor: pointer; font-weight: 600; font-size: .9rem; line-height: 1.3; }
.acct-type label i { display: block; font-size: 1.3rem; color: var(--gold-2); margin-bottom: 4px; }
.acct-type input:checked + label { border-color: var(--green); background: var(--soft); color: var(--green); }
.demo-hint { background: #FFF8E6; border: 1px dashed var(--gold-2); border-radius: 10px; padding: 8px 12px; font-size: .88rem; color: #6B5200; text-align: center; }

/* ---------- Dashboard (account) ---------- */
.dash { background: var(--soft); min-height: calc(100vh - 140px); padding: 34px 0 60px; }
.dash-nav { background: #fff; border-radius: var(--radius); padding: 12px; border: 1px solid var(--line); position: sticky; top: 96px; }
.dash-user { display: flex; gap: 12px; align-items: center; padding: 8px 8px 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.dash-user .avatar-sm { width: 46px; height: 46px; font-size: 1.2rem; }
.dash-user small { display: block; color: var(--muted); }
.dash-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--text); font-weight: 600; }
.dash-nav a i { width: 20px; color: var(--gold-2); }
.dash-nav a:hover { background: var(--soft); color: var(--green); }
.dash-nav a.active { background: var(--green); color: #fff; }
.dash-nav a.active i { color: var(--gold-3); }
.panel { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 22px; margin-bottom: 20px; }
.panel-title { font-size: 1.2rem; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.kpi { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 18px; display: flex; gap: 14px; align-items: center; height: 100%; }
.kpi i { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--soft); color: var(--green); font-size: 1.25rem; flex: none; }
.kpi strong { display: block; font-size: 1.6rem; font-family: var(--font-head); color: var(--green); line-height: 1.1; }
.kpi span { color: var(--muted); font-size: .9rem; }
.kpi.gold i { background: #FBF3DF; color: var(--gold-2); }
.table { --bs-table-hover-bg: #F8FAF6; }
.table th { color: var(--muted); font-weight: 600; font-size: .86rem; text-transform: uppercase; letter-spacing: .03em; border-bottom-width: 1px; white-space: nowrap; }
body.lang-bn .table th { text-transform: none; font-size: .92rem; }
.table td { vertical-align: middle; }
.thumb-sm { width: 64px; height: 46px; object-fit: cover; border-radius: 8px; }
.status { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); white-space: nowrap; }
.status-published, .status-active, .status-converted, .status-resolved { background: #E6F4EA; color: #1C7A35; }
.status-submitted, .status-under_review, .status-pending, .status-new, .status-open { background: #FFF3CD; color: #7A5B00; }
.status-approved, .status-interested, .status-negotiation, .status-follow_up, .status-contacted { background: #E7F0FA; color: #1F5F99; }
.status-rejected, .status-suspended, .status-lost { background: #FBE5E3; color: #A5332B; }
.status-revision_required { background: #FDEBD3; color: #9A5A00; }
.status-sold, .status-rented { background: var(--green); color: var(--gold-3); }

/* ---------- Wizard ---------- */
.wizard-steps { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: thin; }
.wizard-steps button { flex: 1 0 auto; border: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-weight: 600; font-size: .86rem; color: var(--muted); white-space: nowrap; }
.wizard-steps button span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--soft); margin-right: 6px; font-size: .78rem; }
.wizard-steps button.active { border-color: var(--green); color: var(--green); }
.wizard-steps button.active span, .wizard-steps button.done span { background: var(--green); color: var(--gold-3); }
.wizard-steps button.has-error { border-color: #d9534f; color: #A5332B; }
.wstep { display: none; }
.wstep.active { display: block; animation: fadeIn .3s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.choice-grid input { display: none; }
.choice-grid label { border: 2px solid var(--line); border-radius: 12px; padding: 14px 10px; text-align: center; cursor: pointer; font-weight: 600; height: 100%; display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center; line-height: 1.3; }
.choice-grid label i { font-size: 1.3rem; color: var(--gold-2); }
.choice-grid input:checked + label { border-color: var(--green); background: var(--soft); color: var(--green); }
.upload-zone { border: 2px dashed var(--gold); border-radius: var(--radius); padding: 26px; text-align: center; background: #FFFCF4; cursor: pointer; }
.upload-zone i { font-size: 2rem; color: var(--gold-2); }
.preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-top: 12px; }
.preview-grid figure { margin: 0; position: relative; }
.preview-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }
.preview-grid label { position: absolute; top: 4px; right: 4px; background: rgba(255,255,255,.95); border-radius: 8px; padding: 0 6px; font-size: .78rem; }
.review-list dt { color: var(--muted); font-weight: 600; }
.review-list dd { color: var(--green); font-weight: 600; margin-bottom: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: #0C2E20; color: rgba(255,255,255,.75); padding: 70px 0 0; position: relative; overflow: hidden; }
.footer-arc { position: absolute; left: -10%; right: -10%; top: -140px; height: 200px; border-bottom: 10px solid rgba(216,182,106,.5); border-radius: 50%; }
.footer-logo { background: #fff; border-radius: 16px; padding: 12px 16px; display: inline-block; }
.footer-logo img { height: 64px; width: auto; }
.site-footer h5 { color: var(--gold-3); font-size: 1.06rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--gold-3); }
.footer-contact i { color: var(--gold); width: 22px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(216,182,106,.5); display: grid; place-items: center; }
.footer-social a:hover { background: var(--gold); color: var(--green); }
.footer-bottom { margin-top: 50px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .9rem; }
.footer-tagline { color: var(--gold-3); font-style: italic; }

/* WhatsApp floating button */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 1040; display: flex; align-items: center; gap: 10px; background: #25D366; color: #fff; border-radius: 999px; padding: 12px 18px 12px 14px; box-shadow: 0 10px 28px rgba(37,211,102,.45); font-weight: 700; transition: transform .25s; }
.wa-float i { font-size: 1.6rem; }
.wa-float:hover { color: #fff; transform: translateY(-3px); }
@media (max-width: 575.98px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

.flash { border-radius: 12px; border: 0; box-shadow: var(--shadow-sm); }
.alert-success { background: #E6F4EA; color: #165C29; }
.alert-danger { background: #FBE5E3; color: #8F2A23; }
.alert-warning { background: #FFF3CD; color: #6B5200; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }
