:root {
  --color-ink: #16111a;
  --color-charcoal: #22101c;
  --color-porcelain: #f9f8f8;
  --color-paper: #ffffff;
  --color-brass: #c2a8ad;
  --color-burgundy: #522e5e;
  --color-emerald: #5b2d6d;
  --color-sand: #ebebeb;
  --color-muted: #775a72;
  --color-lavender: #d3c1c7;
  --color-mauve: #a58998;
  --color-blush: #e8dfdd;
  --color-primary-light: #775a72;
  --color-white: #ffffff;
  --shadow-soft: 0 18px 54px rgba(82, 46, 94, 0.14);
  --radius-card: 16px;
  --radius-lg: 28px;
  --container: 1280px;
  --font-display: "Montserrat", "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Poppins", "Inter", "Segoe UI", Arial, sans-serif;
  --font-arabic: "Cairo", "Tajawal", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-porcelain);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body[dir="rtl"] {
  font-family: var(--font-arabic);
  text-align: right;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 100;
  background: var(--color-white);
  color: var(--color-ink);
  padding: 10px 14px;
  border: 1px solid var(--color-brass);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid #f3e7ef;
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--container));
  min-height: 82px;
  margin: 0 auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  line-height: 1.05;
}

.brand__logo {
  width: 218px;
  max-width: 46vw;
  height: auto;
  object-fit: contain;
}

.brand__tagline {
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #f3e7ef;
  border-radius: 12px;
  background: var(--color-paper);
  color: var(--color-ink);
  font-weight: 700;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 18px;
}

.primary-nav,
.language-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.primary-nav a,
.language-nav a {
  text-decoration: none;
  color: var(--color-charcoal);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 180ms ease;
}

.primary-nav a:hover,
.language-nav a:hover {
  color: var(--color-burgundy);
}

.primary-nav a[aria-current="page"],
.language-nav a[aria-current="true"] {
  color: var(--color-burgundy);
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.25;
  cursor: pointer;
  box-shadow: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--color-burgundy);
  color: var(--color-white);
  box-shadow: 0 14px 34px rgba(82, 46, 94, 0.24);
}

.button--secondary {
  border-color: rgba(82, 46, 94, 0.28);
  color: var(--color-burgundy);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
}

.hero .button--secondary,
.section--dark .button--secondary,
.cta-band .button--secondary {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.12);
}

.button--dark {
  background: var(--color-charcoal);
  color: var(--color-white);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  height: 85vh;
  display: grid;
  align-items: center;
  color: var(--color-white);
  background: var(--color-charcoal);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(82, 46, 94, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(22, 17, 26, 0.42), rgba(34, 16, 28, 0.72));
  z-index: 1;
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero--compact {
  min-height: 520px;
  height: 62vh;
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 96px 0 72px;
}

.hero__content {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow,
.section-eyebrow {
  margin: 0 0 12px;
  color: var(--color-burgundy);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.05;
  font-weight: 800;
}

h1 {
  max-width: 920px;
  font-size: 66px;
  letter-spacing: 0;
}

h2 {
  font-size: 42px;
  letter-spacing: 0;
}

h3 {
  font-size: 25px;
}

p {
  margin: 0;
}

.hero__intro {
  max-width: 780px;
  margin: 22px auto 0;
  font-size: 20px;
  font-weight: 300;
}

.hero__actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  justify-content: center;
}

.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  justify-content: center;
}

.proof-list li {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(23, 22, 20, 0.28);
  font-size: 14px;
}

.section {
  padding: 92px 0;
}

.section--paper {
  background: #fcf8fa;
}

.section--dark {
  background: var(--color-charcoal);
  color: var(--color-white);
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.section-header {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: 32px;
  max-width: 860px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-header p {
  color: var(--color-muted);
}

.section--dark .section-header p,
.section--dark .muted {
  color: rgba(255, 255, 255, 0.72);
}

.muted {
  color: var(--color-muted);
}

.lead {
  max-width: 820px;
  font-size: 20px;
}

.grid {
  display: grid;
  gap: 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 {
  overflow: hidden;
  border: 1px solid #f3e7ef;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 0 rgba(82, 46, 94, 0.03);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(82, 46, 94, 0.28);
  box-shadow: var(--shadow-soft);
}

.card__body {
  padding: 28px;
}

.card p,
.case-card p,
.article-card p {
  color: var(--color-muted);
  margin-top: 12px;
}

.card a,
.case-card a,
.article-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--color-burgundy);
  font-weight: 800;
  text-decoration: none;
}

.media-card {
  overflow: hidden;
}

.media-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 700ms ease;
}

.media-card:hover img {
  transform: scale(1.045);
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 18px 20px;
  border-left: 4px solid var(--color-burgundy);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 28px rgba(82, 46, 94, 0.08);
}

[dir="rtl"] .feature-list li {
  border-left: 0;
  border-right: 3px solid var(--color-brass);
}

.content-flow {
  display: grid;
  gap: 28px;
}

.content-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 34px;
  padding: 42px 0;
  border-top: 1px solid rgba(211, 193, 199, 0.7);
}

.content-section__body {
  display: grid;
  gap: 18px;
}

.content-section ul,
.article-body ul {
  margin: 0;
  padding-left: 22px;
}

[dir="rtl"] .content-section ul,
[dir="rtl"] .article-body ul {
  padding-left: 0;
  padding-right: 22px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid #f3e7ef;
  border-radius: var(--radius-card);
  background: var(--color-paper);
  box-shadow: var(--shadow-soft);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid #f3e7ef;
  text-align: left;
  vertical-align: top;
}

[dir="rtl"] th,
[dir="rtl"] td {
  text-align: right;
}

th {
  background: rgba(211, 193, 199, 0.28);
  font-size: 14px;
}

tr:last-child td {
  border-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid #f3e7ef;
  border-radius: var(--radius-card);
  background: var(--color-paper);
  box-shadow: 0 10px 30px rgba(82, 46, 94, 0.06);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 800;
}

details p {
  padding: 0 20px 20px;
  color: var(--color-muted);
}

.breadcrumb {
  padding: 22px 0 0;
  font-size: 14px;
  color: var(--color-muted);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb a {
  color: var(--color-muted);
  text-decoration: none;
}

.last-updated {
  display: inline-flex;
  margin-top: 18px;
  color: var(--color-muted);
  font-size: 14px;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 42px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at right top, rgba(255, 255, 255, 0.12), transparent 28%),
    var(--color-burgundy);
  color: var(--color-white);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.cta-band p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

label {
  font-weight: 800;
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #e7cfdf;
  border-radius: 8px;
  padding: 12px 13px;
  font: inherit;
  background: var(--color-white);
  color: var(--color-ink);
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: var(--color-burgundy);
  box-shadow: 0 0 0 3px rgba(82, 46, 94, 0.12);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

[aria-invalid="true"] {
  border-color: var(--color-burgundy);
}

.form-status {
  min-height: 28px;
  margin-top: 12px;
  font-weight: 800;
}

.form-status[data-state="success"] {
  color: var(--color-emerald);
}

.form-status[data-state="error"] {
  color: var(--color-burgundy);
}

.site-footer {
  padding: 56px 0 28px;
  background: var(--color-charcoal);
  color: var(--color-white);
}

.footer-logo {
  width: 220px;
  max-width: 100%;
  height: auto;
  margin-bottom: 16px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
  gap: 28px;
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-panel {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    padding: 18px;
    border: 1px solid rgba(179, 138, 76, 0.28);
    border-radius: var(--radius-card);
    background: var(--color-paper);
    box-shadow: var(--shadow-soft);
  }

  .nav-panel[data-open] {
    display: flex;
  }

  .primary-nav,
  .language-nav {
    align-items: stretch;
    flex-direction: column;
  }

  .section-header,
  .content-section,
  .cta-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
  }

  .hero,
  .hero--compact {
    min-height: 560px;
  }

  .hero__inner {
    padding: 84px 0 52px;
  }

  .hero__intro,
  .lead {
    font-size: 18px;
  }

  .section {
    padding: 58px 0;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 24px;
  }
}
