/* =========================================================
   AH Trucks — شركة الحقول الحديثة التجارية
   Homepage styles (RTL first)
   ========================================================= */

/* Plex ships 400 + 700 only: weight 600 in the CSS resolves to 700 (fewer files, fewer text re-layouts).
   Self-hosted fonts (SIL Open Font License): Alexandria, IBM Plex Sans Arabic — Arabic + Latin subsets */
@font-face { font-family: 'Alexandria'; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url(../fonts/alexandria-500-800-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'Alexandria'; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url(../fonts/alexandria-500-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/plex-arabic-400-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/plex-arabic-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/plex-arabic-700-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/plex-arabic-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---- Tajawal: the font of the Arabic pages (adopted 2026-11-13) ----
   Self-hosted (SIL OFL). size-adjust 108% gives it the same letter height as Alexandria/Plex at the
   same CSS sizes, so the type scale did not change. Applied through html[lang="ar"] below; the English
   pages keep Alexandria + IBM Plex, and the logo lockup always uses Alexandria (--font-brand). */
@font-face { font-family: 'Tajawal'; font-style: normal; font-weight: 400; font-display: swap; size-adjust: 108%;
  src: url(../fonts/tajawal-400-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'Tajawal'; font-style: normal; font-weight: 400; font-display: swap; size-adjust: 108%;
  src: url(../fonts/tajawal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Tajawal'; font-style: normal; font-weight: 500; font-display: swap; size-adjust: 108%;
  src: url(../fonts/tajawal-500-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'Tajawal'; font-style: normal; font-weight: 500; font-display: swap; size-adjust: 108%;
  src: url(../fonts/tajawal-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Tajawal'; font-style: normal; font-weight: 700; font-display: swap; size-adjust: 108%;
  src: url(../fonts/tajawal-700-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'Tajawal'; font-style: normal; font-weight: 700; font-display: swap; size-adjust: 108%;
  src: url(../fonts/tajawal-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Tajawal'; font-style: normal; font-weight: 800; font-display: swap; size-adjust: 108%;
  src: url(../fonts/tajawal-800-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'Tajawal'; font-style: normal; font-weight: 800; font-display: swap; size-adjust: 108%;
  src: url(../fonts/tajawal-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Brand palette (from the company letterhead) */
  --asphalt: #1A1A18;
  --asphalt-2: #24241F;
  --asphalt-3: #34342E;
  --gold: #D4A537;
  --gold-hi: #F0CF73;
  --gold-lo: #A87A1E;
  --gold-ink: #8A6214;        /* gold for text on white (5.4:1) */
  --green: #1E7A3B;           /* logo green, also WhatsApp actions */
  --green-hi: #25904A;
  --black: #161615;           /* hero + page headers + selected states: client wants black and gold (no green, no navy) */
  --black-deep: #0A0A09;
  --black-glow: #D4A537;
  --concrete: #EEF0EF;
  --paper: #FFFFFF;
  --ink: #1A1A18;
  --steel: #5A5F63;
  --line: #DADDDC;
  --line-soft: #E6E8E7;
  --danger: #B42318;

  --gold-metal: linear-gradient(100deg, #B5862A 0%, #E8C55E 34%, #D4A537 58%, #F2D27C 82%, #C59530 100%);

  --font-display: "Alexandria", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --font-brand: "Alexandria", "IBM Plex Sans Arabic", system-ui, sans-serif;   /* the logo lockup never changes face */

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 108px;
}
html[lang="ar"] {   /* Tajawal for headings and body text on the Arabic pages */
  --font-display: "Tajawal", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-body: "Tajawal", "Segoe UI", Tahoma, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.35; margin: 0; font-weight: 700; }
p { margin: 0; }
/* focus ring: deep gold on light surfaces, bright gold on dark ones (≥3:1 either way) */
:focus-visible { outline: 3px solid var(--gold-ink); outline-offset: 3px; }
.topbar :focus-visible, .hero :focus-visible, .steps :focus-visible,
.site-footer :focus-visible, .finder-title :focus-visible { outline-color: var(--gold-hi); }
.sell :focus-visible { outline-color: var(--asphalt); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--asphalt); padding: 10px 18px; border-radius: var(--r-sm); font-weight: 700;
}
.skip-link:focus { top: 12px; }

.ico {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
/* equipment icons (Flaticon PNG set) painted with currentColor through a mask */
.eq {
  display: block; background-color: currentColor;
  -webkit-mask: none center / contain no-repeat; mask: none center / contain no-repeat;
}
[dir="rtl"] .eq { transform: scaleX(-1); } /* vehicles face the reading direction */
.eq-tractor   { -webkit-mask-image: url(../icons/cat/tractor.png);   mask-image: url(../icons/cat/tractor.png); }
.eq-truck     { -webkit-mask-image: url(../icons/cat/truck.png);     mask-image: url(../icons/cat/truck.png); }
.eq-dump      { -webkit-mask-image: url(../icons/cat/dump.png);      mask-image: url(../icons/cat/dump.png); }
.eq-tanker    { -webkit-mask-image: url(../icons/cat/tanker.png);    mask-image: url(../icons/cat/tanker.png); }
.eq-trailer   { -webkit-mask-image: url(../icons/cat/trailer.png);   mask-image: url(../icons/cat/trailer.png); }
.eq-excavator { -webkit-mask-image: url(../icons/cat/excavator.png); mask-image: url(../icons/cat/excavator.png); }
.eq-loader    { -webkit-mask-image: url(../icons/cat/loader.png);    mask-image: url(../icons/cat/loader.png); }
.eq-dozer     { -webkit-mask-image: url(../icons/cat/dozer.png);     mask-image: url(../icons/cat/dozer.png); }
.eq-crane     { -webkit-mask-image: url(../icons/cat/crane.png);     mask-image: url(../icons/cat/crane.png); }
.eq-forklift  { -webkit-mask-image: url(../icons/cat/forklift.png);  mask-image: url(../icons/cat/forklift.png); }
.eq-pickup    { -webkit-mask-image: url(../icons/cat/pickup.png);    mask-image: url(../icons/cat/pickup.png); }
.eq-bus       { -webkit-mask-image: url(../icons/cat/bus.png);       mask-image: url(../icons/cat/bus.png); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 2px solid transparent; border-radius: var(--r-sm);
  font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1.2;
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn .ico { width: 20px; height: 20px; }
.btn-gold { background: var(--gold-ink); color: #fff; }  /* dark gold so the white text stays readable */
.btn-gold:hover { background: var(--black); color: #fff; }
.btn-dark { background: var(--asphalt); color: #fff; }
.btn-dark:hover { background: var(--asphalt-3); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .32); color: #fff; }
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn-wa { background: var(--green); color: #fff; }
.btn-wa:hover { background: var(--green-hi); }

.icon-btn {
  display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold-ink); }

/* ---------- Top bar ---------- */
.topbar { background: var(--asphalt); color: #D9D7CF; font-size: 14px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar-list { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.topbar a, .topbar-text { display: inline-flex; align-items: center; gap: 8px; padding-block: 8px; }
.topbar a:hover { color: var(--gold-hi); }
.topbar .ico { width: 16px; height: 16px; color: var(--gold); }
.lang-switch {
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--r-sm); padding: 4px 12px !important;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(26, 26, 24, .35); }
/* Fixed height on purpose: the header is sticky and in the page flow, so changing its height
   on scroll shifts the content, the browser re-anchors the scroll position, and the page shakes. */
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }

/* lockup as on the letterhead: mark, then the two-line name */
.brand { display: flex; align-items: center; gap: 16px; flex: none; }
.brand-mark { width: 76px; height: 70px; }
.brand-text {
  display: block; line-height: 1.2;
}
/* The Arabic name runs exactly as long as the English line under it, at every size.
   In Alexandria the Arabic name is 0.896× as wide as the English caps at the same font size, so
   name size = English size × 1.116 (× 1.098 at ≤640px, where the English loses its letter-spacing).
   Both lines are justified to the lockup's width, which absorbs any sub-pixel difference left over. */
.brand-name, .brand-en { text-align: justify; text-align-last: justify; }
.brand-name { display: block; font-family: var(--font-brand); font-weight: 700; font-size: 17.85px; color: #111; }
.brand-en {
  display: block; margin-top: 6px;
  font-family: var(--font-brand); font-weight: 700; font-size: 16px; letter-spacing: .01em; color: #111;
}
/* Header on desktop (both languages): lockup 18% smaller so it sits in proportion with the menu (name stays English × 1.116) */
@media (min-width: 1200px) {
  .site-header .brand { gap: 13px; }
  .site-header .brand-mark { width: 62px; height: 57px; }
  .site-header .brand-name { font-size: 14.65px; } /* 13.12 × 1.116 */
  .site-header .brand-en { font-size: 13.12px; margin-top: 5px; }
}

.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  position: relative; display: block; padding: 10px 11px;
  font-weight: 600; font-size: 15.5px; color: #2B2B27; border-radius: var(--r-sm);
  transition: color .2s var(--ease);
}
.main-nav a:hover { color: var(--gold-ink); }
.main-nav a[aria-current="page"]::after {
  content: ""; position: absolute; inset-inline: 11px; bottom: 3px; height: 3px;
  background: var(--gold); transform: skewX(-24deg);
}
.main-nav .nav-drawer-cta, .nav-toggle, .header-call, .nav-backdrop { display: none; }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }

/* ---------- Hero / showroom slider ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--black); color: #F4F3EF;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(40% 60% at 27% 44%, rgba(212, 165, 55, .22), transparent 72%),
    radial-gradient(30% 34% at 27% 52%, rgba(240, 207, 115, .12), transparent 70%),
    linear-gradient(180deg, #2A2A27 0%, var(--black) 55%, var(--black-deep) 100%);
}

.hero-inner {
  position: relative; z-index: 2;
  min-height: clamp(540px, 74vh, 700px);
  display: flex; flex-direction: column; justify-content: center;
  padding-block: 48px 124px;
  pointer-events: none;
}
.hero-inner > * { pointer-events: auto; width: min(100%, 520px); }

.hero-slides { display: grid; }
.hero-slide {
  grid-area: 1 / 1;
  visibility: hidden;
  transition: visibility 0s linear .6s;
}
.hero-slide.is-active { visibility: visible; transition: none; }
.hero-slide > * {
  opacity: 0; transform: translateY(16px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.hero-slide.is-active > * {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.hero-slide.is-active > :nth-child(2) { transition-delay: .08s; }
.hero-slide.is-active > :nth-child(3) { transition-delay: .16s; }
.hero-slide.is-active > :nth-child(4) { transition-delay: .24s; }

.hero-title {
  font-size: clamp(26px, 2.6vw, 38px); font-weight: 700; line-height: 1.45;
  color: #fff; margin-bottom: 12px; text-wrap: balance;
}
.hero-text { font-size: clamp(16px, 1.25vw, 18px); color: #CFCCC3; max-width: 34em; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* slide indicators: short bars, the active one fills up as the autoplay timer */
.hero-tabs { display: flex; gap: 8px; margin-top: 44px; }
.hero-tab {
  display: flex; align-items: center; width: 40px; min-height: 24px;
  padding: 0; border: 0; background: none; cursor: pointer;
}
.hero-tab-bar { display: block; width: 100%; height: 3px; background: rgba(255, 255, 255, .28); overflow: hidden; transition: background-color .2s var(--ease); }
.hero-tab:hover .hero-tab-bar { background: rgba(255, 255, 255, .5); }
.hero-tab-fill { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: right center; }
.hero-tab[aria-selected="true"] .hero-tab-fill { animation: hero-progress var(--hero-dur, 7s) linear forwards; }
.hero.is-paused .hero-tab[aria-selected="true"] .hero-tab-fill { animation: none; transform: scaleX(1); }
.hero.is-holding .hero-tab-fill,
.hero.is-offscreen .hero-tab-fill { animation-play-state: paused !important; }
@keyframes hero-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Full-width photo slider: each slide's photo fills the hero; a black gradient on the text side
   keeps the copy readable whatever the photo's colours; slow zoom on the active photo */
.hero--photo { background: var(--black-deep); }
.hero-photos { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-photo.is-active { opacity: 1; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-photo.is-active img { animation: hero-zoom 9s ease-out both; }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero--photo::before {
  background:
    linear-gradient(to left, rgba(10, 10, 9, .94) 0%, rgba(10, 10, 9, .82) 36%, rgba(10, 10, 9, .28) 68%, rgba(10, 10, 9, .08) 100%),
    linear-gradient(180deg, rgba(10, 10, 9, 0) 60%, rgba(10, 10, 9, .55) 100%);
}
[dir="ltr"] .hero--photo::before {
  background:
    linear-gradient(to right, rgba(10, 10, 9, .94) 0%, rgba(10, 10, 9, .82) 36%, rgba(10, 10, 9, .28) 68%, rgba(10, 10, 9, .08) 100%),
    linear-gradient(180deg, rgba(10, 10, 9, 0) 60%, rgba(10, 10, 9, .55) 100%);
}
.hero--photo .hero-title::before { content: ""; display: block; width: 56px; height: 3px; margin-bottom: 18px; background: var(--gold); }
@media (max-width: 960px) {
  .hero--photo::before, [dir="ltr"] .hero--photo::before {
    background: linear-gradient(180deg, rgba(10, 10, 9, .35) 0%, rgba(10, 10, 9, .78) 45%, rgba(10, 10, 9, .94) 100%);
  }
  .hero--photo .hero-inner { padding-block: 150px 104px; }
}
@media (prefers-reduced-motion: reduce) { .hero-photo.is-active img { animation: none; } .hero-photo { transition: none; } }

/* letterhead band: gold strip ending in a slanted black block */
.hero-band {
  position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 12px;
  background: var(--gold-metal);
}
.hero-band::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 15%;
  background: #fff; clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.hero-band::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(15% - 8px);
  background: #0E0E0D; clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}

/* ---------- Finder ---------- */
.finder { position: relative; z-index: 5; margin-top: -56px; }
.finder-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 28px 50px -28px rgba(26, 26, 24, .45), 0 2px 6px rgba(26, 26, 24, .08);
}
.finder-title {
  display: flex; align-items: center; gap: 10px;
  padding-inline: 26px 46px;
  background: var(--asphalt); color: var(--gold-hi); font-size: 19px; white-space: nowrap;
  clip-path: polygon(24px 0, 100% 0, 100% 100%, 0 100%);
}
.finder-title .ico { color: var(--gold); }
.finder-fields {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: end; gap: 16px; padding: 18px 22px 20px;
}
.finder-submit { min-height: 50px; }

/* ---------- Form fields ---------- */
.field { display: block; min-width: 0; }
.field-label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--steel); }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 50px;
  padding: 0 14px; font-size: 16px;
  background: #fff; border: 1px solid #868C8F; border-radius: var(--r-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { padding-block: 12px; min-height: 120px; resize: vertical; line-height: 1.6; }
.field select {
  appearance: none; -webkit-appearance: none;
  padding-inline-end: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A5F63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 14px center; background-size: 18px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-lo); box-shadow: 0 0 0 3px rgba(212, 165, 55, .3);
}
.field input::placeholder, .field textarea::placeholder { color: #8A8F92; }
.field-error { display: block; margin-top: 6px; font-size: 14px; color: var(--danger); }
.field-error[hidden] { display: none; }
.field.has-error input { border-color: var(--danger); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap;
  gap: 16px 32px; margin-bottom: 32px;
}
.section-head h2 { font-size: clamp(18px, 2vw, 24px); }
.section-head p { margin-top: 6px; color: var(--steel); max-width: 52ch; }
.link-more {
  font-weight: 700; color: var(--gold-ink);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px;
  text-decoration-color: rgba(212, 165, 55, .45);
}
.link-more:hover { text-decoration-color: var(--gold); }

/* ---------- Categories ---------- */
.cats { padding-top: clamp(64px, 8vw, 88px); }
.cat-grid {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px;
  list-style: none; margin: 0; padding: 0;
}
.cat {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  height: 100%; padding: 24px 10px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  text-align: center; font-weight: 600; font-size: 15.5px; line-height: 1.4;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.cat .eq { width: 64px; height: 64px; color: var(--ink); transition: color .2s var(--ease); }
.cat:hover { background: var(--gold-ink); border-color: var(--gold-ink); color: #fff; }
.cat:hover .eq { color: #fff; }

/* ---------- Listings ---------- */
.listings { background: var(--concrete); }
.filter { display: flex; flex-wrap: wrap; gap: 6px; }
.filter button {
  min-height: 42px; padding: 0 18px;
  border: 1px solid #CDD1D0; border-radius: var(--r-sm); background: #fff;
  font-weight: 600; font-size: 15px;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.filter button:hover { border-color: var(--asphalt); }
.filter button[aria-pressed="true"] { background: var(--asphalt); border-color: var(--asphalt); color: #fff; }

.listing-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
  list-style: none; margin: 0; padding: 0;
}
.listing-grid > li[hidden] { display: none; }
.card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-md); overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { border-color: #C9CDCB; box-shadow: 0 18px 36px -24px rgba(26, 26, 24, .4); }
.card-media {
  position: relative; display: grid; place-items: center; aspect-ratio: 16 / 11;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 60%, rgba(26, 26, 24, .05)),
    #F1F2F1;
  color: #A3A8AA;
}
.card-media .eq { width: 46%; height: auto; aspect-ratio: 1; color: #B4B9BB; }
.card-tag {
  position: absolute; top: 12px; right: 12px;
  padding: 3px 16px 3px 14px; font-size: 13px; font-weight: 700; line-height: 1.6;
  background: var(--asphalt); color: var(--gold-hi);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 8px 100%);
}
.card-tag.is-new { background: var(--gold-ink); color: #fff; }
.card-body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 16px 18px 18px; }
.card-title { font-size: 18px; line-height: 1.4; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card-title a:focus-visible { outline: none; }
.card:has(.card-title a:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.card-type { font-size: 14.5px; color: var(--steel); }
.specs {
  display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0 0; padding: 0; list-style: none;
  font-size: 14px; color: #44494C;
}
.specs li { display: inline-flex; align-items: center; gap: 6px; }
.specs .ico { width: 16px; height: 16px; color: var(--gold-lo); }
.card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto; padding-top: 14px; border-top: 1px solid #EEF0EF;
}
.card-body .card-foot { margin-top: 14px; }
.price { font: 700 21px / 1.2 var(--font-display); }
.price small { font-size: 13px; font-weight: 500; color: var(--steel); }
/* "More" link to the detail page: dark gold with white text; slightly lighter gold when the card is hovered */
.card-more {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; flex: none;
  min-height: 42px; padding: 0 12px 0 16px; border-radius: var(--r-sm);
  background: var(--gold-ink); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 14.5px;
  transition: background-color .2s var(--ease);
}
.card-more .ico { width: 18px; height: 18px; color: #fff; transition: transform .2s var(--ease); }
.card:hover .card-more, .card-more:hover { background: var(--gold-lo); }
.card:hover .card-more .ico, .card-more:hover .ico { transform: translateX(-3px); }
html[dir="ltr"] .card-more { padding: 0 12px 0 16px; }
html[dir="ltr"] .card:hover .card-more .ico, html[dir="ltr"] .card-more:hover .ico { transform: translateX(3px); }
.listing-empty { margin-top: 24px; color: var(--steel); }

/* ---------- Sell band ---------- */
.sell { position: relative; overflow: hidden; background: var(--gold-metal); color: var(--asphalt); }
.sell::before, .sell::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0;
  clip-path: polygon(0 0, 100% 0, calc(100% - 64px) 100%, 0 100%);
}
.sell::before { width: clamp(150px, 19vw, 300px); background: #fff; }
.sell::after { width: calc(clamp(150px, 19vw, 300px) - 14px); background: var(--asphalt); }
.sell-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
  padding-block: 46px;
  padding-inline-end: clamp(110px, 16vw, 260px);
}
.sell h2 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; margin-bottom: 6px; }
.sell p { font-size: 17.5px; color: #26221A; max-width: 46ch; }

/* ---------- About + steps ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-copy h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 16px; }
.about-copy > p { color: #3C4043; max-width: 38em; }
.offer-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; list-style: none; margin: 28px 0 0; padding: 0; }
.offer-list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; line-height: 1.5; }
.offer-list .ico { margin-top: 2px; color: var(--green); stroke-width: 2.5; }

.steps { background: var(--asphalt); color: #E8E6DF; border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 40px); }
.steps h3 { color: #fff; font-size: 22px; margin-bottom: 24px; }
.steps ol { display: grid; gap: 22px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; }
.steps li::before {
  content: counter(step);
  font: 800 44px / 1 var(--font-display);
  color: transparent; -webkit-text-stroke: 1.5px var(--gold);
}
.steps strong { display: block; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 17.5px; margin-bottom: 2px; }
.steps p { color: #BCB9B0; font-size: 15.5px; line-height: 1.65; }

/* ---------- Brands ---------- */
.brands { padding-block: 44px 52px; border-top: 1px solid var(--line-soft); }
.brands h2 { text-align: center; font-size: 17px; font-weight: 600; color: var(--steel); margin-bottom: 18px; }
.brand-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 38px;
  list-style: none; margin: 0; padding: 0;
}
.brand-list li { font: 700 19px / 1.4 var(--font-display); color: #6C7174; letter-spacing: .01em; }

/* ---------- Contact ---------- */
.contact { background: var(--concrete); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-info h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 8px; }
.contact-lead { color: var(--steel); }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; margin: 24px 0; padding: 0; }
.contact-item {
  display: flex; align-items: center; gap: 14px; min-width: 0;
  padding: 14px 16px; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-md);
}
.contact-item > span:last-child { min-width: 0; }
.contact-ico {
  display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: var(--r-sm);
  background: linear-gradient(135deg, #F0CF73, #C08F2B); color: #fff;
}
.contact-ico .ico { width: 22px; height: 22px; }
.contact-label { display: block; font-size: 13px; color: var(--steel); line-height: 1.4; }
.contact-item a, .contact-item strong { display: block; font-weight: 700; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.contact-item a:hover { color: var(--gold-ink); }
.map { aspect-ratio: 16 / 8; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line-soft); background: #DFE2E1; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }

.contact-form {
  display: grid; gap: 16px;
  padding: clamp(20px, 3vw, 34px);
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg);
}
.contact-form h3 { font-size: 22px; }
.form-note { font-size: 15px; color: var(--steel); margin-top: -8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .btn { justify-self: start; }

/* ---------- Footer ---------- */
.site-footer { background: var(--asphalt); color: #BDBAB1; font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 32px; padding-block: 60px 44px; }
/* footer logo keeps its original colours, on a white tile with small rounded corners */
.site-footer .brand { display: inline-flex; gap: 12px; padding: 12px 16px; margin-bottom: 16px; background: #fff; border-radius: 8px; }
.site-footer .brand-mark { width: 52px; height: 48px; }
.site-footer .brand-name { font-size: 12.8px; white-space: nowrap; } /* 11.47 × 1.116 */
.site-footer .brand-en { font-size: 11.47px; margin-top: 4px; }
.footer-brand p { max-width: 30ch; }
.site-footer h3 { color: #fff; font-size: 17px; margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-footer li > a, .site-footer li > span { display: inline-flex; align-items: center; min-height: 34px; }
.site-footer a { transition: color .2s var(--ease); }
.site-footer a:hover { color: var(--gold-hi); }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: 10px; }
.footer-contact .ico { width: 17px; height: 17px; color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: #A3A097; }
.footer-bottom-inner { display: flex; justify-content: center; text-align: center; flex-wrap: wrap; gap: 8px 24px; padding-block: 18px 22px; }
.footer-band { height: 10px; background: var(--gold-metal); }

/* ---------- Floating WhatsApp ---------- */
.fab-wa {
  position: fixed; left: 20px; bottom: 20px; z-index: 60;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--green); color: #fff;
  box-shadow: 0 12px 28px -10px rgba(30, 122, 59, .7);
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.fab-wa:hover { background: var(--green-hi); transform: translateY(-2px); }
.fab-wa .ico { width: 28px; height: 28px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .main-nav a { padding-inline: 8px; font-size: 15px; }
  .main-nav a[aria-current="page"]::after { inset-inline: 8px; }
  .listing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1199px) {   /* menu becomes a drawer below 1200px (the Arabic menu needs the room) */
  :root { --header-h: 88px; }
  .brand { gap: 12px; }
  .brand-mark { width: 60px; height: 55px; }
  .brand-name { font-size: 15.05px; } /* 13.5 × 1.116 */
  .brand-en { font-size: 13.5px; }
  .header-cta { display: none; }
  .header-call { display: inline-grid; margin-inline-start: auto; }
  .nav-toggle { display: inline-grid; position: relative; z-index: 80; }

  .main-nav {
    position: fixed; z-index: 70; top: 0; bottom: 0; right: 0;
    width: min(86vw, 360px); margin: 0;
    display: flex; flex-direction: column; gap: 20px;
    padding: 96px 20px 28px;
    background: #fff; box-shadow: -24px 0 48px -24px rgba(0, 0, 0, .35);
    overflow-y: auto;
    transform: translateX(100%); visibility: hidden;
    transition: transform .35s var(--ease), visibility 0s linear .35s;
  }
  .main-nav.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { padding: 14px 6px; font-size: 17px; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .main-nav a[aria-current="page"] { color: var(--gold-ink); }
  .main-nav a[aria-current="page"]::after { display: none; }
  .main-nav .nav-drawer-cta, .main-nav .nav-drawer-cta:hover { display: inline-flex; padding: 0 22px; border: 0; border-radius: var(--r-sm); font-size: 15px; color: #fff; }
  .nav-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(15, 15, 14, .5); }
  .nav-backdrop:not([hidden]) { display: block; }

  .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .hidden-md, .hide-md { display: none; }

  .hero { display: flex; flex-direction: column; }
  .hero-inner { order: 2; min-height: 0; padding-block: 8px 104px; }
  .hero-inner > * { width: 100%; }
  .hero-tabs { margin-top: 32px; }

  .finder-card { grid-template-columns: 1fr; }
  .finder-title { padding: 14px 20px; clip-path: none; }
  .finder-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .finder-submit { grid-column: 1 / -1; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hide-sm { display: none; }
  .topbar-list { gap: 16px; }
  .header-inner { gap: 10px; }
  .brand { gap: 10px; }
  .brand { min-width: 0; }
  .brand-mark { width: 42px; height: 39px; }
  .brand-name { font-size: 11px; } /* 10 × 1.098 */
  .brand-en { font-size: 10px; letter-spacing: 0; margin-top: 4px; }
  .header-call { margin-inline-start: auto; }

  .hero-title { font-size: clamp(28px, 7.6vw, 36px); }
  .hero-actions .btn { flex: 1 1 auto; }

  .finder { margin-top: -48px; }
  .finder-fields { grid-template-columns: 1fr; padding: 16px; }

  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cat { padding: 16px 6px 14px; font-size: 14px; gap: 8px; }
  .cat .eq { width: 58px; height: 37px; }

  .filter { width: 100%; }
  .filter button { flex: 1 1 auto; padding-inline: 12px; }
  .listing-grid { grid-template-columns: 1fr; }

  .sell::before, .sell::after { display: none; }
  .sell-inner { padding-inline-end: 0; padding-block: 36px; }
  .sell .btn { width: 100%; }

  .offer-list, .contact-list, .form-row { grid-template-columns: 1fr; }
  .contact-form .btn { justify-self: stretch; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .fab-wa { left: 14px; bottom: 14px; width: 54px; height: 54px; }
}

@media (max-width: 420px) {
  .header-call { display: none; }
  .nav-toggle { margin-inline-start: auto; }
}
@media (max-width: 360px) {
  .brand { gap: 8px; }
  .brand-mark { width: 36px; height: 33px; }
  .brand-name { font-size: 9.35px; } /* 8.5 × 1.098 */
  .brand-en { font-size: 8.5px; }
}

/* =========================================================
   Inner pages
   ========================================================= */
.about-more { display: inline-block; margin-top: 22px; }

/* ---------- Page header (compact green band with breadcrumb) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--black); color: #fff; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(45% 140% at 12% 0%, rgba(212, 165, 55, .2), transparent 70%),
    linear-gradient(180deg, #2A2A27 0%, var(--black) 60%, var(--black-deep) 100%);
}
.page-hero-inner { padding-block: 34px 50px; }
.page-hero h1 { font-size: clamp(26px, 3vw, 38px); font-weight: 700; line-height: 1.4; margin-top: 10px; }
.page-hero-lead { margin-top: 8px; max-width: 60ch; color: rgba(255, 255, 255, .82); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: rgba(255, 255, 255, .75); }
.breadcrumb li + li::before { content: "/"; margin-inline-end: 8px; color: rgba(255, 255, 255, .4); }
.breadcrumb a:hover { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 4px; }
.breadcrumb [aria-current] { color: #fff; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.seg a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .28); border-radius: var(--r-sm);
  font-weight: 600; font-size: 15px; color: #fff;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.seg a:hover { border-color: var(--gold); }
.seg a[aria-current="page"] { background: var(--gold); border-color: var(--gold); color: var(--asphalt); }

/* ---------- Catalogue ---------- */
.catalog { background: var(--concrete); padding-block: 32px 88px; }
.catalog-grid { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; }
.filters {
  position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; overscroll-behavior: contain;
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg);
}
.filters-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 12px; }
.filters-head h2 { font-size: 18px; }
.text-btn { border: 0; background: none; padding: 6px 2px; font-weight: 600; font-size: 14.5px; color: var(--gold-ink); text-decoration: underline; text-underline-offset: 4px; }
.filters .icon-btn[data-filters-close] { display: none; }
.filter-group { margin: 0; padding: 14px 20px 16px; border: 0; border-top: 1px solid var(--line-soft); min-width: 0; }
.filter-group legend { float: left; width: 100%; padding: 0; margin-bottom: 8px; font-family: var(--font-display); font-weight: 600; font-size: 15.5px; }
.filter-group legend + * { clear: both; }
.check { display: flex; align-items: center; gap: 10px; min-height: 38px; font-size: 15px; cursor: pointer; }
.check[hidden] { display: none; }
.check input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--green); }
.check .eq { width: 26px; height: 26px; color: var(--steel); flex: none; }
.check .count { margin-inline-start: auto; font-size: 13px; color: var(--steel); }
.seg-radio { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.seg-radio label { position: relative; }
.seg-radio input { position: absolute; opacity: 0; pointer-events: none; }
.seg-radio span {
  display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 8px;
  border: 1px solid #CDD1D0; border-radius: var(--r-sm); font-weight: 600; font-size: 14px; text-align: center; cursor: pointer;
}
.seg-radio input:checked + span { background: var(--black); border-color: var(--black); color: #fff; }
.seg-radio input:focus-visible + span { outline: 3px solid var(--gold-ink); outline-offset: 2px; }
.range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.range .field input, .range .field select { min-height: 44px; font-size: 15px; }
.range .field-label { font-size: 13px; margin-bottom: 4px; }
.filters-foot { display: none; }

.results-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.results-count { font-weight: 600; }
.results-tools { display: flex; align-items: center; gap: 10px; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--steel); }
.sort select {
  min-height: 44px; padding: 0 12px; padding-inline-end: 38px; border: 1px solid #868C8F; border-radius: var(--r-sm);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A5F63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat left 12px center / 16px;
  appearance: none; -webkit-appearance: none; font-size: 15px; color: var(--ink);
}
.filters-open { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.active-filters[hidden] { display: none; }
.chip-x, .chip-clear {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px;
  border: 1px solid #C9CDCB; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600;
}
.chip-x .ico { width: 15px; height: 15px; color: var(--steel); }
.chip-x:hover { border-color: var(--ink); }
.chip-clear { border: 0; background: none; color: var(--gold-ink); text-decoration: underline; text-underline-offset: 4px; }
.catalog .listing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.listing-grid[hidden] { display: none; }
.empty-state { padding: 48px 24px; text-align: center; background: #fff; border: 1px dashed #C2C7C5; border-radius: var(--r-lg); }
.empty-state[hidden] { display: none; }
.empty-state .eq { width: 72px; height: 72px; margin: 0 auto 14px; color: #B4B9BB; }
.empty-state h2 { font-size: 21px; margin-bottom: 6px; }
.empty-state p { color: var(--steel); max-width: 44ch; margin: 0 auto 20px; }
.empty-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.btn-outline { border-color: #868C8F; color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.pagination[hidden] { display: none; }
.pagination button {
  display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px;
  border: 1px solid #CDD1D0; border-radius: var(--r-sm); background: #fff; font-weight: 700;
}
.pagination button:hover:not(:disabled) { border-color: var(--ink); }
.pagination button[aria-current="page"] { background: var(--asphalt); border-color: var(--asphalt); color: #fff; }
.pagination button:disabled { opacity: .4; cursor: default; }

/* ---------- Detail page ---------- */
.detail { padding-block: 32px 88px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.gallery-main {
  position: relative; margin: 0; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden;
  border-radius: var(--r-lg); background: linear-gradient(160deg, #F6F7F6, #E4E7E6);
}
.gallery-main > .eq { width: 40%; height: auto; aspect-ratio: 1; color: #B4B9BB; }
.gallery-main figcaption {
  position: absolute; bottom: 14px; right: 14px; padding: 4px 14px; border-radius: 999px;
  background: rgba(26, 26, 24, .78); color: #fff; font-size: 14px;
}
.gallery-count {
  position: absolute; top: 14px; right: 14px; padding: 2px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .9); font-size: 13.5px; font-weight: 600; direction: ltr;
}
.gallery-arrow {
  position: absolute; top: 50%; translate: 0 -50%;
  display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: #fff; color: var(--ink); box-shadow: 0 6px 18px -8px rgba(26, 26, 24, .45);
}
.gallery-arrow:hover { color: var(--gold-ink); }
.gallery-arrow.prev { right: 14px; }
.gallery-arrow.next { left: 14px; }
.thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 10px 0 0; padding: 0; list-style: none; }
.thumbs button {
  width: 100%; aspect-ratio: 4 / 3; display: grid; place-items: center; align-content: center; gap: 4px;
  border: 2px solid transparent; border-radius: var(--r-md); background: #EEF0EF; color: var(--steel); font-size: 12.5px;
}
.thumbs button .eq { width: 34%; height: auto; aspect-ratio: 1; }
.thumbs button[aria-pressed="true"] { border-color: var(--gold); background: #fff; color: var(--ink); }
.gallery-note { margin-top: 10px; font-size: 14px; color: var(--steel); }

.summary {
  position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 18px; padding: 24px;
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  box-shadow: 0 24px 48px -36px rgba(26, 26, 24, .5);
}
.summary-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.badge { padding: 2px 14px; font-size: 13px; font-weight: 700; background: var(--asphalt); color: var(--gold-hi); clip-path: polygon(0 0, 100% 0, 100% 100%, 8px 100%); }
.badge.is-new { background: var(--gold-ink); color: #fff; }
.ref { font-size: 13.5px; color: var(--steel); }
.summary h1 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.4; }
.summary-type { margin-top: 2px; color: var(--steel); }
.price-lg { font: 800 clamp(28px, 2.6vw, 34px) / 1.1 var(--font-display); }
.price-lg small { font-size: 15px; font-weight: 600; color: var(--steel); }
.price-note { margin-top: 4px; font-size: 14px; color: var(--steel); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.facts > div { padding: 10px 12px; border-radius: var(--r-md); background: var(--concrete); min-width: 0; }
.facts > div[hidden] { display: none; }
.facts dt { font-size: 12.5px; color: var(--steel); }
.facts dd { margin: 0; font-weight: 700; font-size: 15.5px; }
.summary-actions { display: grid; gap: 10px; }
.summary-actions .btn { width: 100%; }
.assurances { display: grid; gap: 8px; margin: 0; padding: 16px 0 0; list-style: none; border-top: 1px solid var(--line-soft); font-size: 15px; }
.assurances li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.assurances .ico { color: var(--green); stroke-width: 2.5; margin-top: 2px; }

.detail-section { margin-top: 44px; }
.detail-section h2 { font-size: 22px; margin-bottom: 16px; }
.spec-table {
  display: grid; grid-template-columns: 1fr 1fr; margin: 0;
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-md); overflow: hidden;
}
.spec-row { display: flex; justify-content: space-between; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--line-soft); }
.spec-row:nth-child(odd) { border-inline-end: 1px solid var(--line-soft); }
.spec-row dt { color: var(--steel); }
.spec-row dd { margin: 0; font-weight: 700; text-align: left; }
.detail-desc { max-width: 72ch; color: #3C4043; }
.similar { background: var(--concrete); padding-block: 56px 72px; }
.similar .listing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.actionbar { display: none; }

/* ---------- Sell page ---------- */
.sell-page { background: var(--concrete); padding-block: 40px 88px; }
.sell-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.form-card {
  display: grid; gap: 28px; padding: clamp(20px, 3vw, 36px);
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg);
}
.form-section { display: grid; gap: 16px; margin: 0; padding: 0; border: 0; min-width: 0; }
.form-section > legend {
  display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 16px;
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
}
.step-no { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--black); color: #fff; font-size: 15px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.span-2 { grid-column: 1 / -1; }
.field-hint { display: block; margin-top: 6px; font-size: 13.5px; color: var(--steel); }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1px solid #868C8F; border-radius: var(--r-sm); font-weight: 600; cursor: pointer;
}
.choice input:checked + span { background: var(--black); border-color: var(--black); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--gold-ink); outline-offset: 2px; }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-submit p { font-size: 14.5px; color: var(--steel); max-width: 40ch; }
.side-stack { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 16px); }
.side-card { padding: 24px; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg); }
.side-card h2 { font-size: 19px; margin-bottom: 14px; }
.photo-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.photo-list li { display: flex; align-items: center; gap: 8px; }
.photo-list .ico { color: var(--gold-lo); }
.side-card.steps { background: var(--asphalt); border-color: var(--asphalt); }
.side-card.steps h2 { color: #fff; }

/* ---------- About page ---------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.intro-copy h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 16px; }
.intro-copy p { color: #3C4043; max-width: 40em; }
.intro-copy p + p { margin-top: 14px; }
.brand-panel {
  position: relative; overflow: hidden; aspect-ratio: 5 / 4; border-radius: var(--r-lg);
  display: grid; place-items: center; align-content: center; gap: 18px;
  background: #fff; border: 1px solid #BFC2C4; box-shadow: 0 18px 40px -28px rgba(26, 26, 24, .35);
  color: #111; text-align: center;
}
.brand-panel .brand-mark { width: 38%; height: auto; aspect-ratio: 282 / 260; } /* the logo's own green, gold and black */
.brand-panel p { font-family: var(--font-brand); font-weight: 700; font-size: clamp(18px, 2vw, 24px); text-align-last: justify; }
.brand-panel p span { display: block; margin-top: 4px; font-size: .88em; letter-spacing: .02em; color: #111; text-align-last: justify; } /* same length as the Arabic name */
.brand-panel::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: var(--gold-metal); }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.service { height: 100%; padding: 24px 20px; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-md); }
.service .eq { width: 56px; height: 56px; color: var(--black); margin-bottom: 14px; }
.service h3 { font-size: 18px; margin-bottom: 6px; }
.service p { font-size: 15.5px; color: var(--steel); line-height: 1.7; }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 40px; list-style: none; margin: 0; padding: 0; }
.values li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; }
.values .ico { width: 24px; height: 24px; color: var(--green); stroke-width: 2.5; margin-top: 4px; }
.values strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 17.5px; }
.values p { color: var(--steel); font-size: 15.5px; }
.split-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.alt-bg { background: var(--concrete); }

/* ---------- Contact page ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0 0 32px; padding: 0; }
.contact-cards .contact-item { height: 100%; }
.map-lg { aspect-ratio: 16 / 10; }
.map-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.hours { display: grid; gap: 4px; margin: 0; font-size: 15px; }
.hours div { display: flex; gap: 10px; }
.hours dt { color: var(--steel); min-width: 7em; }
.hours dd { margin: 0; font-weight: 600; }

.page-hero--slim .page-hero-inner { padding-block: 18px 30px; }
.detail-grid { grid-template-areas: "gallery summary" "info summary"; }
.gallery { grid-area: gallery; min-width: 0; }
.summary { grid-area: summary; }
.detail-info { grid-area: info; min-width: 0; }
.detail-info .detail-section:first-child { margin-top: 12px; }
.h-section { font-size: clamp(26px, 3vw, 36px); margin-bottom: 26px; }
.split-2 .values { grid-template-columns: 1fr; }
.intro-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.contact-form h2 { font-size: 22px; }
/* homepage contact: details + actions beside a full-height map (the form lives on contact.html) */
.contact-home { align-items: stretch; }
.contact-home .contact-list { margin-bottom: 28px; }
.contact-home > .map { aspect-ratio: auto; min-height: 340px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 640px) { .contact-actions .btn { flex: 1 1 auto; } }
.contact-info .map-actions p { font-size: 15.5px; }
.hours-card { margin-top: 20px; }
.hours-card h2 { font-size: 18px; margin-bottom: 10px; }

/* ---------- Inner pages: responsive ---------- */
@media (max-width: 1180px) {
  .catalog .listing-grid, .similar .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-cards, .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .filters-open { display: inline-flex; }
  .filters {
    position: fixed; z-index: 90; inset: auto 0 0 0; max-height: 88vh; border-radius: var(--r-lg) var(--r-lg) 0 0;
    display: flex; flex-direction: column; overflow: hidden;
    transform: translateY(100%); visibility: hidden;
    transition: transform .3s var(--ease), visibility 0s linear .3s;
    box-shadow: 0 -24px 48px -16px rgba(0, 0, 0, .35);
  }
  .filters.is-open { transform: none; visibility: visible; transition: transform .3s var(--ease); }
  .filters form { display: flex; flex-direction: column; min-height: 0; flex: 1; }
  .filters-body { overflow-y: auto; overscroll-behavior: contain; flex: 1; }
  .filters .icon-btn[data-filters-close] { display: inline-grid; }
  .filters-foot { display: block; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-soft); }
  .filters-foot .btn { width: 100%; }
  .filters-scrim { position: fixed; inset: 0; z-index: 85; background: rgba(15, 15, 14, .5); }
  .filters:not(.is-open) + .filters-scrim { display: none; }

  .detail-grid, .sell-grid, .intro-grid, .split-2 { grid-template-columns: 1fr; }
  .detail-grid { grid-template-areas: "gallery" "summary" "info"; }
  .summary, .side-stack { position: static; }
  .spec-table { grid-template-columns: 1fr; }
  .spec-row:nth-child(odd) { border-inline-end: 0; }
  body.has-actionbar { padding-bottom: 76px; }
  body.has-actionbar .fab-wa { display: none; }
  .actionbar {
    position: fixed; z-index: 55; left: 0; right: 0; bottom: 0;
    display: flex; align-items: center; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--line-soft); box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, .35);
  }
  .actionbar .price { margin-inline-end: auto; font-size: 19px; }
  .actionbar .btn { min-height: 46px; padding: 0 16px; }
}
@media (min-width: 961px) {
  .filters-scrim { display: none; }
}
@media (max-width: 640px) {
  .page-hero-inner { padding-block: 24px 40px; }
  .seg a { flex: 1 1 auto; justify-content: center; padding: 0 12px; }
  .catalog .listing-grid, .similar .listing-grid { grid-template-columns: 1fr; }
  .results-tools { width: 100%; }
  .results-tools .sort { flex: 1; }
  .results-tools .sort select { width: 100%; }
  .sort > span { display: none; }
  .thumbs { gap: 6px; }
  .thumbs button span:not(.eq) { display: none; }
  .facts { grid-template-columns: 1fr 1fr; }
  .form-grid, .photo-list, .values, .service-grid, .contact-cards { grid-template-columns: 1fr; }
  .form-submit .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide > *, .hero-slide.is-active > *, .main-nav, .header-inner, .brand-mark, .filters { transition: none !important; }
  .hero-slide > * { transform: none; }
}

/* =========================================================
   English pages (en/, html[dir="ltr"])
   Logical properties already flip; these rules mirror what is set by physical side
   (slanted bands, tags, drawer, arrows). The logo lockup is mirrored too:
   mark on the left, name aligned to it.
   ========================================================= */
html[dir="ltr"] body { line-height: 1.65; }
html[dir="ltr"] h1, html[dir="ltr"] h2, html[dir="ltr"] h3 { line-height: 1.25; }
html[dir="ltr"] .hero-title { line-height: 1.2; letter-spacing: -.01em; }
html[dir="ltr"] .page-hero h1, html[dir="ltr"] .summary h1 { line-height: 1.25; }
html[dir="ltr"] .steps p, html[dir="ltr"] .service p { line-height: 1.55; }

html[dir="ltr"] .hero-tab-fill { transform-origin: left center; }
html[dir="ltr"] .page-hero::before {
  background:
    radial-gradient(45% 140% at 88% 0%, rgba(212, 165, 55, .2), transparent 70%),
    linear-gradient(180deg, #2A2A27 0%, var(--black) 60%, var(--black-deep) 100%);
}

/* letterhead slants, mirrored */
html[dir="ltr"] .hero-band::before, html[dir="ltr"] .hero-band::after {
  left: auto; right: 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%);
}
html[dir="ltr"] .sell::before, html[dir="ltr"] .sell::after {
  left: auto; right: 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 64px 100%);
}
html[dir="ltr"] .finder-title { clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 100%, 0 100%); }
html[dir="ltr"] .main-nav a[aria-current="page"]::after { transform: skewX(24deg); }
html[dir="ltr"] .card-tag {
  right: auto; left: 12px; padding: 3px 14px 3px 16px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
html[dir="ltr"] .badge { clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }

/* select arrows sit at the end */
html[dir="ltr"] .field select { background-position: right 14px center; }
html[dir="ltr"] .sort select { background-position: right 12px center; }

/* detail page */
html[dir="ltr"] .gallery-main figcaption, html[dir="ltr"] .gallery-count { right: auto; left: 14px; }
html[dir="ltr"] .gallery-arrow.prev { right: auto; left: 14px; }
html[dir="ltr"] .gallery-arrow.next { left: auto; right: 14px; }
html[dir="ltr"] .spec-row dd { text-align: right; }

html[dir="ltr"] .fab-wa { left: auto; right: 20px; }

@media (max-width: 1199px) {   /* menu becomes a drawer below 1200px (the Arabic menu needs the room) */
  html[dir="ltr"] .main-nav {
    right: auto; left: 0; transform: translateX(-100%);
    box-shadow: 24px 0 48px -24px rgba(0, 0, 0, .35);
  }
  html[dir="ltr"] .main-nav.is-open { transform: none; }
}
@media (max-width: 960px) {
  html[dir="ltr"] .finder-title { clip-path: none; }
}
@media (max-width: 640px) {
  html[dir="ltr"] .fab-wa { right: 14px; }
}
/* the Arabic menu (Tajawal) is the longest: between 1200 and 1340px the header CTA gives way to the call icon */
@media (min-width: 1200px) and (max-width: 1340px) {
  html[lang="ar"] .header-cta { display: none; }
  html[lang="ar"] .header-call { display: inline-grid; }
}
/* above 1340px the CTA is back: tighter link padding keeps "المعدات الثقيلة" and the rest on one line */
@media (min-width: 1341px) {
  html[lang="ar"] .main-nav a { padding-inline: 8px; white-space: nowrap; }
  html[lang="ar"] .main-nav a[aria-current="page"]::after { inset-inline: 8px; }
}

/* ---------- Real listing photos (cards, detail gallery) ---------- */
.card-media > img, .gallery-main > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-media > img { transition: transform .5s var(--ease); }
.card:hover .card-media > img { transform: scale(1.04); }
.gallery-main > [hidden] { display: none !important; }
.thumbs button.has-photo { position: relative; overflow: hidden; }
.thumbs button.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumbs button.has-photo .eq, .thumbs button.has-photo span:not(.eq) { display: none; }
@media (prefers-reduced-motion: reduce) { .card-media > img { transition: none; } }
