/* Malabar Properties — site styles.
   Luxury design system (sale-only build document, Section 9): reads like a
   property magazine. Ivory ground, deep charcoal-navy text, one muted gold
   accent for prices, lines and buttons. Cormorant Garamond display headings,
   Manrope body, both self-hosted (two weights each, font-display: swap).
   Square-ish buttons, generous space, quiet motion. Mobile first; logical
   properties so RTL can follow. */

/* Variable fonts, Latin subset; weights used: serif 300/500, sans 400/600. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2"); }
@font-face { font-family: Manrope; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-latin.woff2") format("woff2"); }

:root {
    /* Ivory sections (default) */
    --bg: #faf7f1;            /* ivory */
    --bg-2: #f2ece1;          /* deeper ivory bands */
    --surface: #fffdf9;
    --surface-2: #f4efe6;
    --line: #e5ddcf;
    --line-2: #cbbfab;
    --text: #1c2430;          /* charcoal-navy */
    --text-2: #3f4754;
    --muted: #666d78;
    --accent: #87672b;        /* muted gold for text and lines: 4.9:1 on ivory */
    --ok: #1d7a46;
    --err: #b3261e;
    --shadow-lg: 0 18px 44px rgba(28, 36, 48, .10);
    --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='%2387672b'%3E%3Cpath d='M6 9h12l-6 7z'/%3E%3C/svg%3E");
    /* Shared */
    --ink: #1c2430;           /* solid charcoal buttons */
    --ink-2: #2b3544;
    --gold: #c6a25a;          /* muted gold fill (on dark only) */
    --gold-2: #d4b473;
    --wa: #15803d;            /* WhatsApp green, 4.9:1 with white text */
    --wa-2: #166534;
    --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
    --sans: Manrope, "Segoe UI", Arial, sans-serif;
    --radius: 4px;
    --radius-sm: 2px;
    --wrap: 1280px;
    --gutter: 6%;
    --tap: 48px;
    --bar-h: 72px;
    --space: 56px;            /* section spacing: 56 mobile, 96 desktop */
}
@media (min-width: 760px) { :root { --space: 96px; } }
/* Dark sections: hero, feature bands, closing band, footer */
.dark {
    --bg: #161d27;
    --bg-2: #10161e;
    --surface: #1e2631;
    --surface-2: #263040;
    --line: #2f3a48;
    --line-2: #48525f;
    --text: #f7f2e8;
    --text-2: #c3c6cb;
    --muted: #9ba1a9;
    --accent: #d4b77a;        /* champagne gold */
    --ok: #6fcf97;
    --err: #ff8a80;
    --shadow-lg: 0 18px 44px rgba(0, 0, 0, .45);
    --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='%23d4b77a'%3E%3Cpath d='M6 9h12l-6 7z'/%3E%3C/svg%3E");
    background: var(--bg);
    color: var(--text-2);
}
@media (min-width: 760px) { :root { --gutter: 7%; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; background: var(--bg); }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-2);
    background: var(--bg);
    padding-block-end: var(--bar-h);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 600; color: var(--text); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.1; margin: 0 0 .5em; color: var(--text); letter-spacing: -.005em; }
h1 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 300; }
h2 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 300; }
h3 { font-size: 23px; font-weight: 500; line-height: 1.2; }
.accent { color: var(--accent); }
p { margin: 0 0 1em; }
ul, ol { padding-inline-start: 1.25em; }
button, input, select, textarea { font-family: inherit; }
:is(button, a, input, select, textarea, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 8px; inset-block-start: -60px; background: var(--accent); color: #111; padding: 12px 16px; border-radius: var(--radius-sm); z-index: 100; }
.skip:focus { inset-block-start: 8px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.i { flex: none; vertical-align: middle; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow, .narrow { max-width: calc(860px + 2 * var(--gutter)); }
.section { margin-block: var(--space); }

/* Eyebrow + section heads --------------------------------------------- */
.eyebrow { display: block; font-size: 12px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.eyebrow.light { color: var(--accent); }
.eyebrow.dot::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-inline-end: 10px; border-radius: 50%; background: currentColor; vertical-align: middle; }
.section-head, .section-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 30px; margin-block-end: 32px; }
.section-head h2, .section-top h2 { margin: 0; }
/* Centred head with a thin rule, as on the reference */
.section-head.center { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.section-head.center > div { width: 100%; }
.section-head.center h2 { padding-block-end: 18px; border-block-end: 1px solid var(--line); max-width: 760px; margin-inline: auto; }
.section-head.center > a { border: 0; font-size: 14px; color: var(--muted); }
.section-head.center > a:hover { color: var(--accent); }
.text-link, .section-head > a {
    display: inline-flex; align-items: center; gap: 16px; min-height: var(--tap);
    padding-block-end: 2px; border-block-end: 1px solid var(--line-2); font-size: 15px; color: var(--text); white-space: nowrap;
}
.text-link:hover, .section-head > a:hover { border-color: var(--accent); color: var(--accent); }
.band { background: var(--bg-2); padding-block: var(--space); }

/* Buttons ------------------------------------------------------------- */
/* Section 9: square-ish, uppercase 13px with letter spacing; solid charcoal or gold outline. */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: var(--tap); padding: 12px 26px;
    font: inherit; font-size: 13px; font-weight: 600; line-height: 1.2; letter-spacing: 1.6px; text-transform: uppercase; text-align: center;
    border: 1px solid transparent; border-radius: var(--radius-sm); cursor: pointer;
    transition: background .3s, border-color .3s, color .3s;
}
.btn-gold { background: var(--ink); color: #faf7f1; }
.btn-gold:hover { background: var(--ink-2); color: #fff; }
.dark .btn-gold { background: var(--gold); color: var(--ink); }
.dark .btn-gold:hover { background: var(--gold-2); color: var(--ink); }
.btn-navy, .btn-black, .btn-outline, .btn-white, .btn-outline-light { background: transparent; color: var(--text); border-color: var(--accent); }
.btn-navy:hover, .btn-black:hover, .btn-outline:hover, .btn-white:hover, .btn-outline-light:hover { background: rgba(198, 162, 90, .12); color: var(--text); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-2); color: #fff; }
.btn-block { display: flex; width: 100%; }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: 12px; }
.icon-btn { display: inline-grid; place-items: center; width: var(--tap); height: var(--tap); border: 0; background: none; color: inherit; border-radius: 50%; cursor: pointer; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--text); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; min-height: 32px; }

/* Header -------------------------------------------------------------- */
.site-header { position: sticky; inset-block-start: 0; z-index: 40; background: rgba(26, 27, 28, .97); backdrop-filter: blur(10px); color: var(--text); border-block-end: 1px solid rgba(255, 255, 255, .06); }
.header-row { display: flex; align-items: center; gap: 6px; height: 72px; }
@media (min-width: 1024px) { .header-row { height: 88px; gap: 12px; } }
.brand { display: flex; align-items: center; margin-inline-end: auto; }
.brand img { height: 50px; width: auto; }
@media (min-width: 1024px) { .brand img { height: 60px; } }
.main-nav { display: none; }
.header-cta { display: none; }
.rating-badge { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 4px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--text); white-space: nowrap; }
.rating-badge .i { color: var(--accent); }
.rating-badge span { display: none; }
.site-header .wa-icon { color: #25D366; }
.site-header .icon-btn:hover { background: rgba(255, 255, 255, .06); }
.menu-btn { color: var(--accent); }
/* Phone menu: each section folds open (details/summary, no script needed). */
.mobile-menu { background: var(--bg); border-block-start: 1px solid var(--line); max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain; }
.mobile-menu nav { display: flex; flex-direction: column; padding: 4px var(--gutter) 24px; }
.m-group { border-block-end: 1px solid var(--line); }
.m-group summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; font-size: 15px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--text); cursor: pointer; list-style: none; }
.m-group summary::-webkit-details-marker { display: none; }
.m-group summary .i { color: var(--accent); transition: transform .25s; }
.m-group[open] summary { color: var(--accent); }
.m-group[open] summary .i { transform: rotate(180deg); }
.m-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; padding-block-end: 16px; }
.m-links a { display: flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--text-2); line-height: 1.3; }
.m-links a:hover { color: var(--accent); }
.m-links .m-title { grid-column: 1 / -1; margin: 10px 0 2px; font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.m-links .m-all { grid-column: 1 / -1; justify-content: space-between; margin-block-end: 4px; padding: 0 14px; border: 1px solid rgba(212, 183, 122, .35); border-radius: var(--radius-sm); color: var(--accent); font-weight: 600; }
.m-saved { display: flex; align-items: center; gap: 8px; min-height: 56px; font-size: 15px; color: var(--text); }
.m-saved .i { color: var(--accent); }
.saved-count { background: var(--gold); color: #111; border-radius: 999px; padding: 0 8px; font-size: 12px; }
@media (max-width: 340px) { .m-links { grid-template-columns: 1fr; } }

/* Desktop menu: hub link + caret; panel opens on hover, on caret click and from the keyboard. */
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; height: 100%; }
.nav-item { display: flex; align-items: center; }
.nav-link { display: inline-flex; align-items: center; min-height: var(--tap); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text); white-space: nowrap; }
.nav-link:hover, .nav-link[aria-current], .nav-item.open > .nav-link { color: var(--accent); }
.nav-link[aria-current] { box-shadow: inset 0 -2px 0 var(--accent); }
.nav-caret { display: inline-grid; place-items: center; width: 22px; height: 36px; margin-inline-start: 2px; padding: 0; border: 0; background: none; color: var(--accent); cursor: pointer; border-radius: var(--radius-sm); }
.nav-caret .i { transition: transform .2s; }
.nav-item.open > .nav-caret .i { transform: rotate(180deg); }
.nav-caret:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.nav-panel { position: absolute; inset-block-start: 100%; z-index: 50; visibility: hidden; opacity: 0; transform: translateY(8px); pointer-events: none;
    background: #18202b; border: 1px solid rgba(255, 255, 255, .08); border-block-start: 1px solid rgba(212, 183, 122, .35); box-shadow: 0 28px 60px rgba(4, 8, 14, .45);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; }
.nav-item.open > .nav-panel { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition-delay: 0s; }
@media (hover: hover) {
    .nav-item:hover > .nav-panel { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition-delay: .06s; }
    .nav-item:hover > .nav-caret .i { transform: rotate(180deg); }
    .nav-item:hover > .nav-link { color: var(--accent); }
}
/* Small panels hang under their item. */
.nav-item:not(.is-mega) { position: relative; }
.nav-item:not(.is-mega) > .nav-panel { inset-inline-start: -14px; min-width: 330px; border-radius: 0 0 var(--radius) var(--radius); }
.nav-item:not(.is-mega) .nav-panel-inner { padding: 10px; }
.nav-item:not(.is-mega) .nav-col ul { display: grid; gap: 2px; }
.nav-panel ul { list-style: none; margin: 0; padding: 0; }
.nav-item:not(.is-mega) .nav-col a { display: grid; gap: 3px; padding: 12px 14px; border-radius: var(--radius-sm); color: var(--text); transition: background .15s; }
.nav-item:not(.is-mega) .nav-col a:hover, .nav-item:not(.is-mega) .nav-col a:focus-visible { background: rgba(255, 255, 255, .05); }
.nav-item:not(.is-mega) .nav-col a:hover b, .nav-item:not(.is-mega) .nav-col a[aria-current] b { color: var(--accent); }
.nav-col b { font-size: 14px; font-weight: 600; }
.nav-col small { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
/* Mega panels span the header: three link columns and a photo tile. */
.nav-item.is-mega > .nav-panel { inset-inline: 0; border-inline: 0; }
.is-mega .nav-panel-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.25fr); gap: 44px; padding-block: 34px 40px; }
.nav-col-title { margin: 0 0 12px; padding-block-end: 10px; border-block-end: 1px solid rgba(255, 255, 255, .08); font-size: 11px; font-weight: 600; letter-spacing: 2.2px; text-transform: uppercase; color: var(--muted); }
.is-mega .nav-col a { display: flex; align-items: center; min-height: 36px; font-size: 14.5px; color: var(--text-2); transition: color .15s, padding .2s; }
.is-mega .nav-col a:hover, .is-mega .nav-col a:focus-visible, .is-mega .nav-col a[aria-current] { color: var(--accent); padding-inline-start: 6px; }
.nav-card { position: relative; display: block; min-height: 250px; overflow: hidden; border-radius: var(--radius); background: #0f151d; color: #fff; }
.nav-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .6s ease, opacity .3s; }
.nav-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 20, 0) 30%, rgba(10, 14, 20, .88)); }
.nav-card span { position: absolute; inset: auto 22px 20px; z-index: 1; display: grid; gap: 6px; }
.nav-card b { font-family: var(--serif); font-size: 27px; font-weight: 500; line-height: 1.1; }
.nav-card small { font-size: 13px; color: rgba(255, 255, 255, .78); }
.nav-card i { display: inline-flex; align-items: center; gap: 8px; margin-block-start: 6px; font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold-2); }
.nav-card:hover img { transform: scale(1.05); opacity: 1; }
/* While a panel is open the see-through hero header turns solid. */
.has-hero .site-header.nav-open, .has-hero .site-header:has(.nav-item:hover) { background: rgba(22, 29, 39, .97); backdrop-filter: blur(10px); }

@media (min-width: 1024px) {
    .main-nav { display: flex; align-self: stretch; margin-inline: 24px auto; }
    .nav-list { gap: 20px; }
    .menu-btn { display: none; }
    .mobile-menu { display: none; }
    .rating-badge span { display: inline; }
    .header-cta { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; padding: 0 18px; border: 1px solid var(--accent); border-radius: var(--radius-sm); color: var(--text); font-size: 14px; white-space: nowrap; }
    .header-cta:hover { background: rgba(224, 195, 137, .1); }
    .brand { margin-inline-end: 0; }
}
@media (min-width: 1024px) and (max-width: 1365px) {
    .rating-badge { display: none; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
    .main-nav { margin-inline-start: 14px; }
    .nav-list { gap: 10px; }
    .nav-link { font-size: 12px; letter-spacing: 1px; }
    .header-cta { padding: 0 12px; gap: 8px; }
    .is-mega .nav-panel-inner { gap: 28px; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1fr); }
}

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 18px 0 0; margin: 0; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-inline-end: 4px; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--text-2); }

/* Hero (home) --------------------------------------------------------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--bg-2); min-height: 520px; display: flex; flex-direction: column; justify-content: flex-end; }
@media (min-width: 760px) { .hero { min-height: 640px; } }
.hero-media, .hero picture, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-img { object-position: center 48%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20, 21, 22, .92) 0%, rgba(20, 21, 22, .35) 45%, rgba(20, 21, 22, .25) 100%); }
.hero-inner { padding-block: 60px 110px; max-width: 1000px; margin-inline: 0; }
@media (min-width: 760px) { .hero-inner { padding-block: 100px 150px; } }
.hero h1 { color: #fff; font-size: clamp(36px, 5vw, 56px); font-weight: 300; line-height: 1.05; margin: 0; max-width: 18ch; }
.hero-sub { font-size: 16px; line-height: 1.6; margin: 18px 0 0; max-width: 40ch; color: #e6e6e6; }
@media (min-width: 760px) { .hero-sub { font-size: 18px; } }
.hero-link { display: none; }
@media (min-width: 760px) { .hero-link { display: inline-flex; align-items: center; gap: 16px; min-height: var(--tap); margin-top: 26px; padding: 0 24px; border: 1px solid var(--accent); border-radius: var(--radius-sm); color: #fff; font-size: 15px; } .hero-link:hover { background: rgba(224, 195, 137, .12); } }
.hero-bottom { position: absolute; inset-inline: var(--gutter); inset-block-end: 34px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 11px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; color: #e6e6e6; }
@media (min-width: 760px) { .hero-bottom { inset-block-end: 70px; font-size: 12px; } }
.hero-bottom > span { display: inline-flex; align-items: center; gap: 8px; }
.hero-bottom .i { color: var(--accent); }
/* Hero carousel: slides crossfade, the showing one drifts in slowly */
.hero-slide { opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.is-active { opacity: 1; animation: hero-drift 9s ease-out both; }
@keyframes hero-drift { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-bottom > .hero-dots { gap: 2px; }
.hero-dots button { width: 32px; height: var(--tap); padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.hero-dots button::before { content: ""; position: absolute; inset-inline: 4px; top: 50%; height: 2px; background: rgba(255, 255, 255, .4); transition: background .3s; }
.hero-dots button:hover::before { background: rgba(255, 255, 255, .8); }
.hero-dots button[aria-current]::before { background: var(--accent); }
@media (max-width: 600px) { .hero-bottom > .hero-dots { gap: 0; } .hero-dots button { width: 24px; } .hero-bottom > span:first-child { white-space: nowrap; } }

/* Search card overlapping the hero */
.search-wrap { position: relative; z-index: 3; width: calc(100% - 2 * var(--gutter)); max-width: 1200px; margin: -24px auto 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
@media (min-width: 760px) { .search-wrap { margin-top: -44px; } }
.search-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 18px; align-items: end; }
.search-form .picker:first-child, .search-form .btn { grid-column: 1 / -1; }
@media (min-width: 900px) {
    .search-form { grid-template-columns: 1.2fr 1fr 1fr auto; gap: 22px; padding: 26px; }
    .search-form .picker:first-child, .search-form .btn { grid-column: auto; }
}
.picker { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.picker > label, .picker > span:not(.select2) { font-size: 11px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.search-form .btn { min-height: 52px; white-space: nowrap; }
.trust-strip { width: calc(100% - 2 * var(--gutter)); max-width: 1200px; margin: 30px auto 0; padding-block: 0 22px; border-block-end: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; font-size: 14px; color: var(--muted); }
.trust-strip strong { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-weight: 400; }
.trust-strip strong .i { color: var(--accent); }
.trust-strip ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 0; margin: 0; }
.trust-strip li, .trust-strip a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; }
.trust-strip .i { color: var(--accent); }


.quick-chips { display: flex; gap: 8px; overflow-x: auto; padding-block: 22px 0; scrollbar-width: none; }
.quick-chips::-webkit-scrollbar { display: none; }
.quick-chips a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 6px 18px; border: 1px solid var(--line); border-radius: 30px; font-size: 14px; color: var(--text-2); white-space: nowrap; }
.quick-chips a:hover { border-color: var(--accent); color: var(--accent); }
.quick-chips a[aria-current] { border-color: var(--accent); color: var(--accent); }
.quick-chips.inline { flex-wrap: wrap; overflow: visible; padding-block: 0 18px; }

/* Forms: underline fields ---------------------------------------------- */
input, select, textarea { font: inherit; font-size: 16px; font-weight: 300; color: var(--text); }
input[type=text], input[type=tel], input[type=email], input[type=number], input[type=search], select, textarea {
    width: 100%; min-height: var(--tap); padding: 10px 2px; background: transparent;
    border: 0; border-block-end: 1px solid var(--line-2); border-radius: 0;
}
input::placeholder, textarea::placeholder { color: #767676; }
select { appearance: none; padding-inline-end: 32px; cursor: pointer; background-image: var(--select-arrow); background-repeat: no-repeat; background-position: right 6px center; }
[dir=rtl] select { background-position: left 6px center; }
select option { background: var(--surface); color: var(--text); }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--accent); }
.search-form select, .filter-main select { padding-inline: 2px 30px; }
.field { display: flex; flex-direction: column; gap: 2px; margin-block-end: 18px; min-width: 0; }
.field label, .field legend { font-size: 12px; font-weight: 400; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check { display: flex; align-items: center; gap: 10px; min-height: var(--tap); cursor: pointer; color: var(--text-2); }
.check input, .consent input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
input[type=radio] { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin-block: 6px 20px; cursor: pointer; }
.consent a { text-decoration: underline; color: var(--text-2); }
.consent input { margin-block-start: 2px; }
fieldset.segmented { border: 0; padding: 0; flex-direction: row; flex-wrap: wrap; gap: 10px; }
fieldset.segmented legend { width: 100%; margin-block-end: 8px; }
fieldset.segmented label { flex: 1; display: flex; align-items: center; gap: 10px; min-height: var(--tap); padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--text); letter-spacing: 0; text-transform: none; font-size: 15px; cursor: pointer; }
fieldset.segmented label:has(input:checked) { border-color: var(--accent); }
.hp { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; } /* off-screen in both directions (RTL safe) */
.lead-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.lead-form h2 { font-size: 24px; font-weight: 200; }
.form-ok { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin-block-end: 16px; border-radius: var(--radius-sm); background: rgba(111, 207, 151, .1); border: 1px solid rgba(111, 207, 151, .35); color: var(--ok); }
.form-err { padding: 12px 14px; margin-block-end: 16px; border-radius: var(--radius-sm); background: rgba(255, 138, 128, .1); border: 1px solid rgba(255, 138, 128, .35); color: var(--err); }
.lead-form.is-sent .field, .lead-form.is-sent .field-row, .lead-form.is-sent fieldset, .lead-form.is-sent .consent, .lead-form.is-sent button[type=submit] { display: none; }

/* Page heads and listing search -------------------------------------- */
.page-head { padding-block: 28px 8px; }
@media (min-width: 760px) { .page-head { padding-block: 44px 12px; } }
.page-head h1 { font-size: clamp(28px, 4vw, 46px); }
.answer { font-size: 17px; line-height: 1.8; max-width: 70ch; color: var(--text-2); }
.answer p:last-child { margin: 0; }
.listing-summary { margin: 18px 0 0; }
.filters { display: grid; gap: 14px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.filter-main { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
.filter-main .btn { grid-column: 1 / -1; }
@media (min-width: 760px) { .filter-main { grid-template-columns: 1fr 1fr auto; } .filter-main .btn { grid-column: auto; } }
.more-filters summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); cursor: pointer; list-style: none; }
.more-filters summary::-webkit-details-marker { display: none; }
.filter-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0 18px; padding-block-start: 10px; }
.filter-checks { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0 22px; border: 0; margin: 0 0 8px; padding: 0; }
.filter-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.filter-actions .linklike { display: inline-flex; align-items: center; min-height: 44px; }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-block: 22px 14px; }
.results-bar p { margin: 0; color: var(--muted); }
.results-actions { display: flex; gap: 10px; align-items: center; }
.results-actions select { min-height: 44px; width: auto; }
.map-toggle[aria-pressed="true"] { background: rgba(224, 195, 137, .15); }
.map { height: 420px; border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.map-static { display: grid; place-items: center; height: 300px; background: var(--surface); border: 1px solid var(--line); }
.map-panel { margin-block-end: 18px; }
.leaflet-container { font-family: var(--sans); }
.leaflet-popup-content { color: #111; }
.leaflet-popup-content a { font-weight: 500; color: #111; }
.map-pop img { width: 180px; height: 112px; object-fit: cover; border-radius: 6px; margin-block-end: 6px; }

/* Property cards: image-led, borderless feel ------------------------- */
.grid { display: grid; gap: 26px; }
.grid.cards { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid.posts { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); border-color: rgba(224, 195, 137, .5); }
.card-media { position: relative; aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-nophoto { height: 100%; display: grid; place-content: center; justify-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.card-nophoto.tall { aspect-ratio: 16 / 10; max-height: 60vh; }
.badge-count { position: absolute; inset-inline-end: 14px; inset-block-end: 14px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; font-size: 12px; color: #fff; background: rgba(0, 0, 0, .6); border-radius: 999px; }
.badge-type { position: absolute; inset-inline-start: 14px; inset-block-end: 14px; padding: 3px 10px; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; background: rgba(0, 0, 0, .6); border: 1px solid rgba(224, 195, 137, .5); border-radius: 4px; }
.badge-status { position: absolute; inset-inline-start: 14px; inset-block-start: 14px; padding: 4px 10px; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 1.5px; border-radius: 4px; background: #111; color: #fff; }
.badge-status.status-reserved { background: var(--accent); color: #111; }
.status-reserved { background: rgba(224, 195, 137, .15); color: var(--accent); }
.heart { position: absolute; inset-inline-end: 12px; inset-block-start: 12px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .5); color: #fff; cursor: pointer; backdrop-filter: blur(4px); }
.heart[aria-pressed="true"] { color: var(--accent); }
.heart[aria-pressed="true"] svg { fill: currentColor; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; gap: 8px; }
.card-price { font-size: 22px; font-weight: 400; color: var(--text); margin: 0; }
.card-price small { font-size: 12px; font-weight: 400; letter-spacing: 1px; color: var(--accent); margin-inline-end: 4px; }
.card-price .per { font-size: 13px; color: var(--muted); }
.card-title { font-size: 17px; font-weight: 300; line-height: 1.45; margin: 0; color: var(--text); }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.facts li { display: inline-flex; align-items: center; gap: 6px; }
.facts .i { color: var(--accent); }
.facts.big { font-size: 16px; color: var(--text-2); gap: 8px 22px; margin-block: 12px; }
.card-loc { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--muted); font-size: 13px; }
.card-loc .i { color: var(--accent); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 2px 0 0; }
.tags li { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; padding: 3px 9px; border: 1px solid var(--line); border-radius: 4px; color: var(--text-2); }
.card-wa { position: relative; z-index: 2; }
.card-body .card-wa { margin-block-start: auto; }
.card-body .tags + .card-wa, .card-body .facts + .card-wa { margin-block-start: 14px; }

.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 86%); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding-block: 4px 18px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; overscroll-behavior-x: contain; }
.carousel > * { scroll-snap-align: start; }
@media (min-width: 760px) { .carousel { grid-auto-columns: calc((100% - 44px) / 3); } }
.carousel.agents { grid-auto-columns: minmax(200px, 60%); }
@media (min-width: 760px) { .carousel.agents { grid-auto-columns: calc((100% - 66px) / 4); } }

/* Post / guide cards: image on top, text below, no box */
.post-card { position: relative; background: transparent; }
.post-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; border-radius: var(--radius); transition: opacity .3s; }
.post-card:hover img { opacity: .85; }
.post-card > div { padding: 16px 0 0; }
.post-card h3 { font-size: 20px; font-weight: 300; margin: 8px 0 6px; color: var(--text); }
.post-card:hover h3 { color: var(--accent); }
.post-card p { color: var(--muted); margin: 0; font-size: 14px; }
.kicker { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.post-card > div:only-child { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }

.skeleton { position: relative; overflow: hidden; background: var(--surface); border-radius: var(--radius); min-height: 320px; }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .06), transparent); animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }

/* Image + text split (about / owners), as on the reference ----------- */
.owner-banner { display: grid; gap: 0; overflow: hidden; margin-block: 56px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.owner-banner > div { padding: 32px 24px; }
.owner-banner h2 { color: var(--text); padding-block-end: 16px; border-block-end: 1px solid var(--line); }
.owner-banner p { color: var(--text-2); margin: 18px 0 26px; max-width: 46ch; }
.owner-banner img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
@media (min-width: 760px) { .owner-banner { grid-template-columns: 1fr 1.1fr; margin-block: 88px; } .owner-banner > img { order: -1; } .owner-banner > div { padding: 56px 10%; align-self: center; } }
.owner-banner .btn .i { margin-inline-start: 10px; }

/* Area tiles: image + caption below (service-card style) */
.area-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; }
@media (min-width: 1000px) { .area-tiles { grid-template-columns: repeat(4, 1fr); } }
.area-tile { position: relative; display: block; color: var(--text); }
.area-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); transition: opacity .3s; }
.area-tile:hover img { opacity: .85; }
.area-tile span { display: block; padding-block-start: 14px; line-height: 1.3; }
.area-tile b { display: block; font-size: 19px; font-weight: 300; color: var(--text); }
.area-tile:hover b { color: var(--accent); }
.area-tile small { display: block; margin-block-start: 4px; font-size: 13px; color: var(--muted); }
.area-tile .circle { display: none; }

/* Numbers band */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px 20px; }
.stat b { display: block; font-size: clamp(40px, 5vw, 56px); font-weight: 200; line-height: 1; color: var(--text); }
.stat span { display: block; margin-block-start: 8px; font-size: 14px; color: var(--muted); }

/* Why Malabar */
.why-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 30px 22px; }
@media (min-width: 900px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-grid li { display: flex; flex-direction: column; gap: 8px; padding-block-start: 20px; border-block-start: 1px solid var(--line); }
.why-grid .i { color: var(--accent); }
.why-grid b { font-size: 18px; font-weight: 300; }
.why-grid span { color: var(--muted); font-size: 14px; }

/* Testimonials: centred quotes */
.reviews.carousel { grid-auto-columns: 100%; }
@media (min-width: 760px) { .reviews.carousel { grid-auto-columns: calc((100% - 44px) / 2); } }
.review { margin: 0; padding: 30px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: space-between; gap: 14px; text-align: center; }
.review .stars { justify-content: center; }
.review blockquote { margin: 0; font-size: 16px; line-height: 1.8; color: var(--text-2); }
.review figcaption { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text); font-weight: 400; font-size: 18px; }
.review figcaption small { display: block; font-size: 12px; font-weight: 300; letter-spacing: 1px; color: var(--muted); }
.review .avatar { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); font-weight: 300; }
.stars { color: var(--accent); display: flex; gap: 3px; }
.review-list { display: grid; gap: 22px; }
@media (min-width: 760px) { .review-list { grid-template-columns: 1fr 1fr; } }
.rating-big, .rating-line { display: flex; align-items: center; gap: 8px; font-size: 18px; color: var(--muted); }
.rating-line { justify-content: center; margin: 14px 0 0; font-size: 15px; }
.rating-big .i { color: var(--accent); }
.rating-line b, .rating-big b { color: var(--text); font-weight: 400; }

/* Team: round portraits, name below */
.agent-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 0; background: transparent; border: 0; }
.agent-card img, .agent-initials { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; flex: none; filter: grayscale(1); transition: filter .4s; }
.agent-card:hover img { filter: none; }
.agent-initials { display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); font-size: 44px; font-weight: 200; color: var(--accent); filter: none; }
.agent-initials.big { width: 140px; height: 140px; }
.agent-card h3 { margin: 0; font-size: 18px; font-weight: 400; }
.agent-card h3 a:hover { color: var(--accent); }
.agent-card p { margin: 0 0 8px; font-size: 13px; }
.agent-card .langs { justify-content: center; }
.langs { color: var(--muted); display: flex; align-items: center; gap: 6px; font-size: 13px; }
.langs .i { color: var(--accent); }
.agent-grid { display: grid; gap: 32px 20px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.agent-hero { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.agent-hero img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.side-card .agent-card { flex-direction: row; text-align: start; align-items: center; gap: 14px; margin-block: 10px; }
.side-card .agent-card img, .side-card .agent-initials { width: 64px; height: 64px; font-size: 24px; filter: none; }
.side-card .agent-card .langs { justify-content: flex-start; }

/* Content blocks ------------------------------------------------------ */
.prose { max-width: 70ch; font-size: 16px; line-height: 1.85; color: var(--text-2); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose h2 { margin-block-start: 1.6em; font-size: clamp(22px, 2.6vw, 28px); }
.prose h3 { color: var(--text); }
.prose img { border-radius: var(--radius); margin-block: 1em; }
.prose table, table.data { width: 100%; border-collapse: collapse; font-size: 15px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.data th, table.data td, .prose th, .prose td { text-align: start; padding: 13px 16px; border-block-end: 1px solid var(--line); color: var(--text-2); }
table.data th[scope=row] { color: var(--text); font-weight: 400; }
table.data thead th { background: var(--surface); font-size: 11px; font-weight: 400; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); }
table.data tr:last-child > * { border-block-end: 0; }
table.data th[scope=row] small { display: block; margin-block-start: 2px; font-size: 13px; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 11px; align-items: flex-start; color: var(--text-2); }
.ticks .i { color: var(--accent); margin-block-start: 4px; }
.ticks.cons .i { color: var(--err); }
.ticks.cols { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.chip-cards { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-card { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); padding: 8px 18px; border: 1px solid var(--line); border-radius: 30px; font-size: 14px; color: var(--text-2); }
.chip-card .i { color: var(--accent); }
.chip-card:hover { border-color: var(--accent); color: var(--accent); }
.chip-card.strong { border-color: var(--accent); color: var(--text); }
.chip-card .count { font-size: 11px; background: var(--surface-2); color: var(--accent); border-radius: 999px; padding: 0 8px; }
.guide-box { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; padding-block: 8px; font-size: 17px; color: var(--text); border-block-end: 1px solid var(--line); }
.link-list a .i { color: var(--accent); }
.link-list a:hover { color: var(--accent); }
.link-list li:last-child a { border: 0; }
.faq details { border-block-end: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 62px; padding-block: 14px; font-size: 17px; color: var(--text); cursor: pointer; list-style: none; }
.faq summary .i { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq-a { padding-block-end: 16px; color: var(--text-2); }
.verified, .stamp { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ok); margin-block: 10px; }
.stamp { padding: 8px 12px; border: 1px solid rgba(111, 207, 151, .35); border-radius: var(--radius-sm); display: inline-flex; }
.disclaimer, .note { display: flex; gap: 8px; align-items: flex-start; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 14px; }
.links-inline { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.links-inline a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--text); border-block-end: 1px solid var(--line-2); }
.links-inline a:hover, .links-inline a .i { color: var(--accent); }
.pros-cons { display: grid; gap: 26px; }
@media (min-width: 760px) { .pros-cons { grid-template-columns: 1fr 1fr; } }
.empty { text-align: center; padding: 48px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; justify-items: center; gap: 10px; }
.empty > .i { color: var(--accent); }
.empty h2 { font-size: 24px; margin: 6px 0 0; }
.empty .lead-form { text-align: start; width: 100%; max-width: 480px; background: transparent; border: 0; padding: 0; }
.cover img { width: 100%; max-height: 460px; object-fit: cover; }
.article-cover { border-radius: var(--radius); margin-block: 16px; width: 100%; }
.byline { display: flex; align-items: center; gap: 10px; margin-block: 12px; }
.byline a { color: var(--accent); }
.byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-actions.left { justify-content: flex-start; margin-block: 20px; }
.area-list { display: grid; }
.area-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding-block: 14px; border-block-end: 1px solid var(--line); }
.area-name { display: inline-flex; align-items: center; min-height: 44px; font-size: 19px; font-weight: 300; color: var(--text); }
.area-name:hover { color: var(--accent); }
.area-row .muted { grid-column: 1; font-size: 13px; }
.area-links { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 6px; }
.area-links a { display: inline-grid; place-items: center; min-height: 44px; padding: 4px 16px; border: 1px solid var(--line); border-radius: 30px; font-size: 13px; color: var(--text-2); }
.area-links a:hover { border-color: var(--accent); color: var(--accent); }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-card { display: flex; flex-direction: column; gap: 4px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); }
.contact-card .i { color: var(--accent); }
.contact-card span { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.blog-search { display: flex; gap: 12px; align-items: flex-end; max-width: 520px; margin-block: 8px 26px; }
.center .blog-search { margin-inline: auto; }
.pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin-block: 34px; }
.status-banner { padding: 10px 14px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--accent); color: var(--accent); }

/* Listing page -------------------------------------------------------- */
.gallery-wrap { position: relative; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; }
.gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--surface); }
.gallery::-webkit-scrollbar { display: none; }
.gallery img { flex: 0 0 100%; width: 100%; aspect-ratio: 16 / 10; max-height: 70vh; object-fit: cover; scroll-snap-align: center; }
.gallery-count { inset-block-end: 16px; inset-inline-end: 16px; }
/* Listing gallery: swipe strip on phones, cover + four mosaic from 960px (Section 7) */
.gallery-actions { position: absolute; inset-block-end: 16px; inset-inline-start: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.btn-light { background: rgba(255, 255, 255, .94); color: #1a1b1c; border: 1px solid rgba(0, 0, 0, .08); }
.btn-light:hover { background: #fff; color: #1a1b1c; }
@media (min-width: 960px) {
    .gallery.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: min(68vh, 600px); overflow: hidden; background: none; padding-inline: var(--gutter); }
    .gallery.mosaic img { width: 100%; height: 100%; max-height: none; aspect-ratio: auto; cursor: zoom-in; border-radius: 4px; }
    .gallery.mosaic img:first-child { grid-row: 1 / 3; }
    .gallery.mosaic img:nth-child(n+6) { display: none; }
    .gallery.mosaic ~ .gal-btn, .gallery.mosaic ~ .gallery-count { display: none; }
    .gallery.mosaic ~ .gallery-actions { inset-inline-start: calc(var(--gutter) + 16px); }
}
.gallery-dialog { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0e0f10; }
.gallery-dialog::backdrop { background: rgba(0, 0, 0, .9); }
.gallery-full { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery-full img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: center; }
.gallery-close { position: absolute; inset-block-start: 14px; inset-inline-end: 14px; z-index: 2; width: var(--tap); height: var(--tap); display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; }
/* Sticky enquiry card and sold state */
.enquiry-card { display: grid; gap: 10px; }
.enquiry-card .agent-card { margin-block: 8px 0; padding-block-start: 14px; border-block-start: 1px solid var(--line); }
.side-price { margin: 0 0 4px; font-size: 26px; font-weight: 300; color: var(--text); }
.status-sold { border-color: var(--text); color: var(--text); font-weight: 500; }
.is-sold .listing-price { color: var(--muted); }
.sold-cta { padding: 22px; background: var(--bg-2); border-radius: var(--radius); }
.sold-cta h2 { margin-block-start: 0; }
table.data.cost tfoot th, table.data.cost tfoot td { color: var(--text); font-weight: 500; border-block-start: 2px solid var(--line-2); }
.gal-btn { display: none; position: absolute; inset-block-start: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 1px solid rgba(224, 195, 137, .6); border-radius: 50%; background: rgba(0, 0, 0, .45); color: #fff; cursor: pointer; place-items: center; }
.gal-btn.prev { inset-inline-start: 16px; }
.gal-btn.next { inset-inline-end: 16px; }
.heart.big { inset-block-start: 14px; inset-inline-end: 14px; width: 48px; height: 48px; }
@media (min-width: 900px) {
    .gal-btn { display: grid; }
    .gallery-wrap { margin-block-start: 20px; padding-inline: var(--gutter); }
    .gallery { border-radius: var(--radius); }
    .gallery-wrap .heart.big { inset-inline-end: calc(var(--gutter) + 14px); }
    .gal-btn.prev { inset-inline-start: calc(var(--gutter) + 14px); }
    .gal-btn.next { inset-inline-end: calc(var(--gutter) + 14px); }
    .gallery-count { inset-inline-end: calc(var(--gutter) + 16px); }
}
.listing-grid { display: grid; gap: 28px; padding-block: 22px; }
@media (min-width: 960px) { .listing-grid { grid-template-columns: minmax(0, 1fr) 370px; gap: 52px; } .listing-side { position: sticky; inset-block-start: 108px; align-self: start; } }
.listing-price { font-size: clamp(28px, 4.4vw, 38px); font-weight: 300; color: var(--text); margin: 4px 0 6px; }
.listing h1 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 300; }
.listing-actions { display: grid; gap: 10px; margin-block: 26px; }
@media (min-width: 600px) { .listing-actions { grid-template-columns: 1fr auto auto; } .listing-actions .btn { white-space: nowrap; } }
.facts-table { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; margin: 0; }
.facts-table div { padding-block: 13px; border-block-end: 1px solid var(--line); }
.facts-table dt { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.facts-table dd { margin: 3px 0 0; font-size: 16px; color: var(--text); }
.side-card { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-block-end: 16px; }
.side-card .lead-form { border: 0; padding: 4px 0 0; background: none; }
.kicker + .agent-card { margin-block-start: 6px; }
.readmore .readmore-body { position: relative; }
.readmore.is-collapsed .readmore-body { max-height: 240px; overflow: hidden; }
.readmore.is-collapsed .readmore-body::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; height: 90px; background: linear-gradient(transparent, var(--bg)); }
.readmore-btn { min-height: var(--tap); color: var(--accent); }
.video-lite { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: #000; }
.video-lite img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: .75; }
.video-lite span { position: absolute; inset: 0; display: grid; place-items: center; color: var(--accent); }
.video-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); }
.calc { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.calc h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; }
.calc h2 .i { color: var(--accent); }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.calc-out { font-size: 17px; margin: 8px 0 4px; }
.calc-out b { font-size: 26px; font-weight: 300; color: var(--accent); }
.floorplan { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }

/* Closing band + footer ---------------------------------------------- */
.cta-band { background: var(--bg-2); border-block-start: 1px solid var(--line); padding-block: 56px; margin-block-start: 88px; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; }
.cta-band h2 { font-size: clamp(26px, 3vw, 38px); margin: 0; max-width: 22ch; }
.cta-band p { color: var(--muted); margin: 10px 0 0; }
.cta-band .cta-actions { justify-content: flex-start; }
.site-footer { background: var(--bg); color: var(--muted); padding-block: 56px 24px; font-size: 14px; border-block-start: 1px solid var(--line); }
main > :last-child:not(.cta-band) { margin-block-end: 88px; }
.site-footer a { color: var(--text-2); }
.site-footer a:hover { color: var(--accent); }
.site-footer h2 { color: var(--text); font-size: 18px; font-weight: 300; letter-spacing: 0; text-transform: none; margin-block-end: 14px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand img { height: 70px; width: auto; margin-block-end: 16px; }
.footer-brand .tagline { color: var(--text); font-size: 16px; }
.footer-brand .i { color: var(--accent); }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }
.rating-badge.light { margin-block-start: 6px; }
.plain { list-style: none; padding: 0; margin: 0; }
.plain a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; }
.plain .i { color: var(--accent); }
.socials { display: flex; gap: 8px; margin-block-start: 12px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); }
.socials a:hover { border-color: var(--accent); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-block-start: 40px; padding-block-start: 22px; border-block-start: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-legal p { margin: 0; }
.footer-legal a, .site-footer .linklike { color: var(--muted); font-size: 13px; }

/* Sticky WhatsApp + Call bar (mobile) --------------------------------- */
.action-bar {
    position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 50;
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); border-block-start: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(26, 27, 28, .06);
}
@media (min-width: 1024px) {
    body { padding-block-end: 0; }
    .action-bar { inset-inline: auto 24px; inset-block-end: 24px; grid-template-columns: auto; padding: 0; background: none; border: 0; backdrop-filter: none; }
    .action-bar .btn-outline { display: none; }
    .action-bar .btn-wa { box-shadow: var(--shadow-lg); border-radius: 999px; }
}

.cookie-bar { position: fixed; inset-inline: 12px; inset-block-end: calc(var(--bar-h) + 10px); z-index: 60; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); font-size: 14px; max-width: 560px; }
.cookie-bar p { margin: 0; }
.cookie-bar a { text-decoration: underline; }
@media (min-width: 1024px) { .cookie-bar { inset-block-end: 24px; inset-inline-start: 24px; inset-inline-end: auto; } }

.sheet { position: fixed; inset: 0; z-index: 80; display: grid; align-items: end; background: rgba(0, 0, 0, .6); }
.sheet-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px 18px 0 0; padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); max-width: 520px; width: 100%; margin-inline: auto; display: grid; gap: 10px; justify-items: start; }
.sheet-card h2 { font-size: 22px; }
.sheet-close { position: absolute; inset-block-start: 8px; inset-inline-end: 8px; }
.sheet-card img { border-radius: 12px; }
@media (min-width: 720px) { .sheet { align-items: center; } .sheet-card { border-radius: 18px; } }

/* Phone layout: compact spacing ---------------------------------------- */
@media (max-width: 759px) {
    h1 { font-size: 34px; }
    h2 { font-size: 29px; }
    .section { margin-block: 44px; }
    .band { padding-block: 44px; }
    .page-head { padding-block: 18px 4px; }
    .page-head h1 { font-size: 28px; }
    .answer { font-size: 16px; line-height: 1.75; }
    .eyebrow { font-size: 11px; margin-bottom: 8px; }
    .section-head, .section-top { gap: 4px 12px; margin-block-end: 22px; }
    .section-head > div, .section-top > div { flex: 1 1 100%; }
    .section-head > a { gap: 8px; font-size: 14px; min-height: 44px; flex: none; }
    .section-head.center h2 { padding-block-end: 14px; }

    .brand img { height: 44px; }
    .rating-badge { padding: 4px 9px; font-size: 12px; }

    .hero { min-height: 420px; }
    .hero-inner { padding-block: 40px 96px; }
    .hero h1 { font-size: 34px; }
    .hero-sub { font-size: 15px; }
    .hero-bottom { inset-block-end: 26px; font-size: 10px; letter-spacing: 1.5px; }

    .search-form { gap: 10px 14px; padding: 14px 16px 18px; }
    .search-form .btn { min-height: 48px; }

    .trust-strip { margin-block-start: 20px; padding-block-end: 14px; gap: 6px; font-size: 13px; }
    .trust-strip ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 16px; white-space: nowrap; width: 100%; }
    .trust-strip ul::-webkit-scrollbar { display: none; }
    .quick-chips { padding-block-start: 16px; }
    .quick-chips a { font-size: 13px; padding: 6px 14px; }

    .carousel { grid-auto-columns: 84%; gap: 16px; }
    .card-body { padding: 16px 16px 18px; gap: 6px; }
    .card-price { font-size: 20px; }
    .card-title { font-size: 16px; }
    .tags li { font-size: 10px; padding: 2px 7px; }
    .card-body .tags + .card-wa, .card-body .facts + .card-wa { margin-block-start: 10px; }
    .grid { gap: 18px; }

    .owner-banner { margin-block: 44px; }
    .owner-banner > div { padding: 26px 20px; }
    .owner-banner p { margin: 14px 0 20px; font-size: 15px; }
    .owner-banner img { min-height: 0; height: 180px; }

    .area-tiles { gap: 18px 12px; }
    .area-tile span { padding-block-start: 10px; }
    .area-tile b { font-size: 16px; }
    .area-tile small { font-size: 12px; }

    .stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .stat b { font-size: 34px; }
    .stat span { font-size: 12px; }

    .why-grid { gap: 22px 14px; }
    .why-grid b { font-size: 16px; }
    .why-grid span { font-size: 13px; }
    .review { padding: 22px 18px; }
    .review blockquote { font-size: 15px; }
    .carousel.agents { grid-auto-columns: 46%; }
    .agent-card img, .agent-initials { width: 120px; height: 120px; font-size: 36px; }
    .agent-card h3 { font-size: 15px; }
    .post-card h3 { font-size: 18px; }

    .filters { padding: 14px; gap: 10px; }
    .filter-grid { grid-template-columns: 1fr 1fr; gap: 0 14px; }
    .results-bar { padding-block: 16px 10px; }

    .listing-grid { gap: 8px; padding-block: 14px; }
    .listing-price { font-size: 26px; }
    .listing h1 { font-size: 28px; }
    .facts.big { font-size: 14px; gap: 6px 16px; }
    .listing-actions { grid-template-columns: 1fr 1fr; gap: 8px; margin-block: 18px; }
    .listing-actions .btn-gold { grid-column: 1 / -1; }
    .listing-actions .btn { padding-inline: 8px; gap: 6px; font-size: 14px; white-space: nowrap; }
    .facts-table dd { font-size: 15px; }
    .side-card { padding: 18px; }
    .calc { padding: 18px; }
    .calc h2 { font-size: 19px; }
    .map, .map-static { height: 240px; }

    .lead-form { padding: 20px; }
    .lead-form h2 { font-size: 21px; }

    .prose { font-size: 15px; line-height: 1.8; }
    .faq summary { font-size: 15px; min-height: 54px; }
    .link-list a { font-size: 15px; min-height: 50px; }
    .guide-box { padding: 18px; }
    .area-row { padding-block: 10px; }
    .area-name { font-size: 16px; }
    .area-links a { padding: 4px 12px; font-size: 12px; }
    .contact-card { padding: 16px; }
    .empty { padding: 32px 16px; }

    .cta-band { padding-block: 40px; margin-block-start: 48px; }
    .cta-band h2 { font-size: 24px; }
    .cta-band .cta-actions { width: 100%; }
    .cta-band .cta-actions .btn { flex: 1 1 100%; }
    main > :last-child:not(.cta-band) { margin-block-end: 48px; }
    .site-footer { padding-block: 40px 18px; }
    .footer-grid { gap: 24px 16px; }
    .footer-brand img { height: 58px; margin-block-end: 10px; }
    .plain a { min-height: 40px; font-size: 14px; }
    .footer-legal { margin-block-start: 24px; }
    .footer-grid > div:last-child { grid-column: 1 / -1; }
    .footer-grid > div:last-child .plain { display: flex; flex-wrap: wrap; gap: 0 20px; }
}
@media (max-width: 359px) {
    :root { --gutter: 14px; }
    .rating-badge { display: none; }
    .hero h1 { font-size: 31px; }
    .contact-cards { grid-template-columns: 1fr; }
    .filter-grid { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
    .site-header, .action-bar, .site-footer, .cta-band, .lead-form { display: none; }
    body { padding: 0; background: #fff; color: #111; }
    h1, h2, h3, b, strong { color: #111; }
}
.action-bar .btn { min-width: 0; padding-inline: 12px; white-space: nowrap; }

/* Select2 — dark theme matching the underline fields ------------------- */
.select2-container { font-family: inherit; font-size: 16px; }
.select2-container--default .select2-selection--single {
    height: var(--tap); background: transparent; border: 0; border-block-end: 1px solid var(--line-2); border-radius: 0;
    display: flex; align-items: center; cursor: pointer; transition: border-color .2s;
}
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--single { border-color: var(--accent); }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--text); font-weight: 300; line-height: 1.3; padding-inline: 2px 30px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 100%; top: 0; right: 2px; width: 24px; }
.select2-container--default .select2-selection--single .select2-selection__arrow b { border-color: var(--accent) transparent transparent; border-width: 6px 5px 0; margin-left: -5px; margin-top: -3px; }
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b { border-color: transparent transparent var(--accent); border-width: 0 5px 6px; }
.select2-dropdown { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); overflow: hidden; z-index: 70; }
.select2-container--open .select2-dropdown--below { margin-top: 6px; border-radius: var(--radius-sm); }
.select2-container--open .select2-dropdown--above { margin-top: -6px; border-radius: var(--radius-sm); }
.select2-search--dropdown { padding: 10px 10px 4px; }
.select2-container--default .select2-search--dropdown .select2-search__field {
    min-height: 44px; padding: 8px 12px; background: var(--bg); color: var(--text); font-size: 16px; font-weight: 300;
    border: 1px solid var(--line-2); border-radius: var(--radius-sm); outline: 0;
}
.select2-container--default .select2-search--dropdown .select2-search__field:focus { border-color: var(--accent); }
.select2-container--default .select2-results > .select2-results__options { max-height: 300px; padding: 6px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.select2-results__option { min-height: 44px; display: flex; align-items: center; padding: 8px 12px; border-radius: 6px; color: var(--text-2); font-size: 15px; font-weight: 300; }
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background: rgba(224, 195, 137, .12); color: var(--accent); }
.select2-container--default .select2-results__option--selected { background: transparent; color: var(--accent); font-weight: 400; }
.select2-container--default .select2-results__option--selected::after { content: "✓"; margin-inline-start: auto; color: var(--accent); }
.select2-container--default .select2-results__message { color: var(--muted); }
.select2-container--default .select2-results__option--disabled { color: var(--muted); }
/* Lead forms sit on a card; keep their dropdown readable there too */
.lead-form .select2-container, .filters .select2-container, .search-form .select2-container { min-width: 0; }
.results-actions .select2-container { width: 190px !important; }
@media (max-width: 759px) {
    .select2-results__option { font-size: 15px; }
    .select2-container--default .select2-results > .select2-results__options { max-height: 260px; }
    .results-actions .select2-container { width: 150px !important; }
}

/* Inner-page hero (UAE at night) --------------------------------------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: 300px; background: var(--bg-2); color: #fff; }
@media (min-width: 760px) { .page-hero { min-height: 400px; } }
.page-hero picture, .page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 68%; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20, 21, 22, .85) 0%, rgba(20, 21, 22, .35) 50%, rgba(20, 21, 22, .25) 100%), linear-gradient(90deg, rgba(20, 21, 22, .5), transparent 65%); }
.page-hero-inner { padding-block: 22px 34px; width: 100%; }
@media (min-width: 760px) { .page-hero-inner { padding-block: 28px 56px; } }
.page-hero .crumbs { margin-block-end: auto; }
.page-hero .crumbs ol { padding: 0 0 clamp(48px, 10vw, 110px); color: rgba(255, 255, 255, .7); }
.page-hero .crumbs a:hover { color: var(--accent); }
.page-hero .crumbs [aria-current] { color: #fff; }
.page-hero h1 { color: #fff; font-size: clamp(34px, 4.4vw, 56px); font-weight: 300; line-height: 1.08; margin: 0; max-width: 22ch; text-shadow: 0 2px 20px rgba(0, 0, 0, .35); }
.page-hero .eyebrow { margin-block-end: 12px; }
/* The white content that follows starts close under the hero */
.page-hero + .page-head, .page-hero + article .page-head { padding-block-start: 28px; }
.page-hero + .wrap { padding-block-start: 32px; }
.page-hero + .page-head:empty, .page-head:not(:has(*)) { display: none; }
.page-hero + .page-head.agent-hero { padding-block-start: 32px; }
@media (max-width: 759px) {
    .page-hero { min-height: 240px; }
    .page-hero h1 { font-size: 32px; }
    .page-hero .crumbs ol { font-size: 12px; padding-block-end: 44px; }
    .page-hero + .page-head, .page-hero + article .page-head { padding-block-start: 20px; }
}

/* Phone readability: nothing under 12px, hero row clears the search card */
@media (max-width: 759px) {
    .eyebrow, .kicker, .picker > label, .field label, .field legend,
    .facts-table dt, .badge-type, .badge-status, .badge-count, .tags li,
    .crumbs ol, .card-price small, .chip-card .count { font-size: 12px; }
    .eyebrow, .picker > label, .field label, .facts-table dt, .kicker { letter-spacing: 1px; }
    .tags li { letter-spacing: .5px; padding: 3px 8px; }
    .hero-bottom { font-size: 12px; letter-spacing: 1px; inset-block-end: 46px; }
    .hero-inner { padding-block-end: 116px; }
    .hero { min-height: 440px; }
    .stat span, .area-tile small, .why-grid span, .card-loc, .facts { font-size: 13px; }
    .footer-legal, .footer-legal a, .site-footer .linklike { font-size: 12px; }
}

/* Office block: details + Google map ---------------------------------- */
.office { display: grid; gap: 28px; align-items: stretch; }
@media (min-width: 900px) { .office { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px; } }
.office-info h2 { margin-block-end: 14px; }
.office-name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 14px; font-size: 18px; font-weight: 400; color: var(--text); }
.office-rating { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 2px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--text-2); }
.office-rating .i { color: var(--gold); }
.office-rating:hover { border-color: var(--accent); }
.office-lines { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 4px; }
.office-lines li { display: flex; gap: 12px; align-items: flex-start; padding-block: 10px; border-block-end: 1px solid var(--line); color: var(--text-2); }
.office-lines li:last-child { border-block-end: 0; }
.office-lines .i { color: var(--accent); margin-block-start: 3px; }
.office-lines a { color: var(--text); min-height: 28px; display: inline-flex; align-items: center; }
.office-lines a:hover { color: var(--accent); }
.office-hours { display: grid; gap: 2px; }
.office-map { position: relative; min-height: 320px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2) url("/assets/img/map-bg.svg") center/cover; }
.office-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 900px) { .office-map { min-height: 440px; } }
@media (max-width: 759px) {
    .office { gap: 20px; }
    .office-name { font-size: 16px; }
    .office-map { min-height: 280px; }
    .office .cta-actions .btn { flex: 1 1 auto; }
}

/* Hub pages (Section 8) ------------------------------------------------- */
.cat-tabs { display: flex; gap: 8px; overflow-x: auto; padding-block: 4px 18px; scrollbar-width: none; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs a { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--text-2); white-space: nowrap; }
.cat-tabs a span { font-size: 12px; color: var(--muted); }
.cat-tabs a:hover { border-color: var(--accent); color: var(--text); }
.cat-tabs a[aria-current] { background: var(--text); border-color: var(--text); color: #fff; }
.cat-tabs a[aria-current] span { color: rgba(255, 255, 255, .7); }
.beds-block { margin: 36px 0 16px; font-size: 22px; font-weight: 400; }
.beds-block:first-child { margin-block-start: 8px; }
.area-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-block-end: 14px; }
.area-card { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); }
.area-card:hover { border-color: var(--accent); }
.area-card span { font-size: 14px; color: var(--muted); }
.all-areas summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; color: var(--accent); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.all-areas .chip-cards { margin-block-start: 8px; }
.empty-hub { text-align: start; }
.valuation-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 28px; background: var(--bg-2); border-radius: var(--radius); }
.valuation-cta h2 { margin: 0 0 6px; }
.valuation-cta p { margin: 0; color: var(--text-2); }
.recently-sold .card { opacity: .92; }

/* ======================================================================
   Luxury design system (Section 9) — header, cards, motion, home
   ====================================================================== */

/* Header: transparent over a full-bleed photo, solid charcoal on scroll. */
.site-header { background: rgba(22, 29, 39, .97); border-block-end-color: rgba(255, 255, 255, .06); transition: background .4s, border-color .4s, backdrop-filter .4s; }
.has-hero .site-header { position: fixed; inset-inline: 0; background: linear-gradient(180deg, rgba(10, 14, 20, .55), rgba(10, 14, 20, 0)); border-block-end-color: transparent; backdrop-filter: none; }
.has-hero .site-header.is-solid, .has-hero .site-header.menu-open { background: rgba(22, 29, 39, .97); border-block-end-color: rgba(255, 255, 255, .06); backdrop-filter: blur(10px); }
.has-hero .hero { padding-block-start: 88px; }
.has-hero .page-hero { padding-block-start: 88px; min-height: 380px; }
@media (min-width: 760px) { .has-hero .page-hero { min-height: 470px; } }
.nav-link { font-weight: 600; }
.header-cta { font-size: 12px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; border-radius: var(--radius-sm); }
.rating-badge { border-color: rgba(255, 255, 255, .22); }

/* Eyebrows and section heads: quieter, more space. */
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 2.4px; }
.section-head { margin-block-end: 40px; }
.section-head.center h2 { border: 0; padding: 0; }
.section-head.center h2::after { content: ""; display: block; width: 56px; height: 1px; margin: 22px auto 0; background: var(--accent); }

/* Cards: 3:2 photo, price in gold, one-line title, three thin-line facts, area. */
.card { border-radius: var(--radius); border-color: var(--line); background: var(--surface); transition: border-color .4s, box-shadow .4s; }
.card:hover { transform: none; border-color: var(--line-2); box-shadow: var(--shadow-lg); }
.card-media { aspect-ratio: 3 / 2; }
.card-media img { transition: transform 1.4s cubic-bezier(.2, .6, .2, 1); }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 22px 22px 22px; gap: 6px; }
.card-price { font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.1; color: var(--accent); }
.card-price small { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 1.4px; color: var(--accent); }
.card-title { font-family: var(--sans); font-size: 15px; font-weight: 400; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.facts { gap: 6px 20px; font-size: 13px; color: var(--text-2); }
.facts .i, .card-loc .i { stroke-width: 1.4; }
.card-loc { padding-block-start: 10px; margin-block-start: 6px; border-block-start: 1px solid var(--line); }
.card-wa { min-height: 44px; margin-block-start: 16px; background: transparent; color: var(--text); border-color: var(--line-2); }
.card-wa .i { color: var(--wa); }
.card-wa:hover { background: var(--wa); border-color: var(--wa); color: #fff; }
.card-wa:hover .i { color: #fff; }
.card-body .facts + .card-wa, .card-body .card-loc + .card-wa { margin-block-start: 16px; }
.badge-status { border-radius: var(--radius-sm); }

/* Large cards for the Luxury collection. */
.grid.cards.lux { grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 30px; }
.lux .card-media { aspect-ratio: 4 / 3; }
.lux .card-price { font-size: 32px; }

/* Motion: fade and 8px rise on scroll. Nothing bounces; off for reduced motion. */
.js-reveal .reveal { opacity: 0; transform: translateY(8px); transition: opacity .9s ease, transform .9s ease; }
.js-reveal .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js-reveal .reveal { opacity: 1; transform: none; } }

/* Home: browse tiles. */
.cat-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 760px) { .cat-tiles { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.cat-tile { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 5; padding: 18px; overflow: hidden; border-radius: var(--radius); color: #fff; background: var(--ink); }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s cubic-bezier(.2, .6, .2, 1); }
.cat-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 14, 20, .78), rgba(10, 14, 20, .05) 60%); }
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile b { font-family: var(--serif); font-size: 26px; font-weight: 500; color: #fff; line-height: 1.1; }
.cat-tile span { font-size: 13px; color: rgba(255, 255, 255, .8); }
@media (min-width: 760px) { .cat-tile { aspect-ratio: 3 / 4; } .cat-tile b { font-size: 30px; } }
.area-tile small { font-weight: 400; }

/* Home: sell with Malabar. */
.sell-block { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .sell-block { grid-template-columns: 1.1fr 1fr; gap: 64px; } }
.sell-block img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.sell-example { display: flex; gap: 14px; align-items: center; margin-block: 22px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text-2); font-size: 15px; }
.sell-example .i { color: var(--accent); }

/* Home: trust strip. */
.trust { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .trust { grid-template-columns: 1fr 1fr; gap: 64px; } }
.trust-score { font-family: var(--serif); font-size: clamp(64px, 9vw, 104px); font-weight: 300; line-height: 1; color: var(--text); }
.trust-score small { display: block; margin-block-start: 10px; font-family: var(--sans); font-size: 14px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); }
.trust img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.trust ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.trust li { display: flex; gap: 10px; align-items: center; }
.trust li .i { color: var(--accent); }
.trust-quote { margin: 0; padding: 34px 0 0; border-block-start: 1px solid var(--accent); }
.trust-quote blockquote { margin: 0 0 16px; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); font-weight: 300; line-height: 1.35; color: var(--text); }
.trust-quote figcaption { font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.gallery-strip { grid-auto-columns: minmax(260px, 70%); } .gallery-strip img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); } @media (min-width: 760px) { .gallery-strip { grid-auto-columns: minmax(260px, 40%); } }

/* ======================================================================
   Arabic (Section 9): Noto Naskh Arabic headings, Noto Sans Arabic body,
   full RTL. Layout uses logical properties, so mostly fonts and icons here.
   ====================================================================== */
@font-face { font-family: "Noto Naskh Arabic"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/noto-naskh-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E, U+2010-2011, U+204F, U+2E41; }
@font-face { font-family: "Noto Sans Arabic"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/noto-sans-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E, U+2010-2011, U+204F, U+2E41; }
[dir="rtl"] { --serif: "Noto Naskh Arabic", "Cormorant Garamond", Georgia, serif; --sans: "Noto Sans Arabic", Manrope, "Segoe UI", Tahoma, sans-serif; }
[dir="rtl"] body { line-height: 1.8; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.35; font-weight: 600; }
[dir="rtl"] .eyebrow, [dir="rtl"] .btn, [dir="rtl"] .nav-link, [dir="rtl"] .nav-col-title, [dir="rtl"] .m-group summary, [dir="rtl"] .facts-table dt, [dir="rtl"] table.data thead th, [dir="rtl"] .tags li { letter-spacing: 0; text-transform: none; }
[dir="rtl"] .btn, [dir="rtl"] .nav-link { font-size: 14px; }
[dir="rtl"] .card-price, [dir="rtl"] .listing-price, [dir="rtl"] .side-price { font-family: var(--sans); font-weight: 600; }
/* Directional icons point the other way */
[dir="rtl"] .i-arrow-right, [dir="rtl"] .i-arrow-up-right, [dir="rtl"] .i-chevron-right, [dir="rtl"] .i-chevron-left { transform: scaleX(-1); }
.lang-switch { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; font-size: 14px; color: var(--text); }
.lang-switch:hover { color: var(--accent); }
[lang="ar"].lang-switch { font-family: "Noto Sans Arabic", sans-serif; }

/* ======================================================================
   Design review, top five (after Sotheby's, The Agency, Luxhabitat, Driven)
   ====================================================================== */
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant-garamond-italic-latin.woff2") format("woff2"); }

/* 3. Headings with one italic serif phrase */
h1 em, h2 em, h3 em, .trust-score em { font-style: italic; font-weight: 300; letter-spacing: -.01em; }
.dark h1 em, .dark h2 em { color: inherit; }
[dir="rtl"] h1 em, [dir="rtl"] h2 em, [dir="rtl"] h3 em { font-style: normal; font-weight: inherit; color: var(--accent); }

/* 1 + 2. Hero: search bar on the photo, featured-listing caption bottom left */
.hero-inner { padding-block: 40px 132px; }
@media (min-width: 760px) { .hero-inner { padding-block: 120px 190px; } }
.hero-sub { margin-block-end: 0; }
.hero-search {
    /* light controls on the dark photo */
    --bg: #fffdf9; --surface: #fffdf9; --line: #e5ddcf; --line-2: #cbbfab; --text: #1c2430; --text-2: #3f4754; --muted: #666d78; --accent: #87672b;
    --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='%2387672b'%3E%3Cpath d='M6 9h12l-6 7z'/%3E%3C/svg%3E");
    margin-block-start: 28px; max-width: 980px; color: var(--text); background: rgba(255, 253, 249, .97);
    border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}
.hero-search .search-form { padding: 14px 16px 16px; }
.hero-search .btn-gold { background: var(--ink); color: #faf7f1; }
.hero-search .btn-gold:hover { background: var(--ink-2); }
@media (min-width: 760px) {
    .hero-search .search-form { grid-template-columns: 1.2fr 1fr 1fr auto; gap: 0; padding: 10px 10px 10px 0; align-items: stretch; }
    .hero-search .picker { padding: 6px 22px; border-inline-end: 1px solid var(--line); justify-content: center; }
    .hero-search .picker:nth-child(3) { border: 0; }
    .hero-search .btn { min-height: 58px; padding-inline: 30px; }
}
.hero-bottom { align-items: flex-end; }
.hero-captions { display: block; min-width: 0; }
.hero-caption { display: grid; gap: 2px; max-width: 520px; color: #fff; text-transform: none; letter-spacing: 0; font-size: 14px; }
a.hero-caption:hover b { text-decoration: underline; text-underline-offset: 4px; }
.hero-caption small { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.hero-caption b { font-family: var(--serif); font-size: 22px; font-weight: 500; color: #fff; line-height: 1.2; }
.hero-caption span { display: inline-flex; align-items: center; gap: 6px; color: #e6e6e6; }
span.hero-caption { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #e6e6e6; }
@media (max-width: 759px) { .hero-caption b { font-size: 18px; } .hero-bottom { inset-block-end: 22px; } }

/* 4. Proof in large serif numbers */
.proof-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-block: 0; padding-block: 34px; border-block-end: 1px solid var(--line); }
@media (min-width: 760px) { .proof-row { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); padding-block: 52px; } }
.proof { display: grid; gap: 6px; padding: 14px 20px; text-align: center; color: var(--text); border-inline-start: 1px solid var(--line); }
.proof:first-child { border-inline-start: 0; }
@media (max-width: 759px) { .proof:nth-child(odd) { border-inline-start: 0; } }
.proof b { font-family: var(--serif); font-size: clamp(42px, 5vw, 64px); font-weight: 300; line-height: 1; color: var(--text); }
.proof span { font-size: 12px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase; color: var(--accent); }
a.proof:hover b { color: var(--accent); }

/* 5. Editorial split: text beside an offset photo, short gold rule before the lede */
.editorial { display: grid; gap: 36px; align-items: start; }
@media (min-width: 900px) { .editorial { grid-template-columns: 5fr 6fr; gap: 72px; } .editorial.flip > :first-child { order: 2; } }
.editorial h2 { margin-block-end: 26px; }
.editorial .lede { position: relative; padding-inline-start: 84px; color: var(--text-2); font-size: 17px; line-height: 1.75; }
.editorial .lede::before { content: ""; position: absolute; inset-inline-start: 0; top: .85em; width: 56px; height: 1px; background: var(--accent); }
@media (max-width: 759px) { .editorial .lede { padding-inline-start: 0; padding-block-start: 22px; } .editorial .lede::before { top: 0; } }
.editorial-media { position: relative; }
.editorial-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 900px) { .editorial-media { margin-block-start: 72px; } .editorial-media img { aspect-ratio: 5 / 6; } }
.editorial .text-link, .editorial .btn { margin-block-start: 8px; }
@media (max-width: 759px) { .hero-bottom { flex-wrap: wrap; row-gap: 6px; } .hero-bottom .hero-dots { order: -1; width: 100%; } }

/* ======================================================================
   Design review, second five
   ====================================================================== */

/* 6. Tabbed section + mixed-size grid ("bento"), borderless cards */
.section-head.split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 30px; }
.section-intro { max-width: 46ch; margin: 14px 0 0; color: var(--text-2); }
.tab-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; }
.tab-switch [role=tab] { min-height: 44px; padding: 0; border: 0; border-block-end: 1px solid transparent; background: none; font: inherit; font-size: 13px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.tab-switch [role=tab][aria-selected=true] { color: var(--text); border-block-end-color: var(--accent); }
.tab-switch a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 13px; color: var(--accent); }
.bento { gap: 34px 28px; }
@media (min-width: 900px) {
    .bento { grid-template-columns: repeat(3, 1fr); }
    .bento > .card:first-child { grid-column: span 2; grid-row: span 2; }
    .bento > .card:first-child .card-media { flex: 1; aspect-ratio: auto; min-height: 420px; }
    .bento > .card:first-child .card-price { font-size: 36px; }
    .bento > .card:first-child .card-title { font-size: 18px; }
}
.bento .card { border: 0; background: none; box-shadow: none; border-radius: 0; }
.bento .card:hover { box-shadow: none; }
.bento .card-media { border-radius: var(--radius); }
.bento .card-body { padding: 16px 0 0; }
.badge-label { position: absolute; inset-inline-start: 14px; inset-block-end: 14px; padding: 4px 10px; font-size: 11px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink); background: rgba(255, 253, 249, .94); border-radius: var(--radius-sm); }
[dir="rtl"] .badge-label { letter-spacing: 0; }

/* 7. Listing page: title row above the gallery, spec strip, agent first */
.listing-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 30px; padding-block: 26px 22px; }
.listing-head h1 { margin: 0 0 6px; max-width: 26ch; }
.listing-head .card-loc { font-size: 15px; }
.listing-head-price { text-align: end; }
.listing-head .listing-price { margin: 0; font-family: var(--serif); font-size: clamp(30px, 3.6vw, 44px); font-weight: 500; color: var(--accent); line-height: 1.1; }
.status-chip { display: inline-block; margin-block-end: 6px; padding: 4px 10px; font-size: 11px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; border: 1px solid var(--accent); color: var(--accent); border-radius: var(--radius-sm); }
.status-chip.sold { border-color: var(--text); color: var(--text); }
@media (max-width: 759px) { .listing-head-price { text-align: start; } }
.gallery:not(.mosaic) { gap: 8px; scroll-padding-inline: var(--gutter); }
.gallery:not(.mosaic) img { flex: 0 0 88%; border-radius: var(--radius); }
.gallery:not(.mosaic) img:only-child { flex-basis: 100%; }
@media (min-width: 960px) { .gallery:not(.mosaic) { padding-inline: var(--gutter); } .gallery:not(.mosaic) img { flex-basis: 82%; } }
.spec-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); margin: 6px 0 18px; border-block: 1px solid var(--line); }
.spec-strip > div { display: flex; flex-direction: column-reverse; gap: 4px; padding: 16px 14px; border-inline-start: 1px solid var(--line); }
.spec-strip > div:first-child { border-inline-start: 0; padding-inline-start: 0; }
.spec-strip dd { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 400; line-height: 1.1; color: var(--text); overflow-wrap: anywhere; }
.spec-strip dt { font-size: 11px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
[dir="rtl"] .spec-strip dt { letter-spacing: 0; }
.enquiry-card .kicker { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); }
.enquiry-card .agent-card { margin-block: 0 8px; padding-block: 0 14px; border-block-start: 0; border-block-end: 1px solid var(--line); }
.enquiry-card .agent-card img, .enquiry-card .agent-initials { width: 84px; height: 84px; }

/* 8. Area photo carousel on a dark band */
.area-band { overflow: hidden; }
.scroll-btns { display: flex; gap: 8px; }
.scroll-btns .icon-btn { border: 1px solid var(--line-2); color: var(--text); }
.scroll-btns .icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.area-collage { display: flex; align-items: center; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 10px 6px; margin-inline-end: calc(-1 * var(--gutter)); }
.area-collage::-webkit-scrollbar { display: none; }
.collage-item { position: relative; isolation: isolate; flex: 0 0 auto; width: min(70vw, 300px); height: 380px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 20px; overflow: hidden; border-radius: var(--radius); scroll-snap-align: start; color: #fff; background: var(--surface-2); }
.collage-item:nth-child(even) { height: 300px; width: min(70vw, 260px); }
.collage-item:nth-child(3n) { height: 430px; }
.collage-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s cubic-bezier(.2, .6, .2, 1); }
.collage-item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 14, 20, .82), rgba(10, 14, 20, 0) 62%); }
.collage-item:hover img { transform: scale(1.05); }
.collage-name { font-size: 14px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.collage-meta { font-size: 13px; color: rgba(255, 255, 255, .78); }
.collage-go { display: inline-flex; align-items: center; gap: 6px; margin-block-start: 6px; font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); }
.collage-all { justify-content: center; align-items: center; text-align: center; height: 300px; border: 1px solid var(--line-2); background: none; }
.collage-all::after { display: none; }
[dir="rtl"] .collage-name, [dir="rtl"] .collage-go { letter-spacing: 0; }

/* 9. Ajman prices teaser */
.market-teaser { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .market-teaser { grid-template-columns: 4fr 7fr; gap: 64px; } }
.mt-head h2 { margin-block-end: 10px; }
.mt-figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-block: 1px solid var(--line); }
.mt-fig { display: grid; gap: 6px; align-content: start; padding: 26px 22px; border-inline-start: 1px solid var(--line); }
.mt-fig:first-child { border-inline-start: 0; }
.mt-fig b { font-family: var(--serif); font-size: clamp(30px, 2.8vw, 42px); font-weight: 300; line-height: 1.05; color: var(--text); white-space: nowrap; }
.mt-fig span { font-size: 13px; color: var(--text-2); }

/* 10. Brand film */
.brand-film { position: relative; }
.film-play { position: relative; display: block; width: 100%; height: min(78vh, 720px); padding: 0; border: 0; overflow: hidden; background: var(--bg); cursor: pointer; color: #fff; }
.film-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform 1.6s cubic-bezier(.2, .6, .2, 1), opacity .4s; }
.film-play:hover img { transform: scale(1.03); opacity: .9; }
.film-title { position: absolute; inset-inline: 0; top: 50%; transform: translateY(-60%); font-family: var(--serif); font-size: clamp(44px, 8vw, 110px); font-weight: 300; line-height: 1; text-align: center; text-shadow: 0 4px 30px rgba(0, 0, 0, .4); }
.film-title em { font-style: italic; }
.film-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, 70%); display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: rgba(255, 253, 249, .94); color: var(--ink); }
.brand-film .video-frame { display: block; width: 100%; height: min(78vh, 720px); border: 0; background: #000; }
/* Spec strip: room for words like "Freehold", no mid-word breaks */
.spec-strip { grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); }
.spec-strip dd { font-size: 24px; overflow-wrap: normal; hyphens: manual; }
@media (min-width: 1200px) { .spec-strip dd { font-size: 26px; } }
/* One WhatsApp button in the sidebar: the agent card's own is hidden there */
.enquiry-card .agent-card .btn-wa { display: none; }
@media (max-width: 759px) { .spec-strip > div { border-inline-start: 0; padding-inline-start: 0; } }

/* Sell band, hero-style: full-bleed photo that drifts in, copy over a dark fade */
.sell-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--bg-2); display: flex; flex-direction: column; justify-content: flex-end; }
.sell-hero-media { position: relative; height: 340px; z-index: -2; overflow: hidden; }
.sell-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transform: scale(1.12); transition: transform 14s cubic-bezier(.15, .5, .2, 1);
    -webkit-mask-image: linear-gradient(to top, transparent 0%, transparent 18%, #000 62%); mask-image: linear-gradient(to top, transparent 0%, transparent 18%, #000 62%); }
.sell-hero.in .sell-hero-media img { transform: scale(1); }
.sell-hero-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 60% 40%, rgba(212, 183, 122, .16), transparent 60%); mix-blend-mode: screen; }
.sell-hero-inner { position: relative; display: grid; gap: 28px; padding-block: 0 var(--space); margin-block-start: -60px; }
.sell-hero h2 { color: #fff; font-size: clamp(40px, 5.2vw, 66px); font-weight: 300; line-height: 1.02; margin: 0 0 20px; }
.sell-hero .lede { font-size: 17px; line-height: 1.7; color: var(--text-2); max-width: 46ch; margin: 0; }
.sell-steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 20px; counter-reset: none; }
.sell-steps li { position: relative; display: flex; gap: 16px; align-items: baseline; padding-block-start: 18px; }
.sell-steps li::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; height: 1px; width: 100%; background: linear-gradient(90deg, var(--accent), rgba(212, 183, 122, .15)); transform-origin: left; transition: transform 1.1s cubic-bezier(.2, .6, .2, 1); }
[dir="rtl"] .sell-steps li::before { transform-origin: right; background: linear-gradient(-90deg, var(--accent), rgba(212, 183, 122, .15)); }
.sell-steps b { font-family: var(--serif); font-size: 30px; font-weight: 300; font-style: italic; line-height: 1; color: var(--accent); }
.sell-steps strong { display: block; margin-block-end: 4px; font-weight: 500; font-size: 16px; color: var(--text); }
.sell-steps span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.sell-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-block-start: 36px; }
.sell-more { display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap); color: var(--text); border-block-end: 1px solid transparent; transition: gap .3s, color .3s; }
.sell-more .i { color: var(--accent); }
.sell-more:hover { gap: 14px; color: var(--accent); }
.sell-glass { display: grid; gap: 6px; padding: 20px 22px; max-width: 320px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); background: rgba(22, 29, 39, .55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--text-2); transition: border-color .3s, transform .4s; }
.sell-glass:hover { border-color: var(--accent); transform: translateY(-3px); }
.sell-glass small { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.sell-glass b { font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.2; color: #fff; }
.sell-glass span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
@media (min-width: 900px) {
    .sell-hero { min-height: 680px; justify-content: center; }
    .sell-hero-media { position: absolute; inset-block: 0; inset-inline-end: 0; width: 64%; height: auto; }
    .sell-hero-media img { object-position: center 30%; -webkit-mask-image: linear-gradient(to top, transparent 0%, transparent 20%, #000 60%); mask-image: linear-gradient(to top, transparent 0%, transparent 20%, #000 60%); }
    .sell-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, var(--bg-2) 0%, var(--bg-2) 38%, rgba(16, 22, 30, .8) 50%, rgba(16, 22, 30, .2) 72%, rgba(16, 22, 30, .1) 100%); }
    [dir="rtl"] .sell-hero::before { background: linear-gradient(-90deg, var(--bg-2) 0%, var(--bg-2) 38%, rgba(16, 22, 30, .8) 50%, rgba(16, 22, 30, .2) 72%, rgba(16, 22, 30, .1) 100%); }
    .sell-hero-inner { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; margin: 0 auto; padding-block: 110px; }
    .sell-hero-copy { max-width: 600px; }
    .sell-steps { grid-template-columns: repeat(3, 1fr); gap: 26px; }
    .sell-steps li { flex-direction: column; gap: 10px; }
}
/* Steps draw their gold rule and rise in one after another */
.js-inview .sell-hero:not(.in) .sell-steps li::before { transform: scaleX(0); }
.js-inview .sell-hero .sell-steps li > * { transition: opacity .8s ease, transform .8s ease; }
.js-inview .sell-hero:not(.in) .sell-steps li > * { opacity: 0; transform: translateY(10px); }
.sell-steps li:nth-child(2)::before, .sell-steps li:nth-child(2) > * { transition-delay: .25s; }
.sell-steps li:nth-child(3)::before, .sell-steps li:nth-child(3) > * { transition-delay: .5s; }
.js-inview .sell-hero .sell-glass { transition: opacity 1s ease .7s, transform 1s ease .7s, border-color .3s; }
.js-inview .sell-hero:not(.in) .sell-glass { opacity: 0; transform: translateY(16px); }

/* Trusted in Ajman: score and quote on one side, three pillars filling the other */
.trust { gap: 40px; align-items: center; }
@media (min-width: 900px) { .trust { grid-template-columns: 5fr 7fr; gap: 72px; } }
.trust-lead h2 { margin: 0 0 30px; max-width: 14ch; }
.trust .trust-score { display: inline-flex; align-items: center; gap: 20px; font-family: var(--sans); font-size: inherit; color: var(--text); }
.trust-num { font-family: var(--serif); font-size: clamp(68px, 7.5vw, 100px); font-weight: 300; line-height: .9; }
.trust-meta { display: grid; gap: 8px; padding-inline-start: 20px; border-inline-start: 1px solid var(--line); }
.trust-meta small { margin: 0; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); }
.trust-score:hover .trust-num { color: var(--accent); }
.trust-lead .trust-quote { margin-block-start: 34px; padding-block-start: 26px; }
.trust-lead .trust-quote blockquote { position: relative; font-size: clamp(20px, 2vw, 26px); }
.trust-lead .trust-quote blockquote::before { content: "\201C"; position: absolute; inset-inline-start: -4px; top: -54px; font-family: var(--serif); font-size: 80px; line-height: 1; color: var(--accent); opacity: .5; }
.trust .trust-pillars { margin: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .trust .trust-pillars { grid-template-columns: repeat(3, 1fr); } }
.trust .trust-pillars li { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 30px 24px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .45s cubic-bezier(.2, .6, .2, 1), box-shadow .45s, border-color .3s; }
.trust .trust-pillars li::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.2, .6, .2, 1); }
[dir="rtl"] .trust .trust-pillars li::before { transform-origin: right; }
.trust .trust-pillars li:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.trust .trust-pillars li:hover::before { transform: scaleX(1); }
.pillar-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); margin-block-end: 8px; transition: background .4s, color .4s; }
.trust .trust-pillars li:hover .pillar-ico { background: var(--accent); color: #fff; }
.trust-pillars b { font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1.15; color: var(--text); }
.trust-pillars li > span:not(.pillar-ico) { font-size: 14px; line-height: 1.6; color: var(--text-2); flex: 1; }
.trust-pillars a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin-block-start: 4px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--text); }
.trust-pillars a::after { content: ""; position: absolute; inset: 0; }
.trust-pillars a .i { color: var(--accent); transition: transform .3s; }
.trust-pillars li:hover a .i { transform: translateX(4px); }
[dir="rtl"] .trust-pillars li:hover a .i { transform: translateX(-4px) scaleX(-1); }
@media (min-width: 640px) { .js-reveal .trust.reveal .trust-pillars li { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease, box-shadow .45s, border-color .3s; }
    .js-reveal .trust.reveal.in .trust-pillars li { opacity: 1; transform: none; }
    .js-reveal .trust.reveal.in .trust-pillars li:nth-child(2) { transition-delay: .15s, .15s, 0s, 0s; }
    .js-reveal .trust.reveal.in .trust-pillars li:nth-child(3) { transition-delay: .3s, .3s, 0s, 0s; }
    .js-reveal .trust.reveal.in .trust-pillars li:hover { transform: translateY(-6px); transition-delay: 0s; } }
@media (prefers-reduced-motion: reduce) { .sell-hero-media img { transform: none; transition: none; } }
/* Pillars: rows with the icon beside the text where the column is narrow, cards where there is room */
.trust .trust-pillars { grid-template-columns: 1fr; }
.trust .trust-pillars li { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; row-gap: 6px; align-items: start; padding: 24px; }
.trust .trust-pillars li > .pillar-ico { grid-row: span 3; margin: 0; }
.trust .trust-pillars li > a { justify-self: start; }
@media (min-width: 640px) and (max-width: 899px), (min-width: 1200px) {
    .trust .trust-pillars { grid-template-columns: repeat(3, 1fr); }
    .trust .trust-pillars li { grid-template-columns: 1fr; row-gap: 12px; padding: 30px 24px 26px; }
    .trust .trust-pillars li > .pillar-ico { grid-row: auto; margin-block-end: 8px; }
}
.trust-lead .trust-quote { border-block-start: 0; padding-block-start: 0; margin-block-start: 30px; }
.trust-lead .trust-quote blockquote::before { position: static; display: block; height: 38px; font-size: 76px; line-height: 1; opacity: .7; }

/* Rentals: Buy / Rent switch on the home search, "For rent" chip on a listing */
.search-mode { display: flex; gap: 4px; margin: 0; padding: 12px 16px 0; border: 0; }
.search-mode label { position: relative; cursor: pointer; }
.search-mode input { position: absolute; opacity: 0; pointer-events: none; }
.search-mode span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); border-block-end: 2px solid transparent; transition: color .25s, border-color .25s; }
.search-mode label:hover span { color: var(--text); }
.search-mode input:checked + span { color: var(--text); border-color: var(--accent); }
.search-mode input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (min-width: 760px) { .search-mode { padding: 10px 22px 0; } }
[dir="rtl"] .search-mode span { letter-spacing: 0; }
.status-chip.rent { background: rgba(198, 162, 90, .14); color: var(--accent); border-color: transparent; }
/* Listing: how the price compares with the area (one sourced fact) */
.market-note { display: flex; gap: 10px; align-items: flex-start; margin: -6px 0 22px; padding: 12px 14px; font-size: 14px; line-height: 1.55; color: var(--text-2); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.market-note .i { flex: none; margin-top: 2px; color: var(--accent); }
