/* Balaboost Real Estate — shared styles (listings hub + category pages) */
:root {
  --black: #2c2a28;
  --ink: #34322f;
  --charcoal: #3d3a36;
  --orange: #ff6238;
  --orange-deep: #d9481f;
  --orange-soft: rgba(255,98,56,0.12);
  --white: #ffffff;
  --soft: #f7f5f1;
  --soft-2: #efece6;
  --muted: #76716a;
  --line-d: rgba(255,255,255,0.12);
  --line-l: rgba(12,10,8,0.10);
  --shadow: 0 30px 80px rgba(20,14,8,0.16);
  --shadow-sm: 0 16px 40px rgba(20,14,8,0.08);
  --font-display: "Bricolage Grotesque", "Heebo", system-ui, sans-serif;
  --font-body: "Manrope", "Assistant", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--soft); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
[lang="he"] { --font-display: "Heebo", sans-serif; --font-body: "Assistant", "Heebo", sans-serif; }
a { color: inherit; text-decoration: none; }
img { width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
::selection { background: var(--orange); color: #fff; }
.brandname { color: var(--orange-deep); font-weight: 800; }
.container { width: min(1240px, 92%); margin: 0 auto; }
section { padding: clamp(72px, 9vw, 128px) 0; }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase; margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--orange); border-radius: 2px; }
[lang="he"] .eyebrow { letter-spacing: 0.08em; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 26px; border-radius: 999px; background: var(--orange); color: var(--white); font-family: var(--font-body); font-weight: 700; font-size: 15px; border: 0; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; box-shadow: 0 14px 30px rgba(255,98,56,0.30); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(255,98,56,0.42); background: var(--orange-deep); }
.btn .arr { transition: transform .25s ease; }
[dir="ltr"] .btn:hover .arr { transform: translateX(4px); }
[dir="rtl"] .btn .arr { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arr { transform: scaleX(-1) translateX(4px); }
.btn.ghost { background: transparent; border: 1.5px solid rgba(255,255,255,0.4); color: #fff; box-shadow: none; }
.btn.ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn.dark { background: var(--ink); box-shadow: 0 14px 30px rgba(0,0,0,0.25); }
.btn.dark:hover { background: #000; }
.btn.lg { padding: 17px 32px; font-size: 16px; }

/* ---------- Header ---------- */
header { position: sticky; top: 0; z-index: 100; background: rgba(34,32,30,0.55); backdrop-filter: blur(18px) saturate(140%); border-bottom: 1px solid var(--line-d); }
.nav { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand img { height: 46px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: rgba(255,255,255,0.78); font-size: 14.5px; font-weight: 600; transition: color .2s; }
.nav-links a:hover, .nav-links a.current { color: var(--orange); }
.nav-right { display: flex; align-items: center; gap: 14px; }

.lang { display: inline-flex; align-items: center; gap: 2px; background: rgba(255,255,255,0.08); border: 1px solid var(--line-d); border-radius: 999px; padding: 4px; }
.lang button { font-family: var(--font-body); cursor: pointer; border: 0; background: transparent; color: rgba(255,255,255,0.7); font-weight: 700; font-size: 12.5px; padding: 6px 11px; border-radius: 999px; transition: all .2s; line-height: 1; }
.lang button:hover { color: #fff; }
.lang button.active { background: var(--orange); color: #fff; }

/* globe language switcher */
.lang-switch { position: relative; }
.lang-trigger { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,0.08); border: 1px solid var(--line-d); color: rgba(255,255,255,0.85); border-radius: 999px; padding: 8px 12px; cursor: pointer; font-family: var(--font-body); font-weight: 800; font-size: 12.5px; transition: all .2s; }
.lang-trigger:hover { color: #fff; border-color: rgba(255,255,255,0.3); }
.lang-trigger .globe { width: 17px; height: 17px; }
.lang-trigger .chev { width: 11px; height: 11px; transition: transform .2s; }
.lang-switch.open .lang-trigger .chev { transform: rotate(180deg); }
.lang-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 172px; background: #151311; border: 1px solid var(--line-d); border-radius: 14px; padding: 6px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 120; }
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: start; background: transparent; border: 0; color: rgba(255,255,255,0.8); font-family: var(--font-body); font-weight: 600; font-size: 14px; padding: 10px 12px; border-radius: 9px; cursor: pointer; transition: all .15s; }
.lang-menu button:hover { background: rgba(255,98,56,0.14); color: #fff; }
.lang-menu button.active { color: var(--orange); }
.lang-menu button .code { font-size: 11px; font-weight: 800; min-width: 24px; opacity: .65; }

.maint { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: #000; color: #fff; font-weight: 700; font-size: 14px; border: 1.5px solid var(--orange); transition: background .2s, transform .2s; }
.maint:hover { background: var(--orange); transform: translateY(-2px); }
.maint svg { width: 16px; height: 16px; color: var(--orange); transition: color .2s; }
.maint:hover svg { color: #fff; }
.login-ico { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid var(--line-d); color: rgba(255,255,255,0.85); transition: all .2s; }
.login-ico:hover { background: var(--orange); border-color: var(--orange); color: #fff; transform: translateY(-2px); }
.login-ico svg { width: 19px; height: 19px; }
.fee-agree { display: flex; gap: 11px; align-items: flex-start; background: var(--orange-soft); border: 1px solid rgba(255,98,56,0.30); border-radius: 14px; padding: 14px 16px; margin-top: 16px; font-size: 13.5px; line-height: 1.5; cursor: pointer; }
.fee-agree input { width: auto; margin-top: 3px; flex: none; }
.fee-agree strong { color: var(--orange-deep); }

.burger { display: none; background: transparent; border: 0; cursor: pointer; padding: 6px; }
.burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  min-height: min(86vh, 820px); display: grid; align-items: center;
  margin-top: -80px; padding: 200px 0 150px;
  background:
    radial-gradient(120% 120% at 80% 0%, rgba(255,98,56,0.12), transparent 55%),
    linear-gradient(100deg, rgba(70,68,66,0.62) 20%, rgba(70,68,66,0.22) 82%),
    var(--hero-img, url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1900&q=85')) center/cover no-repeat;
}
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px); background-size: 58px 58px; mask-image: linear-gradient(180deg, #000, transparent 70%); }
.hero-content { position: relative; z-index: 3; max-width: 860px; }
.hero h1 { font-size: clamp(48px, 7.4vw, 104px); margin-bottom: 26px; }
.hero h1 span { color: var(--orange); }
.hero p { color: rgba(255,255,255,0.82); font-size: clamp(17px, 1.5vw, 21px); max-width: 620px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
/* Compact hero for category pages */
.hero.compact { min-height: min(56vh, 560px); padding: 180px 0 96px; }
.hero.compact h1 { font-size: clamp(40px, 6vw, 78px); }

/* ---------- Search ---------- */
.search-wrap { position: relative; z-index: 20; margin-top: -64px; }
.search-box { background: var(--white); border-radius: 26px; padding: 16px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; gap: 10px; border: 1px solid var(--line-l); }
.search-box.general { grid-template-columns: 1fr auto; }
.search-box.general .btn { padding-inline: 34px; }
.field { position: relative; }
.field > .ic { position: absolute; inset-inline-start: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 17px; height: 17px; pointer-events: none; }
select, input, textarea { width: 100%; border: 1px solid var(--line-l); border-radius: 14px; padding: 15px 16px; font-family: var(--font-body); font-size: 15px; background: #fbfaf8; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
.field input.with-ic { padding-inline-start: 42px; }
select:focus, input:focus, textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.search-box .btn { width: 100%; height: 100%; }

/* ---------- Section header ---------- */
.sec-head { max-width: 740px; margin-bottom: 52px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head h2 { font-size: clamp(34px, 4.6vw, 60px); margin-bottom: 18px; }
.sec-head p { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); }
.dark .sec-head h2 { color: #fff; }
.dark .sec-head p { color: rgba(255,255,255,0.72); }

/* ---------- Services ---------- */
.services { background: var(--soft); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-card { background: var(--white); border: 1px solid var(--line-l); border-radius: 24px; padding: 34px 30px; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; position: relative; overflow: hidden; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange-deep); margin-bottom: 22px; }
.svc-ic svg { width: 28px; height: 28px; }
.svc-card h3 { font-size: 22px; margin-bottom: 10px; }
.svc-card p { color: var(--muted); font-size: 15px; }

/* ---------- Listings ---------- */
.listings { background: linear-gradient(180deg, var(--soft) 0%, var(--soft-2) 100%); }
.listings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.empty-note { text-align: center; color: var(--muted); font-size: 17px; padding: 30px 0; }
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 30px; }
.filter-bar select { width: auto; min-width: 150px; padding: 12px 14px; }
.filter-clear { background: transparent; border: 1px solid var(--line-l); border-radius: 13px; padding: 12px 18px; font-family: var(--font-body); font-weight: 700; font-size: 14px; color: var(--ink); cursor: pointer; transition: all .2s; }
.filter-clear:hover { border-color: var(--orange); color: var(--orange-deep); }
.result-count { margin-inline-start: auto; color: var(--muted); font-weight: 700; font-size: 14px; }
.property-card { background: var(--white); border-radius: 24px; overflow: hidden; border: 1px solid var(--line-l); box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; display: flex; flex-direction: column; }
.property-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.property-image { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.property-image img { height: 100%; object-fit: cover; transition: transform .6s ease; }
.property-card:hover .property-image img { transform: scale(1.07); }
.label { position: absolute; inset-inline-start: 16px; top: 16px; background: rgba(11,11,11,0.85); backdrop-filter: blur(6px); color: #fff; padding: 8px 14px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.property-content { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.property-content h3 { font-size: 21px; margin-bottom: 6px; }
.location { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.location svg { width: 15px; height: 15px; color: var(--orange); flex: none; }
.price { color: var(--orange-deep); font-size: 18px; font-weight: 800; margin-bottom: 18px; }
.meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 20px; }
.meta span { background: var(--soft); border-radius: 11px; padding: 10px 6px; text-align: center; color: #3a352f; font-size: 12.5px; font-weight: 700; }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; justify-content: center; padding: 13px; border-radius: 13px; border: 1.5px solid var(--line-l); color: var(--ink); font-weight: 700; font-size: 14px; transition: all .2s; }
.card-link:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ---------- Dark sections ---------- */
.dark { background: var(--black); color: #fff; position: relative; overflow: hidden; }
.glow { position: absolute; width: 560px; height: 560px; border-radius: 50%; background: rgba(255,98,56,0.18); filter: blur(120px); pointer-events: none; }

/* ---------- Forms ---------- */
.form-card { position: relative; z-index: 2; background: var(--white); border-radius: 28px; padding: clamp(26px, 3.4vw, 44px); box-shadow: var(--shadow); border: 1px solid var(--line-l); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.form-card textarea { min-height: 130px; resize: vertical; }
.form-card .btn { justify-self: start; }
[dir="rtl"] .form-card .btn { justify-self: end; }

/* ---------- Management ---------- */
.mgmt-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; position: relative; z-index: 2; }
.mgmt-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feat { background: rgba(255,255,255,0.05); border: 1px solid var(--line-d); border-radius: 18px; padding: 22px; }
.feat .fic { width: 40px; height: 40px; border-radius: 11px; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; margin-bottom: 14px; }
.feat .fic svg { width: 21px; height: 21px; }
.feat h4 { font-family: var(--font-display); font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.feat p { color: rgba(255,255,255,0.66); font-size: 13.5px; line-height: 1.5; }
.mgmt-media { position: relative; }
.mgmt-media .pic { border-radius: 26px; overflow: hidden; aspect-ratio: 3/4; border: 1px solid var(--line-d); }
.mgmt-media .pic img { height: 100%; object-fit: cover; }
.cog-badge { position: absolute; inset-inline-end: -18px; bottom: 28px; background: var(--white); color: var(--ink); border-radius: 18px; padding: 18px 22px; box-shadow: var(--shadow); max-width: 230px; }
.cog-badge strong { font-family: var(--font-display); font-size: 16px; display: block; }
.cog-badge span { color: var(--muted); font-size: 13px; }
.mgmt-cta { margin-top: 30px; }

/* ---------- Owner band ---------- */
.owner { background: var(--white); }
.owner-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }

/* ---------- About ---------- */
.about { background: var(--soft); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-text p { color: #4a453e; font-size: 17px; margin-bottom: 18px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { background: var(--ink); color: #fff; border-radius: 22px; padding: 30px 26px; }
.stat .n { font-family: var(--font-display); font-size: 42px; font-weight: 800; color: var(--orange); line-height: 1; margin-bottom: 12px; }
.stat .l { font-size: 14px; color: rgba(255,255,255,0.72); }

/* ---------- Reviews ---------- */
.reviews { background: var(--white); }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rev-card { background: var(--soft); border: 1px solid var(--line-l); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; }
.rev-stars { color: var(--orange); font-size: 17px; letter-spacing: 3px; margin-bottom: 18px; }
.rev-card blockquote { font-family: var(--font-display); font-weight: 500; font-size: 19px; line-height: 1.4; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 22px; }
.rev-who { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.rev-av { width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 17px; flex: none; }
.rev-who .name { font-weight: 800; font-size: 15px; }
.rev-who .role { color: var(--muted); font-size: 13px; }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(48px, 6vw, 80px) 0; }
.cta-inner { position: relative; overflow: hidden; color: #fff; border-radius: 34px; padding: clamp(40px, 6vw, 76px); display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; background: linear-gradient(100deg, rgba(8,8,8,0.92), rgba(8,8,8,0.55)), url('https://images.unsplash.com/photo-1600566753086-00f18fb6b3ea?auto=format&fit=crop&w=1800&q=85') center/cover; box-shadow: var(--shadow); border: 1px solid rgba(255,98,56,0.22); }
.cta-inner h2 { font-size: clamp(30px, 4vw, 50px); max-width: 640px; margin-bottom: 12px; }
.cta-inner p { color: rgba(255,255,255,0.78); font-size: 18px; max-width: 560px; }

/* ---------- Contact ---------- */
.contact { background: var(--soft); }
.contact-layout { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 40px; align-items: start; }
.contact-info { background: var(--ink); color: #fff; border-radius: 28px; padding: clamp(30px, 3.4vw, 46px); position: relative; overflow: hidden; }
.ci-row { display: flex; align-items: flex-start; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-d); }
.ci-row:last-of-type { border-bottom: 0; }
.ci-ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,98,56,0.16); color: var(--orange); display: grid; place-items: center; flex: none; }
.ci-ic svg { width: 20px; height: 20px; }
.ci-row .lbl { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 3px; }
.ci-row .val { font-size: 16.5px; font-weight: 600; color: #fff; }
.ci-row .val a:hover { color: var(--orange); }
.socials { display: flex; gap: 12px; margin-top: 26px; }
.socials a { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-d); display: grid; place-items: center; color: #fff; transition: all .2s; }
.socials a:hover { background: var(--orange); border-color: var(--orange); transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; }

/* ---------- Footer ---------- */
footer { background: var(--black); color: rgba(255,255,255,0.62); padding: 54px 0 40px; border-top: 1px solid rgba(255,98,56,0.22); }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--line-d); margin-bottom: 24px; }
.foot-top img { height: 42px; width: auto; }
.foot-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-nav a { color: rgba(255,255,255,0.7); font-weight: 600; font-size: 14px; }
.foot-nav a:hover { color: var(--orange); }
.foot-line { color: rgba(255,255,255,0.7); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } .listings-grid, .rev-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1000px) { .nav-links { display: none; } .burger { display: block; } }
@media (max-width: 920px) { .search-box { grid-template-columns: 1fr 1fr; } .mgmt-layout, .owner-layout, .about-layout, .contact-layout { grid-template-columns: 1fr; gap: 36px; } .mgmt-media { max-width: 460px; } .cog-badge { inset-inline-end: 12px; } }
@media (max-width: 620px) { .search-box { grid-template-columns: 1fr; } .svc-grid, .listings-grid, .rev-grid, .form-grid, .stats, .mgmt-features { grid-template-columns: 1fr; } .hero { min-height: auto; padding: 90px 0 130px; } .hero.compact { padding: 84px 0 80px; } .cta-inner { flex-direction: column; align-items: flex-start; } .lang button { padding: 6px 8px; font-size: 11.5px; } }

/* mobile menu */
.mobile-menu { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(11,11,11,0.97); backdrop-filter: blur(8px); flex-direction: column; align-items: center; justify-content: center; gap: 26px; padding: 24px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: #fff; font-family: var(--font-display); font-size: 27px; font-weight: 700; }
.mobile-menu a:hover { color: var(--orange); }
.mobile-menu .close { position: absolute; top: 24px; inset-inline-end: 24px; background: transparent; border: 0; color: #fff; font-size: 34px; cursor: pointer; }

/* ============ Auth (owner login) ============ */
.auth-wrap { max-width: 460px; margin: 0 auto; }
.session-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; background: var(--ink); color: #fff; border-radius: 16px; padding: 14px 20px; margin-bottom: 26px; }
.session-bar .who { font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.session-bar .who .dot { width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; }
.session-bar .logout { background: transparent; border: 1.5px solid rgba(255,255,255,0.3); color: #fff; border-radius: 999px; padding: 8px 18px; font-weight: 700; font-size: 13.5px; cursor: pointer; font-family: var(--font-body); transition: all .2s; }
.session-bar .logout:hover { background: var(--orange); border-color: var(--orange); }
.auth-toggle { background: transparent; border: 0; color: var(--orange-deep); font-weight: 700; font-size: 14px; cursor: pointer; font-family: var(--font-body); margin-top: 14px; }
.auth-toggle:hover { text-decoration: underline; }
.auth-err { color: #c0341a; font-size: 14px; font-weight: 600; margin-top: 12px; min-height: 1px; }
.auth-hint { color: var(--muted); font-size: 13px; margin-top: 10px; }
.auth-msg { margin-top: 14px; background: rgba(31,138,91,0.08); border: 1px solid rgba(31,138,91,0.30); color: #1f6f4a; border-radius: 14px; padding: 14px 16px; font-size: 14px; line-height: 1.5; }
.auth-msg .preview { display: block; margin-top: 8px; color: var(--muted); font-size: 12.5px; }
.auth-msg code { background: #fff; border: 1px solid var(--line-l); border-radius: 7px; padding: 3px 9px; font-size: 14px; font-weight: 800; letter-spacing: 1px; color: var(--ink); }
[hidden] { display: none !important; }

/* ============ Property detail page ============ */
.crumbs { background: var(--black); color: rgba(255,255,255,0.5); font-size: 13px; font-weight: 600; }
.crumbs .container { display: flex; align-items: center; gap: 10px; padding: 14px 0; flex-wrap: wrap; }
.crumbs a:hover { color: var(--orange); }
.crumbs .sep { opacity: 0.5; }
.crumbs .here { color: rgba(255,255,255,0.85); }
.pp { padding: clamp(36px, 5vw, 64px) 0; }
.pp-top { display: grid; grid-template-columns: 1.45fr 1fr; gap: 40px; align-items: start; }
.pp-gallery .main { border-radius: 24px; overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); border: 1px solid var(--line-l); }
.pp-gallery .main img { height: 100%; object-fit: cover; }
.pp-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pp-thumbs img { width: 96px; height: 72px; object-fit: cover; border-radius: 11px; cursor: pointer; border: 2px solid transparent; transition: border-color .2s; }
.pp-thumbs img:hover { border-color: rgba(255,98,56,0.5); }
.pp-thumbs img.active { border-color: var(--orange); }
.pp-info { background: #fff; border: 1px solid var(--line-l); border-radius: 24px; padding: clamp(24px,3vw,34px); box-shadow: var(--shadow-sm); position: sticky; top: 96px; }
.pp-label { display: inline-block; background: var(--ink); color: #fff; padding: 7px 14px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.pp-info h1 { font-size: clamp(25px, 3vw, 36px); margin-bottom: 10px; }
.pp-info .location { color: var(--muted); font-size: 15px; margin-bottom: 18px; display: flex; align-items: center; gap: 6px; }
.pp-info .location svg { width: 16px; height: 16px; color: var(--orange); flex: none; }
.pp-price { color: var(--orange-deep); font-size: 27px; font-weight: 800; margin-bottom: 22px; }
.pp-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 24px; }
.pp-meta .cell { background: var(--soft); border-radius: 14px; padding: 14px 8px; text-align: center; }
.pp-meta .cell .v { font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.pp-meta .cell .k { color: var(--muted); font-size: 12px; font-weight: 600; }
.pp-actions { display: flex; flex-direction: column; gap: 10px; }
.pp-actions .btn { width: 100%; }
.pp-actions .btn.dark2 { background: var(--ink); box-shadow: 0 12px 26px rgba(0,0,0,0.18); }
.pp-actions .btn.dark2:hover { background: #000; }
.pp-body { display: grid; grid-template-columns: 1.45fr 1fr; gap: 40px; margin-top: 48px; }
.pp-body h2 { font-size: 26px; margin-bottom: 14px; }
.pp-desc { color: #4a453e; font-size: 17px; line-height: 1.7; white-space: pre-line; }
.pp-features { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: var(--soft); border: 1px solid var(--line-l); border-radius: 999px; padding: 10px 16px; font-weight: 600; font-size: 14px; }
.chip svg { width: 15px; height: 15px; color: var(--orange); }
.pp-more { background: var(--soft-2); }
.pp-missing { text-align: center; padding: 80px 0; }
.pp-missing h1 { font-size: 34px; margin-bottom: 14px; }
.pp-missing p { color: var(--muted); margin-bottom: 22px; }

/* ============ Manage (owner) page ============ */
.manage { padding: clamp(36px, 5vw, 64px) 0; }
.manage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.mp-note { background: rgba(255,98,56,0.08); border: 1px solid rgba(255,98,56,0.25); color: #7a3b22; border-radius: 16px; padding: 16px 18px; font-size: 14px; margin-bottom: 26px; display: flex; gap: 10px; align-items: flex-start; }
.mp-note svg { width: 18px; height: 18px; color: var(--orange-deep); flex: none; margin-top: 2px; }
.mp-card { background: #fff; border: 1px solid var(--line-l); border-radius: 24px; padding: clamp(22px,3vw,34px); box-shadow: var(--shadow-sm); }
.mp-card h2 { font-size: 24px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-row .full { grid-column: 1 / -1; }
.field-label { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 6px; display: block; }
.feat-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.feat-checks label { display: inline-flex; align-items: center; gap: 7px; background: var(--soft); border: 1px solid var(--line-l); border-radius: 999px; padding: 8px 14px; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.feat-checks input { width: auto; }
.feat-checks label:has(input:checked) { background: var(--orange-soft); border-color: var(--orange); color: var(--orange-deep); }
.mp-list { display: flex; flex-direction: column; gap: 14px; }
.prop-row { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line-l); border-radius: 18px; padding: 12px; box-shadow: var(--shadow-sm); }
.prop-row img { width: 84px; height: 64px; object-fit: cover; border-radius: 12px; flex: none; }
.prop-row .info { flex: 1; min-width: 0; }
.prop-row .info h4 { font-family: var(--font-display); font-size: 16px; margin-bottom: 3px; }
.prop-row .info .sub { color: var(--muted); font-size: 13px; }
.prop-row .row-actions { display: flex; gap: 8px; flex: none; }
.icon-btn { border: 1px solid var(--line-l); background: #fff; border-radius: 10px; padding: 9px 12px; cursor: pointer; font-weight: 700; font-size: 13px; font-family: var(--font-body); transition: all .2s; }
.icon-btn.edit:hover { border-color: var(--orange); color: var(--orange-deep); }
.icon-btn.del:hover { border-color: #d33; color: #d33; }
.mp-empty { color: var(--muted); text-align: center; padding: 30px 0; }
.status-badge { display: inline-block; margin-top: 6px; font-size: 10.5px; font-weight: 800; padding: 4px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.status-badge.pend { background: var(--orange-soft); color: var(--orange-deep); }
.status-badge.ok { background: rgba(31,138,91,.12); color: #1f8a5b; }
.mp-toast { position: fixed; inset-inline-end: 20px; bottom: 20px; background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 14px; box-shadow: var(--shadow); font-weight: 600; opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .3s; z-index: 300; }
.mp-toast.show { opacity: 1; transform: none; }
.submit-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.field-hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.submit-note { font-size: 13px; color: var(--muted); margin-top: 14px; line-height: 1.5; }
.submit-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 96px; }
.side-card { background: #fff; border: 1px solid var(--line-l); border-radius: 22px; padding: 26px; box-shadow: var(--shadow-sm); }
.side-card.alt { background: var(--ink); color: #fff; }
.side-card h3 { font-size: 19px; margin-bottom: 14px; }
.side-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.side-list li { position: relative; padding-inline-start: 28px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.side-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--orange-soft); }
.side-list li::after { content: ""; position: absolute; inset-inline-start: 6px; top: 8px; width: 6px; height: 3px; border-inline-start: 2px solid var(--orange-deep); border-bottom: 2px solid var(--orange-deep); transform: rotate(-45deg); }
.side-card.alt p { color: rgba(255,255,255,0.78); font-size: 14px; margin-bottom: 18px; line-height: 1.5; }
.wa-btn { display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: #fff; font-weight: 700; font-size: 15px; padding: 12px 22px; border-radius: 999px; transition: transform .2s; }
.wa-btn:hover { transform: translateY(-2px); }
@media (max-width: 900px) { .pp-top, .pp-body, .manage-grid, .submit-wrap { grid-template-columns: 1fr; gap: 28px; } .pp-info, .submit-side { position: static; } }
@media (max-width: 560px) { .pp-meta { grid-template-columns: repeat(3, 1fr); } .field-row { grid-template-columns: 1fr; } }
