:root {
  --bg: #07100e;
  --bg-2: #0b1613;
  --card: rgba(255,255,255,.055);
  --card-strong: rgba(255,255,255,.085);
  --text: #f7f5ef;
  --muted: #aab6af;
  --line: rgba(255,255,255,.10);
  --accent: #d7b86a;
  --accent-2: #ecd28f;
  --green: #20a66a;
  --shadow: 0 24px 80px rgba(0,0,0,.35);
  --radius: 24px;
  --radius-sm: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background:
    radial-gradient(900px 500px at 88% 4%, rgba(32,166,106,.10), transparent 55%),
    radial-gradient(700px 500px at 10% 22%, rgba(215,184,106,.08), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
html[lang="ar"] body { font-family: "Cairo", "Noto Sans Arabic", Tahoma, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
button { font: inherit; }
.container { width: min(calc(100% - 36px), var(--max)); margin-inline: auto; }
.skip-link {
  position: absolute;
  z-index: 100;
  top: 8px;
  inset-inline-start: 8px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 10px;
  background: var(--accent);
  color: #111317;
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }
.nav-shell {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(7,16,14,.82);
  backdrop-filter: blur(20px);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
}
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.brand-logo { width: 140px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 20px; color: #c9d0d9; font-size: 14px; }
.nav-links a:hover { color: white; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
}
.lang-toggle a {
  padding: 6px 9px;
  border-radius: 999px;
  color: #aeb6c2;
  font-size: 12px;
  font-weight: 700;
}
.lang-toggle a[aria-current="page"] { background: white; color: #0b0f14; }
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent);
  color: #111317;
  box-shadow: 0 12px 32px rgba(215,184,106,.16);
}
.btn-primary:hover { background: var(--accent-2); }
.btn-secondary { border-color: var(--line); background: rgba(255,255,255,.045); color: white; }
.btn-small { min-height: 40px; padding-inline: 15px; font-size: 13px; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.045);
  color: white;
  cursor: pointer;
  list-style: none;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.menu-icon, .menu-icon::before, .menu-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { position: absolute; inset-inline-start: 0; content: ""; }
.menu-icon::before { transform: translateY(-6px); }
.menu-icon::after { transform: translateY(6px); }
.mobile-menu nav {
  position: absolute;
  z-index: 60;
  top: calc(100% + 12px);
  inset-inline-end: 0;
  display: none;
  width: min(280px, calc(100vw - 28px));
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0b1613;
  box-shadow: var(--shadow);
}
.mobile-menu[open] nav { display: flex; }
.mobile-menu nav a { padding: 10px 12px; border-radius: 10px; color: #d9e0dc; }
.mobile-menu nav a:hover { background: rgba(255,255,255,.07); }

main { overflow: hidden; }
section { padding: 76px 0; }
.hero { padding: 70px 0 46px; }
.eyebrow, .section-kicker {
  color: #e7cf92;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
html[lang="ar"] .eyebrow, html[lang="ar"] .section-kicker { letter-spacing: 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid rgba(215,184,106,.24);
  border-radius: 999px;
  background: rgba(215,184,106,.075);
}
.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(32,166,106,.12);
  content: "";
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 70px);
  letter-spacing: -.055em;
  line-height: .98;
}
html[lang="ar"] h1 { letter-spacing: 0; line-height: 1.35; }
h2 { margin-bottom: 16px; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.04em; line-height: 1.12; }
html[lang="ar"] h2 { letter-spacing: 0; line-height: 1.45; }
h3 { margin-bottom: 8px; font-size: 19px; line-height: 1.3; }
.hero-copy { max-width: 820px; margin-bottom: 24px; color: var(--muted); font-size: clamp(17px, 2vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 34px; }
.text-link { color: #f1d89d; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { color: white; }
.photo-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .75fr); gap: 18px; align-items: stretch; }
.photo-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}
.photo-frame { position: relative; overflow: hidden; background: #101c18; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-card-wide img { aspect-ratio: 900 / 850; }
.photo-card-detail { display: flex; flex-direction: column; }
.photo-card-detail .photo-frame { flex: 1; display: grid; min-height: 250px; place-items: center; }
.photo-card-detail img { width: min(100%, 420px); height: auto; max-height: 100%; aspect-ratio: 250 / 230; object-fit: contain; }
figcaption { padding: 14px 16px 16px; color: #dfe7e2; font-size: 14px; }
.photo-marker {
  position: absolute;
  top: 66%;
  left: 27%;
  width: 66px;
  aspect-ratio: 1;
  border: 2px solid rgba(236,210,143,.95);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(215,184,106,.2), 0 0 24px rgba(0,0,0,.35);
  pointer-events: none;
  transform: translate(-50%, -50%);
}
.photo-marker::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent-2);
  content: "";
  transform: translate(-50%, -50%);
}
.photo-marker-detail { top: 65%; left: 56%; width: 70px; }
.photo-card > .text-link { display: inline-block; margin: 0 16px 16px; }
.photo-note { margin: 12px 0 0; color: #899991; font-size: 12px; }
.size-note { display: inline-flex; align-items: baseline; gap: 8px; margin-top: 18px; color: #dfe7e2; }
.size-note strong { color: var(--accent-2); font-size: 19px; }

.section-head { max-width: 780px; margin-bottom: 28px; }
.section-head p { margin-bottom: 0; color: var(--muted); font-size: 17px; }
.placement-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 40px; }
.placement-photo { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.placement-photo .photo-frame { aspect-ratio: 480 / 440; }
.placement-photo figcaption { color: var(--muted); }
.placement-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: placement; }
.placement-steps li {
  position: relative;
  padding: 18px 18px 18px 58px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
  color: #dce5df;
  counter-increment: placement;
}
html[lang="ar"] .placement-steps li { padding: 18px 58px 18px 18px; }
.placement-steps li::before {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  width: 26px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: rgba(215,184,106,.15);
  color: var(--accent-2);
  content: counter(placement);
  font-weight: 800;
}
html[lang="ar"] .placement-steps li::before { right: 18px; left: auto; }
.placement-steps strong { display: block; margin-bottom: 3px; color: white; }
.quiet-note { margin: 16px 0 0; color: #8d9c94; font-size: 13px; }

.scan-section { background: linear-gradient(180deg, transparent, rgba(255,255,255,.025), transparent); }
.scan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.info-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); }
.info-card p { margin-bottom: 0; color: var(--muted); }
.info-card strong { color: #f1d89d; }

.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.035); }
.faq-item summary { padding: 18px 20px; cursor: pointer; font-weight: 750; list-style-position: inside; }
.faq-item[open] summary { color: var(--accent-2); }
.faq-answer { padding: 0 20px 18px; color: var(--muted); }
.faq-answer p { margin: 0; }
.faq-answer a { color: #f1d89d; text-decoration: underline; text-underline-offset: 3px; }

.closing-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid rgba(215,184,106,.26);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(215,184,106,.10), rgba(32,166,106,.055));
}
.closing-card h2 { margin-bottom: 8px; }
.closing-card p { margin-bottom: 0; color: var(--muted); }
.closing-card .btn { flex: 0 0 auto; }
.related-links { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 22px; color: #f1d89d; font-size: 14px; }
.related-links a { text-decoration: underline; text-underline-offset: 4px; }

footer { margin-top: 40px; padding: 38px 0 32px; border-top: 1px solid rgba(255,255,255,.07); background: rgba(5,9,8,.75); }
.footer-bottom { margin-top: 22px; color: #899991; font-size: 12px; }
.consent-banner {
  position: fixed;
  z-index: 100;
  inset-inline: 16px;
  bottom: 16px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(215,184,106,.35);
  border-radius: 16px;
  background: #101b17;
  box-shadow: var(--shadow);
}
.consent-banner.visible { display: flex; }
.consent-banner p { margin: 0; color: #cad4ce; font-size: 13px; }
.consent-banner a { color: var(--accent-2); text-decoration: underline; }
.consent-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.consent-actions button { min-height: 40px; cursor: pointer; }
.mobile-cta { display: none; }
.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;
}

@media (max-width: 1080px) {
  .nav-links { gap: 12px; font-size: 13px; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .mobile-menu { display: block; }
  .photo-grid { grid-template-columns: minmax(0, 1fr) minmax(220px, .75fr); }
  .placement-layout { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 78px; }
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav { min-height: 68px; gap: 8px; }
  .brand-logo { width: 120px; }
  .nav-actions { gap: 7px; }
  .nav-actions > .js-register { display: none; }
  .hero { padding-top: 48px; }
  section { padding: 56px 0; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-card-wide { order: 0; }
  .photo-card-detail { order: 1; }
  .photo-card-detail .photo-frame { min-height: 0; }
  .photo-card-detail img { width: 100%; max-height: 380px; object-fit: contain; }
  .placement-steps li { padding: 16px 16px 16px 54px; }
  html[lang="ar"] .placement-steps li { padding: 16px 54px 16px 16px; }
  .scan-grid { grid-template-columns: 1fr; }
  .closing-card { align-items: stretch; flex-direction: column; }
  .closing-card .btn { width: 100%; }
  .footer-row { align-items: flex-start; flex-direction: column; }
  .consent-banner.visible { align-items: stretch; flex-direction: column; }
  .consent-actions button { flex: 1; }
  .mobile-cta {
    position: fixed;
    z-index: 40;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 10px 14px max(10px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(7,16,14,.94);
    backdrop-filter: blur(14px);
  }
  .mobile-cta .btn { width: 100%; }
  body { padding-bottom: 68px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
