/* =====================================================================
   شركة ماهر بن عايض القرشي وشركاه — Site styles
   Brand colours are taken from the official logo: bronze #8B6A44, gold #C4A66B
   ===================================================================== */

:root {
  /* Dark (warm charcoal) */
  --ink-950: #14110e;
  --ink-900: #1c1916;
  --ink-800: #26211c;
  --ink-700: #362f28;

  /* Brand */
  --gold-200: #ead9b0;
  --gold-300: #e0c995;
  --gold-400: #d4ba82;
  --gold-500: #c4a66b;   /* logo gold */
  --bronze-500: #8b6a44; /* logo bronze */
  --bronze-600: #765936;
  --bronze-700: #5f472b;

  /* Light surfaces */
  --cream-50: #faf7f2;
  --cream-100: #f3ede3;
  --cream-200: #e8dfd0;

  /* Text */
  --heading: #1c1916;
  --text: #3d362f;
  --muted: #776d62;
  --line: #e7e0d5;
  --danger: #b4412f;
  --success: #3f7a43;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(28, 25, 22, .05), 0 2px 6px rgba(28, 25, 22, .05);
  --shadow: 0 18px 40px -18px rgba(28, 25, 22, .25);
  --shadow-lg: 0 40px 80px -30px rgba(28, 25, 22, .45);

  --container: 1200px;
  --header-h: 124px;

  /* Typography defaults — the adopted values live in assets/js/typography.js,
     which overrides these. Every font-size below is multiplied by these scales. */
  --ff-head: 'Reem Kufi', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --ff-card: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --ff-body: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --ff-eyebrow: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --ff-nav: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --fs-head: 1; --fs-card: 1; --fs-body: 1; --fs-eyebrow: 1; --fs-nav: 1;

  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cg fill='none' stroke='%23C4A66B' stroke-opacity='.16' stroke-width='1'%3E%3Crect x='24' y='24' width='40' height='40'/%3E%3Crect x='24' y='24' width='40' height='40' transform='rotate(45 44 44)'/%3E%3Ccircle cx='44' cy='44' r='9'/%3E%3Cpath d='M0 0l24 24M88 0L64 24M0 88l24-24M88 88L64 64'/%3E%3C/g%3E%3C/svg%3E");
}


/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 4px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-size: calc(1rem * var(--kb));
  line-height: 1.85;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="en"] body { line-height: 1.7; }
:root[dir="rtl"][data-body="reem"] body,
:root[dir="rtl"][data-body="changa"] body,
:root[dir="rtl"][data-body="notokufi"] body { line-height: 1.95; }

/* Typography scopes: the page, each section and the footer. A section can
   override its own fonts and sizes (--s-*), set from typography.js. */
body, main > section, .site-footer {
  --kh: calc(var(--fs-head) * var(--s-fs-head, 1));
  --kc: calc(var(--fs-card) * var(--s-fs-head, 1));
  --kb: calc(var(--fs-body) * var(--s-fs-body, 1));
  --ke: calc(var(--fs-eyebrow) * var(--s-fs-body, 1));
  --fh: var(--s-ff-head, var(--ff-head));
  --fc: var(--s-ff-head, var(--ff-card));
  font-family: var(--s-ff-body, var(--ff-body));
}
main > section { font-size: calc(1rem * var(--kb)); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; color: var(--heading); line-height: 1.35; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }

.ico { display: inline-flex; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon.fill { fill: currentColor; stroke: none; }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

.skip-link {
  position: absolute; inset-inline-start: 16px; top: -80px; z-index: 300;
  background: var(--gold-500); color: var(--ink-950); padding: 10px 18px; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .85em 1.6em; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: calc(1rem * var(--kb)); line-height: 1.2; white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn .icon { width: 1.1em; height: 1.1em; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold-500); color: var(--ink-950); box-shadow: 0 12px 26px -12px rgba(196, 166, 107, .8); }
.btn-gold:hover { background: var(--gold-400); }
.btn-ghost { border-color: rgba(255, 255, 255, .26); color: #fff; }
.btn-ghost:hover { border-color: var(--gold-400); background: rgba(255, 255, 255, .06); }
.btn-dark { background: var(--ink-900); color: #fff; }
.btn-dark:hover { background: var(--ink-700); }
.btn-light { background: #fff; color: var(--bronze-700); }
.btn-light:hover { background: var(--cream-50); }
.btn-sm { padding: .62em 1.2em; font-size: calc(.93rem * var(--kb)); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); color: #fff; font-family: var(--ff-nav);
  transition: background-color .3s ease, box-shadow .3s ease, height .3s ease;
}
.site-header.scrolled, .site-header.open {
  background: rgba(20, 17, 14, .92);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  backdrop-filter: saturate(1.3) blur(14px);
  box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .55);
}
.site-header .btn { font-size: calc(.93rem * var(--fs-nav)); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 14px; }
.brand { flex: none; display: flex; align-items: center; }
.brand img { height: 104px; width: auto; transition: height .3s ease; }
.site-header.scrolled .brand img { height: 80px; }
@media (max-width: 1300px) { .brand img { height: 88px; } .site-header.scrolled .brand img { height: 72px; } }

.main-nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.main-nav a:not(.btn) {
  padding: 8px 10px; border-radius: 999px; font-weight: 500; font-size: calc(.97rem * var(--fs-nav));
  color: rgba(255, 255, 255, .8); white-space: nowrap; transition: color .2s ease, background-color .2s ease;
}
.main-nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .06); }
.main-nav a.active { color: var(--gold-400); }
.main-nav .nav-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px;
  padding: .45em .95em; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .22);
  background: transparent; color: #fff; font-weight: 600; font-size: calc(.9rem * var(--fs-nav));
  transition: border-color .2s ease, background-color .2s ease;
}
.lang-toggle:hover { border-color: var(--gold-400); background: rgba(255, 255, 255, .06); }
.lang-toggle .flag {
  width: 24px; height: 18px; flex: none; object-fit: cover;
  border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25);
}
.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, .22); background: transparent; color: #fff;
  align-items: center; justify-content: center;
}
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .i-close, .site-header.open .menu-toggle .i-menu { display: none; }
.site-header.open .menu-toggle .i-close { display: inline-flex; }

/* Folded menu (☰). main.js adds .compact on narrow screens (≤1060px) and
   whenever the menu doesn't fit on one line at the current font size. */
.site-header.measuring, .site-header.measuring * { transition: none !important; }
.site-header.compact .menu-toggle { display: inline-flex; }
.site-header.compact .header-cta { display: none; }
.site-header.compact .main-nav {
  position: absolute; top: var(--header-h); inset-inline: 0;
  flex-direction: column; align-items: stretch; gap: 2px;
  padding: 12px clamp(16px, 4vw, 32px) 22px;
  background: rgba(20, 17, 14, .98); border-top: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .6);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.site-header.compact.open .main-nav { opacity: 1; visibility: visible; transform: none; }
.site-header.compact .main-nav a:not(.btn) { padding: 12px 14px; border-radius: 10px; font-size: calc(1.02rem * var(--fs-nav)); }
.site-header.compact .main-nav .nav-cta { display: flex; margin-top: 10px; }
@media (max-width: 480px) {
  :root { --header-h: 92px; }
  .brand img, .site-header.scrolled .brand img { height: 54px; }
  .lang-toggle [data-i18n="nav.langShort"] { display: none; }
  .header-inner { gap: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink-900); color: #fff;
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 100px));
  padding-bottom: clamp(140px, 15vw, 190px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: var(--pattern); background-size: 88px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, #000 10%, transparent 75%);
}
/* Background photo with a slow zoom, darkened toward the text side */
.hero-photo {
  position: absolute; inset: 0; z-index: -3;
  background: url("../img/photos/hero.jpg") center 30% / cover no-repeat;
  animation: heroZoom 24s ease-out both;
  opacity: .1; filter: grayscale(1) sepia(.35);
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(20, 17, 14, .55) 0%, rgba(20, 17, 14, 0) 30%, rgba(20, 17, 14, .2) 70%, var(--ink-950) 100%),
    linear-gradient(to left, rgba(20, 17, 14, .94) 0%, rgba(20, 17, 14, .8) 42%, rgba(20, 17, 14, .45) 100%);
}
[dir="ltr"] .hero::after {
  background:
    linear-gradient(180deg, rgba(20, 17, 14, .55) 0%, rgba(20, 17, 14, 0) 30%, rgba(20, 17, 14, .2) 70%, var(--ink-950) 100%),
    linear-gradient(to right, rgba(20, 17, 14, .94) 0%, rgba(20, 17, 14, .8) 42%, rgba(20, 17, 14, .45) 100%);
}
@media (max-width: 1000px) {
  .hero::after, [dir="ltr"] .hero::after { background: linear-gradient(180deg, rgba(20, 17, 14, .8), rgba(20, 17, 14, .88) 60%, var(--ink-950)); }
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px; border-radius: 999px;
  background: rgba(196, 166, 107, .1); border: 1px solid rgba(196, 166, 107, .28);
  color: var(--gold-300); font-family: var(--ff-eyebrow); font-size: calc(.92rem * var(--ke)); font-weight: 600;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 4px rgba(196, 166, 107, .2); }
.hero h1 {
  margin-top: 24px; color: #fff;
  font-family: var(--fh); font-weight: 700;
  font-size: calc(clamp(2.4rem, 5.6vw, 4.3rem) * var(--kh)); line-height: 1.22; letter-spacing: -.005em;
}
html[lang="en"] .hero h1 { letter-spacing: -.02em; line-height: 1.12; }
.hero h1 > span { display: block; }
.hero h1 .accent {
  background: linear-gradient(90deg, var(--gold-300), var(--gold-500) 55%, var(--bronze-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .08em;
}
.hero-text { margin-top: 22px; max-width: 560px; font-size: calc(clamp(1.03rem, 1.4vw, 1.18rem) * var(--kb)); color: rgba(255, 255, 255, .72); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-visual { display: grid; place-items: center; pointer-events: none; }
.hero-mark { width: auto; height: clamp(380px, 46vw, 620px); max-width: none; opacity: .16; margin-block: -60px; }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; margin-top: clamp(-120px, -10vw, -90px); }
.stats-card {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: clamp(22px, 3vw, 36px) 0; background: #fff;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.stat { position: relative; padding: 6px 16px; text-align: center; }
.stat + .stat::before { content: ""; position: absolute; inset-inline-start: 0; top: 14%; bottom: 14%; width: 1px; background: var(--line); }
.stat-num { display: inline-flex; font-family: var(--fc); font-size: calc(clamp(2rem, 3.6vw, 2.8rem) * var(--kc)); font-weight: 700; line-height: 1.1; color: var(--heading); font-variant-numeric: tabular-nums; }
.stat-num .suffix { color: var(--gold-500); }
.stat-label { margin-top: 6px; color: var(--muted); font-size: calc(.96rem * var(--kb)); }
@media (max-width: 760px) {
  .stats-card { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .stat:nth-child(3)::before { display: none; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(76px, 9vw, 124px); }
.section.alt { background: var(--cream-50); }
.section-head { max-width: 700px; margin-bottom: clamp(36px, 5vw, 58px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--bronze-600); font-family: var(--ff-eyebrow); font-weight: 600; font-size: calc(.93rem * var(--ke)); }
.eyebrow::before, .section-head.center .eyebrow::after { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--gold-500); }
.section-head h2 { margin-top: 12px; font-family: var(--fh); font-size: calc(clamp(1.85rem, 3.5vw, 2.7rem) * var(--kh)); font-weight: 700; }
html[lang="en"] .section-head h2 { letter-spacing: -.015em; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: calc(1.07rem * var(--kb)); }

/* ---------- About ---------- */
.about { padding-top: clamp(90px, 10vw, 130px); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.about-media { position: relative; padding-bottom: 28px; }
.about-visual {
  position: relative; overflow: hidden; aspect-ratio: 4 / 4.4; border-radius: 30px;
  background: var(--pattern) 0 0 / 88px, linear-gradient(160deg, var(--ink-700), var(--ink-950));
}
.about-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.about-badge {
  position: absolute; bottom: 0; inset-inline-end: clamp(-16px, -2vw, 0px);
  display: flex; flex-direction: column; align-items: center; padding: 18px 26px;
  background: #fff; border-radius: 20px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.about-badge b { font-family: var(--fc); font-size: calc(2.4rem * var(--kc)); line-height: 1.1; color: var(--bronze-500); }
.about-badge span { font-size: calc(.9rem * var(--kb)); color: var(--muted); font-weight: 500; }
.about-chip {
  position: absolute; top: 28px; inset-inline-start: clamp(-16px, -2vw, 0px);
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px;
  background: var(--gold-500); color: var(--ink-950); border-radius: 999px;
  font-weight: 600; font-size: calc(.92rem * var(--kb)); box-shadow: var(--shadow);
}
.about-chip .icon { width: 20px; height: 20px; }
.about-copy .section-head { margin-bottom: 22px; }
.about-copy > p { color: var(--text); }
.about-copy > p + p { margin-top: 14px; }
.about-copy .lead { font-size: calc(1.1rem * var(--kb)); color: var(--heading); font-weight: 500; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin-top: 26px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; color: var(--heading); line-height: 1.6; }
.tick { flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--cream-100); color: var(--bronze-500); }
.tick .icon { width: 14px; height: 14px; stroke-width: 2.6; }

.vmv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(56px, 7vw, 84px); }
.vmv {
  padding: 30px; border-radius: var(--radius-lg); background: var(--cream-50); border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease;
}
.vmv:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--shadow); }
.vmv-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--ink-900); color: var(--gold-400); }
.vmv-icon .icon { width: 26px; height: 26px; }
.vmv h3 { margin-top: 18px; font-family: var(--fh); font-size: calc(1.3rem * var(--kh)); font-weight: 600; }
.vmv p { margin-top: 8px; color: var(--muted); }

/* ---------- Services ---------- */
.service-panel {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.6fr); gap: clamp(20px, 3vw, 36px);
  padding: clamp(16px, 2vw, 22px); background: #fff; border: 1px solid var(--line);
  border-radius: 30px; box-shadow: var(--shadow-sm);
}
.service-panel + .service-panel { margin-top: 28px; }
.panel-side {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: clamp(26px, 3vw, 38px); border-radius: 22px; color: #fff;
  background: linear-gradient(160deg, var(--ink-700), var(--ink-950));
}
.panel-side::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20, 17, 14, .55), rgba(20, 17, 14, .92) 70%), url("../img/photos/contracting.jpg") center / cover;
  transition: transform .8s ease;
}
.service-panel.catering .panel-side { background: var(--bronze-700); }
.service-panel.catering .panel-side::before {
  background: linear-gradient(180deg, rgba(95, 71, 43, .55), rgba(60, 44, 26, .94) 70%), url("../img/photos/catering.jpg") center / cover;
}
.service-panel:hover .panel-side::before { transform: scale(1.06); }
.panel-tag { padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: calc(.82rem * var(--kb)); font-weight: 600; color: var(--gold-200); }
.panel-icon { display: grid; place-items: center; width: 66px; height: 66px; margin-top: 8px; border-radius: 18px; background: var(--gold-500); color: var(--ink-950); }
.service-panel.catering .panel-icon { background: #fff; color: var(--bronze-600); }
.panel-icon .icon { width: 32px; height: 32px; }
.panel-side h3 { color: #fff; font-family: var(--fh); font-size: calc(clamp(1.7rem, 2.6vw, 2.1rem) * var(--kh)); font-weight: 700; }
.panel-side p { color: rgba(255, 255, 255, .76); }
.panel-side .btn { margin-top: auto; }
.panel-side .btn .icon { width: 16px; height: 16px; }
.service-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; align-content: center; padding: clamp(6px, 1.4vw, 16px); }
.service-item {
  padding: 22px; border-radius: var(--radius); background: var(--cream-50); border: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.service-item:hover { background: #fff; border-color: var(--cream-200); box-shadow: var(--shadow); transform: translateY(-3px); }
.si-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--ink-900); color: var(--gold-400); }
.catering .si-icon { background: var(--cream-100); color: var(--bronze-600); }
.si-icon .icon { width: 24px; height: 24px; }
.service-item h4 { margin-top: 14px; font-family: var(--fc); font-size: calc(1.1rem * var(--kc)); font-weight: 600; }
.service-item p { margin-top: 6px; color: var(--muted); font-size: calc(.95rem * var(--kb)); line-height: 1.75; }

/* ---------- Projects ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 38px; }
.chip {
  padding: .55em 1.4em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  color: var(--text); font-weight: 600; font-size: calc(.95rem * var(--kb)); transition: all .2s ease;
}
.chip:hover { border-color: var(--bronze-500); color: var(--bronze-600); }
.chip.active { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project {
  overflow: hidden; border-radius: 24px; background: #fff; border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease, opacity .3s ease;
}
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.project.is-hidden { display: none; }
.project-media {
  position: relative; overflow: hidden; isolation: isolate; display: grid; place-items: center;
  aspect-ratio: 16 / 11; color: var(--gold-400);
  background: linear-gradient(150deg, var(--ink-700), var(--ink-950));
}
.project-media::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--pattern) 0 0 / 88px; }
.project.catering .project-media { background: linear-gradient(150deg, var(--bronze-500), var(--bronze-700)); color: var(--gold-200); }
.project-media > .icon { width: 68px; height: 68px; stroke-width: 1.3; transition: transform .4s ease; }
.project:hover .project-media > .icon { transform: scale(1.08); }
.project-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project:hover .project-media img { transform: scale(1.05); }
.project-tag {
  position: absolute; top: 14px; inset-inline-start: 14px; padding: 4px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: var(--heading); font-size: calc(.82rem * var(--kb)); font-weight: 600;
}
.project-body { padding: 20px 22px 24px; }
.project-body h3 { font-family: var(--fc); font-size: calc(1.15rem * var(--kc)); font-weight: 600; }
.project-body p { margin-top: 6px; color: var(--muted); font-size: calc(.95rem * var(--kb)); line-height: 1.75; }
.project-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; color: var(--muted); font-size: calc(.86rem * var(--kb)); }
.project-meta span { display: inline-flex; align-items: center; gap: 6px; }
.project-meta .icon { width: 15px; height: 15px; color: var(--bronze-500); }

/* ---------- Why us ---------- */
.why { position: relative; isolation: isolate; overflow: hidden; background: var(--ink-900); color: #fff; }
.why::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--pattern) 0 0 / 88px; opacity: .7; }
.why::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 400px at 50% 0%, rgba(196, 166, 107, .14), transparent 70%); }
.why .eyebrow { color: var(--gold-400); }
.why .section-head h2 { color: #fff; }
.why .section-head p { color: rgba(255, 255, 255, .68); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-item {
  padding: 30px; border-radius: 22px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09);
  transition: background-color .3s ease, border-color .3s ease, transform .3s ease;
}
.why-item:hover { background: rgba(255, 255, 255, .07); border-color: rgba(212, 186, 130, .4); transform: translateY(-4px); }
.why-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(196, 166, 107, .14); color: var(--gold-400); }
.why-icon .icon { width: 26px; height: 26px; }
.why-item h3 { margin-top: 18px; color: #fff; font-family: var(--fc); font-size: calc(1.18rem * var(--kc)); font-weight: 600; }
.why-item p { margin-top: 8px; color: rgba(255, 255, 255, .64); font-size: calc(.96rem * var(--kb)); }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  display: flex; flex-direction: column; padding: 26px; border-radius: 24px; background: #fff; border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--cream-200); }
.news-top { display: flex; align-items: center; gap: 14px; }
.news-date {
  flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 72px; height: 72px; padding-inline: 12px; border-radius: 16px; background: var(--ink-900); color: #fff; line-height: 1.1;
}
.news-date b { font-family: var(--fc); font-size: calc(1.6rem * var(--kc)); }
.news-date span { margin-top: 4px; font-size: calc(.74rem * var(--kb)); color: var(--gold-400); white-space: nowrap; }
.news-cat { padding: 4px 12px; border-radius: 999px; background: var(--cream-100); color: var(--bronze-600); font-size: calc(.83rem * var(--kb)); font-weight: 600; }
.news-card h3 { margin-top: 20px; font-family: var(--fc); font-size: calc(1.16rem * var(--kc)); font-weight: 600; line-height: 1.5; }
.news-card p { flex: 1; margin-top: 8px; color: var(--muted); font-size: calc(.96rem * var(--kb)); }
.news-more {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; padding: 0;
  background: none; border: 0; color: var(--bronze-600); font-weight: 600;
}
.news-more .icon { width: 16px; height: 16px; transition: transform .2s ease; }
.news-more:hover { color: var(--heading); }

/* ---------- Modal ---------- */
.modal {
  width: min(640px, calc(100% - 32px)); max-height: calc(100% - 48px); padding: 0;
  border: 0; border-radius: 26px; color: var(--text); box-shadow: var(--shadow-lg);
}
.modal::backdrop { background: rgba(20, 17, 14, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal-inner { position: relative; padding: clamp(26px, 4vw, 42px); }
.modal-close {
  position: absolute; top: 16px; inset-inline-end: 16px; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--heading);
}
.modal-close:hover { background: var(--cream-50); }
.modal-date { color: var(--bronze-600); font-weight: 600; font-size: calc(.9rem * var(--kb)); }
.modal h3 { margin-top: 8px; padding-inline-end: 44px; font-family: var(--fh); font-size: calc(1.55rem * var(--kh)); font-weight: 600; }
.modal-body { margin-top: 16px; }
.modal-body p + p { margin-top: 12px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 44px); align-items: start; }
.contact-info { display: grid; gap: 14px; }
.info-item {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px;
  border-radius: var(--radius); background: var(--cream-50); border: 1px solid var(--line);
}
.info-icon { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--ink-900); color: var(--gold-400); }
.info-icon .icon { width: 22px; height: 22px; }
.info-item small { display: block; color: var(--muted); font-size: calc(.86rem * var(--kb)); }
.info-value { display: block; color: var(--heading); font-weight: 600; overflow-wrap: anywhere; }
.info-value a:hover { color: var(--bronze-600); }

.contact-form {
  padding: clamp(24px, 4vw, 40px); background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.contact-form h3 { margin-bottom: 20px; font-family: var(--fh); font-size: calc(1.45rem * var(--kh)); font-weight: 600; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--heading); font-weight: 600; font-size: calc(.93rem * var(--kb)); }
.field label small { color: var(--muted); font-weight: 400; }
.req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8em 1em; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: var(--cream-50); color: var(--heading); font: inherit;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-500); background: #fff; box-shadow: 0 0 0 4px rgba(196, 166, 107, .18);
}
.field textarea { min-height: 130px; resize: vertical; }
.field select {
  -webkit-appearance: none; appearance: none; padding-inline-end: 2.6em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23776d62' 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-size: 18px; background-position: right 14px center;
}
[dir="rtl"] .field select { background-position: left 14px center; }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); background: #fff; }
.form-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; color: var(--muted); font-size: calc(.86rem * var(--kb)); line-height: 1.6; }
.form-note .icon { width: 17px; height: 17px; margin-top: 2px; }
.form-status { margin-top: 10px; font-weight: 600; font-size: calc(.93rem * var(--kb)); }
.form-status:empty { display: none; }
.form-status.error { color: var(--danger); }
.form-status.ok { color: var(--success); }

.map {
  height: clamp(260px, 34vw, 400px); margin-top: clamp(32px, 5vw, 56px); overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--cream-100);
}
.map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.35) sepia(.12); }

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(60px, 7vw, 86px); background: var(--ink-950); color: rgba(255, 255, 255, .68); font-size: calc(.96rem * var(--kb)); }
.footer-grid { display: grid; grid-template-columns: 3fr 1fr 1.15fr 1.35fr; gap: 28px; }
.footer-logo { display: block; height: auto; width: 100%; max-width: 520px; margin-inline: auto; }
.footer-about {
  align-self: start; padding: 22px 16px 24px; border-radius: 24px; text-align: center;
  background: linear-gradient(160deg, #fbf7f0, var(--cream-100));
  border: 1px solid var(--gold-300); box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .8);
}
.footer-about p { max-width: 380px; margin: 20px auto 0; color: var(--text); font-size: calc(1.02rem * var(--kb)); }
.footer-about .socials { justify-content: center; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .15); transition: all .2s ease;
}
.socials a .icon { width: 18px; height: 18px; }
.socials a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--ink-950); }
.site-footer h4 { margin-bottom: 18px; color: #fff; font-family: var(--fc); font-size: calc(1.04rem * var(--kc)); font-weight: 600; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { transition: color .2s ease; }
.footer-links a:hover { color: var(--gold-400); }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact .icon { width: 17px; height: 17px; color: var(--gold-500); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  margin-top: 52px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: calc(.88rem * var(--kb));
}
.footer-bottom span:empty { display: none; }

/* ---------- Floating buttons ---------- */
.wa-float {
  position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 90;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .65);
  transition: transform .2s ease;
}
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.07); }
.to-top {
  position: fixed; bottom: 92px; inset-inline-end: 29px; z-index: 90;
  display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--ink-900); color: var(--gold-400); box-shadow: var(--shadow); border: 1px solid rgba(196, 166, 107, .35);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top .icon { width: 20px; height: 20px; }

/* ---------- Video showcase (under projects) ---------- */
.showcase {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  margin-top: clamp(40px, 6vw, 64px); padding: clamp(22px, 3vw, 36px); border-radius: 30px;
  background: linear-gradient(160deg, var(--ink-800), var(--ink-950)); color: #fff; position: relative; overflow: hidden; isolation: isolate;
}
.showcase::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--pattern) 0 0 / 88px; opacity: .8; }
.showcase .eyebrow { color: var(--gold-400); }
.showcase h3 { margin-top: 10px; color: #fff; font-family: var(--fh); font-size: calc(clamp(1.6rem, 2.8vw, 2.2rem) * var(--kh)); }
.showcase p { margin-top: 12px; color: rgba(255, 255, 255, .75); font-size: calc(1.02rem * var(--kb)); }
.showcase-video { justify-self: center; width: min(100%, 340px); }
.showcase-video video {
  display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 22px; background: #000;
  border: 1px solid rgba(212, 186, 130, .45); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
}
@media (max-width: 760px) { .showcase { grid-template-columns: 1fr; text-align: center; } .showcase .eyebrow { justify-content: center; } }

/* ---------- Chairman quote ---------- */
.chairman {
  position: relative; margin: 28px 0 0; padding: 24px 26px 22px; border-radius: 20px;
  background: var(--cream-50); border: 1px solid var(--line); border-inline-start: 4px solid var(--gold-500);
}
.chairman::before {
  content: "”"; position: absolute; top: -6px; inset-inline-end: 18px;
  font-family: Georgia, serif; font-size: 5rem; line-height: 1; color: var(--gold-300);
}
[dir="ltr"] .chairman::before { content: "“"; }
.chairman p { color: var(--heading); font-size: calc(1.02rem * var(--kb)); line-height: 1.9; }
.chairman footer { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.chairman footer img { width: 26px; height: auto; }
.chairman footer span { display: flex; flex-direction: column; line-height: 1.35; }
.chairman footer strong { font-family: var(--fc); color: var(--bronze-600); font-size: calc(1rem * var(--kc)); }
.chairman footer small { color: var(--muted); font-size: calc(.85rem * var(--kb)); }

/* ---------- Clients strip ---------- */
.clients { padding-bottom: clamp(64px, 8vw, 100px); }
.clients-strip {
  overflow: hidden; direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.clients-track { display: flex; width: max-content; animation: clientsMove 110s linear infinite; }
.clients-strip:hover .clients-track { animation-play-state: paused; }
.clients-track ul { display: flex; gap: 16px; margin: 0; padding: 0 8px; list-style: none; }
.clients-track li {
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  padding: 16px 24px; border-radius: 16px; background: var(--cream-50); border: 1px solid var(--line);
  font-family: var(--fc); font-weight: 600; font-size: calc(1rem * var(--kc)); color: var(--heading);
  direction: rtl;
}
[dir="ltr"] .clients-track li { direction: ltr; }
.clients-track li.has-logo { flex-direction: column; justify-content: center; gap: 10px; min-width: 190px; padding: 18px 22px; background: #fff; }
.clients-track li.has-logo img { height: 74px; width: auto; max-width: 160px; object-fit: contain; }
.clients-track li.has-logo span { font-size: calc(.86rem * var(--kc)); color: var(--muted); }
.clients-track li:not(.has-logo) { align-self: center; }
.clients-track ul { align-items: stretch; }
.client-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--ink-900); color: var(--gold-400); }
.client-mark .icon { width: 20px; height: 20px; }
@media (max-width: 680px) { .clients-track { animation-duration: 170s; } .clients-track li.has-logo { min-width: 160px; } }
@keyframes clientsMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Process ---------- */
.process { background: linear-gradient(180deg, #fff, var(--cream-50)); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin: 0; padding: 0; list-style: none; }
/* golden line that joins the four icons */
.steps::before {
  content: ""; position: absolute; top: 62px; inset-inline: 12%; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-300), var(--bronze-500), var(--gold-300));
}
.step {
  position: relative; overflow: hidden; padding: 30px 24px 30px; border-radius: 26px;
  background: #fff; border: 1px solid var(--line); text-align: center;
  box-shadow: 0 14px 34px -24px rgba(28, 25, 22, .35);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.step::after {
  content: ""; position: absolute; inset: 0 0 auto; height: 5px;
  background: linear-gradient(90deg, var(--bronze-500), var(--gold-400));
  transform: scaleX(0); transition: transform .45s ease;
}
.step:hover { transform: translateY(-10px); box-shadow: 0 28px 50px -26px rgba(28, 25, 22, .45); border-color: var(--gold-300); }
.step:hover::after { transform: scaleX(1); }
.step-num {
  position: absolute; top: 16px; inset-inline-end: 20px;
  display: grid; place-items: center; min-width: 38px; height: 28px; padding: 0 8px; border-radius: 999px;
  background: var(--gold-500); color: var(--ink-950);
  font-family: var(--fc); font-size: calc(.95rem * var(--kc)); font-weight: 700; line-height: 1;
}
.step-icon {
  position: relative; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto;
  border-radius: 50%; background: var(--ink-900); color: var(--gold-400);
  box-shadow: 0 0 0 7px #fff, 0 0 0 9px var(--gold-300);
  transition: background-color .35s ease, color .35s ease, transform .35s ease;
}
.step:hover .step-icon { background: var(--gold-500); color: var(--ink-950); transform: scale(1.06); }
.step-icon .icon { width: 30px; height: 30px; }
.step h3 { margin-top: 24px; font-family: var(--fc); font-size: calc(1.25rem * var(--kc)); font-weight: 700; line-height: 1.45; color: var(--heading); }
.step p { margin-top: 10px; color: var(--text); font-size: calc(1rem * var(--kb)); line-height: 1.8; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 24px); margin-bottom: 0; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  border-radius: 18px; background: #fff; border: 1px solid var(--line);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.faq-item[open] { border-color: var(--gold-300); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; cursor: pointer; list-style: none;
  font-family: var(--fc); font-weight: 600; font-size: calc(1.05rem * var(--kc)); color: var(--heading);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--cream-100); transition: background-color .25s ease, transform .3s ease; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; background: var(--bronze-600); transform: translate(-50%, -50%); border-radius: 2px; }
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s ease; }
.faq-item[open] .faq-plus { background: var(--gold-500); transform: rotate(180deg); }
.faq-item[open] .faq-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item p { padding: 0 22px 22px; color: var(--muted); font-size: calc(.98rem * var(--kb)); }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; inset-inline: 0; z-index: 120; height: 3px; pointer-events: none;
  background: linear-gradient(90deg, var(--bronze-500), var(--gold-400));
  transform: scaleX(var(--p, 0)); transform-origin: right;
}
[dir="ltr"] .scroll-progress { transform-origin: left; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(34px) scale(.985); filter: blur(4px); transition: opacity .9s ease, transform .9s cubic-bezier(.16, 1, .3, 1), filter .9s ease; transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 520px; }
  .service-panel { grid-template-columns: 1fr; }
  .projects-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .steps { grid-template-columns: 1fr; }
  .vmv-grid { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .service-items { grid-template-columns: 1fr; padding: 0; }
  .projects-grid, .news-grid, .why-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-badge { inset-inline-end: 12px; }
  .about-chip { inset-inline-start: 12px; top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .clients-track { animation: none !important; }
  .clients-strip { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .clients-track ul[aria-hidden] { display: none; }
  .hero-photo { animation: none !important; }
}

@media print {
  .site-header, .wa-float, .to-top, .map, .contact-form { display: none !important; }
  .hero { padding-top: 40px; }
  .reveal { opacity: 1; transform: none; filter: none; }
}
