:root {
  --blue: #1769e0;
  --blue-dark: #103b89;
  --red: #d94141;
  --orange: #f05a28;
  --ink: #172033;
  --muted: #667085;
  --line: #e5e7eb;
  --bg: #f5f6f8;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(18, 31, 56, .12);
}

* { box-sizing: border-box; }
body { margin: 0; font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; color: var(--ink); background: var(--bg); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; object-fit: cover; }
main { min-height: 70vh; }
.site-header { position: sticky; top: 0; z-index: 20; min-height: 66px; display: grid; grid-template-columns: auto auto auto 1fr auto; align-items: center; gap: 14px; padding: 8px clamp(16px, 5vw, 92px); background: rgba(255,255,255,.98); border-bottom: 4px solid #9ec5df; box-shadow: 0 4px 18px rgba(15, 23, 42, .08); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; color: #0647b8; font-size: 25px; line-height: 1; font-weight: 500; white-space: nowrap; }
.brand span span { color: #e00016; }
.nav-dropdown { position: relative; }
.nav-dropdown summary { list-style: none; cursor: pointer; user-select: none; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.menu-dropdown summary { width: 28px; height: 26px; display: grid; align-content: center; gap: 5px; }
.menu-dropdown summary span { display: block; width: 27px; height: 2px; border-radius: 2px; background: #111827; }
.services-dropdown summary { display: inline-flex; align-items: center; gap: 5px; color: #03005f; font-weight: 700; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.services-dropdown summary:after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.dropdown-panel { position: absolute; top: calc(100% + 12px); left: 0; min-width: 210px; display: grid; gap: 4px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: white; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-5px); transition: opacity .16s ease, transform .16s ease, visibility .16s ease; }
.nav-dropdown[open] .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.menu-dropdown[open]:before { content: ""; position: fixed; inset: 0; background: rgba(15, 23, 42, .5); z-index: 30; }
.menu-dropdown .side-panel { position: fixed; inset: 0 auto 0 0; z-index: 31; width: min(310px, 86vw); min-width: 0; display: block; padding: 24px 18px; overflow-y: auto; transform: translateX(-100%); opacity: 0; visibility: hidden; transition: transform .22s ease, opacity .22s ease, visibility .22s ease; background: linear-gradient(180deg, #0f2245 0%, #142b55 100%); color: white; box-shadow: 18px 0 45px rgba(5, 13, 28, .32); }
.menu-dropdown[open] .side-panel { transform: translateX(0); opacity: 1; visibility: visible; }
.side-panel strong { display: block; padding: 8px 12px 18px; color: white; font-size: 24px; font-weight: 700; line-height: 1.15; }
.side-panel strong span { color: #ff6b6b; }
.side-panel a { display: block; width: 100%; padding: 13px 14px; margin-bottom: 8px; border-radius: 10px; color: white; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.12); font-size: 16px; line-height: 1.25; font-weight: 700; }
.side-panel a:hover { background: rgba(255,255,255,.18); color: white; }
.dropdown-panel a { padding: 10px 12px; border-radius: 8px; color: #1f2937; font-weight: 600; }
.dropdown-panel a:hover { background: #edf4ff; color: var(--blue); }
.list-property-btn { position: relative; justify-self: end; display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 9px 22px; border: 1px solid #e5b800; border-radius: 999px; background: #fff2a8; color: #151515; font-weight: 800; box-shadow: 0 4px 12px rgba(228, 180, 0, .15); white-space: nowrap; }
.list-property-btn span { position: absolute; top: -12px; right: 14px; padding: 2px 8px; border-radius: 999px; background: #f02b2b; color: white; font-size: 12px; line-height: 1.25; font-weight: 900; }
.list-property-btn:hover { transform: translateY(-1px); box-shadow: 0 7px 18px rgba(228, 180, 0, .24); }
.btn { border: 0; border-radius: 8px; padding: 12px 20px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: white; box-shadow: 0 10px 22px rgba(23,105,224,.22); }
.btn-outline { border: 1px solid #b9cdf5; color: var(--blue); background: white; }
.btn-orange { background: var(--orange); color: white; width: min(420px, 100%); font-size: 18px; border-radius: 28px; }
.hero { min-height: 470px; display: grid; align-items: center; padding: 70px clamp(18px, 7vw, 120px); background: linear-gradient(90deg, rgba(7,25,55,.72), rgba(7,25,55,.24)), url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80") center / cover; color: white; }
.hero-inner { position: relative; z-index: 2; width: min(980px, 100%); }
.home-banner-strip { position: relative; width: min(760px, 100%); height: 150px; margin-bottom: 18px; overflow: hidden; border-radius: 16px; border: 1px solid rgba(255,255,255,.34); background: rgba(255,255,255,.9); box-shadow: 0 16px 36px rgba(5, 13, 28, .22); }
.home-banner-strip .banner-slide { position: absolute; inset: 0; display: block; opacity: 0; transition: opacity .7s ease; }
.home-banner-strip .banner-slide.active { opacity: 1; }
.home-banner-strip img { width: 100%; height: 100%; object-fit: cover; }
.eyebrow { color: var(--red); text-transform: uppercase; letter-spacing: .08em; font-weight: 800; font-size: 13px; }
.hero .eyebrow { color: #ffcbcb; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { font-size: clamp(38px, 6vw, 72px); line-height: 1.04; max-width: 850px; }
.search-panel { margin-top: 34px; padding: 16px; background: rgba(255,255,255,.92); color: var(--ink); border-radius: 14px; box-shadow: var(--shadow); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.tabs label, .choice-block label, .choice-row label, .check-grid label { border: 1px solid var(--line); background: white; border-radius: 999px; padding: 10px 16px; cursor: pointer; }
.tabs input, .choice-block input, .choice-row input { accent-color: var(--blue); }
.search-row { display: grid; grid-template-columns: 240px 1fr 150px; gap: 12px; padding-top: 0; }
input, select, textarea { width: 100%; border: 1px solid #d5dae3; border-radius: 8px; padding: 14px 16px; font: inherit; background: white; color: var(--ink); }
textarea { resize: vertical; }
.autocomplete, .filters label { position: relative; }
.suggestions { position: absolute; z-index: 15; left: 0; right: 0; top: calc(100% + 4px); background: white; border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
.suggestions button { width: 100%; padding: 12px 14px; text-align: left; border: 0; background: white; cursor: pointer; }
.suggestions button:hover { background: #f1f5ff; }
.select-autocomplete { margin-bottom: 8px; }
.select-autocomplete input { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; }
.native-location-select { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.quick-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 26px clamp(18px, 7vw, 120px); margin-top: -56px; position: relative; z-index: 2; }
.quick-actions a, .service-grid article, .content-card, .owner-box, .filters, .list-card, .property-card, .seller-card, .auth-card, .request-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 28px rgba(17,24,39,.07); }
.quick-actions a { padding: 22px; display: grid; gap: 8px; }
.quick-actions span, .muted-text, .property-body .location, .list-card p, .seller-copy li { color: var(--muted); }
.section { padding: 60px clamp(18px, 7vw, 120px); background: white; }
.section.muted, .services { background: var(--bg); }
.section-heading { text-align: center; margin-bottom: 28px; }
.section-heading h2 { font-size: clamp(28px, 4vw, 42px); }
.city-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.city-card { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-align: center; transition: transform .2s ease, box-shadow .2s ease; }
.city-card:hover, .property-card:hover, .list-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.city-card img { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 12px; }
.city-card span { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.property-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.property-card { overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.property-thumb { height: 190px; position: relative; display: block; }
.property-thumb img { width: 100%; height: 100%; }
.property-thumb span { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.92); color: var(--blue); padding: 6px 10px; border-radius: 999px; font-weight: 800; font-size: 12px; }
.property-body { padding: 18px; }
.price { color: var(--blue-dark); font-size: 22px; font-weight: 900; margin-bottom: 8px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.facts span, .chips span, .amenity-grid span { background: #f3f6fb; border: 1px solid #e4eaf4; border-radius: 999px; padding: 8px 12px; color: #344054; font-size: 14px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-grid article { padding: 24px; }
.service-grid a { color: var(--blue); font-weight: 800; }
.page-hero.compact { padding: 46px clamp(18px, 7vw, 120px); background: white; border-bottom: 1px solid var(--line); }
.listing-layout { display: grid; grid-template-columns: 300px 1fr; gap: 24px; padding: 30px clamp(18px, 7vw, 120px); align-items: start; }
.filters { padding: 20px; position: sticky; top: 94px; }
.filters form { display: grid; gap: 14px; }
.filters label { display: grid; gap: 6px; font-weight: 700; }
.filters [hidden] { display: none !important; }
.listing-stack { display: grid; gap: 18px; }
.list-card { display: grid; grid-template-columns: 290px 1fr; gap: 22px; padding: 14px; transition: transform .2s ease, box-shadow .2s ease; }
.list-card img { height: 220px; width: 100%; border-radius: 10px; }
.card-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pagination { display: flex; gap: 8px; margin-top: 24px; }
.pagination a { padding: 10px 14px; border-radius: 8px; background: white; border: 1px solid var(--line); }
.pagination .active { background: var(--blue); color: white; }
.detail-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; padding: 36px clamp(18px, 7vw, 120px); background: white; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; }
.gallery img { width: 100%; height: 205px; border-radius: 12px; }
.gallery-main { height: 420px !important; }
.detail-summary { padding: 24px; }
.detail-summary h1 { font-size: clamp(30px, 4vw, 48px); }
.facts.large span { font-size: 16px; padding: 12px 16px; }
.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; padding: 28px clamp(18px, 7vw, 120px); align-items: start; }
.detail-main { display: grid; gap: 20px; }
.content-card { padding: 24px; }
.overview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.overview-grid div { display: grid; gap: 6px; }
.overview-grid span { color: var(--muted); }
.chips, .amenity-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
iframe { width: 100%; height: 320px; border: 0; border-radius: 12px; }
.owner-box { padding: 22px; position: sticky; top: 94px; display: grid; gap: 10px; }
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 40; background: rgba(10,16,28,.56); display: grid; place-items: center; padding: 18px; }
.modal-panel { width: min(560px, 100%); max-height: calc(100dvh - 36px); overflow: auto; background: white; border-radius: 16px; padding: 28px; position: relative; box-shadow: var(--shadow); }
.modal-close { position: absolute; right: 14px; top: 10px; border: 0; background: transparent; font-size: 30px; cursor: pointer; }
.modal form { display: grid; gap: 12px; }
.modal-actions { position: sticky; bottom: -28px; z-index: 2; background: linear-gradient(180deg, rgba(255,255,255,.74), #fff 30%); padding: 14px 0 0; margin-top: -2px; }
.modal-actions .btn { width: 100%; justify-content: center; min-height: 48px; }
.lead-result[hidden] { display: none; }
.lead-result.success { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: rgba(10,16,28,.62); color: var(--ink); padding: 18px; margin: 0; }
.lead-result-card { width: min(420px, 100%); background: #fff; border-radius: 18px; padding: 24px; box-shadow: 0 24px 70px rgba(15,23,42,.24); text-align: center; border: 1px solid #e7edf7; }
.lead-result-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px; background: #ecfdf3; color: #067647; font-size: 28px; font-weight: 900; }
.lead-result-card h3 { margin: 0 0 8px; font-size: 24px; }
.lead-result-card p { margin: 0 0 14px; color: var(--muted); line-height: 1.55; }
.lead-result-phone { display: block; margin: 14px 0; padding: 14px; border-radius: 12px; background: #eff6ff; color: #0f3d91; font-size: 22px; font-weight: 900; }
.lead-result-card .btn { width: 100%; justify-content: center; }
.pwa-dialog[hidden] { display: none; }
.pwa-dialog {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(10, 16, 28, .68);
}
.pwa-dialog-card {
  position: relative;
  width: min(470px, 100%);
  padding: 30px;
  border: 1px solid #dce5ef;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .3);
}
.pwa-dialog-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 17px;
  background: #0f2245;
  color: #fff;
  font-size: 23px;
  font-weight: 900;
}
.pwa-dialog-card h2 { margin: 0 0 10px; font-size: 28px; }
.pwa-dialog-card p { margin: 0 0 18px; color: var(--muted); line-height: 1.65; }
.pwa-dialog-card ol { margin: 0 0 22px; padding-left: 22px; color: #344054; line-height: 1.8; }
.pwa-dialog-card .btn { width: 100%; }
.pwa-dialog-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #eef2f7;
  color: #172033;
  font-size: 24px;
  cursor: pointer;
}
.success { background: #ecfdf3; color: #067647; border: 1px solid #abefc6; padding: 12px; border-radius: 10px; margin-top: 12px; }
.seller-start { min-height: 680px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: center; padding: 96px clamp(18px, 7vw, 120px) 70px; background: linear-gradient(120deg, #f8fafc, #e8eef7); }
.seller-copy h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 500; }
.seller-copy ul { list-style: none; padding: 0; display: grid; gap: 16px; }
.seller-copy li { background: rgba(255,255,255,.78); padding: 18px 22px; border-radius: 999px; font-size: 22px; box-shadow: 0 8px 24px rgba(17,24,39,.08); }
.seller-card { padding: 34px; }
.seller-card h2 { font-size: 32px; }
.seller-card h2:after { content: ""; display: block; width: 86px; height: 4px; background: var(--red); margin-top: 10px; }
.form-grid, .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.choice-block { margin: 20px 0; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.choice-block p { width: 100%; margin-bottom: 0; font-weight: 800; }
.seller-card .choice-block label { min-width: 128px; flex: 1 1 128px; text-align: center; display: inline-flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap; }
.auth-page { min-height: 620px; display: grid; place-items: center; padding: 46px 18px; background: #f6f8fb; }
.auth-card { width: min(620px, 100%); padding: 36px; display: grid; gap: 18px; }
.auth-card h1 { font-size: 34px; margin-bottom: 4px; }
.auth-card h1 span { color: var(--blue); font-size: 22px; }
.auth-card label { display: grid; gap: 8px; font-weight: 700; }
.auth-card p { color: var(--muted); margin-bottom: 0; }
.hybrid-auth { gap: 20px; }
.hybrid-auth form, .password-card { display: grid; gap: 18px; }
.hybrid-auth [hidden] { display: none !important; }
.auth-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 5px; border-radius: 10px; background: #eef3fb; }
.auth-tabs button { min-height: 46px; border: 0; border-radius: 8px; background: transparent; color: #526078; font: inherit; font-weight: 700; cursor: pointer; }
.auth-tabs button.active { background: #fff; color: var(--blue); box-shadow: 0 4px 14px rgba(17,24,39,.09); }
.auth-form-meta { display: flex; justify-content: flex-end; margin-top: -6px; }
.auth-form-meta a, .auth-back-link { color: var(--blue); font-weight: 700; }
.password-input { display: grid; grid-template-columns: 1fr auto; align-items: stretch; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.password-input input { min-width: 0; border: 0; border-radius: 0; }
.password-input button { border: 0; border-left: 1px solid var(--line); padding: 0 14px; background: #f7f9fc; color: var(--blue); font-weight: 700; cursor: pointer; }
.password-card { width: min(560px, 100%); }
.error { background: #fef2f2; color: #b42318; border: 1px solid #fecaca; padding: 12px; border-radius: 10px; }
.otp-page { min-height: 650px; display: grid; place-items: center; padding: 48px 18px; background: radial-gradient(circle at top left, #e0edff, transparent 38%), #f6f8fb; }
.otp-card { width: min(520px, 100%); padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: var(--shadow); display: grid; gap: 16px; text-align: center; }
.otp-icon { width: 74px; height: 74px; margin: 0 auto; border-radius: 22px; display: grid; place-items: center; background: #edf4ff; color: var(--blue); font-weight: 900; letter-spacing: .06em; }
.otp-card h1 { margin-bottom: 0; font-size: clamp(30px, 5vw, 42px); }
.otp-form { display: grid; gap: 14px; text-align: left; }
.otp-form label { display: grid; gap: 8px; font-weight: 800; }
.otp-form input { text-align: center; font-size: 28px; letter-spacing: .25em; font-weight: 900; }
.link-button { border: 0; background: transparent; color: var(--blue); font-weight: 900; cursor: pointer; padding: 8px; }
.request-hero { display: grid; grid-template-columns: .8fr 1.2fr; gap: 42px; align-items: center; padding: 58px clamp(18px, 7vw, 120px); background: linear-gradient(135deg, #f8fbff, #eef5ff); }
.request-hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.05; }
.request-hero p { color: var(--muted); font-size: 18px; line-height: 1.65; }
.request-card { padding: 30px; display: grid; gap: 16px; }
.request-card label { display: grid; gap: 7px; font-weight: 700; }
.post-shell { padding: 30px clamp(16px, 5vw, 80px); background: linear-gradient(180deg, #eef6ff, #f7f9fc 260px); }
.post-head { display: flex; justify-content: space-between; align-items: center; background: linear-gradient(135deg, #fffdf0, #ffffff); border: 1px solid #f0e8ba; padding: 28px 30px; margin-bottom: 22px; border-radius: 18px; box-shadow: 0 14px 36px rgba(17,24,39,.08); }
.post-head h1 { margin: 4px 0 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.05; }
.score { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 3px 14px; min-width: 220px; }
.score span { width: 66px; height: 66px; border-radius: 50%; border: 8px solid #36b864; display: grid; place-items: center; font-weight: 900; background: white; }
.score small { color: var(--muted); }
.post-form { display: grid; gap: 16px; }
.step { background: white; border-left: 5px solid #a8b0bd; box-shadow: 0 12px 28px rgba(17,24,39,.06); border-radius: 0 16px 16px 0; overflow: visible; }
.step.active { border-left-color: var(--blue); }
.step.completed { border-left-color: #22a35a; }
.step-title { width: 100%; display: grid; grid-template-columns: auto minmax(190px, 1fr) 180px auto; align-items: center; gap: 14px; padding: 16px 18px; background: #f7f8fa; border: 0; border-bottom: 1px solid #edf0f5; text-align: left; cursor: pointer; color: var(--ink); }
.step.active .step-title { background: #e3f3ff; border-bottom: 1px dashed #b7d8ef; }
.step-title em { justify-self: end; font-style: normal; color: var(--muted); font-weight: 800; font-size: 13px; }
.step.active .step-title em { color: var(--blue); }
.step.completed .step-title em { color: #12884d; }
.step-title span { background: white; border: 1px solid #c8d2dc; padding: 2px 8px; }
.step-title h2 { margin: 0; font-size: 22px; }
meter { width: 170px; height: 18px; }
.step:not(.active) .form-panel { display: none; }
.form-panel { padding: 26px; display: grid; gap: 20px; border: 1px solid #dbe5ef; border-top: 0; border-radius: 0 0 16px 0; }
.form-panel label { display: grid; gap: 7px; font-weight: 700; }
.form-panel input, .form-panel select, .form-panel textarea { border-radius: 12px; padding: 15px 16px; }
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 20px; margin: 0; display: grid; gap: 16px; }
legend { padding: 0 10px; font-weight: 900; font-size: 18px; }
.choice-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.choice-row p { margin: 0 10px 0 0; font-weight: 800; }
.property-purpose-row { display: grid; grid-template-columns: minmax(105px, auto) repeat(3, minmax(74px, 1fr)); gap: 10px; align-items: center; }
.property-purpose-row p { margin: 0; }
.property-purpose-row label { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 8px 10px; text-align: center; white-space: nowrap; }
.property-purpose-row input { width: auto; }
.compact-purpose-row {
  padding: 12px;
  border: 1px solid #dbe7f4;
  border-radius: 14px;
  background: #f7faff;
}
.compact-purpose-row p {
  color: #172033;
  font-size: 14px;
  font-weight: 800;
}
.compact-purpose-row label {
  border: 1px solid #d7e0ea;
  border-radius: 10px;
  background: #fff;
  color: #26354d;
  font-size: 14px;
  font-weight: 700;
}
.compact-purpose-row label:has(input:checked) {
  border-color: #2563eb;
  background: #eef5ff;
  color: #1455bd;
  box-shadow: 0 0 0 2px rgba(37,99,235,.08);
}
.check-grid { display: flex; gap: 10px; flex-wrap: wrap; }
.step-actions { display: flex; justify-content: center; gap: 12px; margin-top: 6px; }
.step-actions .btn { min-width: 190px; }
.submit-wide { width: min(330px, 100%); justify-self: center; font-size: 18px; }
.post-head-simple {
  max-width: 1080px;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fffdf2, #ffffff);
  border: 1px solid #f3df9a;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .06);
}
.post-head-simple .muted { margin: 10px 0 0; color: var(--muted); font-size: 16px; }
.single-post-form { max-width: 1080px; margin: 0 auto; }
.property-entry-panel {
  background: #fff;
  border: 1px solid #e0e8f2;
  border-radius: 18px;
  box-shadow: 0 22px 55px rgba(15, 23, 42, .08);
  padding: 30px;
  gap: 22px;
}
.property-entry-panel [hidden],
.post-form [hidden] {
  display: none !important;
}
.property-entry-panel .grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.property-entry-panel .section-label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.property-entry-panel .section-label::before {
  content: "";
  width: 8px;
  height: 26px;
  border-radius: 99px;
  background: var(--blue);
}
.property-entry-panel label {
  color: #111827;
  font-size: 14px;
}
.property-entry-panel input,
.property-entry-panel select,
.property-entry-panel textarea {
  min-height: 52px;
  border: 1px solid #d7e0ea;
  background: #fff;
  color: #111827;
  font-size: 15px;
}
.property-entry-panel textarea { resize: vertical; }
.property-entry-panel input:focus,
.property-entry-panel select:focus,
.property-entry-panel textarea:focus {
  outline: 3px solid rgba(37, 99, 235, .14);
  border-color: var(--blue);
}
.property-entry-panel textarea { min-height: 110px; }
.property-type-hint {
  padding: 14px 16px;
  border: 1px dashed #b9d8ff;
  border-radius: 12px;
  background: #f2f8ff;
  color: #244266;
  font-weight: 700;
}
.type-fields {
  border: 1px solid #e5edf6;
  border-radius: 16px;
  padding: 20px;
  display: grid;
  gap: 16px;
  background: #fbfdff;
}
.section-label {
  font-weight: 900;
  color: var(--ink);
  font-size: 18px;
}
.form-submit-row { justify-content: flex-end; border-top: 1px solid #edf1f6; padding-top: 18px; }
.form-submit-row .btn { min-width: 230px; min-height: 52px; }
.dashboard { display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding: 34px clamp(18px, 7vw, 120px); }
.dashboard aside { background: white; border-radius: 14px; padding: 22px; display: grid; gap: 10px; align-content: start; position: sticky; top: 94px; }
.dashboard aside a { padding: 12px; border-radius: 8px; }
.dashboard aside a.active, .dashboard aside a:hover { background: #edf4ff; color: var(--blue); }
.dashboard > div { display: grid; gap: 18px; }
.lead-access-card { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; padding: 16px; margin: 12px 0 18px; border: 1px solid #bfdbfe; border-radius: 14px; background: #eff6ff; }
.lead-access-card div { display: grid; gap: 2px; padding: 14px; border-radius: 12px; background: white; text-align: center; }
.lead-access-card span { color: var(--muted); font-weight: 800; font-size: 13px; }
.lead-access-card strong { color: var(--blue-dark); font-size: 24px; }
.lead-access-card p { margin: 0; color: #344054; line-height: 1.55; }
table { width: 100%; border-collapse: collapse; }
th, td { border-bottom: 1px solid var(--line); padding: 12px; text-align: left; }
.status { background: #fff7ed; color: #b54708; border-radius: 999px; padding: 4px 9px; text-transform: capitalize; }
.site-footer { background: #111827; color: white; padding: 56px clamp(18px, 7vw, 120px) 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.site-footer a, .site-footer p { display: block; color: #cfd5dd; margin: 8px 0; }
.copyright { text-align: center; border-top: 1px solid #444a53; padding-top: 20px; margin-top: 28px !important; }
.setup-notice { margin: 18px clamp(18px, 7vw, 120px); padding: 16px; background: #fff8e6; border: 1px solid #f6d184; border-radius: 10px; }

/* Premium homepage */
.home-hero { min-height: 720px; display: grid; align-items: center; padding: 88px clamp(18px, 7vw, 120px) 128px; color: white; background: linear-gradient(90deg, rgba(5, 16, 38, .86), rgba(5, 16, 38, .48), rgba(5, 16, 38, .22)), var(--hero-bg) center / cover; position: relative; overflow: hidden; }
.home-hero:after { content: ""; position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(0deg, #f6f8fb 0%, rgba(246,248,251,0) 100%); pointer-events: none; }
.home-hero-content { position: relative; z-index: 1; width: min(1120px, 100%); }
.home-kicker { margin: 0 0 14px; color: #dbeafe; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 800; }
.home-hero h1 { margin: 0; max-width: 740px; font-size: clamp(48px, 7vw, 88px); line-height: .98; letter-spacing: 0; font-weight: 800; }
.home-subtitle { max-width: 660px; margin: 22px 0 32px; color: rgba(255,255,255,.86); font-size: clamp(18px, 2vw, 22px); line-height: 1.6; }
.home-search { width: min(1080px, 100%); padding: 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 24px; background: rgba(255,255,255,.94); box-shadow: 0 30px 80px rgba(2, 8, 23, .32); color: var(--ink); backdrop-filter: blur(18px); }
.offer-banner-strip { width: min(1120px, 100%); aspect-ratio: 16 / 4.2; height: auto; min-height: 118px; margin: 0 0 22px; border-radius: 20px; border: 1px solid rgba(255,255,255,.38); background: rgba(255,255,255,.94); box-shadow: 0 20px 52px rgba(2,8,23,.24); }
.offer-banner-strip img { object-fit: contain; background: #fff; }
.home-search-tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; margin-bottom: 10px; border-radius: 18px; background: #eef4ff; }
.home-search-tabs label { min-width: 108px; padding: 12px 16px; border-radius: 14px; text-align: center; font-weight: 800; color: #334155; cursor: pointer; }
.home-search-tabs input { display: none; }
.home-search-tabs label:has(input:checked) { background: #111827; color: white; box-shadow: 0 10px 24px rgba(17,24,39,.18); }
.home-search-row { display: grid; grid-template-columns: 1.25fr 1fr .9fr auto; gap: 10px; align-items: end; }
.home-search-row label, .home-search-row .autocomplete { display: grid; gap: 6px; }
.home-search-row span { color: #64748b; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.home-search-row input, .home-search-row select { min-height: 58px; border: 1px solid #dbe3ef; border-radius: 16px; background: white; font-weight: 700; }
.home-search-btn { min-height: 58px; padding: 0 28px; border: 0; border-radius: 16px; background: linear-gradient(135deg, #1769e0, #0f4bb3); color: white; font-size: 16px; font-weight: 900; cursor: pointer; box-shadow: 0 18px 32px rgba(23,105,224,.28); }
.home-section { padding: 72px clamp(18px, 7vw, 120px); background: white; }
.home-muted { background: #f6f8fb; }
.home-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.home-section-head.centered { display: grid; justify-items: center; text-align: center; }
.home-section-head p { margin: 0 0 6px; color: #ef4444; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 900; }
.home-section-head h2 { margin: 0; font-size: clamp(32px, 4vw, 54px); line-height: 1.08; letter-spacing: 0; }
.home-section-head a { color: #1769e0; font-weight: 900; }
.featured-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(340px, 420px); gap: 22px; overflow-x: auto; padding: 4px 4px 18px; scroll-snap-type: x proximity; }
.featured-card { scroll-snap-align: start; overflow: hidden; border: 1px solid #e5ebf3; border-radius: 24px; background: white; box-shadow: 0 20px 48px rgba(15,23,42,.09); transition: transform .2s ease, box-shadow .2s ease; }
.featured-card:hover, .property-card:hover, .home-city-card:hover, .premium-service-grid article:hover, .why-grid article:hover { transform: translateY(-5px); box-shadow: 0 26px 70px rgba(15,23,42,.14); }
.featured-image { position: relative; display: block; height: 260px; }
.featured-image img { width: 100%; height: 100%; }
.featured-image span { position: absolute; left: 16px; top: 16px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.95); color: #047857; font-weight: 900; font-size: 12px; }
.featured-image button { position: absolute; right: 16px; top: 16px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: #ef4444; font-size: 24px; cursor: pointer; }
.featured-body { padding: 20px; }
.featured-body h3, .property-body h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.25; }
.home-location { color: var(--muted); margin: 0; }
.home-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.home-facts span { padding: 8px 11px; border-radius: 999px; background: #f1f5f9; color: #334155; font-size: 13px; font-weight: 800; }
.home-card-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 16px; border-radius: 12px; background: #111827; color: white; font-weight: 900; }
.home-city-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.home-city-card { position: relative; min-height: 230px; overflow: hidden; border-radius: 24px; color: white; background: #111827; box-shadow: 0 18px 42px rgba(15,23,42,.12); transition: transform .2s ease, box-shadow .2s ease; }
.home-city-card:after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2,8,23,.78), rgba(2,8,23,.05)); }
.home-city-card img { width: 100%; height: 100%; position: absolute; inset: 0; }
.home-city-card span, .home-city-card strong { position: absolute; z-index: 1; left: 18px; right: 18px; }
.home-city-card span { bottom: 58px; color: rgba(255,255,255,.82); font-weight: 700; }
.home-city-card strong { bottom: 22px; font-size: 26px; line-height: 1.1; }
.home-why { background: #0f172a; color: white; }
.why-grid, .premium-service-grid, .testimonial-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-grid article { padding: 26px; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: rgba(255,255,255,.06); transition: transform .2s ease, box-shadow .2s ease; }
.why-grid article div { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: #facc15; color: #111827; font-weight: 900; }
.why-grid h3, .premium-service-grid h3 { margin: 18px 0 10px; font-size: 20px; }
.why-grid p { color: #cbd5e1; line-height: 1.6; margin: 0; }
.premium-grid .property-card { border-radius: 22px; border: 1px solid #e5ebf3; box-shadow: 0 18px 44px rgba(15,23,42,.08); }
.premium-grid .property-thumb { height: 240px; }
.premium-grid .property-body { padding: 20px; }
.home-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; padding: 0 clamp(18px, 7vw, 120px); background: #dbe3ef; }
.home-stats div { padding: 38px 22px; background: white; text-align: center; }
.home-stats strong { display: block; color: #0f4bb3; font-size: clamp(32px, 4vw, 50px); line-height: 1; }
.home-stats span { display: block; margin-top: 10px; color: #475569; font-weight: 800; }
.premium-service-grid article, .testimonial-grid article { min-height: 230px; padding: 26px; border: 1px solid #e5ebf3; border-radius: 22px; background: white; box-shadow: 0 16px 40px rgba(15,23,42,.07); transition: transform .2s ease, box-shadow .2s ease; }
.premium-service-grid article span { color: #1769e0; font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.premium-service-grid p, .testimonial-grid p { color: #64748b; line-height: 1.65; }
.premium-service-grid a { color: #1769e0; font-weight: 900; }
.testimonial-grid { grid-template-columns: repeat(3, 1fr); }
.testimonial-grid div { color: #f59e0b; letter-spacing: .08em; }
.testimonial-grid strong { display: block; margin-top: 16px; color: #111827; }
.footer-brand strong { display: block; color: white; font-size: 28px; }
.footer-brand strong span { color: #ef4444; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; display: grid !important; place-items: center; border-radius: 50%; background: rgba(255,255,255,.09); color: white !important; font-weight: 900; }

.subscription-hero {
  padding: 76px clamp(18px, 7vw, 120px) 54px;
  text-align: center;
  background: linear-gradient(180deg, #edf6ff 0%, #f8fbff 100%);
  border-bottom: 1px solid #dce8f5;
}
.subscription-hero h1 { max-width: 860px; margin: 0 auto 16px; font-size: clamp(36px, 5vw, 62px); line-height: 1.05; }
.subscription-hero > p:last-child { max-width: 720px; margin: 0 auto; color: #52627a; font-size: 18px; line-height: 1.7; }
.subscription-section { padding: 56px clamp(18px, 7vw, 120px) 72px; background: #f8fafc; }
.subscription-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.subscription-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 30px;
  border: 1px solid #dbe4ef;
  border-top: 5px solid #22a447;
  border-radius: 18px;
  background: white;
  box-shadow: 0 18px 44px rgba(15,23,42,.08);
}
.subscription-card:nth-child(2) { border-top-color: #d99018; }
.subscription-card.featured { border-color: #2563eb; border-top-color: #2563eb; transform: translateY(-10px); box-shadow: 0 28px 65px rgba(37,99,235,.18); }
.subscription-card.current { box-shadow: 0 0 0 3px rgba(34,164,71,.18), 0 18px 44px rgba(15,23,42,.08); }
.plan-popular { position: absolute; top: 14px; right: 14px; padding: 6px 10px; border-radius: 999px; background: #111827; color: white; font-size: 11px; font-weight: 800; }
.plan-symbol { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 16px; background: #eaf8ee; color: #17833a; font-size: 22px; font-weight: 900; }
.subscription-card:nth-child(2) .plan-symbol { background: #fff5df; color: #a46100; }
.subscription-card.featured .plan-symbol { background: #eaf1ff; color: #1857c9; }
.plan-name { margin: 0 0 8px; color: #334155; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; }
.subscription-card h2 { margin: 0; font-size: 40px; letter-spacing: 0; }
.plan-validity { margin: 8px 0 22px; color: #64748b; }
.subscription-card ul { display: grid; gap: 13px; margin: 0 0 28px; padding: 0; list-style: none; }
.subscription-card li { display: flex; gap: 10px; color: #334155; line-height: 1.45; }
.subscription-card li span { color: #159447; font-weight: 900; }
.plan-button, .plan-current { width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: center; margin-top: auto; border-radius: 12px; font-weight: 800; }
.plan-button { background: #1769e0; color: white; box-shadow: 0 12px 24px rgba(23,105,224,.2); }
.plan-button.muted { background: #eef2f7; color: #334155; box-shadow: none; }
.plan-current { background: #eaf8ee; color: #087a31; border: 1px solid #bde8ca; }
.subscription-card small { display: block; margin-top: 10px; color: #64748b; text-align: center; }
.subscription-note { max-width: 760px; margin: 34px auto 0; padding: 18px 22px; border: 1px solid #dbe4ef; border-radius: 14px; background: white; text-align: center; }
.subscription-note p { margin: 6px 0 0; color: #64748b; }
.subscription-home-band { display: flex; justify-content: space-between; align-items: center; gap: 32px; background: #0f2344; color: white; }
.subscription-home-band h2 { margin: 0 0 10px; max-width: 700px; font-size: clamp(30px, 4vw, 48px); }
.subscription-home-band p:not(.eyebrow) { max-width: 720px; color: #cbd8ea; line-height: 1.7; }
.subscription-home-band .btn { flex: 0 0 auto; background: #facc15; color: #111827; }
.dashboard-plan-card { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: linear-gradient(135deg, #eff6ff, #fff); }
.dashboard-plan-card span { color: #1769e0; font-weight: 800; }
.dashboard-plan-card h2 { margin: 5px 0; }
.dashboard-plan-card p { margin: 0; color: #64748b; }
.payment-result-page { min-height: 70vh; display: grid; place-items: center; padding: 64px 18px; background: #f4f8fd; }
.payment-result-card { width: min(620px, 100%); padding: 42px; border: 1px solid #dce5ef; border-radius: 20px; background: white; box-shadow: 0 24px 60px rgba(15,23,42,.12); text-align: center; }
.payment-result-icon { width: 72px; height: 72px; display: grid; place-items: center; margin: 0 auto 20px; border-radius: 50%; background: #eaf8ee; color: #11863a; font-size: 34px; }
.payment-result-card h1 { margin: 4px 0 14px; font-size: clamp(32px, 5vw, 48px); }
.payment-result-card > p { color: #5c6b80; line-height: 1.7; }
.payment-reference { margin: 22px 0; padding: 12px; border-radius: 10px; background: #f2f6fb; color: #334155; overflow-wrap: anywhere; }
.current-plan-line { color: #111827 !important; }
.payment-result-actions { display: flex; justify-content: center; gap: 12px; margin: 26px 0; }
.payment-result-card small { color: #64748b; overflow-wrap: anywhere; }
.sold-out-banner, .sold-out-badge { display: inline-flex; align-items: center; width: fit-content; border-radius: 999px; background: #fee2e2; color: #b42318; font-weight: 800; }
.sold-out-banner { margin: 8px 0 14px; padding: 9px 14px; font-size: 15px; }
.sold-out-badge { padding: 5px 9px; font-size: 12px; }
.btn:disabled { cursor: not-allowed; opacity: .65; box-shadow: none; }

/* Legal and payment-compliance pages */
.legal-page {
  padding: 56px clamp(18px, 7vw, 110px) 72px;
  background: #f5f7fb;
}
.legal-container {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}
.legal-hero {
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid #dce5ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
}
.legal-hero h1 {
  margin: 5px 0 14px;
  color: #101828;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: 0;
}
.legal-hero > p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: #52627a;
  font-size: 17px;
  line-height: 1.7;
}
.legal-meta {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e5eaf1;
  color: #667085;
  font-size: 14px;
}
.legal-card {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid #dce5ef;
  border-radius: 14px;
  background: #fff;
}
.legal-card h2 {
  margin: 0 0 14px;
  color: #172033;
  font-size: clamp(21px, 3vw, 27px);
  line-height: 1.3;
  letter-spacing: 0;
}
.legal-card p,
.legal-card li,
.legal-card address {
  color: #4b5b72;
  font-size: 16px;
  line-height: 1.75;
}
.legal-card p {
  margin: 0 0 12px;
}
.legal-card p:last-child {
  margin-bottom: 0;
}
.legal-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 22px;
}
.legal-card a {
  color: #125fc4;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.legal-card address {
  font-style: normal;
}
.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.contact-detail span {
  display: block;
  margin-bottom: 12px;
  color: #d63e3e;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.contact-detail h2 {
  font-size: 21px;
}

/* Keep the public hamburger drawer independent from normal dropdown menus. */
.site-header .menu-dropdown[open]:before {
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 9998 !important;
  background: rgba(15, 23, 42, .58) !important;
}
.site-header .menu-dropdown .side-panel {
  position: fixed !important;
  top: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  left: 0 !important;
  z-index: 9999 !important;
  width: min(320px, 88vw) !important;
  height: 100vh !important;
  min-height: 100vh !important;
  display: block !important;
  padding: 24px 18px !important;
  overflow-y: auto !important;
  transform: translateX(-105%) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  background: linear-gradient(180deg, #0f2245 0%, #142b55 100%) !important;
  box-shadow: 18px 0 45px rgba(5, 13, 28, .32) !important;
}
.site-header .menu-dropdown[open] .side-panel {
  transform: translateX(0) !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.site-header .side-panel strong,
.site-header .side-panel a {
  color: #fff !important;
}
.site-header .side-panel-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 6px 4px 18px !important;
}
.site-header .side-panel [data-menu-close] {
  width: 38px !important;
  height: 38px !important;
  border: 1px solid rgba(255,255,255,.2) !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.12) !important;
  color: #fff !important;
  font-size: 26px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}
.site-header .side-panel a {
  display: block !important;
  padding: 13px 14px !important;
  margin: 0 0 8px !important;
  border-radius: 10px !important;
  background: rgba(255,255,255,.1) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
}

@media (max-width: 1050px) {
  .site-header { grid-template-columns: auto auto auto 1fr auto; gap: 12px; padding-inline: 18px; }
  .brand { font-size: 23px; }
  .home-hero { min-height: 650px; padding: 72px 24px 108px; }
  .offer-banner-strip { width: 100%; aspect-ratio: 16 / 5; min-height: 104px; }
  .home-search-row { grid-template-columns: 1fr 1fr; }
  .home-search-btn { grid-column: 1 / -1; }
  .home-city-grid, .why-grid, .premium-service-grid, .home-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-actions, .property-grid { grid-template-columns: repeat(2, 1fr); }
  .city-grid { grid-template-columns: repeat(3, 1fr); }
  .listing-layout, .detail-layout, .dashboard { grid-template-columns: 1fr; }
  .filters, .owner-box, .dashboard aside { position: static; }
  .detail-hero, .seller-start, .request-hero { grid-template-columns: 1fr; }
  .search-row { grid-template-columns: 220px 1fr 150px; }
  .subscription-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .subscription-card.featured { transform: none; }
}

@media (max-width: 720px) {
  .site-header { min-height: 58px; grid-template-columns: auto minmax(0, 1fr) auto auto; padding: 8px 10px; gap: 9px; }
  .brand { font-size: clamp(18px, 5vw, 21px); min-width: 0; overflow: hidden; }
  .menu-dropdown summary { width: 25px; }
  .menu-dropdown summary span { width: 25px; }
  .services-dropdown summary { font-size: 13px; max-width: 76px; overflow: hidden; }
  .services-dropdown .dropdown-panel { right: 0; left: auto; }
  .list-property-btn { min-height: 34px; padding: 8px 12px; font-size: 13px; }
  .list-property-btn span { top: -10px; right: 9px; font-size: 10px; padding: 1px 6px; }
  .dropdown-panel { max-width: calc(100vw - 24px); }
  .menu-dropdown .dropdown-panel { left: 0; }
  .home-hero { min-height: auto; padding: 44px 16px 78px; align-items: start; }
  .home-hero h1 { font-size: 46px; }
  .home-subtitle { font-size: 17px; margin: 16px 0 22px; }
  .home-search { padding: 10px; border-radius: 18px; }
  .offer-banner-strip { height: 92px; margin-bottom: 14px; border-radius: 16px; }
  .offer-banner-strip img { object-fit: contain; }
  .home-search-tabs { display: grid; grid-template-columns: repeat(2, 1fr); width: 100%; }
  .home-search-tabs label { min-width: 0; padding: 10px 8px; }
  .home-search-row { grid-template-columns: 1fr; }
  .home-search-row input, .home-search-row select, .home-search-btn { min-height: 52px; }
  .home-section { padding: 44px 16px; }
  .home-section-head { display: grid; gap: 8px; align-items: start; margin-bottom: 18px; }
  .home-section-head h2 { font-size: 31px; }
  .featured-rail { grid-auto-columns: minmax(286px, 88vw); gap: 14px; }
  .featured-image { height: 210px; }
  .home-city-grid, .why-grid, .premium-service-grid, .testimonial-grid, .home-stats { grid-template-columns: 1fr; }
  .home-city-card { min-height: 210px; }
  .premium-grid .property-thumb { height: 220px; }
  .home-stats { padding: 0 16px 44px; gap: 12px; background: #f6f8fb; }
  .home-stats div { border-radius: 18px; padding: 26px 18px; }
  .search-row, .form-grid, .grid-2, .list-card, .footer-grid, .overview-grid { grid-template-columns: 1fr; }
  .quick-actions, .property-grid, .service-grid { grid-template-columns: 1fr; }
  .city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .city-card { padding: 12px 8px; }
  .city-card img { width: 68px; height: 68px; }
  .hero { min-height: auto; padding-top: 34px; padding-bottom: 90px; }
  .home-banner-strip { height: 112px; border-radius: 12px; margin-bottom: 12px; }
  .quick-actions { margin-top: -62px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-main, .gallery img { height: 250px !important; }
  .seller-copy li { font-size: 18px; border-radius: 14px; }
  .post-head { align-items: flex-start; flex-direction: column; gap: 12px; padding: 22px; }
  .score { width: 100%; }
  .seller-start, .request-hero { padding: 82px 16px 32px; }
  .seller-copy h1, .request-hero h1 { font-size: 38px; }
  .seller-card, .request-card, .auth-card { padding: 22px; }
  .choice-block label { flex: 1 1 130px; text-align: center; }
  .post-shell { padding: 18px 10px; }
  .single-post-form { max-width: 100%; }
  .property-entry-panel { border-radius: 14px; }
  .property-entry-panel .grid-3 { grid-template-columns: 1fr; }
  .property-type-hint { padding: 12px; }
  .form-submit-row { justify-content: stretch; }
  .form-submit-row .btn { width: 100%; min-width: 0; }
  .form-panel { padding: 18px 14px; gap: 16px; }
  .step-title { grid-template-columns: auto 1fr; gap: 8px 10px; padding: 12px; }
  .step-title h2 { font-size: 17px; }
  .step-title meter { grid-column: 1 / -1; width: 100%; }
  .step-title em { grid-column: 2; justify-self: start; }
  fieldset { padding: 16px 12px; }
  .property-purpose-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .property-purpose-row p { grid-column: 1 / -1; font-size: 13px; line-height: 1.15; }
  .property-purpose-row label { min-height: 36px; padding: 6px 5px; border-radius: 999px; font-size: 12px; }
  .property-purpose-row input { transform: scale(.88); }
  .step-actions { flex-direction: column; }
  .step-actions .btn { width: 100%; min-width: 0; }
  .lead-access-card { grid-template-columns: 1fr; }
  .lead-access-card div { text-align: left; }
  .subscription-hero { padding: 48px 18px 36px; }
  .subscription-hero > p:last-child { font-size: 16px; }
  .subscription-section { padding: 30px 14px 50px; }
  .subscription-grid { grid-template-columns: 1fr; gap: 16px; }
  .subscription-card { padding: 24px 20px; border-radius: 16px; }
  .subscription-card h2 { font-size: 36px; }
  .subscription-home-band, .dashboard-plan-card { display: grid; }
  .subscription-home-band .btn, .dashboard-plan-card .btn { width: 100%; }
  .payment-result-card { padding: 30px 20px; }
  .payment-result-actions { display: grid; }
  .legal-page { padding: 28px 14px 44px; }
  .legal-container { gap: 14px; }
  .legal-hero { padding: 26px 20px; border-radius: 14px; }
  .legal-hero h1 { font-size: 34px; }
  .legal-hero > p:not(.eyebrow) { font-size: 15px; }
  .legal-card { padding: 22px 18px; }
  .legal-card p, .legal-card li, .legal-card address { font-size: 15px; }
  .contact-details-grid { grid-template-columns: 1fr; gap: 14px; }
}
