:root {
  --primary: #142B4A;
  --primary-700: #0f2139;
  --primary-50: #eef2f7;
  --accent: #F5A623;
  --accent-700: #d98c0b;
  --accent-50: #fff6e6;
  --ivory: #FAF9F6;
  --surface: #ffffff;
  --text: #202B38;
  --muted: #667085;
  --border: #E6E8EC;
  --success: #12805c;
  --success-50: #e7f6ef;
  --danger: #c0362c;
  --danger-50: #fdecea;
  --info: #2563a8;
  --info-50: #e8f1fb;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(20, 43, 74, .06), 0 1px 3px rgba(20, 43, 74, .06);
  --shadow: 0 6px 20px rgba(20, 43, 74, .08);
  --shadow-lg: 0 16px 40px rgba(20, 43, 74, .14);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: 'Tajawal', system-ui, sans-serif; font-size: 16px; line-height: 1.7;
  color: var(--text); background: var(--ivory); -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent-700); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.35; color: var(--primary); font-weight: 700; }
h1 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
hr { border: 0; border-top: 1px solid var(--border); margin: 1.25rem 0; }
:focus-visible { outline: 3px solid rgba(245, 166, 35, .55); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.container-narrow { max-width: 760px; }
.section { padding-block: 56px; }
.section-sm { padding-block: 32px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 4px 0 0; color: var(--muted); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }
.text-sm { font-size: .9rem; }
.text-xs { font-size: .8rem; }
.fw-700 { font-weight: 700; }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.flex { display: flex; } .flex-wrap { flex-wrap: wrap; } .items-center { align-items: center; } .justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .gap-3 { gap: 24px; }
.grow { flex: 1 1 auto; min-width: 0; }
.stack > * + * { margin-top: 16px; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.25em; }
.icon-sm { width: 1em; height: 1em; }
.icon-lg { width: 1.6em; height: 1.6em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; min-height: 44px;
  border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; cursor: pointer; text-align: center;
  transition: background .18s, color .18s, border-color .18s, box-shadow .18s, transform .18s; line-height: 1.2;
  background: var(--primary); color: #fff;
}
.btn:hover { background: var(--primary-700); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-accent { background: var(--accent); color: #2a1c00; }
.btn-accent:hover { background: var(--accent-700); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost { background: transparent; color: var(--primary); }
.btn-ghost:hover { background: var(--primary-50); color: var(--primary); box-shadow: none; }
.btn-light { background: #fff; color: var(--primary); border-color: var(--border); }
.btn-light:hover { background: var(--primary-50); color: var(--primary); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #a22a21; color: #fff; }
.btn-whatsapp { background: #1a9d4b; color: #fff; }
.btn-whatsapp:hover { background: #147a3a; color: #fff; }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: .9rem; }
.btn-lg { min-height: 52px; padding: 12px 28px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }
.btn-icon { padding: 0; width: 40px; min-height: 40px; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--primary-50); color: var(--primary); white-space: nowrap; }
.badge-success { background: var(--success-50); color: var(--success); }
.badge-danger { background: var(--danger-50); color: var(--danger); }
.badge-accent { background: var(--accent-50); color: #8a5a00; }
.badge-info { background: var(--info-50); color: var(--info); }
.badge-muted { background: #eff0f2; color: var(--muted); }
.badge-featured { background: var(--accent); color: #2a1c00; }

/* Alerts / flash */
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: #fff; margin-bottom: 16px; }
.alert .icon { margin-top: 4px; }
.alert-success { background: var(--success-50); border-color: #b7e3d0; color: #0c5c42; }
.alert-danger { background: var(--danger-50); border-color: #f3c3be; color: #8f241c; }
.alert-info { background: var(--info-50); border-color: #bcd7f1; color: #1d4d82; }
.alert-warning { background: var(--accent-50); border-color: #f7dca8; color: #7a5200; }
.alert ul { padding-inline-start: 18px; list-style: disc; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-body { padding: 20px; }
.card-head { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.card-head h2, .card-head h3 { margin: 0; font-size: 1.1rem; }
.card + .card { margin-top: 20px; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* Forms */
.field { margin-bottom: 16px; min-width: 0; }
.label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .95rem; }
.label .req { color: var(--danger); }
.input, .select, .textarea {
  width: 100%; padding: 10px 14px; min-height: 46px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 110px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245, 166, 35, .22); }
.input.is-invalid, .select.is-invalid, .textarea.is-invalid { border-color: var(--danger); }
.input[type="date"], .input[type="number"], .input[type="tel"], .input[type="email"] { direction: ltr; text-align: right; }
.hint { color: var(--muted); font-size: .85rem; margin-top: 4px; }
.error { color: var(--danger); font-size: .88rem; margin-top: 4px; }
.check { display: flex; align-items: center; gap: 8px; cursor: pointer; min-height: 32px; }
.check input { width: 18px; height: 18px; accent-color: var(--primary); flex: none; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.input-group { display: flex; gap: 8px; }
.honeypot { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 200; background: var(--primary); color: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .12); }
.site-header .bar { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; color: #fff; flex: 0 0 auto; width: min(210px, 22vw); }
 .brand:hover { color: #fff; }
 .brand img { display: block; width: 100%; height: auto; max-height: 54px; object-fit: contain; }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--accent); color: #2a1c00; display: grid; place-items: center; }
.main-nav { display: flex; align-items: center; gap: 2px; flex: 1 1 auto; }
.main-nav a { color: rgba(255, 255, 255, .88); padding: 8px 12px; border-radius: 999px; font-weight: 500; font-size: .95rem; white-space: nowrap; transition: background .15s, color .15s; }
.main-nav a:hover, .main-nav a.active { background: rgba(255, 255, 255, .12); color: #fff; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.header-actions .btn-light-outline { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.header-actions .btn-light-outline:hover { background: #fff; color: var(--primary); }
.nav-toggle { display: none; background: transparent; border: 0; color: #fff; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; }
.nav-toggle:hover { background: rgba(255, 255, 255, .12); }
.icon-link { position: relative; color: #fff; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; }
.icon-link:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.dot-count { position: absolute; top: 2px; inset-inline-start: 2px; background: var(--accent); color: #2a1c00; font-size: .7rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding-inline: 4px; }
.user-menu { position: relative; }
.user-menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; color: #fff; }
.user-menu summary::-webkit-details-marker { display: none; }
.user-menu summary:hover { background: rgba(255, 255, 255, .12); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #2a1c00; display: grid; place-items: center; font-weight: 700; flex: none; }
.dropdown { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 220px; background: #fff; color: var(--text); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); border: 1px solid var(--border); padding: 6px; z-index: 60; }
.dropdown a, .dropdown button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; color: var(--text); border-radius: 8px; background: none; border: 0; cursor: pointer; text-align: start; }
.dropdown a:hover, .dropdown button:hover { background: var(--primary-50); color: var(--primary); }
.dropdown hr { margin: 6px 0; }
.mobile-nav-backdrop { display: none; }

/* Flash container */
.flash-wrap { padding-top: 16px; }

/* Hero */
.hero { position: relative; color: #fff; background: var(--primary) center/cover no-repeat; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 43, 74, .55), rgba(20, 43, 74, .8)); z-index: -1; }
.hero-inner { padding-block: 56px 72px; }
.hero h1 { color: #fff; margin-bottom: 8px; max-width: 18ch; }
.hero p.lead { font-size: 1.15rem; max-width: 56ch; color: rgba(255, 255, 255, .9); margin-bottom: 28px; }
.search-box { background: #fff; color: var(--text); border-radius: 20px; padding: 18px; box-shadow: var(--shadow-lg); }
.search-box .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.search-box .field { margin-bottom: 0; }
.search-box .label { font-size: .82rem; color: var(--muted); margin-bottom: 4px; }
.search-box .actions { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; gap: 12px; flex-wrap: wrap; }

/* Property cards */
.prop-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; position: relative; }
.prop-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.prop-media { position: relative; aspect-ratio: 4 / 3; background: var(--primary-50); overflow: hidden; display: block; }
.prop-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.prop-card:hover .prop-media img { transform: scale(1.04); }
.prop-badges { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.fav-btn { position: absolute; top: 10px; inset-inline-end: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--primary); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .15s; }
.fav-btn:hover { transform: scale(1.08); }
.fav-btn.is-fav { color: var(--danger); }
.fav-btn.is-fav .icon { fill: currentColor; }
.prop-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prop-title { font-size: 1.05rem; margin: 0; }
.prop-title a { color: var(--primary); }
.prop-loc { color: var(--muted); font-size: .9rem; display: flex; gap: 6px; align-items: center; }
.prop-meta { display: flex; gap: 14px; color: var(--muted); font-size: .88rem; flex-wrap: wrap; }
.prop-meta span { display: inline-flex; gap: 5px; align-items: center; }
.prop-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.price { font-weight: 700; color: var(--primary); font-size: 1.15rem; }
.price small { color: var(--muted); font-weight: 500; font-size: .82rem; }
.avail { font-size: .82rem; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.avail::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.avail.off { color: var(--danger); } .avail.off::before { background: var(--danger); }
.avail.on { color: var(--success); }

/* City / type cards */
.cities-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 34px; align-items: start; }
.city-card[hidden] { display: none; }
.cities-more { display: block; margin: 30px auto 0; padding: 11px 34px; border: 1px solid #17395f; border-radius: 999px; background: #17395f; color: #fff; font: inherit; font-weight: 800; cursor: pointer; transition: background .2s, transform .2s; }
.cities-more:hover { background: #f28c18; border-color: #f28c18; transform: translateY(-2px); }
.cities-more[hidden] { display: none; }
.city-card { position: relative; overflow: visible; aspect-ratio: auto; min-height: 122px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; padding: 4px 6px; color: var(--primary); background: transparent; border: 0; box-shadow: none; text-align: center; transition: transform .25s, color .25s; }
 .city-card img { position: static; width: 58px; height: 58px; object-fit: cover; border-radius: 18px; box-shadow: 0 6px 16px rgba(20,43,74,.14); transition: transform .25s; }
.city-card:hover { transform: translateY(-4px); color: #e77c08; }
.city-card:hover h3 { color: #e77c08; }
 .city-card__placeholder { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: linear-gradient(145deg, #fff2df, #f6a027); color: #fff; box-shadow: 0 6px 16px rgba(242,140,24,.2); }
 .city-card__placeholder svg { width: 72px; height: 72px; opacity: .3; }
 .city-card:hover img { transform: scale(1.06); }
.city-card::after { display: none; }

/* Compact city hero */
.city-hero { position: relative; min-height: 310px; display: flex; align-items: center; overflow: hidden; color: #fff; background: var(--primary) url('/assets/images/hero-luxury.png') center/cover no-repeat; isolation: isolate; }

/* Shared static page system */
.static-hero { position: relative; min-height: 260px; display: flex; align-items: center; overflow: hidden; color: #fff; background: var(--primary) url('/assets/images/hero-luxury.png') center/cover no-repeat; isolation: isolate; }
.static-hero__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,43,74,.94), rgba(20,43,74,.58) 58%, rgba(20,43,74,.36)); }
.static-hero__inner { padding-block: 42px; }
.static-hero__eyebrow { display: block; margin-bottom: 10px; color: var(--accent); font-size: .86rem; font-weight: 800; }
.static-hero h1 { margin: 0 0 10px; color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.04em; }
.static-hero p { max-width: 570px; margin: 0; color: rgba(255,255,255,.84); font-size: 1.03rem; line-height: 1.8; }
.static-content { padding-block: 54px 76px; }
.static-section-intro { margin-bottom: 24px; }
.static-section-intro h2 { margin: 4px 0 0; }
.static-content--faq { max-width: 900px; }
.static-faq { margin-bottom: 12px; border: 1px solid var(--border); border-radius: 16px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.static-faq[open] { border-color: rgba(240,138,36,.5); box-shadow: 0 12px 28px rgba(20,43,74,.07); }
.static-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 22px; color: var(--primary); cursor: pointer; font-weight: 800; list-style: none; }
.static-faq summary::-webkit-details-marker { display: none; }
.static-faq summary .icon { flex: 0 0 auto; color: var(--accent); transition: transform .2s; }
.static-faq[open] summary .icon { transform: rotate(180deg); }
.static-faq div { padding: 0 22px 20px; color: var(--muted); line-height: 1.9; }
.contact-layout { display: grid; grid-template-columns: minmax(250px, .75fr) minmax(0, 1.25fr); gap: 56px; align-items: start; }
.contact-aside { padding-top: 12px; }
.contact-aside h2 { margin: 6px 0 12px; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.contact-aside p { max-width: 330px; margin: 0; color: var(--muted); line-height: 1.9; }
.contact-aside__rule { width: 70px; height: 3px; margin: 28px 0 14px; background: var(--accent); }
.contact-aside__note { color: var(--muted); font-size: .9rem; }
.static-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 28px; border: 1px solid var(--border); border-radius: 22px; background: #fff; box-shadow: 0 16px 36px rgba(20,43,74,.06); }
.static-form label { display: flex; flex-direction: column; gap: 8px; color: var(--primary); font-weight: 700; }
.static-form input, .static-form textarea { width: 100%; border: 1px solid var(--border); border-radius: 11px; padding: 13px 14px; color: var(--primary); background: #fff; font: inherit; outline: none; transition: border-color .2s, box-shadow .2s; }
.static-form input:focus, .static-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(240,138,36,.14); }
.static-form textarea { min-height: 150px; resize: vertical; }
.static-article { max-width: 920px; margin-inline: auto; padding: clamp(24px, 5vw, 52px); border: 1px solid var(--border); border-radius: 22px; background: #fff; box-shadow: 0 16px 36px rgba(20,43,74,.05); }
.static-article { text-align: right; font-size: 1rem; line-height: 2.05; white-space: pre-line; }
.static-article h2, .static-article h3 { margin: 0 0 18px; color: var(--primary); line-height: 1.5; }
.static-article p, .static-article li { color: var(--muted); line-height: 2; }
.static-article br + br { content: ''; display: block; margin-top: 18px; }
.static-article ul, .static-article ol { margin: 18px 0; padding-right: 26px; color: var(--muted); }
.static-article strong { color: var(--primary); font-weight: 800; }
.static-article a { color: var(--accent-700); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) { .static-article { font-size: .96rem; line-height: 1.95; } }
@media (max-width: 700px) { .static-hero { min-height: 245px; } .static-hero__veil { background: linear-gradient(180deg, rgba(20,43,74,.48), rgba(20,43,74,.92)); } .static-content { padding-block: 34px 52px; } .contact-layout { grid-template-columns: 1fr; gap: 28px; } .static-form { grid-template-columns: 1fr; padding: 20px; } }
.city-hero__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,43,74,.92) 0%, rgba(20,43,74,.66) 48%, rgba(20,43,74,.38) 100%); }
.city-hero__content { position: relative; padding-block: 30px; }
.city-hero__back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; color: rgba(255,255,255,.86); font-size: .9rem; font-weight: 700; transition: color .2s, transform .2s; }
.city-hero__back:hover { color: var(--accent); transform: translateX(-4px); }
.city-hero__back .icon { width: 18px; height: 18px; }
.city-hero__copy { max-width: 680px; }
.city-hero__eyebrow { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 10px; color: var(--accent); font-size: .88rem; font-weight: 700; }
.city-hero h1 { margin: 0 0 8px; color: #fff; font-size: clamp(2.2rem, 5vw, 4.4rem); letter-spacing: -.04em; }
.city-hero__copy p { max-width: 600px; margin: 0 0 18px; color: rgba(255,255,255,.84); font-size: 1.02rem; }
.city-hero__meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; color: rgba(255,255,255,.82); font-size: .9rem; }
.city-hero__meta span { display: inline-flex; align-items: center; gap: 6px; }
.city-hero__meta .icon { color: var(--accent); }
.city-results { padding-block: 48px 64px; }
.city-results__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.city-results__head h2 { margin: 2px 0 0; }
.city-results__head p { margin: 0; color: var(--muted); }
.section-kicker { color: var(--accent-700); font-size: .82rem; font-weight: 800; letter-spacing: .04em; }
@media (max-width: 650px) { .city-hero { min-height: 285px; } .city-hero__veil { background: linear-gradient(180deg, rgba(20,43,74,.48), rgba(20,43,74,.9)); } .city-hero__content { padding-block: 24px; } .city-hero__back { margin-bottom: 18px; } .city-hero h1 { font-size: 2.4rem; } .city-results { padding-block: 32px 48px; } .city-results__head { display: block; } .city-results__head p { margin-top: 8px; } }
.city-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: none; }
.city-card:hover img { transform: scale(1.06); }
.city-card .info { position: static; z-index: 1; padding: 0; }
.city-card h3 { color: var(--primary); margin: 0; font-size: .98rem; }
.city-card span { font-size: .88rem; opacity: .9; }
.type-card { display: flex; align-items: center; gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s, transform .2s; color: var(--text); }
.type-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.type-card .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-50); color: var(--accent-700); display: grid; place-items: center; flex: none; }
.type-card strong { display: block; color: var(--primary); }
.type-card small { color: var(--muted); }

/* Steps / marketing */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; position: relative; }
.step::before { counter-increment: step; content: counter(step); width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 12px; }
.step h3 { font-size: 1rem; margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); font-size: .92rem; }
.cta-band { background: var(--primary); color: #fff; border-radius: 24px; padding: 40px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .85); }
.cta-band ul { display: grid; gap: 10px; }
.cta-band li { display: flex; gap: 10px; align-items: center; }
.cta-band li .icon { color: var(--accent); }

/* FAQ */
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 10px; }
.faq-item summary { cursor: pointer; padding: 16px 20px; font-weight: 700; color: var(--primary); list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item .answer { padding: 0 20px 16px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--primary); color: rgba(255, 255, 255, .8); margin-top: 64px; }
.site-footer a { color: rgba(255, 255, 255, .8); }
.site-footer a:hover { color: var(--accent); }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; padding-block: 48px 32px; }
.footer-grid li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .9rem; }
 .footer-bottom ul { display: flex; gap: 18px; flex-wrap: wrap; }
 .footer-credit { display: flex; align-items: center; justify-content: center; gap: 16px; padding-block: 6px 22px; }
 .footer-credit p { margin: 0; font-size: .85rem; letter-spacing: .02em; color: rgba(255, 255, 255, .55); white-space: nowrap; }
 .footer-credit a { color: var(--accent); font-weight: 700; padding-bottom: 2px; border-bottom: 1px solid transparent; transition: border-color .2s ease, color .2s ease; }
 .footer-credit a:hover, .footer-credit a:focus-visible { color: #fff; border-bottom-color: var(--accent); }
 .footer-credit-line { flex: 0 1 72px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22)); }
 .footer-credit-line:last-child { background: linear-gradient(270deg, transparent, rgba(255, 255, 255, .22)); }
.socials { display: flex; gap: 8px; margin-top: 12px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.socials a:hover { background: var(--accent); color: #2a1c00; }

/* Listing page */
.page-head { background: #fff; border-bottom: 1px solid var(--border); padding-block: 28px; }
.page-head h1 { font-size: 1.7rem; margin: 0 0 4px; }
.listing { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; padding-block: 28px; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; max-height: calc(100vh - var(--header-h) - 32px); overflow: auto; }
.filters h3 { font-size: 1rem; margin-bottom: 14px; }
.filter-group { padding-block: 14px; border-top: 1px solid var(--border); }
.filter-group:first-of-type { border-top: 0; padding-top: 0; }
.filter-group > .label { margin-bottom: 8px; }
.filters-toggle { display: none; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; background: var(--primary-50); border-radius: 999px; font-size: .85rem; color: var(--primary); }
.empty { text-align: center; padding: 56px 20px; background: #fff; border: 1px dashed var(--border); border-radius: var(--radius); color: var(--muted); }
.empty .icon { width: 44px; height: 44px; color: var(--accent); margin-bottom: 8px; }
.pagination { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding-inline: 12px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--border); background: #fff; color: var(--primary); font-weight: 500; }
.pagination a:hover { border-color: var(--accent); }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .disabled { opacity: .45; }

/* Property show */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 7; background: var(--primary-50); }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; position: relative; }
.gallery button:first-child { grid-row: 1 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.03); }
.gallery .more { position: absolute; inset: 0; background: rgba(20, 43, 74, .6); color: #fff; display: grid; place-items: center; font-weight: 700; }
.gallery.single { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.gallery.single button:first-child { grid-row: auto; }
.show-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; margin-top: 24px; }
.booking-panel { position: sticky; top: calc(var(--header-h) + 16px); background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.fact { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; display: flex; gap: 10px; align-items: center; }
.fact .icon { color: var(--accent-700); }
.fact small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.3; }
.fact strong { font-size: .95rem; }
.amenities { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.amenities li { display: flex; gap: 10px; align-items: center; }
.amenities .icon { color: var(--primary); }
.price-table { width: 100%; border-collapse: collapse; }
.price-table td { padding: 8px 0; border-bottom: 1px solid var(--border); }
.price-table td:last-child { text-align: end; font-weight: 700; color: var(--primary); }
.prose { line-height: 1.9; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose ul { list-style: disc; padding-inline-start: 22px; }
.prose ol { list-style: decimal; padding-inline-start: 22px; }
.lightbox { position: fixed; inset: 0; background: rgba(8, 16, 28, .94); z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 86vh; max-width: 92vw; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .14); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .28); }
.lightbox .close { top: 20px; inset-inline-start: 20px; }
.lightbox .prev { inset-inline-end: 20px; } .lightbox .next { inset-inline-start: 20px; }

/* Auth */
.auth-wrap { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 32px 16px; }
.auth-card { width: 100%; max-width: 480px; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.auth-card.wide { max-width: 640px; }
.auth-card h1 { font-size: 1.6rem; }
.tabs { display: flex; background: var(--primary-50); border-radius: 999px; padding: 4px; gap: 4px; margin-bottom: 20px; }
.tabs a { flex: 1; text-align: center; padding: 8px 12px; border-radius: 999px; font-weight: 700; color: var(--primary); }
.tabs a.active { background: #fff; box-shadow: var(--shadow-sm); }

/* Tables */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th { text-align: start; background: var(--primary-50); color: var(--primary); font-weight: 700; padding: 10px 14px; white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:hover td { background: #fbfcfd; }
.table .actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.thumb { width: 56px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--primary-50); }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.toolbar .input, .toolbar .select { width: auto; min-width: 150px; min-height: 40px; padding-block: 6px; }

/* Panels (account / owner / admin) */
.panel-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 100vh; }
.sidebar { background: var(--primary); color: rgba(255, 255, 255, .85); padding: 20px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.sidebar .brand { padding: 4px 8px 18px; }
.sidebar a.nav-item, .sidebar .nav-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; color: rgba(255, 255, 255, .8); border-radius: 10px; font-weight: 500; }
.sidebar a.nav-item:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.sidebar a.nav-item.active { background: var(--accent); color: #2a1c00; font-weight: 700; }
.sidebar .nav-label { font-size: .75rem; text-transform: none; color: rgba(255, 255, 255, .5); padding: 14px 14px 4px; }
.sidebar .nav-count { margin-inline-start: auto; background: var(--accent); color: #2a1c00; border-radius: 999px; font-size: .75rem; font-weight: 700; padding: 0 8px; }
.sidebar a.active .nav-count { background: #2a1c00; color: var(--accent); }
.panel-main { min-width: 0; display: flex; flex-direction: column; }
.panel-top { background: #fff; border-bottom: 1px solid var(--border); padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; position: sticky; top: 0; z-index: 20; }
.panel-top h1 { font-size: 1.25rem; margin: 0; }
.panel-content { padding: 32px; flex: 1; background: #f7f8fb; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 26px; }
.stat-card { position: relative; overflow: hidden; padding: 24px; border: 1px solid #e4e9f0; border-radius: 18px; background: linear-gradient(145deg, #fff, #f8fafc); box-shadow: 0 10px 28px rgba(15,39,72,.06); }
.stat-card::after { content: ''; position: absolute; inset: auto -18px -28px auto; width: 90px; height: 90px; border-radius: 50%; background: rgba(242,140,24,.12); }
.stat-card span { display: block; color: #68778b; font-size: .9rem; font-weight: 700; margin-bottom: 10px; }
.stat-card strong { display: block; color: var(--primary); font-size: 2rem; line-height: 1; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.section-heading h2, .panel-card > h2 { margin: 0; color: var(--primary); font-size: 1.45rem; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .panel-content { padding: 18px; } .stats-grid { grid-template-columns: 1fr; } .section-heading { align-items: flex-start; flex-direction: column; } }
.booking-page { max-width: 1120px; padding-top: 58px; padding-bottom: 72px; } .booking-page-header { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin: 0 0 28px; padding: 10px 8px; } .booking-page-header h1 { margin: 8px 0 10px; color: #113057; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.04em; } .booking-page-header p { margin: 0; color: #718096; font-size: 1.08rem; } .booking-eyebrow { color: #e88718; font-size: .9rem; font-weight: 800; } .booking-header-badge { min-width: 170px; padding: 16px 20px; border: 1px solid #f0d8b5; border-radius: 18px; background: linear-gradient(135deg, #fffaf2, #fff); color: #b86a13; text-align: center; } .booking-header-badge span, .booking-header-badge strong { display: block; } .booking-header-badge span { font-size: .8rem; margin-bottom: 5px; } .booking-header-badge strong { color: #17395f; font-size: .95rem; } .booking-form { padding: 34px; border-radius: 26px; box-shadow: 0 24px 65px rgba(15,39,72,.1); } .booking-form label { color: #17395f; font-weight: 800; } .booking-form input, .booking-form select, .booking-form textarea { margin-top: 10px; border-color: #dbe4ef; background: #fbfcfe; transition: border-color .2s, box-shadow .2s, background .2s; } .booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus { border-color: #f7931e; background: #fff; box-shadow: 0 0 0 4px rgba(247,147,30,.12); outline: 0; } .booking-form .btn { min-height: 58px; border-radius: 16px; font-size: 1.05rem; box-shadow: 0 12px 24px rgba(17,48,87,.15); } .booking-success-page { display: grid; place-items: center; min-height: 520px; padding-top: 64px; padding-bottom: 80px; } .booking-success-card { position: relative; width: min(100%, 760px); padding: 58px 64px 46px; overflow: hidden; border: 1px solid rgba(17,48,87,.1); border-radius: 28px; background: linear-gradient(145deg, #fff 0%, #f7f9fc 100%); box-shadow: 0 24px 70px rgba(15,39,72,.12); text-align: center; } .booking-success-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, #f7931e, #f9b24b, #113057); } .booking-success-icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%; background: #eaf8ef; color: #20a45a; font-size: 2.8rem; font-weight: 800; box-shadow: 0 0 0 10px #f5fcf7; } .booking-success-eyebrow { color: #e88718; font-size: .9rem; font-weight: 800; } .booking-success-card h1 { margin: 10px 0 14px; color: #113057; font-size: clamp(2rem, 4vw, 3.3rem); } .booking-success-lead { max-width: 560px; margin: 0 auto; color: #63748b; font-size: 1.08rem; line-height: 1.9; } .booking-success-summary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 30px 0; } .booking-success-summary div { padding: 16px; border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; } .booking-success-summary span { display: block; margin-bottom: 7px; color: #8a98aa; font-size: .82rem; } .booking-success-summary strong { display: block; overflow: hidden; color: #17395f; text-overflow: ellipsis; white-space: nowrap; } .booking-success-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; } .booking-success-actions .btn { min-width: 220px; } .booking-success-note { margin: 30px 0 0; color: #7b8797; font-size: .86rem; } .notifications-page { padding: 30px; } .notifications-toolbar { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:24px; padding-bottom:22px; border-bottom:1px solid #e7edf4; } .notifications-toolbar h1 { margin:6px 0; color:#113057; font-size:2rem; } .notifications-toolbar p { margin:0; color:#718096; } .eyebrow { color:#e88718; font-size:.82rem; font-weight:800; } .notification-list { display:grid; gap:12px; } .notification-item { position:relative; display:flex; align-items:flex-start; gap:14px; padding:20px; border:1px solid #e5ebf2; border-radius:16px; background:#fff; color:inherit; text-decoration:none; transition:transform .2s, box-shadow .2s, border-color .2s; } .notification-item:hover { transform:translateY(-2px); border-color:#f1b35e; box-shadow:0 10px 24px rgba(15,39,72,.08); } .notification-item.is-unread { border-right:4px solid #f7931e; background:linear-gradient(90deg,#fff,#fffaf3); } .notification-indicator { flex:0 0 10px; width:10px; height:10px; margin-top:7px; border-radius:50%; background:#cbd5e1; } .is-unread .notification-indicator { background:#f7931e; box-shadow:0 0 0 5px rgba(247,147,30,.12); } .notification-item h3 { margin:0 0 7px; color:#17395f; font-size:1rem; } .notification-item p { margin:0 0 8px; color:#64748b; line-height:1.7; } .notification-item time { color:#94a3b8; font-size:.82rem; } .notification-status { margin-right:auto; padding:4px 9px; border-radius:999px; background:#fff1dc; color:#b86a13; font-size:.75rem; font-weight:800; } .owner-privacy-card .card-body { min-height: 220px; display: grid; align-content: center; gap: 20px; } .owner-privacy-card p { color: #64748b; line-height: 1.9; font-size: 1.05rem; } .owner-pricing-notice { grid-column: 1 / -1; padding: 16px 18px; border: 1px solid rgba(240,138,36,.28); border-radius: 14px; background: rgba(240,138,36,.08); color: var(--primary); }
.owner-pricing-notice strong { display: block; margin-bottom: 8px; }
.owner-pricing-notice ul { margin: 0; padding-right: 20px; color: var(--muted); line-height: 1.9; }
.owner-booking-actions { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); }
.owner-booking-actions h3 { margin: 0 0 12px; font-size: 1rem; color: var(--primary); }
.booking-rating-card form { display: flex; flex-direction: column; gap: 10px; }
.booking-rating-card select, .booking-rating-card textarea { width: 100%; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; font: inherit; color: var(--primary); background: #fff; }
.booking-rating-card label { margin-top: 8px; color: var(--primary); font-weight: 700; }
.booking-stars { color: #f08a24; font-size: 1.45rem; letter-spacing: .08em; }
.owner-status-note { padding: 16px 18px; border: 1px solid #dbe7f3; border-radius: 14px; background: #f5f9fd; color: #17395f; line-height: 1.8; } .property-review__details { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; } .property-review__details > div { padding:16px; border:1px solid #e5ebf2; border-radius:14px; background:#fbfdff; } .property-review__details span { display:block; color:#718096; font-size:.85rem; margin-bottom:7px; } .property-review__details strong { color:#17395f; } .property-review__details p { margin:0; line-height:1.8; color:#334e68; } .property-review__images { margin-top:24px; padding-top:22px; border-top:1px solid #e5ebf2; } .property-review__images h3 { color:#17395f; margin:0 0 16px; } .property-review__image-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; } .property-review__image-grid img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:12px; border:1px solid #e5ebf2; } .panel-card { background: #fff; border: 1px solid #e5e9f0; border-radius: 22px; padding: 24px; box-shadow: 0 12px 34px rgba(15, 39, 72, .06); }
.panel-card .table-wrap { border: 1px solid #e8ecf2; border-radius: 16px; overflow-x: auto; overflow-y: hidden; background: #fff; -webkit-overflow-scrolling: touch; }
.panel-card .table { margin: 0; min-width: 760px; }
.panel-card .table th { background: #f5f7fa; padding-block: 16px; font-size: .88rem; }
.panel-card .table td { padding-block: 17px; color: #27364a; }
.panel-card .table tbody tr { transition: background .2s ease; }
.panel-card .table tbody tr:hover { background: #fbfcfe; }
.panel-card .filter-bar { margin: -2px -2px 26px; box-shadow: none; background: #f8fafc; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; align-items: start; }
.form-grid > label { display: flex; flex-direction: column; gap: 9px; color: var(--primary); font-weight: 700; line-height: 1.5; }
.form-grid > label input:not([type="checkbox"]), .form-grid > label select, .form-grid > label textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #dbe2eb; border-radius: 12px; background: #fff; color: #172b4d; font: inherit; font-weight: 400; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.form-grid > label textarea { min-height: 112px; resize: vertical; }
.form-grid > label input:focus, .form-grid > label select:focus, .form-grid > label textarea:focus { border-color: #f28c18; box-shadow: 0 0 0 4px rgba(242, 140, 24, .12); }
.form-grid > label:has(input[type="checkbox"]) { flex-direction: row; align-items: center; gap: 10px; }
.form-grid > label:has(input[type="checkbox"]) input { width: 18px; height: 18px; accent-color: #f28c18; }
.form-grid > .form-actions, .form-grid > button, .form-grid > div:last-child { grid-column: 1 / -1; }
.form-grid button { min-height: 48px; padding-inline: 28px; border-radius: 999px; font: inherit; font-weight: 800; cursor: pointer; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

/* Owner property creation */
.form-stack { max-width: 1180px; margin-inline: auto; }
.form-stack > .card { border: 1px solid #e5ebf2; box-shadow: 0 18px 45px rgba(23, 57, 95, .08); border-radius: 22px; overflow: hidden; }
.form-stack > .card:first-child .card-head { background: linear-gradient(135deg, #f8fbff, #fff8ef); padding: 24px 28px; }
.form-stack > .card:first-child .card-head h2 { margin: 0; color: #17395f; font-size: 1.25rem; }
.form-stack .form-grid { padding: 28px; gap: 24px 28px; }
.form-stack .field span { font-size: .92rem; }
.create-image-upload { display: flex; align-items: center; gap: 18px; margin: 24px 0 8px; padding: 22px 24px; border: 1px dashed #f28c18; border-radius: 18px; background: linear-gradient(135deg, #fffaf3, #fff); color: #17395f; }
.create-image-upload__icon { display: grid; place-items: center; width: 52px; height: 52px; flex: 0 0 52px; border-radius: 16px; background: #fff0dc; color: #e77c08; font-size: 2rem; font-weight: 800; }
.create-image-upload strong { display: block; font-size: 1rem; }
.create-image-upload p { margin: 5px 0 0; color: #718096; font-size: .9rem; }
.create-image-upload .image-count { display: block; margin-top: 10px; color: #e77c08; font-size: .86rem; font-weight: 800; }
.create-image-upload input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.create-image-upload__button { margin-inline-start: auto; padding: 11px 20px; border-radius: 999px; background: #17395f; color: #fff; font-weight: 800; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.create-image-upload__button:hover { background: #f28c18; transform: translateY(-2px); }
.create-image-upload__button input { display: none; }
@media (max-width: 1100px) { .cities-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
@media (max-width: 650px) { .cities-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 10px; } .city-card { min-height: 105px; } .city-card img, .city-card__placeholder { width: 50px; height: 50px; } }
@media (max-width: 700px) { .create-image-upload { align-items: flex-start; flex-wrap: wrap; } .create-image-upload__button { margin-inline-start: 0; } }
.panel-card .empty-state { padding: 48px 20px; text-align: center; color: #718096; }
.panel-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.panel-content table th { text-align: start; background: #f5f7fa; color: var(--primary); font-weight: 700; padding: 16px 14px; white-space: nowrap; }
.panel-content table td { padding: 16px 14px; border-bottom: 1px solid #e8ecf2; vertical-align: middle; }
.panel-content table tbody tr:hover { background: #fbfcfe; }
.listing-page { padding-block: 0 80px; padding-top: 0 !important; margin-top: 0 !important; }
.listing-page .properties-hero { margin-top: 0 !important; } .listing-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; } .back-link { color: var(--primary); font-weight: 700; text-decoration: underline; } .listing-tools { display: flex; gap: 10px; } .listing-tools button { border: 0; background: transparent; color: var(--primary); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; } .listing { display: block; width: 100%; max-width: 1120px; margin: auto; } .listing-header { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 18px; } .listing-header h1 { margin: 0 0 8px; color: var(--primary); font-size: clamp(1.5rem, 3vw, 2.2rem); } .listing-header p { margin: 0; color: #64748b; } .listing-rating { color: var(--primary); font-weight: 800; white-space: nowrap; } .listing-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 180px; gap: 6px; overflow: hidden; border-radius: 18px; } .gallery-tile { position: relative; min-width: 0; padding: 0; border: 0; overflow: hidden; background: #e2e8f0; cursor: zoom-in; } .gallery-tile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; } .gallery-tile:hover img { transform: scale(1.04); } .listing-gallery--1 { grid-template-columns: 1fr; grid-auto-rows: minmax(280px, 480px); } .listing-gallery--2 { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 300px; } .listing-gallery--3 { grid-template-columns: 1.25fr .75fr; grid-template-rows: repeat(2, 210px); } .listing-gallery--3 .gallery-tile:first-child { grid-row: 1 / 3; } .listing-gallery--4, .listing-gallery--5 { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; } .listing-gallery--5 .gallery-tile:first-child { grid-column: 1 / 3; } .listing-gallery--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, 210px); } .listing-gallery--7 { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, 180px); } .listing-gallery--8 { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, 150px); } .listing-gallery--6 .gallery-tile:first-child, .listing-gallery--7 .gallery-tile:first-child { grid-column: auto; grid-row: auto; } .listing-gallery--8 .gallery-tile:first-child { grid-column: auto; grid-row: 1 / 3; } .listing-gallery--7 .gallery-tile:last-child { grid-column: span 2; } .gallery-more { position: absolute; inset: auto 14px 14px auto; padding: 8px 12px; border-radius: 999px; background: rgba(15,39,72,.85); color: #fff; font-size: .85rem; font-weight: 800; } .gallery-hidden { display: none; } .lightbox { position: fixed; inset: 0; z-index: 999; display: none; place-items: center; padding: 40px; background: rgba(3,12,26,.94); } .lightbox.open { display: grid; } .lightbox img { max-width: min(92vw, 1200px); max-height: 88vh; object-fit: contain; border-radius: 10px; } .lightbox button { position: absolute; border: 0; color: #fff; background: rgba(255,255,255,.12); cursor: pointer; } .lightbox .close { top: 22px; right: 26px; width: 44px; height: 44px; border-radius: 50%; font-size: 2rem; } .lightbox .prev, .lightbox .next { top: 50%; width: 52px; height: 52px; border-radius: 50%; transform: translateY(-50%); font-size: 3rem; line-height: 1; } .lightbox .prev { left: 24px; } .lightbox .next { right: 24px; } .listing-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 64px; align-items: start; padding-top: 34px; } .host-summary { display: flex; align-items: center; gap: 14px; padding-bottom: 24px; border-bottom: 1px solid #e5e7eb; } .host-avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 1.25rem; font-weight: 800; } .host-summary strong, .host-summary span { display: block; } .host-summary span { margin-top: 4px; color: #64748b; font-size: .9rem; } .listing-facts { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 24px 0; border-bottom: 1px solid #e5e7eb; color: #334155; font-weight: 700; } .listing-section { padding: 26px 0; border-bottom: 1px solid #e5e7eb; } .listing-section h2 { margin: 0 0 14px; color: var(--primary); font-size: 1.25rem; } .listing-section p { margin: 0; color: #334155; line-height: 2; white-space: pre-line; } .amenities-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; color: #334155; } .booking-card-copy { display: grid; gap: 8px; margin: 28px 0 24px; padding: 18px; border-radius: 16px; background: #f7f9fc; color: var(--primary); } .booking-card-copy strong { font-size: 1rem; } .booking-card-copy span { color: #718096; font-size: .9rem; line-height: 1.7; } .booking-card { position: sticky; top: 24px; padding: 24px; border: 1px solid #e2e8f0; border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgba(15,39,72,.1); } .booking-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 20px; color: var(--primary); } .booking-price strong { font-size: 1.35rem; } .booking-price span, .booking-card small { color: #64748b; } .booking-fields { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #cbd5e1; border-radius: 12px; overflow: hidden; } .booking-fields label { padding: 10px; color: var(--primary); font-size: .78rem; font-weight: 800; } .booking-fields label:last-child { grid-column: 1 / -1; border-top: 1px solid #cbd5e1; } .booking-fields input, .booking-fields select { display: block; width: 100%; border: 0; padding: 6px 0; font: inherit; color: #334155; } .booking-button { width: 100%; margin: 18px 0 10px; text-align: center; } .booking-card small { display: block; text-align: center; } .owner-image-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 24px; } .owner-image-item { overflow: hidden; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; } .owner-image-item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; } .owner-image-item > div { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; } .owner-image-item button { border: 0; background: transparent; color: var(--primary); font: inherit; font-size: .78rem; cursor: pointer; } .owner-image-item button.danger { color: #c53030; } .property-detail { overflow: hidden; } .property-detail .property-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .property-detail .property-gallery img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; } .property-detail__body { padding: 30px; } .property-detail__body h1 { margin-top: 0; color: var(--primary); } .property-detail__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; } .property-review { padding: 34px; }
.property-review__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 26px; border-bottom: 1px solid #e7ebf1; }
.property-review .eyebrow { display: block; color: #f28c18; font-size: .85rem; font-weight: 800; margin-bottom: 10px; }
.property-review h2 { margin: 0; color: var(--primary); font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.35; }
.property-review__location { color: #718096; font-size: 1rem; margin: 10px 0 0; }
.property-review__location span { color: #f28c18; padding-inline: 5px; }
.status-badge { display: inline-flex; align-items: center; padding: 9px 15px; border-radius: 999px; background: #e8f7ee; color: #19733b; font-weight: 800; white-space: nowrap; }
.property-review__details { display: grid; grid-template-columns: minmax(180px, .35fr) minmax(0, 1fr); gap: 28px; padding: 28px 0; }
.property-review__details span { display: block; color: #718096; font-size: .85rem; font-weight: 700; margin-bottom: 8px; }
.property-review__details strong { color: var(--primary); font-size: 1.05rem; }
.property-review__details p { margin: 0; color: #34445b; line-height: 1.9; }
.property-review__actions { display: grid; grid-template-columns: minmax(260px, .65fr) minmax(0, 1fr); gap: 20px; padding-top: 26px; border-top: 1px solid #e7ebf1; }
.property-review__actions form { display: flex; align-items: flex-end; gap: 12px; padding: 18px; border: 1px solid #e6ebf2; border-radius: 16px; background: #fbfcfe; }
.property-review__actions label { flex: 1; color: var(--primary); font-weight: 800; }
.property-review__actions select, .property-review__actions textarea { display: block; width: 100%; margin-top: 9px; border: 1px solid #d8e0eb; border-radius: 11px; padding: 12px; background: #fff; font: inherit; color: var(--primary); }
.property-review__actions textarea { min-height: 82px; resize: vertical; }
@media (max-width: 760px) { .booking-page { padding-top: 30px; padding-bottom: 48px; } .booking-page-header { align-items: flex-start; flex-direction: column; gap: 18px; } .booking-header-badge { width: 100%; } .booking-form { padding: 22px 18px; border-radius: 20px; } .booking-success-page { min-height: 480px; padding-top: 32px; padding-bottom: 48px; } .booking-success-card { padding: 42px 22px 32px; border-radius: 22px; } .booking-success-card h1 { font-size: 2rem; } .booking-success-summary { grid-template-columns: 1fr; } .booking-success-actions { flex-direction: column; } .booking-success-actions .btn { width: 100%; min-width: 0; } .brand { width: 160px; } .owner-image-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .listing-page { padding-block: 20px 48px; } .listing-topbar { margin-bottom: 16px; } .listing-header { align-items: flex-start; flex-direction: column; gap: 10px; } .listing-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 120px; grid-auto-rows: 120px; border-radius: 12px; } .listing-gallery--1 { grid-template-columns: 1fr; grid-auto-rows: 300px; } .listing-gallery--2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; } .gallery-tile:first-child { grid-column: 1 / 3; grid-row: 1; } .listing-gallery--6 .gallery-tile:first-child, .listing-gallery--7 .gallery-tile:first-child { grid-column: auto; grid-row: auto; } .listing-gallery--8 .gallery-tile:first-child { grid-column: auto; grid-row: 1 / 3; } .listing-gallery--7 .gallery-tile:last-child { grid-column: span 2; } .listing-gallery--1 .gallery-tile:first-child { grid-column: 1; } .listing-layout { grid-template-columns: 1fr; gap: 22px; padding-top: 24px; } .booking-card { position: static; order: -1; } .amenities-grid { grid-template-columns: 1fr; } .property-detail .property-gallery { grid-template-columns: 1fr; } .property-detail__body { padding: 20px; } .property-detail__body h1 { font-size: 1.55rem; line-height: 1.45; } .property-review__header, .property-review__actions { display: flex; flex-direction: column; } .property-review__details { grid-template-columns: 1fr; } .property-review__actions form { width: 100%; } }
.resource-actions { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.resource-actions form { margin: 0; }
.btn-danger { border: 1px solid #e25555; background: #fff; color: #c53030; }
.btn-danger:hover { background: #c53030; color: #fff; }
.table-actions { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.table-actions form { margin: 0; }
.panel-toggle { display: none; }
.panel-sidebar-backdrop { display: none; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; display: flex; gap: 14px; align-items: center; }
.stat .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--primary-50); color: var(--primary); display: grid; place-items: center; flex: none; }
.stat .ico.accent { background: var(--accent-50); color: var(--accent-700); }
.stat .ico.success { background: var(--success-50); color: var(--success); }
.stat .ico.danger { background: var(--danger-50); color: var(--danger); }
.stat strong { display: block; font-size: 1.6rem; line-height: 1.2; color: var(--primary); }
.stat span { color: var(--muted); font-size: .88rem; }
a.stat:hover { border-color: var(--accent); }
.bars { display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 130px 1fr 44px; align-items: center; gap: 10px; font-size: .9rem; }
.bar-track { height: 10px; border-radius: 999px; background: var(--primary-50); overflow: hidden; }
.bar-fill { height: 100%; background: var(--accent); border-radius: 999px; }
.dl { display: grid; grid-template-columns: 160px 1fr; gap: 10px 16px; margin: 0; }
.dl dt { color: var(--muted); } .dl dd { margin: 0; font-weight: 500; }
.timeline { border-inline-start: 2px solid var(--border); padding-inline-start: 18px; display: grid; gap: 16px; }
.timeline li { position: relative; }
.timeline li::before { content: ''; position: absolute; inset-inline-start: -25px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; }
.steps-nav { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.steps-nav button { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 6px 14px; cursor: pointer; font-weight: 500; }
.steps-nav button.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.step-pane { display: none; }
.step-pane.active { display: block; }
.dropzone { border: 2px dashed var(--border); border-radius: var(--radius); padding: 28px; text-align: center; color: var(--muted); cursor: pointer; background: #fcfcfd; }
.dropzone:hover, .dropzone.drag { border-color: var(--accent); background: var(--accent-50); }
.img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 14px; }
.img-tile { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); background: #fff; }
.img-tile img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.img-tile .tile-actions { display: flex; gap: 4px; padding: 6px; justify-content: space-between; align-items: center; }
.img-tile.is-cover { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.rte { border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.rte-bar { display: flex; gap: 4px; padding: 6px; border-bottom: 1px solid var(--border); background: var(--primary-50); flex-wrap: wrap; }
.rte-bar button { width: 34px; height: 34px; border: 0; background: transparent; border-radius: 8px; cursor: pointer; display: grid; place-items: center; color: var(--primary); }
.rte-bar button:hover { background: #fff; }
.rte-area { min-height: 180px; padding: 12px 14px; outline: none; }
.perm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 16px; }
.cal { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px; background: #fff; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(8, 16, 28, .55); z-index: 90; display: none; place-items: center; padding: 16px; }
.modal-backdrop.open { display: grid; }
.modal { background: #fff; border-radius: 18px; width: 100%; max-width: 480px; padding: 24px; box-shadow: var(--shadow-lg); }

.toast-region { position: fixed; bottom: 20px; inset-inline-start: 20px; z-index: 120; display: grid; gap: 8px; }
.toast { background: var(--primary); color: #fff; padding: 10px 18px; border-radius: 12px; box-shadow: var(--shadow-lg); animation: toast-in .25s ease; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.whatsapp-float { position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #1a9d4b; color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.whatsapp-float:hover { background: #147a3a; color: #fff; transform: scale(1.06); }
.whatsapp-float .icon { width: 28px; height: 28px; }

@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .show-layout { grid-template-columns: 1fr; }
  .booking-panel { position: static; }
  .search-box .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .nav-toggle { display: grid; place-items: center; }
  .main-nav { position: fixed; inset-block-start: var(--header-h); inset-block-end: auto; inset-inline-end: 0; width: min(360px, 92vw); height: auto; max-height: calc(100dvh - var(--header-h)); background: linear-gradient(180deg, #17395f 0%, #0d2748 100%); color: #fff; flex-direction: column; align-items: stretch; padding: 22px 18px 32px; gap: 8px; transform: translateX(110%); visibility: hidden; pointer-events: none; transition: transform .28s ease, visibility 0s linear .28s; z-index: 220; overflow-y: auto; overscroll-behavior: contain; box-shadow: -12px 0 34px rgba(0,0,0,.24); }
  html[dir="rtl"] .main-nav { transform: translateX(110%); }
  .main-nav[aria-hidden="true"] { transform: translateX(110%) !important; visibility: hidden; pointer-events: none; }
  .main-nav.open, .main-nav[aria-hidden="false"] { transform: translateX(0) !important; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .main-nav a { display: flex; align-items: center; min-height: 48px; padding: 12px 14px; color: #fff; font-size: 1rem; border-radius: 10px; } .main-nav a:hover, .main-nav a:focus { background: rgba(255,255,255,.1); color: #fff; }
  .mobile-nav-backdrop.open { display: block; position: fixed; inset: 0; background: rgba(8, 16, 28, .64); z-index: 190; }
  .main-nav .nav-close { width: 42px; height: 42px; margin-inline-start: auto; border-radius: 12px; background: rgba(255,255,255,.1); }
  .main-nav a { border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.04); }
  .main-nav a:hover, .main-nav a:focus-visible { background: #f28c18; border-color: #f28c18; transform: translateX(-3px); }
  .main-nav .nav-close { display: grid; position: absolute; top: 12px; inset-inline-end: 12px; }
  .header-actions .hide-sm { display: none; }
  .listing { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0; z-index: 80; border-radius: 0; max-height: none; transform: translateY(100%); transition: transform .25s; }
  .filters.open { transform: none; }
  .filters-toggle { display: inline-flex; }
  .cta-band { grid-template-columns: 1fr; padding: 28px; }
  .panel-shell { grid-template-columns: 1fr; }
  .panel-sidebar-backdrop { display: block; position: fixed; inset: 0; border: 0; padding: 0; background: rgba(8, 16, 28, .42); z-index: 210; opacity: 0; pointer-events: none; transition: opacity .25s; }
  .panel-sidebar-backdrop.open { opacity: 1; pointer-events: auto; }
  .sidebar { position: fixed; inset-block: 0; inset-inline-start: 0; width: 270px; z-index: 220; transform: translateX(100%); transition: transform .25s; }
  .sidebar.open { transform: none; }
  body.panel-menu-open { overflow: hidden; }
  .panel-toggle { display: inline-grid; }
  .panel-content { padding: 16px; }
  .gallery { aspect-ratio: 4 / 3; grid-template-columns: 1fr 1fr; }
  .gallery button:first-child { grid-column: 1 / 3; grid-row: 1; }
  .gallery button:nth-child(n+4) { display: none; }
}
@media (min-width: 961px) { .main-nav .nav-close { display: none; } }
@media (max-width: 640px) {
  .section { padding-block: 36px; }
  .grid-2, .grid-3, .grid-4, .form-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .search-box .grid { grid-template-columns: 1fr; }
  .dl { grid-template-columns: 1fr; gap: 2px; }
  .dl dd { margin-bottom: 10px; }
  .auth-card { padding: 22px; }
  .bar-row { grid-template-columns: 90px 1fr 36px; }
  .hero-inner { padding-block: 36px 44px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .sidebar, .panel-top, .whatsapp-float { display: none !important; } }

/* Nazeel premium visual layer */
:root {
  --primary: #102b50;
  --primary-700: #091d38;
  --primary-50: #f1f5f9;
  --accent: #e6a23c;
  --accent-700: #c98218;
  --ivory: #f7f5f0;
  --text: #172338;
  --muted: #738096;
  --border: #e4e8ee;
  --shadow: 0 12px 30px rgba(16,43,80,.09);
  --shadow-lg: 0 24px 60px rgba(16,43,80,.17);
}
body { background: var(--ivory); }
.site-header { background: rgba(16,43,80,.96); backdrop-filter: blur(14px); box-shadow: 0 8px 30px rgba(16,43,80,.12); }
.brand { letter-spacing: -.02em; }
.main-nav a { font-size: .9rem; }
.hero { min-height: 560px; display: grid; align-items: center; background-image: linear-gradient(90deg, rgba(8,25,49,.78) 0%, rgba(11,37,70,.5) 42%, rgba(12,37,70,.88) 100%), url('/assets/images/hero-luxury.png'); background-size: cover; background-position: center; overflow: hidden; }
.hero::after { content: ''; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; inset-inline-start: -180px; bottom: -280px; box-shadow: 0 0 0 42px rgba(255,255,255,.025), 0 0 0 84px rgba(255,255,255,.02); pointer-events: none; }
.hero::before { background: linear-gradient(90deg, rgba(16,43,80,.1), rgba(16,43,80,.45)); }
.hero-inner { padding-block: 52px 58px; position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(430px, .9fr); align-items: center; gap: 42px; direction: ltr; }
.hero-copy { grid-column: 2; grid-row: 1; width: 100%; margin-inline-start: auto; direction: rtl; text-align: right; position: relative; z-index: 2; }
.search-box { grid-column: 1; grid-row: 1; direction: rtl; margin: 0; align-self: center; transform: translateY(-85px); }
.search-box::before { content: 'ابحث عن إقامتك القادمة'; display: block; color: var(--primary); font-size: 1.05rem; font-weight: 800; margin-bottom: 18px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: .92rem; font-weight: 800; margin-bottom: 18px; }
.hero-kicker::before { content: ''; width: 34px; height: 2px; background: var(--accent); }
.hero h1 { font-size: clamp(2.45rem, 4.6vw, 4rem); line-height: 1.2; letter-spacing: -.055em; max-width: 16ch; margin-inline-start: auto; }
.hero p.lead { font-size: 1.18rem; max-width: 52ch; line-height: 1.95; margin-inline-start: auto; }
.hero-showcase { grid-column: 1; grid-row: 1; min-height: 330px; position: relative; display: grid; place-items: center; }
.showcase-glow { position: absolute; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(230,162,60,.38), rgba(230,162,60,0)); filter: blur(4px); }
.showcase-card { position: absolute; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; width: 240px; padding: 18px; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; background: rgba(255,255,255,.11); backdrop-filter: blur(16px); box-shadow: 0 20px 45px rgba(0,0,0,.2); color: #fff; transform: rotate(-7deg); }
.showcase-card strong, .showcase-card small { grid-column: 2; }
.showcase-card strong { font-size: 1rem; }
.showcase-card small { color: rgba(255,255,255,.68); margin-top: 3px; }
.showcase-icon { grid-row: 1 / span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--accent); color: var(--primary); }
.showcase-icon svg { width: 22px; height: 22px; }
.showcase-card-main { margin-inline-start: -80px; margin-block-start: -70px; }
.showcase-card-mini { width: 205px; margin-inline-start: 140px; margin-block-start: 135px; transform: rotate(8deg); }
.search-box { grid-column: 1 / -1; grid-row: 2; border: 1px solid rgba(255,255,255,.8); border-radius: 24px; padding: 22px; box-shadow: 0 25px 70px rgba(2,15,34,.28); margin-top: 38px; }
.search-box .input, .search-box .select { min-height: 48px; padding-inline: 10px; font-size: .9rem; border-color: #e7ebf0; }
.section { padding-block: 78px; }
.section:nth-of-type(even) { background: #fff; }
.section-head { margin-bottom: 30px; }
.section-head h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); letter-spacing: -.03em; }
.section-head p { font-size: 1rem; }
.prop-card { border: 0; border-radius: 20px; box-shadow: 0 5px 18px rgba(16,43,80,.07); }
.prop-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.prop-media { aspect-ratio: 1.18 / 1; }
.prop-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5,18,36,.18)); pointer-events: none; }
.prop-body { padding: 18px; }
.prop-title { font-size: 1.1rem; }
.price { color: var(--accent-700); }
.city-card { border-radius: 22px; box-shadow: var(--shadow); }
.city-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(20,43,74,.14); }

/* Compact city directory: six desktop / three mobile */
.cities-grid { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: 22px 24px !important; }
.cities-grid .city-card { min-width: 0; min-height: 0; height: 118px; padding: 10px 6px; border-radius: 18px; background: #fff; border: 1px solid #edf1f5; box-shadow: 0 8px 22px rgba(20,43,74,.08); }
.cities-grid .city-card img, .cities-grid .city-card__placeholder { width: 76px; height: 76px; border-radius: 16px; object-fit: cover; }
.cities-grid .city-card__placeholder svg { width: 58px; height: 58px; opacity: 1; }
.cities-grid .city-card .info { line-height: 1.25; }
.cities-grid .city-card h3 { font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.cities-grid .city-card span { font-size: .74rem; }
@media (max-width: 650px) {
  .cities-grid { width: 100%; max-width: 100%; box-sizing: border-box; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 18px 8px !important; overflow: hidden; }
  .cities-grid .city-card { width: 100%; min-width: 0; height: auto; padding: 0; border-radius: 0; background: transparent; border: 0; box-shadow: none; }
  .cities-grid .city-card img, .cities-grid .city-card__placeholder { display: block; width: min(64px, 100%); height: min(64px, 100%); aspect-ratio: 1; margin-inline: auto; border-radius: 18px; }
  .cities-grid .city-card__placeholder svg { width: 48px; height: 48px; }
  .cities-grid .city-card .info { width: 100%; min-width: 0; margin-top: 6px; }
  .cities-grid .city-card h3 { font-size: .76rem; }
  .cities-grid .city-card span { font-size: .66rem; }
}
@media (min-width: 651px) {
  .cities-grid .city-card { height: auto; padding: 0; border-radius: 0; background: transparent; border: 0; box-shadow: none; }
  .cities-grid .city-card img, .cities-grid .city-card__placeholder { width: 86px; height: 86px; border-radius: 22px; }
  .cities-grid .city-card .info { margin-top: 7px; }
}
.type-card { border: 0; box-shadow: 0 5px 18px rgba(16,43,80,.05); padding: 20px; }
.step { border: 0; box-shadow: 0 5px 18px rgba(16,43,80,.05); }
.step::before { background: var(--accent); color: #3a260b; box-shadow: 0 5px 14px rgba(230,162,60,.25); }
.cta-band { box-shadow: var(--shadow-lg); background: linear-gradient(135deg, #102b50, #1d4b78); }
.listing-page { padding-block: 36px 80px; }
.listing-hero { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-block: 24px 30px; }
.properties-hero { position: relative; min-height: 285px; display: flex; align-items: center; overflow: hidden; color: #fff; background: var(--primary) url('/assets/images/hero-luxury.png') center/cover no-repeat; isolation: isolate; }
.properties-hero__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,43,74,.94), rgba(20,43,74,.64) 56%, rgba(20,43,74,.38)); }
.properties-hero__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 42px; }
.properties-hero__copy { max-width: 650px; }
.properties-hero__eyebrow { display: block; margin-bottom: 10px; color: var(--accent); font-size: .88rem; font-weight: 800; }
.properties-hero h1 { margin: 0 0 10px; color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.04em; }
.properties-hero p { margin: 0; color: rgba(255,255,255,.84); font-size: 1.02rem; line-height: 1.8; }
.properties-hero__count { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 150px; min-height: 120px; padding: 18px; border: 1px solid rgba(255,255,255,.25); border-radius: 20px; background: rgba(255,255,255,.1); box-shadow: 0 18px 38px rgba(0,0,0,.16); backdrop-filter: blur(12px); }
.properties-hero__count strong { color: var(--accent); font-size: 2.3rem; line-height: 1; }
.properties-hero__count span { margin-top: 8px; color: rgba(255,255,255,.86); font-size: .9rem; }
@media (max-width: 650px) { .properties-hero { min-height: 270px; } .properties-hero__veil { background: linear-gradient(180deg, rgba(20,43,74,.5), rgba(20,43,74,.93)); } .properties-hero__inner { display: block; padding-block: 34px; } .properties-hero__count { flex-direction: row; gap: 8px; min-width: 0; min-height: auto; width: fit-content; margin-top: 20px; padding: 12px 18px; } .properties-hero__count strong { font-size: 1.6rem; } .properties-hero__count span { margin: 0; } }
.eyebrow { display: inline-block; margin-bottom: 10px; color: var(--accent-700); font-size: .82rem; font-weight: 800; letter-spacing: .08em; }
.listing-hero h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.04em; margin-bottom: 5px; }
.listing-hero p { color: var(--muted); margin: 0; }
.listing-count { display: grid; justify-items: end; color: var(--muted); }
.listing-count strong { color: var(--primary); font-size: 2rem; line-height: 1; }
.filter-bar { display: flex; align-items: center; gap: 12px; padding: 14px; margin-bottom: 30px; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); }
.filter-bar label { display: block; min-width: 190px; flex: 1; }
.filter-bar select, .filter-bar input { width: 100%; min-height: 48px; border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; background: #fbfcfe; }
.filter-search { position: relative; }
.filter-search .icon { position: absolute; inset-inline-start: 14px; top: 14px; color: var(--muted); }
.filter-search input { padding-inline-start: 42px; }
.listing-results { padding-top: 42px; padding-bottom: 42px; }
.property-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pagination-wrap { margin-top: 34px; }
.empty-state { grid-column: 1 / -1; padding: 80px 20px; text-align: center; background: #fff; border-radius: 20px; color: var(--muted); }
@media (max-width: 760px) {
  .hero { min-height: auto; }
  .hero-inner { padding-block: 56px 60px; display: flex; flex-direction: column; gap: 28px; }
  .hero-copy { order: 1; width: 100%; text-align: center; }
  .hero h1, .hero p.lead { margin-inline: auto; }
  .hero-kicker { justify-content: center; }
  .search-box { order: 2; width: 100%; margin-top: 18px; transform: none; }
  .listing-hero { align-items: start; flex-direction: column; }
  .listing-count { justify-items: start; }
  .filter-bar { align-items: stretch; flex-direction: column; }
  .filter-bar label { min-width: 0; }
  .property-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* Owner property form: amenities checklist */
.amenities-card .card-head p { margin: 4px 0 0; color: #64748b; font-size: .9rem; }
.amenity-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.amenity-option { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid #dbe2eb; border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.amenity-option input { width: 18px; height: 18px; accent-color: #f28c18; flex: none; }
.amenity-option:hover { border-color: #f28c18; }
.amenity-option:has(input:checked) { border-color: #f28c18; background: #fff7ec; }

/* ===== Property detail page (pd-*) ===== */
.pd-page { padding-block: 24px 96px; }
.pd-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.pd-back { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; color: var(--primary); font-weight: 700; transition: background-color .2s; }
.pd-back:hover { background: var(--primary-50); }
.pd-actions { display: flex; gap: 8px; align-items: center; }
.pd-iconbtn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--primary); font: inherit; font-size: .92rem; font-weight: 700; cursor: pointer; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.pd-iconbtn:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); color: var(--primary); }
.pd-iconbtn.is-fav { color: var(--danger); background: var(--danger-50); border-color: #f1c4bf; }
.pd-iconbtn.is-fav .icon { fill: currentColor; }
.pd-notice { display: flex; align-items: center; gap: 10px; padding: 12px 16px; margin-bottom: 20px; border-radius: var(--radius-sm); background: var(--info-50); color: var(--info); font-weight: 600; }

 .pd-head { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 22px; direction: rtl; }
 .pd-head-main { flex: 1; min-width: 0; direction: rtl; text-align: right; }
 .pd-head .pd-property-code { flex: 0 0 auto; margin-top: 0; direction: rtl; }
 @media (max-width: 700px) { .pd-head { display: block; direction: rtl; } .pd-head .pd-property-code { width: fit-content; margin-top: 14px; } }
.pd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pd-title { margin: 0 0 14px; color: var(--primary); font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.3; }
.pd-sub { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); }
.pd-sub > span { display: inline-flex; align-items: center; gap: 6px; }
.pd-rating { color: var(--primary); font-weight: 800; }
.pd-rating .icon { color: var(--accent); fill: var(--accent); }

.pd-gallery-wrap { position: relative; margin-bottom: 40px; }
.pd-gallery { display: grid; gap: 8px; height: clamp(280px, 40vw, 480px); border-radius: 24px; overflow: hidden; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; background: var(--primary-50); }
.pd-tile { position: relative; min-width: 0; min-height: 0; padding: 0; border: 0; background: var(--primary-50); overflow: hidden; cursor: zoom-in; }
.pd-tile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pd-tile:hover img { transform: scale(1.04); }
.pd-tile::after { content: ""; position: absolute; inset: 0; background: rgba(20, 43, 74, 0); transition: background-color .25s; }
.pd-tile:hover::after { background: rgba(20, 43, 74, .12); }
.pd-tile:first-child { grid-row: 1 / 3; }
.pd-gallery--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.pd-gallery--1 .pd-tile:first-child { grid-row: auto; }
.pd-gallery--2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.pd-gallery--2 .pd-tile:first-child { grid-row: auto; }
.pd-gallery--3 { grid-template-columns: 2fr 1fr; }
.pd-gallery--4 .pd-tile:nth-child(4) { grid-column: 2 / 4; }
.pd-all-photos { position: absolute; bottom: 16px; inset-inline-end: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border: 1px solid rgba(20, 43, 74, .12); border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--primary); font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; box-shadow: var(--shadow); backdrop-filter: blur(6px); }
.pd-all-photos:hover { background: #fff; }
.lightbox button .icon { width: 1.5em; height: 1.5em; }

.pd-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 56px; align-items: start; }
.pd-content { min-width: 0; }
.pd-host { display: flex; align-items: center; gap: 16px; padding-bottom: 28px; }
.pd-host-avatar { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-size: 1.4rem; font-weight: 800; box-shadow: 0 0 0 4px var(--accent-50); flex: none; }
.pd-host-info { display: flex; flex-direction: column; gap: 2px; }
.pd-host-info strong { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-size: 1.1rem; }
.pd-host-info span { color: var(--muted); font-size: .92rem; }
.pd-verified { color: var(--success); }

.pd-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.pd-fact { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.pd-fact .ico, .pd-info .ico, .pd-note .ico { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--accent-50); color: var(--accent-700); font-size: 1.15rem; }
.pd-fact strong { display: block; color: var(--primary); font-size: 1.25rem; line-height: 1.2; }
.pd-fact small { color: var(--muted); font-size: .85rem; }

.property-reviews { margin-top: 42px; padding: 30px 0 6px; }
.property-reviews__header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.property-reviews__eyebrow { display: block; margin-bottom: 5px; color: var(--accent); font-size: .78rem; font-weight: 800; }
.property-reviews__header p { margin: -8px 0 0; color: var(--muted); font-size: .88rem; }
.property-reviews__average { display: flex; flex-direction: column; align-items: center; min-width: 112px; padding: 14px 16px; border: 1px solid rgba(240,138,36,.3); border-radius: 18px; background: linear-gradient(145deg, rgba(240,138,36,.13), rgba(255,255,255,.7)); }
.property-reviews__average strong { color: var(--primary); font-size: 1.9rem; line-height: 1; }
.property-reviews__average span, .property-review-card__stars { color: #f08a24; letter-spacing: .08em; }
.property-reviews__average small { margin-top: 5px; color: var(--muted); font-size: .72rem; }
.property-reviews__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.property-review-card { padding: 18px; border: 1px solid var(--border); border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgba(20,43,74,.05); }
.property-review-card__top { display: flex; align-items: center; gap: 11px; }
.property-review-card__top > div { display: flex; flex-direction: column; gap: 3px; }
.property-review-card__top strong { color: var(--primary); }
.property-review-card__top span { color: var(--muted); font-size: .76rem; }
.property-review-card__avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--primary); background: rgba(240,138,36,.16); font-weight: 800; }
.property-review-card__stars { margin-top: 13px; font-size: .9rem; }
.property-review-card p { margin: 10px 0 0; color: var(--muted); line-height: 1.8; }
.property-review-card__empty, .property-reviews__empty { color: var(--muted); }

.pd-section { padding-block: 34px 6px; margin-top: 34px; border-top: 1px solid var(--border); }
.pd-h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; color: var(--primary); font-size: 1.4rem; }
.pd-h2 .icon { color: var(--accent-700); }
.pd-lead { margin: 0 0 12px; color: var(--primary); font-size: 1.1rem; font-weight: 600; line-height: 1.8; }
.pd-text { margin: 0 0 24px; color: var(--text); line-height: 2; }
.pd-where { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-weight: 600; }
.pd-hint { display: flex; align-items: center; gap: 8px; margin: 0 0 24px; color: var(--muted); }

.pd-amenities { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.pd-amenities li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); color: var(--text); font-weight: 600; transition: border-color .2s, transform .2s, box-shadow .2s; }
.pd-amenities li:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.pd-amenities .ico { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--primary-50); color: var(--primary); font-size: 1.1rem; }

.pd-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 14px; }
.pd-info > div { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.pd-info small { display: block; color: var(--muted); font-size: .82rem; }
.pd-info strong { color: var(--primary); font-size: 1.1rem; }
.pd-note { display: flex; gap: 14px; padding: 18px; margin-bottom: 14px; border-radius: 18px; background: var(--primary-50); }
.pd-note strong { display: block; margin-bottom: 4px; color: var(--primary); }
.pd-note p { margin: 0; color: var(--text); line-height: 1.9; }
.pd-section:last-child { padding-bottom: 12px; }
.pd-map { display: block; width: 100%; height: 340px; border: 0; border-radius: 20px; margin-bottom: 24px; background: var(--primary-50); }

.pd-aside { position: sticky; top: calc(var(--header-h) + 20px); }
.pd-book { overflow: hidden; border: 1px solid var(--border); border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-lg); }
.pd-book-head { padding: 24px 26px 22px; background: var(--primary); color: #fff; }
.pd-book-head small { display: block; margin-bottom: 6px; color: rgba(255, 255, 255, .72); font-size: .88rem; }
.pd-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pd-price strong { color: var(--accent); font-size: 2rem; line-height: 1.1; }
.pd-price span { color: rgba(255, 255, 255, .8); }
.pd-book-body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 16px; }
.pd-rates { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
 .pd-rates li { display: flex; justify-content: space-between; align-items: center; padding: 11px 16px; color: var(--muted); }
 .pd-rates li + li { border-top: 1px solid var(--border); }
 .pd-rates strong { color: var(--primary); white-space: nowrap; }
 .pd-rates .pd-rate-holiday { align-items: flex-start; background: rgba(240, 138, 36, .07); }
 .pd-rate-holiday span { display: flex; flex-direction: column; gap: 3px; line-height: 1.45; }
 .pd-rate-holiday span b { color: var(--primary); font-size: .9rem; font-weight: 700; }
 .pd-rate-holiday span small { color: #d87518; font-size: .76rem; font-weight: 700; }
.pd-dates { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-radius: 16px; background: var(--accent-50); color: var(--accent-700); }
.pd-dates small { display: block; color: var(--muted); font-size: .8rem; }
.pd-dates strong { color: var(--primary); font-size: .95rem; }
.pd-cta { width: 100%; justify-content: center; gap: 10px; }
.pd-trust { list-style: none; margin: 4px 0 0; padding: 16px 0 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; }
.pd-trust li { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.pd-trust .icon { margin-top: 3px; color: var(--success); }

.pd-similar { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--border); }
.pd-mobilebar { display: none; }

@media (max-width: 980px) {
  .pd-layout { grid-template-columns: 1fr; gap: 32px; }
  .pd-aside { position: static; }
  .pd-mobilebar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; inset-inline: 0; bottom: 0; z-index: 40; padding: 12px 16px; background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -8px 24px rgba(20, 43, 74, .1); }
  .pd-mobilebar-price { display: flex; flex-direction: column; line-height: 1.3; }
  .pd-mobilebar-price strong { color: var(--primary); font-size: 1.15rem; }
  .pd-mobilebar-price span { color: var(--muted); font-size: .82rem; }
  body:has(.pd-mobilebar) { padding-bottom: 76px; }
  body:has(.pd-mobilebar) .whatsapp-float { bottom: 92px; }
}
@media (max-width: 760px) {
  .pd-page { padding-top: 12px; }
  .pd-btn-label { display: none; }
  .pd-iconbtn { width: 42px; padding: 0; justify-content: center; }
  .pd-gallery, .pd-gallery--2, .pd-gallery--3 { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 300px; border-radius: 18px; }
  .pd-tile:not(:first-child) { display: none; }
  .pd-tile:first-child { grid-row: auto; }
  .pd-facts { grid-template-columns: 1fr 1fr; }
  .pd-section { margin-top: 26px; padding-top: 26px; }
}

/* الخرائط */
.card-sub { margin: 4px 0 0; color: #64748b; font-size: .9rem; font-weight: 400; }
.field-error { color: #c0392b; font-size: .82rem; font-weight: 600; }
.map-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; }
.map-search { display: flex; flex: 1 1 320px; gap: 10px; }
.map-search input { flex: 1; min-width: 0; min-height: 44px; padding: 10px 14px; border: 1px solid #dbe2eb; border-radius: 12px; background: #fff; color: #172b4d; font: inherit; outline: none; }
.map-search input:focus { border-color: #f28c18; box-shadow: 0 0 0 4px rgba(242, 140, 24, .12); }
.owner-map { position: relative; z-index: 0; isolation: isolate; width: 100%; height: 380px; border: 1px solid #dbe2eb; border-radius: 16px; background: var(--primary-50); overflow: hidden; }
.map-status { margin: 10px 0 20px; color: var(--muted); font-size: .9rem; line-height: 1.7; }
.map-status.is-error { color: #c0392b; }
.map-hint { margin: 4px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.8; }
.map-pin span { display: block; width: 34px; height: 34px; border: 3px solid #fff; border-radius: 50% 50% 50% 0; background: var(--accent); box-shadow: 0 6px 14px rgba(15, 39, 72, .35); transform: rotate(-45deg); }
.map-pin span::after { content: ''; position: absolute; inset: 11px; border-radius: 50%; background: #fff; }

.pd-map-wrap { position: relative; margin-bottom: 24px; }
.pd-map-wrap .pd-map { position: relative; z-index: 0; isolation: isolate; height: 380px; margin-bottom: 0; border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden; }
.pd-map-open { position: absolute; inset-block-start: 14px; inset-inline-start: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--surface); color: var(--primary); font-size: .88rem; font-weight: 700; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.pd-map-open:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.pd-pin span { display: grid; place-items: center; width: 46px; height: 46px; border: 3px solid #fff; border-radius: 50%; background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(15, 39, 72, .4); }
@media (max-width: 760px) {
  .owner-map, .pd-map-wrap .pd-map { height: 300px; }
}

/* ===== صفحة طلب الحجز ===== */
.bk-page { max-width: 1180px; padding-block: 28px 80px; }
.bk-back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 700; font-size: .95rem; margin-bottom: 18px; }
.bk-back:hover { color: var(--primary); }
.bk-header { margin-bottom: 28px; max-width: 640px; }
.bk-eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 999px; background: var(--accent-50); color: #8a5a00; font-size: .85rem; font-weight: 800; }
.bk-header h1 { margin: 14px 0 8px; font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -.02em; }
.bk-header p { margin: 0; color: var(--muted); font-size: 1.05rem; }

.bk-alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; margin-bottom: 22px; border: 1px solid #f3c6c1; border-radius: var(--radius); background: var(--danger-50); color: var(--danger); }
.bk-alert .icon { margin-top: 3px; }
.bk-alert strong { display: block; margin-bottom: 4px; }
.bk-alert ul { margin: 0; padding-inline-start: 18px; font-size: .92rem; }

.bk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 28px; align-items: start; }
.bk-form { display: flex; flex-direction: column; gap: 20px; }
.bk-card { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 28px; box-shadow: var(--shadow-sm); }
.bk-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.bk-card-head h2 { margin: 0; font-size: 1.2rem; }
.bk-card-head p { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.bk-step { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 800; }

.bk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.bk-span { grid-column: 1 / -1; }
.bk-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.bk-field > label { color: var(--primary); font-weight: 800; font-size: .95rem; }
.bk-field > label em { color: var(--muted); font-style: normal; font-weight: 500; font-size: .85rem; }
.bk-hint { color: var(--muted); font-size: .85rem; }
.bk-error { color: var(--danger); font-size: .85rem; font-weight: 700; }

.bk-input { position: relative; display: flex; align-items: center; }
.bk-input > .icon { position: absolute; inset-inline-start: 14px; color: var(--muted); pointer-events: none; }
.bk-input input, .bk-field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #d9dfe8; border-radius: 14px; background: #fbfcfd; color: var(--text); transition: border-color .2s, box-shadow .2s, background .2s; }
.bk-input input { padding-inline-start: 44px; }
.bk-input input[dir="ltr"] { text-align: right; padding-inline-start: 14px; padding-inline-end: 14px; padding-right: 44px; }
.bk-input input[dir="ltr"]::placeholder { text-align: right; }
.bk-field textarea { resize: vertical; min-height: 120px; line-height: 1.7; }
.bk-input input:focus, .bk-field textarea:focus { outline: none; background: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(245, 166, 35, .18); }

.bk-pills { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.bk-pill { position: relative; cursor: pointer; }
.bk-pill input, .bk-contact-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.bk-pill span { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border: 1.5px solid #d9dfe8; border-radius: 14px; background: #fff; transition: all .2s; }
.bk-pill strong { color: var(--primary); }
.bk-pill small { color: var(--muted); font-size: .82rem; }
.bk-pill:hover span { border-color: var(--accent); }
.bk-pill input:checked + span { border-color: var(--accent); background: var(--accent-50); box-shadow: 0 0 0 3px rgba(245, 166, 35, .18); }
.bk-pill input:focus-visible + span, .bk-contact-opt input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }

.bk-stepper { display: flex; align-items: center; gap: 12px; }
.bk-stepper-btn { width: 52px; height: 52px; flex: none; border-radius: 14px; border: 1px solid #d9dfe8; background: #fff; color: var(--primary); font-size: 1.4rem; font-weight: 700; display: grid; place-items: center; cursor: pointer; transition: all .2s; }
.bk-stepper-btn:hover { border-color: var(--accent); background: var(--accent-50); }
.bk-stepper-value { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border: 1px solid #d9dfe8; border-radius: 14px; background: #fbfcfd; color: var(--muted); }
.bk-stepper-value input { width: 56px; min-height: 0; border: 0; background: transparent; text-align: center; font-size: 1.25rem; font-weight: 800; color: var(--primary); padding: 0; -moz-appearance: textfield; }
.bk-stepper-value input::-webkit-outer-spin-button, .bk-stepper-value input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bk-stepper-value input:focus { outline: none; }

.bk-contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bk-contact-opt { position: relative; cursor: pointer; }
.bk-contact-opt span { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 10px; border: 1.5px solid #d9dfe8; border-radius: 14px; background: #fff; color: var(--primary); font-weight: 700; transition: all .2s; }
.bk-contact-opt:hover span { border-color: var(--accent); }
.bk-contact-opt input:checked + span { border-color: var(--primary); background: var(--primary); color: #fff; }

.bk-consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 20px; padding: 16px; border-radius: 14px; background: var(--primary-50); color: var(--primary); font-weight: 600; cursor: pointer; }
.bk-consent input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--primary); }
.bk-submit { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 58px; margin-top: 20px; border: 0; border-radius: 16px; background: var(--accent); color: #2a1c00; font-size: 1.1rem; font-weight: 800; cursor: pointer; box-shadow: 0 12px 24px rgba(245, 166, 35, .3); transition: background .2s, transform .2s, box-shadow .2s; }
.bk-submit:hover { background: var(--accent-700); color: #fff; transform: translateY(-1px); }
.bk-submit-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0; color: var(--muted); font-size: .88rem; text-align: center; }

.bk-aside { position: sticky; top: calc(var(--header-h) + 20px); }
.bk-summary { overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow); }
.bk-summary-media { position: relative; aspect-ratio: 16 / 10; background: var(--primary-50); }
.bk-summary-media img { width: 100%; height: 100%; object-fit: cover; }
.bk-summary-tag { position: absolute; top: 14px; inset-inline-start: 14px; padding: 4px 14px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--primary); font-size: .82rem; font-weight: 800; }
.bk-summary-body { padding: 22px; }
.bk-summary-body h3 { margin: 0 0 6px; font-size: 1.15rem; }
.bk-summary-loc { display: flex; align-items: center; gap: 6px; margin: 0 0 16px; color: var(--muted); font-size: .92rem; }
.bk-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; }
.bk-facts li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--primary-50); color: var(--primary); font-size: .85rem; font-weight: 700; }
.bk-facts .icon { color: var(--accent-700); }
.bk-times { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.bk-times > div { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--border); border-radius: 14px; }
.bk-times .icon { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--accent-50); color: var(--accent-700); }
.bk-times span { display: flex; flex-direction: column; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.bk-times strong { color: var(--primary); font-size: 1rem; }
.bk-price { margin: 0; padding: 16px 0; border-block: 1px dashed var(--border); }
.bk-price > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.bk-price dt { color: var(--muted); }
.bk-price dd { margin: 0; color: var(--primary); font-weight: 700; }
.bk-price .bk-total { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--border); }
.bk-price .bk-total dt { color: var(--primary); font-weight: 800; }
.bk-price .bk-total dd { color: var(--accent-700); font-size: 1.3rem; font-weight: 800; }
.bk-price-note { margin: 10px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.bk-trust { list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: .9rem; }
.bk-trust li { display: flex; align-items: flex-start; gap: 10px; }
.bk-trust .icon { margin-top: 3px; color: var(--success); }

@media (max-width: 960px) {
  .bk-layout { grid-template-columns: minmax(0, 1fr); }
  .bk-aside { position: static; order: -1; }
  .bk-summary-media { aspect-ratio: 16 / 7; }
}
@media (max-width: 600px) {
  .bk-card { padding: 20px 16px; border-radius: 18px; }
  .bk-grid { grid-template-columns: minmax(0, 1fr); }
  .bk-contact { grid-template-columns: minmax(0, 1fr); }
}

/* رمز QR ورقم العقار */
.pd-property-code { display: inline-flex; align-items: center; gap: 16px; margin-top: 18px; padding: 10px 14px 10px 10px; border: 1px solid var(--border); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.pd-property-code img { display: block; width: 112px; height: 112px; padding: 5px; border-radius: 10px; background: #fff; }
.pd-property-code div { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-width: 92px; text-align: center; direction: rtl; }
.pd-property-code span { display: block; color: var(--muted); font-size: .82rem; white-space: nowrap; }
.pd-property-code strong { display: block; color: #f08a24; font-size: 1.35rem; letter-spacing: .08em; direction: ltr; text-align: center; }
@media (max-width: 600px) { .pd-property-code { margin-top: 14px; } .pd-property-code img { width: 96px; height: 96px; } }
