/* ==========================================================================
   LURAQ — site styles
   Architectural, minimal, mobile-first. Logical properties throughout so the
   Arabic (RTL) version mirrors without overrides.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --charcoal: #171717;
  --ink: #171717;
  --ink-2: #2b2926;
  --warm: #FAF9F6;
  --beige: #EDE8E1;
  --beige-2: #F4F1EC;
  --taupe: #B8ADA0;
  --bronze: #B08D57;
  --bronze-dark: #7E6236;     /* bronze for small text (AA on light) */
  --olive: #4F5A50;
  --white: #FFFFFF;
  --muted: #5F5A54;           /* 6.4:1 on warm white */
  --muted-2: #77706A;
  --line: #E4DED5;
  --line-2: #D6CEC3;
  --danger: #A63D2F;
  --success: #3F6B4A;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(23, 23, 23, .05);
  --shadow: 0 8px 24px -12px rgba(23, 23, 23, .18);
  --shadow-lg: 0 20px 40px -24px rgba(23, 23, 23, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t: 240ms var(--ease);

  --gutter: 20px;
  --section: 56px;
  --header-h: 64px;
  --maxw: 1240px;
}
@media (min-width: 640px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --gutter: 48px; --section: 88px; --header-h: 72px; } }

html[lang="ar"] { --font: "IBM Plex Sans Arabic", "Inter", system-ui, "Segoe UI", Tahoma, Arial, sans-serif; }

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--ink);
  background: var(--warm); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (max-width: 639px) { body { font-size: 15px; } }
img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.35; }
h1 { font-size: clamp(30px, 3.6vw + 12px, 50px); }
h2 { font-size: clamp(24px, 1.6vw + 16px, 36px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--beige); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--charcoal); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
.hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; opacity: 0; pointer-events: none; }

.ic { width: 20px; height: 20px; flex: none; }
.ic-xs { width: 15px; height: 15px; }
.ic-sm { width: 18px; height: 18px; }
.ic-lg { width: 26px; height: 26px; }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding-block: var(--section); }
.section-sm { padding-block: calc(var(--section) * .66); }
.section-alt { background: var(--beige-2); }
.section-beige { background: var(--beige); }
.section-white { background: var(--white); }
.section-dark { background: var(--charcoal); color: #EDEAE4; }
.section-dark h2, .section-dark h3 { color: #fff; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head.is-center { justify-content: center; text-align: center; }
.section-head.is-center .section-head-text { margin-inline: auto; }
.section-head-text { max-width: 640px; }
.section-title { margin: 0; }
.section-lead { color: var(--muted); margin: 10px 0 0; font-size: 16.5px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-dark); margin: 0 0 12px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--bronze); }
.is-center .eyebrow::before { display: none; }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 13px; }
.lead { font-size: 17px; color: var(--muted); }
.muted { color: var(--muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 16px; } .mt-2 { margin-top: 32px; } .mb-0 { margin-bottom: 0; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid { gap: 28px; } }

.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split-wide { grid-template-columns: 1.1fr .9fr; } }

/* fade-in on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- 4. Buttons, links, badges ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--radius-sm); border: 1px solid transparent; font-size: 15px; font-weight: 500; line-height: 1; text-decoration: none; white-space: nowrap; transition: background var(--t), color var(--t), border-color var(--t), transform var(--t); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--charcoal); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-accent { background: var(--bronze); color: #fff; }
.btn-accent:hover { background: #9A7A48; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--beige); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
@media (max-width: 639px) { .btn-block-sm { width: 100%; } }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .btn-row > .btn { flex: 1 1 100%; } }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 500; color: var(--ink); text-decoration: none; min-height: 44px; }
.link-arrow .ic { transition: transform var(--t); color: var(--bronze); }
.link-arrow:hover .ic { transform: translateX(3px); }
[dir="rtl"] .link-arrow:hover .ic { transform: translateX(-3px); }
.link-arrow:hover { text-decoration: underline; }

.badge { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 6px; font-size: 12px; font-weight: 500; letter-spacing: .02em; }
.badge-light { background: rgba(255, 255, 255, .94); color: var(--ink); }
.badge-dark { background: rgba(23, 23, 23, .86); color: #fff; }
.badge-outline { border: 1px solid var(--line-2); color: var(--muted); }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px; background: var(--beige); color: var(--ink-2); font-size: 12px; font-weight: 500; }

.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius-sm); border: 0; background: transparent; color: var(--ink); text-decoration: none; position: relative; transition: background var(--t); }
.icon-btn:hover { background: var(--beige); }
.icon-btn .count:empty { display: none; }
.icon-btn .count { position: absolute; top: 6px; inset-inline-end: 4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--bronze); color: #fff; font-size: 10.5px; font-weight: 600; line-height: 17px; text-align: center; }

/* ---------- 5. Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .label { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.req { color: var(--danger); }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: #fff; font-size: 15px; transition: border-color var(--t), box-shadow var(--t); appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field select, select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171717' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 16px; background-position: right 14px center; padding-inline-end: 40px; }
[dir="rtl"] .field select, [dir="rtl"] select.input { background-position: left 14px center; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--taupe); }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(176, 141, 87, .22); }
.field input::placeholder, .field textarea::placeholder { color: #9A938B; }
.field-error { margin: 0; min-height: 0; font-size: 13px; color: var(--danger); }
.field-error:empty { display: none; }
.has-error input, .has-error select, .has-error textarea, [aria-invalid="true"] { border-color: var(--danger) !important; }
.field-hint { font-size: 12.5px; color: var(--muted); margin: 0; }
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; gap: 18px 20px; } .field-full { grid-column: 1 / -1; } }
.enquiry-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
@media (min-width: 640px) { .enquiry-form { padding: 32px; } }
.enquiry-form.is-compact .form-grid { grid-template-columns: 1fr; }
.form-title { font-size: 22px; margin-bottom: 18px; }
.form-actions { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-note { margin: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.checkbox { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14.5px; cursor: pointer; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--charcoal); }

.alert { display: flex; gap: 10px; align-items: flex-start; padding: 13px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: 14.5px; border: 1px solid; }
.alert .ic { margin-top: 2px; }
.alert-success { background: #EEF3EE; border-color: #C9DACB; color: #234A2E; }
.alert-error { background: #FBEFEC; border-color: #EDC9C1; color: #7D2A1F; }
.alert-info { background: var(--beige-2); border-color: var(--line); color: var(--ink-2); }

/* ---------- 6. Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--warm); border-bottom: 1px solid transparent; transition: border-color var(--t), background var(--t), box-shadow var(--t); }
.site-header.is-scrolled { background: rgba(250, 249, 246, .86); border-bottom-color: var(--line); -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex: none; min-height: 44px; }
.brand-mark { width: 38px; height: 38px; }
.brand-logo { height: 40px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 18px; font-weight: 700; letter-spacing: .2em; font-family: "Inter", system-ui, sans-serif; }
.brand-sub { font-size: 9.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 5px; font-family: "Inter", system-ui, sans-serif; }
html[lang="ar"] .brand-sub { letter-spacing: 0; font-size: 10.5px; font-family: var(--font); }

.main-nav { display: none; margin-inline-start: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); text-decoration: none; border-radius: 6px; transition: color var(--t); white-space: nowrap; }
.nav-link:hover, .nav-item.is-active > .nav-link { color: var(--ink); }
.nav-item.is-active > .nav-link { box-shadow: inset 0 -2px 0 var(--bronze); border-radius: 0; }
.has-sub > .nav-link { padding-inline-end: 2px; }
.sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 44px; border: 0; background: none; color: var(--muted); padding: 0; margin-inline-end: 4px; }
.sub-toggle .ic { transition: transform var(--t); }
.nav-sub { position: absolute; top: calc(100% + 2px); inset-inline-start: 0; min-width: 230px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.nav-sub ul { list-style: none; }
.nav-sub a { display: flex; align-items: center; min-height: 42px; padding: 0 12px; border-radius: 6px; font-size: 14.5px; color: var(--ink-2); text-decoration: none; }
.nav-sub a:hover, .nav-sub a:focus-visible { background: var(--beige-2); color: var(--ink); }
.has-sub:hover > .nav-sub, .has-sub:focus-within > .nav-sub, .has-sub.is-open > .nav-sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .sub-toggle .ic, .has-sub.is-open .sub-toggle .ic { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.main-nav + .header-actions { margin-inline-start: 8px; }
.header-cta { display: none; margin-inline-start: 6px; }
.lang-switch { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 10px; border: 0; background: none; border-radius: var(--radius-sm); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.lang-btn:hover { background: var(--beige); }
.lang-menu { position: absolute; top: calc(100% + 4px); inset-inline-end: 0; list-style: none; min-width: 150px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); display: none; }
.lang-switch.is-open .lang-menu { display: block; }
.lang-menu a { display: flex; align-items: center; min-height: 42px; padding: 0 12px; border-radius: 6px; text-decoration: none; font-size: 14.5px; }
.lang-menu a:hover { background: var(--beige-2); }
.lang-menu a[aria-current] { font-weight: 600; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; color: var(--ink); }
@media (min-width: 760px) { .header-cta { display: inline-flex; } }
@media (min-width: 1240px) {
  .main-nav { display: block; }
  .menu-toggle { display: none; }
  .saved-link:not(.has-count) { display: none; }
}
@media (min-width: 1240px) and (max-width: 1599px) {
  .brand-sub { display: none; }
}
@media (min-width: 1240px) and (max-width: 1399px) {
  .nav-link { padding: 0 7px; font-size: 14px; }
  .header-cta { padding: 0 14px; }
  .lang-btn span { display: none; }
}
@media (max-width: 420px) { .brand-sub { display: none; } }

/* Mobile drawer */
.mobile-nav { position: fixed; inset: 0; z-index: 150; }
.mobile-nav[hidden] { display: none; }
.mobile-nav-backdrop { position: absolute; inset: 0; background: rgba(23, 23, 23, .45); opacity: 0; transition: opacity .25s; }
.mobile-nav-panel { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(420px, 100%); background: var(--warm); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto; overscroll-behavior: contain; }
[dir="rtl"] .mobile-nav-panel { transform: translateX(-100%); }
.mobile-nav.is-open .mobile-nav-backdrop { opacity: 1; }
.mobile-nav.is-open .mobile-nav-panel { transform: none; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding: 0 12px 0 var(--gutter); border-bottom: 1px solid var(--line); flex: none; }
[dir="rtl"] .mobile-nav-head { padding: 0 var(--gutter) 0 12px; }
.mobile-nav-title { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.m-list { list-style: none; padding: 8px var(--gutter); }
.m-list a { display: flex; align-items: center; gap: 14px; min-height: 54px; font-size: 17px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); }
.m-list a .ic { color: var(--bronze); }
.m-list a[aria-current] { color: var(--ink); font-weight: 600; }
.m-secondary { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; padding: 8px var(--gutter) 16px; }
.m-secondary a { display: flex; align-items: center; min-height: 44px; font-size: 14.5px; color: var(--muted); text-decoration: none; }
.mobile-nav-foot { margin-top: auto; padding: 16px var(--gutter) calc(20px + env(safe-area-inset-bottom)); display: grid; gap: 10px; border-top: 1px solid var(--line); background: #fff; }
.m-langs { display: flex; justify-content: center; gap: 4px; margin-top: 4px; }
.m-langs a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; font-size: 14px; text-decoration: none; color: var(--muted); border-radius: 6px; }
.m-langs a[aria-current] { color: var(--ink); font-weight: 600; background: var(--beige-2); }
body.nav-open { overflow: hidden; }

/* Breadcrumbs */
.crumbs { border-bottom: 1px solid var(--line); background: var(--warm); }
.crumbs ol { list-style: none; display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 8px; align-items: center; min-height: 44px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.crumbs ol::-webkit-scrollbar { display: none; }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--taupe); }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 7. Home hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; min-height: 560px; display: flex; align-items: center; background: var(--charcoal); }
@media (min-width: 1024px) { .hero { min-height: 620px; } }
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-bg img, .hero-bg picture { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17, 16, 15, .78) 0%, rgba(17, 16, 15, .5) 48%, rgba(17, 16, 15, .2) 100%), linear-gradient(0deg, rgba(17, 16, 15, .45), rgba(17, 16, 15, 0) 40%); }
[dir="rtl"] .hero::after { background: linear-gradient(270deg, rgba(17, 16, 15, .78) 0%, rgba(17, 16, 15, .5) 48%, rgba(17, 16, 15, .2) 100%), linear-gradient(0deg, rgba(17, 16, 15, .45), rgba(17, 16, 15, 0) 40%); }
@media (max-width: 639px) { .hero::after { background: linear-gradient(0deg, rgba(17, 16, 15, .85) 0%, rgba(17, 16, 15, .55) 55%, rgba(17, 16, 15, .35) 100%); } }
.hero-inner { padding-block: 64px 112px; }
.hero-content { max-width: 580px; }
.hero-label { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #E7D8BF; margin: 0 0 18px; display: inline-flex; align-items: center; gap: 12px; }
.hero-label::before { content: ""; width: 28px; height: 1px; background: var(--bronze); }
html[lang="ar"] .hero-label { letter-spacing: 0; font-size: 13.5px; }
.hero h1 { color: #fff; font-size: clamp(32px, 3.4vw + 14px, 52px); margin-bottom: 18px; }
.hero-text { font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .86); max-width: 520px; margin-bottom: 30px; }
@media (max-width: 639px) { .hero-text { font-size: 15.5px; } .hero-inner { padding-block: 56px 96px; } }

/* Quick service navigation */
.quick-nav { position: relative; z-index: 5; margin-top: -60px; }
.quick-nav-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: hidden; }
.qn-item { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 20px; text-decoration: none; border-inline-end: 1px solid var(--line); transition: background var(--t); min-height: 140px; }
.qn-item:last-child { border-inline-end: 0; }
.qn-item:hover { background: var(--beige-2); }
.qn-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--beige-2); display: inline-flex; align-items: center; justify-content: center; color: var(--bronze-dark); margin-bottom: 4px; transition: background var(--t); }
.qn-item:hover .qn-ic { background: #fff; }
.qn-title { font-size: 15.5px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 6px; }
.qn-title .ic { color: var(--bronze); opacity: 0; transform: translateX(-4px); transition: opacity var(--t), transform var(--t); }
.qn-item:hover .qn-title .ic { opacity: 1; transform: none; }
.qn-text { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
@media (max-width: 1023px) {
  .quick-nav-card { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius); }
  .quick-nav-card::-webkit-scrollbar { display: none; }
  .qn-item { flex: 0 0 min(240px, 70%); scroll-snap-align: start; min-height: 0; padding: 18px; }
}
@media (max-width: 479px) {
  .quick-nav { margin-top: -48px; }
  .quick-nav-card { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; }
  .qn-item { padding: 16px; border-bottom: 1px solid var(--line); }
  .qn-item:nth-child(2n) { border-inline-end: 0; }
  .qn-item:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .qn-text { display: none; }
  .qn-title .ic { display: none; }
}

/* ---------- 8. Service cards ("What we do") ---------- */
.svc-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .svc-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.svc-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; transition: border-color var(--t), transform var(--t), box-shadow var(--t); }
.svc-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.svc-card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--beige); }
.svc-card-media img, .svc-card-media picture { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-card:hover .svc-card-media img { transform: scale(1.04); }
.svc-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.svc-num { font-size: 13px; font-weight: 600; color: var(--bronze-dark); letter-spacing: .08em; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.svc-card h3 { margin-bottom: 8px; }
.svc-card p { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin-bottom: 16px; }
.svc-card .link-arrow { margin-top: auto; min-height: 0; }

/* Feature cards (icon + text) */
.feature { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); height: 100%; transition: border-color var(--t); }
.feature:hover { border-color: var(--line-2); }
.feature-ic { width: 44px; height: 44px; border-radius: 10px; background: var(--beige-2); color: var(--bronze-dark); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature h3 { font-size: 17.5px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14.5px; margin: 0; line-height: 1.55; }
.feature-num { font-size: 13px; font-weight: 600; color: var(--bronze-dark); letter-spacing: .08em; margin-bottom: 12px; display: block; }
.section-dark .feature { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section-dark .feature p { color: rgba(237, 234, 228, .72); }
.section-dark .feature-ic { background: rgba(176, 141, 87, .16); color: #D9BF93; }
.section-dark .feature-num { color: #D9BF93; }

/* ---------- 9. Property cards / filters / search ---------- */
.p-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .p-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .p-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.p-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow var(--t), border-color var(--t); }
.p-card:hover { box-shadow: var(--shadow); border-color: var(--line-2); }
.p-card[hidden] { display: none; }
.p-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--beige); }
.p-card-media > a, .p-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.p-card-media img { transition: transform .6s var(--ease); }
.p-card:hover .p-card-media img { transform: scale(1.04); }
.p-card-badges { position: absolute; top: 14px; inset-inline-start: 14px; display: flex; gap: 6px; flex-wrap: wrap; pointer-events: none; }
.save-form { position: absolute; top: 10px; inset-inline-end: 10px; margin: 0; }
.save-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .94); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; transition: background var(--t), color var(--t), transform var(--t); }
.save-btn:hover { transform: scale(1.05); }
.save-btn.is-on { color: #fff; background: var(--charcoal); }
.save-btn.is-on .ic { fill: currentColor; }
.save-btn.is-inline { position: static; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-sm); width: auto; padding: 0 16px; gap: 8px; height: 48px; font-size: 14.5px; font-weight: 500; }
.p-card-body { padding: 18px 20px 16px; display: flex; flex-direction: column; flex: 1; }
.p-card-meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); margin: 0 0 6px; }
.p-card-meta .dot { color: var(--taupe); }
.p-card-title { font-size: 18px; margin: 0 0 12px; line-height: 1.35; }
.p-card-title a { text-decoration: none; }
.p-card-title a:hover { text-decoration: underline; }
.p-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); margin-top: auto; }
.p-facts li { display: inline-flex; align-items: center; gap: 6px; }
.p-facts .ic { color: var(--taupe); }
.p-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.price { font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.p-card-foot .link-arrow { min-height: 44px; }

.filter-tabs { display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-bottom: 28px; padding-bottom: 2px; }
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tab { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: background var(--t), color var(--t), border-color var(--t); }
.filter-tab:hover { border-color: var(--ink); }
.filter-tab.is-active, .filter-tab[aria-pressed="true"], .filter-tab[aria-current] { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.filter-tab .n { font-size: 12px; opacity: .65; }

.search-bar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); }
.search-bar .search-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .search-bar .search-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .search-bar { padding: 22px 24px; } .search-bar .search-grid { grid-template-columns: repeat(5, minmax(0, 1fr)) auto; align-items: end; } .search-bar .btn { min-width: 170px; } }
.search-bar .btn { min-height: 48px; }
@media (max-width: 1023px) { .search-bar .btn { width: 100%; grid-column: 1 / -1; } }

/* Listing page filters */
.listing-tools { display: grid; gap: 16px; margin-bottom: 28px; }
.listing-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; font-size: 14.5px; color: var(--muted); }
.listing-meta strong { color: var(--ink); }
.sort-form { display: flex; align-items: center; gap: 10px; }
.sort-form select { min-height: 44px; }
.filters-toggle { display: none; }

/* ---------- 10. Split / check list / media ---------- */
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--beige); }
.media-frame img, .media-frame picture { width: 100%; height: 100%; object-fit: cover; }
.media-frame.ratio-4-5 { aspect-ratio: 4 / 5; }
.media-frame.ratio-4-3 { aspect-ratio: 4 / 3; }
.media-frame.ratio-3-2 { aspect-ratio: 3 / 2; }
@media (max-width: 899px) { .media-frame.ratio-4-5 { aspect-ratio: 4 / 3; } }
.media-note { position: absolute; inset-inline-start: 16px; bottom: 16px; background: rgba(255, 255, 255, .95); padding: 12px 16px; border-radius: var(--radius-sm); font-size: 13.5px; max-width: 260px; box-shadow: var(--shadow-sm); }
.media-note strong { display: block; font-size: 14.5px; }
.check-list { list-style: none; display: grid; gap: 4px 24px; margin: 20px 0 28px; }
@media (min-width: 360px) { .check-list.cols-2 { grid-template-columns: 1fr 1fr; gap: 0 16px; } .check-list.cols-2 li { font-size: 14.5px; } }
.check-list li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.check-list .ic { color: var(--bronze); margin-top: 2px; }
.check-list strong { display: block; font-weight: 600; }
.check-list span small { display: block; color: var(--muted); font-size: 13.5px; }

/* ---------- 11. Before / after ---------- */
.ba { margin: 0; }
.ba-stage { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius-lg); overflow: hidden; background: var(--beige); --pos: 50%; user-select: none; touch-action: pan-y; }
.ba-img { position: absolute; inset: 0; }
.ba-img img { width: 100%; height: 100%; object-fit: cover; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
[dir="rtl"] .ba-before { clip-path: inset(0 0 0 calc(100% - var(--pos))); }
.ba-label { position: absolute; top: 14px; padding: 5px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: rgba(23, 23, 23, .78); color: #fff; pointer-events: none; }
.ba-label-before { inset-inline-start: 14px; }
.ba-label-after { inset-inline-end: 14px; background: rgba(255, 255, 255, .92); color: var(--ink); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
[dir="rtl"] .ba-handle { left: auto; right: var(--pos); transform: translateX(1px); }
.ba-knob { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; color: var(--ink); }
.ba-knob .ic { width: 14px; height: 14px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba-range:focus-visible + * { outline: none; }
.ba-stage:focus-within { outline: 2px solid var(--bronze); outline-offset: 3px; }
.ba figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.ba figcaption a { color: var(--ink); font-weight: 500; }
.ba-types { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin: 24px 0 28px; }
.ba-type { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-size: 14.5px; font-weight: 500; }
.ba-type .ic { color: var(--bronze-dark); }
.ba-flow { display: flex; align-items: center; gap: 14px; margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-dark); }
.ba-flow .ic { color: var(--bronze); }
.ba-pair { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.ba-pair .media-frame { aspect-ratio: 4 / 5; }
.ba-pair .ba-label { top: 12px; }

/* ---------- 12. Materials ---------- */
.mat-cat-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .mat-cat-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.mat-cat { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color var(--t), background var(--t); min-height: 128px; }
.mat-cat:hover { border-color: var(--ink); }
.mat-cat-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--beige-2); color: var(--bronze-dark); display: inline-flex; align-items: center; justify-content: center; }
.mat-cat-name { font-size: 15px; font-weight: 600; line-height: 1.3; }
.mat-cat-n { font-size: 13px; color: var(--muted); margin-top: auto; }

.m-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .m-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1180px) { .m-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.m-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color var(--t), box-shadow var(--t); }
.m-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.m-card-media { aspect-ratio: 1 / 1; background: var(--beige-2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.m-card-media img { width: 100%; height: 100%; object-fit: cover; }
.ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--beige-2), var(--beige)); color: var(--taupe); }
.ic-ph { width: 44px; height: 44px; stroke-width: 1.2; }
.m-card-body { padding: 14px 16px 12px; display: flex; flex-direction: column; flex: 1; }
.m-card-cat { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--bronze-dark); margin: 0 0 6px; }
html[lang="ar"] .m-card-cat { letter-spacing: 0; }
.m-card-title { font-size: 15px; line-height: 1.4; margin: 0 0 6px; font-weight: 600; }
.m-card-title a { text-decoration: none; }
.m-card-title a:hover { text-decoration: underline; }
.m-card-spec { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.m-card-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; }
.m-price { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.m-price .unit { font-weight: 400; color: var(--muted); }
.m-card .link-arrow { font-size: 13.5px; min-height: 40px; }
@media (max-width: 479px) {
  .m-grid { gap: 12px; }
  .m-card-body { padding: 12px; }
  .m-card-title { font-size: 14px; }
  .m-card .link-arrow { display: none; }
}

.mat-subnav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 14px 0; }
.mat-subnav::-webkit-scrollbar { display: none; }
.catalogue { display: grid; gap: 28px; }
@media (min-width: 1024px) { .catalogue { grid-template-columns: 260px minmax(0, 1fr); gap: 40px; } }
.facets { display: grid; gap: 18px; align-content: start; }
.facet-group { border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.facet-title { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.facet-list { list-style: none; display: grid; gap: 2px; max-height: 280px; overflow-y: auto; }
.facet-list a { display: flex; justify-content: space-between; gap: 10px; min-height: 36px; align-items: center; padding: 0 10px; border-radius: 6px; font-size: 14px; text-decoration: none; color: var(--ink-2); }
.facet-list a:hover { background: var(--beige-2); }
.facet-list a[aria-current] { background: var(--charcoal); color: #fff; }
.facet-list .n { font-size: 12px; color: var(--muted); }
.facet-list a[aria-current] .n { color: rgba(255, 255, 255, .7); }
@media (max-width: 1023px) {
  .facets-panel { display: none; }
  .facets-panel.is-open { display: grid; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
  .filters-toggle { display: inline-flex; }
}

.product { display: grid; gap: 28px; }
@media (min-width: 960px) { .product { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: start; } }
.gallery-main { aspect-ratio: 1 / 1; background: var(--beige-2); border-radius: var(--radius-lg); overflow: hidden; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.gallery-main .ic-ph { width: 72px; height: 72px; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.gallery-thumbs button { flex: none; width: 76px; height: 76px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: clamp(26px, 1.6vw + 18px, 38px); margin-bottom: 10px; }
.product-cat { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.product-short { color: var(--muted); font-size: 16px; }
.product-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 18px 0; }
.product-price strong { font-size: 22px; }
.kv { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; border-top: 1px solid var(--line); margin: 0; }
.kv dt, .kv dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.kv dt { color: var(--muted); padding-inline-end: 16px; }
.kv dd { color: var(--ink); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--beige-2); font-size: 13.5px; }
.quote-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; margin-top: 22px; }
.quote-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }
.quote-row .field { flex: 0 0 130px; }
.quote-row .btn { flex: 1 1 200px; }
.doc-list { list-style: none; display: grid; gap: 8px; }
.doc-list a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; text-decoration: none; font-size: 14.5px; }
.doc-list a:hover { border-color: var(--ink); }
.doc-list .muted { margin-inline-start: auto; font-size: 13px; }
.tabs-block { margin-top: 48px; display: grid; gap: 32px; }
@media (min-width: 960px) { .tabs-block { grid-template-columns: 1fr 1fr; gap: 48px; } }
.block-title { font-size: 20px; margin-bottom: 14px; }

/* RFQ */
.rfq-layout { display: grid; gap: 28px; }
@media (min-width: 1024px) { .rfq-layout { grid-template-columns: minmax(0, 1fr) 420px; gap: 40px; align-items: start; } }
.rfq-items { list-style: none; display: grid; gap: 12px; }
.rfq-item { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.rfq-thumb { width: 64px; height: 64px; border-radius: var(--radius-sm); overflow: hidden; background: var(--beige-2); display: flex; align-items: center; justify-content: center; }
.rfq-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rfq-thumb .ic-ph { width: 28px; height: 28px; }
.rfq-item h3 { font-size: 15px; margin: 0 0 4px; }
.rfq-item .sku { font-size: 12.5px; color: var(--muted); }
.rfq-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-top: 10px; grid-column: 1 / -1; }
.rfq-controls .field { flex: 0 0 120px; }
.rfq-controls .field-notes { flex: 1 1 180px; }
.rfq-controls .field input { min-height: 44px; }
.btn-link { background: none; border: 0; padding: 0 6px; min-height: 44px; color: var(--danger); font-size: 14px; text-decoration: underline; }
.sticky-col { position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 1023px) { .sticky-col { position: static; } }

/* ---------- 13. Projects ---------- */
.pj-grid { columns: 1; column-gap: 24px; }
@media (min-width: 640px) { .pj-grid { columns: 2; } }
@media (min-width: 1024px) { .pj-grid { columns: 3; column-gap: 28px; } }
.pj-grid > * { break-inside: avoid; margin-bottom: 24px; }
.pj-grid-even { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pj-grid-even { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pj-grid-even { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.pj-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow var(--t), border-color var(--t); }
.pj-card:hover { box-shadow: var(--shadow); border-color: var(--line-2); }
.pj-card-link { display: block; text-decoration: none; color: inherit; }
.pj-card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--beige); }
.pj-grid > :nth-child(3n+2) .pj-card-media { aspect-ratio: 3 / 2; }
.pj-grid > :nth-child(4n+1) .pj-card-media { aspect-ratio: 4 / 5; }
.pj-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pj-card:hover .pj-card-media img { transform: scale(1.04); }
.pj-card-body { padding: 18px 20px 14px; }
.pj-card-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.pj-card-title { font-size: 18px; margin: 0 0 6px; }
.pj-card-loc { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); margin: 0 0 8px; }
.pj-card-text { font-size: 14.5px; color: var(--muted); margin: 0 0 6px; }
.pj-card .link-arrow { min-height: 40px; }
.pj-card:hover .link-arrow { text-decoration: underline; }

.pj-hero { position: relative; aspect-ratio: 16 / 9; max-height: 620px; width: 100%; overflow: hidden; background: var(--beige); }
@media (max-width: 639px) { .pj-hero { aspect-ratio: 4 / 3; } }
.pj-hero img, .pj-hero picture { width: 100%; height: 100%; object-fit: cover; }
.pj-head { display: grid; gap: 24px; padding-block: 40px 8px; }
@media (min-width: 960px) { .pj-head { grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: end; } }
.pj-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.pj-facts div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.pj-facts dt { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 2px; }
html[lang="ar"] .pj-facts dt { letter-spacing: 0; }
.pj-facts dd { margin: 0; font-weight: 500; }
.prose { font-size: 16.5px; line-height: 1.75; color: var(--ink-2); }
.prose h2 { font-size: clamp(22px, 1vw + 16px, 28px); margin: 1.8em 0 .6em; }
.prose h3 { font-size: 19px; margin: 1.6em 0 .5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--bronze-dark); }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-inline-start: 2px solid var(--bronze); color: var(--ink); font-size: 17.5px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: start; }
.prose th { background: var(--beige-2); }
.prose > :first-child { margin-top: 0; }
.cs-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .cs-grid { grid-template-columns: 1fr 1fr; } }
.cs-block { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cs-block h2 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.cs-block h2 .ic { color: var(--bronze); }
.gallery-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.gallery-grid button { padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--beige); cursor: zoom-in; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-grid button:hover img { transform: scale(1.04); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.spec-table th { color: var(--muted); font-weight: 400; width: 42%; padding-inline-end: 16px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(12, 12, 12, .94); display: flex; align-items: center; justify-content: center; padding: 56px 12px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 6px; }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 12px; inset-inline-end: 12px; }
.lb-prev { inset-inline-start: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { inset-inline-end: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .7); font-size: 13px; }

/* ---------- 14. Trust, process, testimonials, stats ---------- */
.why-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .why-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.process { list-style: none; display: grid; gap: 0; counter-reset: step; position: relative; }
.process-step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding-bottom: 24px; }
.process-step:last-child { padding-bottom: 0; }
.process-step::before { content: ""; position: absolute; top: 44px; bottom: 0; inset-inline-start: 21px; width: 1px; background: var(--line-2); }
.process-step:last-child::before { display: none; }
.process-num { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: var(--bronze-dark); font-variant-numeric: tabular-nums; position: relative; z-index: 1; }
.process-step h3 { font-size: 17px; margin: 10px 0 4px; }
.process-step p { font-size: 14.5px; color: var(--muted); margin: 0; }
@media (min-width: 900px) {
  .process { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .process-step { grid-template-columns: 1fr; gap: 0; padding-bottom: 0; }
  .process-step::before { top: 22px; bottom: auto; inset-inline-start: 56px; inset-inline-end: -12px; width: auto; height: 1px; }
  .process-step h3 { margin-top: 18px; }
}
.process.steps-6 { }
@media (min-width: 900px) { .process.steps-6 { grid-template-columns: repeat(6, 1fr); } .process.steps-4 { grid-template-columns: repeat(4, 1fr); } }
.section-dark .process-num { background: transparent; border-color: rgba(255, 255, 255, .25); color: #D9BF93; }
.section-dark .process-step::before { background: rgba(255, 255, 255, .18); }
.section-dark .process-step p { color: rgba(237, 234, 228, .72); }

.t-slider { position: relative; }
.t-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.t-track::-webkit-scrollbar { display: none; }
@media (min-width: 760px) { .t-track { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (min-width: 1100px) { .t-track { grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; } }
.t-card { scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; margin: 0; }
.t-stars { display: flex; gap: 2px; color: var(--bronze); }
.t-stars .ic { width: 16px; height: 16px; fill: currentColor; }
.t-quote { font-size: 15.5px; line-height: 1.65; color: var(--ink-2); margin: 0; }
.t-person { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.t-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--beige); color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15px; flex: none; overflow: hidden; }
.t-avatar img { width: 100%; height: 100%; object-fit: cover; }
.t-name { font-weight: 600; font-size: 15px; display: block; font-style: normal; }
.t-meta { font-size: 13px; color: var(--muted); }
.t-nav { display: flex; gap: 8px; }
.t-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.t-nav button:hover { border-color: var(--ink); }
.t-nav button:disabled { opacity: .35; cursor: default; }
[dir="rtl"] .t-nav .ic { transform: scaleX(-1); }

.stats { background: var(--white); border-block: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(var(--n, 4), 1fr); } }
.stat { padding: 28px 16px; text-align: center; border-inline-end: 1px solid var(--line); }
.stat:last-child { border-inline-end: 0; }
@media (max-width: 899px) { .stat:nth-child(2n) { border-inline-end: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }
.stat strong { display: block; font-size: clamp(28px, 2vw + 16px, 40px); font-weight: 600; color: var(--bronze-dark); letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); }

/* ---------- 15. CTA band, footer, WhatsApp ---------- */
.cta-band { background: var(--charcoal); color: #EDEAE4; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; padding-block: 56px; min-height: 250px; }
@media (min-width: 1024px) { .cta-inner { padding-block: 72px; min-height: 300px; } }
.cta-text { max-width: 640px; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 1.4vw + 16px, 34px); margin-bottom: 10px; }
.cta-band p { color: rgba(237, 234, 228, .76); margin: 0; font-size: 16.5px; }

.site-footer { background: #121212; color: rgba(237, 234, 228, .74); font-size: 14.5px; }
.footer-grid { display: grid; gap: 0; padding-block: 48px 24px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 64px 32px; } }
.brand-light { color: #fff; }
.brand-light .brand-sub { color: rgba(237, 234, 228, .6); }
.f-about { margin: 18px 0 0; max-width: 340px; line-height: 1.6; }
.f-title { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 0; }
html[lang="ar"] .f-title { letter-spacing: 0; font-size: 14.5px; }
.f-acc { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.f-acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 56px; cursor: pointer; }
.f-acc summary::-webkit-details-marker { display: none; }
.f-acc summary .ic { color: rgba(255, 255, 255, .6); transition: transform var(--t); }
.f-acc[open] summary .ic { transform: rotate(180deg); }
.f-links { list-style: none; padding-bottom: 14px; }
.f-links a, .f-contact-list a { color: rgba(237, 234, 228, .74); text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; }
.f-links a:hover, .f-contact-list a:hover { color: #fff; text-decoration: underline; }
.f-brand { padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.f-contact { padding-top: 24px; }
.f-contact .f-title { margin-bottom: 12px; }
.f-contact-list { list-style: none; display: grid; gap: 2px; }
.f-contact-list li { display: flex; align-items: center; gap: 12px; min-height: 40px; }
.f-contact-list .ic { color: var(--bronze); }
.f-social { list-style: none; display: flex; gap: 8px; margin-top: 16px; }
.f-social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: background var(--t), border-color var(--t); }
.f-social a:hover { background: var(--bronze); border-color: var(--bronze); }
@media (min-width: 768px) {
  .f-brand, .f-acc { border: 0; padding: 0; }
  .f-acc summary { pointer-events: none; min-height: 0; margin-bottom: 14px; }
  .f-acc summary .ic { display: none; }
  .f-links { padding: 0; }
  .f-links a, .f-contact-list a { min-height: 34px; }
  .f-contact { padding-top: 0; }
  .f-contact .f-title { margin-bottom: 14px; }
  .f-contact-list li { min-height: 34px; }
}
.f-note { padding-bottom: 20px; }
.f-note p { margin: 0; font-size: 12.5px; color: rgba(237, 234, 228, .5); max-width: 900px; }
.f-note a { color: rgba(237, 234, 228, .7); }
.f-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.f-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 18px calc(18px + env(safe-area-inset-bottom)); font-size: 13px; }
.f-bottom p { margin: 0; }
.f-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 18px; }
.f-bottom a { color: rgba(237, 234, 228, .74); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.f-bottom a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 899px) { .site-footer { padding-bottom: 72px; } }

.wa-float { position: fixed; z-index: 90; bottom: calc(16px + env(safe-area-inset-bottom)); inset-inline-end: 16px; width: 52px; height: 52px; border-radius: 50%; background: #1F8A55; color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .45); transition: transform var(--t), opacity var(--t); }
.wa-float .ic { width: 26px; height: 26px; }
.wa-float:hover { transform: scale(1.05); }
.wa-float.is-hidden { opacity: 0; pointer-events: none; transform: translateY(12px); }
@media (min-width: 900px) { .wa-float { display: none; } }

/* ---------- 16. Pages ---------- */
.page-hero { background: var(--beige-2); padding-block: 48px; border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) { .page-hero { padding-block: 72px; } }
.page-hero h1 { max-width: 860px; margin-bottom: 14px; font-size: clamp(30px, 2.6vw + 14px, 46px); }
.page-hero-lead { font-size: 17px; color: var(--muted); max-width: 680px; margin-bottom: 0; }
.page-hero .btn-row { margin-top: 26px; }
.page-hero.has-image { position: relative; isolation: isolate; color: #fff; background: var(--charcoal); border: 0; min-height: 380px; display: flex; align-items: flex-end; }
@media (min-width: 1024px) { .page-hero.has-image { min-height: 440px; } }
.page-hero.has-image .page-hero-inner { width: 100%; }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg picture, .page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(17, 16, 15, .82) 0%, rgba(17, 16, 15, .45) 60%, rgba(17, 16, 15, .3) 100%); }
.page-hero.has-image h1 { color: #fff; }
.page-hero.has-image .page-hero-lead { color: rgba(255, 255, 255, .84); }
.page-hero.has-image .eyebrow { color: #E7D8BF; }

/* Property detail */
.pd-head { display: grid; gap: 16px; padding-block: 28px 20px; }
@media (min-width: 900px) { .pd-head { grid-template-columns: 1fr auto; align-items: end; gap: 32px; padding-block: 40px 24px; } }
.pd-head h1 { font-size: clamp(26px, 1.8vw + 16px, 40px); margin-bottom: 8px; }
.pd-loc { display: flex; align-items: center; gap: 8px; color: var(--muted); margin: 0; }
.pd-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.pd-badges .badge { border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); }
.pd-price { text-align: end; }
.pd-price .price { font-size: clamp(24px, 1.2vw + 18px, 32px); display: block; }
.pd-price small { color: var(--muted); font-size: 13px; }
@media (max-width: 899px) { .pd-price { text-align: start; } }
.pd-gallery { display: grid; gap: 10px; }
@media (min-width: 900px) { .pd-gallery { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; height: 540px; } .pd-gallery .g-main { grid-row: 1 / 3; } }
.pd-gallery button { padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--beige); position: relative; cursor: zoom-in; display: block; width: 100%; }
.pd-gallery .g-main { aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .pd-gallery .g-main, .pd-gallery .g-side { aspect-ratio: auto; height: 100%; } }
.pd-gallery .g-side { aspect-ratio: 4 / 3; }
@media (max-width: 899px) { .pd-gallery .g-side { display: none; } }
.pd-gallery img { width: 100%; height: 100%; object-fit: cover; }
.g-more { position: absolute; inset-inline-end: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 6px; background: rgba(255, 255, 255, .94); font-size: 13.5px; font-weight: 500; color: var(--ink); }
.pd-layout { display: grid; gap: 32px; padding-block: 36px var(--section); }
@media (min-width: 1024px) { .pd-layout { grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; align-items: start; } }
.pd-keyfacts { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
@media (min-width: 640px) { .pd-keyfacts { grid-template-columns: repeat(4, 1fr); } }
.pd-keyfacts div { padding: 16px; border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pd-keyfacts .ic { color: var(--bronze); margin-bottom: 8px; display: block; }
.pd-keyfacts dt { font-size: 12.5px; color: var(--muted); margin: 0; }
.pd-keyfacts dd { margin: 2px 0 0; font-weight: 600; font-size: 16px; }
.pd-section { padding-top: 36px; }
.pd-section h2 { font-size: 22px; margin-bottom: 16px; }
.amenities { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
@media (min-width: 760px) { .amenities { grid-template-columns: repeat(3, 1fr); } }
.amenities li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.amenities .ic { color: var(--bronze); }
.note-box { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--beige-2); font-size: 13.5px; color: var(--muted); }
.pd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pd-actions .btn, .pd-actions .save-btn.is-inline { min-height: 44px; }
.pd-actions .save-form { position: static; }
.pd-aside .enquiry-form { padding: 22px; }
.pd-agent { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }

/* Blog */
.b-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .b-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .b-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.b-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow var(--t); }
.b-card:hover { box-shadow: var(--shadow); }
.b-card-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--beige); }
.b-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.b-card:hover .b-card-media img { transform: scale(1.04); }
.b-card-body { padding: 18px 20px 20px; }
.b-card-meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.b-card-title { font-size: 18px; line-height: 1.35; margin: 0 0 8px; }
.b-card-title a { text-decoration: none; }
.b-card-title a:hover { text-decoration: underline; }
.b-card-text { font-size: 14.5px; color: var(--muted); margin: 0; }
.post-head { padding-block: 40px 28px; max-width: 820px; }
.post-head h1 { font-size: clamp(28px, 2vw + 16px, 44px); }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: 14px; }
.post-cover { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 2 / 1; background: var(--beige); margin-bottom: 40px; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-layout { display: grid; gap: 40px; padding-bottom: var(--section); }
@media (min-width: 1100px) { .post-layout { grid-template-columns: minmax(0, 760px) 1fr; gap: 64px; } }
.post-aside .enquiry-form { position: sticky; top: calc(var(--header-h) + 20px); }

/* Markets */
.mk-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .mk-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .mk-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.mk-card { position: relative; display: flex; align-items: flex-end; min-height: 260px; border-radius: var(--radius-lg); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; background: var(--charcoal); }
.mk-card picture, .mk-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.mk-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(17, 16, 15, .85) 0%, rgba(17, 16, 15, .2) 70%); }
.mk-card:hover img { transform: scale(1.04); }
.mk-card-body { padding: 22px; }
.mk-card h3 { color: #fff; margin: 8px 0 6px; font-size: 21px; }
.mk-card p { font-size: 14px; color: rgba(255, 255, 255, .82); margin: 0 0 8px; }
.mk-card .link-arrow { color: #fff; min-height: 32px; }
.mk-card .link-arrow .ic { color: #E7D8BF; }
.mk-badge { display: inline-flex; padding: 4px 9px; border-radius: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.mk-badge.is-active { background: var(--bronze); }
.city-list { list-style: none; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .city-list { grid-template-columns: 1fr 1fr; } }
.city-list li { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.city-list h3 { font-size: 16.5px; margin-bottom: 4px; }
.city-list p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* FAQ */
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 0; cursor: pointer; font-size: 16.5px; font-weight: 500; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic { color: var(--bronze); flex: none; transition: transform var(--t); }
.faq-item[open] summary .ic { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 0 18px; color: var(--muted); font-size: 15.5px; max-width: 760px; }
.faq-item .faq-a p:last-child { margin: 0; }
.faq-group + .faq-group { margin-top: 40px; }
.faq-group h2 { font-size: 20px; margin-bottom: 12px; }

/* Legal */
.legal-doc { max-width: 820px; }
.legal-doc h2 { font-size: 20px; margin-top: 2em; }
.legal-updated { color: var(--muted); font-size: 14px; }

/* Contact */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 380px minmax(0, 1fr); gap: 56px; align-items: start; } }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; transition: border-color var(--t); }
a.contact-card:hover { border-color: var(--ink); }
.contact-card .feature-ic { margin: 0; flex: none; }
.contact-card strong { display: block; font-size: 15px; margin-bottom: 2px; }
.contact-card span { color: var(--muted); font-size: 14.5px; word-break: break-word; }

/* Compare */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.compare-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14.5px; }
.compare-table th, .compare-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.compare-table thead th { background: var(--beige-2); }
.compare-table tbody th { color: var(--muted); font-weight: 400; width: 180px; }
.compare-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; font-size: 13.5px; }
.compare-btn[aria-pressed="true"] { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.compare-bar { position: fixed; z-index: 95; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; border-radius: 999px; background: var(--charcoal); color: #fff; box-shadow: var(--shadow-lg); font-size: 14px; }
.compare-bar[hidden] { display: none; }
.compare-bar .btn { min-height: 40px; border-radius: 999px; }

/* Empty / pager / misc */
.empty-state { text-align: center; padding: 56px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius-lg); background: #fff; }
.empty-ic { width: 56px; height: 56px; border-radius: 50%; background: var(--beige-2); color: var(--bronze-dark); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.empty-state h3, .empty-state .empty-title { margin-bottom: 6px; font-size: 1.15rem; }
.empty-state p { color: var(--muted); max-width: 460px; margin: 0 auto 18px; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 40px; }
.pager-num, .pager-btn, .pager-gap { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: #fff; text-decoration: none; font-size: 14.5px; }
.pager-num:hover, .pager-btn:hover { border-color: var(--ink); }
.pager-num.is-current { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.pager-gap { border: 0; background: none; }
.toast { position: fixed; z-index: 400; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--charcoal); color: #fff; padding: 12px 18px; border-radius: var(--radius-sm); font-size: 14.5px; opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; max-width: calc(100% - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.error-page { text-align: center; padding-block: 96px; }
.error-code { font-size: 14px; font-weight: 600; letter-spacing: .2em; color: var(--bronze-dark); }

.svc-detail + .svc-detail { border-top: 1px solid var(--line); }
.svc-anchor-nav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(250, 249, 246, .95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.svc-anchor-nav .filter-tabs { margin: 0; padding-block: 10px; }

.inline-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

@media print {
  .site-header, .site-footer, .wa-float, .crumbs, .cta-band, .enquiry-form, .save-form, .mobile-nav { display: none !important; }
  body { background: #fff; }
}
.h-sm { font-size: 22px; margin-bottom: 16px; }
.stats-grid { list-style: none; }
.split.align-start { align-items: start; }
.mat-cat .link-arrow { min-height: 0; }
.small { font-size: 14px; }
.on-dark-muted { color: rgba(237, 234, 228, .6); font-size: 14px; }
.filter-tabs.is-wrap { flex-wrap: wrap; overflow: visible; }
.mat-subnav-wrap { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: var(--header-h); z-index: 20; }
.mat-subnav-wrap .mat-subnav { padding: 10px 0; }
.hero-search { display: flex; gap: 8px; margin-top: 24px; max-width: 560px; background: #fff; padding: 6px; border-radius: 10px; }
.hero-search input { flex: 1; min-width: 0; border: 0; padding: 0 12px; min-height: 48px; font-size: 15px; color: var(--ink); background: transparent; }
.hero-search input:focus { outline: none; }
.hero-search:focus-within { box-shadow: 0 0 0 3px rgba(176, 141, 87, .45); }
@media (max-width: 479px) { .hero-search .btn span { display: none; } .hero-search .btn { padding: 0 14px; } }
.block-title-sm { font-size: 16px; }
.btn-row.is-center { justify-content: center; }
.m-card.is-cat .m-card-media { aspect-ratio: 16 / 10; }
.ph { background-color: var(--beige-2); background-image: linear-gradient(rgba(184, 173, 160, .18) 1px, transparent 1px), linear-gradient(90deg, rgba(184, 173, 160, .18) 1px, transparent 1px); background-size: 22px 22px; background-position: center; }
.ph .ic-ph { background: #fff; border-radius: 12px; padding: 10px; width: 56px; height: 56px; box-shadow: var(--shadow-sm); color: var(--bronze-dark); }
.t-nav[hidden] { display: none; }

@media (max-width: 639px) {
  .limit-mobile > :nth-child(n+5) { display: none; }
  .feature { padding: 18px; }
  .feature-ic { width: 38px; height: 38px; margin-bottom: 12px; }
  .why-grid .feature { display: grid; grid-template-columns: 38px 1fr; column-gap: 14px; align-items: start; }
  .why-grid .feature-num { display: none; }
  .why-grid .feature-ic { grid-row: span 2; margin: 0; }
  .why-grid .feature h3 { margin-bottom: 4px; }
  .hero-label { font-size: 11px; letter-spacing: .14em; }
  .section-head { margin-bottom: 24px; }
  .wa-float { width: 48px; height: 48px; }
}

/* RTL: content typed in another language (admin data) keeps its own direction & punctuation. */
[dir="rtl"] .t-quote, [dir="rtl"] .t-name, [dir="rtl"] .t-meta,
[dir="rtl"] .p-card-title, [dir="rtl"] .p-card-loc, [dir="rtl"] .p-card-meta,
[dir="rtl"] .pj-card-title, [dir="rtl"] .pj-card-loc, [dir="rtl"] .pj-card-text,
[dir="rtl"] .m-card-title, [dir="rtl"] .post-card-title, [dir="rtl"] .post-card-text,
[dir="rtl"] .prose, [dir="rtl"] .footer-contact a, [dir="rtl"] .footer-contact span,
[dir="rtl"] .contact-list a, [dir="rtl"] .contact-list span, [dir="rtl"] .faq-a,
[dir="rtl"] .spec-list dd, [dir="rtl"] .page-hero h1, [dir="rtl"] .page-hero .lead { unicode-bidi: plaintext; }
[dir="rtl"] .p-card-meta > span, [dir="rtl"] .pd-loc, [dir="rtl"] .loc, [dir="rtl"] .f-contact-list span,
[dir="rtl"] .f-contact-list a, [dir="rtl"] .contact-card span span, [dir="rtl"] .pj-card-meta span { unicode-bidi: plaintext; }
.save-form.save-form-inline { position: static; inset: auto; z-index: auto; }
.btn-row .save-btn.is-inline { height: auto; min-height: 40px; padding: 0 14px; font-size: 14px; }
.section-dark .eyebrow, .cta-band .eyebrow { color: #D9BF93; }
.section-dark .eyebrow::before, .cta-band .eyebrow::before { background: #D9BF93; }
.ba figcaption { color: var(--muted); opacity: 1; }
/* RTL: catalogue / admin-entered text keeps its own direction (unicode-bidi is not inherited, so target the text blocks). */
[dir="rtl"] .prose p, [dir="rtl"] .prose li, [dir="rtl"] .prose h2, [dir="rtl"] .prose h3, [dir="rtl"] .prose blockquote,
[dir="rtl"] .product-short, [dir="rtl"] .product-info h1, [dir="rtl"] .kv dd, [dir="rtl"] .chips li,
[dir="rtl"] .check-list li span, [dir="rtl"] .doc-list a span, [dir="rtl"] .faq-a p, [dir="rtl"] .rfq-item h3,
[dir="rtl"] .p-card-title a, [dir="rtl"] .m-card-title a, [dir="rtl"] .pj-card-title a, [dir="rtl"] .crumbs li,
[dir="rtl"] .compare-table td, [dir="rtl"] .spec-table td { unicode-bidi: plaintext; }
[dir="rtl"] .kv dd, [dir="rtl"] .spec-list dd, [dir="rtl"] .compare-table td, [dir="rtl"] .spec-table td,
[dir="rtl"] .product-info h1, [dir="rtl"] .p-card-title, [dir="rtl"] .m-card-title, [dir="rtl"] .pj-card-title { text-align: right; }

/* ---- Submit Property form ---- */
.sp-wrap { max-width: 880px; }
.sp-form { display: grid; gap: 20px; }
.sp-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; margin: 0; min-width: 0; }
@media (min-width: 640px) { .sp-card { padding: 30px 32px; } }
.sp-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.sp-head h2 { font-size: 20px; margin: 0; }
.sp-num { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--charcoal); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.sp-note { margin: -8px 0 18px; font-size: 14px; color: var(--muted); }
.req { color: var(--danger); }
.choice-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice-field legend { padding: 0; margin-bottom: 8px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt { position: relative; cursor: pointer; }
.chip-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip-opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: 14.5px; transition: border-color .15s, background .15s, color .15s; }
.chip-opt:hover span { border-color: var(--taupe); }
.chip-opt input:checked + span { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.chip-opt input:focus-visible + span { outline: 2px solid var(--bronze); outline-offset: 2px; }
.has-error > .chip-group .chip-opt span { border-color: var(--danger); }
.field input[type="file"] { padding: 10px 12px; height: auto; background: var(--warm); }
.sp-agree { align-items: flex-start; line-height: 1.55; margin-bottom: 6px; }
.sp-agree input { margin-top: 3px; flex: none; }
.sp-agree.has-error { color: var(--danger); }
.sp-form .form-actions { margin-top: 4px; }
.sp-thanks { text-align: center; padding-block: 40px; }
.sp-thanks .feature-ic { margin-inline: auto; margin-bottom: 14px; }
.sp-thanks .btn-row { justify-content: center; margin-top: 22px; }
