﻿:root {
  --ink: #071526;
  --navy: #0b2a4f;
  --blue: #153f73;
  --gold: #d89b22;
  --gold-soft: #f3cf7a;
  --paper: #eef3f8;
  --muted: #66758b;
  --line: #d8e1ec;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

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

.topbar {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: min(1160px, calc(100% - 32px));
  transform: translateX(-50%);
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(7, 21, 38, 0.78);
  color: var(--white);
  backdrop-filter: blur(14px);
}

nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 650;
}

nav a {
  padding: 5px 9px;
  border-radius: 8px;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.12);
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 500px;
  display: grid;
  align-items: center;
  padding: 92px max(24px, calc((100vw - 1160px) / 2)) 34px;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 21, 38, 0.94) 0%, rgba(7, 21, 38, 0.82) 38%, rgba(7, 21, 38, 0.32) 72%),
    linear-gradient(0deg, rgba(7, 21, 38, 0.72), rgba(7, 21, 38, 0.08)),
    url("assets/hero-parts.png") center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.hero-logo-card {
  position: absolute;
  left: max(24px, calc((100vw - 1160px) / 2));
  top: 170px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 260px;
  height: 260px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.hero-logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.kicker {
  margin: 0 0 9px;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.3;
  letter-spacing: 0;
  font-weight: 800;
}

h2 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.28;
  letter-spacing: 0;
  font-weight: 800;
}

h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
}

.lead {
  max-width: 520px;
  margin-bottom: 16px;
  color: #d8e4f0;
  font-size: clamp(15.5px, 1.2vw, 17px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
}

.btn.primary {
  background: var(--gold);
  color: var(--ink);
}

.btn.primary:hover {
  background: #e5aa32;
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-card {
  position: absolute;
  left: max(24px, calc((100vw - 1160px) / 2));
  bottom: 32px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.hero-card span {
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #f5f8fb;
  font-weight: 800;
}

.trust-strip,
.section,
.contact {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
}

.trust-strip {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: -20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
  box-shadow: 0 14px 34px rgba(11, 42, 79, 0.1);
}

.trust-strip div {
  min-height: 82px;
  padding: 14px 16px;
  background: var(--white);
}

.trust-strip strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.trust-strip span {
  color: var(--muted);
}

.section,
.contact {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  padding: clamp(18px, 2.8vw, 30px);
}

.section-copy p:not(.kicker),
.trade p,
.contact p {
  color: var(--muted);
  font-size: 15px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.service-grid article {
  min-height: 124px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fbfdff, #f5f8fc);
}

.service-grid span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--gold);
  font-weight: 800;
}

.trade {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 24px;
  padding: clamp(18px, 2.8vw, 30px);
  background:
    linear-gradient(135deg, rgba(11, 42, 79, 0.96), rgba(21, 63, 115, 0.9)),
    var(--navy);
  color: var(--white);
}

.trade h2 {
  color: var(--white);
}

.steps {
  display: grid;
  gap: 10px;
}

.steps p {
  margin: 0;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #dbe7f2;
}

.steps strong {
  color: var(--gold-soft);
}

.contact {
  display: grid;
  grid-template-columns: 1fr minmax(310px, 420px);
  gap: 20px;
  margin-bottom: 16px;
  padding: clamp(18px, 2.8vw, 30px);
}

.contact .kicker {
  color: var(--gold);
}

.contact-panel {
  padding: 21px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
}

.contact-panel p {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  color: #e2eaf4;
}

.contact-panel span {
  color: var(--gold-soft);
  font-weight: 800;
}

.wide {
  width: 100%;
  margin-top: 10px;
}

footer {
  padding: 18px 18px 28px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 850px) {
  .topbar {
    position: absolute;
    top: 10px;
    width: calc(100% - 24px);
    padding: 8px;
  }

  nav {
    width: 100%;
    justify-content: center;
    gap: 8px;
  }

  .hero {
    display: flex;
    min-height: auto;
    padding: 88px 16px 26px;
    align-items: stretch;
  }

  .hero-bg {
    background:
      linear-gradient(90deg, rgba(7, 21, 38, 0.96), rgba(7, 21, 38, 0.74)),
      linear-gradient(0deg, rgba(7, 21, 38, 0.82), rgba(7, 21, 38, 0.24)),
      url("assets/hero-parts.png") center / cover no-repeat;
  }

  .hero-content {
    width: 100%;
    max-width: none;
    text-align: right;
  }

  h1 {
    max-width: 12ch;
    margin-bottom: 12px;
    font-size: clamp(31px, 9.4vw, 42px);
    line-height: 1.18;
  }

  .lead {
    max-width: 34ch;
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.85;
  }

  .hero-card {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 18px;
  }

  .hero-logo-card {
    position: relative;
    left: auto;
    top: auto;
    order: -1;
    align-self: flex-start;
    width: min(188px, 54vw);
    height: min(188px, 54vw);
    margin: 0 0 22px;
    padding: 12px;
  }

  .trust-strip,
  .split,
  .trade,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .topbar,
  .trust-strip,
  .section,
  .contact {
    width: min(100% - 20px, 1160px);
  }

  .topbar {
    border-radius: 8px;
  }

  nav a {
    min-height: 38px;
    padding: 6px 10px;
    font-size: 15px;
  }

  .hero {
    padding: 78px 12px 22px;
  }

  .hero-logo-card {
    width: min(150px, 48vw);
    height: min(150px, 48vw);
    margin-bottom: 18px;
  }

  .kicker {
    font-size: 12px;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(28px, 11vw, 36px);
  }

  .lead {
    font-size: 15px;
    line-height: 1.75;
  }

  .actions {
    gap: 8px;
  }

  .btn {
    width: 100%;
    min-height: 44px;
  }

  .hero-card {
    gap: 7px;
  }

  .hero-card span {
    flex: 1;
    padding: 7px 8px;
    text-align: center;
  }

  .trust-strip {
    margin-top: 0;
  }

  .trust-strip div,
  .split,
  .trade,
  .contact {
    padding: 16px;
  }

  .section,
  .contact {
    margin-top: 14px;
  }

  .service-grid article {
    min-height: auto;
  }

  .contact-panel p {
    display: block;
  }

  .contact-panel span {
    display: block;
    margin-bottom: 4px;
  }
}

