: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: 50; 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(4, minmax(0, 1fr)); gap: 12px; }
.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 */
.city-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; display: block; color: #fff; background: var(--primary); }
 .city-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
 .city-card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, #31578c, var(--primary) 65%); color: rgba(255,255,255,.85); }
 .city-card__placeholder svg { width: 72px; height: 72px; opacity: .3; }
 .city-card:hover img { transform: scale(1.06); }
.city-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(20, 43, 74, .88)); }
.city-card .info { position: absolute; z-index: 1; bottom: 0; inset-inline: 0; padding: 16px; }
.city-card h3 { color: #fff; margin: 0; }
.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; }
.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; } .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: hidden; background: #fff; }
.panel-card .table { margin: 0; }
.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; } }
.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: 32px 80px; } .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; }
.panel-toggle { 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; top: 0; bottom: 0; inset-inline-start: 0; width: min(320px, 86vw); background: var(--primary); color: #fff; flex-direction: column; align-items: stretch; padding: 70px 16px 24px; gap: 4px; transform: translateX(110%); transition: transform .25s ease; z-index: 100; overflow-y: auto; box-shadow: 0 0 30px rgba(0,0,0,.25); }
  html[dir="rtl"] .main-nav { transform: translateX(100%); }
  .main-nav.open { transform: none !important; }
  .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, .5); z-index: 65; }
  .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; }
  .sidebar { position: fixed; inset-block: 0; inset-inline-start: 0; width: 270px; z-index: 85; transform: translateX(100%); transition: transform .25s; }
  .sidebar.open { transform: none; }
  .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: 52px; 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(-6px); box-shadow: var(--shadow-lg); }
.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; }
.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; }
.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; }
}
