:root {
  --navy: #313B50;
  --navy-deep: #1E2636;
  --navy-ink: #252D3E;
  --gold: #C6A15B;
  --gold-2: #D4AF61;
  --gold-ink: #8A6A2E;
  --bg: #ffffff;
  --bg-alt: #F6F4EF;
  --text: #252D3E;
  --muted: #5E6678;
  --line: #E6E2D8;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(30, 38, 54, 0.08);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}
html[lang="ar"] { --font: "Cairo", system-ui, "Segoe UI", Tahoma, sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; color: var(--navy-ink); }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
html[lang="ar"] h1, html[lang="ar"] h2 { letter-spacing: 0; font-weight: 800; }
p { margin: 0 0 1rem; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; margin-inline: auto; }
.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: .8rem;
}
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .9rem; }
.eyebrow.center { display: block; }
.eyebrow.light { color: var(--gold-2); }
.sub { color: var(--muted); max-width: 640px; font-size: 1.05rem; }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 560px; }

.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font: inherit; font-weight: 600; font-size: .98rem;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 8px 20px rgba(198, 161, 91, .32); }
.btn-gold:hover { background: #b38c45; }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; border-radius: 6px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; gap: 28px; margin-inline-start: auto; }
.nav a { text-decoration: none; font-weight: 500; color: var(--navy-ink); font-size: .96rem; position: relative; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: -6px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .2s ease; }
.nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-btn {
  font: inherit; font-weight: 600; font-size: .9rem; color: var(--navy);
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; cursor: pointer;
}
.lang-btn:hover { border-color: var(--gold); }
html[lang="ar"] .lang-btn { font-family: "Poppins", sans-serif; }
html[lang="en"] .lang-btn { font-family: "Cairo", sans-serif; }
.menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; padding: 10px; flex-direction: column; justify-content: space-between; }
.menu-btn span { display: block; height: 2px; background: var(--navy); border-radius: 2px; }

/* Hero */
.hero { padding: 72px 0 88px; background:
  radial-gradient(900px 420px at 85% 10%, rgba(198, 161, 91, .14), transparent 60%),
  radial-gradient(700px 400px at 0% 100%, rgba(49, 59, 80, .07), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: .95rem; }
.hero-points li::before { content: "✓"; color: var(--gold); font-weight: 700; margin-inline-end: 8px; }

.hero-art { display: flex; justify-content: center; }
.orbit { position: relative; width: min(420px, 100%); aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed rgba(49, 59, 80, .18); }
.orbit::before { content: ""; position: absolute; inset: 16%; border-radius: 50%; border: 1.5px dashed rgba(198, 161, 91, .45); }
.core { position: absolute; inset: 32%; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; }
.core img { width: 62%; }
.chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 10px 16px; border-radius: 999px; font-weight: 600; color: var(--navy-ink); font-size: .95rem; white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.chip .ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold-2); font-size: .8rem; font-family: "Poppins", monospace; }
.chip-1 { top: 4%; inset-inline-start: 8%; }
.chip-2 { top: 22%; inset-inline-end: -4%; animation-delay: -1.5s; }
.chip-3 { bottom: 20%; inset-inline-start: -6%; animation-delay: -3s; }
.chip-4 { bottom: 4%; inset-inline-end: 10%; animation-delay: -4.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(198, 161, 91, .55); }
.card-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: var(--gold-2); display: grid; place-items: center; font-weight: 700; font-size: 1.05rem; margin-bottom: 18px; font-family: "Poppins", monospace; }
.card p { color: var(--muted); font-size: .96rem; }
.card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .93rem; }
.card li { display: flex; gap: 8px; }
.card li::before { content: ""; flex: 0 0 6px; height: 6px; margin-top: .62em; border-radius: 50%; background: var(--gold); }

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.why-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; border-inline-start: 4px solid var(--gold); }
.why-list strong { display: block; color: var(--navy-ink); margin-bottom: 2px; }
.why-list span { color: var(--muted); font-size: .95rem; }

.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 26px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.steps .num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: #fff; font-weight: 700; margin-bottom: 14px; font-family: "Poppins", sans-serif; }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }

.product-band { background: var(--navy-deep); color: #e8e6e1; padding: 56px 0; }
.product-band h2 { color: #fff; margin-bottom: .3em; }
.product-band p { margin: 0; color: #c9ccd4; max-width: 620px; }
.band-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.info-list li { display: flex; align-items: center; gap: 12px; }
.info-list a { text-decoration: none; font-weight: 500; }
.info-list a:hover { color: var(--gold-ink); }
.info-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold-ink); flex: 0 0 40px; }

.form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; font-weight: 500; font-size: .93rem; color: var(--navy-ink); }
.field em { font-style: normal; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-weight: 400; color: var(--text); width: 100%;
  border: 1px solid #D9D5CB; border-radius: 10px; padding: 12px 14px; background: #FCFBF9;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(198, 161, 91, .18); background: #fff; }
html[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #C0392B; }
.err { color: #B03A2E; font-size: .82rem; min-height: 0; font-weight: 400; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.form-status { margin: 0; font-size: .95rem; text-align: center; min-height: 1.4em; }
.form-status.ok { color: #1E7A46; font-weight: 600; }
.form-status.bad { color: #B03A2E; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #c9ccd4; padding: 40px 0 26px; border-top: 1px solid rgba(255, 255, 255, .06); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-logo { height: 56px; width: auto; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { text-decoration: none; font-size: .88rem; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .15); color: #e8e6e1; }
.socials a:hover { border-color: var(--gold); color: var(--gold-2); }
.copyright { display: flex; gap: 6px; flex-wrap: wrap; font-size: .85rem; margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); color: #9aa0ad; }

/* Responsive */
@media (max-width: 1000px) {
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .orbit { width: min(340px, 86%); }
}
@media (max-width: 760px) {
  .menu-btn { display: flex; }
  .hide-sm { display: none; }
  .nav {
    position: absolute; top: 76px; inset-inline: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .header-actions { margin-inline-start: auto; }
  .brand img { height: 44px; }
  .hero { padding: 40px 0 64px; }
  .section { padding: 64px 0; }
  .cards, .steps, .field-row { grid-template-columns: 1fr; }
  .band-row { flex-direction: column; align-items: flex-start; }
  .chip { font-size: .82rem; padding: 8px 12px; }
  .chip .ico { width: 24px; height: 24px; }
  .chip-2 { inset-inline-end: 0; }
  .chip-3 { inset-inline-start: 0; }
  .form { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chip { animation: none; }
  .card, .btn { transition: none; }
}
