/* ═══════════════════════════════════════════════════════
   SALAH ALLAM GROUP — Main Stylesheet
   Pure CSS, no framework dependency
═══════════════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700;800&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Raleway:wght@400;500;700&display=swap');

/* ── CSS Variables ── */
:root {
  --gold:         #A8842E;
  --gold-light:   #C9A84C;
  --gold-dark:    #8A6E26;
  --cream-bg:     #F2EBE1;
  --cream-alt:    #E8DFD3;
  --cream-card:   #FFFCF8;
  --dark:         #1A1A1A;
  --dark-surface: #EDE4D8;
  --dark-card:    #FFFCF8;
  --cream:        #2C2C2C;
  --muted:        #5C5348;
  --border:       rgba(168,132,46,0.25);
  --shadow-sm:    0 4px 20px rgba(120,90,40,0.08);
  --shadow-md:    0 8px 32px rgba(120,90,40,0.12);
  --shadow-gold:  0 8px 24px rgba(168,132,46,0.18);
  --card-hover-bg: linear-gradient(180deg, #3a3228 0%, #2a241c 100%);
  --card-hover-text: #faf6f0;
  --card-hover-muted: rgba(250,246,240,0.78);
  --card-hover-subtle: rgba(250,246,240,0.72);
  --font-ar:      'Tajawal', sans-serif;
  --font-brand:   'Montserrat', 'IBM Plex Sans Arabic', sans-serif;
  --font-brand-latin: 'Montserrat', 'Arial Black', Arial, sans-serif;
  --font-en-h:    'Playfair Display', Georgia, serif;
  --font-en-b:    'Raleway', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}
body {
  background: var(--cream-bg);
  color: var(--cream);
  font-family: var(--font-ar);
  line-height: 1.7;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
}
.section-alt {
  background: var(--cream-alt);
  box-shadow: inset 0 1px 0 rgba(168,132,46,0.07), inset 0 -1px 0 rgba(168,132,46,0.05);
}
.section-pad { padding: 6rem 0; position: relative; overflow-x: clip; }
.card-surface {
  background: var(--cream-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: 4px;
}

/* ── Unified card hover (matches project cards) ── */
.vm-card,
.why-card,
.value-card,
.csr-item,
.check-list li,
.service-card,
.contact-info-item,
.news-card,
.card-surface,
.project-card,
.project-card-full {
  transition: border-color .35s ease, transform .35s ease, box-shadow .35s ease, background .35s ease, color .35s ease;
}

.vm-card:hover,
.why-card:hover,
.value-card:hover,
.csr-item:hover,
.check-list li:hover,
.service-card:hover,
.contact-info-item:hover,
.news-card:hover,
.card-surface:hover,
.project-card:hover,
.project-card-full:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  background: var(--card-hover-bg);
}

/* Titles & headings on hover */
.vm-card:hover .vm-title,
.why-card:hover .why-title,
.value-card:hover .service-title,
.service-card:hover .service-title,
.csr-item:hover,
.contact-info-item:hover .info-value,
.news-card:hover .news-title,
.project-card:hover .project-name,
.project-card-full:hover .project-name {
  color: var(--card-hover-text);
}

.vm-card:hover .vm-title,
.why-card:hover .why-num,
.value-card:hover .service-title,
.service-card:hover .service-title,
.project-card:hover .project-type,
.project-card-full:hover .project-type {
  color: var(--gold-light);
}

/* Body text on hover */
.vm-card:hover p,
.why-card:hover .why-desc,
.value-card:hover .service-desc,
.service-card:hover .service-desc,
.check-list li:hover,
.contact-info-item:hover .info-label,
.news-card:hover .news-excerpt,
.news-card:hover .news-date,
.project-card:hover .project-loc,
.project-card:hover .project-units,
.project-card-full:hover .proj-desc,
.project-card-full:hover .proj-stat,
.project-card-full:hover .proj-tag {
  color: var(--card-hover-muted);
}

.check-list li:hover::before { color: var(--gold-light); }

/* Borders & dividers on hover */
.project-card:hover .project-footer,
.project-card-full:hover .proj-stats {
  border-color: rgba(168,132,46,0.35);
}

.project-card-full:hover .proj-tag {
  border-color: rgba(168,132,46,0.45);
  background: rgba(168,132,46,0.12);
}

.project-card-full:hover .proj-divider {
  width: 56px !important;
  background: var(--gold) !important;
}

.project-card:hover .project-link {
  color: #fff;
  background: var(--gold);
  padding: .35em .75em;
  border-radius: 2px;
}

/* Icon treatments on card hover */
.csr-item:hover .csr-icon,
.contact-info-item:hover .info-icon,
.service-card:hover .service-icon {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.csr-item:hover .csr-icon svg,
.contact-info-item:hover .info-icon svg,
.service-card:hover .service-icon svg {
  transform: scale(1.1);
}

.why-card:hover .why-num {
  color: rgba(201,168,76,0.75);
  animation: iconPulse 1.5s ease-in-out infinite;
}

.news-card:hover .news-body {
  background: transparent;
}

.news-card:hover .news-cat {
  background: rgba(168,132,46,0.2);
  color: var(--gold-light);
}

.news-card:hover .news-link {
  color: #fff;
  background: var(--gold);
  padding: .3em .7em;
  border-radius: 2px;
  display: inline-block;
}
.text-block p { color: var(--muted); line-height: 1.95; margin-bottom: 1.35rem; font-size: 1rem; }
.text-block { margin-top: .5rem; max-width: 820px; margin-inline: auto; }
.text-block p { text-align: center; }
[dir="ltr"] .text-block p { text-align: center; }
.section-header + .text-block { margin-top: 1.25rem; }
[lang="en"] body, [lang="en"] p, [lang="en"] span, [lang="en"] a,
[lang="en"] button, [lang="en"] input, [lang="en"] textarea, [lang="en"] li {
  font-family: var(--font-en-b);
}
[lang="en"] h1,[lang="en"] h2,[lang="en"] h3,[lang="en"] h4 {
  font-family: var(--font-en-h);
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; }

/* ── Scroll Animation Base ── */
.reveal,
.reveal-item {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity .78s cubic-bezier(.22, 1, .36, 1),
    transform .78s cubic-bezier(.22, 1, .36, 1);
  transition-delay: calc(var(--reveal-index, 0) * 130ms);
  will-change: opacity, transform;
}
.reveal.visible,
.reveal-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-42px);
  transition:
    opacity .78s cubic-bezier(.22, 1, .36, 1),
    transform .78s cubic-bezier(.22, 1, .36, 1);
  transition-delay: calc(var(--reveal-index, 0) * 130ms);
}
.reveal-right {
  opacity: 0;
  transform: translateX(42px);
  transition:
    opacity .78s cubic-bezier(.22, 1, .36, 1),
    transform .78s cubic-bezier(.22, 1, .36, 1);
  transition-delay: calc(var(--reveal-index, 0) * 130ms);
}
[dir="ltr"] .reveal-left  { transform: translateX(42px); }
[dir="ltr"] .reveal-right { transform: translateX(-42px); }
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-item,
  .reveal-left,
  .reveal-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── Typography ── */
.section-badge {
  display: inline-block;
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  border: 1px solid var(--border);
  background: rgba(255,252,248,0.7);
  padding: .35em .9em;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: .75rem;
  color: var(--dark);
  position: relative;
}
.section-title.title-decorated::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: .75rem auto 0;
  border-radius: 2px;
}
[dir="rtl"] .section-title.title-decorated::after,
.section-header .section-title.title-decorated::after {
  margin-left: auto;
  margin-right: auto;
}
.section-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.85;
  max-width: 720px;
  margin: 1rem auto 0;
}
.gold { color: var(--gold); }

/* ── Ornamental title lines ── */
.title-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  margin: 1.1rem auto 1.85rem;
  width: min(320px, 80%);
}
.orn-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(168,132,46,0.15) 20%, var(--gold) 50%, rgba(168,132,46,0.15) 80%, transparent 100%);
  position: relative;
}
.orn-line::before,
.orn-line::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 4px;
  height: 4px;
  background: var(--gold-light);
  border-radius: 50%;
  transform: translateY(-50%);
  opacity: .7;
}
.orn-line::before { right: 0; }
.orn-line::after  { left: 0; }
.orn-diamond {
  width: 9px;
  height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(168,132,46,0.15);
  animation: diamondPulse 3s ease-in-out infinite;
}
@keyframes diamondPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(168,132,46,0.12); transform: rotate(45deg) scale(1); }
  50%      { box-shadow: 0 0 0 6px rgba(168,132,46,0.06); transform: rotate(45deg) scale(1.08); }
}

/* legacy */
.gold-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1rem 0 1.5rem;
}
[dir="rtl"] .gold-line { background: linear-gradient(270deg, var(--gold), transparent); }

/* ── Black logo from folder ── */
.nav-logo-mark {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  flex-shrink: 0;
  background: transparent;
  padding: 0;
  border: none;
  border-radius: 0;
  line-height: 0;
  box-shadow: none;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0;
  border: none;
  border-radius: 0;
  line-height: 0;
  box-shadow: none;
}
#navbar.scrolled .nav-logo-mark {
  background: transparent;
  border-color: transparent;
  padding: 0;
}
.logo-dark {
  filter: invert(1);
  mix-blend-mode: multiply;
  height: 44px;
  width: auto;
}
.footer-logo-wrap .logo-mark {
  background: transparent;
  border: none;
  padding: 0;
}
.footer-logo-wrap .logo-dark { height: 42px; }

/* ── Layout ── */
.container { max-width: 1280px; width: 100%; margin: 0 auto; padding: 0 1.5rem; }

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  max-width: 100%;
  z-index: 1000;
  padding: .7rem 0;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  overflow: visible;
  transition: background .4s, box-shadow .4s, border-color .4s, backdrop-filter .4s, padding .35s ease;
}
#navbar.scrolled {
  background: rgba(242,235,225,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
#navbar:has(.mobile-menu.open),
body.menu-open #navbar {
  background: rgba(242,235,225,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 10001;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  position: relative;
  direction: ltr;
}
.nav-start {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex: 1;
  min-width: 0;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-shrink: 1;
  min-width: 0;
  cursor: pointer;
  margin: 0;
  text-decoration: none;
  direction: ltr;
  unicode-bidi: isolate;
}
.nav-logo .logo-dark {
  width: 42px;
  height: auto;
  display: block;
  flex-shrink: 0;
  transition: transform .3s;
}
.nav-logo:hover .logo-dark { transform: scale(1.05); }
.nav-logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
  min-width: 0;
  direction: ltr;
  unicode-bidi: isolate;
  font-family: var(--font-brand-latin);
  font-size: clamp(1.02rem, 4.2vw, 1.28rem);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}
.nav-brand-main {
  font-family: var(--font-brand-latin);
  font-size: 1em;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dark);
  white-space: nowrap;
  line-height: 1.05;
}
.nav-brand-sub {
  font-family: var(--font-brand-latin);
  font-size: .48em;
  font-weight: 700;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .22em;
  line-height: 1;
  align-self: center;
  width: 100%;
  text-align: center;
  padding-left: .18em;
}
html[dir="rtl"] .nav-logo-text,
html[dir="rtl"] .nav-brand-main,
html[dir="rtl"] .nav-brand-sub,
html[dir="ltr"] .nav-logo-text,
html[dir="ltr"] .nav-brand-main,
html[dir="ltr"] .nav-brand-sub {
  font-family: var(--font-brand-latin);
}
html[dir="rtl"] .nav-brand-main,
html[dir="ltr"] .nav-brand-main {
  font-weight: 800;
  letter-spacing: .1em;
}
html[dir="rtl"] .nav-brand-sub,
html[dir="ltr"] .nav-brand-sub {
  font-weight: 700;
  letter-spacing: .34em;
}
.nav-end {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex: 0 0 auto;
  flex-shrink: 0;
}
.nav-cta-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-family: var(--font-brand);
  font-weight: 700;
  color: var(--dark);
  border: 1px solid rgba(26, 26, 26, .35);
  background: transparent;
  padding: .45em .85em;
  border-radius: 3px;
  text-decoration: none;
  transition: border-color .25s, color .25s, background .25s;
}
.nav-cta-mobile:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: rgba(201, 168, 76, .08);
}
[dir="rtl"] .nav-cta-mobile {
  font-family: var(--font-brand);
  letter-spacing: 0;
  text-transform: none;
  font-size: .78rem;
  font-weight: 700;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}
.nav-links a {
  font-size: .88rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dark);
  font-weight: 600;
  transition: color .25s;
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  line-height: 1.2;
  font-family: var(--font-en-b);
}
[dir="rtl"] .nav-links a { font-family: var(--font-ar); font-size: .95rem; letter-spacing: 0; text-transform: none; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  inset-inline-start: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.nav-right {
  display: none;
  align-items: center;
  gap: .9rem;
}
.social-icon {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--gold-dark);
  background: rgba(255,252,248,0.6);
  cursor: pointer;
  transition: color .3s, border-color .3s, background .3s, transform .3s, box-shadow .3s;
  font-size: 13px;
}
.social-icon svg { transition: transform .35s ease; }
.social-icon:is(:hover, :active, .touch-active) {
  color: #fff;
  border-color: var(--gold);
  background: var(--gold);
  transform: translateY(-3px) scale(1.08);
  box-shadow: var(--shadow-gold);
  animation: iconWiggle .5s ease;
}
.social-icon:is(:hover, :active, .touch-active) svg { transform: scale(1.15) rotate(-8deg); }

.lang-btn {
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: .3em .75em;
  border-radius: 2px;
  font-family: var(--font-en-b);
  transition: background .25s, color .25s;
}
.lang-btn:hover { background: var(--gold); color: var(--dark); }

/* Mobile language toggle — header bar */
.mob-lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 34px;
  padding: .28em .5em;
  background: transparent;
  border: 1px solid rgba(26, 26, 26, .35);
  border-radius: 3px;
  color: var(--dark);
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .08em;
}
.mob-lang-btn:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: rgba(201, 168, 76, .08);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--dark);
  padding: .5em 1.2em;
  border-radius: 2px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: background .25s, transform .2s;
}
[dir="rtl"] .cta-btn {
  font-family: var(--font-ar);
  letter-spacing: 0;
  text-transform: none;
  font-size: .82rem;
}
.cta-btn:hover { background: var(--gold-light); transform: translateY(-1px); }

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  flex-shrink: 0;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
  display: block;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile top bar frame — hidden on desktop */
.nav-bar-frame {
  position: relative;
}
.nb-corner { display: none; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: calc(68px + env(safe-area-inset-top, 0px) + .65rem) max(1rem, env(safe-area-inset-right, 0px)) 1.25rem max(1rem, env(safe-area-inset-left, 0px));
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: visibility .4s, opacity .35s ease;
}
.mobile-menu.open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}
.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 18, 14, 0.52);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .4s ease;
}
.mobile-menu.open .mobile-menu-backdrop {
  opacity: 1;
}
.mobile-menu-panel {
  position: relative;
  z-index: 2;
  width: min(100%, 420px);
  transform: translateY(-18px) scale(0.94);
  opacity: 0;
  transition:
    transform .52s cubic-bezier(.22, 1, .36, 1),
    opacity .4s ease;
}
.mobile-menu.open .mobile-menu-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.mobile-menu-frame {
  position: relative;
  background: linear-gradient(165deg, rgba(255, 252, 248, 0.99) 0%, rgba(248, 241, 232, 0.98) 100%);
  border: 1px solid rgba(168, 132, 46, 0.32);
  border-radius: 18px;
  padding: 1.15rem 1.1rem 1.35rem;
  box-shadow:
    0 28px 64px rgba(26, 26, 26, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.65) inset,
    var(--shadow-gold);
  overflow: hidden;
}
.mobile-menu-frame::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .85;
}
.mobile-menu-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(201, 168, 76, 0.12), transparent 60%);
  pointer-events: none;
}
.mm-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2px solid var(--gold);
  z-index: 2;
  pointer-events: none;
  opacity: .75;
  animation: mmCornerPulse 4s ease-in-out infinite;
}
.mm-tl { top: 10px; inset-inline-end: 10px; border-inline-start: none; border-bottom: none; }
.mm-tr { top: 10px; inset-inline-start: 10px; border-inline-end: none; border-bottom: none; animation-delay: .5s; }
.mm-bl { bottom: 10px; inset-inline-end: 10px; border-inline-start: none; border-top: none; animation-delay: 1s; }
.mm-br { bottom: 10px; inset-inline-start: 10px; border-inline-end: none; border-top: none; animation-delay: 1.5s; }
@keyframes mmCornerPulse {
  0%, 100% { opacity: .45; }
  50% { opacity: 1; box-shadow: 0 0 10px rgba(168, 132, 46, 0.25); }
}
.mobile-menu-head {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .85rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(168, 132, 46, 0.16);
}
.mobile-menu-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.mobile-menu-close {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(168, 132, 46, 0.28);
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.9);
  color: var(--dark);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .25s, color .25s;
}
.mobile-menu-close:hover {
  background: rgba(168, 132, 46, 0.12);
  border-color: rgba(168, 132, 46, 0.45);
  color: var(--gold-dark);
  transform: rotate(90deg);
}
.mobile-menu-links {
  position: relative;
  z-index: 3;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.mobile-menu-links li {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity .45s cubic-bezier(.22, 1, .36, 1),
    transform .45s cubic-bezier(.22, 1, .36, 1);
  transition-delay: calc(var(--i, 0) * 0.07s + 0.08s);
}
.mobile-menu.open .mobile-menu-links li {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu-links a {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .88rem 1rem;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--dark);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: background .28s, border-color .28s, transform .28s, color .28s;
}
.mobile-menu-links a:hover,
.mobile-menu-links a:active,
.mobile-menu-links a:focus-visible {
  background: rgba(168, 132, 46, 0.1);
  border-color: rgba(168, 132, 46, 0.22);
  color: var(--gold-dark);
  transform: translateX(-3px);
}
[dir="ltr"] .mobile-menu-links a:hover,
[dir="ltr"] .mobile-menu-links a:active,
[dir="ltr"] .mobile-menu-links a:focus-visible {
  transform: translateX(3px);
}
.mob-link-num {
  flex-shrink: 0;
  min-width: 1.65rem;
  font-family: var(--font-en-b);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--gold);
  opacity: .7;
}
.mob-link-text {
  flex: 1;
  line-height: 1.35;
}
.mobile-menu .mob-actions {
  position: relative;
  z-index: 3;
  display: flex;
  gap: .75rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(168, 132, 46, 0.22);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s .28s ease, transform .45s .28s cubic-bezier(.22, 1, .36, 1);
}
.mobile-menu.open .mob-actions {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu .mob-menu-cta {
  flex: 1;
  justify-content: center;
  text-align: center;
  border-radius: 8px;
  box-shadow: var(--shadow-gold);
}
body.menu-open {
  overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .nav-bar-frame {
    animation: none !important;
  }
  .mobile-menu,
  .mobile-menu-panel,
  .mobile-menu-backdrop,
  .mobile-menu-links li,
  .mobile-menu .mob-actions,
  .mm-corner {
    transition: none !important;
    animation: none !important;
  }
  .mobile-menu.open .mobile-menu-links li,
  .mobile-menu.open .mob-actions {
    opacity: 1;
    transform: none;
  }
}

/* ── Mobile navbar (<992px) ── */
@media (max-width: 991px) {
  #navbar {
    padding: max(.45rem, env(safe-area-inset-top, 0px)) 0 .35rem;
    background: transparent !important;
    backdrop-filter: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    overflow: visible;
  }
  #navbar.scrolled,
  body.menu-open #navbar {
    background: transparent !important;
    backdrop-filter: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
  }

  #navbar .container {
    width: 100%;
    max-width: 100%;
    padding-inline: max(.75rem, env(safe-area-inset-left, 0px)) max(.75rem, env(safe-area-inset-right, 0px));
  }

  .nav-bar-frame {
    position: relative;
    background: linear-gradient(165deg, rgba(255, 252, 248, 0.98) 0%, rgba(248, 241, 232, 0.96) 100%);
    border: 1px solid rgba(168, 132, 46, 0.3);
    border-radius: 18px;
    padding: .65rem .85rem;
    box-shadow:
      0 10px 32px rgba(26, 26, 26, 0.1),
      0 0 0 1px rgba(255, 255, 255, 0.62) inset,
      var(--shadow-gold);
    overflow: hidden;
    animation: navFrameIn .55s cubic-bezier(.22, 1, .36, 1) .05s both;
    transition: box-shadow .35s ease, border-color .35s ease, transform .35s ease, padding .35s ease;
  }
  #navbar.scrolled .nav-bar-frame,
  body.menu-open .nav-bar-frame {
    border-color: rgba(168, 132, 46, 0.42);
    box-shadow:
      0 14px 36px rgba(26, 26, 26, 0.14),
      0 0 0 1px rgba(255, 255, 255, 0.7) inset,
      var(--shadow-gold);
  }
  .nav-bar-frame::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: .8;
    z-index: 1;
    pointer-events: none;
  }
  .nav-bar-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 80% at 50% -30%, rgba(201, 168, 76, 0.1), transparent 62%);
    pointer-events: none;
  }
  .nb-corner {
    display: block;
    position: absolute;
    width: 14px;
    height: 14px;
    border: 1.5px solid var(--gold);
    z-index: 2;
    pointer-events: none;
    opacity: .65;
  }
  .nb-tl { top: 7px; inset-inline-end: 7px; border-inline-start: none; border-bottom: none; }
  .nb-tr { top: 7px; inset-inline-start: 7px; border-inline-end: none; border-bottom: none; }
  .nb-bl { bottom: 7px; inset-inline-end: 7px; border-inline-start: none; border-top: none; }
  .nb-br { bottom: 7px; inset-inline-start: 7px; border-inline-end: none; border-top: none; }

  @keyframes navFrameIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .container {
    padding-inline: max(1rem, env(safe-area-inset-left, 0px)) max(1rem, env(safe-area-inset-right, 0px));
  }

  .nav-inner {
    position: relative;
    z-index: 3;
    gap: .5rem;
    align-items: center;
    min-height: 44px;
  }

  .nav-start {
    flex: 1 1 auto;
    min-width: 0;
    gap: .45rem;
    overflow: hidden;
  }

  .nav-logo {
    flex: 0 1 auto;
    min-width: 0;
    gap: .42rem;
    overflow: hidden;
  }

  .nav-logo-mark {
    width: 38px;
    height: 38px;
  }

  .nav-logo .logo-dark {
    width: 38px;
  }

  .nav-logo-text {
    font-size: clamp(.72rem, 2.9vw, .92rem);
    flex-shrink: 1;
    min-width: 0;
  }

  .nav-brand-main {
    letter-spacing: .05em;
  }

  .nav-brand-sub {
    font-size: .46em;
    letter-spacing: .28em;
    padding-left: .14em;
  }

  .nav-cta-mobile {
    font-size: .62rem;
    padding: .38em .58em;
    letter-spacing: .06em;
    border-color: rgba(168, 132, 46, 0.35);
    background: rgba(255, 252, 248, 0.72);
    border-radius: 8px;
  }

  [dir="rtl"] .nav-cta-mobile {
    font-size: .68rem;
    letter-spacing: 0;
    padding: .38em .52em;
  }

  .mob-lang-btn {
    min-width: 34px;
    min-height: 30px;
    padding: .32em .42em;
    font-size: .62rem;
    border-radius: 8px;
    border-color: rgba(168, 132, 46, 0.28);
    background: rgba(255, 252, 248, 0.72);
  }

  .hamburger {
    padding: 2px;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    border: 1px solid rgba(168, 132, 46, 0.18);
    background: rgba(255, 252, 248, 0.55);
    transition: background .25s, border-color .25s, transform .25s;
  }
  .hamburger:hover,
  .hamburger.open {
    border-color: rgba(168, 132, 46, 0.38);
    background: rgba(168, 132, 46, 0.1);
  }

  /* منع reveal الأفقي — سبب تحريك الصفحة يمين/شمال */
  .reveal-left,
  .reveal-right {
    transform: translateY(28px);
  }
  [dir="ltr"] .reveal-left,
  [dir="ltr"] .reveal-right {
    transform: translateY(28px);
  }
  .reveal-left.visible,
  .reveal-right.visible {
    transform: translateY(0);
  }

  .hero-content {
    padding-inline: 0;
  }

  .chairman-content {
    padding: 1.25rem 0;
    min-width: 0;
  }

  .chairman-img-wrap {
    padding: 1rem 0;
    min-width: 0;
  }

  #chairman .reveal-left,
  #chairman .reveal-right {
    opacity: 1;
    transform: none !important;
  }
}

@media (max-width: 380px) {
  #navbar .container,
  .container {
    padding-inline: max(.85rem, env(safe-area-inset-left, 0px)) max(.85rem, env(safe-area-inset-right, 0px));
  }

  .nav-inner { gap: .35rem; }

  .nav-logo-mark {
    width: 34px;
    height: 34px;
  }

  .nav-logo .logo-dark { width: 34px; }

  .nav-logo-text {
    font-size: clamp(.64rem, 2.6vw, .76rem);
  }

  .nav-cta-mobile {
    font-size: .56rem;
    padding: .34em .42em;
  }

  [dir="rtl"] .nav-cta-mobile { font-size: .6rem; }
}

/* ── Desktop navbar ── */
@media (min-width: 992px) {
  #navbar,
  #navbar.scrolled,
  body.menu-open #navbar {
    padding: 1.15rem 0;
    background: transparent !important;
    backdrop-filter: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
  }
  .nav-bar-frame {
    background: linear-gradient(165deg, rgba(255, 252, 248, 0.98) 0%, rgba(248, 241, 232, 0.97) 100%);
    border: 1px solid rgba(168, 132, 46, 0.24);
    border-radius: 999px;
    padding: 1.1rem 2.15rem;
    box-shadow:
      0 14px 42px rgba(26, 26, 26, 0.09),
      0 0 0 1px rgba(255, 255, 255, 0.68) inset,
      var(--shadow-gold);
    overflow: hidden;
    animation: none;
    transition: box-shadow .35s ease, border-color .35s ease, padding .35s ease, transform .35s ease;
  }
  .nav-bar-frame::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    inset-inline: 8%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: .75;
    z-index: 1;
    pointer-events: none;
  }
  .nav-bar-frame::after {
    content: '';
    display: block;
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 75% 90% at 50% -35%, rgba(201, 168, 76, 0.1), transparent 62%);
    pointer-events: none;
  }
  #navbar.scrolled .nav-bar-frame {
    border-color: rgba(168, 132, 46, 0.38);
    box-shadow:
      0 18px 48px rgba(26, 26, 26, 0.12),
      0 0 0 1px rgba(255, 255, 255, 0.72) inset,
      var(--shadow-gold);
  }
  .nav-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2.5rem);
    min-height: 58px;
    direction: inherit;
    position: relative;
    z-index: 2;
  }
  .nav-start {
    flex: none;
    width: auto;
    gap: 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-self: start;
  }
  .nav-links {
    display: flex;
    flex: none;
    justify-self: center;
    gap: clamp(1.15rem, 2vw, 2rem);
    white-space: nowrap;
  }
  .nav-right {
    display: flex;
    flex: none;
    width: auto;
    min-width: 0;
    justify-self: end;
    justify-content: flex-end;
    align-items: center;
    gap: .75rem;
    flex-wrap: nowrap;
  }
  .nav-right .lang-btn,
  .nav-right .cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
  }
  .nav-inner .hamburger { display: none; }
  .nav-end { display: none; }
  .nav-logo {
    min-width: 0;
    max-width: 100%;
  }
  .nav-logo-mark {
    width: 48px;
    height: 48px;
  }
  .nav-logo .logo-dark { width: 48px; }
  .nav-logo-text { font-size: 1.24rem; }
  .mobile-menu { display: none !important; }

  /* PRD desktop — same floating pill nav as homepage */
  body[data-page="prd"] .prd-nav-inner , body[data-page="construction"] .prd-nav-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2.5rem);
    min-height: 58px;
    direction: inherit;
  }
  body[data-page="prd"] .prd-nav-brand , body[data-page="construction"] .prd-nav-brand {
    display: flex;
    align-items: center;
    justify-self: start;
    flex: none;
    gap: 0;
  }
  body[data-page="prd"] .prd-nav-brand .hamburger , body[data-page="construction"] .prd-nav-brand .hamburger {
    display: none;
  }
  body[data-page="prd"] .prd-nav-menu , body[data-page="construction"] .prd-nav-menu {
    display: flex;
    flex: none;
    justify-self: center;
    align-items: center;
    gap: clamp(1.15rem, 2vw, 2rem);
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
  }
  body[data-page="prd"] .prd-nav-menu li:last-child , body[data-page="construction"] .prd-nav-menu li:last-child {
    display: none;
  }
  body[data-page="prd"] .prd-nav-tools , body[data-page="construction"] .prd-nav-tools {
    display: flex;
    flex: none;
    justify-self: end;
    align-items: center;
    gap: .75rem;
  }
  body[data-page="prd"] .prd-nav-tools .cta-btn , body[data-page="construction"] .prd-nav-tools .cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
  }
  body[data-page="prd"] .nav-end , body[data-page="construction"] .nav-end {
    display: none;
  }
  body[data-page="prd"] .nav-logo-mark-prd {
    width: 62px;
    height: 50px;
    flex: 0 0 62px;
  }
  body[data-page="prd"] .nav-logo-prd-img {
    width: 104px;
  }
  body[data-page="prd"] .nav-logo-prd-text .nav-brand-main {
    font-size: .9rem;
  }
  body[data-page="prd"] .nav-logo-prd-text .nav-brand-sub {
    font-size: .54rem;
  }
  body[data-page="construction"] .nav-logo-mark-construction {
    width: 56px;
    height: 48px;
    flex: 0 0 56px;
  }
  body[data-page="construction"] .nav-logo-construction-img {
    width: 56px;
  }
  body[data-page="construction"] .nav-logo-construction-text .nav-brand-main {
    font-size: .88rem;
  }
  body[data-page="construction"] .nav-logo-construction-text .nav-brand-sub {
    font-size: .52rem;
  }

  body:not([data-page="prd"]) .nav-links li:last-child {
    display: none;
  }

  /* ── Desktop alignment ── */
  .vm-grid {
    max-width: 960px;
    margin-inline: auto;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1000px;
    margin-inline: auto;
  }

  .why-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - .75rem);
    max-width: 480px;
    justify-self: center;
  }

  .companies-grid {
    gap: 1.75rem;
  }

  .check-list,
  .csr-grid {
    max-width: 960px;
    margin-inline: auto;
  }

  .contact-grid {
    max-width: 1040px;
    margin-inline: auto;
  }

  /* ── Chairman desktop ── */
  .chairman-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1120px;
    margin-inline: auto;
    min-height: auto;
    padding: 1.25rem 0;
  }

  [dir="rtl"] .chairman-grid {
    flex-direction: row-reverse;
  }

  [dir="ltr"] .chairman-grid {
    flex-direction: row;
  }

  .chairman-img-wrap {
    flex: 0 0 auto;
    width: min(560px, 48vw);
    padding: 0;
    justify-content: center;
  }

  .chairman-portrait {
    max-width: 100%;
    width: 100%;
    margin-inline: 0;
    padding: 1.1rem;
  }

  .chairman-content {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 580px;
    padding: 0;
  }

  .chairman-text {
    font-size: 1.22rem;
    line-height: 1.92;
    margin-bottom: 1.35rem;
  }

  .chairman-promise {
    font-size: 1.28rem;
    line-height: 1.88;
    margin: 1.35rem 0 1.75rem;
  }

  .chairman-name {
    font-size: 1.55rem;
  }

  .chairman-role {
    font-size: 1.12rem;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  #navbar .nav-right .social-icon {
    display: none;
  }
  .nav-links {
    gap: 1rem;
  }
  .nav-links a {
    font-size: .88rem;
  }
  [dir="rtl"] .nav-links a {
    font-size: .9rem;
  }
  .nav-right {
    gap: .55rem;
  }
  .nav-right .cta-btn {
    padding-inline: .95em;
  }
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
#hero,
#hero.hero-cream {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: var(--cream-bg);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-cream .hero-bg,
.hero-cream .hero-overlay,
.hero-cream .hero-pattern,
.hero-cream::before {
  display: none !important;
}
.hero-logo-wrap {
  margin: 0 auto 1.35rem;
  opacity: 0;
  animation: heroFadeSlide .85s .15s cubic-bezier(.22,1,.36,1) forwards;
  cursor: pointer;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.hero-logo-wrap:is(:hover, :active, .touch-active) {
  transform: scale(1.03) translateY(-3px);
}
.hero-logo-wrap:is(:hover, :active, .touch-active) .hero-logo {
  animation: iconWiggle .55s ease;
}
.hero-logo.hero-logo-group {
  width: min(180px, 42vw);
}
.hero-logo {
  display: block;
  width: min(300px, 78vw);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}
.prd-zone {
  border-top: 1px solid rgba(201, 168, 76, .18);
}
.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
  justify-content: center;
  gap: 1.75rem;
  max-width: 960px;
  margin: 0 auto;
}
.company-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  width: 100%;
  max-width: 380px;
  justify-self: center;
  padding: 0;
  background: var(--cream-card, #fff);
  border: 1px solid rgba(201, 168, 76, .22);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  position: relative;
  box-shadow: 0 8px 28px rgba(26, 26, 26, .05);
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s, border-color .35s;
}
.company-card::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity .35s;
  z-index: 1;
}
.company-card-active:is(:hover, :active, :focus-visible, .touch-active) {
  transform: translateY(-8px);
  border-color: rgba(201, 168, 76, .5);
  box-shadow: 0 20px 44px rgba(168, 132, 46, .14);
}
.company-card-active:is(:hover, :active, :focus-visible, .touch-active)::before {
  opacity: 1;
}
.company-card-pending:is(:hover, :active, .touch-active) {
  transform: none;
  border-color: rgba(201, 168, 76, .22);
  box-shadow: 0 8px 28px rgba(26, 26, 26, .05);
}
.company-logo-wrap {
  width: 100%;
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  padding: 1.75rem 1.5rem 1.35rem;
  background: linear-gradient(180deg, rgba(201, 168, 76, .1) 0%, rgba(255, 252, 248, 0) 100%);
  border-bottom: 1px solid rgba(168, 132, 46, .1);
}
.company-logo-wrap img {
  max-width: 160px;
  max-height: 72px;
  object-fit: contain;
}
.company-logo-wrap .logo-dark {
  max-width: 140px;
  max-height: 76px;
  height: auto;
}
.company-subsidiaries-list li {
  font-weight: 600;
  color: var(--dark);
}
.company-subsidiaries-logos {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  text-align: center;
  padding: 0;
  margin: 0;
  width: 100%;
  list-style: none;
}
.company-subsidiaries-logos li {
  padding-inline-start: 0;
  list-style: none;
  width: 100%;
  display: flex;
  justify-content: center;
}
.company-subsidiaries-logos li::before {
  display: none;
}
.company-sub-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 280px);
  min-height: 110px;
  padding: 1.15rem 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(168, 132, 46, .16);
  background: linear-gradient(180deg, rgba(255, 252, 248, .95) 0%, rgba(242, 235, 225, .55) 100%);
  transition: transform .25s ease, border-color .25s, box-shadow .25s;
  text-decoration: none;
  cursor: pointer;
}
.company-sub-link:is(:hover, :active, .touch-active) {
  transform: translateY(-4px);
  border-color: rgba(168, 132, 46, .45);
  box-shadow: 0 14px 32px rgba(26, 26, 26, .1);
}
.company-sub-link:is(:hover, :active, .touch-active) .company-sub-logo {
  animation: iconWiggle .55s ease;
}
.company-sub-pending {
  cursor: default;
}
.company-sub-logo {
  display: block;
  max-width: 200px;
  max-height: 78px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .25s ease;
}
.company-sub-logo-prd {
  max-width: 280px;
  max-height: 112px;
  width: 100%;
}
.company-sub-logo-constructions {
  max-width: 240px;
  max-height: 96px;
  width: 100%;
}
.company-card-group {
  cursor: default;
  min-height: 340px;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(201, 168, 76, .07) 0%, rgba(255, 252, 248, 0) 40%),
    var(--cream-card, #fff);
}
.company-card-group:is(:hover, :active, .touch-active) {
  transform: none;
}
.company-card-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.35rem 1.5rem 1.5rem;
  gap: .45rem;
}
.company-card-body-subs {
  flex: 1;
  justify-content: center;
  padding: 2.25rem 1.75rem;
  gap: 0;
}
.company-card-body > * {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
}
.company-name {
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--dark);
}
.company-desc {
  font-size: .86rem;
  color: var(--muted);
  line-height: 1.55;
}
.company-group-tag {
  display: inline-block;
  width: auto;
  max-width: 100%;
  margin-top: .25rem;
  padding: .35em .85em;
  font-size: .68rem;
  color: var(--gold-dark, var(--gold));
  letter-spacing: .03em;
  line-height: 1.45;
  background: rgba(201, 168, 76, .1);
  border: 1px solid rgba(201, 168, 76, .22);
  border-radius: 999px;
}
.company-preview-list {
  list-style: none;
  width: 100%;
  margin: .75rem 0 0;
  padding: .85rem 0 0;
  border-top: 1px dashed rgba(168, 132, 46, .22);
  display: flex;
  flex-direction: column;
  gap: .45rem;
  text-align: start;
}
.company-preview-list li {
  position: relative;
  padding-inline-start: 1rem;
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.5;
}
.company-preview-list li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: .55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.company-projects-count {
  display: inline-block;
  width: auto;
  margin-top: .15rem;
  padding: .28em .7em;
  font-size: .7rem;
  font-weight: 700;
  color: var(--dark);
  background: rgba(26, 26, 26, .04);
  border-radius: 6px;
}
.company-tag {
  font-size: .72rem;
  color: var(--gold);
  letter-spacing: .04em;
  line-height: 1.5;
}
.prd-back-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .25s;
}
.prd-back-link:hover { color: var(--gold); }

/* Site opening preloader (Palmier-style split reveal) */
html.site-loading,
html.site-loading body {
  overflow: hidden;
  height: 100%;
}
.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
}
.site-preloader-stage {
  position: relative;
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.site-preloader-logo {
  width: min(180px, 48vw);
  height: auto;
  max-height: 90px;
  object-fit: contain;
  opacity: 0.96;
}
.site-preloader-logo-group {
  width: min(280px, 58vw);
  max-height: none;
  height: auto;
}
.site-preloader-logo-group.logo-dark {
  height: auto;
  max-height: none;
}
.site-preloader-brand {
  display: none;
}
.site-preloader-indicator {
  width: min(250px, 42vw);
  height: 2px;
  background: rgba(168, 132, 46, 0.28);
  overflow: hidden;
  border-radius: 999px;
  margin-top: 0.25rem;
}
.site-preloader-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border-radius: inherit;
  transition: width 0.12s linear;
}
.site-preloader-top,
.site-preloader-bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  background: var(--cream-card);
  z-index: 2;
  will-change: transform;
  transition: transform 1.05s cubic-bezier(0.77, 0, 0.18, 1);
}
.site-preloader-top { top: 0; }
.site-preloader-bottom { bottom: 0; }
.site-preloader.is-revealing .site-preloader-top { transform: translateY(-100%); }
.site-preloader.is-revealing .site-preloader-bottom { transform: translateY(100%); }
.site-preloader.is-revealing .site-preloader-stage {
  opacity: 0;
  transform: scale(0.98);
}

body[data-page="prd"] #navbar , body[data-page="construction"] #navbar {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}
body[data-page="prd"] #navbar.scrolled , body[data-page="construction"] #navbar.scrolled {
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
}
body[data-page="prd"] .nav-logo-prd {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  color: inherit;
}
body[data-page="construction"] .nav-logo-prd {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  color: inherit;
}
/* Clip full PRD.png to emblem only — name is beside via .nav-logo-prd-text */
body[data-page="prd"] .nav-logo-mark-prd {
  width: 56px;
  height: 46px;
  flex: 0 0 56px;
  position: relative;
  overflow: hidden;
  background: transparent;
}
/* Construction: clip emblem only — name beside via .nav-logo-construction-text */
body[data-page="construction"] .nav-logo-mark-prd {
  display: none;
}
body[data-page="construction"] .nav-logo-mark-construction {
  width: 48px;
  height: 42px;
  flex: 0 0 48px;
  position: relative;
  overflow: hidden;
  background: transparent;
  display: block;
}
body[data-page="construction"] .nav-logo-construction-img {
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  width: 48px;
  max-width: none;
  height: auto;
  transform: translateX(-50%);
  object-fit: contain;
  object-position: top center;
  mix-blend-mode: multiply;
  filter: none !important;
}
body[data-page="construction"] .nav-logo-construction-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .08rem;
  line-height: 1.05;
  min-width: 0;
}
body[data-page="construction"] .nav-logo-construction-text .nav-brand-main {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--dark, #1a1612);
}
body[data-page="construction"] .nav-logo-construction-text .nav-brand-sub {
  font-size: .46rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--muted, #6b635a);
}
body[data-page="prd"] .nav-logo-prd-img {
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  width: 96px;
  max-width: none;
  height: auto;
  transform: translateX(-50%);
  object-fit: contain;
  object-position: top center;
  /* remove gray/black plate of PNG on cream bar */
  mix-blend-mode: multiply;
  filter: none;
}
body[data-page="construction"] .nav-logo-prd-img {
  display: none;
}
body[data-page="prd"] .nav-logo-prd-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .08rem;
  line-height: 1.05;
  min-width: 0;
}
body[data-page="prd"] .nav-logo-prd-text .nav-brand-main {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--dark, #1a1612);
}
body[data-page="prd"] .nav-logo-prd-text .nav-brand-sub {
  font-size: .5rem;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--muted, #6b635a);
}
body[data-page="prd"] .prd-hero-cine , body[data-page="construction"] .prd-hero-cine {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}
body[data-page="prd"] .prd-hero-bg , body[data-page="construction"] .prd-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
body[data-page="prd"] .prd-hero-bg video, body[data-page="construction"] .prd-hero-bg video,
body[data-page="prd"] .prd-hero-bg img , body[data-page="construction"] .prd-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
}
body[data-page="prd"] .prd-hero-video , body[data-page="construction"] .prd-hero-video {
  display: block;
  pointer-events: none;
}
body[data-page="prd"] .prd-hero-overlay , body[data-page="construction"] .prd-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(18, 14, 10, 0.55) 0%, rgba(18, 14, 10, 0.72) 55%, rgba(242, 235, 225, 0.98) 100%),
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(168, 132, 46, 0.12), transparent 70%);
}
body[data-page="prd"] .prd-hero-content , body[data-page="construction"] .prd-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: max(5.5rem, calc(80px + env(safe-area-inset-top, 0px)));
  padding-bottom: 4.5rem;
}
body[data-page="prd"] .prd-hero-inner , body[data-page="construction"] .prd-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
body[data-page="prd"] .prd-hero-logo , body[data-page="construction"] .prd-hero-logo {
  width: min(240px, 62vw);
  height: auto;
  max-height: 120px;
  object-fit: contain;
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}
body[data-page="prd"] .prd-hero-logo {
  filter: brightness(0) invert(1) drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}
body[data-page="prd"] #navbar .nav-logo-prd-text .nav-brand-main {
  color: var(--dark, #1a1612);
}
body[data-page="prd"] #navbar .nav-logo-prd-text .nav-brand-sub {
  color: var(--muted, #6b635a);
}
/* Desktop PRD nav sits on cream pill — keep logo/text dark always */
@media (min-width: 992px) {
  body[data-page="prd"] #navbar .nav-logo-prd-img,
  body[data-page="prd"] #navbar:not(.scrolled) .nav-logo-prd-img,
  body[data-page="prd"] #navbar.scrolled .nav-logo-prd-img {
    filter: none;
    mix-blend-mode: multiply;
  }
  body[data-page="prd"] #navbar .nav-logo-prd-text .nav-brand-main,
  body[data-page="prd"] #navbar:not(.scrolled) .nav-logo-prd-text .nav-brand-main {
    color: var(--dark, #1a1612);
  }
  body[data-page="prd"] #navbar .nav-logo-prd-text .nav-brand-sub,
  body[data-page="prd"] #navbar:not(.scrolled) .nav-logo-prd-text .nav-brand-sub {
    color: var(--muted, #6b635a);
  }
}
body[data-page="prd"] .prd-hero-kicker , body[data-page="construction"] .prd-hero-kicker {
  display: inline-block;
  margin: 0 0 .85rem;
  padding: .38em .85em;
  border-radius: 999px;
  border: 1px solid rgba(201, 168, 76, 0.45);
  background: rgba(18, 14, 10, 0.35);
  backdrop-filter: blur(6px);
  font-size: .78rem;
  letter-spacing: .06em;
  color: rgba(255, 252, 248, 0.92);
}
body[data-page="prd"] .prd-hero-title , body[data-page="construction"] .prd-hero-title {
  margin: 0 0 .75rem;
  font-family: var(--font-brand-latin);
  font-size: clamp(1.85rem, 6vw, 3.2rem);
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.15;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.35);
}
body[data-page="prd"] .prd-hero-tagline , body[data-page="construction"] .prd-hero-tagline {
  margin: 0 auto 1.75rem;
  max-width: 34rem;
  font-size: clamp(.95rem, 2.8vw, 1.12rem);
  line-height: 1.75;
  color: rgba(255, 252, 248, 0.88);
}
body[data-page="prd"] .prd-hero-actions , body[data-page="construction"] .prd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
}
body[data-page="prd"] .prd-hero-btn-outline , body[data-page="construction"] .prd-hero-btn-outline {
  background: rgba(255, 252, 248, 0.08);
  border-color: rgba(255, 252, 248, 0.55);
  color: #fff;
}
body[data-page="prd"] .prd-hero-btn-outline:hover , body[data-page="construction"] .prd-hero-btn-outline:hover {
  background: rgba(255, 252, 248, 0.16);
  border-color: var(--gold-light);
  color: #fff;
}
body[data-page="prd"] .prd-hero-scroll , body[data-page="construction"] .prd-hero-scroll {
  position: absolute;
  bottom: 1.35rem;
  inset-inline: 0;
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  margin: 0 auto;
  width: fit-content;
  color: rgba(255, 252, 248, 0.75);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  animation: prdScrollBounce 2.2s ease-in-out infinite;
}
@keyframes prdScrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
@media (max-width: 991px) {
  body[data-page="prd"] .prd-nav-inner {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: .35rem;
    position: relative;
  }
  body[data-page="construction"] .prd-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
  }
  body[data-page="prd"] .prd-nav-brand {
    display: contents;
  }
  body[data-page="construction"] .prd-nav-brand {
    display: flex;
    align-items: center;
    gap: .45rem;
    flex: 1 1 auto;
    min-width: 0;
  }
  body[data-page="construction"] .nav-logo-construction {
    max-width: min(280px, 64vw);
    gap: .5rem;
  }
  body[data-page="construction"] .nav-logo-mark-construction {
    width: 46px;
    height: 40px;
    flex: 0 0 46px;
  }
  body[data-page="construction"] .nav-logo-construction-img {
    width: 46px;
    filter: none !important;
    mix-blend-mode: multiply;
  }
  body[data-page="construction"] .nav-logo-construction-text .nav-brand-main {
    font-size: clamp(.68rem, 2.6vw, .8rem);
  }
  body[data-page="construction"] .nav-logo-construction-text .nav-brand-sub {
    font-size: .44rem;
  }
  body[data-page="prd"] .prd-nav-brand .hamburger {
    grid-column: 1;
    justify-self: start;
  }
  body[data-page="prd"] .nav-logo-prd {
    grid-column: 2;
    justify-self: center;
    max-width: min(280px, 64vw);
    gap: .5rem;
  }
  body[data-page="prd"] .nav-logo-mark-prd {
    width: 52px;
    height: 42px;
    flex: 0 0 52px;
  }
  body[data-page="prd"] .nav-logo-prd-img {
    width: 90px;
    filter: none !important;
    mix-blend-mode: multiply;
  }
  body[data-page="prd"] .nav-logo-prd-text .nav-brand-main {
    font-size: clamp(.7rem, 2.8vw, .82rem);
  }
  body[data-page="prd"] .nav-logo-prd-text .nav-brand-sub {
    font-size: .46rem;
  }
  body[data-page="prd"] .nav-end {
    grid-column: 3;
    justify-self: end;
  }
  body[data-page="prd"] .prd-nav-menu, body[data-page="construction"] .prd-nav-menu,
  body[data-page="prd"] .prd-nav-tools , body[data-page="construction"] .prd-nav-tools {
    display: none;
  }
  body[data-page="prd"] #navbar .nav-bar-frame , body[data-page="construction"] #navbar .nav-bar-frame {
    background: rgba(255, 252, 248, 0.94);
  }
  body[data-page="prd"] #navbar .nav-logo-prd-img {
    filter: none !important;
  }
}

body[data-page="prd"] .prd-projects-section , body[data-page="construction"] .prd-projects-section { overflow: hidden; padding-top: 3.5rem; }

/* PRD project cards → separate detail page */
.prd-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 1120px;
  margin: 0 auto;
}
.prd-project-card {
  border: 1px solid rgba(168, 132, 46, 0.22);
  background: rgba(255, 255, 255, 0.86);
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.prd-project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 168, 76, 0.55);
  box-shadow: 0 18px 40px rgba(26, 22, 18, 0.1);
}
.prd-project-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}
.prd-card-media {
  position: relative;
  height: 220px;
  background: #111;
  overflow: hidden;
}
.prd-card-track { position: absolute; inset: 0; }
.prd-card-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
}
.prd-card-slide.is-active { opacity: 1; z-index: 0; }
.prd-card-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.prd-card-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(10, 8, 6, .55) 0%, transparent 55%);
  pointer-events: none;
}
.prd-card-media .project-status {
  position: absolute;
  top: .85rem;
  inset-inline-start: .85rem;
  z-index: 3;
}
.prd-card-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, .5);
  background: rgba(10, 10, 10, .6);
  color: #C9A84C;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  line-height: 1;
}
.prd-card-prev { inset-inline-start: .55rem; }
.prd-card-next { inset-inline-end: .55rem; }
.prd-card-dots {
  position: absolute;
  bottom: .55rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: .3rem;
}
.prd-card-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  cursor: pointer;
}
.prd-card-dot.is-active { background: #C9A84C; transform: scale(1.2); }
.prd-card-body { padding: 1.15rem 1.2rem 1.3rem; }
.prd-card-type {
  display: inline-block;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(138, 110, 38, .95);
  margin-bottom: .4rem;
}
.prd-card-name {
  margin: 0 0 .35rem;
  font-size: 1.15rem;
  color: #1a1612;
}
.prd-card-loc {
  margin: 0 0 .7rem;
  font-size: .88rem;
  color: rgba(42, 36, 28, .65);
}
.prd-card-blurb {
  margin: 0 0 1rem;
  font-size: .92rem;
  line-height: 1.7;
  color: rgba(42, 36, 28, .8);
  min-height: 3.4em;
}
.prd-card-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .88rem;
  font-weight: 700;
  color: #8A6E26;
  letter-spacing: .02em;
}
.prd-project-card:hover .prd-card-more { color: #6e571c; gap: .55rem; }
[dir="rtl"] .prd-card-more svg { transform: scaleX(-1); }
.prd-cards-empty { text-align: center; color: var(--muted); padding: 2rem; }

/* PRD project detail page */
.prd-detail-page { padding-top: 7.5rem; }
.prd-detail-back {
  display: inline-flex;
  margin-bottom: 1.5rem;
  color: #8A6E26;
  text-decoration: none;
  font-weight: 600;
}
.prd-detail-back:hover { color: #6e571c; }
.prd-detail-hero {
  position: relative;
  min-height: min(48vh, 420px);
  overflow: hidden;
  background: #111;
  margin-bottom: 1.75rem;
}
.prd-detail-hero img {
  width: 100%;
  height: 100%;
  min-height: min(48vh, 420px);
  object-fit: cover;
  display: block;
}
.prd-detail-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,8,6,.2) 0%, rgba(10,8,6,.78) 100%);
}
.prd-detail-hero-text {
  position: absolute;
  inset-inline: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
  color: #faf6f0;
  max-width: min(920px, calc(100% - 2.5rem));
}
.prd-detail-hero-text .project-status,
#prd-detail-status {
  position: static;
  display: inline-block;
  margin: 0 0 .65rem;
  right: auto;
  left: auto;
  top: auto;
}
.prd-detail-hero-text h1 {
  margin: 0 0 .45rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.3;
  font-weight: 800;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .45);
}
.prd-detail-hero-text p {
  margin: 0;
  opacity: .9;
  line-height: 1.5;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .4);
}
.prd-detail-body {
  max-width: 860px;
  margin: 0 auto 2.5rem;
}
.prd-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.1rem;
  margin-bottom: 1rem;
  color: rgba(42, 36, 28, .7);
  font-size: .92rem;
}
.prd-detail-desc {
  line-height: 1.85;
  color: rgba(42, 36, 28, .86);
  margin: 0 0 1.25rem;
}
.prd-detail-features {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.prd-detail-block-title {
  text-align: center;
  margin: 0 0 1.1rem;
  font-size: 1.25rem;
  color: #8A6E26;
}
.prd-detail-gallery-block,
.prd-detail-videos-block {
  max-width: 980px;
  margin: 0 auto 2.75rem;
}
.prd-detail-empty {
  text-align: center;
  padding: 4rem 1rem;
}
@media (max-width: 1024px) {
  .prd-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .prd-cards-grid { grid-template-columns: 1fr; }
}
body[data-page="prd"] .prd-slider , body[data-page="construction"] .prd-slider {
  position: relative;
  max-width: 720px;
  margin: 2rem auto 0;
}
body[data-page="prd"] .prd-slider-viewport , body[data-page="construction"] .prd-slider-viewport {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(26, 26, 26, 0.14);
}
body[data-page="prd"] .prd-slider-track , body[data-page="construction"] .prd-slider-track {
  display: flex;
  direction: ltr;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}
body[data-page="prd"] .prd-slide , body[data-page="construction"] .prd-slide {
  flex: 0 0 100%;
  min-width: 100%;
}
body[data-page="prd"] .prd-slide-card , body[data-page="construction"] .prd-slide-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
body[data-page="prd"] .prd-slide-media , body[data-page="construction"] .prd-slide-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #111;
}
body[data-page="prd"] .prd-slide-media img , body[data-page="construction"] .prd-slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
body[data-page="prd"] .prd-slide-card:hover .prd-slide-media img , body[data-page="construction"] .prd-slide-card:hover .prd-slide-media img { transform: scale(1.04); }
body[data-page="prd"] .prd-slide-shade , body[data-page="construction"] .prd-slide-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.72) 0%, rgba(10, 10, 10, 0.08) 52%, transparent 100%);
}
body[data-page="prd"] .prd-slide-media .project-status , body[data-page="construction"] .prd-slide-media .project-status {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  z-index: 2;
}
body[data-page="prd"] .prd-slide-caption , body[data-page="construction"] .prd-slide-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.5rem 1.35rem 2.25rem;
  text-align: center;
}
body[data-page="prd"] .prd-slide-type , body[data-page="construction"] .prd-slide-type {
  display: block;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 252, 248, 0.78);
  margin-bottom: .45rem;
}
body[data-page="prd"] .prd-slide-name , body[data-page="construction"] .prd-slide-name {
  margin: 0 0 .35rem;
  font-family: var(--font-brand-latin);
  font-size: clamp(1.45rem, 5vw, 2rem);
  font-weight: 800;
  letter-spacing: .03em;
  color: #fff;
  line-height: 1.2;
}
body[data-page="prd"] .prd-slide-loc , body[data-page="construction"] .prd-slide-loc {
  margin: 0;
  font-size: .88rem;
  color: rgba(255, 252, 248, 0.82);
}
body[data-page="prd"] .prd-slider-controls , body[data-page="construction"] .prd-slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .85rem;
  margin-top: -26px;
  position: relative;
  z-index: 4;
}
body[data-page="prd"] .prd-slider-arrow , body[data-page="construction"] .prd-slider-arrow {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: none;
  background: #1a1612;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.28);
  transition: background .25s, transform .25s, opacity .25s;
}
body[data-page="prd"] .prd-slider-arrow:hover:not(:disabled) , body[data-page="construction"] .prd-slider-arrow:hover:not(:disabled) {
  background: var(--gold-dark);
  transform: scale(1.06);
}
body[data-page="prd"] .prd-slider-arrow:disabled , body[data-page="construction"] .prd-slider-arrow:disabled {
  opacity: .35;
  cursor: default;
}
body[data-page="prd"] .prd-slider-foot , body[data-page="construction"] .prd-slider-foot { text-align: center; margin-top: 2rem; }
@media (min-width: 768px) {
  body[data-page="prd"] .prd-slider , body[data-page="construction"] .prd-slider { max-width: 860px; }
  body[data-page="prd"] .prd-slide-media , body[data-page="construction"] .prd-slide-media { aspect-ratio: 16 / 11; }
}

/* PRD — Why We're Different (matches site value cards) */
body[data-page="prd"] .prd-identity , body[data-page="construction"] .prd-identity {
  background: var(--cream-alt);
  padding-top: 4rem;
  padding-bottom: 4.5rem;
}
body[data-page="prd"] .prd-identity-head , body[data-page="construction"] .prd-identity-head {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}
body[data-page="prd"] .prd-identity-title , body[data-page="construction"] .prd-identity-title {
  margin: 0;
  font-family: var(--font-brand-latin);
  font-size: clamp(.82rem, 2.2vw, 1rem);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dark);
  white-space: nowrap;
}
html[lang="ar"] body[data-page="prd"] .prd-identity-title , body[data-page="construction"] .prd-identity-title {
  font-family: var(--font-ar);
  letter-spacing: .04em;
  text-transform: none;
  font-size: clamp(1.05rem, 3vw, 1.35rem);
  font-weight: 800;
}
body[data-page="prd"] .prd-identity-line , body[data-page="construction"] .prd-identity-line {
  flex: 1;
  height: 1px;
  background: rgba(168, 132, 46, 0.22);
}
body[data-page="prd"] .prd-identity-grid , body[data-page="construction"] .prd-identity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}
body[data-page="prd"] .prd-pillar-card , body[data-page="construction"] .prd-pillar-card {
  background: var(--cream-card);
  border: 1px solid rgba(168, 132, 46, 0.18);
  border-radius: 14px;
  padding: 2rem 1.65rem 2.1rem;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: background .35s ease, transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
body[data-page="prd"] .prd-pillar-card:hover , body[data-page="construction"] .prd-pillar-card:hover {
  background: var(--dark);
  border-color: rgba(201, 168, 76, 0.45);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}
body[data-page="prd"] .prd-pillar-icon , body[data-page="construction"] .prd-pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(168, 132, 46, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: background .35s, border-color .35s, color .35s;
}
body[data-page="prd"] .prd-pillar-card:hover .prd-pillar-icon , body[data-page="construction"] .prd-pillar-card:hover .prd-pillar-icon {
  background: rgba(201, 168, 76, 0.18);
  border-color: var(--gold);
  color: var(--gold-light);
}
body[data-page="prd"] .prd-pillar-title , body[data-page="construction"] .prd-pillar-title {
  margin: 0 0 .85rem;
  font-family: var(--font-ar);
  font-size: clamp(1.05rem, 3vw, 1.2rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: .02em;
  transition: color .35s;
}
html[lang="en"] body[data-page="prd"] .prd-pillar-title , body[data-page="construction"] .prd-pillar-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
}
body[data-page="prd"] .prd-pillar-card:hover .prd-pillar-title , body[data-page="construction"] .prd-pillar-card:hover .prd-pillar-title {
  color: #fff;
}
body[data-page="prd"] .prd-pillar-text , body[data-page="construction"] .prd-pillar-text {
  margin: 0;
  font-size: clamp(.82rem, 2.2vw, .88rem);
  line-height: 1.75;
  color: var(--muted);
  transition: color .35s;
}
html[lang="en"] body[data-page="prd"] .prd-pillar-text , body[data-page="construction"] .prd-pillar-text {
  letter-spacing: .02em;
  text-transform: none;
}
body[data-page="prd"] .prd-pillar-card:hover .prd-pillar-text , body[data-page="construction"] .prd-pillar-card:hover .prd-pillar-text {
  color: rgba(255, 255, 255, 0.85);
}
@media (max-width: 680px) {
  body[data-page="prd"] .prd-identity-grid , body[data-page="construction"] .prd-identity-grid { grid-template-columns: 1fr; }
  body[data-page="prd"] .prd-pillar-card , body[data-page="construction"] .prd-pillar-card { min-height: 260px; }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.company-card-pending {
  cursor: default;
  pointer-events: none;
  opacity: .88;
}
.company-card-pending .company-card-cta {
  opacity: .55;
}
.company-pending-note {
  margin-top: .85rem;
  padding-top: .85rem;
  border-top: 1px solid rgba(168, 132, 46, .12);
  font-size: .74rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.5;
}
.company-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  width: 100%;
  margin-top: 1rem;
  padding-top: .95rem;
  border-top: 1px solid rgba(168, 132, 46, .14);
  color: var(--gold-dark, var(--gold));
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  transition: color .25s, gap .25s;
}
.company-card-active:is(:hover, :active, .touch-active) .company-card-cta {
  color: var(--gold);
}
.company-card-active:is(:hover, :active, .touch-active) .company-cta-arrow {
  transform: translateX(-3px);
}
[dir="ltr"] .company-card-active:is(:hover, :active, .touch-active) .company-cta-arrow {
  transform: translateX(3px);
}
.company-cta-arrow {
  flex-shrink: 0;
  transition: transform .25s;
}
[dir="rtl"] .company-cta-arrow {
  transform: scaleX(-1);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  background: #3a4a52;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transform: scale(1.04);
  animation: heroKenBurns 22s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-color: rgba(14, 12, 10, 0.48);
  background-image: linear-gradient(
    to bottom,
    rgba(10, 9, 8, 0.78) 0%,
    rgba(10, 9, 8, 0.42) 38%,
    rgba(10, 9, 8, 0.52) 68%,
    rgba(10, 9, 8, 0.72) 100%
  );
}
#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 130px;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(8, 7, 6, 0.82) 0%,
    rgba(8, 7, 6, 0.45) 55%,
    transparent 100%
  );
}
.hero-pattern { display: none; }
@media (min-width: 769px) {
  .hero-logo { width: min(340px, 34vw); }
  .hero-logo-wrap { margin-bottom: 1.5rem; }
  .hero-content {
    padding: calc(96px + 1.5rem) 1.5rem 4.5rem;
  }
  .hero-h1 { font-size: clamp(2.4rem, 4vw, 3.5rem); }
}
#hero .container {
  position: relative;
  z-index: 4;
  width: 100%;
}
.hero-content {
  position: relative;
  z-index: 4;
  max-width: 780px;
  margin: 0 auto;
  padding: calc(92px + 2.5rem) 1rem 4.5rem;
}
.hero-h1 {
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.28;
  margin: 1rem 0 1.25rem;
  color: var(--dark);
  text-shadow: 0 1px 24px rgba(255,252,248,0.65);
  opacity: 0;
  animation: fadeUp .9s .35s forwards;
  position: relative;
  padding-bottom: 1.25rem;
}
.hero-desc {
  font-size: clamp(.95rem, 2.2vw, 1.05rem);
  color: #4a4238;
  max-width: 640px;
  margin: .5rem auto 2rem;
  line-height: 1.85;
  text-shadow: 0 1px 16px rgba(255,252,248,0.55);
  opacity: 0;
  animation: fadeUp .8s .55s forwards;
}
#hero .btn-secondary {
  background: rgba(255,252,248,0.95);
  border: 2px solid var(--gold-dark);
  color: var(--gold-dark);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
#hero .btn-secondary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.hero-badge {
  opacity: 0;
  animation: fadeUp .8s .2s forwards;
}
.hero-badge span {
  font-size: .82rem;
  letter-spacing: .15em;
  color: var(--gold-dark);
  text-transform: uppercase;
  font-weight: 700;
  background: rgba(255,252,248,0.75);
  padding: .25em .65em;
  border-radius: 3px;
}
.hero-h1::before,
.hero-h1::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero-h1::before {
  top: -.5rem;
  width: min(200px, 60%);
}
.hero-h1::after {
  bottom: 0;
  width: min(120px, 40%);
}
.hero-h1::before,
.hero-h1::after {
  animation: lineExpand .9s .6s ease forwards;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
}
@keyframes lineExpand {
  to { transform: translateX(-50%) scaleX(1); }
}
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .8s .75s forwards;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  color: var(--gold-dark);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUpHeroScroll .8s 1s forwards, heroBounce 2.2s 1.5s ease-in-out infinite;
}
.hero-scroll svg { color: var(--gold); }
@keyframes heroKenBurns {
  0%   { transform: scale(1.04); }
  100% { transform: scale(1.12); }
}
@keyframes fadeUpHeroScroll {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes heroBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .8em 2em;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 4px;
  box-shadow: var(--shadow-gold);
  transition: background .25s, transform .2s, box-shadow .25s;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(168,132,46,0.28);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .8em 2em;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background .25s, color .25s;
}
.btn-secondary:hover { background: var(--gold); color: #fff; }

/* ══════════════════════════════════════
   STATS
══════════════════════════════════════ */
#stats {
  background: var(--dark-surface);
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-title {
  text-align: center;
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--border);
}
[dir="rtl"] .stat-item { border-right: none; border-left: 1px solid var(--border); }
.stat-item:last-child { border: none; }
.stat-value {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .4rem;
  font-family: var(--font-en-h);
}
.stat-label {
  color: var(--muted);
  font-size: .85rem;
}

/* ══════════════════════════════════════
   ABOUT
══════════════════════════════════════ */
#about { background: var(--cream-alt); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
[dir="rtl"] .about-grid { direction: rtl; }
.about-img-wrap {
  position: relative;
  height: 520px;
  border-radius: 2px;
  overflow: hidden;
}
.about-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}
.about-img-wrap:hover img { transform: scale(1.05); }
.about-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,.7) 0%, transparent 50%);
}
.about-badge-box {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: rgba(10,10,10,.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  padding: 1.2rem 1.5rem;
  text-align: center;
  border-radius: 2px;
}
[dir="rtl"] .about-badge-box { left: auto; right: 2rem; }
.about-badge-box .num { font-size: 2.2rem; font-weight: 800; color: var(--gold); font-family: var(--font-en-h); }
.about-badge-box .lbl { font-size: .8rem; color: var(--muted); margin-top: .2rem; }
.about-text h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: .4rem; }
.about-text h3 { font-size: 1.1rem; color: var(--gold); margin-bottom: 1rem; font-weight: 400; }
.about-text p { color: rgba(245,240,232,.7); margin-bottom: 1rem; line-height: 1.8; }

/* ══════════════════════════════════════
   CHAIRMAN
══════════════════════════════════════ */
#chairman {
  background: var(--cream-alt);
  position: relative;
  overflow: visible;
}
#chairman.section-pad {
  overflow-x: visible;
}
#chairman::before,
#chairman::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(168,132,46,0.12);
  pointer-events: none;
}
#chairman::before {
  top: 2rem;
  inset-inline-end: 2rem;
  border-inline-start: none;
  border-bottom: none;
}
#chairman::after {
  bottom: 2rem;
  inset-inline-start: 2rem;
  border-inline-end: none;
  border-top: none;
}
.chairman-full { max-width: 100%; padding-block: 0; }
.chairman-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  align-items: center;
  gap: 4rem;
  padding: 1.5rem 0;
}
.chairman-img-wrap {
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chairman-portrait {
  position: relative;
  width: 100%;
  max-width: 560px;
  padding: 1.25rem;
  cursor: pointer;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.chairman-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(168,132,46,0.35);
  pointer-events: none;
  animation: chairmanRing 5s ease-in-out infinite;
}
.chairman-ring.ring-2 {
  inset: 14px;
  border-style: dashed;
  border-color: rgba(168,132,46,0.22);
  animation-delay: 1.2s;
}
@keyframes chairmanRing {
  0%, 100% { opacity: .45; transform: scale(1); }
  50%      { opacity: .95; transform: scale(1.015); }
}
.frame-corner {
  position: absolute;
  width: 44px;
  height: 44px;
  border: 2px solid var(--gold);
  z-index: 4;
  pointer-events: none;
  animation: cornerGlow 4s ease-in-out infinite;
}
.fc-tl { top: 0; inset-inline-end: 0; border-inline-start: none; border-bottom: none; animation-delay: 0s; }
.fc-tr { top: 0; inset-inline-start: 0; border-inline-end: none; border-bottom: none; animation-delay: .5s; }
.fc-bl { bottom: 0; inset-inline-end: 0; border-inline-start: none; border-top: none; animation-delay: 1s; }
.fc-br { bottom: 0; inset-inline-start: 0; border-inline-end: none; border-top: none; animation-delay: 1.5s; }
@keyframes cornerGlow {
  0%, 100% { opacity: .55; }
  50%      { opacity: 1; box-shadow: 0 0 12px rgba(168,132,46,0.25); }
}
.chairman-img {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3 / 2;
  z-index: 2;
  box-shadow: var(--shadow-md);
  background: #0f0f0f;
}
.chairman-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.18) 0%, transparent 42%);
  pointer-events: none;
  z-index: 1;
}
.chairman-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.chairman-portrait:is(:hover, :active, .touch-active) {
  transform: translateY(-5px);
}
.chairman-portrait:is(:hover, :active, .touch-active) .chairman-img img {
  transform: scale(1.06);
}
.chairman-portrait:is(:hover, :active, .touch-active) .chairman-ring {
  animation: chairmanRing 1.1s ease-in-out;
  opacity: 1;
}
.chairman-portrait:is(:hover, :active, .touch-active) .frame-corner {
  opacity: 1;
  box-shadow: 0 0 14px rgba(168,132,46,0.35);
}
.chairman-content {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.chairman-text {
  font-size: .98rem;
  line-height: 1.95;
  color: var(--muted);
  margin-bottom: 1.35rem;
  max-width: 100%;
  overflow-wrap: break-word;
}
.chairman-promise {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--dark);
  font-weight: 700;
  margin: 1.5rem 0 2rem;
  border-inline-end: 3px solid var(--gold);
  padding-inline-end: 1rem;
  padding-inline-start: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}
[dir="ltr"] .chairman-promise {
  border-inline-end: none;
  border-inline-start: 3px solid var(--gold);
  padding-inline-end: 0;
  padding-inline-start: 1rem;
}
.chairman-name { font-size: 1.2rem; font-weight: 800; color: var(--gold); }
.chairman-role { color: var(--muted); font-size: .9rem; margin-top: .25rem; font-weight: 600; }

/* Vision & Mission */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.vm-card {
  background: var(--cream-card);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.vm-card:hover {
  border-color: rgba(168,132,46,0.45);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.vm-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.vm-title::before {
  content: '';
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  flex-shrink: 0;
}
[dir="ltr"] .vm-title::before {
  background: linear-gradient(270deg, var(--gold), transparent);
}
.vm-card p { color: var(--muted); line-height: 1.9; }

/* Check list (engineering, sustainability) */
.check-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.check-list li {
  padding: 1rem 1.2rem;
  background: var(--cream-card);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.7;
  position: relative;
  padding-right: 2rem;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.check-list li:hover {
  border-color: rgba(168,132,46,0.45);
  transform: translateX(-4px);
  box-shadow: var(--shadow-md);
}
[dir="ltr"] .check-list li:hover { transform: translateX(4px); }
[dir="ltr"] .check-list li { padding-right: 1.2rem; padding-left: 2rem; }
.check-list li::before {
  content: '✓';
  position: absolute;
  right: .8rem;
  top: 1rem;
  color: var(--gold);
  font-weight: 700;
  transition: transform .3s;
}
.check-list li:hover::before { transform: scale(1.25); }
[dir="ltr"] .check-list li::before { right: auto; left: .8rem; }

/* CSR grid */
.csr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.csr-item {
  background: var(--cream-card);
  border: 1px solid var(--border);
  padding: 1.75rem 1.25rem;
  text-align: center;
  font-weight: 700;
  color: var(--dark);
  font-size: .95rem;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.csr-item:hover {
  border-color: rgba(168,132,46,0.45);
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}
.csr-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(168,132,46,0.08);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .3s, transform .3s, box-shadow .3s, border-color .3s, color .3s;
}
.csr-icon svg { width: 24px; height: 24px; transition: transform .35s; }
.csr-icon:is(:hover, :active, .touch-active),
.csr-item:hover .csr-icon {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: scale(1.08) translateY(-3px);
  animation: iconWiggle .55s ease;
}
.csr-icon:is(:hover, :active, .touch-active) svg,
.csr-item:hover .csr-icon svg { transform: scale(1.1) rotate(-6deg); }

/* ══════════════════════════════════════
   PROJECTS
══════════════════════════════════════ */
#projects { background: var(--cream-bg); }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: .5rem;
}
.project-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--cream-card);
  box-shadow: var(--shadow-sm);
  transition: border-color .35s, transform .35s, box-shadow .35s, background .35s;
  cursor: pointer;
}
.project-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  background: #2e2820;
}
.project-img {
  aspect-ratio: 16 / 10;
  height: auto;
  min-height: 200px;
  overflow: hidden;
  position: relative;
  background: #1a1a1a;
}
.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .45s cubic-bezier(.22,1,.36,1);
}
.project-card:is(:hover, :active, .touch-active) .project-img img,
.project-card:hover .project-img img { transform: scale(1.06); }
.project-img-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,.5) 0%, transparent 55%);
  transition: background .4s ease;
  pointer-events: none;
}
.project-card:hover .project-img-shade {
  background: linear-gradient(to top, rgba(20,16,12,.72) 0%, rgba(20,16,12,.12) 100%);
}
.project-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1610 0%, #2a2216 50%, #1a1610 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--gold);
  opacity: .3;
}
.project-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3em .8em;
  border-radius: 2px;
  font-family: var(--font-en-b);
}
[dir="ltr"] .project-status { right: auto; left: 1rem; }
.status-done     { background: rgba(201,168,76,.15); color: var(--gold); border: 1px solid var(--gold); }
.status-progress { background: rgba(59,130,246,.15); color: #60a5fa; border: 1px solid #3b82f6; }
.status-sold     { background: rgba(180,60,60,.15); color: #e07a7a; border: 1px solid #c45c5c; }
.status-soon     { background: rgba(168,85,247,.15);  color: #c084fc; border: 1px solid #a855f7; }
.project-body {
  padding: 1.75rem;
  transition: background .35s ease, color .35s ease;
}
.project-card:hover .project-body {
  background: linear-gradient(180deg, #3a3228 0%, #2a241c 100%);
}
.project-type { font-size: .75rem; color: var(--gold); letter-spacing: .12em; text-transform: uppercase; margin-bottom: .65rem; transition: color .35s; }
.project-name { font-size: 1.2rem; font-weight: 700; margin-bottom: .5rem; color: var(--dark); transition: color .35s; }
.project-loc { font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: .35rem; margin-bottom: 0; transition: color .35s; }
.project-card:hover .project-type { color: var(--gold-light); }
.project-card:hover .project-name { color: #faf6f0; }
.project-card:hover .project-loc { color: rgba(250,246,240,0.78); }
.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.15rem;
  margin-top: 1.15rem;
  border-top: 1px solid var(--border);
  transition: border-color .35s;
}
.project-card:hover .project-footer { border-color: rgba(168,132,46,0.35); }
.project-units { font-size: .8rem; color: var(--muted); transition: color .35s; }
.project-card:hover .project-units { color: rgba(250,246,240,0.72); }
.project-link { font-size: .78rem; color: var(--gold); letter-spacing: .1em; text-transform: uppercase; transition: gap .2s, color .35s, background .35s, padding .35s; display: flex; align-items: center; gap: .3rem; border-radius: 2px; }
.project-card:hover .project-link { color: #fff; background: var(--gold); padding: .35em .75em; }
.project-link:hover { gap: .6rem; }
.projects-cta { text-align: center; margin-top: 3.5rem; }

/* ── Values section ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.15rem;
  background: transparent;
  margin-top: 3rem;
  max-width: 1200px;
  margin-inline: auto;
}
@media (max-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}
@media (max-width: 600px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: .85rem;
  }
}

.value-card {
  display: flex;
  flex-direction: column;
  background: var(--cream-card);
  padding: 0;
  text-align: center;
  border: 1px solid rgba(168, 132, 46, .18);
  border-radius: 14px;
  overflow: hidden;
  transition: background .3s, transform .3s, box-shadow .3s, border-color .3s;
  box-shadow: var(--shadow-sm);
}
.value-card:hover {
  background: var(--dark);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .18);
  border-color: rgba(201, 168, 76, .45);
}
.value-card:hover .service-title {
  color: #fff;
  border-bottom-color: rgba(201, 168, 76, .22);
}
.value-card:hover .service-desc {
  color: rgba(255, 255, 255, .82);
}
.value-card:hover .value-card-icon-wrap {
  border-bottom-color: rgba(201, 168, 76, .28);
}
.value-card-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.5rem 1.25rem 1.1rem;
  border-bottom: 1px solid rgba(168, 132, 46, .14);
  transition: border-color .3s;
}
.value-card .service-icon {
  width: 56px;
  height: 56px;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}
.value-card:hover .service-icon {
  background: rgba(201, 168, 76, .18);
  border-color: var(--gold);
  color: var(--gold-light);
  box-shadow: none;
  transform: none;
  animation: none;
}
.value-card:hover .service-icon svg {
  transform: scale(1.08);
}
.value-card.visible .service-icon { animation: iconPop .7s ease forwards; }
.value-card .service-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  padding: .95rem 1.25rem .8rem;
  color: var(--dark);
  border-bottom: 1px solid rgba(168, 132, 46, .1);
  transition: color .3s, border-color .3s;
}
.value-card .service-desc {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  padding: .85rem 1.25rem 1.35rem;
  transition: color .3s;
}

/* ── Projects page hero ── */
.projects-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3.5rem;
  padding-top: calc(76px + 2rem);
  overflow: hidden;
  background: linear-gradient(135deg, #0A0A0A 0%, #141414 100%);
  text-align: center;
}
.projects-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1486325212027-8081e485255e?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  opacity: .18;
}
.projects-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0A0A0A 0%, rgba(10,10,10,.65) 60%, rgba(10,10,10,.35) 100%);
}
.projects-hero .container { position: relative; z-index: 2; width: 100%; }

/* ── Back button ── */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--muted);
  font-size: .85rem;
  margin-bottom: 2rem;
  cursor: pointer;
  transition: color .2s;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-ar);
}
.back-btn:hover { color: var(--gold); }

/* ── Projects page filters ── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: .45em 1.3em;
  font-size: .85rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--dark-card);
  color: var(--muted);
  cursor: pointer;
  border-radius: 2px;
  transition: background .25s, color .25s, border-color .25s;
  font-family: var(--font-ar);
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

/* ── All-Projects page grid ── */
.all-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 0;
}
@media (max-width: 1024px) { .all-projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .all-projects-grid { grid-template-columns: 1fr; } }

.project-card-full {
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  background: var(--cream-card);
  transition: border-color .35s, transform .35s, background .35s, box-shadow .35s;
  cursor: default;
}
.project-card-full:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  background: #2a241c;
  box-shadow: var(--shadow-md);
}
.project-card-full:hover .project-body-full {
  background: linear-gradient(180deg, #3a3228 0%, #2a241c 100%);
}
.project-card-full:hover .project-name { color: #faf6f0; }
.project-card-full:hover .project-loc { color: rgba(250,246,240,0.78); }
.project-card-full:hover .project-body-full p { color: rgba(250,246,240,0.78); }
.project-card-full:hover .project-body-full span { color: rgba(250,246,240,0.72); }
.project-card-full:hover .proj-divider { width: 56px !important; background: var(--gold) !important; }
.project-body-full {
  padding: 1.75rem;
  transition: background .35s ease;
}
.proj-desc {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  transition: color .35s;
}
.proj-stats {
  display: flex;
  gap: 1.2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
  transition: border-color .35s;
}
.proj-stat {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: var(--muted);
  font-size: .8rem;
  transition: color .35s;
}
.proj-stat svg { color: var(--gold); opacity: .65; flex-shrink: 0; }
.proj-features { display: flex; flex-wrap: wrap; gap: .45rem; }
.proj-tag {
  font-size: .72rem;
  padding: .25em .7em;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 2px;
  transition: border-color .35s, color .35s, background .35s;
}
.project-card-full:hover .proj-desc,
.project-card-full:hover .proj-stat,
.project-card-full:hover .proj-tag { color: rgba(250,246,240,0.78); }
.project-card-full:hover .proj-stats { border-color: rgba(168,132,46,0.35); }
.project-card-full:hover .proj-tag { border-color: rgba(168,132,46,0.45); background: rgba(168,132,46,0.12); }
.project-img-full {
  height: 220px;
  overflow: hidden;
  position: relative;
  background: #111;
}

/* ══════════════════════════════════════
   SERVICES
══════════════════════════════════════ */
#services { background: var(--dark-surface); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.service-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--dark-card);
  text-align: center;
  transition: border-color .3s, transform .3s, background .3s;
}
.service-card:hover { border-color: var(--gold); transform: translateY(-5px); background: rgba(201,168,76,.04); }
.service-icon {
  width: 56px; height: 56px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--gold);
  background: rgba(168,132,46,0.08);
  cursor: pointer;
  transition: background .3s, border-color .3s, color .3s, transform .3s, box-shadow .3s;
}
.service-icon svg { width: 24px; height: 24px; flex-shrink: 0; transition: transform .35s; }
.service-icon:is(:hover, :active, .touch-active),
.service-card:hover .service-icon {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  box-shadow: var(--shadow-gold);
  transform: scale(1.08) translateY(-3px);
  animation: iconWiggle .55s ease;
}
.service-icon:is(:hover, :active, .touch-active) svg,
.service-card:hover .service-icon svg { transform: scale(1.12) rotate(-6deg); }
.service-title { font-size: 1.05rem; font-weight: 700; margin-bottom: .6rem; color: var(--dark); }
.service-desc { font-size: .88rem; color: var(--muted); line-height: 1.7; }

/* ══════════════════════════════════════
   WHY US
══════════════════════════════════════ */
#why-us { background: var(--cream-alt); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.why-card {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--cream-card);
  box-shadow: var(--shadow-sm);
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.why-card:hover {
  border-color: rgba(168,132,46,0.45);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.why-num {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(168,132,46,0.22);
  line-height: 1;
  font-family: var(--font-en-h);
  flex-shrink: 0;
  transition: color .3s, transform .3s;
}
.why-card:hover .why-num {
  color: rgba(168,132,46,0.55);
  animation: iconPulse 1.5s ease-in-out infinite;
}
.why-title { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; color: var(--dark); }
.why-desc { font-size: .88rem; color: var(--muted); line-height: 1.7; }

/* ══════════════════════════════════════
   NEWS
══════════════════════════════════════ */
#news { background: var(--dark-surface); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.news-card {
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  background: var(--dark-card);
  transition: border-color .3s, transform .35s;
}
.news-card:hover { border-color: var(--gold); transform: translateY(-6px); }
.news-img {
  height: 190px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a, #222);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 2.5rem;
  opacity: .35;
}
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-img img { transform: scale(1.06); }
.news-body { padding: 1.5rem; }
.news-meta { display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; }
.news-cat {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  padding: .2em .6em;
  background: rgba(201,168,76,.1);
  border-radius: 2px;
}
.news-date { font-size: .78rem; color: var(--muted); }
.news-title { font-size: 1rem; font-weight: 700; margin-bottom: .7rem; line-height: 1.5; }
.news-excerpt { font-size: .85rem; color: rgba(245,240,232,.6); line-height: 1.7; margin-bottom: 1rem; }
.news-link { font-size: .78rem; color: var(--gold); letter-spacing: .1em; text-transform: uppercase; }
.news-cta { text-align: center; margin-top: 2.5rem; }

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
#contact { background: var(--cream-alt); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}
[dir="rtl"] .contact-grid { direction: rtl; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .4rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: .85em 1em;
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--cream);
  font-family: inherit;
  font-size: .95rem;
  transition: border-color .25s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-success {
  display: none;
  padding: 1rem;
  background: rgba(201,168,76,.1);
  border: 1px solid var(--gold);
  border-radius: 2px;
  color: var(--gold);
  font-size: .9rem;
  margin-top: 1rem;
  text-align: center;
}
.form-success.form-success-err {
  background: rgba(180,60,60,.08);
  border-color: #c45c5c;
  color: #b33;
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-bottom: .8rem;
  background: var(--cream-card);
  box-shadow: var(--shadow-sm);
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.contact-info-item:hover {
  border-color: rgba(168,132,46,0.45);
  transform: translateX(-4px);
  box-shadow: var(--shadow-md);
}
[dir="ltr"] .contact-info-item:hover { transform: translateX(4px); }
.info-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  background: rgba(168,132,46,0.08);
  flex-shrink: 0;
  font-size: 16px;
  cursor: pointer;
  transition: background .3s, color .3s, transform .3s, box-shadow .3s, border-color .3s;
}
.info-icon svg { transition: transform .35s; }
.info-icon:is(:hover, :active, .touch-active),
.contact-info-item:hover .info-icon {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: scale(1.08) translateY(-2px);
  animation: iconWiggle .55s ease;
}
.info-icon:is(:hover, :active, .touch-active) svg,
.contact-info-item:hover .info-icon svg { transform: scale(1.12) rotate(-6deg); }
.info-label { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.info-value { font-size: .92rem; margin-top: .2rem; color: var(--dark); }
a.info-value {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: color .2s ease;
}
a.info-value:hover { color: var(--gold); }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  background: var(--cream-alt);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}
.footer-brand { }
.footer-logo-wrap { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer-logo-wrap img {
  height: 42px;
}
.footer-desc { font-size: .88rem; color: var(--muted); line-height: 1.7; max-width: 260px; }
.footer-social,
.nav-social,
[data-social-root] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
}
.footer-social { margin-top: 1.5rem; }
.nav-right .nav-social { gap: .45rem; }
[data-social-root]:empty { display: none; }
.footer-heading { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { font-size: .88rem; color: var(--muted); transition: color .2s, padding .2s; display: inline-block; }
.footer-links a:hover { color: var(--dark); }
.footer-contact-item { display: flex; gap: .7rem; margin-bottom: .8rem; align-items: flex-start; }
.footer-contact-item svg { color: var(--gold); margin-top: 2px; flex-shrink: 0; }
.footer-contact-item span { font-size: .85rem; color: var(--muted); }
.footer-bottom {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  text-align: center;
}
.footer-bottom p { font-size: .8rem; color: var(--muted); }
.footer-bottom a { color: var(--gold); transition: color .2s; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ══════════════════════════════════════
   WHATSAPP BUTTON  — luxury dark/gold style
══════════════════════════════════════ */
/* ── WhatsApp floating button ── */
.wa-btn {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 9999;
  width: 50px;
  height: 50px;
  background: rgba(10,10,10,0.92);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(201,168,76,0.7);
  text-decoration: none;
  cursor: pointer;
  transition: color .3s, border-color .3s, background .3s, transform .3s;
  animation: waEntrance .5s 2.5s cubic-bezier(.34,1.56,.64,1) both;
  /* must be non-static so absolute children anchor to it */
}
.wa-btn.is-ready {
  /* lock after entrance so hover never restarts opacity:0 */
  animation: none;
  opacity: 1;
  transform: none;
}
[dir="ltr"] .wa-btn { right: auto; left: 1.5rem; }

.wa-btn:is(:hover, :active, .touch-active) {
  background: rgba(201,168,76,0.12);
  border-color: rgba(201,168,76,0.75);
  color: #C9A84C;
  transform: scale(1.08);
  animation: none;
  opacity: 1;
}

.wa-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
  pointer-events: none;
  position: relative;
  z-index: 2;
}

/* Pulse ring — purely decorative, never captures clicks */
.wa-pulse {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.30);
  background: transparent;
  pointer-events: none;
  z-index: 1;
  animation: waPulse 2.8s ease-out infinite;
}

@keyframes waPulse {
  0%   { transform: scale(1);    opacity: .7; }
  70%  { transform: scale(1.6);  opacity: 0;  }
  100% { transform: scale(1.6);  opacity: 0;  }
}

@keyframes waEntrance {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* Tooltip — hidden by default, visible on hover */
.wa-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  right: 0;
  z-index: 3;
  background: rgba(10,10,10,0.95);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 6px 14px;
  color: rgba(245,240,232,0.85);
  font-size: .75rem;
  white-space: nowrap;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .2s, transform .2s;
  pointer-events: none;
}
[dir="ltr"] .wa-tooltip { right: auto; left: 0; }
.wa-btn:hover .wa-tooltip { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════
   SECTION HEADERS (shared)
══════════════════════════════════════ */
.section-header { text-align: center; margin-bottom: 2.5rem; }
[dir="rtl"] .section-header { text-align: center; }
.section-header .title-ornament { margin-left: auto; margin-right: auto; }
section.section-pad { position: relative; }

/* ══════════════════════════════════════
   ANIMATIONS HELPERS
══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroTextReveal {
  from { opacity: 0; transform: translateY(32px); filter: blur(8px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes heroFadeSlide {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroBtnPop {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes iconPop {
  0%   { transform: scale(0.4); opacity: 0; }
  70%  { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}
@keyframes iconWiggle {
  0%, 100% { transform: scale(1.08) translateY(-3px) rotate(0deg); }
  25%      { transform: scale(1.1) translateY(-4px) rotate(-4deg); }
  75%      { transform: scale(1.1) translateY(-4px) rotate(4deg); }
}
.touch-motion,
.chairman-portrait,
.hero-logo-wrap,
.service-icon,
.csr-icon,
.info-icon,
.social-icon,
.project-card,
.wa-btn {
  -webkit-tap-highlight-color: transparent;
}
@media (prefers-reduced-motion: reduce) {
  .chairman-portrait:is(:hover, :active, .touch-active),
  .hero-logo-wrap:is(:hover, :active, .touch-active),
  .service-icon:is(:hover, :active, .touch-active),
  .csr-icon:is(:hover, :active, .touch-active),
  .info-icon:is(:hover, :active, .touch-active),
  .social-icon:is(:hover, :active, .touch-active) {
    animation: none !important;
    transform: none !important;
  }
}
.stagger > * { opacity: 0; transform: translateY(25px); transition: opacity .6s ease, transform .6s ease; }
.stagger > *.visible { opacity: 1; transform: translateY(0); }
.stagger > *:nth-child(2) { transition-delay: .1s; }
.stagger > *:nth-child(3) { transition-delay: .2s; }
.stagger > *:nth-child(4) { transition-delay: .3s; }
.stagger > *:nth-child(5) { transition-delay: .4s; }
.stagger > *:nth-child(6) { transition-delay: .5s; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-img-wrap { height: 360px; }
  .chairman-grid {
    display: grid;
    grid-template-columns: 1fr;
    min-height: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  #chairman::before,
  #chairman::after { display: none; }
  #chairman .reveal-left,
  #chairman .reveal-right {
    opacity: 1;
    transform: none !important;
  }
  .chairman-img-wrap { padding: 1rem 0; overflow: visible; min-width: 0; }
  .chairman-portrait { max-width: min(100%, 520px); margin: 0 auto; }
  .chairman-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 1rem 0 0;
    box-sizing: border-box;
  }
  .chairman-text,
  .chairman-promise,
  .chairman-name,
  .chairman-role {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
    text-align: start;
    padding-inline: .1rem;
  }
  .vm-grid { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .csr-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 991px) {
  #hero,
  #hero.hero-cream {
    align-items: center;
    justify-content: center;
    padding-top: 68px;
    box-sizing: border-box;
  }
  #hero .container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex: 1;
  }
  .hero-logo {
    width: min(260px, 74vw);
  }
  .hero-logo-wrap {
    margin-bottom: 1.1rem;
  }
  .hero-content {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 0 1.25rem 3.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .hero-content::before,
  .hero-content::after { display: none; }
  .hero-badge {
    opacity: 0;
    animation: heroFadeSlide .75s .3s cubic-bezier(.22,1,.36,1) forwards;
  }
  .hero-badge span {
    font-size: .72rem;
    letter-spacing: .14em;
    color: var(--gold-dark);
    background: rgba(255,252,248,0.85);
    border: 1px solid var(--border);
    padding: .35em .85em;
    border-radius: 999px;
  }
  .hero-h1 {
    color: var(--dark);
    width: 100%;
    font-size: clamp(1.65rem, 6.5vw, 2.15rem);
    line-height: 1.38;
    margin: .85rem 0 .75rem;
    padding-bottom: .85rem;
    text-shadow: none;
    opacity: 0;
    animation: heroTextReveal 1s .45s cubic-bezier(.22,1,.36,1) forwards;
  }
  .hero-h1::before,
  .hero-h1::after {
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
  }
  .hero-desc {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.8;
    margin: 0 auto 1.35rem;
    max-width: 100%;
    width: 100%;
    text-shadow: none;
    opacity: 0;
    animation: heroFadeSlide .9s .65s cubic-bezier(.22,1,.36,1) forwards;
  }
  .hero-btns {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-self: center;
    width: 100%;
    gap: .65rem;
    max-width: 100%;
    opacity: 0;
    animation: heroBtnPop .85s .85s cubic-bezier(.22,1,.36,1) forwards;
  }
  .hero-btns .btn-primary,
  .hero-btns .btn-secondary {
    width: auto;
    flex: 1 1 calc(50% - .35rem);
    min-width: 0;
    max-width: none;
    justify-content: center;
    padding: .78em 1rem;
    font-size: .78rem;
    border-radius: 6px;
  }
  #hero .btn-primary {
    box-shadow: var(--shadow-gold);
  }
  #hero .btn-secondary {
    background: #fff;
    border: 2px solid var(--gold-dark);
    color: var(--gold-dark);
    backdrop-filter: none;
  }
  #hero .btn-secondary:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
  }
  .hero-scroll {
    bottom: max(.85rem, env(safe-area-inset-bottom, .85rem));
    color: var(--gold-dark);
    font-size: .6rem;
    text-shadow: none;
  }
  .hero-scroll svg { color: var(--gold); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-h1,
  .hero-desc,
  .hero-badge,
  .hero-btns,
  .hero-scroll,
  .hero-logo-wrap,
  .hero-bg-img {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

@media (max-width: 768px) {
  .container {
    padding-inline: max(1rem, env(safe-area-inset-left, 0px)) max(1rem, env(safe-area-inset-right, 0px));
  }

  /* ── Sections ── */ */
  .section-pad { padding: 3.5rem 0; }
  .section-header { margin-bottom: 1.75rem; }
  .section-title { font-size: clamp(1.45rem, 5.5vw, 2rem); line-height: 1.3; }
  .section-subtitle { font-size: .92rem; line-height: 1.75; }
  .text-block p { font-size: .92rem; line-height: 1.85; }

  /* ── Chairman ── */
  #chairman .container.chairman-full {
    padding-inline: max(1.5rem, env(safe-area-inset-left, 0px)) max(1.5rem, env(safe-area-inset-right, 0px));
  }
  .chairman-grid { gap: 2rem; padding: .5rem 0; }
  .chairman-img-wrap { padding: .5rem 0; }
  .chairman-portrait { max-width: 100%; }
  .chairman-content { padding: .75rem 0 0; }
  .chairman-text { font-size: .95rem; line-height: 1.88; margin-bottom: 1rem; }
  .chairman-promise {
    font-size: .95rem;
    margin: 1rem 0 1.25rem;
    padding-inline-end: .85rem;
    padding-inline-start: .15rem;
  }
  .chairman-name { font-size: 1.08rem; }
  .chairman-role { font-size: .88rem; }

  /* ── Cards ── */
  .vm-grid { gap: 1.25rem; }
  .vm-card { padding: 1.35rem; }
  .vm-title { font-size: 1.15rem; }
  .why-grid { gap: 1rem; margin-top: 2rem; }
  .why-card {
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
    padding: 1.25rem;
  }
  .why-num {
    font-size: 1.35rem;
    color: var(--gold);
    opacity: .55;
    margin-bottom: .15rem;
  }
  .why-title { font-size: 1rem; margin-bottom: .35rem; }
  .why-desc { font-size: .85rem; }
  .check-list { gap: .75rem; }
  .check-list li { padding: .85rem 1rem; font-size: .88rem; }
  .projects-grid { gap: 1.25rem; }
  .project-card .project-body { padding: 1.15rem; }
  .csr-grid { gap: .85rem; }

  /* ── Contact & Footer ── */
  .contact-grid { gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* ── WhatsApp ── */
  .wa-btn {
    bottom: max(1rem, env(safe-area-inset-bottom, 1rem));
    inset-inline-end: max(1rem, env(safe-area-inset-left, 1rem));
    inset-inline-start: auto;
    right: auto;
    left: auto;
    width: 46px;
    height: 46px;
  }
  [dir="ltr"] .wa-btn {
    inset-inline-end: max(1rem, env(safe-area-inset-right, 1rem));
    inset-inline-start: auto;
  }
  .wa-tooltip { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border: none; border-bottom: 1px solid var(--border); }
  .projects-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .container {
    padding-inline: max(.85rem, env(safe-area-inset-left, 0px)) max(.85rem, env(safe-area-inset-right, 0px));
  }
  #chairman .container.chairman-full {
    padding-inline: max(1.25rem, env(safe-area-inset-left, 0px)) max(1.25rem, env(safe-area-inset-right, 0px));
  }
  .services-grid { grid-template-columns: 1fr; }
  .csr-grid { grid-template-columns: 1fr; }
  .hero-content { padding-bottom: 4.25rem; }
  .hero-h1 { font-size: clamp(1.5rem, 6vw, 1.85rem); }
  .hero-desc { font-size: .85rem; max-width: 100%; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn-primary,
  .hero-btns .btn-secondary { flex: 1 1 100%; width: 100%; }
  .section-pad { padding: 3rem 0; }
}

/* ── Construction page extras ── */
body[data-page="construction"] .cons-hero {
  background: #0a0908;
}
body[data-page="construction"] .cons-hero .prd-hero-overlay {
  background:
    linear-gradient(to bottom, rgba(10, 9, 8, 0.42) 0%, rgba(10, 9, 8, 0.55) 45%, rgba(242, 235, 225, 0.96) 100%),
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(168, 132, 46, 0.1), transparent 70%);
}
body[data-page="construction"] .cons-hero-logo {
  max-height: 130px;
  width: min(280px, 70vw);
  filter: brightness(0) invert(1) drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}
body[data-page="construction"] #navbar .nav-logo-construction-img,
body[data-page="construction"] #navbar:not(.scrolled) .nav-logo-construction-img,
body[data-page="construction"] #navbar.scrolled .nav-logo-construction-img {
  filter: none !important;
  mix-blend-mode: multiply;
}
body[data-page="construction"] #navbar .nav-logo-construction-text .nav-brand-main {
  color: var(--dark, #1a1612);
}
body[data-page="construction"] #navbar .nav-logo-construction-text .nav-brand-sub {
  color: var(--muted, #6b635a);
}
body[data-page="construction"] .cons-gallery-media {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background: #1a1612;
  border-radius: 18px;
}
body[data-page="construction"] .cons-gallery-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
body[data-page="construction"] .cons-gallery-card {
  background: transparent;
  box-shadow: none;
}
body[data-page="construction"] .cons-gallery-slider {
  max-width: 920px;
}
body[data-page="construction"] .cons-standards-list {
  max-width: 760px;
  margin: 0 auto;
}
.cons-videos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 980px;
  margin: 0 auto;
}
.cons-video-card {
  background: var(--cream-card, #fff);
  border: 1px solid rgba(168, 132, 46, 0.2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(26, 26, 26, 0.08);
}
.cons-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
}
.cons-video-frame iframe,
.cons-video-frame .cons-video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.cons-video-frame .cons-video-player {
  display: block;
  object-fit: contain;
  background: #0a0908;
}
.site-video-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #111;
  display: block;
}
.site-video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.site-video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.72);
  border: 1px solid rgba(201, 168, 76, 0.65);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.site-video-play::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #C9A84C;
}
.site-video-facade:hover .site-video-play {
  transform: scale(1.06);
  background: rgba(201, 168, 76, 0.22);
  border-color: #C9A84C;
}
.project-videos-band {
  margin-top: .25rem;
  padding: 1.25rem 1.35rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--dark-card, #141210);
}
.project-videos-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.project-videos-title {
  font-size: 1.05rem;
  color: var(--gold, #C9A84C);
  letter-spacing: .04em;
}
.project-videos-sub {
  font-size: .82rem;
  color: var(--muted, #9a948a);
}
.project-videos-band .cons-videos-grid {
  max-width: none;
}
@media (max-width: 767px) {
  .cons-videos-grid {
    grid-template-columns: 1fr;
  }
  body[data-page="construction"] .cons-gallery-media {
    aspect-ratio: 4 / 3;
  }
}
