:root {
  --ink: #141211;
  --ink-soft: #242120;
  --graphite: #343638;
  --steel: #7c8589;
  --gold: #b19d57;
  --gold-2: #bdad76;
  --ivory: #f7f4eb;
  --ivory-2: #f2eee4;
  --white: #ffffff;
  --mist: #e9ece8;
  --teal: #5e8f8a;
  --dark-line: rgba(255, 255, 255, 0.18);
  --light-line: rgba(20, 18, 17, 0.1);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  --soft-shadow: 0 16px 48px rgba(20, 18, 17, 0.08);
  --max: 1180px;
  font-family: Manrope, "IBM Plex Sans Arabic", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: Manrope, "IBM Plex Sans Arabic", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
}

html[dir="rtl"] body {
  font-family: "IBM Plex Sans Arabic", Manrope, system-ui, sans-serif;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 82px;
  padding: 14px 34px;
  color: var(--white);
  background: rgba(20, 18, 17, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 128px;
}

.brand img {
  width: 128px;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

.site-nav a {
  position: relative;
  padding: 6px 0;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.language-toggle {
  min-width: 92px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  cursor: pointer;
  font-weight: 700;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.language-toggle:hover,
.language-toggle:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(20, 18, 17, 0.96), rgba(20, 18, 17, 0.8) 58%, rgba(36, 33, 32, 0.97)),
    radial-gradient(circle at 74% 24%, rgba(94, 143, 138, 0.26), transparent 28%),
    var(--ink);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(0deg, var(--ivory), rgba(247, 244, 235, 0));
  pointer-events: none;
}

.hero__background {
  position: absolute;
  inset: 0;
  opacity: 0.72;
  background-image: url("./assets/hero-trade-background.png");
  background-position: center;
  background-size: cover;
}

.hero__background::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.043) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.043) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 78%);
}

.hero__background::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 18, 17, 0.6), transparent 52%),
    radial-gradient(circle at 18% 16%, rgba(177, 157, 87, 0.12), transparent 26%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 144px 0 210px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold-2);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

html[dir="rtl"] .eyebrow {
  text-transform: none;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--white);
  font-size: 5.75rem;
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.55;
}

.hero__summary {
  max-width: 680px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary,
.button--submit {
  background: var(--gold);
  color: var(--ink);
}

.button--primary:hover,
.button--primary:focus-visible,
.button--submit:hover,
.button--submit:focus-visible {
  background: var(--gold-2);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  border-color: var(--gold);
  color: var(--gold-2);
}

.trust-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(var(--max), calc(100% - 48px));
  margin: -150px auto 66px;
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.trust-strip__item {
  min-height: 104px;
  padding: 22px;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-strip__item:last-child {
  border-inline-end: 0;
}

.trust-strip__item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
  font-size: 1.08rem;
}

.trust-strip__item span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.94rem;
}

.section {
  position: relative;
  padding: 104px 0;
  scroll-margin-top: 120px;
}

.section__inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.section--light {
  background:
    linear-gradient(180deg, rgba(247, 244, 235, 0.98), var(--ivory)),
    var(--ivory);
}

.section--light::before,
.section--services::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 18, 17, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 18, 17, 0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.2), transparent 72%);
  pointer-events: none;
}

.section--services {
  background: linear-gradient(180deg, var(--ivory), var(--ivory-2));
}

.section--dark {
  padding-top: 148px;
  background:
    linear-gradient(180deg, var(--ivory-2) 0, rgba(20, 18, 17, 0.94) 22%, var(--ink) 100%);
  color: var(--white);
}

.section--contact {
  background:
    radial-gradient(circle at 14% 10%, rgba(94, 143, 138, 0.18), transparent 28%),
    linear-gradient(180deg, var(--ink), var(--ink-soft) 72%, #191614);
  color: var(--white);
}

.section-heading {
  max-width: 760px;
}

.section-heading--center {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading h2,
.contact-info h2 {
  margin: 0;
  color: inherit;
  font-size: 3.1rem;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
}

.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: 58px;
  align-items: start;
}

.about-copy {
  color: rgba(20, 18, 17, 0.72);
  font-size: 1.04rem;
}

.about-copy > p {
  margin-top: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.values-grid > div {
  min-height: 220px;
  padding: 30px;
  border: 1px solid var(--light-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--soft-shadow);
}

.values-grid span {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-weight: 800;
}

.values-grid p {
  margin: 0;
}

.service-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 268px;
  padding: 28px;
  border: 1px solid var(--light-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 38px rgba(20, 18, 17, 0.06);
}

.service-card__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border: 1px solid rgba(177, 157, 87, 0.45);
  border-radius: 50%;
  background: rgba(94, 143, 138, 0.08);
  color: var(--gold);
  font-weight: 800;
}

.service-card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1.22rem;
  line-height: 1.25;
}

.service-card p {
  margin: 0;
  color: rgba(20, 18, 17, 0.64);
}

.section--dark .section__inner {
  position: relative;
  z-index: 1;
}

.section--dark .section-heading {
  margin-bottom: 48px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-height: 132px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.process-list span {
  display: block;
  margin-bottom: 24px;
  color: var(--gold-2);
  font-weight: 800;
}

.process-list strong {
  display: block;
  color: var(--white);
  font-size: 1.08rem;
  line-height: 1.3;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.contact-info > p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.03rem;
}

.contact-details {
  margin-top: 36px;
  font-style: normal;
}

.contact-details span {
  display: block;
  margin-top: 22px;
  color: var(--gold-2);
  font-weight: 800;
}

.contact-details p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.75);
}

.contact-details a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(177, 157, 87, 0.65);
  text-underline-offset: 4px;
}

.contact-form {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 18px;
}

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

label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  outline: none;
  transition: border-color 180ms ease, background 180ms ease;
}

input,
select {
  min-height: 48px;
  padding: 0 14px;
}

textarea {
  min-height: 148px;
  resize: vertical;
  padding: 12px 14px;
}

select option {
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.11);
}

.button--submit {
  width: 100%;
  cursor: pointer;
}

.form-note {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px max(20px, calc((100% - var(--max)) / 2));
  background: var(--ink);
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--gold-2);
}

html[dir="rtl"] .hero__content,
html[dir="rtl"] .section-heading,
html[dir="rtl"] .about-copy,
html[dir="rtl"] .contact-info,
html[dir="rtl"] .contact-form,
html[dir="rtl"] .service-card,
html[dir="rtl"] .process-list {
  text-align: right;
}

html[dir="rtl"] .section-heading--center {
  text-align: center;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    min-height: 76px;
    padding: 10px 18px;
  }

  .brand,
  .brand img {
    width: 92px;
  }

  .site-nav {
    justify-content: center;
    overflow-x: auto;
    gap: 16px;
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .language-toggle {
    min-width: 76px;
    min-height: 38px;
  }

  .hero h1 {
    font-size: 4.2rem;
  }

  .hero__content {
    padding: 136px 0 190px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    margin-top: -132px;
  }

  .trust-strip__item {
    border-inline-end: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .trust-strip__item:last-child {
    border-bottom: 0;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .site-header {
    grid-template-columns: auto auto;
    column-gap: 10px;
    padding: 10px 14px;
  }

  .brand,
  .brand img {
    width: 100px;
  }

  .language-toggle {
    grid-column: 2;
    grid-row: 1;
    width: 106px;
    min-width: 0;
    min-height: 38px;
    padding: 0 8px;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 16px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: auto;
  }

  .hero__content {
    width: min(var(--max), calc(100% - 30px));
    padding: 184px 0 188px;
  }

  .hero h1 {
    font-size: 2.72rem;
    line-height: 1.05;
  }

  .hero__lead {
    font-size: 1.02rem;
    max-width: 34ch;
  }

  .hero__summary {
    max-width: 34ch;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .trust-strip,
  .section__inner {
    width: min(var(--max), calc(100% - 30px));
  }

  .trust-strip {
    margin-top: -140px;
    margin-bottom: 54px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(20, 18, 17, 0.72);
    backdrop-filter: blur(12px);
  }

  .trust-strip__item strong {
    color: var(--white);
  }

  .trust-strip__item span {
    color: rgba(255, 255, 255, 0.72);
  }

  .section {
    padding: 78px 0;
  }

  .section--dark {
    padding-top: 128px;
  }

  .section-heading h2,
  .contact-info h2 {
    font-size: 2rem;
    line-height: 1.12;
  }

  .values-grid,
  .service-grid,
  .process-list,
  .form-row--split {
    grid-template-columns: 1fr;
  }

  .values-grid > div,
  .service-card,
  .process-list li,
  .contact-form {
    padding: 22px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
