:root {
  --aqar-navy: #0b2148;
  --aqar-navy-2: #102c59;
  --aqar-blue: #0e6dff;
  --aqar-blue-soft: #eaf2ff;
  --aqar-green: #14ad80;
  --aqar-gold: #efb33d;
  --aqar-gold-soft: #fff6df;
  --aqar-bg: #f7f9fc;
  --aqar-surface: #ffffff;
  --aqar-surface-2: #f2f5fa;
  --aqar-text: #10203d;
  --aqar-muted: #6c7890;
  --aqar-border: #e4e9f1;
  --aqar-danger: #e25353;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-card: 0 18px 50px rgba(11, 33, 72, .08);
  --shadow-hover: 0 26px 65px rgba(11, 33, 72, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--aqar-text);
  background: var(--aqar-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
.container { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(228, 233, 241, .85);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--aqar-navy); }
.brand-logo {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  color: white; background: linear-gradient(145deg, var(--aqar-blue), #0da594);
  box-shadow: 0 8px 22px rgba(14,109,255,.22);
}
.brand-logo svg { width: 24px; height: 24px; }
.brand-wordmark { display: flex; align-items: baseline; font-size: 18px; letter-spacing: -.02em; }
.brand-wordmark b { font-weight: 900; }
.brand-wordmark strong { margin-left: 4px; color: var(--aqar-blue); font-weight: 900; }
.desktop-nav { display: flex; align-items: center; gap: 24px; color: #526078; font-size: 14px; font-weight: 650; }
.desktop-nav a { transition: color .2s ease; }
.desktop-nav a:hover { color: var(--aqar-blue); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.text-action { font-size: 14px; font-weight: 700; color: var(--aqar-navy); }
.inline-form { display: inline; margin: 0; }
.mobile-menu-button { display: none; width: 42px; height: 42px; border: 1px solid var(--aqar-border); border-radius: 12px; background: white; padding: 10px; }
.mobile-menu-button span { display: block; height: 2px; background: var(--aqar-navy); margin: 4px 0; border-radius: 5px; }
.mobile-nav { display: none; padding: 4px 18px 18px; background: white; border-top: 1px solid var(--aqar-border); }
.mobile-nav a { display: block; padding: 12px 4px; font-weight: 700; color: var(--aqar-navy); }
.mobile-nav.is-open { display: block; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 12px; padding: 13px 19px;
  font-weight: 800; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 15px; border-radius: 10px; font-size: 13px; }
.btn-dark { background: var(--aqar-navy); color: white; box-shadow: 0 10px 24px rgba(11,33,72,.16); }
.btn-gold { background: var(--aqar-gold); color: #1b2940; }
.btn-white { background: white; color: var(--aqar-navy); }
.btn-outline-light { color: white; border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.06); }

.hero-v2 {
  position: relative;
  overflow: hidden;
  padding: 82px 0 0;
  background:
    radial-gradient(circle at 8% 15%, rgba(14,109,255,.11), transparent 28%),
    radial-gradient(circle at 92% 78%, rgba(20,173,128,.08), transparent 26%),
    linear-gradient(180deg, #fff 0%, #f8faff 100%);
}
.hero-v2::after {
  content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(14,109,255,.08);
  border-radius: 50%; top: -260px; right: -120px; box-shadow: 0 0 0 70px rgba(14,109,255,.025), 0 0 0 140px rgba(14,109,255,.02);
}
.hero-v2-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; border-radius: 999px;
  padding: 8px 11px; font-size: 11px; font-weight: 900; letter-spacing: .08em;
}
.pill-blue { color: var(--aqar-blue); background: var(--aqar-blue-soft); }
.pill-gold { color: #80580a; background: var(--aqar-gold-soft); }
.pill-gold-small { color: #77520a; background: #fff1c9; padding: 6px 9px; font-size: 10px; }
.pill-glass { color: white; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); }
.pill-glass-dark { color: white; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16); }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(14,109,255,.10); }
.hero-copy h1 {
  margin: 20px 0 18px; max-width: 760px; font-size: clamp(48px, 6vw, 76px); line-height: .99;
  letter-spacing: -.055em; color: var(--aqar-navy); font-weight: 900;
}
.hero-copy h1 span { color: var(--aqar-blue); }
.hero-lead { max-width: 690px; margin: 0; color: var(--aqar-muted); font-size: 18px; line-height: 1.75; }
.intent-cards { margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.intent-card {
  min-height: 92px; padding: 16px; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  border: 1px solid var(--aqar-border); border-radius: 18px; background: rgba(255,255,255,.88);
  box-shadow: 0 10px 28px rgba(11,33,72,.05); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.intent-card:hover { transform: translateY(-3px); border-color: #cfd9e9; box-shadow: var(--shadow-card); }
.intent-card-fast { background: linear-gradient(145deg, #fffdf8, #fff9ea); border-color: #f3dfaf; }
.intent-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.intent-icon svg { width: 20px; height: 20px; fill: currentColor; }
.intent-icon-blue { color: var(--aqar-blue); background: var(--aqar-blue-soft); }
.intent-icon-navy { color: white; background: var(--aqar-navy); }
.intent-icon-gold { color: #70500d; background: #fbe6ab; }
.intent-card b { display: block; color: var(--aqar-muted); font-size: 11px; font-weight: 700; }
.intent-card strong { display: block; margin-top: 2px; color: var(--aqar-navy); font-size: 18px; }
.intent-card i { font-style: normal; color: #8e9ab0; font-size: 18px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 20px; color: #758198; font-size: 12px; font-weight: 650; }

.hero-market-card {
  position: relative; padding: 16px; color: white; border-radius: 30px;
  background: linear-gradient(155deg, #0a1d3c, #123b72); box-shadow: 0 30px 80px rgba(11,33,72,.24);
}
.market-card-top { display: flex; justify-content: space-between; align-items: center; padding: 2px 2px 14px; }
.market-location { font-size: 12px; color: rgba(255,255,255,.72); }
.property-art { position: relative; overflow: hidden; border-radius: 21px; background: linear-gradient(180deg, #8db5da 0%, #dce9f4 54%, #8eb485 100%); }
.property-art-hero { height: 270px; }
.art-glow { position: absolute; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,234,175,.50); filter: blur(25px); top: -70px; right: -30px; }
.building { position: absolute; bottom: 22px; background: linear-gradient(180deg,#edf1f4,#bdc7d0); box-shadow: 0 20px 25px rgba(8,26,54,.18); }
.building::before { content:""; position:absolute; inset:10px; background: repeating-linear-gradient(90deg, #7896ab 0 10px, transparent 10px 20px), repeating-linear-gradient(0deg, rgba(47,72,87,.4) 0 4px, transparent 4px 24px); opacity:.48; }
.building-a { left: 50px; width: 110px; height: 170px; }
.building-b { left: 170px; width: 150px; height: 210px; }
.building-c { right: 24px; width: 95px; height: 145px; }
.market-card-body { display: flex; justify-content: space-between; gap: 24px; align-items: end; padding: 20px 4px 14px; }
.market-card-body small, .market-card-footer { color: rgba(255,255,255,.60); font-size: 10px; letter-spacing: .08em; }
.market-card-body strong { display: block; margin-top: 4px; font-size: 27px; letter-spacing: -.03em; }
.market-timer { text-align: right; }
.market-timer b { display: block; margin-top: 4px; font-size: 20px; color: #9fc6ff; }
.market-card-footer { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.10); padding: 14px 4px 3px; letter-spacing: 0; }
.market-card-footer b { color: white; }
.hero-stats { position: relative; z-index: 3; margin-top: 64px; min-height: 96px; display: grid; grid-template-columns: repeat(3, 1fr); background: white; border: 1px solid var(--aqar-border); border-radius: 24px 24px 0 0; box-shadow: 0 -8px 40px rgba(11,33,72,.04); }
.hero-stats > div { display: grid; place-content: center; text-align: center; border-right: 1px solid var(--aqar-border); }
.hero-stats > div:last-child { border-right: 0; }
.hero-stats strong { display: block; font-size: 25px; color: var(--aqar-navy); }
.hero-stats span { margin-top: 3px; color: var(--aqar-muted); font-size: 12px; }

.section { padding: 86px 0; background: white; }
.section-soft { background: #f5f8fc; }
.section-heading { display: flex; justify-content: space-between; gap: 28px; align-items: end; margin-bottom: 30px; }
.section-heading h2 { margin: 5px 0 5px; color: var(--aqar-navy); font-size: clamp(30px, 4vw, 42px); letter-spacing: -.035em; }
.section-heading p { margin: 0; color: var(--aqar-muted); }
.section-kicker { color: var(--aqar-blue); font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.section-link { color: var(--aqar-blue); font-size: 13px; font-weight: 800; white-space: nowrap; }
.section-link span { margin-left: 4px; }
.compact-heading { align-items: center; }
.centered-heading { justify-content: center; text-align: center; }

.auction-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.property-card { overflow: hidden; background: white; border: 1px solid var(--aqar-border); border-radius: 22px; box-shadow: 0 10px 32px rgba(11,33,72,.05); transition: transform .2s ease, box-shadow .2s ease; }
.property-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.property-image { height: 210px; position: relative; overflow: hidden; }
.property-image-blue { background: linear-gradient(160deg,#9dbfdd,#e4edf5 58%,#7fa87f); }
.property-image-green { background: linear-gradient(160deg,#a5c1b4,#e8eee9 58%,#81a27d); }
.card-building { position: absolute; left: 19%; bottom: 18px; width: 64%; height: 72%; background: linear-gradient(180deg,#e9eef2,#bbc6ce); box-shadow: 0 18px 25px rgba(18,42,61,.16); clip-path: polygon(8% 12%, 82% 0, 100% 16%, 100% 100%, 0 100%, 0 22%); }
.card-building::after { content:""; position:absolute; inset:14px 12px; background: repeating-linear-gradient(90deg,#7290a4 0 12px,transparent 12px 26px), repeating-linear-gradient(0deg,rgba(65,83,95,.24) 0 3px,transparent 3px 26px); opacity:.55; }
.card-building-2 { left: 15%; width: 70%; height: 64%; clip-path: polygon(0 15%,70% 0,100% 20%,100% 100%,0 100%); }
.card-building-3 { left: 25%; width: 56%; height: 78%; }
.listing-type { position:absolute; top:14px; left:14px; padding:6px 9px; border-radius:999px; background:rgba(11,33,72,.85); color:white; font-size:9px; font-weight:900; letter-spacing:.09em; }
.save-button { position:absolute; top:12px; right:12px; width:36px; height:36px; border:1px solid rgba(255,255,255,.65); border-radius:50%; background:rgba(255,255,255,.84); color:var(--aqar-navy); font-size:20px; cursor:pointer; }
.property-card-body { padding: 18px; }
.location-line { display:flex; align-items:center; gap:5px; color:var(--aqar-blue); font-size:11px; font-weight:750; }
.location-line svg { width:13px; height:13px; fill:currentColor; }
.property-card h3, .ending-card h3, .takeover-card h3 { margin:8px 0 6px; color:var(--aqar-navy); font-size:17px; letter-spacing:-.02em; }
.property-card p, .takeover-card p { margin:0; color:var(--aqar-muted); font-size:12px; }
.bid-box { display:flex; align-items:center; justify-content:space-between; margin-top:17px; padding:13px 14px; background:#f7f9fc; border-radius:14px; }
.bid-box > div:last-child { text-align:right; }
.bid-box small, .ending-price small, .takeover-money small, .sell-fast-summary small { display:block; color:#8a95a9; font-size:9px; text-transform:uppercase; letter-spacing:.07em; }
.bid-box strong { display:block; margin-top:4px; color:var(--aqar-navy); font-size:15px; }
.bid-box b { display:block; margin-top:4px; color:var(--aqar-blue); font-size:13px; }
.card-bottom { display:flex; justify-content:space-between; align-items:center; padding-top:14px; color:#8b95a8; font-size:11px; }
.card-bottom a { color:var(--aqar-blue); font-weight:800; }

.ending-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.ending-card { display:grid; grid-template-columns: 42% 58%; overflow:hidden; background:white; border:1px solid var(--aqar-border); border-radius:20px; }
.ending-art { position:relative; min-height:190px; background: linear-gradient(155deg,#a2bad0,#dfe9ef 57%,#84a17e); }
.ending-art::after { content:""; position:absolute; width:62%; height:70%; left:18%; bottom:13px; background:linear-gradient(180deg,#e8edef,#b5c1c9); clip-path:polygon(10% 15%,82% 0,100% 17%,100% 100%,0 100%,0 25%); box-shadow:0 16px 24px rgba(31,51,64,.18); }
.ending-live { position:absolute; z-index:2; top:12px; left:12px; padding:6px 8px; border-radius:999px; background:#e95f56; color:white; font-size:9px; font-weight:900; letter-spacing:.07em; }
.ending-info { padding:18px; }
.ending-info > span { color:var(--aqar-blue); font-size:10px; font-weight:800; }
.ending-price { display:flex; justify-content:space-between; align-items:end; gap:12px; padding:14px 0 4px; }
.ending-price > div:last-child { text-align:right; }
.ending-price strong { display:block; margin-top:4px; font-size:16px; color:var(--aqar-navy); }
.ending-price b { color:#e3534a; font-size:14px; }

.sell-fast-section { background: #fff; }
.sell-fast-intro { position:relative; overflow:hidden; display:grid; grid-template-columns:1.15fr .85fr; gap:50px; align-items:center; padding:42px; border-radius:30px; color:white; background:linear-gradient(135deg,#0b2148,#153765); }
.sell-fast-intro::after { content:""; position:absolute; width:320px; height:320px; border-radius:50%; background:rgba(239,179,61,.08); right:-80px; top:-120px; box-shadow:0 0 0 60px rgba(239,179,61,.035); }
.sell-fast-intro h2 { margin:15px 0 12px; font-size:clamp(32px,4vw,47px); letter-spacing:-.04em; }
.sell-fast-intro p { margin:0 0 24px; max-width:620px; color:rgba(255,255,255,.70); line-height:1.7; }
.sell-fast-summary { position:relative; z-index:2; padding:22px; border:1px solid rgba(255,255,255,.12); border-radius:20px; background:rgba(255,255,255,.07); backdrop-filter:blur(12px); }
.sell-fast-summary > span:first-child { display:block; color:rgba(255,255,255,.55); font-size:10px; text-transform:uppercase; letter-spacing:.08em; margin-bottom:14px; }
.sell-fast-summary > div { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:10px 0; }
.sell-fast-summary small { color:rgba(255,255,255,.55); }
.sell-fast-summary strong { font-size:18px; }
.sell-fast-summary .plus { display:block; text-align:center; color:var(--aqar-gold); font-size:18px; }
.sell-fast-summary .divider { display:block; height:1px; background:rgba(255,255,255,.14); margin:7px 0; }
.sell-fast-summary .total strong { color:#ffd878; font-size:22px; }
.takeover-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; margin-top:22px; }
.takeover-card { position:relative; padding:24px; border:1px solid #f0dfb8; border-radius:20px; background:linear-gradient(145deg,#fffefa,#fff9ec); }
.takeover-head { display:flex; justify-content:space-between; align-items:center; }
.save-light { position:static; border-color:#ead9b3; background:white; }
.takeover-money { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin-top:18px; }
.takeover-money > div { padding:14px; border-radius:14px; background:white; border:1px solid #f0e5c9; }
.takeover-money strong { display:block; margin-top:4px; color:var(--aqar-navy); }
.takeover-meta { display:flex; gap:16px; flex-wrap:wrap; margin-top:14px; color:#7d7055; font-size:11px; }
.takeover-action { display:flex; justify-content:space-between; align-items:center; margin-top:18px; color:#8a630f; font-size:12px; font-weight:850; }

.steps-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.step-card { min-height:210px; padding:22px; border:1px solid var(--aqar-border); border-radius:20px; background:#fff; }
.step-card span { display:grid; place-items:center; width:38px; height:38px; border-radius:11px; background:var(--aqar-blue-soft); color:var(--aqar-blue); font-size:12px; font-weight:900; }
.step-card b { display:block; margin-top:28px; color:var(--aqar-navy); font-size:16px; }
.step-card p { margin:8px 0 0; color:var(--aqar-muted); font-size:12px; line-height:1.65; }

.trust-section { padding:86px 0; color:white; background:linear-gradient(135deg,#081a37,#0c2a55); }
.trust-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:70px; align-items:center; }
.trust-grid h2 { margin:15px 0 12px; font-size:clamp(32px,4vw,46px); letter-spacing:-.04em; }
.trust-grid > div:first-child p { color:rgba(255,255,255,.66); line-height:1.7; }
.trust-list { display:grid; gap:14px; }
.trust-list > div { display:flex; gap:14px; padding:17px; border:1px solid rgba(255,255,255,.10); border-radius:16px; background:rgba(255,255,255,.05); }
.trust-list > div > span { width:28px; height:28px; flex:0 0 28px; display:grid; place-items:center; border-radius:50%; background:rgba(25,189,139,.17); color:#68e1b7; font-weight:900; }
.trust-list p { margin:0; }
.trust-list b { display:block; }
.trust-list small { display:block; margin-top:5px; color:rgba(255,255,255,.55); line-height:1.5; }

.final-cta { padding:56px 0; background:var(--aqar-blue); color:white; }
.final-cta-inner { display:flex; align-items:center; justify-content:space-between; gap:30px; }
.final-cta span { font-size:10px; letter-spacing:.1em; font-weight:900; opacity:.72; }
.final-cta h2 { margin:7px 0 0; font-size:clamp(28px,4vw,42px); letter-spacing:-.04em; }
.final-actions { display:flex; gap:10px; flex-wrap:wrap; }

.site-footer { padding:62px 0 26px; color:rgba(255,255,255,.72); background:#07152d; }
.brand-light { color:white; }
.footer-main { display:grid; grid-template-columns:1fr 1.4fr; gap:80px; }
.footer-brand p { max-width:400px; line-height:1.7; font-size:13px; }
.footer-columns { display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }
.footer-columns div { display:grid; align-content:start; gap:10px; }
.footer-columns strong { color:white; margin-bottom:5px; font-size:13px; }
.footer-columns a { font-size:12px; }
.footer-bottom { display:flex; justify-content:space-between; gap:20px; margin-top:48px; padding-top:22px; border-top:1px solid rgba(255,255,255,.08); font-size:11px; }

/* Authentication */
.auth-shell {
  min-height: 100vh; display:grid; place-items:center; padding:32px 16px;
  background:radial-gradient(circle at 15% 10%,rgba(14,109,255,.12),transparent 30%),radial-gradient(circle at 90% 90%,rgba(20,173,128,.10),transparent 30%),var(--aqar-bg);
}
.auth-card { width:min(520px,100%); background:white; border:1px solid var(--aqar-border); border-radius:var(--radius-lg); box-shadow:var(--shadow-card); padding:34px; }
.auth-card h2 { margin:26px 0 8px; color:var(--aqar-navy); font-size:30px; }
.auth-card p,.auth-card small { color:var(--aqar-muted); }
.auth-form { display:grid; gap:16px; margin:24px 0; }
.auth-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.auth-form label { display:grid; gap:7px; font-size:13px; font-weight:700; color:var(--aqar-navy); }
.auth-form input { width:100%; border:1px solid var(--aqar-border); border-radius:12px; padding:13px 14px; font:inherit; outline:none; background:#fff; }
.auth-form input:focus { border-color:var(--aqar-blue); box-shadow:0 0 0 4px rgba(14,109,255,.10); }
.auth-form-meta { text-align:right; font-size:13px; color:var(--aqar-blue); }
.auth-link-button { display:inline-block; margin-top:18px; }

@media (max-width: 1020px) {
  .desktop-nav { display:none; }
  .mobile-menu-button { display:block; }
  .hero-v2-grid { grid-template-columns:1fr; gap:42px; }
  .hero-market-card { max-width:700px; }
  .auction-grid { grid-template-columns:repeat(2,1fr); }
  .property-card:last-child { display:none; }
  .steps-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 760px) {
  .container { width:min(100% - 28px,1180px); }
  .site-header { position:sticky; }
  .header-actions .text-action,.header-actions .btn { display:none; }
  .hero-v2 { padding-top:48px; }
  .hero-copy h1 { font-size:46px; }
  .hero-lead { font-size:16px; }
  .intent-cards { grid-template-columns:1fr; }
  .hero-market-card { padding:12px; border-radius:24px; }
  .property-art-hero { height:220px; }
  .market-card-body strong { font-size:21px; }
  .hero-stats { grid-template-columns:1fr; border-radius:20px 20px 0 0; }
  .hero-stats > div { min-height:75px; border-right:0; border-bottom:1px solid var(--aqar-border); }
  .hero-stats > div:last-child { border-bottom:0; }
  .section { padding:64px 0; }
  .section-heading { align-items:start; }
  .auction-grid,.ending-grid,.takeover-grid,.steps-grid { grid-template-columns:1fr; }
  .property-card:last-child { display:block; }
  .ending-card { grid-template-columns:1fr; }
  .ending-art { min-height:180px; }
  .sell-fast-intro { grid-template-columns:1fr; padding:28px; }
  .trust-grid { grid-template-columns:1fr; gap:36px; }
  .final-cta-inner,.footer-bottom { align-items:flex-start; flex-direction:column; }
  .footer-main { grid-template-columns:1fr; gap:40px; }
  .footer-columns { grid-template-columns:repeat(2,1fr); }
  .auth-card { padding:24px; }
  .auth-row { grid-template-columns:1fr; }
}
@media (max-width: 470px) {
  .hero-copy h1 { font-size:40px; }
  .section-heading { display:block; }
  .section-link { display:inline-block; margin-top:14px; }
  .market-card-body,.market-card-footer,.ending-price { align-items:flex-start; flex-direction:column; }
  .market-timer,.ending-price > div:last-child { text-align:left; }
  .takeover-money { grid-template-columns:1fr; }
  .footer-columns { grid-template-columns:1fr; }
}


.dashboard-page { min-height:70vh; padding:58px 0 90px; background:#f7f9fc; }
.dashboard-head { display:flex; justify-content:space-between; align-items:end; gap:24px; margin-bottom:28px; }
.dashboard-head h1,.form-page-head h1 { margin:7px 0 8px; color:var(--aqar-navy); font-size:42px; letter-spacing:-.04em; }
.dashboard-head p,.form-page-head p { margin:0; color:var(--aqar-muted); }
.dashboard-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.dashboard-property-card { overflow:hidden; border:1px solid var(--aqar-border); border-radius:18px; background:white; }
.dashboard-property-art { height:120px; background:linear-gradient(155deg,#a2bfd7,#e5edf4 60%,#91aa86); position:relative; }
.dashboard-property-art::after { content:""; position:absolute; width:58%; height:70%; left:21%; bottom:0; background:linear-gradient(#eef2f3,#bac5cc); clip-path:polygon(10% 10%,80% 0,100% 16%,100% 100%,0 100%,0 20%); }
.dashboard-property-card > div:last-child { padding:16px; }
.dashboard-property-card span { color:var(--aqar-blue); font-size:10px; font-weight:800; }
.dashboard-property-card h3 { margin:6px 0; font-size:16px; color:var(--aqar-navy); }
.dashboard-property-card p { margin:0; color:var(--aqar-muted); font-size:11px; }
.empty-panel { grid-column:1/-1; padding:40px; text-align:center; background:white; border:1px dashed #ccd5e3; border-radius:20px; }
.empty-panel b { display:block; font-size:22px; color:var(--aqar-navy); }
.empty-panel p { color:var(--aqar-muted); margin:8px 0 18px; }
.dashboard-section { margin-top:36px; padding:22px; background:white; border:1px solid var(--aqar-border); border-radius:20px; }
.dashboard-section-title { display:flex; justify-content:space-between; align-items:center; }
.dashboard-section-title h2 { margin:0; color:var(--aqar-navy); font-size:22px; }
.dashboard-section-title span { color:var(--aqar-muted); font-size:12px; }
.listing-table-wrap { overflow:auto; margin-top:16px; }
.listing-table { width:100%; border-collapse:collapse; font-size:12px; }
.listing-table th { text-align:left; color:#8a95a9; font-size:10px; text-transform:uppercase; letter-spacing:.07em; padding:12px; border-bottom:1px solid var(--aqar-border); }
.listing-table td { padding:14px 12px; border-bottom:1px solid #eef1f5; color:var(--aqar-text); }
.status-chip { display:inline-flex; border-radius:999px; padding:5px 8px; background:#eef2f8; color:#64718a; font-size:10px; font-weight:800; text-transform:capitalize; }
.status-live { background:#dff7ee; color:#0b8662; }
.status-pending_review { background:#fff0ca; color:#8a6105; }
.status-approved { background:#e3efff; color:#0d60d1; }
.status-cancelled,.status-rejected { background:#fde8e7; color:#b93c36; }

.form-page-head { max-width:720px; margin-bottom:26px; }
.property-form { display:grid; gap:20px; max-width:920px; }
.form-panel { padding:26px; background:white; border:1px solid var(--aqar-border); border-radius:20px; }
.form-panel-title { display:flex; gap:12px; align-items:center; margin-bottom:22px; }
.form-panel-title > span { width:36px; height:36px; display:grid; place-items:center; border-radius:10px; color:var(--aqar-blue); background:var(--aqar-blue-soft); font-size:11px; font-weight:900; }
.form-panel-title b { display:block; color:var(--aqar-navy); }
.form-panel-title small { display:block; margin-top:3px; color:var(--aqar-muted); }
.form-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:15px; }
.field { display:grid; gap:7px; color:var(--aqar-navy); font-size:12px; font-weight:750; }
.field-span-2 { grid-column:span 2; }
.field input,.field select,.field textarea { width:100%; border:1px solid var(--aqar-border); border-radius:11px; padding:12px 13px; background:white; color:var(--aqar-text); outline:none; resize:vertical; }
.field input:focus,.field select:focus,.field textarea:focus { border-color:var(--aqar-blue); box-shadow:0 0 0 4px rgba(14,109,255,.08); }
.market-choice-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.market-choice { display:block; position:relative; cursor:pointer; }
.market-choice input { position:absolute; opacity:0; pointer-events:none; }
.market-choice span { display:block; min-height:100px; padding:17px; border:1px solid var(--aqar-border); border-radius:15px; background:#fff; }
.market-choice b { display:block; color:var(--aqar-navy); font-size:16px; }
.market-choice small { display:block; color:var(--aqar-muted); margin-top:5px; line-height:1.5; }
.market-choice input:checked + span { border-color:var(--aqar-blue); box-shadow:0 0 0 3px rgba(14,109,255,.08); background:#f8fbff; }
.market-choice-fast input:checked + span { border-color:var(--aqar-gold); box-shadow:0 0 0 3px rgba(239,179,61,.12); background:#fffaf0; }
.form-method { max-width:420px; margin-top:18px; }
.form-actions { display:flex; justify-content:flex-end; gap:10px; }
.form-cancel { background:white; border-color:var(--aqar-border); color:var(--aqar-muted); }

@media (max-width:760px) {
  .dashboard-head { align-items:flex-start; flex-direction:column; }
  .dashboard-grid,.form-grid,.market-choice-grid { grid-template-columns:1fr; }
  .field-span-2 { grid-column:auto; }
}


.auction-rule-note { display:flex; gap:10px; align-items:flex-start; margin-top:18px; padding:14px; border-radius:12px; background:#f5f8fc; color:var(--aqar-muted); font-size:12px; }
.auction-rule-note b { color:var(--aqar-navy); white-space:nowrap; }
.listing-actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.listing-actions a,.link-button { padding:0; border:0; background:none; color:var(--aqar-blue); font-size:11px; font-weight:800; cursor:pointer; }

.auction-page { padding:52px 0 84px; background:#f7f9fc; }
.auction-layout { display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:24px; align-items:start; }
.auction-main { min-width:0; }
.auction-property-visual { position:relative; height:360px; overflow:hidden; border-radius:26px; background:linear-gradient(160deg,#9bbbd5,#e6eef3 56%,#87aa81); }
.auction-property-visual .pill { position:absolute; z-index:2; top:18px; left:18px; background:rgba(11,33,72,.78); }
.auction-building { position:absolute; width:56%; height:74%; left:22%; bottom:0; background:linear-gradient(#edf1f3,#b7c2ca); clip-path:polygon(7% 13%,78% 0,100% 17%,100% 100%,0 100%,0 24%); box-shadow:0 30px 35px rgba(25,47,61,.16); }
.auction-building::after { content:""; position:absolute; inset:18px; background:repeating-linear-gradient(90deg,#7895a7 0 14px,transparent 14px 30px),repeating-linear-gradient(0deg,rgba(56,74,84,.24) 0 3px,transparent 3px 30px); opacity:.58; }
.auction-title-row { display:flex; justify-content:space-between; gap:24px; align-items:end; padding:24px 2px 18px; }
.auction-title-row h1 { margin:7px 0 5px; color:var(--aqar-navy); font-size:36px; letter-spacing:-.04em; }
.auction-title-row p { margin:0; color:var(--aqar-muted); }
.auction-countdown-panel { min-width:150px; padding:14px 16px; text-align:right; border:1px solid var(--aqar-border); border-radius:15px; background:white; }
.auction-countdown-panel small { color:#8c97aa; font-size:9px; letter-spacing:.08em; }
.auction-countdown-panel strong { display:block; margin-top:5px; color:var(--aqar-blue); font-size:20px; }
.auction-numbers { display:grid; grid-template-columns:repeat(3,1fr); overflow:hidden; border:1px solid var(--aqar-border); border-radius:18px; background:white; }
.auction-numbers > div { padding:18px; border-right:1px solid var(--aqar-border); }
.auction-numbers > div:last-child { border-right:0; }
.auction-numbers small { display:block; color:#8b96aa; font-size:9px; text-transform:uppercase; letter-spacing:.07em; }
.auction-numbers strong { display:block; margin-top:5px; color:var(--aqar-navy); font-size:17px; }
.auction-numbers strong span { color:var(--aqar-muted); font-size:10px; font-weight:600; }
.auction-history { margin-top:20px; padding:21px; border:1px solid var(--aqar-border); border-radius:18px; background:white; }
.empty-history { padding:28px 0 8px; color:var(--aqar-muted); font-size:13px; }
.history-row { display:grid; grid-template-columns:auto 1fr auto; gap:12px; align-items:center; padding:14px 0; border-bottom:1px solid #edf1f5; }
.history-row:last-child { border-bottom:0; }
.history-avatar { width:32px; height:32px; display:grid; place-items:center; border-radius:50%; background:var(--aqar-blue-soft); color:var(--aqar-blue); font-size:10px; font-weight:900; }
.history-row b { display:block; color:var(--aqar-navy); font-size:13px; }
.history-row small { display:block; margin-top:3px; color:var(--aqar-muted); font-size:10px; }
.status-winning { background:#e4f0ff; color:#0b62d8; }
.status-won { background:#dcf7ed; color:#087b5b; }
.status-outbid,.status-lost { background:#f1f3f7; color:#738096; }

.bid-sidebar { position:sticky; top:96px; }
.bid-panel { padding:24px; border:1px solid var(--aqar-border); border-radius:22px; background:white; box-shadow:var(--shadow-card); }
.bid-panel h2 { margin:8px 0; color:var(--aqar-navy); font-size:25px; letter-spacing:-.03em; }
.bid-panel > p { margin:0; color:var(--aqar-muted); font-size:12px; line-height:1.6; }
.bid-form { display:grid; gap:14px; margin-top:20px; }
.bid-term-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.bid-submit,.bid-login { width:100%; margin-top:3px; }
.bid-protection { display:flex; gap:10px; margin-top:18px; padding-top:17px; border-top:1px solid var(--aqar-border); }
.bid-protection > span { width:26px; height:26px; flex:0 0 26px; display:grid; place-items:center; border-radius:50%; background:#def5ed; color:#08845f; font-weight:900; }
.bid-protection p { margin:0; }
.bid-protection b { display:block; color:var(--aqar-navy); font-size:11px; }
.bid-protection small { display:block; margin-top:3px; color:var(--aqar-muted); line-height:1.5; }
.auction-closed-note { margin-top:18px; padding:14px; border-radius:12px; background:#f4f6f9; color:var(--aqar-muted); font-size:12px; }

@media (max-width:920px) {
  .auction-layout { grid-template-columns:1fr; }
  .bid-sidebar { position:static; }
}
@media (max-width:650px) {
  .auction-property-visual { height:240px; }
  .auction-title-row { align-items:flex-start; flex-direction:column; }
  .auction-countdown-panel { width:100%; text-align:left; }
  .auction-numbers { grid-template-columns:1fr; }
  .auction-numbers > div { border-right:0; border-bottom:1px solid var(--aqar-border); }
  .auction-numbers > div:last-child { border-bottom:0; }
  .bid-term-grid { grid-template-columns:1fr; }
}


/* Phase 7 — Buy auctions and purchase transaction */
.auction-buy-now-badge {
  position: absolute;
  right: 24px;
  top: 24px;
  z-index: 2;
  padding: 9px 12px;
  border-radius: 999px;
  background: #fff3c4;
  color: #765500;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .07em;
  box-shadow: 0 8px 24px rgba(12,31,63,.12);
}

.buy-now-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--aqar-muted);
  font-size: 12px;
  margin: 16px 0;
}
.buy-now-divider::before,
.buy-now-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--aqar-border);
}

.buy-now-button {
  width: 100%;
  border: 1px solid rgba(244,183,64,.5);
  background: #fff7db;
  color: #5f4600;
  font-weight: 900;
  padding: 14px 18px;
}

.buy-now-warning {
  margin: 10px 0 0;
  color: var(--aqar-muted);
  font-size: 12px !important;
  line-height: 1.5 !important;
}

.auction-result-note {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin: 20px 0;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(18,184,134,.22);
  background: rgba(18,184,134,.08);
}
.auction-result-note b { color: #08785a; }
.auction-result-note span { color: var(--aqar-muted); }
.auction-result-note.reserve-missed {
  background: rgba(244,183,64,.09);
  border-color: rgba(244,183,64,.28);
}
.auction-result-note.reserve-missed b { color: #795700; }

.transaction-shell {
  max-width: 900px;
  margin: 0 auto;
}
.transaction-numbers {
  margin: 22px 0 28px;
}
.transaction-roadmap {
  display: grid;
  gap: 12px;
}
.transaction-step {
  display: flex;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--aqar-border);
  border-radius: var(--radius-md);
  background: #fff;
}
.transaction-step > span {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--aqar-bg);
  color: var(--aqar-muted);
  font-weight: 900;
}
.transaction-step.active {
  border-color: rgba(15,111,255,.24);
  background: rgba(15,111,255,.04);
}
.transaction-step.active > span {
  background: var(--aqar-blue);
  color: #fff;
}
.transaction-step b { display: block; color: var(--aqar-navy); }
.transaction-step small { display: block; margin-top: 4px; color: var(--aqar-muted); }


/* Phase 8 — Sell Fast / Takeover */
.section-kicker-gold { color:#9a6a06; }

.mini-state {
  display:inline-flex; padding:4px 7px; border-radius:999px; background:#f2f4f7;
  color:#788398; font-size:9px; font-weight:800; text-transform:capitalize;
}
.mini-state-verified { background:#dcf7ed; color:#087b5b; }
.mini-state-pending { background:#fff0ca; color:#8a6105; }
.mini-state-rejected { background:#fde8e7; color:#b93c36; }

.verification-banner {
  max-width:920px; margin-bottom:20px; display:flex; align-items:center; justify-content:space-between; gap:20px;
  padding:16px 18px; border:1px solid var(--aqar-border); border-radius:16px; background:white;
}
.verification-banner b { display:block; color:var(--aqar-navy); font-size:13px; }
.verification-banner span span,.verification-banner > div > span { display:block; margin-top:4px; color:var(--aqar-muted); font-size:11px; line-height:1.5; }
.verification-verified { border-color:rgba(20,173,128,.25); background:#f7fffc; }
.verification-pending { border-color:rgba(239,179,61,.32); background:#fffdf7; }
.verification-rejected { border-color:rgba(226,83,83,.24); background:#fff9f8; }

.money-input {
  display:grid; grid-template-columns:auto 1fr; align-items:center; overflow:hidden;
  border:1px solid var(--aqar-border); border-radius:11px; background:white;
}
.money-input > span { padding:0 0 0 13px; color:#8792a7; font-size:10px; font-weight:900; letter-spacing:.05em; }
.money-input input { border:0 !important; box-shadow:none !important; padding-left:9px !important; }
.money-input:focus-within { border-color:var(--aqar-blue); box-shadow:0 0 0 4px rgba(14,109,255,.08); }
.money-input-gold { border-color:#ead39c; background:#fffdf8; }
.money-input-gold:focus-within { border-color:var(--aqar-gold); box-shadow:0 0 0 4px rgba(239,179,61,.11); }

.check-field {
  min-height:58px; display:flex; gap:11px; align-items:flex-start; padding:12px 13px;
  border:1px solid var(--aqar-border); border-radius:11px; background:#fafbfd; cursor:pointer;
}
.check-field input { margin-top:3px; accent-color:var(--aqar-blue); }
.check-field b { display:block; color:var(--aqar-navy); font-size:12px; }
.check-field small { display:block; margin-top:3px; color:var(--aqar-muted); line-height:1.4; }

.sell-fast-rule {
  margin-top:18px; display:flex; gap:12px; align-items:flex-start; padding:14px 15px;
  border:1px solid #f0dba7; border-radius:13px; background:#fffaf0;
}
.sell-fast-rule > span {
  width:25px; height:25px; flex:0 0 25px; display:grid; place-items:center; border-radius:50%;
  background:#f5d98e; color:#72500a; font-weight:900;
}
.sell-fast-rule p { margin:1px 0 0; color:#766746; font-size:11px; line-height:1.6; }
.sell-fast-rule b { color:#5d450f; }

.schedule-editor { font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace; line-height:1.7; }
.field-help { color:var(--aqar-muted); font-weight:500; line-height:1.5; }
.field-help b { color:var(--aqar-navy); }

.takeover-explainer {
  margin-top:20px; display:grid; grid-template-columns:1fr auto 1fr auto 1fr; gap:12px; align-items:center;
  padding:18px; border-radius:16px; background:#f7f9fc; border:1px solid var(--aqar-border);
}
.takeover-explainer > div { min-width:0; }
.takeover-explainer small { display:block; color:#8b96aa; font-size:9px; letter-spacing:.06em; text-transform:uppercase; }
.takeover-explainer strong { display:block; margin-top:4px; color:var(--aqar-navy); font-size:12px; }
.takeover-explainer > span { color:var(--aqar-gold); font-size:20px; font-weight:900; }

.document-guidance { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.document-guidance > div { padding:15px; border:1px solid var(--aqar-border); border-radius:13px; background:#fafbfd; }
.document-guidance b { display:block; color:var(--aqar-navy); font-size:12px; }
.document-guidance span { display:block; margin-top:5px; color:var(--aqar-muted); font-size:10px; line-height:1.5; }
.document-guidance code { font-size:9px; color:var(--aqar-blue); }

.sell-fast-market-page { min-height:70vh; }
.sell-fast-market-hero {
  padding:72px 0; color:white;
  background:
    radial-gradient(circle at 8% 18%,rgba(239,179,61,.18),transparent 30%),
    radial-gradient(circle at 88% 80%,rgba(14,109,255,.18),transparent 28%),
    linear-gradient(145deg,#071832,#102e5a);
}
.sell-fast-market-hero-grid { display:grid; grid-template-columns:1fr 1fr; gap:52px; align-items:center; }
.sell-fast-market-hero h1 { margin:18px 0 14px; font-size:clamp(40px,5vw,62px); line-height:1.02; letter-spacing:-.05em; }
.sell-fast-market-hero h1 span { color:#f3c35f; }
.sell-fast-market-hero p { max-width:640px; margin:0; color:rgba(255,255,255,.65); line-height:1.7; }

.sell-fast-formula {
  display:grid; grid-template-columns:1fr auto 1fr auto 1fr; gap:10px; align-items:center;
  padding:20px; border:1px solid rgba(255,255,255,.12); border-radius:22px; background:rgba(255,255,255,.06);
}
.sell-fast-formula div { min-width:0; padding:12px; border-radius:12px; background:rgba(255,255,255,.06); }
.sell-fast-formula small { display:block; color:rgba(255,255,255,.47); font-size:8px; letter-spacing:.08em; }
.sell-fast-formula strong { display:block; margin-top:4px; font-size:12px; }
.sell-fast-formula > span,.sell-fast-formula > i { font-style:normal; color:#efbd54; font-weight:900; }
.sell-fast-formula .formula-total { grid-column:1/-1; text-align:center; background:rgba(239,179,61,.13); border:1px solid rgba(239,179,61,.19); }
.sell-fast-formula .formula-total strong { color:#ffd77e; font-size:18px; }

.sell-fast-list-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.sell-fast-deal-card {
  overflow:hidden; border:1px solid #eadfca; border-radius:22px; background:white;
  box-shadow:0 10px 32px rgba(11,33,72,.05); transition:transform .2s ease,box-shadow .2s ease;
}
.sell-fast-deal-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-hover); }
.deal-art { position:relative; height:190px; overflow:hidden; background:linear-gradient(160deg,#bdcbd8,#edf1f4 58%,#9baa89); }
.deal-art .pill { position:absolute; top:14px; left:14px; z-index:2; }
.deal-building {
  position:absolute; left:22%; bottom:0; width:58%; height:76%; background:linear-gradient(#f0f2f3,#bcc4c9);
  clip-path:polygon(8% 13%,78% 0,100% 18%,100% 100%,0 100%,0 22%);
  box-shadow:0 20px 30px rgba(23,45,58,.18);
}
.deal-building::after { content:""; position:absolute; inset:15px; background:repeating-linear-gradient(90deg,#8199a7 0 12px,transparent 12px 26px),repeating-linear-gradient(0deg,rgba(57,77,88,.23) 0 3px,transparent 3px 27px); opacity:.55; }
.deal-card-body { padding:18px; }
.deal-card-body h3 { margin:7px 0 14px; color:var(--aqar-navy); font-size:17px; }
.deal-money-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.deal-money-grid > div { padding:11px; border-radius:11px; background:#f8f9fc; }
.deal-money-grid small,.deal-total span { display:block; color:#8a95aa; font-size:9px; }
.deal-money-grid strong { display:block; margin-top:4px; color:var(--aqar-navy); font-size:12px; }
.deal-money-grid > div:first-child { background:#fff8e8; }
.deal-money-grid > div:first-child strong { color:#795706; }
.deal-total { display:flex; justify-content:space-between; gap:12px; align-items:end; padding:13px 2px; border-bottom:1px solid var(--aqar-border); }
.deal-total b { color:var(--aqar-blue); font-size:13px; }
.deal-meta { display:flex; flex-wrap:wrap; gap:12px; padding-top:12px; color:var(--aqar-muted); font-size:9px; }
.sell-fast-empty { grid-column:1/-1; }

.sell-fast-detail-page { padding:46px 0 86px; background:#f7f9fc; }
.sell-fast-detail-grid { display:grid; grid-template-columns:minmax(0,1fr) 380px; gap:24px; align-items:start; }
.sell-fast-property-visual {
  position:relative; height:350px; overflow:hidden; border-radius:26px;
  background:linear-gradient(158deg,#a5bed0,#e7eef1 56%,#8da580);
}
.sell-fast-property-visual .pill { position:absolute; top:18px; left:18px; z-index:2; }
.sell-fast-building {
  position:absolute; width:56%; height:78%; left:22%; bottom:0; background:linear-gradient(#f1f3f4,#b9c2c8);
  clip-path:polygon(7% 13%,78% 0,100% 17%,100% 100%,0 100%,0 24%);
  box-shadow:0 30px 35px rgba(25,47,61,.16);
}
.sell-fast-building::after { content:""; position:absolute; inset:18px; background:repeating-linear-gradient(90deg,#7d96a4 0 14px,transparent 14px 30px),repeating-linear-gradient(0deg,rgba(56,74,84,.23) 0 3px,transparent 3px 30px); opacity:.58; }

.sell-fast-title-row { display:flex; justify-content:space-between; gap:24px; align-items:end; padding:22px 2px 18px; }
.sell-fast-title-row h1 { margin:6px 0 5px; color:var(--aqar-navy); font-size:35px; letter-spacing:-.04em; }
.sell-fast-title-row p { margin:0; color:var(--aqar-muted); }
.verified-financial-badge { display:flex; gap:9px; align-items:center; padding:11px 13px; border:1px solid #cdeadd; border-radius:13px; background:#f5fffb; }
.verified-financial-badge > span { width:25px; height:25px; display:grid; place-items:center; border-radius:50%; background:#d9f5e9; color:#087b5b; font-weight:900; }
.verified-financial-badge b { display:block; color:#087b5b; font-size:10px; }
.verified-financial-badge small { display:block; margin-top:2px; color:#6d8b80; font-size:8px; }

.financial-breakdown { overflow:hidden; border:1px solid #eadcb9; border-radius:20px; background:white; }
.financial-main-number { padding:23px; background:linear-gradient(145deg,#fffaf0,#fffdf9); }
.financial-main-number small { color:#8a6b25; font-size:9px; font-weight:900; letter-spacing:.08em; }
.financial-main-number strong { display:block; margin-top:5px; color:#6d4e08; font-size:31px; letter-spacing:-.03em; }
.financial-main-number span { display:block; margin-top:4px; color:#978159; font-size:10px; }
.financial-equation { display:grid; grid-template-columns:1fr auto 1fr auto 1fr auto 1.2fr; gap:8px; align-items:center; padding:15px; border-top:1px solid #eee4cd; }
.financial-equation > div { padding:9px; }
.financial-equation small { display:block; color:#8d97aa; font-size:8px; }
.financial-equation b { display:block; margin-top:3px; color:var(--aqar-navy); font-size:11px; }
.financial-equation > span,.financial-equation > i { font-style:normal; color:#c48e20; font-weight:900; }
.financial-equation-total { border-radius:10px; background:#eff5ff; }
.financial-equation-total b { color:var(--aqar-blue); }

.deal-info-panel,.installment-panel,.deal-description-panel {
  margin-top:18px; padding:20px; border:1px solid var(--aqar-border); border-radius:18px; background:white;
}
.deal-info-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.deal-info-grid small { display:block; color:#8b96a9; font-size:8px; text-transform:uppercase; letter-spacing:.05em; }
.deal-info-grid strong { display:block; margin-top:5px; color:var(--aqar-navy); font-size:12px; }
.section-mini-head { display:flex; justify-content:space-between; gap:20px; align-items:end; margin-bottom:12px; }
.section-mini-head h2,.section-mini-head h3 { margin:4px 0 0; color:var(--aqar-navy); font-size:20px; letter-spacing:-.02em; }
.section-mini-head > span { color:var(--aqar-muted); font-size:10px; }
.installment-list { border-top:1px solid var(--aqar-border); }
.installment-row { display:grid; grid-template-columns:42px 1fr 1fr auto; gap:13px; align-items:center; padding:13px 0; border-bottom:1px solid #eef1f5; }
.installment-row > span:first-child { color:#9aa4b5; font-size:10px; font-weight:900; }
.installment-row small { display:block; color:#929cad; font-size:8px; }
.installment-row b { display:block; margin-top:3px; color:var(--aqar-navy); font-size:11px; }
.verified-dot { color:#0b8662; font-size:9px; font-weight:800; }
.deal-description-panel h2 { margin:5px 0 8px; color:var(--aqar-navy); }
.deal-description-panel p { margin:0; color:var(--aqar-muted); line-height:1.7; font-size:12px; }

.sell-fast-offer-sidebar { position:sticky; top:94px; display:grid; gap:16px; }
.sell-fast-offer-panel,.negotiation-panel { padding:22px; border:1px solid #e8dfca; border-radius:20px; background:white; box-shadow:var(--shadow-card); }
.sell-fast-offer-panel h2 { margin:8px 0; color:var(--aqar-navy); font-size:24px; letter-spacing:-.03em; }
.sell-fast-offer-panel > p { margin:0; color:var(--aqar-muted); font-size:11px; line-height:1.6; }
.negotiation-pending-note { margin-top:16px; padding:13px; border-radius:11px; background:#fff8e8; border:1px solid #edd7a3; }
.negotiation-pending-note b { display:block; color:#73520a; font-size:11px; }
.negotiation-pending-note span { display:block; margin-top:3px; color:#8d7443; font-size:9px; }

.offer-item { padding:13px; border:1px solid var(--aqar-border); border-radius:13px; background:#fafbfd; margin-top:10px; }
.offer-item-mine { border-color:#cfe0fb; background:#f7faff; }
.offer-item-head { display:flex; justify-content:space-between; gap:10px; align-items:center; color:#8c96a8; font-size:9px; }
.offer-item > strong { display:block; margin-top:7px; color:var(--aqar-navy); font-size:17px; }
.offer-item > p { margin:6px 0; color:var(--aqar-muted); font-size:10px; line-height:1.5; }
.offer-item > small { color:#9aa3b2; font-size:8px; }
.offer-actions { display:flex; gap:7px; margin-top:10px; }
.offer-actions form { margin:0; }
.counter-box { margin-top:10px; border-top:1px solid var(--aqar-border); padding-top:9px; }
.counter-box summary { color:var(--aqar-blue); font-size:9px; font-weight:800; cursor:pointer; }
.counter-box .bid-form { margin-top:10px; gap:9px; }
.offer-withdraw { margin-top:9px; }

.status-pending { background:#fff0ca; color:#8a6105; }
.status-accepted { background:#dcf7ed; color:#087b5b; }
.status-countered { background:#e3efff; color:#0d60d1; }
.status-withdrawn,.status-expired { background:#f1f3f7; color:#738096; }

.takeover-transaction-summary {
  margin:22px 0; display:grid; grid-template-columns:repeat(3,1fr); gap:10px;
}
.takeover-transaction-summary > div {
  padding:15px; border:1px solid var(--aqar-border); border-radius:13px; background:#fafbfd;
}
.takeover-transaction-summary small { display:block; color:#8c96a8; font-size:8px; text-transform:uppercase; letter-spacing:.05em; }
.takeover-transaction-summary strong { display:block; margin-top:5px; color:var(--aqar-navy); font-size:13px; }
.takeover-transaction-summary .takeover-transaction-total { grid-column:1/-1; background:#fff9eb; border-color:#ead8a9; }
.takeover-transaction-summary .takeover-transaction-total strong { color:#765407; font-size:19px; }

.transaction-alert { display:flex; gap:8px; margin-top:16px; padding:13px; border-radius:12px; font-size:11px; }
.transaction-alert b { white-space:nowrap; }
.transaction-alert-danger { background:#fff2f1; border:1px solid #f3d1ce; color:#a73e38; }

@media (max-width:1020px) {
  .sell-fast-list-grid { grid-template-columns:repeat(2,1fr); }
  .sell-fast-detail-grid { grid-template-columns:1fr; }
  .sell-fast-offer-sidebar { position:static; }
  .sell-fast-market-hero-grid { grid-template-columns:1fr; }
}
@media (max-width:760px) {
  .takeover-explainer,.document-guidance,.deal-info-grid { grid-template-columns:1fr; }
  .takeover-explainer > span { display:none; }
  .sell-fast-list-grid { grid-template-columns:1fr; }
  .sell-fast-title-row { align-items:flex-start; flex-direction:column; }
  .financial-equation { grid-template-columns:1fr; }
  .financial-equation > span,.financial-equation > i { display:none; }
  .installment-row { grid-template-columns:35px 1fr; }
  .installment-row .verified-dot { grid-column:2; }
  .takeover-transaction-summary { grid-template-columns:1fr; }
  .takeover-transaction-summary .takeover-transaction-total { grid-column:auto; }
  .verification-banner { align-items:flex-start; flex-direction:column; }
}

.document-upload-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.document-upload-grid input[type=file] { padding:10px; background:#fafbfd; }
.document-status-list { margin-top:16px; display:grid; gap:8px; }
.document-status-list > div {
  display:grid; grid-template-columns:140px 1fr auto; gap:12px; align-items:center;
  padding:10px 12px; border:1px solid var(--aqar-border); border-radius:11px; background:#fafbfd;
}
.document-status-list span { color:#8b96a9; font-size:9px; text-transform:capitalize; }
.document-status-list b { min-width:0; overflow:hidden; text-overflow:ellipsis; color:var(--aqar-navy); font-size:10px; }
.document-status-list i { font-style:normal; }
@media (max-width:760px) {
  .document-upload-grid { grid-template-columns:1fr; }
  .document-status-list > div { grid-template-columns:1fr; gap:5px; }
}


/* Phase 9 — Marketplace discovery */
.marketplace-page,
.account-market-page { background: #f5f8fc; }

.market-hero {
  padding: 64px 0 38px;
  color: white;
  background:
    radial-gradient(circle at 78% 10%, rgba(14,109,255,.32), transparent 28%),
    radial-gradient(circle at 8% 90%, rgba(20,173,128,.16), transparent 26%),
    linear-gradient(135deg, #081a37, #0d2d5c);
}
.market-hero .section-kicker { color: #7eb2ff; }
.market-hero-row { display:flex; align-items:end; justify-content:space-between; gap:36px; margin-top:10px; }
.market-hero h1 { margin:0 0 10px; color:white; font-size:clamp(38px,5vw,58px); letter-spacing:-.045em; line-height:1; }
.market-hero p { max-width:680px; margin:0; color:rgba(255,255,255,.66); line-height:1.7; }
.compact-market-hero { padding-bottom:52px; }
.compact-market-hero h1 { margin-top:8px; }

.market-mode-tabs {
  display:flex; padding:5px; border:1px solid rgba(255,255,255,.13); border-radius:14px;
  background:rgba(255,255,255,.07); backdrop-filter:blur(12px);
}
.market-mode-tabs a { padding:10px 14px; border-radius:10px; color:rgba(255,255,255,.62); font-size:12px; font-weight:800; white-space:nowrap; }
.market-mode-tabs a.is-active { color:var(--aqar-navy); background:white; }

.market-content { padding:34px 0 84px; }
.market-layout { display:grid; grid-template-columns:270px minmax(0,1fr); gap:28px; align-items:start; }
.market-filters { position:sticky; top:90px; display:grid; gap:14px; }
.market-filters > form,
.save-search-box {
  padding:20px; border:1px solid var(--aqar-border); border-radius:20px; background:white;
  box-shadow:0 10px 30px rgba(11,33,72,.045);
}
.market-filters form { display:grid; gap:14px; }
.filter-head { display:flex; justify-content:space-between; align-items:start; padding-bottom:4px; }
.filter-head strong { display:block; color:var(--aqar-navy); font-size:17px; }
.filter-head small { display:block; margin-top:3px; color:var(--aqar-muted); font-size:10px; }
.filter-head a { color:var(--aqar-blue); font-size:11px; font-weight:800; }
.market-filters label { display:grid; gap:6px; }
.market-filters label > span { color:#506079; font-size:10px; font-weight:800; letter-spacing:.02em; }
.market-filters input:not([type=checkbox]),
.market-filters select,
.save-search-box input:not([type=checkbox]) {
  width:100%; min-height:42px; padding:0 11px; border:1px solid #dde4ef; border-radius:10px;
  background:#fbfcfe; color:var(--aqar-navy); outline:none; font:inherit; font-size:12px;
}
.market-filters input:focus,
.market-filters select:focus,
.save-search-box input:focus { border-color:#8ebaff; box-shadow:0 0 0 3px rgba(14,109,255,.08); }
.filter-two { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.filter-check { display:flex !important; grid-template-columns:none !important; align-items:center; gap:8px !important; }
.filter-check input { accent-color:var(--aqar-blue); }
.filter-check span { font-size:11px !important; font-weight:650 !important; }
.market-filter-submit { width:100%; margin-top:4px; }
.save-search-box { display:grid; gap:10px; }
.save-search-box strong { color:var(--aqar-navy); font-size:13px; }

.market-results { min-width:0; }
.market-results-head { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:18px; }
.market-results-head h2 { margin:4px 0 0; color:var(--aqar-navy); font-size:25px; letter-spacing:-.03em; }
.market-account-links { display:flex; gap:14px; }
.market-account-links a { color:var(--aqar-blue); font-size:12px; font-weight:800; }

.market-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.market-card {
  position:relative; min-width:0; overflow:hidden; border:1px solid var(--aqar-border); border-radius:20px;
  background:white; box-shadow:0 9px 30px rgba(11,33,72,.045); transition:transform .18s ease,box-shadow .18s ease;
}
.market-card:hover { transform:translateY(-3px); box-shadow:0 18px 42px rgba(11,33,72,.09); }
.market-card-media { position:relative; display:block; height:190px; overflow:hidden; background:#dce6ef; }
.market-card-media img { width:100%; height:100%; object-fit:cover; transition:transform .3s ease; }
.market-card:hover .market-card-media img { transform:scale(1.025); }
.market-card-placeholder {
  position:absolute; inset:0; display:block;
  background:linear-gradient(160deg,#a9bfd2,#e8eef2 56%,#91a988);
}
.market-card-placeholder i {
  position:absolute; left:19%; bottom:15px; width:65%; height:72%; background:linear-gradient(180deg,#eef2f4,#b7c4cc);
  clip-path:polygon(7% 15%,78% 0,100% 18%,100% 100%,0 100%,0 25%); box-shadow:0 14px 28px rgba(24,45,59,.15);
}
.market-card-placeholder i::after {
  content:""; position:absolute; inset:15px 12px;
  background:repeating-linear-gradient(90deg,#718fa2 0 11px,transparent 11px 25px),repeating-linear-gradient(0deg,rgba(73,91,102,.2) 0 3px,transparent 3px 25px);
  opacity:.5;
}
.verified-pill {
  position:absolute; left:12px; bottom:12px; padding:6px 8px; border-radius:999px;
  background:rgba(12,34,73,.88); color:#7ce5c0; font-size:9px; font-weight:900;
}
.market-save-form { position:absolute; top:12px; right:12px; z-index:3; }
.market-save {
  position:absolute; z-index:3; top:12px; right:12px; display:grid; place-items:center; width:36px; height:36px;
  border:1px solid rgba(255,255,255,.7); border-radius:50%; background:rgba(255,255,255,.9); color:var(--aqar-navy);
  font-size:20px; line-height:1; cursor:pointer; box-shadow:0 5px 14px rgba(9,29,58,.08);
}
.market-save.is-saved { color:#e65762; }
.market-card-body { padding:17px; }
.market-location { color:var(--aqar-blue); font-size:10px; font-weight:850; }
.market-card h3 { min-height:40px; margin:7px 0 4px; color:var(--aqar-navy); font-size:16px; line-height:1.25; letter-spacing:-.02em; }
.market-project { margin:0; min-height:18px; color:var(--aqar-muted); font-size:10px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.market-specs { display:flex; flex-wrap:wrap; gap:6px; margin-top:12px; }
.market-specs span { padding:5px 7px; border-radius:7px; background:#f3f6fa; color:#657289; font-size:9px; font-weight:700; }
.market-price-block {
  display:flex; justify-content:space-between; align-items:end; gap:12px; margin-top:14px; padding:12px;
  border-radius:12px; background:#f6f8fc;
}
.market-price-block small { display:block; color:#8c97a9; font-size:8px; text-transform:uppercase; letter-spacing:.055em; }
.market-price-block strong { display:block; margin-top:4px; color:var(--aqar-navy); font-size:14px; }
.market-bid-meta { text-align:right; }
.market-bid-meta span { display:block; color:#8994a6; font-size:9px; }
.market-bid-meta b { display:block; margin-top:4px; color:#e3514a; font-size:11px; }
.sell-fast-price { background:#fff9ec; border:1px solid #f2e2bd; }
.sell-fast-price > div:last-child { text-align:right; }
.sell-fast-price b { display:block; margin-top:4px; color:#9b6b06; font-size:12px; }
.market-card-link { display:flex; justify-content:space-between; align-items:center; margin-top:13px; color:var(--aqar-blue); font-size:11px; font-weight:850; }
.market-card-link span { font-size:15px; }
.market-load-more { display:flex; justify-content:center; padding-top:28px; }

.market-empty {
  min-height:360px; display:grid; place-items:center; align-content:center; text-align:center; padding:40px;
  border:1px dashed #ccd6e5; border-radius:22px; background:white;
}
.market-empty > span { display:grid; place-items:center; width:58px; height:58px; border-radius:18px; background:#edf4ff; color:var(--aqar-blue); font-size:28px; }
.market-empty h3 { margin:15px 0 7px; color:var(--aqar-navy); font-size:22px; }
.market-empty p { max-width:460px; margin:0 0 20px; color:var(--aqar-muted); line-height:1.6; }

.saved-search-list { display:grid; gap:13px; }
.saved-search-card {
  display:flex; justify-content:space-between; gap:30px; align-items:center; padding:22px;
  border:1px solid var(--aqar-border); border-radius:18px; background:white;
}
.saved-search-card h3 { margin:8px 0 5px; color:var(--aqar-navy); }
.saved-search-card p { margin:0; color:var(--aqar-muted); font-size:11px; text-transform:capitalize; }
.saved-search-status { display:inline-flex; padding:5px 7px; border-radius:999px; background:#f1f3f7; color:#7a8494; font-size:9px; font-weight:850; }
.saved-search-status.is-on { background:#e8f9f3; color:#12845f; }
.saved-search-actions { display:flex; align-items:center; gap:14px; }
.saved-search-actions form { margin:0; }
.text-danger { border:0; background:transparent; color:#d9535f; font:inherit; font-size:11px; font-weight:800; cursor:pointer; }

@media (max-width: 1100px) {
  .market-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .market-hero-row { display:block; }
  .market-mode-tabs { margin-top:24px; width:max-content; max-width:100%; overflow:auto; }
  .market-layout { grid-template-columns:1fr; }
  .market-filters { position:static; }
  .market-filters > form { grid-template-columns:repeat(2,1fr); }
  .filter-head,.market-filter-submit { grid-column:1/-1; }
  .save-search-box { display:none; }
}
@media (max-width: 620px) {
  .market-hero { padding-top:44px; }
  .market-filters > form { grid-template-columns:1fr; }
  .filter-head,.market-filter-submit { grid-column:auto; }
  .market-grid { grid-template-columns:1fr; }
  .market-card-media { height:220px; }
  .market-results-head,.saved-search-card { align-items:flex-start; flex-direction:column; }
  .market-account-links { flex-wrap:wrap; }
}


/* Phase 12 — Operations, admin, payments, contracts, notifications */
.admin-body { margin:0; min-height:100vh; background:#f5f8fc; color:var(--aqar-text); }
.admin-shell { min-height:100vh; display:grid; grid-template-columns:240px minmax(0,1fr); }
.admin-sidebar {
  position:sticky; top:0; height:100vh; padding:24px 18px; color:white;
  background:linear-gradient(180deg,#081a37,#0c2b58);
  border-right:1px solid rgba(255,255,255,.08);
}
.admin-brand { display:flex; align-items:center; gap:10px; padding:0 7px 22px; font-weight:900; letter-spacing:.02em; }
.admin-brand .brand-logo { width:36px; height:36px; display:grid; place-items:center; border-radius:11px; background:linear-gradient(135deg,var(--aqar-blue),var(--aqar-green)); }
.admin-nav { display:grid; gap:5px; }
.admin-nav a { padding:11px 12px; border-radius:10px; color:rgba(255,255,255,.68); font-size:12px; font-weight:750; }
.admin-nav a:hover { color:white; background:rgba(255,255,255,.08); }
.admin-back { display:block; margin-top:24px; padding:12px; color:#8bbaff; font-size:11px; font-weight:800; }
.admin-main { min-width:0; padding:34px; }
.admin-page-head { display:flex; justify-content:space-between; align-items:flex-end; gap:20px; margin-bottom:24px; }
.admin-page-head h1 { margin:5px 0 0; color:var(--aqar-navy); font-size:32px; letter-spacing:-.035em; }
.admin-page-head p { margin:6px 0 0; color:var(--aqar-muted); font-size:12px; }
.admin-stat-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-bottom:24px; }
.admin-stat { padding:20px; border:1px solid var(--aqar-border); border-radius:17px; background:white; box-shadow:0 8px 28px rgba(12,31,63,.04); }
.admin-stat span { display:block; color:var(--aqar-muted); font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.07em; }
.admin-stat strong { display:block; margin-top:7px; color:var(--aqar-navy); font-size:26px; }
.admin-panel { margin-bottom:20px; padding:20px; border:1px solid var(--aqar-border); border-radius:18px; background:white; box-shadow:0 8px 30px rgba(12,31,63,.035); }
.admin-panel-head { display:flex; justify-content:space-between; align-items:center; gap:15px; margin-bottom:16px; }
.admin-panel-head h2 { margin:0; color:var(--aqar-navy); font-size:18px; }
.admin-live { display:inline-flex; align-items:center; gap:6px; padding:6px 9px; border-radius:999px; background:#e9f9f3; color:#12845f; font-size:9px; font-weight:900; }
.admin-table-wrap { width:100%; overflow:auto; border:1px solid var(--aqar-border); border-radius:14px; }
.admin-table { width:100%; border-collapse:collapse; min-width:760px; background:white; }
.admin-table-wide { min-width:1050px; }
.admin-table th { padding:11px 12px; text-align:left; background:#f7f9fc; color:#718096; font-size:9px; text-transform:uppercase; letter-spacing:.06em; white-space:nowrap; }
.admin-table td { padding:13px 12px; border-top:1px solid #edf0f5; color:#324158; font-size:11px; vertical-align:top; }
.admin-table td strong { color:var(--aqar-navy); }
.admin-actions { display:flex; flex-wrap:wrap; gap:7px; align-items:center; }
.admin-actions form { margin:0; }
.admin-mini-form,.admin-reject-form { display:flex; gap:7px; align-items:center; flex-wrap:wrap; }
.admin-mini-form input,.admin-mini-form select,.admin-reject-form input,.admin-reject-form select,
.admin-inline-form-grid input,.admin-inline-form-grid select,.admin-inline-form-grid textarea {
  min-height:36px; padding:7px 9px; border:1px solid #dbe3ef; border-radius:9px; background:#fbfcfe; color:var(--aqar-navy); font:inherit; font-size:10px;
}
.admin-inline-form-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.admin-inline-form-grid textarea { min-height:80px; resize:vertical; }
.admin-label { display:grid; gap:5px; color:#53627a; font-size:9px; font-weight:800; }
.admin-checkbox { display:flex; align-items:center; gap:7px; color:#53627a; font-size:10px; }
.admin-money-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; margin:12px 0; }
.admin-money-grid > div { padding:10px; border-radius:10px; background:#f7f9fc; }
.admin-money-grid span { display:block; color:#8490a3; font-size:8px; text-transform:uppercase; }
.admin-money-grid strong { display:block; margin-top:4px; color:var(--aqar-navy); font-size:11px; }
.admin-card-list { display:grid; gap:10px; }
.admin-empty { padding:35px; text-align:center; color:var(--aqar-muted); font-size:12px; border:1px dashed #ccd6e5; border-radius:14px; }
.status-chip,.signed-badge {
  display:inline-flex; align-items:center; width:max-content; padding:5px 8px; border-radius:999px;
  background:#eef3f9; color:#55657e; font-size:8px; font-weight:900; text-transform:uppercase; letter-spacing:.04em;
}
.signed-badge { background:#e8f9f3; color:#12845f; }

.notifications-head { display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin-bottom:18px; }
.notification-list { display:grid; gap:10px; }
.notification-item {
  display:flex; align-items:flex-start; gap:12px; padding:17px; border:1px solid var(--aqar-border);
  border-radius:15px; background:white;
}
.notification-item.is-unread { border-color:#b8d2ff; background:#fbfdff; }
.notification-dot { flex:0 0 auto; width:9px; height:9px; margin-top:5px; border-radius:50%; background:#cbd3df; }
.notification-item.is-unread .notification-dot { background:var(--aqar-blue); box-shadow:0 0 0 4px rgba(14,109,255,.08); }
.notification-copy { flex:1; min-width:0; }
.notification-title-row { display:flex; justify-content:space-between; gap:15px; align-items:start; }
.notification-title-row strong { color:var(--aqar-navy); font-size:13px; }
.notification-title-row time { color:#929cac; font-size:9px; white-space:nowrap; }
.notification-copy p { margin:5px 0 0; color:var(--aqar-muted); font-size:11px; line-height:1.5; }

.transaction-ops-panel { display:grid; gap:18px; margin-top:22px; }
.transaction-roadmap { display:grid; grid-template-columns:repeat(5,1fr); gap:7px; }
.transaction-roadmap-extended { grid-template-columns:repeat(7,1fr); }
.transaction-step { padding:9px 7px; border-radius:10px; background:#f0f3f8; color:#8a95a6; text-align:center; font-size:8px; font-weight:850; text-transform:uppercase; }
.transaction-step.is-current { background:#e8f1ff; color:var(--aqar-blue); box-shadow:inset 0 0 0 1px #b8d3ff; }
.transaction-record-list { display:grid; gap:9px; }
.transaction-record,.contract-card {
  display:flex; justify-content:space-between; align-items:center; gap:16px;
  padding:14px; border:1px solid var(--aqar-border); border-radius:12px; background:#fff;
}
.transaction-record small,.contract-card small { display:block; color:var(--aqar-muted); font-size:9px; }
.transaction-record strong,.contract-card strong { display:block; margin-top:4px; color:var(--aqar-navy); font-size:12px; }
.contract-actions { display:flex; align-items:center; flex-wrap:wrap; gap:7px; }
.payment-intent-form { display:grid; grid-template-columns:1.2fr 1fr 1fr auto; gap:8px; align-items:end; padding:14px; border:1px solid var(--aqar-border); border-radius:12px; background:#fafbfd; }
.payment-intent-form label { display:grid; gap:5px; color:#66758b; font-size:9px; font-weight:800; }
.payment-intent-form input,.payment-intent-form select {
  width:100%; min-height:39px; padding:8px 9px; border:1px solid #dbe3ed; border-radius:9px; background:white; font:inherit; font-size:11px; color:var(--aqar-navy);
}
.status-history { display:grid; gap:6px; }
.status-history-row { display:grid; grid-template-columns:130px 1fr auto; gap:12px; padding:9px 0; border-bottom:1px solid #eef1f5; color:#657289; font-size:10px; }
.status-history-row strong { color:var(--aqar-navy); }
.legal-microcopy { padding:11px 12px; border-left:3px solid #edbe57; border-radius:6px; background:#fff9ec; color:#745b25; font-size:9px; line-height:1.55; }

.sandbox-payment-card { max-width:620px; margin:32px auto; padding:28px; border:1px solid var(--aqar-border); border-radius:22px; background:white; box-shadow:0 16px 45px rgba(12,31,63,.07); }
.sandbox-payment-card h1 { margin:7px 0 10px; color:var(--aqar-navy); font-size:30px; }
.sandbox-payment-card p { color:var(--aqar-muted); line-height:1.65; }
.sandbox-actions { display:flex; gap:10px; margin-top:20px; flex-wrap:wrap; }

@media (max-width:1000px) {
  .admin-shell { grid-template-columns:1fr; }
  .admin-sidebar { position:static; height:auto; }
  .admin-nav { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .admin-stat-grid { grid-template-columns:repeat(2,1fr); }
  .transaction-roadmap,.transaction-roadmap-extended { grid-template-columns:repeat(3,1fr); }
}
@media (max-width:700px) {
  .admin-main { padding:20px 14px; }
  .admin-nav { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .admin-stat-grid,.admin-inline-form-grid,.admin-money-grid { grid-template-columns:1fr; }
  .admin-page-head,.notifications-head,.transaction-record,.contract-card { align-items:flex-start; flex-direction:column; }
  .payment-intent-form { grid-template-columns:1fr; }
  .transaction-roadmap,.transaction-roadmap-extended { grid-template-columns:repeat(2,1fr); }
  .status-history-row { grid-template-columns:1fr; gap:3px; }
}


/* =============================================================
   AQAR BID — PROPERTY SEARCH REFRESH
   Search-first real-estate marketplace UI using AQAR BID branding
   ============================================================= */

:root {
  --aqar-primary: #008b86;
  --aqar-primary-dark: #006f6b;
  --aqar-primary-soft: #e8f7f5;
  --aqar-navy: #102a43;
  --aqar-text: #182230;
  --aqar-muted: #667085;
  --aqar-border: #e4e7ec;
  --aqar-bg: #f7f8fa;
  --aqar-surface: #ffffff;
  --aqar-gold: #e6ae42;
  --aqar-blue: #008b86;
  --aqar-green: #008b86;
}

body {
  background: #fff;
  color: var(--aqar-text);
}

.container {
  width: min(1240px, calc(100% - 40px));
}

/* Header */
.pf-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: 68px;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid #eceef2;
  backdrop-filter: blur(12px);
}

.pf-header-inner {
  height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 34px;
  align-items: center;
}

.pf-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--aqar-primary);
}

.pf-brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}

.pf-brand-mark svg {
  width: 32px;
  height: 32px;
}

.pf-brand-text {
  font-size: 19px;
  letter-spacing: -.035em;
  line-height: 1;
}

.pf-brand-text b {
  color: var(--aqar-navy);
  font-weight: 900;
}

.pf-brand-text strong {
  margin-left: 4px;
  color: var(--aqar-primary);
  font-weight: 900;
}

.pf-desktop-nav {
  display: flex;
  gap: 26px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #344054;
}

.pf-desktop-nav a {
  padding: 23px 0 21px;
  transition: color .18s ease;
}

.pf-desktop-nav a:hover {
  color: var(--aqar-primary);
}

.pf-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pf-login-link {
  color: #344054;
  font-size: 14px;
  font-weight: 750;
}

.pf-icon-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #344054;
}

.pf-icon-link:hover {
  background: #f2f4f7;
}

.pf-icon-link svg {
  width: 22px;
  height: 22px;
}

.pf-header-btn {
  min-height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--aqar-primary);
  border-radius: 8px;
  background: var(--aqar-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.pf-header-btn-outline {
  color: var(--aqar-primary);
  background: #fff;
}

.pf-menu-button {
  display: none;
}

.pf-mobile-nav {
  border-top: 1px solid #eceef2;
}

/* Home hero */
.pf-home {
  background: #fff;
}

.pf-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  background-image: var(--pf-hero-image);
  background-size: cover;
  background-position: center 55%;
}

.pf-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7,31,38,.20) 0%, rgba(7,31,38,.34) 38%, rgba(4,24,31,.70) 100%),
    linear-gradient(90deg, rgba(0,75,72,.14), transparent 55%);
}

.pf-hero-content {
  padding-top: 86px;
  padding-bottom: 44px;
}

.pf-hero-copy {
  margin: 0 auto 28px;
  max-width: 780px;
  text-align: center;
  color: #fff;
}

.pf-hero-copy h1 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.07;
  letter-spacing: -.045em;
  text-shadow: 0 3px 18px rgba(0,0,0,.18);
}

.pf-hero-copy p {
  margin: 0;
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,.94);
}

.pf-search-panel {
  max-width: 1090px;
  margin: 0 auto;
  overflow: visible;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 16px 46px rgba(15,23,42,.24);
}

.pf-search-tabs {
  height: 54px;
  padding: 0 20px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  border-bottom: 1px solid #eaecf0;
}

.pf-search-tabs input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pf-search-tabs label {
  position: relative;
  height: 54px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  color: #475467;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.pf-search-tabs input:checked + label {
  color: var(--aqar-primary);
}

.pf-search-tabs input:checked + label::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 3px;
  border-radius: 4px 4px 0 0;
  background: var(--aqar-primary);
}

.pf-search-main {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) 190px 130px 142px;
  gap: 10px;
  padding: 14px;
}

.pf-search-main input,
.pf-search-main select,
.pf-results-search input,
.pf-results-search select {
  width: 100%;
  min-height: 50px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #fff;
  color: #344054;
  padding: 0 13px;
  outline: 0;
}

.pf-search-main input:focus,
.pf-search-main select:focus,
.pf-results-search input:focus,
.pf-results-search select:focus {
  border-color: var(--aqar-primary);
  box-shadow: 0 0 0 3px rgba(0,139,134,.10);
}

.pf-search-location,
.pf-results-location {
  position: relative;
}

.pf-search-location input,
.pf-results-location input {
  padding-left: 44px;
}

.pf-search-icon,
.pf-results-location svg {
  position: absolute;
  z-index: 2;
  left: 14px;
  top: 50%;
  width: 20px;
  height: 20px;
  color: #667085;
  transform: translateY(-50%);
}

.pf-search-button {
  min-height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--aqar-primary);
  color: #fff;
  font-weight: 850;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.pf-search-button:hover {
  background: var(--aqar-primary-dark);
}

.pf-search-button svg {
  width: 19px;
  height: 19px;
}

.pf-search-quick {
  min-height: 56px;
  padding: 0 14px 14px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.pf-search-quick > label:not(.pf-quick-check) {
  min-width: 130px;
  height: 42px;
  padding: 4px 10px;
  border: 1px solid #e1e5ea;
  border-radius: 8px;
}

.pf-search-quick label > span {
  display: block;
  color: #667085;
  font-size: 9px;
  font-weight: 750;
}

.pf-search-quick input:not([type="checkbox"]) {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 0;
  color: #344054;
  background: transparent;
  font-size: 12px;
}

.pf-quick-check {
  height: 42px;
  padding: 0 12px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid #e1e5ea;
  border-radius: 8px;
  color: #344054;
  font-size: 12px;
  font-weight: 700;
}

.pf-search-quick > a {
  margin-left: auto;
  color: var(--aqar-primary);
  font-size: 12px;
  font-weight: 800;
}

/* App promo */
.pf-app-strip {
  padding: 56px 0 20px;
  background: #fff;
}

.pf-app-card {
  min-height: 270px;
  padding: 36px 50px;
  display: grid;
  grid-template-columns: 1fr 320px;
  align-items: center;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 86% 5%, rgba(255,255,255,.16), transparent 30%),
    linear-gradient(135deg, #006f6b, #0c393f);
  color: #fff;
}

.pf-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--aqar-primary);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .095em;
  text-transform: uppercase;
}

.pf-app-copy .pf-eyebrow,
.pf-bottom-cta .pf-eyebrow {
  color: #91e2dc;
}

.pf-app-copy h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -.035em;
}

.pf-app-copy p {
  max-width: 610px;
  margin: 0;
  color: rgba(255,255,255,.78);
  line-height: 1.65;
}

.pf-app-pills {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.pf-app-pills span {
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  font-size: 11px;
  font-weight: 750;
}

.pf-phone-preview {
  position: relative;
  width: 205px;
  height: 330px;
  justify-self: center;
  transform: translateY(58px) rotate(3deg);
  border: 7px solid #0d1b25;
  border-radius: 32px;
  background: #f7f8fa;
  box-shadow: 0 24px 55px rgba(0,0,0,.28);
}

.pf-phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 2;
  width: 74px;
  height: 18px;
  border-radius: 12px;
  background: #0d1b25;
  transform: translateX(-50%);
}

.pf-phone-ui {
  padding: 38px 12px 12px;
  color: #182230;
}

.pf-phone-top {
  display: flex;
  justify-content: space-between;
  color: var(--aqar-primary);
  font-size: 11px;
}

.pf-phone-search {
  height: 30px;
  margin: 16px 0 12px;
  border-radius: 7px;
  background: #eef2f4;
}

.pf-phone-card {
  overflow: hidden;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  background: #fff;
}

.pf-phone-card > div {
  height: 100px;
  background: linear-gradient(155deg, #8cb1b0, #d7e5df 55%, #87a97d);
}

.pf-phone-card span,
.pf-phone-card b {
  display: block;
  padding: 8px 10px 0;
}

.pf-phone-card span {
  color: var(--aqar-primary);
  font-size: 9px;
  font-weight: 800;
}

.pf-phone-card b {
  padding-top: 4px;
  padding-bottom: 12px;
  font-size: 13px;
}

/* Sections and cards */
.pf-section {
  padding: 58px 0;
  background: #fff;
}

.pf-section-soft {
  background: #f8faf9;
}

.pf-section-head {
  margin-bottom: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.pf-section-head h2 {
  margin: 0 0 5px;
  color: #182230;
  font-size: 28px;
  letter-spacing: -.025em;
}

.pf-section-head p {
  margin: 0;
  color: #667085;
  font-size: 14px;
}

.pf-section-head > a {
  color: var(--aqar-primary);
  font-size: 13px;
  font-weight: 850;
}

.pf-property-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pf-home-card,
.pf-result-card {
  overflow: hidden;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  background: #fff;
  transition: box-shadow .18s ease, transform .18s ease;
}

.pf-home-card:hover,
.pf-result-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(16,42,67,.10);
}

.pf-home-card-image {
  position: relative;
  height: 220px;
  display: block;
  overflow: hidden;
  background: #e9efee;
}

.pf-home-card-image img,
.pf-result-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.pf-home-card:hover img,
.pf-result-card:hover img {
  transform: scale(1.025);
}

.pf-image-fallback {
  width: 100%;
  height: 100%;
  display: block;
  background:
    linear-gradient(180deg, rgba(255,255,255,.12), transparent),
    linear-gradient(150deg, #9dbdb9, #e5ece8 58%, #8eaa84);
}

.pf-image-fast {
  background: linear-gradient(150deg, #bea974, #f1ead8 58%, #98ad87);
}

.pf-card-badge,
.pf-result-type {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 6px 9px;
  border-radius: 5px;
  background: var(--aqar-primary);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .06em;
}

.pf-card-badge-fast {
  background: #b7892d;
}

.pf-card-timer {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 6px 9px;
  border-radius: 5px;
  background: rgba(18,34,46,.82);
  color: #fff;
  font-size: 10px;
  font-weight: 850;
}

.pf-home-card-body {
  padding: 16px;
}

.pf-card-location,
.pf-result-location {
  margin: 0;
  color: #667085;
  font-size: 11px;
}

.pf-home-card h3,
.pf-result-card h3 {
  margin: 6px 0;
  color: #182230;
  font-size: 17px;
  line-height: 1.32;
  letter-spacing: -.015em;
}

.pf-card-meta,
.pf-result-subtitle {
  margin: 0;
  color: #667085;
  font-size: 12px;
}

.pf-card-price-row,
.pf-result-price {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #eaecf0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
}

.pf-card-price-row small,
.pf-result-price small,
.pf-takeover-numbers small {
  display: block;
  margin-bottom: 4px;
  color: #98a2b3;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.pf-card-price-row strong,
.pf-result-price strong,
.pf-takeover-numbers strong {
  color: #182230;
  font-size: 16px;
}

.pf-card-price-row > span {
  color: var(--aqar-primary);
  font-size: 11px;
  font-weight: 850;
}

.pf-takeover-numbers {
  margin-top: 15px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.pf-card-footline {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #eaecf0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #667085;
  font-size: 11px;
}

.pf-card-footline a {
  color: var(--aqar-primary);
  font-weight: 850;
}

.pf-sellfast-banner {
  min-height: 180px;
  padding: 30px 34px;
  border: 1px solid #d6ece9;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: linear-gradient(110deg, #effaf8, #fff);
}

.pf-sellfast-banner h3 {
  margin: 6px 0;
  font-size: 24px;
  color: #182230;
}

.pf-sellfast-banner p {
  margin: 0;
  max-width: 720px;
  color: #667085;
}

/* Explore */
.pf-location-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.pf-location-chips a {
  padding: 10px 15px;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  color: #344054;
  background: #fff;
  font-size: 12px;
  font-weight: 750;
}

.pf-location-chips a:hover {
  border-color: var(--aqar-primary);
  color: var(--aqar-primary);
}

.pf-explore-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

.pf-explore-grid h3 {
  margin: 0 0 14px;
  color: #182230;
  font-size: 15px;
}

.pf-explore-grid a {
  display: block;
  margin: 9px 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.45;
}

.pf-explore-grid a:hover {
  color: var(--aqar-primary);
}

.pf-empty {
  padding: 38px;
  border: 1px dashed #d0d5dd;
  border-radius: 12px;
  text-align: center;
  background: #fafbfc;
}

.pf-empty h3 {
  margin: 0 0 6px;
}

.pf-empty p {
  margin: 0 0 18px;
  color: #667085;
}

.pf-secondary-button {
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--aqar-primary);
  border-radius: 8px;
  color: var(--aqar-primary);
  background: #fff;
  font-size: 12px;
  font-weight: 850;
}

.pf-bottom-cta {
  padding: 54px 0;
  background: #093d3d;
  color: #fff;
}

.pf-bottom-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.pf-bottom-cta h2 {
  margin: 0;
  max-width: 760px;
  color: #fff;
  font-size: 30px;
  letter-spacing: -.03em;
}

.pf-bottom-cta-button {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--aqar-primary-dark);
  font-weight: 900;
}

/* Marketplace search/results */
.pf-results-page {
  min-height: 70vh;
  background: #f7f8fa;
}

.pf-results-top {
  padding: 34px 0 22px;
  border-bottom: 1px solid #e4e7ec;
  background: #fff;
}

.pf-results-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.pf-results-title h1 {
  margin: 4px 0 0;
  color: #182230;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.pf-results-modes {
  display: flex;
  gap: 6px;
  padding: 4px;
  border-radius: 9px;
  background: #f2f4f7;
}

.pf-results-modes a {
  padding: 9px 12px;
  border-radius: 7px;
  color: #475467;
  font-size: 12px;
  font-weight: 800;
}

.pf-results-modes a.is-active {
  color: var(--aqar-primary);
  background: #fff;
  box-shadow: 0 1px 4px rgba(16,24,40,.08);
}

.pf-results-search {
  position: relative;
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) 190px 120px 110px auto;
  gap: 8px;
  align-items: center;
}

.pf-results-search > select:first-child {
  max-width: 120px;
}

.pf-results-location svg {
  z-index: 2;
}

.pf-more-filters {
  position: relative;
}

.pf-more-filters > summary {
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  background: #fff;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.pf-more-filters > summary::-webkit-details-marker {
  display: none;
}

.pf-filter-popover {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  right: 0;
  width: min(720px, 90vw);
  padding: 20px;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(16,24,40,.16);
}

.pf-filter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.pf-filter-grid label > span {
  display: block;
  margin-bottom: 5px;
  color: #667085;
  font-size: 10px;
  font-weight: 750;
}

.pf-filter-grid input,
.pf-filter-grid select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d0d5dd;
  border-radius: 7px;
  padding: 0 10px;
  background: #fff;
}

.pf-filter-checks {
  margin-top: 14px;
  display: flex;
  gap: 18px;
  align-items: center;
}

.pf-filter-checks label {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: #475467;
  font-size: 12px;
}

.pf-filter-actions {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #eaecf0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pf-filter-actions > a {
  color: #667085;
  font-size: 12px;
  font-weight: 750;
}

.pf-results-content {
  padding: 32px 0 62px;
}

.pf-results-headline {
  margin-bottom: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.pf-results-headline h2 {
  margin: 0 0 4px;
  color: #182230;
  font-size: 23px;
}

.pf-results-headline p {
  margin: 0;
  color: #667085;
  font-size: 12px;
}

.pf-results-actions {
  display: flex;
  gap: 18px;
}

.pf-results-actions a {
  color: var(--aqar-primary);
  font-size: 12px;
  font-weight: 800;
}

.pf-save-search {
  margin-bottom: 18px;
  border: 1px solid #dce9e7;
  border-radius: 9px;
  background: #f2fbfa;
}

.pf-save-search summary {
  padding: 12px 15px;
  color: var(--aqar-primary-dark);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.pf-save-search form {
  padding: 0 15px 14px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.pf-save-search input[name="name"] {
  min-height: 40px;
  min-width: 260px;
  border: 1px solid #d0d5dd;
  border-radius: 7px;
  padding: 0 10px;
}

.pf-save-search label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #475467;
  font-size: 11px;
}

.pf-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pf-result-card {
  position: relative;
}

.pf-result-media {
  position: relative;
  height: 225px;
  overflow: hidden;
  background: #e8eeee;
}

.pf-result-media > a {
  height: 100%;
  display: block;
}

.pf-result-verified {
  position: absolute;
  left: 12px;
  top: 44px;
  padding: 5px 8px;
  border-radius: 5px;
  background: rgba(255,255,255,.94);
  color: var(--aqar-primary);
  font-size: 9px;
  font-weight: 900;
}

.pf-result-save-form {
  position: absolute;
  right: 11px;
  top: 11px;
}

.pf-result-save {
  position: absolute;
  right: 11px;
  top: 11px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.94);
  color: #344054;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(16,24,40,.12);
}

.pf-result-save.is-saved {
  color: #d34444;
}

.pf-result-body {
  padding: 15px;
}

.pf-result-specs {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #667085;
  font-size: 11px;
}

.pf-result-specs b {
  color: #344054;
}

.pf-result-side-price {
  text-align: right;
}

.pf-result-side-price b {
  display: block;
  color: var(--aqar-primary);
  font-size: 12px;
}

.pf-result-card-footer {
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid #eaecf0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #667085;
  font-size: 10px;
}

.pf-result-card-footer a {
  color: var(--aqar-primary);
  font-size: 11px;
  font-weight: 850;
}

.pf-empty-results {
  min-height: 260px;
  display: grid;
  place-content: center;
}

.pf-load-more {
  padding-top: 28px;
  text-align: center;
}

/* Footer */
.pf-footer {
  padding: 54px 0 20px;
  background: #0c2e36;
  color: #dce8e8;
}

.pf-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
}

.pf-brand-footer {
  color: #86d6d1;
}

.pf-brand-footer .pf-brand-text b {
  color: #fff;
}

.pf-footer-brand p {
  max-width: 330px;
  margin: 18px 0 0;
  color: #99afb2;
  font-size: 12px;
  line-height: 1.7;
}

.pf-footer-col strong {
  display: block;
  margin-bottom: 14px;
  color: #fff;
  font-size: 12px;
}

.pf-footer-col a {
  display: block;
  margin: 9px 0;
  color: #a8babc;
  font-size: 12px;
}

.pf-footer-col a:hover {
  color: #fff;
}

.pf-footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.10);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #80999d;
  font-size: 10px;
}

.pf-footer-bottom > div {
  display: flex;
  gap: 18px;
}

/* Responsive */
@media (max-width: 1050px) {
  .pf-desktop-nav {
    gap: 16px;
  }

  .pf-search-main {
    grid-template-columns: minmax(250px, 1fr) 170px 110px 125px;
  }

  .pf-property-row,
  .pf-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pf-results-search {
    grid-template-columns: minmax(260px, 1fr) 170px 110px 110px auto;
  }

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

@media (max-width: 850px) {
  .pf-header {
    height: 64px;
  }

  .pf-header-inner {
    height: 64px;
    grid-template-columns: auto 1fr;
  }

  .pf-desktop-nav,
  .pf-header-actions > .pf-login-link,
  .pf-header-actions > .pf-header-btn,
  .pf-header-actions > .inline-form,
  .pf-header-actions > .pf-icon-link {
    display: none;
  }

  .pf-header-actions {
    justify-self: end;
  }

  .pf-menu-button {
    display: block;
  }

  .pf-mobile-nav.is-open {
    display: block;
  }

  .pf-hero {
    min-height: 640px;
  }

  .pf-hero-content {
    padding-top: 72px;
  }

  .pf-search-main {
    grid-template-columns: 1fr 1fr;
  }

  .pf-search-location {
    grid-column: 1 / -1;
  }

  .pf-search-button {
    grid-column: auto;
  }

  .pf-search-quick {
    flex-wrap: wrap;
  }

  .pf-search-quick > a {
    margin-left: 0;
  }

  .pf-app-card {
    grid-template-columns: 1fr 220px;
    padding-right: 24px;
  }

  .pf-results-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .pf-results-search {
    grid-template-columns: 1fr 1fr;
  }

  .pf-results-location {
    grid-column: 1 / -1;
  }

  .pf-more-filters {
    width: 100%;
  }

  .pf-more-filters > summary {
    width: 100%;
  }

  .pf-filter-popover {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 90px;
    width: auto;
    max-height: 75vh;
    overflow: auto;
  }

  .pf-filter-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pf-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pf-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1240px);
  }

  .pf-hero {
    min-height: 680px;
    background-position: 60% center;
  }

  .pf-hero-copy {
    margin-bottom: 20px;
  }

  .pf-hero-copy h1 {
    font-size: 36px;
  }

  .pf-search-tabs {
    padding: 0 7px;
    overflow-x: auto;
  }

  .pf-search-tabs label {
    padding: 0 12px;
    white-space: nowrap;
    font-size: 12px;
  }

  .pf-search-main {
    grid-template-columns: 1fr;
  }

  .pf-search-location,
  .pf-search-button {
    grid-column: auto;
  }

  .pf-search-quick {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .pf-search-quick > label:not(.pf-quick-check) {
    min-width: 0;
  }

  .pf-search-quick > a {
    display: flex;
    align-items: center;
  }

  .pf-app-strip {
    padding-top: 32px;
  }

  .pf-app-card {
    min-height: 390px;
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .pf-phone-preview {
    position: absolute;
    right: -24px;
    bottom: -120px;
    opacity: .35;
  }

  .pf-property-row,
  .pf-results-grid {
    grid-template-columns: 1fr;
  }

  .pf-section {
    padding: 42px 0;
  }

  .pf-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .pf-home-card-image,
  .pf-result-media {
    height: 235px;
  }

  .pf-sellfast-banner,
  .pf-bottom-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .pf-explore-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pf-results-top {
    padding-top: 24px;
  }

  .pf-results-modes {
    width: 100%;
    overflow-x: auto;
  }

  .pf-results-modes a {
    white-space: nowrap;
  }

  .pf-results-search {
    grid-template-columns: 1fr;
  }

  .pf-results-location {
    grid-column: auto;
  }

  .pf-filter-grid {
    grid-template-columns: 1fr;
  }

  .pf-results-headline {
    align-items: flex-start;
    flex-direction: column;
  }

  .pf-save-search form {
    align-items: stretch;
    flex-direction: column;
  }

  .pf-save-search input[name="name"] {
    min-width: 0;
  }

  .pf-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pf-footer-brand {
    grid-column: auto;
  }

  .pf-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* ========================================================================
   AQAR BID UI v3 — search-first real estate marketplace
   Property-search UX direction, AQAR BID original teal/navy identity.
   ======================================================================== */

:root {
  --pf3-teal: #008b86;
  --pf3-teal-dark: #006f6b;
  --pf3-teal-soft: #e9f7f6;
  --pf3-navy: #102743;
  --pf3-text: #1e2b3a;
  --pf3-muted: #697789;
  --pf3-line: #e3e8ee;
  --pf3-bg: #f7f8fa;
  --pf3-gold: #e8ad45;
  --pf3-green: #168b69;
}

body { background: #fff; color: var(--pf3-text); }
.container { width: min(1240px, calc(100% - 40px)); }

.pf-header-v3 {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  background: #fff;
  border-bottom: 1px solid var(--pf3-line);
  box-shadow: none;
  backdrop-filter: none;
}
.pf-header-inner-v3 { min-height: 72px; }
.pf-brand-v3 { gap: 10px; }
.pf-brand-mark-v3 {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--pf3-teal);
  box-shadow: none;
}
.pf-brand-mark-v3 svg { width: 24px; height: 24px; }
.pf-brand-text-v3 { font-size: 19px; letter-spacing: -.03em; color: var(--pf3-navy); }
.pf-brand-text-v3 strong { color: var(--pf3-teal); margin-left: 4px; }
.pf-desktop-nav-v3 { gap: 28px; color: #3f4d5f; font-size: 14px; font-weight: 700; }
.pf-desktop-nav-v3 a:hover { color: var(--pf3-teal); }
.pf-header-actions-v3 { gap: 16px; }
.pf-header-saved { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 750; color: var(--pf3-navy); }
.pf-header-saved svg { width: 19px; height: 19px; }
.pf-header-btn-v3 { color: var(--pf3-teal); background: #fff; border: 1px solid var(--pf3-teal); box-shadow: none; }
.pf-header-btn-v3:hover { background: var(--pf3-teal-soft); }

.pf3-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: #fff;
  background-image: var(--pf3-hero-image);
  background-size: cover;
  background-position: center 48%;
}
.pf3-hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,23,36,.20) 0%, rgba(7,23,36,.36) 45%, rgba(7,23,36,.58) 100%);
}
.pf3-hero-inner { position: relative; z-index: 2; padding-top: 35px; padding-bottom: 36px; }
.pf3-hero-copy { text-align: center; max-width: 850px; margin: 0 auto 28px; }
.pf3-hero-copy h1 { margin: 0; color: #fff; font-size: clamp(42px, 5vw, 64px); letter-spacing: -.045em; line-height: 1.04; text-shadow: 0 3px 20px rgba(0,0,0,.15); }
.pf3-hero-copy p { margin: 13px 0 0; font-size: 20px; color: rgba(255,255,255,.93); }

.pf3-search-shell {
  width: min(1040px, 100%);
  margin: 0 auto;
  background: #fff;
  color: var(--pf3-text);
  border-radius: 12px;
  box-shadow: 0 18px 55px rgba(6,24,41,.28);
  overflow: visible;
}
.pf3-search-tabs {
  display: flex;
  gap: 26px;
  align-items: center;
  padding: 0 22px;
  height: 58px;
  border-bottom: 1px solid var(--pf3-line);
}
.pf3-search-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.pf3-search-tabs label {
  position: relative;
  height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #4d5b6c;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}
.pf3-search-tabs input:checked + label { color: var(--pf3-teal); }
.pf3-search-tabs input:checked + label::after {
  content:""; position:absolute; left:0; right:0; bottom:-1px; height:3px; border-radius:3px 3px 0 0; background:var(--pf3-teal);
}
.pf3-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #e55050; box-shadow: 0 0 0 4px rgba(229,80,80,.10); }

.pf3-search-row {
  display: grid;
  grid-template-columns: minmax(280px, 1.8fr) 1fr 1fr auto;
  gap: 10px;
  padding: 14px;
}
.pf3-search-row select, .pf3-location-field {
  height: 54px;
  border: 1px solid #cfd6df;
  border-radius: 7px;
  background: #fff;
}
.pf3-search-row select { width:100%; padding: 0 14px; color:#364455; outline:none; }
.pf3-location-field { display:flex; align-items:center; gap:10px; padding:0 14px; }
.pf3-location-field svg { width:22px; height:22px; color:var(--pf3-teal); flex:none; }
.pf3-location-field input { width:100%; border:0; outline:0; font-size:15px; color:var(--pf3-text); }
.pf3-search-btn {
  min-width: 138px;
  height: 54px;
  border:0;
  border-radius:7px;
  background:var(--pf3-teal);
  color:#fff;
  font-weight:850;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  cursor:pointer;
}
.pf3-search-btn:hover { background:var(--pf3-teal-dark); }
.pf3-search-btn svg { width:19px; height:19px; }
.pf3-filter-row {
  display:flex;
  gap:10px;
  align-items:center;
  padding: 0 14px 14px;
}
.pf3-filter-row > label:not(.pf3-check) {
  position:relative;
  min-width:145px;
  height:42px;
  display:flex;
  align-items:center;
  gap:6px;
  padding:0 11px;
  border:1px solid var(--pf3-line);
  border-radius:6px;
  font-size:12px;
  font-weight:800;
  color:#465467;
}
.pf3-filter-row label input:not([type=checkbox]) {
  min-width:0; width:70px; border:0; outline:0; font-size:12px; background:transparent;
}
.pf3-filter-row > a { margin-left:auto; color:var(--pf3-teal); font-size:13px; font-weight:800; }
.pf3-check { display:flex; align-items:center; gap:7px; font-size:12px; font-weight:750; color:#4f5e6f; }

.pf3-trust-strip { background:#fff; border-bottom:1px solid var(--pf3-line); }
.pf3-trust-grid { display:grid; grid-template-columns:repeat(3,1fr); }
.pf3-trust-grid > div { min-height:92px; display:flex; flex-direction:column; justify-content:center; padding:18px 28px; border-right:1px solid var(--pf3-line); }
.pf3-trust-grid > div:last-child { border-right:0; }
.pf3-trust-grid strong { color:var(--pf3-navy); font-size:15px; }
.pf3-trust-grid span { margin-top:5px; color:var(--pf3-muted); font-size:12px; }

.pf3-section { padding:72px 0; background:#fff; }
.pf3-section-soft { background:var(--pf3-bg); }
.pf3-section-head { display:flex; justify-content:space-between; gap:25px; align-items:end; margin-bottom:26px; }
.pf3-section-head h2 { margin:0; color:var(--pf3-navy); font-size:30px; letter-spacing:-.025em; }
.pf3-section-head p { margin:6px 0 0; color:var(--pf3-muted); font-size:14px; }
.pf3-section-head > a { color:var(--pf3-teal); font-weight:800; font-size:14px; }
.pf3-kicker { color:var(--pf3-teal); font-size:11px; letter-spacing:.1em; font-weight:900; }

.pf3-card-row, .pf3-results-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.pf3-property-card, .pf3-result-card {
  overflow:hidden;
  border:1px solid var(--pf3-line);
  border-radius:10px;
  background:#fff;
  box-shadow:0 2px 10px rgba(19,37,56,.045);
  transition:box-shadow .18s ease, transform .18s ease;
}
.pf3-property-card:hover, .pf3-result-card:hover { box-shadow:0 14px 35px rgba(19,37,56,.11); transform:translateY(-2px); }
.pf3-card-image, .pf3-result-media { position:relative; height:230px; display:block; overflow:hidden; background:#dfe9eb; }
.pf3-card-image img, .pf3-result-media img { width:100%; height:100%; object-fit:cover; display:block; }
.pf3-image-placeholder {
  display:block; width:100%; height:100%;
  background:
    linear-gradient(145deg, rgba(0,139,134,.12), rgba(16,39,67,.06)),
    linear-gradient(180deg,#dce8e8,#c9d6d6);
}
.pf3-image-fast { background:linear-gradient(145deg,#eaf7f4,#d6ebe5); }
.pf3-badge, .pf3-result-type, .pf3-result-verified {
  position:absolute; top:12px; padding:6px 9px; border-radius:4px; font-size:10px; font-weight:900; letter-spacing:.05em;
}
.pf3-badge { left:12px; color:#fff; background:rgba(16,39,67,.90); }
.pf3-badge-live { background:#e55454; }
.pf3-badge-fast { background:var(--pf3-green); }
.pf3-countdown { position:absolute; right:12px; top:12px; padding:6px 8px; border-radius:4px; color:#fff; background:rgba(16,39,67,.84); font-size:11px; font-weight:850; }
.pf3-card-body, .pf3-result-body { padding:17px; }
.pf3-card-location, .pf3-result-location { margin:0 0 7px; color:var(--pf3-muted); font-size:12px; }
.pf3-card-body h3, .pf3-result-body h3 { margin:0; color:var(--pf3-navy); font-size:17px; letter-spacing:-.015em; line-height:1.35; }
.pf3-card-meta, .pf3-result-subtitle { margin:7px 0 0; color:var(--pf3-muted); font-size:12px; }
.pf3-card-price, .pf3-result-price {
  display:flex; justify-content:space-between; align-items:end; gap:18px; margin-top:17px; padding-top:15px; border-top:1px solid var(--pf3-line);
}
.pf3-card-price small, .pf3-result-price small, .pf3-takeover small { display:block; color:var(--pf3-muted); font-size:10px; }
.pf3-card-price strong, .pf3-result-price strong, .pf3-takeover strong { display:block; margin-top:4px; color:var(--pf3-navy); font-size:17px; }
.pf3-card-price a, .pf3-result-footer a { color:var(--pf3-teal); font-size:12px; font-weight:850; }
.pf3-takeover { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:17px; padding-top:15px; border-top:1px solid var(--pf3-line); }
.pf3-card-bottom, .pf3-result-footer { display:flex; justify-content:space-between; gap:14px; margin-top:15px; color:var(--pf3-muted); font-size:11px; }
.pf3-card-bottom a { color:var(--pf3-teal); font-weight:850; }

.pf3-app-section { padding:22px 0 72px; background:#fff; }
.pf3-app-banner {
  min-height:320px;
  overflow:hidden;
  position:relative;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:50px;
  padding:42px 56px;
  border-radius:16px;
  color:#fff;
  background:linear-gradient(125deg,#0d2c47 0%,#075e5d 62%,#008b86 100%);
}
.pf3-app-copy { max-width:620px; }
.pf3-app-copy .pf3-kicker { color:#8ee0dc; }
.pf3-app-copy h2 { margin:8px 0 10px; color:#fff; font-size:36px; letter-spacing:-.03em; }
.pf3-app-copy p { margin:0; color:rgba(255,255,255,.78); line-height:1.7; }
.pf3-app-features { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }
.pf3-app-features span { padding:8px 10px; border:1px solid rgba(255,255,255,.22); border-radius:999px; font-size:11px; }
.pf3-phone {
  width:210px; min-width:210px; height:380px; margin-bottom:-110px; padding:15px; border:8px solid #091b2f; border-radius:35px; background:#fff; color:var(--pf3-navy); box-shadow:0 24px 60px rgba(0,0,0,.28);
}
.pf3-phone-notch { width:82px; height:18px; margin:-8px auto 14px; border-radius:0 0 12px 12px; background:#091b2f; }
.pf3-phone-logo { font-size:15px; font-weight:900; }
.pf3-phone-logo b { color:var(--pf3-teal); }
.pf3-phone-search { height:34px; margin-top:15px; border-radius:8px; background:#f0f3f5; }
.pf3-phone-card { margin-top:14px; padding:15px; border-radius:10px; background:#eef7f6; }
.pf3-phone-card span { font-size:9px; color:#e55454; font-weight:900; }
.pf3-phone-card strong { display:block; margin-top:16px; font-size:17px; }
.pf3-phone-card small { display:block; margin-top:6px; color:var(--pf3-muted); }

.pf3-fast-banner {
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:22px;
  align-items:center;
  padding:28px 30px;
  border:1px solid #cce7e4;
  border-radius:12px;
  background:#fff;
}
.pf3-fast-icon { width:58px; height:58px; display:grid; place-items:center; border-radius:50%; background:var(--pf3-teal-soft); font-size:24px; }
.pf3-fast-banner h3 { margin:5px 0 5px; color:var(--pf3-navy); font-size:22px; }
.pf3-fast-banner p { margin:0; color:var(--pf3-muted); font-size:13px; }
.pf3-primary-btn, .pf3-outline-btn {
  display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 17px; border-radius:7px; font-size:13px; font-weight:850; cursor:pointer;
}
.pf3-primary-btn { border:1px solid var(--pf3-teal); background:var(--pf3-teal); color:#fff; }
.pf3-outline-btn { border:1px solid var(--pf3-teal); background:#fff; color:var(--pf3-teal); }
.pf3-empty { min-height:150px; display:flex; align-items:center; justify-content:space-between; gap:25px; padding:28px; border:1px solid var(--pf3-line); border-radius:10px; background:#fff; }
.pf3-empty h3 { margin:4px 0; color:var(--pf3-navy); }
.pf3-empty p { margin:0; color:var(--pf3-muted); }

.pf3-location-row { display:flex; flex-wrap:wrap; gap:9px; margin-bottom:30px; }
.pf3-location-row a { padding:10px 16px; border:1px solid var(--pf3-line); border-radius:999px; color:#455466; font-size:13px; font-weight:750; background:#fff; }
.pf3-location-row a:hover { border-color:var(--pf3-teal); color:var(--pf3-teal); }
.pf3-link-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:42px; padding-top:26px; border-top:1px solid var(--pf3-line); }
.pf3-link-grid h3 { margin:0 0 13px; color:var(--pf3-navy); font-size:16px; }
.pf3-link-grid a { display:block; margin:9px 0; color:#5a6879; font-size:13px; }
.pf3-link-grid a:hover { color:var(--pf3-teal); }

.pf3-bottom-cta { background:#f1f8f7; border-top:1px solid #dcecea; }
.pf3-bottom-inner { min-height:190px; display:flex; align-items:center; justify-content:space-between; gap:30px; }
.pf3-bottom-inner h2 { margin:6px 0 0; color:var(--pf3-navy); font-size:30px; }
.pf3-bottom-inner > a { padding:13px 20px; border-radius:7px; background:var(--pf3-teal); color:#fff; font-weight:850; }

.pf-footer-v3 { background:#f6f7f8; color:#526071; border-top:1px solid var(--pf3-line); }
.pf-footer-v3 .pf-footer-col strong, .pf-footer-v3 .pf-footer-brand { color:var(--pf3-navy); }

/* results */
.pf3-results-page { background:#fff; min-height:70vh; }
.pf3-results-search-wrap { position:sticky; top:72px; z-index:60; padding:14px 0; border-bottom:1px solid var(--pf3-line); background:#fff; }
.pf3-results-search {
  display:grid;
  grid-template-columns:minmax(260px,1.8fr) 1fr 1fr auto auto;
  gap:8px;
  align-items:center;
}
.pf3-results-search > select, .pf3-results-location, .pf3-more-filters > summary {
  height:48px; border:1px solid #ced6df; border-radius:6px; background:#fff;
}
.pf3-results-search > select { padding:0 12px; color:#415064; }
.pf3-results-location { display:flex; align-items:center; gap:8px; padding:0 12px; }
.pf3-results-location svg { width:20px; height:20px; color:var(--pf3-teal); }
.pf3-results-location input { width:100%; border:0; outline:0; }
.pf3-more-filters { position:relative; }
.pf3-more-filters > summary { min-width:86px; padding:0 13px; display:flex; align-items:center; justify-content:center; list-style:none; font-size:13px; font-weight:800; cursor:pointer; }
.pf3-more-filters > summary::-webkit-details-marker { display:none; }
.pf3-filter-popover { position:absolute; top:56px; right:0; width:min(680px,90vw); padding:18px; border:1px solid var(--pf3-line); border-radius:10px; background:#fff; box-shadow:0 18px 60px rgba(16,39,67,.16); }
.pf3-filter-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.pf3-filter-grid label span { display:block; margin-bottom:5px; color:var(--pf3-muted); font-size:11px; font-weight:750; }
.pf3-filter-grid select, .pf3-filter-grid input { width:100%; height:42px; border:1px solid var(--pf3-line); border-radius:6px; padding:0 9px; }
.pf3-filter-checks { display:flex; gap:20px; margin-top:14px; padding-top:14px; border-top:1px solid var(--pf3-line); font-size:12px; }
.pf3-filter-actions { display:flex; justify-content:flex-end; gap:12px; align-items:center; margin-top:16px; }
.pf3-filter-actions > a { color:var(--pf3-muted); font-size:12px; font-weight:800; }

.pf3-results-content { padding:34px 0 70px; }
.pf3-results-heading { display:flex; justify-content:space-between; gap:25px; align-items:end; margin-bottom:24px; }
.pf3-breadcrumb { margin:0 0 7px; color:var(--pf3-muted); font-size:11px; }
.pf3-results-heading h1 { margin:0; color:var(--pf3-navy); font-size:30px; letter-spacing:-.025em; }
.pf3-results-heading p:last-child { margin:6px 0 0; color:var(--pf3-muted); font-size:13px; }
.pf3-mode-pills { display:flex; gap:8px; flex-wrap:wrap; }
.pf3-mode-pills a { padding:8px 13px; border:1px solid var(--pf3-line); border-radius:999px; font-size:12px; font-weight:800; color:#4c5a6c; }
.pf3-mode-pills a.is-active { border-color:var(--pf3-teal); color:var(--pf3-teal); background:var(--pf3-teal-soft); }
.pf3-results-tools { display:flex; justify-content:space-between; gap:20px; align-items:center; margin-bottom:18px; }
.pf3-results-tools > div { display:flex; gap:14px; font-size:12px; font-weight:800; color:var(--pf3-teal); }
.pf3-save-search > summary { color:var(--pf3-teal); font-size:12px; font-weight:800; cursor:pointer; }
.pf3-save-search form { margin-top:10px; display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.pf3-save-search input[type=text], .pf3-save-search input:not([type]) { height:40px; border:1px solid var(--pf3-line); border-radius:6px; padding:0 10px; }
.pf3-save-search label { font-size:11px; color:var(--pf3-muted); }
.pf3-result-media { height:215px; }
.pf3-result-type { left:12px; background:rgba(16,39,67,.88); color:#fff; }
.pf3-result-verified { left:84px; background:rgba(0,139,134,.92); color:#fff; }
.pf3-result-save-form { position:absolute; right:12px; top:12px; margin:0; }
.pf3-result-save {
  position:absolute; right:12px; top:12px; z-index:4; width:36px; height:36px; display:grid; place-items:center;
  border:1px solid rgba(255,255,255,.80); border-radius:50%; background:rgba(255,255,255,.94); color:var(--pf3-navy); font-size:20px;
}
.pf3-result-save-form .pf3-result-save { position:static; }
.pf3-result-save.is-saved { color:#df5252; }
.pf3-result-specs { display:flex; flex-wrap:wrap; gap:14px; margin-top:14px; padding-top:14px; border-top:1px solid var(--pf3-line); color:#536174; font-size:11px; }
.pf3-result-specs b { color:var(--pf3-navy); }
.pf3-result-side-price { text-align:right; }
.pf3-result-side-price b { display:block; margin-top:4px; color:var(--pf3-navy); font-size:12px; }
.pf3-load-more { text-align:center; margin-top:32px; }

@media (max-width: 980px) {
  .pf-desktop-nav-v3 { display:none; }
  .pf-menu-button { display:block; }
  .pf3-search-row { grid-template-columns:1fr 1fr; }
  .pf3-location-field { grid-column:1 / -1; }
  .pf3-search-btn { width:100%; }
  .pf3-card-row, .pf3-results-grid { grid-template-columns:repeat(2,1fr); }
  .pf3-link-grid { grid-template-columns:repeat(2,1fr); }
  .pf3-results-search { grid-template-columns:1fr 1fr; }
  .pf3-results-location { grid-column:1 / -1; }
  .pf3-filter-popover { right:auto; left:0; }
}

@media (max-width: 680px) {
  .container { width:min(100% - 24px,1240px); }
  .pf-header-v3 { height:64px; }
  .pf-header-inner-v3 { min-height:64px; }
  .pf-header-actions-v3 .pf-login-link,
  .pf-header-actions-v3 .pf-header-btn,
  .pf-header-actions-v3 .pf-header-saved { display:none; }

  .pf3-hero { min-height:600px; align-items:flex-start; }
  .pf3-hero-inner { padding-top:68px; }
  .pf3-hero-copy { text-align:left; margin-bottom:20px; }
  .pf3-hero-copy h1 { font-size:40px; }
  .pf3-hero-copy p { font-size:16px; }
  .pf3-search-tabs { gap:18px; overflow:auto; padding:0 14px; }
  .pf3-search-tabs label { white-space:nowrap; }
  .pf3-search-row { grid-template-columns:1fr; padding:12px; }
  .pf3-location-field { grid-column:auto; }
  .pf3-filter-row { display:none; }

  .pf3-trust-grid { grid-template-columns:1fr; }
  .pf3-trust-grid > div { border-right:0; border-bottom:1px solid var(--pf3-line); min-height:76px; padding:14px 0; }
  .pf3-section { padding:50px 0; }
  .pf3-section-head { align-items:start; }
  .pf3-card-row, .pf3-results-grid { grid-template-columns:1fr; }
  .pf3-card-image, .pf3-result-media { height:230px; }

  .pf3-app-banner { min-height:430px; padding:30px 24px; align-items:flex-start; }
  .pf3-app-copy h2 { font-size:28px; }
  .pf3-phone { position:absolute; right:18px; bottom:-120px; width:175px; min-width:175px; height:310px; }

  .pf3-fast-banner { grid-template-columns:1fr; }
  .pf3-link-grid { grid-template-columns:1fr 1fr; gap:26px 18px; }
  .pf3-bottom-inner { flex-direction:column; align-items:flex-start; justify-content:center; padding:34px 0; }
  .pf3-bottom-inner h2 { font-size:25px; }

  .pf3-results-search-wrap { top:64px; }
  .pf3-results-search { grid-template-columns:1fr; }
  .pf3-results-location { grid-column:auto; }
  .pf3-results-heading { flex-direction:column; align-items:flex-start; }
  .pf3-mode-pills { width:100%; overflow:auto; flex-wrap:nowrap; }
  .pf3-mode-pills a { white-space:nowrap; }
  .pf3-filter-grid { grid-template-columns:1fr 1fr; }
  .pf3-results-tools { align-items:flex-start; flex-direction:column; }
}


/* =====================================================================
   AQAR BID — Estate Explorer UI
   Three-column desktop marketplace: filters / listings / sticky preview
   ===================================================================== */

:root {
  --estate-teal: #008b86;
  --estate-teal-dark: #006e6b;
  --estate-teal-soft: #eaf7f6;
  --estate-navy: #102743;
  --estate-blue: #2d58ee;
  --estate-bg: #f7f8fa;
  --estate-card: #ffffff;
  --estate-line: #e3e7ed;
  --estate-muted: #8a929d;
  --estate-text: #171b22;
}

.estate-explorer-body {
  background: var(--estate-bg);
  overflow-x: hidden;
}

.estate-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--estate-line);
}

.estate-topbar-inner {
  min-height: 76px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 230px minmax(360px, 1fr) minmax(430px, auto);
  align-items: center;
  gap: 20px;
}

.estate-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
}

.estate-brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--estate-navy), var(--estate-teal));
  box-shadow: 0 6px 18px rgba(16,39,67,.16);
}

.estate-brand-mark svg { width: 23px; height: 23px; }
.estate-brand-text { font-size: 19px; font-weight: 900; letter-spacing: -.04em; color: var(--estate-navy); }
.estate-brand-text b { color: var(--estate-teal); }

.estate-mode-nav {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  padding: 5px;
  gap: 3px;
  border: 1px solid var(--estate-line);
  border-radius: 24px;
  background: #fbfbfc;
}

.estate-mode-nav a {
  min-width: 65px;
  padding: 9px 14px;
  border-radius: 19px;
  text-align: center;
  color: #2d3139;
  font-size: 12px;
  font-weight: 750;
}

.estate-mode-nav a.is-active {
  color: var(--estate-teal-dark);
  background: #fff;
  box-shadow: 0 2px 8px rgba(16,39,67,.09);
}

.estate-top-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.estate-global-search {
  width: 245px;
  height: 42px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--estate-line);
  border-radius: 24px;
  background: #fff;
}

.estate-global-search svg { width: 19px; height: 19px; color: #21262e; flex: none; }
.estate-global-search input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 12px; color: var(--estate-text); }

.estate-icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--estate-line);
  border-radius: 50%;
  color: var(--estate-navy);
  background: #fff;
}

.estate-icon-btn svg { width: 19px; height: 19px; }

.estate-account {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 155px;
  color: var(--estate-text);
}

.estate-avatar {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(145deg, var(--estate-teal), var(--estate-navy));
}

.estate-account span:nth-child(2) { display: flex; flex-direction: column; }
.estate-account b { font-size: 12px; }
.estate-account small { color: var(--estate-muted); font-size: 10px; margin-top: 2px; }
.estate-account > svg { width: 16px; height: 16px; margin-left: auto; }
.estate-login { font-size: 13px; font-weight: 800; color: var(--estate-navy); }
.estate-list-btn { padding: 10px 15px; border-radius: 8px; color: #fff; background: var(--estate-teal); font-size: 12px; font-weight: 800; }

.estate-mobile-menu { display: none; }
.estate-mobile-nav { display: none; }

.estate-explorer {
  min-height: calc(100vh - 77px);
  background: var(--estate-bg);
}

.estate-explorer-layout {
  display: grid;
  grid-template-columns: 282px minmax(560px, 1fr) 455px;
  min-height: calc(100vh - 77px);
  align-items: start;
}

.estate-filter-panel {
  position: sticky;
  top: 77px;
  height: calc(100vh - 77px);
  overflow: auto;
  background: #fff;
  border-right: 1px solid var(--estate-line);
}

.estate-filter-head {
  height: 60px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--estate-line);
}

.estate-filter-head h1 { margin: 0; font-size: 16px; color: var(--estate-text); }
.estate-filter-head a { color: var(--estate-teal); font-size: 12px; font-weight: 800; }

.estate-filter-block {
  padding: 16px 18px;
  border-bottom: 1px solid var(--estate-line);
}

.estate-filter-title {
  width: 100%;
  padding: 0;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #333942;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.estate-filter-title > span:first-child { display: flex; align-items: center; gap: 8px; }
.estate-filter-icon { width: 22px; height: 22px; display: inline-grid; place-items: center; border: 1px solid var(--estate-line); border-radius: 8px; color: var(--estate-navy); font-size: 12px; }
.estate-filter-content { margin-top: 13px; }
.estate-filter-block.is-collapsed .estate-filter-content { display: none; }

.estate-filter-search {
  height: 36px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid var(--estate-line);
  border-radius: 19px;
  background: #fafbfc;
}

.estate-filter-search svg { width: 16px; height: 16px; color: var(--estate-muted); }
.estate-filter-search input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 11px; }

.estate-check-row {
  min-height: 30px;
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 8px;
  color: #333941;
  font-size: 11px;
  cursor: pointer;
}

.estate-check-row input {
  appearance: none;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1px solid #d3d9e1;
  border-radius: 4px;
  background: #fff;
}

.estate-check-row input:checked {
  border-color: var(--estate-teal);
  background:
    linear-gradient(135deg, transparent 46%, #fff 46% 54%, transparent 54%) 3px 6px/8px 4px no-repeat,
    linear-gradient(45deg, transparent 45%, #fff 45% 57%, transparent 57%) 2px 7px/5px 4px no-repeat,
    var(--estate-teal);
}

.estate-check-row small { color: var(--estate-muted); font-size: 9px; }

.estate-range-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.estate-range-grid label {
  height: 38px;
  padding: 4px 9px;
  display: flex;
  align-items: center;
  border: 1px solid var(--estate-line);
  border-radius: 18px;
  background: #fff;
}
.estate-range-grid label span { color: var(--estate-muted); font-size: 9px; }
.estate-range-grid input { width: 100%; min-width: 0; border: 0; outline: 0; text-align: right; font-size: 10px; }
.estate-range-track { height: 4px; margin: 18px 3px 6px; border-radius: 3px; background: #e9edf2; position: relative; }
.estate-range-track span { position: absolute; left: 22%; right: 18%; top: 0; bottom: 0; border-radius: inherit; background: var(--estate-teal); }
.estate-range-track span::before, .estate-range-track span::after { content:""; position:absolute; top:50%; width:9px; height:9px; margin-top:-5px; border:2px solid var(--estate-teal); border-radius:50%; background:#fff; }
.estate-range-track span::before { left:-4px; } .estate-range-track span::after { right:-4px; }
.estate-range-labels { display:flex; justify-content:space-between; color:var(--estate-muted); font-size:9px; }

.estate-pill-options { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 10px; }
.estate-pill-options input { position: absolute; opacity: 0; }
.estate-pill-options span { min-width: 40px; height: 30px; padding: 0 10px; display: inline-grid; place-items:center; border:1px solid var(--estate-line); border-radius:15px; font-size:10px; color:#4d5560; cursor:pointer; }
.estate-pill-options input:checked + span { border-color:var(--estate-teal); color:#fff; background:var(--estate-teal); }
.estate-filter-select { width:100%; height:36px; border:1px solid var(--estate-line); border-radius:8px; padding:0 9px; background:#fff; color:#505862; font-size:10px; }
.estate-filter-submit-wrap { position: sticky; bottom: 0; padding: 12px 18px 18px; background: linear-gradient(180deg,rgba(255,255,255,.76),#fff 25%); }
.estate-filter-submit { width:100%; height:42px; border:0; border-radius:9px; color:#fff; background:var(--estate-teal); font-size:12px; font-weight:850; cursor:pointer; }

.estate-listing-column {
  min-width: 0;
  padding: 20px;
}

.estate-listing-toolbar {
  min-height: 58px;
  margin-bottom: 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.estate-listing-kicker { color: var(--estate-teal); font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.estate-listing-toolbar h2 { margin: 3px 0 0; color: var(--estate-text); font-size: 21px; letter-spacing: -.025em; }
.estate-listing-toolbar p { margin: 4px 0 0; color: var(--estate-muted); font-size: 10px; }

.estate-sort { height: 34px; display:flex; align-items:center; gap:7px; padding:0 9px; border:1px solid var(--estate-line); border-radius:9px; background:#fff; }
.estate-sort span { color:var(--estate-muted); font-size:9px; }
.estate-sort select { border:0; outline:0; background:transparent; color:#323842; font-size:10px; font-weight:700; }

.estate-property-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.estate-property-card {
  min-width: 0;
  overflow: hidden;
  position: relative;
  border: 1px solid transparent;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(18,31,45,.035);
  cursor: pointer;
  outline: none;
  transition: border-color .17s ease, box-shadow .17s ease, transform .17s ease;
}

.estate-property-card:hover { transform: translateY(-1px); box-shadow:0 10px 30px rgba(18,31,45,.10); }
.estate-property-card.is-selected { border-color: var(--estate-teal); box-shadow:0 0 0 1px rgba(0,139,134,.12); }

.estate-property-photo {
  height: 245px;
  position: relative;
  overflow: hidden;
  background: #dce5e8;
}

.estate-property-photo img { width:100%; height:100%; object-fit:cover; display:block; }
.estate-property-placeholder { display:block; width:100%; height:100%; background:linear-gradient(145deg,#d9e4e7,#bed4d1 55%,#99beb8); }

.estate-property-tag {
  position:absolute;
  left:12px;
  top:12px;
  padding:6px 10px;
  border-radius:14px;
  color:var(--estate-teal-dark);
  background:rgba(255,255,255,.93);
  font-size:9px;
  font-weight:850;
}

.estate-property-verified {
  position:absolute;
  top:12px;
  right:52px;
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#fff;
  background:var(--estate-teal);
  font-size:11px;
}

.estate-property-save { position:absolute; top:12px; right:12px; margin:0; z-index:3; }
.estate-property-save button, .estate-property-save-link {
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:50%;
  color:var(--estate-blue);
  background:rgba(255,255,255,.94);
  font-size:16px;
  cursor:pointer;
}
.estate-property-save-link { position:absolute; top:12px; right:12px; z-index:3; }

.estate-property-info {
  margin: -57px 12px 12px;
  position: relative;
  z-index: 2;
  padding: 14px;
  border-radius: 11px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 5px 18px rgba(22,34,48,.08);
}

.estate-property-title-row h3 { margin:0; color:var(--estate-text); font-size:14px; line-height:1.3; }
.estate-property-title-row p { margin:5px 0 0; color:var(--estate-muted); font-size:9px; }
.estate-property-title-row p span { color:var(--estate-blue); }
.estate-property-bottom { margin-top:11px; display:flex; align-items:flex-end; justify-content:space-between; gap:10px; }
.estate-property-price strong { color:var(--estate-text); font-size:15px; }
.estate-property-price small { color:var(--estate-muted); font-size:9px; margin-left:3px; }
.estate-property-rating { display:flex; align-items:center; gap:4px; color:#f2b61b; }
.estate-property-rating small { color:var(--estate-muted); font-size:9px; }
.estate-live-dot { width:7px; height:7px; border-radius:50%; background:#ef5656; }

.estate-load-more { padding:28px 0; text-align:center; }
.estate-load-more a { display:inline-flex; min-height:40px; align-items:center; padding:0 18px; border:1px solid var(--estate-teal); border-radius:9px; color:var(--estate-teal); font-size:11px; font-weight:800; background:#fff; }

.estate-empty-state {
  min-height: 350px;
  display:grid;
  place-items:center;
  align-content:center;
  padding:30px;
  text-align:center;
  border:1px dashed #d6dce4;
  border-radius:16px;
  background:#fff;
}
.estate-empty-state > span { font-size:34px; color:var(--estate-teal); }
.estate-empty-state h3 { margin:10px 0 3px; font-size:18px; color:var(--estate-navy); }
.estate-empty-state p { margin:0; color:var(--estate-muted); font-size:11px; }
.estate-empty-state a { margin-top:15px; color:var(--estate-teal); font-size:11px; font-weight:800; }

.estate-preview-column {
  position: sticky;
  top: 77px;
  height: calc(100vh - 77px);
  overflow: auto;
  padding: 20px 18px 28px 0;
}

.estate-preview-card {
  overflow:hidden;
  border:1px solid var(--estate-line);
  border-radius:17px;
  background:#fff;
  box-shadow:0 4px 20px rgba(18,31,45,.06);
}

.estate-preview-gallery {
  padding: 11px;
  display:grid;
  grid-template-columns:minmax(0,1fr) 112px;
  gap:8px;
}

.estate-preview-main { height:235px; overflow:hidden; border-radius:12px; background:#dfe7ea; }
.estate-preview-main img { width:100%; height:100%; object-fit:cover; display:block; }
.estate-preview-placeholder { display:block; width:100%; height:100%; background:linear-gradient(145deg,#dae6e8,#b7d1ce); }

.estate-preview-thumbs { display:grid; grid-template-rows:1fr 1fr; gap:8px; }
.estate-preview-thumbs > div { overflow:hidden; border-radius:10px; background:#e8edef; }
.estate-preview-thumbs img { width:100%; height:100%; object-fit:cover; display:block; }
.estate-preview-thumbs span { display:block; width:100%; height:100%; background:linear-gradient(145deg,#eef2f3,#d8e1e3); }

.estate-preview-head {
  padding: 8px 18px 15px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:18px;
  align-items:end;
}

.estate-preview-head h2 { margin:0; color:var(--estate-text); font-size:18px; }
.estate-preview-head p { margin:5px 0 0; color:var(--estate-muted); font-size:10px; }
.estate-preview-head p::first-letter { color:var(--estate-blue); }

.estate-preview-price { text-align:right; }
.estate-preview-price small { display:block; color:var(--estate-muted); font-size:8px; }
.estate-preview-price strong { display:block; margin-top:4px; color:var(--estate-text); font-size:17px; white-space:nowrap; }

.estate-preview-tabs {
  margin: 0 18px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-bottom:1px solid var(--estate-line);
}

.estate-preview-tabs button {
  height:43px;
  border:0;
  border-bottom:2px solid transparent;
  color:#686f79;
  background:transparent;
  font-size:11px;
  cursor:pointer;
}
.estate-preview-tabs button.is-active { color:var(--estate-teal-dark); border-color:var(--estate-teal); font-weight:800; }

.estate-preview-tab-panel { display:none; padding:18px; }
.estate-preview-tab-panel.is-active { display:block; }
.estate-preview-description { margin:0; color:#59616c; font-size:10px; line-height:1.65; }
.estate-spec-pills { margin-top:14px; display:flex; flex-wrap:wrap; gap:7px; }
.estate-spec-pills span { padding:8px 10px; border:1px solid var(--estate-line); border-radius:17px; color:#343b44; background:#fafbfc; font-size:9px; }

.estate-bid-summary, .estate-about-list { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.estate-bid-summary > div, .estate-about-list > div { padding:10px; border:1px solid var(--estate-line); border-radius:9px; background:#fafbfc; }
.estate-bid-summary span, .estate-about-list span { display:block; color:var(--estate-muted); font-size:8px; }
.estate-bid-summary strong, .estate-about-list strong { display:block; margin-top:4px; color:var(--estate-navy); font-size:10px; }

.estate-preview-actions {
  padding: 0 18px 18px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}

.estate-preview-actions a {
  min-height:42px;
  display:grid;
  place-items:center;
  border-radius:21px;
  font-size:11px;
  font-weight:800;
}

.estate-secondary-action { color:var(--estate-teal-dark); background:var(--estate-teal-soft); }
.estate-primary-action { color:#fff; background:var(--estate-teal); }

.estate-map {
  height:235px;
  margin:0 11px 11px;
  position:relative;
  overflow:hidden;
  border-radius:12px;
  background:
    linear-gradient(90deg,transparent 0 19%,rgba(197,217,174,.48) 19% 30%,transparent 30% 64%,rgba(197,217,174,.42) 64% 78%,transparent 78%),
    linear-gradient(#eef3e9,#f6f6f2);
}

.estate-map::before {
  content:"";
  position:absolute;
  inset:-20%;
  background:
    repeating-linear-gradient(18deg,transparent 0 29px,rgba(255,255,255,.92) 29px 32px),
    repeating-linear-gradient(102deg,transparent 0 42px,rgba(255,255,255,.82) 42px 45px);
  transform:rotate(-7deg);
}

.estate-map-water { position:absolute; left:34%; right:-15%; bottom:-38px; height:105px; border-radius:50% 0 0 0; background:#c9e7ee; transform:rotate(-7deg); }
.estate-map-road { position:absolute; z-index:2; height:4px; border-radius:4px; background:#fff; box-shadow:0 0 0 1px rgba(210,215,214,.6); }
.road-one { width:360px; left:22px; top:58px; transform:rotate(-15deg); }
.road-two { width:300px; left:100px; top:140px; transform:rotate(12deg); }
.road-three { width:260px; left:-20px; top:178px; transform:rotate(-30deg); }

.estate-map-pin { position:absolute; z-index:4; width:26px; height:26px; display:grid; place-items:center; border:5px solid rgba(0,139,134,.20); border-radius:50%; color:var(--estate-teal); background:#fff; font-size:13px; }
.pin-main { left:29%; top:34%; }
.pin-small-one { right:10%; top:18%; width:20px; height:20px; border-width:4px; color:#2d58ee; }
.pin-small-two { left:7%; bottom:14%; width:20px; height:20px; border-width:4px; color:#e8ad45; }

.estate-map-label {
  position:absolute;
  z-index:5;
  right:18px;
  top:66px;
  max-width:170px;
  padding:9px 10px;
  border-radius:8px;
  background:#fff;
  box-shadow:0 5px 18px rgba(18,31,45,.12);
}
.estate-map-label strong { display:block; color:var(--estate-text); font-size:9px; }
.estate-map-label small { display:block; margin-top:3px; color:var(--estate-muted); font-size:7px; }

.estate-preview-empty {
  min-height:400px;
  display:grid;
  place-items:center;
  align-content:center;
  text-align:center;
  border:1px dashed var(--estate-line);
  border-radius:16px;
  background:#fff;
}
.estate-preview-empty > span { font-size:30px; color:var(--estate-teal); }
.estate-preview-empty h3 { margin:8px 0 3px; font-size:15px; }
.estate-preview-empty p { margin:0; color:var(--estate-muted); font-size:10px; }

@media (max-width: 1280px) {
  .estate-topbar-inner { grid-template-columns:190px 1fr auto; }
  .estate-global-search { width:190px; }
  .estate-explorer-layout { grid-template-columns:245px minmax(470px,1fr) 385px; }
  .estate-property-photo { height:215px; }
  .estate-preview-gallery { grid-template-columns:1fr 92px; }
}

@media (max-width: 1100px) {
  .estate-mode-nav { display:none; }
  .estate-topbar-inner { grid-template-columns:1fr auto; }
  .estate-global-search { width:240px; }
  .estate-explorer-layout { grid-template-columns:230px 1fr; }
  .estate-preview-column { display:none; }
}

@media (max-width: 820px) {
  .estate-topbar-inner { min-height:64px; padding:0 12px; }
  .estate-top-actions .estate-global-search,
  .estate-top-actions .estate-icon-btn,
  .estate-top-actions .estate-account,
  .estate-top-actions .estate-login,
  .estate-top-actions .estate-list-btn { display:none; }
  .estate-mobile-menu { display:block; }
  .estate-mobile-nav.is-open { display:flex; }
  .estate-filter-panel {
    position:fixed;
    left:0;
    top:64px;
    bottom:0;
    width:min(320px,88vw);
    height:auto;
    z-index:90;
    transform:translateX(-105%);
    transition:transform .2s ease;
    box-shadow:12px 0 30px rgba(16,39,67,.12);
  }
  .estate-filter-panel.is-open { transform:translateX(0); }
  .estate-explorer-layout { display:block; }
  .estate-listing-column { padding:14px; }
  .estate-listing-toolbar { align-items:center; }
  .estate-listing-toolbar::before {
    content:"Filters";
    order:3;
    padding:8px 12px;
    border:1px solid var(--estate-teal);
    border-radius:8px;
    color:var(--estate-teal);
    font-size:10px;
    font-weight:800;
  }
}

@media (max-width: 600px) {
  .estate-property-grid { grid-template-columns:1fr; }
  .estate-property-photo { height:235px; }
  .estate-listing-toolbar h2 { font-size:19px; }
}


/* =====================================================================
   AQAR BID official logo integration
   ===================================================================== */

.estate-brand-logo {
  gap: 9px;
  overflow: visible;
}

.estate-logo-symbol {
  width: 42px;
  height: 42px;
  position: relative;
  overflow: hidden;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(16,39,67,.08);
  flex: none;
}

/* The supplied official logo is a square stacked lockup.
   Zooming and clipping this image reveals the official house symbol
   cleanly in the compact website header. */
.estate-logo-symbol img {
  position: absolute;
  width: 76px;
  height: 76px;
  max-width: none;
  left: 50%;
  top: -4px;
  transform: translateX(-50%);
  object-fit: cover;
  object-position: center top;
}

.estate-brand-wordmark {
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: #07182a;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1;
}

.estate-brand-wordmark b {
  color: var(--estate-teal);
  font-size: 12px;
  letter-spacing: .28em;
}

.estate-footer-logo {
  width: 156px;
  display: block;
}

.estate-footer-logo img {
  display: block;
  width: 156px;
  height: auto;
  mix-blend-mode: multiply;
}

@media (max-width: 600px) {
  .estate-logo-symbol {
    width: 38px;
    height: 38px;
  }

  .estate-logo-symbol img {
    width: 69px;
    height: 69px;
  }

  .estate-brand-wordmark {
    font-size: 16px;
  }

  .estate-brand-wordmark b {
    font-size: 10px;
  }
}


/* AQAR BID logo hotfix — explicit sizing prevents any cached CSS/layout blowout. */
.estate-logo-symbol {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  overflow: hidden !important;
  background: transparent !important;
  box-shadow: none !important;
}

.estate-logo-symbol img {
  position: static !important;
  display: block !important;
  width: 42px !important;
  height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  transform: none !important;
  object-fit: contain !important;
}

.estate-brand-logo {
  height: 44px !important;
  max-height: 44px !important;
  overflow: hidden !important;
}

.estate-footer-logo img {
  width: 156px !important;
  height: 156px !important;
  max-width: 156px !important;
  object-fit: contain !important;
}

@media (max-width: 600px) {
  .estate-logo-symbol,
  .estate-logo-symbol img {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
  }

  .estate-brand-logo {
    height: 40px !important;
    max-height: 40px !important;
  }
}
