:root {
  --navy: #022859;
  --navy-dark: #011b3c;
  --navy-soft: #0b3c71;
  --gold: #e5a015;
  --gold-light: #f4c55d;
  --ink: #10233c;
  --muted: #637083;
  --line: #dfe5eb;
  --paper: #f5f7f9;
  --white: #fff;
  --shadow: 0 24px 70px rgba(2, 40, 89, 0.12);
  --radius: 18px;
  --font-family: "Alexandria", system-ui, sans-serif;
}

@font-face {
  font-family: "Alexandria";
  src: url("assets/fonts/Alexandria-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@property --gradient-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@property --gradient-angle-offset {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@property --gradient-percent {
  syntax: "<percentage>";
  initial-value: 5%;
  inherits: false;
}

@property --gradient-shine {
  syntax: "<color>";
  initial-value: white;
  inherits: false;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.9;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: -80px;
  right: 24px;
  z-index: 1000;
  padding: 10px 18px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  border-radius: 0 0 8px 8px;
}
.skip-link:focus {
  top: 0;
}

.topbar {
  position: relative;
  z-index: 20;
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 500;
}
.topbar__inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topbar__contacts {
  display: flex;
  align-items: center;
  gap: 28px;
}
.topbar a {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}
.topbar a:hover {
  color: var(--gold-light);
}
.topbar svg {
  width: 14px;
  height: 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 86px;
  background: var(--white);
  border-bottom: 1px solid rgba(2, 40, 89, 0.07);
  transition:
    box-shadow 0.25s,
    height 0.25s;
  animation: header-enter 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.site-header.scrolled {
  height: 72px;
  box-shadow: 0 10px 35px rgba(2, 40, 89, 0.1);
}
.nav-wrap {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 42px;
}
.brand {
  width: 108px;
  height: 100%;
  flex: 0 0 108px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand img {
  width: 100px;
  height: 76px;
  object-fit: contain;
}
.main-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0;
  height: 100%;
}
.main-nav a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  color: #405069;
  font-size: 14px;
  font-weight: 600;
}
.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: -1px;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--navy);
}
.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
}
.menu-toggle span {
  width: 26px;
  height: 2px;
  display: block;
  margin: 5px;
  background: var(--navy);
  transition: 0.25s;
}

.button {
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  font-family: var(--font-family);
  font-weight: 700;
  transition:
    transform 0.2s,
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button svg {
  width: 18px;
  height: 18px;
  transform: rotate(180deg);
}
.button--sm {
  min-height: 44px;
  padding-inline: 20px;
  font-size: 14px;
}
.button--primary {
  background: var(--navy);
  color: white;
  box-shadow: 0 8px 22px rgba(2, 40, 89, 0.18);
}
.button--primary:hover {
  background: var(--navy-soft);
}
.button--gold {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 10px 30px rgba(229, 160, 21, 0.2);
}
.button--gold:hover {
  background: var(--gold-light);
}
.button--ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
}
.button--ghost:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.12);
}

.shiny-cta {
  --shiny-cta-bg: var(--navy);
  --shiny-cta-bg-subtle: var(--navy-soft);
  --shiny-cta-fg: #fff;
  --shiny-cta-highlight: var(--gold);
  --shiny-cta-highlight-subtle: var(--gold-light);
  --duration: 3s;
  --shadow-size: 2px;
  --transition: 600ms cubic-bezier(0.25, 1, 0.5, 1);
  isolation: isolate;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  outline-offset: 4px;
  padding: 0 24px;
  min-height: 46px;
  font-family: var(--font-family);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--shiny-cta-fg);
  background-color: var(--shiny-cta-bg);
  background:
    linear-gradient(var(--shiny-cta-bg), var(--shiny-cta-bg)) padding-box,
    conic-gradient(
        from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
        transparent,
        var(--shiny-cta-highlight) var(--gradient-percent),
        var(--gradient-shine) calc(var(--gradient-percent) * 2),
        var(--shiny-cta-highlight) calc(var(--gradient-percent) * 3),
        transparent calc(var(--gradient-percent) * 4)
      )
      border-box;
  box-shadow: inset 0 0 0 1px var(--shiny-cta-bg-subtle);
  transition: var(--transition);
  transition-property:
    --gradient-angle-offset, --gradient-percent, --gradient-shine, box-shadow,
    transform;
  transform: none;
  animation: gradient-angle var(--duration) linear infinite;
}

.shiny-cta::before,
.shiny-cta::after,
.shiny-cta span::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 50%;
  translate: -50% -50%;
  z-index: -1;
}

.shiny-cta:active {
  translate: 0 1px;
}

.shiny-cta::before {
  --size: calc(100% - var(--shadow-size) * 3);
  --position: 2px;
  --space: calc(var(--position) * 2);
  width: var(--size);
  height: var(--size);
  background: radial-gradient(
      circle at var(--position) var(--position),
      white calc(var(--position) / 4),
      transparent 0
    )
    padding-box;
  background-size: var(--space) var(--space);
  background-repeat: space;
  mask-image: conic-gradient(
    from calc(var(--gradient-angle) + 45deg),
    black,
    transparent 10% 90%,
    black
  );
  border-radius: inherit;
  opacity: 0.4;
  z-index: -1;
}

.shiny-cta::after {
  inset-inline-start: -38%;
  inset-block-start: -60%;
  width: 22%;
  height: 220%;
  translate: 0 0;
  z-index: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  rotate: 14deg;
  opacity: 0;
}

.shiny-cta span {
  position: relative;
  z-index: 2;
}

.shiny-cta span::before {
  display: none;
}

.shiny-cta::before {
  animation: gradient-angle var(--duration) linear infinite;
}

.shiny-cta:is(:hover, :focus-visible) {
  --gradient-percent: 20%;
  --gradient-angle-offset: 95deg;
  --gradient-shine: var(--shiny-cta-highlight-subtle);
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px var(--shiny-cta-bg-subtle),
    0 8px 22px rgba(2, 40, 89, 0.24);
}

.shiny-cta:is(:hover, :focus-visible)::after {
  opacity: 0.65;
  animation: shimmer-sweep 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes gradient-angle {
  to {
    --gradient-angle: 360deg;
  }
}
@keyframes shimmer-sweep {
  from {
    inset-inline-start: -38%;
  }
  to {
    inset-inline-start: 118%;
  }
}

.hero__actions .shiny-cta {
  min-height: 52px;
  padding-inline: 28px;
  font-size: 16px;
}

.nav-cta.shiny-cta {
  margin-right: auto;
  min-height: 42px;
  padding-inline: 20px;
  font-size: 14px;
}

.quote-form .shiny-cta {
  min-height: 52px;
}

.hero {
  position: relative;
  overflow: hidden; /* الصورة مكبّرة 1.035 ولولا القص لاتّسع المستند أفقياً */
  min-height: 730px;
  background: var(--navy-dark);
  color: white;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: hero-media-enter 1.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(1, 18, 39, 0.08) 0%,
    rgba(2, 40, 89, 0.2) 34%,
    rgba(2, 40, 89, 0.9) 70%,
    rgba(1, 27, 60, 0.99) 100%
  );
  animation: overlay-enter 1s ease both;
}
.hero__inner {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-block: 70px 140px;
}
.hero__content {
  max-width: 640px;
  text-align: right;
}
.hero__content > * {
  animation: hero-item-enter 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero__content > :nth-child(1) {
  animation-delay: 0.14s;
}
.hero__content > :nth-child(2) {
  animation-delay: 0.24s;
}
.hero__content > :nth-child(3) {
  animation-delay: 0.36s;
}
.hero__content > :nth-child(4) {
  animation-delay: 0.48s;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 15px;
}
.eyebrow i {
  width: 28px;
  height: 2px;
  background: currentColor;
}
.eyebrow--light {
  color: var(--gold-light);
}
.hero h1,
h2 {
  margin: 0;
  line-height: 1.5;
  letter-spacing: -0.02em;
}
.hero h1 {
  font-size: clamp(36px, 3.8vw, 52px);
  font-weight: 800;
}
.hero h1 em,
h2 em {
  color: var(--gold);
  font-style: normal;
}
.hero__content > p {
  max-width: 590px;
  margin: 25px 0 32px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  font-weight: 400;
  line-height: 2;
}
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__metrics {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  min-height: 112px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  color: var(--navy);
  box-shadow:
    0 -10px 40px rgba(0, 0, 0, 0.12),
    0 20px 34px -12px rgba(2, 40, 89, 0.3);
}
.hero__metrics > div {
  min-width: 0;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-inline-end: 1px solid var(--line);
  animation: metric-enter 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero__metrics > div:nth-child(1) {
  animation-delay: 0.5s;
}
.hero__metrics > div:nth-child(2) {
  animation-delay: 0.58s;
}
.hero__metrics > div:nth-child(3) {
  animation-delay: 0.66s;
}
.hero__metrics > div:nth-child(4) {
  animation-delay: 0.74s;
}
.hero__metrics > div:last-child {
  border: 0;
}
.hero__metrics strong {
  font-size: 32px;
  line-height: 1;
  font-weight: 800;
  direction: ltr;
}
.hero__metrics strong span {
  color: var(--gold);
  font-size: 22px;
}
.hero__metrics small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.65;
}
.hero__metrics .coverage svg {
  width: 35px;
  height: 35px;
  color: var(--gold);
  flex: 0 0 auto;
}

.section {
  padding-block: 110px;
}
.about {
  position: relative;
}
.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  height: 42px;
  pointer-events: none;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    rgba(2, 40, 89, 0.24) 0%,
    rgba(2, 40, 89, 0.1) 34%,
    rgba(2, 40, 89, 0) 100%
  );
}
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
}
.about__visual {
  position: relative;
  padding: 0 0 40px 40px;
}
.about__image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about__image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: inherit;
}
.about__image-wrap img {
     width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.about__stamp {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 190px;
  height: 150px;
  background: var(--navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  flex-direction: column;
  border: 8px solid white;
  box-shadow: var(--shadow);
  border-radius: 10px;
}
.about__stamp strong {
  font-size: 40px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  direction: ltr;
}
.about__stamp span {
  font-size: 13px;
  line-height: 1.6;
}
.dots {
  position: absolute;
  top: -28px;
  right: -28px;
  z-index: -1;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(var(--gold) 1.7px, transparent 1.7px);
  background-size: 12px 12px;
  opacity: 0.7;
}
h2 {
  color: var(--navy);
  font-size: clamp(35px, 2.8vw, 25px);
  font-weight: 800;
}
.about__copy p,
.section-heading > p {
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
}
.about__copy p:first-of-type {
  margin-top: 28px;
}
.about__copy p + p {
  margin-top: 18px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--navy);
  font-weight: 700;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}
.text-link svg {
  width: 17px;
  transform: rotate(180deg);
}

.why {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(2, 40, 89, 0.88), rgba(2, 40, 89, 0.9)),
    url("assets/aamar-why-background.webp") center / cover no-repeat;
}
.section-heading {
  position: relative;
}
.section-heading--center {
  text-align: center;
  margin-bottom: 52px;
}
.why h2,
.quote h2,
.integrated h2 {
  color: white;
}
.features-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature-card {
  position: relative;
  padding: 34px 28px 32px;
  min-height: 315px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
  overflow: hidden;
  transition:
    transform 0.3s,
    background 0.3s,
    border-color 0.3s;
}
.feature-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(229, 160, 21, 0.5);
}
.feature-card__number {
  position: absolute;
  top: 20px;
  left: 22px;
  color: rgba(255, 255, 255, 0.16);
  font-size: 33px;
  font-weight: 800;
  direction: ltr;
}
.icon-box {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(229, 160, 21, 0.12);
  border-radius: 50%;
}
.icon-box svg {
  width: 29px;
  height: 29px;
}
.feature-card h3 {
  margin: 25px 0 12px;
  font-size: 18px;
  font-weight: 700;
}
.feature-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 400;
  line-height: 2;
}

.services {
  background: var(--paper);
}
.section-heading--split {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 52px;
}
.section-heading--split > p {
  max-width: 380px;
  margin: 0 0 8px;
  padding-right: 26px;
  border-right: 3px solid var(--gold);
}
/* شبكة الخدمات الثابتة */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}
.carousel__btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  transition:
    color 0.25s,
    background 0.25s,
    border-color 0.25s,
    transform 0.25s,
    opacity 0.25s;
}
.carousel__btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}
.carousel__btn:hover:not(:disabled) {
  color: var(--gold);
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-2px);
}
.carousel__btn:disabled {
  opacity: 0.32;
  cursor: default;
}
/* كروت الخدمات بستايل الشاين: إطار متدرّج دوّار + لمعة عند المرور */
.service-card {
  --card-line: #e7ebef;
  --gradient-percent: 6%;
  --gradient-shine: var(--gold-light);
  --card-duration: 7s;
  --card-transition: 600ms cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* الوصف صار نصف طوله فلم تعد الكروت تحتاج نفس الارتفاع */
  min-height: 268px;
  padding: 30px 25px;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    conic-gradient(
        from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
        var(--card-line),
        var(--gold) var(--gradient-percent),
        var(--gradient-shine) calc(var(--gradient-percent) * 2),
        var(--gold) calc(var(--gradient-percent) * 3),
        var(--card-line) calc(var(--gradient-percent) * 4)
      )
      border-box;
  animation: gradient-angle var(--card-duration) linear infinite;
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    --gradient-angle-offset var(--card-transition),
    --gradient-percent var(--card-transition),
    --gradient-shine var(--card-transition);
  overflow: hidden;
  height: 100%;
}
/* تفاوت بسيط في بداية الحركة حتى لا تدور كل الكروت بنفس اللحظة */
.service-card:nth-child(4n + 2) {
  animation-delay: -1.75s;
}
.service-card:nth-child(4n + 3) {
  animation-delay: -3.5s;
}
.service-card:nth-child(4n + 4) {
  animation-delay: -5.25s;
}
.service-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block-start: -60%;
  inset-inline-start: -38%;
  width: 22%;
  height: 220%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(229, 160, 21, 0.24),
    transparent
  );
  rotate: 14deg;
  opacity: 0;
}
.service-card:hover::before {
  opacity: 1;
  animation: shimmer-sweep 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}
.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 4px;
  background: var(--gold);
  transition: width 0.3s;
}
.service-card:hover {
  --gradient-percent: 24%;
  --gradient-angle-offset: 95deg;
  --gradient-shine: var(--gold-light);
  --card-line: #cfd8e2;
  transform: translateY(-7px);
  box-shadow: 0 18px 45px rgba(2, 40, 89, 0.12);
}
.service-card:hover::after {
  width: 100%;
}
.service-card > span {
  position: absolute;
  top: 17px;
  left: 20px;
  color: #dfe5ec;
  font-size: 23px;
  font-weight: 800;
  direction: ltr;
}
.service-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: #eef3f8;
  color: var(--navy);
  border-radius: 12px;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s,
    color 0.3s;
}
.service-card:hover .service-icon {
  transform: translateY(-4px) rotate(-4deg);
  background: var(--navy);
  color: var(--gold);
}
.service-icon svg {
  width: 28px;
  height: 28px;
}
.service-card h3 {
  margin: 22px 0 10px;
  text-align: center;
  color: var(--navy);
  font-size: 17px;
  font-weight: 700;
}
.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 2;
  /* ضبط الأسطر مع توسيط السطر الأخير حتى تبقى الكتلة متزنة */
  text-align: center;
  text-align-last: center;
  text-wrap: pretty;
}

.integrated {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 720px;
  background: var(--navy-dark);
  /* القسم بلا حشو علوي، فنترك مساحة للهيدر الثابت عند القفز إليه من الروابط */
  scroll-margin-top: 86px;
}
.integrated__image {
  min-height: 100%;
  overflow: hidden;
}
.integrated__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.integrated__content {
  padding: 90px clamp(45px, 7vw, 110px);
  color: white;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-dark) 100%);
}
.integrated__list {
  margin-top: 42px;
}
.integrated__list article {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.integrated__list b {
  color: var(--gold);
  font-size: 14px;
  direction: ltr;
}
.integrated__list h3 {
  margin: 0 0 7px;
  font-size: 18px;
  font-weight: 700;
}
.integrated__list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  font-weight: 400;
  line-height: 2;
}

.partners .section-heading {
  max-width: 760px;
  margin-bottom: 52px;
}
.partners .section-heading p {
  margin-top: 25px;
  line-height: 1.95;
}

/* ===== سلايدر شعارات العملاء ===== */
.logos {
  --logo-gap: 20px;
  --logo-count: 4;
  position: relative;
  margin-top: 62px;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 26px);
}
.logos__viewport {
  /* المسار أعرض من الشاشة، وفي RTL كان يُحاذى لليمين فيخرج المحتوى كله خارج الرؤية */
  direction: ltr;
  position: relative;
  /* الأسهم قبل الإطار وبعده في ترتيب الصف حتى يقف كل سهم في جهته */
  order: 1;
  flex: 1 1 0;
  min-width: 0;
  container-type: inline-size;
  overflow: hidden;
  padding-block: 6px;
}
.logos__track {
  display: flex;
  align-items: stretch;
  gap: var(--logo-gap);
  width: max-content;
  will-change: transform;
  /* الحركة مستمرة عبر requestAnimationFrame، فأي انتقال هنا يُبطّئ الإطارات */
  transition: none;
}
.logos__btn {
  position: relative;
  flex: 0 0 auto;
  box-shadow: 0 10px 26px rgba(2, 40, 89, 0.12);
}
.logos__btn--prev {
  order: 0;
}
.logos__btn--next {
  order: 2;
}
.logo-item {
  direction: rtl;
  flex: 0 0 auto;
  /* عدد ثابت من الشعارات يملأ الإطار بالضبط فلا يُقتطع أي شعار */
  width: 218px;
  width: calc(
    (100cqw - var(--logo-gap) * (var(--logo-count) - 1)) / var(--logo-count)
  );
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  filter: none;
  opacity: 1;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease,
    filter 0.3s ease,
    box-shadow 0.3s ease;
}
.logo-item__image {
  display: block;
  width: 100%;
  height: 82px;
  object-fit: contain;
  object-position: center;
}
.logos:hover .logo-item:hover,
.logo-item:focus-visible {
  filter: none;
  opacity: 1;
  background: var(--white);
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(2, 40, 89, 0.1);
}
.logo-item__mark {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
}
.logo-item__mark [data-s] {
  fill: none;
  stroke: var(--navy);
  stroke-width: 2;
}
.logo-item__mark [data-a] {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.4;
}
.logo-item__mark [data-g] {
  fill: var(--gold);
  stroke: none;
}
.logo-item__mark [data-n] {
  fill: var(--navy);
  stroke: none;
}
.logo-item__text {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.logo-item__text b {
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.logo-item__text i {
  direction: ltr;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 600;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.achievements {
  padding: 65px 0;
  background: var(--gold);
  color: var(--navy-dark);
}
.achievements__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.achievements__grid > div {
  text-align: center;
  border-left: 1px solid rgba(2, 40, 89, 0.2);
}
.achievements__grid > div:last-child {
  border: 0;
}
.achievements strong {
  display: block;
  font-size: 45px;
  line-height: 1.1;
  font-weight: 800;
  direction: ltr;
}
.achievements strong span {
  font-size: 28px;
}
.achievements p {
  margin: 8px 0 0;
  font-weight: 700;
}

.quote {
  background: var(--navy-dark);
  color: white;
  position: relative;
  overflow: hidden;
}
.quote::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  top: -300px;
  right: -200px;
  border: 100px solid rgba(229, 160, 21, 0.04);
  transform: rotate(45deg);
}
.quote__grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 90px;
  align-items: start;
}
.quote__intro > p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  font-weight: 400;
  line-height: 2;
  margin: 25px 0 42px;
}
.quote__contact {
  display: grid;
  gap: 16px;
}
.quote__contact a {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 14px;
  align-items: center;
}
.quote__contact a > span {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}
.quote__contact svg {
  width: 21px;
  height: 21px;
}
.quote__contact small {
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.2;
}
.quote__contact b {
  font-size: 14px;
  line-height: 1.5;
}
/* أرقام الهاتف: تبقى بترتيب LTR لكن محاذاتها دائماً لليمين */
.quote__contact small,
.quote__contact b,
.topbar__contacts a span[dir="ltr"] {
  text-align: right;
}
.quote__contact b[dir="ltr"],
.topbar__contacts a span[dir="ltr"] {
  direction: ltr;
  unicode-bidi: embed;
  justify-self: right;
}
/* بطاقات التواصل صارت موسّطة بعرض الصفحة */
.contact__panel dd,
.contact__panel dd a[dir="ltr"] {
  text-align: center;
}
.contact__panel dd a[dir="ltr"] {
  display: block;
  direction: ltr;
  unicode-bidi: embed;
}
/* رقما التواصل يقفان سطراً تحت سطر بفاصل بسيط */
.contact__panel dd a[dir="ltr"] + a[dir="ltr"] {
  margin-top: 3px;
}
.quote-form {
  padding: 42px;
  background: white;
  color: var(--ink);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}
.field {
  position: relative;
}
.field--wide {
  grid-column: 1/-1;
}
.field label {
  display: block;
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #d9e0e7;
  border-radius: 4px;
  background: #f9fafb;
  padding: 11px 13px;
  outline: 0;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.field input,
.field select {
  height: 49px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(229, 160, 21, 0.12);
}
.file-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.file-field > label {
  height: 52px;
  border: 1px dashed #b8c3ce;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  color: var(--muted);
  margin: 0;
  transition:
    border 0.2s,
    color 0.2s;
}
.file-field > label:hover {
  border-color: var(--gold);
  color: var(--navy);
}
.file-field svg {
  width: 20px;
  height: 20px;
}
.file-field small {
  font-weight: 500;
}
.file-name {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}
.quote-form .button {
  width: 100%;
}

/* بعد إلغاء الخريطة صار قسم التواصل شريطاً واحداً بعرض الصفحة */
.contact {
  padding-block: clamp(64px, 7vw, 100px);
  background: var(--paper);
}
.contact__panel {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  text-align: center;
  padding: 0;
}
.contact__panel dl {
  margin: 42px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.contact__panel dl > div {
  padding: 24px 22px;
  background: var(--white);
  border: 1px solid var(--line);
}
.contact__panel dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}
.contact__panel dd {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.footer {
     position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.72);
    background: radial-gradient(ellipse 36% 125% at 91% 45%, #021735 0%, rgb(2 23 53) 34%, rgb(2 23 53) 58%, #011837 76%), linear-gradient(105deg, #01152f 0%, #022859 54%, #315b83 73%, #011938 100%);
}
.footer__main {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.65fr 1fr;
  gap: 70px;
  padding-block: 68px 55px;
}
.footer__main,
.footer__bottom {
  position: relative;
  z-index: 1;
}
.footer__brand img {
    width: 180px;
    height: auto;
    object-fit: contain;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    filter: contrast(0) brightness(10);
}
.footer__brand p {
  max-width: 240px;
  margin-top: 15px;
  color: white;
  font-weight: 600;
}
.footer h3 {
  margin: 0 0 19px;
  color: white;
  font-size: 15px;
  font-weight: 700;
}
.footer nav {
  display: grid;
  gap: 9px;
  font-size: 13px;
  font-weight: 400;
}
.footer nav a {
  transition: color 0.2s;
}
.footer nav a:hover {
  color: var(--gold);
}
.footer__contact,
.footer__contact nav {
  text-align: right;
  justify-items: start;
}
.footer__contact .footer__phone {
  direction: ltr;
  unicode-bidi: embed;
  justify-self: right;
}
.footer__social nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.footer__social nav span {
  display: inline-flex;
}
.footer__social i {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 38px;
  font-size: 15px;
  color: var(--gold);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition:
    color 0.25s,
    border-color 0.25s,
    transform 0.25s,
    background 0.25s;
}
.footer__social nav span:hover i {
  color: var(--navy);
  border-color: var(--gold);
  background: var(--gold);
  transform: translateY(-2px);
}
.footer__bottom {
  position: relative;
  min-height: 66px;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}
.footer__legal {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  direction: ltr;
}
.footer__legal p {
  margin: 0;
}
.footer__legal > p:first-child {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  direction: rtl;
  text-align: right;
}
.footer__credit {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  direction: rtl;
  text-align: left;
  white-space: nowrap;
}
.footer__credit a {
  color: var(--gold);
  font-weight: 700;
  transition: color 0.2s;
}
.footer__credit a:hover {
  color: white;
}
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: var(--navy-dark);
  border: 1px solid rgba(229, 160, 21, 0.45);
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(1, 27, 60, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease,
    color 0.2s ease,
    background 0.2s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.back-to-top:hover,
.back-to-top:focus-visible {
  color: var(--navy-dark);
  background: var(--gold);
}
.back-to-top svg {
  width: 18px;
  height: 18px;
}

.reveal {
  opacity: 1;
  transform: none;
}
.motion-ready .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.motion-ready .reveal.reveal--right {
  transform: translateX(38px);
}
.motion-ready .reveal.reveal--left {
  transform: translateX(-38px);
}
.motion-ready .reveal.reveal--scale {
  transform: translateY(18px) scale(0.965);
}
.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes header-enter {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes hero-media-enter {
  from {
    opacity: 0.6;
    transform: scaleX(-1) scale(1.11);
  }
  to {
    opacity: 1;
    transform: scaleX(-1) scale(1.035);
  }
}
@keyframes overlay-enter {
  from {
    opacity: 0.3;
  }
  to {
    opacity: 1;
  }
}
@keyframes hero-item-enter {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes metric-enter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ===== أزرار التواصل السريع العائمة ===== */
.floating-actions {
  position: fixed;
  inset-block-end: 24px;
  inset-inline-end: 24px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  pointer-events: none;
}
.float-btn {
  pointer-events: auto;
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  min-height: 0;
  padding: 0;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition:
    opacity 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.35s,
    box-shadow var(--transition),
    --gradient-angle-offset var(--transition),
    --gradient-percent var(--transition),
    --gradient-shine var(--transition);
}
.floating-actions.is-visible .float-btn {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.floating-actions.is-visible .float-btn:nth-child(2) {
  transition-delay: 70ms;
}
.floating-actions.is-visible .float-btn:nth-child(3) {
  transition-delay: 140ms;
}
.float-btn span {
  display: grid;
  place-items: center;
}
.float-btn i {
  font-size: 22px;
  line-height: 1;
}
.float-btn.shiny-cta:is(:hover, :focus-visible) {
  transform: translateY(-2px);
}
.float-btn--call {
  display: none;
}
/* واتساب بلونه الأخضر المعروف */
.float-btn--whatsapp {
  --shiny-cta-bg: #25d366;
  --shiny-cta-bg-subtle: #25d366;
  --shiny-cta-highlight: #d9fdd3;
  --shiny-cta-highlight-subtle: #fff;
  /* الحد الشفاف كان يكشف خلفية القسم الكحلية فيبدو كإطار أزرق حول الزر */
  border-color: #25d366;
}
.float-btn--whatsapp i {
  font-size: 25px;
}
/* زر "تواصل معنا" الذي يفتح أزرار التواصل، ويظهر على الجوال فقط */
.float-toggle {
  display: none;
  cursor: pointer;
}
/* تلميح "تواصل معنا": نرسمه على الحاوية لأن الزر نفسه overflow: hidden */
.floating-actions::after {
  content: "تواصل معنا";
  position: absolute;
  bottom: 26px;
  left: calc(100% + 12px);
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--navy-dark);
  color: white;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(2, 40, 89, 0.28);
  opacity: 0;
  transform: translate(-6px, 50%);
  transition:
    opacity 0.22s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.float-toggle .fa-xmark,
.floating-actions.is-open .float-toggle .fa-headset {
  display: none;
}
.floating-actions.is-open .float-toggle .fa-xmark {
  display: block;
}

@media (max-width: 1050px) {
  .logos {
    --logo-count: 3;
  }
  .nav-wrap {
    gap: 24px;
  }
  .main-nav {
    gap: 20px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about__grid {
    gap: 55px;
  }
  .integrated__content {
    padding-inline: 45px;
  }
  .quote__grid {
    gap: 45px;
  }
  .footer__main {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  .footer__main > div:last-child {
    grid-column: 2/4;
  }
}

@media (max-width: 820px) {
  .floating-actions.is-visible .float-btn:is(:nth-child(2), :nth-child(3)) {
    display: flex;
    justify-content: center;
  }
  .container {
    width: min(100% - 32px, 680px);
  }
  .about::before {
    width: min(100% - 32px, 680px);
  }
  /* الانزلاق الأفقي يخرج عن حدود الشاشة الضيقة ويزيح الطبقة الثابتة في RTL */
  .motion-ready .reveal.reveal--right,
  .motion-ready .reveal.reveal--left {
    transform: translateY(30px);
  }
  .floating-actions {
    inset-block-end: 16px;
    inset-inline-end: 16px;
    gap: 9px;
  }
  .float-btn {
    width: 52px;
    height: 52px;
  }
  .float-btn--call {
    display: inline-flex;
  }
  .float-toggle {
    display: inline-grid;
  }
  /* التلميح ظاهر دائماً مع الزر، ويختفي وقت فتح أزرار التواصل */
  .floating-actions.is-visible:not(.is-open)::after {
    opacity: 1;
    transform: translate(0, 50%);
  }
  /* على الجوال تبقى أزرار التواصل مطويّة حتى يفتحها زر "تواصل معنا" */
  .floating-actions.is-visible .float-btn:not(.float-toggle) {
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.9);
    transition-delay: 0ms;
  }
  .floating-actions.is-visible.is-open .float-btn:not(.float-toggle) {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  /* تفتح من الأقرب للزر إلى الأبعد */
  .floating-actions.is-visible.is-open .float-btn:nth-child(3) {
    transition-delay: 0ms;
  }
  .floating-actions.is-visible.is-open .float-btn:nth-child(2) {
    transition-delay: 60ms;
  }
  .floating-actions.is-visible.is-open .float-btn:nth-child(1) {
    transition-delay: 120ms;
  }
  .logos {
    --logo-gap: 16px;
    --logo-count: 2;
    margin-top: 48px;
    gap: 12px;
  }
  .logo-item {
    height: 108px;
    padding: 12px 16px;
  }
  .topbar__inner > span {
    display: none;
  }
  .topbar__contacts {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }
  .site-header {
    height: 72px;
  }
  .nav-wrap {
    justify-content: space-between;
  }
  .brand {
    width: 88px;
    flex-basis: 88px;
  }
  .brand img {
    width: 82px;
    height: 64px;
  }
  .menu-toggle {
    display: block;
    margin-inline-start: auto;
  }
  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .main-nav {
    position: fixed;
    inset: 70px 0 auto;
    display: grid;
    gap: 0;
    height: auto;
    padding: 12px 24px 24px;
    background: white;
    box-shadow: 0 20px 35px rgba(2, 40, 89, 0.15);
    transform: translateY(-140%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.3s,
      opacity 0.3s;
  }
  .site-header.scrolled .main-nav {
    top: 72px;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav a {
    height: 50px;
    border-bottom: 1px solid var(--line);
  }
  .main-nav a::after {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .hero {
    min-height: 660px;
  }
  .hero__media {
    object-position: 37% center;
  }
  .hero__overlay {
    background: linear-gradient(
      90deg,
      rgba(1, 27, 60, 0.72),
      rgba(2, 40, 89, 0.96)
    );
  }
  .hero__inner {
    align-items: flex-start;
    padding-top: 105px;
    padding-bottom: 180px; /* بمقدار شريط الأرقام المطلق فقط */
  }
  .hero__content {
    max-width: 600px;
  }
  .hero__metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  /* في شبكة العمودين نفصل بخط بين العمودين وخط بين الصفّين */
  .hero__metrics > div {
    padding: 14px 18px;
    min-height: 78px;
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
  }
  .hero__metrics > div:nth-child(odd) {
    border-inline-end: 1px solid var(--line);
  }
  .hero__metrics > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  .hero__metrics strong {
    font-size: 26px;
  }
  .section {
    padding-block: 80px;
  }
  .about__grid,
  .quote__grid {
    grid-template-columns: 1fr;
  }
  .about__visual {
    max-width: 570px;
  }
  .integrated {
    grid-template-columns: 1fr;
  }
  .integrated__image {
    height: 500px;
  }
  .section-heading--split {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }
  .carousel__btn {
    width: 44px;
    height: 44px;
  }
  .achievements__grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 35px;
  }
  .achievements__grid > div:nth-child(2) {
    border: 0;
  }
  .footer__main {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 35px;
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 28px);
  }
  .about::before {
    width: calc(100% - 28px);
  }
  .floating-actions {
    inset-block-end: 14px;
    inset-inline-end: 14px;
  }
  .float-btn {
    width: 50px;
    height: 50px;
  }
  .logos {
    --logo-gap: 14px;
    margin-top: 42px;
    gap: 10px;
  }
  .logo-item {
    height: 100px;
    padding: 10px 14px;
    gap: 11px;
  }
  .logo-item__image {
    height: 70px;
  }
  .logo-item__mark {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
  }
  .logo-item__text b {
    font-size: 14px;
  }
  .logos__btn {
    width: 38px;
    height: 38px;
  }
  .logos__btn svg {
    width: 17px;
    height: 17px;
  }
  .topbar {
    font-size: 11px;
  }
  .topbar__inner {
    padding-block: 6px;
  }
  /* ثلاث جهات اتصال لا تتّسع في سطر واحد: صفّ للرقمين وصفّ للبريد */
  .topbar__contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    align-items: center;
    gap: 6px 10px;
  }
  .topbar__contacts a {
    gap: 6px;
  }
  .topbar__contacts a:last-child {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .hero {
    min-height: 680px;
  }
  .hero__inner {
    padding-top: 85px;
    padding-bottom: 180px;
  }
  .hero__content > p {
    font-size: 15px;
  }
  .hero__actions .button {
    width: 100%;
  }
  .hero__metrics {
    width: calc(100% - 28px);
  }
  .hero__metrics > div {
    padding: 12px;
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
  .hero__metrics small {
    font-size: 11px;
  }
  .hero__metrics .coverage {
    flex-direction: row;
    align-items: center;
  }
  .hero__metrics .coverage svg {
    width: 28px;
  }
  .section {
    padding-block: 68px;
  }
  .hero h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 28px;
  }
  .about__grid {
    gap: 45px;
  }
  .about__visual {
    padding: 0 0 28px 28px;
  }
  .dots {
    top: -18px;
    right: -12px;
    width: 96px;
    height: 96px;
  }
  .about__stamp {
    width: 160px;
    height: 115px;
  }
  /* عمودان على الجوال: الكرت أضيق فنُصغّر الحشو والخطوط حتى يبقى النص مقروءاً */
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .feature-card {
    padding: 24px 14px 20px;
  }
  .feature-card__number {
    top: 12px;
    left: 12px;
    font-size: 24px;
  }
  .icon-box {
    width: 46px;
    height: 46px;
  }
  .icon-box svg {
    width: 24px;
    height: 24px;
  }
  .feature-card h3 {
    margin: 16px 0 8px;
    font-size: 15px;
  }
  .feature-card p {
    font-size: 11.5px;
    line-height: 1.85;
  }
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .feature-card,
  .service-card {
    min-height: auto;
  }
  .service-card {
    padding: 26px 14px 22px;
  }
  .service-card > span {
    top: 12px;
    left: 12px;
    font-size: 18px;
  }
  .service-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
  }
  .service-icon svg {
    width: 24px;
    height: 24px;
  }
  .service-card h3 {
    margin: 16px 0 8px;
    font-size: 15px;
  }
  .service-card p {
    font-size: 11.5px;
    line-height: 1.85;
  }
  .integrated__image {
    height: 360px;
  }
  .integrated__content {
    padding: 65px 24px;
  }
  .integrated__list article {
    gap: 15px;
  }
  .achievements strong {
    font-size: 39px;
  }
  .achievements p {
    font-size: 13px;
  }
  .quote__grid {
    gap: 40px;
  }
  .quote-form {
    grid-template-columns: 1fr;
    padding: 27px 20px;
  }
  .field--wide {
    grid-column: auto;
  }
  .footer {
      background: radial-gradient(ellipse 36% 125% at 91% 45%, #021735 0%, rgb(2 23 53) 34%, rgb(2 23 53) 58%, #011837 76%), linear-gradient(105deg, #01152f 0%, #022859 54%, #315b83 73%, #011938 100%);

  }
  .footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .footer__brand {
    grid-column: 1/-1;
    text-align: center;
  }
  .footer__brand img {
    margin-inline: auto;
  }
  .footer__brand p {
    margin-inline: auto;
  }
  .footer__main > div:last-child {
    grid-column: 1/-1;
  }
  .footer__bottom {
    min-height: 76px;
    font-size: 11px;
  }
  .footer__legal {
    gap: 12px;
  }
  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 430px) {
  .logos {
    --logo-count: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }
  .logos__viewport {
    overflow-x: auto;
  }
  .service-card,
  .shiny-cta,
  .shiny-cta::before {
    animation: none !important;
  }
  .float-btn {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}
