:root {
  --bg: #0b0b0b;
  --bg-soft: #101722;
  --panel: rgba(16, 22, 31, 0.9);
  --panel-strong: rgba(20, 28, 39, 0.96);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f6f1e8;
  --muted: #aab3bf;
  --gold: #d4a63a;
  --gold-strong: #f0bf4d;
  --gold-soft: rgba(212, 166, 58, 0.16);
  --shadow: 0 24px 65px rgba(0, 0, 0, 0.35);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Cairo, Arial, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background:
    radial-gradient(circle at top right, rgba(212, 166, 58, 0.08), transparent 24%),
    radial-gradient(circle at top left, rgba(70, 92, 120, 0.12), transparent 26%),
    linear-gradient(180deg, #11161e 0%, #090d12 16%, #070b10 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

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

.section {
  padding: 68px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(8, 12, 17, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 24px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
}

.brand {
  color: var(--gold-strong);
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

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

.nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: -14px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold-strong);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.menu-btn {
  display: none;
  position: relative;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
}

.menu-btn span {
  position: absolute;
  right: 14px;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.menu-btn span:nth-child(1) {
  top: 17px;
}

.menu-btn span:nth-child(2) {
  top: 25px;
}

.menu-btn span:nth-child(3) {
  top: 33px;
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .menu-btn span:nth-child(1) {
  top: 25px;
  transform: rotate(45deg);
}

body.nav-open .menu-btn span:nth-child(2) {
  opacity: 0;
}

body.nav-open .menu-btn span:nth-child(3) {
  top: 25px;
  transform: rotate(-45deg);
}

/* Hero section */
.hero {
  padding-top: 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(540px, 54%);
  gap: 22px;
  align-items: center;
  background: linear-gradient(180deg, rgba(7, 10, 14, 0.92), rgba(7, 10, 14, 0.9));
  border-radius: 0 0 34px 34px;
  padding: 78px 48px 154px;
  direction: ltr;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 700px;
  direction: rtl;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--gold-strong);
  font-size: 1.1rem;
  font-weight: 800;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(3.3rem, 5.2vw, 5rem);
  line-height: 1.12;
  text-wrap: balance;
}

.hero-role {
  margin: 0;
  color: var(--gold-strong);
  font-size: clamp(1.8rem, 2.5vw, 2.65rem);
  font-weight: 800;
}

.hero-lead {
  max-width: 700px;
  margin: 28px 0 0;
  color: #e5e8ec;
  font-size: 1.12rem;
  line-height: 1.9;
  text-wrap: pretty;
}

.hero-actions,
.contact-actions,
.social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-actions {
  margin-top: 42px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #111;
  background: linear-gradient(135deg, var(--gold-strong), #d39d29);
  box-shadow: 0 16px 38px rgba(212, 166, 58, 0.2);
}

.btn-secondary {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
}

.btn-outline {
  color: var(--gold-strong);
  border-color: rgba(212, 166, 58, 0.7);
  background: transparent;
}

.social-links {
  margin-top: 30px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #fff;
  font-weight: 800;
  border: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.social-links a:hover {
  color: var(--gold-strong);
  border-color: rgba(212, 166, 58, 0.24);
  background: rgba(212, 166, 58, 0.08);
}

.hero-visual {
  position: relative;
  min-height: 770px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 22px;
  direction: rtl;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 282px;
  right: 260px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 166, 58, 0.34) 0%, rgba(186, 140, 37, 0.28) 58%, rgba(186, 140, 37, 0) 72%);
  filter: blur(1px);
}

.dot-pattern {
  position: absolute;
  top: 124px;
  right: 2px;
  width: 176px;
  height: 336px;
  background-image: radial-gradient(rgba(212, 166, 58, 0.33) 1px, transparent 1px);
  background-size: 10px 10px;
  opacity: 0.34;
}

.hero-portrait {
  position: relative;
  width: min(100%, 792px);
  height: auto;
  object-fit: contain;
  object-position: right center;
  transform: translate(12px, 18px);
}

/* Shared section typography */
h2 {
  margin: 0 0 28px;
  color: var(--gold-strong);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  text-align: center;
}

h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: var(--gold-strong);
}

.section-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.section-intro {
  max-width: 760px;
  margin: -6px auto 34px;
  color: var(--muted);
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.9;
}

/* About section */
.about-grid {
  grid-template-columns: minmax(0, 1fr) 500px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.section-copy h2,
.section-copy h2::after {
  text-align: right;
  margin-right: 0;
}

.section-copy h2::after {
  margin-right: 0;
}

.section-copy p {
  margin: 0 0 18px;
  color: #dde4ed;
  font-size: 1.02rem;
  line-height: 1.9;
}

.media-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 26px;
  background: rgba(0, 0, 0, 0.18);
}

.media-card img {
  width: 100%;
  border-radius: 20px;
}

/* Services section */
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.info-card,
.project-card,
.testimonial-card,
.stat-card,
.partner-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 22, 31, 0.98), rgba(13, 18, 26, 0.95));
  box-shadow: var(--shadow);
}

.info-card {
  border-radius: 20px;
  padding: 24px 18px;
  min-height: 240px;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 16px;
  color: var(--gold-strong);
  background: var(--gold-soft);
  font-size: 1.8rem;
}

.info-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

/* Articles section */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.article-card {
  display: grid;
  align-content: start;
  grid-template-rows: auto auto auto 1fr auto;
  min-height: 100%;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(18, 24, 33, 0.98), rgba(12, 16, 23, 0.98)),
    radial-gradient(circle at top right, rgba(212, 166, 58, 0.1), transparent 45%);
  box-shadow: var(--shadow);
}

.article-thumb {
  display: grid;
  align-content: end;
  gap: 10px;
  min-height: 196px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(212, 166, 58, 0.14);
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #1a2431, #0c1118);
}

.article-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 9, 13, 0.02) 0%, rgba(6, 9, 13, 0.3) 42%, rgba(6, 9, 13, 0.86) 100%);
  pointer-events: none;
  z-index: 1;
}

.article-thumb img,
.article-thumb strong,
.article-thumb-label {
  position: relative;
}

.article-thumb img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.article-thumb strong {
  z-index: 2;
  font-size: 1.32rem;
  line-height: 1.5;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.article-thumb-label {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-strong);
  font-size: 0.78rem;
  font-weight: 800;
  z-index: 2;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--gold-strong);
  font-size: 0.82rem;
  font-weight: 800;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(212, 166, 58, 0.16);
  border-radius: 999px;
  background: rgba(212, 166, 58, 0.08);
}

.article-card h3 {
  margin: 0 0 12px;
  font-size: 1.28rem;
  line-height: 1.7;
}

.article-title-link {
  color: inherit;
}

.article-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.article-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 22px;
  color: var(--gold-strong);
  font-weight: 800;
  border-bottom: 1px solid rgba(212, 166, 58, 0.45);
  padding-bottom: 4px;
}

.article-link:hover,
.article-title-link:hover {
  color: #ffd678;
}

@media (min-width: 1101px) {
  .article-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .article-card {
    padding: 22px 20px;
    border-radius: 22px;
  }

  .article-thumb {
    min-height: 0;
    aspect-ratio: 16 / 10;
    margin-bottom: 16px;
    padding: 16px;
    border-radius: 20px;
  }

  .article-thumb strong {
    font-size: 1.14rem;
    line-height: 1.45;
  }

  .article-meta {
    gap: 8px;
    margin-bottom: 14px;
  }

  .article-card h3 {
    margin: 0 0 10px;
    font-size: 1.16rem;
    line-height: 1.65;
  }

  .article-card p {
    line-height: 1.8;
  }
}

.article-shell {
  max-width: 920px;
  margin: 0 auto;
}

.article-cover {
  margin-bottom: 28px;
}

.article-cover.article-thumb {
  min-height: 320px;
  margin-bottom: 0;
  padding: 28px;
}

.article-body {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px 30px;
  background: linear-gradient(180deg, rgba(18, 24, 33, 0.98), rgba(12, 16, 23, 0.98));
  box-shadow: var(--shadow);
}

.article-body > *:first-child {
  margin-top: 0;
}

.article-body h2 {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 1.6rem;
  text-align: right;
}

.article-body h2::after {
  display: none;
}

.article-body p,
.article-body li {
  color: #e3e8ef;
  line-height: 2;
}

.article-body p {
  margin: 0 0 18px;
}

.article-body ul {
  margin: 0 0 22px;
  padding-right: 22px;
}

.article-body li {
  margin-bottom: 10px;
}

.article-lead-box,
.article-highlight-box,
.article-example,
.article-checklist {
  margin: 0 0 24px;
  border: 1px solid rgba(212, 166, 58, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.012)),
    radial-gradient(circle at top right, rgba(212, 166, 58, 0.1), transparent 46%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.article-lead-box,
.article-highlight-box,
.article-checklist {
  padding: 24px 22px;
}

.article-example {
  padding: 18px 20px;
}

.article-lead-box strong,
.article-highlight-box strong,
.article-checklist strong,
.article-example strong {
  display: block;
  margin-bottom: 12px;
  color: var(--gold-strong);
  font-size: 1.02rem;
}

.article-example p:last-child,
.article-lead-box p:last-child,
.article-highlight-box p:last-child {
  margin-bottom: 0;
}

.article-toc {
  margin: 0 0 28px;
  padding: 24px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(13, 18, 25, 0.98), rgba(10, 14, 20, 0.96));
}

.article-toc strong {
  display: block;
  margin-bottom: 14px;
  color: var(--gold-strong);
  font-size: 1.05rem;
}

.article-toc ol {
  margin: 0;
  padding-right: 20px;
}

.article-toc li {
  margin-bottom: 10px;
  color: #e3e8ef;
}

.article-figure {
  margin: 0 0 28px;
}

.article-figure img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(212, 166, 58, 0.14);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(18, 24, 33, 0.98), rgba(12, 16, 23, 0.98));
  box-shadow: var(--shadow);
}

.article-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
  text-align: center;
}

.article-split-figure {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 28px;
}

.article-split-figure .article-figure {
  margin-bottom: 0;
}

.article-callout-list {
  margin: 0;
  padding-right: 20px;
}

.article-callout-list li {
  color: #edf1f6;
}

.article-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

/* Portfolio section */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.partner-grid,
.all-partners-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.partner-card {
  display: grid;
  place-items: center;
  align-content: start;
  min-height: 224px;
  padding: 20px 16px 18px;
  border-radius: 24px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(18, 24, 33, 0.98), rgba(12, 16, 23, 0.98)),
    radial-gradient(circle at top, rgba(212, 166, 58, 0.08), transparent 55%);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.partner-card h3 {
  margin: 12px 0 0;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.partner-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.partner-logo {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 96px;
  height: 96px;
  border: 1px solid rgba(212, 166, 58, 0.18);
  border-radius: 20px;
  background:
    radial-gradient(circle at top, rgba(212, 166, 58, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  color: var(--gold-strong);
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.partner-logo-image {
  padding: 12px 16px;
}

.partner-logo-image img {
  max-width: 100%;
  width: auto;
  height: 60px;
  object-fit: contain;
  object-position: center;
  display: block;
}

.partner-logo-image img.partner-logo-wide {
  height: 48px;
}

.partner-logo-image img.partner-logo-dell {
  height: 62px;
  max-width: 62px;
}

.partner-logo-image img.partner-logo-soft-light {
  filter: brightness(1.15) contrast(1.16) saturate(1.04) drop-shadow(0 0 10px rgba(255, 255, 255, 0.08));
}

.partner-logo-image img.partner-logo-lulua {
  height: 58px;
}

.partner-logo-image img.partner-logo-consultant {
  height: 66px;
}

.partner-logo-image img.partner-logo-selected {
  height: 62px;
}

.partner-logo-image img.partner-logo-selected-art {
  height: 74px;
  max-width: calc(100% + 18px);
  transform: translateY(6px);
}

.partner-logo-image img.partner-logo-32 {
  height: 60px;
  max-width: 90%;
}

.partner-logo-image img.partner-logo-aqsa {
  height: 74px;
}

.partner-logo-image img.partner-logo-mirage {
  height: 66px;
  max-width: 70%;
}

.partner-logo-image img.partner-logo-dimas {
  height: 62px;
  filter: brightness(1.05) contrast(1.12) drop-shadow(0 0 10px rgba(255, 255, 255, 0.08));
}

.partner-logo-image img.partner-logo-gulf,
.partner-logo-image img.partner-logo-mada {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.08));
}

.partner-logo-image img.partner-logo-mada {
  height: 64px;
  max-width: 88%;
}

.partner-logo-image img.partner-logo-round {
  height: 74px;
}

.project-card {
  border-radius: 22px;
  overflow: hidden;
}

.project-card img {
  width: 100%;
  aspect-ratio: 1.22;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.project-card h3,
.project-card p,
.project-card a {
  margin-right: 18px;
  margin-left: 18px;
}

.project-card h3 {
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.project-card p {
  margin-top: 0;
  color: var(--muted);
  line-height: 1.8;
}

.project-card a {
  display: inline-flex;
  margin-top: 6px;
  margin-bottom: 20px;
  padding: 10px 16px;
  border: 1px solid rgba(212, 166, 58, 0.65);
  border-radius: 12px;
  color: var(--gold-strong);
  font-weight: 800;
}

.section-action {
  display: flex;
  width: fit-content;
  margin: 30px auto 0;
}

/* Stats section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: -126px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(16, 21, 29, 0.96), rgba(14, 18, 24, 0.96));
  box-shadow: var(--shadow);
}

.stat-card {
  border-radius: 0;
  padding: 34px 26px;
  text-align: center;
  background: transparent;
  box-shadow: none;
  border: 0;
}

.stat-card + .stat-card {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-icon {
  display: block;
  margin-bottom: 14px;
  color: var(--gold-strong);
  font-size: 2.7rem;
  line-height: 1;
}

.stat-card strong {
  display: block;
  color: var(--gold-strong);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 12px;
  color: #e9edf2;
  font-weight: 700;
}

/* Testimonials section */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.testimonial-card {
  position: relative;
  border-radius: 22px;
  padding: 32px 22px 22px;
}

.testimonial-card::before {
  content: "”";
  position: absolute;
  top: 10px;
  left: 18px;
  color: var(--gold-strong);
  font-size: 4rem;
  line-height: 1;
  opacity: 0.9;
}

.testimonial-card p {
  margin: 0;
  color: #edf1f5;
  line-height: 1.95;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
}

.testimonial-meta strong {
  display: block;
  color: var(--gold-strong);
}

.testimonial-meta span {
  color: var(--muted);
}

.avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #111;
  font-weight: 900;
  background: linear-gradient(135deg, #f2c767, #d49f2d);
}

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.dots span.active {
  background: var(--gold-strong);
}

/* Contact section */
.contact-block {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 52px 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow);
}

.contact-block p {
  margin: -4px auto 0;
  max-width: 620px;
  color: #e5e8ec;
}

.contact-note {
  margin-top: 16px !important;
  max-width: 860px !important;
  color: var(--muted) !important;
  line-height: 1.95;
}

.contact-actions {
  justify-content: center;
  margin-top: 28px;
}

.contact-social {
  justify-content: center;
}

.inner-page .site-header {
  position: sticky;
}

.nav-static {
  display: flex;
}

.inner-hero {
  padding-top: 86px;
  text-align: center;
}

.inner-hero + .section {
  padding-top: 32px;
}

.inner-title {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 4.3rem);
}

.article-shell .inner-title {
  margin-bottom: 18px;
  font-size: 36px;
  line-height: 1.65;
}

.article-byline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-bottom: 16px;
  padding: 0 16px;
  border: 1px solid rgba(212, 166, 58, 0.18);
  border-radius: 999px;
  background: rgba(212, 166, 58, 0.08);
  color: var(--gold-strong);
  font-size: 0.92rem;
  font-weight: 800;
}

.article-shell .section-intro {
  margin-top: 0;
  margin-bottom: 22px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 34px;
}

.error-page {
  min-height: calc(100vh - 86px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-shell {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  justify-items: center;
  text-align: center;
}

.error-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 62px 32px 42px;
  background:
    radial-gradient(circle at top center, rgba(212, 166, 58, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(18, 24, 33, 0.98), rgba(12, 16, 23, 0.98));
  box-shadow: var(--shadow);
}

.error-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  min-height: 58px;
  margin-bottom: 24px;
  padding: 0 24px;
  border: 1px solid rgba(212, 166, 58, 0.2);
  border-radius: 999px;
  background: rgba(212, 166, 58, 0.1);
  color: var(--gold-strong);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.error-title {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.2;
}

.error-text {
  max-width: 640px;
  margin: 0 auto 30px;
  color: #e3e8ef;
  font-size: 1.05rem;
  line-height: 1.95;
}

.error-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.error-orb {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 166, 58, 0.22), rgba(212, 166, 58, 0));
  filter: blur(6px);
  pointer-events: none;
}

.error-orb-left {
  top: -78px;
  left: -70px;
}

.error-orb-right {
  right: -60px;
  bottom: -90px;
}

.payment-strip {
  display: grid;
  justify-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.payment-label {
  color: var(--gold-strong);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.payment-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 14px;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.payment-list::-webkit-scrollbar {
  display: none;
}

.payment-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  flex: 0 0 auto;
  width: 96px;
  min-width: 96px;
  height: 84px;
  gap: 8px;
  overflow: hidden;
  border: 1px solid rgba(212, 166, 58, 0.18);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.payment-logo-wrap {
  overflow: hidden;
  padding-top: 8px;
}

.payment-logo-wrap img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 28px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.18));
}

.payment-name {
  color: #dbe2ea;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  overflow-wrap: anywhere;
}

.payment-logo-paypal img {
  height: 30px;
}

.payment-logo-instapay img {
  height: 24px;
}

.payment-logo-vodafone img {
  height: 30px;
}

.payment-logo-bank img {
  height: 34px;
}

.payment-logo-etisalat img {
  height: 28px;
}

.payment-logo-fawry img {
  height: 27px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.95rem;
}

.mobile-scroll-top {
  position: fixed;
  left: 24px;
  right: auto;
  bottom: 24px;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid rgba(212, 166, 58, 0.28);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(212, 166, 58, 0.22), rgba(212, 166, 58, 0.12)),
    rgba(9, 13, 18, 0.94);
  color: var(--gold-strong);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(12px);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.94);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.mobile-scroll-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.mobile-scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.mobile-scroll-top:hover,
.mobile-scroll-top:focus-visible {
  border-color: rgba(240, 191, 77, 0.52);
  background:
    linear-gradient(180deg, rgba(240, 191, 77, 0.3), rgba(212, 166, 58, 0.16)),
    rgba(9, 13, 18, 0.98);
  outline: none;
}

/* Responsive layout */
@media (max-width: 1100px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    min-height: 620px;
    justify-content: center;
  }

  .header-cta {
    display: none;
  }

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

  .portfolio-grid,
  .article-grid,
  .partner-grid,
  .all-partners-grid,
  .stats-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    min-height: 78px;
  }

  .menu-btn {
    display: inline-block;
  }

  .nav {
    position: fixed;
    top: 90px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(9, 13, 18, 0.98);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  }

  .nav-static {
    display: none;
  }

  body.nav-open .nav {
    display: flex;
  }

  .nav a {
    padding: 12px 10px;
    border-radius: 12px;
  }

  .nav a::after {
    display: none;
  }

  .nav a.active,
  .nav a:hover {
    background: rgba(212, 166, 58, 0.12);
    color: var(--gold-strong);
  }

  .hero-grid {
    padding: 34px 22px 92px;
    text-align: center;
    border-radius: 0 0 26px 26px;
  }

  .hero-copy {
    display: grid;
    justify-items: center;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-visual {
    min-height: 360px;
    justify-content: center;
    padding-top: 14px;
  }

  .hero-glow {
    top: 108px;
    right: auto;
    width: 184px;
    height: 184px;
  }

  .dot-pattern {
    width: 92px;
    height: 146px;
    top: 104px;
    right: 18px;
  }

  .hero-portrait {
    width: min(100%, 342px);
    transform: none;
  }

  .stats-grid {
    margin-top: -62px;
    padding: 6px 0;
    border-radius: 20px;
  }

  .stat-card {
    padding: 24px 18px;
  }

  .stat-card + .stat-card {
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .about-grid {
    padding: 24px;
  }

  .section-copy h2,
  h2 {
    text-align: center;
  }

  .section-copy h2::after,
  h2::after {
    margin-right: auto;
    margin-left: auto;
  }

  .service-grid,
  .portfolio-grid,
  .article-grid,
  .partner-grid,
  .all-partners-grid,
  .stats-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-height: auto;
  }

  .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .hero-actions,
  .contact-actions,
  .social-links {
    width: 100%;
    justify-content: center;
  }

  .contact-block {
    padding: 36px 18px;
  }

  .mobile-scroll-top {
    left: 16px;
    right: auto;
    bottom: 18px;
    width: 52px;
    height: 52px;
  }

  .article-shell .inner-title {
    font-size: 26px;
    line-height: 1.7;
  }

  .payment-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
    overflow: visible;
    padding-bottom: 0;
  }

  .payment-item {
    flex: initial;
    width: auto;
    min-width: 0;
    height: 70px;
    gap: 4px;
    padding: 0 1px;
    border-radius: 14px;
  }

  .payment-logo-wrap {
    padding-top: 6px;
  }

  .payment-logo-wrap img {
    height: 20px;
    max-width: 100%;
  }

  .payment-logo-paypal img,
  .payment-logo-vodafone img {
    height: 22px;
  }

  .payment-logo-instapay img {
    height: 17px;
  }

  .payment-logo-etisalat img,
  .payment-logo-fawry img {
    height: 19px;
  }

  .payment-logo-bank img {
    height: 24px;
  }

  .payment-name {
    font-size: 0.5rem;
    line-height: 1.05;
    white-space: normal;
  }

  .article-split-figure {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .section {
    padding: 54px 0;
  }

  .hero {
    padding-top: 22px;
  }

  .hero-grid {
    border-radius: 26px;
  }

  .brand {
    font-size: 1.5rem;
  }

  .social-links a {
    width: 38px;
    height: 38px;
  }

  .payment-strip {
    gap: 12px;
  }

  .payment-label {
    font-size: 0.84rem;
  }

  .payment-list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 4px;
  }

  .payment-item {
    height: 62px;
    gap: 3px;
    padding: 0 1px;
    border-radius: 11px;
  }

  .payment-logo-wrap img {
    height: 16px;
  }

  .payment-logo-paypal img,
  .payment-logo-vodafone img {
    height: 18px;
  }

  .payment-logo-instapay img {
    height: 14px;
  }

  .payment-logo-etisalat img,
  .payment-logo-fawry img {
    height: 15px;
  }

  .payment-logo-bank img {
    height: 19px;
  }

  .payment-name {
    font-size: 0.42rem;
    line-height: 1;
  }

  .error-card {
    padding: 48px 20px 34px;
    border-radius: 24px;
  }

  .error-title {
    font-size: 2rem;
  }

  .error-text {
    font-size: 0.98rem;
    margin-bottom: 24px;
  }

  .article-body {
    padding: 26px 18px;
    border-radius: 24px;
  }

  .article-toc,
  .article-lead-box,
  .article-highlight-box,
  .article-checklist,
  .article-example {
    padding: 18px 16px;
    border-radius: 18px;
  }

  .article-thumb strong {
    font-size: 1.15rem;
  }

  .article-cover.article-thumb {
    min-height: 240px;
    padding: 20px;
  }

  .article-shell .section-intro {
    margin-bottom: 18px;
  }

  .article-figure img {
    height: auto;
    max-height: 320px;
    object-fit: contain;
    object-position: center;
  }

  .inner-hero + .section {
    padding-top: 22px;
  }
}

@media (max-width: 390px) {
  .payment-list {
    gap: 3px;
  }

  .payment-item {
    height: 58px;
    gap: 2px;
    padding: 0 1px;
    border-radius: 10px;
  }

  .payment-logo-wrap img {
    height: 14px;
  }

  .payment-logo-paypal img,
  .payment-logo-vodafone img {
    height: 16px;
  }

  .payment-logo-instapay img {
    height: 12px;
  }

  .payment-logo-etisalat img,
  .payment-logo-fawry img {
    height: 13px;
  }

  .payment-logo-bank img {
    height: 17px;
  }

  .payment-name {
    font-size: 0.38rem;
    line-height: 0.98;
  }
}
