/*
 * DreamHomes - main stylesheet
 * Colours come from CSS variables printed in the page head (Admin > Settings > Theme Colours).
 */

:root {
  --primary: #0B2D52;
  --primary-dark: #071F3A;
  --primary-rgb: 11, 45, 82;
  --accent: #E8A92E;
  --accent-dark: #D4951C;
  --accent-rgb: 232, 169, 46;
  --success: #16A34A;
  --success-rgb: 22, 163, 74;
  --info: #1D6FD8;
  --heading: #0E1C35;
  --text: #475467;
  --muted: #8A94A6;
  --line: #E6EBF2;
  --line-soft: #EEF2F7;
  --soft: #F6F9FC;
  --soft-blue: #EFF6FE;
  --white: #FFFFFF;
  --danger: #DC3545;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 6px 22px rgba(15, 34, 64, .07);
  --shadow-lg: 0 18px 50px rgba(15, 34, 64, .14);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5 { color: var(--heading); margin: 0 0 .5em; line-height: 1.22; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.container { width: 100%; max-width: 1368px; margin: 0 auto; padding: 0 32px; }
.container-home { max-width: 1360px; }
.container-wide { max-width: 1440px; padding-left: 22px; padding-right: 22px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 24px; border-radius: 8px; border: 1px solid transparent;
  font-weight: 700; font-size: 14.5px; line-height: 1; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn i { font-size: 1.1em; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 8px 20px rgba(var(--primary-rgb), .25); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); box-shadow: 0 8px 20px rgba(var(--accent-rgb), .3); }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { filter: brightness(.94); }
.btn-outline { background: #fff; color: var(--primary); border-color: #C9D3E0; }
.btn-outline:hover { border-color: var(--primary); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-light { background: #fff; color: var(--primary); border-color: var(--line); }
.btn-light:hover { border-color: #C9D3E0; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 7px; }
.btn-lg { height: 52px; padding: 0 30px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.eyebrow { display: block; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.section { padding: 44px 0; }
.container.section { padding-left: 32px; padding-right: 32px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section-head h2 { font-size: 30px; margin: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 0; color: var(--primary); font-weight: 700; font-size: 14px; white-space: nowrap; }
.link-arrow i { margin-left: 6px; transition: transform .2s; }
.link-arrow:hover i { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid rgba(230, 235, 242, .8); }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(15, 34, 64, .08); }
.header-inner { display: flex; align-items: center; height: var(--header-h); gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 44px; height: 44px; }
.brand-text strong { display: block; font-size: 22px; line-height: 1.05; font-weight: 800; color: var(--primary); letter-spacing: -.02em; }
.brand-text small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav a { position: relative; display: block; padding: 10px 16px; font-size: 14.5px; font-weight: 600; color: var(--heading); border-radius: 8px; transition: color .2s; }
.main-nav a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transition: transform .25s; }
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--heading); font-size: 20px; background: transparent; border: 0; transition: background .2s; }
.icon-btn:hover { background: var(--soft); }
.icon-btn .count { position: absolute; top: 4px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; line-height: 17px; text-align: center; }
.login-link { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; color: var(--text); background: #fff; transition: border-color .2s; }
.login-link:hover { border-color: #C9D3E0; color: var(--primary); }
.header-cta { height: 44px; padding: 0 22px; font-size: 14px; }
.currency-switch { position: relative; }
.currency-switch > button { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 10px; border: 0; background: transparent; color: var(--heading); font-weight: 600; font-size: 13px; border-radius: 8px; }
.currency-switch > button:hover { background: var(--soft); }
.dropdown-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; z-index: 70; }
.dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu a, .dropdown-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--heading); background: none; border: 0; text-align: left; }
.dropdown-menu a:hover, .dropdown-menu button:hover, .dropdown-menu a.active { background: var(--soft); }
.dropdown-menu .sym { width: 30px; color: var(--muted); font-weight: 600; }
.dropdown-menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.user-menu > button { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 10px 0 4px; border: 1px solid var(--line); border-radius: 30px; background: #fff; font-weight: 600; font-size: 13.5px; color: var(--heading); }
.user-menu img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.nav-toggle { display: none; }

/* mobile drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(7, 20, 38, .45); z-index: 80; opacity: 0; visibility: hidden; transition: .25s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(330px, 86vw); background: #fff; z-index: 90; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; overflow-y: auto; }
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
body.drawer-open { overflow: hidden; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.drawer nav a { display: flex; align-items: center; gap: 12px; padding: 13px 22px; font-weight: 600; color: var(--heading); border-bottom: 1px solid var(--line-soft); }
.drawer nav a i { color: var(--muted); font-size: 18px; }
.drawer nav a.active { color: var(--primary); background: var(--soft); }
.drawer-foot { margin-top: auto; padding: 18px; display: grid; gap: 10px; }
.drawer-currency { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 22px; }
.drawer-currency a { padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; font-weight: 600; }
.drawer-currency a.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: var(--primary-dark) center 62% / cover no-repeat; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 33, 58, .92) 0%, rgba(17, 38, 64, .78) 30%, rgba(20, 40, 66, .25) 58%, rgba(20, 40, 66, 0) 75%), linear-gradient(0deg, rgba(8, 22, 40, .35), rgba(8, 22, 40, 0) 40%); }
.hero-home { min-height: 440px; padding: 54px 0 26px; }
.hero h1 { color: #fff; font-size: 46px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 12px; max-width: 480px; }
.hero .eyebrow { font-size: 14px; letter-spacing: .07em; margin-bottom: 12px; }
.hero-lead { font-size: 15.5px; line-height: 1.65; color: rgba(255, 255, 255, .92); max-width: 440px; margin-bottom: 0; }

/* search box */
.search-box { position: relative; margin-top: 26px; max-width: 1180px; }
.search-tabs { display: inline-flex; gap: 4px; padding: 8px 8px 0; background: #fff; border-radius: 12px 12px 0 0; }
.search-tabs button { height: 40px; min-width: 112px; padding: 0 22px; border: 0; border-radius: 9px; background: transparent; font-weight: 700; font-size: 14px; color: var(--heading); transition: background .2s, color .2s; }
.search-tabs button.active { background: var(--primary); color: #fff; box-shadow: 0 6px 14px rgba(var(--primary-rgb), .25); }
.search-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 22px; align-items: center; padding: 18px 22px; background: #fff; border-radius: 0 12px 12px 12px; box-shadow: 0 20px 50px rgba(5, 18, 36, .25); }
.search-field label { display: flex; align-items: center; gap: 8px; margin: 0 0 6px 2px; font-size: 13.5px; font-weight: 600; color: var(--heading); }
.search-field label i { font-size: 17px; color: var(--primary); }
.search-field label .muted { color: var(--muted); font-weight: 500; }
.select-wrap { position: relative; }
.select-wrap > i:first-child { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 13px; color: var(--muted); pointer-events: none; }
.select-wrap select { width: 100%; height: 42px; padding: 0 34px 0 32px; border: 1px solid var(--line-soft); border-radius: 8px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230E1C35' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m2 5 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 12px no-repeat; appearance: none; font-size: 14px; color: var(--text); box-shadow: 0 1px 3px rgba(16, 24, 40, .06); }
.search-submit { height: 54px; min-width: 210px; font-size: 16px; border-radius: 9px; }

/* ---------- trust strip ---------- */
.trust-strip { background: var(--soft); border-bottom: 1px solid var(--line-soft); }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-item { display: flex; align-items: center; gap: 16px; padding: 26px 20px; position: relative; justify-content: center; }
.trust-item + .trust-item::before { content: ""; position: absolute; left: 0; top: 50%; height: 42px; transform: translateY(-50%); border-left: 1px solid #DCE3EC; }
.trust-item h3 { font-size: 15px; margin: 0 0 3px; font-weight: 700; }
.trust-item p { margin: 0; font-size: 13.5px; color: var(--muted); }
.ticon { flex-shrink: 0; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; }
.ticon svg { width: 30px; height: 30px; }
.ticon.blue { background: radial-gradient(circle at 30% 30%, #fff, #E1EEFC); box-shadow: inset 0 0 0 2px #C9DDF5; color: #1E5BA8; }
.ticon.gold { background: radial-gradient(circle at 30% 30%, #fff, #FCEFD8); box-shadow: inset 0 0 0 2px #F3D9A8; color: #C98A16; }
.ticon.green { background: radial-gradient(circle at 30% 30%, #fff, #DDF4E6); box-shadow: inset 0 0 0 2px #B7E3C7; color: #1B8A4C; }
.ticon.purple { background: radial-gradient(circle at 30% 30%, #fff, #EEE6FB); box-shadow: inset 0 0 0 2px #D8C8F3; color: #6D3FC0; }

/* ---------- property cards ---------- */
.prop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.prop-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 12px; box-shadow: 0 2px 4px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .07); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.prop-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16, 24, 40, .13); }
.prop-media { position: relative; display: block; aspect-ratio: 2 / 1; 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.05); }
.badge { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 12px; border-radius: 6px; color: #fff; font-size: 13px; font-weight: 700; line-height: 1; white-space: nowrap; }
.badge-sale { background: var(--success); }
.badge-rent { background: var(--info); }
.badge-featured { background: var(--accent); }
.badge-soft { background: var(--soft); color: var(--text); font-weight: 600; }
.prop-media .badge { position: absolute; top: 12px; left: 12px; }
.fav-btn { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .22); color: #fff; font-size: 17px; backdrop-filter: blur(4px); transition: background .2s, color .2s, transform .2s; z-index: 2; }
.fav-btn:hover { background: rgba(255, 255, 255, .4); transform: scale(1.06); }
.fav-btn.active { background: #fff; color: #E5484D; }
.media-go { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(15, 30, 50, .45); color: #fff; font-size: 15px; }
.prop-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.prop-title { font-size: 16px; font-weight: 700; margin: 0 0 6px; color: var(--heading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prop-title a:hover { color: var(--primary); }
.prop-loc { font-size: 13.5px; color: var(--muted); margin: 0 0 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prop-loc i { margin-right: 3px; }
.prop-specs { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--text); margin-bottom: 14px; }
.home-grid .prop-specs { flex-wrap: nowrap; overflow: hidden; }
.prop-specs > span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.prop-specs i { color: var(--muted); font-size: 15px; }
.prop-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.price { font-size: 20px; font-weight: 800; color: #0F6B3F; letter-spacing: -.01em; white-space: nowrap; }
.price small { font-size: 13px; font-weight: 500; color: var(--text); margin-left: 3px; }
.go-btn { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--heading); font-size: 18px; transition: background .2s, color .2s; }
.go-btn:hover { background: var(--primary); color: #fff; }

/* ---------- why choose us ---------- */
.why { position: relative; color: #fff; background: var(--primary) center / cover no-repeat; isolation: isolate; padding: 30px 0; }
.why::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(var(--primary-rgb), .94) 0%, rgba(var(--primary-rgb), .86) 45%, rgba(var(--primary-rgb), .74) 100%); }
.why-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr); gap: 50px; align-items: center; }
.why h2 { color: #fff; font-size: 31px; font-weight: 800; margin-bottom: 14px; max-width: 420px; }
.why p { color: rgba(255, 255, 255, .88); max-width: 480px; font-size: 15.5px; }
.why .btn { margin-top: 4px; }
.why-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.why-card { display: flex; align-items: center; gap: 18px; padding: 20px 24px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(6px); transition: background .25s, transform .25s; }
.why-card:hover { background: rgba(255, 255, 255, .11); transform: translateY(-3px); }
.why-card .wicon { flex-shrink: 0; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(var(--accent-rgb), .16); color: var(--accent); font-size: 26px; }
.why-card h3 { color: #fff; font-size: 17px; margin: 0 0 4px; }
.why-card p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .78); }
.partner-banner { display: none; }

/* ---------- blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.blog-card { display: flex; flex-direction: column; background: #fff; border-radius: 10px; box-shadow: 0 2px 4px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .07); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16, 24, 40, .12); }
.blog-card .thumb { display: block; aspect-ratio: 5 / 1; overflow: hidden; }
.blog-card.tall .thumb { aspect-ratio: 16 / 9; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.blog-card:hover .thumb img { transform: scale(1.05); }
.blog-card .body { padding: 8px 16px 12px; display: flex; flex-direction: column; flex: 1; }
.blog-card time { font-size: 12.5px; color: var(--muted); }
.blog-card h3 { font-size: 15px; line-height: 1.32; margin: 2px 0 6px; }
.home-blog .blog-card h3 { max-width: 330px; }
.home-blog .section-head { margin-bottom: 14px; }
.home-blog .section-head h2 { font-size: 26px !important; }
.home-blog .eyebrow { margin-bottom: 4px; }
.featured-home { padding: 38px 0 40px; }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card .excerpt { font-size: 14px; margin-bottom: 12px; }
.read-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--primary); }

/* ---------- footer ---------- */
.site-footer { position: relative; color: rgba(255, 255, 255, .82); background: #062849 center bottom / cover no-repeat; isolation: isolate; font-size: 13.5px; }
.site-footer.footer-light::before { background: linear-gradient(90deg, rgba(7, 46, 82, .97) 0%, rgba(8, 54, 94, .95) 60%, rgba(10, 62, 106, .86) 100%); }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 28, 53, .97) 0%, rgba(5, 36, 66, .95) 60%, rgba(7, 46, 84, .86) 100%); }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr) minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; padding: 30px 0 20px; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: rgba(255, 255, 255, .7); }
.footer-brand p { margin: 14px 0 16px; max-width: 360px; line-height: 1.65; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-size: 15px; transition: background .2s, border-color .2s; }
.socials a:hover { background: var(--accent); border-color: var(--accent); }
.site-footer h4 { color: #fff; font-size: 15px; margin: 4px 0 12px; }
.footer-links li + li { margin-top: 3px; }
.footer-links a { transition: color .2s, padding .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-links.chev a::before { content: "\203A"; margin-right: 8px; color: rgba(255, 255, 255, .7); }
.footer-links.dots a::before { content: "\2022"; margin-right: 10px; color: rgba(255, 255, 255, .7); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact li + li { margin-top: 7px; }
.footer-contact i { font-size: 16px; color: #fff; margin-top: 1px; }
.footer-contact .btn { margin-top: 18px; height: 42px; padding: 0 30px; font-size: 13.5px; }
.site-footer.footer-compact { font-size: 12px; }
.footer-compact .brand img { width: 36px; height: 36px; }
.footer-compact .brand-text strong { font-size: 18px; }
.footer-compact .footer-main { padding: 22px 0 10px; gap: 30px; }
.footer-compact .footer-brand p { margin: 10px 0 12px; line-height: 1.55; }
.footer-compact .footer-links li + li { margin-top: 0; }
.footer-compact .footer-links li { line-height: 1.45; }
.footer-compact h4 { margin-bottom: 8px; }
.footer-compact .footer-contact li + li { margin-top: 4px; }
.footer-compact .socials a { width: 30px; height: 30px; font-size: 13px; }
.footer-compact .footer-contact .btn { margin-top: 10px !important; height: 36px; font-size: 12.5px; }
.footer-compact .footer-bottom { padding: 10px 0 12px; font-size: 12px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0 14px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }
.footer-bottom nav { display: flex; gap: 10px; align-items: center; }
.footer-bottom nav span { opacity: .5; }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- mobile bottom bar ---------- */
.bottom-nav { display: none; }

/* ---------- forms ---------- */
.form-group { margin-bottom: 18px; }
.form-label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--heading); }
.form-label .req { color: var(--danger); margin-left: 2px; }
.form-control, .form-select {
  width: 100%; height: 46px; padding: 0 14px; border: 1px solid #DCE3EC; border-radius: 8px; background: #fff;
  font-size: 14px; color: var(--heading); transition: border-color .2s, box-shadow .2s; box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
.form-control::placeholder { color: #98A2B3; }
textarea.form-control { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; line-height: 1.55; }
.form-select { appearance: none; padding-right: 38px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230E1C35' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m2 5 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 12px no-repeat; color: var(--heading); }
.form-select:invalid, .form-select.placeholder { color: #98A2B3; }
.form-control:focus, .form-select:focus { outline: none; border-color: rgba(var(--primary-rgb), .55); box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .09); }
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--danger); }
.invalid-feedback { display: block; margin-top: 6px; font-size: 13px; color: var(--danger); }
.form-hint { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.check { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--primary); }
.check a { color: var(--info); text-decoration: underline; }
.input-icon { position: relative; }
.input-icon .form-control { padding-right: 42px; }
.input-icon i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-group { display: flex; gap: 8px; }
.input-group .form-control { flex: 1; min-width: 0; }
.input-group .form-select { width: 110px; flex-shrink: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
.rooms-pair { display: contents; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 26px; }

/* ---------- alerts / toast ---------- */
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 13px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 18px; border: 1px solid transparent; }
.alert i { font-size: 17px; margin-top: 1px; }
.alert-success { background: #ECFDF3; color: #05603A; border-color: #ABEFC6; }
.alert-error, .alert-danger { background: #FEF3F2; color: #B42318; border-color: #FECDCA; }
.alert-info { background: var(--soft-blue); color: #1849A9; border-color: #C9DDF5; }
.alert-warning { background: #FFFAEB; color: #93370D; border-color: #FEDF89; }
.toast-wrap { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: grid; gap: 10px; }
.toast { display: flex; gap: 10px; align-items: center; min-width: 260px; max-width: calc(100vw - 40px); padding: 13px 16px; border-radius: 10px; background: var(--heading); color: #fff; font-size: 14px; box-shadow: var(--shadow-lg); animation: toastIn .3s ease; }
.toast.success i { color: #4ADE80; }
.toast.error i { color: #F87171; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 54px 0; color: #fff; background: var(--primary) center / cover no-repeat; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(var(--primary-rgb), .95), rgba(var(--primary-rgb), .7)); }
.page-hero h1 { color: #fff; font-size: 38px; margin-bottom: 8px; }
.page-hero p { margin: 0; color: rgba(255, 255, 255, .85); max-width: 640px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.crumbs i { font-size: 10px; }
.crumbs a:hover { color: var(--primary); }
.page-hero .crumbs { color: rgba(255, 255, 255, .75); }
.page-hero .crumbs a:hover { color: #fff; }

/* ---------- property details ---------- */
.pd-top { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr); gap: 40px; padding: 22px 0 30px; }
.gallery-main { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9.1; background: #0E1C35; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.gallery-main .badge { position: absolute; top: 16px; left: 16px; height: 32px; padding: 0 16px; font-size: 15px; border-radius: 7px; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .88); color: var(--heading); font-size: 18px; box-shadow: var(--shadow); transition: background .2s; }
.gallery-nav:hover { background: #fff; }
.gallery-nav.prev { left: 14px; }
.gallery-nav.next { right: 14px; }
.gallery-count { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 7px; background: rgba(10, 22, 40, .7); color: #fff; font-size: 13px; font-weight: 600; }
.thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.thumbs button { position: relative; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 10; background: none; transition: border-color .2s; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button.active { border-color: var(--accent); }
.thumbs .more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(14, 33, 58, .75); color: #fff; font-weight: 700; font-size: 16px; }
.pd-head .crumbs { justify-content: space-between; margin: 6px 0 16px; }
.pd-head .crumbs nav { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.wish-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--heading); background: none; border: 0; padding: 0; }
.wish-link i { font-size: 17px; }
.wish-link.active i { color: #E5484D; }
.pd-head h1 { font-size: 33px; font-weight: 800; margin-bottom: 12px; }
.pd-loc { display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 500; color: var(--heading); margin-bottom: 22px; }
.pd-loc i { font-size: 18px; }
.pd-price { display: flex; align-items: baseline; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.pd-price strong { font-size: 30px; font-weight: 800; color: var(--success); }
.pd-price span { color: var(--muted); font-size: 15px; }
.pd-specs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 0; margin-bottom: 18px; }
.pd-specs span { display: inline-flex; align-items: center; gap: 12px; padding: 4px 34px 4px 10px; font-size: 15.5px; font-weight: 600; color: var(--heading); }
.pd-specs span + span { border-left: 1px solid var(--line); padding-left: 26px; }
.pd-specs i { font-size: 20px; color: var(--heading); }
.pd-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.pd-tags span { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 7px; background: var(--soft); font-size: 14px; font-weight: 600; color: var(--heading); }
.pd-tags i { color: var(--text); }
.pd-cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pd-cta .btn { height: 52px; font-size: 15.5px; }

.pd-trust { background: var(--soft); }
.pd-trust .trust-item { padding: 24px 18px; }

.pd-body { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 26px; padding: 24px 0 40px; }
.pd-tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--line); margin-bottom: 26px; overflow-x: auto; scrollbar-width: none; }
.pd-tabs::-webkit-scrollbar { display: none; }
.pd-tabs a { position: relative; padding: 14px 26px; font-weight: 600; font-size: 14.5px; color: var(--text); white-space: nowrap; }
.pd-tabs a.active { color: var(--heading); }
.pd-tabs a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--primary); }
.pd-tabs .more-tab { display: none; }
.pd-overview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 40px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.pd-overview h2, .pd-section h2 { font-size: 24px; font-weight: 800; margin-bottom: 14px; }
.pd-overview .desc { font-size: 16px; line-height: 1.75; color: #3D4A5C; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 30px; margin-top: 22px; }
.fact { display: flex; gap: 14px; align-items: center; }
.fact .ficon { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 19px; color: var(--heading); }
.fact small { display: block; font-size: 13px; color: var(--muted); }
.fact strong { display: block; font-size: 15px; font-weight: 600; color: var(--heading); }
.price-card { align-self: start; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.price-card h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; margin: 0 0 6px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.price-card h3::before { content: ""; width: 3px; height: 16px; border-radius: 2px; background: var(--line); }
.price-row { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; color: var(--heading); }
.price-row strong { color: var(--success); font-weight: 700; white-space: nowrap; }
.price-card .btn { margin-top: 18px; width: 100%; height: 44px; }
.pd-section { padding: 26px 0; border-bottom: 1px solid var(--line); }
.amenity-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.amenity { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 6px; border-radius: 10px; background: linear-gradient(180deg, #F7FAFD, #FFFFFF); text-align: center; font-size: 12.5px; font-weight: 500; color: var(--heading); line-height: 1.3; }

.amenity .aicon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--soft-blue); color: var(--primary); }
.amenity .aicon svg { width: 22px; height: 22px; }
.loc-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; }
.loc-plan { display: grid; grid-template-columns: minmax(0, 2.7fr) minmax(0, 1fr); gap: 30px; }
.map-box { position: relative; border-radius: 10px; overflow: hidden; min-height: 220px; background: #E9EEF4 url('../img/map-placeholder.svg') center / cover no-repeat; border: 1px solid var(--line); }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-box .map-chip { position: absolute; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 6px; background: #fff; font-size: 13px; font-weight: 600; color: var(--heading); box-shadow: var(--shadow); }
.map-box .map-chip.left { left: 12px; }
.map-box .map-chip.right { right: 12px; }
.why-loc { padding: 22px; border-radius: 10px; background: var(--soft); }
.why-loc h3 { font-size: 16px; margin-bottom: 14px; }
.why-loc li { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--text); }
.why-loc li + li { margin-top: 12px; }
.why-loc li i { color: var(--success); font-size: 18px; }
.plan-box { padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; text-align: center; box-shadow: var(--shadow-sm); }
.plan-box img { width: 100%; max-height: 160px; object-fit: contain; margin: 0 auto 10px; }
.plan-box .btn { width: 100%; height: 40px; font-size: 13.5px; }

.agent-card, .side-card { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.side-card + .side-card, .agent-card + .side-card { margin-top: 14px; }
.agent-top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.agent-top img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.agent-top h3 { font-size: 16px; margin: 0; }
.agent-top small { color: var(--muted); font-size: 13px; }
.verified-tick { color: var(--info); font-size: 14px; margin-left: 4px; }
.stars { display: flex; align-items: center; gap: 2px; color: #F5B12E; font-size: 15px; }
.stars b { color: var(--heading); font-size: 13.5px; margin-left: 8px; }
.stars em { font-style: normal; color: var(--muted); font-size: 13px; margin-left: 4px; }
.agent-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.agent-actions .btn { height: 42px; padding: 0 10px; font-size: 14px; }
.pid-card { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pid-card small { display: block; color: var(--muted); font-size: 13px; }
.pid-card strong { color: var(--heading); font-weight: 600; }
.nearby h3 { font-size: 18px; margin: 22px 0 12px; }
.nearby li { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border: 1px solid var(--line-soft); border-radius: 10px; background: #fff; font-size: 14px; color: var(--heading); box-shadow: var(--shadow-sm); }
.nearby li + li { margin-top: 10px; }
.nearby .nicon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--soft-blue); color: var(--primary); }
.nearby .nicon svg { width: 19px; height: 19px; }
.nearby .dist { margin-left: auto; color: var(--text); font-size: 13.5px; }
.cta-banner { position: relative; margin: 6px 0 36px; padding: 24px 28px; border-radius: 12px; color: #fff; background: var(--primary-dark) center / cover no-repeat; overflow: hidden; isolation: isolate; }
.cta-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 22, 42, .97) 0%, rgba(6, 22, 42, .85) 34%, rgba(6, 22, 42, .25) 70%, rgba(6, 22, 42, .1) 100%); }
.cta-banner h2 { color: #fff; font-size: 23px; margin-bottom: 6px; }
.cta-banner p { margin-bottom: 14px; font-size: 14px; color: rgba(255, 255, 255, .88); }
.cta-banner .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sticky-agent { display: none; }
.reviews-list .review { padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.review-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.review-head strong { color: var(--heading); }
.emi-card .result { display: flex; justify-content: space-between; align-items: center; padding: 14px; border-radius: 10px; background: var(--soft); margin-top: 8px; }
.emi-card .result strong { font-size: 20px; color: var(--primary); }

/* ---------- list property ---------- */
.hero-list { min-height: 380px; padding: 56px 0 44px; }
.hero-list h1 { font-size: 47px; max-width: 470px; }
.hero-list { background-position: center 35%; }
.hero-list .hero-lead { font-size: 17px; }
.hero-feats { display: flex; flex-wrap: wrap; gap: 0; margin-top: 30px; }
.hero-feat { display: flex; align-items: center; gap: 12px; padding-right: 22px; }
.hero-feat + .hero-feat { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .3); }
.hero-feat .ring { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .85); font-size: 20px; }
.hero-feat strong { display: block; color: #fff; font-size: 14.5px; }
.hero-feat small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .85); }
.lp-wrap { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; padding: 30px 0 50px; }
.side-box { padding: 26px 24px; border-radius: 14px; background: linear-gradient(180deg, #EAF4FE, #F3F8FE); border: 1px solid #E1ECF8; }
.side-box + .side-box { margin-top: 20px; }
.side-box .big-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #CFE6FA; color: var(--primary); font-size: 28px; margin-bottom: 16px; box-shadow: 0 0 0 6px rgba(207, 230, 250, .45); }
.side-box h2 { font-size: 24px; margin-bottom: 20px; }
.why-list li { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--heading); line-height: 1.45; }
.why-list li + li { margin-top: 18px; }
.why-list .wl-icon { flex-shrink: 0; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--primary); font-size: 19px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .6), 0 4px 10px rgba(15, 34, 64, .08); }
.testi-box .quote { font-size: 54px; line-height: .6; color: var(--primary); font-family: Georgia, serif; font-weight: 700; height: 30px; }
.testi-box blockquote { margin: 0 0 20px; font-size: 15.5px; line-height: 1.75; color: var(--heading); }
.testi-person { display: flex; align-items: center; gap: 12px; }
.testi-person img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testi-person strong { display: block; color: var(--heading); font-size: 14.5px; }
.testi-person small { color: var(--muted); font-size: 13px; }
.form-card { padding: 30px 32px 34px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.form-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
.form-card-head h2 { font-size: 24px; margin-bottom: 6px; color: var(--primary); }
.form-card-head p { margin: 0; color: var(--primary); font-size: 14.5px; opacity: .85; }
.stepper { display: flex; align-items: flex-start; flex-shrink: 0; }
.stepper .step { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 128px; text-align: center; font-size: 12.5px; color: var(--muted); position: relative; }
.stepper .step span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #EDF2F8; color: var(--heading); font-size: 13px; font-weight: 700; box-shadow: 0 0 0 4px #F6F9FC; position: relative; z-index: 1; }
.stepper .step + .step::before { content: ""; position: absolute; top: 15px; right: 50%; width: 100%; height: 2px; background: #DCE3EC; }
.stepper .step.active span, .stepper .step.done span { background: var(--primary); color: #fff; box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .15); }
.stepper .step.done + .step::before { background: var(--primary); }
.stepper .step.active { color: var(--primary); font-weight: 700; }
.fsec-title { display: flex; gap: 14px; font-size: 18px; color: var(--primary); margin: 6px 0 18px; font-weight: 700; }
.fsec + .fsec { margin-top: 10px; }
.lp-additional { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 28px; }
.dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 120px; padding: 20px; border: 1.5px dashed #C9D6E6; border-radius: 10px; background: #FBFDFF; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.dropzone:hover, .dropzone.drag { border-color: var(--primary); background: var(--soft-blue); }
.dropzone i { font-size: 28px; color: var(--primary); }
.dropzone strong { font-size: 13.5px; color: var(--heading); font-weight: 600; }
.dropzone small { font-size: 12px; color: var(--muted); }
.previews { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; align-content: start; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.previews .pv { position: relative; aspect-ratio: 1.15; border-radius: 8px; overflow: hidden; background: var(--soft); }
.previews .pv img { width: 100%; height: 100%; object-fit: cover; }
.previews .pv button { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; }
.previews .pv-add { display: grid; place-items: center; aspect-ratio: 1.15; border-radius: 8px; border: 0; background: #F1F5FA; color: var(--primary); font-size: 22px; }
.lp-actions { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 30px; align-items: end; margin-top: 16px; }
.lp-actions .btn-lg { height: 50px; }
.help-card { display: flex; gap: 16px; padding: 18px 20px; border-radius: 12px; background: var(--soft-blue); }
.help-card > i { font-size: 34px; color: var(--heading); }
.help-card h3 { font-size: 15.5px; margin-bottom: 4px; }
.help-card p { margin: 0 0 8px; font-size: 12.5px; color: var(--text); }
.help-card a { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--primary); }
.help-card a + a { margin-top: 4px; }
.review-list dl { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 10px 20px; margin: 0; font-size: 14px; }
.review-list dt { color: var(--muted); }
.review-list dd { margin: 0; color: var(--heading); font-weight: 600; }

/* ---------- listings / search ---------- */
.listing-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; padding: 34px 0 60px; }
.filter-card { position: sticky; top: calc(var(--header-h) + 16px); padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.filter-card h3 { font-size: 17px; display: flex; justify-content: space-between; align-items: center; }
.filter-card h3 a { font-size: 13px; color: var(--info); font-weight: 600; }
.filter-card .form-group { margin-bottom: 14px; }
.filter-card .form-label { font-size: 13px; }
.filter-card .form-control, .filter-card .form-select { height: 42px; }
.pill-group { display: flex; flex-wrap: wrap; gap: 6px; }
.pill-group label { cursor: pointer; }
.pill-group input { position: absolute; opacity: 0; pointer-events: none; }
.pill-group span { display: inline-flex; align-items: center; height: 34px; padding: 0 13px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--text); transition: .2s; }
.pill-group input:checked + span { background: var(--primary); color: #fff; border-color: var(--primary); }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.results-bar h1 { font-size: 24px; margin: 0; }
.results-bar p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.results-tools { display: flex; gap: 10px; align-items: center; }
.results-tools .form-select { height: 40px; width: auto; min-width: 180px; }
.list-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.empty-state { padding: 60px 20px; text-align: center; border: 1px dashed var(--line); border-radius: 14px; background: var(--soft); }
.empty-state i { font-size: 44px; color: var(--muted); }
.empty-state h3 { margin: 12px 0 6px; }
.filter-toggle { display: none; }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 34px; flex-wrap: wrap; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-weight: 600; font-size: 14px; color: var(--heading); }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active span { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination .disabled span { color: var(--muted); background: var(--soft); }

/* ---------- content pages ---------- */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 40px; padding: 44px 0 64px; }
.prose { font-size: 16px; line-height: 1.8; color: #344054; }
.prose h2, .prose h3 { margin: 1.6em 0 .6em; }
.prose h3 { font-size: 21px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.2em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 6px; }
.prose img { border-radius: 12px; margin: 1.2em 0; }
.prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--accent); background: var(--soft); border-radius: 0 10px 10px 0; }
.prose a { color: var(--info); text-decoration: underline; }
.post-cover { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 14px; margin-bottom: 26px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.post-meta i { margin-right: 5px; }
.mini-post { display: flex; gap: 12px; align-items: center; }
.mini-post + .mini-post { margin-top: 14px; }
.mini-post img { width: 76px; height: 58px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.mini-post strong { display: block; font-size: 14px; line-height: 1.4; color: var(--heading); }
.mini-post small { color: var(--muted); font-size: 12.5px; }
.info-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.info-card { padding: 28px 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); transition: transform .25s; }
.info-card:hover { transform: translateY(-4px); }
.info-card .ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--soft-blue); color: var(--primary); font-size: 25px; margin-bottom: 16px; }
.info-card h3 { font-size: 18px; }
.info-card p { margin: 0; font-size: 14.5px; }
.stats-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding: 30px; border-radius: 16px; background: var(--primary); color: #fff; text-align: center; }
.stats-band strong { display: block; font-size: 34px; font-weight: 800; color: var(--accent); }
.stats-band span { font-size: 14px; color: rgba(255, 255, 255, .85); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; align-items: center; }
.split img { border-radius: 16px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow-lg); }
.check-list li { display: flex; gap: 10px; margin-bottom: 10px; }
.check-list i { color: var(--success); font-size: 18px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.faq-item + .faq-item { margin-top: 12px; }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 20px; font-weight: 700; color: var(--heading); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { transition: transform .2s; }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item p { padding: 0 20px 18px; margin: 0; }
.contact-grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 30px; }
.contact-info li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.contact-info .ci { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--soft-blue); color: var(--primary); font-size: 19px; flex-shrink: 0; }
.contact-info small { display: block; color: var(--muted); font-size: 13px; }
.contact-info strong { color: var(--heading); font-weight: 600; overflow-wrap: anywhere; }
.agent-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.agent-tile { padding: 26px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: center; box-shadow: var(--shadow); }
.agent-tile img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; box-shadow: 0 0 0 4px var(--soft-blue); }
.agent-tile h3 { font-size: 17px; margin-bottom: 2px; }
.agent-tile small { color: var(--muted); }
.agent-tile .stars { justify-content: center; margin: 10px 0 14px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.plan-card.popular { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); }
.plan-card .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: 20px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; }
.plan-card h3 { font-size: 20px; margin-bottom: 4px; }
.plan-card .tagline { font-size: 14px; color: var(--muted); }
.plan-card .amount { font-size: 38px; font-weight: 800; color: var(--heading); margin: 12px 0 2px; }
.plan-card .period { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.plan-card ul { margin-bottom: 24px; }
.plan-card li { display: flex; gap: 10px; padding: 6px 0; font-size: 14.5px; }
.plan-card li i { color: var(--success); }
.plan-card .btn { margin-top: auto; }

/* ---------- auth ---------- */
.auth-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - var(--header-h)); }
.auth-side { position: relative; padding: 60px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; background: var(--primary) center / cover no-repeat; isolation: isolate; }
.auth-side::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(var(--primary-rgb), .95) 10%, rgba(var(--primary-rgb), .35)); }
.auth-side h2 { color: #fff; font-size: 34px; max-width: 460px; }
.auth-side p { color: rgba(255, 255, 255, .85); max-width: 460px; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 50px 24px; background: var(--soft); }
.auth-card { width: 100%; max-width: 440px; padding: 34px 32px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); }
.auth-card h1 { font-size: 26px; margin-bottom: 6px; }
.auth-card > p { color: var(--muted); margin-bottom: 24px; }
.social-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.social-btns .btn { height: 44px; font-weight: 600; font-size: 14px; }
.social-btns img { width: 18px; height: 18px; }
.divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: 13px; }
.divider::before, .divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.auth-foot { margin-top: 18px; text-align: center; font-size: 14px; color: var(--muted); }
.auth-foot a, .link { color: var(--info); font-weight: 600; }
.demo-logins { margin-top: 18px; padding: 14px; border: 1px dashed #C9D6E6; border-radius: 10px; background: var(--soft); font-size: 13px; }
.demo-logins strong { display: block; color: var(--heading); }
.demo-cred { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-top: 10px; color: var(--muted); }
.demo-cred b { color: var(--heading); overflow-wrap: anywhere; }
.demo-alt { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 600; }
.demo-bar { position: relative; z-index: 60; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 14px; padding: 7px 16px; background: var(--primary-dark); color: rgba(255, 255, 255, .85); font-size: 13px; text-align: center; }
.demo-bar a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 20px; background: rgba(255, 255, 255, .12); color: #fff; font-weight: 600; }
.demo-bar a:hover { background: var(--accent); }
@media (max-width: 575px) { .demo-bar > span { flex-basis: 100%; } }

/* ---------- dashboard ---------- */
.dash { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; padding: 32px 0 60px; }
.dash-nav { align-self: start; position: sticky; top: calc(var(--header-h) + 16px); padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.dash-user { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 10px; border-bottom: 1px solid var(--line-soft); }
.dash-user img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.dash-user strong { display: block; color: var(--heading); font-size: 15px; line-height: 1.3; }
.dash-user small { color: var(--muted); font-size: 12.5px; }
.dash-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--text); transition: background .2s, color .2s; }
.dash-nav a i { font-size: 17px; }
.dash-nav a:hover { background: var(--soft); color: var(--heading); }
.dash-nav a.active { background: var(--primary); color: #fff; }
.dash-nav a .count { margin-left: auto; padding: 1px 8px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 11.5px; }
.dash-title { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.dash-title h1 { font-size: 26px; margin: 0; }
.dash-title p { margin: 4px 0 0; color: var(--muted); }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 24px; }
.stat { display: flex; align-items: center; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.stat .si { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; font-size: 22px; }
.stat strong { display: block; font-size: 24px; font-weight: 800; color: var(--heading); line-height: 1.1; }
.stat small { color: var(--muted); font-size: 13px; }
.si.blue { background: #E8F1FD; color: #1D6FD8; }
.si.gold { background: #FDF3E1; color: #C98A16; }
.si.green { background: #E5F6EC; color: #16A34A; }
.si.purple { background: #F1EBFC; color: #6D3FC0; }
.card { border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.card + .card { margin-top: 22px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); }
.card-head h2, .card-head h3 { font-size: 17px; margin: 0; }
.card-body { padding: 20px; }
.table-scroll { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { padding: 12px 16px; text-align: left; font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; background: var(--soft); white-space: nowrap; }
.table td { padding: 14px 16px; border-top: 1px solid var(--line-soft); vertical-align: middle; color: var(--heading); }
.table .thumb-cell { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.table .thumb-cell img { width: 64px; height: 46px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.table .thumb-cell strong { display: block; font-size: 14px; line-height: 1.35; }
.table .thumb-cell small { color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: capitalize; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-success { background: #ECFDF3; color: #067647; }
.status-warning { background: #FFFAEB; color: #B54708; }
.status-danger { background: #FEF3F2; color: #B42318; }
.status-info { background: #EFF8FF; color: #175CD3; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.plan-banner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 22px 24px; border-radius: 14px; background: linear-gradient(110deg, var(--primary), #154A80); color: #fff; margin-bottom: 24px; }
.plan-banner h3 { color: #fff; font-size: 19px; margin-bottom: 4px; }
.plan-banner p { margin: 0; color: rgba(255, 255, 255, .82); font-size: 14px; }
.avatar-edit { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.avatar-edit img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; }
.gateway-list { display: grid; gap: 10px; }
.gateway { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .2s, background .2s; }
.gateway input { width: 18px; height: 18px; accent-color: var(--primary); }
.gateway .gi { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--soft-blue); color: var(--primary); font-size: 20px; }
.gateway strong { display: block; color: var(--heading); font-size: 14.5px; }
.gateway small { color: var(--muted); font-size: 12.5px; }
.gateway:has(input:checked) { border-color: var(--primary); background: #F7FAFE; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 17px; font-weight: 800; color: var(--heading); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; background: rgba(7, 20, 38, .55); opacity: 0; visibility: hidden; transition: .25s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-dialog { width: 100%; max-width: 480px; max-height: calc(100vh - 40px); overflow-y: auto; padding: 26px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); transform: translateY(14px); transition: transform .25s; }
.modal.open .modal-dialog { transform: none; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
.modal-head h3 { margin: 0; font-size: 20px; }
.modal-head p { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
.modal-close { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--soft); font-size: 15px; }
.lightbox { position: fixed; inset: 0; z-index: 160; display: none; align-items: center; justify-content: center; background: rgba(5, 12, 24, .94); }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; object-fit: contain; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 20px; }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; }
.lightbox .lb-next { right: 18px; top: 50%; }

.cookie-bar { position: fixed; left: 20px; bottom: 20px; z-index: 120; display: flex; gap: 16px; align-items: center; max-width: 520px; padding: 16px 18px; border-radius: 14px; background: var(--heading); color: rgba(255, 255, 255, .9); font-size: 13.5px; box-shadow: var(--shadow-lg); }
.cookie-bar a { color: var(--accent); }
.ad-slot { margin: 26px auto; text-align: center; overflow: hidden; }
.ad-slot small { display: block; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.compare-bar { position: fixed; left: 50%; bottom: 20px; z-index: 110; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 18px; border-radius: 40px; background: var(--heading); color: #fff; font-size: 14px; box-shadow: var(--shadow-lg); }
.compare-table td, .compare-table th { min-width: 180px; }
.compare-table img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; }

/* ---------- utilities ---------- */
.text-muted { color: var(--muted); }
.text-success { color: var(--success); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.d-flex { display: flex; } .gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .ai-center { align-items: center; } .jc-between { justify-content: space-between; } .flex-wrap { flex-wrap: wrap; }
.w-100 { width: 100%; }
.small { font-size: 13px; }
.bg-soft { background: var(--soft); }

/* ======================================================================
   Responsive
   ====================================================================== */
@media (max-width: 1279px) {
  .main-nav a { padding: 10px 11px; }
  .header-inner { gap: 18px; }
  .prop-grid { gap: 18px; }
  .amenity-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 8px; }
}

@media (max-width: 1119px) {
  .main-nav, .header-actions .login-link, .header-actions .header-cta, .header-actions .currency-switch, .header-actions .user-menu { display: none; }
  .nav-toggle { display: inline-grid; }
  .header-actions { margin-left: auto; gap: 4px; }
  .prop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .search-submit { grid-column: 1 / -1; }
  .why-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .pd-top { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pd-body { grid-template-columns: minmax(0, 1fr); }
  .lp-wrap { grid-template-columns: minmax(0, 1fr); }
  .lp-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .lp-side .side-box + .side-box { margin-top: 0; }
  .listing-layout, .content-layout, .dash, .checkout-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .dash-nav, .filter-card { position: static; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auth-wrap { grid-template-columns: minmax(0, 1fr); }
  .auth-side { display: none; }
}

@media (max-width: 767px) {
  :root { --header-h: 66px; }
  body { font-size: 14.5px; }
  .container, .container.section { padding-left: 16px; padding-right: 16px; }
  .brand img { width: 40px; height: 40px; }
  .brand-text strong { font-size: 20px; }
  .brand-text small { font-size: 10.5px; }
  .section { padding: 34px 0; }
  .section-head { margin-bottom: 16px; }
  .section-head h2 { font-size: 22px; }
  .section-head .eyebrow { display: none; }
  .link-arrow { font-size: 13.5px; }

  .hero-home { min-height: 0; padding: 30px 0 0; overflow: visible; }
  .hero-home::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -1px; height: 120px; background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0; z-index: -1; }
  .hero h1 { font-size: 30px; margin-bottom: 12px; max-width: 290px; }
  .hero-home { overflow: hidden; }
  .prop-body .badge-inline { display: inline-flex; }
  .home-grid .card-fav { display: grid; }
  .prop-loc .loc-pin { display: inline-block; }
  .home-grid .media-heart { display: grid; position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; place-items: center; color: #fff; font-size: 15px; }
  .hero .eyebrow { font-size: 13px; }
  .hero-lead { font-size: 14px; line-height: 1.6; max-width: 92%; }
  .hero::before { background: linear-gradient(90deg, rgba(14, 33, 58, .88) 0%, rgba(17, 38, 64, .55) 70%, rgba(20, 40, 66, .25) 100%); }
  .search-box { margin-top: 24px; padding: 10px 12px 14px; border-radius: 14px; background: #fff; box-shadow: 0 16px 40px rgba(5, 18, 36, .18); }
  .search-tabs button { height: 36px; font-size: 13.5px; }
  .select-wrap select { height: 38px; font-size: 13.5px; }
  .search-field label { font-size: 13px; }
  .search-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; padding: 0 0 12px; border-radius: 0; }
  .search-tabs button { min-width: 0; padding: 0 6px; }
  .search-panel { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 0; box-shadow: none; border-radius: 0; }
  .search-field label { margin-bottom: 6px; font-size: 13.5px; }
  .search-submit { min-width: 0; width: 100%; height: 46px; margin-top: 4px; font-size: 15px; }

  .trust-strip { background: #fff; border: 0; }
  .trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 10px 0 4px; }
  .trust-item { flex-direction: column; gap: 10px; padding: 12px 2px; text-align: center; }
  .trust-item h3 { font-size: 13px; line-height: 1.3; }
  .trust-item p { display: none; }
  .ticon { width: 48px; height: 48px; }
  .ticon svg { width: 25px; height: 25px; }
  .trust-item + .trust-item::before { height: 60px; }
  .pd-trust .trust-item { padding: 14px 2px; }

  .featured-home { background: var(--soft); }
  .featured-home .section-head .link-arrow span.long { display: none; }
  .prop-grid.home-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .home-grid .prop-card { flex-direction: row; padding: 10px; gap: 14px; border-radius: 12px; box-shadow: 0 2px 10px rgba(16, 24, 40, .06); }
  .home-grid .prop-card:hover { transform: none; }
  .home-grid .prop-media { width: 46%; flex-shrink: 0; aspect-ratio: 1.45; border-radius: 9px; }
  .home-grid .prop-media .badge { top: 8px; left: 8px; height: 20px; padding: 0 7px; font-size: 11px; }
  .home-grid > .prop-card > .fav-btn { display: none; }
  .home-grid .media-go { display: none; }
  .home-grid .prop-body { padding: 4px 30px 4px 0; position: relative; }
  .home-grid .prop-body .badge-inline { display: inline-flex; align-self: flex-start; height: 20px; padding: 0 8px; font-size: 11px; margin-bottom: 6px; }
  .home-grid .prop-title { font-size: 14.5px; margin-bottom: 3px; }
  .home-grid .prop-loc { font-size: 12.5px; margin-bottom: 8px; }
  .home-grid .prop-specs { gap: 4px 12px; font-size: 12px; margin-bottom: 8px; }
  .home-grid .prop-specs .lbl { display: none; }
  .home-grid .price { font-size: 17px; }
  .home-grid .go-btn { display: none; }
  .home-grid .card-fav { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 28px; height: 28px; border: 0; background: none; color: var(--heading); font-size: 17px; }
  .home-grid .card-fav.active { color: #E5484D; }

  .why { display: none; }
  .partner-banner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; padding: 22px 20px; border-radius: 14px; background: var(--primary); color: #fff; overflow: hidden; }
  .partner-banner h3 { color: #fff; font-size: 17px; margin-bottom: 6px; }
  .partner-banner p { font-size: 13.5px; color: rgba(255, 255, 255, .85); margin-bottom: 14px; }
  .partner-banner .btn { height: 40px; padding: 0 18px; font-size: 13.5px; }
  .partner-banner svg { width: 86px; height: 86px; flex-shrink: 0; color: var(--accent); }
  .home-blog { display: none; }

  .prop-grid, .list-grid { grid-template-columns: minmax(0, 1fr); }
  .blog-grid, .info-cards, .plan-grid, .agent-grid { grid-template-columns: minmax(0, 1fr); }

  .site-footer { padding-bottom: 70px; }
  .footer-main { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-top: 34px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  body.has-bottom-nav .site-footer { padding-bottom: 76px; }
  .bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); height: 64px; padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(15, 34, 64, .06); }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11.5px; font-weight: 600; color: var(--text); }
  .bottom-nav a i { font-size: 20px; }
  .bottom-nav a.active { color: var(--primary); }
  .toast-wrap { bottom: 80px; right: 12px; left: 12px; }
  .cookie-bar { left: 12px; right: 12px; bottom: 76px; flex-direction: column; align-items: stretch; }

  /* property details on phones */
  .pd-top { padding-top: 6px; gap: 0; margin: 0 -10px; }
  .gallery-main { border-radius: 10px; aspect-ratio: 16 / 9.4; }
  .gallery-main .badge { top: 14px; left: 14px; height: 30px; font-size: 14px; }
  .gallery-nav { width: 36px; height: 36px; font-size: 15px; }
  .gallery-count { left: auto; right: 14px; bottom: 12px; font-size: 12px; padding: 4px 9px; }
  .thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 6px 6px 0; }
  .thumbs button:nth-child(6) { display: none; }
  .pd-head { padding: 16px 10px 0; }
  .pd-head .crumbs { display: none; }
  .pd-head h1 { font-size: 24px; margin-bottom: 8px; }
  .pd-loc { font-size: 14px; margin-bottom: 14px; }
  .pd-price { border: 0; padding-bottom: 10px; margin-bottom: 10px; }
  .pd-price strong { font-size: 26px; }
  .pd-specs span { font-size: 13.5px; padding: 2px 18px 2px 4px; gap: 8px; }
  .pd-specs span + span { padding-left: 18px; }
  .pd-specs i { font-size: 16px; }
  .pd-tags { gap: 8px; margin-bottom: 18px; }
  .pd-tags span { height: 30px; font-size: 12.5px; padding: 0 9px; }
  .pd-cta .btn { height: 46px; font-size: 14px; }
  .pd-body { padding-top: 6px; }
  .pd-tabs { margin: 0 0 18px; }
  .pd-tabs a { padding: 12px 14px; font-size: 13.5px; flex: 1; text-align: center; }
  .pd-tabs .tab-extra { display: none; }
  .pd-tabs .more-tab { display: block; }
  .pd-overview { grid-template-columns: minmax(0, 1fr); gap: 18px; border: 0; padding-bottom: 6px; }
  .pd-overview h2, .pd-section h2 { font-size: 20px; }
  .pd-overview .desc { font-size: 14px; color: var(--text); }
  .facts { gap: 14px 16px; margin-top: 16px; }
  .fact .ficon { width: 36px; height: 36px; font-size: 17px; }
  .fact small { font-size: 12.5px; }
  .fact strong { font-size: 14px; }
  .price-row { padding: 10px 0; font-size: 13.5px; }
  .amenity-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .loc-plan, .loc-grid { grid-template-columns: minmax(0, 1fr); }
  .pd-side .agent-card { display: none; }
  .cta-banner { padding: 24px 20px; }
  .sticky-agent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 75; display: flex; align-items: center; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(15, 34, 64, .08); }
  .sticky-agent img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
  .sticky-agent .who { flex: 1; min-width: 0; }
  .sticky-agent strong { display: block; font-size: 14px; color: var(--heading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-agent small { display: block; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-agent .stars { font-size: 12px; white-space: nowrap; }
  .sticky-agent .stars b { font-size: 12px; margin-left: 4px; }
  .sticky-agent .stars em { font-size: 11.5px; }
  .sticky-agent .who { overflow: hidden; }
  .sticky-agent .btn { height: 40px; padding: 0 11px; font-size: 12.5px; gap: 5px; flex-shrink: 0; }
  .pd-tags span { white-space: nowrap; }
  body.has-sticky-agent .site-footer { padding-bottom: 80px; }

  /* list property on phones */
  .hero-list { min-height: 0; padding: 30px 0 34px; }
  .hero-list h1 { font-size: 30px; max-width: 300px; }
  .hero-list .hero-lead { font-size: 13.5px; }
  .hero-list .hero-feats { display: none; }
  .lp-feats-mobile { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; background: #fff; }
  .lp-feats-mobile .trust-item { padding: 16px 4px; }
  .lp-feats-mobile .trust-item p { display: block; font-size: 10.5px; }
  .lp-feats-mobile .trust-item h3 { font-size: 12px; white-space: nowrap; }
  .lp-wrap { padding-top: 6px; }
  .lp-side { display: none; }
  .form-card { padding: 20px 16px 22px; border-radius: 12px; }
  .form-card-head { flex-direction: column; gap: 18px; }
  .form-card-head h2 { font-size: 20px; }
  .form-card-head p { font-size: 13.5px; }
  .stepper { width: 100%; justify-content: space-between; }
  .stepper .step { width: auto; flex: 1; font-size: 11.5px; }
  .grid-3, .grid-2, .lp-additional { grid-template-columns: minmax(0, 1fr); }
  .grid-3 .pair, .rooms-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
  .previews { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lp-actions { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .lp-actions .help-card { order: 2; }

  .listing-layout { padding-top: 18px; }
  .filter-toggle { display: inline-flex; }
  .filter-card { display: none; }
  .filter-card.open { display: block; }
  .results-tools .form-select { min-width: 0; }
  .page-hero { padding: 34px 0; }
  .page-hero h1 { font-size: 28px; }
  .stats-band { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 22px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .stat-grid { gap: 12px; }
  .stat { padding: 14px; gap: 10px; }
  .stat .si { width: 42px; height: 42px; font-size: 19px; }
  .stat strong { font-size: 20px; }
  .auth-card { padding: 26px 20px; }
  .social-btns { grid-template-columns: minmax(0, 1fr); }
  .review-list dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .review-list dd { margin-bottom: 10px; }
  .card-body { padding: 16px; }

  /* tables become cards */
  .table-cards thead { display: none; }
  .table-cards tr { display: block; padding: 12px 14px; border-top: 1px solid var(--line); }
  .table-cards td { display: block; padding: 5px 0; border: 0; text-align: right; overflow-wrap: anywhere; }
  .table-cards td::before { content: attr(data-label); float: left; margin-right: 12px; font-size: 12.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
  .table-cards td.thumb-cell, .table-cards td[data-label=""] { text-align: left; }
  .table-cards td.thumb-cell::before, .table-cards td[data-label=""]::before { display: none; }
  .table-cards .row-actions { justify-content: flex-end; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 31px; }
  .home-grid .prop-specs span:nth-child(3) { display: none; }
  .agent-actions .btn { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

.sp { width: 16px; height: 16px; color: var(--muted); flex-shrink: 0; }
.prop-body .badge-inline, .prop-body .card-fav, .prop-loc .loc-pin, .media-heart { display: none; }
.footer-currency { display: flex; gap: 6px; align-items: center; }
.footer-currency select { height: 30px; padding: 0 26px 0 10px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .25); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E") right 8px center / 10px no-repeat; appearance: none; color: #fff; font-size: 12.5px; }
.footer-currency select option { color: #0E1C35; }
.input-icon input[type=date]::-webkit-calendar-picker-indicator { opacity: 0; position: absolute; right: 8px; width: 28px; height: 28px; cursor: pointer; }
.form-select:has(option[value=""]:checked) { color: #98A2B3; }
.form-select option { color: var(--heading); }
