/* Dijavu Real Estate — public site. Mobile first, logical properties (RTL mirrors automatically). */

/* ---------- fonts (OFL, self-hosted) ---------- */
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Vazirmatn"; src: url("../fonts/vazirmatn-ku.woff2") format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+2010-2011; }

/* ---------- tokens ---------- */
:root {
  /* colour */
  --ivory: #F6F1E9; --ivory-2: #EFE7DB; --stone-100: #E4DACB; --stone-300: #C9BBA6; --stone-500: #8F806D; --stone-700: #5E5244;
  --espresso: #2B201A; --espresso-900: #1D1511; --espresso-800: #2B201A; --espresso-700: #3A2C24;
  --accent: #8C5B2C; --accent-hover: #75491F; --accent-active: #613C19; --accent-light: #E0B57E;
  --success: #2F6B3F; --success-bg: #E3EFE5; --warning: #7A5600; --warning-bg: #F6EBCB; --error: #A3312A; --error-bg: #F7E1DE;
  --text: var(--espresso); --text-muted: var(--stone-700); --text-on-dark: var(--ivory); --text-on-dark-muted: #D8CCBB;
  --line: var(--stone-100); --line-strong: var(--stone-300);
  --focus: var(--accent); --focus-on-dark: var(--accent-light);
  /* type */
  --font-display: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-sm: .875rem; --fs-base: 1rem; --fs-md: 1.125rem; --fs-lg: 1.375rem; --fs-xl: 1.75rem; --fs-2xl: 2.125rem; --fs-hero: 2.375rem;
  --lh-text: 1.6; --lh-head: 1.15;
  /* space */
  --sp-1: .25rem; --sp-2: .5rem; --sp-3: .75rem; --sp-4: 1rem; --sp-5: 1.5rem; --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem; --sp-9: 6rem;
  --gutter: 1.25rem; --section: clamp(3rem, 8vw, 6rem); --max: 77.5rem; --radius: 12px; --radius-lg: 22px; --radius-xl: 32px; --pill: 999px;
  --frame: clamp(8px, 1.4vw, 20px); /* inset of the floating header, hero card and rounded panels */
  --gold: #E2AC55; --gold-hover: #D69A3D; --gold-active: #C4892E; --gold-soft: rgba(226, 172, 85, .18);
  --card: #FFFDF9; --shadow: 0 1px 2px rgba(29, 21, 17, .04), 0 10px 30px rgba(29, 21, 17, .07); --shadow-lg: 0 2px 4px rgba(29, 21, 17, .05), 0 20px 50px rgba(29, 21, 17, .12);
  --header-h: calc(66px + var(--frame)); --bar-h: 0px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
:lang(ckb), :lang(ar) {
  --font-display: "Vazirmatn", Tahoma, "Segoe UI", sans-serif;
  --font-text: "Vazirmatn", Tahoma, "Segoe UI", Arial, sans-serif;
  --fs-base: 1.0625rem; --lh-text: 1.75; --lh-head: 1.35;
}
@media (min-width: 768px) {
  :root { --gutter: 2rem; --fs-md: 1.25rem; --fs-lg: 1.625rem; --fs-xl: 2.375rem; --fs-2xl: 3rem; --fs-hero: 4.5rem; --fs-base: 1.0625rem; }
  :lang(ckb), :lang(ar) { --fs-base: 1.125rem; --fs-2xl: 2.75rem; --fs-hero: 3.75rem; }
}
@media (min-width: 1100px) { :root { --gutter: 3rem; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body { margin: 0; background: var(--ivory); color: var(--text); font: 400 var(--fs-base)/var(--lh-text) var(--font-text); overflow-wrap: break-word; -webkit-font-smoothing: antialiased; padding-bottom: var(--bar-h); }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: var(--lh-head); margin: 0 0 var(--sp-4); letter-spacing: -.005em; text-wrap: balance; }
:lang(ckb) h1, :lang(ckb) h2, :lang(ckb) h3, :lang(ar) h1, :lang(ar) h2, :lang(ar) h3 { font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 var(--sp-4); }
ul, ol { margin: 0 0 var(--sp-4); padding-inline-start: 1.25em; }
a { color: var(--accent); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
a:active { color: var(--accent-active); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: var(--radius); }
main:focus { outline: none; }
bdi[dir="ltr"] { unicode-bidi: isolate; }
.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; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(46rem + 2 * var(--gutter)); }
.muted { color: var(--text-muted); }
.small { font-size: var(--fs-sm); }
.icon { width: 1.25em; height: 1.25em; flex: none; }
[dir="rtl"] .icon--dir { transform: scaleX(-1); }
.h1 { font-size: var(--fs-2xl); }
.h2 { font-size: var(--fs-xl); }
.h3 { font-size: var(--fs-lg); }
.lead { font-size: var(--fs-md); color: var(--text-muted); max-width: 40em; }
.eyebrow { font-family: var(--font-text); font-size: var(--fs-sm); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--stone-700); margin-bottom: var(--sp-3); }
:lang(ckb) .eyebrow, :lang(ar) .eyebrow { letter-spacing: 0; text-transform: none; font-size: .9375rem; }
.eyebrow a { color: inherit; }
.eyebrow--light { color: var(--accent-light); }
.skip-link { position: absolute; inset-inline-start: var(--sp-4); top: -100px; z-index: 100; background: var(--espresso-900); color: var(--ivory); padding: var(--sp-3) var(--sp-4); }
.skip-link:focus { top: var(--sp-3); color: var(--ivory); }

/* ---------- preload intro (logo-reveal clip, once per visit; shown only when intro.js adds .has-intro) ---------- */
.intro { display: none; }
.has-intro { overflow: hidden; }
.has-intro .intro { display: block; position: fixed; inset: 0; z-index: 200; background: var(--espresso-900); transition: opacity .6s ease, visibility .6s; }
.intro__video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.intro.is-playing .intro__video { opacity: 1; }
.intro-out .intro { opacity: 0; visibility: hidden; }
.intro__skip { position: absolute; inset-inline-end: var(--sp-4); bottom: calc(var(--sp-4) + env(safe-area-inset-bottom, 0px)); min-height: 44px; padding: .5rem 1.1rem;
  border: 1px solid rgba(246, 241, 233, .45); border-radius: 999px; background: rgba(29, 21, 17, .55); color: var(--ivory); font: inherit; font-size: .9375rem; cursor: pointer; }
.intro__skip:hover { background: rgba(29, 21, 17, .8); border-color: var(--ivory); }
.intro__skip:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; }
.plain { list-style: none; padding: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2); min-height: 48px; padding: .75rem 1.25rem; border: 1.5px solid transparent; border-radius: var(--radius);
  font: 600 1rem/1.2 var(--font-text); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .1s; -webkit-tap-highlight-color: transparent; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--accent); color: var(--ivory); }
.btn--primary:hover { background: var(--accent-hover); color: var(--ivory); }
.btn--primary:active { background: var(--accent-active); }
.btn--secondary { background: transparent; color: var(--espresso); border-color: var(--espresso); }
.btn--secondary:hover { background: var(--espresso); color: var(--ivory); }
.btn--ghost-light { color: var(--ivory); border-color: rgba(246, 241, 233, .7); }
.btn--ghost-light:hover { background: var(--ivory); color: var(--espresso-900); }
.btn--ghost-dark { color: var(--ivory); border-color: var(--stone-500); }
.btn--text { color: var(--accent); padding-inline: var(--sp-2); text-decoration: underline; }
.btn--small { min-height: 44px; padding: .5rem .875rem; font-size: .9375rem; }
.btn--block { width: 100%; }
.section--dark :focus-visible, .hero :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .actionbar :focus-visible, .tray :focus-visible { outline-color: var(--focus-on-dark); }
.btn.is-loading .btn__label::after { content: ""; display: inline-block; width: .9em; height: .9em; margin-inline-start: .5em; vertical-align: -.1em; border: 2px solid currentColor; border-inline-end-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-arrow { display: inline-flex; align-items: center; gap: var(--sp-2); min-height: 44px; font-weight: 600; text-decoration: none; }
.link-arrow:hover span { text-decoration: underline; }
.link-arrow .icon { transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }
[dir="rtl"] .link-arrow:hover .icon { transform: scaleX(-1) translateX(3px); }
.link-row { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); margin-top: var(--sp-4); }
.link-phone { display: inline-flex; align-items: center; gap: var(--sp-2); min-height: 44px; color: inherit; text-decoration: none; font-weight: 600; }
.link-phone:hover { text-decoration: underline; color: inherit; }
.link-phone .icon { color: var(--accent); }
.section--dark .link-phone .icon, .site-footer .link-phone .icon, .tray .link-phone .icon { color: var(--accent-light); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--espresso-900); color: var(--ivory); transition: background-color .2s; }
.site-header.is-top { background: transparent; }
.site-header.is-scrolled { background: rgba(29, 21, 17, .94); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
@supports (backdrop-filter: blur(8px)) { .site-header.is-scrolled { background: rgba(29, 21, 17, .86); backdrop-filter: blur(10px); } }
.page-home .site-header { position: fixed; inset-inline: 0; }
.site-header__inner { display: flex; align-items: center; gap: var(--sp-4); min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; color: var(--ivory); text-decoration: none; min-height: 44px; }
.logo:hover { color: var(--ivory); }
.wordmark { display: inline-flex; align-items: center; gap: .625rem; }
.wordmark__mark { width: 30px; height: 30px; color: var(--accent-light); }
.wordmark__text { display: grid; line-height: 1.05; }
.wordmark__name { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .14em; }
.wordmark__sub { font-size: .6875rem; letter-spacing: .26em; color: var(--text-on-dark-muted); }
:lang(ckb) .wordmark__name, :lang(ar) .wordmark__name { letter-spacing: 0; font-weight: 700; font-size: 1.3rem; }
:lang(ckb) .wordmark__sub, :lang(ar) .wordmark__sub { letter-spacing: 0; font-size: .8125rem; }
.nav-desktop { display: none; }
.header-tools { display: flex; align-items: center; gap: var(--sp-2); margin-inline-start: auto; }
.lang-nav { display: none; }
.lang { display: flex; list-style: none; margin: 0; padding: 0; }
.lang a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: .625rem; color: var(--text-on-dark-muted); text-decoration: none; font-size: .9375rem; }
.lang li + li a { border-inline-start: 1px solid rgba(246, 241, 233, .25); }
.lang a:hover { color: var(--ivory); text-decoration: underline; }
.lang a[aria-current] { color: var(--ivory); font-weight: 700; }
.lang a:lang(ckb), .lang a:lang(ar) { font-family: "Vazirmatn", Tahoma, sans-serif; }
.lang a:lang(en) { font-family: "Instrument Sans", system-ui, sans-serif; }
.header-whatsapp { display: inline-flex; align-items: center; gap: var(--sp-2); min-height: 44px; min-width: 44px; justify-content: center; padding-inline: .75rem; color: var(--ivory); text-decoration: none; border: 1.5px solid rgba(246, 241, 233, .45); border-radius: var(--radius); font-weight: 600; }
.header-whatsapp:hover { background: var(--ivory); color: var(--espresso-900); }
.header-whatsapp[hidden] { display: none; }
.header-whatsapp__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; color: var(--ivory); border-radius: var(--radius); }
.menu-toggle:hover { background: rgba(246, 241, 233, .1); color: var(--ivory); }
.menu-toggle .icon { width: 28px; height: 28px; }
@media (min-width: 560px) { .header-whatsapp__label { position: static; width: auto; height: auto; overflow: visible; clip: auto; } }
@media (min-width: 1100px) {
  .nav-desktop { display: block; margin-inline-start: auto; }
  .nav-desktop ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
  .nav-desktop a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: .625rem; color: var(--ivory); text-decoration: none; font-weight: 500; }
  .nav-desktop a:hover { text-decoration: underline; color: var(--ivory); }
  .header-tools { margin-inline-start: var(--sp-4); }
  .lang-nav { display: block; }
  .menu-toggle { display: none; }
}

/* ---------- tray (always slides from the physical right edge) ---------- */
.tray[hidden] { display: none; }
.tray { position: fixed; inset: 0; z-index: 60; }
.tray__scrim { position: absolute; inset: 0; background: rgba(15, 10, 8, .55); opacity: 0; transition: opacity .24s; }
.tray__panel { position: absolute; top: 0; bottom: 0; right: 0; width: min(24rem, 88vw); background: var(--espresso-900); color: var(--ivory); display: flex; flex-direction: column;
  overflow-y: auto; overscroll-behavior: contain; padding: max(var(--sp-4), env(safe-area-inset-top)) max(var(--sp-5), env(safe-area-inset-right)) max(var(--sp-6), env(safe-area-inset-bottom)) var(--sp-5);
  transform: translateX(100%); transition: transform .24s var(--ease); text-align: start; }
.tray.is-open .tray__scrim { opacity: 1; }
.tray.is-open .tray__panel { transform: translateX(0); }
.tray__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-4); }
.tray__title { margin: 0; font-size: var(--fs-sm); letter-spacing: .08em; text-transform: uppercase; color: var(--text-on-dark-muted); }
.tray__close { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: none; border: 1.5px solid rgba(246, 241, 233, .3); border-radius: var(--radius); color: var(--ivory); cursor: pointer; }
.tray__close:hover { background: rgba(246, 241, 233, .1); }
.tray__nav { list-style: none; padding: 0; margin: 0 0 var(--sp-5); }
.tray__nav a { display: flex; align-items: center; min-height: 52px; color: var(--ivory); text-decoration: none; font: 500 var(--fs-lg)/1.3 var(--font-display); border-bottom: 1px solid rgba(246, 241, 233, .12); }
.tray__nav a:hover { color: var(--accent-light); }
.tray__lang .lang a { padding-inline: .75rem; }
.tray__lang .lang li:first-child a { padding-inline-start: 0; }
.tray__contact { margin-top: var(--sp-5); }
.tray__label { color: var(--text-on-dark-muted); font-size: var(--fs-sm); margin-bottom: var(--sp-2); }
.tray .phone-list { list-style: none; padding: 0; }
html.tray-open, html.tray-open body { overflow: hidden; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; background: var(--espresso-900); color: var(--ivory); overflow: hidden; }
.page-home .hero { padding-top: var(--header-h); }
.hero__photo, .hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
/* Legibility scrim: ≥0.8 espresso behind all hero text and the glass form guarantees AA over any photo. */
.hero--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(29, 21, 17, .82) 0%, rgba(29, 21, 17, .8) 55%, rgba(29, 21, 17, .9) 100%); }
@media (min-width: 900px) {
  .hero--photo::before { background: linear-gradient(90deg, rgba(29, 21, 17, .86) 0%, rgba(29, 21, 17, .8) 55%, rgba(29, 21, 17, .8) 100%); }
  [dir="rtl"] .hero--photo::before { background: linear-gradient(270deg, rgba(29, 21, 17, .86) 0%, rgba(29, 21, 17, .8) 55%, rgba(29, 21, 17, .8) 100%); }
}
.hero__lines { position: absolute; inset-block: 0; inset-inline-end: -10%; width: 90%; height: 100%; color: var(--stone-300); opacity: .14; z-index: -1; }
.hero__inner { display: grid; gap: var(--sp-6); padding-block: var(--sp-7) var(--sp-7); }
.hero__h1 { font-size: var(--fs-hero); margin-bottom: var(--sp-4); max-width: 14em; }
.hero__lead { font-size: var(--fs-md); color: var(--text-on-dark-muted); max-width: 32em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin: var(--sp-5) 0; }
.hero__actions .btn { flex: 1 1 14rem; }
.hero__proof { display: flex; gap: var(--sp-2); align-items: flex-start; color: var(--text-on-dark-muted); font-size: var(--fs-sm); margin: 0; }
.hero__proof .icon { color: var(--accent-light); margin-top: .15em; }
.hero__proof a { color: var(--ivory); font-weight: 600; }
.hero__proof--quote blockquote { margin: 0; font-family: var(--font-display); font-size: var(--fs-md); color: var(--ivory); }
@media (prefers-reduced-motion: no-preference) {
  .hero__intro { animation: rise .45s var(--ease) both; }
  /* transform only: the headline is painted at once (fast LCP), then settles 12px into place */
  @keyframes rise { from { transform: translateY(12px); } to { transform: none; } }
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: minmax(0, 1.25fr) minmax(20rem, .85fr); align-items: center; gap: var(--sp-8); min-height: min(52rem, calc(100vh - var(--header-h))); padding-block: var(--sp-8); }
  .hero__actions .btn { flex: 0 0 auto; }
}

/* ---------- forms ---------- */
.form { display: grid; gap: var(--sp-4); }
.form__title { font-size: var(--fs-lg); margin: 0; }
.form--hero { background: var(--ivory); color: var(--text); padding: var(--sp-5); border-radius: var(--radius); }
@media (min-width: 900px) {
  /* Glass treatment: 5% white tint + moderate blur over the dark scrim; inputs stay solid. Solid fallback below. */
  .form--hero { background: var(--espresso-700); color: var(--ivory); border: 1px solid rgba(246, 241, 233, .18); padding: var(--sp-6); }
  @supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
    .form--hero { background: rgba(255, 255, 255, .05); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  }
  .form--hero label, .form--hero .form__title, .form--hero summary { color: var(--ivory); }
  .form--hero .field__hint, .form--hero .field__opt { color: var(--text-on-dark-muted); }
  .form--hero a { color: var(--accent-light); }
}
@media (prefers-contrast: more), (forced-colors: active) { .form--hero { background: var(--espresso-900) !important; backdrop-filter: none !important; } }
.form--panel, .form--page { background: transparent; }
.field { display: grid; gap: var(--sp-1); }
.field label, .field legend { font-weight: 600; font-size: .9375rem; }
.field__opt { font-weight: 400; color: var(--text-muted); }
.field__hint { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="date"], .field input:not([type]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .625rem .75rem; font: inherit; font-size: 1rem; color: var(--espresso); background: #FFFDF9; border: 1.5px solid var(--stone-500); border-radius: var(--radius); }
.field textarea { min-height: 6rem; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--espresso); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--espresso); }
.form--hero input:focus-visible, .form--hero select:focus-visible, .form--hero textarea:focus-visible { outline-color: var(--accent-light); }
.field input:disabled, .field select:disabled { background: var(--ivory-2); color: var(--stone-700); cursor: not-allowed; }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field__error { margin: 0; padding: .375rem .625rem; background: var(--error-bg); color: var(--error); border: 1px solid var(--error); font-size: .9375rem; font-weight: 600; }
.field__error[hidden] { display: none; }
.field-row { display: grid; gap: var(--sp-4); grid-template-columns: 1fr 1fr; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: var(--sp-3); }
.field--check input { width: 24px; height: 24px; margin: .15rem 0 0; accent-color: var(--accent); }
.field--check label { font-weight: 400; font-size: .9375rem; }
.field--check .field__error { grid-column: 1 / -1; }
.form__summary { padding: var(--sp-3) var(--sp-4); background: var(--error-bg); color: var(--error); border: 1px solid var(--error); font-weight: 600; }
.form__summary[hidden] { display: none; }
.form__summary:focus { outline: 3px solid var(--error); }
.form__status { margin: 0; font-size: var(--fs-sm); min-height: 0; }
.form__status:empty { display: none; }
.form__about { margin: 0; padding: var(--sp-3); background: var(--ivory-2); border: 1px solid var(--line-strong); }
.form--hero .form__about { color: var(--text); }
.form__more summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; font-weight: 600; color: var(--accent); }
.form--hero .form__more summary { color: inherit; }
.form__more summary::marker { color: currentColor; }
.form__more-body { display: grid; gap: var(--sp-4); padding-top: var(--sp-3); }
.form--off { padding: var(--sp-5); background: var(--ivory-2); }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.phone-list { list-style: none; padding: 0; margin: 0 0 var(--sp-4); }
.phone-list--inline { display: flex; flex-wrap: wrap; gap: 0 var(--sp-5); }

/* ---------- sections ---------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: var(--sp-6) var(--section); }
.section--alt { background: var(--ivory-2); }
.section--dark { background: var(--espresso); color: var(--ivory); }
.section--dark .eyebrow { color: var(--accent-light); }
.section--dark a:not(.btn) { color: var(--ivory); }
.section-head { margin-bottom: var(--sp-6); max-width: 46rem; }
.section-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--sp-4); max-width: none; }
.section-head--row .h2 { margin: 0; }
.page-head { padding-block: var(--sp-7) var(--sp-5); border-bottom: 1px solid var(--line); }
.split { display: grid; gap: var(--sp-7); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: var(--sp-8); } .split--contact { grid-template-columns: 1.3fr 1fr; } }

/* services */
.services { list-style: none; padding: 0; display: grid; gap: var(--sp-4); margin: 0; }
.service { border-top: 2px solid var(--espresso); padding-top: var(--sp-5); }
.service__icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; background: var(--ivory-2); color: var(--accent); margin-bottom: var(--sp-4); }
.service__icon .icon { width: 26px; height: 26px; }
.service__title { font-family: var(--font-display); font-size: var(--fs-lg); margin-bottom: var(--sp-3); }
@media (min-width: 768px) { .services { grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); } }

/* cards */
.grid-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-5); }
@media (min-width: 700px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid-cards { grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); } }
.card { position: relative; display: flex; flex-direction: column; height: 100%; background: #FFFDF9; border: 1px solid var(--line); transition: border-color .15s; }
.card:hover { border-color: var(--stone-500); }
.card:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.card__media { position: relative; aspect-ratio: 4 / 3; background: var(--stone-100); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__nophoto { display: grid; place-items: center; height: 100%; color: var(--stone-500); }
.card__nophoto .icon { width: 56px; height: 56px; }
.card__body { display: flex; flex-direction: column; gap: var(--sp-2); padding: var(--sp-4) var(--sp-5) var(--sp-5); flex: 1; }
.card__meta { margin: 0; font-size: var(--fs-sm); color: var(--text-muted); }
.card__title { font-size: var(--fs-lg); margin: 0; }
.card__title a { color: var(--espresso); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__title a:focus-visible { outline: none; }
.card:hover .card__title a { text-decoration: underline; }
.card__summary { margin: 0; color: var(--text-muted); font-size: .9375rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--sp-2); margin: auto 0 0; padding-top: var(--sp-3); border-top: 1px solid var(--line); }
.card__price { font-weight: 700; }
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); font-size: .9375rem; }
.facts li { display: inline-flex; align-items: center; gap: .375rem; }
.facts .icon { color: var(--accent); width: 1.1em; height: 1.1em; }
.status { display: inline-block; padding: .125rem .5rem; font-size: var(--fs-sm); font-weight: 600; border: 1px solid currentColor; border-radius: var(--radius); }
.status--unknown { color: var(--stone-700); }
.status--available { color: var(--success); background: var(--success-bg); }
.status--reserved { color: var(--warning); background: var(--warning-bg); }
.status--sold, .status--rented, .status--off_market { color: var(--error); background: var(--error-bg); }
.tag { position: absolute; inset-block-start: var(--sp-3); inset-inline-start: var(--sp-3); padding: .25rem .5rem; font-size: var(--fs-sm); font-weight: 600; background: var(--espresso-900); color: var(--ivory); }

/* empty states */
.empty { padding: var(--sp-6); background: #FFFDF9; border: 1px dashed var(--stone-300); max-width: 46rem; }
.empty__title { font-size: var(--fs-lg); }
.empty__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-4); }
.muted-block { color: var(--text-muted); max-width: 40em; }

/* about */
.about-grid { display: grid; gap: var(--sp-6); align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); } }
.about-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-grid > *, .split > *, .contact-grid > *, .detail-body > * { min-width: 0; }
.about-media__panel { display: grid; align-content: end; aspect-ratio: 4 / 3; padding: var(--sp-6); background: var(--espresso); color: var(--ivory); position: relative; }
.about-media__tagline { font: 500 var(--fs-xl)/1.3 var(--font-display); margin: 0; max-width: 14em; }
.checklist { list-style: none; padding: 0; display: grid; gap: var(--sp-3); }
.checklist li { display: flex; gap: var(--sp-3); align-items: flex-start; }
.checklist .icon { color: var(--success); margin-top: .2em; }
.tagline-quote { font: 500 var(--fs-md)/1.4 var(--font-display); border-top: 1px solid var(--line-strong); padding-top: var(--sp-4); margin-top: var(--sp-5); }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: var(--sp-4); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.5rem 1fr; gap: var(--sp-3); align-items: baseline; }
.steps li::before { content: counter(s); font: 600 var(--fs-lg)/1 var(--font-display); color: var(--accent); }

/* reviews & faq */
.quotes { display: grid; gap: var(--sp-5); margin-bottom: var(--sp-4); }
.quotes--grid { grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); }
.quote { margin: 0; padding: var(--sp-5); background: #FFFDF9; border: 1px solid var(--line); }
.quote blockquote { margin: 0 0 var(--sp-3); font: 400 var(--fs-md)/1.5 var(--font-display); }
.quote figcaption { font-size: var(--fs-sm); color: var(--text-muted); }
.faq { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); min-height: 56px; padding-block: var(--sp-3); cursor: pointer; font-weight: 600; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover span { text-decoration: underline; }
.faq__icon { transform: rotate(90deg); transition: transform .2s; color: var(--accent); }
[dir="rtl"] .faq__icon { transform: rotate(90deg); }
.faq__item[open] .faq__icon { transform: rotate(-90deg); }
.faq__a { padding-bottom: var(--sp-4); color: var(--text-muted); }

/* contact section */
.contact-grid { display: grid; gap: var(--sp-6); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.4fr 1fr; gap: var(--sp-8); align-items: start; } }
.contact-facts { display: grid; gap: var(--sp-5); }
@media (min-width: 640px) { .section--dark .contact-facts { grid-template-columns: repeat(3, 1fr); } }
.contact-fact__h { display: flex; align-items: center; gap: var(--sp-2); font: 600 var(--fs-sm)/1.4 var(--font-text); text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: var(--sp-2); }
:lang(ckb) .contact-fact__h, :lang(ar) .contact-fact__h { text-transform: none; letter-spacing: 0; font-size: .9375rem; }
.section--dark .contact-fact__h { color: var(--accent-light); }
.contact-fact__h .icon { color: var(--accent); }
.section--dark .contact-fact__h .icon { color: var(--accent-light); }
.quicklinks { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-2); }
.quicklink { display: flex; align-items: center; gap: var(--sp-3); min-height: 56px; padding: var(--sp-3) var(--sp-4); border: 1px solid rgba(246, 241, 233, .25); color: var(--ivory); text-decoration: none; font-weight: 600; }
.quicklink span { flex: 1; }
.quicklink:hover { background: var(--ivory); color: var(--espresso) !important; }
.quicklinks--light .quicklink { border-color: var(--line-strong); color: var(--espresso); }
.quicklinks--light .quicklink:hover { background: var(--espresso); color: var(--ivory) !important; }
.final-cta { background: var(--ivory-2); text-align: center; }
.final-cta__inner { max-width: 40rem; }
.final-cta p { color: var(--text-muted); }
.strip { display: grid; gap: var(--sp-4); align-items: center; }
.strip__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
@media (min-width: 900px) { .strip { grid-template-columns: 1fr auto; } }

/* projects index */
.filters { display: grid; gap: var(--sp-4); padding: var(--sp-5); background: #FFFDF9; border: 1px solid var(--line); margin-bottom: var(--sp-5); }
.filters__fields { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.filters__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.price-range { border: 0; padding: 0; margin: 0; }
.price-range__row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: var(--sp-2); }
.results-count { font-weight: 600; color: var(--text-muted); }

/* detail */
.detail-head { padding-block: var(--sp-6) var(--sp-5); }
.detail-loc, .detail-parent { display: flex; gap: var(--sp-2); align-items: center; color: var(--text-muted); margin-bottom: var(--sp-2); }
.detail-loc .icon, .detail-parent .icon { color: var(--accent); }
.detail-head__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-4); }
.gallery { margin-bottom: var(--sp-6); }
.gallery__grid { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-2); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery__cell:first-child { grid-column: 1 / -1; }
.gallery__item { position: relative; display: block; overflow: hidden; background: var(--stone-100); aspect-ratio: 4 / 3; }
.gallery__cell:first-child .gallery__item { aspect-ratio: 16 / 10; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: opacity .15s; }
.gallery__item:hover img { opacity: .9; }
.gallery__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(29, 21, 17, .6); color: var(--ivory); font-size: var(--fs-xl); }
.gallery__all { margin-top: var(--sp-3); }
@media (min-width: 900px) {
  .gallery__grid--5, .gallery__grid--4, .gallery__grid--3 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); height: 32rem; }
  .gallery__grid--5 .gallery__cell:first-child, .gallery__grid--4 .gallery__cell:first-child, .gallery__grid--3 .gallery__cell:first-child { grid-column: 1; grid-row: 1 / 3; }
  .gallery__grid--3 .gallery__cell:nth-child(2), .gallery__grid--3 .gallery__cell:nth-child(3) { grid-column: 2 / 4; }
  .gallery__grid--5 .gallery__item, .gallery__grid--4 .gallery__item, .gallery__grid--3 .gallery__item { aspect-ratio: auto; height: 100%; }
}
.detail-body { display: grid; gap: var(--sp-7); padding-bottom: var(--section); }
@media (min-width: 1000px) { .detail-body { grid-template-columns: minmax(0, 1fr) 24rem; gap: var(--sp-8); align-items: start; } .detail-aside { position: sticky; top: calc(var(--header-h) + var(--sp-4)); } }
.detail-main > section { margin-bottom: var(--sp-7); }
.facts-table { display: grid; margin: 0 0 var(--sp-3); border-top: 1px solid var(--line-strong); }
.facts-table div { display: grid; grid-template-columns: minmax(8rem, 40%) 1fr; gap: var(--sp-4); padding-block: var(--sp-3); border-bottom: 1px solid var(--line); }
.facts-table dt { color: var(--text-muted); }
.facts-table dd { margin: 0; font-weight: 600; }
.panel { padding: var(--sp-5); background: #FFFDF9; border: 1px solid var(--line-strong); display: grid; gap: var(--sp-4); }
.panel__title { font-size: var(--fs-lg); margin: 0; }
.panel__price { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-2); margin: 0; }
.panel__price-value { font: 600 var(--fs-lg)/1.2 var(--font-display); }
.panel__text { margin: 0; color: var(--text-muted); }
.panel__call { margin: 0; border-top: 1px solid var(--line); padding-top: var(--sp-3); }
.video__frame { display: grid; gap: var(--sp-3); justify-items: start; padding: var(--sp-5); background: var(--espresso); color: var(--ivory); }
.video__frame iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.video__frame.is-playing { padding: 0; }
.video__local { display: block; width: min(100%, 27rem); max-height: 80svh; aspect-ratio: 9 / 16; object-fit: contain; background: #141210; border-radius: var(--radius-lg); }
.floorplan { margin: 0 0 var(--sp-4); }
.floorplan img { background: #fff; border: 1px solid var(--line); }
.prose p { max-width: 42em; }
.notice { padding: var(--sp-3) var(--sp-4); border: 1px solid; }
.notice--warning { background: var(--warning-bg); color: var(--warning); border-color: var(--warning); font-weight: 600; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 70; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(15, 10, 8, .96); color: var(--ivory); }
.lightbox::backdrop { background: rgba(15, 10, 8, .9); }
.lightbox__inner { display: grid; grid-template-rows: auto 1fr auto; height: 100%; padding: max(var(--sp-3), env(safe-area-inset-top)) var(--sp-3) max(var(--sp-3), env(safe-area-inset-bottom)); }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; }
.lightbox__stage { display: grid; place-items: center; min-height: 0; position: relative; }
.lightbox__stage { overflow: hidden; }
.lightbox__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .15s; }
.lightbox__stage img.is-swapping { opacity: 0; }
.lightbox__nav { display: flex; justify-content: center; gap: var(--sp-3); }
.lightbox button { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; background: transparent; color: var(--ivory); border: 1.5px solid rgba(246, 241, 233, .4); border-radius: var(--radius); cursor: pointer; }
.lightbox button:hover { background: rgba(246, 241, 233, .12); }
.lightbox__tag { position: absolute; inset-block-start: var(--sp-3); inset-inline-start: var(--sp-3); padding: .25rem .5rem; background: var(--ivory); color: var(--espresso); font-size: var(--fs-sm); font-weight: 600; }

/* visit */
.big-address { display: flex; gap: var(--sp-2); font: 500 var(--fs-md)/1.4 var(--font-display); }
.big-address .icon { color: var(--accent); margin-top: .2em; }
.map { min-height: 18rem; background: var(--ivory-2); border: 1px solid var(--line); display: grid; }
.map__placeholder, .map--pending { padding: var(--sp-5); align-self: center; }
.map__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.map iframe { width: 100%; height: 100%; min-height: 22rem; border: 0; }

/* thank-you / 404 */
.thanks__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; background: var(--success-bg); color: var(--success); }
.thanks__icon .icon { width: 30px; height: 30px; }
.thanks h1:focus { outline: none; }
.legal h2 { font-size: var(--fs-lg); margin-top: var(--sp-6); }
.legal ul { display: grid; gap: var(--sp-2); }

/* team */
.team { list-style: none; padding: 0; display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); }
.member__photo { aspect-ratio: 4 / 5; background: var(--stone-100); margin-bottom: var(--sp-3); overflow: hidden; display: grid; place-items: center; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__initial { font: 500 3rem/1 var(--font-display); color: var(--stone-500); }
.member__name { font-size: var(--fs-lg); margin-bottom: var(--sp-1); }
.member__role { color: var(--text-muted); }

/* footer */
.site-footer { background: var(--espresso-900); color: var(--text-on-dark-muted); padding-top: var(--sp-8); font-size: .9375rem; }
.site-footer a { color: var(--ivory); }
.footer-grid { display: grid; gap: var(--sp-6); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.2fr 1fr; } }
.footer-h { font: 600 var(--fs-sm)/1.4 var(--font-text); text-transform: uppercase; letter-spacing: .08em; color: var(--accent-light); margin-bottom: var(--sp-3); }
:lang(ckb) .footer-h, :lang(ar) .footer-h { text-transform: none; letter-spacing: 0; font-size: .9375rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li a:not(.link-phone) { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-col li a:hover { text-decoration: underline; }
.footer-tagline { font: 500 var(--fs-md)/1.4 var(--font-display); color: var(--ivory); margin-top: var(--sp-4); }
.footer-address { display: flex; gap: var(--sp-2); }
.footer-address .icon { color: var(--accent-light); margin-top: .2em; }
.footer-lang { margin-top: var(--sp-3); }
.footer-lang .lang li:first-child a { padding-inline-start: 0; }
.footer-bottom { border-top: 1px solid rgba(246, 241, 233, .12); margin-top: var(--sp-7); padding-block: var(--sp-5); font-size: var(--fs-sm); }
.footer-bottom p { margin: 0; }

/* phone action bar */
.actionbar { position: fixed; inset-inline: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--stone-700);
  padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -2px 10px rgba(0, 0, 0, .15); transition: transform .2s var(--ease); }
.actionbar__btn { display: flex; align-items: center; justify-content: center; gap: var(--sp-2); min-height: 56px; padding-inline: var(--sp-3); background: var(--espresso-900); color: var(--ivory); font-weight: 600; text-decoration: none; text-align: center; line-height: 1.2; }
.actionbar__btn:hover { color: var(--ivory); background: var(--espresso-700); }
.actionbar__btn--primary { background: var(--accent); }
.actionbar__btn--primary:hover { background: var(--accent-hover); }
.actionbar.is-hidden { transform: translateY(110%); }
body { --bar-h: calc(56px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .actionbar { display: none; } body { --bar-h: 0px; } }

/* analytics consent (only when enabled) */
.consent { position: fixed; inset-inline: var(--sp-3); bottom: calc(var(--bar-h) + var(--sp-3)); z-index: 55; max-width: 34rem; padding: var(--sp-4); background: var(--espresso-900); color: var(--ivory); border: 1px solid var(--stone-700); }
.consent[hidden] { display: none; }
.consent a { color: var(--accent-light); }
.consent__actions { display: flex; gap: var(--sp-3); }

/* private preview labels (staff only) */
.preview-bar { position: fixed; inset-inline-start: .5rem; bottom: calc(var(--bar-h) + .5rem); z-index: 65; max-width: 22rem; border: 1px solid #B48A00; padding: .5rem .75rem; background: #FFE58A; color: #3A2A00; font: 500 .875rem/1.4 system-ui, sans-serif; }
.preview-bar a { color: #3A2A00; font-weight: 700; }
.ph { display: grid; gap: .25rem; margin: var(--sp-3) 0; padding: var(--sp-3) var(--sp-4); border: 2px dashed #B48A00; background: repeating-linear-gradient(45deg, #FFF8D6, #FFF8D6 10px, #FFF1B8 10px, #FFF1B8 20px); color: #3A2A00; font: 500 .875rem/1.4 system-ui, sans-serif; text-align: left; }
.ph__label { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; }
.ph--hero { position: absolute; inset-inline-end: var(--gutter); bottom: var(--sp-3); max-width: 22rem; z-index: 2; }
.ph--gallery { min-height: 12rem; align-content: center; }
.ph-tag { display: inline-block; margin: .25rem .375rem; padding: .125rem .5rem; background: #FFE58A; color: #3A2A00; border: 1px solid #B48A00; font: 600 .75rem/1.4 system-ui, sans-serif; vertical-align: middle; }
.ph-tag--on-media { position: absolute; inset-block-end: var(--sp-2); inset-inline-end: var(--sp-2); z-index: 1; }
.ph-tag--low { inset-block-end: auto; inset-block-start: var(--sp-2); }
.is-draft { outline: 2px dashed #B48A00; outline-offset: 3px; }

/* reduced motion & print */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print { .site-header, .actionbar, .tray, .site-footer, .hero__form, .preview-bar { display: none !important; } body { background: #fff; } }

/* picture wrappers fill their frames */
.gallery__item picture, .card__media picture, .member__photo picture { display: block; width: 100%; height: 100%; }
.about-media picture { display: block; }

/* ---------- question-game form ---------- */
.quiz__step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: var(--sp-3); }
.quiz__q { font: 500 var(--fs-lg)/1.3 var(--font-display); padding: 0; margin-bottom: var(--sp-2); }
:lang(ckb) .quiz__q, :lang(ar) .quiz__q { font-weight: 700; }
.quiz__q:focus { outline: none; }
.quiz--on .quiz__step:not(.is-current) { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .quiz--on .quiz__step.is-current { animation: quiz-in .22s var(--ease) both; }
  @keyframes quiz-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}
.quiz__progress { display: grid; gap: var(--sp-1); }
.quiz__progress[hidden] { display: none; }
.quiz__count { margin: 0; font-size: var(--fs-sm); color: var(--text-muted); }
.form--hero .quiz__count { color: inherit; opacity: .85; }
.quiz__bar { width: 100%; height: 4px; appearance: none; -webkit-appearance: none; border: 0; background: var(--stone-100); border-radius: 0; }
.quiz__bar::-webkit-progress-bar { background: var(--stone-100); }
.quiz__bar::-webkit-progress-value { background: var(--accent); transition: width .2s; }
.quiz__bar::-moz-progress-bar { background: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip { position: relative; display: inline-flex; }
.chip[hidden] { display: none; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 48px; padding: .625rem 1rem; border: 1.5px solid var(--stone-500); border-radius: var(--radius);
  background: #FFFDF9; color: var(--espresso); font-weight: 600; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.chip:hover span { border-color: var(--espresso); }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.form--hero .chip input:focus-visible + span { outline-color: var(--accent-light); }
.chip input:checked + span { background: var(--espresso); border-color: var(--espresso); color: var(--ivory); }
.chip input:checked + span::before { content: ""; width: .5rem; height: .5rem; margin-inline-end: .5rem; background: var(--accent-light); }
.chips[aria-invalid="true"] .chip span, .chip input[aria-invalid="true"] + span { border-color: var(--error); }
.quiz__nav { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); }
.quiz__nav[hidden] { display: none; }
.quiz__next { margin-inline-start: auto; }
.quiz__back[hidden], .quiz__next[hidden] { display: none; }
.icon--back { transform: scaleX(-1); }
[dir="rtl"] .icon--back { transform: none; }
.form--hero .quiz__back { color: inherit; }
.form--hero .quiz__next { color: inherit; border-color: currentColor; }
.form--hero .quiz__next:hover { background: var(--ivory); color: var(--espresso); }
.quiz__review { margin: 0; display: grid; border-top: 1px solid var(--line); }
.quiz__review[hidden] { display: none; }
.quiz__review div { display: grid; grid-template-columns: minmax(6rem, 35%) 1fr; gap: var(--sp-3); padding-block: var(--sp-2); border-bottom: 1px solid var(--line); }
.quiz__review dt { color: var(--text-muted); font-size: var(--fs-sm); }
.form--hero .quiz__review dt { color: inherit; opacity: .8; }
.quiz__review dd { margin: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-2); font-weight: 600; }
.quiz__change { background: none; border: 0; padding: 0 .25rem; min-height: 32px; color: var(--accent); text-decoration: underline; font: inherit; font-weight: 500; font-size: var(--fs-sm); cursor: pointer; }
.form--hero .quiz__change { color: var(--accent-light); }
.btn--wa { background: #1A7F4B; color: #fff; }
.btn--wa:hover { background: #146a3e; color: #fff; }
.btn--wa:active { background: #10552f; }
.quiz__wa-note { text-align: center; }
/* without JavaScript the steps form one long form: space them out */
form.quiz:not(.quiz--on) .quiz__step + .quiz__step { padding-top: var(--sp-4); border-top: 1px solid var(--line); }

/* ---------- property search bar (after the hero) ---------- */
.finder { position: relative; z-index: 2; padding-block: var(--sp-5) 0; }
.finder__form { display: grid; gap: var(--sp-4); padding: var(--sp-5); background: #FFFDF9; border: 1px solid var(--line-strong); box-shadow: 0 10px 30px rgba(29, 21, 17, .08); }
@media (min-width: 900px) { .finder { margin-top: calc(-1 * var(--sp-8)); padding-top: 0; } }
.finder__title { font-size: var(--fs-lg); margin: 0; }
.finder__fields { display: grid; gap: var(--sp-3); grid-template-columns: 1fr; }
@media (min-width: 640px) { .finder__fields { grid-template-columns: 1fr 1fr; } .finder__q { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .finder__fields { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)) auto; align-items: end; } .finder__q { grid-column: auto; } }
.finder__fields .field input[type="search"] { width: 100%; min-height: 48px; padding: .625rem .75rem; font: inherit; font-size: 1rem; color: var(--espresso); background: #FFFDF9; border: 1.5px solid var(--stone-500); border-radius: var(--radius); }
.finder__fields .field input[type="search"]:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--espresso); }
.finder__go { min-height: 48px; }
.finder__go .icon { width: 1.1em; height: 1.1em; }

/* ---------- hero background video ---------- */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.hero__video.is-playing { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }
.hero__video-toggle { position: absolute; inset-block-end: var(--sp-4); inset-inline-end: var(--sp-4); z-index: 3; display: inline-grid; place-items: center;
  width: 44px; height: 44px; padding: 0; border: 1.5px solid rgba(246, 241, 233, .6); border-radius: var(--radius); background: rgba(29, 21, 17, .55); color: var(--ivory); cursor: pointer; }
.hero__video-toggle[hidden] { display: none; }
.hero__video-toggle:hover { background: rgba(29, 21, 17, .85); }
.hero__video-toggle .i-play, .hero__video-toggle.is-paused .i-pause { display: none; }
.hero__video-toggle.is-paused .i-play { display: block; }
[dir="rtl"] .hero__video-toggle .i-play { transform: scaleX(-1); }
@media (max-width: 899px) { .hero__video-toggle { inset-block-start: calc(var(--header-h) + var(--sp-3)); inset-block-end: auto; } }
/* With a photo or film behind the hero, the inquiry form has no panel of its own: the film plays straight behind it
   on every screen size. The scrim stays at ≥0.8 espresso under the form as well as the headline, so ivory text keeps
   AA contrast (≈7.8:1 even over a white frame). Inputs and answer chips stay solid. */
.hero--photo .form--hero { background: transparent; border: 0; padding: 0; color: var(--ivory);
  -webkit-backdrop-filter: none; backdrop-filter: none; text-shadow: 0 1px 2px rgba(29, 21, 17, .6); }
.hero--photo .form--hero label, .hero--photo .form--hero .form__title, .hero--photo .form--hero summary { color: var(--ivory); }
.hero--photo .form--hero .field__hint, .hero--photo .form--hero .field__opt { color: var(--text-on-dark-muted); }
.hero--photo .form--hero a { color: var(--accent-light); }
.hero--photo .form--hero input, .hero--photo .form--hero select, .hero--photo .form--hero textarea,
.hero--photo .form--hero .chip span, .hero--photo .form--hero .btn, .hero--photo .form--hero .field__error,
.hero--photo .form--hero .form__summary, .hero--photo .form--hero .form__about { text-shadow: none; }
.hero--photo .form--hero .quiz__review, .hero--photo .form--hero .quiz__review div { border-color: rgba(246, 241, 233, .25); }
.hero--photo .form--hero .quiz__bar { background: rgba(246, 241, 233, .25); }
.hero--photo .form--hero .quiz__bar::-webkit-progress-bar { background: rgba(246, 241, 233, .25); }
.hero--photo .form--hero .quiz__bar::-webkit-progress-value { background: var(--accent-light); }
.hero--photo .form--hero .quiz__bar::-moz-progress-bar { background: var(--accent-light); }
@media (min-width: 900px) {
  .hero--photo::before { background: linear-gradient(90deg, rgba(29, 21, 17, .86) 0%, rgba(29, 21, 17, .8) 50%, rgba(29, 21, 17, .8) 100%); }
  [dir="rtl"] .hero--photo::before { background: linear-gradient(270deg, rgba(29, 21, 17, .86) 0%, rgba(29, 21, 17, .8) 50%, rgba(29, 21, 17, .8) 100%); }
}
@media (min-width: 900px) { .hero__video-toggle { inset-block-end: calc(var(--sp-8) + var(--sp-4)); } }

/* ---------- save, share, saved page ---------- */
.save { display: inline-flex; align-items: center; gap: var(--sp-2); min-height: 44px; padding: .5rem .875rem; border: 1.5px solid var(--espresso); border-radius: var(--radius);
  background: transparent; color: var(--espresso); font: 600 1rem/1.2 var(--font-text); cursor: pointer; }
.save[hidden] { display: none; }
.save:hover { background: var(--ivory-2); }
.save.is-saved { background: var(--espresso); color: var(--ivory); }
.save.is-saved .save__icon { fill: currentColor; }
.save--compact { position: absolute; z-index: 2; inset-block-start: var(--sp-2); inset-inline-end: var(--sp-2); width: 44px; height: 44px; padding: 0; justify-content: center;
  background: rgba(255, 253, 249, .92); border-color: transparent; }
.save--compact:hover { background: #fff; }
.save--compact.is-saved { background: var(--espresso); color: var(--accent-light); }
.card .save--compact ~ .ph-tag--on-media { inset-inline-end: calc(var(--sp-2) + 52px); }
.detail-tools { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-3); }
.share { min-height: 44px; }
.header-saved { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--accent-light); border-radius: var(--radius); text-decoration: none; }
.header-saved[hidden] { display: none; }
.header-saved:hover { background: rgba(246, 241, 233, .1); color: var(--accent-light); }
.header-saved__n { position: absolute; inset-block-start: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 4px; display: grid; place-items: center;
  background: var(--ivory); color: var(--espresso); font: 700 11px/1 var(--font-text); border-radius: 9px; }
.shortlist__list { list-style: none; padding: 0; margin: 0 0 var(--sp-5); display: grid; gap: var(--sp-2); }
.shortlist__item { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: var(--sp-3); padding: var(--sp-2); background: #FFFDF9; border: 1px solid var(--line); }
.shortlist__item img { width: 96px; height: 72px; object-fit: cover; }
.shortlist__title { font-weight: 600; color: var(--espresso); }
.shortlist__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.shortlist__actions[hidden], .shortlist__empty[hidden] { display: none; }

/* ---------- areas ---------- */
.browse-areas { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-3); margin-top: var(--sp-4); }
.browse-areas__label { margin: 0; font-weight: 600; color: var(--text-muted); }
.area-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.area-chip { display: inline-flex; align-items: center; gap: .375rem; min-height: 44px; padding: .5rem .875rem; border: 1px solid var(--line-strong); background: #FFFDF9; color: var(--espresso); text-decoration: none; font-weight: 600; }
.area-chip .icon { color: var(--accent); width: 1.1em; height: 1.1em; }
.area-chip:hover, .area-chip[aria-current] { border-color: var(--espresso); }
.area-chip[aria-current] { background: var(--espresso); color: var(--ivory); }
.area-chip__n { min-width: 22px; padding: 0 6px; background: var(--ivory-2); color: var(--espresso); font-size: var(--fs-sm); text-align: center; }
.area-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.area-card { display: grid; grid-template-columns: 1fr auto; gap: var(--sp-1) var(--sp-3); align-items: center; padding: var(--sp-5); background: #FFFDF9; border: 1px solid var(--line); text-decoration: none; color: var(--espresso); }
.area-card:hover { border-color: var(--espresso); }
.area-card__name { font: 500 var(--fs-lg)/1.2 var(--font-display); }
.area-card__n { grid-row: 2; color: var(--text-muted); font-size: var(--fs-sm); }
.area-card .icon { grid-row: 1 / 3; grid-column: 2; color: var(--accent); }
.area-others { margin-top: var(--sp-7); }
.tabs { display: flex; gap: var(--sp-2); margin-bottom: var(--sp-5); border-bottom: 1px solid var(--line); }
.tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--sp-4); color: var(--text-muted); text-decoration: none; font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs a[aria-current] { color: var(--espresso); border-bottom-color: var(--accent); }
.page-head .hero__actions .btn { flex: 0 0 auto; }
button.btn--text { background: transparent; border-color: transparent; }
button.btn--text:hover { background: var(--ivory-2); }

/* English pages: draw "کوردی" / "العربية" in the language switch with the phone's own font,
   so English visitors don't download the 160 KB Arabic-script web font for two words. */
:lang(en) .lang a:lang(ckb), :lang(en) .lang a:lang(ar) { font-family: Tahoma, "Segoe UI", "Geeza Pro", "Noto Naskh Arabic UI", "Noto Sans Arabic UI", system-ui, sans-serif; }
.section--dark .muted { color: var(--text-on-dark-muted); }

/* ---------- official logo ---------- */
.logo__pic { display: block; }
.logo__img { display: block; width: auto; }
.logo__img--header { height: 42px; }
@media (min-width: 1100px) { .logo__img--header { height: 48px; } }
.logo__img--footer { height: 120px; }
/* Kurdish/Arabic pages: the word "English" in the language switch uses the phone's own font (no Latin web font needed). */
:lang(ckb) .lang a:lang(en), :lang(ar) .lang a:lang(en) { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }

/* ---------- team page ---------- */
.team-photo { margin-top: var(--sp-5); }
.team-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.team { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: var(--sp-5); }
.member { display: flex; flex-direction: column; background: #FFFDF9; border: 1px solid var(--line); }
.member__photo { margin: 0; aspect-ratio: 4 / 5; }
.member__photo picture { display: block; width: 100%; height: 100%; }
.member__body { display: grid; gap: var(--sp-2); padding: var(--sp-4) var(--sp-5) var(--sp-5); }
.member__name { margin: 0; }
.member__role { margin: 0; color: var(--accent); font-weight: 600; }
.member__langs { display: flex; flex-wrap: wrap; gap: .375rem; margin: 0; }
.member__lang { padding: .125rem .5rem; border: 1px solid var(--line-strong); font-size: var(--fs-sm); color: var(--text-muted); }
.member__actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: var(--sp-2) 0 0; }
.team-lines { margin-top: var(--sp-7); display: grid; gap: var(--sp-5); padding: var(--sp-5); background: var(--ivory-2); border: 1px solid var(--line); }
@media (min-width: 860px) { .team-lines { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: center; padding: var(--sp-6); } }
.team-lines__head h2 { display: flex; gap: var(--sp-2); align-items: center; margin: 0 0 var(--sp-2); font-size: var(--fs-lg); }
.team-lines__head h2 .icon { color: var(--accent); }
.team-lines__head p { margin: 0; color: var(--text-muted); max-width: 36rem; }
.team-lines__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.line { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; justify-content: space-between; padding: var(--sp-3) var(--sp-4); background: #FFFDF9; border: 1px solid var(--line); }
.line__number { font-size: var(--fs-md); font-weight: 600; letter-spacing: .02em; }
.line__actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.line .ph-tag { flex-basis: 100%; }
.team-office { display: flex; gap: var(--sp-2); align-items: flex-start; margin-top: var(--sp-6); color: var(--text-muted); max-width: 46rem; }
.team-office .icon { color: var(--accent); margin-top: .2em; }

/* =====================================================================================================
   Design refresh (21 Nov 2026): warm and light, rounded, pill-shaped. A floating header bar, the hero as a
   large rounded card, bold sans headlines, gold pill buttons, pill badges and tags, soft-shadowed cards,
   and rounded inset panels. Placed last so it overrides the earlier rules above.
   ===================================================================================================== */
h1, h2 { font-weight: 700; letter-spacing: -.025em; }
h3 { font-weight: 600; letter-spacing: -.01em; }
:lang(ckb) h1, :lang(ckb) h2, :lang(ar) h1, :lang(ar) h2 { font-weight: 800; letter-spacing: 0; }
:lang(ckb) h3, :lang(ar) h3 { font-weight: 700; }

/* pill badge (eyebrow) */
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .375rem .9rem; border: 1px solid var(--line-strong); border-radius: var(--pill);
  background: rgba(255, 253, 249, .7); color: var(--espresso); font-weight: 500; font-size: .875rem; letter-spacing: 0; text-transform: none; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
:lang(ckb) .eyebrow, :lang(ar) .eyebrow { font-size: .9375rem; }
.eyebrow--light, .section--dark .eyebrow { color: var(--ivory); border-color: rgba(246, 241, 233, .32); background: rgba(246, 241, 233, .08); }

/* buttons: pills; primary is gold with dark text */
.btn { border-radius: var(--pill); padding: .75rem 1.5rem; }
.btn--small { padding: .5rem 1.125rem; }
.btn--primary { background: var(--gold); color: var(--espresso-900); }
.btn--primary:hover { background: var(--gold-hover); color: var(--espresso-900); }
.btn--primary:active { background: var(--gold-active); }
.btn--secondary:hover { background: var(--espresso-900); border-color: var(--espresso-900); }

/* floating header bar */
.site-header, .page-home .site-header { position: sticky; top: 0; inset-inline: auto; padding: var(--frame) var(--frame) 0; background: transparent; color: var(--espresso); }
.site-header.is-top, .site-header.is-scrolled { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header__inner { min-height: 64px; max-width: calc(var(--max) + 2 * var(--gutter)); padding-inline: 1rem .5rem; gap: var(--sp-3);
  background: rgba(251, 248, 242, .94); border: 1px solid rgba(201, 187, 166, .6); border-radius: 20px; box-shadow: 0 8px 28px rgba(29, 21, 17, .08); transition: box-shadow .2s; }
@supports ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
  .site-header__inner { background: rgba(251, 248, 242, .78); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
}
.site-header.is-scrolled .site-header__inner { box-shadow: 0 10px 34px rgba(29, 21, 17, .14); }
.site-header :focus-visible { outline-color: var(--focus); }
.site-header .logo, .site-header .logo:hover { color: var(--espresso); }
.logo__img--header { height: 38px; }
.site-header .lang a { color: var(--stone-700); }
.site-header .lang li + li a { border-inline-start-color: var(--line-strong); }
.site-header .lang a:hover, .site-header .lang a[aria-current] { color: var(--espresso-900); }
.header-whatsapp { background: var(--espresso-900); border-color: var(--espresso-900); color: var(--ivory); border-radius: var(--pill); min-height: 46px; min-width: 46px; padding-inline: .875rem; }
.header-whatsapp:hover { background: var(--espresso-700); border-color: var(--espresso-700); color: var(--ivory); }
.menu-toggle { color: var(--espresso); border-radius: var(--pill); width: 46px; height: 46px; }
.menu-toggle:hover { background: rgba(29, 21, 17, .06); color: var(--espresso); }
.header-saved { color: var(--accent); border-radius: var(--pill); }
.header-saved:hover { background: rgba(29, 21, 17, .06); color: var(--accent); }
.header-saved__n { background: var(--espresso-900); color: var(--ivory); }
@media (min-width: 560px) { .header-whatsapp { padding-inline: 1.125rem; } }
@media (min-width: 1100px) {
  .site-header__inner { border-radius: var(--pill); padding-inline: 1.5rem .5rem; min-height: 68px; }
  .logo__img--header { height: 42px; }
  .nav-desktop { margin-inline: auto; }
  .nav-desktop ul { gap: 0; }
  .nav-desktop li { display: flex; align-items: center; }
  .nav-desktop li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--stone-300); margin-inline: .125rem; }
  .nav-desktop a { color: var(--espresso); padding-inline: .75rem; font-weight: 500; }
  .nav-desktop a:hover { color: var(--accent); text-decoration: none; }
  .header-tools { margin-inline-start: 0; }
}
.tray__panel { border-radius: 24px 0 0 24px; }

/* hero: a large rounded card under the header bar */
.hero { margin: var(--frame) var(--frame) 0; border-radius: var(--radius-xl); }
.page-home .hero { padding-top: 0; }
.hero__inner { padding-block: var(--sp-6) var(--sp-7); }
.hero__h1 { font-size: var(--fs-hero); line-height: 1.02; letter-spacing: -.035em; max-width: 11em; margin-top: var(--sp-4); }
:lang(ckb) .hero__h1, :lang(ar) .hero__h1 { line-height: 1.3; letter-spacing: 0; }
.hero__lead { max-width: 30em; }
/* address and phone as a callout tag: dark pill with a gold pin */
.hero__proof { display: inline-flex; align-items: center; gap: .625rem; padding: .5rem 1rem; border-radius: 18px; background: rgba(15, 10, 8, .55); border: 1px solid rgba(246, 241, 233, .16); color: var(--ivory); }
.hero__proof .icon { margin-top: 0; }
.hero__proof--quote { display: block; border-radius: var(--radius-lg); padding: var(--sp-4); }
@media (max-width: 899px) { .hero__video-toggle { inset-block-start: var(--sp-3); } }
@media (min-width: 900px) {
  .hero__inner { min-height: min(50rem, calc(100vh - var(--header-h) - var(--frame) - 2rem)); padding-block: var(--sp-7) calc(var(--sp-8) + var(--sp-5)); }
}

/* search card overlapping the hero card */
.finder__form { border-radius: var(--radius-xl); border: 1px solid rgba(201, 187, 166, .5); box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .finder__form { padding: var(--sp-5) var(--sp-6) var(--sp-6); } }

/* chips, tags, pills */
.chip span, .area-chip, .area-chip__n, .status, .tag, .member__lang, .lightbox__tag, .quiz__bar, .ph-tag { border-radius: var(--pill); }
.quiz__bar::-webkit-progress-bar, .quiz__bar::-webkit-progress-value { border-radius: var(--pill); }
.chip input:checked + span::before { border-radius: 50%; background: var(--gold); }
.area-chip { padding-inline: 1rem; }
.area-chip:hover { border-color: var(--espresso); background: #fff; }
.area-chip__n { background: var(--gold-soft); }
.tag { background: rgba(29, 21, 17, .82); padding: .25rem .75rem; }
.save--compact, .lightbox button, .tray__close, .hero__video-toggle { border-radius: 50%; }
.save { border-radius: var(--pill); }

/* cards and blocks: rounded, borderless, soft shadow */
.card, .service, .quote, .panel, .filters, .empty, .area-card, .member, .team-lines, .shortlist__item, .about-media img, .about-media__panel,
.map, .video__frame, .team-photo img, .gallery__item, .floorplan img { border-radius: var(--radius-lg); }
.card, .member, .quote, .area-card, .shortlist__item { overflow: hidden; border-color: transparent; box-shadow: var(--shadow); }
.card { transition: transform .2s var(--ease), box-shadow .2s; }
.card:hover { border-color: transparent; transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card__foot { border-top-color: var(--ivory-2); }
.area-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); }
.panel, .filters { border-color: transparent; box-shadow: var(--shadow); }
.line, .quicklink, .form__about, .notice, .field__error, .form__summary, .consent, .shortlist__item img { border-radius: var(--radius); }
.line { border-color: transparent; box-shadow: var(--shadow); }

/* services: three rounded cards, icon in a gold circle */
.service { border-top: 0; padding: var(--sp-5); background: var(--card); box-shadow: var(--shadow); }
.service__icon { border-radius: 50%; width: 52px; height: 52px; background: var(--gold-soft); color: var(--accent); }
@media (min-width: 768px) { .services { gap: var(--sp-5); } }

/* tinted and dark sections become rounded panels inset from the page edge */
.section--alt, .section--dark, .final-cta { margin: var(--frame); border-radius: var(--radius-xl); }
.section--dark { background: var(--espresso-900); }
.final-cta { background: var(--stone-100); }
.quicklink { border-color: rgba(246, 241, 233, .2); }

/* footer: a rounded panel at the bottom */
.site-footer { margin: var(--frame) var(--frame) 0; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }

/* phone action bar: a floating pill */
.actionbar { inset-inline: var(--frame); bottom: calc(var(--frame) + env(safe-area-inset-bottom)); padding-bottom: 0; gap: 0; border-radius: var(--pill); overflow: hidden;
  background: var(--espresso-900); box-shadow: 0 12px 30px rgba(15, 10, 8, .28); }
.actionbar__btn { min-height: 54px; }
.actionbar__btn--primary { background: var(--gold); color: var(--espresso-900); }
.actionbar__btn--primary:hover { background: var(--gold-hover); color: var(--espresso-900); }
.actionbar.is-hidden { transform: translateY(160%); }
body { --bar-h: calc(54px + 2 * var(--frame) + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { body { --bar-h: 0px; } }
.page-head { border-bottom: 0; padding-bottom: var(--sp-4); }
/* services: the whole card is one link (fewer buttons on the home page) */
.service { position: relative; transition: transform .2s var(--ease), box-shadow .2s; }
.service__link { color: inherit; text-decoration: none; }
.service__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service__link:focus-visible { outline: none; }
.service:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.service p { margin: 0; color: var(--text-muted); }
.service__arrow { position: absolute; inset-block-start: var(--sp-5); inset-inline-end: var(--sp-5); color: var(--accent); transition: transform .2s var(--ease); }
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.service:hover .service__title { text-decoration: underline; text-underline-offset: .2em; }
.service:hover .service__arrow { transform: translateX(3px); }
[dir="rtl"] .service:hover .service__arrow { transform: scaleX(-1) translateX(3px); }

/* =====================================================================================================
   Editorial layer (22 Nov 2026), after a minimal real-estate site the owner liked, kept in the brand's
   brown and beige: lighter large headlines with a two-tone finish, a statement + numbered list, big
   figures, a wide lead property, four numbered steps with thin rules and gold ticks, fade-in on scroll.
   ===================================================================================================== */
:root { --tone: #8A7A66; --rule: var(--line-strong); --rule-dark: rgba(246, 241, 233, .14); }
h1, h2 { font-weight: 500; letter-spacing: -.03em; }
:lang(ckb) h1, :lang(ckb) h2, :lang(ar) h1, :lang(ar) h2 { font-weight: 700; letter-spacing: 0; }
.hero__h1 { font-weight: 500; letter-spacing: -.045em; line-height: 1; }
:lang(ckb) .hero__h1, :lang(ar) .hero__h1 { font-weight: 700; letter-spacing: 0; line-height: 1.3; }
/* second half of a headline in the softer tone (large text: ≥3:1 on beige, ≥6:1 on the dark hero) */
.tone { color: var(--tone); }
.hero .tone, .section--dark .tone { color: rgba(246, 241, 233, .6); }

/* what we do: statement + numbered list + figures */
.intro-ed__grid { display: grid; gap: var(--sp-7); margin-top: var(--sp-5); }
@media (min-width: 960px) { .intro-ed__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--sp-8); align-items: start; } }
.statement { font: 500 clamp(1.5rem, 1.05rem + 1.5vw, 2.375rem)/1.22 var(--font-display); letter-spacing: -.025em; color: var(--espresso); }
.statement h2, .statement p { display: inline; font: inherit; letter-spacing: inherit; margin: 0; }
.statement p { color: var(--tone); }
:lang(ckb) .statement, :lang(ar) .statement { font-weight: 600; line-height: 1.6; letter-spacing: 0; font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); }
.numbered { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.numbered__item { position: relative; display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) auto; gap: var(--sp-3); padding-block: var(--sp-5); border-bottom: 1px solid var(--rule); }
.numbered__n { padding-top: .3rem; font-size: var(--fs-sm); color: var(--tone); font-variant-numeric: tabular-nums; }
.numbered__title { margin: 0 0 var(--sp-1); font-size: var(--fs-md); font-weight: 600; letter-spacing: -.01em; }
.numbered__title a { color: var(--espresso); text-decoration: none; }
.numbered__title a::after { content: ""; position: absolute; inset: 0; }
.numbered__title a:focus-visible { outline: none; }
.numbered__item:focus-within { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 6px; }
.numbered__item p { margin: 0; color: var(--text-muted); font-size: .9375rem; max-width: 34em; }
.numbered__arrow { margin-top: .3rem; color: var(--accent); transition: transform .2s var(--ease); }
.numbered__item:hover .numbered__title a { text-decoration: underline; text-underline-offset: .2em; }
.numbered__item:hover .numbered__arrow { transform: translateX(4px); }
[dir="rtl"] .numbered__item:hover .numbered__arrow { transform: scaleX(-1) translateX(4px); }
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: var(--sp-5); margin: var(--sp-8) 0 0; }
.figures__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: var(--sp-2); padding-top: var(--sp-4); border-top: 1px solid var(--rule); }
.figures dd { margin: 0; font: 400 clamp(2.75rem, 2rem + 3vw, 4.5rem)/1 var(--font-display); letter-spacing: -.05em; color: var(--espresso); font-variant-numeric: tabular-nums; }
.figures dt { font-size: var(--fs-sm); color: var(--text-muted); max-width: 14em; }

/* featured: quiet link; with an odd number of properties the first one is shown wide */
.section-head--row .link-arrow { margin-inline-start: auto; }
@media (min-width: 700px) { .featured-ed .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); } }
@media (min-width: 900px) {
  .featured-ed--lead .grid-cards > li:first-child { grid-column: 1 / -1; }
  .featured-ed--lead .grid-cards > li:first-child .card { flex-direction: row; }
  .featured-ed--lead .grid-cards > li:first-child .card__media { flex: 0 0 62%; aspect-ratio: 16 / 10; }
  .featured-ed--lead .grid-cards > li:first-child .card__body { padding: var(--sp-6); justify-content: flex-end; gap: var(--sp-3); }
  .featured-ed--lead .grid-cards > li:first-child .card__title { font-size: var(--fs-xl); font-weight: 500; letter-spacing: -.02em; }
  .featured-ed--lead .grid-cards > li:first-child .card__summary { -webkit-line-clamp: 4; font-size: 1rem; }
}

/* how it works: four steps, thin rules, a gold tick over each column */
.process__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--sp-4) var(--sp-6); margin-bottom: var(--sp-7); }
.process__h2 { max-width: 15em; margin: var(--sp-4) 0 0; }
.process__note { max-width: 17rem; margin: 0; color: var(--text-on-dark-muted); font-size: .9375rem; }
@media (min-width: 700px) { .process__note { text-align: end; } }
.steps-ed { list-style: none; padding: 0; margin: 0; display: grid; }
.steps-ed__item { position: relative; padding: var(--sp-5) 0 var(--sp-6); border-top: 1px solid var(--rule-dark); }
.steps-ed__item::before { content: ""; position: absolute; inset-block-start: -1px; inset-inline-start: 0; width: 22px; height: 2px; background: var(--gold); }
.steps-ed__n { display: block; margin-bottom: var(--sp-5); font: 400 clamp(2.5rem, 2rem + 1.6vw, 3.5rem)/1 var(--font-display); letter-spacing: -.04em; color: var(--ivory); font-variant-numeric: tabular-nums; }
.steps-ed__title { margin: 0 0 var(--sp-2); font-size: var(--fs-md); font-weight: 600; letter-spacing: -.01em; color: var(--ivory); }
.steps-ed__item p { margin: 0; max-width: 22em; color: var(--text-on-dark-muted); font-size: .9375rem; }
@media (min-width: 700px) {
  .steps-ed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-ed__item { padding-inline: var(--sp-5); }
  .steps-ed__item:nth-child(even) { border-inline-start: 1px solid var(--rule-dark); }
  .steps-ed__item:nth-child(odd) { padding-inline-start: 0; }
}
@media (min-width: 1000px) {
  .steps-ed { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps-ed__item { border-inline-start: 1px solid var(--rule-dark); padding-block-end: var(--sp-7); }
  .steps-ed__item:nth-child(odd) { padding-inline-start: var(--sp-5); }
  .steps-ed__item:first-child { border-inline-start: 0; padding-inline-start: 0; }
  .steps-ed__item:not(:first-child)::before { inset-inline-start: var(--sp-5); }
}
@media (min-width: 700px) and (max-width: 999px) { .steps-ed__item:nth-child(even)::before { inset-inline-start: var(--sp-5); } }

/* fade in on scroll (site.js adds .js-reveal only when motion is allowed) */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }
@media print { [data-reveal] { opacity: 1 !important; transform: none !important; } }

/* ---------- language switch: one box, three cells, each language's flag faded behind its name ----------
   Kurdish → Kurdistan, English → United Kingdom, Arabic → Iraq. The current language's flag is the strongest. */
.lang { gap: 0; width: max-content; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; background: var(--card); }
.lang li + li a, .site-header .lang li + li a { border-inline-start: 1px solid var(--line-strong); }
.lang a, .site-header .lang a, .tray__lang .lang a, .tray__lang .lang li:first-child a, .footer-lang .lang li:first-child a {
  position: relative; isolation: isolate; justify-content: center; min-width: 5.25rem; padding-inline: .875rem;
  color: var(--espresso-900); font-weight: 600; text-decoration: none; text-shadow: 0 0 6px rgba(255, 253, 249, .95), 0 0 2px rgba(255, 253, 249, .95); }
.lang a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: center / cover no-repeat; opacity: .3; transition: opacity .2s; }
.lang a[lang="ckb"]::before { background-image: url("../flags/kurdistan.svg"); }
.lang a[lang="en"]::before { background-image: url("../flags/uk.svg"); }
.lang a[lang="ar"]::before { background-image: url("../flags/iraq.svg"); }
.lang a:hover, .site-header .lang a:hover { color: var(--espresso-900); text-decoration: none; }
.lang a:hover::before { opacity: .48; }
.lang a[aria-current], .site-header .lang a[aria-current] { color: var(--espresso-900); font-weight: 800; }
.lang a[aria-current]::before { opacity: .62; }
.lang a:focus-visible { outline-offset: -3px; }
.site-header .lang a { min-height: 42px; min-width: 4.75rem; font-size: .9375rem; }
/* on the dark menu and footer: light names, darker veil over the flags */
.tray .lang, .site-footer .lang { border-color: rgba(246, 241, 233, .22); background: var(--espresso-900); }
.tray .lang li + li a, .site-footer .lang li + li a { border-inline-start-color: rgba(246, 241, 233, .22); }
.tray .lang a, .site-footer .lang a, .tray .lang a:hover, .site-footer .lang a:hover, .tray .lang a[aria-current], .site-footer .lang a[aria-current] {
  color: var(--ivory); text-shadow: 0 1px 3px rgba(0, 0, 0, .9), 0 0 2px rgba(0, 0, 0, .8); }
.tray .lang a::before, .site-footer .lang a::before { opacity: .32; }
.tray .lang a:hover::before, .site-footer .lang a:hover::before { opacity: .45; }
.tray .lang a[aria-current]::before, .site-footer .lang a[aria-current]::before { opacity: .55; }
@media (forced-colors: active) { .lang a::before { display: none; } }
.lang a::before { opacity: .24; filter: saturate(.55); }
.lang a:hover::before { opacity: .4; filter: saturate(.8); }
.lang a[aria-current]::before { opacity: .62; filter: none; }
.tray .lang a::before, .site-footer .lang a::before { opacity: .22; }
.tray .lang a[aria-current]::before, .site-footer .lang a[aria-current]::before { opacity: .55; }
.tray__lang .lang li:first-child a, .footer-lang .lang li:first-child a { color: var(--ivory); text-shadow: 0 1px 3px rgba(0, 0, 0, .9), 0 0 2px rgba(0, 0, 0, .8); }

/* ---------- For sale page ---------- */
.sale-head__h1 { font-size: var(--fs-2xl); max-width: 14em; margin-top: var(--sp-4); }
@media (min-width: 900px) { .sale-head__h1 { font-size: clamp(3rem, 2rem + 2.6vw, 4.5rem); line-height: 1.02; letter-spacing: -.045em; } }
:lang(ckb) .sale-head__h1, :lang(ar) .sale-head__h1 { line-height: 1.3; letter-spacing: 0; }
.sale-tabs { margin-bottom: var(--sp-4); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.sale-tabs::-webkit-scrollbar { display: none; }
.sale-tabs ul { display: flex; gap: var(--sp-2); list-style: none; margin: 0; padding: 2px; width: max-content; }
.sale-tabs a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .375rem .5rem .375rem 1rem; border: 1px solid var(--line-strong); border-radius: var(--pill);
  background: var(--card); color: var(--espresso); text-decoration: none; font-weight: 600; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
[dir="rtl"] .sale-tabs a { padding: .375rem 1rem .375rem .5rem; }
.sale-tabs a:hover { border-color: var(--espresso); }
.sale-tabs a[aria-current] { background: var(--espresso-900); border-color: var(--espresso-900); color: var(--ivory); }
.sale-tabs__n { min-width: 26px; padding: .125rem .5rem; border-radius: var(--pill); background: var(--gold-soft); color: var(--espresso); font-size: var(--fs-sm); text-align: center; font-variant-numeric: tabular-nums; }
.sale-tabs a[aria-current] .sale-tabs__n { background: var(--gold); color: var(--espresso-900); }
.for-sale .filters__fields { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.sale-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-4) var(--sp-6); margin-top: var(--sp-7); padding: var(--sp-5) var(--sp-6);
  border-radius: var(--radius-lg); background: var(--ivory-2); }
.sale-help .h3 { margin: 0 0 var(--sp-1); }
.sale-help p { margin: 0; color: var(--text-muted); max-width: 38em; }
/* the main buying page stands out a little in the menu */
.nav-desktop a.nav-key { font-weight: 600; }
.nav-desktop a.nav-key::after { content: ""; width: 6px; height: 6px; margin-inline-start: .4rem; border-radius: 50%; background: var(--gold); }
.nav-desktop a[aria-current="page"] { color: var(--accent); }
.tray__nav a[aria-current="page"] { color: var(--accent-light); }
/* Keep all top-level links on one line where the desktop header first fits. */
@media (min-width: 1100px) {
  .nav-desktop a { white-space: nowrap; }
}
@media (min-width: 1100px) and (max-width: 1240px) {
  .nav-desktop a { padding-inline: .4rem; }
}
/* keyword boxes (type="search") look like every other field */
.field input[type="search"] { width: 100%; min-height: 48px; padding: .625rem .75rem; font: inherit; font-size: 1rem; color: var(--espresso); background: #FFFDF9; border: 1.5px solid var(--stone-500); border-radius: var(--radius); -webkit-appearance: none; appearance: none; }
.field input[type="search"]:hover { border-color: var(--espresso); }
.field input[type="search"]:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--espresso); }

/* after sending: "saved" note with a manual WhatsApp link (green keeps its white text inside the hero form) */
.form__status .form__wa-link, .hero--photo .form--hero a.form__wa-link { margin-top: var(--sp-3); color: #fff; text-shadow: none; }
/* floor plans: two per row on wider screens */
@media (min-width: 700px) { section[aria-labelledby="plan-h"] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); align-items: start; } section[aria-labelledby="plan-h"] > h2 { grid-column: 1 / -1; margin-bottom: 0; } section[aria-labelledby="plan-h"] .floorplan { margin: 0; } }

/* Real estate language designs: restrained typography, no flag backgrounds. */
.lang[class*="lang--"] a::before { display: none; }
.lang.lang--quiet, .lang.lang--underline, .lang.lang--dropdown { --lang-ink: #302118; --lang-active: #302118; --lang-on: #fffaf2; --lang-line: #d9cdbd; background: #fffdf9; border: 1px solid var(--lang-line); padding: 4px; gap: 3px; border-radius: 30px; max-width: 100%; }
.lang.lang--quiet a, .lang.lang--underline a, .lang.lang--dropdown a, .site-header .lang[class*="lang--"] a { position: relative; color: var(--lang-ink); text-shadow: none; border: 0; padding: 10px 16px; min-width: 0; min-height: 44px; font-size: .9375rem; font-weight: 500; border-radius: 25px; justify-content: center; }
.lang.lang--quiet a[aria-current], .lang.lang--dropdown a[aria-current] { background: var(--lang-active); color: var(--lang-on); font-weight: 600; }
.lang[class*="lang--"] a:hover { color: var(--lang-ink); background: #eae1d5; text-decoration: none; }
.lang.lang--underline { background: transparent; border: 0; padding: 0; border-radius: 0; gap: 12px; }
.lang.lang--underline a { border-radius: 0; padding: 10px 4px; border-bottom: 2px solid transparent; }
.lang.lang--underline a[aria-current] { border-bottom-color: currentColor; font-weight: 700; color: var(--lang-ink); }
.tray .lang[class*="lang--"], .site-footer .lang[class*="lang--"] { --lang-ink: #f8f0e4; --lang-active: #e8bc78; --lang-on: #302118; --lang-line: #7f6c57; background: #302118; }
.tray .lang[class*="lang--"] a, .site-footer .lang[class*="lang--"] a { color: var(--lang-ink); text-shadow: none; border-inline-start: 0; }
.tray .lang.lang--quiet a[aria-current], .site-footer .lang.lang--quiet a[aria-current], .tray .lang.lang--dropdown a[aria-current], .site-footer .lang.lang--dropdown a[aria-current] { color: var(--lang-on); }
.tray .lang[class*="lang--"] a:hover, .site-footer .lang[class*="lang--"] a:hover { background: #51402f; color: #fffaf2; }
.language-picker { position: relative; width: max-content; max-width: 100%; }
.language-picker summary { display: flex; align-items: center; gap: 24px; cursor: pointer; min-height: 46px; padding: 8px 18px; border: 1px solid #bca990; border-radius: 24px; list-style: none; font-size: 1rem; }
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker .lang--dropdown { display: grid; position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 180px; border-radius: 16px; z-index: 60; box-shadow: 0 10px 28px #24150920; }
.language-picker .lang--dropdown a { justify-content: start; border-radius: 10px; }
.site-footer .language-picker .lang--dropdown { top: auto; bottom: calc(100% + 8px); }
.language-designs { display: grid; gap: 32px; }
.language-sample { padding: 28px; border: 1px solid #d9cdbd; border-radius: 18px; background: #fffdf9; }
.language-sample p { margin: 8px 0 24px; }
.language-sample nav { min-height: 66px; padding-bottom: 12px; }
.language-sample:has(.language-picker) nav { min-height: 245px; }
.language-sample .language-picker .lang--dropdown { inset-inline-start: 0; inset-inline-end: auto; }
@media(max-width: 380px) { .lang.lang--quiet a { padding-inline: 10px; } .language-sample { padding: 18px; } }

/* Agency credit, readable and correctly ordered in all three site languages. */
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1.5rem; }
.footer-credit { display: inline-flex; align-items: center; gap: .4em; font-size: .75rem; letter-spacing: .1em; }
.site-footer .footer-credit a { color: var(--accent-light); font-weight: 700; text-decoration: underline; text-underline-offset: .25em; padding-block: .35rem; }
.site-footer .footer-credit a:hover { color: var(--ivory); }
/* Card entrances use only opacity and transform so the grid keeps its position. */
.js-reveal :is(.page-projects, .page-for-sale) [data-reveal] { opacity: 0; transform: translateY(22px); transition: none; }
.js-reveal :is(.page-projects, .page-for-sale) [data-reveal].is-in { opacity: 1; transform: none; animation: catalogue-enter .65s cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms) both; }
.js-reveal :is(.page-projects, .page-for-sale) [data-reveal]:focus-within { opacity: 1; transform: none; animation: none; }
@keyframes catalogue-enter { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js-reveal [data-reveal] { opacity: 1; transform: none; transition: none; animation: none !important; }
}

/* Aram Garden: lightweight covers first; original PDFs load only when opened. */
.project-catalogues { margin-block: var(--sp-7); scroll-margin-top: 7rem; }
.project-catalogues__head { max-width: 52rem; margin-bottom: var(--sp-5); }
.project-catalogues__head .h2 { margin-block: .4rem 1rem; }
.catalogue-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: var(--sp-4); }
.catalogue-card { overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--card); }
.catalogue-card__preview { display: block; overflow: hidden; background: #dbe6df; }
.catalogue-card__preview img { width: 100%; height: auto; display: block; transition: transform .35s var(--ease); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .catalogue-card__preview:hover img { transform: scale(1.025); } }
.catalogue-card__body { padding: var(--sp-4); }
.catalogue-card__body .h3 { margin: .4rem 0 .8rem; }
.catalogue-card__meta { font-size: var(--fs-sm); color: var(--text-muted); }
.catalogue-card__actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.catalogue-card--wide { background: var(--ivory-2); }
.project-catalogues > .catalogue-card--wide { margin-bottom: var(--sp-5); }
@media (min-width: 750px) { .catalogue-card--wide { display: grid; grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr); align-items: center; } .catalogue-card--wide .catalogue-card__body { padding: var(--sp-5); } }
.card__catalogue { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: .5rem; align-self: start; min-height: 44px; padding: .4rem .7rem; border: 1px solid var(--line-strong); border-radius: var(--pill); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; color: var(--espresso); background: var(--ivory-2); }
.card__catalogue .icon { width: 18px; height: 18px; }
.card__catalogue:hover { background: var(--gold-soft); }

/* Team page. Shared navigation, footer and mobile actions sit outside this section. */
.page-team #main { background: var(--espresso-900); color: var(--ivory); }
.team-page {
  --team-card: #271c15;
  --team-muted: #d9cdbd;
  --team-outline: rgba(246, 241, 233, .55);
  display: grid;
  gap: 24px;
  width: min(100%, 672px);
  margin-inline: auto;
  padding: 36px 16px 40px;
}
.team-page :focus-visible { outline-color: var(--focus-on-dark); }
.team-page__head, .team-page__visit { text-align: center; }
.team-page__eyebrow { margin: 0 0 8px; color: var(--gold); font-size: 11px; font-weight: 700; }
:lang(en) .team-page__eyebrow { text-transform: uppercase; letter-spacing: .18em; }
.team-page__head h1 { margin: 0; color: inherit; font-size: 30px; font-weight: 600; line-height: 1.16; }
.team-page__lead { margin: 9px 0 0; color: var(--team-muted); font-size: 15px; }

.team-grid, .team-centre__lines { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.team-grid > li { display: flex; min-width: 0; }
.team-profile {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(226, 172, 85, .22);
  border-radius: 14px;
  background: var(--team-card);
}
.team-profile__photo { position: relative; display: grid; align-items: end; aspect-ratio: 3 / 4; background: var(--espresso-800); }
.team-profile__photo picture, .team-profile__photo .member__initial { position: absolute; inset: 0; display: grid; place-items: center; }
.team-profile__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.team-profile__overlay {
  position: relative;
  padding: 48px 10px 6px;
  background: linear-gradient(to top, #271c15 0%, rgba(39, 28, 21, .88) 40%, rgba(39, 28, 21, 0) 100%);
}
.team-profile__role { margin: 0 0 2px; color: var(--gold); font-size: 11px; font-weight: 600; line-height: 1.3; }
.team-profile__name { margin: 0; color: var(--ivory); font-size: 15px; font-weight: 600; line-height: 1.2; }
.team-profile__content { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 4px 10px 10px; }
.team-profile__number { margin: 0; color: var(--team-muted); font-size: 13px; }
.team-profile__number bdi, .team-centre__number bdi, .team-centre__mobile-number bdi { white-space: nowrap; }
.team-profile__details, .team-profile__bio, .team-profile__projects { margin: 0; font-size: .875rem; }
.team-profile__details, .team-profile__projects a, .team-profile .link-phone { color: var(--gold); }
.team-profile__projects { padding-inline-start: 1.25rem; }
.team-profile__actions { display: flex; gap: 8px; margin-block-start: auto; }
.team-page .team-btn { gap: .35rem; min-height: 44px; padding: .5rem .8rem; border-width: 1px; font-size: 14px; font-weight: 600; line-height: 1.25; text-align: center; }
.team-btn--outline { color: var(--ivory); border-color: var(--team-outline); }
.team-btn--outline:hover { color: var(--ivory); background: rgba(246, 241, 233, .10); }
.team-profile__actions .team-btn { flex: 1 1 0; min-width: 44px; padding-inline: 0; }
.team-profile__actions .team-btn span { display: none; }
.team-profile__actions .icon { width: 20px; height: 20px; }

.team-centre {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(226, 172, 85, .35);
  border-radius: 16px;
}
.team-centre h2 { margin: 0; color: inherit; font-size: 20px; font-weight: 600; line-height: 1.25; }
.team-centre p { margin: 8px 0 0; color: var(--team-muted); font-size: 14px; }
.team-centre__line { min-width: 0; }
.team-centre__number { display: none; }
.team-centre__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.team-centre__actions .team-btn { flex: 1 1 6rem; min-height: 48px; }
.team-centre__actions .team-btn--outline { flex-basis: 9rem; flex-wrap: wrap; padding-inline: .4rem; }
.team-page__visit .team-btn { white-space: normal; padding-inline: 1.125rem; }

@media (prefers-reduced-motion: no-preference) {
  .js-reveal .team-grid > [data-reveal] { transform: translateY(14px) scale(.985); transition: none; }
  .js-reveal .team-grid > [data-reveal].is-in {
    transform: none;
    animation: team-profile-enter .55s var(--ease) var(--reveal-delay, 0ms) both;
  }
  .js-reveal .team-grid > [data-reveal]:focus-within { opacity: 1; transform: none; animation: none; }
  @keyframes team-profile-enter {
    from { opacity: 0; transform: translateY(14px) scale(.985); }
    to { opacity: 1; transform: none; }
  }
  .team-page .team-btn[data-track] {
    transition: transform .18s var(--ease), box-shadow .18s var(--ease),
      background-color .18s var(--ease), border-color .18s var(--ease);
  }
  .team-page .team-btn[data-track]:active { transform: scale(.97); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .team-page .team-btn[data-track]:hover:not(:active) {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
  }
}
@media (prefers-reduced-motion: reduce) {
  .team-page .team-btn[data-track] { transition: none; }
  .team-page .team-btn[data-track]:active { transform: none; }
}
@media print {
  .js-reveal .team-grid > [data-reveal].is-in { animation: none; }
}

@media (min-width: 1000px) {
  .team-page { width: min(100%, 1168px); padding: 72px 24px 80px; gap: 48px; }
  .team-page__eyebrow { margin-block-end: 10px; font-size: 13px; }
  .team-page__head h1 { font-size: 48px; }
  .team-page__lead { margin-block-start: 10px; font-size: 18px; }
  .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .team-profile { border-radius: 16px; }
  .team-profile__overlay { padding: 72px 18px 12px; }
  .team-profile__role { font-size: 13px; }
  .team-profile__name { font-size: 22px; }
  .team-profile__content { gap: 12px; padding: 4px 18px 18px; }
  .team-profile__number { font-size: 15px; }
  .team-profile__actions .team-btn { padding-inline: .275rem; }
  .team-profile__actions .team-btn span { display: inline; }
  .team-profile__actions .icon { display: none; }
  .team-centre { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 24px; padding: 36px; }
  .team-centre h2 { font-size: 28px; }
  .team-centre p { font-size: 16px; }
  .team-centre__line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
  .team-centre__number { display: inline-block; font-size: 20px; font-weight: 600; }
  .team-centre__mobile-number { display: none; }
  .team-centre__actions .team-btn { flex: 0 0 auto; min-height: 44px; padding-inline: 1rem; }
}

/* ===== Phone app bar, search sheet and contact sheet (27 Nov 2026) ===== */
.appbar { position: fixed; z-index: 50; inset-inline: var(--frame); bottom: calc(var(--frame) + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5, 1fr);
  align-items: stretch; padding: 6px; border-radius: 24px; background: var(--espresso-900); box-shadow: 0 12px 30px rgba(15, 10, 8, .3); transition: transform .22s var(--ease); }
.appbar.is-hidden { transform: translateY(160%); }
.appbar__tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 56px; padding: 4px 2px; border-radius: 18px;
  color: #D8CCBB; text-decoration: none; font-size: .75rem; font-weight: 600; line-height: 1.1; text-align: center; -webkit-tap-highlight-color: transparent; transition: background .15s, color .15s, transform .12s; }
.appbar__tab:hover { color: var(--ivory); }
.appbar__tab:active { transform: scale(.94); }
.appbar__tab .icon { width: 24px; height: 24px; }
.appbar__tab[aria-current="page"] { color: var(--gold); background: rgba(226, 172, 85, .12); }
.appbar__tab--key .appbar__icon { display: grid; place-items: center; width: 40px; height: 32px; border-radius: 12px; background: var(--gold); color: var(--espresso-900); }
.appbar__tab--key { color: var(--ivory); }
.appbar__tab--key[aria-current="page"] { background: transparent; color: var(--gold); }
.appbar__label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:root[lang="en"] .appbar__tab { font-size: .7rem; }
body { --bar-h: calc(68px + 2 * var(--frame) + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .appbar { display: none; } body { --bar-h: 0px; } }
.actionbar { display: none; }

.sheet[hidden] { display: none; }
.sheet { position: fixed; inset: 0; z-index: 70; }
.sheet__scrim { position: absolute; inset: 0; background: rgba(15, 10, 8, .45); opacity: 0; transition: opacity .25s; }
.sheet.is-open .sheet__scrim { opacity: 1; }
.sheet__panel { position: absolute; inset-inline: 0; bottom: 0; max-height: 92vh; display: flex; flex-direction: column; background: var(--ivory); border-radius: 26px 26px 0 0;
  box-shadow: 0 -10px 40px rgba(15, 10, 8, .25); transform: translateY(100%); transition: transform .28s var(--ease); padding-bottom: env(safe-area-inset-bottom); }
.sheet.is-open .sheet__panel { transform: translateY(0); }
.sheet--search .sheet__panel { top: 0; max-height: none; border-radius: 0; }
.sheet__body { overflow-y: auto; overscroll-behavior: contain; padding: var(--sp-4) var(--gutter) var(--sp-6); }
.sheet__grab { width: 44px; height: 5px; border-radius: 3px; background: var(--stone-300); margin: 10px auto 0; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding: var(--sp-3) var(--gutter) 0; }
.sheet__title { margin: 0; font-size: var(--fs-lg); }
.sheet__x { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ivory-2); color: var(--espresso); cursor: pointer; }
.sheet__h { margin: var(--sp-5) 0 var(--sp-3); font-size: var(--fs-sm); font-weight: 700; color: var(--text-muted); }
.sheet__h:first-child { margin-top: 0; }
html.sheet-open, html.sheet-open body { overflow: hidden; }

.sheet__searchbar { display: flex; align-items: center; gap: var(--sp-2); padding: calc(var(--sp-3) + env(safe-area-inset-top)) var(--gutter) var(--sp-3); border-bottom: 1px solid var(--line); background: var(--card); }
.sheet__searchicon { display: grid; place-items: center; color: var(--stone-500); }
.sheet__searchbar input { flex: 1; min-width: 0; min-height: 48px; padding: 0 var(--sp-4); border: 1.5px solid var(--line-strong); border-radius: var(--pill); background: var(--ivory); font: inherit; font-size: 1.0625rem; color: var(--text); }
.sheet__searchbar input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.sheet__close { min-height: 44px; padding-inline: var(--sp-2); border: 0; background: none; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; }

.quick-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
.quick { display: flex; align-items: center; gap: var(--sp-3); min-height: 64px; padding: var(--sp-3); border-radius: 18px; background: var(--card); box-shadow: var(--shadow);
  color: var(--espresso); text-decoration: none; font-weight: 600; line-height: 1.25; -webkit-tap-highlight-color: transparent; transition: transform .12s; }
.quick:active { transform: scale(.97); }
.quick__icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--gold-soft); color: var(--accent); }
.quick__icon .icon { width: 22px; height: 22px; }
.chips-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip-link { display: inline-flex; align-items: center; min-height: 40px; padding-inline: var(--sp-4); border-radius: var(--pill); border: 1.5px solid var(--line-strong); background: var(--card); color: var(--espresso); text-decoration: none; font-weight: 500; }
.chip-link:active { background: var(--gold-soft); }

.search-results { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }
.search-results:empty { display: none; }
.sr { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-2); border-radius: 16px; background: var(--card); color: var(--espresso); text-decoration: none; box-shadow: var(--shadow); -webkit-tap-highlight-color: transparent; }
.sr:active { transform: scale(.98); }
.sr__pic { flex: none; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--ivory-2); display: grid; place-items: center; font-size: 1.5rem; font-weight: 700; color: var(--accent); }
.sr__pic img { width: 100%; height: 100%; object-fit: cover; }
.sr__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sr__t { font-weight: 700; line-height: 1.3; }
.sr__s { font-size: var(--fs-sm); color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr__g { flex: none; padding: 2px 8px; border-radius: var(--pill); background: var(--ivory-2); font-size: .7rem; font-weight: 700; color: var(--stone-700); }
.sr__g--s { background: var(--gold-soft); color: var(--accent); }
.search-empty { margin: var(--sp-5) 0; color: var(--text-muted); text-align: center; }
.search-all { margin-top: var(--sp-4); }

.contact-actions { display: grid; gap: var(--sp-2); }
.cbtn { display: flex; align-items: center; gap: var(--sp-3); min-height: 56px; padding-inline: var(--sp-4); border-radius: 16px; background: var(--card); box-shadow: var(--shadow);
  color: var(--espresso); text-decoration: none; font-weight: 600; font-size: 1.0625rem; -webkit-tap-highlight-color: transparent; }
.cbtn .icon { width: 22px; height: 22px; color: var(--accent); }
.cbtn:active { transform: scale(.98); }
.cbtn--wa { background: #1F8F4E; color: #fff; }
.cbtn--wa:hover { color: #fff; }
.cbtn--wa .icon { color: #fff; }
.sheet__addr { display: flex; gap: var(--sp-2); margin: var(--sp-5) 0 0; color: var(--text-muted); }
.sheet__addr .icon { flex: none; color: var(--accent); margin-top: .2em; }
.sheet__hours ul { list-style: none; margin: 0; padding: 0; }
.sheet__more { font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .sheet__panel, .sheet__scrim, .appbar { transition: none; } }
@media (min-width: 900px) { .sheet--contact .sheet__panel { inset-inline: auto; inset-inline-end: var(--sp-5); bottom: var(--sp-5); width: 26rem; border-radius: 26px; } }

/* Home, phones: a search bar and shortcut tiles right under the hero */
.home-quick { display: none; }
@media (max-width: 899px) {
  .home-quick { display: block; padding: var(--sp-5) var(--gutter) 0; }
  .home-quick__title { margin: 0 0 var(--sp-3); font-size: var(--fs-md); }
  .home-quick__search { display: flex; align-items: center; gap: var(--sp-3); width: 100%; min-height: 56px; margin-bottom: var(--sp-3); padding-inline: var(--sp-4); border: 1.5px solid var(--line-strong);
    border-radius: var(--pill); background: var(--card); box-shadow: var(--shadow); color: var(--stone-500); font: inherit; text-align: start; text-decoration: none; cursor: pointer; }
  .home-quick__search .icon { color: var(--accent); }
  .home-quick .quick-grid { grid-template-columns: repeat(4, 1fr); gap: var(--sp-2); }
  .home-quick .quick { flex-direction: column; justify-content: center; gap: 6px; min-height: 92px; padding: var(--sp-2); font-size: .8rem; text-align: center; }
  .home-quick .quick__icon { width: 44px; height: 44px; }
}
@media (max-width: 899px) {
  .hero .home-quick { padding: 0; margin-top: var(--sp-5); }
  .finder { display: none; }
}
@media (max-width: 899px) { .hero .hero__proof:not(.hero__proof--quote) { display: none; } }
.search-all[hidden], .search-empty[hidden], [data-search-start][hidden] { display: none; }
.search-results { grid-template-columns: minmax(0, 1fr); }
.search-results li, .sr { min-width: 0; }
.sheet__body { overflow-x: hidden; }

.public-price-note { display: block; color: var(--text-muted); white-space: pre-line; overflow-wrap: anywhere; }
.facts-table .public-price-note { margin-block-start: .25rem; }
.home-faq {
  --faq-bottom: calc(var(--bar-h, 0px) + 1.25rem + env(safe-area-inset-bottom));
  position: fixed;
  z-index: 45;
  left: max(1rem, env(safe-area-inset-left));
  bottom: var(--faq-bottom);
}
.home-faq__button {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  width: fit-content;
  padding: .55rem 1rem;
  border-radius: var(--pill);
  list-style: none;
  background: #ffd15c;
  color: var(--espresso-900);
  border: 2px solid var(--espresso-900);
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
}
.home-faq__button:hover, .home-faq[open] > .home-faq__button { background: #ffbd35; }
.home-faq__button::-webkit-details-marker { display: none; }
.home-faq__button .icon { width: 1rem; height: 1rem; transform: rotate(180deg); }
.home-faq[open] > .home-faq__button .icon { transform: none; }
.home-faq__panel {
  position: absolute;
  left: 0;
  bottom: calc(100% + .5rem);
  width: min(26rem, calc(100vw - max(1rem, env(safe-area-inset-left)) - max(1rem, env(safe-area-inset-right))));
  max-height: min(31rem, calc(100dvh - var(--faq-bottom) - 4.5rem));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-lg);
}
.home-faq__panel h2 { margin-block: 0 .5rem; }

html:has(.wa-chooser[open]) { overflow: hidden; }
.wa-chooser {
  width: min(100% - 2rem, 26rem);
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  color: var(--espresso-900);
  box-shadow: var(--shadow-lg);
  overscroll-behavior: contain;
}
.wa-chooser::backdrop { background: rgb(29 21 17 / 58%); }
.wa-chooser__inner { padding: clamp(1rem, 5vw, 1.5rem); }
.wa-chooser__head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.wa-chooser__head h2 { margin: 0; }
.wa-chooser__close {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.wa-chooser__numbers { display: grid; gap: .5rem; padding: 0; margin: 1rem 0 0; list-style: none; }
.wa-chooser__numbers .cbtn { border: 1px solid var(--line); box-shadow: none; }
.wa-chooser__numbers .cbtn:hover, .wa-chooser__close:hover { background: var(--ivory); }
.wa-chooser__assigned { margin-inline-start: auto; font-size: .8rem; color: var(--text-muted); }

.unit-catalogue { scroll-margin-top: var(--header-h); }
.unit-catalogue__row { margin-block: 1.25rem 2rem; padding-block-start: 1rem; border-block-start: 1px solid var(--line); }
.unit-catalogue__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.5rem, 3vw, 1.5rem);
  direction: ltr;
}
.unit-catalogue__offer { min-width: 0; }
.unit-catalogue__offer h4 { margin: 0 0 .5rem; }
.unit-catalogue__offer .card__title { overflow-wrap: anywhere; }
.unit-catalogue__empty {
  display: grid;
  place-content: center;
  min-height: 7rem;
  margin: 0;
  padding: .75rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--text-muted);
  text-align: center;
}
@media (max-width: 560px) {
  .unit-catalogue__offer .card__body { padding: .65rem; }
  .unit-catalogue__offer .card__foot { flex-wrap: wrap; }
}

.unit-catalogue__description { margin-block: 0 .875rem; color: var(--text-muted); white-space: pre-line; overflow-wrap: anywhere; }
.unit-catalogue__photo { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--ivory-2); }
.unit-catalogue__photo picture, .unit-catalogue__photo img { display: block; width: 100%; height: 100%; }
.unit-catalogue__photo img { object-fit: cover; }
.unit-catalogue__price { margin-block: .5rem 0; font-weight: 600; }
