/* ==========================================================================
   Onwani Properties — main stylesheet
   Black & gold brand system. Logical properties keep RTL layout automatic;
   main-rtl.css only swaps fonts and letter-spacing.
   ========================================================================== */

:root {
	--gold: #C9A85C;
	--gold-light: #D4B872;
	--gold-dark: #8A6D2E;
	--gold-soft: #E0C98A;
	--black: #0B0B0B;
	--ink: #1C1A16;
	--muted: #6B6355;
	--ivory: #F4EFE4;
	--cream: #F6F2EA;
	--line: #E6DFCF;
	--white: #FFFFFF;
	--font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--font-body: 'Jost', 'Segoe UI', Helvetica, Arial, sans-serif;
	--container: 1280px;
	--gutter: 24px;
	--radius: 2px;
	--shadow: 0 20px 50px rgba(11, 11, 11, .08);
	--header-h: 80px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; margin: 0; }
p { margin: 0 0 1em; }
a { color: var(--gold-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; }
::selection { background: var(--gold); color: var(--black); }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(800px + var(--gutter) * 2); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 12px; inset-inline-start: 12px; z-index: 100; width: auto; height: auto; clip: auto; padding: 12px 18px; background: var(--gold); color: var(--black); }
.onw-icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Typography helpers ---------------------------------------------------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-dark); font-weight: 500; }
.eyebrow__line { display: inline-block; width: 32px; height: 1px; background: var(--gold); }
.section--dark .eyebrow, .hero .eyebrow, .page-head .eyebrow { color: var(--gold); }

/* Buttons & links ------------------------------------------------------- */
.onw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border: 1px solid transparent; border-radius: var(--radius); font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); white-space: nowrap; }
.onw-btn:hover { transform: translateY(-1px); }
.onw-btn--gold { background: var(--gold); color: var(--black); border-color: var(--gold); }
.onw-btn--gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.onw-btn--dark { background: var(--black); color: var(--gold); border-color: var(--black); }
.onw-btn--dark:hover { color: var(--gold-light); }
.onw-btn--ghost { background: transparent; color: var(--ivory); border-color: rgba(244, 239, 228, .45); }
.onw-btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.onw-btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.onw-btn--outline:hover { background: var(--ink); color: var(--gold); }
.onw-btn--outline-dark { background: transparent; color: var(--black); border-color: var(--black); }
.onw-btn--outline-dark:hover { background: var(--black); color: var(--gold); }
.onw-btn--sm { padding: 10px 16px; font-size: 12px; letter-spacing: .14em; }
.onw-btn--lg { padding: 18px 34px; }
.onw-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); text-decoration: none; }
.onw-link:hover { color: var(--ink); }
.section--dark .onw-link { color: var(--gold); }

/* Header ---------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--black); color: var(--ivory); border-bottom: 1px solid rgba(201, 168, 92, .25); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ivory); }
.brand__symbol { height: 46px; width: auto; }
.brand__logo { height: 52px; width: auto; }
.brand__name { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.site-nav__list { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.site-nav__list li { position: relative; }
.site-nav__list a { display: inline-block; padding: 8px 0; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: rgba(244, 239, 228, .85); transition: color .2s; }
.site-nav__list a:hover, .site-nav__list .current-menu-item > a, .site-nav__list .current-menu-ancestor > a { color: var(--gold); }
.site-nav__list .sub-menu { position: absolute; top: 100%; inset-inline-start: -16px; min-width: 220px; margin: 0; padding: 12px 0; list-style: none; background: var(--black); border: 1px solid rgba(201, 168, 92, .25); display: none; z-index: 5; }
.site-nav__list .sub-menu a { display: block; padding: 8px 20px; }
.site-nav__list li:hover > .sub-menu, .site-nav__list li:focus-within > .sub-menu { display: block; }
.site-nav__extra { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; gap: 6px; }
.lang-switch__link { display: inline-flex; align-items: center; padding: 8px 12px; border: 1px solid rgba(201, 168, 92, .5); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); text-decoration: none; transition: background-color .2s, color .2s; }
.lang-switch__link:hover { background: var(--gold); color: var(--black); }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(201, 168, 92, .5); background: transparent; color: var(--gold); cursor: pointer; }
.nav-toggle__close, .nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-flex; }

/* Hero ------------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; background: var(--black); color: var(--ivory); padding: 120px 0 96px; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.hero__watermark { position: absolute; top: -40px; inset-inline-end: -120px; width: 560px; height: auto; opacity: .06; pointer-events: none; }
.hero__skyline { position: absolute; inset-inline: 0; bottom: 0; color: var(--gold); opacity: .4; pointer-events: none; }
.skyline { display: block; width: 100%; height: auto; }
.hero__inner { position: relative; z-index: 1; }
.hero__content { max-width: 760px; }
.hero__title { font-size: clamp(44px, 6.4vw, 88px); line-height: 1.02; letter-spacing: -.01em; margin: 22px 0 24px; }
.hero__title em { font-style: italic; color: var(--gold); }
.hero__text { font-size: 19px; line-height: 1.6; max-width: 560px; color: rgba(244, 239, 228, .78); margin: 0 0 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__search { margin-top: 64px; background: var(--white); color: var(--ink); padding: 8px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }

/* Search bar ------------------------------------------------------------ */
.onw-search--bar { display: flex; align-items: stretch; }
.onw-search__field { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 14px 22px; border-inline-end: 1px solid var(--line); }
.onw-search__field label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.onw-search__field select { width: 100%; border: 0; background: transparent; padding: 2px 24px 2px 0; font: inherit; font-size: 16px; color: var(--ink); appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A6D2E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; }
.onw-search__submit { border-radius: 0; padding-inline: 36px; align-self: stretch; }
.onw-search--stack { display: flex; flex-direction: column; gap: 12px; }
.onw-search--stack .onw-search__field { border: 1px solid var(--line); background: var(--white); }

/* Sections -------------------------------------------------------------- */
.section { padding: 96px 0; }
.section--tight { padding: 56px 0 96px; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--dark { background: var(--black); color: var(--ivory); }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: 48px; }
.section__intro { flex: 1 1 440px; }
.section__title { font-size: clamp(34px, 4vw, 54px); line-height: 1.08; margin-top: 12px; }
.section__text { flex: 1 1 320px; max-width: 520px; margin: 0; color: var(--muted); }
.section__head--dark .section__text { color: rgba(244, 239, 228, .7); }
.section__link { flex: 0 0 auto; }

/* Services -------------------------------------------------------------- */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.service { display: flex; flex-direction: column; gap: 14px; padding: 36px 32px; background: var(--white); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.service__icon { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--gold); color: var(--gold-dark); }
.service__title { font-size: 30px; }
.service__text { flex: 1; margin: 0; color: var(--muted); font-size: 16px; }

/* Grids & cards --------------------------------------------------------- */
.onw-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.onw-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.onw-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.onw-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.onw-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.onw-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.onw-card__media { position: relative; display: block; aspect-ratio: 8 / 5; overflow: hidden; background: var(--ink); }
.onw-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.onw-card:hover .onw-card__media img { transform: scale(1.04); }
.onw-card__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: linear-gradient(160deg, #1C1A16, #0B0B0B); color: rgba(201, 168, 92, .7); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.onw-card__badges { position: absolute; top: 16px; inset-inline-start: 16px; display: flex; gap: 8px; z-index: 1; }
.onw-badge { display: inline-block; padding: 6px 10px; background: var(--gold); color: var(--black); font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; line-height: 1.2; }
.onw-badge--light { background: var(--ivory); }
.onw-badge--ghost { background: rgba(11, 11, 11, .6); color: var(--ivory); border: 1px solid rgba(244, 239, 228, .35); }
.onw-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 24px; }
.onw-card__title { font-size: 26px; line-height: 1.15; }
.onw-card__title a { color: var(--ink); text-decoration: none; }
.onw-card__title a:hover { color: var(--gold-dark); }
.onw-card__location { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: var(--muted); }
.onw-card__location .onw-icon { color: var(--gold-dark); }
.onw-card__specs { display: flex; flex-wrap: wrap; gap: 16px; list-style: none; margin: 4px 0 0; padding: 0; font-size: 14px; }
.onw-card__specs li { display: inline-flex; align-items: center; gap: 6px; }
.onw-card__specs .onw-icon { color: var(--gold-dark); }
.onw-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.onw-card__price { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--gold-dark); }
.onw-card__meta { font-size: 13px; color: var(--muted); }

/* Community tiles ------------------------------------------------------- */
.onw-tile { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 250px; padding: 24px; border: 1px solid rgba(201, 168, 92, .3); background: linear-gradient(180deg, #1C1A16 0%, #0B0B0B 100%); color: var(--ivory); text-decoration: none; overflow: hidden; transition: transform .25s var(--ease), border-color .25s; }
.onw-tile::before { content: ""; position: absolute; inset: auto -30% -40% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(201, 168, 92, .18); z-index: -1; }
.onw-tile:hover { transform: translateY(-4px); border-color: var(--gold); }
.onw-tile__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; z-index: -1; transition: transform .6s var(--ease); }
.onw-tile--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 11, 0) 30%, rgba(11, 11, 11, .9) 100%); z-index: -1; }
.onw-tile:hover .onw-tile__image { transform: scale(1.05); }
.onw-tile__name { font-family: var(--font-display); font-size: 28px; line-height: 1.1; }
.onw-tile__meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.onw-tile__count { color: rgba(244, 239, 228, .6); letter-spacing: .04em; text-transform: none; }

/* Agents ---------------------------------------------------------------- */
.onw-agent { display: flex; flex-direction: column; gap: 16px; padding: 24px; background: var(--white); border: 1px solid var(--line); }
.onw-agent__photo { display: block; aspect-ratio: 1; overflow: hidden; background: var(--ink); }
.onw-agent__photo img { width: 100%; height: 100%; object-fit: cover; }
.onw-agent__placeholder { display: grid; place-items: center; width: 100%; height: 100%; min-height: 96px; color: var(--gold); background: linear-gradient(160deg, #1C1A16, #0B0B0B); }
.onw-agent--compact { flex-direction: row; align-items: flex-start; }
.onw-agent--compact .onw-agent__photo { flex: 0 0 96px; width: 96px; }
.onw-agent__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.onw-agent__name { font-size: 24px; }
.onw-agent__name a { color: var(--ink); text-decoration: none; }
.onw-agent__title { margin: 0; font-size: 14px; color: var(--gold-dark); letter-spacing: .06em; text-transform: uppercase; }
.onw-agent__meta { margin: 0; font-size: 14px; color: var(--muted); }
.onw-agent__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

/* Forms ----------------------------------------------------------------- */
.onw-field label { display: block; margin-bottom: 6px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.onw-field input, .onw-field select, .onw-field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); font: inherit; font-size: 16px; transition: border-color .2s; }
.onw-field input:focus, .onw-field select:focus, .onw-field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 168, 92, .2); }
.onw-field textarea { resize: vertical; min-height: 96px; }
.onw-field select { appearance: none; -webkit-appearance: none; padding-inline-end: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A6D2E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.onw-lead__title { font-size: 28px; margin-bottom: 20px; }
.onw-lead__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.onw-field--full { grid-column: 1 / -1; }
.onw-lead__submit { width: 100%; margin-top: 20px; }
.onw-lead__note { margin: 12px 0 0; font-size: 12px; color: var(--muted); }
.cf-turnstile { margin-top: 16px; }

/* Contact band ---------------------------------------------------------- */
.cta { background: var(--gold); color: var(--black); padding: 88px 0; }
.cta__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 64px; align-items: start; }
.cta__title { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.05; margin-bottom: 16px; }
.cta__text { max-width: 460px; margin-bottom: 32px; font-size: 18px; color: rgba(11, 11, 11, .8); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta__email { margin: 24px 0 0; }
.cta__email a { color: var(--black); text-decoration: none; border-bottom: 1px solid rgba(11, 11, 11, .4); }
.cta__form { background: var(--black); color: var(--ivory); padding: 40px; }
.cta__form .onw-field label { color: rgba(244, 239, 228, .7); }
.cta__form .onw-field input, .cta__form .onw-field select, .cta__form .onw-field textarea { background-color: rgba(255, 255, 255, .06); border-color: rgba(244, 239, 228, .25); color: var(--ivory); }
.cta__form .onw-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23C9A85C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.cta__form .onw-field select option { color: var(--ink); }
.cta__form .onw-lead__note { color: rgba(244, 239, 228, .55); }
.cta__form .onw-lead__message--success { color: var(--gold-soft); }
.cta__form .onw-lead__message--error { color: #F1A29A; }

/* Footer ---------------------------------------------------------------- */
.site-footer { background: var(--black); color: rgba(244, 239, 228, .75); padding: 80px 0 32px; border-top: 3px solid var(--gold); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; }
.site-footer__logo { height: 132px; width: auto; }
.site-footer__arabic { font-family: 'Reem Kufi', var(--font-body); font-size: 22px; color: var(--gold); margin: 16px 0 8px; }
.site-footer__about { max-width: 320px; margin: 0; font-size: 15px; }
.site-footer__heading { margin: 0 0 20px; font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.site-footer__menu, .site-footer__rows, .site-footer__social { display: flex; flex-direction: column; gap: 12px; list-style: none; margin: 0; padding: 0; }
.site-footer a { color: rgba(244, 239, 228, .85); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--gold); }
.site-footer__rows li { display: flex; align-items: flex-start; gap: 10px; }
.site-footer__icon { color: var(--gold); margin-top: 6px; }
.site-footer__social { flex-direction: row; flex-wrap: wrap; gap: 18px; margin-top: 20px; }
.site-footer__social a { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(201, 168, 92, .25); font-size: 13px; color: rgba(244, 239, 228, .5); }

/* Floating WhatsApp ----------------------------------------------------- */
.wa-float { position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 60; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: var(--white); box-shadow: 0 12px 30px rgba(0, 0, 0, .28); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.06); }

/* Page head ------------------------------------------------------------- */
.page-head { background: var(--black); color: var(--ivory); padding: 72px 0 56px; border-bottom: 1px solid rgba(201, 168, 92, .25); }
.page-head__title { font-size: clamp(36px, 5vw, 62px); line-height: 1.05; margin-top: 10px; }
.page-head__meta { margin: 14px 0 0; color: rgba(244, 239, 228, .65); }

/* Filters, pagination, empty states ------------------------------------ */
.filters { background: var(--white); border: 1px solid var(--line); padding: 24px; margin-bottom: 40px; }
.filters__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.filters__actions { display: flex; align-items: center; gap: 24px; margin-top: 20px; }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 14px; text-decoration: none; }
.page-numbers.current { background: var(--black); color: var(--gold); border-color: var(--black); }
a.page-numbers:hover { border-color: var(--gold); }
.empty-state { padding: 56px 32px; background: var(--white); border: 1px solid var(--line); text-align: center; }
.empty-state__title { font-size: 32px; margin-bottom: 12px; }
.empty-state__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px; margin-top: 20px; }

/* Gallery & single listing ---------------------------------------------- */
.property__gallery { background: var(--black); padding: 32px 0; }
.gallery__main { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 8px; padding-bottom: 4px; overflow-x: auto; scroll-snap-type: x mandatory; }
.gallery__thumb { flex: 0 0 120px; aspect-ratio: 3 / 2; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; opacity: .6; scroll-snap-align: start; transition: opacity .2s; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active, .gallery__thumb:hover { opacity: 1; }
.gallery__thumb.is-active { border-color: var(--gold); }
.property__layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; align-items: start; }
.property__side { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 24px; }
.property__title { font-size: clamp(34px, 4.5vw, 56px); line-height: 1.05; margin: 12px 0 16px; }
.property__pricing { display: flex; flex-wrap: wrap; align-items: baseline; gap: 20px; }
.property__price { font-family: var(--font-display); font-size: 34px; font-weight: 600; color: var(--gold-dark); }
.property__ref { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.property__specs { display: flex; flex-wrap: wrap; gap: 16px 32px; list-style: none; margin: 28px 0; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.property__specs li { display: inline-flex; align-items: center; gap: 10px; }
.property__specs .onw-icon, .property__amenities .onw-icon { color: var(--gold-dark); }
.property__subtitle { font-size: 30px; margin: 44px 0 16px; }
.property__amenities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; list-style: none; margin: 0; padding: 0; }
.property__amenities li { display: flex; align-items: center; gap: 10px; }
.property__details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; }
.property__details > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.property__details dt { color: var(--muted); font-size: 14px; }
.property__details dd { margin: 0; font-weight: 500; text-align: end; }
.property__details--top { margin-bottom: 32px; }
.property__video iframe, .property__map iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.property__map { margin-bottom: 12px; }
.property__form, .property__calc { background: var(--cream); border: 1px solid var(--line); padding: 28px; }
.property__calc-title { font-size: 26px; margin-bottom: 16px; }
.onw-calc__value { font-family: var(--font-display); font-size: 34px; color: var(--gold-dark); }
.onw-calc__label, .onw-calc__meta, .onw-calc__note { font-size: 13px; color: var(--muted); }
.onw-calc__note { margin: 12px 0 0; }

/* Agent profile --------------------------------------------------------- */
.agent__layout { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 56px; align-items: start; }
.agent__photo { aspect-ratio: 1; overflow: hidden; background: var(--ink); }
.agent__photo img { width: 100%; height: 100%; object-fit: cover; }
.agent__name { font-size: clamp(36px, 4.5vw, 56px); line-height: 1.05; margin: 10px 0 20px; }
.agent__facts { display: grid; gap: 10px; list-style: none; margin: 0 0 24px; padding: 0; }
.agent__facts li { display: flex; gap: 16px; align-items: baseline; }
.agent__facts strong { flex: 0 0 120px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.agent__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }

/* Editorial content ----------------------------------------------------- */
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2 { font-size: 34px; }
.entry-content h3 { font-size: 26px; }
.entry-content ul, .entry-content ol { padding-inline-start: 1.4em; }
.entry-content blockquote { margin: 0; padding-inline-start: 24px; border-inline-start: 2px solid var(--gold); font-family: var(--font-display); font-size: 24px; }
.entry-figure { margin: 0 0 32px; }
.wp-block-image img, .entry-content img { max-width: 100%; height: auto; }
.search-form { display: flex; max-width: 640px; }
.search-form__input { flex: 1; min-width: 0; padding: 14px 18px; border: 1px solid var(--line); border-inline-end: 0; font: inherit; font-size: 16px; }
.search-form__submit { border-radius: 0; }
.search-again { margin-bottom: 40px; }
.empty-state .search-again { display: flex; justify-content: center; margin: 24px 0; }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1100px) {
	.services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.onw-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.property__layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
	.site-nav { position: fixed; inset: var(--header-h) 0 0 0; display: none; overflow-y: auto; padding: 32px var(--gutter) 48px; background: var(--black); z-index: 49; }
	.site-nav.is-open { display: block; }
	body.nav-open { overflow: hidden; }
	.site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav__list a { display: block; padding: 16px 0; font-size: 18px; border-bottom: 1px solid rgba(201, 168, 92, .2); }
	.site-nav__list .sub-menu { position: static; display: block; min-width: 0; padding: 0 0 0 20px; border: 0; }
	.site-nav__list .sub-menu a { font-size: 15px; padding: 12px 0; }
	.site-nav__extra { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 32px; }
	.site-header__actions .lang-switch, .site-header__cta { display: none; }
	.nav-toggle { display: inline-flex; }
	.hero { padding: 88px 0 72px; }
	.hero__watermark { width: 420px; }
	.cta__inner { grid-template-columns: 1fr; gap: 40px; }
	.property__layout, .agent__layout { grid-template-columns: 1fr; }
	.property__side { position: static; }
	.agent__photo { max-width: 360px; }
	.onw-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
	.section { padding: 64px 0; }
	.section--tight { padding: 40px 0 64px; }
	.section__head { margin-bottom: 32px; }
	.onw-grid, .onw-grid--4, .onw-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.onw-search--bar { flex-wrap: wrap; }
	.onw-search--bar .onw-search__field { flex: 1 1 50%; border-bottom: 1px solid var(--line); }
	.onw-search--bar .onw-search__field:nth-child(2n) { border-inline-end: 0; }
	.onw-search__submit { width: 100%; margin-top: 8px; }
	.filters__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.property__details { grid-template-columns: 1fr; }
	.property__amenities { grid-template-columns: 1fr; }
	.cta { padding: 64px 0; }
	.cta__form { padding: 28px 24px; }
	.site-footer { padding-top: 56px; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 560px) {
	:root { --gutter: 18px; --header-h: 68px; }
	.brand__symbol { height: 38px; }
	.brand__name { font-size: 16px; letter-spacing: .12em; }
	.services, .onw-grid, .onw-grid--2, .onw-grid--4, .onw-grid--5 { grid-template-columns: 1fr; }
	.onw-grid--tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.onw-tile { min-height: 160px; padding: 16px; }
	.onw-tile__name { font-size: 22px; }
	.hero__search { padding: 6px; }
	.onw-search--bar .onw-search__field { flex: 1 1 100%; border-inline-end: 0; }
	.hero__actions .onw-btn { width: 100%; }
	.onw-lead__grid, .filters__grid, .onw-calc__grid { grid-template-columns: 1fr; }
	.onw-agent--compact { flex-direction: column; }
	.wa-float { width: 54px; height: 54px; bottom: 18px; inset-inline-end: 18px; }
	.gallery__thumb { flex-basis: 96px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* v1.1 — six services, listing actions, payment plans ------------------- */
.services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.property__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 8px; }
.plan-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); counter-reset: step; }
.plan-summary__step { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 20px; border-inline-end: 1px solid var(--line); }
.plan-summary__step:last-child { border-inline-end: 0; }
.plan-summary__step::before { counter-increment: step; content: "0" counter(step); font-size: 11px; letter-spacing: .2em; color: var(--muted); }
.plan-summary__pct { font-family: var(--font-display); font-size: 40px; line-height: 1; color: var(--gold-dark); }
.plan-summary__label { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.plan-summary__note { font-size: 13px; color: var(--muted); }
.onw-plan__stage label { font-size: 14px; color: var(--ink); }
.onw-plan__input span { color: var(--muted); font-size: 14px; }
.onw-plan__input input { padding: 10px 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); font: inherit; font-size: 15px; }
.onw-plan__input input:focus { outline: none; border-color: var(--gold); }
.onw-plan__amount { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--gold-dark); }
.onw-plan__seg--down { background: var(--black); }
.onw-plan__seg--construction { background: var(--gold-dark); }
.onw-plan__seg--handover { background: var(--gold); }
.onw-plan__seg--post { background: var(--gold-soft); }
.onw-lead__viewing input[type="date"] { min-height: 48px; }
@media (max-width: 1100px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) { .plan-summary__step { border-inline-end: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } .property__actions .onw-btn { flex: 1 1 100%; } }
.property__actions { margin-bottom: 28px; }
.onw-plan__stage { grid-template-columns: minmax(0, 1fr) 76px auto; gap: 10px; }
.onw-plan__amount { white-space: nowrap; font-size: 18px; }
.onw-plan__stage--months { grid-template-columns: minmax(0, 1fr) 76px; }
.onw-plan__stage--months .onw-plan__amount { grid-column: 1 / -1; text-align: end; font-size: 16px; }
.onw-plan__input input { padding: 9px 8px; }
.onw-plan__stage, .onw-plan__stage--months { grid-template-columns: minmax(0, 1fr) 76px 124px; }
.onw-plan__stage--months .onw-plan__amount { grid-column: 1 / -1; }
@media (max-width: 560px) { .onw-plan__stage, .onw-plan__stage--months { grid-template-columns: minmax(0, 1fr) 76px; } .onw-plan__stage .onw-plan__amount { grid-column: 1 / -1; text-align: start; } }
