/* ==========================================================================
   Crown — CMS layer on top of the Crown-HTML design system (crown/css/style-*.css)
   Dynamic menus (submenus), rich-text content from the editor, property filters,
   alerts and pagination. Uses the same design tokens (var(--gold) etc.).
   ========================================================================== */

/* ---- Desktop dropdown submenus (from Admin → Menus) ---- */
.main-nav li { position: relative; }
.main-nav .sub-caret { font-size: .6rem; margin-inline-start: .3rem; transition: transform var(--t) var(--ease); }
.main-nav li.has-sub:hover > a .sub-caret, .main-nav li.has-sub:focus-within > a .sub-caret { transform: rotate(180deg); }
.main-nav .sub-menu {
  position: absolute; top: 100%; inset-inline-start: -1.25rem; z-index: 20; min-width: 250px;
  display: block !important; margin: 0; padding: .6rem 0; list-style: none;
  background: var(--surface); border-top: 2px solid var(--gold); box-shadow: var(--shadow-lg); border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease-out), visibility 0s var(--t);
}
.main-nav li.has-sub:hover > .sub-menu, .main-nav li.has-sub:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; transition: opacity var(--t) var(--ease), transform var(--t) var(--ease-out); }
.main-nav .sub-menu li { width: 100%; }
.main-nav .sub-menu a { padding: .6rem 1.25rem; white-space: nowrap; font-size: .8125rem; color: var(--navy); }
.main-nav .sub-menu a::after { display: none; }
.main-nav .sub-menu a:hover, .main-nav .sub-menu a[aria-current="page"] { background: var(--gold-tint); color: var(--gold-strong); }
.main-nav .sub-menu .sub-menu { top: -.6rem; inset-inline-start: 100%; border-top: 0; border-inline-start: 2px solid var(--gold); border-radius: var(--radius-sm); }
.main-nav li.is-mega > .sub-menu { display: grid !important; grid-template-columns: repeat(2, minmax(220px, 1fr)); padding: 1rem; }

/* ---- Mobile nested menus ---- */
.mobile-menu nav li.has-sub { display: block; }
.mobile-menu .m-row { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu .m-row a { flex: 1; }
.mobile-menu .m-sub-toggle { width: 2.5rem; height: 2.5rem; border: 0; background: transparent; color: #fff; border-radius: 50%; transition: transform var(--t) var(--ease); }
.mobile-menu .m-sub-toggle[aria-expanded="true"] { transform: rotate(180deg); color: var(--gold); }
.mobile-menu .m-sub { list-style: none; margin: 0; padding: 0 0 .75rem; padding-inline-start: 1rem; display: none; }
.mobile-menu .m-sub.open { display: block; }
.mobile-menu .m-sub li { border: 0 !important; opacity: 1 !important; transform: none !important; }
.mobile-menu .m-sub a { font-size: .9375rem !important; padding: .55rem 0 !important; color: rgba(255,255,255,.75) !important; justify-content: flex-start !important; }

/* ---- Rich text from the CMS editor ---- */
.cms-content { color: var(--text); font-size: .9375rem; line-height: 1.9; }
.cms-content > *:last-child { margin-bottom: 0; }
.cms-content h2, .cms-content h3, .cms-content h4 { color: var(--ink); margin: 2rem 0 1rem; letter-spacing: -.01em; }
.cms-content h2 { font-size: var(--fs-h3); }
.cms-content h3 { font-size: var(--fs-h4); }
.cms-content h4 { font-size: var(--fs-h5); }
.cms-content p { margin-bottom: 1rem; }
.cms-content a:not(.btn-c) { color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; }
.cms-content strong { color: var(--ink); font-weight: 600; }
.cms-content ul { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .65rem; }
.cms-content ul li { position: relative; padding-inline-start: 2rem; }
.cms-content ul li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; inset-inline-start: 0; top: .15em; width: 1.4rem; height: 1.4rem; display: grid; place-items: center; border-radius: 50%; background: var(--gold-tint); color: var(--gold-text); font-size: .85rem; }
.cms-content ol { padding-inline-start: 1.25rem; }
.cms-content img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.cms-content blockquote { margin: 1.5rem 0; padding: 1.25rem 1.5rem; border-inline-start: 3px solid var(--gold); background: var(--surface-2); font-family: var(--font-display); color: var(--ink); }
.cms-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.25rem; }
.cms-content th, .cms-content td { border: 1px solid var(--line); padding: .6rem .8rem; }
.cms-content th { background: var(--brown-900); color: #fff; }
.cms-content iframe { max-width: 100%; }
.cms-content.on-dark, .on-dark .cms-content { color: rgba(255,255,255,.8); }
.text-sm-c { font-size: .875rem; }

/* Hero slide: the editor's Short Description holds the pill, title, text and buttons */
.hero-content .hero-pill { margin: 0; }
.hero-content .hero-actions { margin: 0; }
.hero-content .hero-actions a { margin-inline-end: .5rem; }
.hero-content > .slide-html > p:not(.hero-pill):not(.hero-actions) { font-family: var(--font-alt); font-size: .875rem; line-height: 1.7; color: rgba(255,255,255,.8); max-width: 530px; margin-bottom: 2.3rem; }
.hero-content > .slide-html > .hero-title, .hero-content > .slide-html > h1, .hero-content > .slide-html > h2 { color: #fff; margin: .875rem 0 1.875rem; font-size: var(--fs-h1); line-height: .98; font-weight: 500; }
[dir="rtl"] .hero-content > .slide-html > .hero-title, [dir="rtl"] .hero-content > .slide-html > h2 { line-height: 1.3; }

/* ---- Alerts ---- */
.alert-c { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.25rem; border-radius: var(--radius-xs); font-weight: 500; margin-bottom: 1.25rem; }
.alert-c.success { background: #E8F7F1; color: #11694F; }
.alert-c.error { background: #FDECEC; color: #9B1C1C; }
[data-theme="dark"] .alert-c.success { background: #10241d; color: #7fe0bf; }
[data-theme="dark"] .alert-c.error { background: #2a1414; color: #f3a6a6; }

/* ---- Property filter panel ---- */
.filter-panel { padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.filter-panel .form-label-c { display: block; font-family: var(--font-display); font-size: .75rem; font-weight: 600; color: var(--ink); margin-bottom: .35rem; }
.filter-panel .input-c { min-height: 2.75rem; padding: .55rem .8rem; font-size: .875rem; }
.filter-panel .more-filters[hidden] { display: none; }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin: 2rem 0 1.25rem; }
.results-bar .count { font-family: var(--font-display); color: var(--ink); }
.results-bar select { min-height: 2.5rem; width: auto; }
.chip-link { display: inline-block; padding: .55rem 1rem; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-family: var(--font-display); font-size: .6875rem; border-radius: var(--radius-xs); transition: all var(--t) var(--ease); }
.chip-link:hover { border-color: var(--gold); color: var(--gold-text); }
.chip-link.active { background: var(--accent-bg); border-color: var(--accent-bg); color: var(--accent-fg); }
[dir="rtl"] .chip-link { font-size: .8125rem; }
.empty-state { text-align: center; padding: 3.5rem 1rem; border: 1px dashed var(--line); border-radius: var(--radius-sm); background: var(--surface-2); color: var(--muted); }
.empty-state > .bi { font-size: 2.25rem; color: var(--gold); display: block; margin-bottom: .75rem; }

/* Property detail */
.property-hero-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; color: var(--muted); font-size: .875rem; margin-bottom: 1.5rem; }
.property-hero-meta .bi { color: var(--gold-text); }
.amenity-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .75rem; }
.amenity-list li { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-xs); font-size: .875rem; color: var(--ink); background: var(--surface); }
.amenity-list .bi { color: var(--gold-text); font-size: 1.1rem; }
.private-ribbon { display: flex; align-items: center; gap: .6rem; padding: .75rem 1rem; margin-bottom: 1.5rem; background: var(--gold-tint); color: var(--ink); border-inline-start: 3px solid var(--gold); font-size: .875rem; }
.status-pill { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border-radius: var(--radius-pill); font-family: var(--font-alt); font-size: .625rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--surface-3); color: var(--ink); }
.status-pill.available { background: #E3F6EF; color: #11694F; }
.status-pill.sold, .status-pill.rented { background: #FDECEC; color: #9B1C1C; }
.status-pill.reserved { background: #FFF4DB; color: #8A5A00; }
[dir="rtl"] .status-pill { letter-spacing: 0; font-size: .75rem; }

/* Grid of property cards (listing page) */
.property-grid .property-card .thumb .badge-tag { max-width: calc(100% - 2rem); }

/* ---- Pagination (shared) ---- */
.pagination-c { flex-wrap: wrap; }

/* ---- Partner logos ---- */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.logo-grid .logo-cell { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: all var(--t) var(--ease); }
.logo-grid .logo-cell img { max-height: 70px; width: auto; filter: grayscale(1); opacity: .75; transition: all var(--t) var(--ease); }
.logo-grid .logo-cell:hover { border-color: var(--gold-soft); box-shadow: var(--shadow); }
.logo-grid .logo-cell:hover img { filter: none; opacity: 1; }

/* ---- Section blocks (About sections theme) ---- */
.section-block + .section-block { margin-top: var(--section-y); }
.section-block .media-frame img { aspect-ratio: 4 / 3; }

/* ---- Small helpers ---- */
.mw-720 { max-width: 720px; }
.gap-y-section { row-gap: var(--section-y); }
/* Stacked forms (careers apply) space fields with the grid gap; inside a Bootstrap row (contact form) every column
   keeps the row's gutter so fields side by side (name / email) sit on the same line */
.form-card .form-c > .field + .field { margin-top: 0; }
.footer-links-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
@media (max-width: 480px) { .footer-links-cols { grid-template-columns: 1fr 1fr; } }

/* Closing statement under a CMS section (category Description) */
.section-closing { max-width: 860px; padding: 1.25rem 1.5rem; border-inline-start: 3px solid var(--gold); background: var(--surface-2); color: var(--ink); }
.section-closing p { margin-bottom: .75rem; }
.section-head.center + * + .section-closing, .text-center .section-closing { margin-inline: auto; }
.overview-text p { font-size: .9375rem; }
.overview-text p:first-child { font-size: 1.05rem; color: var(--ink); }

/* Hero pill written in the editor as <span>Word</span><span>Word</span>: gold dot between items (no empty elements to lose) */
.hero-pill > span:not(.dot) + span:not(.dot)::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); vertical-align: middle; margin-inline-end: .55rem; }
/* Hero buttons written in the editor get the design's arrow automatically */
.slide-html .hero-actions a::after { content: "\F138"; font-family: "bootstrap-icons"; font-size: .9em; margin-inline-start: .5rem; display: inline-block; transition: transform var(--t) var(--ease); }
.slide-html .hero-actions a:hover::after { transform: translateX(3px); }
[dir="rtl"] .slide-html .hero-actions a::after { transform: scaleX(-1); }
[dir="rtl"] .slide-html .hero-actions a:hover::after { transform: scaleX(-1) translateX(3px); }

/* Project card brief description (2 lines) */
.project-card .desc { color: rgba(255,255,255,.82); font-size: .8125rem; line-height: 1.55; margin: -.25rem 0 .75rem; max-width: 560px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.projects-carousel .swiper-slide:not(.swiper-slide-active) .project-card .desc { opacity: 0; }
@media (max-width: 576px) { .project-card .desc { -webkit-line-clamp: 3; } }

/* =====================================================================
   Client review (Nov 2026): typography scale, partner strip, vertical
   timeline, compact team cards, Why Crown scroll motion, footer credit
   ===================================================================== */

/* ---- Typography: readable menu/footer, calmer section headings ---- */
:root {
  --fs-base: .9375rem;
  --fs-h1: clamp(2.1rem, 1.2rem + 2.4vw, 3.5rem);
  --fs-h2: clamp(1.7rem, 1.1rem + 1.5vw, 2.5rem);
  --fs-h2-xl: clamp(1.8rem, 1.1rem + 1.7vw, 2.75rem);
  --fs-h2-md: clamp(1.7rem, 1.1rem + 1.5vw, 2.5rem);
  --fs-h2-sm: clamp(1.6rem, 1.1rem + 1.3vw, 2.25rem);
  --fs-h3: clamp(1.25rem, 1.1rem + .5vw, 1.625rem);
}
html[dir="rtl"] {
  --fs-h1: clamp(1.9rem, 1.2rem + 2.1vw, 3.1rem);
  --fs-h2: clamp(1.55rem, 1.1rem + 1.3vw, 2.25rem);
  --fs-h2-xl: clamp(1.65rem, 1.1rem + 1.5vw, 2.4rem);
  --fs-h2-md: clamp(1.55rem, 1.1rem + 1.3vw, 2.25rem);
  --fs-h2-sm: clamp(1.5rem, 1.1rem + 1.15vw, 2.1rem);
}
body { font-size: var(--fs-base); }
h1, h2, h3, .h1, .h2, .h3 { text-wrap: balance; }
.hero .hero-title, .hero-content > .slide-html > .hero-title, .hero-content > .slide-html > h1, .hero-content > .slide-html > h2 { font-size: clamp(2.25rem, 1.2rem + 2.7vw, 3.9rem); }
html[dir="rtl"] .hero .hero-title, html[dir="rtl"] .hero-content > .slide-html > .hero-title, html[dir="rtl"] .hero-content > .slide-html > h1, html[dir="rtl"] .hero-content > .slide-html > h2 { font-size: clamp(2rem, 1.2rem + 2.3vw, 3.4rem); }
.page-banner h1 { font-size: clamp(2rem, 1.3rem + 1.9vw, 3.25rem); }
html[dir="rtl"] .page-banner h1 { font-size: clamp(1.8rem, 1.2rem + 1.7vw, 2.85rem); }
.cms-content h2 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.75rem); }
.cms-content h3 { font-size: clamp(1.15rem, 1.05rem + .35vw, 1.375rem); }
/* Short headings ("Trusted Partners", "Board of Directors") stay on one line */
@media (min-width: 576px) { .line.one-line { white-space: nowrap; } }

/* Header menu */
.main-nav a { font-size: .875rem; }
html[dir="rtl"] .main-nav a { font-size: .9375rem; }
.main-nav .sub-menu a { font-size: .875rem; }
html[dir="rtl"] .main-nav .sub-menu a { font-size: .9375rem; }
@media (min-width: 1200px) and (max-width: 1399.98px) { .main-nav ul { gap: 1.15rem; } }

/* Footer */
.site-footer { font-size: .9375rem; }
.footer-title { font-size: .8125rem; margin-bottom: 1.25rem; }
html[dir="rtl"] .footer-title { font-size: .9375rem; }
.footer-bottom, .footer-bottom ul { font-size: .8125rem; color: rgba(255,255,255,.55); }
.footer-bottom a { color: rgba(255,255,255,.6); }
/* Keep the bottom line clear of the floating WhatsApp / back-to-top buttons */
@media (min-width: 768px) { .footer-bottom { padding-inline: 4.5rem; } }
@media (max-width: 767.98px) { .footer-bottom { padding-bottom: 5.5rem; } }
.dev-credit a { color: var(--gold); font-weight: 600; }
.dev-credit a:hover { color: #fff; }

/* Small body copy that was below comfortable reading size */
.why-list p { font-size: .875rem; }
.why-list h3 { font-size: 1.125rem; }
html[dir="rtl"] .why-list p, html[dir="rtl"] .service-card p, html[dir="rtl"] .property-card p { font-size: .9375rem; }

/* Inner pages: long texts read comfortably beside the sidebar */
.cms-content { font-size: 1rem; line-height: 1.85; }
.cms-content p { margin-bottom: 1.1em; }
.cms-content ul li { margin-bottom: .55rem; }
html[dir="rtl"] .cms-content { line-height: 2; }
/* Arabic pages read right-to-left everywhere: text pasted into the editor from LTR sources (Word, web pages)
   may carry left alignment or dir="ltr" on whole blocks — keep those blocks RTL */
html[dir="rtl"] .cms-content [style*="text-align: left"], html[dir="rtl"] .cms-content [style*="text-align:left"] { text-align: right !important; }
html[dir="rtl"] .cms-content :is(p, li, ul, ol, h2, h3, h4, div, blockquote)[dir="ltr"] { direction: rtl; text-align: right; }

/* ---- Partner logos: endless sliding strip ---- */
.logo-marquee { overflow: hidden; padding-block: .25rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.logo-track { display: flex; width: max-content; animation: logo-scroll var(--logo-duration, 44s) linear infinite; }
.logo-marquee:hover .logo-track, .logo-marquee:focus-within .logo-track { animation-play-state: paused; }
.logo-group { display: flex; gap: 1rem; padding-inline-end: 1rem; }
.logo-marquee .logo-cell { flex: 0 0 auto; width: clamp(140px, 11vw, 190px); aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.logo-marquee .logo-cell img { max-height: 64px; max-width: 100%; width: auto; filter: grayscale(1); opacity: .75; transition: all var(--t) var(--ease); }
.logo-marquee .logo-cell:hover { border-color: var(--gold-soft); box-shadow: var(--shadow); }
.logo-marquee .logo-cell:hover img { filter: none; opacity: 1; }
@keyframes logo-scroll { to { transform: translate3d(-50%, 0, 0); } }
@keyframes logo-scroll-rtl { to { transform: translate3d(50%, 0, 0); } }
[dir="rtl"] .logo-track { animation-name: logo-scroll-rtl; }
@media (prefers-reduced-motion: reduce) {
  .logo-marquee { -webkit-mask-image: none; mask-image: none; }
  .logo-track { animation: none; width: auto; }
  .logo-group { flex-wrap: wrap; justify-content: center; padding: 0; }
  .logo-group[aria-hidden="true"] { display: none; }
}

/* ---- Vertical timeline (Project Journey): number + title beside a readable text block ---- */
.timeline-v { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; position: relative; }
.timeline-v::before { content: ""; position: absolute; inset-inline-start: 1.75rem; top: 1rem; bottom: 1rem; width: 1px; background: repeating-linear-gradient(180deg, var(--gold-soft) 0 8px, transparent 8px 14px); }
.tl-item { position: relative; display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: 1.5rem; padding-bottom: 1.75rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: relative; z-index: 1; width: 3.5rem; height: 3.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--gold-soft); color: var(--gold-text); font-family: var(--font-display); font-weight: 600; transition: all var(--t) var(--ease); }
.tl-item:hover .tl-dot { background: var(--gold); color: #fff; border-color: var(--gold); box-shadow: 0 0 0 8px var(--gold-tint); }
.tl-body { padding: 1.15rem 1.5rem 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.tl-item:hover .tl-body { border-color: var(--gold-soft); box-shadow: var(--shadow); }
.tl-body h3 { font-size: var(--fs-h5); margin-bottom: .5rem; }
.tl-body .cms-content { font-size: .9375rem; line-height: 1.8; color: var(--muted); }
.tl-body .cms-content > :last-child { margin-bottom: 0; }
@media (max-width: 575.98px) {
  .tl-item { grid-template-columns: 2.75rem minmax(0, 1fr); gap: 1rem; }
  .tl-dot { width: 2.75rem; height: 2.75rem; font-size: .875rem; }
  .timeline-v::before { inset-inline-start: 1.375rem; }
  .tl-body { padding: 1rem; }
}

/* ---- Board of Directors / Executive Management: compact cards ---- */
.team-grid .team-card { max-width: 250px; margin-inline: auto; }
.team-grid .team-card .photo { aspect-ratio: 1 / 1; margin-bottom: 1rem; }
.team-grid .team-card .initials { font-size: clamp(2rem, 1.4rem + 1.6vw, 2.9rem); }
.team-grid .team-card h3 { font-size: 1rem; }
.team-grid .team-card .role { font-size: .75rem; }
html[dir="rtl"] .team-grid .team-card .role { font-size: .8125rem; }

/* ---- Why Crown: scroll-driven motion (crown-cms.js sets --why-x and --why-p) ---- */
/* overflow: clip (not hidden) so the pinned heading column keeps working with position: sticky */
.why-section { position: relative; overflow: clip; isolation: isolate; }
.why-section > .container { position: relative; z-index: 1; }
.why-backdrop { position: absolute; z-index: 0; top: 50%; inset-inline-start: 0; margin: 0; white-space: nowrap; pointer-events: none; user-select: none; font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 2rem + 10vw, 13rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold-soft); opacity: .5; transform: translate3d(var(--why-x, 0%), -50%, 0); will-change: transform; }
@media (min-width: 992px) { .why-sticky { position: sticky; top: calc(var(--header-h) + 2rem); } }
.why-rail { position: relative; }
@media (min-width: 992px) {
  .why-rail::before, .why-rail::after { content: ""; position: absolute; inset-inline-start: -.25rem; top: 0; width: 2px; border-radius: 2px; }
  .why-rail::before { bottom: 0; background: var(--line); }
  .why-rail::after { height: calc(var(--why-p, 0) * 100%); background: var(--gold); }
}
.why-list li .n, .why-list li h3 { transition: color .4s var(--ease); }
.why-list li.is-active .n, .why-list li.is-active h3 { color: var(--gold-text); }
.why-list li.is-active::after { width: 100%; }
@media (prefers-reduced-motion: reduce) { .why-backdrop { transform: translate3d(0, -50%, 0); } }

/* =====================================================================
   Client review (Nov 2026, 2): one brand gold everywhere, slate dark mode,
   real-estate "More Opportunities" accounts
   ===================================================================== */

/* ---- One gold (#BD9D6E, the "Explore Properties" button) for text, numbers, footer titles and lines ---- */
:root { --gold: #BD9D6E; --gold-strong: #BD9D6E; --gold-text: #BD9D6E; --gold-marquee: #BD9D6E; --gold-num: #BD9D6E; --gold-soft: #BD9D6E; }
.site-footer { border-top-color: var(--gold); }

/* ---- Dark mode: slate #3A495F instead of the near-black brown ---- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface: #3A495F; --surface-2: #334157; --surface-3: #43536B; --line: #52627B;
    --ink: #F6F3EE; --navy: #F6F3EE; --navy-2: #E4E8EF; --navy-3: #C6CDD8; --heading-strong: #FFFFFF;
    --text: #D8DEE7; --muted: #B8C1CE; --text-card: rgba(255,255,255,.7);
    --gold-text: #BD9D6E; --gold-tint: #4E5661;
    --brown-950: #2A3546; --brown-900: #2F3B4E; --brown-800: #2C3749; --brown-700: #3A495F;
    --overlay: rgba(30, 38, 51, .62); --accent-bg: var(--gold); --accent-fg: #2A3546;
  }
}
:root[data-theme="dark"] {
  --surface: #3A495F; --surface-2: #334157; --surface-3: #43536B; --line: #52627B;
  --ink: #F6F3EE; --navy: #F6F3EE; --navy-2: #E4E8EF; --navy-3: #C6CDD8; --heading-strong: #FFFFFF;
  --text: #D8DEE7; --muted: #B8C1CE; --text-card: rgba(255,255,255,.7);
  --gold-text: #BD9D6E; --gold-tint: #4E5661;
  --brown-950: #2A3546; --brown-900: #2F3B4E; --brown-800: #2C3749; --brown-700: #3A495F;
  --overlay: rgba(30, 38, 51, .62); --accent-bg: var(--gold); --accent-fg: #2A3546;
}

/* Dark-mode UI pieces that had the old near-black brown hard-coded (photo shading gradients stay as designed) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .search-overlay { background: rgba(42, 53, 70, .96); }
  :root:not([data-theme="light"]) .badge-status { background: #2A3546; }
  :root:not([data-theme="light"]) .footer-map { background: #2F3B4E; }
  :root:not([data-theme="light"]) .hero-pill { background: rgba(42, 53, 70, .6); }
}
:root[data-theme="dark"] .search-overlay { background: rgba(42, 53, 70, .96); }
:root[data-theme="dark"] .badge-status { background: #2A3546; }
:root[data-theme="dark"] .footer-map { background: #2F3B4E; }
:root[data-theme="dark"] .hero-pill { background: rgba(42, 53, 70, .6); }

/* Phone / WhatsApp numbers never break across lines */
.topbar .ltr-num, .footer-contact .ltr, .info-box .ltr, .mobile-menu-foot .ltr { white-space: nowrap; }

/* ---- More Opportunities: Crown Real Estate accounts on the properties pages ---- */
.re-social-band { padding-block: 0 var(--section-y, 5rem); }
.re-social-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; padding: clamp(1.75rem, 3vw, 2.5rem); border: 1px solid var(--line); border-inline-start: 4px solid var(--gold); border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow-sm); }
.re-social-box > div:first-child { flex: 1 1 420px; }
.re-social-box h2 { margin-bottom: .5rem; }
.re-social-links { display: flex; flex-wrap: wrap; gap: .75rem; }
.re-social-link { display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.2rem; border: 1px solid var(--gold); border-radius: var(--radius-xs); color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: .9375rem; transition: all var(--t) var(--ease); }
.re-social-link .bi { color: var(--gold); font-size: 1.15rem; transition: color var(--t) var(--ease); }
.re-social-link:hover { background: var(--gold); color: #fff; }
.re-social-link:hover .bi { color: #fff; }
.re-social-widget .re-social-link { flex: 1 1 auto; justify-content: center; }
