/* GOLDEN IMPRINT — bsm-ym.com design system (typography, CSS geometry, line icons; no images) */
:root {
  --charcoal: #111318;
  --charcoal-soft: #1a1d24;
  --charcoal-line: #262a33;
  --gold: #c8a64b;
  --gold-light: #e0c879;
  --ivory: #f5f1e7;
  --white: #ffffff;
  --gray: #555b66;
  --gray-light: #8b919c;
  --font-en: "Inter", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Alexandria", "Segoe UI", Tahoma, sans-serif;
  --max: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-md: 0 2px 4px rgba(17, 19, 24, 0.05), 0 24px 48px -28px rgba(17, 19, 24, 0.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-en);
  font-size: 17px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
html[lang="ar"] body { font-family: var(--font-ar); font-size: 17.5px; line-height: 1.85; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--charcoal); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--ivory { background: var(--ivory); }
.section--white { background: var(--white); }
.section--dark { background: var(--charcoal); color: var(--ivory); }
.section--dark .lead, .section--dark p { color: #b9bec8; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 22px;
}
html[lang="ar"] .eyebrow { letter-spacing: 0.04em; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); flex: none; }

h1, h2, h3, h4 { font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { letter-spacing: 0; line-height: 1.35; }
h1 { font-size: clamp(2.15rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
.lead { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--gray); max-width: 62ch; }
.gold { color: var(--gold); }
.muted { color: var(--gray); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head p { margin-top: 18px; }

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 241, 231, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(17, 19, 24, 0.08);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo__mark { width: 38px; height: 38px; flex: none; position: relative; display: grid; place-items: center; }
.logo__mark::before, .logo__mark::after { content: ""; position: absolute; inset: 0; border: 1.5px solid var(--gold); }
.logo__mark::before { transform: rotate(45deg) scale(0.72); }
.logo__mark::after { inset: 9px; background: var(--gold); border: 0; transform: rotate(45deg) scale(0.5); }
.logo__mark span { position: relative; z-index: 1; font-size: 10px; font-weight: 700; letter-spacing: 0.02em; color: var(--charcoal); }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__name { font-size: 15px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
html[lang="ar"] .logo__name { letter-spacing: 0; font-size: 15px; }
.logo__sub { font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray); margin-top: 3px; }
html[lang="ar"] .logo__sub { letter-spacing: 0; font-size: 10.5px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link { position: relative; padding: 10px 14px; font-size: 14px; font-weight: 500; color: var(--gray); border-radius: var(--radius); transition: color 0.25s var(--ease); white-space: nowrap; }
.nav__link::after { content: ""; position: absolute; inset-inline: 14px; bottom: 4px; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: inline-start; transition: transform 0.3s var(--ease); }
.nav__link:hover { color: var(--charcoal); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--charcoal); font-weight: 600; }
.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }

.lang { display: inline-flex; align-items: center; border: 1px solid rgba(17, 19, 24, 0.16); border-radius: 999px; padding: 3px; background: transparent; }
.lang__btn { border: 0; background: transparent; cursor: pointer; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; padding: 6px 12px; border-radius: 999px; color: var(--gray); transition: background 0.25s var(--ease), color 0.25s var(--ease); }
.lang__btn[aria-pressed="true"] { background: var(--charcoal); color: var(--ivory); }

.burger { display: none; width: 42px; height: 42px; border: 1px solid rgba(17, 19, 24, 0.16); border-radius: var(--radius); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; inset-inline: 11px; height: 1.5px; background: var(--charcoal); transition: transform 0.3s var(--ease), opacity 0.2s var(--ease); }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 20.5px; }
.burger span:nth-child(3) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; border: 1px solid transparent; border-radius: var(--radius); cursor: pointer; transition: background 0.28s var(--ease), color 0.28s var(--ease), border-color 0.28s var(--ease), transform 0.28s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--gold { background: var(--gold); color: var(--charcoal); }
.btn--gold:hover { background: var(--gold-light); }
.btn--dark { background: var(--charcoal); color: var(--ivory); }
.btn--ghost { border-color: rgba(245, 241, 231, 0.32); color: var(--ivory); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-light); }
.btn--outline { border-color: rgba(17, 19, 24, 0.22); color: var(--charcoal); }
.btn--outline:hover { border-color: var(--charcoal); background: var(--charcoal); color: var(--ivory); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.hero { position: relative; background: var(--charcoal); color: var(--ivory); overflow: hidden; padding-block: clamp(72px, 11vw, 140px); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 55% at 78% 12%, rgba(200, 166, 75, 0.16), transparent 70%), radial-gradient(ellipse 50% 60% at 8% 92%, rgba(200, 166, 75, 0.08), transparent 70%); z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(245, 241, 231, 0.045) 1px, transparent 1px), linear-gradient(to bottom, rgba(245, 241, 231, 0.045) 1px, transparent 1px); background-size: 76px 76px; mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 78%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 78%); z-index: -1; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero h1 .line { display: block; }
.hero h1 .line--accent { color: var(--gold); font-style: normal; }
.hero__desc { color: #b9bec8; font-size: clamp(1rem, 1.5vw, 1.14rem); max-width: 54ch; margin-bottom: 36px; }

.emblem { position: relative; aspect-ratio: 1; width: min(100%, 380px); margin-inline: auto; display: grid; place-items: center; }
.emblem__ring { position: absolute; inset: 0; border: 1px solid rgba(200, 166, 75, 0.28); border-radius: 50%; }
.emblem__ring--2 { inset: 12%; border-color: rgba(200, 166, 75, 0.18); border-style: dashed; animation: spin 46s linear infinite; }
.emblem__ring--3 { inset: 26%; border-color: rgba(245, 241, 231, 0.12); }
.emblem__diamond { position: absolute; inset: 33%; border: 1.5px solid var(--gold); transform: rotate(45deg); }
.emblem__diamond::after { content: ""; position: absolute; inset: 26%; background: linear-gradient(135deg, var(--gold), var(--gold-light)); opacity: 0.9; }
.emblem__core { position: relative; z-index: 2; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: 0.34em; text-transform: uppercase; color: var(--ivory); padding: 8px 12px; background: var(--charcoal); }
.emblem__orbit { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); top: 50%; left: 50%; transform-origin: 0 0; animation: orbit 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes orbit { from { transform: rotate(0deg) translateX(190px) translate(-50%, -50%); } to { transform: rotate(360deg) translateX(190px) translate(-50%, -50%); } }

.hero__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: clamp(48px, 7vw, 80px); background: rgba(245, 241, 231, 0.12); border-block: 1px solid rgba(245, 241, 231, 0.12); }
.stat { background: var(--charcoal); padding: 26px 20px; text-align: center; }
.stat__num { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; color: var(--gold); line-height: 1.1; display: block; }
.stat__label { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #9aa0ab; margin-top: 8px; display: block; }
html[lang="ar"] .stat__label { letter-spacing: 0; font-size: 12.5px; }

.grid { display: grid; gap: clamp(16px, 2.2vw, 26px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card { position: relative; background: var(--white); border: 1px solid rgba(17, 19, 24, 0.09); border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); transition: border-color 0.3s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease); overflow: hidden; }
.card::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 2px; background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform 0.4s var(--ease); }
.card:hover { border-color: rgba(200, 166, 75, 0.5); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card:hover::before { transform: scaleY(1); }
.card__index { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; color: var(--gold); display: block; margin-bottom: 18px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--gray); font-size: 15.5px; }
.card--dark { background: var(--charcoal-soft); border-color: var(--charcoal-line); color: var(--ivory); }
.card--dark p { color: #a8aeb9; }

.icon-tile { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(200, 166, 75, 0.4); border-radius: var(--radius); margin-bottom: 22px; color: var(--gold); transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.icon-tile svg { width: 22px; height: 22px; stroke-width: 1.4; }
.card:hover .icon-tile { background: var(--gold); color: var(--charcoal); }

.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.split--reverse > :first-child { order: 2; }
.prose p + p { margin-top: 18px; }
.prose p { color: var(--gray); }

.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(17,19,24,.1); border: 1px solid rgba(17,19,24,.1); }
.value { background: var(--white); padding: 30px 26px; transition: background 0.3s var(--ease); }
.value:hover { background: var(--ivory); }
.value__num { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; color: var(--gold); }
.value h3 { font-size: 1.05rem; margin: 12px 0 8px; }
.value p { font-size: 14.5px; color: var(--gray); }

.bullets { display: grid; gap: 12px; margin-top: 22px; }
.bullets li { position: relative; padding-inline-start: 26px; color: var(--gray); font-size: 15.5px; }
.bullets li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.62em; width: 8px; height: 8px; border: 1.5px solid var(--gold); transform: rotate(45deg); }
.section--dark .bullets li { color: #b9bec8; }

.page-hero { background: var(--charcoal); color: var(--ivory); padding-block: clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset-inline-end: -10%; top: -40%; width: 520px; height: 520px; border: 1px solid rgba(200, 166, 75, 0.16); border-radius: 50%; pointer-events: none; }
.page-hero::before { content: ""; position: absolute; inset-inline-end: 6%; top: 50%; width: 220px; height: 220px; border: 1px solid rgba(200, 166, 75, 0.1); transform: translateY(-50%) rotate(45deg); pointer-events: none; }
.page-hero h1 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); margin-bottom: 18px; }
.page-hero p { color: #b9bec8; max-width: 62ch; }
.crumbs { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-light); margin-bottom: 22px; display: flex; gap: 10px; align-items: center; }
.crumbs a:hover { color: var(--gold); }
.crumbs span { color: var(--gold); }

.sector { display: flex; gap: 20px; align-items: flex-start; padding: clamp(24px, 3vw, 32px); background: var(--white); border: 1px solid rgba(17, 19, 24, 0.09); border-radius: var(--radius); transition: border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.sector:hover { border-color: rgba(200, 166, 75, 0.55); transform: translateY(-3px); }
.sector .icon-tile { margin-bottom: 0; flex: none; }
.sector h3 { font-size: 1.05rem; margin-bottom: 8px; }
.sector p { font-size: 14.5px; color: var(--gray); }

.cta { background: var(--charcoal); color: var(--ivory); position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 96px); }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 88% 50%, rgba(200, 166, 75, 0.18), transparent 55%), repeating-linear-gradient(45deg, rgba(245,241,231,.03) 0 1px, transparent 1px 14px); pointer-events: none; }
.cta__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); max-width: 22ch; }
.cta p { color: #b9bec8; margin-top: 12px; max-width: 46ch; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-item { display: flex; gap: 18px; padding-block: 22px; border-bottom: 1px solid rgba(17, 19, 24, 0.1); }
.contact-item:first-of-type { padding-top: 0; }
.contact-item .icon-tile { margin-bottom: 0; flex: none; width: 42px; height: 42px; }
.contact-item .icon-tile svg { width: 19px; height: 19px; }
.contact-item__label { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray); display: block; margin-bottom: 6px; }
html[lang="ar"] .contact-item__label { letter-spacing: 0; font-size: 12px; }
.contact-item__value { font-size: 1.02rem; font-weight: 500; }
.contact-item__value a:hover { color: var(--gold); }
.contact-item__value span { display: block; }
.contact-item__value span + span { margin-top: 4px; }

.actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.action { display: flex; align-items: center; gap: 14px; padding: 20px; background: var(--white); border: 1px solid rgba(17, 19, 24, 0.1); border-radius: var(--radius); transition: border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.action:hover { border-color: var(--gold); transform: translateY(-3px); }
.action svg { width: 20px; height: 20px; color: var(--gold); flex: none; stroke-width: 1.5; }
.action__title { font-size: 14.5px; font-weight: 600; display: block; line-height: 1.3; }
.action__sub { font-size: 12.5px; color: var(--gray); display: block; margin-top: 2px; }

.map { position: relative; border: 1px solid rgba(17, 19, 24, 0.12); border-radius: var(--radius); background: linear-gradient(to right, rgba(17,19,24,.05) 1px, transparent 1px) 0 0 / 44px 44px, linear-gradient(to bottom, rgba(17,19,24,.05) 1px, transparent 1px) 0 0 / 44px 44px, var(--white); min-height: 260px; display: grid; place-items: center; text-align: center; padding: 32px; overflow: hidden; }
.map::before { content: ""; position: absolute; width: 160px; height: 160px; border: 1px solid rgba(200, 166, 75, 0.5); border-radius: 50%; animation: pulse 3.4s ease-out infinite; }
.map::after { content: ""; position: absolute; width: 12px; height: 12px; background: var(--gold); transform: rotate(45deg); }
@keyframes pulse { 0% { transform: scale(0.4); opacity: 0.9; } 100% { transform: scale(1.35); opacity: 0; } }
.map__label { position: relative; z-index: 2; margin-top: 150px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: var(--charcoal); }
.map__label small { display: block; font-weight: 400; color: var(--gray); letter-spacing: 0; margin-top: 4px; }

.footer { background: var(--charcoal); color: #9aa0ab; padding-block: clamp(48px, 6vw, 72px) 0; font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 64px); padding-bottom: 44px; }
.footer .logo__name { color: var(--ivory); }
.footer .logo__sub { color: #7d838e; }
.footer__about { margin-top: 22px; max-width: 40ch; color: #8b919c; font-size: 14px; }
.footer h4 { color: var(--ivory); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
html[lang="ar"] .footer h4 { letter-spacing: 0; font-size: 13px; }
.footer ul { display: grid; gap: 10px; }
.footer a { transition: color 0.25s var(--ease); }
.footer a:hover { color: var(--gold-light); }
.footer__bottom { border-top: 1px solid rgba(245, 241, 231, 0.1); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 12.5px; color: #7d838e; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .emblem { display: none; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ivory); border-bottom: 1px solid rgba(17, 19, 24, 0.1); padding: 12px var(--gutter) 24px; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s; max-height: calc(100dvh - 76px); overflow-y: auto; }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__link { padding: 15px 4px; font-size: 16px; border-bottom: 1px solid rgba(17, 19, 24, 0.07); }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--gold); }
  .burger { display: block; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .actions { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr; }
  .logo__sub { display: none; }
}
@media print {
  .header, .footer, .cta, .btn-row, .emblem { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 24px; }
}
