/* XP Landing — RTL */
:root {
  --navy: #0c1f3a;
  --navy-deep: #071326;
  --navy-mid: #132a4a;
  --green: #00a870;
  --green-hover: #008f5f;
  --blue-accent: #1e6bb8;
  --text: #1a2b3f;
  --text-muted: #5a6978;
  --border: #e4e9ef;
  --surface: #ffffff;
  --surface-muted: #f4f7fa;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Tajawal", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1160px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: baseline;
  font-weight: 800;
  font-family: system-ui, "Segoe UI", sans-serif;
  letter-spacing: -0.04em;
}

.logo__x {
  color: var(--green);
  font-size: 1.15em;
}

.logo__p {
  color: var(--blue-accent);
  font-size: 1.15em;
}

.logo--sm {
  font-size: 1.35rem;
}

.logo--hero {
  font-size: clamp(4.5rem, 12vw, 7.5rem);
}

.logo--footer {
  font-size: 1.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn--accent {
  background: var(--green);
  color: #fff;
}

.btn--accent:hover {
  background: var(--green-hover);
}

.btn--outline-dark {
  background: #fff;
  color: var(--navy);
  border-color: #cfd6e0;
}

.btn--outline-dark:hover {
  border-color: var(--navy-mid);
  background: #fafbfc;
}

.btn--block {
  width: 100%;
  padding-block: 0.85rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  min-height: 72px;
}

.header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-inline-start: auto;
  order: 1;
}

.header__name {
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
}

.header__nav {
  order: 2;
  flex: 1;
  display: flex;
  justify-content: center;
}

.header__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1.25rem;
}

.header__menu a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.35rem 0;
  transition: color 0.2s;
}

.header__menu a:hover {
  color: var(--green);
}

.header__burger {
  display: none;
  order: 0;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0;
  overflow: hidden;
  background: var(--surface);
}

.hero__map-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #d5dde6 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: 0.45;
  mask-image: linear-gradient(-90deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.9) 45%, #000 100%);
  -webkit-mask-image: linear-gradient(-90deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.9) 45%, #000 100%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3.4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--navy);
}

.text-accent {
  color: var(--green);
}

.hero__lead {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  max-width: 34em;
  font-size: 1.02rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.hero__quick-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem 1.75rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.hero__qc-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero__qc-item i {
  color: var(--green);
  font-size: 1rem;
}

.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.hero__orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(92%, 440px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background-image: radial-gradient(circle at center, #c8d4e0 1.8px, transparent 1.8px);
  background-size: 12px 12px;
  opacity: 0.55;
  z-index: 0;
}

.hero__logo-big {
  position: relative;
  z-index: 1;
}

.hero__footnote {
  position: relative;
  z-index: 1;
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 18em;
}

/* Sections */
.section {
  padding: clamp(3rem, 5vw, 4.25rem) 0;
}

.section--surface {
  background: var(--surface);
}

.section--muted {
  background: var(--surface-muted);
}

.section--navy {
  background: var(--navy);
  color: #fff;
}

.section__head {
  text-align: center;
  margin-bottom: 2.5rem;
  max-width: 640px;
  margin-inline: auto;
}

.section__head--light .section__subtitle {
  color: rgba(255, 255, 255, 0.82);
}

.section__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  font-weight: 800;
  color: var(--navy);
}

.section__head--light .section__title {
  color: #fff;
}

.section__subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

.title-underline {
  display: inline-block;
  position: relative;
  padding-bottom: 0.6rem;
}

.title-underline::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 48px;
  height: 4px;
  border-radius: 4px;
  background: var(--green);
}

.title-underline--center::after {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

.title-underline--light::after {
  background: var(--green);
}

.section__actions {
  text-align: center;
  margin-top: 2.25rem;
}

/* Service cards */
.cards-grid {
  display: grid;
  gap: 1.25rem;
}

.cards-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.svc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 2px 8px rgba(12, 31, 58, 0.04);
  transition: box-shadow 0.25s, transform 0.2s;
}

.svc-card:hover {
  box-shadow: 0 10px 28px rgba(12, 31, 58, 0.1);
  transform: translateY(-3px);
}

.svc-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.svc-card__icon--green {
  background: rgba(0, 168, 112, 0.12);
  color: var(--green);
}

.svc-card__icon--blue {
  background: rgba(30, 107, 184, 0.12);
  color: var(--blue-accent);
}

.svc-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
}

.svc-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Why */
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.why__icon-ring {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
}

.why__col h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.why__col p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

/* Sectors */
.sectors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 2.5rem;
}

.sectors__item {
  text-align: center;
  min-width: 100px;
}

.sectors__glyph {
  width: 88px;
  height: 88px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--navy);
  background: #fff;
}

.sectors__item span {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
}

/* Workflow */
.workflow__track {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem 0.25rem;
}

.workflow__step {
  flex: 1 1 200px;
  max-width: 240px;
  text-align: center;
  padding: 0.5rem;
}

.workflow__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.85rem;
}

.workflow__step--green .workflow__badge {
  background: var(--green);
}

.workflow__step--blue .workflow__badge {
  background: var(--blue-accent);
}

.workflow__step h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
}

.workflow__step p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.workflow__arrow {
  color: #b8c2ce;
  font-size: 1rem;
  align-self: center;
  padding: 0 0.15rem;
  margin-top: 1.5rem;
}

.workflow__arrow i {
  transform: scaleX(-1);
}

/* Stats */
.stats {
  padding-block: 2.75rem;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stats__item {
  padding: 0.5rem;
}

.stats__ico {
  font-size: 1.75rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.65rem;
}

.stats__num {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.stats__lbl {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
}

/* Partners */
.partners__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem 2rem;
}

.partners__logo {
  min-width: 120px;
  padding: 1rem 1.5rem;
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  letter-spacing: 0.02em;
}

/* Contact */
.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.card-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 8px 30px rgba(12, 31, 58, 0.06);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-form input,
.card-form textarea {
  font: inherit;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fafbfc;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}

.card-form input:focus,
.card-form textarea:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
}

.card-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact__info {
  position: relative;
  padding-inline-end: 1rem;
}

.contact__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.contact__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.contact__list i {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(0, 168, 112, 0.12);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__list strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.contact__list span {
  font-weight: 700;
  color: var(--navy);
}

.contact__deco {
  margin-top: 2rem;
  display: flex;
  justify-content: flex-end;
}

.contact__bubble {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background-image: radial-gradient(circle at center, #c8d4e0 1.6px, transparent 1.6px);
  background-size: 11px 11px;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--green);
  position: relative;
}

.contact__bubble::after {
  content: "";
  position: absolute;
  top: -8px;
  inset-inline-end: -4px;
  width: 28px;
  height: 28px;
  background: var(--green);
  border-radius: 50%;
  opacity: 0.9;
  z-index: -1;
}

/* Footer */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.88);
  padding-top: 3rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr 0.95fr 1.35fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer__brand-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer__brand-row .header__name {
  font-size: 1.35rem;
}

.footer__bio {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

.footer__social {
  display: flex;
  gap: 0.65rem;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}

.footer__social a:hover {
  background: var(--green);
}

.footer__ttl {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

.footer__links,
.footer__contacts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links li,
.footer__contacts li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--green);
}

.footer__contacts li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer__contacts i {
  color: var(--green);
  margin-top: 0.2rem;
}

.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
  padding: 0.85rem 0;
}

.footer__copy {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Responsive */
@media (max-width: 1024px) {
  .cards-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .why__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow__arrow {
    display: none;
  }
}

@media (max-width: 900px) {
  .header__burger {
    display: block;
    order: 4;
    margin-inline-start: auto;
  }

  .header__brand {
    order: 1;
    margin-inline-start: 0;
  }

  .header__nav {
    position: fixed;
    inset: 72px 0 auto 0;
    background: var(--navy-mid);
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
    order: 5;
    width: 100%;
  }

  .header__nav.is-open {
    display: block;
  }

  .header__menu {
    flex-direction: column;
    align-items: stretch;
  }

  .header__inner {
    flex-wrap: wrap;
  }

  .header__nav {
    flex: 1 1 100%;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
    min-height: 220px;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__layout {
    grid-template-columns: 1fr;
  }

  .contact__deco {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .cards-grid--4 {
    grid-template-columns: 1fr;
  }

  .why__grid {
    grid-template-columns: 1fr;
  }

  .stats__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }
}
